:root {
  --crystal-ink: #172036;
  --crystal-muted: #65718a;
  --crystal-red: #b51f2a;
  --crystal-blue: #1f78d1;
  --crystal-violet: #7857d8;
  --crystal-glass: rgba(255, 255, 255, .64);
  --crystal-glass-strong: rgba(255, 255, 255, .82);
  --crystal-edge: rgba(255, 255, 255, .82);
  --crystal-line: rgba(86, 111, 151, .16);
  --crystal-shadow: 0 22px 60px rgba(46, 61, 94, .13);
}

html {
  background: #eef4ff;
}

body {
  position: relative;
  min-height: 100vh;
  color: var(--crystal-ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(98, 151, 255, .22), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(240, 80, 118, .14), transparent 28%),
    radial-gradient(circle at 52% 82%, rgba(122, 91, 220, .14), transparent 32%),
    linear-gradient(145deg, #f8fbff 0%, #edf4ff 48%, #fff8fa 100%);
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 34vw;
  height: 34vw;
  min-width: 320px;
  min-height: 320px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(85px);
  opacity: .20;
  animation: publicCrystalDrift 18s ease-in-out infinite alternate;
}

body::before {
  left: -10%;
  top: 25%;
  background: #4c9fff;
}

body::after {
  right: -12%;
  bottom: -15%;
  background: #e7528c;
  animation-delay: -7s;
}

.site-header,
main,
.site-footer,
.messages {
  position: relative;
  z-index: 1;
}

.site-header {
  border-bottom: 1px solid rgba(255,255,255,.78);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 42px rgba(42, 63, 98, .09);
  backdrop-filter: blur(22px) saturate(155%);
}

.breaking-strip {
  background:
    linear-gradient(90deg, rgba(116, 20, 31, .97), rgba(190, 31, 47, .95), rgba(116, 20, 31, .97));
  box-shadow: inset 0 -1px rgba(255,255,255,.18);
}

.brand img {
  filter: drop-shadow(0 10px 16px rgba(181, 31, 42, .16));
  transition: transform .28s ease, filter .28s ease;
}

.brand:hover img {
  transform: translateY(-2px) rotate(-2deg);
  filter: drop-shadow(0 14px 22px rgba(181, 31, 42, .24));
}

.main-nav a,
.nav-dropdown summary,
.account-links a,
.logout-form button {
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.main-nav a:hover,
.nav-dropdown summary:hover {
  color: var(--crystal-red);
  transform: translateY(-1px);
}

.nav-dropdown-menu {
  border: 1px solid var(--crystal-edge);
  background: rgba(255,255,255,.82);
  box-shadow: var(--crystal-shadow);
  backdrop-filter: blur(22px) saturate(150%);
}

.account-links a,
.logout-form button {
  border-color: rgba(122, 143, 179, .12);
  background: rgba(255,255,255,.38);
}

.account-links a:hover,
.logout-form button:hover {
  border-color: rgba(181, 31, 42, .24);
  background: rgba(255, 241, 244, .76);
  transform: translateY(-1px);
}

.home-hero {
  border-bottom: 1px solid rgba(104, 126, 162, .12);
  background: transparent;
}

.hero-copy,
.home-showcase-main,
.live-news-sidebar,
.story-card,
.service-card,
.home-plan-card,
.subscription-plan-card,
.subscription-line,
.subscription-summary,
.page-shell,
.article-page,
.auth-panel,
.service-results-shell {
  border: 1px solid var(--crystal-edge);
  background:
    linear-gradient(135deg, rgba(255,255,255,.80), rgba(255,255,255,.48)),
    var(--crystal-glass);
  box-shadow:
    inset 0 1px rgba(255,255,255,.95),
    inset 1px 0 rgba(255,255,255,.55),
    var(--crystal-shadow);
  backdrop-filter: blur(24px) saturate(145%);
}

.home-showcase-main,
.live-news-sidebar,
.story-card,
.service-card,
.home-plan-card,
.subscription-plan-card,
.page-shell,
.article-page,
.auth-panel {
  position: relative;
  overflow: hidden;
}

.home-showcase-main::before,
.live-news-sidebar::before,
.story-card::before,
.service-card::before,
.home-plan-card::before,
.subscription-plan-card::before,
.page-shell::before,
.article-page::before,
.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,.64), transparent 24%, transparent 74%, rgba(80,145,255,.07));
}

