/* ============================================================
   AC Quiz — ac-style.css
   Core design system, components, and visual language
   ============================================================ */

:root {
  --primary:       #1a2e4a;
  --primary-light: #243d63;
  --accent:        #f4782a;
  --accent-light:  #f9a26c;
  --accent-dark:   #d45f15;
  --bg:            #f7f5f0;
  --bg-white:      #ffffff;
  --bg-section:    #f0ede6;
  --text-dark:     #1a1a2e;
  --text-body:     #3a3a4a;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;
  --border:        #e5e0d8;
  --border-light:  #f0ece4;
  --shadow-sm:     0 1px 4px rgba(26,46,74,.07);
  --shadow-md:     0 4px 16px rgba(26,46,74,.12);
  --shadow-lg:     0 12px 40px rgba(26,46,74,.18);
  --shadow-xl:     0 24px 64px rgba(26,46,74,.22);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --font-head:     'Playfair Display', Georgia, serif;
  --font-sub:      'Poppins', sans-serif;
  --font-body:     'Source Serif 4', Georgia, serif;
  --transition:    .28s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.72;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

strong { font-weight: 600; color: var(--text-dark); }
em { font-style: italic; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sub);
  font-size: .95rem;
  font-weight: 600;
  padding: .75rem 1.75rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(244,120,42,.35);
  letter-spacing: .02em;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,120,42,.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-sub);
  font-size: .95rem;
  font-weight: 600;
  padding: .72rem 1.75rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .02em;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-sub);
  font-size: .95rem;
  font-weight: 600;
  padding: .75rem 1.75rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--bg);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.btn-sm { padding: .5rem 1.2rem; font-size: .875rem; }
.btn-lg { padding: .95rem 2.2rem; font-size: 1.05rem; }

/* ---- Section Layout ---- */
.section { padding: 80px 0; }
.section-lg { padding: 110px 0; }
.section-sm { padding: 50px 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: .9rem; }
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-body { padding: 1.75rem; }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-meta {
  font-family: var(--font-sub);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: .6rem;
  color: var(--text-dark);
}
.card-text { font-size: .95rem; color: var(--text-muted); }

/* ---- Badges ---- */
.badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 50px;
}
.badge-accent { background: rgba(244,120,42,.12); color: var(--accent-dark); }
.badge-primary { background: rgba(26,46,74,.1); color: var(--primary); }
.badge-success { background: rgba(34,197,94,.12); color: #15803d; }
.badge-info { background: rgba(59,130,246,.12); color: #1d4ed8; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--font-sub);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,120,42,.15);
}
.form-control.is-invalid { border-color: #ef4444; }
.form-error {
  display: none;
  font-size: .8rem;
  color: #ef4444;
  margin-top: .35rem;
}
.form-error.show { display: block; }

textarea.form-control { resize: vertical; min-height: 140px; }

/* ---- Navigation ---- */
.ac-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all .35s ease;
}
.ac-navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,46,74,.1);
  padding: .6rem 0;
}
.ac-navbar .navbar-brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ac-navbar .navbar-brand .brand-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.ac-navbar .nav-link {
  font-family: var(--font-sub);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: .4rem .8rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.ac-navbar .nav-link:hover {
  color: var(--accent) !important;
  background: rgba(244,120,42,.08);
}
.ac-navbar .nav-link.active {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: var(--primary);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero h1 { color: #fff; line-height: 1.15; }
.hero h1 span { color: var(--accent-light); }
.hero .lead {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 540px;
  margin: 1.5rem 0 2.2rem;
  line-height: 1.75;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}
.hero-stat .label {
  font-family: var(--font-sub);
  font-size: .82rem;
  opacity: .7;
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---- Quiz Cards ---- */
.quiz-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all .35s ease;
  cursor: pointer;
  border: 1px solid var(--border-light);
}
.quiz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.quiz-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.quiz-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.quiz-card:hover .quiz-card-img img { transform: scale(1.07); }
.quiz-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,74,.65) 0%, transparent 60%);
}
.quiz-card-badge {
  position: absolute;
  top: .9rem; left: .9rem;
}
.quiz-card-body { padding: 1.4rem; }
.quiz-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.quiz-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sub);
  font-size: .8rem;
  color: var(--text-muted);
}
.quiz-card-meta span { display: flex; align-items: center; gap: .3rem; }

