/* =================================================================
   La Francophonie — child theme custom CSS
   Design System: Media Blog Personnel (serif Lora, warm cream + blue)
   Competitor palette: francophonie.org (#3878db + #C2853A)
   ================================================================= */

:root {
  --dce-primary: #3878db;
  --dce-primary-dark: #2c5fb0;
  --dce-accent: #C2853A;
  --dce-accent-dark: #9d6a2d;
  --dce-text: #1A1A1A;
  --dce-text-soft: #666666;
  --dce-bg: #FAFAF5;
  --dce-surface: #FFFFFF;
  --dce-line: #E5E0D5;
  --dce-shadow: 0 2px 12px rgba(0,0,0,.06);
  --dce-shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --dce-shadow-lg: 0 16px 40px rgba(0,0,0,.14);
  --dce-radius: 8px;
  --dce-radius-lg: 12px;
  --dce-container: 1200px;
  --dce-font-headings: 'Lora', Georgia, 'Times New Roman', serif;
  --dce-font-body: 'Lora', Georgia, 'Times New Roman', serif;
}

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.dce-body {
  margin: 0;
  font-family: var(--dce-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--dce-text);
  background: var(--dce-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main, .dce-main { padding-top: 0 !important; margin-top: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dce-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--dce-accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--dce-font-headings);
  color: var(--dce-text);
  font-weight: 600;
  line-height: 1.3;
  margin: 1.5em 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
p { margin: 0 0 1.1em; }
.dce-container { max-width: var(--dce-container); margin: 0 auto; padding: 0 1.5rem; }

/* ===== BUTTONS ===== */
.dce-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.6rem;
  font-family: var(--dce-font-body);
  font-size: .98rem;
  font-weight: 600;
  border-radius: var(--dce-radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1.2;
}
.dce-btn--primary {
  background: var(--dce-primary);
  color: #fff;
  border-color: var(--dce-primary);
}
.dce-btn--primary:hover {
  background: var(--dce-primary-dark);
  color: #fff;
  border-color: var(--dce-primary-dark);
  transform: translateY(-2px);
}
.dce-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.dce-btn--ghost:hover {
  background: #fff;
  color: var(--dce-text);
  border-color: #fff;
}
.dce-btn--accent {
  background: var(--dce-accent);
  color: #fff;
  border-color: var(--dce-accent);
}
.dce-btn--accent:hover {
  background: var(--dce-accent-dark);
  color: #fff;
  border-color: var(--dce-accent-dark);
}
.dce-btn--cta {
  background: var(--dce-accent);
  color: #fff;
  border-color: var(--dce-accent);
}

/* ===== CTA ANIMATION (call_button_mobile) ===== */
@keyframes dce-cta-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(194,133,58,.25); }
  50% { transform: scale(1.04); box-shadow: 0 10px 24px rgba(194,133,58,.45); }
}
.dce-btn--cta { animation: dce-cta-pulse 2.4s ease-in-out infinite; }
.dce-btn--cta:hover { animation-play-state: paused; }

/* ===== HEADER (logo-left-menu-center-cta-right, CTA disabled) ===== */
.dce-header {
  background: var(--dce-surface);
  border-bottom: 1px solid var(--dce-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--dce-shadow);
}
.dce-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--dce-container);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  min-height: 72px;
}
.dce-brand-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.dce-brand-logo {
  width: auto;
  display: block;
  flex-shrink: 0;
}
.dce-brand-name {
  font-family: var(--dce-font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dce-text);
  letter-spacing: -.01em;
  line-height: 1;
}
.dce-nav-desktop { display: none; }
.dce-nav-desktop-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.dce-nav-desktop-list li {
  flex: 0 0 auto;
}
.dce-nav-desktop-list a {
  color: var(--dce-text);
  font-size: .85rem;
  font-weight: 500;
  padding: .35rem .1rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  display: inline-block;
  white-space: nowrap;
}
.dce-nav-desktop-list a:hover,
.dce-nav-desktop-list .current-cat > a,
.dce-nav-desktop-list .current-menu-item > a {
  color: var(--dce-primary);
  border-bottom-color: var(--dce-primary);
}