.home-showcase-main > *,
.live-news-sidebar > *,
.story-card > *,
.service-card > *,
.home-plan-card > *,
.subscription-plan-card > *,
.page-shell > *,
.article-page > *,
.auth-panel > * {
  position: relative;
  z-index: 1;
}

.story-card,
.service-card,
.home-plan-card,
.subscription-plan-card {
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.story-card:hover,
.service-card:hover,
.home-plan-card:hover,
.subscription-plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.98);
  box-shadow:
    inset 0 1px #fff,
    0 28px 68px rgba(45, 65, 101, .18),
    0 0 34px rgba(57, 132, 226, .08);
}

.story-card img,
.service-card img,
.home-showcase-main img,
.article-image,
.service-hero-image img {
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.story-card:hover img,
.service-card:hover img {
  transform: scale(1.045);
  filter: saturate(108%) contrast(103%);
}

.content-band {
  position: relative;
  background: transparent;
}

.content-band.muted {
  border-block: 1px solid rgba(98, 121, 160, .10);
  background: linear-gradient(135deg, rgba(232,241,255,.44), rgba(255,239,244,.30));
}

.section-heading h1,
.section-heading h2,
.article-header h1,
.page-shell h1,
.hero-copy h1 {
  color: #111b31;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.eyebrow,
.category {
  color: var(--crystal-red);
}

.category,
.category-list a,
.location-chip,
.subscription-badge {
  border: 1px solid rgba(181,31,42,.14);
  background: rgba(255, 244, 246, .68);
  box-shadow: inset 0 1px rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
}

.category-list a:hover {
  border-color: rgba(181,31,42,.28);
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(181,31,42,.10);
}

.article-page {
  max-width: 940px;
}

.article-header {
  border-bottom-color: rgba(89, 111, 147, .12);
}

.article-figure {
  overflow: hidden;
  border: 1px solid var(--crystal-edge);
  box-shadow: 0 20px 52px rgba(41, 60, 91, .14);
}

.article-content {
  color: #273149;
}

.article-content blockquote {
  border-left-color: var(--crystal-red);
  background: rgba(255,255,255,.54);
  box-shadow: inset 0 1px rgba(255,255,255,.82);
}

.byline,
.story-time,
.source,
.service-english-title {
  color: var(--crystal-muted);
}

.share-btn,
.whatsapp-cta,
.text-link,
.ghost-button,
.pagination a,
.pagination span,
.auth-panel button {
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}

.share-btn:hover,
.whatsapp-cta:hover,
.text-link:hover,
.ghost-button:hover,
.pagination a:hover,
.auth-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(38, 76, 126, .16);
  filter: brightness(1.04);
}

.info-list > *,
.service-plan-mini,
.home-plan-meta,
.subscription-message {
  border-color: rgba(94, 118, 157, .14);
  background: rgba(255,255,255,.46);
  box-shadow: inset 0 1px rgba(255,255,255,.80);
}

.auth-panel input,
.auth-panel textarea,
.auth-panel select,
input,
textarea,
select {
  border-color: rgba(89, 115, 157, .20);
  background: rgba(255,255,255,.64);
  box-shadow: inset 0 1px rgba(255,255,255,.86);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(31,120,209,.48);
  background: rgba(255,255,255,.90);
  box-shadow: 0 0 0 4px rgba(31,120,209,.09);
}

.messages .message,
.message {
  border: 1px solid var(--crystal-edge);
  background: rgba(255,255,255,.76);
  box-shadow: var(--crystal-shadow);
  backdrop-filter: blur(18px);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.62);
  background:
    linear-gradient(135deg, rgba(19, 31, 55, .95), rgba(36, 26, 50, .94));
  box-shadow: 0 -20px 60px rgba(49, 57, 86, .12);
}

.site-footer a {
  transition: color .2s ease, transform .2s ease;
}

.site-footer a:hover {
  color: #ffd4dc;
}

@keyframes publicCrystalDrift {
  from { transform: translate3d(-4%, -3%, 0) scale(.94); }
  to { transform: translate3d(9%, 8%, 0) scale(1.12); }
}

