:root {
  --sd-site-font: var(--font, "Manrope", "Inter", "Helvetica Neue", Arial, sans-serif);
  --sd-footer-bg: #0A3561;
  --sd-footer-text: #ffffff;
}
body { font-family: var(--sd-site-font) !important; }
body *:not(svg):not(path) { font-family: inherit; }
.sd-hidden { display: none !important; }
.sd-managed-hero { position: relative; overflow: hidden; }
.sd-managed-hero.sd-hero-frame-1920x610 {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1920 / 610 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-color: #ffffff !important;
  isolation: isolate;
}
.sd-managed-hero.sd-hero-frame-1920x610::before,
.sd-managed-hero.sd-hero-frame-1920x610::after { display: none !important; content: none !important; }
.sd-hero-panorama-image,
.sd-managed-hero.sd-hero-frame-1920x610 .sd-hero-panorama-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  z-index: 1 !important;
  display: block !important;
  background: #fff !important;
}
.sd-managed-hero.sd-hero-frame-1920x610 .hero-bg,
.sd-managed-hero.sd-hero-frame-1920x610 .hero-mask,
.sd-managed-hero.sd-hero-frame-1920x610 .impact-hero-media,
.sd-managed-hero.sd-hero-frame-1920x610 .hero-full-image,
.sd-managed-hero.sd-hero-frame-1920x610 .hero-floating,
.sd-managed-hero.sd-hero-frame-1920x610 .tech-callout-layer { display: none !important; }
.sd-managed-hero.sd-hero-frame-1920x610 .container { position: relative; z-index: 3; }
.sd-managed-hero.sd-hero-frame-1920x610 .hero-copy,
.sd-managed-hero.sd-hero-frame-1920x610 .hero-actions,
.sd-managed-hero.sd-hero-frame-1920x610 .impact-hero-panel { display: none !important; }

