/* ============================================================
   vlk theme — faithful recreation of vlajkoknezic.com
   Design tokens taken directly from the site's Kadence CSS
   ============================================================ */

:root {
  /* Accent — Atlassian-adjacent blue (their B400 / B500) */
  --accent: #0052CC;
  --accent-dark: #0747A6;
  --accent-tint: #EAF1FC;          /* wash for note panels */
  --accent-tint-border: #C6D9F5;
  --on-accent: #FFFFFF;            /* text sitting on the accent */

  /* Text */
  --heading: #172B4D;
  --text: #42526E;
  --text-muted: #5E6C84;

  /* Surfaces */
  --bg: #F4F5F7;                   /* page background */
  --surface: #FFFFFF;              /* cards, content areas */
  --border: #DFE1E6;
  --border-strong: #C1C7D0;

  /* Highlight colours */
  --amber: var(--amber);                /* icons */
  --amber-text: var(--amber-text);           /* text on the accent band (contrast-safe) */
  --sale: var(--sale);

  /* Spacing */
  --space-sm: 16px;                /* control gaps */
  --space-md: 2rem;                /* card / panel padding */
  --space-lg: 4rem;                /* section rhythm */

  --font-body: "Source Sans 3", "Source Sans Pro", sans-serif;
  --font-heading: Montserrat, sans-serif;
  --font-title: Roboto, sans-serif;

  --content-width: 1290px;
  --content-narrow: 842px;
  --edge-padding: 1.5rem;
  --gap: 30px;

  --radius: 0px;
  --shadow-card: 0px 15px 15px -10px rgba(9,30,66,0.10);
  --shadow-card-hover: 0px 18px 28px -8px rgba(9,30,66,0.18);
  --grad-hero: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.5; margin: 1.5em 0 0.6em; }
h1 { font-size: 32px; color: var(--heading); }
h2 { font-size: 28px; color: var(--heading); }
h3 { font-size: 24px; color: var(--heading); }
h4 { font-size: 22px; color: var(--text); }
h5 { font-size: 20px; color: var(--text); }
h6 { font-size: 18px; color: var(--text-muted); }

p { margin: 0 0 1.4em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--content-width); margin: 0 auto; padding: 0 var(--edge-padding); }
.container-narrow { max-width: var(--content-narrow); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 0; }

/* Header */
.site-header { background: var(--surface); }
.header-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-top { max-width: var(--content-width); margin: 0 auto; padding: 14px var(--edge-padding) 14px; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 0.6em; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 400; text-transform: uppercase; color: var(--text); }
.main-nav a:hover { color: var(--accent); text-decoration: none; }
.main-nav .active > a { color: var(--heading); }

.social-icons { display: flex; gap: 0.3em; align-items: center; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--text-muted); border-radius: 100px; color: var(--text-muted); }
.social-icons a:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.social-icons svg { width: 14px; height: 14px; fill: currentColor; }

.site-branding { min-height: 100px; display: flex; align-items: center; justify-content: center; background: var(--surface); padding: 10px 0 22px; }
.site-branding a { display: inline-flex; align-items: center; gap: 14px; color: var(--heading); }
.site-branding a:hover { text-decoration: none; }
.brand-logo { width: 60px; height: 60px; display: block; flex: none; }
.brand-name { font-family: var(--font-title); font-weight: 400; font-size: 50px; line-height: 1.2; color: var(--heading); }

/* Hero — two columns on desktop (copy left, art right), stacked and
   centred below 900px. Shares the band gradient with .page-hero. */