/* ---- Category Cards ---- */
.cat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}
.cat-card .cat-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.6rem;
}
.cat-card h5 {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .3rem;
  color: var(--text-dark);
}
.cat-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ---- Article Cards ---- */
.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all .35s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-card-img {
  height: 220px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-body { padding: 1.6rem; }
.article-card-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.article-card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: .7rem;
  line-height: 1.35;
  transition: color var(--transition);
}
.article-card:hover .article-card-title { color: var(--accent-dark); }
.article-card-excerpt { font-size: .92rem; color: var(--text-muted); }
.article-card-footer {
  padding: 1rem 1.6rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: .8rem;
  color: var(--text-muted);
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .2;
  position: absolute;
  top: .5rem; left: 1.5rem;
}
.testimonial-stars { color: #f59e0b; margin-bottom: .75rem; font-size: .9rem; }
.testimonial-text { font-size: .97rem; color: var(--text-body); font-style: italic; margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: .9rem; }
.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author .name {
  font-family: var(--font-sub);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}
.testimonial-author .title {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ---- Team Cards ---- */
.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all .35s ease;
  text-align: center;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card-img {
  height: 240px;
  overflow: hidden;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body { padding: 1.5rem; }
.team-card .name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: .2rem;
}
.team-card .role {
  font-family: var(--font-sub);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.team-card .bio { font-size: .9rem; color: var(--text-muted); }
.team-social { display: flex; justify-content: center; gap: .6rem; margin-top: 1rem; }
.team-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: .85rem;
  transition: all var(--transition);
}
.team-social a:hover { background: var(--accent); color: #fff; }

/* ---- Stats ---- */
.stat-box {
  text-align: center;
  padding: 2rem 1.5rem;
}
.stat-box .number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-box .label {
  font-family: var(--font-sub);
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

/* ---- Quiz Engine UI ---- */
.quiz-modal .modal-content {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.quiz-modal .modal-header {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 1.5rem 2rem;
}
.quiz-modal .modal-header h5 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #fff;
}
.quiz-modal .btn-close { filter: invert(1); }
.quiz-modal .modal-body { padding: 2rem; }

.quiz-progress { margin-bottom: 1.75rem; }
.quiz-progress .progress-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.quiz-progress .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  transition: width .5s ease;
}
.quiz-progress .progress-label {
  font-family: var(--font-sub);
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .4rem;
  display: flex;
  justify-content: space-between;
}

.quiz-question {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.quiz-options { display: flex; flex-direction: column; gap: .75rem; }
.quiz-option {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .2s ease;
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--text-dark);
}
.quiz-option:hover:not(.selected):not(.correct):not(.incorrect) {
  border-color: var(--accent-light);
  background: rgba(244,120,42,.05);
}
.quiz-option.selected { border-color: var(--accent); background: rgba(244,120,42,.08); }
.quiz-option.correct { border-color: #22c55e; background: rgba(34,197,94,.1); color: #15803d; }
.quiz-option.incorrect { border-color: #ef4444; background: rgba(239,68,68,.08); color: #b91c1c; }
.quiz-option .option-letter {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sub);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .2s;
}
.quiz-option.selected .option-letter { background: var(--accent); color: #fff; }
.quiz-option.correct .option-letter { background: #22c55e; color: #fff; }
.quiz-option.incorrect .option-letter { background: #ef4444; color: #fff; }

.quiz-explanation {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  background: var(--bg-section);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem;
  color: var(--text-body);
  display: none;
}
.quiz-explanation.show { display: block; }

.quiz-result {
  text-align: center;
  padding: 1.5rem 0;
}
.quiz-result .score-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(26,46,74,.25);
}
.quiz-result .score-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.quiz-result .score-total { font-size: .85rem; color: rgba(255,255,255,.75); }
.quiz-result .result-msg {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: .7rem;
}
.quiz-result .result-sub { font-size: .95rem; color: var(--text-muted); }

/* ---- Newsletter ---- */
.newsletter-section {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section .newsletter-inner { position: relative; z-index: 1; }
.newsletter-section h2 { color: #fff; }
.newsletter-section p { color: rgba(255,255,255,.8); }
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; margin: 2rem auto 0; }
.newsletter-form .form-control {
  flex: 1;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 50px;
  padding: .75rem 1.4rem;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form .form-control:focus { border-color: var(--accent-light); box-shadow: none; }

/* ---- Footer ---- */
.ac-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding: 70px 0 30px;
}
.ac-footer .footer-brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .8rem;
  display: flex; align-items: center; gap: .4rem;
}
.ac-footer .footer-brand .brand-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.ac-footer p { font-size: .9rem; color: rgba(255,255,255,.6); }
.ac-footer h6 {
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.2rem;
}
.ac-footer ul { list-style: none; padding: 0; }
.ac-footer ul li { margin-bottom: .5rem; }
.ac-footer ul a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
}
.ac-footer ul a:hover { color: var(--accent-light); }
.ac-footer .footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .75rem;
}
.ac-footer .footer-bottom a { color: rgba(255,255,255,.5); }
.ac-footer .footer-bottom a:hover { color: var(--accent-light); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; }

/* ---- Cookie Banner ---- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--text-dark);
  color: rgba(255,255,255,.85);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { font-size: .88rem; margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent-light); }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }

/* ---- Page Hero ---- */
.page-hero {
  background: var(--primary);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 1rem 0 0; }
.page-hero .breadcrumb { margin-bottom: 1rem; }
.page-hero .breadcrumb-item { font-family: var(--font-sub); font-size: .85rem; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---- Article Page ---- */
.article-hero { padding: 140px 0 60px; background: var(--primary); }
.article-hero .article-tag {
  font-family: var(--font-sub); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light);
  margin-bottom: .75rem;
}
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.8rem); max-width: 760px; }
.article-hero .article-meta {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.5rem; flex-wrap: wrap;
  font-family: var(--font-sub); font-size: .84rem; color: rgba(255,255,255,.65);
}
.article-hero .article-meta span { display: flex; align-items: center; gap: .4rem; }
.article-hero .author-img {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  object-fit: cover;
}

.article-content {
  font-size: 1.07rem;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 760px;
}
.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
}
.article-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 .8rem;
  color: var(--text-dark);
}
.article-content p { margin-bottom: 1.35rem; }
.article-content img {
  width: 100%; border-radius: var(--radius-lg);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-section);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
}
.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.35rem;
}
.article-content li { margin-bottom: .5rem; }

/* ---- Backgrounds ---- */
.bg-primary-section { background: var(--primary); }
.bg-light-section { background: var(--bg-section); }
.bg-white { background: var(--bg-white); }

/* ---- Utility ---- */
.text-accent { color: var(--accent); }
.text-primary-brand { color: var(--primary); }
.text-muted-custom { color: var(--text-muted); }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.img-rounded { border-radius: var(--radius-lg); }
.img-circle { border-radius: 50%; }
.shadow-card { box-shadow: var(--shadow-md); }
.overflow-hidden { overflow: hidden; }

.logo{
  max-width: 200px;
  object-fit: contain;
}

html{
  overflow-x: hidden;
}