/* Burger button (visible mobile only) */
.dce-burger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 8px !important;
  background: rgba(255,255,255,.95) !important;
  border: 1.5px solid rgba(0,0,0,.18) !important;
  border-radius: 8px !important;
  color: var(--dce-text) !important;
  cursor: pointer !important;
  z-index: 10000 !important;
  flex-shrink: 0 !important;
  position: relative !important;
}
.dce-burger-bars,
.dce-burger > span {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 22px !important;
  height: 16px !important;
}
.dce-burger-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
}
.dce-burger-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
.dce-burger-label { display: none !important; }

/* Drawer mobile (hidden by default) */
.dce-nav-mobile { display: none; }
.dce-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dce-nav-mobile-list li {
  border-bottom: 1px solid var(--dce-line);
}
.dce-nav-mobile-list a {
  display: block;
  padding: 1.1rem 0;
  color: var(--dce-text);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
}
.dce-nav-mobile-list a:hover {
  color: var(--dce-primary);
}
.dce-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--dce-line);
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--dce-text);
}
.dce-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
}
.dce-drawer-overlay.is-open { display: block; }
.dce-drawer-cta { display: none !important; }

/* ===== HERO (dual-cta-banner) ===== */
.dce-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3a72, #3878db 60%, #C2853A 130%);
}
.dce-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.dce-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,30,60,.35) 0%, rgba(13,30,60,.7) 100%);
  z-index: 2;
}
.dce-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 1.5rem 5.5rem;
}
.dce-hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--dce-accent);
  font-weight: 700;
  margin-bottom: 1rem;
  padding: .35rem .85rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}
.dce-hero-title,
.dce-hero h1,
h1.dce-hero-title {
  color: #fff !important;
  font-family: var(--dce-font-headings);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.dce-hero-subtitle {
  color: #f3ece0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 660px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.dce-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.dce-hero-ctas .dce-btn {
  padding: 1rem 1.8rem;
  font-size: 1rem;
}

/* ===== EDITORIAL BLOCK (after hero, 400-700 words) ===== */
.dce-editorial-intro {
  background: var(--dce-surface);
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--dce-line);
}
.dce-editorial-intro-inner {
  max-width: 880px;
  margin: 0 auto;
}
.dce-editorial-kicker {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--dce-accent);
  font-weight: 700;
  margin-bottom: .9rem;
  text-align: center;
}
.dce-editorial-intro h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-top: 0;
  color: var(--dce-text);
}
.dce-editorial-intro h3 {
  font-size: 1.25rem;
  color: var(--dce-text);
  margin-top: 2rem;
}
.dce-editorial-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dce-text);
}
.dce-editorial-intro p.dce-lead {
  font-size: 1.18rem;
  color: var(--dce-text);
  margin-bottom: 2rem;
  font-weight: 500;
}
.dce-editorial-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .dce-editorial-cols { grid-template-columns: 1fr 1fr; }
}
.dce-editorial-col h3 { margin-top: 0; }
.dce-editorial-aside {
  background: var(--dce-bg);
  border-left: 4px solid var(--dce-accent);
  padding: 1.5rem 1.6rem;
  margin: 2.5rem 0 0;
  border-radius: 6px;
  font-style: italic;
  color: var(--dce-text);
}
.dce-editorial-aside strong { font-style: normal; color: var(--dce-primary); }

/* ===== SECTION HEAD ===== */
.dce-section-head {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 720px;
}
.dce-section-head h2 {
  margin: 0 0 .6rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.dce-section-head p {
  color: var(--dce-text-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* ===== CATEGORIES GRID ===== */
.dce-categories {
  padding: 4rem 1.5rem;
}
.dce-categories-inner { max-width: var(--dce-container); margin: 0 auto; }
.dce-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.dce-cat-card {
  background: var(--dce-surface);
  border: 1px solid var(--dce-line);
  border-radius: var(--dce-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--dce-text);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--dce-shadow);
}
.dce-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dce-shadow-md);
  color: var(--dce-primary);
}
.dce-cat-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--dce-primary), var(--dce-accent));
}
.dce-cat-card-body {
  padding: 1.2rem 1.3rem 1.5rem;
}
.dce-cat-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  color: var(--dce-text);
}
.dce-cat-card:hover h3 { color: var(--dce-primary); }
.dce-cat-card p {
  margin: 0;
  color: var(--dce-text-soft);
  font-size: .92rem;
  line-height: 1.55;
}
.dce-cat-card-arrow {
  display: inline-block;
  margin-top: .8rem;
  color: var(--dce-accent);
  font-size: .9rem;
  font-weight: 600;
}