.round-arrow, .circle-arrow, .learn.link-pending { display: none !important; }
.sd-solution-card-image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Page 5 story section: clean two-column balance */
.story-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr) !important;
  gap: clamp(30px, 4vw, 54px) !important;
  align-items: center !important;
  padding: clamp(18px, 2vw, 24px) !important;
  overflow: hidden;
}
.story-card .story-image {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: 900 / 620 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
.story-card .story-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.story-card .story-content {
  min-width: 0 !important;
  padding: clamp(12px, 2.2vw, 28px) clamp(10px, 2vw, 22px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.story-card .story-content h2 {
  margin: 0 !important;
  max-width: 560px !important;
  font-size: clamp(30px, 2.55vw, 44px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em !important;
}
.story-card .story-content p {
  margin-top: 18px !important;
  max-width: 620px !important;
  font-size: 15.5px !important;
  line-height: 1.72 !important;
  color: #526579 !important;
}
.story-card .impact-eyebrow, .story-card .learn { display: none !important; }
@media (max-width: 1180px) {
  .story-card { grid-template-columns: 1fr !important; gap: 24px !important; }
  .story-card .story-content { padding: 8px 4px 10px !important; }
}
@media (max-width: 760px) {
  .story-card { padding: 14px !important; }
  .story-card .story-content h2 { font-size: 27px !important; }
  .story-card .story-content p { font-size: 14.5px !important; line-height: 1.68 !important; }
}

/* Page 6 validation: shorter copy, stable balanced card */
.production-split { gap: clamp(20px, 2.4vw, 32px) !important; align-items: stretch !important; }
.validation-card { justify-content: center !important; padding: clamp(26px, 2.8vw, 34px) !important; }
.validation-card p { max-width: 650px !important; font-size: 14.4px !important; line-height: 1.66 !important; margin-top: 14px !important; }
.validation-metrics { margin-top: 24px !important; }
@media (max-width: 900px) { .production-split { grid-template-columns: 1fr !important; } }

/* Footer: static release layout */
.sd-managed-footer {
  background: var(--sd-footer-bg) !important;
  color: var(--sd-footer-text) !important;
  padding: 34px 0 22px !important;
}
.sd-footer-managed-inner {
  display: grid !important;
  grid-template-columns: minmax(240px, .82fr) minmax(360px, 1.5fr) !important;
  gap: clamp(32px, 5vw, 76px) !important;
  align-items: start !important;
}
.sd-managed-footer .sd-footer-logo { width: 206px !important; max-width: 206px !important; height: auto !important; object-fit: contain; display: block; margin-bottom: 15px; }
.sd-managed-footer .sd-footer-tagline { max-width: 350px; opacity: .72; font-size: 13px; line-height: 1.58; font-weight: 500; margin: 0 0 14px; }
.sd-managed-footer .sd-footer-menu-board {
  display: grid !important;
  grid-template-columns: repeat(var(--sd-footer-menu-items-per-row, 4), minmax(0, 1fr)) !important;
  gap: 12px 28px !important;
  align-content: start;
  justify-items: start;
}
.sd-managed-footer .sd-footer-menu-link {
  display: inline-flex !important;
  align-items: center;
  min-height: 24px;
  line-height: 1.25 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  color: rgba(255,255,255,.78) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  cursor: pointer;
  text-decoration: none !important;
}
.sd-managed-footer .sd-footer-menu-link:hover { color: #fff !important; }
.sd-managed-footer .footer-bottom {
  margin-top: 24px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  font-size: var(--sd-footer-copyright-size, 16px) !important;
  color: rgba(255,255,255,.52) !important;
  text-align: center;
}
@media (max-width: 900px) {
  .sd-footer-managed-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
  .sd-managed-footer .sd-footer-menu-board { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 11px 22px !important; }
}
@media (max-width: 560px) { .sd-managed-footer .sd-footer-menu-board { grid-template-columns: 1fr !important; } }

html.release-modal-open { overflow: hidden; }
.release-footer-modal-root { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 24px; }
.release-footer-modal-root.show { display: flex; }
.release-footer-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 18, 35, .68); backdrop-filter: blur(7px); }
.release-footer-modal-card {
  position: relative;
  z-index: 2;
  width: min(800px, calc(100vw - 34px));
  max-height: min(84vh, 760px);
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow: 0 34px 90px rgba(2, 18, 44, .36);
  color: #17243a;
  background: linear-gradient(135deg, #f8fbff 0%, #edf5ff 52%, #ffffff 100%);
  background-size: cover;
  background-position: center center;
}
.release-footer-modal-card.has-image-bg {
  background-image: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.82) 46%, rgba(255,255,255,.54) 68%, rgba(255,255,255,.18) 100%), var(--release-modal-bg-image);
}
.release-footer-modal-close { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border: 0; border-radius: 999px; background: rgba(255,255,255,.86); color: #0b2748; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(9,34,70,.08); z-index: 5; }
.release-footer-modal-content { max-width: min(590px,100%); background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.56); border-radius: 18px; padding: clamp(20px, 3vw, 28px); box-shadow: 0 14px 40px rgba(8,28,58,.10); backdrop-filter: blur(8px); }
.release-footer-modal-logo { display: inline-flex; max-width: 220px; margin: 0 0 16px; }
.release-footer-modal-logo img { display: block; max-width: 220px; max-height: 54px; object-fit: contain; }
.release-footer-modal-card h2 { margin: 0; color: #071f4d; font-size: clamp(25px, 2.75vw, 36px); line-height: 1.08; letter-spacing: -.04em; font-weight: 850; }
.release-footer-modal-subtitle { margin: 8px 0 0; color: #40536d; font-size: 16px; line-height: 1.42; font-weight: 650; }
.release-footer-modal-body { margin-top: 16px; max-height: clamp(170px, 30vh, 280px); overflow-y: auto; padding-right: 10px; color: #28384e; font-size: 15px; line-height: 1.65; font-weight: 500; scrollbar-width: thin; }
.release-footer-modal-body p { margin: 0 0 10px; }
.release-footer-modal-values { margin-top: 16px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(18,72,140,.12); }
.release-footer-modal-values span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(0,87,216,.09); color: #074da9; font-size: 12px; font-weight: 800; }
.release-footer-modal-certificate { margin-top: 18px; max-height: min(62vh, 720px); overflow: auto; background: #f7f9fc; border: 1px solid rgba(12,48,92,.12); border-radius: 14px; padding: 12px; }
.release-footer-modal-certificate img { display: block; width: min(100%, 760px); height: auto; margin: 0 auto; border-radius: 8px; box-shadow: 0 10px 32px rgba(8,26,51,.14); }
@media (max-width: 680px) {
  .release-footer-modal-root { padding: 16px; }
  .release-footer-modal-card { padding: 18px; max-height: 88vh; }
  .release-footer-modal-content { padding: 20px; }
  .release-footer-modal-logo { max-width: 180px; }
  .release-footer-modal-logo img { max-width: 180px; max-height: 44px; }
}

.workflow-icon img { width: 28px !important; height: 28px !important; object-fit: contain !important; display: block !important; }

/* Final deployment patch: Page 5 story section text-fit and balance */
@media (min-width: 1101px) {
  .story-card {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr) !important;
    gap: clamp(28px, 3.2vw, 44px) !important;
    align-items: stretch !important;
    min-height: 0 !important;
    max-height: 560px !important;
  }
  .story-card .story-image {
    height: auto !important;
    min-height: 100% !important;
    aspect-ratio: auto !important;
  }
  .story-card .story-content {
    min-height: 0 !important;
    height: 100% !important;
    overflow-y: auto !important;
    padding: clamp(8px, 1.2vw, 14px) clamp(6px, 1.2vw, 14px) !important;
    scrollbar-width: thin;
  }
  .story-card .story-content h2 {
    max-width: 560px !important;
    font-size: clamp(25px, 2.05vw, 36px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em !important;
  }
  .story-card .story-content p {
    margin-top: 13px !important;
    max-width: 620px !important;
    font-size: clamp(12.8px, .82vw, 13.8px) !important;
    line-height: 1.46 !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 1100px) {
  .story-card {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    max-height: none !important;
  }
  .story-card .story-image {
    aspect-ratio: 900 / 620 !important;
  }
  .story-card .story-content {
    overflow: visible !important;
  }
  .story-card .story-content h2 {
    font-size: clamp(24px, 4.2vw, 34px) !important;
    line-height: 1.12 !important;
  }
  .story-card .story-content p {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }
}

/* Final deployment patch: footer certificate modal */
.release-footer-modal-card.has-certificate {
  max-width: min(940px, 94vw);
}
.release-footer-modal-card.has-certificate .release-footer-modal-content {
  max-width: min(840px, 100%);
}
.release-footer-certificate-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.release-footer-modal-card.has-certificate .release-footer-modal-body {
  max-height: 140px;
}
.release-footer-modal-card.has-certificate .release-footer-modal-certificate {
  max-height: min(64vh, 760px);
}
.release-footer-modal-card.has-certificate .release-footer-modal-certificate img {
  width: min(100%, 760px);
  background: #fff;
}



/* Final fix: Page 2 deployment cards must show the new inserted 720x300 images, not old CSS backgrounds */
.deployment .image-top.photo-scene.community,
.deployment .image-top.photo-scene.campus,
.deployment .image-top.photo-scene.business,
.deployment .image-top.photo-scene.retail {
  background-image: none !important;
}

.deployment .image-top.photo-scene > img.sd-solution-card-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Final fix: footer menu items are modal triggers, not navigation links */
.sd-footer-menu-link[data-footer-modal-key] {
  cursor: pointer;
}

html.release-modal-open,
html.release-modal-open body {
  overflow: hidden;
}



/* Final fix: static footer modal should visibly open in-page */
.release-footer-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 36px);
}

.release-footer-modal-root.show {
  display: flex !important;
}

.release-footer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 14, 31, .58);
  backdrop-filter: blur(8px);
}

.release-footer-modal-card {
  position: relative;
  z-index: 1;
  width: min(820px, 94vw);
  max-height: min(86vh, 860px);
  overflow: auto;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(244,248,255,.90)),
    var(--release-modal-bg-image, none);
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 90px rgba(3, 14, 31, .30);
  border: 1px solid rgba(255,255,255,.62);
}

.release-footer-modal-card.has-image-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,.82);
  z-index: -1;
}

