@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   MEDIORA — CSS CORE
   Contemporary Newsroom School Design
============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink:       #0d0d0d;
  --paper:     #f7f4ef;
  --red:       #c8102e;
  --gray-100:  #f0ede8;
  --gray-200:  #ddd9d2;
  --gray-400:  #9e9890;
  --gray-600:  #5a5650;
  --white:     #ffffff;
  --rule:      1px solid #d5d1ca;
  --rule-dark: 1px solid #2a2a2a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max:       1280px;
  --gap:       clamp(16px, 3vw, 32px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ============================================
   TOP BAR
============================================ */
.topbar {
  background: var(--ink);
  color: var(--gray-400);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: var(--rule-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar__date { color: var(--gray-400); }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a { color: var(--gray-400); transition: color .2s; }
.topbar__links a:hover { color: var(--white); }

/* ============================================
   HEADER / NAV
============================================ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
}
.logo__tagline {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  font-weight: 600;
  margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: 0; }
.nav__list { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__link {
  display: block;
  padding: 26px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-600);
  transition: color .2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.nav__link:hover, .nav__link.active {
  color: var(--ink);
  border-bottom-color: var(--red);
}

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--red);
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 999;
}
.nav__item:hover .nav__dropdown { display: block; }
.nav__dropdown li a {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  transition: background .15s, color .15s;
}
.nav__dropdown li a:hover {
  background: var(--gray-100);
  color: var(--ink);
}

.nav__cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 2px solid var(--red);
  transition: background .2s, color .2s;
  margin-left: 12px;
}
.nav__cta:hover {
  background: var(--white);
  color: var(--red);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all .3s;
}

/* ============================================
   MOBILE NAV
============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 950;
  overflow-y: auto;
  padding: 40px var(--gap);
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 32px;
}
.mobile-nav__list { display: flex; flex-direction: column; gap: 0; }
.mobile-nav__list a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid #2a2a2a;
}
.mobile-nav__list a:hover { color: var(--red); }
.mobile-nav__contact {
  margin-top: 40px;
  color: var(--gray-400);
  font-size: 13px;
  line-height: 2;
}

/* ============================================
   SECTION UTILITIES
============================================ */
.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 96px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--gray { background: var(--gray-100); }
.section--paper { background: var(--paper); }

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--red);
  border-top: 2px solid var(--red);
  padding-top: 6px;
  margin-bottom: 16px;
}
.section-label--light { color: var(--gray-400); border-top-color: var(--gray-400); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section-title--white { color: var(--white); }
.section-title--sm {
  font-size: clamp(22px, 3vw, 34px);
}

.section-lead {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 640px;
}
.section-lead--white { color: var(--gray-400); }

.divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 20px 0;
}
.divider--center { margin: 20px auto; }

hr.rule {
  border: none;
  border-top: var(--rule);
  margin: 48px 0;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 2px solid transparent;
  transition: all .2s;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--ink);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 11px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 13px;
}

/* ============================================
   HERO — HOME
============================================ */
.hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero__eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
  border-left: 3px solid var(--red);
  padding-left: 10px;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; color: var(--red); }
.hero__desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero__stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  margin-top: 4px;
}
.hero__img-wrap { position: relative; }
.hero__img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.1);
}
.hero__img-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--red);
  color: var(--white);
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.4;
}

/* ============================================
   TICKER
============================================ */
.ticker {
  background: var(--red);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-top: none;
}
.ticker__inner {
  display: inline-flex;
  animation: ticker-scroll 40s linear infinite;
}
.ticker__item { padding: 0 40px; }
.ticker__item::before {
  content: '◆';
  margin-right: 16px;
  opacity: .6;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   NEWS GRID (HOME)
============================================ */
.news-grid__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.news-grid__main {}
.news-grid__sidebar {}

.news-card--feature {
  display: grid;
  grid-template-rows: auto 1fr;
}
.news-card--feature .nc__img {
  height: 340px;
  object-fit: cover;
  width: 100%;
}
.news-card--feature .nc__body {
  padding: 28px 0 0;
}
.nc__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 8px;
}
.nc__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color .2s;
}
.nc__title a:hover { color: var(--red); }
.nc__excerpt {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
}
.nc__meta {
  font-size: 11px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nc__meta span::after { content: '/'; margin-left: 12px; }
.nc__meta span:last-child::after { display: none; }

/* Sidebar news list */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-list__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: var(--rule);
}
.news-list__item:first-child { border-top: var(--rule); }
.news-list__img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
}
.news-list__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  transition: color .2s;
}
.news-list__title:hover { color: var(--red); }
.news-list__meta {
  font-size: 10px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* ============================================
   COURSES SECTION
============================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.course-card {
  background: var(--white);
  border: var(--rule);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.course-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.course-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card__level {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 8px;
}
.course-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}
.course-card__desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: var(--rule);
  padding-top: 16px;
}
.course-card__duration {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}
.course-card__modules {
  font-size: 12px;
  color: var(--gray-400);
}