@media (max-width: 760px) {
  body::before,
  body::after {
    width: 72vw;
    height: 72vw;
    min-width: 240px;
    min-height: 240px;
    filter: blur(62px);
  }

  .story-card:hover,
  .service-card:hover,
  .home-plan-card:hover,
  .subscription-plan-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }

  .story-card,
  .service-card,
  .home-plan-card,
  .subscription-plan-card,
  .brand img {
    transition: none;
  }
}


/* public-layout-redesign-v2 */
.topbar {
  min-height: 82px;
  max-width: 1280px;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
}

.brand-copy {
  display: grid !important;
  gap: 5px;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.brand-copy small {
  color: #6d778d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-surface {
  width: max-content;
  max-width: 100%;
  justify-self: center;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px #fff, 0 10px 28px rgba(48,67,101,.08);
  backdrop-filter: blur(16px);
}

.nav-surface a {
  padding: 5px 4px;
}

.home-hero {
  padding-top: 38px;
  padding-bottom: 44px;
}

.home-showcase {
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.8fr) minmax(310px, .72fr);
  gap: 24px;
}

.home-showcase-main,
.live-news-sidebar {
  border-radius: 24px;
}

.home-showcase-main {
  padding: 10px;
}

.home-latest-sidebar {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 135px);
  overflow: auto;
}

.home-ad-sidebar {
  align-self: stretch;
  display: grid;
  gap: 18px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-width: 0;
  overflow: hidden;
}

.home-ad-sidebar > .ad-slot {
  align-content: center;
  margin: 0;
  min-height: 0;
  padding: 24px;
  border-radius: 22px;
  overflow: hidden;
}

.home-ad-sidebar .ad-slot__creative strong {
  font-size: clamp(23px, 2vw, 30px);
}

.home-ad-sidebar .ad-slot__contact {
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* Homepage broadcast ticker: compact news-channel strip kept inside the TV frame. */
.home-showcase-main .web-live-ticker {
  height: 40px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .14);
}

