@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap");

:root {
  --k-navy: #0D1B40;
  --k-navy-soft: #152a5c;
  --k-gold: #F5A623;
  --k-gold-dark: #d48c12;
  --k-ink: #1a2336;
  --k-muted: #5b657a;
  --k-line: #e6eaf2;
  --k-bg: #f7f8fb;
  --k-white: #ffffff;
  --k-max: 1080px;
  --k-read: 720px;
  --k-radius: 10px;
  --k-font: "Source Serif 4", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --k-sans: "DM Sans", "Segoe UI", Tahoma, sans-serif;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .k-nav, .k-hero, .k-card, .k-reveal, .k-hero__visual img {
    transition: none !important;
    animation: none !important;
  }
}

body.kstudy-lr {
  color: var(--k-ink);
  background: var(--k-bg);
  font-family: var(--k-sans);
}

/* Hide Syron demo chrome / bootcamp residue when our chrome is present */
body.kstudy-lr .site-preloader,
body.kstudy-lr .rivax-header,
body.kstudy-lr .rivax-header-sticky,
body.kstudy-lr .header-sticky,
body.kstudy-lr .rivax-footer,
body.kstudy-lr .canvas-menu,
body.kstudy-lr .rivax-mouse-cursor,
body.kstudy-lr .privacy-notice,
body.kstudy-lr .back-to-top {
  display: none !important;
}

body.kstudy-lr #site,
body.kstudy-lr #site-inner {
  background: transparent;
}

.k-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.k-skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--k-navy);
  color: #fff;
  z-index: 10000;
  border-radius: 6px;
}

.k-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 0;
}

.k-header__shell {
  padding: 0.75rem 1rem 0;
}

.k-header__inner {
  max-width: var(--k-max);
  margin: 0 auto;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 27, 64, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(13, 27, 64, 0.06);
  backdrop-filter: blur(12px);
  transition: border-radius 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.k-header.is-scrolled .k-header__shell {
  padding-top: 0.45rem;
}

.k-header.is-scrolled .k-header__inner {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(13, 27, 64, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.k-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--k-navy);
  flex-shrink: 0;
  padding-left: 0.2rem;
}
.k-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.k-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.k-brand__name {
  font-family: var(--k-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.k-brand__tag {
  font-size: 0.68rem;
  color: var(--k-muted);
  font-weight: 500;
}

.k-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin-left: auto;
  margin-right: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}
.k-nav a {
  color: var(--k-navy);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 560;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.k-nav a:hover,
.k-nav a:focus-visible {
  background: rgba(13, 27, 64, 0.06);
  color: var(--k-navy);
}

.k-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.k-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.k-btn:focus-visible {
  outline: 2px solid var(--k-gold);
  outline-offset: 2px;
}
.k-btn--text {
  color: var(--k-navy);
  background: transparent;
  border-color: transparent;
  padding-inline: 0.7rem;
}
.k-btn--text:hover { color: var(--k-gold-dark); }
.k-btn--ghost {
  color: var(--k-navy);
  background: transparent;
  border-color: var(--k-line);
}
.k-btn--ghost:hover { border-color: var(--k-navy); }
.k-btn--ghost-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}
.k-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.k-btn--primary {
  background: var(--k-navy);
  color: #fff;
}
.k-btn--primary:hover { background: var(--k-navy-soft); color: #fff; }
.k-btn--gold {
  background: var(--k-gold);
  color: var(--k-navy);
}
.k-btn--gold:hover {
  background: var(--k-gold-dark);
  color: #fff;
  transform: translateY(-1px);
}
.k-btn--lg {
  padding: 0.8rem 1.3rem;
  font-size: 0.95rem;
}

.k-menu-toggle {
  display: none;
  border: 1px solid var(--k-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--k-navy);
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: auto;
}

@media (max-width: 980px) {
  .k-header__inner {
    border-radius: 18px;
    flex-wrap: wrap;
    padding: 0.7rem 0.85rem;
  }
  .k-menu-toggle { display: inline-flex; }
  .k-nav, .k-actions { display: none; }
  .k-header.is-open .k-nav,
  .k-header.is-open .k-actions {
    display: flex;
    width: 100%;
  }
  .k-header.is-open .k-nav {
    flex-direction: column;
    align-items: stretch;
    margin: 0.35rem 0 0;
    gap: 0.15rem;
  }
  .k-header.is-open .k-nav a {
    padding: 0.7rem 0.85rem;
  }
  .k-header.is-open .k-actions {
    justify-content: stretch;
    gap: 0.5rem;
    padding-bottom: 0.2rem;
  }
  .k-header.is-open .k-actions .k-btn {
    flex: 1;
  }
}

/* Homepage hero — one composition */
.k-hero {
  position: relative;
  color: #fff;
  margin-top: -4.25rem;
  padding-top: 4.25rem;
  min-height: clamp(520px, 78vh, 700px);
  overflow: hidden;
  background: #0D1B40;
}

.k-hero__stage {
  max-width: 1240px;
  margin: 0 auto;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.k-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 1.5rem 3.25rem 1.5rem;
  background:
    radial-gradient(700px 320px at 10% 20%, rgba(245, 166, 35, 0.16), transparent 55%),
    linear-gradient(110deg, #0D1B40 0%, #122449 58%, rgba(13, 27, 64, 0.72) 100%);
}

.k-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  margin: 0 0 1rem;
}

.k-hero h1 {
  font-family: var(--k-font);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.8vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 11.5ch;
  color: #fff;
  letter-spacing: -0.02em;
}

.k-hero__break { display: inline; }

.k-hero__lead {
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.6rem;
}

.k-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.k-hero__paths {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 36rem;
}

.k-hero__paths a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.15rem;
}

.k-hero__paths a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--k-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.k-hero__paths a:hover,
.k-hero__paths a:focus-visible {
  color: #fff;
}

.k-hero__paths a:hover::after,
.k-hero__paths a:focus-visible::after {
  transform: scaleX(1);
}

.k-hero__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #152a5c;
}

.k-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  display: block;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.k-hero__visual.is-in img {
  transform: scale(1);
}

.k-hero__visual-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 64, 0.88) 0%, rgba(13, 27, 64, 0.35) 38%, rgba(13, 27, 64, 0.08) 100%),
    linear-gradient(0deg, rgba(13, 27, 64, 0.35) 0%, transparent 35%);
  pointer-events: none;
}