/* ============================================
   INSTRUCTORS
============================================ */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.instructor-card { text-align: center; }
.instructor-card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%);
  transition: filter .3s;
}
.instructor-card:hover .instructor-card__img { filter: grayscale(0%); }
.instructor-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 14px;
}
.instructor-card__role {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.instructor-card__bio {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 8px;
  line-height: 1.55;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-left: 4px solid var(--red);
}
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
}
.testimonial-card__quote::before { content: '\201C'; color: var(--red); font-size: 28px; line-height: 0; vertical-align: -.3em; margin-right: 4px; }
.testimonial-card__author {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.testimonial-card__role {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ============================================
   BLOG / ARTICLES
============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--rule);
}
.article-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.article-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: 8px;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
  flex: 1;
}
.article-card__title a:hover { color: var(--red); }
.article-card__meta {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 16px;
  padding-top: 14px;
  border-top: var(--rule);
}

/* ============================================
   PAGE HERO (INNER PAGES)
============================================ */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 56px;
  border-bottom: 3px solid var(--red);
}
.page-hero--img {
  position: relative;
  overflow: hidden;
}
.page-hero--img .page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}
.page-hero--img .page-hero__inner { position: relative; z-index: 2; }
.page-hero__eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
  margin-bottom: 16px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.page-hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   BREADCRUMBS
============================================ */
.breadcrumbs {
  padding: 12px 0;
  border-bottom: var(--rule);
  background: var(--white);
}
.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-400);
}
.breadcrumbs__list li::after { content: '/'; margin-left: 8px; color: var(--gray-200); }
.breadcrumbs__list li:last-child::after { display: none; }
.breadcrumbs__list a { color: var(--gray-600); transition: color .2s; }
.breadcrumbs__list a:hover { color: var(--red); }
.breadcrumbs__list li:last-child { color: var(--ink); font-weight: 600; }

/* ============================================
   EVENTS
============================================ */
.events-list { display: flex; flex-direction: column; gap: 0; }
.event-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: var(--rule);
}
.event-row:first-child { border-top: var(--rule); }
.event-date {
  text-align: center;
  background: var(--ink);
  color: var(--white);
  padding: 12px 8px;
}
.event-date__day {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.event-date__month {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-top: 2px;
}
.event-body {}
.event-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.event-title a:hover { color: var(--red); }
.event-meta {
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  gap: 16px;
}

/* ============================================
   FAQ
============================================ */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: var(--rule);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--red);
}
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* ============================================
   CONTACT FORM
============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
}
.form-control:focus { border-color: var(--ink); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.success-msg {
  display: none;
  background: #e8f5e9;
  border: 2px solid #2e7d32;
  color: #1b5e20;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  border-radius: 0;
}
.success-msg.show { display: flex; align-items: center; gap: 12px; }

.contact-sidebar {}
.contact-info-block {
  background: var(--ink);
  color: var(--white);
  padding: 36px;
  margin-bottom: 24px;
}
.contact-info-block h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-detail__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  min-width: 64px;
  padding-top: 2px;
}
.contact-detail__val {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}

/* ============================================
   ABOUT PAGE
============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-split--rev { direction: rtl; }
.about-split--rev > * { direction: ltr; }
.about-split__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-item {}
.value-item__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 8px;
}
.value-item__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.value-item__text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================
   RESOURCES
============================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.resource-card {
  background: var(--white);
  border: var(--rule);
  border-top: 3px solid var(--red);
  padding: 28px;
}
.resource-card__type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.resource-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}
.resource-card__desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   CAREERS
============================================ */
.careers-list { display: flex; flex-direction: column; gap: 0; }
.career-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: var(--rule);
}
.career-item:first-child { border-top: var(--rule); }
.career-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.career-meta {
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  gap: 16px;
}
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border: 1.5px solid;
}
.badge-green { color: #2e7d32; border-color: #2e7d32; }
.badge-blue  { color: #1565c0; border-color: #1565c0; }

/* ============================================
   SINGLE ARTICLE / COURSE
============================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 14px;
  line-height: 1.2;
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 10px;
}
.article-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 18px;
}
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article-content li {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
.article-content ol li { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--gray-100);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.5;
}
.article-content img {
  width: 100%;
  height: auto;
  margin: 28px 0;
}

.article-sidebar__box {
  background: var(--gray-100);
  padding: 28px;
  margin-bottom: 24px;
  border-top: 3px solid var(--red);
}
.article-sidebar__box h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.sidebar-links { display: flex; flex-direction: column; gap: 10px; }
.sidebar-links a {
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 10px;
  transition: color .2s;
}
.sidebar-links a:hover { color: var(--red); }

/* ============================================
   COURSE SINGLE
============================================ */
.course-header {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 48px;
}
.course-header__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.course-meta-box {
  background: var(--white);
  padding: 28px;
  color: var(--ink);
  border-top: 3px solid var(--red);
}
.course-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: var(--rule);
  font-size: 14px;
}
.course-meta-row:last-child { border-bottom: none; }
.course-meta-row__label { color: var(--gray-400); font-weight: 500; }
.course-meta-row__val { font-weight: 700; color: var(--ink); }

.curriculum-list { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.curriculum-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: var(--rule);
}
.curriculum-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
}
.curriculum-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.curriculum-desc {
  font-size: 13px;
  color: var(--gray-400);
}