.hero { background: var(--grad-hero); color: var(--on-accent); padding: 4.5rem 0 5rem; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero-content { color: var(--on-accent); }
.hero-title { color: var(--on-accent); font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.1; margin: 0 0 1rem; }
.hero-subtitle { font-size: 1.2rem; line-height: 1.6; color: rgba(255,255,255,0.92); margin: 0; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: 2.25rem; }
.hero-media img { display: block; width: 100%; height: auto; border: 3px solid rgba(255,255,255,0.85); }

/* Ghost button — deliberately subordinate to the solid .btn-hero beside it */
.btn-ghost { display: inline-block; color: var(--on-accent); font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 15px 34px; border: 2px solid #fff; border-radius: 3px; background: rgba(255,255,255,0.10); transition: background 0.2s ease; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: var(--on-accent); color: var(--on-accent); text-decoration: none; }

/* Content area */
.content-area { background: var(--surface); margin: 0 auto; }
.section-title { text-align: center; font-size: 28px; margin: 5rem 0 3rem; }
.page-title { text-align: center; font-size: 32px; margin: 3rem 0; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding-bottom: 3rem; }
.card { display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-card); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card-thumb { display: block; aspect-ratio: 16 / 9; background: var(--accent-dark) center/cover no-repeat; }
.card-body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.card-cat { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.card-cat a { color: var(--accent); }
.card-cat a:hover { color: var(--accent-dark); text-decoration: none; }
.card-title { font-size: 22px; margin: 0 0 14px; line-height: 1.4; }
.card-title a { color: var(--heading); }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.card-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.card-excerpt { font-size: 0.95rem; color: var(--text); margin-bottom: 20px; flex: 1; }
.read-more { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--heading); display: inline-flex; align-items: center; gap: 6px; }
.read-more:hover { color: var(--accent); text-decoration: none; }

/* Tutorials page — 3-up video card grid */
.tutorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 4rem 0 3rem; }

/* Article footer CTA — banner styling so it reads as a break from the prose.
   Uses the same band gradient as the hero and the section heroes. */
.article-cta { max-width: var(--content-narrow); margin: 0 auto var(--space-lg); background: var(--grad-hero); color: var(--on-accent); text-align: center; padding: 2.75rem 2.5rem; box-shadow: var(--shadow-card); }
.article-cta h2 { color: var(--on-accent); font-size: 27px; line-height: 1.3; margin: 0 0 0.75rem; }
.article-cta p { color: rgba(255,255,255,0.9); font-size: 1.05rem; line-height: 1.65; margin: 0 auto 1.9rem; max-width: 46em; }

/* Related articles (bottom of a single article) */
.related-wrap { margin: 0 auto var(--space-lg); }
.related-title { font-size: 26px; text-align: center; margin: 0 0 2rem; }
/* three across on desktop; still collapses 2 -> 1 via the shared .card-grid breakpoints */
.related-grid { grid-template-columns: repeat(3, 1fr); padding-bottom: 0; }
.related-grid .card-body { padding: 1.5rem; }
.related-grid .card-title { font-size: 18px; }

/* Courses */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 4rem 0 3rem; }
/* Card meta — duration / lectures / sale price, matching the original emphasis */
.course-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; font-size: 1.02rem; color: var(--text); margin-bottom: 16px; line-height: 1.4; }
.course-meta strong { color: var(--heading); font-weight: 700; }
.meta-sep { color: var(--border-strong); }
.course-price { color: var(--sale); font-weight: 700; }
.course-price s { text-decoration: line-through; }
.course-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: auto; }

/* Homepage featured course cards */
.featured-grid { padding: 0 0 1rem; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { display: inline-block; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding: 5px 10px; }
.course-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.rating-star svg { width: 17px; height: 17px; fill: var(--amber); display: block; }
.rating-value { font-family: var(--font-heading); font-weight: 700; color: var(--heading); }
.section-more { text-align: center; margin: 0 0 var(--space-lg); }

/* Testimonials — built on .card so background, shadow and hover come free */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding-bottom: 4rem; }
.testimonial { padding: var(--space-md); margin: 0; }
.quote-mark { width: 34px; height: 34px; fill: var(--accent); opacity: 0.28; margin-bottom: 0.75rem; }
.testimonial-quote { margin: 0 0 1.25rem; font-size: 1.02rem; line-height: 1.65; color: var(--text); font-style: italic; flex: 1; }
.testimonial-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.testimonial-by cite { font-style: normal; font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: var(--heading); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.btn-primary { display: inline-block; background: var(--accent); color: var(--on-accent); font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 22px; transition: background 0.2s ease; }
.btn-primary:hover { background: var(--accent-dark); color: var(--on-accent); text-decoration: none; }
.btn-lg { font-size: 0.8rem; padding: 15px 32px; }

/* Course detail — full-bleed hero band */
.course-hero { background: var(--grad-hero); color: var(--on-accent); padding: 4rem 0; }
.course-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.course-hero-media img { display: block; width: 100%; height: auto; border: 3px solid rgba(255,255,255,0.85); }
.course-title { font-size: 42px; line-height: 1.15; margin: 0 0 20px; color: var(--on-accent); }
.course-subtitle { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin: 0 0 32px; max-width: 34em; }

/* Inverted CTA — maximum contrast against the blue band */
.btn-hero { display: inline-block; background: var(--surface); color: var(--accent); font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 17px 38px; border-radius: 3px; box-shadow: 0 6px 18px rgba(0,0,0,0.18); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-hero:hover { color: var(--accent-dark); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.24); }

/* Features (narrow) beside Highlights (wide) */
.course-intro { display: grid; grid-template-columns: 1fr 2.1fr; gap: 60px; margin: 4rem 0 4.5rem; }
.col-title { font-size: 30px; margin: 0 0 1.25rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--heading); }
.course-features { list-style: none; padding: 0; margin: 0; color: var(--text); }
.course-features li { padding-left: 22px; position: relative; margin-bottom: 12px; line-height: 1.5; }
.course-features li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.course-section { margin-bottom: 3.5rem; }
.course-section-title { font-size: 26px; text-align: center; margin: 0 0 2rem; }
.course-body { max-width: var(--content-narrow); margin-left: auto; margin-right: auto; }

