/* ==========================================================================
   dswd-public-enhance.css — AyudaGO public website enhancements
   Loaded last (after page-level <style> blocks) so it can override them.

   Contains:
     1.  Top-bar info button + auto-showing info panel
     2.  Brand logo zoom + roll tap animation
     3.  Hero image slideshow (replaces flat blue / "+" pattern backgrounds)
     4.  Floating emergency hotline button + popup
     5.  Floating cookie button + cookie consent + privacy policy modal
     6.  Government seal in footer / attached agencies
     7.  Global high-contrast + text-size hardening (accessibility widget)
   ========================================================================== */

/* ── 1. INFO BUTTON + PANEL ─────────────────────────────────────────────── */
/* The button sits inline in the GovPH strip, immediately after the
   dswd.gov.ph link. The anchor span is the positioning context for the
   drop-down panel. */
.dswd-info-anchor{position:relative;display:inline-flex;margin-left:9px;vertical-align:middle;}
.dswd-govstrip .gp-right{display:inline-flex;align-items:center;gap:6px;}
.dswd-info-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  /* Fixed 22px circle. flex:0 0 auto stops the govstrip's flex row from
     shrinking it into an oval; aspect-ratio holds the shape if anything
     else tries to set a height. */
  width:22px;min-width:22px;height:22px;min-height:22px;
  flex:0 0 auto;aspect-ratio:1/1;
  border-radius:50%;border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.12);color:#fff;font-size:10px;cursor:pointer;line-height:1;
  padding:0;
  transition:background .2s,transform .2s,box-shadow .2s;padding:0;
}
.dswd-info-btn:hover{background:rgba(255,255,255,.2);transform:scale(1.08);}
.dswd-info-btn:focus-visible{outline:3px solid #fcd116;outline-offset:2px;}
.dswd-info-btn.is-open{background:#fcd116;color:#0b2545;border-color:#fcd116;}

.dswd-info-panel{
  position:absolute;top:calc(100% + 12px);right:0;z-index:1200;
  width:min(320px,calc(100vw - 28px));
  background:#fff;color:#17212e;border-radius:12px;
  box-shadow:0 18px 46px rgba(0,0,0,.28);border:1px solid #dde3ed;
  padding:14px 16px;font-size:12.5px;line-height:1.7;
  opacity:0;visibility:hidden;transform:translateY(-8px) scale(.97);
  transition:opacity .25s ease,transform .25s ease,visibility .25s;
  text-align:left;
}
.dswd-info-panel.show{opacity:1;visibility:visible;transform:none;}

/* Once the script moves the panel onto <body> it is positioned against the
   button's screen coordinates instead of its old parent, so it can no longer
   be hidden behind the sticky navigation bar. z-index sits above every
   floating control (a11y 1070, modals 1095) but below the arrival splash. */
.dswd-info-panel.is-portal{
  position:fixed;
  z-index:2600;
}
.dswd-info-panel::before{
  content:"";position:absolute;top:-7px;right:var(--ip-arrow,4px);width:13px;height:13px;
  background:#fff;border-left:1px solid #dde3ed;border-top:1px solid #dde3ed;
  transform:rotate(45deg);
}
.dswd-info-panel .ip-head{
  font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:#1a6e4e;margin-bottom:9px;display:flex;align-items:center;gap:6px;
}
.dswd-info-panel .ip-row{display:flex;gap:9px;align-items:flex-start;padding:5px 0;}
.dswd-info-panel .ip-row i{color:#1a6e4e;width:15px;margin-top:3px;flex-shrink:0;font-size:12px;}
.dswd-info-panel .ip-row a{color:#0b2545;font-weight:600;}
.dswd-info-panel .ip-row a:hover{color:#1a6e4e;text-decoration:underline;}
.dswd-info-panel .ip-open{
  display:inline-flex;align-items:center;gap:6px;margin-top:8px;
  background:#e9f7f0;color:#1a6e4e;border-radius:20px;padding:3px 12px;
  font-size:11px;font-weight:700;
}
.dswd-info-panel .ip-open .dot{width:7px;height:7px;border-radius:50%;background:#22c55e;}
.dswd-info-panel .ip-close{
  position:absolute;top:8px;right:9px;background:none;border:none;color:#8896a8;
  font-size:13px;cursor:pointer;line-height:1;padding:4px;border-radius:5px;
}
.dswd-info-panel .ip-close:hover{background:#f0f3f8;color:#17212e;}

/* ── 2. LOGO ZOOM + ROLL ────────────────────────────────────────────────── */
/* Tapping the seal lifts a copy of it into the middle of the screen at a size
   you can actually see, spins it, and settles. The original stays where it is
   so the header doesn't collapse while the animation runs. */
.brand-logo .brand-icon,.dswd-rollable{transition:transform .25s ease;cursor:pointer;}
.brand-logo .brand-icon:active,.dswd-rollable:active{transform:scale(.94);}

.dswd-logo-stage{
  position:fixed;inset:0;z-index:2000;
  display:flex;align-items:center;justify-content:center;
  background:rgba(6,15,30,.55);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  opacity:0;pointer-events:none;
  transition:opacity .28s ease;
}
.dswd-logo-stage.show{opacity:1;}

.dswd-logo-stage img{
  /* Big: most of the shorter viewport edge, capped so it stays circular
     and doesn't overflow on a wide desktop. */
  width:min(58vmin,420px);
  height:min(58vmin,420px);
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 0 0 8px rgba(252,209,22,.85),0 30px 90px rgba(0,0,0,.55);
  animation:dswdLogoBigRoll 1.5s cubic-bezier(.22,.9,.28,1.02) both;
  will-change:transform,opacity;
}

@keyframes dswdLogoBigRoll{
  0%   {transform:scale(.12) rotate(0deg);   opacity:0;}
  18%  {transform:scale(1.06) rotate(180deg);opacity:1;}
  55%  {transform:scale(1) rotate(540deg);   opacity:1;}
  82%  {transform:scale(1) rotate(720deg);   opacity:1;}
  100% {transform:scale(.9) rotate(720deg);  opacity:0;}
}

.dswd-logo-stage .dswd-logo-caption{
  position:absolute;left:0;right:0;
  bottom:max(9vh,70px);
  text-align:center;color:#fff;
  font-size:clamp(13px,2.2vw,17px);font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;text-shadow:0 2px 14px rgba(0,0,0,.6);
  opacity:0;animation:dswdCaptionIn .5s .35s ease both;
}
@keyframes dswdCaptionIn{from{opacity:0;transform:translateY(10px);}to{opacity:.92;transform:none;}}

@media (prefers-reduced-motion:reduce){
  .dswd-logo-stage img{animation:none;opacity:1;transform:none;}
  .dswd-logo-stage .dswd-logo-caption{animation:none;opacity:.92;}
}

/* ── 3. HERO SLIDESHOW ──────────────────────────────────────────────────── */
/* Kill the flat blue mat and the blue "+" pattern overlays on every hero. */
.hero::before,.page-hero::before{background:none!important;background-image:none!important;}
.hero,.page-hero{background-color:#061426!important;background-image:none!important;}

.hero>.dswd-hero-slides,.page-hero>.dswd-hero-slides,
.dswd-hero-slides{
  position:absolute!important;inset:0;z-index:0!important;
  overflow:hidden;pointer-events:none;
}
.dswd-hero-slide{
  position:absolute;inset:0;background-size:cover;background-position:center;
  background-color:#0b2545;background-repeat:no-repeat;
  opacity:0;transform:scale(1.06);
  transition:opacity 1.4s ease-in-out,transform 7s linear;
}
.dswd-hero-slide.active{opacity:1;transform:scale(1);}
.hero>.dswd-hero-scrim,.page-hero>.dswd-hero-scrim,
.dswd-hero-scrim{
  position:absolute!important;inset:0;z-index:1!important;pointer-events:none;
  background:linear-gradient(120deg,rgba(4,15,32,.90) 0%,rgba(11,37,69,.82) 45%,rgba(13,61,40,.80) 100%);
}
/* Lift the real hero content above the photo layer — but never the photo
   layer, the scrim or the dots, which position themselves. */
.hero>*:not(.dswd-hero-slides):not(.dswd-hero-scrim):not(.dswd-hero-dots),
.page-hero>*:not(.dswd-hero-slides):not(.dswd-hero-scrim):not(.dswd-hero-dots){
  position:relative;z-index:2;
}
/* A hero that only ever sized itself from padding needs a floor, otherwise
   an absolutely-positioned photo layer has nothing to fill. */
.hero,.page-hero{min-height:420px;}
.hero>.dswd-hero-dots,.page-hero>.dswd-hero-dots,
.dswd-hero-dots{
  position:absolute!important;bottom:18px;left:50%;transform:translateX(-50%);
  z-index:3!important;display:flex;gap:8px;
}
.dswd-hero-dots button{
  /* Round, and staying round: min-width/min-height and aspect-ratio together
     survive any blanket button sizing declared elsewhere. */
  width:10px;height:10px;min-width:10px;min-height:10px;
  flex:0 0 auto;aspect-ratio:1/1;
  padding:0;border-radius:50%;cursor:pointer;
  border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.28);
  transition:background .2s,transform .2s,box-shadow .2s;
}
.dswd-hero-dots button.on{
  background:#fcd116;border-color:#fcd116;
  transform:scale(1.45);
  box-shadow:0 0 0 3px rgba(252,209,22,.28);
}

/* ── 4. FLOATING EMERGENCY BUTTON ───────────────────────────────────────── */
.dswd-emg-fab{
  position:fixed;left:20px;bottom:20px;z-index:1065;
  width:58px;height:58px;border-radius:50%;border:none;cursor:pointer;
  background:linear-gradient(135deg,#b91c1c,#dc2626);color:#fff;font-size:1.35rem;
  box-shadow:0 10px 30px rgba(185,28,28,.5);
  display:flex;align-items:center;justify-content:center;
  animation:dswdEmgPulse 2.2s ease-in-out infinite;
}
.dswd-emg-fab:focus-visible{outline:3px solid #fcd116;outline-offset:3px;}
@keyframes dswdEmgPulse{
  0%,100%{box-shadow:0 10px 30px rgba(185,28,28,.5),0 0 0 0 rgba(220,38,38,.55);}
  60%    {box-shadow:0 10px 30px rgba(185,28,28,.5),0 0 0 16px rgba(220,38,38,0);}
}
.dswd-emg-pop{
  position:fixed;left:20px;bottom:88px;z-index:1066;
  width:min(320px,calc(100vw - 40px));
  background:linear-gradient(135deg,#7f1d1d,#991b1b);color:#fff;
  border-radius:14px;padding:18px 20px;box-shadow:0 20px 50px rgba(0,0,0,.4);
  opacity:0;visibility:hidden;transform:translateY(14px) scale(.96);
  transition:opacity .25s,transform .25s,visibility .25s;
}
.dswd-emg-pop.show{opacity:1;visibility:visible;transform:none;}
.dswd-emg-pop h6{font-size:14.5px;font-weight:800;margin:0 0 4px;color:#fff;}
.dswd-emg-pop p{font-size:12.5px;opacity:.85;margin:0 0 12px;line-height:1.6;}
.dswd-emg-pop .emg-phone{
  display:flex;align-items:center;gap:9px;font-size:19px;font-weight:800;color:#fff;
  margin-bottom:12px;
}
.dswd-emg-pop .emg-phone:hover{color:#fcd116;}
.dswd-emg-pop .emg-more{
  display:inline-block;background:rgba(255,255,255,.2);color:#fff;
  padding:7px 16px;border-radius:7px;font-size:12.5px;font-weight:700;
}
.dswd-emg-pop .emg-more:hover{background:rgba(255,255,255,.32);color:#fff;}
.dswd-emg-pop .emg-close{
  position:absolute;top:8px;right:10px;background:none;border:none;color:rgba(255,255,255,.7);
  font-size:14px;cursor:pointer;padding:4px;line-height:1;
}
.dswd-emg-pop .emg-close:hover{color:#fff;}

/* ── 5. COOKIES + PRIVACY ───────────────────────────────────────────────── */
.dswd-cookie-fab{
  position:fixed;left:20px;bottom:88px;z-index:1064;
  width:46px;height:46px;border-radius:50%;border:1.5px solid #dde3ed;cursor:pointer;
  background:#fff;color:#0b2545;font-size:1.05rem;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
  display:flex;align-items:center;justify-content:center;transition:transform .2s;
}
.dswd-cookie-fab:hover{transform:translateY(-3px) rotate(-12deg);}
.dswd-cookie-fab:focus-visible{outline:3px solid #1a6e4e;outline-offset:2px;}
body.dswd-emg-open .dswd-cookie-fab{opacity:0;visibility:hidden;}

.dswd-cookie-banner{
  position:fixed;right:20px;bottom:20px;z-index:1067;
  width:min(400px,calc(100vw - 40px));background:#fff;border:1px solid #dde3ed;
  border-radius:14px;box-shadow:0 22px 55px rgba(0,0,0,.28);padding:20px 22px;
  opacity:0;visibility:hidden;transform:translateY(16px);
  transition:opacity .3s,transform .3s,visibility .3s;
}
.dswd-cookie-banner.show{opacity:1;visibility:visible;transform:none;}
.dswd-cookie-banner h6{font-size:14.5px;font-weight:800;color:#0b2545;margin:0 0 6px;}
.dswd-cookie-banner p{font-size:12.5px;color:#5b6b80;line-height:1.7;margin:0 0 14px;}
.dswd-cookie-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 0;border-top:1px solid #eef1f7;font-size:12.5px;color:#17212e;
}
.dswd-cookie-row small{display:block;color:#8896a8;font-size:11px;font-weight:400;}
.dswd-cookie-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;}
.dswd-cookie-actions button{
  flex:1;min-width:110px;border-radius:8px;padding:9px 14px;font-size:12.5px;
  font-weight:700;cursor:pointer;border:1.5px solid transparent;transition:.18s;
}
.dswd-btn-accept{background:#1a6e4e;color:#fff;}
.dswd-btn-accept:hover{background:#145e41;}
.dswd-btn-reject{background:#fff;color:#0b2545;border-color:#dde3ed!important;}
.dswd-btn-reject:hover{background:#f0f3f8;}

.dswd-modal{
  position:fixed;inset:0;z-index:1090;background:rgba(6,15,30,.72);
  display:flex;align-items:center;justify-content:center;padding:22px;
  opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;
}
.dswd-modal.show{opacity:1;visibility:visible;}
.dswd-modal-box{
  background:#fff;border-radius:16px;width:min(880px,100%);max-height:88vh;
  display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,0,0,.4);
  transform:translateY(20px);transition:transform .25s;
}
.dswd-modal.show .dswd-modal-box{transform:none;}
.dswd-modal-head{
  padding:20px 26px;border-bottom:1px solid #dde3ed;display:flex;
  align-items:flex-start;justify-content:space-between;gap:14px;
}
.dswd-modal-head h5{font-size:1.1rem;font-weight:800;color:#0b2545;margin:0;}
.dswd-modal-head span{font-size:12px;color:#5b6b80;}
.dswd-modal-head button{
  background:none;border:none;font-size:1.1rem;color:#8896a8;cursor:pointer;
  padding:5px 9px;border-radius:7px;line-height:1;
}
.dswd-modal-head button:hover{background:#f0f3f8;color:#17212e;}
.dswd-modal-body{padding:22px 26px 28px;overflow-y:auto;font-size:13.5px;line-height:1.85;color:#3c4959;}
.dswd-modal-body h6{font-size:13px;font-weight:800;color:#0b2545;margin:22px 0 8px;text-transform:uppercase;letter-spacing:.05em;}
.dswd-modal-body h6:first-child{margin-top:0;}
.dswd-modal-body ul{padding-left:20px;margin-bottom:12px;}
.dswd-modal-body li{margin-bottom:5px;}
.dswd-modal-body a{color:#1a6e4e;font-weight:600;}

/* ── 6. FOOTER GOV SEAL + ATTACHED AGENCIES ─────────────────────────────── */
.dswd-govseal{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:20px 0;border-top:1px solid rgba(255,255,255,.08);
}
.dswd-govseal img{height:56px;width:auto;opacity:.85;}
.dswd-govseal span{font-size:11.5px;color:rgba(255,255,255,.42);line-height:1.7;}

.dswd-agencies{background:#f4f6f9;padding:56px 0;border-top:1px solid #dde3ed;}
.dswd-agencies .ag-title{font-size:1.5rem;font-weight:800;color:#0b2545;margin-bottom:6px;}
.dswd-agencies .ag-lead{font-size:13.5px;color:#5b6b80;margin-bottom:28px;}
.dswd-ag-card{
  background:#fff;border:1px solid #dde3ed;border-radius:14px;padding:24px 18px;
  text-align:center;height:100%;transition:transform .22s,box-shadow .22s;
}
.dswd-ag-card:hover{transform:translateY(-5px);box-shadow:0 14px 36px rgba(0,0,0,.11);}
.dswd-ag-card .ag-seal{
  width:64px;height:64px;border-radius:50%;margin:0 auto 14px;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:1rem;color:#fff;letter-spacing:.02em;
}
.dswd-ag-card .ag-name{font-size:13.5px;font-weight:700;color:#0b2545;line-height:1.5;margin-bottom:4px;}
.dswd-ag-card .ag-abbr{font-size:11px;font-weight:800;color:#8896a8;letter-spacing:.1em;margin-bottom:12px;}
.dswd-ag-card .ag-link{
  display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;
  color:#1a6e4e;border:1.5px solid #1a6e4e;border-radius:7px;padding:5px 14px;transition:.18s;
}
.dswd-ag-card .ag-link:hover{background:#1a6e4e;color:#fff;}

/* ── 7. ACCESSIBILITY HARDENING ─────────────────────────────────────────── */
/* Text-size: scale the root so rem/em-based type grows everywhere, and nudge
   px-based type on the pages that hardcode it. */
/* Text size.

   Raising the root font-size is the textbook approach, and it did almost
   nothing here: a count of the stylesheets found 194 declarations in px
   against 27 in rem, so roughly seven-eighths of the interface ignored it
   entirely and the control looked broken.

   `zoom` scales everything — px included — which is what someone reaching for
   a text-size control actually wants. It also scales spacing and icons
   proportionally, so the layout holds together rather than text overflowing
   fixed-height boxes, which is what a font-only increase would have caused in
   a px-based layout like this one. */
html[data-textsize="lg"] body{ zoom: 1.15; }
html[data-textsize="xl"] body{ zoom: 1.35; }

/* Firefox only shipped `zoom` recently; scale the root as a fallback so older
   builds still get the rem-based portion of the type. */
@supports not (zoom: 1.1){
  html[data-textsize="lg"]{ font-size:18px; }
  html[data-textsize="xl"]{ font-size:20px; }
}

/* The accessibility panel itself must not scale with its own setting, or the
   controls drift under the cursor as you step through the sizes. */
html[data-textsize] .ds-a11y-panel,
html[data-textsize] .ds-a11y-fab{ zoom: 1; }

/* High contrast: pages here set their own colours inline and in page-level
   <style> blocks, so the design-system variables alone are not enough. These
   rules force a genuine high-contrast palette regardless of how a colour was
   originally applied. */
/* High contrast.
   These pages set colours inline and in per-page <style> blocks, so the design
   system's custom properties alone never reached them. Keying off BOTH the
   attribute and the .dswd-hc class raises specificity above almost anything a
   page declares, and the universal selector catches elements whose colour was
   written as a style attribute. */
html[data-contrast="high"],
html.dswd-hc{background:#000!important;}

html[data-contrast="high"] body,
html.dswd-hc body,
html[data-contrast="high"] body *:not(svg):not(path):not(circle):not(rect):not(line):not(polygon),
html.dswd-hc body *:not(svg):not(path):not(circle):not(rect):not(line):not(polygon){
  background-color:#000!important;
  background-image:none!important;
  color:#fff!important;
  border-color:#fcd116!important;
  box-shadow:none!important;
  text-shadow:none!important;
  filter:none;
}

html.dswd-hc a,
html.dswd-hc a *{color:#fcd116!important;}
html.dswd-hc a:hover,
html.dswd-hc a:hover *{color:#fff!important;text-decoration:underline!important;}

html.dswd-hc button,
html.dswd-hc .btn,
html.dswd-hc .btn-nav,
html.dswd-hc .btn-act,
html.dswd-hc .filter-btn,
html.dswd-hc .topbar-btn,
html.dswd-hc input[type="submit"],
html.dswd-hc input[type="button"]{
  background:#000!important;color:#fcd116!important;border:2px solid #fcd116!important;
}
html.dswd-hc button:hover,
html.dswd-hc button:hover *,
html.dswd-hc .btn:hover,
html.dswd-hc .btn-nav:hover,
html.dswd-hc .btn-act:hover,
html.dswd-hc .btn-act:hover *,
html.dswd-hc .filter-btn:hover{background:#fcd116!important;color:#000!important;}

html.dswd-hc input,
html.dswd-hc select,
html.dswd-hc textarea{
  background:#000!important;color:#fff!important;border:2px solid #fff!important;
}
html.dswd-hc input::placeholder,
html.dswd-hc textarea::placeholder{color:#c9c9c9!important;}

html.dswd-hc img,
html.dswd-hc iframe,
html.dswd-hc video{filter:grayscale(1) contrast(1.3)!important;}

/* The photo hero is decoration; at this contrast level it only makes the
   overlaid text harder to read. */
html.dswd-hc .dswd-hero-slides,
html.dswd-hc .dswd-hero-slide,
html.dswd-hc .dswd-hero-scrim{display:none!important;}

/* The floating widgets keep their meaning through shape and border. */
html.dswd-hc .dswd-emg-fab,
html.dswd-hc .dswd-cookie-fab,
html.dswd-hc .ds-a11y-fab,
html.dswd-hc .track-fab{
  background:#000!important;color:#fcd116!important;border:2px solid #fcd116!important;
}
html.dswd-hc .dswd-emg-fab{animation:none!important;}

html.dswd-hc *:focus-visible{outline:3px solid #fcd116!important;outline-offset:2px!important;}

/* The sidebar and topbar paint themselves with !important gradients, so they
   are named explicitly instead of being left to the universal rule above. */
html.dswd-hc .dswd-sidebar,
html.dswd-hc .citizen-sidebar,
html.dswd-hc .mod-sidebar,
html.dswd-hc .dswd-topbar,
html.dswd-hc .topbar,
html.dswd-hc .citizen-topbar,
html.dswd-hc .dswd-govstrip,
html.dswd-hc .site-nav,
html.dswd-hc .main-wrap,
html.dswd-hc .content{
  background:#000!important;
  background-image:none!important;
  border-color:#fcd116!important;
}
html.dswd-hc .dswd-sidebar::before,
html.dswd-hc .dswd-flagbar{ display:none!important; }
html.dswd-hc .dswd-link.active,
html.dswd-hc .cz-link.active{ background:#fcd116!important; color:#000!important; }
html.dswd-hc .dswd-link.active *,
html.dswd-hc .cz-link.active *{ color:#000!important; }

/* Reduced-motion respect for every animation added by this file. */
@media (prefers-reduced-motion:reduce){
  .dswd-emg-fab{animation:none!important;}
  .dswd-hero-slide{transition:opacity .01ms;transform:none!important;}
}

@media (max-width:575px){
  .dswd-emg-fab{width:50px;height:50px;font-size:1.15rem;left:14px;bottom:14px;}
  .dswd-cookie-fab{width:40px;height:40px;left:14px;bottom:74px;}
  .dswd-emg-pop{left:14px;bottom:74px;}
}

/* ── 8. PROGRAM "IN DETAIL" TAB (programs.php) ──────────────────────────── */
.prog-deepdive{font-size:14px;line-height:1.9;color:#3c4959;}
.prog-deepdive p{margin-bottom:14px;}
.prog-deepdive .dd-lead{background:#f5f8fc;border:none;border-radius:10px;padding:16px 20px;margin-bottom:22px;}
.prog-deepdive .dd-lead p:last-child{margin-bottom:0;}
.prog-deepdive .dd-h{
  font-size:1.02rem;font-weight:800;color:#0b2545;margin:30px 0 12px;
  padding-bottom:8px;border-bottom:2px solid #e6ebf3;
}
.prog-deepdive .dd-h:first-child{margin-top:0;}
.prog-deepdive .dd-sub{font-size:14px;font-weight:800;color:#1a6e4e;margin:22px 0 8px;}
.prog-deepdive .dd-list{padding-left:20px;margin-bottom:14px;}
.prog-deepdive .dd-list li{margin-bottom:6px;}
.prog-deepdive .dd-note{
  background:#fff8e6;border:none;border-radius:10px;
  padding:13px 17px;font-size:13.5px;color:#6b5417;margin:16px 0;
}
.prog-deepdive .dd-note i{margin-right:7px;color:#c8961f;}
.prog-deepdive .dd-figure{margin:0 0 16px;}
.prog-deepdive .dd-figure img{
  width:100%;height:auto;border-radius:12px;border:1px solid #e6ebf3;display:block;
  background:#f5f7fa;
}
.prog-deepdive .dd-cap{font-size:11.5px;color:#8896a8;margin-top:7px;text-align:center;}
.prog-deepdive .dd-video{margin-bottom:18px;}
.prog-deepdive .dd-video video{width:100%;border-radius:12px;background:#000;display:block;}
.prog-deepdive .dd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin-bottom:18px;}
.prog-deepdive .dd-grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));}
.prog-deepdive .dd-item{background:#f9fbfd;border:1px solid #e6ebf3;border-radius:12px;padding:16px;}
.prog-deepdive .dd-item-title{
  font-size:13px;font-weight:800;color:#0b2545;margin-bottom:12px;
  display:flex;align-items:center;gap:8px;
}
.prog-deepdive .dd-item-title i{color:#1a6e4e;}
.prog-deepdive .dd-item .dd-figure{margin-bottom:0;}
.prog-deepdive .dd-card{background:#f9fbfd;border:1px solid #e6ebf3;border-radius:12px;padding:18px 20px;}
.prog-deepdive .dd-card p{margin-bottom:0;font-size:13.5px;}
.prog-deepdive .dd-card-name{font-size:14px;font-weight:800;color:#0b2545;margin-bottom:4px;}
.prog-deepdive .dd-card-role{font-size:12.5px;color:#1a6e4e;font-weight:600;margin-bottom:9px;}
.prog-deepdive .dd-card-meta{font-size:12.5px;color:#5b6b80;display:flex;align-items:center;gap:8px;margin-bottom:4px;}
.prog-deepdive .dd-card-meta i{width:14px;color:#8896a8;}
.prog-deepdive .dd-timeline{border-left:2px solid #e6ebf3;padding-left:22px;margin:6px 0 18px;}
.prog-deepdive .dd-tl{position:relative;padding-bottom:18px;}
.prog-deepdive .dd-tl::before{
  content:"";position:absolute;left:-29px;top:6px;width:11px;height:11px;
  border-radius:50%;background:#fff;border:3px solid #1a6e4e;
}
.prog-deepdive .dd-tl-y{display:block;font-size:13.5px;font-weight:800;color:#1a6e4e;margin-bottom:4px;}
.prog-deepdive .dd-tl p{margin-bottom:0;font-size:13.5px;}
