/* ============================================================
   GALMS EXPLORE HUB — CLEAN V3 OBJECTIVES MATCH
   Architecture and mobile geometry intentionally mirror the approved
   Objectives Hub Clean V3.2. This stylesheet touches only the new .geh3
   namespace and Explore page content shell; header/footer remain native.
   ============================================================ */
body.galms-explore-clean-v3-active{overflow-x:hidden;}
body.galms-explore-clean-v3-active #primary,
body.galms-explore-clean-v3-active .content-area,
body.galms-explore-clean-v3-active #inner-wrap .content-container,
body.galms-explore-clean-v3-active .site-main,
body.galms-explore-clean-v3-active article.page,
body.galms-explore-clean-v3-active article.type-page,
body.galms-explore-clean-v3-active .entry-content-wrap,
body.galms-explore-clean-v3-active .entry-content,
body.galms-explore-clean-v3-active .single-content{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;
}
body.galms-explore-clean-v3-active #inner-wrap .content-container{grid-template-columns:minmax(0,1fr)!important;}
.galms-explore-clean-v3-active .geh3{width:100%!important;max-width:1320px!important;margin-left:auto!important;margin-right:auto!important;}
@media(max-width:767px){
  body.galms-explore-clean-v3-active .entry-content-wrap,
  body.galms-explore-clean-v3-active .entry-content,
  body.galms-explore-clean-v3-active .single-content{overflow:visible!important;}
  .galms-explore-clean-v3-active .geh3{
    width:100vw!important;max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
    padding-left:10px!important;padding-right:10px!important;
  }
}

.geh3{
  --g-green:#007443;--g-teal:#39adaf;--g-text:#202124;--g-muted:#626a65;
  --g-border:#d9e5df;--g-soft:#eef8f2;--g-cream:#fbfaf6;
  --g-shadow:0 10px 26px rgba(20,74,53,.07);
  position:relative;box-sizing:border-box;width:100%;max-width:1320px;margin:0 auto;padding:0 24px;
  color:var(--g-text);font-family:inherit;
}
.geh3 *,.geh3 *::before,.geh3 *::after{box-sizing:border-box;}
.geh3 a{color:inherit;text-decoration:none;}