.k-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.k-reveal.is-in {
  opacity: 1;
  transform: none;
}

.k-hero__copy.k-reveal {
  transition-delay: 0.05s;
}

.k-hero__visual.k-reveal {
  transition-delay: 0.12s;
}

@media (max-width: 900px) {
  .k-hero {
    min-height: auto;
  }
  .k-hero__stage {
    grid-template-columns: 1fr;
  }
  .k-hero__copy {
    padding: 5.5rem 1.25rem 2.5rem;
    background:
      radial-gradient(600px 280px at 80% 0%, rgba(245, 166, 35, 0.18), transparent 55%),
      linear-gradient(180deg, #0D1B40 0%, #122449 100%);
  }
  .k-hero h1 {
    max-width: 14ch;
  }
  .k-hero__visual {
    min-height: 240px;
    max-height: 320px;
  }
  .k-hero__visual-fade {
    background: linear-gradient(0deg, rgba(13, 27, 64, 0.55) 0%, transparent 45%);
  }
}

@media (max-width: 560px) {
  .k-brand__tag { display: none; }
  .k-hero h1 { font-size: 2rem; }
  .k-hero__break { display: block; }
}
.k-section {
  max-width: var(--k-max);
  margin: 0 auto;
  padding: 3rem 1.25rem 1rem;
}
.k-section__head { margin-bottom: 1.35rem; }
.k-section h2 {
  font-family: var(--k-font);
  font-size: 1.65rem;
  color: var(--k-navy);
  margin: 0 0 0.35rem;
}
.k-section__sub {
  color: var(--k-muted);
  margin: 0;
  max-width: 55ch;
  line-height: 1.5;
}
.k-section__note {
  margin: 1.1rem 0 0;
  color: var(--k-muted);
  font-size: 0.92rem;
}
.k-section__note a {
  color: var(--k-navy);
  font-weight: 600;
  text-decoration: none;
}
.k-section__note a:hover { color: var(--k-gold-dark); }

.k-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.k-topic {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--k-line);
  border-radius: 14px;
  background:
    linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  text-decoration: none;
  color: var(--k-navy);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.k-topic:hover,
.k-topic:focus-visible {
  border-color: rgba(13, 27, 64, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 27, 64, 0.06);
}
.k-topic__label {
  font-family: var(--k-font);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.k-topic__hint {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--k-gold-dark);
}

.k-search {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
  margin-top: 1.35rem;
  max-width: 640px;
}
.k-search input[type="search"] {
  flex: 1;
  border: 1px solid var(--k-line);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font: inherit;
  color: var(--k-ink);
  background: #fff;
}
.k-search input[type="search"]:focus {
  outline: 2px solid var(--k-gold);
  outline-offset: 1px;
}
.k-search--header {
  width: 100%;
  margin-top: 0.55rem;
  order: 10;
}
.k-search-bridge {
  margin: 1rem 0 0;
  color: var(--k-muted);
}
.k-search-bridge a {
  color: var(--k-navy);
  font-weight: 700;
}

.k-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.k-rail--subjects {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.k-rail__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border-bottom: 2px solid var(--k-navy);
  background: transparent;
  text-decoration: none;
  color: var(--k-navy);
  transition: background 0.2s ease;
}
.k-rail__item strong {
  font-family: var(--k-font);
  font-size: 1.15rem;
}
.k-rail__item span {
  font-size: 0.8rem;
  color: var(--k-muted);
  font-weight: 600;
}
.k-rail__item:hover,
.k-rail__item:focus-visible {
  background: rgba(245, 166, 35, 0.08);
}

.k-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--k-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(13, 27, 64, 0.05);
}
.k-featured__media { min-height: 320px; background: #dfe5f0; }
.k-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k-featured__body { padding: 2rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.k-featured__body h3 {
  font-family: var(--k-font);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  color: var(--k-navy);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.k-featured__body h3 a {
  color: inherit;
  text-decoration: none;
}
.k-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.k-band {
  margin: 2.5rem 0 0;
  padding: 0 1.25rem;
}
.k-band__inner {
  max-width: var(--k-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.75rem;
  padding: 2rem 1.75rem;
  border-radius: 18px;
}
.k-band--parents .k-band__inner {
  background: #f4f7fb;
  border: 1px solid #e2e8f2;
}
.k-band--tutors .k-band__inner {
  background: #0D1B40;
  color: #fff;
  border: 1px solid #0D1B40;
}
.k-band__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--k-gold-dark);
}
.k-band--tutors .k-band__eyebrow { color: var(--k-gold); }
.k-band__intro h2 {
  font-family: var(--k-font);
  font-size: 1.7rem;
  margin: 0 0 0.55rem;
  color: var(--k-navy);
}
.k-band--tutors .k-band__intro h2 { color: #fff; }
.k-band__intro p {
  margin: 0 0 1rem;
  color: var(--k-muted);
  max-width: 36ch;
  line-height: 1.5;
}
.k-band--tutors .k-band__intro p { color: rgba(255,255,255,0.82); }
.k-band__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}
.k-list-link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(13,27,64,0.08);
  text-decoration: none;
  color: var(--k-navy);
}
.k-band--tutors .k-list-link {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.k-list-link__title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.k-list-link__meta {
  display: block;
  font-size: 0.9rem;
  color: var(--k-muted);
  line-height: 1.4;
}
.k-band--tutors .k-list-link__meta { color: rgba(255,255,255,0.72); }

.k-latest {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.k-latest__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--k-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}
.k-latest__item:hover { border-color: rgba(13,27,64,0.25); }
.k-latest__media {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #dfe5f0;
}
.k-latest__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.k-latest__title {
  display: block;
  font-family: var(--k-font);
  font-size: 1.15rem;
  color: var(--k-navy);
  margin: 0.2rem 0 0.35rem;
  line-height: 1.3;
}
.k-latest__excerpt {
  display: block;
  color: var(--k-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .k-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-rail, .k-rail--subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-featured { grid-template-columns: 1fr; }
  .k-band__inner { grid-template-columns: 1fr; padding: 1.5rem 1.2rem; }
  .k-latest__item { grid-template-columns: 96px 1fr; }
}
@media (max-width: 560px) {
  .k-topic-grid { grid-template-columns: 1fr 1fr; }
  .k-search { flex-direction: column; }
  .k-latest__item { grid-template-columns: 1fr; }
}

.k-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .k-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .k-grid { grid-template-columns: 1fr; }
}

.k-card {
  background: var(--k-white);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.k-card:hover {
  border-color: rgba(13,27,64,0.25);
  transform: translateY(-2px);
}
.k-card__media {
  aspect-ratio: 16/10;
  background: #dfe5f0;
  overflow: hidden;
}
.k-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.k-card__body { padding: 1rem 1.05rem 1.15rem; }
.k-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--k-gold-dark);
  margin-bottom: 0.35rem;
}
.k-card__title {
  font-family: var(--k-font);
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--k-navy);
  margin: 0 0 0.45rem;
}
.k-card__excerpt {
  font-size: 0.9rem;
  color: var(--k-muted);
  margin: 0;
  line-height: 1.45;
}

