@font-face {
  font-family: "Arial Nova";
  src: url("../fonts/arial-nova-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial Nova";
  src: url("../fonts/arial-nova.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial Nova";
  src: url("../fonts/arial-nova-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf8f4;
  --bg-alt: #f0eae0;
  --bg-blue: #282c62;
  --bg-orange: #fef0e6;
  --white: #ffffff;
  --blue: #282c62;
  --blue-hov: #353b7a;
  --blue-lt: #e8eaf6;
  --orange: #ef7b2c;
  --orange-dk: #d4681f;
  /* Accessible orange for text on light backgrounds and for solid orange
     surfaces that carry white text (>=4.5:1 both ways). */
  --orange-deep: #a8501a;
  --orange-deep-hov: #8f4514;
  /* Lighter brand orange for eyebrow/accent text on dark blue (>=4.5:1). */
  --orange-on-dark: #f5934f;
  --text: #1e1b2e;
  --text-mid: #4a4760;
  --text-muted: #67647d;
  /* Secondary text on dark blue backgrounds (kept softer but AA-compliant). */
  --text-on-dark: rgba(255, 255, 255, 0.74);
  --text-on-dark-muted: rgba(255, 255, 255, 0.62);
  --border: rgba(40, 44, 98, 0.1);
  --border-warm: #e5dfd6;
  --sh-sm: 0 1px 3px rgba(40, 44, 98, 0.06), 0 2px 10px rgba(40, 44, 98, 0.04);
  --sh-md: 0 4px 16px rgba(40, 44, 98, 0.1), 0 1px 4px rgba(40, 44, 98, 0.06);
  --sh-lg: 0 8px 32px rgba(40, 44, 98, 0.14), 0 2px 8px rgba(40, 44, 98, 0.06);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --f-display: "DM Serif Display", Georgia, serif;
  --f-head: "Arial Nova", Arial, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --max-w: 1160px;
  --pad: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

p {
  margin: 0;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  z-index: 9999;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--sh-md);
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 56px 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 12px;
}

.eyebrow-on-dark {
  color: var(--orange-on-dark);
}

.s-title {
  font-family: var(--f-head);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  color: var(--blue);
  margin-bottom: 12px;
  text-wrap: balance;
}

.oc-head-font {
  font-family: var(--f-head);
}



.oc-mobile-menu-link {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 32px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.s-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.72;
  max-width: 520px;
  text-wrap: pretty;
}

.card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.card-lift {
  transition: box-shadow 0.2s, transform 0.2s;
}

.card-lift:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  border-radius: 100px;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-md {
  padding: 13px 26px;
  font-size: 15px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 16px;
}

.btn-xl {
  padding: 18px 44px;
  font-size: 17px;
}

.btn-primary {
  background: var(--orange-deep);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-deep-hov);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(239, 123, 44, 0.4);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-hov);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(40, 44, 98, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--border-warm);
}

.btn-outline:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-wh {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-wh:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid transparent;
}

.btn-ghost:hover {
  color: var(--blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.bdg-green {
  background: #e6f4e6;
  color: #2d7a2d;
}

.bdg-orange {
  background: #fef0e6;
  color: #a84a0d;
}

.bdg-blue {
  background: var(--blue-lt);
  color: var(--blue);
}

.bdg-gray {
  background: #f2f1f0;
  color: #6b6880;
}

.bdg-warn {
  background: #fff5e0;
  color: #7e5e07;
}

.bdg-red {
  background: #fde8e8;
  color: #c22b2b;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
}

.tag-orange {
  background: var(--orange-deep);
  color: #fff;
}

.tag-blue {
  background: var(--blue);
  color: #fff;
}

.tag-light {
  background: var(--bg-alt);
  color: var(--text-mid);
  border: 1px solid var(--border-warm);
}

.tag-video {
  background: var(--bg-alt);
  color: var(--text-mid);
  border: 1px solid var(--border-warm);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 100px;
}

.seat-track {
  height: 6px;
  background: rgba(40, 44, 98, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.seat-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
}

.faq-item {
  border-bottom: 1px solid var(--border-warm);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 0;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}

.faq-btn:hover {
  color: var(--blue);
}

.faq-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-item.open .faq-ico {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: rotate(45deg);
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-body {
  max-height: 400px;
}

.faq-inner {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.78;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.prv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.course-card {
  display: flex;
  overflow: hidden;
  border-radius: var(--r-xl);
}

.course-price-value {
  font-family: var(--f-head);
  font-style: italic;
  font-size: 72px;
  color: var(--orange-deep);
  line-height: .9;
  text-align: center;
  word-break: break-word;
}

.course-price-value--text {
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .course-price-value {
    font-size: 48px;
  }

  .course-price-value--text {
    font-size: 22px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
  padding: 4px;
}

.trial-blk {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ocilan-site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ocilan-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ocilan-nav.is-scrolled {
  border-bottom-color: var(--border-warm);
  box-shadow: var(--sh-sm);
}

.ocilan-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.ocilan-nav-logo .oc-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.ocilan-nav-logo .oc-logo-text {
  font-family: var(--f-head);
  font-size: 22px;
  color: var(--blue);
  font-style: italic;
  letter-spacing: -0.01em;
}

.ocilan-nav-logo .oc-logo-img {
  max-height: 36px;
  width: auto;
  vertical-align: middle;
}

.ocilan-nav-logo--light .oc-logo-text {
  color: #fff;
}

.ocilan-nav-logo--light .oc-logo-img {
  max-height: 36px;
  width: auto;
  vertical-align: middle;
}

.ocilan-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-bottom: 18px;
}

.ocilan-footer-logo .oc-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.ocilan-footer-logo .oc-logo-text {
  font-family: var(--f-head);
  font-size: 22px;
  color: #fff;
  font-style: italic;
}

.ocilan-footer-logo .oc-logo-img {
  max-height: 36px;
  width: auto;
  vertical-align: middle;
}

.ocilan-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  padding: 28px var(--pad);
}

.ocilan-mobile-menu[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .pkg-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ftr-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-cards {
    grid-template-columns: 1fr;
  }

  .tes-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .course-card {
    flex-direction: column;
  }

  .course-strip {
    width: 100% !important;
    flex-direction: row !important;
    padding: 20px 28px !important;
    justify-content: space-between;
    align-items: center;
    min-height: 0 !important;
  }

  .course-price {
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid var(--border-warm) !important;
    flex-direction: row !important;
    gap: 16px !important;
    padding: 24px 28px !important;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section-sm {
    padding: 40px 0;
  }

  .s-title {
    font-size: 26px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mth-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mob-menu-btn {
    display: flex;
  }

  .trial-blk {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .pkg-grid {
    grid-template-columns: 1fr;
  }

  .prv-grid {
    grid-template-columns: 1fr;
  }

  .ftr-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .ftr-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact page ───────────────────────────────────────── */

.contact-hero {
  background: linear-gradient(155deg, #282c62 0%, #1e2150 100%);
  padding: 52px 0 48px;
  position: relative;
  overflow: hidden;
}

.contact-hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.c-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.c-required {
  color: var(--orange);
  margin-left: 3px;
}

.c-input,
.c-select,
.c-textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border-warm);
  border-radius: var(--r-sm);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.55;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.c-input:focus,
.c-select:focus,
.c-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 123, 44, 0.12);
}

.c-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A87A0' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.c-select:required:invalid {
  color: var(--text-muted);
}

.c-textarea {
  resize: vertical;
  min-height: 128px;
  line-height: 1.68;
}

.c-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.62;
}

.c-check-input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border-warm);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-top: 2px;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

.c-check-input:checked {
  background: var(--blue);
  border-color: var(--blue);
}

.c-check-input:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  width: 5px;
  height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
}

.contact-channel--bordered {
  border-top: 1px solid var(--border-warm);
}

.contact-channel__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-channel__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-channel__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.15s;
}

.contact-channel__value:hover {
  color: var(--orange);
}

.contact-channel__value-plain {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact-channel__sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-notice {
  background: var(--bg-orange);
  border: 1px solid rgba(239, 123, 44, 0.2);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.contact-notice__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background: rgba(239, 123, 44, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--orange-dk);
}

.contact-notice__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dk);
  margin-bottom: 4px;
}

.contact-notice__body {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.65;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-card-full {
    border-radius: var(--r) !important;
    padding: 28px 22px !important;
  }
}

/* ── Course detail ───────────────────────────────────────── */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 52px;
  align-items: center;
}

.hero-mob-cta    { display: none; }
.hero-enroll-card { display: block; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: start;
}

.detail-content-col { min-width: 0; }
.detail-sidebar-col { min-width: 0; }

.detail-sidebar {
  position: sticky;
  top: 88px;
}

.cd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 28px;
}

