*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  color: #1b1b1b;
  background-color: #f7f7f7;
}

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

a {
  color: #a02124;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.skip-nav a {
  position: absolute;
  left: -999px;
  top: 0;
  background-color: #fff;
  color: #a02124;
  padding: 0.75rem 1rem;
  z-index: 999;
  border: 2px solid #a02124;
}

.skip-nav a:focus {
  left: 1rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f4f1ef;
  border-bottom: 4px solid #a02124;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2b2b2b;
}

.flag-accent {
  display: inline-block;
  width: 1.75rem;
  height: 1rem;
  background: linear-gradient(180deg, #ffffff 50%, #d11f32 50%);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  color: #2b2b2b;
}

.site-nav a:focus-visible {
  outline: 2px dashed #d4af37;
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 5vw;
  background: linear-gradient(120deg, #ffffff, #f6f2ef);
  align-items: center;
}

.hero__media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 4px solid rgba(209, 31, 50, 0.3);
  box-shadow: 0 20px 40px rgba(41, 41, 41, 0.1);
}

.hero__content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  color: #111;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #3b3b3b;
  font-weight: 600;
}

.hero__lead {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #5b5b5b;
}

.image-credit {
  font-size: 0.8rem;
  color: #5f5f5f;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(90deg, #d11f32, #a02124);
  color: #fff;
  box-shadow: 0 10px 20px rgba(160, 33, 36, 0.2);
}

.btn--outline {
  background-color: transparent;
  border-color: #a02124;
  color: #a02124;
}

.btn--link {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: rgba(160, 33, 36, 0.1);
  color: #a02124;
  display: inline-block;
}

.btn:focus-visible {
  outline: 3px solid #d4af37;
  outline-offset: 4px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(160, 33, 36, 0.25);
}

.section {
  padding: 4rem 5vw;
  background-color: #fff;
}

.section--light {
  background-color: #fdf9f6;
}

.section__header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.section__intro {
  max-width: 640px;
  color: #555;
}

.highlight-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.5rem;
}

.highlight-list li::before {
  content: "★";
  color: #d4af37;
  margin-right: 0.75rem;
}

.facts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.fact-card {
  background-color: #ffffff;
  border: 2px solid rgba(212, 175, 55, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(33, 33, 33, 0.08);
}

.fact-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #a02124;
}

.section--table .table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 2px solid rgba(160, 33, 36, 0.2);
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  vertical-align: top;
}

th {
  background-color: rgba(212, 175, 55, 0.1);
  font-weight: 700;
}

.section--carousel {
  background: linear-gradient(180deg, #ffffff 0%, #faf3ef 100%);
}

.carousel {
  position: relative;
  margin-top: 2rem;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 3px solid rgba(212, 175, 55, 0.35);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel__slide {
  min-width: 100%;
  padding: 0;
  margin: 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel__slide figcaption {
  font-weight: 600;
  padding: 1rem 1.5rem 0 1.5rem;
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  color: #a02124;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.carousel__control:hover {
  background-color: rgba(160, 33, 36, 0.9);
  color: #fff;
}

.carousel__control--prev {
  left: 1rem;
}

.carousel__control--next {
  right: 1rem;
}

.section--article {
  background-color: #fffdf9;
}

.article-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.article-figure {
  flex: 1 1 280px;
  max-width: 420px;
}

.article-figure img {
  width: 100%;
  border-radius: 12px;
  border: 3px solid rgba(160, 33, 36, 0.2);
}

.article-text {
  flex: 2 1 320px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-text section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-text h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.article-text p,
.article-text ul {
  margin: 0;
}

.article-text ul {
  padding-left: 1.1rem;
}

.article-text .checklist {
  padding-left: 0;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.75rem;
}

.checklist li::before {
  content: "✔";
  color: #d4af37;
  position: absolute;
  left: 0;
  top: 0;
}

.article-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.conflicts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.conflicts-grid article {
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.conflicts-visual {
  margin-top: 2rem;
  text-align: center;
}

.section--fake-news .section__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.section--interactive .interactive-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 2rem;
}

.survey-card,
.quiz-card {
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background-color: #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

form label {
  display: block;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

form select,
form input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 1rem;
}

.survey-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.survey-results {
  margin-top: 1.5rem;
  min-height: 2rem;
  font-size: 0.95rem;
  color: #2b2b2b;
}

.quiz-options {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.quiz-option {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.quiz-option[aria-pressed="true"],
.quiz-option:hover {
  background-color: rgba(209, 31, 50, 0.1);
  border-color: #d11f32;
}

.quiz-feedback {
  min-height: 1.5rem;
  font-weight: 600;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.resources-grid article {
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.site-footer {
  background-color: #111;
  color: #f5f5f5;
  padding: 3rem 5vw;
}

.site-footer a {
  color: #f0d558;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-meta {
  margin-top: 2rem;
  font-size: 0.85rem;
  text-align: center;
  color: #bdbdbd;
}

.dialogue-simulation {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.dialogue-simulation[hidden] {
  display: none !important;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dialogue-simulation__content {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.scenario-steps {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.scenario-step {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: #faf3ef;
}

.scenario-step strong {
  display: block;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 2.5rem 1.5rem;
  }

  .section {
    padding: 3rem 1.75rem;
  }

  th,
  td {
    padding: 0.9rem;
  }

  .carousel__control--prev {
    left: 0.25rem;
  }

  .carousel__control--next {
    right: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

