/* NARUMUGAI | நறுமுகை — Bootstrap 5 brand layer */

:root {
  --navy: #073b5c;
  --royal: #0b5275;
  --teal: #087e9b;
  --gold: #d6a83a;
  --gold-light: #f0d37a;
  --orange: #e87524;
  --cream: #f5e8c5;
  --off-white: #fff7df;
  --ink: #062536;
  --parchment: #f3e6c8;
  --surface: #faf6eb;
  --muted: #5a6f7d;
  --font-serif: "Noto Serif Tamil", Georgia, serif;
  --font-sans: "Noto Sans Tamil", "Catamaran", system-ui, sans-serif;
  --font-display: "Catamaran", "Noto Sans Tamil", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
}

::selection {
  background: color-mix(in srgb, var(--gold) 35%, white);
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--royal);
}

img {
  max-width: 100%;
  height: auto;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
}

.text-navy { color: var(--navy) !important; }
.text-royal { color: var(--royal) !important; }
.text-teal { color: var(--teal) !important; }
.text-gold { color: var(--gold) !important; }
.text-gold-light { color: var(--gold-light) !important; }
.text-orange { color: var(--orange) !important; }
.text-cream { color: var(--cream) !important; }
.text-muted-brand { color: var(--muted) !important; }

.bg-navy { background-color: var(--navy) !important; }
.bg-royal { background-color: var(--royal) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-off-white { background-color: var(--off-white) !important; }
.bg-parchment { background-color: var(--parchment) !important; }
.bg-surface { background-color: var(--surface) !important; }
.bg-ink { background-color: #041e2f !important; }

/* Breaking ticker — full width start to end */
.breaking-bar {
  background: #062536;
  color: var(--cream);
  border-bottom: 1px solid rgba(214, 168, 58, 0.25);
  width: 100%;
}

.breaking-bar-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.breaking-label {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ticker-wrap {
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: ticker 42s linear infinite;
  padding: 0.55rem 1rem;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  white-space: nowrap;
  color: rgba(245, 232, 197, 0.9);
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  margin-left: 2.5rem;
  vertical-align: middle;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(214, 168, 58, 0.25);
  position: sticky;
  top: 0;
  z-index: 1030;
  overflow: visible;
}

.site-header .navbar {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  overflow: visible;
}

.site-header .navbar > .container,
.site-header .navbar > .container-fluid,
.site-header .header-bar-inner {
  max-width: none;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(7, 59, 92, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(7, 59, 92, 0.18);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-lockup img:not(.brand-banner-img) {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-header .brand-lockup {
  gap: 0;
  padding: 0.15rem 0;
  margin-right: 0.75rem;
  overflow: visible;
}

.site-header .brand-lockup-banner {
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: min(420px, calc(100vw - 7.5rem));
  min-width: 0;
}

.site-header .brand-banner-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
}

.site-footer .brand-lockup-banner {
  gap: 0;
  max-width: 420px;
}

.site-footer .brand-banner-img-footer {
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header .brand-ta {
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff7df;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.site-header .brand-ta-sub {
  display: inline;
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.88;
  vertical-align: baseline;
  margin-left: 0.15em;
}

.site-header .brand-en {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-top: 0.12rem;
}

.site-header .brand-en-sub {
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.9;
}

.site-header .brand-tagline {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(245, 232, 197, 0.78);
  margin-top: 0.18rem;
  line-height: 1.25;
}

.brand-ta {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--cream);
  line-height: 1.1;
  display: block;
}

.brand-ta-sub {
  font-size: 0.62em;
  font-weight: 600;
  opacity: 0.88;
}

.brand-en {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.brand-en-sub {
  font-size: 0.85em;
  letter-spacing: 0.12em;
}

.brand-tagline {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(245, 232, 197, 0.72);
  margin-top: 0.15rem;
  line-height: 1.25;
}

.navbar-nav .nav-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 232, 197, 0.85) !important;
  padding: 0.5rem 0.55rem !important;
  white-space: nowrap;
}

.navbar-nav .nav-link.nav-ta {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold-light) !important;
}

.header-right {
  order: 2;
  align-items: center;
  flex-shrink: 0;
}

.navbar-collapse {
  order: 3;
  flex-basis: 100%;
}

/* Keep logo + controls on one row below xl; menu collapse still wraps */
@media (max-width: 1199.98px) {
  .site-header .navbar > .container,
  .site-header .navbar > .container-fluid,
  .site-header .header-bar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    column-gap: 0.75rem;
    row-gap: 0;
  }

  .site-header .navbar-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .site-header .header-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0 !important;
  }

  .site-header .navbar-collapse {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-header .brand-lockup-banner {
    max-width: 100%;
  }

  .site-header .brand-banner-img {
    max-width: 100%;
    max-height: 58px;
  }
}

@media (min-width: 1200px) {
  .header-right {
    order: 3;
    margin-left: 0.75rem !important;
  }

  .navbar-collapse {
    order: 2;
    flex-basis: auto;
    flex-grow: 1;
  }

  .header-right .navbar-toggler {
    display: none;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(214, 168, 58, 0.45);
  background: rgba(4, 30, 47, 0.55);
  flex-shrink: 0;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(245, 232, 197, 0.75);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn + .lang-btn {
  border-left: 1px solid rgba(214, 168, 58, 0.35);
}

.lang-btn:hover {
  color: var(--gold-light);
}

.lang-btn.is-active {
  background: rgba(214, 168, 58, 0.22);
  color: #fff7df;
}

.lang-dropdown {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.lang-dropdown-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 168, 58, 0.45);
  background: rgba(4, 30, 47, 0.55);
  color: #fff7df;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  height: 2.15rem;
  padding: 0 1.55rem 0 0.65rem;
  min-width: 3.75rem;
  cursor: pointer;
  position: relative;
}

.lang-dropdown-btn::after {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  border-top-color: rgba(240, 211, 122, 0.9);
}

.lang-dropdown-btn:hover,
.lang-dropdown-btn:focus,
.lang-dropdown-btn.show {
  color: var(--gold-light);
  border-color: rgba(214, 168, 58, 0.7);
  background: rgba(4, 30, 47, 0.75);
  box-shadow: none;
}

.lang-dropdown-menu {
  min-width: 6.5rem;
  padding: 0.25rem 0;
  margin-top: 0.35rem !important;
}

.lang-dropdown-menu .dropdown-item {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.85rem;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
}

.lang-dropdown-menu .dropdown-item.active,
.lang-dropdown-menu .dropdown-item:active {
  background: rgba(214, 168, 58, 0.22);
  color: #fff7df;
}

html[data-lang="en"] .lang-ta,
html[data-lang="ta"] .lang-en {
  display: none !important;
}

.navbar-toggler {
  border: 1px solid rgba(214, 168, 58, 0.35);
  padding: 0.35rem 0.5rem;
  height: 2.15rem;
  width: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23F0D37A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.55rem 1rem;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  border-color: var(--gold-light);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(214, 168, 58, 0.45);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.55rem 1rem;
}

.btn-outline-gold:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.65rem 1.15rem;
}

.btn-navy:hover {
  background: var(--royal);
  color: var(--cream);
  border-color: var(--royal);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(7, 59, 92, 0.35);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.55rem 1rem;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.dropdown-menu {
  background: var(--navy);
  border: 1px solid rgba(214, 168, 58, 0.25);
  border-radius: 0;
}

.dropdown-item {
  color: rgba(245, 232, 197, 0.9);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.dropdown-item:hover {
  background: rgba(11, 82, 117, 0.5);
  color: var(--gold-light);
}

/* Hero slider */
.hero-slider {
  position: relative;
  background: #041e2f;
  color: var(--cream);
  overflow: hidden;
}

.hero-slider .carousel-item {
  min-height: 0;
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  background: #041e2f;
  line-height: 0;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
}

.hero-banner-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-hotspot {
  position: absolute;
  pointer-events: auto;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 120%;
  color: transparent;
  border: 0;
}

.hero-hotspot-primary {
  left: 4.8%;
  top: 58%;
  width: 14.5%;
  height: 9.5%;
}

.hero-hotspot-secondary {
  left: 20.2%;
  top: 58%;
  width: 13.5%;
  height: 9.5%;
}

.hero-slide {
  position: relative;
  min-height: clamp(420px, 62svh, 620px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(4, 30, 47, 0.96) 0%, rgba(7, 59, 92, 0.82) 38%, rgba(7, 59, 92, 0.35) 68%, rgba(4, 30, 47, 0.2) 100%),
    var(--hero-img) right center / cover no-repeat;
}

.hero-slide-panel {
  min-height: clamp(420px, 62svh, 620px);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 3.25rem 0 4.5rem;
}

.hero-slide-copy {
  max-width: 34rem;
}

.hero-slide-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.35;
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-slide-lead {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(245, 232, 197, 0.88);
  max-width: 30rem;
  margin-bottom: 1.35rem;
}

.hero-slider .carousel-indicators {
  margin-bottom: 1rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 2rem;
  height: 3px;
  border-radius: 0;
  background-color: rgba(245, 232, 197, 0.35);
  border: 0;
  opacity: 1;
}

.hero-slider .carousel-indicators .active {
  background-color: var(--gold);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 3.5rem;
  opacity: 0.85;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
}

@media (max-width: 767.98px) {
  .hero-hotspot-primary {
    left: 4%;
    top: 56%;
    width: 28%;
    height: 11%;
  }

  .hero-hotspot-secondary {
    left: 34%;
    top: 56%;
    width: 28%;
    height: 11%;
  }

  .hero-slide-copy {
    max-width: 100%;
  }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-pad {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.2;
}

.section-title-light {
  color: var(--cream);
}

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
}

.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ratio-editorial {
  overflow: hidden;
}

.ratio-editorial img {
  transition: transform 0.7s ease;
}

.ratio-editorial:hover img {
  transform: scale(1.03);
}

.meta-line {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.palm-texture {
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(214, 168, 58, 0.08), transparent 45%),
    linear-gradient(180deg, #f7efd8 0%, #f1e4c4 100%);
}

.manuscript-border {
  border: 1px solid rgba(214, 168, 58, 0.35);
  box-shadow: inset 0 0 0 4px rgba(245, 232, 197, 0.55);
  background: rgba(255, 249, 235, 0.7);
}

.topic-chip {
  display: block;
  border: 1px solid rgba(214, 168, 58, 0.3);
  background: rgba(255, 247, 223, 0.8);
  padding: 1rem 0.75rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s;
}

.topic-chip:hover {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--navy);
}

.word-card {
  border: 1px solid rgba(214, 168, 58, 0.3);
  background: linear-gradient(135deg, var(--cream), var(--off-white), #efe0b8);
  padding: 2.5rem;
  position: relative;
}

.magazine-cover {
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.magazine-cover::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(214, 168, 58, 0.3);
  pointer-events: none;
}

.poetry-card {
  border: 1px solid rgba(214, 168, 58, 0.25);
  background: linear-gradient(180deg, var(--off-white), var(--cream));
  padding: 3rem 2rem;
  text-align: center;
}

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(214, 168, 58, 0.25);
}

.breadcrumb-brand {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 232, 197, 0.5);
}

.breadcrumb-brand a {
  color: inherit;
}

.breadcrumb-brand a:hover {
  color: var(--gold-light);
}

.article-body {
  font-size: 1.125rem;
  line-height: 1.9;
}

.article-body p + p {
  margin-top: 1.35rem;
}

.pull-quote {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 3px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--navy);
}

.site-footer {
  background: #041e2f;
  color: var(--cream);
  margin-top: auto;
}

.site-footer a {
  color: rgba(245, 232, 197, 0.75);
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214, 168, 58, 0.3);
  color: var(--gold-light) !important;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-btn svg {
  display: block;
  flex-shrink: 0;
}

.social-btn:hover {
  border-color: var(--gold);
  background: rgba(11, 82, 117, 0.4);
  color: var(--gold) !important;
}

.bud-icon {
  display: inline-block;
  vertical-align: middle;
}

.form-control,
.form-select {
  border-radius: 0;
  border-color: rgba(7, 59, 92, 0.15);
  padding: 0.7rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(214, 168, 58, 0.2);
}

.card-editorial {
  border: 1px solid rgba(214, 168, 58, 0.25);
  border-radius: 0;
  background: rgba(255, 247, 223, 0.65);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border: 1px solid rgba(214, 168, 58, 0.45);
  background: rgba(7, 59, 92, 0.06);
  color: var(--navy);
}

.contact-icon svg {
  display: block;
}

.contact-card a {
  color: var(--navy);
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--teal);
}

.contact-map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(214, 168, 58, 0.35);
  background: rgba(255, 247, 223, 0.65);
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-player-wrap {
  max-width: 920px;
}

.tv-video-grid > [class*="col-"] {
  display: flex;
}

.tv-video-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tv-player-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 140px;
  border: 1px solid rgba(214, 168, 58, 0.4);
  background: #041e2f;
  box-shadow: 0 18px 48px rgba(7, 59, 92, 0.18);
}

.tv-player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Equal-height magazine book cards */
.magazine-book-grid > [class*="col-"] {
  display: flex;
}

.magazine-book-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(214, 168, 58, 0.28);
  background: rgba(255, 247, 223, 0.72);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.magazine-book-card:hover {
  border-color: rgba(214, 168, 58, 0.65);
  box-shadow: 0 14px 36px rgba(7, 59, 92, 0.1);
}

.magazine-book-cover {
  flex-shrink: 0;
  overflow: hidden;
  background: #0a3148;
  aspect-ratio: 3 / 4;
  width: 100%;
  display: block;
  position: relative;
}

.magazine-cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.magazine-book-card:hover .magazine-cover-img {
  transform: scale(1.03);
}

.magazine-book-locked .magazine-cover-img {
  filter: blur(5px) brightness(0.55);
  transform: scale(1.06);
}

.magazine-book-locked:hover .magazine-cover-img {
  filter: blur(4px) brightness(0.5);
  transform: scale(1.08);
}

.magazine-lock-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 30, 47, 0.25) 0%, rgba(4, 30, 47, 0.72) 100%);
  pointer-events: none;
}