/* One destination per card: visible link expands to whole card. */
.geh3-topic-card,.geh3-focus-card,.geh3-reading-card{position:relative;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.geh3-topic-card .geh3-card-link::after,.geh3-focus-card .geh3-card-link::after,.geh3-reading-card .geh3-card-link::after{content:"";position:absolute;inset:0;z-index:2;}
.geh3-topic-card:hover,.geh3-focus-card:hover,.geh3-reading-card:hover{transform:translateY(-1px);border-color:#bdd4c8;box-shadow:0 10px 22px rgba(15,23,42,.09);}
.geh3-card-link:focus-visible{outline:none;}
.geh3-card-link:focus-visible::after{outline:3px solid rgba(0,116,67,.34);outline-offset:-3px;border-radius:17px;}

/* HERO — same system as Objectives */
.geh3-hero{min-height:440px;border-radius:22px;overflow:hidden;background:linear-gradient(90deg,rgba(251,250,246,.98) 0%,rgba(251,250,246,.93) 38%,rgba(251,250,246,.52) 64%,rgba(251,250,246,.08) 100%),var(--hero);background-size:cover;background-position:center;box-shadow:var(--g-shadow);}
.geh3-hero-inner{width:min(660px,56%);padding:54px 56px;}
.geh3-kicker{display:inline-block;margin:0 0 14px;color:var(--g-green);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.geh3 h1{margin:0 0 16px;color:var(--g-green);font-size:clamp(46px,4.2vw,66px);font-weight:400;line-height:1.02;letter-spacing:-.04em;}
.geh3-lead{margin:0 0 14px;max-width:590px;color:#18202b;font-size:20px;font-weight:800;line-height:1.3;}
.geh3-copy{margin:0 0 22px;max-width:590px;color:var(--g-muted);font-size:16px;line-height:1.45;}
.geh3-actions{display:flex;flex-wrap:wrap;gap:10px;}
.geh3-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;border:1px solid var(--g-teal);border-radius:13px;background:var(--g-teal);color:#fff!important;font-size:15px;font-weight:800;}
.geh3-btn.secondary{border-color:#a9cbbb;background:#fff;color:var(--g-green)!important;}

/* SECTIONS */
.geh3-section{margin:46px 0 56px;}
.geh3-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 18px;}
.geh3-head h2{margin:0 0 7px;color:var(--g-green);font-size:34px;font-weight:400;line-height:1.1;letter-spacing:-.02em;}
.geh3-head p{max-width:820px;margin:0;color:var(--g-muted);font-size:16px;line-height:1.45;}
.geh3-head>a{flex:0 0 auto;color:var(--g-green);font-size:15px;font-weight:800;white-space:nowrap;}

/* HOW TOPICS CONNECT */
.geh3-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.geh3-flow-card{min-width:0;min-height:132px;padding:20px;border:1px solid var(--g-border);border-radius:17px;background:#fff;box-shadow:0 7px 18px rgba(20,74,53,.05);}
.geh3-num{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0 0 13px;border-radius:999px;background:var(--g-soft);color:var(--g-green);font-size:13px;font-weight:800;}
.geh3-flow-card h3{margin:0 0 8px;font-size:21px;font-weight:500;line-height:1.15;}
.geh3-flow-card p{margin:0;color:var(--g-muted);font-size:14px;line-height:1.4;}

/* TOPIC CARDS — exact Objectives-card geometry */
.geh3-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch;}
.geh3-topic-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--g-border);border-radius:17px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.06);}
.geh3-topic-img{display:block;width:100%;height:138px;object-fit:cover;}
.geh3-topic-body{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;padding:18px;}
.geh3-pill{display:inline-flex;align-self:flex-start;width:fit-content;max-width:100%;margin:0 0 11px;padding:5px 10px;border-radius:999px;background:var(--g-soft);color:var(--g-green);font-size:10.5px;font-weight:800;line-height:1.1;}
.geh3-topic-body h3,.geh3-reading-body h3{margin:0 0 8px;font-size:20px;font-weight:500;line-height:1.18;}
.geh3-topic-body p,.geh3-reading-body p{margin:0 0 13px;color:var(--g-muted);font-size:14px;line-height:1.38;}
.geh3-card-link{display:inline-flex;width:fit-content;margin-top:auto;color:var(--g-green)!important;font-size:15px;font-weight:800;}

/* ACCORDIONS — same slim system */
.geh3-theme-list{display:grid;gap:10px;}
.geh3-theme{overflow:hidden;border:1px solid var(--g-border);border-radius:16px;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.035);}
.geh3-theme summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:54px;padding:14px 18px;cursor:pointer;list-style:none;}
.geh3-theme summary::-webkit-details-marker{display:none;}
.geh3-theme summary strong{color:var(--g-green);font-size:18px;font-weight:500;line-height:1.2;}
.geh3-theme summary em{color:var(--g-muted);font-size:13px;font-style:normal;white-space:nowrap;}
.geh3-theme[open] summary{border-bottom:1px solid var(--g-border);}
.geh3-theme-intro{padding:15px 18px 0;color:var(--g-muted);font-size:14.5px;line-height:1.4;}
.geh3-theme .geh3-topic-grid{padding:16px 18px 18px;}

/* FOCUS AREAS — identical to approved Objectives */
.geh3-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.geh3-focus-card{display:grid;grid-template-columns:50px minmax(0,1fr);gap:15px;min-width:0;padding:19px;border:1px solid var(--g-border);border-radius:17px;background:#fff;box-shadow:0 7px 18px rgba(20,74,53,.045);}
.geh3-focus-card img{display:block;width:46px;height:46px;padding:7px;border-radius:50%;background:var(--g-soft);object-fit:contain;aspect-ratio:1/1;}
.geh3-focus-card>div{display:flex;flex-direction:column;min-width:0;}
.geh3-focus-card h3{margin:0 0 7px;font-size:20px;font-weight:500;line-height:1.18;}
.geh3-focus-card p{margin:0 0 12px;color:var(--g-muted);font-size:14px;line-height:1.38;}

/* FEATURED READING — exact Objectives reading cards */
.geh3-reading-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.geh3-reading-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--g-border);border-radius:17px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.06);}
.geh3-reading-card>img{display:block;width:100%;height:150px;object-fit:cover;}
.geh3-reading-body{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;padding:18px;}

/* CTA — exact Objectives spacing */
.geh3-cta{margin:42px 0 18px;padding:30px;border:1px solid var(--g-border);border-radius:19px;background:var(--g-soft);}
.geh3-cta h2{margin:0 0 10px;color:var(--g-green);font-size:32px;font-weight:400;line-height:1.12;}
.geh3-cta p{margin:0 0 18px;color:var(--g-muted);font-size:15px;line-height:1.45;}
.geh3-disclaimer{margin:18px 0 0;color:var(--g-muted);font-size:13px;font-style:italic;line-height:1.45;}

