/* ============================================
   Getting your Education Approved in Norway
   Editorial Layer
   Accent: Academic Teal #2D7D8A
   ============================================ */

:root {
  --art-accent: #2D7D8A;
  --art-accent-dark: #236470;
  --art-accent-glow: rgba(45, 125, 138, 0.4);
  --art-accent-subtle: rgba(45, 125, 138, 0.06);
  --art-link: #2d6a3f;
  --art-link-hover: #2D7D8A;
  --art-link-underline: #2D7D8A;
}


/* ── Hero Ken Burns ─────────────────────────── */

.art-hero__media img {
  animation: eduHeroKB 22s ease-in-out infinite alternate;
}
@keyframes eduHeroKB {
  0%   { transform: scale(1)   translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, 1%); }
}


/* ── Pullquote breathing room ───────────────── */

.art-pullquote {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}


/* ── Card Link ────────────────────────────────
   Clickable card that links to an external resource.
   ─────────────────────────────────────────── */

.edu-card-link {
  display: block;
  max-width: 700px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg) var(--space-xl);
  background: var(--art-accent-subtle);
  border-left: 4px solid var(--art-accent);
  border-radius: 0 12px 12px 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.edu-card-link:hover {
  box-shadow: 0 6px 24px rgba(45, 125, 138, 0.12);
  transform: translateY(-2px);
}

.edu-card-link__emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.edu-card-link__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--art-accent-dark);
  margin-bottom: var(--space-sm);
}

.edu-card-link__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary, #4a4a4a);
  margin: 0 0 var(--space-md);
}

.edu-card-link__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--art-accent);
}

.edu-card-link__cta svg {
  transition: transform 0.3s ease;
}

.edu-card-link:hover .edu-card-link__cta svg {
  transform: translateX(4px);
}

.edu-card-link:hover .edu-card-link__title {
  color: var(--art-accent);
}


/* ── Requirement List ────────────────────────
   Checkmark-style list for requirements.
   ─────────────────────────────────────────── */

.edu-reqs {
  max-width: 700px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg) var(--space-xl);
  background: #FFF8F0;
  border-left: 4px solid #D97706;
  border-radius: 0 12px 12px 0;
}

.edu-reqs__emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.edu-reqs__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: #92400E;
  margin-bottom: var(--space-md);
}

.edu-reqs__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edu-reqs__list li {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text, #1a1a1a);
  padding: 0.45em 0;
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
  padding-left: 1.5em;
  position: relative;
}

.edu-reqs__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #D97706;
  font-weight: 700;
}

.edu-reqs__list li:last-child {
  border-bottom: none;
}


/* ── Step Process ────────────────────────────
   Numbered steps for application process.
   ─────────────────────────────────────────── */

.edu-steps {
  max-width: 700px;
  margin: var(--space-xl) auto;
  counter-reset: edu-step;
}

.edu-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.edu-step:last-child {
  margin-bottom: 0;
}

.edu-step__number {
  counter-increment: edu-step;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--art-accent);
  color: #fff;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.edu-step__content {
  flex: 1;
}

.edu-step__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
  margin-bottom: 0.35em;
}

.edu-step__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.9;
  color: var(--color-text-secondary, #4a4a4a);
  margin: 0;
}


/* ── Bleed (full-width image) ───────────────── */

.edu-bleed {
  max-width: 1100px;
  margin: var(--space-2xl) auto;
}

.edu-bleed__img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.10);
}

.edu-bleed__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.edu-bleed figcaption {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #737373);
  font-style: italic;
  text-align: center;
  margin-top: var(--space-sm);
}


/* ── Spread (medium-width image) ────────────── */

.edu-spread {
  max-width: 900px;
  margin: var(--space-2xl) auto;
}

.edu-spread__img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.edu-spread__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.edu-spread figcaption {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #737373);
  font-style: italic;
  text-align: center;
  margin-top: var(--space-sm);
}


/* ── NOKUT Logo ──────────────────────────────── */

.edu-logo {
  max-width: 320px;
  margin: var(--space-lg) auto;
  text-align: center;
}

.edu-logo img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── Responsive ─────────────────────────────── */

@media (max-width: 768px) {
  .edu-card-link,
  .edu-reqs {
    padding: var(--space-md) var(--space-lg);
  }

  .edu-step {
    gap: var(--space-md);
  }

  .edu-step__number {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}


/* ── Reduced motion ─────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .art-hero__media img {
    animation: none;
  }
}