.cd-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
}

.cd-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.cd-breadcrumb span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.cd-breadcrumb-sep {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.cd-session {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  align-items: flex-start;
}

.cd-session + .cd-session {
  border-top: 1px solid var(--border-warm);
}

.cd-session-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-style: italic;
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.cd-session-num--last {
  background: var(--blue);
  color: #fff;
}

.cd-session-num--default {
  background: var(--blue-lt);
  color: var(--blue);
}

.cd-mth-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.cd-mth-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-for-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r);
}

.cd-qd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.cd-qd-row + .cd-qd-row {
  border-top: 1px solid var(--border-warm);
}

.cd-qd-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1040px) {
  .detail-layout { grid-template-columns: 1fr 320px; gap: 36px; }
  .hero-grid     { grid-template-columns: 1fr 290px; gap: 36px; }
}

@media (max-width: 900px) {
  .hero-grid        { grid-template-columns: 1fr; }
  .hero-enroll-card { display: none; }
  .hero-mob-cta     { display: block; }
  .detail-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .detail-content-col { order: 2; }
  .detail-sidebar-col { order: 1; padding-bottom: 40px; }
  .detail-sidebar     { position: static; }
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-warm);
  border-radius: 3px;
}

/* ── Individual classes page ───────────────────────────── */

.ind-breadcrumb-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-warm);
  padding: 11px 0;
}