/* Shared stat typography — used by the course pages and the homepage
   trust bar. Each grid sets its own column count. */
.stat-value { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.course-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 3.5rem; text-align: center; }

/* Homepage trust bar — sits directly under the hero band */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-bar .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; padding: 2.75rem 0; }
.trust-bar .stat-value { font-size: clamp(2rem, 3.2vw, 2.75rem); }

/* Course Content — text left, screenshot right (matches the original layout) */
.curriculum-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 3.5rem; }
.curriculum-row:last-child { margin-bottom: 0; }
.curriculum-text h3 { font-size: 26px; margin: 0 0 1rem; }
.curriculum-text p { color: var(--text); margin: 0 0 1rem; }
.curriculum-text p:last-child { margin-bottom: 0; }
.curriculum-media img { display: block; width: 100%; height: auto; box-shadow: var(--shadow-card); }

/* Course lessons — one lesson per line, grouped by section */
.lesson-list { max-width: var(--content-narrow); margin: 0 auto; }
.lesson-section { font-size: 22px; margin: 2.5rem 0 0.75rem; }
.lesson-section:first-child { margin-top: 0; }
.lessons { list-style: none; padding: 0; margin: 0; }
.lessons li { color: var(--text); padding: 4px 0; line-height: 1.5; }

/* Course instructor */
.instructor { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; max-width: var(--content-narrow); margin: 0 auto; }
.instructor-photo { width: 200px; height: auto; border-radius: 50%; display: block; }
.instructor-bio h3 { font-size: 22px; margin: 0 0 1rem; }
.instructor-bio p { color: var(--text); margin: 0 0 1rem; }

.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.highlight { display: flex; gap: 16px; padding: 26px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.highlight-check { flex: 0 0 30px; width: 30px; height: 30px; color: var(--accent); margin-top: 2px; }
.highlight h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.35; }
.highlight p { font-size: 0.95rem; color: var(--text); margin: 0; }

.review-grid { columns: 2; column-gap: var(--gap); }
.review { break-inside: avoid; background: var(--surface); box-shadow: var(--shadow-card); border-left: 3px solid var(--accent); padding: 1.5rem; margin: 0 0 var(--gap); font-size: 0.95rem; color: var(--text); }
.review-text { font-style: italic; margin: 0; }
.review-meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.review-name { font-style: normal; font-weight: 700; color: var(--heading); font-size: 0.9rem; }
.review-stars { display: inline-flex; gap: 2px; line-height: 0; }
.review-stars svg { width: 15px; height: 15px; fill: var(--amber); }

.faq-list { max-width: var(--content-narrow); margin: 0 auto; }
.faq-item { background: var(--surface); box-shadow: var(--shadow-card); margin-bottom: 12px; padding: 0 1.5rem; }
.faq-item summary { font-family: var(--font-heading); font-weight: 600; color: var(--heading); cursor: pointer; padding: 1.1rem 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item { transition: box-shadow 0.2s ease; }
.faq-item:hover { box-shadow: var(--shadow-card-hover); }
.faq-item summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1.2rem; color: var(--text); font-size: 0.95rem; }

.course-cta { text-align: center; background: var(--surface); box-shadow: var(--shadow-card); padding: 3rem 2rem; margin-bottom: 3rem; }
.course-cta h2 { font-size: 26px; margin: 0 0 1.5rem; }

