/* Additions for the expanded site directory. Existing page structure and footer stay intact. */
:root { --tree-navy:var(--brand-blue); --tree-gold:#c4a263; --tree-ivory:#fbf8f0; }
.brand img { object-fit:contain; border-radius:50%; }
.ui-icon, .section-icon, .crystal-icon { color:var(--tree-navy); }
.icon-button, .socials a { border-color:#d9c99f; }
.icon-button:hover, .socials a:hover { border-color:var(--tree-gold); background:#fbf6e9; }
.menu-trigger.icon-button { background:var(--tree-navy); color:#fff; border-color:var(--tree-gold); }
.menu-trigger.icon-button .ui-icon { color:#fff; }
.crystal-button, .button {
  color:#fff; background:linear-gradient(125deg,var(--brand-blue),var(--brand-blue-deep));
  border:1px solid #d6b46d; box-shadow:0 8px 22px #112d4821, inset 0 1px #ffffff35;
}
.crystal-button:hover, .button:hover { color:#fff; border-color:#f0d38d; box-shadow:0 12px 28px #112d4833, inset 0 1px #ffffff55; }
.crystal-icon { color:#f3d88f; background:#ffffff19; border:1px solid #ffffff47; }
.card, .section-link, .playlist, .tree-card { border-color:#e1d5b8; }
.card:hover, .section-link:hover, .tree-card:hover { border-color:var(--tree-gold); box-shadow:0 12px 28px #112d481c; }
.section-icon { background:#f6efdf; color:var(--tree-navy); }
.news-facebook .facebook-round { background:#173c60; border:1px solid #d6b46d; }
.site-menu .ui-icon, .menu-label .ui-icon, .drawer-inner .socials a { color:var(--tree-navy); }
.tree-hero { color:#fff; background:linear-gradient(110deg,var(--brand-blue-deep),var(--brand-blue)); padding:34px 0 30px; }
.tree-hero .wrap { max-width:1160px; }
.tree-breadcrumb { margin-bottom:17px; font-size:.9rem; color:#e5d7b5; }
.tree-breadcrumb a { color:inherit; text-decoration:none; }
.tree-hero-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr); gap:clamp(24px,5vw,64px); align-items:center; }
.tree-hero h1 { color:#fff; font-size:clamp(2rem,5vw,3.6rem); line-height:1.2; margin:8px 0 14px; }
.tree-hero p:not(.hero-kicker) { max-width:740px; color:#eef1f5; line-height:1.8; font-size:1.05rem; }
.tree-hero .hero-kicker { color:#e9d39f; }
.tree-hero img { width:100%; aspect-ratio:1.48; object-fit:cover; border-radius:20px; border:1px solid #d8bb7a; box-shadow:0 16px 34px #081a2c55; }
.tree-section { padding-block:35px 54px; }
.tree-section-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-block-end:16px; }
.tree-section h2, .tree-section-head h2 { margin:0; font-size:clamp(1.45rem,3vw,2rem); color:var(--tree-navy); }
.tree-section-head span, .tree-section-head a { color:#917442; }
.tree-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.tree-card { display:grid; grid-template-columns:1fr; position:relative; overflow:hidden; min-height:290px; color:inherit; text-decoration:none; border:1px solid #e1d5b8; border-radius:18px; background:#fff; box-shadow:0 8px 25px #112d480c; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.tree-card:hover { transform:translateY(-3px); }
.tree-card-art { display:block; height:160px; overflow:hidden; background:#e8edf2; }
.tree-card-art img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.tree-card:hover .tree-card-art img { transform:scale(1.035); }
.tree-card-icon { position:absolute; top:137px; inset-inline-start:18px; display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:#fff; color:var(--tree-navy); border:1px solid #d8c697; box-shadow:0 4px 13px #112d4820; }
.tree-icon { width:25px; height:25px; }
.tree-card-text { display:grid; align-content:start; gap:7px; padding:30px 17px 10px; }
.tree-card-text strong { color:var(--tree-navy); font-size:1.13rem; }
.tree-card-text small { color:var(--muted); font-size:.92rem; line-height:1.6; }
.tree-card-more { align-self:end; justify-self:start; margin:0 17px 16px; color:#967944; font-size:.86rem; font-weight:800; }
.tree-note { padding-block:0 38px; text-align:center; }
.tree-profile { display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); align-items:center; gap:clamp(22px,5vw,60px); padding-block:35px 60px; }
.tree-profile>img { width:100%; aspect-ratio:1.25; object-fit:cover; border-radius:20px; border:1px solid #d9c99f; }
.tree-profile h2 { color:var(--tree-navy); font-size:clamp(1.6rem,3vw,2.2rem); }
.tree-profile p, .tree-contact p { line-height:1.9; font-size:1.04rem; }
.tree-eyebrow { color:#927742; font-weight:800; }
.tree-disclosure { color:var(--muted); font-size:.94rem!important; border-inline-start:3px solid var(--tree-gold); padding-inline-start:13px; }
.tree-post-links { list-style:none; padding:0; margin:16px 0 0; border-top:1px solid #e3dac6; }
.tree-post-links li { border-bottom:1px solid #e3dac6; }
.tree-post-links a { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:15px 4px; text-decoration:none; color:var(--tree-navy); font-weight:750; }
.tree-post-links a:hover { color:#9b7737; }
.tree-post-links time { color:var(--muted); font-size:.84rem; font-weight:500; white-space:nowrap; }
.tree-empty { padding:18px; color:var(--muted); background:var(--tree-ivory); border:1px solid #e1d5b8; border-radius:14px; line-height:1.8; }
.tree-links { display:grid; gap:12px; }
.tree-links a { display:block; padding:16px 18px; border:1px solid #e1d5b8; border-radius:14px; color:var(--tree-navy); text-decoration:none; background:#fff; font-weight:750; }
.tree-links a:hover { border-color:var(--tree-gold); background:var(--tree-ivory); }
.tree-form-shell { max-width:780px; margin-inline:auto; padding:clamp(20px,4vw,36px); border:1px solid #e1d5b8; border-radius:20px; background:#fff; box-shadow:0 12px 34px #112d4812; }
.news-submit-form { display:grid; gap:16px; }
.news-submit-form label { display:grid; gap:7px; font-weight:750; color:var(--tree-navy); }
.news-submit-form input:not([type=checkbox]), .news-submit-form textarea { width:100%; min-height:48px; padding:11px 13px; border:1px solid #d9d1c3; border-radius:10px; font:inherit; background:#fff; color:#222; }
.news-submit-form textarea { min-height:150px; resize:vertical; }
.news-submit-form input:focus, .news-submit-form textarea:focus { outline:2px solid #c4a263; outline-offset:2px; }
.news-submit-form .tree-check { display:flex; align-items:flex-start; gap:10px; font-size:.95rem; line-height:1.6; }
.news-submit-form .tree-check input { margin-top:.35em; accent-color:var(--tree-navy); }
.news-submit-form .button { justify-self:start; font:inherit; cursor:pointer; }
.submission-review { margin-top:20px; padding:18px; border:1px solid #d9c99f; border-radius:14px; background:#fbf8f0; color:var(--tree-navy); }
.submission-review h2 { margin-top:0; }
.submission-review pre { white-space:pre-wrap; font:inherit; line-height:1.8; }
@media(max-width:760px) { .tree-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .tree-hero-grid { grid-template-columns:1fr; } .tree-hero-grid img { max-height:260px; } }
@media(max-width:520px) { .tree-grid { grid-template-columns:1fr; } .tree-card { min-height:265px; } .tree-card-art { height:150px; } .tree-card-icon { top:127px; } .tree-profile { grid-template-columns:1fr; } .tree-section-head { flex-direction:column; } .tree-post-links a { align-items:flex-start; flex-direction:column; } }
@media(prefers-reduced-motion:reduce) { .tree-card,.tree-card-art img { transition:none; } }

/* Main-section child pages as prominent crystal buttons */
.tree-card {
  display:flex; align-items:center; gap:15px; min-height:92px; padding:17px 20px;
  border:1px solid #d2b46d; border-radius:18px;
  background:linear-gradient(120deg,#fff 4%,#f7fbff 48%,#edf4fb 100%);
  box-shadow:0 8px 22px #112d4814,inset 0 1px 0 #fff;
  position:relative; overflow:hidden;
}
.tree-card::before { content:""; position:absolute; inset:-40% auto -40% -48%; width:27%; transform:skewX(-22deg); background:linear-gradient(90deg,transparent,#fff9,transparent); transition:left .55s ease; pointer-events:none; }
.tree-card:hover::before { left:125%; }
.tree-card:hover { border-color:#d4ae54; background:linear-gradient(120deg,#fff 0%,#edf5fc 52%,#e3eef8 100%); box-shadow:0 14px 28px #112d4826,inset 0 1px 0 #fff; }
.tree-card-icon { position:static; flex:none; width:34px; height:34px; border-radius:11px; color:#fff; background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-deep)); border:1px solid #dbba68; box-shadow:0 4px 10px #112d4820; }
.tree-card-icon .tree-icon { width:19px; height:19px; stroke:currentColor; }
.tree-card-text { flex:1; padding:0; gap:0; align-content:center; }
.tree-card-text strong { font-size:clamp(1.18rem,2vw,1.55rem); line-height:1.45; color:#103252; font-weight:850; }
.tree-card-text small,.tree-card-more { display:none; }
.tree-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tree-section { padding-block:30px 52px; }
.tree-section-head span { display:none; }
.tree-hero-grid>img { object-fit:contain!important; }
.main-section-cards { padding-block:30px 54px; }
.main-page-grid { scroll-margin-top:16px; }
@media(max-width:760px) { .tree-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .tree-grid { grid-template-columns:1fr; gap:11px; } .tree-card { min-height:78px; padding:14px 16px; } .tree-card-text strong { font-size:1.24rem; } .main-section-cards { padding-block:20px 42px; } }
@media(prefers-reduced-motion:reduce) { .tree-card::before { transition:none; } }

/* Page links remain visible in the home page footer. */

/* Publication cards and category filters */
.section-publications { padding-block: 28px 58px; }
.section-publications-description { margin-top:6px; color:var(--muted); }
.section-post-filters { display:flex; flex-wrap:wrap; gap:9px; margin:20px 0 22px; }
.section-post-filter { min-height:42px; padding:7px 15px; border:1px solid #d8c697; border-radius:999px; color:#143957; background:linear-gradient(130deg,#fff,#f6f9fc); font:inherit; font-weight:750; cursor:pointer; box-shadow:inset 0 1px #fff,0 4px 12px #102e4e10; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.section-post-filter:hover { transform:translateY(-2px); box-shadow:0 7px 18px #102e4e19; }
.section-post-filter.is-active { color:#fff; background:linear-gradient(135deg,var(--brand-blue),var(--brand-blue-deep)); border-color:#d5b35f; }
.publication-card .card-art { padding:0; }
.publication-card .card-art img { width:100%; height:100%; object-fit:cover; box-shadow:none; }
.publication-card .card-art a { width:100%; height:100%; }
.publication-card .publication-excerpt { color:var(--muted); line-height:1.75; margin:0 0 14px; }
.publication-card[hidden] { display:none!important; }
.section-post-empty { padding:18px; border:1px solid var(--line); border-radius:12px; color:var(--muted); }
@media(prefers-reduced-motion:reduce) { .section-post-filter { transition:none; } }
