:root {
  --primary: #0b5cab;
  --primary-dark: #0a4a89;
  --accent: #f8b400;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--site-font, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
a {
  overflow-wrap: anywhere;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-home .site-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(10px);
}

.page-home .main-nav a,
.page-home .brand {
  color: var(--text);
}

.page-home .main-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.page-home .brand-mark {
  background: color-mix(in srgb, var(--primary) 12%, #ffffff);
  color: var(--primary-dark);
  border: 1px solid color-mix(in srgb, var(--primary) 24%, #ffffff);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  background: var(--primary);
  color: var(--white);
  width: 78px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
}

.brand-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-weight: 700;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  font-weight: 600;
}

.main-nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.nav-cta {
  flex: 0 0 auto;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  line-height: 1;
}

.nav-cta-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex: 0 0 auto;
}

.nav-cta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.breadcrumb {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.breadcrumb .container {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-dark);
  text-decoration: none;
}

.page-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 92%, #111827), var(--primary-dark));
  color: #ffffff;
  padding: clamp(2.4rem, 5vw, 4.5rem) 0;
}

.page-hero h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  color: #eef5ff;
  line-height: 1.65;
}

.hero {
  background: linear-gradient(120deg, #0b5cab, #1a7ed6);
  color: var(--white);
  padding: 4rem 0;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 16%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, #ffffff) 0%, #ffffff 52%, color-mix(in srgb, var(--primary) 8%, #ffffff) 100%);
  padding: clamp(2.8rem, 5vw, 4.8rem) 0 clamp(2.4rem, 4vw, 3.8rem);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -46% 42%;
  height: 460px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 11%, transparent);
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: 2.4rem;
  align-items: center;
}

.home-hero-copy h1 {
  color: var(--primary-dark);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.02;
  margin: 0.35rem 0 1rem;
}

.home-hero-copy,
.home-hero-media,
.intro-copy,
.showcase-strip-wrap,
.updates-side,
.product-info {
  min-width: 0;
}

.home-hero-copy > p:not(.kicker) {
  color: #405066;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 1.35rem;
}

.home-hero .kicker {
  color: var(--primary);
  letter-spacing: 0;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-outline {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, #cbd5e1);
  color: var(--primary-dark);
  background: #ffffff;
  padding: 0.72rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-stats article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid color-mix(in srgb, var(--primary) 15%, #e5e7eb);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.hero-stats strong {
  display: block;
  color: var(--primary-dark);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
}

.hero-stats span {
  display: block;
  color: #5b6677;
  font-weight: 700;
  margin-top: 0.4rem;
  font-size: 0.92rem;
}

.home-hero-media {
  min-width: 0;
}

.hero-slider-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 44vw, 520px);
  border-radius: 8px;
  background: #0f172a;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.slide-item.card-slide {
  min-height: clamp(360px, 44vw, 520px);
}

.slide-item.card-slide img {
  height: clamp(360px, 44vw, 520px);
  width: 100%;
  object-fit: contain;
  background: #eef2f6;
}

.slide-overlay.card {
  inset: auto 0 0 0;
  padding: 6rem 1.4rem 1.35rem;
  background: linear-gradient(to top, rgba(8, 13, 24, 0.86), rgba(8, 13, 24, 0));
}

.slide-overlay.card h2 {
  margin: 0.35rem 0 0.5rem;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.15;
}

.slide-overlay.card p {
  max-width: 560px;
}

.hero-slider-card .slider-dots {
  bottom: 18px;
}

.hero-slider-card .slider-btn.prev {
  left: 14px;
}

.hero-slider-card .slider-btn.next {
  right: 14px;
}

.hero-slider-full {
  position: relative;
  min-height: 100vh;
  background: #020617;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  font-weight: 600;
  color: #dbeafe;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0.25rem 0 1rem;
  line-height: 1.15;
}

.hero p {
  margin: 0 0 1.2rem;
  color: #ebf4ff;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(3px);
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #202020;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 82%, #000000);
}

.section {
  padding: 3rem 0;
}

.section.alt {
  background: #eef6ff;
}

.home-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f172a;
}

.slider-track {
  display: flex;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
  will-change: transform;
}

.slide-item {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.slide-item img {
  transform: scale(1.035);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 1.1s ease;
  filter: saturate(0.92);
}

.slide-item.is-active img {
  transform: scale(1);
  filter: saturate(1);
}

.slide-item.full {
  min-height: 100vh;
}

.slide-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.slide-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.slide-item.full img {
  height: 100vh;
}

.slide-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
  color: #fff;
  padding: 3.5rem 1.2rem 1.2rem;
}