.home-showcase-main .web-live-ticker-label {
  flex-basis: 142px;
  padding: 0 14px;
  background: linear-gradient(180deg, #d71920, #ae0006);
}

.home-showcase-main .web-live-ticker-label i {
  display: none;
}

.home-showcase-main .web-live-ticker-label span {
  font-size: 16px;
  line-height: 1;
}

.home-showcase-main .web-live-ticker-chevrons {
  flex-basis: 40px;
  gap: 0;
  margin-left: 0;
}

.home-showcase-main .web-live-ticker-chevrons i {
  width: auto;
  transform: none;
}

.home-showcase-main .web-live-ticker-chevrons .is-dark {
  flex: 0 0 14px;
}

.home-showcase-main .web-live-ticker-chevrons .is-red {
  flex: 0 0 14px;
}

.home-showcase-main .web-live-ticker-chevrons .is-white {
  flex: 1 1 auto;
}

.home-showcase-main .web-live-ticker-marquee {
  border: 0;
  gap: 42px;
}

.home-showcase-main .web-live-ticker-marquee p {
  font-size: 16px;
  line-height: 1.15;
  padding: 2px 14px 0;
}

.home-showcase-main .web-live-ticker-cap {
  display: none;
}

@media (min-width: 841px) {
  .home-showcase {
    align-items: stretch;
  }

  .home-ad-sidebar {
    gap: 12px;
  }

  .home-ad-sidebar > .ad-slot {
    gap: 8px;
    padding: 14px 16px;
  }

  .home-ad-sidebar .ad-slot__badge {
    font-size: 9px;
    padding: 4px 7px;
  }

  .home-ad-sidebar .ad-slot__creative {
    gap: 2px;
    min-width: 0;
  }

  .home-ad-sidebar .ad-slot__creative strong {
    font-size: clamp(18px, 1.55vw, 23px);
    line-height: 1.08;
  }

  .home-ad-sidebar .ad-slot__creative span {
    font-size: 12px;
    line-height: 1.3;
  }

  .home-ad-sidebar .ad-slot__contact {
    font-size: 11px;
  }

  .home-ad-sidebar .ad-slot__cta {
    justify-self: start;
    padding: 8px 11px;
    font-size: 12px;
  }
}

@media (max-width: 840px) {
  .home-showcase-main .web-live-ticker {
    height: 32px;
  }

  .home-showcase-main .web-live-ticker-label {
    flex-basis: 105px;
    padding-inline: 8px;
  }

  .home-showcase-main .web-live-ticker-label span,
  .home-showcase-main .web-live-ticker-marquee p {
    font-size: 13px;
  }

  .home-showcase-main .web-live-ticker-chevrons {
    flex-basis: 32px;
  }

  .home-showcase-main .web-live-ticker-chevrons .is-dark,
  .home-showcase-main .web-live-ticker-chevrons .is-red {
    flex-basis: 11px;
  }

  .home-ad-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 620px) {
  .home-showcase-main .web-live-ticker {
    height: 29px;
  }

  .home-showcase-main .web-live-ticker-label {
    flex-basis: 92px;
  }

  .home-showcase-main .web-live-ticker-label span,
  .home-showcase-main .web-live-ticker-marquee p {
    font-size: 11px;
  }

  .home-showcase-main .web-live-ticker-chevrons {
    flex-basis: 26px;
  }

  .home-showcase-main .web-live-ticker-chevrons .is-dark,
  .home-showcase-main .web-live-ticker-chevrons .is-red {
    flex-basis: 9px;
  }

  .home-ad-sidebar {
    grid-template-columns: 1fr;
  }
}

.content-band {
  max-width: 1280px;
  padding-top: 74px;
  padding-bottom: 74px;
}

.section-heading {
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h1,
.section-heading h2 {
  margin-top: 4px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.section-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(181,31,42,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: var(--crystal-red);
  font-weight: 800;
}

.card-grid,
.service-grid,
.home-plan-grid {
  gap: 24px;
}

.story-card,
.service-card,
.home-plan-card {
  border-radius: 20px;
}

.story-card {
  min-height: 100%;
}

.story-card .story-media {
  aspect-ratio: 16 / 9;
}

.story-card .story-body {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
}

.story-kicker,
.story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-kicker {
  margin-bottom: 14px;
}

.story-kicker .story-time {
  white-space: nowrap;
}

.story-card .story-body > p {
  flex: 1;
}

.story-footer {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(88,110,145,.12);
  color: var(--crystal-muted);
  font-size: 12px;
  font-weight: 700;
}

.story-footer a {
  color: var(--crystal-blue);
  font-size: 13px;
  font-weight: 900;
}

.listing-hero,
.listing-page > .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 42px;
  padding: 34px;
  border: 1px solid var(--crystal-edge);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(239,246,255,.55));
  box-shadow: var(--crystal-shadow);
  backdrop-filter: blur(22px);
}

.listing-hero h1,
.listing-page > .section-heading h1 {
  max-width: 800px;
  margin: 7px 0 12px;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

.listing-hero p {
  max-width: 720px;
}

.listing-hero-mark {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(181,31,42,.90), rgba(116,63,187,.84));
  box-shadow: inset 0 1px rgba(255,255,255,.35), 0 22px 45px rgba(112,50,112,.20);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  transform: rotate(4deg);
}

.editorial-grid .story-card:first-child,
.listing-page > .card-grid .story-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(260px, .85fr);
}

.editorial-grid .story-card:first-child .story-media,
.listing-page > .card-grid .story-card:first-child .story-media {
  height: 100%;
  aspect-ratio: auto;
}

.service-hero {
  max-width: 1280px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  align-items: stretch;
  gap: 24px;
  padding: 48px 20px;
}

.service-hero .hero-copy,
.service-hero-panel {
  border: 1px solid var(--crystal-edge);
  border-radius: 26px;
  background: rgba(255,255,255,.66);
  box-shadow: var(--crystal-shadow);
  backdrop-filter: blur(24px);
}

.service-hero .hero-copy {
  padding: clamp(28px, 5vw, 64px);
}

.service-hero .hero-copy h1 {
  max-width: 800px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: .98;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.service-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(84,176,255,.28), transparent 36%),
    linear-gradient(145deg, rgba(22,38,70,.96), rgba(63,34,80,.94));
  color: #fff;
}

.service-hero-panel > span {
  color: #9bdcff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.service-hero-panel > strong {
  margin: 15px 0 28px;
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.service-hero-panel > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-hero-panel b {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 11px;
}

.editorial-detail {
  max-width: 1100px;
  padding: clamp(22px, 4vw, 54px);
  border-radius: 28px;
}

.editorial-detail .article-header {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.editorial-detail .article-taxonomy,
.editorial-detail .share-bar,
.editorial-detail .byline {
  justify-content: center;
}

.editorial-detail .article-header h1 {
  margin: 18px auto;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.01;
  letter-spacing: -.045em;
}

.editorial-detail .article-header > p {
  max-width: 800px;
  margin-inline: auto;
  font-size: clamp(18px, 2vw, 23px);
}

.editorial-detail .article-figure {
  margin: 34px 0;
  border-radius: 22px;
}

.reading-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 720px);
  justify-content: center;
  gap: 42px;
  margin-top: 38px;
}

