:root {
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color-scheme: light;
  --bg: #f6f3ef;
  --card: #ffffff;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --border: #e4ddd5;
  --accent: #5598dd;
  --accent-dark: #366aa8;
  --accent-soft: #e6f0fb;
  --shadow: 0 15px 40px rgba(31, 19, 15, 0.08);
  --radius: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.article-view,
body {
  position: relative;
  background: transparent;
}

.article-view::before,
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: -2;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1rem;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.global-header {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: visible;
  margin-bottom: 32px;
  color: var(--text);
}

.utility-bar {
  background: #fff;
  color: var(--accent-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px 20px;
  font-size: 0.7rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.utility-bar a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-row {
  background: var(--accent);
  display: flex;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-link img {
  display: block;
}

.logo-img {
  width: 180px;
  height: auto;
}

.noel-wrapper {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100vw;
  height: 140px;
  pointer-events: none;
  transform: translateY(0);
  overflow: visible;
}

.snow-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  animation: snow-fall linear infinite;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 4s;
  animation-delay: 0s;
}

.snowflake:nth-child(2) {
  left: 35%;
  animation-duration: 5.5s;
  animation-delay: 0.5s;
  width: 4px;
  height: 4px;
}

.snowflake:nth-child(3) {
  left: 60%;
  animation-duration: 4.5s;
  animation-delay: 1s;
  width: 5px;
  height: 5px;
}

.snowflake:nth-child(4) {
  left: 80%;
  animation-duration: 6s;
  animation-delay: 0.2s;
}

.snowflake:nth-child(5) {
  left: 50%;
  animation-duration: 5s;
  animation-delay: 1.5s;
  width: 3px;
  height: 3px;
}

@keyframes snow-fall {
  0% {
    transform: translateY(-10px) translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(140px) translateX(15px);
    opacity: 0;
  }
}


.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.utility-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.icon-button svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.linkedin-button svg {
  fill: var(--accent-dark);
  stroke: none;
  width: 26px;
  height: 26px;
}

.main-menu {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.main-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  padding: 14px 0;
  display: inline-flex;
  position: relative;
}

.main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-menu a:hover::after,
.main-menu a:focus-visible::after {
  transform: scaleX(1);
}

.main-menu.menu-compact {
  box-shadow: 0 8px 20px rgba(31, 19, 15, 0.08);
}

.main-menu.menu-compact ul {
  padding: 0 24px;
  gap: 18px;
}

.main-menu.menu-compact a {
  font-size: 0.75rem;
  padding: 10px 0;
}

.btn {
  border: none;
  border-radius: 0;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(85, 152, 221, 0.35);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.site-main {
  padding: 0 24px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.primary-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-section,
.highlight-row,
.story-groups,
.widget {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-section {
  padding: 0;
  min-height: 430px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 360px;
  align-items: stretch;
}

.hero-overlay {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero-image {
  position: relative;
  min-height: 320px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #eef2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.hero-excerpt {
  margin: 0;
  color: var(--muted);
}

.hero-meta-line {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.highlight-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: 280px;
}

.highlight-card {
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.highlight-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  max-height: 220px;
  aspect-ratio: 16 / 10;
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlight-card figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 6px 10px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.highlight-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-meta {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
}

.highlight-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
}

.story-groups {
  padding: 0;
  min-height: 620px;
}

.category-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 900px;
}

.category-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.category-header h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-card {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}

.category-card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.category-card:last-child {
  border-bottom: none;
}

.category-card:hover h4 {
  color: var(--accent-dark);
}

.category-thumb img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 18 / 11;
}

.category-card-body h4 {
  margin: 4px 0 6px;
  font-size: 1.1rem;
}

.category-meta {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.category-open {
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: var(--accent-dark);
  cursor: pointer;
}

.category-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.category-placeholder {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.category-placeholder p {
  margin: 0;
}

.widget.magazine {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

body.section-view .hero-section,
body.section-view .highlight-row,
body.section-view .story-groups {
  display: none !important;
}

body.section-view .category-sections .category-block {
  display: none;
}

body.section-view .category-sections .category-block.category-active {
  display: block;
}
.article-row {
  display: grid;
  gap: 18px;
}

.article-row[data-size="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-row[data-size="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-row[data-size="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.widget h3 {
  margin-top: 0;
}

.widget form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.widget input {
  padding: 10px;
  border-radius: 0;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.widget.most-read {
  padding-top: 12px;
}

.widget.most-read h3 {
  margin-bottom: 6px;
}

.newsletter-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(300px, calc(100% - 30px));
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  background: transparent;
  z-index: 30;
}

.newsletter-widget .newsletter-toggle {
  width: 100%;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.newsletter-widget .newsletter-toggle:hover,
.newsletter-widget .newsletter-toggle:focus-visible {
  box-shadow: 0 12px 24px rgba(85, 152, 221, 0.4);
  transform: translateY(-2px);
  outline: none;
}

.newsletter-widget.open .newsletter-toggle {
  border-radius: 18px 18px 0 0;
}

.toggle-eyebrow {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.newsletter-widget .newsletter-panel {
  padding: 20px;
  background: #fff;
  display: none;
  text-align: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.newsletter-widget.open .newsletter-panel {
  display: block;
}

.newsletter-widget .newsletter-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-panel h3 {
  margin: 0;
  font-size: 1.1rem;
}

.newsletter-panel p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.newsletter-panel form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.newsletter-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  width: 100%;
  text-align: left;
}

.newsletter-panel input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.newsletter-panel .btn.primary {
  width: 100%;
  justify-content: center;
  border-radius: 999px;
}

@media (max-width: 600px) {
  .newsletter-widget {
    right: 16px;
    left: 16px;
    width: auto;
  }
}

.magazine-cover {
  width: 100%;
  border-radius: 0;
  margin: 12px 0;
}

.most-read ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.most-read li {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.most-read li a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.most-read-rank {
  font-weight: 600;
  color: var(--muted);
  min-width: 22px;
}

.most-read img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.most-read p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

.most-read li:hover,
.most-read li:focus-within {
  background: rgba(0, 0, 0, 0.03);
  transform: translateX(2px);
}

/* Devenez annonceur */
.annonceur-page {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 60%);
}

.annonceur-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.annonceur-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 28px;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 20%, rgba(217, 58, 71, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(57, 120, 255, 0.08), transparent 35%),
    #0f1b30;
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 27, 48, 0.25);
}

.annonceur-points {
  list-style: disc;
  padding-left: 18px;
  color: #d7e2ff;
}

.annonceur-card {
  background: #0c1524;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.annonceur-card a {
  color: #9fb7ff;
}

.annonceur-actions .btn {
  color: #fff;
}

.annonceur-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
}

.annonceur-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}

.annonceur-form-block {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(15, 27, 48, 0.08);
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.annonceur-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.annonceur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.annonceur-grid label,
.annonceur-textarea {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: #1b2430;
}

.annonceur-grid input,
.annonceur-grid select,
.annonceur-textarea textarea {
  width: 100%;
  border: 1px solid #d9dfe6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #f9fbff;
}

.annonceur-fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #f9fbff;
}

.annonceur-fieldset legend {
  font-weight: 700;
  color: #1b2430;
  padding: 0 6px;
}

.annonceur-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.annonceur-chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d9dfe6;
  background: #fff;
  font-weight: 600;
  color: #1b2430;
}

.annonceur-textarea textarea {
  min-height: 120px;
}

.annonceur-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #1f2b3a;
}

.annonceur-footer {
  margin-top: 24px;
}

@media (max-width: 960px) {
  .annonceur-hero,
  .annonceur-form-block {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: #1f1f1f;
  color: #fefefe;
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  width: 150px;
  height: auto;
  display: block;
}

.footer-newsletter {
  text-align: right;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.footer-links h4 {
  margin-top: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-bottom-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Article page */
.article-page-shell {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px 60px;
}

.article-page {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.article-breadcrumb a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.article-breadcrumb a:hover,
.article-breadcrumb a:focus-visible {
  color: var(--accent);
}

.article-breadcrumb .separator {
  color: var(--border);
}

.article-breadcrumb span:last-child {
  font-weight: 600;
  color: var(--text);
}

.article-page-category {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0;
}

.article-page h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.article-page-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.article-page-author {
  font-weight: 600;
  margin: 0 0 10px;
}

.article-page-hero {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.article-page-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-page-chapeau {
  font-style: italic;
  font-size: 1.05rem;
  margin-top: 10px;
}

.article-page-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-page-content p {
  margin: 0;
}

.article-page-content figure {
  margin: 0;
}

.article-inline-media {
  border-radius: 12px;
  overflow: hidden;
  margin: 8px 0 16px;
  background: #f5f5f5;
}

.article-inline-media img {
  display: block;
  width: 100%;
  height: auto;
}

.article-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-link {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  text-decoration: none;
}

/* CDC page */
.cdc-shell {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cdc-intro,
.cdc-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.cdc-intro h1 {
  margin-top: 0;
  margin-bottom: 12px;
}

.cdc-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.cdc-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cdc-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.cdc-card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: var(--muted);
  margin: 0;
}

.cdc-card-path {
  font-size: 0.85rem;
  color: var(--muted);
}

.cdc-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cdc-notes li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  background: #fdfcfa;
}

.cdc-note-text {
  margin: 6px 0;
  font-weight: 600;
}

.cdc-note-context {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cdc-empty {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
}

.cdc-note-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.cdc-note-heading strong {
  color: #d93a47;
  letter-spacing: 0.05em;
}

/* Notes overlay */
.note-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none;
  background: transparent;
  color: #d93a47;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 900;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
}

.note-marker:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.note-marker-highlight {
  animation: note-pulse 1s ease-in-out infinite alternate;
}

@keyframes note-pulse {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.note-popup {
  position: absolute;
  width: 280px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-popup textarea {
  min-height: 110px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.note-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.note-popup-save,
.note-popup-delete,
.note-popup-cancel {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.note-popup-save {
  background: var(--accent);
  color: #fff;
}

.note-popup-delete {
  background: #d93a47;
  color: #fff;
}

.note-popup-cancel {
  background: var(--border);
  color: var(--text);
}

.note-popup-status {
  min-height: 1em;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.note-popup-status-success {
  color: #1e824c;
  font-weight: 600;
}

.note-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 960;
  backdrop-filter: blur(6px);
}

.note-toggle.note-toggle-active {
  background: var(--accent-dark);
}

.page-snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.page-snow .flake {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(120, 174, 255, 0.6);
  box-shadow: 0 0 10px rgba(120, 174, 255, 0.7);
  animation: page-snow-fall 12s linear infinite;
}

.page-snow .flake:nth-child(odd) {
  width: 8px;
  height: 8px;
  animation-duration: 10s;
}

.page-snow .flake:nth-child(3n) {
  width: 12px;
  height: 12px;
  animation-duration: 14s;
  animation-delay: -3s;
}

.page-snow .flake:nth-child(1) { left: 5%; animation-delay: -2s; }
.page-snow .flake:nth-child(2) { left: 15%; animation-delay: -4s; }
.page-snow .flake:nth-child(3) { left: 25%; animation-delay: -1s; }
.page-snow .flake:nth-child(4) { left: 35%; animation-delay: -3s; }
.page-snow .flake:nth-child(5) { left: 45%; animation-delay: -5s; }
.page-snow .flake:nth-child(6) { left: 55%; animation-delay: -6s; }
.page-snow .flake:nth-child(7) { left: 65%; animation-delay: -2s; }
.page-snow .flake:nth-child(8) { left: 75%; animation-delay: -4s; }
.page-snow .flake:nth-child(9) { left: 85%; animation-delay: -1s; }
.page-snow .flake:nth-child(10) { left: 95%; animation-delay: -3s; }
.page-snow .flake:nth-child(11) { left: 12%; animation-delay: -6s; }
.page-snow .flake:nth-child(12) { left: 28%; animation-delay: -2s; }
.page-snow .flake:nth-child(13) { left: 52%; animation-delay: -5s; }
.page-snow .flake:nth-child(14) { left: 68%; animation-delay: -1s; }
.page-snow .flake:nth-child(15) { left: 82%; animation-delay: -4s; }
.page-snow .flake:nth-child(16) { left: 92%; animation-delay: -6s; }

@keyframes page-snow-fall {
  0% {
    transform: translateY(-10vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(50vh) translateX(15px);
  }
  100% {
    transform: translateY(110vh) translateX(-15px);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .main-menu ul {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 18px;
    padding: 0 16px;
    scrollbar-width: none;
  }

  .main-menu ul::-webkit-scrollbar {
    display: none;
  }

  .site-main {
    padding: 0 14px 40px;
  }

  .hero-overlay,
  .hero-section,
  .highlight-row,
  .story-groups,
  .widget,
  .category-block {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-card,
  .article-row[data-size="2"],
  .article-row[data-size="3"] {
    grid-template-columns: 1fr;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-thumb img {
    width: 100%;
    height: auto;
  }

  .footer-newsletter {
    text-align: left;
  }

  .article-detail-panel {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .page-snow,
  .noel-wrapper {
    display: none;
  }

  .utility-bar {
    padding: 6px 14px;
  }

  .main-menu a {
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .hero-overlay {
    padding: 18px;
  }

  .hero-section h2 {
    font-size: 1.5rem;
  }

  .highlight-card-content,
  .newsletter-panel,
  .widget {
    padding: 16px;
  }
}
.category-pagination {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.category-pagination a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
}

.category-pagination a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.sponsored-pill,
.article-sponsored-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(225, 0, 59, 0.12);
  color: #b30034;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sponsored-pill.inline {
  margin-bottom: 6px;
}

.article-sponsored-banner {
  margin-bottom: 10px;
}
