/* test-stamp-123 */
/*
 * Paroa Trust Blocks - Consolidated Main Stylesheet
 * Generated from 6 production design HTML files (home, trustees, gallery, history, associates, contact).
 * Selectors deduplicated - LATEST definition in source wins per CSS cascade.
 */

:root {--forest:#14422C;--fern:#1E6040;--terra:#B05E3A;--terra-light:#D4845C;--parchment:#F5F0E8;--off-white:#FDFBF8;--warm-grey:#E8E0D5;--charcoal:#1A1A18;--text-body:#3A342C;--text-muted:#6A5E4E}
h1,h2,h3,h4,h5,h6{color:inherit;font-family:inherit;font-weight:500;line-height:1.2}
.accordion-inner {padding:24px 28px}
.accordion-subtitle {font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--terra);font-weight:600;margin-bottom:18px;display:block}
.acknowledgment {background:var(--forest);color:rgb(255 255 255 / .78);border-radius:8px;padding:24px 28px;margin:40px 0;font-size:14px;line-height:1.75;font-style:italic}
.acknowledgment strong {display:block;font-style:normal;color:var(--terra-light);font-size:11px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.associate-lead,.page-content .associate-lead {display:grid;grid-template-columns:200px 1fr;gap:40px;align-items:start;background:#fff;border-radius:6px;box-shadow:0 2px 16px rgb(0 0 0 / .07);padding:40px;margin-bottom:48px}
.associate-lead-info .role,.page-content .associate-lead-info .role {font-size:11px;color:var(--terra);font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:16px}
.associate-lead-info h2,.page-content .associate-lead-info h2 {font-family:'Playfair Display',serif;font-size:26px;color:var(--forest);font-weight:700;margin-bottom:4px}
.associate-lead-info p,.page-content .associate-lead-info p {font-size:15px;color:var(--text-body);line-height:1.75;margin-bottom:10px}
.associate-lead-photo {width:200px;height:200px;border-radius:6px;overflow:hidden;flex-shrink:0}
.associate-lead-photo img {width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.branch-content {font-size:15px;color:var(--text-body);line-height:1.75}
.branch-content .arr {color:var(--terra-light);margin:0 5px;font-size:12px}
.branch-content .marriage {font-style:italic;color:var(--text-muted);font-size:13px;margin-left:4px}
.branch-content .note {display:block;font-size:12px;color:var(--text-muted);font-style:italic;margin-top:3px}
.branch-content strong {color:var(--forest);font-weight:700}
.branch-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.branch-intro {font-size:.9rem;text-transform:uppercase;letter-spacing:.05em;color:#666;margin:1rem 0 .5rem 0}
.branch-item {background:var(--parchment);border-radius:6px;border-top:3px solid var(--forest);padding:14px 16px;font-size:15px;font-weight:600;color:var(--forest);line-height:1.5}
.branch-item .partner {display:inline}
.branch-label {font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--terra);font-weight:700;margin-bottom:16px}
.branch-nodes {padding-left:1.5rem;border-left:1px solid #e0e0e0}
.branch-nodes p {margin:0 0 .4rem 0;color:#222}
.branch-num {flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--forest);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:1px}
.branch-sub-nodes {margin-top:.3rem;margin-bottom:.8rem;padding-left:1.5rem;color:#555}
.branch-sub-nodes p {margin:0 0 .2rem 0;font-size:.95rem}
.btn-primary {background:var(--terra);color:#fff;padding:13px 30px;text-decoration:none;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;border-radius:3px;transition:background 0.2s,transform 0.2s,box-shadow 0.2s;display:inline-block}
.btn-primary:hover {background:var(--terra-light);transform:translateY(-2px);box-shadow:0 6px 20px rgb(176 94 58 / .4)}
.btn-secondary {background:#fff0;color:rgb(255 255 255 / .85);padding:12px 30px;text-decoration:none;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;border:1.5px solid rgb(255 255 255 / .35);border-radius:3px;transition:border-color 0.2s,color 0.2s,transform 0.2s;display:inline-block}
.btn-secondary:hover {border-color:#fff;color:#fff;transform:translateY(-2px)}
.callout {background:var(--forest);border-radius:8px;padding:28px 32px;margin:32px 0}
.callout blockquote {font-family:'Playfair Display',serif;font-style:italic;font-size:17px;color:rgb(255 255 255 / .88);line-height:1.7}
.callout cite {display:block;margin-top:12px;font-size:12px;color:var(--terra-light);font-style:normal;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.callout-label {font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--terra-light);font-weight:600;margin-bottom:12px;display:block}
.contact-aside {background:var(--parchment);border-radius:6px;padding:36px 28px;border:1px solid var(--warm-grey)}
.contact-aside h3 {font-family:'Playfair Display',serif;font-size:20px;color:var(--forest);font-weight:700;margin-bottom:20px}
.contact-form-wrap h2 {font-family:'Playfair Display',serif;font-size:28px;color:var(--forest);font-weight:700;margin-bottom:8px}
.contact-form-wrap>p {color:var(--text-muted);font-size:15px;margin-bottom:32px}
.contact-item {display:flex;gap:14px;margin-bottom:22px;align-items:flex-start}
.contact-item a {color:var(--fern);text-decoration:none}
.contact-item a:hover {text-decoration:underline}
.contact-item p {font-size:14px;color:var(--text-body);line-height:1.6}
.contact-item p strong {display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:3px;font-weight:600}
.contact-item-icon {width:36px;height:36px;background:var(--forest);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.contact-item-icon svg {width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.contact-layout {display:grid;grid-template-columns:1fr 380px;gap:64px;align-items:start}
.fb-link {display:inline-flex;align-items:center;gap:10px;background:var(--forest);color:#fff;padding:13px 26px;text-decoration:none;font-size:13px;font-weight:600;letter-spacing:.04em;border-radius:3px;transition:background 0.2s,transform 0.2s}
.fb-link svg {fill:currentColor}
.fb-link:hover {background:var(--fern);transform:translateY(-2px)}
.footer-bottom {max-width:1100px;margin:28px auto 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.footer-bottom a {color:var(--terra-light);text-decoration:none}
.footer-bottom a:hover {color:#fff}
.footer-bottom p {font-size:12px;color:rgb(255 255 255 / .28)}
.footer-brand img {height:50px;width:auto;opacity:.85;margin-bottom:16px;display:block;filter:brightness(0) invert(1)}
.footer-brand p {font-family:'Playfair Display',serif;font-style:italic;font-size:14px;color:rgb(255 255 255 / .55);line-height:1.65;max-width:260px;margin-bottom:8px}
.footer-brand small {display:block;font-size:12px;color:rgb(255 255 255 / .28);letter-spacing:.04em}
.footer-col h4 {font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--terra-light);font-weight:600;margin-bottom:18px;opacity:.8}
.footer-col ul {list-style:none}
.footer-col ul li {margin-bottom:10px}
.footer-col ul li a {color:rgb(255 255 255 / .48);text-decoration:none;font-size:13.5px;transition:color 0.2s}
.footer-col ul li a:hover {color:#fff}
.footer-inner {max-width:1100px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px;padding-bottom:40px;border-bottom:1px solid rgb(255 255 255 / .08)}
.footer-small-print {max-width:1100px;margin:14px auto 0;font-size:11px;color:rgb(255 255 255 / .15);text-align:center;letter-spacing:.02em}
.gallery-strip {height:220px;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden}
.gallery-strip-cell {overflow:hidden}
.gallery-strip-cell img {width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:brightness(.8) saturate(.9);transition:transform 0.5s ease,filter 0.4s ease}
.gallery-strip-cell:hover img {transform:scale(1.04);filter:brightness(.95) saturate(1.1)}
.header-tagline {font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:17px;color:var(--fern);text-align:right;line-height:1.4;max-width:300px}
.header-tagline span {display:block;font-style:normal;font-size:11px;color:var(--text-muted);letter-spacing:.14em;text-transform:uppercase;margin-top:5px}
.hero {display:grid;grid-template-columns:1fr 1fr;min-height:520px}
.hero-actions {display:flex;gap:14px;flex-wrap:wrap}
.hero-images {display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;overflow:hidden}
.hero-img-cell {overflow:hidden}
.hero-img-cell img {width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform 0.5s ease}
.hero-img-cell:first-child {grid-row:1 / -1}
.hero-img-cell:hover img {transform:scale(1.04)}
/* Fallback: bare img without hero-img-cell wrapper */
.hero-images > img {overflow:hidden;width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform 0.5s ease}
.hero-images > img:first-child {grid-row:1 / -1}
.hero-images > img:hover {transform:scale(1.04)}
.gallery-strip > img {overflow:hidden;width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:brightness(0.8) saturate(0.9);transition:transform 0.5s ease,filter 0.4s ease}
.gallery-strip > img:hover {transform:scale(1.04);filter:brightness(0.95) saturate(1.1)}
.gallery-strip > img:last-child {display:block}
.hero-kicker {font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--terra-light);font-weight:600;margin-bottom:18px;display:block}
.hero-rule {width:44px;height:3px;background:var(--terra);border:none;margin-bottom:18px;border-radius:2px}
.hero-text {background:var(--forest);color:#fff;padding:72px 60px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.hero-text h1,.hero-text h1.wp-block-heading {font-family:'Playfair Display',Georgia,serif;font-size:clamp(40px, 4vw, 54px);line-height:1.1;margin:0 0 20px 0 !important;color:#fff;font-weight:700;letter-spacing:-.02em;text-wrap:balance}
.hero-text p {font-size:16px;line-height:1.75;color:rgb(255 255 255 / .75);max-width:420px;margin-bottom:34px}
.hero-text::before {content:'';position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent,transparent 40px,rgb(255 255 255 / .012) 40px,rgb(255 255 255 / .012) 41px);pointer-events:none}
.hero-text>* {position:relative;z-index:1}
.hero-rule {margin-bottom:18px !important}
.hero-actions.wp-block-buttons {padding:0 !important;display:flex !important;line-height:28px;font-size:16px;gap:14px;min-height:49px}
.hero-actions .wp-block-button__link {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.history-photo {margin:48px 0;border-radius:8px;overflow:hidden;border:1px solid var(--warm-grey);box-shadow:0 4px 20px rgb(0 0 0 / .08)}
.history-photo figcaption {background:var(--parchment);padding:12px 20px;font-size:13px;color:var(--text-muted);font-style:italic;text-align:center}
.history-photo img {width:100%;height:auto;display:block}
.history-section {margin-bottom:56px}
.history-section h2 {font-family:'Playfair Display',serif;font-size:clamp(22px, 2.8vw, 30px);color:var(--forest);font-weight:700;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--warm-grey);scroll-margin-top:80px;letter-spacing:-.01em}
.history-section>p {font-size:16px;color:var(--text-body);line-height:1.85;margin-bottom:18px}
.intro-band {background:radial-gradient(ellipse at 20% 50%,rgb(176 94 58 / .05) 0%,transparent 60%),var(--parchment);border-top:4px solid var(--warm-grey);border-bottom:4px solid var(--warm-grey);padding:64px 40px;text-align:center;position:relative;overflow:hidden}
.intro-band h2 {font-family:'Playfair Display',serif;font-size:28px;color:var(--forest);margin-bottom:14px !important;font-weight:700;letter-spacing:-.01em;line-height:1.2;text-wrap:balance}
.intro-band p {font-size:16px;color:var(--text-body);max-width:620px;margin:0 auto 28px;line-height:1.8}
.intro-band-inner {position:relative;z-index:1}
/* Collapse Gutenberg block-buttons wrappers (.wp-block-buttons / .wp-block-button)
   so the inner <a class="wp-block-button__link"> sizes as a single anchor — matches
   the production HTML which uses <a class="btn-primary/btn-secondary"> directly. */
.intro-band .wp-block-buttons {padding:0;margin:0;display:block;line-height:0;font-size:0}
.intro-band .wp-block-button {padding:0;margin:0;display:inline-block;font-size:14px;line-height:normal}
.hero .wp-block-button {padding:0;margin:0;display:block;font-size:14px;line-height:normal}
.hero-actions.wp-block-buttons,.hero .wp-block-buttons {display:flex;gap:14px;flex-wrap:wrap;font-size:inherit}
.hero-actions .wp-block-button,.hero .wp-block-button {display:inline-block;font-size:inherit}
.form-card .wp-block-buttons,.form-card .wp-block-button {padding:0;margin:0;display:inline-block;line-height:normal}
.form-card .wp-block-button__link,.btn-download.wp-block-button__link {padding:11px 22px;background:var(--forest);color:#fff;font-size:13px;font-weight:600;letter-spacing:.04em;border-radius:3px;text-align:center;line-height:normal;display:inline-block;text-decoration:none;transition:background 0.2s;justify-content:center;white-space:nowrap;min-height:40px;align-items:center;min-width:0;box-sizing:border-box;width:auto;max-width:100%}
.form-card .wp-block-button__link:hover {background:var(--fern)}
.intro-band .wp-block-button__link {font-size:13px;line-height:1.75;color:#fff;font-weight:600;letter-spacing:.04em;background:var(--forest);border-radius:3px;padding:13px 26px}
.intro-band .wp-block-button__link::before {content:'f';display:inline-block;width:15px;height:15px;background:currentColor;border-radius:2px;text-align:center;line-height:15px;font-size:11px;font-weight:700;margin-right:8px;vertical-align:middle}
.intro-band::before {content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 31px,rgb(176 94 58 / .03) 31px,rgb(176 94 58 / .03) 32px);pointer-events:none}
.key-ancestor {color:#111;font-size:1.1rem;font-weight:600}
.lineage-branches {background:rgb(255 255 255 / .6);border:1px solid var(--warm-grey);border-radius:8px;padding:22px 24px;margin-top:8px}
.lineage-path {list-style:none;padding:0;margin:4px 0 4px 12px;border-left:2px solid var(--terra)}
.lineage-path li {position:relative;padding:8px 0 8px 24px;font-size:16px;font-weight:600;color:var(--forest);line-height:1.4}
.lineage-path li::before {content:'';position:absolute;left:-6px;top:50%;transform:translateY(-50%);width:10px;height:10px;border-radius:50%;background:var(--off-white);border:2px solid var(--terra)}
.lineage-path li.highlight {color:var(--terra)}
.lineage-path li.highlight::before {background:var(--terra)}
.mwl-description {font-family:'Source Sans 3',sans-serif!important;font-size:15px!important;color:rgb(255 255 255 / .9)!important}
.mwl-exif,.mwl-camera,.mwl-lens,.mwl-focal,.mwl-aperture,.mwl-shutter,.mwl-iso {display:none!important}
.page-content {max-width:1100px;margin:0 auto;padding:64px 40px}
.page-id-121 .page-content,.page-id-121 .wp-block-group.page-content,.page-outer {max-width:860px!important;padding:56px 40px 80px!important}
.page-id-128 .page-content,.page-id-128 .wp-block-group.page-content,.page-id-122 .page-content,.page-id-122 .wp-block-group.page-content {max-width:1000px!important;padding:60px 40px!important}
.page-id-122 .wp-block-group.page-content,.page-id-122 .page-content {max-width:1440px!important;padding:60px 20px!important}
.page-hero {background:var(--forest);padding:56px 40px;position:relative;overflow:hidden;text-align:center}
.page-hero h1 {font-family:'Playfair Display',Georgia,serif;font-size:clamp(34px, 4vw, 52px);color:#fff;font-weight:700;letter-spacing:-.02em;text-wrap:balance;line-height:1.1}
.page-hero p {font-size:17px;color:rgb(255 255 255 / .7);margin-top:16px;margin-bottom:0.9rem;max-width:540px;line-height:1.7;margin-left:auto;margin-right:auto}
.page-hero-inner {max-width:1100px;margin:0 auto;position:relative;z-index:1;text-align:center}
.page-hero::before {content:'';position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent,transparent 40px,rgb(255 255 255 / .012) 40px,rgb(255 255 255 / .012) 41px);pointer-events:none}
.page-intro {background:var(--parchment);border-radius:8px;padding:28px 32px;margin-bottom:40px;border-left:4px solid var(--fern)}
.page-intro p {font-size:16px;color:var(--text-body);line-height:1.85}
.page-intro p+p {margin-top:10px}
.page-outer {max-width:860px;margin:0 auto;padding:56px 40px 80px}
.page-tabs {display:flex;gap:10px;flex-wrap:wrap;margin-bottom:48px}
.partner {font-style:italic;font-weight:400;color:var(--text-muted);font-size:.88em;margin-left:5px}
.partner-card {background:#fff;border-radius:6px;box-shadow:0 2px 12px rgb(0 0 0 / .06);padding:24px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:120px;transition:transform 0.25s,box-shadow 0.25s;text-decoration:none}
.partner-card img {max-height:56px;width:auto;max-width:90%;object-fit:contain;display:block}
.partner-card span {font-family:'Playfair Display',serif;font-size:13px;color:var(--forest);font-weight:700;text-align:center;line-height:1.4}
.partner-card:hover {transform:translateY(-3px);box-shadow:0 10px 32px rgb(0 0 0 / .1)}
.partners-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.partners-heading,.page-content .partners-heading {font-family:'Playfair Display',serif;font-size:24px;color:var(--forest);font-weight:700;margin-bottom:28px}
.pillar {text-align:center;padding:40px 32px 36px;background:#fff;border-radius:6px;box-shadow:0 2px 16px rgb(0 0 0 / .06);position:relative;overflow:hidden;transition:transform 0.3s ease,box-shadow 0.3s ease}
.pillar h3 {font-family:'Playfair Display',serif;font-size:19px;color:var(--forest);margin:8px 0 10px !important;font-weight:700;letter-spacing:-.01em;line-height:1.2}
.pillar p {font-size:15px;color:var(--text-body);line-height:1.7}
.pillar-icon {width:56px;height:56px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;background:rgb(176 94 58 / .08);border-radius:50%;color:var(--terra)}
.pillar-icon svg {width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.pillar::after {content:'';position:absolute;top:0;left:0;width:0%;height:3px;background:var(--terra);transition:width 0.4s ease}
.pillar:hover {transform:translateY(-4px);box-shadow:0 14px 40px rgb(0 0 0 / .12)}
.pillar:hover::after {width:100%}
.pillars {display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.pillars-header {text-align:center;margin-bottom:48px}
.pillars-header h2 {font-family:'Playfair Display',serif;font-size:32px;color:var(--forest);font-weight:700;letter-spacing:-.01em;line-height:1.2;text-wrap:balance}
.pillars-section {padding:80px 40px;max-width:1100px;margin:0 auto}
.quote-band {background:var(--forest);padding:64px 40px;text-align:center;position:relative;overflow:hidden}
.quote-band blockquote {font-family:'Playfair Display',serif;font-style:italic;font-size:22px;color:rgb(255 255 255 / .88);max-width:680px;margin:0 auto 16px;line-height:1.65;letter-spacing:-.01em;position:relative;z-index:1;text-wrap:balance}
.quote-band blockquote p {margin:0}
.quote-band cite {font-size:12px;color:var(--terra-light);letter-spacing:.14em;text-transform:uppercase;font-weight:600;font-style:normal;position:relative;z-index:1}
.quote-band::before {content:'"';position:absolute;top:-60px;left:50%;transform:translateX(-50%);font-family:'Playfair Display',serif;font-size:320px;color:rgb(255 255 255 / .04);line-height:1;pointer-events:none;user-select:none}
.section-kicker {font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--terra);font-weight:600;margin-bottom:10px;display:block}
.sub-branch {margin-top:10px;display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:400;color:var(--text-body);padding-left:12px;border-left:2px dashed rgb(176 94 58 / .3)}
.sub-branch .note {font-size:12px;color:var(--text-muted);font-style:italic}
.sub-branch span {line-height:1.45}
.sub-branch strong {color:var(--forest);font-weight:600}
.staff-grid {display:grid;grid-template-columns:repeat(3, 1fr);gap:32px;margin-top:48px}
.staff-card {background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 2px 16px rgb(0 0 0 / .07);transition:transform 0.3s,box-shadow 0.3s}
.staff-card:hover {transform:translateY(-4px);box-shadow:0 14px 40px rgb(0 0 0 / .12)}
.staff-photo {aspect-ratio:1 / 1;overflow:hidden}
.staff-photo img {width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:grayscale(8%);transition:filter 0.3s,transform 0.4s}
.staff-card:hover .staff-photo img {filter:grayscale(0);transform:scale(1.04)}
.staff-info {padding:24px}
.staff-info h3, .staff-info h3.wp-block-heading {font-family:'Playfair Display',serif;font-size:18px;color:var(--forest);font-weight:700;margin-bottom:4px}
.staff-info .role, .staff-info p.role {font-size:11px;color:var(--terra);font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:0}
@media (max-width:760px) {.staff-grid {grid-template-columns:1fr 1fr}}
@media (max-width:500px) {.staff-grid {grid-template-columns:1fr}}
.forms-grid {display:grid;grid-template-columns:repeat(3, 1fr);gap:28px;margin-top:48px}
.form-card {background:#fff;border-radius:6px;box-shadow:0 2px 16px rgb(0 0 0 / .07);padding:36px 28px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;transition:transform 0.3s,box-shadow 0.3s;position:relative;overflow:hidden}
.form-card::after {content:"";position:absolute;top:0;left:0;width:0%;height:3px;background:var(--terra);transition:width 0.4s}
.form-card:hover::after {width:100%}
.form-card:hover {transform:translateY(-4px);box-shadow:0 14px 40px rgb(0 0 0 / .12)}
.form-icon {width:48px;height:48px;background:rgba(176, 94, 58, .1);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--terra)}
.form-icon svg {width:24px;height:24px;fill:none;stroke:currentcolor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.form-card h3 {font-family:'Playfair Display',serif;font-size:20px;color:var(--forest);font-weight:700;line-height:1.2}
.form-card p {font-size:15px;color:var(--text-muted);line-height:1.65;flex:1 1 0}
.btn-download {display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--forest);color:#fff;padding:11px 22px;text-decoration:none;font-size:13px;font-weight:600;letter-spacing:.04em;border-radius:3px;transition:background 0.2s,transform 0.2s;margin-top:auto;min-height:40px;box-sizing:border-box;white-space:nowrap;width:auto;max-width:100%}
.btn-download:hover {background:var(--fern);transform:translateY(-2px)}
.btn-download svg {width:14px;height:14px;fill:none;stroke:currentcolor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.links-layout {display:grid;grid-template-columns:1fr 320px;gap:48px;align-items:start}
.links-section h2, .page-content .links-section h2 {font-family:'Playfair Display',serif;font-size:24px;color:var(--forest);font-weight:700;margin-bottom:24px}
.links-list {list-style:none;display:flex;flex-direction:column;gap:12px;margin-bottom:40px}
.links-list li a {display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--warm-grey);border-radius:6px;padding:16px 20px;text-decoration:none;transition:border-color 0.2s,transform 0.2s,box-shadow 0.2s}
.links-list li a:hover {border-color:var(--fern);transform:translateX(4px);box-shadow:0 4px 16px rgb(0 0 0 / .08)}
.link-icon {width:36px;height:36px;background:rgba(20, 66, 44, .08);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--fern)}
.link-icon svg {width:16px;height:16px;fill:none;stroke:currentcolor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.link-text strong {display:block;font-size:15px;color:var(--forest);font-weight:600;line-height:1.3}
.link-text span {font-size:12px;color:var(--text-muted)}
.link-arrow {margin-left:auto;color:var(--text-muted)}
.link-arrow svg {width:16px;height:16px;fill:none;stroke:currentcolor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.contacts-aside {background:var(--parchment);border-radius:6px;padding:32px 24px;border:1px solid var(--warm-grey);position:sticky;top:80px}
.contacts-aside h3 {font-family:'Playfair Display',serif;font-size:20px;color:var(--forest);font-weight:700;margin-bottom:20px}
.contact-block {margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--warm-grey)}
.contact-block:last-child {border-bottom:none;margin-bottom:0;padding-bottom:0}
.contact-block h4 {font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--terra);margin-bottom:8px}
.contact-block p {font-size:13.5px;color:var(--text-body);line-height:1.65}
.contact-block a {color:var(--fern);text-decoration:none}
.contact-block a:hover {text-decoration:underline}
.archive-header {text-align:center;margin-bottom:40px}
.archive-header h2 {font-family:'Playfair Display',serif;font-size:28px;color:var(--forest)}
.archive-header hr {width:60px;height:3px;background:var(--terra);border:none;margin:15px auto}
.year-grid {display:grid;grid-template-columns:repeat(auto-fill, minmax(160px, 1fr));gap:15px}
.year-item {padding:20px;background:#fff;border:1px solid var(--warm-grey);border-radius:8px;cursor:pointer;text-align:center;transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);display:flex;flex-direction:column;gap:5px;box-shadow:0 2px 8px rgb(0 0 0 / .04)}
.year-item:hover {border-color:var(--fern);background:var(--parchment);transform:translateY(-4px);box-shadow:0 12px 24px rgb(0 0 0 / .08)}
.premium-pdf-page {margin-bottom:20px;text-align:center}
.premium-pdf-page canvas {max-width:100%;height:auto;box-shadow:0 4px 20px rgba(0,0,0,0.3)}
.year-val {font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--forest)}
.view-label {font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--terra);font-weight:700}
.view-label a {color:inherit;text-decoration:none}
.tab-btn {background:#fff0;border:1.5px solid var(--terra);border-radius:3px;cursor:pointer;padding:13px 28px;font-family:'Source Sans 3',sans-serif;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--terra);transition:background 0.2s,color 0.2s,transform 0.2s,box-shadow 0.2s}
.tab-btn:hover {background:var(--terra);color:#fff;transform:translateY(-2px);box-shadow:0 6px 20px rgb(176 94 58 / .4)}
.tab-btn.active {background:var(--terra);color:#fff;box-shadow:0 4px 14px rgb(176 94 58 / .35)}
.tab-panel {display:none}
.tab-panel.active {display:block}
.timeline {position:relative;padding-left:36px;margin:32px 0}
.timeline-item {position:relative;margin-bottom:40px}
.timeline-item p {font-size:15.5px;color:var(--text-body);line-height:1.8}
.timeline-item::before {content:'';position:absolute;left:-27px;top:7px;width:14px;height:14px;border-radius:50%;background:var(--terra);border:3px solid var(--off-white);box-shadow:0 0 0 2px var(--terra)}
.timeline-item:last-child {margin-bottom:0}
.timeline-year {font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--terra);margin-bottom:8px}
.timeline::before {content:'';position:absolute;left:9px;top:12px;bottom:12px;width:2px;background:linear-gradient(to bottom,var(--forest),var(--terra));border-radius:1px}
.top-bar {background:var(--forest);display:flex;justify-content:space-between;align-items:center;padding:0 40px;height:34px;border-bottom:1px solid rgb(255 255 255 / .07)}
.top-bar-left {font-size:11px;color:rgb(255 255 255 / .5);letter-spacing:.07em;text-transform:uppercase}
.top-bar-right a {display:inline-flex;align-items:center;gap:7px;color:var(--terra-light);text-decoration:none;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;transition:color 0.2s}
.top-bar-right a svg {width:13px;height:13px;fill:currentColor;flex-shrink:0}
.top-bar-right a:hover {color:#fff}
.trustee-body {padding:28px 24px}
.trustee-body h2 {font-family:'Playfair Display',serif;font-size:20px;color:var(--forest);font-weight:700;margin-bottom:4px}
.trustee-body p {font-size:14.5px;color:var(--text-body);line-height:1.75}
.trustee-card {background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 2px 16px rgb(0 0 0 / .07);transition:transform 0.3s,box-shadow 0.3s}
.trustee-card:hover {transform:translateY(-4px);box-shadow:0 14px 40px rgb(0 0 0 / .12)}
.trustee-card:hover .trustee-photo-wrap img {filter:grayscale(0);transform:scale(1.03)}
.trustee-photo-wrap {aspect-ratio:1;overflow:hidden;position:relative}
.trustee-photo-wrap img {width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:grayscale(10%);transition:filter 0.35s,transform 0.4s}
.trustee-role-tag {font-size:11px;color:var(--terra);font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}
.trustees-grid-full {display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:36px}
.whakapapa-box {background:var(--parchment);border-left:4px solid var(--terra);border-radius:0 8px 8px 0;padding:32px 36px;margin:32px 0;scroll-margin-top:80px;box-shadow:0 2px 12px rgb(0 0 0 / .04)}
.whakapapa-box h3 {font-family:'Playfair Display',serif;font-size:19px;color:var(--forest);font-weight:700;margin-bottom:4px}
.whakapapa-box>p {font-size:14.5px;color:var(--text-body);line-height:1.8;margin-top:20px}
.whakapapa-clean {font-family:inherit;line-height:1.6;max-width:800px;margin-bottom:1.5rem}
.whakapapa-clean .partner {color:#888;font-style:italic;font-size:.9em;margin-left:0}
.whakapapa-linear {color:#4a4a4a;font-size:1.05rem;margin-bottom:.5rem}
.whakapapa-linear .sep,.whakapapa-parallel .sep {color:#ccc;margin:0 .4rem;font-weight:300}
.whakapapa-parallel p {color:#4a4a4a;margin:0 0 .3rem 0}
.whk-accordion {margin:16px 0;border:1px solid var(--warm-grey);border-radius:8px;overflow:hidden;background:var(--parchment)}
.whk-accordion summary {list-style:none;cursor:pointer;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;font-family:'Playfair Display',serif;font-size:17px;font-weight:700;color:var(--forest);border-left:4px solid var(--terra);transition:background .2s;user-select:none}
.whk-accordion summary::-webkit-details-marker {display:none}
.whk-accordion summary::after {content:'+';font-family:'Source Sans 3',sans-serif;font-size:22px;font-weight:300;color:var(--terra);flex-shrink:0;transition:transform .25s ease;line-height:1}
.whk-accordion summary:hover {background:rgb(255 255 255 / .5)}
.whk-accordion[open] summary {border-bottom:1px solid var(--warm-grey)}
.whk-accordion[open] summary::after {transform:rotate(45deg)}
.whk-branch {display:flex;gap:14px;align-items:flex-start;padding:14px 18px;background:rgb(255 255 255 / .6);border-radius:6px;border:1px solid rgb(232 224 213 / .8)}
.whk-branches {display:flex;flex-direction:column;gap:10px;margin-top:8px}
.whk-chain {position:relative;padding:8px 0 8px 40px;margin:8px 0}
.whk-chain-item {position:relative;padding:7px 0;font-size:15px;font-weight:600;color:var(--forest);line-height:1.4}
.whk-chain-item .marriage {font-weight:400;font-style:italic;color:var(--text-muted);font-size:13px;margin-left:6px}
.whk-chain-item::before {content:'';position:absolute;left:-28px;top:50%;transform:translateY(-50%);width:10px;height:10px;border-radius:50%;background:var(--off-white);border:2px solid var(--warm-grey)}
.whk-chain-item.key {color:var(--terra)}
.whk-chain-item.key::before {background:var(--terra);border-color:var(--terra)}
.whk-chain::before {content:'';position:absolute;left:12px;top:20px;bottom:20px;width:2px;background:linear-gradient(to bottom,var(--terra) 0%,rgb(232 224 213 / .5) 100%);border-radius:1px}
.whk-entry {display:flex;align-items:baseline;padding:9px 2px;border-bottom:1px dotted rgb(20 66 44 / .12);font-size:15px;line-height:1.45}
.whk-entry .aside {font-size:12.5px;font-weight:400;color:var(--text-muted);margin-left:6px}
.whk-entry .marriage {font-weight:400;font-style:italic;color:var(--text-muted);font-size:13px;margin-left:5px}
.whk-entry .note {display:block;font-size:12px;color:var(--text-muted);font-style:italic;margin-top:2px}
.whk-entry:last-of-type {border-bottom:none}
.whk-entry.key.pair .n1,.whk-entry.key.single .n1 {color:var(--terra)}
.whk-entry.key.pair .n2 {color:var(--terra);font-weight:600}
.whk-entry.pair .n1 {flex:1;text-align:right;padding-right:14px;font-weight:600;color:var(--forest)}
.whk-entry.pair .n2 {flex:1;padding-left:14px;font-weight:400;color:var(--text-body)}
.whk-entry.pair .sep {flex-shrink:0;color:rgb(176 94 58 / .35);font-size:18px;padding:0 2px;align-self:center;user-select:none}
.whk-entry.single .n1 {font-weight:600;color:var(--forest);padding-left:2px}
.whk-list {padding:2px 0}
.whk-phase {font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--terra);font-weight:700;display:block;margin:20px 0 10px;border-top:1px dashed rgb(176 94 58 / .25);padding-top:16px}
.whk-phase:first-of-type {border-top:none;margin-top:4px;padding-top:0}
.whk-subtitle {display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--terra);font-weight:600;margin-bottom:24px}
.whk-union {text-align:center;padding:16px 12px;font-size:16px;font-weight:600;color:var(--forest);border-top:1px dashed rgb(176 94 58 / .3);border-bottom:1px dashed rgb(176 94 58 / .3);margin:6px 0 10px}
.whk-union .marriage {font-weight:400;font-style:italic;color:var(--text-muted);font-size:13px;margin-left:6px}
.whk-union .union-label {display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--terra);font-weight:600;margin-bottom:6px}

/* Tighten Whakapapa List Line Heights (matches production ~20px) */
.whk-entry,
.whk-chain-item,
.whk-branch {
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
}
.whakapapa-card pre,
.whakapapa-card .tree-node,
.whakapapa-card ul li {
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
}
.wpcf7 {max-width:100%}
.wpcf7-form .cf-turnstile {margin:16px 0;min-height:65px;display:block;width:100%}
.wpcf7-form p {margin-bottom:22px}
.wpcf7-form-control:focus {border-color:var(--fern);box-shadow:0 0 0 3px rgb(30 96 64 / .12)}
.wpcf7-form-control:not(.wpcf7-submit):not(.cf-turnstile):not([type="hidden"]) {width:100%;padding:12px 16px;border:1.5px solid var(--warm-grey);border-radius:4px;background:#fff;font-family:'Source Sans 3',sans-serif;font-size:15px;line-height:22.5px;color:var(--text-body);transition:border-color 0.2s,box-shadow 0.2s;outline:none}
.wpcf7-form-control.wpcf7-select {appearance:auto}
.wpcf7-form-control.wpcf7-textarea {resize:vertical;min-height:120px}
.wpcf7-mail-sent-ok,.wpcf7 form.sent .wpcf7-response-output {background:rgb(30 96 64 / .08);color:var(--fern)}
.wpcf7-not-valid-tip {font-size:12px;color:var(--terra);margin-top:4px}
.wpcf7-response-output {border:none!important;padding:12px 16px!important;border-radius:4px;font-size:14px;margin:16px 0 0!important}
.wpcf7-submit {background:var(--terra);color:#fff;padding:13px 32px;border:none;border-radius:3px;font-family:'Source Sans 3',sans-serif;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background 0.2s,transform 0.2s,box-shadow 0.2s}
.wpcf7-submit:hover {background:var(--terra-light);transform:translateY(-2px);box-shadow:0 6px 20px rgb(176 94 58 / .35)}

/* Contact Form 7 Submit Button Parity (outlined terracotta, matches production) */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
    background-color: transparent !important;
    border: 1px solid #b87a68 !important;
    color: #b87a68 !important;
    padding: 10px 24px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    transition: all 0.2s ease-in-out;
    border-radius: 3px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transform: none !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
    background-color: #b87a68 !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}
.wpcf7-validation-errors,.wpcf7 form.invalid .wpcf7-response-output {background:rgb(176 94 58 / .08);color:var(--terra)}
*,*::before,*::after {box-sizing:border-box;margin:0;padding:0}
body {font-family:'Source Sans 3',sans-serif;font-size:16px;background:var(--off-white);color:var(--text-body);line-height:1.75;-webkit-font-smoothing:antialiased}
p {margin-block:0 .9rem}
footer {background:var(--charcoal);border-top:4px solid var(--terra);padding:64px 40px 40px}
header {background:var(--off-white);border-bottom:1px solid var(--warm-grey);padding:24px 40px;display:flex;align-items:center;justify-content:space-between}
header img.logo {height:130px;width:auto}
html {scroll-behavior:smooth}
nav {background:var(--fern);position:sticky;top:0;z-index:100;border-bottom:3px solid var(--terra)}
nav ul {list-style:none;display:flex;flex-wrap:wrap;justify-content:center;max-width:1200px;margin:0 auto}
nav ul li a {display:block;padding:15px 14px;min-height:44px;color:rgb(255 255 255 / .82);text-decoration:none;font-size:12.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;transition:color 0.2s,background 0.2s;position:relative}
nav ul li a::after {content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--terra-light);transform:scaleX(0);transform-origin:left;transition:transform 0.25s ease}
nav ul li a:hover,nav ul li.active a {color:#fff;background:rgb(255 255 255 / .08)}
nav ul li.active a {background:rgb(0 0 0 / .15)}
nav ul li.active a::after,nav ul li a:hover::after {transform:scaleX(1)}
nav.main-nav {background:var(--fern);position:sticky;top:0;z-index:200;border-bottom:3px solid var(--terra)}
nav.main-nav ul {list-style:none;display:flex;flex-wrap:wrap;justify-content:center;max-width:1200px;margin:0 auto}
nav.main-nav ul li a {display:block;padding:15px 14px;min-height:44px;color:rgb(255 255 255 / .82);text-decoration:none;font-size:12.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;transition:color .2s,background .2s;position:relative}
nav.main-nav ul li a::after {content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--terra-light);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
nav.main-nav ul li a:hover {color:#fff;background:rgb(255 255 255 / .08)}
nav.main-nav ul li.active a {color:#fff;background:rgb(0 0 0 / .15)}
nav.main-nav ul li.active a::after,nav.main-nav ul li a:hover::after {transform:scaleX(1)}

/* === Responsive media queries === */

/* Consolidated tablet/mobile (≤ 900px) — common rules applied globally.
   Page-specific rules below override where needed. */
@media (max-width:900px) {
  header{padding:20px 24px !important}
  .top-bar{padding:0 24px !important}
  footer{padding:48px 24px 32px !important}
  .footer-inner{grid-template-columns:1fr 1fr !important}
  .footer-brand{grid-column:1 / -1}
  .page-content{padding:48px 24px !important}
  .page-hero{padding:40px 24px !important}
}




/* @media (max-width:640px) // associates */
@media (max-width:640px) {  /* associates */
  header img.logo{height:90px}.header-tagline{font-size:14px;max-width:200px}.footer-inner{grid-template-columns:1fr;gap:32px}.footer-bottom{flex-direction:column;text-align:center}.quote-band{padding:48px 24px}.quote-band blockquote{font-size:18px}
}

/* @media (max-width:640px) // contact */
@media (max-width:640px) {  /* contact */
  header img.logo{height:90px}.header-tagline{font-size:14px;max-width:200px}.footer-inner{grid-template-columns:1fr;gap:32px}.footer-bottom{flex-direction:column;text-align:center}.quote-band{padding:48px 24px}.quote-band blockquote{font-size:18px}
}

/* @media (max-width:640px) // history */
@media (max-width:640px) {  /* history */
  header img.logo{height:90px}.header-tagline{font-size:14px;max-width:200px}.whakapapa-box{padding:22px 20px}.accordion-inner{padding:18px 20px}.tab-btn{padding:12px 18px;font-size:12.5px}.footer-inner{grid-template-columns:1fr;gap:32px}.footer-bottom{flex-direction:column;text-align:center}.quote-band blockquote{font-size:18px}
}

/* @media (max-width:640px) // home */
@media (max-width:640px) {  /* home */
  header img.logo{height:90px}.header-tagline{font-size:14px;max-width:200px}.intro-band{padding:48px 24px}.footer-inner{grid-template-columns:1fr;gap:32px}.footer-bottom{flex-direction:column;text-align:center}.gallery-strip{display:none}.quote-band{padding:48px 24px}.quote-band blockquote{font-size:18px}
}

/* @media (max-width:640px) // trustees */
@media (max-width:640px) {  /* trustees */
  header img.logo{height:90px}.header-tagline{font-size:14px;max-width:200px}.footer-inner{grid-template-columns:1fr;gap:32px}.footer-bottom{flex-direction:column;text-align:center}.quote-band{padding:48px 24px}.quote-band blockquote{font-size:18px}
}

/* @media (max-width:700px) // associates */
@media (max-width:700px) {  /* associates */
  .associate-lead,.page-content .associate-lead{grid-template-columns:1fr}.associate-lead-photo{width:120px;height:120px;margin:0 auto}.associate-lead{padding:24px 20px}.partners-grid,.page-content .partners-grid{grid-template-columns:repeat(2,1fr)}
}

/* @media (max-width:860px) // contact */
@media (max-width:860px) {  /* contact */
  .contact-layout{grid-template-columns:1fr}
}

/* @media (max-width:900px) // associates — no unique rules beyond global */

/* @media (max-width:900px) // contact — no unique rules beyond global */

/* @media (max-width:900px) // gallery — no unique rules beyond global */

/* @media (max-width:900px) // history — page-outer padding override */
@media (max-width:900px) {
  .page-outer{padding:40px 24px 64px}
  .quote-band{padding:48px 24px}
}

/* @media (max-width:900px) // home */
@media (max-width:900px) {  /* home */
  .hero{grid-template-columns:1fr}.hero-images{display:none}.hero-text{padding:48px 32px;min-height:auto}.hero-text h1{font-size:38px}.pillars{grid-template-columns:1fr}.pillars-section{padding:60px 24px}.gallery-strip{grid-template-columns:1fr 1fr;height:160px}.gallery-strip-cell:last-child{display:none}.gallery-strip > img:last-child{display:none}
}

/* @media (max-width:900px) // trustees — no unique rules beyond global */

/* @media (max-width:900px) // useful-links */
@media (max-width:900px) {
  .links-layout{grid-template-columns:1fr;gap:32px}
  .contacts-aside{position:static;max-width:100%;width:100%}
}

/* @media (max-width:500px) // global mobile safety — eliminate horizontal overflow */
@media (max-width:500px) {
  .page-hero h1{font-size:32px !important}
  .partners-grid{grid-template-columns:1fr !important}
  .page-content{padding:32px 16px !important}
  .page-hero{padding:32px 16px !important}
  .footer-inner{gap:24px !important}
  footer{padding:48px 16px 32px !important}
  .top-bar{padding:0 16px !important}
  header{padding:16px !important}
  .quote-band{padding:32px 16px 40px !important}
}

/* ============================================================ */
/* OVERRIDE SECTION — adapts design CSS to block theme markup.  */
/* ============================================================ */

/* OVERRIDE: top-bar block-theme variant */
.wp-block-group.top-bar {
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 40px !important;
  align-items: center !important;
  display: flex !important;
  justify-content: space-between !important;
}
.wp-block-group.top-bar > * { margin: 0 !important; }

/* OVERRIDE: site-header logo sizing for wp-block-site-logo */
.wp-block-group.site-header .wp-block-site-logo img,
.wp-block-group.site-header .custom-logo {
  height: 130px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}
.wp-block-group.site-header .wp-block-site-logo.is-default-size {
  width: auto;
  height: 130px;
}

/* OVERRIDE: site-header alignment */
.wp-block-group.site-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--warm-grey);
  padding: 24px 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* OVERRIDE: nav wrap — force green bg behind everything */
.main-nav-wrap {
  background: var(--fern) !important;
  border-bottom: 3px solid var(--terra);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav-wrap .wp-block-navigation {
  background: transparent !important;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  border-bottom: none !important;
}
.main-nav-wrap .wp-block-navigation ul {
  list-style: none;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0 !important;
}
.main-nav-wrap .wp-block-navigation-item {
  margin: 0 !important;
  list-style: none;
}
.main-nav-wrap .wp-block-navigation-item__content {
  display: flex !important;
  padding: 15px 14px !important;
  min-height: 44px !important;
  align-items: center !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  position: relative;
}
.main-nav-wrap .wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terra-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav-wrap .wp-block-navigation-item__content:hover,
.main-nav-wrap .current-menu-item .wp-block-navigation-item__content {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.main-nav-wrap .current-menu-item .wp-block-navigation-item__content {
  background: rgba(0,0,0,0.15) !important;
}
.main-nav-wrap .current-menu-item .wp-block-navigation-item__content::after,
.main-nav-wrap .wp-block-navigation-item__content:hover::after {
  transform: scaleX(1);
}

/* OVERRIDE: page-content must be constrained (global-styles forces width:auto) */
.wp-block-group.page-content {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 64px 40px !important;
}

/* OVERRIDE: page-hero must have forest bg and padding */
.wp-block-group.page-hero,
section.page-hero {
  background: var(--forest) !important;
  padding: 56px 40px !important;
  position: relative !important;
  overflow: hidden !important;
}
.wp-block-group.page-hero-inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}
.wp-block-group.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}

/* OVERRIDE: trustees-grid-full must use CSS grid */
.wp-block-group.trustees-grid-full,
.trustees-grid-full {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 36px !important;
}

/* OVERRIDE: trustee-card styling — matches production design */
.wp-block-group.trustee-card,
.trustee-card {
  background: white !important;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wp-block-group.trustee-photo-wrap,
.trustee-photo-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.wp-block-group.trustee-photo-wrap img,
.trustee-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}
.wp-block-group.trustee-body,
.trustee-body {
  padding: 28px 24px !important;
}
.wp-block-group.trustee-body h2,
.trustee-body h2 {
  font-family: 'Playfair Display', serif !important;
  color: var(--forest) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 8px 0 4px !important;
  line-height: 1.2 !important;
}
.wp-block-group.trustee-role-tag,
.trustee-role-tag {
  font-size: 11px !important;
  color: var(--terra) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
}

/* OVERRIDE: section-kicker */
.wp-block-group.section-kicker,
.section-kicker {
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--terra) !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  display: block !important;
}

/* OVERRIDE: hero-kicker */
.wp-block-group.hero-kicker,
.hero-kicker {
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--terra-light) !important;
  font-weight: 600 !important;
  margin-bottom: 18px !important;
  display: block !important;
}

/* OVERRIDE: quote-band forest background */
.wp-block-group.quote-band,
.quote-band {
  background: var(--forest) !important;
  padding: 64px 40px !important;
  text-align: center !important;
}

/* OVERRIDE: footer styles */
.wp-block-group.site-footer,.site-footer,footer {
  padding: 64px 40px 40px !important;
}
/* Production's agm-minutes page has additional margin-top:64px on footer */
.page-id-128 .wp-block-group.site-footer,.page-id-128 .site-footer,footer:has(+ .agm-minutes) {
  margin-top: 64px !important;
}
.wp-block-group.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wp-block-group.site-footer .footer-brand p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 8px;
}
.wp-block-group.site-footer .footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-light);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 8px;
  margin-bottom: 18px;
  opacity: 0.8;
}
.wp-block-group.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wp-block-group.site-footer .footer-col ul li {
  margin-bottom: 10px;
  list-style: none;
}
.wp-block-group.site-footer .footer-col ul li a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}
.wp-block-group.site-footer .footer-col ul li a:hover { color: #fff; }
.wp-block-group.site-footer .footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.wp-block-group.site-footer .footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 14.4px;
}
.wp-block-group.site-footer .footer-small-print {
  max-width: 1100px;
  margin: 14px auto 0;
  font-size: 11px;
  color: rgba(255,255,255,0.15);
  text-align: center;
  letter-spacing: 0.02em;
}

/* OVERRIDE: strip heading block padding/margins */
.wp-block-heading {
  margin: 0;
}

/* Small heading style tweaks to match production */
h4, .footer-col h4 {
  margin-top: 8px;
}

/* Restore UA-default h1/h2 margins (production uses 8px/16px). WP block-heading
   override zeros them out; we restore here for any h1/h2 with that class. */
.page-content h1, .page-hero h1, .entry-content h1,
h1.wp-block-heading, .wp-block-heading.must-keep-margins {
  margin-top: 8px;
  margin-bottom: 16px;
}
.page-content h2, .entry-content h2, .wp-block-post-content h2,
h2.wp-block-heading {
  margin-top: 8px;
  margin-bottom: 16px;
}
.page-content h3, .entry-content h3 {
  margin-top: 8px;
  margin-bottom: 16px;
}

/* OVERRIDE: header gap — production uses space-between, not gap */
.wp-block-group.site-header {
  gap: normal;
}

/* OVERRIDE: nav — match production padding and display */
.main-nav-wrap {
  padding: 0 40px;
}

/* OVERRIDE: nav items — production uses display:block, not flex */
.main-nav-wrap .wp-block-navigation-item__content {
  display: block !important;
  align-items: normal !important;
}

/* OVERRIDE: gallery strip — force visible at all viewports (media query leak fix) */
.gallery-strip {
  display: grid !important;
}

/* OVERRIDE: hero-images — force grid layout at all viewports */
.hero-images {
  display: grid !important;
}

/* OVERRIDE: WP block buttons — override global-styles defaults */
.hero-actions .wp-block-button.btn-primary,
.hero-actions .wp-block-button.btn-secondary {
    display: inline-block !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal !important;
    overflow: visible !important;
}

.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button__link.btn-primary {
  background: var(--terra) !important;
  color: #fff !important;
  border-radius: 3px !important;
  padding: 13px 30px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: normal !important;
  height: 49px !important;
  box-sizing: border-box !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button__link.btn-primary:hover {
  background: var(--terra-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 94, 58, 0.4);
}
.wp-block-button.btn-secondary .wp-block-button__link,
.wp-block-button__link.btn-secondary {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-top-width: 1px !important;
  border-right-width: 1px !important;
  border-bottom-width: 1px !important;
  border-left-width: 1px !important;
  border-radius: 3px !important;
  padding: 0 30px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: normal !important;
  height: 49px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, color 0.2s, transform 0.2s !important;
}
.wp-block-button.btn-secondary .wp-block-button__link:hover,
.wp-block-button__link.btn-secondary:hover {
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* OVERRIDE: Facebook button — match production */
.wp-block-button.fb-link .wp-block-button__link,
.wp-block-button__link.fb-link {
  background: var(--forest) !important;
  color: #fff !important;
  border-radius: 3px !important;
  padding: 13px 26px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: background 0.2s !important;
}

/* ==========================================================================
   Gutenberg WYSIWYG Editor Canvas Parity Overrides
   ========================================================================== */

/* 1. Reset Editor Canvas Background & Width */
.editor-styles-wrapper {
    background-color: var(--off-white, #fcfbfa) !important;
    font-family: 'Source Sans 3', sans-serif !important;
    padding: 0 !important;
}

/* 2. Lock Editor Canvas Container Width to Front-End Page Width */
.editor-styles-wrapper .is-root-container,
.editor-styles-wrapper .wp-block-post-content {
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 3. Force Custom Grids to Render Side-by-Side (override Gutenberg's stacked default) */
.editor-styles-wrapper .trustees-grid-full,
.editor-styles-wrapper .staff-grid,
.editor-styles-wrapper .forms-grid,
.editor-styles-wrapper .year-grid,
.editor-styles-wrapper .pillars-grid {
    display: grid !important;
    gap: 24px !important;
}

/* 4. Ensure Custom Cards Retain Visual Styling in Canvas */
.editor-styles-wrapper .trustee-card,
.editor-styles-wrapper .staff-card,
.editor-styles-wrapper .form-card,
.editor-styles-wrapper .year-grid .year-item {
    border-radius: 6px !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07) !important;
    background: #fff !important;
}

/* 5. Match Hero Banner Canvas View */
.editor-styles-wrapper .page-hero,
.editor-styles-wrapper .home-hero {
    background-color: var(--forest, #14422c) !important;
    color: #fff !important;
}

.editor-styles-wrapper .page-hero h1,
.editor-styles-wrapper .home-hero h1 {
    color: #fff !important;
}

/* ==========================================================================
   Global Alignment & Layout Consistency Standards
   These rules reinforce a clean left-aligned reading experience inside
   cards and a centered band-style look for full-width section headings.

   Pre-existing rules already center `.intro-band` and `.quote-band`, so the
   band rules here are explicit safety nets in case future templates drift.
   ========================================================================== */

/* 1. Force Left-Alignment on Card Containers for Clean Reading Lines */
.trustee-card,
.staff-card,
.form-card,
.year-card,
.pillar-card,
.associate-lead-info,
.link-card {
    text-align: left !important;
}

.trustee-card h3,
.staff-card h3,
.form-card h3,
.pillar-card h3,
.link-card h3 {
    text-align: left !important;
    margin-bottom: 6px !important;
}

.trustee-card p,
.staff-card p,
.form-card p,
.pillar-card p {
    text-align: left !important;
}

/* 2. Standardize Section Headers in Full-Width Bands (Centered) */
.intro-band,
.quote-band,
.pillars-section-header {
    text-align: center !important;
}

.intro-band h2,
.quote-band blockquote {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 3. Button Group Alignment in Cards vs Heroes */
.hero-actions {
    justify-content: flex-start !important; /* Left aligned in Hero */
}

.card-actions,
.form-card .btn-download,
.link-card-action {
    display: inline-flex !important;
    align-self: flex-start !important; /* Left aligned in Cards */
}