.ind-breadcrumb {
  width: 100%;
}

.ind-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ind-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.ind-breadcrumb__item:not(:last-child)::after {
  content: "›";
  display: inline-flex;
  margin-left: 7px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1;
}

.ind-breadcrumb a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.ind-breadcrumb a:hover {
  color: var(--blue);
}

.ind-breadcrumb span {
  font-size: 12px;
  color: var(--text);
}

.ind-breadcrumb__current {
  font-weight: 500;
}

.ind-hero {
  background: linear-gradient(155deg, #282c62 0%, #1d2150 100%);
  padding: 84px 0 80px;
}

.ind-hero__content {
  max-width: 700px;
}

.ind-hero__title {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  text-wrap: balance;
}

.ind-hero__body {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.78;
  max-width: 490px;
  margin-bottom: 38px;
}

.ind-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 46px;
}

.ind-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.ind-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s;
}

.ind-hero__link:hover {
  color: #fff;
}

.ind-hero__link i {
  font-size: 14px;
}

.ind-pkg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: end;
}

.ind-pkg-trial {
  padding: 30px 24px;
  background: var(--bg-orange);
  border: 1.5px solid rgba(239, 123, 44, 0.28);
  display: flex;
  flex-direction: column;
}

.ind-pkg-trial__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.ind-pkg-trial__price {
  font-family: var(--f-head);
  font-style: italic;
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}

.ind-pkg-trial__meta,
.ind-pkg-card__meta,
.ind-pkg-card__total {
  font-size: 12px;
  color: var(--text-muted);
}

.ind-pkg-trial__meta {
  margin-bottom: 14px;
}

.ind-pkg-trial__note {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.68;
  margin-bottom: 0;
  flex: 1;
}

.ind-pkg-trial__footer {
  margin-top: 28px;
}

.ind-pkg-trial__footnote {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 9px;
  text-align: center;
}