.release-footer-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 26, 52, .08);
  color: #071a34;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.release-footer-modal-content {
  padding: clamp(28px, 4vw, 48px);
  color: #071a34;
}

.release-footer-modal-logo img {
  max-width: 220px;
  height: auto;
  display: block;
  margin-bottom: 26px;
}

.release-footer-modal-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.release-footer-modal-subtitle {
  margin: 12px 0 0;
  color: #0057d8;
  font-weight: 800;
}

.release-footer-modal-body {
  margin-top: 22px;
  color: #40516a;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 520;
}

.release-footer-modal-body p {
  margin: 0 0 14px;
}

.release-footer-modal-values {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.release-footer-modal-values span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 87, 216, .08);
  color: #083a80;
  font-size: 13px;
  font-weight: 800;
}

.release-footer-modal-certificate {
  margin-top: 24px;
  text-align: center;
}

.release-footer-certificate-link {
  display: inline-block;
}

.release-footer-modal-certificate img {
  display: block;
  width: min(100%, 760px);
  max-height: min(64vh, 760px);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(7,26,52,.16);
}



/* Final optimization: complete footer popup templates with visible backgrounds and stable readable content */
.release-footer-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 38px);
}

.release-footer-modal-root.show {
  display: flex !important;
}

.release-footer-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(0, 87, 216, .16), transparent 34%),
    radial-gradient(circle at 90% 88%, rgba(6, 31, 70, .18), transparent 40%),
    rgba(3, 14, 31, .60);
  backdrop-filter: blur(9px);
}