.magazine-lock-veil::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(240, 211, 122, 0.85);
  background:
    radial-gradient(circle at 50% 42%, transparent 38%, rgba(240, 211, 122, 0.95) 40% 55%, transparent 57%),
    linear-gradient(rgba(240, 211, 122, 0.95), rgba(240, 211, 122, 0.95)) center 58% / 42% 28% no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.magazine-subscribe-btn {
  white-space: nowrap;
}

/* Branded book covers (match banner Narumugai hardcover look) */
.book-face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  text-decoration: none !important;
  color: #f0d37a !important;
  box-shadow:
    inset 10px 0 18px rgba(0, 0, 0, 0.28),
    inset -2px 0 0 rgba(214, 168, 58, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, transparent 12%),
    radial-gradient(ellipse at 50% 35%, rgba(214, 168, 58, 0.12), transparent 55%),
    linear-gradient(160deg, #0a2f48 0%, #062536 55%, #041e2f 100%);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.magazine-book-card:hover .book-face {
  transform: translateY(-3px);
  box-shadow:
    inset 10px 0 18px rgba(0, 0, 0, 0.28),
    inset -2px 0 0 rgba(214, 168, 58, 0.28),
    0 16px 28px rgba(7, 59, 92, 0.22);
}

.book-face-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #f0d37a;
  line-height: 1.2;
}

