body[data-page="stories"] {
  background: #f7f0e7;
  color: var(--us-navy, #08274f);
}

html[lang="zh-CN"] body[data-page="stories"] .stories-hero h1,
html[lang="en"] body[data-page="stories"] .stories-hero h1,
html[lang="es"] body[data-page="stories"] .stories-hero h1,
html[lang="zh-CN"] body[data-page="stories"] .stories-section-head h2,
html[lang="en"] body[data-page="stories"] .stories-section-head h2,
html[lang="es"] body[data-page="stories"] .stories-section-head h2 {
  padding-bottom: 0.12em !important;
  line-height: 1.18 !important;
}

html[lang="zh-CN"] body[data-page="stories"] .story-page-frame:first-child figcaption span,
html[lang="en"] body[data-page="stories"] .story-page-frame:first-child figcaption span,
html[lang="es"] body[data-page="stories"] .story-page-frame:first-child figcaption span,
html[lang="zh-CN"] body[data-page="stories"] .story-page-frame:first-child figcaption strong,
html[lang="en"] body[data-page="stories"] .story-page-frame:first-child figcaption strong,
html[lang="es"] body[data-page="stories"] .story-page-frame:first-child figcaption strong {
  padding-bottom: 0.08em !important;
  line-height: 1.18 !important;
}

body[data-page="stories"] .stories-page-main {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

body[data-page="stories"] .stories-hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(26rem, 1.3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  width: min(100% - clamp(2rem, 6vw, 6rem), 84rem);
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgba(8, 39, 79, 0.1);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(8, 39, 79, 0.94), rgba(18, 64, 114, 0.88)),
    #08274f;
  box-shadow: 0 24px 70px rgba(8, 39, 79, 0.14);
}

body[data-page="stories"] .stories-hero-copy {
  display: grid;
  align-content: center;
  gap: clamp(0.8rem, 2vw, 1.35rem);
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  color: #fff;
}

body[data-page="stories"] .stories-kicker {
  margin: 0;
  color: #f4bf4f;
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="stories"] .stories-hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="stories"] .stories-hero-copy > p:not(.stories-kicker) {
  max-width: 28rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.13rem);
  font-weight: 800;
  line-height: 1.5;
}

body[data-page="stories"] .stories-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

body[data-page="stories"] .stories-actions a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

body[data-page="stories"] .stories-actions a:first-child {
  border-color: #f4bf4f;
  background: #f4bf4f;
  color: #08274f;
}

body[data-page="stories"] .stories-hero-preview,
body[data-page="stories"] .story-page-frame {
  overflow: hidden;
  margin: 0;
  border-radius: 0.5rem;
  background: #111;
}

body[data-page="stories"] .stories-hero-preview {
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

body[data-page="stories"] .stories-hero-preview img,
body[data-page="stories"] .story-page-frame img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="stories"] .stories-pages {
  width: min(100% - clamp(1.2rem, 5vw, 5rem), 82rem);
  margin: 0 auto;
}

body[data-page="stories"] .stories-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: end;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