.ind-pkg-card {
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ind-pkg-card.is-featured {
  background: var(--blue);
  box-shadow: var(--sh-lg);
  border: none;
  transform: scale(1.04);
  z-index: 1;
}

.ind-pkg-card__ribbon {
  position: absolute;
  top: 18px;
  right: -28px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 42px;
  transform: rotate(35deg);
}

.ind-pkg-card__count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ind-pkg-card.is-featured .ind-pkg-card__count,
.ind-pkg-card.is-featured .ind-pkg-card__meta,
.ind-pkg-card.is-featured .ind-pkg-card__total {
  color: rgba(255, 255, 255, 0.45);
}

.ind-pkg-card__price {
  font-family: var(--f-head);
  font-style: italic;
  font-size: 50px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}

.ind-pkg-card__meta {
  margin-bottom: 12px;
}

.ind-pkg-card__note {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.ind-pkg-card.is-featured .ind-pkg-card__note {
  color: rgba(255, 255, 255, 0.82);
}

.ind-pkg-card__spacer {
  min-height: 29px;
}

.ind-pkg-card__grow {
  flex: 1;
}

.ind-pkg-card__total {
  margin: 10px 0 26px;
}

.ind-pkg-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.65;
  max-width: 560px;
  margin: 22px auto 0;
}

.ind-hiw-wrap {
  position: relative;
}

.ind-hiw-line {
  position: absolute;
  top: 27px;
  left: calc(100% / 14);
  right: calc(100% / 14);
  height: 1px;
  border-top: 1.5px dashed rgba(40, 44, 98, 0.15);
  pointer-events: none;
  z-index: 0;
}

.ind-hiw-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.ind-hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ind-hiw-step__circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(40, 44, 98, 0.18);
}

.ind-hiw-step__circle.is-last {
  background: var(--orange);
  box-shadow: 0 4px 16px rgba(239, 123, 44, 0.32);
}

.ind-hiw-step__circle i {
  font-size: 21px;
  color: var(--orange);
}

.ind-hiw-step__circle.is-last i {
  color: #fff;
}

.ind-hiw-step__num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.ind-hiw-step__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.ind-hiw-step__sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.ind-avail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ind-avail-legend {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ind-avail-legend__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ind-avail-legend__swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ind-avail-legend__swatch.is-morning {
  background: var(--orange);
}

.ind-avail-legend__swatch.is-afternoon {
  background: var(--blue);
}

.ind-avail-legend__strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.ind-avail-legend__text {
  font-size: 14px;
  color: var(--text-mid);
}

.ind-avail-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.68;
  max-width: 320px;
}

.ind-avail-days,
.ind-avail-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ind-avail-days {
  margin-bottom: 10px;
}

.ind-avail-days__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.ind-avail-row-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.ind-avail-row-title.is-morning i {
  font-size: 13px;
  color: var(--orange);
}

.ind-avail-row-title.is-afternoon i {
  font-size: 13px;
  color: var(--blue);
}

.ind-avail-slots {
  margin-bottom: 16px;
}

.ind-avail-slot {
  border-radius: var(--r-sm);
  background: transparent;
  border: 1.5px solid var(--border-warm);
  padding: 13px 8px;
  text-align: center;
  opacity: 0.35;
  transition: opacity 0.2s;
}

.ind-avail-slot.is-available {
  opacity: 1;
}

.ind-avail-slot.is-morning.is-available {
  background: var(--bg-orange);
  border-color: rgba(239, 123, 44, 0.28);
}

.ind-avail-slot.is-morning.is-available span {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

.ind-avail-slot.is-afternoon.is-available {
  background: var(--blue-lt);
  border-color: rgba(40, 44, 98, 0.2);
}

.ind-avail-slot.is-afternoon.is-available span {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.ind-avail-slot:not(.is-available) span {
  font-size: 18px;
  line-height: 1;
  color: var(--border-warm);
}

.ind-method-card {
  padding: 30px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ind-method-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ind-method-card__icon.is-orange {
  background: var(--bg-orange);
  color: var(--orange);
}

.ind-method-card__icon.is-blue {
  background: var(--blue-lt);
  color: var(--blue);
}

.ind-method-card__icon i {
  font-size: 22px;
}

.ind-method-card__title {
  font-family: var(--f-head);
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 10px;
}

.ind-method-card__body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.78;
}

.ind-testimonial-card {
  padding: 28px 26px;
}

.ind-testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 14px;
}

.ind-testimonial-card__quote-mark {
  font-family: var(--f-head);
  font-style: italic;
  font-size: 52px;
  color: var(--orange);
  line-height: 0.7;
  margin-bottom: 14px;
}

.ind-testimonial-card__quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.72;
  margin-bottom: 26px;
  font-style: italic;
}