/* ===== LATEST ARTICLES GRID (18 articles) ===== */
.dce-latest {
  padding: 4rem 1.5rem;
  background: var(--dce-surface);
  border-top: 1px solid var(--dce-line);
  border-bottom: 1px solid var(--dce-line);
}
.dce-latest-inner { max-width: var(--dce-container); margin: 0 auto; }
.dce-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}
.dce-latest-card {
  background: var(--dce-bg);
  border: 1px solid var(--dce-line);
  border-radius: var(--dce-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dce-latest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dce-shadow-md);
}
.dce-latest-card-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dce-line);
}
.dce-latest-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dce-latest-card-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dce-latest-card-meta {
  font-size: .78rem;
  color: var(--dce-text-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
}
.dce-latest-card-meta a {
  color: var(--dce-accent);
  font-weight: 700;
}
.dce-latest-card-title {
  font-family: var(--dce-font-headings);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 .6rem;
  line-height: 1.35;
}
.dce-latest-card-title a {
  color: var(--dce-text);
}
.dce-latest-card-title a:hover {
  color: var(--dce-primary);
}
.dce-latest-card-excerpt {
  margin: 0;
  font-size: .94rem;
  color: var(--dce-text-soft);
  line-height: 1.55;
  flex: 1;
}
.dce-latest-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--dce-text-soft);
  font-style: italic;
  background: var(--dce-bg);
  border-radius: var(--dce-radius);
  grid-column: 1 / -1;
}