.book-face-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.book-face-title {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  color: #f5e8c5;
  font-weight: 600;
  max-width: 11ch;
}

.book-face-issue {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 211, 122, 0.72);
  margin-top: 0.25rem;
}

.book-face-bloom {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, transparent 12%),
    radial-gradient(ellipse at 50% 30%, rgba(232, 117, 36, 0.18), transparent 50%),
    linear-gradient(160deg, #0a2f48 0%, #073b5c 50%, #041e2f 100%);
}

.book-face-stone {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, transparent 12%),
    radial-gradient(ellipse at 50% 30%, rgba(214, 168, 58, 0.16), transparent 50%),
    linear-gradient(160deg, #123447 0%, #062536 55%, #031820 100%);
}

.book-face-coast {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, transparent 12%),
    radial-gradient(ellipse at 50% 30%, rgba(8, 126, 155, 0.28), transparent 50%),
    linear-gradient(160deg, #0b5275 0%, #073b5c 55%, #041e2f 100%);
}

.book-face-sangam {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, transparent 12%),
    radial-gradient(ellipse at 50% 30%, rgba(240, 211, 122, 0.2), transparent 50%),
    linear-gradient(160deg, #0d3d2e 0%, #073b5c 50%, #041e2f 100%);
}

.book-face-diaspora {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, transparent 12%),
    radial-gradient(ellipse at 50% 30%, rgba(11, 82, 117, 0.35), transparent 50%),
    linear-gradient(160deg, #1a2740 0%, #062536 55%, #041e2f 100%);
}