.ind-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ind-testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ind-testimonial-card__avatar.is-orange {
  background: var(--bg-orange);
  color: var(--orange);
}

.ind-testimonial-card__avatar.is-blue {
  background: var(--blue-lt);
  color: var(--blue);
}

.ind-testimonial-card__avatar i {
  font-size: 17px;
}

.ind-testimonial-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.ind-testimonial-card__detail {
  font-size: 12px;
  color: var(--text-muted);
}

.ind-final-cta {
  background: var(--blue);
  padding: 100px 0;
}

.ind-final-cta__container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ind-final-cta__eyebrow {
  color: rgba(239, 123, 44, 0.9);
  margin-bottom: 20px;
}

.ind-final-cta__title {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.12;
  text-wrap: balance;
}

.ind-final-cta__body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.78;
  max-width: 480px;
  margin: 0 auto 44px;
}

.ind-final-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ind-footer {
  background: var(--blue);
  padding: 64px 0 40px;
}

.footer-funding {
  margin: 0 0 20px;
  width: 100%;
}

.footer-funding__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 0 0;
}

.footer-funding__logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: nowrap;
}

.footer-funding__logo {
  display: block;
  width: min(200px, 100%);
  max-width: 100%;
  height: auto;
}

.ind-footer__grid {
  margin-bottom: 48px;
}

.ind-footer__brand {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ind-footer__brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.ind-footer__brand-text {
  font-family: var(--f-head);
  font-size: 22px;
  color: #fff;
  font-style: italic;
}

.ind-footer__summary {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  max-width: 210px;
}

.ind-footer__socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.ind-footer__socials a {
  color: rgba(255, 255, 255, 0.32);
  transition: color 0.15s;
}

.ind-footer__socials a:hover {
  color: var(--orange);
}

.ind-footer__socials i {
  font-size: 18px;
}

.ind-footer__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.ind-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ind-footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
}

.ind-footer__links a:hover {
  color: #fff;
}

.ind-footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 24px;
}

.ind-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ind-footer__bottom p,
.ind-footer__langs span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.ind-footer__langs {
  display: flex;
  gap: 20px;
}

@media (max-width: 900px) {
  .ind-pkg-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .ind-pkg-trial {
    grid-column: span 2;
  }

  .ind-hiw-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .ind-hiw-line {
    display: none;
  }

  .ind-avail-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .footer-funding {
    margin-bottom: 28px;
  }

  .footer-funding__inner {
    padding-top: 4px;
  }

  .ind-hero {
    padding: 64px 0 60px;
  }

  .ind-method-card {
    padding: 28px 22px;
  }
}

@media (max-width: 600px) {
  .footer-funding__inner {
    justify-content: center;
  }

  .footer-funding__logos {
    justify-content: center;
  }

  .footer-funding__logo {
    width: min(150px, calc(50vw - 28px));
  }

  .ind-pkg-grid {
    grid-template-columns: 1fr;
  }

  .ind-pkg-trial {
    grid-column: auto;
  }

  .ind-hiw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .ind-final-cta {
    padding: 72px 0;
  }
}

/* ── Blog listing ───────────────────────────────────────── */

.blog-hero {
  background: var(--bg);
  padding: 72px 0 52px;
}

.blog-hero__inner {
  max-width: 680px;
}

.blog-hero__title {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.12;
  color: var(--blue);
  margin-bottom: 12px;
  text-wrap: balance;
}

.blog-hero__sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.72;
  max-width: 480px;
}

.blog-featured {
  display: grid;
  grid-template-columns: 45% 55%;
  overflow: hidden;
}

.blog-featured__media {
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #ebe5db 0%, #d6cdbf 100%);
}

.blog-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured__placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ebe5db 0%, #d6cdbf 100%);
  position: relative;
}

.blog-featured__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
}

.blog-featured__placeholder span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-family: monospace;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.32);
}

