/* ============================================================
   SDC theme — base + header/footer. Mobile-first, no framework.
   ============================================================ */

/* The site's heading font: BPG Extra Square (Elementor kit calls it "extra"). */
@font-face{
  font-family:'extra';
  src:url('../fonts/bpg_extrasquare_2009.ttf') format('truetype');
  font-weight:400;font-style:normal;font-display:swap;
}
/* Body font: Poppins — SELF-HOSTED (latin, all weights) so it loads reliably offline/behind
   blocked Google Fonts and renders the real Poppins (the live design's intended body font). */
@font-face{font-family:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/poppins/poppins-300.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/poppins/poppins-400.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/poppins/poppins-500.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/poppins/poppins-600.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/poppins/poppins-700.woff2') format('woff2');}

:root{
  --green-dark:#003815;   /* primary */
  --green:#118B44;        /* brand green */
  --green-light:#44B749;
  --accent:#136835;
  --blue:#2E689D;
  --blue-light:#249CD7;
  --blue-lighter:#38C6F3;
  --gray:#54595F;
  --text:#4a4f54;
  --muted:#7A7A7A;
  --line:#e6e9ec;
  --bg:#ffffff;
  --bg-soft:#f5f7f8;
  --white:#ffffff;
  --container:1200px;
  --radius:10px;
  --shadow:0 10px 30px rgba(0,50,25,.08);
  --header-h:84px;
  --font:'Source Sans 3','Source Sans Pro',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --font-heading:'extra','Montserrat',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;font-family:var(--font);color:var(--text);
  font-size:16px;line-height:1.7;background:var(--bg);
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--blue);text-decoration:none;}
a:hover{color:var(--green);}
h1,h2,h3,h4,h5{font-family:var(--font-heading);color:var(--green-dark);line-height:1.2;font-weight:600;margin:0 0 .5em;}
h1{font-size:clamp(30px,5vw,48px);}
h2{font-size:clamp(24px,3.4vw,36px);}
h3{font-size:clamp(20px,2.4vw,26px);}
p{margin:0 0 1.1em;}
.sdc-container{max-width:var(--container);margin:0 auto;padding:0 20px;}
.sdc-btn{
  display:inline-flex;align-items:center;gap:.5em;justify-content:center;
  background:var(--green);color:#fff;font-weight:600;font-size:15px;
  padding:13px 26px;border-radius:6px;border:0;cursor:pointer;transition:background .2s,transform .2s;
}
.sdc-btn:hover{background:var(--green-dark);color:#fff;transform:translateY(-2px);}
.sdc-skip-link{position:absolute;left:-9999px;}
.sdc-skip-link:focus{left:8px;top:8px;background:#fff;padding:8px 14px;z-index:100000;border-radius:6px;}

/* ---------- Header ---------- */
.sdc-header{
  position:sticky;top:0;z-index:1000;background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 14px rgba(0,50,25,.05);
}
/* transparent header overlaid on the hero (front page) — matches the live site */
.sdc-header--overlay{
  position:absolute;top:0;left:0;right:0;z-index:1000;
  background:transparent;border-bottom:0;box-shadow:none;
}
.sdc-header__inner{
  max-width:1340px;margin:0 auto;padding:8px 30px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  min-height:0;
}
.sdc-logo{display:flex;flex-direction:column;justify-content:center;flex:0 0 auto;text-decoration:none;}
.sdc-logo img{height:56px;width:auto;}
.sdc-logo--left img{height:130px;}   /* exact live size */
.sdc-logo--right{align-items:flex-end;text-align:right;}
.sdc-logo__link{display:block;line-height:0;}
.sdc-logo--right img{height:130px;}   /* exact live size: container ~217px wide → img 2251×1343 renders ~129px tall */
.sdc-logo__cap{font-size:12px;margin-top:5px;color:#1583B6;white-space:nowrap;}  /* exact caption colour from live */
/* overlay variant: white TOP-LEVEL nav (submenu items stay dark on their white panel) */
.sdc-header--overlay .sdc-nav__list > li > a{color:#fff;}
.sdc-header--overlay .sdc-nav__list > li > a:hover,
.sdc-header--overlay .sdc-nav__list > li:hover > a,
.sdc-header--overlay .sdc-nav__list > li.current-menu-item > a{color:#fff;background:#003815;}
/* caption: blue (#1583B6) ONLY on the homepage; white on inner pages (over the mountains) — exact from live */
.sdc-header--overlay .sdc-logo__cap{color:#1583B6;}
body:not(.home) .sdc-header--overlay .sdc-logo__cap{color:#fff;font-size:11px;}
.sdc-header--overlay .sdc-burger span{background:#fff;}
.sdc-main--overlay{margin-top:0;}
/* inner-page title area — the mountain hero the live site shows on every non-home page */
.sdc-titlearea{position:relative;width:100%;height:460px;background-size:cover;background-position:center;}
.sdc-titlearea::before{content:"";position:absolute;inset:0 0 auto 0;height:170px;background:linear-gradient(rgba(0,0,0,.30),rgba(0,0,0,0));pointer-events:none;}
@media (max-width:900px){ .sdc-titlearea{height:300px;} }

/* nav */
.sdc-nav__list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px;}
.sdc-nav__list li{position:relative;}
/* Top-level items — exact from the live Elementor nav-menu widget:
   font "extra" weight 800, 15px h-padding, hover = solid dark-green (#003815) background ("grow" pointer) */
.sdc-nav__list > li > a{
  display:block;padding:13px 15px;color:var(--green-dark);font-weight:800;font-size:16px;
  font-family:var(--font-heading);letter-spacing:0;
  transition:background .25s ease,color .2s ease;white-space:nowrap;
}
.sdc-nav__list > li > a:hover,
.sdc-nav__list > li.current-menu-item > a{background:#003815;color:#fff;}
/* angle indicator (caret) */
.sdc-nav__list .menu-item-has-children > a::after{content:"";display:inline-block;width:.42em;height:.42em;margin-left:.5em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);}
/* Dropdown — dark-green (#003815 primary), white 14px text, 2px light-green (#B3FF57) dividers, hover green (#136835) */
.sdc-nav__list .sub-menu{
  list-style:none;margin:0;padding:0;position:absolute;top:100%;left:0;min-width:238px;
  background:#003815;box-shadow:0 16px 34px rgba(0,40,20,.28);
  opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .28s ease, transform .28s ease, visibility .28s;z-index:10;
}
.sdc-nav__list li:hover > .sub-menu,
.sdc-nav__list li:focus-within > .sub-menu{opacity:1;visibility:visible;transform:translateY(0);}
.sdc-nav__list .sub-menu li + li > a{border-top:2px solid #B3FF57;}
.sdc-nav__list .sub-menu a{
  display:block;padding:14px 20px;font-size:14px;color:#fff;font-weight:400;
  font-family:var(--font);letter-spacing:0;transition:background .15s ease;
}
.sdc-nav__list .sub-menu a:hover{background:#136835;color:#fff;}

/* burger */
.sdc-burger{display:none;background:none;border:0;cursor:pointer;padding:10px;}
.sdc-burger span{display:block;width:26px;height:2px;background:var(--green-dark);margin:5px 0;transition:.25s;}
.sdc-nav{display:flex;align-items:center;gap:18px;}

/* ---------- Footer — 1:1 with the live Elementor footer (#003815, 3 columns) ---------- */
.sdc-footer{background:linear-gradient(130deg,#003815 30%,#fff 54%);color:#fff;}  /* exact live gradient: half green, half white */
.sdc-footer a{color:#fff;}
.sdc-footer__inner{
  max-width:var(--container);margin:0 auto;padding:34px 24px;
  display:flex;align-items:stretch;gap:20px;
}
.sdc-footer__col{display:flex;flex-direction:column;justify-content:center;}
.sdc-footer__social-col{width:30%;gap:14px;}
.sdc-footer__search-col{width:30%;align-items:center;justify-content:center;}
.sdc-footer__logos-col{width:40%;flex-direction:row;align-items:center;justify-content:center;gap:22px;}
/* social icons (fb / x / linkedin, 30px, white) */
.sdc-social{display:flex;gap:16px;align-items:center;}
.sdc-social a{color:#fff;line-height:0;transition:opacity .2s;}
.sdc-social a:hover{opacity:.7;}
.sdc-social svg{width:30px;height:30px;display:block;}
.sdc-copyright{margin:0;font-family:var(--font-heading);font-size:14px;color:#fff;line-height:1.5;}
/* search */
.sdc-search{display:flex;width:100%;max-width:340px;background:#fff;border-radius:26px;overflow:hidden;padding:3px 3px 3px 6px;}
.sdc-search input{flex:1;border:0;padding:10px 14px;font-family:var(--font);font-size:14px;color:#333;background:transparent;outline:none;}
.sdc-search button{border:0;background:#b0b0b0;color:#fff;width:46px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:0 0 46px;}
.sdc-search button:hover{background:#8f8f8f;}
/* member/supporter logos + captions */
.sdc-flogo{margin:0;text-align:center;}
.sdc-flogo img{width:auto;height:33px;margin:0 auto 8px;display:block;}          /* exact live sizes per logo below */
.sdc-flogo:nth-child(1) img{height:33px;}   /* NEMOR 105×33 */
.sdc-flogo:nth-child(2) img{height:45px;}   /* Mountain Partnership 118×45 */
.sdc-flogo:nth-child(3) img{height:59px;}   /* Covenant of Mayors 148×59 */
.sdc-flogo figcaption{font-size:10px;color:#5F727F;line-height:1.3;}             /* on the white half → grey-blue, from live */

/* ---------- Content wrapper ---------- */
.sdc-main{min-height:50vh;}
.sdc-page-head{background:var(--bg-soft);padding:48px 0;border-bottom:1px solid var(--line);}
.sdc-page-head h1{margin:0;}
.sdc-entry{max-width:var(--container);margin:0 auto;padding:48px 20px;}
.sdc-entry img{border-radius:8px;}

/* ---------- Single post — 1:1 with the live Elementor single-post template ---------- */
.sdc-single{padding:44px 0 72px;}
.sdc-single > .sdc-container{max-width:1140px;}
.sdc-single__title{font-family:var(--font-heading);font-size:24px;font-weight:700;color:#818A91;text-transform:uppercase;letter-spacing:1.2px;line-height:1.3;margin:0 0 12px;}
.sdc-single__date{display:flex;align-items:center;gap:8px;color:#2E689D;font-family:'Poppins',sans-serif;font-size:16px;margin:0 0 26px;}
.sdc-single__date i{color:#5F727F;font-size:15px;}
.sdc-single__content{font-family:'Poppins',sans-serif;font-size:16px;line-height:1.5625;color:#5F727F;}
.sdc-single__content::after{content:"";display:table;clear:both;}   /* contain the alignleft float */
.sdc-single__content p{margin:0 0 1.1em;}
.sdc-single__content strong{color:#54595F;}
.sdc-single__content a{color:#2E689D;}
.sdc-single__content h2,.sdc-single__content h3,.sdc-single__content h4{font-family:var(--font-heading);color:var(--green-dark);margin:1.5em 0 .6em;font-size:18px;}
.sdc-single__content ul,.sdc-single__content ol{margin:0 0 1.2em;padding-left:22px;}
.sdc-single__content li{margin:0 0 .5em;}
.sdc-single__content img{height:auto;}
/* WordPress media alignment — matches live (the intro image floats left, text wraps) */
.sdc-single__content .alignleft{float:left;margin:7px 26px 26px 0;}
.sdc-single__content .alignright{float:right;margin:7px 0 26px 26px;}
.sdc-single__content .aligncenter{display:block;margin:22px auto;}
.sdc-single__content figure.aligncenter,.sdc-single__content figure{margin:0 auto 22px;}
@media(max-width:600px){
  .sdc-single__content .alignleft,.sdc-single__content .alignright{float:none;margin:0 0 20px;max-width:100%;}
}

/* keep existing (Elementor) page bodies readable while pages are migrated */
.sdc-legacy .elementor{max-width:100%;}

/* ---------- ACF Page Sections (native, edited from wp-admin) — matches the live Elementor look ---------- */
.sdc-sections{padding:48px 20px;font-family:var(--font-body,'Poppins',sans-serif);color:#5F727F;}
.sdc-sections>*+*{margin-top:22px;}
.sdc-rt{font-size:16px;line-height:1.5625;color:#5F727F;}
.sdc-rt p{margin:0 0 1.1em;}
.sdc-rt a{color:#2E689D;text-decoration:none;}
.sdc-rt a:hover{text-decoration:underline;}
.sdc-rt--2col{column-count:2;column-gap:40px;}
@media(max-width:767px){.sdc-rt--2col{column-count:1;}}
/* drop cap — real inline box, matches Elementor ".elementor-drop-cap" 1:1
   (green stacked square 34x34; the letter sits inside a fixed box, not a ::first-letter) */
.sdc-dropcap{
	float:left;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
	min-width:34px;height:34px;padding:5px;margin:0 12px 0 0;
	font-family:var(--font-body,'Poppins',sans-serif);font-size:24px;line-height:1;font-weight:600;
	background:#136835;color:#fff;
}
/* blue framed circle variant (Elementor "view-framed", radius 50%) — 40x40, 3px border */
.sdc-dropcap--blue{
	min-width:40px;height:40px;padding:5px;background:#fff;color:#2E689D;
	border:3px solid #2E689D;border-radius:50%;
}

/* pill headings — Elementor styled heading bar: white text on a left-to-right
   colour→white gradient (85deg), 30px left pad, 45px tall (matches live 1:1) */
.sdc-pill{display:block;font-family:var(--font-heading);font-size:18px;font-weight:600;letter-spacing:.9px;
	color:#fff;background:linear-gradient(85deg,rgba(46,104,157,.7) 0%,#fff 39%);padding:10px 20px 10px 30px;margin:0 0 18px;line-height:1.4;}
.sdc-pill--blue{background:linear-gradient(85deg,rgba(46,104,157,.7) 0%,#fff 39%);}
.sdc-pill--green{background:linear-gradient(85deg,rgba(19,104,53,.85) 0%,#fff 39%);}
.sdc-pill--grey{background:linear-gradient(85deg,rgba(129,138,145,.85) 0%,#fff 39%);}

/* two columns */
.sdc-2col{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
.sdc-2col__col{min-width:0;}
@media(max-width:767px){.sdc-2col{grid-template-columns:1fr;gap:24px;}}

/* team grid (Board / Staff) */
.sdc-team{display:grid;grid-template-columns:1fr 1fr;gap:34px 40px;}
.sdc-team__item{font-size:15px;line-height:1.75;color:#7A7A7A;}
.sdc-team__item p{margin:0;}
.sdc-team__item strong{color:#54595F;}
@media(max-width:767px){.sdc-team{grid-template-columns:1fr;}}

/* resources link lists — square bullets, 40px indent (matches live) */
.sdc-linklist{list-style:square;margin:0 0 30px;padding-left:40px;color:#2E689D;}
.sdc-linklist li{padding:3px 0;}
.sdc-linklist a{color:#2E689D;text-decoration:none;}
.sdc-linklist a:hover{text-decoration:underline;}

/* button (e.g. Online Application) — green flat, white uppercase, external-link icon */
.sdc-btn-wrap{margin:14px 0;}
.sdc-btn-wrap--right{text-align:right;}
.sdc-btn-wrap--center{text-align:center;}
.sdc-btn{display:inline-flex;align-items:center;gap:10px;background:#136835;color:#fff;
	font-family:var(--font-heading);font-size:18px;font-weight:700;text-transform:uppercase;line-height:1;
	border-radius:3px;padding:15px 26px;text-decoration:none;transition:background .2s;}
.sdc-btn:hover{background:#0f5429;color:#fff;}
.sdc-btn__ico{flex:0 0 auto;}

/* plain section heading (green/blue/grey bold text, no bar) — Elementor heading widget */
.sdc-heading{font-family:var(--font-heading);font-size:22px;font-weight:700;margin:0 0 8px;line-height:1.3;}
.sdc-heading--green{color:#136835;}
.sdc-heading--blue{color:#2E689D;}
.sdc-heading--grey{color:#818A91;}

/* icon list (partner members) — plain blue links, no bullets/borders (matches live) */
.sdc-iconlist{list-style:none;margin:0 0 20px;padding:0;}
.sdc-iconlist li{padding:0;margin:0;}
.sdc-iconlist a{color:#2E689D;text-decoration:none;font-size:20px;line-height:35px;display:inline-block;}
.sdc-iconlist a:hover{color:#136835;}

.sdc-figure{margin:6px 0 20px;}
.sdc-figure--center{text-align:center;}
.sdc-figure--right{text-align:right;}
.sdc-figure img{max-width:100%;height:auto;border-radius:5px;}

/* ---------- Events grid (CPT sdc_event) — 1:1 with live TheGem cards (measured values) ---------- */
.sdc-events{display:grid;grid-template-columns:repeat(2,1fr);gap:30px;padding:40px 0;}
.sdc-event{display:flex;flex-direction:row;background:#fff;box-shadow:0 10px 22px rgba(0,0,0,.5);min-height:270px;overflow:hidden;}
.sdc-event__img{flex:0 0 275px;background-size:cover;background-position:center;background-color:#eef1f2;}
.sdc-event__body{flex:1;display:flex;flex-direction:column;padding:22px 26px;min-width:0;}
.sdc-event__title{font-family:var(--font-heading);font-size:14px;font-weight:600;line-height:21px;color:#003815;margin:0 0 14px;}
.sdc-event__meta{list-style:none;margin:0;padding:0;flex:1;}
.sdc-event__meta li{display:flex;align-items:center;gap:10px;color:#4A4F54;font-family:'Poppins',sans-serif;font-size:16px;line-height:1.4;padding:8px 0;border-bottom:1px solid #ededed;}
.sdc-event__meta li:last-of-type{border-bottom:0;}
.sdc-event__meta li i{flex:none;width:18px;text-align:center;font-size:16px;color:#4A4F54;}
.sdc-event__meta span,.sdc-event__meta a{min-width:0;}
.sdc-event__visit a{color:#2E689D;text-decoration:none;}
.sdc-event__visit i{color:#2E689D;}
.sdc-event__visit a:hover{text-decoration:underline;}
.sdc-event__status{display:flex;align-items:center;gap:8px;margin-top:14px;font-family:'Poppins',sans-serif;font-size:16px;font-weight:400;}
.sdc-event__statusico{flex:none;}
.sdc-event__status--upcoming,.sdc-event__status--stay-tuned{color:#FFE344;}
.sdc-event__status--closed{color:#FF0505;}
.sdc-event__status--active-now{color:#136835;}
/* rows alternate the image side (row 1 left, row 2 right, …) — 2-col grid → cards 3,4 of every 4 reversed */
.sdc-event:nth-child(4n+3),.sdc-event:nth-child(4n+4){flex-direction:row-reverse;}
@media(max-width:1024px){.sdc-events{grid-template-columns:1fr;}
	.sdc-event,.sdc-event:nth-child(4n+3),.sdc-event:nth-child(4n+4){flex-direction:row;}}
@media(max-width:560px){.sdc-event,.sdc-event:nth-child(4n+3),.sdc-event:nth-child(4n+4){flex-direction:column;}
	.sdc-event__img{flex:0 0 190px;}}

/* ---------- Native gallery grid (replaces Elementor Pro Gallery widget) — 4 cols, 4:3, 20px gap, 5px radius, grow hover ---------- */
.sdc-gallery{display:grid;grid-template-columns:repeat(var(--sdc-gcols,4),1fr);gap:var(--sdc-ggap,20px);margin:24px 0;}
.sdc-gallery__item{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:5px;background:#eef1f2;}
.sdc-gallery__item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;display:block;}
.sdc-gallery__item:hover img{transform:scale(1.1);}
@media(max-width:1024px){.sdc-gallery{grid-template-columns:repeat(3,1fr);}}
@media(max-width:767px){.sdc-gallery{grid-template-columns:repeat(2,1fr);gap:12px;}}

/* minimal native lightbox */
.sdc-lb{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;z-index:99999;cursor:zoom-out;}
.sdc-lb.is-open{display:flex;}
.sdc-lb img{max-width:92vw;max-height:92vh;object-fit:contain;box-shadow:0 6px 40px rgba(0,0,0,.5);}
.sdc-lb__close{position:absolute;top:18px;right:26px;color:#fff;font-size:40px;line-height:1;cursor:pointer;font-family:sans-serif;}
.sdc-lb__nav{position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-size:52px;cursor:pointer;padding:0 22px;user-select:none;font-family:sans-serif;}
.sdc-lb__nav--prev{left:8px;}.sdc-lb__nav--next{right:8px;}

/* ---------- Native News grid — horizontal cards, matches live TheGem blog-grid 1:1 ----------
   image left (247x291 cover, grey placeholder), content right = date, title, Read More button */
.sdc-newsgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:42px;padding:40px 0;}
.sdc-news{display:flex;min-height:291px;background:#fff;}
.sdc-news__thumb{flex:0 0 247px;width:247px;align-self:stretch;overflow:hidden;background:#e9edef;}
.sdc-news__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.sdc-news__body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:0 26px;}
.sdc-news__date{color:#5F727F;font-size:16px;margin:0 0 12px;}
.sdc-news__title{font-family:'Poppins',sans-serif;font-size:16px;font-weight:400;line-height:1.5;margin:0 0 18px;}
.sdc-news__title a{color:#2E689D;text-decoration:none;}
.sdc-news__title a:hover{color:#136835;}
.sdc-news__more{align-self:flex-start;font-size:12px;color:#2E689D;border:2px solid #2E689D;border-radius:3px;padding:6px 16px;text-decoration:none;line-height:1;}
.sdc-news__more:hover{background:#2E689D;color:#fff;}
@media(max-width:767px){
  .sdc-newsgrid{grid-template-columns:1fr;gap:24px;}
  /* stack the card so the fixed 247px thumb can't overflow the narrow column (was forcing horizontal scroll) */
  .sdc-news{flex-direction:column;min-height:0;min-width:0;}
  .sdc-news__thumb{flex:0 0 auto;width:100%;height:200px;}
  .sdc-news__body{padding:20px 22px;}
}

/* ---------- Native Contact (info + form + map) ---------- */
.sdc-contact{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:50px 0;align-items:start;}
.sdc-contact__list{list-style:none;margin:0 0 26px;padding:0;}
.sdc-contact__list li{display:flex;align-items:center;gap:12px;color:#54595F;font-size:16px;padding:9px 0;}
.sdc-contact__ic{color:#136835;font-size:18px;}
.sdc-contact__list a{color:#2E689D;text-decoration:none;}
.sdc-contact__thanks{color:#136835;font-weight:600;background:#eaf7ee;padding:12px 16px;border-radius:5px;}
.sdc-form{display:flex;flex-direction:column;gap:14px;max-width:520px;}
.sdc-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#54595F;}
.sdc-form input,.sdc-form textarea{width:100%;box-sizing:border-box;border:1px solid #DFE5E8;background:#fff;padding:11px 14px;font-size:15px;font-family:inherit;border-radius:3px;}
.sdc-form input::placeholder,.sdc-form textarea::placeholder{color:#9aa7ae;}
.sdc-form input:focus,.sdc-form textarea:focus{outline:none;border-color:#2E689D;}
.sdc-form__submit{align-self:flex-start;background:#2E689D;color:#fff;border:0;padding:10px 40px;font-size:16px;font-weight:600;text-transform:uppercase;cursor:pointer;border-radius:0;}
.sdc-form__submit:hover{background:#24527d;}
.sdc-contact__map{min-height:520px;height:100%;}

/* membership application form (native reproduction of FluentForm #3) */
.sdc-appform{max-width:860px;}
.sdc-appform__sec{font-family:var(--font-heading);color:#2E689D;font-size:18px;font-weight:700;margin:22px 0 2px;}
.sdc-appform__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.sdc-appform__grid label,.sdc-appform__full{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#54595F;}
.sdc-appform__full{margin-top:0;}
.sdc-appform__check{display:flex;flex-direction:column;gap:8px;}
.sdc-appform__check label,.sdc-appform__radios label,.sdc-appform__agree{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:14px;color:#54595F;}
.sdc-appform__radios{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:6px 0;}
.sdc-appform input[type=checkbox],.sdc-appform input[type=radio]{width:auto;}
@media(max-width:700px){.sdc-appform__grid{grid-template-columns:1fr;}}
.sdc-contact__map iframe{min-height:520px;border-radius:5px;}
@media(max-width:767px){.sdc-contact{grid-template-columns:1fr;}.sdc-contact__map{min-height:340px;}}

/* inner-page title heading (grey "extra" uppercase, e.g. PROJECTS / MISSION AND VALUES) */
.sdc-pagetitle{padding:44px 0 0;}
.sdc-pagetitle h1{font-family:var(--font-heading);font-size:24px;font-weight:700;color:#818A91;text-transform:uppercase;letter-spacing:1.2px;margin:0;}

/* ---------- Native listing cards (Projects / Initiatives / Photo Gallery) — 1:1 with the live Elementor "Cards", no plugin ---------- */
.sdc-listing{padding:30px 0 72px;}
.sdc-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:35px 30px;align-items:stretch;}   /* live: row-gap 35, col-gap 30; stretch = equal-height cards */
.sdc-card{position:relative;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 10px rgba(0,0,0,.15);}   /* live .elementor-post__card: white + soft even shadow */
.sdc-card__thumb{display:block;position:relative;width:100%;height:0;padding-bottom:72%;overflow:hidden;background:#eef1f2;} /* item_ratio 0.72 */
.sdc-card__thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.sdc-card__body{position:relative;padding:25px 30px 0;flex:1;}                                    /* live: text inset 30px, img→title 25px */
.sdc-card__badge{position:absolute;top:0;right:0;margin:20px;background:#818A91;color:#fff;font-size:10px;font-weight:400;padding:6px 12px;border-radius:999px;text-transform:uppercase;line-height:1;}  /* live badge: top/right 0 + margin 20px = 20px inset */
.sdc-card__title{margin:0 0 8px;font-size:14px;line-height:1.4;font-weight:700;}   /* set on the h3 too, else it inherits global h3 clamp(20-26px)/1.2 → loose line spacing */
.sdc-card__title a{font-family:var(--font-heading);font-size:14px;line-height:1.4;font-weight:700;color:#2E689D;}   /* extra 14px 700 #2E689D */
.sdc-card__title a:hover{color:var(--green);}
.sdc-card__excerpt{margin:0 0 16px;font-family:'Poppins',sans-serif;font-size:16px;line-height:1.7;color:#5F727F;
	display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}  /* Poppins 16px #5F727F, 4-line block like live */
.sdc-card__more{display:inline-block;font-size:12px;font-weight:700;color:#2E689D;text-transform:uppercase;letter-spacing:.03em;}  /* 12px 700 uppercase */
.sdc-card__more:hover{color:var(--green);}
.sdc-card__date{margin:17px 0 0;padding:15px 30px;border-top:1px solid #EAEAEA;font-size:12px;color:#ADADAD;}   /* live: equal 15px padding top+bottom, 30px sides, 17px above the border */
/* ---------- Photo Gallery — curated portfolio grid (3 cols, centred uppercase title + date) ---------- */
.sdc-pgal{display:grid;grid-template-columns:repeat(3,1fr);gap:36px 30px;padding:40px 0;}
.sdc-pgal__card{display:flex;flex-direction:column;}
.sdc-pgal__thumb{display:block;aspect-ratio:1/1;overflow:hidden;background:#e9edef;}
.sdc-pgal__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.sdc-pgal__title{font-family:var(--font-heading);font-size:16px;font-weight:700;text-transform:uppercase;text-align:center;line-height:1.4;margin:20px 0 8px;}
.sdc-pgal__title a{color:#54595F;text-decoration:none;}
.sdc-pgal__title a:hover{color:#2E689D;}
.sdc-pgal__date{text-align:center;font-size:12px;color:#ADADAD;}
@media(max-width:900px){.sdc-pgal{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.sdc-pgal{grid-template-columns:1fr;}}

/* pagination — circular buttons: links blue #2E689D, current green #136835 (matches live TheGem) */
.sdc-pagination{margin-top:44px;text-align:center;}
.sdc-pagination ul{list-style:none;display:inline-flex;flex-wrap:wrap;gap:10px;padding:0;margin:0;align-items:center;justify-content:center;}
.sdc-pagination a,.sdc-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 9px;border-radius:20px;box-sizing:border-box;font-family:var(--font-heading);font-size:14px;line-height:1;text-decoration:none;}
.sdc-pagination a{background:#2E689D;color:#fff;}
.sdc-pagination a:hover{background:#24527d;}
.sdc-pagination .current{background:#136835;color:#fff;}
.sdc-pagination .dots{background:none;color:#818A91;min-width:auto;}
@media (max-width:1000px){ .sdc-cards{grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .sdc-cards{grid-template-columns:1fr;} }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  /* mobile header: BOTH logos (smaller) with the burger centred between them, like desktop */
  :root{--header-h:76px;}
  .sdc-header__inner{position:relative;padding:8px 14px;gap:8px;min-height:76px;justify-content:space-between;}
  .sdc-logo--left img{height:58px;}
  .sdc-logo--right{display:flex;}
  .sdc-logo--right img{height:46px;}
  .sdc-logo__cap{display:none;}                 /* drop the small caption on phones */
  /* burger dead-centre between the two logos → animates to an X */
  .sdc-burger{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1002;padding:8px;}
  body.sdc-nav-open .sdc-burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  body.sdc-nav-open .sdc-burger span:nth-child(2){opacity:0;}
  body.sdc-nav-open .sdc-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  /* FULL-SCREEN menu — slides down from under the header and fills the whole screen */
  .sdc-nav{
    position:fixed;top:var(--header-h);left:0;right:0;bottom:0;display:block;gap:0;padding:0;
    background:#fff;box-shadow:none;border-top:1px solid var(--line);
    transform:translateY(-110%);transition:transform .34s ease;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:999;
  }
  body.sdc-nav-open .sdc-nav{transform:translateY(0);}
  body.sdc-nav-open{overflow:hidden;}

  .sdc-nav__list{flex-direction:column;align-items:stretch;gap:0;width:100%;padding:0;}
  .sdc-nav__list > li{border-bottom:1px solid var(--line);}
  .sdc-nav__list > li:last-child{border-bottom:0;}
  /* top-level: generous padding, "extra" bold green — the open/active item goes solid dark-green like the desktop hover */
  .sdc-nav__list > li > a{display:block;padding:17px 26px;font-size:16px;font-weight:800;color:var(--green-dark);}
  .sdc-nav__list > li > a:hover,
  .sdc-nav__list > li.is-open > a,
  .sdc-nav__list > li.current-menu-item > a{background:#003815;color:#fff;}

  /* parent chevron: points down, rotates up when the submenu is open */
  .sdc-nav__list .menu-item-has-children > a::after{float:right;margin-top:.35em;transition:transform .2s ease;}
  .sdc-nav__list li.is-open > a::after{transform:rotate(-135deg);margin-top:.55em;}

  /* submenu = the SAME dark-green dropdown as desktop: #003815 bg, white text, lime (#B3FF57) dividers — as a smooth accordion */
  .sdc-nav__list .sub-menu{
    position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-radius:0;min-width:0;
    background:#003815;margin:0;padding:0;max-height:0;overflow:hidden;display:block;transition:max-height .32s ease;
  }
  .sdc-nav__list li.is-open > .sub-menu{max-height:760px;}
  .sdc-nav__list .sub-menu a{display:block;padding:15px 26px 15px 44px;font-size:15px;font-weight:400;color:#fff;}
  .sdc-nav__list .sub-menu li + li > a{border-top:2px solid #B3FF57;}
  .sdc-nav__list .sub-menu a:hover{background:#136835;color:#fff;}

  /* overlay-header pages: the panel is white, so top-level links stay green until active */
  .sdc-header--overlay .sdc-nav__list > li > a{color:var(--green-dark);}
  .sdc-header--overlay .sdc-nav__list > li > a:hover,
  .sdc-header--overlay .sdc-nav__list > li.is-open > a,
  .sdc-header--overlay .sdc-nav__list > li.current-menu-item > a{color:#fff;background:#003815;}
  .sdc-header--overlay .sdc-nav__list .sub-menu a{color:#fff;}

  /* footer */
  .sdc-footer__inner{flex-direction:column;align-items:center;text-align:center;gap:28px;padding:34px 20px;}
  .sdc-footer__col,.sdc-footer__social-col,.sdc-footer__search-col,.sdc-footer__logos-col{width:100%;align-items:center;}
  .sdc-footer__social-col{align-items:center;}
  .sdc-social{justify-content:center;}
  .sdc-footer__logos-col{flex-wrap:wrap;gap:26px;}
}