.book-face-language {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, transparent 12%),
    radial-gradient(ellipse at 50% 30%, rgba(214, 168, 58, 0.22), transparent 50%),
    linear-gradient(160deg, #2a1f12 0%, #0a3148 45%, #041e2f 100%);
}

.magazine-book-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.15rem 1.15rem 1.25rem;
  min-height: 0;
}

.magazine-book-title {
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 0.65rem;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-book-title a:hover {
  color: var(--royal);
}

.magazine-book-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-book-actions {
  display: flex;
  gap: 1rem;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
}

.magazine-view-btn {
  min-width: 6.5rem;
  text-align: center;
  padding: 0.5rem 1.15rem;
}

.news-story-grid > [class*="col-"] {
  display: flex;
}

.news-story-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(214, 168, 58, 0.28);
  background: rgba(255, 247, 223, 0.72);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.news-story-card:hover {
  border-color: rgba(214, 168, 58, 0.65);
  box-shadow: 0 14px 36px rgba(7, 59, 92, 0.1);
}

.news-story-media {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  line-height: 0;
  background: #fffdf8;
  border-bottom: 1px solid rgba(214, 168, 58, 0.18);
}

.news-story-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.news-story-card:hover .news-story-media img {
  transform: none;
}

.news-story-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.15rem 1.15rem 1.25rem;
  min-height: 0;
}