.blog-featured__placeholder--video {
  background: linear-gradient(135deg, #1A1E48 0%, #282C62 100%);
}

.blog-featured__placeholder--video::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.blog-featured__placeholder--video span {
  color: rgba(255, 255, 255, 0.38);
}

.blog-featured__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

.blog-featured__body {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured__tags {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-featured__title {
  font-family: var(--f-head);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.22;
  margin-bottom: 12px;
}

.blog-featured__title a {
  color: var(--blue);
  transition: color 0.15s;
}

.blog-featured__title a:hover {
  color: var(--orange);
}

.blog-featured__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-featured__excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 18px;
}

.blog-card__media {
  height: 195px;
  overflow: hidden;
  background: linear-gradient(135deg, #ebe5db 0%, #d6cdbf 100%);
  position: relative;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-card__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
}

.blog-card__placeholder span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-family: monospace;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.32);
}

.blog-card__placeholder--video {
  background: linear-gradient(135deg, #1A1E48 0%, #282C62 100%);
}

.blog-card__placeholder--video::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}

.blog-card__placeholder--video span {
  color: rgba(255, 255, 255, 0.42);
}

.blog-card__video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 123, 44, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__video-badge span {
  font-size: 20px;
  color: #fff;
  margin-left: 3px;
}

.blog-card__body {
  padding: 22px 22px 26px;
}

.blog-card__tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-card__title {
  font-family: var(--f-head);
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-card__title a {
  color: var(--blue);
  transition: color 0.15s;
}

.blog-card__title a:hover {
  color: var(--orange);
}

.blog-card__excerpt {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  border-color: rgba(40, 44, 98, 0.08);
  box-shadow: var(--sh-md);
}

.blog-empty__icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(239, 123, 44, 0.14), rgba(239, 123, 44, 0.06));
  color: var(--orange);
  font-size: 32px;
}

.blog-empty__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.blog-empty__title {
  font-family: var(--f-head);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  color: var(--blue);
  max-width: 16ch;
  text-wrap: balance;
}

.blog-empty__text {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  text-wrap: pretty;
}

.blog-empty__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.blog-empty--filtered .blog-empty__title {
  max-width: 18ch;
}

.blog-empty--filtered .blog-empty__text {
  max-width: 46ch;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.blog-pagination__item {
  display: inline-flex;
}

.blog-pagination__item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1.5px solid var(--border-warm);
  background: var(--white);
  color: var(--text-mid);
  transition: all 0.18s ease;
  text-decoration: none;
}

.blog-pagination__item .page-numbers:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.blog-pagination__item .page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.blog-pagination__item .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured__media {
    min-height: 240px;
  }

  .blog-featured__body {
    padding: 28px 24px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 56px 0 48px;
  }

  .blog-empty {
    gap: 14px;
  }

  .blog-empty__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 28px;
  }

  .blog-empty__text {
    font-size: 15px;
  }
}

/* ── Blog filter bar ──── */

.blog-filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-warm);
  padding: 16px 0;
}

.blog-filters {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-filters__cats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.blog-filter-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--border-warm);
  background: var(--white);
  color: var(--text-mid);
  white-space: nowrap;
  transition: all 0.18s ease;
  text-decoration: none;
}

.blog-filter-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.blog-filter-pill.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.blog-filters__search {
  flex-shrink: 0;
}

.blog-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.blog-search-input {
  height: 38px;
  padding: 0 14px 0 36px;
  font-size: 14px;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border-warm);
  border-radius: 100px;
  outline: none;
  width: 220px;
  transition: border-color 0.15s, box-shadow 0.15s, width 0.2s;
}

.blog-search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 123, 44, 0.12);
  width: 260px;
}

.blog-search-input::placeholder {
  color: var(--text-muted);
}

/* Active filters state bar */

.blog-filters__state {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--border-warm);
  flex-wrap: wrap;
}

.blog-filters__state-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.blog-filters__state-count {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-filters__clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border-warm);
  border-radius: 100px;
  padding: 3px 10px;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
  margin-left: auto;
}

.blog-filters__clear:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.blog-filters__clear i {
  font-size: 11px;
}

/* Featured post: image link & video thumbnail */

.blog-featured__img-link,
.blog-featured__video-thumb {
  display: block;
  height: 100%;
  position: relative;
}

