/* LinearQS public site readability and layout patch — 18 November 2026 */
:root{--lqs-forest:#203b38;--lqs-forest-deep:#172f2c;--lqs-gold:#c78d43;--lqs-gold-light:#f4d8ad;--lqs-paper:#f7f3e9;--lqs-ink:#243633;--lqs-muted:#5f6c67}

/* Footer contrast, compact layout and single contact icons */
.site-footer{margin-top:0!important;padding:34px clamp(18px,4vw,52px);background:var(--lqs-forest);color:#f7f3e9;border-top:4px solid var(--lqs-gold)}
.site-footer .footer-content{width:min(1200px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.85fr);gap:38px;align-items:start}
.site-footer .footer-content>*+*{margin:0}
.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.site-footer .footer-links>*+*{margin:0}
.site-footer .footer-column.dropdown{width:auto;min-width:0}
.site-footer .footer-column .dropdown-toggle{width:100%;margin:0;padding:0 0 10px;background:transparent;color:#f2d5aa;border:0;border-bottom:1px solid #ffffff35;text-align:left;cursor:pointer}
.site-footer .footer-column h4{margin:0;color:#f2d5aa!important;font-size:.92rem;line-height:1.4;font-weight:750;letter-spacing:.02em}
.site-footer .dropdown-arrow{color:#f2d5aa;flex:0 0 auto}
.site-footer .dropdown-content{display:flex;flex-direction:column;gap:2px;padding:8px 0 0 2px}
.site-footer .dropdown-content a{display:flex;align-items:center;gap:9px;margin:0;padding:5px 0;color:#f7f3e9!important;font-size:.86rem;line-height:1.4;text-decoration:none}
.site-footer .dropdown-content a:hover,.site-footer .dropdown-content a:focus-visible{color:#ffd28f!important;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-icon{width:17px;height:17px;flex:0 0 17px;margin:0;vertical-align:middle;color:#e5ad63}
.site-footer .footer-icon path,.site-footer .footer-icon rect,.site-footer .footer-icon circle{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-footer .footer-meta{display:grid;justify-items:end;gap:13px;text-align:right;color:#f7f3e9}
.site-footer .footer-meta p{margin:0;color:#f7f3e9;font-size:.88rem;line-height:1.55}
.site-footer .footer-contact-row{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 20px}
.site-footer .footer-contact-row a{display:inline-flex;align-items:center;gap:8px;color:#ffd28f!important;font-size:.92rem;font-weight:700;text-decoration:none}
.site-footer .footer-contact-row a:hover,.site-footer .footer-contact-row a:focus-visible{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-contact-icon{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-footer .phone-link::before,.site-footer .contact-link::before{content:none!important;display:none!important}
.site-footer .phone-link>*+*,.site-footer .contact-link>*+*{margin-left:0}
.site-footer .social{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin:0}
.site-footer .social>*+*{margin:0}
.site-footer .social-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #ffffff55;border-radius:12px;background:#ffffff18;color:#fff;text-decoration:none;transition:background .18s ease,transform .18s ease,border-color .18s ease}
.site-footer .social-icon:hover,.site-footer .social-icon:focus-visible{background:#c78d43;border-color:#f2d5aa;transform:translateY(-2px)}
.site-footer .social-icon svg{display:block;width:19px;height:19px;fill:currentColor}
.site-footer .social-icon:focus-visible,.site-footer .dropdown-toggle:focus-visible{outline:3px solid #ffd28f;outline-offset:3px}

/* Service cards and content now have room on narrow screens */
.services-page .services{background:#f7f3e9}
.services-page .service-grid{width:min(1180px,100%);grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.services-page .service-item{display:flex;min-width:0;flex-direction:column;align-items:flex-start;min-height:100%;padding:26px 22px;border:1px solid #dfe6df;border-radius:18px;background:#fffdf8;color:var(--lqs-ink);text-decoration:none}
.services-page .service-item h3{margin:0 0 8px;color:var(--lqs-forest);font-size:1.17rem;line-height:1.25;text-align:left}
.services-page .service-item p{margin:0 0 16px;color:#53635d;line-height:1.58}
.services-page .service-card-link{margin-top:auto;color:#8b5720;font-size:.92rem;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.services-page .service-item:hover,.services-page .service-item:focus-within{border-color:#c78d43;box-shadow:0 14px 34px #203b3818;transform:translateY(-3px)}
.services-page .service-item:focus-within{outline:3px solid #c78d4340;outline-offset:2px}
.services-page .service-icon{width:64px;height:64px;margin:0 0 15px}
.services-page .service-details{width:min(1100px,calc(100% - 36px));margin:clamp(26px,5vw,58px) auto;display:grid;gap:18px}
.services-page .detail-block{min-width:0;padding:clamp(22px,4vw,42px);border:1px solid #e1e5dc;border-radius:20px;background:#fffdf8;box-shadow:0 12px 32px #203b380b;scroll-margin-top:110px}
.services-page .detail-block h2{margin:0 0 14px;color:var(--lqs-forest);font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.2}
.services-page .detail-block p,.services-page .detail-block li{color:#4d5b56;line-height:1.72}
.services-page .detail-block p{max-width:76ch;margin:0 0 14px}
.services-page .detail-block ul{margin:0 0 22px;padding-left:1.25rem}
.services-page .detail-block li{padding:.18rem 0}
.services-page .detail-block a:not(.btn){color:#27665d;text-decoration:underline;text-underline-offset:3px}
#main-content>.cta:last-of-type{padding-bottom:clamp(38px,4vw,54px);margin-bottom:0}
#main-content>.cta:last-of-type+.lqs-ad-slot{margin-top:0}

/* One compact, accessible page for all public policies */
.legal-page{padding:94px 0 40px;background:#f7f3e9;color:var(--lqs-ink)}
.legal-shell{width:min(1120px,calc(100% - 36px));margin:0 auto}
.legal-hero{padding:clamp(42px,6vw,68px) 0;background:linear-gradient(120deg,#203b38,#2d7167);color:#fff}
.legal-hero .eyebrow{margin-bottom:8px;color:#f2d5aa;font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.legal-hero h1{margin:0 0 12px;color:#fff;font-size:clamp(2rem,4vw,3.25rem);line-height:1.1;letter-spacing:-.025em}
.legal-hero p{max-width:68ch;margin:0;color:#f1f5f0;font-size:1.05rem;line-height:1.65}
.legal-layout{display:grid;grid-template-columns:minmax(205px,250px) minmax(0,1fr);gap:24px;align-items:start;padding-top:28px;padding-bottom:24px}
.policy-tabs{position:sticky;top:108px;display:grid;gap:5px;padding:10px;border:1px solid #e3e4db;border-radius:16px;background:#fffdf8;box-shadow:0 10px 25px #203b3809}
.policy-tab{display:block;padding:10px 12px;border-radius:10px;color:#354741;font-size:.9rem;font-weight:650;line-height:1.35;text-decoration:none}
.policy-tab:hover{background:#f3eee2;color:#203b38}
.policy-tab[aria-selected="true"]{background:#c78d43;color:#1e332f}
.policy-content{min-width:0}
.policy-panel{padding:clamp(22px,4vw,42px);border:1px solid #e3e4db;border-radius:20px;background:#fff;box-shadow:0 16px 40px #203b3810;overflow-wrap:anywhere}
.policy-panel[hidden]{display:none}
.policy-panel>h2:first-child{margin:0 0 14px;color:#203b38;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.2}
.policy-panel .legal-container{width:100%;max-width:none;margin:0;padding:0}
.policy-panel .legal-container h2{margin:28px 0 10px;color:#203b38;font-size:1.28rem;line-height:1.32}
.policy-panel .legal-container h3{margin:22px 0 8px;color:#2d7167;font-size:1.08rem;line-height:1.4}
.policy-panel .legal-container p,.policy-panel .legal-container li{color:#42534d;font-size:.97rem;line-height:1.72}
.policy-panel .legal-container p{margin:0 0 14px}
.policy-panel .legal-container ul,.policy-panel .legal-container ol{margin:0 0 18px;padding-left:1.35rem}
.policy-panel .legal-container li{padding:2px 0}
.policy-panel a{color:#27665d;text-decoration:underline;text-underline-offset:3px}
.policy-panel a:hover{color:#8b5720}
.policy-panel .legal-lead{margin:0 0 18px;color:#586962;font-size:1.03rem}
.policy-tab:focus-visible,.policy-panel a:focus-visible{outline:3px solid #c78d43;outline-offset:3px;border-radius:4px}

@media(max-width:900px){
 .services-page .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer .footer-content{grid-template-columns:1fr;gap:28px}
 .site-footer .footer-meta{justify-items:start;text-align:left}
 .site-footer .footer-contact-row,.site-footer .social{justify-content:flex-start}
 .legal-page{padding-top:76px} .legal-layout{grid-template-columns:minmax(0,1fr);gap:16px} .policy-tabs{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px} .policy-tab{min-width:0;min-height:44px;padding:10px 11px;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:560px){
 .services-page .service-grid{grid-template-columns:1fr}
 .services-page .service-item{padding:23px 21px}
 .services-page .service-details{width:calc(100% - 28px)}
 .site-footer{padding:28px 20px}
 .site-footer .footer-links{grid-template-columns:1fr;gap:22px}
 .site-footer .footer-meta p{font-size:.82rem}
 .legal-shell{width:calc(100% - 28px)}
 .legal-layout{gap:14px;padding-top:16px}
 .policy-panel{padding:20px 17px;border-radius:15px}
 .policy-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px} .policy-tab{min-height:46px;padding:9px 8px;font-size:.82rem;line-height:1.3}
}
#main-content>.lqs-ad-slot{margin:14px auto 0}

/* Bernice's About profile */
.about-bernice{padding:clamp(54px,7vw,92px) clamp(18px,5vw,72px);background:#edf3ee}
.bernice-profile-grid{width:min(1100px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(230px,.82fr) minmax(0,1.35fr);align-items:center;gap:clamp(28px,5vw,64px)}
.bernice-photo-frame{margin:0;padding:12px;border:1px solid #dfe6df;border-radius:24px;background:#fffdf8;box-shadow:0 18px 42px #203b3817}
.bernice-photo{display:block;width:100%;height:auto;max-height:640px;border-radius:16px;object-fit:contain;background:#f7f3e9}
.bernice-member-badge{display:flex;align-items:center;gap:10px;margin:12px 3px 1px;color:#52615c;font-size:.84rem;font-weight:650;text-decoration:none}.bernice-member-badge:hover{color:#203b38;text-decoration:underline;text-underline-offset:3px}
.bernice-member-letters{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:4px 10px;border:1px solid #c78d43;border-radius:999px;background:#fff4de;color:#203b38;font-size:.78rem;font-weight:850;letter-spacing:.06em}
.bernice-profile-copy .eyebrow{margin-bottom:8px;color:#9b5d2d;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.bernice-profile-copy h2{margin:0 0 8px;color:#203b38;font-size:clamp(2rem,4vw,3rem);line-height:1.12;text-align:left}
.bernice-profile-copy .bernice-role{margin:0 0 18px;color:#9b5d2d;font-size:1rem;font-weight:750}
.bernice-profile-copy p:not(.bernice-role){max-width:68ch;margin:0 0 15px;color:#4d5b56;line-height:1.72}
.bernice-profile-copy .btn{display:inline-flex;align-items:center;justify-content:center;margin-top:7px;text-align:center}
@media(max-width:720px){.bernice-profile-grid{grid-template-columns:minmax(0,1fr);max-width:620px;gap:24px}.bernice-photo-frame{width:min(100%,440px);justify-self:center}.bernice-profile-copy h2{text-align:left}}/* Home page: Christchurch ownership block contrast */#main-content.homepage .local{isolation:isolate;color:#fffefa}#main-content.homepage .local::before{background:linear-gradient(125deg,rgba(32,59,56,.94) 0%,rgba(57,43,75,.93) 54%,rgba(119,61,34,.93) 100%)}#main-content.homepage .local>h2,#main-content.homepage .local>p{position:relative;z-index:1;color:#fffefa}#main-content.homepage .local>h2{font-weight:800;text-shadow:0 2px 9px rgba(0,0,0,.28)}#main-content.homepage .local>p{width:min(780px,100%);margin:0 auto;font-weight:550;line-height:1.75;text-align:center;text-shadow:0 1px 7px rgba(0,0,0,.28)}#main-content.homepage .local>p a{color:#ffdfa7;font-weight:760;text-decoration-color:#f2d5aa;text-decoration-thickness:2px;text-underline-offset:4px}#main-content.homepage .local>p a:hover{color:#fffefa;text-decoration-color:#fffefa}#main-content.homepage .local>p a:focus-visible{outline:3px solid #ffdfa7;outline-offset:4px;border-radius:2px}