/* ===== STATS GRID (CTR animation) ===== */
.dce-stats-section {
  background: var(--dce-primary);
  padding: 3.5rem 1.5rem;
  color: #fff;
}
.dce-stats-grid {
  max-width: var(--dce-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
@keyframes dce-stat-count {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dce-stats-grid .dce-stat {
  opacity: 0;
  animation: dce-stat-count .8s ease forwards;
}
.dce-stats-grid .dce-stat:nth-child(1) { animation-delay: .1s; }
.dce-stats-grid .dce-stat:nth-child(2) { animation-delay: .25s; }
.dce-stats-grid .dce-stat:nth-child(3) { animation-delay: .4s; }
.dce-stats-grid .dce-stat:nth-child(4) { animation-delay: .55s; }
.dce-stat-value {
  display: block;
  font-family: var(--dce-font-headings);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .25rem;
}
.dce-stat-label {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ===== METRICS LINKS BLOCK ===== */
.dce-metrics-section {
  padding: 3.5rem 1.5rem;
  background: var(--dce-bg);
}
.dce-metrics-section .dce-container { max-width: var(--dce-container); margin: 0 auto; }

/* ===== ABOUT SUMMARY (home section) ===== */
.dce-about-section {
  padding: 4rem 1.5rem;
  background: var(--dce-surface);
  border-top: 1px solid var(--dce-line);
}
.dce-about-inner {
  max-width: var(--dce-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .dce-about-inner { grid-template-columns: 280px 1fr; }
}
.dce-about-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--dce-radius-lg);
  box-shadow: var(--dce-shadow-md);
  justify-self: center;
}
.dce-about-content h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.dce-about-content .dce-about-signature {
  margin-top: 1.2rem;
  color: var(--dce-text-soft);
  font-style: italic;
  font-size: .92rem;
}

/* ===== FOOTER ===== */
.dce-footer {
  background: #f5f3ee;
  color: #000;
  padding: 4rem 1.5rem 2rem;
  font-size: .95rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.dce-footer-inner {
  max-width: var(--dce-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .dce-footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.dce-footer-col h3.dce-footer-title {
  color: #000;
  font-family: var(--dce-font-headings);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 1.2rem;
  font-weight: 700;
}
.dce-footer-logo {
  display: block;
  height: auto;
  margin-bottom: 1rem;
  max-width: 140px;
}
.dce-footer-brand-name {
  font-family: var(--dce-font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 .6rem;
}
.dce-footer-brand-pitch {
  margin: 0 0 1.3rem;
  color: #000;
  font-size: .95rem;
  line-height: 1.65;
}
.dce-footer-brand-cta {
  display: inline-block;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}
.dce-footer-brand-cta:hover {
  color: var(--dce-primary);
  border-bottom-color: var(--dce-primary);
}
.dce-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dce-footer-links li { margin-bottom: .65rem; }
.dce-footer-links a {
  color: #000;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s ease;
}
.dce-footer-links a:hover {
  color: var(--dce-primary);
  text-decoration: underline;
}
.dce-footer-social {
  display: flex;
  gap: .7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.dce-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: #000;
  transition: background .2s ease, color .2s ease;
}
.dce-footer-social a:hover { background: var(--dce-primary); color: #fff; }
.dce-footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.dce-footer-bottom {
  max-width: var(--dce-container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.12);
  text-align: center;
  color: #000;
  font-size: .85rem;
  line-height: 1.6;
}
.dce-footer-bottom a { color: #000; text-decoration: underline; }
.dce-footer-bottom a:hover { color: var(--dce-primary); }

/* ===== PERSONA PHOTO (a-propos page) ===== */
.dce-persona-photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--dce-radius-lg);
  box-shadow: var(--dce-shadow-md);
  margin: 0 0 1.8rem;
  float: right;
  margin-left: 2rem;
}
@media (max-width: 640px) {
  .dce-persona-photo {
    float: none;
    margin: 0 auto 1.5rem;
    display: block;
  }
}

/* ===== CONTACT FORM ===== */
.dce-contact-form {
  margin: 2rem 0;
  background: var(--dce-surface);
  border: 1px solid var(--dce-line);
  border-radius: var(--dce-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--dce-shadow);
}

/* ===== CATEGORY PAGE (intro-faq layout) ===== */
.dce-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
}
.dce-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.dce-cat-hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.dce-cat-hero-inner {
  max-width: var(--dce-container);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  color: #fff;
}
.dce-cat-hero h1 {
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  font-size: clamp(2rem, 4vw, 3rem);
}
.dce-cat-intro {
  padding: 3rem 1.5rem 2rem;
  background: var(--dce-surface);
}
.dce-cat-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--dce-text);
}
.dce-cat-intro p:first-of-type { margin-top: 0; }

.dce-cat-list {
  padding: 2rem 1.5rem 4rem;
}
.dce-cat-list-inner { max-width: var(--dce-container); margin: 0 auto; }
.dce-cat-list h2 {
  font-size: 1.4rem;
  margin: 0 0 1.5rem;
  color: var(--dce-text);
}
.dce-cat-faq {
  padding: 3rem 1.5rem 4rem;
  background: var(--dce-bg);
  border-top: 1px solid var(--dce-line);
}
.dce-cat-faq-inner { max-width: 820px; margin: 0 auto; }
.dce-cat-faq h2 {
  text-align: center;
  margin: 0 0 2rem;
}
.dce-cat-faq details {
  margin-bottom: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--dce-surface);
  border: 1px solid var(--dce-line);
  border-radius: var(--dce-radius);
  cursor: pointer;
}
.dce-cat-faq summary {
  font-family: var(--dce-font-headings);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dce-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.dce-cat-faq summary::-webkit-details-marker { display: none; }
.dce-cat-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--dce-accent);
  font-weight: 400;
}
.dce-cat-faq details[open] summary::after { content: "−"; }
.dce-cat-faq details p {
  margin: 1rem 0 0;
  color: var(--dce-text-soft);
  line-height: 1.65;
  font-size: .98rem;
}

/* ===== SINGLE ARTICLE ===== */
.dce-single {
  padding: 3rem 1.5rem 4rem;
  background: var(--dce-surface);
}
.dce-single-inner { max-width: 740px; margin: 0 auto; }
.dce-single h1 { margin-top: 0; }
.dce-single-meta {
  color: var(--dce-text-soft);
  font-size: .9rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dce-single-content {
  font-size: 1.08rem;
  line-height: 1.8;
}
.dce-single-content p { margin: 0 0 1.3em; }
.dce-single-content h2 { margin-top: 2em; }

/* ===== POST DATE on cards ===== */
.dce-post-date {
  font-size: .82rem;
  color: var(--dce-text-soft);
}

/* ===== MOUSE EFFECT (image_hover_shadow) ===== */
@media (hover: hover) {
  .dce-card-img,
  .dce-cat-card-img,
  .dce-latest-card-img-wrap img,
  .dce-latest-card img,
  img.wp-post-image {
    transition: box-shadow .35s ease, transform .35s ease;
  }
  .dce-cat-card:hover .dce-cat-card-img,
  .dce-latest-card:hover .dce-latest-card-img-wrap img,
  .dce-latest-card:hover img,
  article:hover img.wp-post-image {
    box-shadow: 0 14px 36px rgba(0,0,0,.18);
    transform: translateY(-3px);
  }
}

/* ===== CTO chat bubble (bottom right floating) ===== */
@keyframes dce-cto-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.dce-cto-bubble {
  animation: dce-cto-bounce 2.6s ease-in-out infinite;
}

/* ===== UTILS ===== */
.dce-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== RESPONSIVE (mobile-first overrides) ===== */
@media (max-width: 1023px) {
  .dce-burger,
  .dce-burger-wrap {
    display: inline-flex !important;
  }
}
@media (min-width: 1024px) {
  .dce-nav-desktop { display: flex !important; flex: 1 1 auto; justify-content: center; margin: 0 .8rem; min-width: 0; }
  .dce-burger,
  .dce-burger-wrap { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .dce-header-inner { padding: .9rem 1rem; gap: .8rem; }
  .dce-nav-desktop-list { gap: .4rem .55rem; }
  .dce-nav-desktop-list a { font-size: .78rem; padding: .3rem .05rem; }
  .dce-brand-name { font-size: 1.15rem; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .dce-nav-desktop-list { gap: .5rem .7rem; }
  .dce-nav-desktop-list a { font-size: .82rem; }
}

/* Mobile drawer behaviour */
@media (max-width: 1023px) {
  .dce-nav-mobile.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #FFFFFF;
    padding: 4rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,.3);
  }
  .dce-nav-mobile.is-open .dce-drawer-cta {
    display: block !important;
    margin: 2rem 0 1rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--dce-accent) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
  }
}
@media (min-width: 1024px) {
  .dce-drawer-cta { display: none !important; }
}

/* Smaller screens: tighter spacing */
@media (max-width: 640px) {
  .dce-hero-inner { padding: 3.5rem 1.2rem 4rem; }
  .dce-editorial-intro { padding: 3rem 1.2rem; }
  .dce-categories,
  .dce-latest,
  .dce-about-section { padding: 3rem 1.2rem; }
  .dce-footer { padding: 3rem 1.2rem 1.5rem; }
  .dce-cat-grid { grid-template-columns: 1fr; }
  .dce-latest-grid { grid-template-columns: 1fr; }
  .dce-stats-section { padding: 2.5rem 1.2rem; }
}

/* Print friendly */
@media print {
  .dce-header, .dce-footer, .dce-hero-ctas { display: none; }
  body.dce-body { background: #fff; color: #000; }
}


/* Mouse effect : image_hover_shadow */
@media (hover:hover){.dce-card-img,.dce-article-image img,.dce-cat-card-img,.dce-latest-card img,img.wp-post-image{transition:box-shadow .35s ease,transform .35s ease}.dce-card:hover .dce-card-img,.dce-article:hover .dce-article-image img,.dce-cat-card:hover .dce-cat-card-img,.dce-latest-card:hover img,article:hover img.wp-post-image{box-shadow:0 14px 36px rgba(0,0,0,.18);transform:translateY(-3px)}}