.release-footer-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  max-height: min(88vh, 880px);
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(245,249,255,.86)),
    var(--release-modal-bg-image, none),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 32px 96px rgba(3, 14, 31, .34);
  border: 1px solid rgba(255,255,255,.64);
}

.release-footer-modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    var(--release-modal-bg-image, none),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 100%);
  background-size: cover;
  background-position: center;
  opacity: .52;
}

.release-footer-modal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 54%, rgba(244,249,255,.70) 100%),
    radial-gradient(circle at 90% 18%, rgba(0, 87, 216, .12), transparent 38%);
}

.release-footer-modal-card.template-corporate::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.88)),
    radial-gradient(circle at 88% 20%, rgba(0,87,216,.18), transparent 40%);
}
.release-footer-modal-card.template-technology::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.94), rgba(239,247,255,.86)),
    repeating-linear-gradient(135deg, rgba(0,87,216,.05) 0 1px, transparent 1px 18px);
}
.release-footer-modal-card.template-logistics::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(245,249,255,.84)),
    radial-gradient(circle at 80% 76%, rgba(0,87,216,.14), transparent 34%);
}
.release-footer-modal-card.template-culture::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(247,250,255,.88)),
    radial-gradient(circle at 82% 24%, rgba(40,123,255,.13), transparent 38%);
}
.release-footer-modal-card.template-service::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(242,248,255,.86)),
    linear-gradient(135deg, rgba(0,87,216,.09), transparent 36%);
}
.release-footer-modal-card.template-policy::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.97), rgba(246,249,253,.90)),
    radial-gradient(circle at 86% 24%, rgba(7,26,52,.08), transparent 36%);
}
.release-footer-modal-card.template-certificate::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    radial-gradient(circle at 90% 18%, rgba(0,87,216,.08), transparent 40%);
}
.release-footer-modal-card.template-public-good::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(246,251,255,.86)),
    radial-gradient(circle at 84% 22%, rgba(45,143,113,.10), transparent 40%);
}