.blog-featured__img-link img,
.blog-featured__video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(239, 123, 44, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 4px 24px rgba(239, 123, 44, 0.45);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.blog-featured__play-btn i {
  margin-left: 3px;
}

.blog-featured__video-thumb:hover .blog-featured__play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--orange);
  box-shadow: 0 6px 28px rgba(239, 123, 44, 0.6);
}

@media (max-width: 860px) {
  .blog-filters {
    flex-wrap: wrap;
  }

  .blog-filters__search {
    width: 100%;
  }

  .blog-search-input,
  .blog-search-input:focus {
    width: 100%;
  }

  .blog-search-wrap {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .blog-filter-pill {
    font-size: 12px;
    height: 30px;
    padding: 0 11px;
  }
}

/* ── Newsletter CTA ──────────────────────────────────────── */

.newsletter-cta {
  background: var(--bg-alt);
  padding: 80px 0;
  text-align: center;
  scroll-margin-top: 80px;
}

.newsletter-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-cta__title {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  color: var(--blue);
  margin-bottom: 14px;
  text-wrap: balance;
}

.newsletter-cta__sub {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.75;
  text-wrap: pretty;
}

.newsletter-cta__form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-cta__email {
  flex: 1;
  min-width: 180px;
  padding: 11px 22px;
  border: 1.5px solid var(--border-warm);
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}

.newsletter-cta__email:focus {
  border-color: var(--blue);
}

.newsletter-cta__email::placeholder {
  color: var(--text-muted);
}

.newsletter-cta__legal {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

@media (max-width: 600px) {
  .newsletter-cta {
    padding: 56px 0;
  }
}

/* ── Single article ─────────────────────────────────────── */

.article-hero {
  padding: 52px 0 36px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.article-breadcrumb a:hover {
  color: var(--blue);
}

.article-breadcrumb__sep {
  color: var(--border-warm);
}

.article-breadcrumb__current {
  color: var(--text);
  font-weight: 500;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-hero__date,
.article-hero__time {
  font-size: 13px;
  color: var(--text-muted);
}

.article-hero__date::before {
  content: "·";
  margin-right: 4px;
  color: var(--text-muted);
}

.article-hero__title {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  color: var(--blue);
  margin-bottom: 16px;
  text-wrap: balance;
}

.article-hero__excerpt {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.78;
  max-width: 600px;
}

.article-video {
  padding: 0 0 40px;
}

.article-video__wrapper {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.article-video__wrapper iframe,
.article-video__wrapper video {
  display: block;
  border-radius: var(--r-lg);
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 26px;
  text-wrap: pretty;
}

.prose h2 {
  font-family: var(--f-head);
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--blue);
  line-height: 1.2;
  margin: 52px 0 20px;
  text-wrap: balance;
}

.prose h3 {
  font-family: var(--f-head);
  font-size: clamp(17px, 2vw, 22px);
  color: var(--blue);
  line-height: 1.25;
  margin: 40px 0 14px;
}

.prose h4 {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin: 32px 0 12px;
}

.prose em {
  color: var(--text);
}

.prose ul,
.prose ol {
  margin-bottom: 26px;
  padding-left: 24px;
  color: var(--text-mid);
  line-height: 1.85;
}

.prose ul li,
.prose ol li {
  margin-bottom: 6px;
}

.prose blockquote {
  border-left: 4px solid var(--orange);
  padding-left: 20px;
  margin: 32px 0;
  color: var(--text-mid);
  font-style: italic;
  font-size: 16px;
  line-height: 1.8;
}

.prose blockquote p {
  margin-bottom: 0;
}

.prose a {
  color: var(--orange);
  font-weight: 500;
  border-bottom: 1px solid rgba(239, 123, 44, 0.3);
  transition: border-color 0.15s;
}

.prose a:hover {
  border-bottom-color: var(--orange);
}

.prose img {
  border-radius: var(--r-lg);
  margin: 28px 0;
}

.prose figure {
  margin: 28px 0;
}

.prose figcaption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.prose pre {
  background: var(--blue);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--r);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.prose code {
  font-family: monospace;
  font-size: 0.9em;
}

.prose :not(pre) > code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--blue);
  font-size: 0.92em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-cta {
  background: var(--blue);
  padding: 100px 0;
}

.article-cta__title {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.12;
  text-wrap: balance;
}

.article-cta__body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.78;
  max-width: 480px;
  margin: 0 auto 44px;
}

.article-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding: 40px 0 28px;
  }

  .prose p {
    font-size: 16px;
  }

  .prose h2 {
    margin-top: 40px;
  }

  .article-cta {
    padding: 72px 0;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 404 ────────────────────────────────────────────────── */

.e404-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
  flex: 1;
}

.e404-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(200px, 28vw, 380px);
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
  opacity: 0.045;
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.e404-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.e404-dot--tl {
  top: 60px;
  left: 8%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(239, 123, 44, 0.12) 0%, transparent 70%);
}

