/*
Theme Name: LCDFI Countryside
Author: LCDFI project
Description: Accessible institutional WordPress theme for LANDBANK Countryside Development Foundation.
Version: 1.0.0
Requires PHP: 8.2
*/
@font-face{font-family:Lato;src:url('assets/lato-regular.woff2') format('woff2'),url('assets/lato-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{--green:#17613d;--deep:#123f2c;--ink:#1b3328;--muted:#53675b;--paper:#fafbf7;--pale:#edf2e7;--line:#d4dfd2;--gold:#ead89a;--white:#fff;--radius:14px;--space:clamp(24px,5vw,76px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;color:var(--ink);background:var(--paper);font:17px/1.6 Lato,Arial,sans-serif}::selection{background:var(--gold);color:var(--deep)}a{color:inherit;text-underline-offset:5px}a:hover{color:var(--green)}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}a,button,summary{transition:background-color .18s,color .18s}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;background:var(--green);color:white;border:1px solid var(--green);border-radius:5px;padding:12px 22px;min-height:48px;text-decoration:none;font-weight:700;cursor:pointer}button:hover,.button:hover{background:var(--deep);color:white}button:disabled{opacity:.6;cursor:wait}.secondary{background:transparent;color:var(--green);border-color:var(--line)}.secondary:hover{background:var(--pale);color:var(--deep)}:focus-visible{outline:3px solid #a45a00;outline-offset:4px}svg{width:23px;height:23px;flex-shrink:0}img{max-width:100%;height:auto}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.15;text-wrap:balance}h1{font-size:clamp(36px,4.2vw,62px);letter-spacing:-.03em}h2{font-size:clamp(29px,3vw,43px);letter-spacing:-.025em}h3{font-size:25px;letter-spacing:-.015em}p{max-width:70ch}p+p{margin-top:16px}.container{width:min(1280px,calc(100% - 2 * var(--space)));margin-inline:auto}.section{padding-block:84px}.skip-link{position:fixed;top:-100px;left:20px;background:var(--deep);color:white;padding:16px;z-index:1000}.skip-link:focus{top:10px}.draft-bar{background:#f1e9d2;color:#5a4b29;font-size:12px;text-align:center;padding:5px 16px}.government-bar{background:var(--deep);color:#f4f5e9;font-size:12px}.government-bar .container{display:flex;align-items:center;gap:28px;min-height:37px}.government-bar a{text-decoration:none}.government-bar a:hover{color:var(--gold)}.government-bar a:first-child{font-weight:700;font-size:14px;letter-spacing:.06em}.government-bar span{margin-right:auto}.site-header{position:sticky;top:0;z-index:30;background:rgba(250,251,247,.98);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:108px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:260px}.brand-symbol{display:grid;place-items:center;width:49px;height:56px;border:1px solid var(--green);border-radius:50%;color:var(--green)}.brand-symbol svg{width:34px;height:34px}.brand strong{display:block;font-size:22px;letter-spacing:.035em;color:var(--green);line-height:1.2}.brand>span>span{display:block;font-size:12px;line-height:1.3;letter-spacing:.02em}nav#primary-navigation{display:flex;align-items:center;gap:24px;font-size:14px}#primary-navigation>a,#primary-navigation summary{text-decoration:none;white-space:nowrap;cursor:pointer}#primary-navigation details{position:relative}summary::marker{color:var(--green)}.dropdown{position:absolute;top:34px;left:-16px;background:white;box-shadow:0 10px 30px #123f2c1a;padding:12px;width:230px;border-radius:var(--radius)}.dropdown a{display:block;padding:10px;text-decoration:none}.dropdown a:hover{background:var(--pale)}.nav-contact{display:flex;gap:10px;align-items:center;color:var(--green);font-weight:700}.menu-toggle{display:none}.hero{padding-top:40px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.hero-copy{padding-block:25px 45px}.hero h1{max-width:660px;font-size:clamp(38px,4.7vw,69px);line-height:1.08;font-weight:400}.hero h1 em{font-style:normal;color:var(--green)}.hero-copy>p{color:var(--muted);max-width:470px;margin-top:28px;font-size:18px;line-height:1.7}.actions{display:flex;align-items:center;gap:28px;margin-top:32px;flex-wrap:wrap}.text-link{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;font-size:15px;color:var(--green)}.text-link:hover{text-decoration:underline}.hero-image{position:relative;align-self:stretch;min-height:490px;margin-bottom:30px}.hero-image>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;border-radius:160px 8px 8px 8px}.hero-image:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#102f1dc9);border-radius:0 0 8px 8px;pointer-events:none}.image-note{position:absolute;bottom:36px;left:32px;z-index:1;color:white;font-size:31px;line-height:1.2}.hero-image figcaption{position:absolute;bottom:-28px;left:0;font-size:11px;color:var(--muted)}.quick-section{padding-top:40px}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line)}.quick-links>a{display:flex;align-items:center;gap:17px;text-decoration:none;padding:28px 20px;border-right:1px solid var(--line)}.quick-links>a:first-child{padding-left:0}.quick-links>a:last-child{border:0}.quick-links>a:hover{background:var(--pale)}.quick-links>a>svg{width:18px;margin-left:auto}.quick-icon{color:var(--green)}.quick-icon svg{width:30px;height:30px}.quick-links strong{font-size:16px;display:block}.quick-links span span{font-size:12px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:36px}.section-heading p{color:var(--muted);margin-top:18px}.program-feature{display:grid;grid-template-columns:1fr 1.1fr;background:var(--pale);border-radius:var(--radius);overflow:hidden}.program-visual{background:var(--deep);color:var(--gold);padding:48px;display:flex;flex-direction:column;justify-content:space-between;gap:28px}.program-visual>svg{width:58px;height:58px}.program-visual>span{font-size:46px;line-height:1.13;letter-spacing:-.02em}.program-slides{padding:44px 50px;display:flex;flex-direction:column;justify-content:space-between}.program-slide h3{font-size:34px;margin-top:14px}.program-slide p{color:var(--muted);margin:18px 0 24px}.meta{font-size:12px;color:var(--muted);letter-spacing:.015em}.meta span{margin-inline:7px}.carousel-controls{display:flex;align-items:center;gap:18px;margin-top:30px}.carousel-controls button{padding:7px 13px;min-height:40px;font-size:13px}.carousel-controls span{font-size:13px;font-variant-numeric:tabular-nums}.news-section{background:#f0f3ec;border-block:1px solid var(--line)}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}.content-card{padding:24px 0 8px;border-top:1px solid #b7c8b6;display:flex;flex-direction:column;align-items:flex-start}.content-card h3{font-size:25px;margin:16px 0}.content-card h3 a{text-decoration:none}.content-card p{font-size:15px;color:var(--muted);margin-bottom:25px}.content-card>.text-link{margin-top:auto}.card-image{width:100%;margin-bottom:22px}.card-image img{aspect-ratio:16/10;object-fit:cover;width:100%;border-radius:8px}.discover{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.discover p{margin:20px 0;color:var(--muted)}.search-panel{background:var(--pale);padding:36px;border-radius:var(--radius)}.search-panel h3{margin-bottom:24px}.search-panel label{font-size:13px}.search-panel p{font-size:13px;margin-bottom:0}.search-row{display:flex;gap:8px;margin-top:8px}.search-row input{min-width:0;flex:1}.search-row button{padding:12px 15px}.site-footer{background:var(--deep);color:#eff5eb;padding-top:65px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px;padding-bottom:55px}.site-footer h2{font-size:38px;color:white;margin-bottom:22px}.site-footer p{color:#c6d9c9;font-size:14px}.site-footer .text-link{color:var(--gold);margin-top:24px}.site-footer h3{font-size:16px;margin-bottom:22px}.footer-grid>div>a:not(.text-link){display:block;color:#d9e7da;font-size:14px;text-decoration:none;margin-bottom:11px}.site-footer a:hover{color:var(--gold)}.footer-bottom{border-top:1px solid #42634f;padding-block:22px;display:flex;gap:30px;font-size:12px;color:#c6d9c9}.footer-bottom span{margin-right:auto}.breadcrumb{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin-bottom:32px;color:var(--muted)}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:90px}.article h1{margin-bottom:24px}.article>.meta{margin-bottom:30px}.article-image{border-radius:var(--radius);margin-bottom:30px}.prose{max-width:72ch}.prose h2{font-size:30px;margin:42px 0 18px}.prose h3{margin:30px 0 14px}.prose p{margin-bottom:20px}.prose li{margin-bottom:10px}.prose a{color:var(--green)}.prose figure{margin:24px 0}.page-aside{padding-top:12px}.page-aside h2{font-size:19px;margin-bottom:22px}.page-aside>a{padding:15px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:14px;text-decoration:none;gap:10px}.page-aside svg{width:18px}.submission-section{border-top:1px solid var(--line);margin-top:46px;padding-top:32px}.submission-section>h2{font-size:28px;margin-bottom:16px}.submission-section>p{margin-bottom:20px}.submission-form{margin:26px 0}.submission-form label{display:block;font-size:14px;font-weight:700;margin-bottom:20px}.submission-form input:not([type=checkbox]),.submission-form textarea{display:block;width:100%;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}input,select,textarea{padding:12px 14px;border:1px solid #a7b8a7;border-radius:5px;background:white;color:var(--ink);caret-color:var(--green);max-width:100%}input::placeholder,textarea::placeholder{color:#637165}textarea{resize:vertical}.submission-form .consent{display:flex;gap:12px;font-weight:400}.consent input{width:20px;height:20px;flex-shrink:0;accent-color:var(--green);margin-top:4px}.form-note{font-size:13px;color:var(--muted);margin-bottom:22px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.notice{background:var(--pale);padding:24px;border-radius:8px;margin-block:22px}.notice h3{margin-bottom:12px}.notice .button{margin-top:16px}.share-link{margin-top:36px}.share-status{font-size:13px;margin-left:15px}.contact-details{margin-block:35px}.contact-details h2{margin-bottom:18px}.page-intro{color:var(--muted);margin-top:20px}.filters{display:grid;grid-template-columns:2fr 1.3fr 1.2fr .8fr auto;gap:16px;align-items:end;background:var(--pale);padding:24px;border-radius:var(--radius);margin-block:36px 42px}.filters label{font-size:12px;font-weight:700}.filters input,.filters select{display:block;width:100%;margin-top:8px;font-size:14px}.listing-grid{row-gap:50px}.empty-state{text-align:center;padding:60px 20px}.empty-state p{margin:18px auto 25px}.pagination{margin-top:40px}.pagination .nav-links{display:flex;gap:15px;align-items:center}.page-numbers{padding:8px 14px;background:var(--pale)}.page-numbers.current{background:var(--green);color:white}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}dialog{border:0;border-radius:var(--radius);padding:20px;max-width:90vw;max-height:90vh;background:var(--paper)}dialog::backdrop{background:#0d241ae0}dialog img{max-height:70vh;display:block;margin-top:15px;object-fit:contain}dialog p{margin-top:10px}.prose img{cursor:zoom-in}.close-viewer{display:block;margin-left:auto}
@media(min-width:1500px){.hero h1{font-size:70px}}@media(max-width:1180px){nav#primary-navigation{gap:16px;font-size:12px}.brand{min-width:230px}.header-inner{gap:15px}.hero-grid{gap:30px}.quick-links>a{gap:10px;padding-inline:14px}.quick-links strong{font-size:14px}.quick-links>a>svg{display:none}.article-layout{gap:45px}.hero-image{min-height:460px}}
@media(max-width:960px){.menu-toggle{display:inline-flex}.header-inner{min-height:88px}nav#primary-navigation{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:20px var(--space);box-shadow:0 12px 20px #123f2c15;font-size:16px;max-height:70vh;overflow:auto}nav#primary-navigation.open{display:flex;flex-direction:column;align-items:stretch;gap:0}#primary-navigation>a,#primary-navigation summary{padding:12px 0}.dropdown{position:static;box-shadow:none;width:auto;background:var(--pale)}.hero-grid{grid-template-columns:1fr 1fr;gap:24px}.hero h1{font-size:45px}.hero-image{min-height:480px}.hero-image>img{border-radius:100px 8px 8px 8px}.image-note{font-size:24px;left:24px}.actions{gap:20px}.quick-links{grid-template-columns:1fr 1fr}.quick-links>a{padding:24px!important}.quick-links>a:nth-child(2){border:0}.quick-links>a:nth-child(-n+2){border-bottom:1px solid var(--line)}.quick-links strong{font-size:16px}.quick-links>a>svg{display:block}.program-slides{padding:32px}.program-visual{padding:35px}.program-visual>span{font-size:38px}.program-slide h3{font-size:28px}.discover{gap:35px}.content-grid{gap:24px}.content-card h3{font-size:22px}.article-layout{grid-template-columns:1fr}.page-aside{border-top:1px solid var(--line);padding-top:30px}.filters{grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}.filters button{align-self:end}.footer-grid{gap:35px}.government-bar span{font-size:11px}.government-bar .container{gap:18px}}
@media(max-width:640px){body{font-size:16px}.container{width:calc(100% - 40px)}.government-bar span{display:none}.government-bar .container{gap:16px;justify-content:space-between}.government-bar a{font-size:10px}.brand strong{font-size:19px}.brand{min-width:0;gap:10px}.brand-symbol{width:39px;height:47px}.brand-symbol svg{width:27px}.brand>span>span{font-size:10px}.menu-toggle{padding:8px 12px;min-height:42px;font-size:13px}.header-inner{min-height:80px}.hero{padding-top:12px}.hero-grid{grid-template-columns:1fr;gap:4px}.hero-copy{padding:24px 0}.hero h1{font-size:46px;max-width:500px}.hero-copy>p{font-size:16px;margin-top:20px}.actions{margin-top:24px;gap:22px}.actions .text-link{font-size:13px}.actions .button{padding:12px 16px;font-size:14px}.hero-image{min-height:340px;margin-top:14px;margin-bottom:25px}.hero-image>img{border-radius:90px 6px 6px 6px}.image-note{font-size:29px;bottom:24px}.quick-section{padding-top:27px}.quick-links>a{padding:19px 10px!important;gap:9px}.quick-icon svg{width:24px}.quick-links strong{font-size:13px}.quick-links span span{font-size:10px}.quick-links>a>svg{display:none}.section{padding-block:52px}.section-heading{align-items:start;flex-direction:column;gap:20px;margin-bottom:26px}.section-heading p{font-size:15px;margin-top:15px}.program-feature{grid-template-columns:1fr}.program-visual{padding:30px;flex-direction:row;align-items:center;gap:20px}.program-visual>span{font-size:31px}.program-visual>svg{width:66px;height:66px}.program-slides{padding:28px}.program-slide h3{font-size:28px}.content-grid{grid-template-columns:1fr;gap:26px}.content-card{padding-top:24px}.content-card h3{font-size:26px}.discover{grid-template-columns:1fr;gap:32px}.search-panel{padding:25px}.footer-grid{grid-template-columns:1fr 1fr;gap:35px 20px}.footer-grid>div:first-child{grid-column:1/-1}.site-footer{padding-top:42px}.footer-grid{padding-bottom:35px}.footer-bottom{flex-wrap:wrap;gap:12px 22px}.footer-bottom span{flex-basis:100%}.form-grid{grid-template-columns:1fr;gap:0}.filters{padding:18px;gap:14px}.filters select{padding:12px 8px}.article-layout{gap:38px}.article h1{font-size:38px}.breadcrumb{font-size:12px}.draft-bar{font-size:10px}h2{font-size:31px}.carousel-controls{gap:12px}input,textarea,select{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Wayfinding and information hierarchy refinements. */
.header-inner{position:relative;min-height:96px;gap:20px}
.brand-logo{max-width:65px;max-height:60px;width:auto;object-fit:contain}
nav#primary-navigation{margin-left:auto;gap:20px}
#primary-navigation>a,#primary-navigation summary{padding-block:14px}
#primary-navigation [aria-current],#primary-navigation .current-section>summary{color:var(--green);font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:9px}
.dropdown [aria-current]{background:var(--pale);border-radius:5px}
.header-search{flex-shrink:0}
.header-search>summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;cursor:pointer;color:var(--green);border:1px solid var(--line);border-radius:50%}
.header-search>summary::-webkit-details-marker{display:none}
.header-search>summary:hover,.header-search[open]>summary{background:var(--pale)}
.header-search form{position:absolute;top:calc(100% + 12px);right:0;width:min(540px,100%);padding:26px;background:var(--paper);border-radius:var(--radius);box-shadow:0 12px 32px #123f2c26}
.header-search label{font-size:18px;font-weight:700}
.header-search .search-row{margin-top:14px}
.header-search input{width:100%}
.header-search button{font-size:14px;gap:10px}
.admin-bar .site-header{top:32px}
.meta{font-size:13px}
.carousel-controls button{min-height:44px}
.program-slide h3{margin-top:0}
.program-slide .meta{margin-bottom:18px}
.filters{grid-template-columns:minmax(180px,1.6fr) minmax(140px,1.2fr) minmax(140px,1.1fr) minmax(100px,.7fr) auto;margin-bottom:20px}
.filters button{gap:10px;font-size:14px;white-space:nowrap}
.results-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:38px;color:var(--muted);font-size:14px}
.results-summary a{display:inline-flex;align-items:center;gap:10px;color:var(--green);min-height:44px}
.results-summary svg{width:17px;height:17px}
.listing-status{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:20px;font-size:13px;color:var(--muted)}
.status-label{padding:4px 10px;background:var(--pale);border-radius:4px;color:var(--muted);font-weight:700}
.status-label.is-open{color:var(--deep);background:#e0eddc}
.content-card h3 a:hover{text-decoration:underline;text-decoration-thickness:1px}
@media(max-width:1180px){.header-inner{gap:14px}nav#primary-navigation{gap:14px}.filters{grid-template-columns:repeat(4,minmax(0,1fr))}.filters label:first-child{grid-column:span 2}.filters button{justify-self:start}}
@media(max-width:960px){.header-inner{min-height:88px}.menu-toggle{margin-left:auto;gap:8px}.menu-toggle svg{width:18px;height:18px}nav#primary-navigation{gap:0;margin-left:0}.header-search form{width:min(540px,100%)}.filters{grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}.filters button{justify-self:stretch}.hero h1{font-size:clamp(38px,5.2vw,45px)}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:640px){
    .header-inner{min-height:80px;gap:10px}.brand strong{font-size:17px}.brand>span>span{font-size:10px}.brand-symbol{width:34px;height:43px}.brand{gap:8px}.brand-logo{max-width:40px;max-height:46px}.menu-toggle{padding:8px 10px}.menu-toggle svg{display:none}.header-search>summary{width:42px;height:42px}.header-search form{padding:20px}.header-search label{font-size:17px}.header-search .search-row{flex-wrap:wrap}.header-search input{flex-basis:100%}.header-search button{width:100%}
    .hero h1{font-size:clamp(35px,10.6vw,44px);line-height:1.12}.hero-copy{padding-block:22px 16px}.hero-copy>p{line-height:1.6}.hero-image{min-height:290px}.hero-image figcaption{font-size:11px;line-height:1.3}.actions{gap:16px}.actions .text-link{font-size:14px}.quick-links>a{padding:20px 10px!important;align-items:flex-start}.quick-links strong{font-size:14px;line-height:1.35}.quick-links span span{display:block;font-size:12px;line-height:1.4;margin-top:5px}.quick-icon{padding-top:2px}.quick-icon svg{width:22px;height:22px}
    .program-visual{padding:24px 28px}.program-visual>span{font-size:28px}.program-visual>svg{width:48px;height:48px}.carousel-controls{justify-content:space-between}.filters label{font-size:13px}.filters{gap:16px}.results-summary{margin-bottom:24px;gap:8px}.listing-status{font-size:13px}.government-bar a{font-size:11px}.draft-bar{font-size:11px;line-height:1.4;padding-block:7px}
}
@media(max-width:360px){.brand-symbol{display:none}.actions{align-items:flex-start;flex-direction:column}.quick-links>a{gap:7px}.quick-icon{display:none}}
.discover>div,.footer-grid>div{min-width:0}
@media(max-width:640px){.discover{grid-template-columns:minmax(0,1fr)}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters button{white-space:normal}}

/* Supplied mark: visually trim transparent margins without altering the asset. */
.brand-icon{width:56px;height:60px;object-fit:cover;flex-shrink:0}
@media(max-width:640px){.brand-icon{width:36px;height:40px}}
@media(max-width:360px){.brand-icon{width:28px;height:32px}}

/* Keep select chevrons inset and reserve room for the selected text. */
.filters select{
    -webkit-appearance:none;
    appearance:none;
    min-height:48px;
    padding-inline:14px 42px;
    background-image:url('assets/chevron-down.svg');
    background-repeat:no-repeat;
    background-position:right 14px center;
    background-size:16px 16px;
    cursor:pointer;
    text-overflow:ellipsis;
}
.filters select:hover{border-color:var(--green)}
@media(forced-colors:active){
    .filters select{appearance:auto;background-image:none;padding-inline:14px}
}