.reading-rail {
  position: sticky;
  top: 120px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(92,117,157,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.52);
}

.reading-rail span {
  margin-top: 10px;
  color: var(--crystal-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reading-rail span:first-child {
  margin-top: 0;
}

.reading-rail strong {
  font-size: 13px;
}

.reading-layout .article-content {
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.85;
}

.page-shell,
.auth-panel,
.subscription-page {
  border-radius: 26px;
  padding: clamp(24px, 4vw, 50px);
}

.auth-panel {
  max-width: 560px;
}

.subscription-layout {
  gap: 24px;
}

.subscription-summary {
  position: sticky;
  top: 120px;
  border-radius: 18px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, .55fr));
  gap: 42px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 28px;
}

.footer-brand {
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
}

.footer-brand img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 15px;
  object-fit: contain;
  filter: none;
  background: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.footer-brand div {
  display: grid;
  gap: 7px;
}

.footer-brand small {
  max-width: 320px;
  color: rgba(255,255,255,.60);
  font-size: 13px;
}

.footer-nav-group {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-nav-group strong {
  margin-bottom: 5px;
  color: #fff;
}

.footer-nav-group a {
  color: rgba(255,255,255,.66);
  font-size: 13px;
}

.footer-copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-surface {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: auto;
    justify-content: center;
    border-radius: 18px;
  }

  .home-showcase,
  .service-hero {
    grid-template-columns: 1fr;
  }

  .home-latest-sidebar,
  .reading-rail,
  .subscription-summary {
    position: relative;
    top: auto;
  }

  .reading-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .reading-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .reading-rail span {
    margin-top: 0;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .topbar {
    display: flex;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1;
  }

  .brand-copy small {
    display: none;
  }

  .nav-surface {
    order: 3;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .account-links {
    margin-left: auto;
  }

  .content-band {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .listing-hero,
  .listing-page > .section-heading {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .listing-hero-mark {
    display: none;
  }

  .editorial-grid .story-card:first-child,
  .listing-page > .card-grid .story-card:first-child {
    grid-column: auto;
    display: block;
  }

  .story-card .story-body {
    min-height: 0;
  }

  .reading-rail {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-detail .article-header {
    text-align: left;
  }

  .editorial-detail .article-taxonomy,
  .editorial-detail .share-bar,
  .editorial-detail .byline {
    justify-content: flex-start;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}


/* account-pages-redesign-v1 */
.account-page,
.profile-page {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(390px, 1.15fr);
  width: min(1080px, calc(100% - 40px));
  margin: 58px auto 78px;
  overflow: hidden;
  border: 1px solid var(--crystal-edge);
  border-radius: 30px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 32px 90px rgba(37,54,87,.17), inset 0 1px #fff;
  backdrop-filter: blur(26px) saturate(145%);
}

.account-visual,
.profile-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 650px;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(81,190,255,.34), transparent 35%),
    radial-gradient(circle at 90% 85%, rgba(237,70,121,.24), transparent 36%),
    linear-gradient(145deg, #172748 0%, #32204e 100%);
}

.account-visual::before,
.profile-summary::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.03));
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 28px 65px rgba(0,0,0,.18);
  transform: rotate(14deg);
}

.account-visual > *,
.profile-summary > * {
  position: relative;
  z-index: 1;
}

.account-badge {
  align-self: flex-start;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #aee7ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.account-visual h1,
.profile-summary h1 {
  max-width: 520px;
  margin: 18px 0 14px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.035em;
}

.account-visual > p,
.profile-summary > p {
  color: rgba(255,255,255,.68);
}

.account-benefits {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 700;
}

.account-form-panel,
.profile-editor {
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(244,248,255,.62));
}

.account-form-heading > span {
  color: var(--crystal-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.account-form-heading h2 {
  margin: 8px 0;
  color: #131e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
}

.account-form-heading p {
  margin: 0 0 24px;
  color: var(--crystal-muted);
}

.account-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.account-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(86,112,153,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px #fff;
  font-size: 13px;
  font-weight: 800;
  color: #253149;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.account-socials a::before {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-right: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(43,63,96,.12);
  font-size: 13px;
  font-weight: 900;
}

.account-socials a[href*="google"]::before {
  content: "G";
  color: #4285f4;
}

.account-socials a[href*="facebook"]::before {
  content: "f";
  background: #1877f2;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.account-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(31,120,209,.30);
  box-shadow: 0 12px 28px rgba(40,74,122,.12);
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
  color: #8b95a8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-divider::before,
.account-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(91,114,151,.15);
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form p {
  display: grid;
  gap: 7px;
  margin: 0;
}

.account-form label {
  color: #303a50;
  font-size: 12px;
  font-weight: 900;
}

.account-form input,
.account-form textarea,
.account-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border-radius: 12px;
}

.account-form textarea {
  min-height: 110px;
}

.account-form .helptext,
.account-form ul {
  margin: 0;
  color: #7b8598;
  font-size: 11px;
}

.account-form .errorlist {
  color: #ad1725;
}

.account-form > button {
  min-height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #b51f2a, #7d304e);
  color: #fff;
  box-shadow: 0 15px 32px rgba(181,31,42,.20);
  font-weight: 900;
  cursor: pointer;
}

.account-switch {
  margin: 24px 0 0;
  text-align: center;
  color: var(--crystal-muted);
  font-size: 13px;
}

.account-switch a {
  color: var(--crystal-red);
  font-weight: 900;
}

.profile-page {
  grid-template-columns: minmax(280px, .65fr) minmax(420px, 1.35fr);
}

.profile-summary {
  justify-content: flex-start;
  min-height: 720px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.08));
  box-shadow: inset 0 1px rgba(255,255,255,.28), 0 22px 46px rgba(0,0,0,.18);
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 800;
}

.profile-summary h1 {
  font-size: clamp(31px, 4vw, 46px);
}

.profile-summary nav {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.profile-summary nav a {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 800;
}

.profile-summary nav a:hover {
  background: rgba(255,255,255,.12);
}

@media (max-width: 820px) {
  .account-page,
  .profile-page {
    grid-template-columns: 1fr;
    width: min(640px, calc(100% - 28px));
    margin-top: 30px;
    border-radius: 22px;
  }

  .account-visual,
  .profile-summary {
    min-height: auto;
    padding: 32px;
  }

  .account-visual::before,
  .profile-summary::before {
    width: 120px;
    height: 120px;
  }

  .account-visual h1 {
    max-width: 430px;
    font-size: 42px;
  }

  .profile-summary {
    align-items: flex-start;
  }

  .profile-summary nav {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .account-form-panel,
  .profile-editor {
    padding: 26px 20px;
  }

  .account-visual h1 {
    font-size: 34px;
  }

  .account-socials,
  .profile-summary nav {
    grid-template-columns: 1fr;
  }
}


/* homepage-subscriptions-redesign-v1 */
.subscription-home-band {
  max-width: 1320px;
}

.subscription-showcase {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid var(--crystal-edge);
  border-radius: 30px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 32px 90px rgba(37,54,87,.17), inset 0 1px #fff;
  backdrop-filter: blur(26px) saturate(145%);
}

.subscription-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 600px;
  margin: 0;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(81,190,255,.32), transparent 35%),
    radial-gradient(circle at 90% 88%, rgba(237,70,121,.24), transparent 36%),
    linear-gradient(145deg, #172748 0%, #32204e 100%);
}

.subscription-intro::before {
  content: "PRO";
  position: absolute;
  right: -10px;
  top: 58px;
  color: rgba(255,255,255,.055);
  font-family: Georgia, serif;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
}

.subscription-intro > * {
  position: relative;
  z-index: 1;
}

.subscription-intro .eyebrow {
  color: #9ddfff;
}

.subscription-intro h2 {
  max-width: 480px;
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}

.subscription-intro p {
  color: rgba(255,255,255,.68);
}

.subscription-intro .account-benefits {
  margin: 24px 0;
}

.subscription-view-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.subscription-plan-area {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(241,246,255,.62));
}

.subscription-area-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.subscription-area-heading p {
  margin: 0;
}

.subscription-area-heading > span {
  color: var(--crystal-muted);
  font-size: 12px;
  font-weight: 800;
}

.premium-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.premium-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(102,174,255,.13), transparent 30%),
    rgba(255,255,255,.72);
}

