/*
Theme Name: ECTAD Caribbean
Description: Accessible, responsive ECTAD design with native full-article templates and a community gallery.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ectad-caribbean
License: GPL v2 or later
*/
:root{--green:#234b35;--dark:#183b29;--cream:#f7f6ee;--yellow:#e9e994;--muted:#626b61}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--cream);color:var(--dark);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus,textarea:focus,select:focus{outline:3px solid #a88b25;outline-offset:4px}.skip{position:absolute;left:10px;top:-100px;z-index:10;background:white;padding:10px}.skip:focus{top:10px}.topline{background:var(--green);color:#edf2e5;padding:9px 5%;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.4px}header{height:96px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:var(--cream)}header img{object-fit:contain}nav{display:flex;align-items:center;gap:32px;font-size:14px}nav a:hover,.underlink:hover{text-decoration:underline}.button{border:0;background:var(--green);color:white;display:inline-flex;align-items:center;justify-content:space-between;gap:35px;padding:17px 25px;font-weight:bold;font-size:14px;cursor:pointer}.button:hover{filter:brightness(1.13)}.button.small{padding:13px 20px}.yellow{background:var(--yellow);color:var(--dark)}#menu{display:none}.hero{position:relative;min-height:620px;color:white;display:flex;align-items:center}.hero-image,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{background:linear-gradient(90deg,rgba(9,37,21,.86),rgba(9,37,21,.3)),linear-gradient(0deg,rgba(9,37,21,.5),transparent 40%)}.hero-content{position:relative;padding:60px 7% 100px;width:100%}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:2px;margin:0 0 22px}.light{color:var(--yellow)}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(48px,5.5vw,82px);font-weight:normal;line-height:1.05;letter-spacing:-2px;max-width:960px;margin-bottom:28px}em{font-weight:normal;color:#81976b}h1 em,.statement em{color:var(--yellow)}.hero-content>p:not(.eyebrow){font-size:18px;color:#e2e8de}.actions{display:flex;align-items:center;gap:35px;margin-top:32px}.text-link{font-size:14px;border-bottom:1px solid #fff8;padding:8px 0}.hero-bottom{position:absolute;bottom:25px;left:7%;right:7%;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.7px}.hero-bottom a{letter-spacing:0;font-size:12px}.intro-band{display:grid;grid-template-columns:repeat(3,1fr);padding:30px 7%;border-bottom:1px solid #d7ddce;gap:40px}.intro-band div{border-right:1px solid #d7ddce}.intro-band div:last-child{border:0}.intro-band strong{display:block;font-family:Georgia,serif;font-size:24px;font-weight:normal}.intro-band span{font-size:12px;color:var(--muted)}.section{padding:90px 7%;scroll-margin-top:20px}h2{font-family:Georgia,serif;font-size:clamp(36px,3.7vw,54px);font-weight:normal;line-height:1.13;letter-spacing:-1.3px}h3{font-family:Georgia,serif;font-weight:normal;font-size:28px;line-height:1.2}.story{display:grid;grid-template-columns:1fr 1fr;gap:9%}.story p:not(.eyebrow){color:var(--muted);font-size:15px}.story .lead{font-size:21px!important;color:var(--dark)!important}.underlink{display:inline-block;font-size:13px;font-weight:bold;border-bottom:1px solid;padding-bottom:5px}.work{background:#e9eddf}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:40px}.section-heading h2{margin:0}.section-heading>p{max-width:370px;font-size:14px;color:var(--muted);margin:0}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.work-grid article{border-top:1px solid #9ba98c;padding-top:24px}.number{font-size:12px;color:#667659}.work-grid h3{margin-top:32px}.work-grid p{font-size:14px;color:var(--muted)}.work-grid a{display:block;margin-top:25px;font-size:13px;font-weight:bold}.produce-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.produce-grid article{background:#fff}.produce-grid img{width:100%;height:265px;object-fit:cover}.produce-grid article>div{padding:25px}.produce-grid span{font-size:9px;letter-spacing:1.4px}.produce-grid h3{margin:13px 0}.produce-grid h3 i{font-size:21px;color:#6f7b68}.produce-grid p{font-size:14px;color:var(--muted)}.produce-grid a{font-size:12px;font-weight:bold}.statement{text-align:center;padding:80px 20px;background:var(--green);color:white}.statement h2{font-size:58px}.statement>p:not(.eyebrow){color:#d9e2d3}.news-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:55px}.feature-news{background:#e8ecde;padding:40px;display:block}.tag{font-size:10px;letter-spacing:1px;border:1px solid #859778;padding:7px 10px}.date{font-size:10px;letter-spacing:1px;color:var(--muted);margin-top:28px}.feature-news h3{font-size:35px}.feature-news>p:not(.date),.news-list p{font-size:14px;color:var(--muted)}.news-list article{border-top:1px solid #c9d0c1;padding:0 0 25px}.news-list h3{font-size:26px}.contact{background:#e9eddf;display:grid;grid-template-columns:1fr 1fr;gap:8%}.contact p{font-size:14px;color:var(--muted)}.contact-link{display:block;font-size:18px;margin:10px 0}.address{margin-top:28px}form{background:var(--cream);padding:32px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{display:block;font-size:12px;font-weight:bold;margin-bottom:18px}input,select,textarea{width:100%;display:block;border:1px solid #c9d0c1;background:transparent;padding:11px;margin-top:6px;font-size:14px;color:var(--dark);border-radius:0}textarea{resize:vertical}.form-note{font-size:11px!important;margin:12px 0 0}footer{padding:45px 7%;display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}footer a,footer small{display:block;font-size:12px;margin:8px 0}footer p{font-size:12px;color:var(--muted)}@media(min-width:1600px){.section{padding-left:max(7%,calc((100vw - 1350px)/2));padding-right:max(7%,calc((100vw - 1350px)/2))}}@media(max-width:800px){.topline{font-size:9px}.topline a{display:none}header{height:85px}#menu{display:block;border:1px solid #ccd3c3;background:transparent;padding:8px 14px;color:var(--dark)}nav{display:none;position:absolute;top:118px;left:0;right:0;background:var(--cream);padding:25px;z-index:5;flex-direction:column;gap:20px}nav.open{display:flex}.hero{min-height:620px}.hero-content{padding:60px 6% 100px}h1{font-size:55px}.hero-content>p:not(.eyebrow){font-size:16px}.hero-bottom{font-size:8px;left:6%;right:6%}.hero-bottom a{display:none}.intro-band{padding:25px 6%;gap:15px}.intro-band strong{font-size:19px}.intro-band span{font-size:10px;display:block;line-height:1.5}.section{padding:60px 6%}.story,.contact{grid-template-columns:1fr;gap:30px}.section-heading{display:block}.section-heading>p,.section-heading>.underlink{margin-top:20px}.work-grid{gap:20px}.work-grid h3{font-size:22px}.produce-grid{gap:15px}.produce-grid img{height:180px}.produce-grid article>div{padding:16px}.produce-grid h3{font-size:25px}.news-grid{gap:25px}.feature-news{padding:25px}.feature-news h3{font-size:30px}}@media(max-width:540px){h1{font-size:47px;letter-spacing:-1.5px}.actions{gap:20px;align-items:flex-start;flex-direction:column}.hero{min-height:630px}.intro-band{grid-template-columns:1fr;gap:13px}.intro-band div{border:0;display:flex;align-items:center;justify-content:space-between;gap:15px}.intro-band strong{font-size:18px}.work-grid,.produce-grid,.news-grid{grid-template-columns:1fr}.work-grid article{padding-bottom:20px}.produce-grid img{height:280px}.produce-grid article>div{padding:25px}.statement h2{font-size:43px}.fields{grid-template-columns:1fr;gap:0}form{padding:24px}.contact-link{font-size:16px}footer{grid-template-columns:1fr 1fr}footer>div:first-child{grid-column:1/-1}}
nav [aria-current=page]{border-bottom:2px solid var(--green)}.story-hero{padding-top:55px;padding-bottom:0}.story-title{display:flex;align-items:center;justify-content:space-between;gap:40px}.story-title h1{font-size:clamp(44px,5.5vw,78px);margin-bottom:40px}.story-title>div{font-size:18px;min-width:240px}.community-photo{margin:0}.community-photo img{display:block;width:100%;height:490px;object-fit:cover;object-position:center}.community-photo figcaption{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #d7ddce;font-size:11px;color:var(--muted)}.purpose-grid{display:grid;grid-template-columns:1fr 1fr}.purpose-grid article{padding:70px 14%;background:var(--green);color:white}.purpose-grid article:nth-child(2){background:var(--yellow);color:var(--dark)}.purpose-grid h2{font-size:42px}.purpose-grid p:not(.eyebrow){font-size:16px;max-width:470px}.strategy{display:grid;grid-template-columns:1fr 1.1fr;gap:10%;background:#e9eddf}.strategy>div>p:last-child{font-size:15px;color:var(--muted)}.strategy ol{list-style:none;padding:0;margin:0}.strategy li{display:flex;gap:24px;border-top:1px solid #b6c1ab;padding:22px 0}.strategy li>span{font-size:12px;color:#65795b}.strategy h3{font-size:24px;margin-bottom:10px}.strategy li p{font-size:14px;color:var(--muted);margin-bottom:0}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);column-gap:35px;row-gap:40px}.person{border-top:1px solid #cdd4c4;padding:25px 0 0;display:grid;grid-template-columns:88px 1fr;gap:0 20px;align-content:start}.person img,.initials{grid-row:1/3;width:88px;height:88px;object-fit:cover;border-radius:50%}.initials{display:grid;place-items:center;background:#e5e9dc;color:#65795b;font-family:Georgia,serif;font-size:28px}.person h3{font-size:23px;margin:9px 0}.person p{font-size:12px;line-height:1.5;color:var(--muted);margin:0}.team-note{font-size:11px;color:var(--muted);margin-top:35px}.centered{justify-content:center}@media(max-width:850px){.story-title{display:block}.story-title>div{margin-bottom:35px}.community-photo img{height:350px}.purpose-grid article{padding:45px 12%}.purpose-grid h2{font-size:34px}.strategy{gap:6%}.team-grid{grid-template-columns:1fr 1fr}.person{grid-template-columns:70px 1fr;gap:0 15px}.person img,.initials{width:70px;height:70px}.person h3{font-size:21px}}@media(max-width:540px){.story-hero{padding-top:40px}.story-title h1{font-size:45px}.community-photo img{height:260px}.community-photo figcaption span{display:none}.purpose-grid,.strategy,.team-grid{grid-template-columns:1fr}.purpose-grid article{padding:45px 6%}.strategy ol{margin-top:20px}.person{grid-template-columns:88px 1fr}.person img,.initials{width:88px;height:88px}.person h3{font-size:25px}.centered{align-items:center}}
.story-title h1 em{color:#607849}
.photo-stories{background:#eef0e5}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.photo-grid figure{margin:0}.gallery-photo{display:block;position:relative;background:#dce2d2;overflow:hidden}.gallery-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .25s}.gallery-photo:hover img{transform:scale(1.025)}.photo-grid figure:nth-child(5) img{object-position:center 55%}.expand-photo{position:absolute;bottom:14px;right:14px;background:var(--cream);width:36px;height:36px;display:grid;place-items:center}.photo-grid figcaption{font-family:Georgia,serif;font-size:22px;margin-top:12px}#photo-viewer{padding:55px 20px 15px;border:0;background:#142b20;color:white;max-width:96vw;width:1200px;max-height:94vh}#photo-viewer::backdrop{background:#06140de8}#viewer-image{display:block;width:100%;height:72vh;object-fit:contain}#viewer-caption{margin:12px 0 0;text-align:center;font-size:15px}.photo-close{position:absolute;right:20px;top:12px;background:transparent;border:1px solid #b3bfb4;color:white;padding:5px 14px;cursor:pointer}@media(max-width:600px){.photo-grid{grid-template-columns:1fr;gap:25px}.photo-grid figcaption{font-size:21px}#viewer-image{height:65vh}}@media(prefers-reduced-motion:reduce){.gallery-photo img{transition:none}}
.news-intro{background:#e9eddf;padding-bottom:60px}.news-intro h1{color:var(--dark)}.news-intro h1 em{color:#607849}.news-intro .lead{font-size:23px}.news-intro>p:last-child{color:var(--muted);max-width:650px}.news-archive{padding-top:45px}.news-tools{display:grid;grid-template-columns:3fr 1fr;gap:25px}.news-tools input,.news-tools select{background:#fff}#news-count{font-size:13px;color:var(--muted);margin:12px 0 30px}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.archive-card{background:white;display:flex;flex-direction:column}.archive-card[hidden]{display:none}.archive-card img,.news-placeholder{width:100%;height:230px;object-fit:cover}.archive-copy{padding:25px}.archive-copy time{font-size:11px;letter-spacing:1px;color:var(--muted)}.archive-copy h2{font-size:25px;letter-spacing:-.3px;line-height:1.2;margin:16px 0}.archive-copy p{font-size:14px;color:var(--muted)}.archive-copy h2 a:hover{text-decoration:underline}.news-placeholder{display:flex;flex-direction:column;justify-content:center;padding:30px;background:#244b36;color:#e9e994}.news-placeholder span{font:30px Georgia,serif;line-height:1.2}.news-placeholder small{font-size:9px;letter-spacing:2px;margin-top:20px}.archive-note{margin-top:45px;font-size:12px;color:var(--muted)}#news-empty{padding:30px;background:#e9eddf}@media(max-width:900px){.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.archive-grid,.news-tools{grid-template-columns:1fr}.news-tools{gap:0}.news-intro h1{font-size:50px}}
/* Readability and keyboard accessibility refinement */
:root{--muted:#505c50}body{font-size:17px;line-height:1.7}em{color:#546d40}.eyebrow{font-size:12px;line-height:1.6}.topline{font-size:12px}.story p:not(.eyebrow),.work-grid p,.produce-grid p,.section-heading>p,.contact p,.news-list p,.feature-news>p:not(.date),.strategy li p,.archive-copy p{font-size:16px;line-height:1.75}.underlink,.work-grid a,.produce-grid a,.text-link{font-size:15px}.date,.archive-copy time,.produce-grid span,.person p,.team-note,.form-note{font-size:13px!important}.intro-band span{font-size:14px}.contact label{font-size:14px}input,select,textarea{font-size:16px;min-height:46px}button,a.button{min-height:44px}.person h3{line-height:1.3}.archive-copy h2{overflow-wrap:anywhere;font-size:25px}.story-title h1 em,.news-intro h1 em{color:#546d40}footer a,footer small,footer p{font-size:14px}a:focus-visible,button:focus-visible{outline:3px solid #9b6a10;outline-offset:4px}.hero-bottom{font-size:11px}.number{color:#4c6142}.archive-copy p,.article-content{overflow-wrap:anywhere}.photo-grid figcaption{line-height:1.5}.gallery-photo:focus-visible{outline-offset:5px}@media(max-width:800px){.intro-band span{font-size:12px}.section-heading>p{max-width:none}.work-grid{grid-template-columns:1fr}.topline{font-size:12px}.hero-bottom{letter-spacing:.5px}}@media(max-width:540px){h1{font-size:clamp(36px,9vw,47px)}.story-title h1{font-size:clamp(36px,9vw,45px)}.intro-band div{align-items:flex-start}.intro-band strong{flex-shrink:0}.hero-content>p:not(.eyebrow){font-size:17px}.section-heading h2{overflow-wrap:anywhere}.news-intro h1{font-size:44px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.article-shell{max-width:1100px;margin:auto;padding:65px 6%}.article-heading{max-width:900px}.article-heading h1{font-size:clamp(34px,4vw,58px);line-height:1.18;letter-spacing:-1px;overflow-wrap:anywhere}.article-content{max-width:760px;margin:35px auto;font-size:18px;line-height:1.85}.article-content p{margin-bottom:1.4em}.article-content h2{font-size:34px;margin-top:1.5em}.article-content h3{font-size:27px;margin-top:1.5em}.article-content a{color:#234b35;text-decoration:underline;text-underline-offset:3px}.article-content img,.article-cover{max-width:100%;height:auto}.article-cover{display:block;max-height:600px;object-fit:contain;margin:30px auto}.article-content iframe,.article-content video{max-width:100%}.article-content table{display:block;max-width:100%;overflow:auto}.article-content blockquote{border-left:4px solid #607849;padding:10px 24px;margin-left:0;background:#e9eddf}.article-content li{margin-bottom:.6em}.post-navigation{border-top:1px solid #cdd4c4;padding-top:25px}.nav-links{display:flex;gap:30px;justify-content:space-between}.nav-links>div{max-width:48%}.pagination{display:flex;gap:10px;flex-wrap:wrap;margin-top:35px}.page-numbers{padding:10px 16px;border:1px solid #607849}.page-numbers.current{background:#234b35;color:white}.wp-caption{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.article-content .alignwide{max-width:100%}.article-content figure{margin:24px 0}.article-content figcaption{font-size:14px;color:#505c50}.news-placeholder{height:160px}.archive-copy h2{text-transform:none}body.admin-bar header{position:relative}@media(max-width:540px){.article-shell{padding-top:40px}.article-content{font-size:17px}.nav-links{display:block}.nav-links>div{max-width:100%;margin-bottom:20px}}