.news-story-title {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 0.45rem;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-story-title a:hover {
  color: var(--royal);
}

.news-story-en {
  color: var(--royal);
  font-size: 0.92rem;
  margin: 0 0 0.55rem;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-story-summary {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
  flex: 1 1 auto;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-story-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.interview-card {
  position: relative;
  overflow: hidden;
}

.interview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.interview-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(7, 59, 92, 0.92));
  color: var(--cream);
}

.video-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 82, 117, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .ratio-editorial img {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy);
    padding: 1rem 0 1.25rem;
    border-top: 1px solid rgba(214, 168, 58, 0.2);
    margin-top: 0.75rem;
  }

  .site-header .brand-lockup-banner {
    max-width: 100%;
  }

  .site-header .brand-banner-img {
    max-height: 52px;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .site-header .navbar > .container,
  .site-header .navbar > .container-fluid,
  .site-header .header-bar-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    column-gap: 0.5rem;
  }

  .site-header .brand-banner-img {
    max-height: 44px;
  }

  .breaking-label {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Home page — new section layout */
.home-block {
  padding: 4.5rem 0;
}

.home-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.home-about {
  background:
    radial-gradient(ellipse at 12% 20%, rgba(214, 168, 58, 0.12), transparent 45%),
    linear-gradient(180deg, #fff9eb 0%, var(--surface) 100%);
}

.home-about-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(7, 59, 92, 0.18));
}

.about-portrait {
  margin: 0;
  max-width: 420px;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(214, 168, 58, 0.4);
  box-shadow: 0 18px 40px rgba(7, 59, 92, 0.18);
}