.premium-plan-card > div:first-child {
  min-height: 124px;
}

.premium-plan-card .category {
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: .06em;
}

.premium-plan-card h3 {
  margin: 14px 0 8px;
  color: #162139;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.08;
}

.premium-plan-card p {
  color: #69748a;
  font-size: 13px;
  line-height: 1.55;
}

.premium-plan-card .home-plan-meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin: 18px 0;
  padding: 17px 0;
  border-block: 1px solid rgba(86,111,151,.12);
  background: transparent;
}

.premium-plan-card .home-plan-meta strong {
  color: var(--crystal-red);
  font-size: 34px;
  line-height: 1;
}

.premium-plan-card .home-plan-meta span {
  color: var(--crystal-muted);
  font-size: 12px;
}

.premium-plan-card ul {
  flex: 1;
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.premium-plan-card li {
  position: relative;
  padding-left: 22px;
  color: #38445b;
  font-size: 13px;
}

.premium-plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e7f7ee;
  color: #16834d;
  font-size: 10px;
  font-weight: 900;
}

.premium-plan-card .home-plan-actions {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(86,111,151,.12);
}

.premium-plan-card .home-plan-actions > a,
.premium-plan-card .home-plan-actions button {
  min-height: 40px;
  border-radius: 10px;
}