@media(max-width:1100px){.geh3-topic-grid,.geh3-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.geh3-flow,.geh3-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

@media(max-width:767px){
  .geh3{width:100vw;max-width:100vw;padding-left:10px;padding-right:10px;}
  .geh3-hero{display:flex;flex-direction:column;min-height:0;background:var(--g-cream);border-radius:19px;}
  .geh3-hero::before{content:"";display:block;width:100%;height:170px;background:var(--hero) center/cover no-repeat;}
  .geh3-hero-inner{width:100%;padding:22px 16px 24px;}
  .geh3-kicker{margin-bottom:10px;font-size:10.5px;}
  .geh3 h1{max-width:98%;margin-bottom:13px;font-size:clamp(33px,8.7vw,40px);line-height:1.03;}
  .geh3-lead{margin-bottom:10px;font-size:15px;line-height:1.34;}
  .geh3-copy{margin-bottom:15px;font-size:14px;line-height:1.36;}
  .geh3-actions{display:grid;grid-template-columns:1fr;gap:8px;width:100%;}
  .geh3-btn{width:100%;min-height:44px;padding:11px 14px;border-radius:14px;font-size:15px;}

  .geh3-section{margin:30px 0 36px;}
  .geh3-head{display:block;margin-bottom:13px;}
  .geh3-head h2{margin-bottom:7px;font-size:clamp(29px,7.6vw,34px);line-height:1.06;}
  .geh3-head p{font-size:14px;line-height:1.36;}
  .geh3-head>a{display:inline-flex;margin-top:7px;font-size:13.5px;}

  /* 2 x 2 compact flow cards exactly like Objectives */
  .geh3-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .geh3-flow-card{height:100px;min-height:100px;padding:13px;border-radius:15px;overflow:hidden;}
  .geh3-num{width:30px;height:30px;margin-bottom:9px;font-size:12px;}
  .geh3-flow-card h3{margin:0;font-size:16px;line-height:1.13;}
  .geh3-flow-card p{display:none;}

  /* Every topic card uses the approved Objective mobile geometry. */
  .geh3-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .geh3-topic-img{height:92px;}
  .geh3-topic-body{min-height:150px;padding:12px 11px 13px;}
  .geh3-pill{margin-bottom:8px;padding:4px 8px;font-size:9px;}
  .geh3-topic-body h3{display:-webkit-box;overflow:hidden;margin-bottom:6px;font-size:16.5px;line-height:1.14;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
  .geh3-topic-body p{display:-webkit-box;overflow:hidden;margin-bottom:9px;font-size:11.8px;line-height:1.31;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
  .geh3-card-link{font-size:12.5px;line-height:1.2;}

  .geh3-theme-list{gap:8px;}
  .geh3-theme summary{min-height:48px;padding:10px 12px;gap:8px;}
  .geh3-theme summary strong{font-size:14.5px;}
  .geh3-theme summary em{font-size:11px;}
  .geh3-theme-intro{padding:10px 12px 0;font-size:12.5px;line-height:1.34;}
  .geh3-theme .geh3-topic-grid{padding:10px 10px 12px;}

  /* Focus cards: exact Objectives approved dimensions and true circular icons. */
  .geh3-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .geh3-focus-card{display:flex;flex-direction:column;min-height:175px;padding:11px;border-radius:15px;}
  .geh3-focus-card img{width:38px;height:38px;min-width:38px;min-height:38px;max-width:38px;max-height:38px;margin:0 0 10px;padding:6px;border-radius:50%;aspect-ratio:1/1;}
  .geh3-focus-card>div{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;}
  .geh3-focus-card h3{margin-bottom:5px;font-size:15.5px;line-height:1.14;}
  .geh3-focus-card p{display:-webkit-box;overflow:hidden;margin-bottom:8px;font-size:11.3px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:3;}
  .geh3-focus-card .geh3-card-link{margin-top:auto;}

  .geh3-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .geh3-reading-card>img{height:94px;}
  .geh3-reading-body{min-height:150px;padding:12px 11px 13px;}
  .geh3-reading-body h3{display:-webkit-box;overflow:hidden;margin-bottom:6px;font-size:15.5px;line-height:1.14;-webkit-box-orient:vertical;-webkit-line-clamp:3;}
  .geh3-reading-body p{display:-webkit-box;overflow:hidden;margin-bottom:8px;font-size:11.3px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2;}

  .geh3-cta{margin-top:32px;padding:20px 16px;border-radius:18px;}
  .geh3-cta h2{font-size:29px;}
  .geh3-cta p{font-size:14px;}
  .geh3-disclaimer{font-size:12px;}
}
@media(max-width:390px){
  .geh3{width:100vw;max-width:100vw;padding-left:8px;padding-right:8px;}
  .geh3-flow,.geh3-topic-grid,.geh3-focus-grid,.geh3-reading-grid{gap:8px;}
  .geh3-topic-body h3{font-size:15.5px;}
  .geh3-focus-card h3,.geh3-reading-body h3{font-size:14.5px;}
}