.about-intro-section {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(8, 126, 155, 0.08), transparent 40%),
    radial-gradient(ellipse at 88% 100%, rgba(214, 168, 58, 0.12), transparent 42%),
    linear-gradient(180deg, #fffdf8 0%, var(--surface) 100%);
}

.about-intro-head {
  max-width: 40rem;
}

.about-intro-copy {
  max-width: 48rem;
}

.about-intro-copy p + p {
  margin-top: 1rem;
}

.about-content-item {
  padding: 1.25rem 1.25rem 1.25rem 1.15rem;
  border-left: 2px solid rgba(214, 168, 58, 0.55);
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-content-item:hover {
  border-left-color: var(--gold);
  transform: translateY(-2px);
}

.about-intro-panel {
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
  border-left: 3px solid var(--teal);
  background: rgba(255, 253, 248, 0.9);
}

.about-intro-closing {
  max-width: 42rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.75;
}

.about-intro-motto {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  padding: 2rem 1.75rem;
  background: linear-gradient(135deg, #062536 0%, #073b5c 55%, #0b5275 100%);
  color: var(--cream);
  border-left: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(7, 59, 92, 0.22);
  text-align: center;
}

.about-intro-motto p.font-serif {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  color: rgba(245, 232, 197, 0.95);
}

.about-tv-section {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(8, 126, 155, 0.1), transparent 42%),
    radial-gradient(ellipse at 10% 100%, rgba(214, 168, 58, 0.1), transparent 40%),
    linear-gradient(180deg, #f7fbff 0%, var(--surface) 55%, #fff9eb 100%);
}

.about-tv-item {
  padding: 1.25rem 1.25rem 1.25rem 1.15rem;
  border-left: 2px solid rgba(8, 126, 155, 0.45);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-tv-item:hover {
  border-left-color: var(--teal);
  transform: translateY(-2px);
}

.about-tv-icon {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.about-tv-motto-or {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 168, 58, 0.85);
}

.about-tv-tagline {
  max-width: 40rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.about-team-list,
.about-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-team-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(7, 59, 92, 0.08);
}

.about-team-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-contact-list li {
  padding: 0.35rem 0;
}

.about-contact-list a {
  color: var(--navy);
  text-decoration: none;
}

.about-contact-list a:hover {
  color: var(--teal);
}

.about-feature-section {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(214, 168, 58, 0.14), transparent 42%),
    radial-gradient(ellipse at 92% 100%, rgba(8, 126, 155, 0.1), transparent 45%),
    linear-gradient(180deg, #fff9eb 0%, var(--surface) 55%, #f3e7c4 100%);
}

.about-feature-head {
  max-width: 36rem;
}

.about-feature-item {
  height: 100%;
  padding: 0 0 0 1.15rem;
  border-left: 2px solid rgba(214, 168, 58, 0.55);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-feature-item:hover {
  border-left-color: var(--gold);
  transform: translateY(-3px);
}

.about-feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.about-feature-quote {
  position: relative;
  max-width: 48rem;
  margin-inline: auto;
  padding: 2rem 1.75rem 2rem 2rem;
  background: linear-gradient(135deg, #062536 0%, #073b5c 55%, #0b5275 100%);
  color: var(--cream);
  border-left: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(7, 59, 92, 0.22);
}

.about-feature-quote p {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  color: rgba(245, 232, 197, 0.95);
}

@media (max-width: 767.98px) {
  .about-feature-item {
    padding-left: 1rem;
  }

  .about-feature-quote {
    padding: 1.5rem 1.25rem;
  }
}

/* Stacked Tamil magazine books — About sections */
.about-books {
  max-width: 340px;
  margin-inline: auto;
}

.about-books-stack {
  position: relative;
  height: 320px;
  margin: 0 auto;
}

.about-book {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52%, 168px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(214, 168, 58, 0.45);
  box-shadow:
    inset 6px 0 12px rgba(0, 0, 0, 0.22),
    0 14px 28px rgba(7, 59, 92, 0.22);
  transform-origin: center bottom;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-book-1 {
  z-index: 1;
  transform: translate(-78%, -52%) rotate(-14deg);
}

.about-book-2 {
  z-index: 2;
  transform: translate(-58%, -50%) rotate(-6deg);
}

.about-book-3 {
  z-index: 3;
  transform: translate(-38%, -48%) rotate(4deg);
}

.about-book-4 {
  z-index: 4;
  transform: translate(-18%, -46%) rotate(12deg);
  box-shadow:
    inset 6px 0 12px rgba(0, 0, 0, 0.22),
    0 18px 36px rgba(7, 59, 92, 0.28);
}

.about-books:hover .about-book-1 {
  transform: translate(-88%, -54%) rotate(-18deg);
}

.about-books:hover .about-book-2 {
  transform: translate(-62%, -51%) rotate(-8deg);
}

.about-books:hover .about-book-3 {
  transform: translate(-34%, -48%) rotate(6deg);
}

.about-books:hover .about-book-4 {
  transform: translate(-10%, -45%) rotate(16deg);
}

@media (max-width: 575.98px) {
  .about-books-stack {
    height: 260px;
  }

  .about-book {
    width: min(48%, 132px);
  }
}

.home-magazine {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(214, 168, 58, 0.18), transparent 40%),
    linear-gradient(160deg, #062536 0%, #073b5c 55%, #041e2f 100%);
}

.home-magazine-light {
  background:
    linear-gradient(180deg, #faf6eb 0%, #fff7df 55%, #f3e7c4 100%);
}

.home-mag-card {
  display: block;
  background: rgba(255, 247, 223, 0.06);
  border: 1px solid rgba(214, 168, 58, 0.28);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.home-mag-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 168, 58, 0.7);
  color: var(--cream);
}

.home-mag-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.home-mag-card span {
  display: block;
  padding: 0.75rem 0.85rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.home-news {
  background:
    linear-gradient(180deg, #faf6eb 0%, #f3e7c4 100%);
}

.home-category-section.home-cat-a {
  background:
    linear-gradient(180deg, #faf6eb 0%, #f3e7c4 100%);
}

.home-category-section.home-cat-b {
  background:
    linear-gradient(180deg, #fff9eb 0%, #f7efd8 100%);
}

.home-category-section + .home-category-section {
  border-top: 1px solid rgba(214, 168, 58, 0.22);
}

.home-news-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.85rem 0.75rem;
  text-align: center;
  border: 1px solid rgba(214, 168, 58, 0.35);
  background: rgba(255, 247, 223, 0.85);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.35;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-news-chip:hover {
  border-color: var(--gold);
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
}

.home-news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(214, 168, 58, 0.28);
  background: rgba(255, 247, 223, 0.72);
  overflow: hidden;
}

.home-news-media {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  line-height: 0;
  background: #fffdf8;
}

.home-news-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.home-news-card:hover .home-news-media img {
  transform: none;
}

.home-news-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-news-body h3 {
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-contact {
  background: var(--surface);
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}

.home-contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 2rem;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(214, 168, 58, 0.16), transparent 50%),
    linear-gradient(135deg, #073b5c 0%, #0b5275 55%, #062536 100%);
  border: 1px solid rgba(214, 168, 58, 0.28);
}

@media (max-width: 575.98px) {
  .home-block {
    padding: 3.25rem 0;
  }

  .home-contact-panel {
    padding: 1.75rem 1.25rem;
  }
}

/* Magazine Subscription page */
.subscribe-section {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(214, 168, 58, 0.12), transparent 40%),
    linear-gradient(180deg, #fff9eb 0%, var(--surface) 100%);
}

.subscribe-panel {
  overflow: hidden;
  border: 1px solid rgba(214, 168, 58, 0.28);
  background: rgba(255, 247, 223, 0.55);
  box-shadow: 0 20px 50px rgba(7, 59, 92, 0.08);
}

.subscribe-visual {
  position: relative;
  min-height: 100%;
  min-height: 520px;
  padding: 2.5rem 1.75rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(214, 168, 58, 0.22), transparent 50%),
    linear-gradient(160deg, #041e2f 0%, #073b5c 48%, #0b5275 100%);
}

.subscribe-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.subscribe-orb-1 {
  width: 180px;
  height: 180px;
  top: -40px;
  left: -30px;
  background: rgba(214, 168, 58, 0.28);
  animation: subscribeFloat 7s ease-in-out infinite;
}

.subscribe-orb-2 {
  width: 120px;
  height: 120px;
  top: 35%;
  right: -20px;
  background: rgba(8, 126, 155, 0.35);
  animation: subscribeFloat 9s ease-in-out infinite reverse;
}

.subscribe-orb-3 {
  width: 90px;
  height: 90px;
  bottom: 18%;
  left: 12%;
  background: rgba(240, 211, 122, 0.18);
  animation: subscribePulse 5.5s ease-in-out infinite;
}

.subscribe-float-stack {
  position: absolute;
  inset: 10% 8% 28%;
  pointer-events: none;
}

.subscribe-float-book {
  position: absolute;
  width: min(38%, 150px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(214, 168, 58, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.subscribe-float-a {
  left: 6%;
  top: 12%;
  transform: rotate(-12deg);
  animation: subscribeBookA 6.5s ease-in-out infinite;
}

.subscribe-float-b {
  left: 28%;
  top: 0;
  transform: rotate(-3deg);
  animation: subscribeBookB 7.5s ease-in-out infinite;
  z-index: 2;
}

.subscribe-float-c {
  right: 22%;
  top: 18%;
  transform: rotate(8deg);
  animation: subscribeBookC 8s ease-in-out infinite;
  z-index: 3;
}

.subscribe-float-d {
  right: 4%;
  top: 4%;
  transform: rotate(14deg);
  animation: subscribeBookD 6.8s ease-in-out infinite;
  z-index: 4;
}

.subscribe-visual-copy {
  position: relative;
  z-index: 5;
  max-width: 22rem;
}

.subscribe-form {
  padding: 2.25rem 1.75rem 2.5rem;
  background: rgba(255, 252, 245, 0.92);
  height: 100%;
}

.subscribe-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.subscribe-plan {
  margin: 0;
  cursor: pointer;
}

.subscribe-plan input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.subscribe-plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.95rem;
  border: 1px solid rgba(7, 59, 92, 0.14);
  background: rgba(255, 247, 223, 0.55);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.subscribe-plan-lang {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal, #0f766e);
  font-weight: 600;
}

.subscribe-plan-title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.05rem;
}

.subscribe-plan-price {
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 600;
}

.subscribe-plan-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.subscribe-plan input:checked + .subscribe-plan-card {
  border-color: var(--gold);
  background: rgba(214, 168, 58, 0.12);
  box-shadow: inset 0 0 0 1px rgba(214, 168, 58, 0.35);
}

.subscribe-plan:hover .subscribe-plan-card {
  border-color: rgba(214, 168, 58, 0.55);
}

.subscribe-form .form-check-input {
  border-radius: 0;
  border-color: rgba(7, 59, 92, 0.25);
}

.subscribe-form .form-check-input:checked {
  background-color: var(--navy);
  border-color: var(--navy);
}

@keyframes subscribeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

@keyframes subscribePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes subscribeBookA {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-14px) rotate(-10deg); }
}

@keyframes subscribeBookB {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-18px) rotate(-1deg); }
}

@keyframes subscribeBookC {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-12px) rotate(10deg); }
}

@keyframes subscribeBookD {
  0%, 100% { transform: translateY(0) rotate(14deg); }
  50% { transform: translateY(-16px) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .subscribe-orb,
  .subscribe-float-book {
    animation: none !important;
  }
}

@media (max-width: 991.98px) {
  .subscribe-visual {
    min-height: 380px;
  }

  .subscribe-float-stack {
    inset: 8% 10% 36%;
  }
}

@media (max-width: 575.98px) {
  .subscribe-form {
    padding: 1.75rem 1.2rem 2rem;
  }

  .subscribe-plan-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-visual {
    min-height: 320px;
    padding: 2rem 1.25rem 1.5rem;
  }
}