.release-footer-modal-content {
  position: relative;
  padding: clamp(28px, 4.2vw, 54px);
  color: #071a34;
  max-height: min(88vh, 880px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.release-footer-modal-logo img {
  display: block;
  max-width: 235px;
  height: auto;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.release-footer-modal-title {
  margin: 0;
  max-width: 780px;
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 850;
  color: #071a34;
}

.release-footer-modal-subtitle {
  margin: 12px 0 0;
  max-width: 680px;
  color: #0057d8;
  font-weight: 850;
  font-size: clamp(14px, 1.2vw, 17px);
}

.release-footer-modal-body {
  margin-top: 22px;
  max-width: 720px;
  color: #40516a;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.78;
  font-weight: 540;
}

.release-footer-modal-body p {
  margin: 0 0 15px;
}

.release-footer-modal-values {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.release-footer-modal-values span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 87, 216, .09);
  color: #083a80;
  font-size: 13px;
  font-weight: 850;
}

.release-footer-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 26, 52, .08);
  color: #071a34;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.release-footer-modal-close:hover {
  transform: translateY(-1px);
  background: rgba(0, 87, 216, .12);
}

.release-footer-modal-card.has-certificate {
  width: min(980px, 95vw);
}

.release-footer-modal-card.has-certificate .release-footer-modal-content {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(320px, .88fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
}

.release-footer-modal-card.has-certificate .release-footer-modal-logo,
.release-footer-modal-card.has-certificate .release-footer-modal-title,
.release-footer-modal-card.has-certificate .release-footer-modal-subtitle,
.release-footer-modal-card.has-certificate .release-footer-modal-body,
.release-footer-modal-card.has-certificate .release-footer-modal-values {
  grid-column: 1;
}

.release-footer-modal-card.has-certificate .release-footer-modal-certificate {
  grid-column: 2;
  grid-row: 1 / span 5;
  margin-top: 0;
  display: block;
  text-align: center;
}

.release-footer-certificate-link {
  display: inline-block;
  text-decoration: none;
}

.release-footer-modal-certificate img {
  display: block;
  width: 100%;
  max-height: min(76vh, 820px);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(7,26,52,.18);
}

@media (max-width: 760px) {
  .release-footer-modal-card {
    width: 94vw;
    border-radius: 22px;
  }

  .release-footer-modal-content {
    padding: 28px 22px;
  }

  .release-footer-modal-title {
    font-size: 29px;
  }

  .release-footer-modal-body {
    font-size: 15px;
    line-height: 1.68;
  }

  .release-footer-modal-card.has-certificate .release-footer-modal-content {
    display: block;
  }

  .release-footer-modal-card.has-certificate .release-footer-modal-certificate {
    margin-top: 22px;
  }
}



/* Final footer modal correction: ordinary popups are complete single-card templates, no empty right area */
.release-footer-modal-root {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(16px, 3vw, 38px) !important;
}

.release-footer-modal-root.show {
  display: flex !important;
}

.release-footer-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 18% 14%, rgba(0, 87, 216, .16), transparent 32%),
    radial-gradient(circle at 88% 86%, rgba(6, 31, 70, .16), transparent 38%),
    rgba(3, 14, 31, .62) !important;
  backdrop-filter: blur(9px) !important;
}

.release-footer-modal-card {
  position: relative !important;
  z-index: 1 !important;
  width: min(860px, 94vw) !important;
  max-height: min(88vh, 860px) !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(245,249,255,.90)),
    var(--release-modal-bg-image, none),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 32px 96px rgba(3, 14, 31, .34) !important;
  border: 1px solid rgba(255,255,255,.68) !important;
}