/* ============================================
   INSTRUCTOR SINGLE
============================================ */
.instructor-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.instructor-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}
.instructor-details__name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.instructor-details__role {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: 24px;
}

/* ============================================
   NEWSLETTER BANNER
============================================ */
.newsletter {
  background: var(--ink);
  padding: 64px 0;
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
}
.newsletter__desc {
  font-size: 15px;
  color: var(--gray-400);
  margin-top: 10px;
  line-height: 1.6;
}
.newsletter__form { display: flex; gap: 0; }
.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  border-right: none;
}
.newsletter__input::placeholder { color: var(--gray-400); }
.newsletter__btn {
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
  white-space: nowrap;
}
.newsletter__btn:hover { background: #a00e24; }

/* ============================================
   STATS BAR
============================================ */
.stats-bar {
  background: var(--red);
  padding: 48px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-bar__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stats-bar__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: #0a0a0a;
  color: var(--white);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e1e1e;
}
.footer__brand .logo__name { color: var(--white); font-size: 32px; }
.footer__brand .logo__tagline { font-size: 9px; }
.footer__desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}
.footer__contact {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray-400);
  line-height: 2;
}
.footer__contact a { color: var(--gray-400); transition: color .2s; }
.footer__contact a:hover { color: var(--white); }

.footer__heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--white);
  border-top: 2px solid var(--red);
  padding-top: 10px;
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: 13px;
  color: var(--gray-400);
  transition: color .2s;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 12px;
  color: #555;
}
.footer__policy-links {
  display: flex;
  gap: 20px;
}
.footer__policy-links a {
  font-size: 12px;
  color: #555;
  transition: color .2s;
}
.footer__policy-links a:hover { color: var(--gray-400); }

/* ============================================
   POLICY PAGES
============================================ */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
}
.policy-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
  border-top: var(--rule);
  padding-top: 32px;
}
.policy-content h2:first-of-type { border-top: none; padding-top: 0; }
.policy-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}
.policy-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-content ul {
  padding-left: 24px;
  margin-bottom: 14px;
}
.policy-content li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
.policy-content a { color: var(--red); text-decoration: underline; }
.policy-updated {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 600;
  border-bottom: var(--rule);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

/* ============================================
   SITEMAP
============================================ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.sitemap-section h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border-top: 3px solid var(--red);
  padding-top: 10px;
  margin-bottom: 14px;
}
.sitemap-section ul { display: flex; flex-direction: column; gap: 8px; }
.sitemap-section a {
  font-size: 14px;
  color: var(--gray-600);
  transition: color .2s;
}
.sitemap-section a:hover { color: var(--red); }

/* ============================================
   404
============================================ */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found__num {
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: -20px;
}
.not-found__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.not-found__desc {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PAGINATION
============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: var(--rule);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all .2s;
  margin-right: -1px;
}
.pagination a:hover, .pagination span.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  z-index: 1;
}
.pagination span.active { background: var(--red); border-color: var(--red); }

/* ============================================
   TAGS
============================================ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1.5px solid var(--gray-200);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-600);
  transition: all .2s;
}
.tag:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============================================
   UTILITY
============================================ */
.text-center { text-align: center; }
.text-red    { color: var(--red); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .instructors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__img-wrap { display: none; }
  .news-grid__layout { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .course-header__inner { grid-template-columns: 1fr; }
  .instructor-layout { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .burger { display: flex; }
  .courses-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 60px 1fr; }
  .event-row .btn { display: none; }
  .instructors-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .stats-bar__num { font-size: 36px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__input { border-right: 2px solid var(--white); }
}
