:root{--navy:#0b2c68;--orange:#f05b16;--teal:#0b8191;--ink:#17212f;--cream:#fbf8f2;--white:#fff;--muted:#64707b;--shadow:0 18px 55px rgba(14,36,65,.14)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"DM Sans",sans-serif;color:var(--ink);background:var(--cream);line-height:1.65}img{width:100%;display:block}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}
header{position:fixed;inset:0 0 auto;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);box-shadow:0 3px 18px rgba(0,0,0,.08)}.nav{height:92px;display:flex;align-items:center;justify-content:space-between}.brand img{width:260px;height:78px;object-fit:contain;object-position:left}.nav nav{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:700}.nav a:hover{color:var(--orange)}.donate{background:var(--orange);color:white!important;padding:11px 18px;border-radius:8px}.menu{display:none;border:0;background:none;font-size:27px}
.hero{min-height:92vh;display:flex;align-items:center;position:relative;padding-top:92px;background:url("assets/hero-cover.jpg") center/cover no-repeat;color:white}.overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,23,54,.92),rgba(5,23,54,.62) 45%,rgba(5,23,54,.08))}.hero-content{position:relative;padding-block:110px;max-width:760px}.eyebrow,.section-tag{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.16em;color:var(--orange)}.hero h1,.section h2{font-family:"Playfair Display",serif;line-height:1.08;margin:12px 0}.hero h1{font-size:clamp(48px,7vw,82px)}.hero p{font-size:19px;max-width:670px;color:rgba(255,255,255,.9)}.actions{display:flex;gap:14px;margin-top:30px}.btn{display:inline-flex;padding:14px 22px;border-radius:8px;border:1px solid transparent;font-weight:800;cursor:pointer}.primary{background:var(--orange);color:#fff}.ghost{border-color:rgba(255,255,255,.7);color:#fff;background:rgba(255,255,255,.08)}
.pillars{margin-top:-65px;position:relative;z-index:3}.pillar-grid{display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border-radius:22px;box-shadow:var(--shadow);overflow:hidden}.pillar-grid article{padding:28px 18px;text-align:center;border-right:1px solid #eee}.pillar-grid article:last-child{border:0}.pillar-grid span{font-size:30px}.pillar-grid h3{font-size:15px;color:var(--navy);margin:10px 0 4px}.pillar-grid p{font-size:13px;color:var(--muted);margin:0}
.section{padding:105px 0}.section h2{font-size:clamp(38px,5vw,58px)}.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}.copy p{font-size:18px;color:#46515a;margin-top:0}.cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:55px}.cards article{background:#fff;padding:34px;border-radius:20px;box-shadow:var(--shadow)}.cards b{font-family:"Playfair Display",serif;font-size:29px;color:var(--navy)}
.work{background:#edf3f7}.programme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:45px}.programme-grid article{background:#fff;border-radius:18px;padding:28px;min-height:245px;transition:.25s}.programme-grid article:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.programme-grid article div{font-size:13px;color:var(--orange);font-weight:800}.programme-grid h3{font-family:"Playfair Display",serif;color:var(--navy);font-size:24px}.programme-grid p{font-size:15px;color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}.feature-grid img{height:600px;object-fit:cover;border-radius:24px;box-shadow:var(--shadow)}.feature-grid h3{font-size:24px;color:var(--navy)}.feature-grid p,.feature-grid li{font-size:17px;color:#4f5b64}.feature-grid li{margin:9px 0}
.impact{background:var(--navy);color:#fff}.light{color:#ffad7e}.impact-box{display:grid;grid-template-columns:220px 1fr;gap:45px;margin-top:45px}.impact-box strong{font-family:"Playfair Display",serif;font-size:150px;line-height:.8;color:var(--orange)}.impact-box h3{font-size:31px;margin:0}.impact-box p{font-size:18px;color:rgba(255,255,255,.82)}blockquote{font-family:"Playfair Display",serif;font-size:27px;border-left:4px solid var(--orange);margin:28px 0 0;padding-left:23px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:300px;gap:16px;margin-top:40px}.gallery-grid figure{margin:0;position:relative;overflow:hidden;border-radius:18px}.gallery-grid .wide{grid-column:span 2}.gallery-grid img{height:100%;object-fit:cover;transition:.35s}.gallery-grid figure:hover img{transform:scale(1.04)}figcaption{position:absolute;left:0;right:0;bottom:0;padding:45px 18px 16px;color:white;font-weight:700;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.founder{background:#eef4f4}.founder-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center}.founder-grid>img{height:620px;object-fit:cover;border-radius:24px;box-shadow:var(--shadow)}.founder p{font-size:17px;color:#47545d}.signature{font-family:"Playfair Display",serif;font-size:20px!important;color:var(--navy)!important}
.future{background:#fff}.contact{background:#08295d;color:white}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.contact p{color:rgba(255,255,255,.8);font-size:18px}.contact form{display:grid;gap:13px}.contact input,.contact select,.contact textarea{width:100%;padding:15px;border-radius:10px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:white;font:inherit}.contact select option{color:#111}.contact ::placeholder{color:rgba(255,255,255,.68)}
footer{background:#061c40;color:#fff;padding:55px 0 24px}.footer-grid{display:grid;grid-template-columns:1fr 1fr .6fr;gap:45px;align-items:start}.footer-grid img{width:250px;background:white;border-radius:12px;padding:8px}.footer-grid p{color:rgba(255,255,255,.7)}.footer-grid div{display:flex;flex-direction:column;gap:8px}.copyright{margin-top:35px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:13px;color:rgba(255,255,255,.55)}
@media(max-width:980px){.menu{display:block}.nav nav{display:none;position:absolute;top:92px;left:20px;right:20px;background:white;padding:20px;border-radius:14px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav nav.open{display:flex}.pillar-grid,.programme-grid{grid-template-columns:repeat(2,1fr)}.split,.feature-grid,.founder-grid,.contact-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.feature-grid img,.founder-grid>img{height:470px}}
@media(max-width:640px){.container{width:min(100% - 24px,1180px)}.brand img{width:205px}.section{padding:72px 0}.hero{min-height:88vh}.hero h1{font-size:44px}.pillar-grid,.programme-grid,.cards{grid-template-columns:1fr}.pillars{margin-top:-35px}.impact-box{grid-template-columns:1fr}.impact-box strong{font-size:110px}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:290px}.gallery-grid .wide{grid-column:span 1}.feature-grid img,.founder-grid>img{height:410px}}

.section-intro{max-width:850px;font-size:18px;color:#58646e;margin:14px 0 42px}
.programme-grid.eleven{grid-template-columns:repeat(3,1fr)}
.programme-grid.eleven article{min-height:285px;border-top:4px solid var(--orange)}
.team{background:#fff}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:45px}
.team-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(11,44,104,.08);transition:.25s ease}
.team-card:hover{transform:translateY(-6px)}
.team-card img{height:350px;object-fit:cover}
.team-card div{padding:23px}
.team-card h3{font-family:"Playfair Display",serif;color:var(--navy);font-size:23px;line-height:1.25;margin:0 0 7px}
.team-card p{margin:0;color:var(--orange);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.12em}
@media(max-width:980px){.programme-grid.eleven,.team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.programme-grid.eleven,.team-grid{grid-template-columns:1fr}.team-card img{height:390px}}

.team-card img{
  object-position:center 24%;
  background:#f4f6f8;
}
.team-card:first-child{
  border-top:5px solid var(--orange);
}
.team-card:nth-child(2),
.team-card:nth-child(3),
.team-card:nth-child(4),
.team-card:nth-child(5),
.team-card:nth-child(6){
  border-top:5px solid var(--navy);
}
.team-card p{
  line-height:1.45;
}

/* Final leadership image refinements */
.team-card img{
  filter: contrast(1.03) saturate(1.02);
  image-rendering:auto;
}
.team-card:nth-child(4) img{object-position:center 30%}
.team-card:nth-child(5) img{object-position:center 24%}

/* Impact story image */
.impact-story-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:42px;
  align-items:center;
  margin-top:45px;
}
.impact-photo img{
  height:470px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 18px 55px rgba(0,0,0,.24);
}
.impact-story-layout .impact-box{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:28px;
  margin-top:0;
}
.impact-story-layout .impact-box strong{
  font-size:120px;
}
@media(max-width:980px){
  .impact-story-layout{grid-template-columns:1fr}
  .impact-photo img{height:430px}
}
@media(max-width:640px){
  .impact-photo img{height:320px}
  .impact-story-layout .impact-box{grid-template-columns:1fr}
  .impact-story-layout .impact-box strong{font-size:100px}
}

/* Final hero image adjustments */
.hero{background-position:center 46%}
@media(max-width:640px){.hero{background-position:center center}}

/* Expanded About and Founder sections */
.about-full p{
  margin-bottom:20px;
}
.about-full strong{
  color:var(--navy);
}
.founder-grid{
  align-items:start;
}
.founder-grid > img{
  position:sticky;
  top:120px;
}
.founder-grid p{
  margin-bottom:18px;
}
@media(max-width:980px){
  .founder-grid > img{
    position:static;
  }
}

/* Additional field photography */
.gallery-grid figure:nth-last-child(-n+2) img{
  object-position:center center;
}


/* Uniform Board of Directors portraits */
.team-grid{
  align-items:stretch;
}
.team-card{
  display:flex;
  flex-direction:column;
}
.team-card img{
  width:100%;
  aspect-ratio:1/1;
  height:auto;
  object-fit:cover;
  object-position:center top;
  border-radius:16px 16px 0 0;
  display:block;
}

/* Final header logo integration */
.brand{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.brand img{
  width:260px;
  height:72px;
  object-fit:contain;
  object-position:left center;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.site-header,
header{
  background:rgba(255,255,255,.96);
}
.nav{
  overflow:visible;
}

/* Match Kithmi's portrait scale to the other board members */
.team-card:first-child img{
  object-position:center 18%;
  transform:scale(1.06);
  transform-origin:center top;
}
.team-card{
  overflow:hidden;
}
@media(max-width:640px){
  .brand img{
    width:215px;
    height:64px;
  }
}

/* Institutional collaboration section */
.collaboration{
  background:#fff7ef;
}
.collaboration-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:60px;
  align-items:center;
}
.collaboration-image img{
  height:520px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:var(--shadow);
}
.collaboration p{
  font-size:17px;
  color:#4d5962;
  margin-bottom:18px;
}
.collaboration strong{
  color:var(--navy);
}
@media(max-width:980px){
  .collaboration-grid{
    grid-template-columns:1fr;
  }
  .collaboration-image img{
    height:440px;
  }
}
@media(max-width:640px){
  .collaboration-image img{
    height:320px;
  }
}

/* Updated hero tagline */
.hero h1{
  max-width:760px;
  text-wrap:balance;
}

/* Director flip cards */
.team-grid{align-items:stretch}
.team-card.flip-card{background:transparent;box-shadow:none;border:0;min-height:470px;perspective:1200px;cursor:pointer;overflow:visible}
.flip-card-inner{position:relative;width:100%;height:100%;min-height:470px;transition:transform .65s ease;transform-style:preserve-3d}
.flip-card.is-flipped .flip-card-inner{transform:rotateY(180deg)}
.flip-card-front,.flip-card-back{position:absolute;inset:0;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(11,44,104,.09);backface-visibility:hidden;-webkit-backface-visibility:hidden}
.flip-card-front{background:#fff;display:flex;flex-direction:column}
.flip-card-front img{width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;object-position:center top;border-radius:20px 20px 0 0;transform:none!important}
.team-card-copy{padding:20px;display:flex;flex-direction:column;flex:1}
.flip-card-front h3,.flip-card-back h3{font-family:"Playfair Display",serif;font-size:22px;line-height:1.2;margin:0 0 7px;color:var(--navy)}
.flip-card-front p{margin:0;color:var(--orange);font-weight:700;text-transform:none;font-size:14px;letter-spacing:0}
.flip-hint{display:inline-block;margin-top:auto;padding-top:14px;font-size:12px;color:#6d7881;font-weight:700}
.flip-card-back{transform:rotateY(180deg);display:flex;align-items:center;justify-content:center;padding:30px;background:linear-gradient(145deg,var(--navy),#0b8191);color:#fff}
.flip-card-back h3{color:#fff;margin:10px 0 14px}
.flip-card-back p{color:rgba(255,255,255,.9);font-size:15px;line-height:1.7;margin:0}
.profile-role{color:#ffd0b8;font-size:14px;font-weight:700;text-transform:none;letter-spacing:0}
.flip-card-back .flip-hint{color:rgba(255,255,255,.72)}
.flip-card:focus-visible{outline:3px solid var(--orange);outline-offset:5px;border-radius:20px}

/* Translation control */
.translation-wrap{position:relative;display:flex;align-items:center}
.translate-button{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(11,44,104,.16);background:#fff;color:var(--navy);padding:9px 12px;border-radius:9px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.translate-button:hover{border-color:var(--orange);color:var(--orange)}
.translate-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);min-width:155px;padding:8px;border-radius:12px;background:#fff;box-shadow:0 16px 45px rgba(11,44,104,.18);border:1px solid rgba(11,44,104,.1);z-index:90}
.translate-menu.open{display:grid;gap:4px}
.translate-menu button{border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:8px;color:var(--navy);font:inherit;font-weight:700;cursor:pointer}
.translate-menu button:hover{background:#fff4ec;color:var(--orange)}
#google_translate_element{position:fixed;width:1px;height:1px;overflow:hidden;left:-9999px;bottom:-9999px}
.goog-te-banner-frame.skiptranslate,body>.skiptranslate{display:none!important}
body{top:0!important}
@media(max-width:980px){.translation-wrap{width:100%;display:block}.translate-button{width:100%;justify-content:center}.translate-menu{position:static;width:100%;margin-top:7px}}
@media(max-width:640px){.team-card.flip-card,.flip-card-inner{min-height:510px}}

/* Final premium enhancements */
.coverage-section{background:linear-gradient(180deg,#f7fbfc 0%,#eef6f7 100%)}
.coverage-heading{max-width:760px}
.impact-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:35px 0}
.impact-strip article{background:#fff;border:1px solid rgba(11,44,104,.09);border-radius:18px;padding:24px;box-shadow:0 12px 35px rgba(11,44,104,.08)}
.impact-strip strong{display:block;font-family:"Playfair Display",serif;font-size:42px;color:var(--orange);line-height:1}
.impact-strip span{display:block;margin-top:8px;color:var(--navy);font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.map-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:28px;align-items:stretch}
.map-card,.location-panel{background:#fff;border-radius:24px;padding:28px;box-shadow:0 18px 48px rgba(11,44,104,.10);border:1px solid rgba(11,44,104,.08)}
.sri-lanka-map{display:block;width:100%;max-height:620px}
.island-shape{fill:url(#islandFill);stroke:#0b2c68;stroke-width:4}
.kurunegala-zone{fill:rgba(239,111,45,.25);stroke:#ef6f2d;stroke-width:4}
.district-label{font-weight:900;font-size:18px;fill:#0b2c68}
.map-pin{cursor:pointer;outline:none}
.map-pin>circle:first-child{fill:#0b8191;stroke:#fff;stroke-width:3;transition:.2s}
.map-pin.headquarters>circle:first-child{fill:#ef6f2d}
.map-pin .pin-core{fill:#fff}
.map-pin text{font-size:13px;font-weight:800;fill:#0b2c68;paint-order:stroke;stroke:#fff;stroke-width:4;stroke-linejoin:round}
.map-pin:hover>circle:first-child,.map-pin:focus>circle:first-child{transform:scale(1.18);transform-box:fill-box;transform-origin:center}
.location-panel{display:flex;flex-direction:column;justify-content:center}
.location-panel h3{font-family:"Playfair Display",serif;font-size:40px;color:var(--navy);margin:8px 0 12px}
.location-panel p{font-size:17px;line-height:1.75;color:#55656f}
.location-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.location-list button{border:1px solid rgba(11,44,104,.16);background:#fff;color:var(--navy);border-radius:999px;padding:10px 13px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.location-list button:hover,.location-list button.active{background:var(--navy);color:#fff}
.icon-button{border:1px solid rgba(11,44,104,.15);background:#fff;color:var(--navy);width:40px;height:40px;border-radius:10px;font-size:19px;cursor:pointer}
.site-search-overlay{position:fixed;inset:0;display:none;align-items:flex-start;justify-content:center;padding:12vh 20px;background:rgba(4,18,35,.72);backdrop-filter:blur(8px);z-index:9999}
.site-search-overlay.open{display:flex}
.site-search-dialog{position:relative;width:min(720px,100%);background:#fff;border-radius:24px;padding:34px;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.search-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:34px;cursor:pointer;color:var(--navy)}
.site-search-dialog h2{font-family:"Playfair Display",serif;font-size:38px;color:var(--navy);margin:8px 0 20px}
#site-search-input{width:100%;border:1px solid rgba(11,44,104,.18);border-radius:14px;padding:15px 16px;font:inherit;font-size:16px}
#site-search-results{display:grid;gap:8px;margin-top:16px}
#site-search-results a{display:block;padding:12px 14px;border-radius:10px;background:#f4f8f9;color:var(--navy);font-weight:800;text-decoration:none}
body.dark-mode{background:#0b141c;color:#eaf2f4}
body.dark-mode header,body.dark-mode .flip-card-front,body.dark-mode .map-card,body.dark-mode .location-panel,body.dark-mode .site-search-dialog,body.dark-mode .translate-menu{background:#13212c;color:#eaf2f4}
body.dark-mode .coverage-section{background:linear-gradient(180deg,#101b24,#0d171f)}
body.dark-mode .impact-strip article{background:#13212c}
body.dark-mode h1,body.dark-mode h2,body.dark-mode h3,body.dark-mode .location-panel h3,body.dark-mode .impact-strip span{color:#f3f7f8}
body.dark-mode p{color:#c0ccd1}
@media(max-width:900px){.impact-strip{grid-template-columns:repeat(2,1fr)}.map-layout{grid-template-columns:1fr}.icon-button{width:100%}}
@media(max-width:560px){.impact-strip{grid-template-columns:1fr}.map-card,.location-panel{padding:20px}.location-panel h3{font-size:32px}}

/* Refined two-map presentation */
.map-story-grid{display:grid;grid-template-columns:.92fr 1.35fr;gap:28px;align-items:stretch}
.map-story-card{background:rgba(255,255,255,.92);border:1px solid rgba(11,44,104,.08);border-radius:28px;padding:28px;box-shadow:0 24px 70px rgba(11,44,104,.10);position:relative;overflow:hidden}
.map-story-card::before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(239,111,45,.13),transparent 70%);right:-80px;top:-70px;pointer-events:none}
.map-card-heading{display:flex;gap:16px;align-items:flex-start;position:relative;z-index:1}
.map-step{display:grid;place-items:center;min-width:46px;height:46px;border-radius:14px;background:var(--navy);color:#fff;font-weight:900;box-shadow:0 10px 24px rgba(11,44,104,.16)}
.map-card-heading h3{font-family:"Playfair Display",serif;color:var(--navy);font-size:34px;margin:4px 0 7px}
.map-card-heading p{margin:0;color:#64747d;line-height:1.65}
.national-map-wrap{display:flex;align-items:center;justify-content:center;min-height:590px;padding:10px 0 0}
.refined-national-map{max-width:330px;width:100%;overflow:visible}
.national-island{fill:url(#slFillNew);stroke:#0b2c68;stroke-width:4}
.province-accent{fill:rgba(11,129,145,.09);stroke:rgba(11,129,145,.28);stroke-width:2}
.national-highlight{fill:#ef6f2d;stroke:#fff;stroke-width:4}
.locator-pulse circle:first-child{fill:rgba(239,111,45,.14);stroke:#ef6f2d;stroke-width:2;animation:mapPulse 2.6s infinite}
.locator-pulse circle:last-child{fill:#fff;stroke:#ef6f2d;stroke-width:5}
.map-callout-line{stroke:#0b2c68;stroke-width:2}
.map-callout-box{fill:#fff;stroke:rgba(11,44,104,.12);stroke-width:1.5}
.map-callout-label{font-size:14px;font-weight:900;fill:#0b2c68}
.map-callout-small{font-size:11px;font-weight:700;fill:#6f7b84}
@keyframes mapPulse{0%,100%{opacity:.75;transform:scale(.86);transform-origin:center}50%{opacity:.18;transform:scale(1.25);transform-origin:center}}

.district-map-wrap{margin-top:22px;padding:18px;border-radius:22px;background:linear-gradient(145deg,#fffaf6,#f4f8f8);border:1px solid rgba(11,44,104,.06)}
.kurunegala-map{width:100%;height:auto;display:block}
.district-shape{fill:url(#districtFill);stroke:#c86e36;stroke-width:4;filter:drop-shadow(0 12px 18px rgba(11,44,104,.10))}
.river-line{fill:none;stroke:#7ab8c2;stroke-width:7;stroke-linecap:round;opacity:.55}
.road-line{fill:none;stroke:#d9b38f;stroke-width:5;stroke-linecap:round;stroke-dasharray:12 12;opacity:.75}
.road-line.secondary{stroke-width:3;opacity:.55}
.district-pin{cursor:pointer;outline:none}
.pin-ring{fill:#0b8191;stroke:#fff;stroke-width:4;transition:transform .2s ease,fill .2s ease}
.district-pin.headquarters .pin-ring{fill:#ef6f2d}
.pin-dot{fill:#fff}
.district-pin text{font-size:15px;font-weight:850;fill:#0b2c68;paint-order:stroke;stroke:#fff;stroke-width:5;stroke-linejoin:round}
.district-pin .pin-subtitle{font-size:10px;font-weight:700;fill:#6f7b84}
.district-pin:hover .pin-ring,.district-pin:focus .pin-ring{transform:scale(1.16);transform-box:fill-box;transform-origin:center}
.location-detail-card{margin-top:18px;background:linear-gradient(135deg,#0b2c68,#0b8191);color:#fff;border-radius:22px;padding:24px;display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:center}
.location-detail-card h4{font-family:"Playfair Display",serif;font-size:30px;margin:5px 0 8px;color:#fff}
.location-detail-card p{margin:0;color:rgba(255,255,255,.86);line-height:1.65}
.location-detail-card .eyebrow{color:#ffd1b7}
.location-detail-card .location-list{margin-top:0;justify-content:flex-end}
.location-detail-card .location-list button{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.22)}
.location-detail-card .location-list button:hover,.location-detail-card .location-list button.active{background:#fff;color:var(--navy)}
.flip-card-back p{text-transform:none;letter-spacing:0;font-size:15px;line-height:1.72}
@media(max-width:1050px){.map-story-grid{grid-template-columns:1fr}.national-map-wrap{min-height:auto}.refined-national-map{max-width:290px}.location-detail-card{grid-template-columns:1fr}.location-detail-card .location-list{justify-content:flex-start}}
@media(max-width:640px){.map-story-card{padding:20px;border-radius:22px}.map-card-heading h3{font-size:29px}.district-map-wrap{padding:6px;overflow-x:auto}.kurunegala-map{min-width:620px}.location-detail-card{padding:20px}}

/* Final contact and collaboration refinements */
.collaboration-visual{position:relative}
.headquarters-card{
  position:relative;width:calc(100% - 46px);margin:-66px auto 0;padding:24px 26px;
  border-radius:20px;color:#fff;background:linear-gradient(135deg,var(--navy),var(--teal));
  box-shadow:0 18px 44px rgba(11,44,104,.24)
}
.headquarters-card span{display:block;margin-bottom:7px;color:#ffd2b8;font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.headquarters-card strong{display:block;color:#fff;font-family:"Playfair Display",serif;font-size:23px;line-height:1.25}
.headquarters-card p{margin:10px 0 0;color:rgba(255,255,255,.84);font-size:14px}
.collaboration-copy h3{margin:0 0 7px;color:var(--navy);font-family:"Playfair Display",serif;font-size:24px}
.heritage-note,.monk-profile{margin-top:22px;padding:23px 25px;border-radius:18px;border:1px solid rgba(11,44,104,.09);background:rgba(255,255,255,.7)}
.heritage-note{border-left:5px solid var(--orange)}
.monk-profile{border-left:5px solid var(--teal)}
.heritage-note p,.monk-profile p{margin:0}

.contact-details{display:grid;gap:13px;margin-top:30px}
.contact-item{display:flex;align-items:flex-start;gap:14px;padding:15px 16px;border:1px solid rgba(255,255,255,.17);border-radius:14px;background:rgba(255,255,255,.07);transition:.2s ease}
a.contact-item:hover{transform:translateY(-2px);background:rgba(255,255,255,.12)}
.contact-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;color:#fff;background:var(--orange);font-size:19px}
.contact-item small{display:block;margin-bottom:2px;color:#ffbd97;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.contact-item strong{display:block;color:#fff;font-size:15px;line-height:1.45}
.contact form label{display:grid;gap:6px}
.contact form label>span{font-size:12px;font-weight:800;color:rgba(255,255,255,.78)}
.form-note{font-size:12px!important;margin:0;color:rgba(255,255,255,.62)!important}

.footer-grid-expanded{grid-template-columns:1.15fr .9fr 1.15fr .55fr}
.footer-brand img{width:250px;background:white;border-radius:12px;padding:8px}
.footer-contact h3,.footer-links h3{margin:0 0 13px;font-size:16px;color:#fff}
.footer-contact,.footer-links{display:flex;flex-direction:column;gap:8px}
.footer-contact p,.footer-contact a,.footer-links a{margin:0;color:rgba(255,255,255,.72);font-size:14px;line-height:1.6}
.footer-contact a:hover,.footer-links a:hover{color:#fff}
@media(max-width:980px){.footer-grid-expanded{grid-template-columns:1fr 1fr}}
@media(max-width:640px){
  .headquarters-card{width:calc(100% - 20px);margin:-38px auto 0;padding:20px}
  .footer-grid-expanded{grid-template-columns:1fr}
}

/* Publications section */
.publications{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#fff 0%,#f7fbfc 58%,#fff4ec 100%);
}
.publications::before{
  content:"";
  position:absolute;
  width:440px;
  height:440px;
  border-radius:50%;
  right:-190px;
  top:-210px;
  background:radial-gradient(circle,rgba(11,129,145,.14),transparent 70%);
}
.publications-layout{
  position:relative;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:70px;
  align-items:center;
}
.publications-heading p{
  max-width:620px;
  color:#52606a;
  font-size:18px;
}
.publication-placeholder{
  position:relative;
  padding:44px;
  border-radius:26px;
  border:1px solid rgba(11,44,104,.09);
  background:rgba(255,255,255,.9);
  box-shadow:0 24px 70px rgba(11,44,104,.11);
}
.publication-placeholder::after{
  content:"";
  position:absolute;
  inset:12px;
  border:1px dashed rgba(11,44,104,.13);
  border-radius:19px;
  pointer-events:none;
}
.publication-icon{
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  margin-bottom:22px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--navy),var(--teal));
  color:#fff;
  font-size:29px;
  box-shadow:0 13px 30px rgba(11,44,104,.2);
}
.publication-placeholder>span{
  color:var(--orange);
  font-size:12px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.publication-placeholder h3{
  margin:8px 0 12px;
  color:var(--navy);
  font-family:"Playfair Display",serif;
  font-size:32px;
  line-height:1.2;
}
.publication-placeholder p{
  margin:0 0 24px;
  color:#59656e;
  font-size:16px;
}
.publication-button{
  position:relative;
  z-index:1;
  background:var(--navy);
  color:#fff;
}
.publication-button:hover{background:var(--teal)}
@media(max-width:980px){
  .publications-layout{grid-template-columns:1fr;gap:35px}
}
@media(max-width:640px){
  .publication-placeholder{padding:30px 24px}
  .publication-placeholder h3{font-size:27px}
}

/* Updated Founder’s Message placement and sign-off */
.founder-signoff{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid rgba(11,44,104,.14);
}
.founder-signoff strong{
  color:var(--navy);
  font-family:"Playfair Display",serif;
  font-size:24px;
}
.founder-signoff span{
  color:#58656e;
  font-size:15px;
  font-weight:700;
}

/* =========================================================
   Institutional design refinement - international NGO standard
   ========================================================= */
:root{
  --navy:#082b5c;
  --blue:#1769aa;
  --teal:#007f88;
  --orange:#ef642f;
  --ink:#152333;
  --surface:#ffffff;
  --soft:#f4f7f9;
  --line:#dce4e9;
  --shadow-soft:0 12px 32px rgba(8,43,92,.09);
  --shadow-deep:0 24px 70px rgba(8,43,92,.14);
}
body{background:#fff;color:var(--ink);font-size:16px;line-height:1.7}
.skip-link{position:fixed;left:16px;top:-80px;z-index:10000;padding:12px 16px;border-radius:8px;background:#fff;color:var(--navy);font-weight:800;box-shadow:var(--shadow-deep)}
.skip-link:focus{top:16px}
.utility-bar{position:fixed;inset:0 0 auto;z-index:52;height:32px;background:var(--navy);color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.utility-inner{height:32px;display:flex;align-items:center;justify-content:space-between;opacity:.9}
header{top:32px;border-bottom:1px solid rgba(8,43,92,.08);box-shadow:none}
.nav{height:104px}
.brand img{width:220px!important;height:94px!important;object-fit:contain!important;object-position:left center!important}
.nav nav{gap:17px;font-size:13px}
.nav nav>a:not(.donate){position:relative;padding:40px 0 37px}
.nav nav>a:not(.donate)::after{content:"";position:absolute;left:0;right:100%;bottom:27px;height:2px;background:var(--orange);transition:.2s ease}
.nav nav>a:not(.donate):hover::after{right:0}
.donate{border-radius:5px;padding:12px 19px;box-shadow:0 7px 16px rgba(239,100,47,.22)}
.hero{padding-top:136px;min-height:94vh;background-position:center 48%}
.overlay{background:linear-gradient(90deg,rgba(4,25,57,.94),rgba(4,25,57,.66) 52%,rgba(4,25,57,.13))}
.hero-content{padding-block:128px;max-width:800px}
.hero h1{font-size:clamp(50px,6.5vw,84px);letter-spacing:-.025em}
.hero p{max-width:710px;font-size:20px;line-height:1.65}
.eyebrow,.section-tag{letter-spacing:.14em}
.btn{border-radius:5px;padding:14px 23px}
.institutional-strip{position:relative;z-index:4;margin-top:-1px;background:var(--navy);color:#fff}
.institutional-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.institutional-grid>div{padding:26px 28px;border-right:1px solid rgba(255,255,255,.15)}
.institutional-grid>div:last-child{border-right:0}
.institutional-grid strong{display:block;margin-bottom:5px;font-family:"Playfair Display",serif;font-size:20px}
.institutional-grid span{display:block;color:rgba(255,255,255,.74);font-size:13px;line-height:1.5}
.pillars{margin-top:0;padding:38px 0;background:#f5f8fa}
.pillar-grid{box-shadow:none;border:1px solid var(--line);border-radius:10px}
.pillar-grid article{padding:27px 16px}
.pillar-grid span{filter:saturate(.75)}
.section{padding:112px 0}
.section h2{letter-spacing:-.02em}
.cards article,.programme-grid article,.team-card,.map-story-card,.publication-placeholder{border-radius:10px!important;box-shadow:var(--shadow-soft)!important}
.cards article{border-top:4px solid var(--teal)}
.programme-grid article{border:1px solid var(--line);border-top:3px solid var(--orange)!important}
.programme-grid article:hover{transform:translateY(-4px);box-shadow:var(--shadow-deep)!important}
.feature-grid img,.founder-grid>img,.impact-photo img,.collaboration-image img{border-radius:10px!important}
.team-card.flip-card,.flip-card-inner{min-height:500px}
.flip-card-front,.flip-card-back{border-radius:10px}
.flip-card-front img{border-radius:10px 10px 0 0}
.publications{background:linear-gradient(135deg,#f8fafb,#fff)}
.coverage-section{background:#eef4f7}
.map-story-card{background:#fff}
.collaboration{background:#fff9f4}
.headquarters-card{border-radius:8px}
.gallery-grid{gap:12px}
.gallery-grid figure{border-radius:7px}
.gallery-grid figure::after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.18);pointer-events:none}
.contact{background:linear-gradient(135deg,#062451,#0a3c71)}
.contact input,.contact select,.contact textarea{border-radius:5px;background:rgba(255,255,255,.06)}
footer{background:#041a38}
.footer-brand img{width:210px;max-height:180px;object-fit:contain}
body.dark-mode .institutional-strip{background:#05172a}
body.dark-mode .pillars{background:#101b24}
body.dark-mode .pillar-grid{background:#13212c;border-color:rgba(255,255,255,.1)}
body.dark-mode .institutional-grid span{color:rgba(255,255,255,.7)}
@media(max-width:1120px){
  .nav nav{gap:12px;font-size:12px}
  .brand img{width:190px!important}
}
@media(max-width:980px){
  header{top:0}
  .nav{height:92px}
  .brand img{height:82px!important;width:185px!important}
  .nav nav{top:92px}
  .nav nav>a:not(.donate){padding:10px 0}
  .nav nav>a:not(.donate)::after{display:none}
  .hero{padding-top:92px}
  .institutional-grid{grid-template-columns:1fr}
  .institutional-grid>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.15)}
  .institutional-grid>div:last-child{border-bottom:0}
}
@media(max-width:640px){
  .brand img{width:155px!important;height:78px!important}
  .hero h1{font-size:45px}
  .hero p{font-size:17px}
  .institutional-grid>div{padding:22px}
}



/* Final merged header logo — transparent, responsive and cache-safe */
header .brand{
  display:flex!important;
  align-items:center!important;
  align-self:stretch!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  overflow:visible!important;
}
header .brand img{
  display:block!important;
  width:auto!important;
  height:92px!important;
  max-width:245px!important;
  object-fit:contain!important;
  object-position:left center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  mix-blend-mode:normal!important;
}
@media(max-width:1120px){
  header .brand img{height:84px!important;max-width:205px!important}
}
@media(max-width:980px){
  header .brand img{height:78px!important;max-width:185px!important}
}
@media(max-width:640px){
  header .brand img{height:70px!important;max-width:150px!important}
  .nav{height:82px!important}
  .nav nav{top:82px!important}
  .hero{padding-top:82px!important}
}


/* =========================================================
   FINAL RESPONSIVE RELEASE — PHONE, TABLET, LAPTOP, DESKTOP
   ========================================================= */

/* Fixed institutional blue bar with iPhone safe-area support */
.utility-bar{
  display:block !important;
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:calc(32px + env(safe-area-inset-top, 0px)) !important;
  padding-top:env(safe-area-inset-top, 0px) !important;
  background:#0b2c68 !important;
  color:#fff !important;
  z-index:1002 !important;
  overflow:hidden !important;
}
.utility-inner{
  height:32px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  white-space:nowrap !important;
}
.utility-inner span:first-child{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.utility-inner span:last-child{flex:0 0 auto !important}

/* Header always sits beneath the blue line */
header{
  top:calc(32px + env(safe-area-inset-top, 0px)) !important;
  inset-inline:0 !important;
}
.hero{
  padding-top:calc(124px + env(safe-area-inset-top, 0px)) !important;
}

/* Shared transparent logo at top and bottom */
.brand,
.footer-brand{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.brand img{
  display:block !important;
  width:245px !important;
  height:76px !important;
  max-width:100% !important;
  object-fit:contain !important;
  object-position:left center !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.footer-brand img,
.footer-grid img{
  width:240px !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}

/* Improve navigation resilience on mid-sized laptops */
@media(max-width:1180px) and (min-width:981px){
  .nav nav{gap:12px !important;font-size:12px !important}
  .brand img{width:205px !important}
  .translate-button{padding:8px 9px !important}
  .donate{padding:9px 12px !important}
}

/* Tablet and mobile navigation */
@media(max-width:980px){
  .utility-bar{
    height:calc(30px + env(safe-area-inset-top, 0px)) !important;
  }
  .utility-inner{
    height:30px !important;
    width:calc(100% - 24px) !important;
    font-size:9px !important;
    letter-spacing:.045em !important;
  }
  header{
    top:calc(30px + env(safe-area-inset-top, 0px)) !important;
  }
  .nav{
    height:86px !important;
  }
  .brand img{
    width:188px !important;
    height:72px !important;
  }
  .nav nav{
    top:86px !important;
    max-height:calc(100vh - 126px - env(safe-area-inset-top, 0px)) !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
  }
  .hero{
    padding-top:calc(116px + env(safe-area-inset-top, 0px)) !important;
  }
}

/* Phones */
@media(max-width:640px){
  .utility-inner{
    width:calc(100% - 18px) !important;
    gap:8px !important;
    font-size:8px !important;
    letter-spacing:.025em !important;
  }
  .nav{
    height:80px !important;
  }
  .brand img{
    width:165px !important;
    height:65px !important;
  }
  .menu{
    font-size:28px !important;
    padding:8px !important;
    color:#0b2c68 !important;
  }
  .nav nav{
    top:80px !important;
    left:12px !important;
    right:12px !important;
    padding:16px !important;
    max-height:calc(100vh - 120px - env(safe-area-inset-top, 0px)) !important;
  }
  .hero{
    min-height:88svh !important;
    padding-top:calc(110px + env(safe-area-inset-top, 0px)) !important;
  }
  .hero-content{
    padding-block:78px !important;
  }
  .hero h1{
    font-size:clamp(40px,12vw,54px) !important;
  }
  .hero p{
    font-size:16px !important;
  }
  .actions{
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .actions .btn{
    justify-content:center !important;
    text-align:center !important;
  }
  .footer-brand img,
  .footer-grid img{
    width:205px !important;
  }
}

/* Very narrow iPhones */
@media(max-width:390px){
  .utility-inner span:first-child{max-width:72% !important}
  .brand img{width:148px !important}
  .hero h1{font-size:39px !important}
}

/* Prevent oversized media and horizontal page overflow */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video{max-width:100%}


/* =========================================================
   MOBILE / TABLET DONATE BUTTON ONLY
   Footer styling intentionally unchanged.
   ========================================================= */

.mobile-header-actions{
  display:none;
  align-items:center;
  gap:8px;
  margin-left:auto;
}

.mobile-donate{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 14px;
  border-radius:9px;
  background:var(--orange);
  color:#fff !important;
  font-size:13px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 20px rgba(240,91,22,.22);
}

.mobile-donate:hover,
.mobile-donate:focus-visible{
  background:#d94e11;
  color:#fff !important;
}

/* Laptop and desktop keep the original Donate link in the navigation */
@media(min-width:981px){
  .mobile-header-actions{display:none !important}
  .nav nav .donate{display:inline-flex !important}
}

/* iPhone, Android and tablets show Donate beside the menu */
@media(max-width:980px){
  .mobile-header-actions{display:flex !important}
  .menu{display:block !important}
  .nav nav .donate{display:none !important}
}

@media(max-width:640px){
  .mobile-header-actions{gap:6px}
  .mobile-donate{
    min-height:38px;
    padding:8px 11px;
    font-size:12px;
  }
  .menu{
    width:42px;
    height:42px;
    display:grid !important;
    place-items:center;
    padding:0 !important;
  }
}

@media(max-width:390px){
  .mobile-donate{
    padding:8px 9px;
    font-size:11px;
  }
  .menu{
    width:38px;
    height:38px;
  }
}


/* =========================================================
   INTERACTIVE SRI LANKA DISTRICT MAP + TRAVEL ROUTES
   ========================================================= */
.interactive-island-layout{
  display:grid;
  grid-template-columns:minmax(300px,1fr) minmax(240px,.8fr);
  gap:24px;
  align-items:center;
  margin-top:20px;
}
.interactive-island{
  position:relative;
  width:min(100%,420px);
  margin:auto;
  aspect-ratio:360/620;
}
.interactive-island .refined-national-map{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.sl-district-marker{
  position:absolute;
  left:var(--x);
  top:var(--y);
  transform:translate(-50%,-50%);
  width:15px;
  height:15px;
  border:0;
  padding:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  z-index:3;
}
.sl-district-marker span{
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:#0b2c68;
  border:2px solid #fff;
  box-shadow:0 2px 8px rgba(11,44,104,.32);
  transition:.2s ease;
}
.sl-district-marker b{
  position:absolute;
  left:50%;
  bottom:calc(100% + 7px);
  transform:translateX(-50%);
  background:#fff;
  color:#0b2c68;
  padding:5px 8px;
  border-radius:7px;
  font-size:10px;
  line-height:1;
  box-shadow:0 6px 18px rgba(11,44,104,.18);
  opacity:0;
  pointer-events:none;
  white-space:nowrap;
  transition:.2s ease;
}
.sl-district-marker:hover b,
.sl-district-marker:focus-visible b,
.sl-district-marker.selected b{opacity:1}
.sl-district-marker:hover span,
.sl-district-marker:focus-visible span,
.sl-district-marker.selected span{transform:scale(1.45)}
.sl-district-marker.active span{
  background:#f05b16;
  box-shadow:0 0 0 7px rgba(240,91,22,.17),0 4px 12px rgba(11,44,104,.28);
}
.sl-district-marker.active{
  width:20px;
  height:20px;
}
.district-information{
  background:linear-gradient(145deg,#fff,#f4f8f8);
  border:1px solid rgba(11,44,104,.08);
  border-radius:22px;
  padding:26px;
  box-shadow:0 16px 35px rgba(11,44,104,.08);
}
.district-information h4{font-size:26px;margin:6px 0 10px;color:var(--blue)}
.district-information p{margin:0;color:var(--text-muted);line-height:1.7}
.district-key{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px;font-size:12px;font-weight:700;color:var(--blue)}
.district-key span{display:flex;align-items:center;gap:7px}
.key-dot{width:11px;height:11px;border-radius:50%;display:inline-block}
.key-dot.kurunegala{background:#f05b16}
.key-dot.standard{background:#0b2c68}

.travel-access-panel{
  margin-top:34px;
  padding:32px;
  border-radius:28px;
  background:linear-gradient(145deg,#edf6f7,#fff8f2);
  border:1px solid rgba(11,44,104,.08);
  box-shadow:0 20px 48px rgba(11,44,104,.08);
}
.route-heading{display:flex;gap:16px;align-items:flex-start}
.route-heading h3{font-size:30px;margin:4px 0 8px;color:var(--blue)}
.route-heading p{margin:0;color:var(--text-muted)}
.route-selector{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 18px}
.route-choice{
  border:1px solid rgba(11,44,104,.16);
  background:#fff;
  color:var(--blue);
  border-radius:999px;
  padding:11px 16px;
  font-weight:800;
  cursor:pointer;
}
.route-choice.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.route-detail-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
  background:#fff;
  border-radius:22px;
  padding:22px;
  border:1px solid rgba(11,44,104,.08);
}
.route-icon{
  width:52px;height:52px;border-radius:16px;
  display:grid;place-items:center;
  background:#f05b16;color:#fff;
  font-size:25px;font-weight:900
}
.route-summary>span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#f05b16}
.route-summary h4{margin:4px 0 9px;font-size:22px;color:var(--blue)}
.route-summary p{margin:9px 0 0;font-size:13px;color:var(--text-muted)}
.route-stats{display:flex;flex-wrap:wrap;gap:8px 16px}
.route-stats strong{color:var(--blue)}
.route-stats span{color:var(--text-muted)}
.route-directions{white-space:nowrap}
.route-map-frame{margin-top:18px;border-radius:22px;overflow:hidden;border:1px solid rgba(11,44,104,.1);background:#fff}
.route-map-frame iframe{width:100%;height:360px;border:0;display:block}

@media(max-width:900px){
  .interactive-island-layout{grid-template-columns:1fr}
  .interactive-island{width:min(100%,360px)}
  .route-detail-card{grid-template-columns:auto 1fr}
  .route-directions{grid-column:1/-1;text-align:center;justify-content:center}
}
@media(max-width:640px){
  .travel-access-panel{padding:20px;border-radius:22px}
  .route-heading h3{font-size:25px}
  .route-choice{width:100%}
  .route-detail-card{grid-template-columns:1fr;text-align:left}
  .route-icon{width:46px;height:46px}
  .route-directions{width:100%}
  .route-map-frame iframe{height:300px}
  .district-information{padding:20px}
}


/* =========================================================
   TRUE SRI LANKA 25-DISTRICT BOUNDARY MAP
   ========================================================= */
.true-boundary-card{
  overflow:visible;
}
.true-district-map-layout{
  display:grid;
  grid-template-columns:minmax(330px,1.05fr) minmax(285px,.95fr);
  gap:30px;
  align-items:start;
  margin-top:24px;
}
.true-district-map-panel{
  min-width:0;
}
.true-district-map{
  position:relative;
  width:100%;
  min-height:650px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  border-radius:26px;
  background:
    radial-gradient(circle at 50% 30%,rgba(255,255,255,.98),rgba(228,240,242,.92));
  border:1px solid rgba(11,44,104,.10);
  box-shadow:0 18px 46px rgba(11,44,104,.10);
  overflow:hidden;
}
.true-district-map svg{
  display:block;
  width:100%;
  height:auto;
  max-width:560px;
  max-height:700px;
  filter:drop-shadow(0 12px 18px rgba(11,44,104,.14));
}
.true-district-map svg path{
  fill:#dcebed;
  stroke:#ffffff;
  stroke-width:1.5;
  vector-effect:non-scaling-stroke;
  cursor:pointer;
  transition:fill .18s ease,filter .18s ease,transform .18s ease;
  transform-box:fill-box;
  transform-origin:center;
  outline:none;
}
.true-district-map svg path:hover,
.true-district-map svg path:focus-visible{
  fill:#8ebdc5;
  filter:brightness(1.02);
}
.true-district-map svg path.map-selected{
  fill:#176979;
  filter:drop-shadow(0 3px 4px rgba(11,44,104,.22));
}
.true-district-map svg path.map-kurunegala{
  fill:#f05b16;
}
.true-district-map svg path.map-kurunegala:hover,
.true-district-map svg path.map-kurunegala:focus-visible,
.true-district-map svg path.map-kurunegala.map-selected{
  fill:#d94e11;
}
.district-map-loading{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  color:var(--blue);
}
.map-loading-spinner{
  width:36px;
  height:36px;
  border:4px solid rgba(11,44,104,.16);
  border-top-color:#f05b16;
  border-radius:50%;
  animation:districtMapSpin .8s linear infinite;
}
@keyframes districtMapSpin{to{transform:rotate(360deg)}}
.district-map-error{
  max-width:420px;
  text-align:center;
  color:var(--text-muted);
  line-height:1.65;
}
.map-source-note{
  margin:10px 0 0;
  text-align:center;
  color:var(--text-muted);
  font-size:11px;
}
.district-map-sidebar{
  display:grid;
  gap:18px;
  position:sticky;
  top:120px;
}
.district-index{
  background:#fff;
  border:1px solid rgba(11,44,104,.09);
  border-radius:22px;
  padding:22px;
  box-shadow:0 14px 35px rgba(11,44,104,.07);
}
.district-index-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:12px;
}
.district-index-button{
  appearance:none;
  border:1px solid rgba(11,44,104,.11);
  border-radius:9px;
  background:#f7fafb;
  color:#24445f;
  padding:8px 9px;
  font-size:11px;
  font-weight:750;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.district-index-button:hover,
.district-index-button:focus-visible{
  border-color:#176979;
  background:#edf6f7;
  color:#0b2c68;
}
.district-index-button.active{
  border-color:#176979;
  background:#176979;
  color:#fff;
}
.district-index-button[data-district-select="Kurunegala"]{
  border-color:rgba(240,91,22,.45);
}
.district-index-button[data-district-select="Kurunegala"].active{
  background:#f05b16;
  border-color:#f05b16;
}
.key-dot.selected-map{background:#176979}

@media(max-width:980px){
  .true-district-map-layout{grid-template-columns:1fr}
  .district-map-sidebar{position:static}
  .true-district-map{min-height:600px}
}
@media(max-width:640px){
  .true-district-map{
    min-height:510px;
    padding:12px;
    border-radius:20px;
  }
  .true-district-map svg{
    max-height:570px;
  }
  .district-index-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:390px){
  .district-index-grid{grid-template-columns:1fr}
  .true-district-map{min-height:470px}
}


/* =========================================================
   INTEGRATED KURUNEGALA LOCAL FOCUS WITHIN MAIN SRI LANKA MAP
   ========================================================= */
.integrated-local-focus{
  display:grid;
  gap:16px;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(145deg,#fff8f2,#ffffff);
  border:1px solid rgba(240,91,22,.18);
  box-shadow:0 14px 34px rgba(11,44,104,.07);
  animation:localFocusReveal .28s ease;
}
.integrated-local-focus[hidden]{
  display:none !important;
}
@keyframes localFocusReveal{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
.integrated-focus-heading h4{
  margin:4px 0 7px;
  color:var(--blue);
  font-size:22px;
}
.integrated-focus-heading p{
  margin:0;
  color:var(--text-muted);
  font-size:13px;
  line-height:1.6;
}
.integrated-kurunegala-map{
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(11,44,104,.08);
}
.compact-kurunegala-map{
  width:100%;
  height:auto;
  display:block;
  min-height:285px;
}
.integrated-location-detail{
  padding:16px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(11,44,104,.08);
}
.integrated-location-detail h5{
  margin:4px 0 7px;
  color:var(--blue);
  font-size:20px;
}
.integrated-location-detail p{
  margin:0;
  color:var(--text-muted);
  line-height:1.6;
  font-size:13px;
}
.integrated-location-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}
.integrated-location-buttons button{
  border:1px solid rgba(11,44,104,.13);
  background:#f7fafb;
  color:var(--blue);
  border-radius:999px;
  padding:8px 10px;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
.integrated-location-buttons button:hover,
.integrated-location-buttons button:focus-visible{
  border-color:#f05b16;
  background:#fff3ec;
}
.integrated-location-buttons button.active{
  color:#fff;
  background:#f05b16;
  border-color:#f05b16;
}
.integrated-local-focus .district-pin{
  cursor:pointer;
}
.integrated-local-focus .district-pin.active .pin-ring{
  stroke:#f05b16;
  stroke-width:5;
}
.integrated-local-focus .district-pin.active .pin-dot{
  fill:#f05b16;
}
@media(max-width:980px){
  .integrated-local-focus{
    order:2;
  }
}
@media(max-width:640px){
  .integrated-local-focus{padding:15px}
  .compact-kurunegala-map{min-height:240px}
  .integrated-location-buttons button{
    flex:1 1 calc(50% - 7px);
    text-align:center;
  }
}


/* KURUNEGALA CLICK-TO-REVEAL FIX */
.integrated-local-focus.is-open{
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
}
.integrated-local-focus.is-open .integrated-kurunegala-map,
.integrated-local-focus.is-open .integrated-location-detail{
  visibility:visible !important;
  opacity:1 !important;
}
.true-district-map svg path.map-kurunegala{
  pointer-events:all !important;
  cursor:pointer !important;
}


/* =========================================================
   KURUNEGALA EXPANDS INSIDE THE MAIN DISTRICT MAP
   ========================================================= */
.true-district-map-layout{
  grid-template-columns:minmax(0,1fr) !important;
  gap:18px !important;
}
.true-district-map-panel{
  width:100%;
}
.district-map-sidebar{
  position:static !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  width:100%;
}
.true-district-map{
  width:100% !important;
  max-width:none !important;
  min-height:680px;
  overflow:hidden;
}
.kurunegala-inmap-overlay{
  position:absolute;
  inset:18px;
  z-index:20;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:14px;
  padding:22px;
  border-radius:24px;
  background:rgba(255,255,255,.98);
  border:2px solid rgba(240,91,22,.35);
  box-shadow:0 26px 70px rgba(11,44,104,.22);
  backdrop-filter:blur(6px);
}
.kurunegala-inmap-overlay[hidden]{
  display:none !important;
}
.close-kurunegala-overlay{
  position:absolute;
  right:14px;
  top:12px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#0b2c68;
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.inmap-overlay-heading{
  padding-right:46px;
}
.inmap-overlay-heading h4{
  margin:4px 0 6px;
  color:var(--blue);
  font-size:26px;
}
.inmap-overlay-heading p{
  margin:0;
  color:var(--text-muted);
}
.inmap-expanded-map{
  min-height:0;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(145deg,#fff8f2,#f6fbfb);
  border:1px solid rgba(11,44,104,.08);
  overflow:hidden;
}
.inmap-expanded-map svg{
  width:100%;
  height:100%;
  max-height:430px;
  display:block;
}
.expanded-district-shape{
  fill:url(#expandedDistrictFill);
  stroke:#f05b16;
  stroke-width:5;
}
.expanded-river-line{
  fill:none;
  stroke:#4ba3b6;
  stroke-width:7;
  stroke-linecap:round;
  opacity:.55;
}
.expanded-road-line{
  fill:none;
  stroke:#0b2c68;
  stroke-width:5;
  stroke-linecap:round;
  opacity:.36;
}
.expanded-road-line.secondary{
  stroke-dasharray:10 10;
}
.inmap-city-pin{
  cursor:pointer;
}
.city-ring{
  fill:#fff;
  stroke:#0b2c68;
  stroke-width:4;
}
.city-dot{
  fill:#0b2c68;
}
.inmap-city-pin.active .city-ring{
  stroke:#f05b16;
  stroke-width:6;
}
.inmap-city-pin.active .city-dot{
  fill:#f05b16;
}
.inmap-city-pin text{
  font-size:16px;
  font-weight:800;
  fill:#0b2c68;
  pointer-events:none;
}
.inmap-city-pin .city-subtitle{
  font-size:11px;
  fill:#f05b16;
}
.inmap-location-panel{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(11,44,104,.09);
}
.inmap-location-panel h5{
  margin:4px 0 5px;
  color:var(--blue);
  font-size:21px;
}
.inmap-location-panel p{
  margin:0;
  color:var(--text-muted);
  font-size:13px;
}
@media(max-width:900px){
  .district-map-sidebar{
    grid-template-columns:1fr;
  }
  .kurunegala-inmap-overlay{
    inset:10px;
    padding:16px;
  }
  .inmap-location-panel{
    grid-template-columns:1fr;
  }
  .inmap-directions-actions .btn{
    width:100%;
    justify-content:center;
  }
}
@media(max-width:640px){
  .true-district-map{
    min-height:620px;
  }
  .kurunegala-inmap-overlay{
    grid-template-rows:auto 1fr auto;
  }
  .inmap-overlay-heading h4{
    font-size:22px;
  }
  .inmap-expanded-map svg{
    max-height:360px;
  }
}

.integrated-local-focus{display:none !important}


/* =========================================================
   FINAL NATIONAL CONTEXT WIDTH + KURUNEGALA INTERACTION FIX
   ========================================================= */
.where-we-work .map-story-grid,
.map-story-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  width:100% !important;
  max-width:none !important;
  gap:24px !important;
}

.map-story-card.national-map-card,
.national-map-card,
.true-boundary-card{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

.true-district-map-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  width:100% !important;
  max-width:none !important;
}

.true-district-map-panel,
.true-district-map{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

.true-district-map{
  position:relative !important;
  min-height:720px !important;
}

.district-map-sidebar{
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

.kurunegala-inmap-overlay{
  z-index:100 !important;
  pointer-events:auto !important;
}

.kurunegala-inmap-overlay:not([hidden]){
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
}

@media(max-width:900px){
  .district-map-sidebar{
    grid-template-columns:minmax(0,1fr) !important;
  }
}


/* =========================================================
   ALL-DEVICE ACCESSIBILITY AND LAPTOP RESPONSIVE FIX
   ========================================================= */
.true-district-map{
  min-height:clamp(560px,72vh,780px) !important;
  padding:clamp(12px,2vw,24px) !important;
}

.open-kurunegala-map{
  position:absolute;
  z-index:8;
  right:18px;
  bottom:18px;
  border:0;
  border-radius:999px;
  padding:12px 18px;
  background:#f05b16;
  color:#fff;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(11,44,104,.22);
}
.open-kurunegala-map:hover,
.open-kurunegala-map:focus-visible{
  background:#d94e11;
  transform:translateY(-1px);
}

.kurunegala-inmap-overlay{
  inset:clamp(8px,1.6vw,20px) !important;
  max-height:calc(100% - clamp(16px,3.2vw,40px)) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  grid-template-rows:auto minmax(300px,1fr) auto !important;
}

.kurunegala-inmap-overlay.is-open{
  display:grid !important;
}

.inmap-expanded-map{
  min-height:300px !important;
}

.inmap-expanded-map svg{
  width:100% !important;
  height:auto !important;
  max-height:430px !important;
  min-height:280px;
}

.inmap-city-pin{
  outline:none;
}
.inmap-city-pin:focus-visible .city-ring{
  stroke:#f05b16;
  stroke-width:7;
}

@media (min-width:1024px) and (max-height:820px){
  .true-district-map{
    min-height:620px !important;
  }
  .kurunegala-inmap-overlay{
    grid-template-rows:auto minmax(250px,1fr) auto !important;
    padding:18px !important;
  }
  .inmap-expanded-map{
    min-height:250px !important;
  }
  .inmap-expanded-map svg{
    max-height:330px !important;
  }
  .inmap-overlay-heading h4{
    font-size:22px !important;
  }
}

@media (min-width:641px) and (max-width:1100px){
  .true-district-map{
    min-height:650px !important;
  }
  .district-map-sidebar{
    grid-template-columns:1fr !important;
  }
  .kurunegala-inmap-overlay{
    padding:18px !important;
  }
}

@media (max-width:640px){
  .true-district-map{
    min-height:610px !important;
  }
  .open-kurunegala-map{
    left:12px;
    right:12px;
    bottom:12px;
    width:calc(100% - 24px);
  }
  .kurunegala-inmap-overlay{
    inset:6px !important;
    padding:14px !important;
    border-radius:18px !important;
    grid-template-rows:auto minmax(260px,1fr) auto !important;
  }
  .inmap-expanded-map{
    min-height:260px !important;
  }
  .inmap-expanded-map svg{
    min-height:250px !important;
    max-height:340px !important;
  }
  .inmap-location-panel{
    padding:13px !important;
  }
  .close-kurunegala-overlay{
    position:sticky !important;
    top:0 !important;
    margin-left:auto;
    z-index:3;
  }
}

@media (prefers-reduced-motion:reduce){
  .kurunegala-inmap-overlay,
  .open-kurunegala-map{
    scroll-behavior:auto !important;
    transition:none !important;
    animation:none !important;
  }
}

/* Administrative headquarters and expanded collaboration — 30 July 2026 */
.monk-photo-caption{background:#fff;border-radius:0 0 22px 22px;padding:22px 24px;box-shadow:var(--shadow);border-top:4px solid var(--orange)}
.monk-photo-caption h3{font-family:"Playfair Display",serif;color:var(--navy);font-size:25px;line-height:1.2;margin:0 0 5px}
.monk-photo-caption p{margin:0!important;color:var(--orange)!important;font-size:14px!important;font-weight:800}
.collaboration-image img{border-radius:24px 24px 0 0}
.detailed-profile ul{padding-left:21px;margin:16px 0 20px}
.detailed-profile li{margin:10px 0;color:#4d5962;font-size:16px;line-height:1.65}
.headquarters-section{background:linear-gradient(180deg,#eef6f7 0%,#fbf8f2 100%)}
.headquarters-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:60px;align-items:start}
.headquarters-copy h2{font-family:"Playfair Display",serif;color:var(--navy);font-size:clamp(38px,5vw,58px);line-height:1.08;margin:12px 0 20px}
.headquarters-lead{font-size:19px;color:#465760;line-height:1.8;max-width:780px}
.history-card{margin-top:32px;background:#fff;padding:34px;border-radius:22px;box-shadow:var(--shadow);border-left:5px solid var(--orange)}
.history-card h3{font-family:"Playfair Display",serif;color:var(--navy);font-size:28px;margin:0 0 15px}
.history-card p{color:#53616a;font-size:16px;line-height:1.8;margin:0 0 15px}
.headquarters-details{display:grid;gap:13px;margin-top:22px}
.headquarters-details article{display:grid;grid-template-columns:130px 1fr;gap:18px;background:rgba(255,255,255,.75);border:1px solid rgba(11,44,104,.09);border-radius:15px;padding:18px}
.headquarters-details span{color:var(--orange);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.headquarters-details strong{color:var(--navy);font-size:15px;line-height:1.55}
.headquarters-visuals{position:sticky;top:130px}
.headquarters-main-image{margin:0;background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.headquarters-main-image img{height:465px;object-fit:cover}
.headquarters-main-image figcaption{position:static;background:#fff;color:var(--navy);padding:18px 20px;font-weight:800}
.headquarters-gallery-mini{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.headquarters-gallery-mini img{height:185px;object-fit:cover;border-radius:18px;box-shadow:0 12px 28px rgba(11,44,104,.12)}
.headquarters-map-link{margin-top:18px;width:100%;justify-content:center}
body.dark-mode .headquarters-section{background:linear-gradient(180deg,#101b24,#0d171f)}
body.dark-mode .history-card,body.dark-mode .monk-photo-caption,body.dark-mode .headquarters-main-image,body.dark-mode .headquarters-details article{background:#13212c}
body.dark-mode .history-card p,body.dark-mode .detailed-profile li,body.dark-mode .headquarters-lead{color:#c0ccd1}
body.dark-mode .monk-photo-caption h3,body.dark-mode .headquarters-details strong,body.dark-mode .headquarters-main-image figcaption{color:#f3f7f8;background:#13212c}
@media(max-width:980px){.headquarters-layout{grid-template-columns:1fr}.headquarters-visuals{position:static}.headquarters-main-image img{height:430px}}
@media(max-width:640px){.headquarters-layout{gap:34px}.history-card{padding:24px}.headquarters-details article{grid-template-columns:1fr;gap:7px}.headquarters-main-image img{height:320px}.headquarters-gallery-mini img{height:145px}.monk-photo-caption h3{font-size:22px}}


/* Merged Institutional Collaboration and Administrative Headquarters — 30 July 2026 */
.collaboration-headquarters-merged{
  background:linear-gradient(135deg,#fff9f4 0%,#f3f8f8 100%);
}
.merged-section-heading{
  max-width:900px;
  margin:0 auto 46px;
  text-align:center;
}
.merged-section-heading h2{
  color:var(--navy);
  margin:12px 0 18px;
}
.merged-section-heading p{
  max-width:820px;
  margin:0 auto;
  font-size:18px;
  color:#53616a;
}
.merged-collaboration-layout{
  display:grid;
  grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr);
  gap:0;
  align-items:stretch;
  overflow:hidden;
  border-radius:26px;
  background:#fff;
  box-shadow:0 24px 70px rgba(11,44,104,.14);
  border:1px solid rgba(11,44,104,.08);
}
.merged-monk-panel{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border-right:1px solid rgba(11,44,104,.10);
}
.merged-monk-panel>img{
  width:100%;
  height:100%;
  min-height:690px;
  object-fit:cover;
  object-position:center center;
  border-radius:0!important;
}
.merged-monk-caption{
  padding:22px 24px 24px;
  border-top:4px solid var(--orange);
  background:#fff;
}
.merged-monk-caption h3{
  margin:0 0 6px;
  color:var(--navy);
  font-family:"Playfair Display",serif;
  font-size:26px;
  line-height:1.2;
}
.merged-monk-caption p{
  margin:0;
  color:var(--orange)!important;
  font-size:14px!important;
  font-weight:800;
}
.merged-content-panel{
  display:grid;
  grid-template-rows:auto 1fr;
  min-width:0;
}
.merged-profile-block,
.merged-headquarters-block{
  padding:38px 42px;
}
.merged-profile-block{
  border-bottom:1px solid rgba(11,44,104,.10);
  background:#fff;
}
.merged-profile-block h3,
.merged-headquarters-block h3{
  margin:0 0 16px;
  color:var(--navy);
  font-family:"Playfair Display",serif;
  font-size:29px;
  line-height:1.2;
}
.merged-profile-block ul{
  margin:0 0 18px;
  padding-left:21px;
}
.merged-profile-block li{
  margin:9px 0;
  color:#4d5962;
  font-size:16px;
  line-height:1.6;
}
.merged-profile-block li::marker{color:var(--orange)}
.merged-profile-block p,
.merged-headquarters-block p{
  color:#53616a;
  font-size:16px;
  line-height:1.75;
  margin:0 0 15px;
}
.merged-headquarters-block{
  background:linear-gradient(145deg,#f8fbfb,#fff8f2);
}
.merged-detail-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:11px;
  margin:24px 0 20px;
}
.merged-detail-grid article{
  display:grid;
  grid-template-columns:125px 1fr;
  gap:16px;
  padding:15px 17px;
  border-radius:14px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(11,44,104,.08);
}
.merged-detail-grid span{
  color:var(--orange);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.merged-detail-grid strong{
  color:var(--navy);
  font-size:14px;
  line-height:1.5;
}
.merged-map-link{margin-top:2px}
body.dark-mode .collaboration-headquarters-merged{background:linear-gradient(135deg,#0e1820,#111f29)}
body.dark-mode .merged-collaboration-layout,
body.dark-mode .merged-monk-panel,
body.dark-mode .merged-monk-caption,
body.dark-mode .merged-profile-block{background:#13212c}
body.dark-mode .merged-headquarters-block{background:linear-gradient(145deg,#14232d,#18242b)}
body.dark-mode .merged-section-heading p,
body.dark-mode .merged-profile-block p,
body.dark-mode .merged-profile-block li,
body.dark-mode .merged-headquarters-block p{color:#c0ccd1}
body.dark-mode .merged-monk-caption h3,
body.dark-mode .merged-profile-block h3,
body.dark-mode .merged-headquarters-block h3,
body.dark-mode .merged-detail-grid strong{color:#f3f7f8}
body.dark-mode .merged-detail-grid article{background:#182833}
@media(max-width:980px){
  .merged-collaboration-layout{grid-template-columns:1fr}
  .merged-monk-panel{border-right:0;border-bottom:1px solid rgba(11,44,104,.10)}
  .merged-monk-panel>img{height:590px;min-height:0;object-position:center 25%}
}
@media(max-width:640px){
  .merged-section-heading{margin-bottom:30px;text-align:left}
  .merged-section-heading p{font-size:16px}
  .merged-collaboration-layout{border-radius:20px}
  .merged-monk-panel>img{height:390px;object-position:center center}
  .merged-monk-caption{padding:18px}
  .merged-monk-caption h3{font-size:22px}
  .merged-profile-block,.merged-headquarters-block{padding:26px 20px}
  .merged-profile-block h3,.merged-headquarters-block h3{font-size:25px}
  .merged-detail-grid article{grid-template-columns:1fr;gap:5px}
}

/* Full, clear monk portrait refinement — 30 July 2026 */
.collaboration-headquarters-merged{
  background:linear-gradient(135deg,#f7fbfc 0%,#fff8f1 100%);
}
.merged-collaboration-layout{
  grid-template-columns:minmax(390px,.92fr) minmax(0,1.08fr);
  align-items:start;
  overflow:visible;
  padding:22px;
  gap:26px;
  border-radius:28px;
}
.merged-monk-panel{
  border-right:0;
  border-radius:20px;
  overflow:hidden;
  align-self:start;
  box-shadow:0 15px 42px rgba(11,44,104,.12);
  border:1px solid rgba(11,44,104,.08);
}
.merged-monk-panel>img{
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:14/9;
  object-fit:contain;
  object-position:center;
  background:#f7f5f1;
  border-radius:0!important;
  filter:contrast(1.025) saturate(1.015);
}
.merged-monk-caption{
  padding:22px 24px 23px;
}
.merged-content-panel{
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(11,44,104,.08);
  box-shadow:0 15px 42px rgba(11,44,104,.08);
}
.merged-profile-block,.merged-headquarters-block{
  padding:34px 36px;
}
@media(max-width:980px){
  .merged-collaboration-layout{grid-template-columns:1fr;padding:18px;gap:20px}
  .merged-monk-panel>img{height:auto;min-height:0;aspect-ratio:14/9;object-fit:contain;object-position:center}
  .merged-monk-panel{border-bottom:0}
}
@media(max-width:640px){
  .merged-collaboration-layout{padding:10px;gap:14px;border-radius:18px}
  .merged-monk-panel>img{height:auto;aspect-ratio:14/9;object-fit:contain}
  .merged-monk-caption{padding:16px 17px}
  .merged-profile-block,.merged-headquarters-block{padding:24px 18px}
}