body[data-page="stories"] .stories-section-head .stories-kicker {
  grid-column: 1 / -1;
  color: var(--us-red, #b82f32);
}

body[data-page="stories"] .stories-section-head h2 {
  margin: 0;
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="stories"] .stories-section-head span {
  align-self: center;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(8, 39, 79, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(8, 39, 79, 0.72);
  font-size: 0.85rem;
  font-weight: 900;
  white-space: nowrap;
}

body[data-page="stories"] .stories-page-list {
  display: grid;
  gap: clamp(1rem, 2.6vw, 2rem);
}

body[data-page="stories"] .story-page-frame {
  border: 1px solid rgba(8, 39, 79, 0.12);
  box-shadow: 0 18px 55px rgba(8, 39, 79, 0.1);
}

body[data-page="stories"] .story-page-frame figcaption {
  display: flex;
  min-height: 2.6rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  background: #fff;
  color: rgba(8, 39, 79, 0.68);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  body[data-page="stories"] .stories-hero {
    grid-template-columns: 1fr;
    width: min(100% - 1.5rem, 44rem);
    padding: 0.8rem;
  }

  body[data-page="stories"] .stories-hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  body[data-page="stories"] .stories-page-main {
    gap: 2rem;
    padding-bottom: 5.5rem;
  }

  body[data-page="stories"] .stories-hero {
    width: min(100% - 1rem, 38rem);
    margin-top: 0.75rem;
  }

  body[data-page="stories"] .stories-hero-copy {
    padding: 0.7rem;
  }

  body[data-page="stories"] .stories-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  body[data-page="stories"] .stories-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-page="stories"] .stories-actions a {
    width: 100%;
  }

  body[data-page="stories"] .stories-pages {
    width: min(100% - 1rem, 38rem);
  }

  body[data-page="stories"] .stories-section-head {
    grid-template-columns: 1fr;
  }

  body[data-page="stories"] .stories-section-head span {
    justify-self: start;
  }

  body[data-page="stories"] .story-page-frame figcaption {
    min-height: 2.35rem;
    padding: 0.45rem 0.75rem;
  }
}

/* Page 7 ChatGPT target pass: editorial story deck with compact hero and organized cards. */
body[data-page="stories"] {
  background:
    linear-gradient(rgba(8, 39, 79, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 39, 79, 0.035) 1px, transparent 1px),
    #fbf6ec !important;
  background-size: 6rem 6rem !important;
}

body[data-page="stories"] .stories-page-main {
  gap: clamp(1.5rem, 3vw, 2.6rem) !important;
  padding-bottom: clamp(3rem, 7vw, 5.5rem) !important;
}

body[data-page="stories"] .stories-hero {
  grid-template-columns: minmax(18rem, 0.43fr) minmax(32rem, 0.57fr) !important;
  gap: clamp(1.2rem, 2.4vw, 2.5rem) !important;
  align-items: center !important;
  width: min(calc(100vw - clamp(2rem, 6vw, 6rem)), 96rem) !important;
  margin: clamp(1.2rem, 3vw, 2.3rem) auto 0 !important;
  padding: clamp(1.25rem, 2.6vw, 2.25rem) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 0.5rem !important;
  background:
    radial-gradient(circle at 14% 22%, rgba(244, 191, 79, 0.13), transparent 24%),
    linear-gradient(135deg, #06254f 0%, #082f62 54%, #06325f 100%) !important;
  box-shadow: 0 24px 70px rgba(8, 39, 79, 0.16) !important;
}

body[data-page="stories"] .stories-hero-copy {
  gap: clamp(0.76rem, 1.55vw, 1.15rem) !important;
  padding: clamp(0.85rem, 1.6vw, 1.35rem) !important;
}

body[data-page="stories"] .stories-kicker {
  color: #f6bd3f !important;
  font-size: clamp(0.82rem, 1vw, 0.95rem) !important;
  line-height: 1.18 !important;
}

body[data-page="stories"] .stories-hero h1 {
  max-width: 10.5em !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(2.4rem, 4.2vw, 4.35rem) !important;
  line-height: 1.02 !important;
  text-transform: none !important;
  text-wrap: balance !important;
}

body[data-page="stories"] .stories-hero-copy > p:not(.stories-kicker) {
  max-width: 31rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(0.96rem, 1.04vw, 1.08rem) !important;
  line-height: 1.5 !important;
}

body[data-page="stories"] .stories-actions {
  gap: 0.85rem !important;
  margin-top: 0.45rem !important;
}

body[data-page="stories"] .stories-actions a {
  min-height: 3.25rem !important;
  padding: 0.82rem 1.35rem !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
}

body[data-page="stories"] .stories-hero-preview {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 0.5rem !important;
  background: #081d36 !important;
  box-shadow: 0 18px 42px rgba(2, 10, 24, 0.34) !important;
}

body[data-page="stories"] .stories-hero-preview img {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  object-fit: cover !important;
}

body[data-page="stories"] .stories-pages {
  width: min(calc(100vw - clamp(2rem, 6vw, 6rem)), 92rem) !important;
}

body[data-page="stories"] .stories-section-head {
  grid-template-columns: auto 1fr auto !important;
  gap: 0.45rem 1rem !important;
  align-items: center !important;
  margin-bottom: clamp(0.95rem, 1.8vw, 1.4rem) !important;
}

body[data-page="stories"] .stories-section-head .stories-kicker {
  grid-column: 1 / -1 !important;
  color: var(--us-red, #b82f32) !important;
}

body[data-page="stories"] .stories-section-head h2 {
  grid-column: 1 / 3 !important;
  color: var(--us-navy, #08274f) !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(2rem, 3.7vw, 3.45rem) !important;
  line-height: 1.05 !important;
  text-transform: none !important;
  text-wrap: balance !important;
}

body[data-page="stories"] .stories-section-head span {
  grid-column: 3 !important;
  justify-self: end !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.84) !important;
  color: rgba(8, 39, 79, 0.76) !important;
}

body[data-page="stories"] .stories-page-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(0.85rem, 1.5vw, 1.15rem) !important;
}

body[data-page="stories"] .story-page-frame {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(8, 39, 79, 0.14) !important;
  border-radius: 0.5rem !important;
  background: #08274f !important;
  box-shadow: 0 16px 36px rgba(8, 39, 79, 0.1) !important;
}

body[data-page="stories"] .story-page-frame:first-child {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(13rem, 0.22fr) minmax(0, 0.78fr) !important;
  min-height: 18rem !important;
}

body[data-page="stories"] .story-page-frame:first-child img {
  grid-column: 2 !important;
  grid-row: 1 !important;
  height: 100% !important;
  min-height: 18rem !important;
  object-fit: cover !important;
}

body[data-page="stories"] .story-page-frame:first-child figcaption {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: grid !important;
  align-content: center !important;
  gap: 0.58rem !important;
  min-height: 100% !important;
  padding: clamp(1.05rem, 2vw, 1.5rem) !important;
  background:
    linear-gradient(180deg, rgba(8, 39, 79, 0.96), rgba(8, 39, 79, 0.9)) !important;
  color: #fff !important;
  font-size: 0.92rem !important;
  line-height: 1.15 !important;
}

body[data-page="stories"] .story-page-frame:first-child figcaption span,
body[data-page="stories"] .story-page-frame:first-child figcaption strong,
body[data-page="stories"] .story-page-frame:first-child figcaption em {
  display: block !important;
}

body[data-page="stories"] .story-page-frame:first-child figcaption span {
  color: #f6bd3f !important;
  font-size: clamp(1.35rem, 2.1vw, 2rem) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body[data-page="stories"] .story-page-frame:first-child figcaption strong {
  max-width: 8.5em !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(1.25rem, 2vw, 1.85rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
}

body[data-page="stories"] .story-page-frame:first-child figcaption em {
  max-width: 10em !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.92rem !important;
  font-style: normal !important;
  font-weight: 760 !important;
  line-height: 1.3 !important;
}

body[data-page="stories"] .story-page-frame:not(:first-child) img {
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  object-fit: cover !important;
}

body[data-page="stories"] .story-page-frame figcaption {
  min-height: 2.75rem !important;
  padding: 0.58rem 0.78rem !important;
  background: #08274f !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.86rem !important;
  letter-spacing: 0 !important;
}

@media (max-width: 1180px) {
  body[data-page="stories"] .stories-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(calc(100vw - 2rem), 60rem) !important;
    justify-items: stretch !important;
    text-align: center !important;
  }

  body[data-page="stories"] .stories-hero-copy {
    justify-items: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-bottom: 0 !important;
    text-align: center !important;
  }

  body[data-page="stories"] .stories-hero h1,
  html[lang="zh-CN"] body[data-page="stories"] .stories-hero h1,
  html[lang="en"] body[data-page="stories"] .stories-hero h1,
  html[lang="es"] body[data-page="stories"] .stories-hero h1 {
    max-width: 13em !important;
    font-size: clamp(2.45rem, 6.4vw, 3.9rem) !important;
    line-height: 1.02 !important;
    text-align: center !important;
  }

  body[data-page="stories"] .stories-hero-copy > p:not(.stories-kicker) {
    max-width: 34rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  body[data-page="stories"] .stories-actions {
    justify-content: center !important;
  }

  body[data-page="stories"] .stories-page-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-page="stories"] .stories-page-main {
    gap: 1.2rem !important;
  }

  body[data-page="stories"] .stories-hero {
    width: min(100% - 1rem, 38rem) !important;
    margin-top: 0.75rem !important;
    padding: 0.8rem !important;
    gap: 0.9rem !important;
  }

  body[data-page="stories"] .stories-hero-copy {
    gap: 0.72rem !important;
    padding: 0.6rem 0.5rem 0 !important;
  }

  body[data-page="stories"] .stories-hero h1,
  html[lang="zh-CN"] body[data-page="stories"] .stories-hero h1,
  html[lang="en"] body[data-page="stories"] .stories-hero h1,
  html[lang="es"] body[data-page="stories"] .stories-hero h1 {
    max-width: 11.5em !important;
    font-size: clamp(2.1rem, 9.2vw, 2.85rem) !important;
    line-height: 1.04 !important;
  }

  body[data-page="stories"] .stories-hero-copy > p:not(.stories-kicker) {
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
  }

  body[data-page="stories"] .stories-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }

  body[data-page="stories"] .stories-actions a {
    min-height: 2.85rem !important;
    width: 100% !important;
    padding: 0.72rem 0.82rem !important;
  }

  body[data-page="stories"] .stories-hero-preview img {
    aspect-ratio: 16 / 8.8 !important;
  }

  body[data-page="stories"] .stories-pages {
    width: min(100% - 1rem, 38rem) !important;
  }

  body[data-page="stories"] .stories-section-head {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.35rem 0.75rem !important;
  }

  body[data-page="stories"] .stories-section-head h2 {
    grid-column: 1 !important;
    font-size: clamp(1.72rem, 7.5vw, 2.35rem) !important;
  }

  body[data-page="stories"] .stories-section-head span {
    grid-column: 2 !important;
  }

  body[data-page="stories"] .stories-page-list {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.9rem !important;
  }

  body[data-page="stories"] .story-page-frame:first-child {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
  }

  body[data-page="stories"] .story-page-frame:first-child img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }

  body[data-page="stories"] .story-page-frame:first-child figcaption {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 2.7rem !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.86rem !important;
  }

  body[data-page="stories"] .story-page-frame:first-child figcaption {
    align-content: start !important;
    gap: 0.25rem !important;
  }

  body[data-page="stories"] .story-page-frame:first-child figcaption span,
  body[data-page="stories"] .story-page-frame:first-child figcaption strong {
    font-size: 0.9rem !important;
    line-height: 1.12 !important;
  }

  body[data-page="stories"] .story-page-frame:first-child figcaption em {
    display: none !important;
  }

  body[data-page="stories"] .story-page-frame:not(:first-child) img {
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 760px) {
  html[lang="es"] body[data-page="stories"] .stories-hero h1 {
    max-width: 13.5em !important;
    font-size: clamp(1.62rem, 6.75vw, 2.05rem) !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}

html[lang="zh-CN"] body[data-page="stories"] .stories-hero h1,
html[lang="en"] body[data-page="stories"] .stories-hero h1,
html[lang="es"] body[data-page="stories"] .stories-hero h1,
html[lang="zh-CN"] body[data-page="stories"] .stories-section-head h2,
html[lang="en"] body[data-page="stories"] .stories-section-head h2,
html[lang="es"] body[data-page="stories"] .stories-section-head h2 {
  padding-bottom: 0.12em !important;
  line-height: 1.18 !important;
}

html[lang="zh-CN"] body[data-page="stories"] .story-page-frame:first-child figcaption span,
html[lang="en"] body[data-page="stories"] .story-page-frame:first-child figcaption span,
html[lang="es"] body[data-page="stories"] .story-page-frame:first-child figcaption span,
html[lang="zh-CN"] body[data-page="stories"] .story-page-frame:first-child figcaption strong,
html[lang="en"] body[data-page="stories"] .story-page-frame:first-child figcaption strong,
html[lang="es"] body[data-page="stories"] .story-page-frame:first-child figcaption strong {
  padding-bottom: 0.08em !important;
  line-height: 1.18 !important;
}