.e404-dot--br {
  bottom: 20px;
  right: 6%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(40, 44, 98, 0.07) 0%, transparent 70%);
}

.e404-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-orange);
  border: 1px solid rgba(239, 123, 44, 0.2);
  margin-bottom: 28px;
}

.e404-brand-mark__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  display: block;
}

.e404-title {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(38px, 5vw, 68px);
  color: var(--blue);
  line-height: 1.12;
  text-wrap: balance;
  margin-bottom: 20px;
}

.e404-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 440px;
  margin: 0 auto 44px;
  text-wrap: pretty;
}

.e404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.e404-links {
  background: var(--white);
  border-top: 1px solid var(--border-warm);
  padding: 72px 0;
}

.e404-links__heading {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.e404-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.e404-link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.e404-link-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: rgba(40, 44, 98, 0.18);
}

.e404-link-card__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--blue-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.e404-link-card__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.e404-link-card__desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.e404-link-card__cta {
  margin-top: auto;
  padding-top: 8px;
}

.e404-link-card__cta span {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.e404-hint {
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-orange);
  border: 1px solid rgba(239, 123, 44, 0.18);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.e404-hint__text {
  font-size: 13px;
  color: var(--text-mid);
  flex: 1;
  line-height: 1.6;
}

.e404-hint__text a {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid rgba(239, 123, 44, 0.3);
}

.e404-hint__text a:hover {
  border-bottom-color: var(--orange);
}

@media (max-width: 768px) {
  .e404-hero {
    padding: 80px 0 60px;
  }

  .e404-links__grid {
    grid-template-columns: 1fr;
  }

  .e404-dot--tl {
    width: 140px;
    height: 140px;
    top: 40px;
    left: 4%;
  }

  .e404-dot--br {
    width: 180px;
    height: 180px;
    bottom: 10px;
    right: 3%;
  }
}


/* ── Blog category page ─────────────────────────────────────────────────────── */

/* Sub-nav scrollable inner row (used in PHP, hover needs CSS) */

.cat-subnav__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.cat-subnav__inner::-webkit-scrollbar {
  display: none;
}

.cat-subnav__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border-warm);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.15s;
}

.cat-subnav__back:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Related category card — mirrors RelatedCategories JSX button styles.
   Uses var(--r-lg)=20px and border-warm, NOT .card defaults (r-xl / border-blue). */

.cat-rel-card {
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  text-align: left;
  text-decoration: none;
  display: block;
  box-shadow: var(--sh-sm);
  transition: all 0.18s;
  font-family: var(--f-body);
}

.cat-rel-card:hover {
  border-color: var(--rc-accent, var(--blue));
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

/* ── Blog search page ───────────────────────────────────────────────────────── */

/* Popular search pills (shown when no query) */

.search-popular-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--f-body);
  border: 1.5px solid var(--border-warm);
  background: var(--bg);
  color: var(--text-mid);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}

.search-popular-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Empty-state category links */

.search-empty-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border-warm);
  background: var(--white);
  color: var(--text-mid);
  text-decoration: none;
  transition: all 0.15s;
}

.search-empty-cat-link:hover {
  background: var(--cat-bg, var(--bg-alt));
  border-color: var(--cat-accent, var(--blue));
  color: var(--cat-accent, var(--blue));
}

/* Responsive */

@media (max-width: 768px) {
  .cat-subnav__inner {
    /* ensure smooth scroll at mobile */
    -webkit-overflow-scrolling: touch;
  }
}