.slide-overlay.full {
  inset: 0;
  background: linear-gradient(104deg, rgba(4, 10, 20, 0.34) 0%, rgba(4, 10, 20, 0.05) 46%, rgba(4, 10, 20, 0.42) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.slide-content-inner {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0 0 8.2rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease 0.18s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.slide-item.is-active .slide-content-inner {
  opacity: 1;
  transform: translateY(0);
}

.slide-content-inner h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  max-width: 700px;
  line-height: 1.05;
  margin: 0.5rem 0 0.9rem;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.slide-content-inner p {
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #f2f7ff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.kicker.light {
  color: #f7fbff;
}

.slide-overlay h3 {
  margin: 0.2rem 0 0.5rem;
}

.slide-overlay p {
  margin: 0.25rem 0;
  color: #e2e8f0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.84);
  color: #111827;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 10px 26px rgba(8, 12, 20, 0.18);
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: #ffffff;
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.slider-dot.active {
  background: #fff;
  width: 28px;
}

.hero-audience-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(1120px, 92%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(8, 24, 48, 0.18);
}

.hero-audience-bar span {
  text-align: center;
  font-weight: 700;
  color: #1d4a8f;
  padding: 1rem 0.7rem;
  border-right: 1px solid #d6ddeb;
}

.hero-audience-bar span:last-child {
  border-right: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section-head.centered {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-head.centered h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.section-head.centered p {
  color: #5c6878;
  line-height: 1.65;
  margin: 0.6rem 0 0;
}

.section-head h1,
.section-head h2 {
  margin: 0;
}

.section-head a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.book-card,
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.book-card:hover,
.news-card:hover,
.update-card:hover img,
.showcase-book-card:hover img {
  transform: translateY(-6px);
}

.book-card:hover,
.news-card:hover {
  border-color: rgba(11, 92, 171, 0.24);
  box-shadow: 0 18px 36px rgba(18, 35, 56, 0.12);
}

.book-card img,
.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card-content h3,
.card-content h2 {
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  margin: 0.35rem 0;
  color: #374151;
  line-height: 1.5;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  background: #e0ecfb;
  color: var(--primary-dark);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.badge.hot {
  background: #ffe9cc;
  color: #8a4700;
  margin-right: 0.3rem;
}

.badge.promo {
  background: #ffd8d8;
  color: #9c1f1f;
  margin-right: 0.3rem;
}

.badge.new {
  background: #d8f2ff;
  color: #0f5070;
  margin-right: 0.3rem;
}

.promo-block {
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
}

.intro-section {
  background: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem;
  align-items: center;
}

.intro-image {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--primary) 10%, #eef2f7);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.intro-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.intro-copy h2 {
  margin: 0.35rem 0 0.85rem;
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.intro-copy p:not(.kicker) {
  color: #485568;
  line-height: 1.8;
  font-size: 1.05rem;
}

.why-section {
  background: color-mix(in srgb, var(--primary) 5%, #ffffff);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-card,
.package-card,
.testimonial-card {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--primary) 13%, #e5e7eb);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.book-card,
.news-card,
.update-card,
.why-card,
.package-card,
.testimonial-card {
  min-width: 0;
}

.why-card span {
  color: var(--accent);
  font-weight: 800;
}

.why-card h3,
.package-card h3 {
  color: var(--primary-dark);
  margin: 0.35rem 0 0.55rem;
}

.why-card p,
.package-card p,
.testimonial-card p {
  color: #536173;
  line-height: 1.65;
  margin: 0;
}

.packages-section {
  background: #ffffff;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.package-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 0;
}

.package-placeholder {
  padding-top: 1.2rem;
}

.package-image {
  width: calc(100% + 2.4rem);
  height: 190px;
  object-fit: cover;
  display: block;
  margin: -1.2rem -1.2rem 1rem;
}

.package-badge {
  align-self: flex-start;
  background: color-mix(in srgb, var(--accent) 22%, #ffffff);
  color: #6f4b00;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 0.78rem;
}

.package-meta {
  color: var(--primary) !important;
  font-weight: 800;
  margin: 0 0 0.65rem !important;
}

.package-card a {
  margin-top: auto;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.best-selling-showcase {
  background: var(--primary);
  color: #ffffff;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.4rem;
  align-items: center;
}

.showcase-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.1;
}

.showcase-btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #202020;
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
}

.showcase-strip-wrap {
  position: relative;
}

.showcase-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.25rem 2.4rem;
  scrollbar-width: none;
}

.showcase-strip::-webkit-scrollbar {
  display: none;
}

.showcase-book-card {
  flex: 0 0 190px;
}

.showcase-book-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.23);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-book-card:hover img {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.showcase-book-card h3 {
  margin: 0.85rem 0 0;
  text-align: center;
  line-height: 1.35;
  color: #ffffff;
  font-size: 1.05rem;
}

.showcase-arrow {
  position: absolute;
  top: 37%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.75);
  color: #384963;
  cursor: pointer;
  z-index: 2;
}

.showcase-arrow.prev {
  left: 0;
}

.showcase-arrow.next {
  right: 0;
}

.monthly-release-v2 {
  background: color-mix(in srgb, var(--primary) 7%, #f4f6f8);
}

.section-head.v2-center {
  justify-content: center;
  text-align: center;
  margin-bottom: 1.4rem;
}

.section-head.v2-center h2 {
  color: var(--primary-dark);
  font-size: clamp(2.1rem, 3.1vw, 3rem);
}

.section-head.v2-center p {
  margin: 0.35rem 0 0;
  color: #37445a;
  font-size: 1.05rem;
}

.showcase-book-card.monthly h3 {
  color: #384459;
}

.updates-v2 {
  background: color-mix(in srgb, var(--primary) 7%, #f4f6f8);
}

.testimonials-section {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary-dark) 94%, #111827), var(--primary));
  color: #ffffff;
}

.testimonials-section .section-head.centered h2,
.testimonials-section .section-head.centered p {
  color: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.testimonial-card p {
  color: #eef5ff;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: #ffffff;
}

.partner-logo-section {
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 12%, #e5e7eb);
  padding: 1.25rem 0;
}

.partner-logo-track {
  display: flex;
  width: max-content;
  animation: partnerLogoMarquee 34s linear infinite;
  will-change: transform;
}

.partner-logo-section:hover .partner-logo-track {
  animation-play-state: paused;
}

.partner-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.partner-logo-item {
  width: clamp(180px, 18vw, 260px);
  height: 76px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--primary) 12%, #e5e7eb);
  border-radius: 8px;
  background: #ffffff;
  padding: 0.8rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.partner-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-logo-item:hover img {
  opacity: 1;
}

@keyframes partnerLogoMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.updates-v2 .section-head h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.updates-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
}

.updates-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.updates-side:empty {
  display: none;
}

.update-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.update-card img {
  width: 100%;
  border-radius: 14px;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.update-main img {
  height: 410px;
}

.update-card h3 {
  margin: 0.7rem 0 0;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.update-card:hover h3 {
  color: var(--primary-dark);
}

.reveal-section .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.78s ease, transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 90ms);
  will-change: opacity, transform;
}

.reveal-section.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section:not(.is-visible) .showcase-strip {
  transform: translateX(28px);
}

.reveal-section.is-visible .showcase-strip {
  transform: translateX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal-section .reveal-item,
  .slide-content-inner,
  .slide-item img,
  .partner-logo-track {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.update-main h3 {
  font-size: 1.9rem;
  margin-top: 0.85rem;
}

.catalog-section + .catalog-section {
  margin-top: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.news-link-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-link-card .news-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-link-card:hover .news-card {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(18, 35, 56, 0.12);
}

.read-more {
  margin-top: 0.45rem;
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.2rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.product-cover {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.product-cover img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.product-info {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem;
}

.product-info h2 {
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
  margin: 0.75rem 0 0.5rem;
}

.product-description {
  margin: 1.2rem 0;
  color: #334155;
  line-height: 1.8;
}

.product-description h3 {
  color: var(--text);
  margin-bottom: 0.45rem;
}

.promo-detail-price {
  margin: 0.4rem 0 0.8rem;
  color: #b46a00;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 900;
  line-height: 1.15;
}

.article-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.article-cover {
  width: 100%;
  border-radius: 10px;
  max-height: 420px;
  object-fit: cover;
}

.article-main h1 {
  margin: 0.55rem 0;
}

.lead {
  font-size: 1.05rem;
  color: #334155;
}

.article-content {
  color: #1e293b;
  line-height: 1.8;
  font-size: 1.02rem;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--text);
  line-height: 1.3;
  margin: 1.4em 0 0.6em;
}

.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.3rem; }
.article-content h4 { font-size: 1.1rem; }

.article-content p {
  margin: 0 0 1.1em;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
  margin: 0 0 1.1em;
}

.article-content li {
  margin-bottom: 0.4em;
}

.article-content blockquote {
  margin: 1.4em 0;
  padding: 0.5em 0 0.5em 1.2em;
  border-left: 3px solid var(--primary);
  color: #475569;
  font-style: italic;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.8em 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.article-content .alignleft {
  float: left;
  margin: 0.3em 1.4em 1em 0;
}

.article-content .alignright {
  float: right;
  margin: 0.3em 0 1em 1.4em;
}

.article-content .aligncenter {
  display: block;
  float: none;
  margin: 1.4em auto;
}

.article-content .alignfull {
  display: block;
  float: none;
  width: 100% !important;
  margin: 1.4em 0;
}

.article-content .size-25 { width: 25%; }
.article-content .size-50 { width: 50%; }
.article-content .size-75 { width: 75%; }
.article-content .size-100 { width: 100%; }

.article-content::after {
  content: "";
  display: table;
  clear: both;
}

.side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.side-card h3 {
  margin-top: 0;
}

.related-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.related-item + .related-item {
  margin-top: 0.7rem;
}

.related-item img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.catalog-toolbar {
  display: flex;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
}

.catalog-toolbar input,
.catalog-toolbar select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.4rem 0 0.7rem;
}

.share-btn {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #1e293b;
  padding: 0.33rem 0.65rem;
}

.trust-strip {
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-grid article {
  background: #f7fbff;
  border: 1px solid #d8e6fb;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.trust-grid strong {
  display: block;
  color: #0f4fa8;
  font-size: 1.4rem;
}

.value-section {
  background: #f4f7fd;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  background: #fff;
  border: 1px solid #dfe7f4;
  border-radius: 12px;
  padding: 1rem;
}

.value-card h3 {
  margin-top: 0;
}

.final-cta {
  background: linear-gradient(140deg, #114cae, #0d3f90);
  color: #fff;
}

.final-cta-box {
  text-align: center;
}

.final-cta-box p {
  color: #e3eeff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-list {
  padding-left: 1.1rem;
  color: #374151;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
}

.alert {
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
}

.alert.success {
  background: #e8f8ef;
  color: #0f5132;
}

.alert.error {
  background: #fdeaea;
  color: #7f1d1d;
}

.site-footer {
  background: #0f172a;
  color: #d9e2f0;
  padding: 2.6rem 0 1.2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 1.2rem;
  padding-top: 0.8rem;
}

@media (max-width: 1100px) {
  .container {
    width: min(960px, 92%);
  }

  .nav-wrap {
    min-height: 76px;
  }

  .main-nav {
    gap: 0.8rem;
    font-size: 0.94rem;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 1.6rem;
  }

  .why-grid,
  .package-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .updates-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .home-hero-grid,
  .intro-grid,
  .contact-wrap,
  .footer-grid,
  .article-layout,
  .product-detail,
  .showcase-layout,
  .updates-grid,
  .updates-side {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 2.4rem 0 2.2rem;
  }

  .home-hero-grid {
    gap: 1.6rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .package-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-logo-track {
    animation-duration: 18s;
  }

  .partner-logo-item {
    width: 170px;
    height: 62px;
  }

  .hero-slider-card,
  .slide-item.card-slide {
    min-height: 380px;
  }

  .slide-item.card-slide img {
    height: 380px;
  }

  .slide-item img {
    height: 300px;
  }

  .slide-item.full,
  .slide-item.full img,
  .hero-slider-full {
    min-height: 100vh;
    height: 100vh;
  }

  .slide-content-inner {
    padding-bottom: 8.2rem;
  }

  .slider-dots {
    bottom: 74px;
  }

  .hero-audience-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(720px, 92%);
  }

  .hero-audience-bar span {
    padding: 0.8rem 0.45rem;
    font-size: 0.92rem;
    border-bottom: 1px solid #d6ddeb;
  }

  .hero-audience-bar span:nth-child(2n) {
    border-right: 0;
  }

  .hero-audience-bar span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .main-nav {
    gap: 0.65rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-cta {
    display: none;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
    min-height: 76px;
    padding: 0.8rem 0;
  }

  .brand-mark {
    width: 68px;
    height: 40px;
    border-radius: 10px;
  }

  .showcase-book-card {
    flex-basis: 160px;
  }

  .update-main img {
    height: 260px;
  }

  .footer-grid {
    gap: 0.7rem;
  }

  .trust-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .nav-wrap {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem 0;
    flex-direction: column;
  }

  .brand {
    justify-content: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 0.35rem 0.7rem;
    font-size: 0.86rem;
  }

  .main-nav a {
    padding: 0.25rem 0;
  }

  .brand-text {
    max-width: calc(100vw - 120px);
    overflow-wrap: anywhere;
  }

  .home-hero-copy h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    text-align: left;
  }

  .home-hero-copy > p:not(.kicker) {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }

  .why-grid,
  .package-grid,
  .testimonial-grid,
  .card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.2rem 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head.centered {
    text-align: left;
  }

  .intro-image,
  .intro-image img {
    min-height: 240px;
  }

  .hero-slider-card,
  .slide-item.card-slide {
    min-height: 320px;
  }

  .slide-item.card-slide img {
    height: 320px;
  }

  .package-image {
    height: 170px;
  }

  .update-card img,
  .update-main img {
    height: 220px;
  }

  .showcase-strip {
    padding: 0.25rem 0.5rem;
  }

  .product-info {
    padding: 1rem;
  }

  .product-cover {
    padding: 0.75rem;
  }

  .partner-logo-row {
    gap: 0.7rem;
    padding-right: 0.7rem;
  }
}

/* Final homepage polish aligned with the requested reference layout. */
:root {
  --navy: #003a70;
  --navy-deep: #002b55;
  --soft-blue: #eaf4fb;
  --paper: #f7f8fc;
}

body {
  background: #f7f8fc;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7edf5;
  box-shadow: none;
}

.nav-wrap {
  min-height: 70px;
}

.brand-mark {
  width: 70px;
  height: 36px;
  border-radius: 4px;
  background: transparent;
}

.page-home .brand-mark {
  background: transparent;
  border: 0;
}

.brand-text {
  display: none;
}

.main-nav {
  gap: 2rem;
  font-size: 0.82rem;
}

.main-nav a {
  color: #10233f;
  font-weight: 500;
}

.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.nav-cta,
.btn-primary {
  background: var(--navy);
  color: #ffffff;
  border-radius: 0;
  border: 1px solid var(--navy);
}

.btn-primary:hover {
  background: var(--navy-deep);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  border-radius: 0;
}

.home-hero {
  background: #f7f8fc;
  padding: 5rem 0 4.2rem;
}

.home-hero::before {
  display: none;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 4rem;
}

.home-hero .kicker {
  color: #0a5e40;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-hero-copy h1 {
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.7vw, 4.25rem);
  line-height: 1.05;
  max-width: 680px;
}

.home-hero-copy > p:not(.kicker) {
  color: #4e5d70;
  max-width: 620px;
  font-size: 1rem;
}

.hero-actions {
  margin-top: 1.6rem;
}

.hero-stats {
  border-top: 1px solid #e4e9f1;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  max-width: 560px;
}

.hero-stats article {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-stats strong {
  color: #001b4d;
  font-size: 1.45rem;
}

.hero-stats span {
  color: #536072;
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-slider-card {
  min-height: 500px;
  border-radius: 6px;
  background: #e6e7e9;
  box-shadow: 0 24px 60px rgba(0, 31, 84, 0.14);
}

.slide-item.card-slide,
.slide-item.card-slide img {
  min-height: 500px;
  height: 500px;
}

.slide-overlay.card {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.08));
  padding: 7rem 1.8rem 1.8rem;
}

.slide-overlay.card .kicker {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #263247;
  text-transform: none;
  letter-spacing: 0;
}

.slide-overlay.card h2 {
  color: #1a1630;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  text-shadow: none;
}

.slide-overlay.card p {
  color: #425062;
  text-shadow: none;
}

.slider-btn {
  display: none;
}

.hero-slider-card .slider-dots {
  bottom: 12px;
}

.intro-section {
  display: none;
}

.why-section,
.testimonials-section {
  background: #e8f3fa;
}

.why-section .section-head.centered h2,
.testimonials-section .section-head.centered h2,
.packages-section .section-head.centered h2,
.monthly-release-v2 .section-head h2,
.updates-v2 .section-head h2 {
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
}

.section-head.centered p,
.testimonials-section .section-head.centered p {
  color: #405168;
}

.why-card {
  border: 0;
  border-radius: 6px;
  min-height: 210px;
  box-shadow: none;
}

.why-card::before {
  content: "✥";
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #e8f1fb;
  color: var(--navy);
  text-align: center;
  line-height: 34px;
  font-size: 1rem;
}

.why-card:nth-child(2)::before {
  content: "☰";
}

.why-card:nth-child(3)::before {
  content: "↯";
}

.why-card:nth-child(4)::before {
  content: "◉";
}

.why-card:nth-child(5)::before {
  content: "◎";
}

.why-card:nth-child(6)::before {
  content: "⌁";
}

.why-card span {
  color: #4c5f75;
  font-size: 0.72rem;
  font-weight: 500;
}

.why-card h3 {
  color: #111827;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.packages-section {
  background: #f7f8fc;
}

.package-grid {
  width: min(900px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.package-card {
  border: 1px solid #cbd5e1;
  border-top: 5px solid #d4a800;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  min-height: 280px;
  padding: 1.5rem;
}

.package-card:nth-child(even) {
  border-top-color: #93a6bb;
}

.package-image {
  display: none;
}

.package-badge {
  border-radius: 999px;
  background: #fff4ca;
  color: #9a6b00;
  padding: 0.25rem 0.65rem;
  font-weight: 600;
}

.package-card h3 {
  margin-top: 1rem;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.package-meta {
  color: #2c3442 !important;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.package-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
}

.package-card a::after {
  content: ">";
  font-weight: 700;
}

.best-selling-showcase,
.monthly-release-v2 {
  background: var(--navy);
  color: #ffffff;
}

.best-selling-showcase .container,
.monthly-release-v2 .container {
  width: min(1180px, 94%);
}

.showcase-layout {
  grid-template-columns: 1fr;
}

.showcase-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.showcase-copy h2 {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 500;
}

.showcase-btn {
  background: #ffffff;
  color: var(--navy);
  border-radius: 0;
}

.showcase-strip {
  padding: 0.5rem 0;
  gap: 2rem;
}

.showcase-book-card {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-book-card img {
  border-radius: 0;
  aspect-ratio: 3 / 4.15;
  box-shadow: none;
}

.showcase-book-card h3 {
  color: #ffffff;
  text-align: left;
  padding: 0 1rem 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.monthly-release-v2 .section-head.v2-center h2,
.monthly-release-v2 .section-head.v2-center p {
  color: #ffffff;
}

.testimonials-section {
  color: var(--text);
}

.testimonial-card {
  background: #ffffff;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.testimonial-card p {
  color: #4b5563;
}

.testimonial-card strong {
  color: #001b4d;
  font-size: 0.85rem;
}

.updates-v2 {
  background: #f7f8fc;
}

.updates-grid {
  grid-template-columns: 1.2fr 1fr;
}

.update-card img {
  border-radius: 6px;
}

.update-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #001b4d;
}

.site-footer {
  background: var(--navy);
  color: #dbeafe;
  margin-top: 0;
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 0.9fr;
}

.site-footer h3,
.site-footer h4 {
  font-family: Georgia, "Times New Roman", serif;
}

.site-footer a {
  color: #ffffff;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.book-card {
  border-radius: 6px;
  box-shadow: none;
}

.book-card img {
  height: 300px;
}

.catalog-hero {
  background: #e8f3fa;
  padding: 5.5rem 0 5rem;
  text-align: center;
}

.catalog-hero-inner {
  display: grid;
  justify-items: center;
}

.catalog-hero h1 {
  margin: 0;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
}

.catalog-hero p {
  max-width: 720px;
  margin: 1.4rem auto 2rem;
  color: #34435a;
  font-size: 1.08rem;
  line-height: 1.75;
}

.catalog-search {
  width: min(600px, 100%);
  position: relative;
  display: block;
}

.catalog-search input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #aebbd0;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 3.4rem 0 1.4rem;
  color: #10233f;
  font: inherit;
  box-shadow: 0 10px 24px rgba(0, 31, 84, 0.07);
}

.catalog-search-icon {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #111827;
  border-radius: 50%;
  transform: translateY(-50%);
}

.catalog-search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: #111827;
  transform: rotate(45deg);
}

.catalog-page {
  background: #f7f8fc;
  padding: 5rem 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 92px;
  background: #ffffff;
  border-radius: 4px;
  padding: 1.55rem;
  box-shadow: 0 16px 35px rgba(0, 31, 84, 0.05);
}

.catalog-filter-block + .catalog-filter-block {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid #dce5ef;
}

.catalog-filter-block h2 {
  margin: 0 0 1rem;
  color: #4b5b72;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-category {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  color: #253249;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.catalog-category + .catalog-category {
  margin-top: 0.65rem;
}

.catalog-category span {
  font-weight: 500;
}

.catalog-category strong {
  min-width: 42px;
  border-radius: 2px;
  background: #e6eef7;
  color: var(--navy);
  padding: 0.25rem 0.45rem;
  text-align: center;
  font-size: 0.84rem;
}

.catalog-category.active span {
  color: var(--navy);
  font-weight: 800;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.genre-tags span {
  border-radius: 999px;
  background: #eef4fb;
  color: #35445c;
  padding: 0.42rem 0.7rem;
  font-size: 0.86rem;
}

.catalog-toolbar-v2 {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.catalog-toolbar-v2 p {
  margin: 0;
  color: #263247;
}

.catalog-toolbar-v2 label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #58677b;
}

.catalog-toolbar-v2 select {
  border: 1px solid #b9c4d3;
  border-radius: 3px;
  background: #ffffff;
  padding: 0.55rem 2rem 0.55rem 0.7rem;
  color: #263247;
}

.catalog-book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 2rem;
}

.catalog-book-card {
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 31, 84, 0.05);
}

.catalog-book-cover {
  position: relative;
  background: #eef3f8;
  padding: 0;
}

.catalog-book-cover span {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: #ffffff;
  color: #35506d;
  padding: 0.32rem 0.6rem;
  font-size: 0.72rem;
}

.catalog-book-cover img {
  width: 100%;
  aspect-ratio: 3 / 4.12;
  object-fit: cover;
  display: block;
}

.catalog-book-body {
  padding: 1.55rem 1.45rem 1.6rem;
}

.catalog-book-body h2 {
  min-height: 3.2rem;
  margin: 0 0 0.75rem;
  color: #101827;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.18;
}

.catalog-book-body p {
  min-height: 4.8rem;
  margin: 0 0 1.4rem;
  color: #59677a;
  line-height: 1.55;
}

.catalog-book-body a {
  display: block;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 0.78rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
}

.catalog-book-body a:hover {
  background: var(--navy);
  color: #ffffff;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 3.5rem;
}

.catalog-page-numbers {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.catalog-pagination button,
.catalog-pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #b8c3d2;
  color: #1d2b43;
  text-decoration: none;
  background: #ffffff;
  font: inherit;
  cursor: pointer;
}

.catalog-pagination button.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.catalog-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.catalog-pagination button:not(:disabled):hover {
  border-color: var(--navy);
  color: var(--navy);
}

.catalog-pagination span {
  border-color: transparent;
  background: transparent;
  cursor: default;
}

@media (max-width: 1100px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.5rem;
  }

  .catalog-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.3rem;
  }

  .hero-slider-card,
  .slide-item.card-slide,
  .slide-item.card-slide img {
    min-height: 420px;
    height: 420px;
  }
}

@media (max-width: 860px) {
  .package-grid,
  .why-grid,
  .testimonial-grid,
  .updates-grid,
  .footer-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .showcase-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-book-card {
    flex-basis: 220px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 2.2rem;
  }

  .home-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-slider-card,
  .slide-item.card-slide,
  .slide-item.card-slide img {
    min-height: 320px;
    height: 320px;
  }

  .catalog-hero {
    padding: 3.2rem 0;
  }

  .catalog-toolbar-v2 {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-book-grid {
    grid-template-columns: 1fr;
  }

  .slide-overlay.card {
    padding: 5rem 1rem 1.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .hero-stats strong {
    font-size: 1.1rem;
  }

  .hero-stats span {
    font-size: 0.68rem;
  }
}

/* Restore Promo Bulan Ini and Terbitan Terbaru to the previous website styling. */
.packages-section {
  background: #ffffff;
}

.packages-section .section-head.centered {
  text-align: center;
}

.packages-section .section-head.centered h2 {
  color: var(--primary-dark);
  font-family: var(--site-font, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 700;
}

.packages-section .section-head.centered p {
  color: #5c6878;
}

.package-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.package-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 13%, #e5e7eb);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 1.2rem 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.package-card:nth-child(even) {
  border-top-color: color-mix(in srgb, var(--primary) 13%, #e5e7eb);
}

.package-image {
  width: calc(100% + 2.4rem);
  height: 190px;
  object-fit: cover;
  display: block;
  margin: 0 -1.2rem 1rem;
}

.package-placeholder {
  padding-top: 1.2rem;
}

.package-badge {
  align-self: flex-start;
  background: color-mix(in srgb, var(--accent) 22%, #ffffff);
  color: #6f4b00;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 0.78rem;
}

.package-card h3 {
  color: var(--primary-dark);
  font-family: var(--site-font, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-size: 1.17rem;
  font-weight: 800;
  margin: 0.7rem 0 0.55rem;
}

.package-meta {
  color: var(--primary) !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.65rem !important;
}

.package-price {
  display: block;
  color: #b46a00;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 0.55rem;
}

.package-card p {
  color: #536173;
  line-height: 1.65;
}

.package-card a {
  display: inline-block;
  margin-top: auto;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  padding: 0;
  font-weight: 800;
  text-decoration: none;
}

.package-card a::after {
  content: "";
}

.monthly-release-v2 {
  background: color-mix(in srgb, var(--primary) 7%, #f4f6f8);
  color: var(--text);
}

.monthly-release-v2 .container {
  width: min(1120px, 92%);
}

.monthly-release-v2 .section-head.v2-center {
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
}

.monthly-release-v2 .section-head.v2-center h2 {
  color: var(--primary-dark);
  font-family: var(--site-font, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-size: clamp(2.1rem, 3.1vw, 3rem);
  font-weight: 700;
}

.monthly-release-v2 .section-head.v2-center .monthly-release-subtitle {
  color: #37445a;
  max-width: 620px;
  margin: 0.1rem auto 0;
  font-family: var(--site-font, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 500;
  line-height: 1.65;
}

.monthly-release-v2 .showcase-strip {
  padding: 0.25rem 2.4rem;
  gap: 1rem;
}

.monthly-release-v2 .showcase-book-card {
  flex: 0 0 190px;
  background: transparent;
  border: 0;
}

.monthly-release-v2 .showcase-book-card img {
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.23);
}

.monthly-release-v2 .showcase-book-card h3 {
  color: #384459;
  text-align: center;
  padding: 0;
  font-family: var(--site-font, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-size: 1.05rem;
}

@media (max-width: 1100px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-image {
    height: 170px;
  }

  .monthly-release-v2 .showcase-strip {
    padding: 0.25rem 0.5rem;
  }
}

/* Final header and partner logo sizing requested from the latest reference. */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #edf1f6;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.nav-wrap {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, auto) minmax(170px, 0.9fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
}

.brand {
  justify-self: start;
}

.brand-mark,
.page-home .brand-mark {
  width: clamp(190px, 18vw, 270px);
  height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: none;
}

.main-nav {
  justify-self: center;
  flex: 0 1 auto;
  gap: 0.45rem;
  font-size: 1rem;
}

.main-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border-bottom: 0;
  color: #243047;
  padding: 0.35rem 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.page-home .main-nav a.active {
  background: #edf5ff;
  color: var(--primary);
  border-bottom: 0;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav-cta.whatsapp-cta {
  justify-self: end;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: #11b981;
  color: #ffffff;
  padding: 0.72rem 1.5rem;
  font-size: 1.04rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(17, 185, 129, 0.24);
}

.nav-cta.whatsapp-cta:hover {
  background: #0ea874;
}

.nav-cta.whatsapp-cta svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

.partner-logo-section {
  padding: 2rem 0;
}

.partner-logo-row {
  gap: 1.4rem;
  padding-right: 1.4rem;
}

.partner-logo-item {
  width: clamp(300px, 26vw, 440px);
  height: clamp(120px, 11vw, 170px);
  padding: 1.25rem 1.6rem;
  border-radius: 12px;
}

.partner-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1180px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
    padding: 0.9rem 0;
  }

  .brand,
  .nav-cta.whatsapp-cta {
    justify-self: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }
}

@media (max-width: 760px) {
  .brand-mark,
  .page-home .brand-mark {
    width: min(250px, 82vw);
    height: 56px;
  }

  .main-nav {
    width: 100%;
    font-size: 0.9rem;
  }

  .main-nav a {
    min-height: 38px;
    padding: 0.3rem 0.72rem;
  }

  .nav-cta.whatsapp-cta {
    min-height: 48px;
    padding: 0.64rem 1.25rem;
    font-size: 0.98rem;
  }

  .partner-logo-section {
    padding: 1.5rem 0;
  }

  .partner-logo-item {
    width: 260px;
    height: 104px;
    padding: 1rem 1.2rem;
  }
}

/* Restore the simpler original header menu while keeping a larger brand logo. */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7edf5;
  box-shadow: none;
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: auto;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark,
.page-home .brand-mark {
  width: clamp(130px, 13vw, 190px);
  height: 64px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: inline-block;
  color: var(--primary-dark);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 230px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: auto;
  flex: 1;
  gap: 2rem;
  font-size: 0.86rem;
}

.main-nav a {
  position: relative;
  min-height: auto;
  display: inline-block;
  border-radius: 0;
  color: #10233f;
  padding: 0.45rem 0.2rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active,
.page-home .main-nav a.active {
  background: transparent;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.main-nav a.active::after {
  display: none;
}

.nav-cta {
  flex: 0 0 auto;
  justify-self: auto;
  min-height: auto;
  display: inline-block;
  border: 1px solid var(--navy, var(--primary));
  border-radius: 0;
  background: var(--navy, var(--primary));
  color: #ffffff;
  padding: 0.62rem 1rem;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
}

.nav-cta:hover {
  background: var(--navy-deep, var(--primary-dark));
}

@media (max-width: 1100px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
    min-height: 76px;
    padding: 0.85rem 0;
  }

  .brand {
    justify-content: center;
  }

  .brand-text {
    max-width: min(420px, 80vw);
    text-align: left;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
  }
}

@media (max-width: 640px) {
  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand-mark,
  .page-home .brand-mark {
    width: min(150px, 42vw);
    height: 54px;
  }

  .brand-text {
    max-width: min(210px, 48vw);
    font-size: 1rem;
  }

  .main-nav {
    font-size: 0.84rem;
    gap: 0.35rem 0.8rem;
  }

  .main-nav a {
    padding: 0.25rem 0;
  }
}

/* Header brand alignment and sticky visibility refinement. */
.site-header,
.page-home .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 82px;
}

.brand {
  align-items: center;
  gap: 0.75rem;
  flex: 0 1 330px;
}

.brand-mark,
.page-home .brand-mark {
  width: clamp(118px, 10vw, 158px);
  height: 58px;
}

.brand-image {
  object-position: center;
}

.brand-text {
  display: block;
  color: #002b55;
  font-size: clamp(1.05rem, 1.1vw, 1.2rem);
  font-weight: 900;
  line-height: 1.12;
  max-width: 185px;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 1100px) {
  .brand {
    flex: none;
    gap: 0.7rem;
  }

  .brand-mark,
  .page-home .brand-mark {
    width: 142px;
    height: 56px;
  }

  .brand-text {
    max-width: 240px;
    font-size: 1.08rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-home .site-header {
    position: sticky;
    top: 0;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-mark,
  .page-home .brand-mark {
    width: min(128px, 38vw);
    height: 50px;
  }

  .brand-text {
    max-width: min(190px, 48vw);
    font-size: 0.95rem;
    line-height: 1.15;
  }
}

/* Keep the header completely fixed and keep the website identity on one line. */
body {
  padding-top: 82px;
}

.site-header,
.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 5000;
}

.brand {
  flex: 0 0 auto;
}

.brand-text {
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 1100px) {
  body {
    padding-top: 176px;
  }

  .brand-text {
    max-width: calc(100vw - 190px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 168px;
  }

  .brand-text {
    max-width: calc(100vw - 175px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Align logo and one-line website identity as a single brand lockup. */
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  line-height: 1;
}

.brand-mark,
.page-home .brand-mark {
  width: clamp(126px, 11vw, 168px);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: inline-flex;
  align-items: center;
  height: 48px;
  color: #002b55;
  font-size: clamp(1.08rem, 1.28vw, 1.32rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  max-width: none;
}

@media (max-width: 640px) {
  .brand {
    gap: 0.55rem;
  }

  .brand-mark,
  .page-home .brand-mark {
    width: min(120px, 36vw);
    height: 42px;
  }

  .brand-text {
    height: 42px;
    max-width: calc(100vw - 170px);
    font-size: 0.98rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Restore partner logo size only and slow down the marquee. */
.partner-logo-section {
  padding: 1.25rem 0;
}

.partner-logo-track {
  animation-duration: 54s;
}

.partner-logo-row {
  gap: 1rem;
  padding-right: 1rem;
}

.partner-logo-item {
  width: 180px;
  height: 76px;
  padding: 0.85rem 1rem;
  border-radius: 8px;
}

.partner-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .partner-logo-track {
    animation-duration: 46s;
  }

  .partner-logo-row {
    gap: 0.75rem;
    padding-right: 0.75rem;
  }

.partner-logo-item {
    width: 150px;
    height: 64px;
    padding: 0.7rem 0.85rem;
  }
}

/* Modern centered action button for Promo Bulan Ini cards. */
.package-card .package-detail-btn {
  width: min(100%, 230px);
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: auto auto 0;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.78rem 1.25rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 58, 112, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.package-card .package-detail-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 16px 32px rgba(0, 58, 112, 0.24);
  transform: translateY(-2px);
}

.package-card .package-detail-btn::after {
  content: "";
}

/* Modern book detail page and homepage news cards. */
.book-detail-page {
  background: #f7f8fc;
}

.book-detail-shell {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(4rem, 7vw, 7rem);
}

.book-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
  color: #44536a;
  font-size: 0.86rem;
}

.book-breadcrumb a,
.book-breadcrumb strong {
  color: #001b4d;
  text-decoration: none;
}

.book-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.book-detail-cover {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e9eef7;
  box-shadow: 0 20px 46px rgba(0, 31, 84, 0.12);
}

.book-detail-cover img {
  width: 100%;
  aspect-ratio: 4 / 5.25;
  display: block;
  object-fit: cover;
}

.book-detail-info {
  padding-top: 0.3rem;
}

.book-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #e6f0fa;
  color: #003a70;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.book-detail-info h1 {
  margin: 1rem 0 0.55rem;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.book-author,
.book-summary {
  color: #26364f;
  line-height: 1.7;
}

.book-price {
  margin: 1.15rem 0;
  color: #001b4d;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.7rem 0 2rem;
}

.book-buy-btn,
.book-contact-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid #001b4d;
  padding: 0.8rem 1.35rem;
  text-decoration: none;
  font-weight: 800;
}

.book-buy-btn {
  background: #007a4d;
  border-color: #007a4d;
  color: #ffffff;
}

.book-contact-btn {
  background: transparent;
  color: #001b4d;
}

.book-cart-icon {
  width: 17px;
  height: 13px;
  display: inline-block;
  position: relative;
  border: 2px solid currentColor;
  border-top: 0;
}

.book-cart-icon::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -6px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(18deg);
}

.book-cart-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: -6px;
  height: 4px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
  border-radius: 999px;
}

.book-specs,
.book-synopsis-card,
.book-author-card {
  background: #eef3ff;
  border-radius: 8px;
}

.book-specs {
  padding: 1.5rem;
}

.book-specs h2 {
  margin: 0 0 1rem;
  border-bottom: 1px solid #ced8ec;
  color: #001b4d;
  padding-bottom: 0.8rem;
  font-size: 1.05rem;
}

.book-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 3rem;
}

.book-spec-grid span {
  display: block;
  color: #66758c;
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.book-spec-grid strong {
  color: #0b1728;
  font-size: 0.9rem;
}

.book-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.book-synopsis-card {
  background: #ffffff;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 14px 36px rgba(0, 31, 84, 0.04);
}

.book-synopsis-card h2,
.book-recommendations h2 {
  margin: 0 0 1.2rem;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.book-synopsis-card p {
  color: #334155;
  line-height: 1.85;
}

.book-synopsis-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.book-synopsis-card li {
  position: relative;
  padding-left: 1.65rem;
  color: #253249;
}

.book-synopsis-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 15px;
  height: 15px;
  border: 1px solid #007a4d;
  border-radius: 50%;
}

.book-synopsis-card li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.58rem;
  width: 7px;
  height: 4px;
  border-left: 1px solid #007a4d;
  border-bottom: 1px solid #007a4d;
  transform: rotate(-45deg);
}

.book-author-card {
  align-self: start;
  padding: 2rem;
  text-align: center;
}

.author-avatar {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border: 4px solid #ffffff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
}

.book-author-card h3 {
  margin: 0;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.book-author-card p {
  color: #526175;
  line-height: 1.65;
}

.book-author-card .author-bio {
  margin: 1.3rem 0;
}

.book-author-card a,
.book-recommendations .section-head a {
  color: #001b4d;
  font-weight: 800;
  text-decoration: none;
}

.book-recommendations {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.book-recommendations .section-head {
  align-items: flex-end;
}

.book-recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.book-recommend-card {
  display: block;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 31, 84, 0.05);
}

.book-recommend-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.book-recommend-card span,
.book-recommend-card h3,
.book-recommend-card p,
.book-recommend-card strong {
  margin-left: 1rem;
  margin-right: 1rem;
}

.book-recommend-card span {
  display: inline-block;
  margin-top: 1rem;
  color: #526175;
  font-size: 0.76rem;
}

.book-recommend-card h3 {
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  line-height: 1.25;
}

.book-recommend-card p {
  color: #526175;
}

.book-recommend-card strong {
  display: block;
  padding-bottom: 1.25rem;
  color: #001b4d;
}

.updates-v2 {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.section-eyebrow {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.updates-v2 .section-head {
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.updates-v2 .section-head p {
  max-width: 610px;
  margin: 0.5rem 0 0;
  color: #526175;
}

.updates-v2 .section-head > a {
  border: 1px solid #001b4d;
  color: #001b4d;
  padding: 0.68rem 1rem;
  text-decoration: none;
  font-weight: 800;
}

.updates-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1.4rem;
}

.update-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e4eaf3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 31, 84, 0.06);
}

.update-card img {
  border-radius: 0;
}

.update-image-wrap {
  overflow: hidden;
}

.update-main {
  display: grid;
  grid-template-rows: auto 1fr;
}

.update-main img {
  height: 360px;
}

.update-content {
  padding: 1.15rem;
}

.update-content span {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.update-card h3 {
  margin: 0.55rem 0 0;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.update-main h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.update-content p {
  color: #526175;
  line-height: 1.7;
}

.updates-side {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.updates-side .update-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
}

.updates-side .update-card img {
  height: 100%;
  min-height: 132px;
}

@media (max-width: 980px) {
  .book-detail-hero,
  .book-content-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .book-content-grid {
    gap: 1.4rem;
  }

  .book-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .book-detail-shell {
    padding-top: 1.4rem;
  }

  .book-actions {
    display: grid;
  }

  .book-spec-grid,
  .book-recommend-grid {
    grid-template-columns: 1fr;
  }

  .updates-v2 .section-head {
    align-items: flex-start;
  }

  .update-main img {
    height: 230px;
  }

  .updates-side .update-card {
    grid-template-columns: 1fr;
  }

  .updates-side .update-card img {
    min-height: 190px;
  }
}

/* Blog berita listing page. */
.news-page-v2 {
  background: #f7f8fc;
}

.news-feature-section {
  padding: clamp(2rem, 4vw, 3.8rem) 0 2rem;
}

.news-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  overflow: hidden;
  border: 1px solid #e6ebf4;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 31, 84, 0.06);
}

.news-feature-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.news-feature-card article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.news-feature-card span,
.news-card-meta span {
  align-self: flex-start;
  border-radius: 999px;
  background: #e8f2fb;
  color: #003a70;
  padding: 0.32rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.news-feature-card h1 {
  margin: 1.1rem 0 1rem;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.news-feature-card p {
  color: #526175;
  line-height: 1.8;
}

.news-feature-card strong {
  margin-top: 1.4rem;
  color: #001b4d;
}

.news-list-section {
  padding: 2rem 0 clamp(4rem, 7vw, 5.8rem);
}

.news-layout-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 2.2rem;
  align-items: start;
}

.news-section-title {
  border-bottom: 1px solid #dce5ef;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
}

.news-section-title h2 {
  margin: 0;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
}

.news-card-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.news-card-v2 {
  overflow: hidden;
  border: 1px solid #e6ebf4;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 31, 84, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(0, 31, 84, 0.09);
}

.news-card-v2 img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}

.news-card-body {
  padding: 1.2rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #66758c;
  font-size: 0.78rem;
}

.news-card-v2 h3 {
  margin: 1rem 0 0.65rem;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

.news-card-v2 p {
  color: #526175;
  line-height: 1.75;
}

.news-card-v2 strong {
  color: #001b4d;
  font-size: 0.86rem;
}

.news-sidebar-v2 {
  display: grid;
  gap: 1.4rem;
  position: sticky;
  top: 110px;
}

.news-side-card,
.news-cta-card {
  border-radius: 8px;
  padding: 1.4rem;
}

.news-side-card {
  border: 1px solid #e6ebf4;
  background: #ffffff;
}

.news-side-card h2,
.news-cta-card h2 {
  margin: 0 0 1rem;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.news-side-card ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid #dce5ef;
  list-style: none;
}

.news-side-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #526175;
}

.news-side-card li strong {
  min-width: 28px;
  border-radius: 999px;
  background: #e8f2fb;
  color: #003a70;
  text-align: center;
  font-size: 0.76rem;
}

.news-cta-card {
  background: #003a70;
  color: #ffffff;
}

.news-cta-card h2 {
  color: #ffffff;
}

.news-cta-card p {
  color: #e7f1ff;
  line-height: 1.7;
}

.news-cta-card a {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  background: #ffffff;
  color: #003a70;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-load-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.news-load-more a {
  border: 1px solid #001b4d;
  color: #001b4d;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
}

.news-subscribe-section {
  background: #dfeaff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.news-subscribe-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.mail-icon {
  width: 28px;
  height: 20px;
  position: relative;
  border: 2px solid #001b4d;
  margin-bottom: 1.2rem;
}

.mail-icon::before,
.mail-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 16px;
  height: 2px;
  background: #001b4d;
}

.mail-icon::before {
  left: 0;
  transform: rotate(32deg);
  transform-origin: left center;
}

.mail-icon::after {
  right: 0;
  transform: rotate(-32deg);
  transform-origin: right center;
}

.news-subscribe-card h2 {
  margin: 0;
  color: #001b4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.news-subscribe-card p {
  max-width: 640px;
  color: #526175;
  line-height: 1.75;
}

.news-subscribe-card form {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 1rem;
}

.news-subscribe-card input {
  min-height: 50px;
  border: 1px solid #b9c5d6;
  padding: 0 1rem;
}

.news-subscribe-card button {
  min-height: 50px;
  border: 0;
  background: #003a70;
  color: #ffffff;
  padding: 0 1.4rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-empty-state,
.news-muted {
  color: #526175;
}

@media (max-width: 980px) {
  .news-feature-card,
  .news-layout-v2 {
    grid-template-columns: 1fr;
  }

  .news-feature-card img {
    height: 330px;
  }

  .news-sidebar-v2 {
    position: static;
  }
}

@media (max-width: 640px) {
  .news-card-grid-v2,
  .news-subscribe-card form {
    grid-template-columns: 1fr;
  }

  .news-feature-card img,
  .news-card-v2 img {
    height: 230px;
  }

  .news-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

/* Final berita page layout refinement: stable proportions and readable type. */
.news-page-v2 {
  background: #f7f8fc;
  color: #172033;
}

.news-page-v2 .container {
  width: min(1180px, calc(100% - 48px));
}

.news-feature-section {
  padding: clamp(2.2rem, 4vw, 4rem) 0 1.75rem;
}

.news-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.85fr);
  align-items: stretch;
  min-height: 390px;
  overflow: hidden;
}

.news-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.news-feature-card article {
  min-width: 0;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.news-feature-card h1 {
  max-width: 680px;
  margin: 1rem 0 0.9rem;
  font-size: clamp(2rem, 2.8vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.news-feature-card p {
  max-width: 560px;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

.news-feature-card strong {
  display: inline-flex;
  margin-top: 1.35rem;
  font-size: 0.92rem;
}

.news-layout-v2 {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 2rem;
}

.news-section-title h2,
.news-side-card h2,
.news-cta-card h2,
.news-subscribe-card h2 {
  letter-spacing: 0;
}

.news-card-grid-v2 {
  gap: 1.35rem;
}

.news-card-v2 h3 {
  margin-top: 0.85rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.news-card-v2 p {
  font-size: 0.94rem;
  line-height: 1.7;
}

.news-card-v2 img {
  height: 210px;
}

.news-card-body {
  padding: 1rem;
}

.news-sidebar-v2 {
  top: 120px;
}

@media (max-width: 1100px) {
  .news-feature-card {
    grid-template-columns: 1fr;
  }

  .news-feature-card img {
    height: 360px;
    min-height: 0;
  }

  .news-feature-card h1 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .news-layout-v2,
  .news-card-grid-v2 {
    grid-template-columns: 1fr;
  }

  .news-sidebar-v2 {
    position: static;
  }
}

@media (max-width: 640px) {
  .news-page-v2 .container {
    width: min(100% - 28px, 560px);
  }

  .news-feature-card {
    min-height: 0;
  }

  .news-feature-card img {
    height: 230px;
  }

  .news-feature-card article {
    padding: 1.25rem;
  }

  .news-feature-card h1 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }
}

.hero-slider-card .slide-item.card-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #eef2f6;
  transform: none;
}

.hero-slider-card,
.hero-slider-card .slide-item.card-slide {
  height: auto;
  min-height: 0;
  aspect-ratio: var(--slider-ratio, 16 / 9);
}

.hero-slider-card .slider-track,
.hero-slider-card .slide-item.card-slide {
  height: 100%;
}

.hero-slider-card .slide-item.card-slide img,
.hero-slider-card .slide-item.card-slide.is-active img {
  height: 100%;
  min-height: 0;
  transform: none;
}

.partner-logo-section-before-promo {
  border-top: 0;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: #ffffff;
}

.package-card .package-image,
.packages-section .package-image {
  width: calc(100% + 2.4rem);
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 -1.2rem 1.15rem;
  object-fit: contain;
  object-position: center;
  background: color-mix(in srgb, var(--primary) 6%, #f8fafc);
}