/* Material function: background texture covers the whole card, not a blank side panel */
.release-footer-modal-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  background:
    var(--release-modal-bg-image, none),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: .42 !important;
}

.release-footer-modal-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.91) 55%, rgba(238,247,255,.88) 100%),
    radial-gradient(circle at 86% 18%, rgba(0,87,216,.13), transparent 36%),
    radial-gradient(circle at 12% 88%, rgba(0,87,216,.07), transparent 34%) !important;
}

.release-footer-modal-card.template-blue-grid::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,248,255,.90)),
    repeating-linear-gradient(135deg, rgba(0,87,216,.045) 0 1px, transparent 1px 20px) !important;
}

.release-footer-modal-card.template-soft-city::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(246,250,255,.88)),
    radial-gradient(circle at 84% 20%, rgba(0,87,216,.14), transparent 36%) !important;
}

.release-footer-modal-card.template-logistics-flow::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,247,255,.88)),
    linear-gradient(120deg, rgba(0,87,216,.10), transparent 38%) !important;
}

.release-footer-modal-card.template-culture-light::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,251,255,.90)),
    radial-gradient(circle at 80% 24%, rgba(88,146,255,.12), transparent 40%) !important;
}

.release-footer-modal-card.template-policy-clean::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,249,253,.92)),
    radial-gradient(circle at 86% 22%, rgba(7,26,52,.07), transparent 34%) !important;
}

.release-footer-modal-card.template-public-good::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,251,255,.90)),
    radial-gradient(circle at 84% 22%, rgba(45,143,113,.10), transparent 40%) !important;
}

.release-footer-modal-card.template-tech-circuit::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(239,247,255,.88)),
    repeating-linear-gradient(90deg, rgba(0,87,216,.035) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(0,87,216,.025) 0 1px, transparent 1px 24px) !important;
}

.release-footer-modal-card.template-premium-sky::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,248,255,.88)),
    radial-gradient(circle at 80% 18%, rgba(0,118,255,.13), transparent 42%) !important;
}

.release-footer-modal-content {
  position: relative !important;
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  max-height: min(88vh, 860px) !important;
  overflow-y: auto !important;
  padding: clamp(30px, 4.2vw, 54px) !important;
  color: #071a34 !important;
  scrollbar-width: thin !important;
}

.release-footer-modal-logo img {
  display: block !important;
  max-width: 235px !important;
  height: auto !important;
  margin-bottom: clamp(24px, 3vw, 34px) !important;
}

.release-footer-modal-title {
  margin: 0 !important;
  max-width: 760px !important;
  font-size: clamp(30px, 3.05vw, 46px) !important;
  line-height: 1.07 !important;
  letter-spacing: -0.045em !important;
  font-weight: 850 !important;
  color: #071a34 !important;
}

.release-footer-modal-subtitle {
  margin: 12px 0 0 !important;
  max-width: 720px !important;
  color: #0057d8 !important;
  font-weight: 850 !important;
  font-size: clamp(14px, 1.2vw, 17px) !important;
}

.release-footer-modal-body {
  margin-top: 22px !important;
  max-width: 720px !important;
  max-height: none !important;
  overflow: visible !important;
  color: #40516a !important;
  font-size: clamp(15px, 1.08vw, 17px) !important;
  line-height: 1.78 !important;
  font-weight: 540 !important;
}

.release-footer-modal-body p {
  margin: 0 0 15px !important;
}