.k-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.k-chips a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--k-line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--k-navy);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.k-chips a:hover { border-color: var(--k-navy); background: #fff8eb; }
.k-convert {
  margin: 3rem auto 1rem;
  max-width: var(--k-max);
  padding: 0 1.25rem;
}
.k-convert__inner {
  background: var(--k-navy);
  color: #fff;
  border-radius: 18px;
  padding: 2.4rem 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.k-convert h2 {
  font-family: var(--k-font);
  color: #fff;
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  max-width: 18ch;
  line-height: 1.25;
}
.k-convert p { margin: 0; color: rgba(255,255,255,0.85); max-width: 36ch; font-size: 1.05rem; }

.k-footer {
  margin-top: 4rem;
  background: #0a142e;
  color: rgba(255,255,255,0.82);
  padding: 3rem 1.25rem 2rem;
}
.k-footer__inner {
  max-width: var(--k-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.k-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.k-footer a:hover { color: var(--k-gold); }
.k-footer h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}
.k-footer ul { list-style: none; margin: 0; padding: 0; }
.k-footer li { margin-bottom: 0.45rem; }
.k-footer__brand { font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; }
.k-footer__copy {
  max-width: var(--k-max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 800px) {
  .k-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .k-footer__inner { grid-template-columns: 1fr; }
}

/* Article */
.k-article {
  max-width: var(--k-read);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.k-article__cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--k-gold-dark);
}
.k-article h1 {
  font-family: var(--k-font);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--k-navy);
  margin: 0.5rem 0 0.85rem;
}
.k-article__meta {
  color: var(--k-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.k-article__hero {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 1.75rem;
  background: #dfe5f0;
}
.k-article__hero img { width: 100%; height: auto; display: block; }
.k-article__content {
  font-family: var(--k-font);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--k-ink);
}
.k-article__content h2,
.k-article__content h3 {
  font-family: var(--k-sans);
  color: var(--k-navy);
  margin-top: 1.75rem;
}
.k-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.k-article__content table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--k-sans);
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
}
.k-article__content th,
.k-article__content td {
  border: 1px solid var(--k-line);
  padding: 0.5rem 0.65rem;
}

.k-toc {
  background: #fff;
  border: 1px solid var(--k-line);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.75rem;
  font-family: var(--k-sans);
}
.k-toc strong { display: block; margin-bottom: 0.5rem; color: var(--k-navy); }
.k-toc ol { margin: 0; padding-left: 1.1rem; }
.k-toc a { color: var(--k-navy); text-decoration: none; }
.k-toc a:hover { color: var(--k-gold-dark); }

.k-related {
  max-width: var(--k-max);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

body.kstudy-lr-article .single-post-wrapper,
body.kstudy-lr-article .main-wrapper {
  background: var(--k-bg);
}

/* Resource pages (course reposition) */
.k-resource-banner {
  background: #fff8eb;
  border-bottom: 1px solid #f0dfb4;
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--k-navy);
}
.k-resource-banner a { color: var(--k-navy); font-weight: 700; }