@media (max-width: 960px) {
  .subscription-showcase {
    grid-template-columns: 1fr;
  }

  .subscription-intro {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .subscription-showcase {
    border-radius: 22px;
  }

  .subscription-intro,
  .subscription-plan-area {
    padding: 26px 20px;
  }

  .subscription-intro h2 {
    font-size: 38px;
  }

  .subscription-area-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* compact-public-spacing-v1 */
.home-hero {
  padding-top: 24px;
  padding-bottom: 28px;
}

.content-band {
  width: min(1120px, calc(100% - 36px));
  max-width: 1120px;
  padding: 38px 0;
}

.content-band + .content-band {
  margin-top: 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.card-grid,
.service-grid,
.home-plan-grid {
  gap: 18px;
}

.story-card .story-body {
  min-height: 218px;
  padding: 18px;
}

.story-kicker {
  margin-bottom: 10px;
}

.story-footer {
  margin-top: 12px;
  padding-top: 12px;
}

.subscription-home-band {
  width: min(1160px, calc(100% - 36px));
  max-width: 1160px;
}

.subscription-intro {
  min-height: 500px;
  padding: clamp(28px, 4vw, 44px);
}

.subscription-intro h2 {
  font-size: clamp(36px, 4.2vw, 54px);
}

.subscription-plan-area {
  padding: clamp(22px, 3vw, 36px);
}

.premium-plan-card {
  padding: 20px;
}

.listing-hero,
.listing-page > .section-heading {
  margin-bottom: 28px;
  padding: 26px;
}

.listing-hero h1,
.listing-page > .section-heading h1 {
  font-size: clamp(34px, 4.6vw, 60px);
}

.article-page,
.page-shell,
.auth-panel,
.subscription-page {
  width: min(940px, calc(100% - 36px));
  margin-top: 34px;
  margin-bottom: 46px;
}

.editorial-detail {
  max-width: 980px;
  padding: clamp(22px, 3vw, 42px);
}

.editorial-detail .article-header h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.account-page,
.profile-page {
  width: min(980px, calc(100% - 36px));
  margin-top: 36px;
  margin-bottom: 52px;
}

.site-footer {
  margin-top: 36px;
}

.footer-shell {
  width: min(1080px, calc(100% - 36px));
  padding-top: 40px;
  padding-bottom: 22px;
}

@media (max-width: 680px) {
  .home-hero {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .content-band,
  .subscription-home-band {
    width: min(100% - 24px, 1120px);
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .listing-hero,
  .listing-page > .section-heading {
    margin-bottom: 22px;
    padding: 20px;
  }

  .article-page,
  .page-shell,
  .auth-panel,
  .subscription-page,
  .account-page,
  .profile-page {
    width: calc(100% - 24px);
    margin-top: 22px;
    margin-bottom: 32px;
  }
}