.release-footer-modal-values {
  margin-top: 24px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.release-footer-modal-values span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(0, 87, 216, .09) !important;
  color: #083a80 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

.release-footer-modal-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 3 !important;
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(7, 26, 52, .08) !important;
  color: #071a34 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* Certificate popup: two-column only because the right side contains the actual certificate image */
.release-footer-modal-card.has-certificate {
  width: min(1120px, 96vw) !important;
}

.release-footer-modal-card.has-certificate .release-footer-modal-content {
  display: grid !important;
  grid-template-columns: minmax(390px, .66fr) minmax(380px, .84fr) !important;
  gap: clamp(26px, 3.2vw, 46px) !important;
  align-items: start !important;
}

.release-footer-modal-card.has-certificate .release-footer-modal-logo,
.release-footer-modal-card.has-certificate .release-footer-modal-title,
.release-footer-modal-card.has-certificate .release-footer-modal-subtitle,
.release-footer-modal-card.has-certificate .release-footer-modal-body,
.release-footer-modal-card.has-certificate .release-footer-modal-values {
  grid-column: 1 !important;
}

.release-footer-modal-card.has-certificate .release-footer-modal-certificate {
  grid-column: 2 !important;
  grid-row: 1 / span 5 !important;
  margin-top: 0 !important;
  display: block !important;
  text-align: center !important;
}

.release-footer-modal-card.has-certificate .release-footer-modal-body {
  max-width: none !important;
}

.release-footer-modal-card.has-certificate .release-footer-modal-body p {
  white-space: nowrap !important;
  font-size: clamp(13px, .9vw, 15px) !important;
  line-height: 1.55 !important;
}

.release-footer-certificate-link {
  display: inline-block !important;
  text-decoration: none !important;
}

.release-footer-modal-certificate img {
  display: block !important;
  width: 100% !important;
  max-height: min(76vh, 820px) !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 16px 44px rgba(7,26,52,.18) !important;
}

@media (max-width: 900px) {
  .release-footer-modal-card.has-certificate .release-footer-modal-content {
    display: block !important;
  }

  .release-footer-modal-card.has-certificate .release-footer-modal-certificate {
    margin-top: 22px !important;
  }

  .release-footer-modal-card.has-certificate .release-footer-modal-body p {
    white-space: normal !important;
  }
}

@media (max-width: 760px) {
  .release-footer-modal-card {
    width: 94vw !important;
    border-radius: 22px !important;
  }

  .release-footer-modal-content {
    padding: 28px 22px !important;
  }

  .release-footer-modal-title {
    font-size: 29px !important;
  }

  .release-footer-modal-body {
    font-size: 15px !important;
    line-height: 1.68 !important;
  }
}



/* Final footer modal typography/layout polish: one-line titles and balanced card */
.release-footer-modal-card {
  width: min(900px, 94vw) !important;
}

.release-footer-modal-content {
  padding: clamp(34px, 4vw, 52px) !important;
}

.release-footer-modal-logo img {
  max-width: 220px !important;
  margin-bottom: 26px !important;
}

.release-footer-modal-title {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100% !important;
  font-size: clamp(28px, 2.65vw, 40px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.04em !important;
}

.release-footer-modal-subtitle {
  max-width: 720px !important;
  margin-top: 10px !important;
}

.release-footer-modal-body {
  max-width: 760px !important;
  margin-top: 24px !important;
  font-size: clamp(15px, 1.02vw, 16.5px) !important;
  line-height: 1.74 !important;
}

.release-footer-modal-body p:last-child {
  margin-bottom: 0 !important;
}

.release-footer-modal-values {
  margin-top: 22px !important;
}

.release-footer-modal-card.has-certificate {
  width: min(1120px, 96vw) !important;
}

.release-footer-modal-card.has-certificate .release-footer-modal-title {
  font-size: clamp(30px, 2.6vw, 42px) !important;
}

.release-footer-modal-card.has-certificate .release-footer-modal-body p {
  white-space: nowrap !important;
  font-size: clamp(13px, .88vw, 15px) !important;
}

@media (max-width: 760px) {
  .release-footer-modal-title {
    white-space: normal !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  .release-footer-modal-content {
    padding: 28px 22px !important;
  }

  .release-footer-modal-body {
    font-size: 15px !important;
    line-height: 1.68 !important;
  }

  .release-footer-modal-card.has-certificate .release-footer-modal-body p {
    white-space: normal !important;
  }
}