.video-embed { position: relative; padding-bottom: 56.25%; height: 0; max-width: var(--content-narrow); margin: 0 auto; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Single post */
.single-wrap { background: var(--surface); box-shadow: var(--shadow-card); margin: 3rem auto; }
.single-inner { padding: 2rem; }
.post-cat { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.post-cat a { color: var(--accent); }
.post-title { font-size: 32px; margin: 0 0 16px; line-height: 1.3; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.post-content { font-size: 17px; }
.post-content img { margin: 1.4em 0 0.4em; }
.post-content figure { margin: 1.6em 0; text-align: center; }
.post-content figcaption { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.post-content li { margin-bottom: 0.4em; }
.post-content h2 { margin-top: 1.7em; }
.post-content blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: 0.4em 0 0.4em 1.2em; color: var(--text-muted); }
.post-content code { background: var(--bg); padding: 0.15em 0.4em; font-size: 0.9em; }
.post-content pre { background: #1e1e28; color: #f8f8f2; padding: 18px; overflow-x: auto; }
.post-content pre code { background: none; padding: 0; }

.toc { border: 1px solid var(--border); padding: 20px 26px; margin: 30px 0; background: var(--bg); }
.toc-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; color: var(--heading); }
.toc ul { padding-left: 1.2em; margin: 0; }
.toc li { margin: 4px 0; font-size: 0.95rem; }
.toc a { color: var(--accent); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 3rem 0 5rem; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; font-family: var(--font-heading); font-size: 0.9rem; color: var(--heading); }
.pagination a:hover { background: var(--bg); text-decoration: none; }
.pagination .active { background: var(--accent); color: var(--on-accent); }

/* Subscribe */
/* Newsletter — light panel so it reads as distinct from the gradient
   article CTA it sits beneath, without introducing a new palette */
.newsletter { max-width: var(--content-narrow); margin: 0 auto var(--space-lg); background: var(--accent-tint); border: 1px solid var(--accent-tint-border); padding: 2.5rem 2.5rem 2.75rem; text-align: center; }
.newsletter-title { font-size: 26px; margin: 0 0 0.6rem; color: var(--heading); }
.newsletter-text { margin: 0 auto 1.75rem; max-width: 44em; color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.newsletter-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.newsletter-input { flex: 1 1 280px; max-width: 360px; font-family: var(--font-body); font-size: 1rem; padding: 14px 16px; border: 1px solid var(--accent-tint-border); background: var(--surface); color: var(--text); }
.newsletter-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.newsletter-button { border: 0; cursor: pointer; }

/* Screen-reader-only text (form labels) */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Footer */
.site-footer { background: var(--border); padding: 50px var(--edge-padding) 15px; text-align: center; }
.footer-social { display: flex; justify-content: center; gap: 1em; margin-bottom: 20px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--text-muted); border-radius: 100%; color: var(--text-muted); }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 0; margin: 0 0 14px; }
.footer-nav a { color: var(--text-muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Responsive */
@media (max-width: 1024px) { .content-area { margin-top: 3rem; margin-bottom: 3rem; } }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; } .hero-subtitle { margin-left: auto; margin-right: auto; } .hero-actions { justify-content: center; } .hero-media { max-width: 520px; margin: 0 auto; } .card-grid, .tutorial-grid, .course-grid { grid-template-columns: repeat(2, 1fr); } .course-hero { padding: 2.5rem 0; } .course-hero-inner { grid-template-columns: 1fr; gap: 2rem; } .course-title { font-size: 30px; } .course-intro { grid-template-columns: 1fr; gap: 2.5rem; margin: 2.5rem 0 3rem; } .highlight-grid { grid-template-columns: 1fr; } .review-grid { columns: 1; } .curriculum-row { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; } .instructor { grid-template-columns: 1fr; gap: 1.5rem; justify-items: center; text-align: center; } .hero-content h1 { font-size: 2.2rem; } .brand-name { font-size: 35px; } }
@media (max-width: 767px) { .article-cta { padding: 1.9rem 1.4rem; } .article-cta h2 { font-size: 22px; } .article-cta p { font-size: 1rem; } .featured-grid { grid-template-columns: 1fr; } .trust-bar .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem var(--gap); padding: 2rem 0; } .page-note { padding: 1.25rem 1.3rem; } .page-assurance { padding: 1.75rem 1.4rem; } .page-assurance p { font-size: 1.12rem; } .hero-note { font-size: 1.05rem; } .page-hero-intro p + p { font-size: 1.18rem; margin-top: 1.1rem; } .page-hero { padding: 2.75rem 0 3rem; } .page-hero-title { font-size: 30px; } .page-hero-intro p:first-child { font-size: 1.1rem; } .header-top { flex-direction: column; align-items: center; gap: 12px; padding-bottom: 10px; } .main-nav ul { justify-content: center; } .newsletter { padding: 1.75rem 1.35rem 2rem; } .newsletter-title { font-size: 21px; } .newsletter-input, .newsletter-button { flex: 1 1 100%; max-width: none; } .hero { padding: 3rem 0 3.25rem; } .hero-subtitle { font-size: 1.06rem; } .btn-hero, .btn-ghost { width: 100%; text-align: center; padding-left: 0; padding-right: 0; } .brand-name { font-size: 26px; } .brand-logo { width: 46px; height: 46px; } .card-body, .single-inner { padding: 1.5rem; } .section-title { font-size: 24px; margin: 3rem 0 2rem; } }
@media (max-width: 560px) { .card-grid, .tutorial-grid, .course-grid { grid-template-columns: 1fr; } .course-stats { grid-template-columns: 1fr; gap: 1.5rem; } .post-title, h1 { font-size: 26px; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Courses page — copy above and below the card grid.
   Intro reads as a centred lead; outro as an inset footnote panel,
   reusing the left-accent-rule language from .review / .faq-item. */
.page-hero { background: var(--grad-hero); color: var(--on-accent); padding: 4.25rem 0 4.5rem; }
.page-hero-inner { max-width: var(--content-narrow); margin: 0 auto; text-align: center; }
.page-hero-title { font-size: 46px; line-height: 1.15; color: var(--on-accent); margin: 0 0 1.4rem; }
.page-hero-intro p { margin: 0 0 1.1rem; color: rgba(255,255,255,0.88); }
.page-hero-intro p:first-child { font-size: 1.28rem; line-height: 1.6; color: var(--on-accent); }
/* Second line is the hook — amber lifted to var(--amber-text) so it clears 3:1 against
   the light end of the hero gradient (var(--amber) only manages 2.88:1 there) */
.page-hero-intro p + p { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; line-height: 1.4; color: var(--amber-text); margin-top: 1.5rem; }
.page-hero-intro p:last-child { margin-bottom: 0; }
/* Supporting note, not a control — no border, no button affordance.
   Amber check carries the emphasis so it pops without reading as a CTA. */
.hero-note { display: inline-flex; align-items: center; gap: 12px; margin: 1.9rem 0 0; font-family: var(--font-heading); font-size: 1.22rem; font-weight: 600; color: var(--on-accent); }
.hero-note svg { width: 26px; height: 26px; flex: 0 0 26px; color: var(--amber); }

/* Pricing caveat — practical detail, kept quieter than the assurance below */
.page-note { max-width: var(--content-narrow); margin: 0 auto 2rem; background: var(--bg); border-left: 4px solid var(--border); padding: 1.6rem 1.9rem; font-size: 1rem; line-height: 1.7; color: var(--text-muted); }
.page-note p { margin: 0 0 1rem; }
.page-note p:last-child { margin-bottom: 0; }
.page-note strong { color: var(--heading); }

/* Assurance — the closing reassurance, weighted to bookend the hero */
.page-assurance { max-width: var(--content-narrow); margin: 0 auto var(--space-lg); background: var(--accent); color: var(--on-accent); text-align: center; padding: 2.5rem 2.75rem; box-shadow: var(--shadow-card); }
.page-assurance p { margin: 0; font-family: var(--font-heading); font-size: 1.32rem; font-weight: 600; line-height: 1.55; color: var(--on-accent); }
.page-assurance strong { color: var(--on-accent); }

/* ---- Contact form ---- */
.contact-form { display: flex; flex-direction: column; gap: 6px; margin-top: 2rem; }
.contact-form label { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--heading); margin-top: 10px; }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); width: 100%; box-sizing: border-box; }
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-button { align-self: flex-start; margin-top: 18px; border: 0; cursor: pointer; }

/* ---- 404 ---- */
.not-found { text-align: center; padding: 3rem 2rem; }
.not-found-code { font-family: var(--font-heading); font-size: 4.5rem; font-weight: 700; line-height: 1; color: var(--accent); margin: 0 0 0.5rem; }
.not-found-alt { color: var(--text-muted); }
