/* ============================================================
   creme fraiche & huile d'olive — Asiatique Zen Japonais
   Design system : Shippori Mincho (titres) + Noto Sans JP (corps)
   Palette : bleu editorial concurrent + accents vermillon torii
   ============================================================ */

:root {
  /* Palette */
  --dde-primary:    #29449c;
  --dde-primary-d:  #1d3274;
  --dde-accent:     #c8443d;
  --dde-accent-d:   #a8362f;
  --dde-text:       #1a1a1a;
  --dde-text-soft:  #7a6a55;
  --dde-bg:         #faf8f3;
  --dde-surface:    #ffffff;
  --dde-line:       #d5c8ac;
  --dde-line-soft:  #ece5d4;
  --dde-shadow:     0 2px 14px rgba(26,26,26,.06);
  --dde-shadow-lg:  0 10px 40px rgba(26,26,26,.12);

  /* Fonts */
  --dde-font-h: "Shippori Mincho", "Playfair Display", Georgia, serif;
  --dde-font-b: "Noto Sans JP", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing */
  --dde-radius:    6px;
  --dde-radius-lg: 12px;
  --dde-container: 1240px;
  --dde-gap:       1.5rem;

  /* Z-index */
  --dde-z-header:   100;
  --dde-z-drawer:   9990;
  --dde-z-overlay:  9980;
}

/* Resets / globals */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.dde-body {
  margin: 0;
  font-family: var(--dde-font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dde-text);
  background: var(--dde-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Suppression du padding top genere par certains skeletons */
main, .dde-main { padding-top: 0 !important; margin-top: 0 !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dde-font-h);
  font-weight: 600;
  color: var(--dde-text);
  margin: 0 0 .8em;
  line-height: 1.25;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--dde-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dde-accent); }

img, svg { max-width: 100%; height: auto; display: block; }

.dde-container, .grid-container {
  width: 100%;
  max-width: var(--dde-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   1. HEADER (logo-left-menu-right)
   ============================================================ */
.dde-header {
  position: sticky;
  top: 0;
  z-index: var(--dde-z-header);
  background: var(--dde-surface);
  border-bottom: 1px solid var(--dde-line);
  box-shadow: var(--dde-shadow);
}
.dde-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem 1.25rem;
  max-width: var(--dde-container);
  margin: 0 auto;
}
.dde-brand-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  flex-shrink: 0;
}
.dde-brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
.dde-brand-name {
  font-family: var(--dde-font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dde-text);
  text-transform: lowercase;
  letter-spacing: 0;
  line-height: 1.15;
  max-width: 220px;
  display: flex;
  flex-direction: column;
}
.dde-brand-name .dde-brand-line1,
.dde-brand-name .dde-brand-line2 { display: block; white-space: nowrap; }
.dde-brand-name .amp { color: var(--dde-accent); font-style: italic; padding: 0 .15em; }

/* Desktop nav : visible >= 1024px */
.dde-nav-desktop { display: none; }
.dde-nav-desktop-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dde-nav-desktop-list li { margin: 0; }
.dde-nav-desktop-list a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--dde-text);
  text-decoration: none;
  font-weight: 500;
  font-size: .94rem;
  padding: .35rem .15rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  font-family: var(--dde-font-b);
}
.dde-nav-desktop-list a:hover,
.dde-nav-desktop-list a:focus {
  color: var(--dde-accent);
  border-bottom-color: var(--dde-accent);
}
.dde-nav-desktop-list svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  flex-shrink: 0;
}

/* Burger button : visible < 1024px */
.dde-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dde-line);
  background: var(--dde-surface);
  border-radius: var(--dde-radius);
  cursor: pointer;
  padding: 0;
  color: var(--dde-text);
}
.dde-burger svg { width: 22px; height: 22px; }

/* Mobile drawer (named .dde-nav so the skeleton's main.js matches) */
.dde-nav { display: none; }

@media (max-width: 1023px) {
  .dde-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 360px;
    background: var(--dde-surface);
    z-index: var(--dde-z-drawer);
    overflow-y: auto;
    padding: 4.5rem 1.5rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,.25);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .dde-nav.is-open {
    display: block;
    transform: translateX(0);
  }
  .dde-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .dde-nav-list li { border-bottom: 1px solid var(--dde-line-soft); }
  .dde-nav-list a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem .25rem;
    color: var(--dde-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
  }
  .dde-nav-list a:hover, .dde-nav-list a:focus { color: var(--dde-accent); }
  .dde-nav-list svg { width: 22px; height: 22px; color: var(--dde-accent); flex-shrink: 0; }
  .dde-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 1px solid var(--dde-line);
    background: var(--dde-surface);
    cursor: pointer;
    border-radius: var(--dde-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dde-text);
    font-size: 1.4rem;
    line-height: 1;
  }
  .dde-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,26,.6);
    z-index: var(--dde-z-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
  }
  .dde-nav-overlay.is-open { opacity: 1; pointer-events: auto; }
}

@media (min-width: 1024px) {
  .dde-nav-desktop { display: flex; flex: 1; justify-content: flex-end; }
  .dde-burger { display: none !important; }
  .dde-brand-name { font-size: 1.15rem; max-width: none; }
  .dde-brand-logo { height: 60px; }
  /* [RP2G 2026-06-06] Empeche le wrap des liens de categorie sur 1 seule ligne */
  .dde-nav-desktop-list { flex-wrap: nowrap; gap: 1.1rem; }
  .dde-nav-desktop-list a { white-space: nowrap; font-size: .9rem; }
}

/* ============================================================
   2. HERO MANIFESTO (text-driven, no image bg)
   ============================================================ */
.dde-hero--manifesto {
  position: relative;
  background: var(--dde-bg);
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--dde-line);
  overflow: hidden;
}
.dde-hero--manifesto::before {
  content: "";
  position: absolute;
  top: 1.5rem; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: var(--dde-accent);
}
.dde-hero--manifesto::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,68,61,.06), transparent 70%);
  pointer-events: none;
}
.dde-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.dde-hero-eyebrow {
  display: inline-block;
  font-family: var(--dde-font-b);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--dde-accent);
  margin-bottom: 1.5rem;
}
.dde-hero-title {
  font-family: var(--dde-font-h);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: var(--dde-text);
  letter-spacing: -.015em;
}
.dde-hero-title .dde-accent { color: var(--dde-accent); font-style: italic; }
.dde-hero-subtitle {
  font-family: var(--dde-font-b);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--dde-text-soft);
  max-width: 660px;
  margin: 0 auto 2.5rem;
}
.dde-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}
.dde-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  color: var(--dde-text-soft);
  font-size: .85rem;
  font-style: italic;
  letter-spacing: .05em;
}
.dde-hero-divider::before, .dde-hero-divider::after {
  content: "";
  flex: 0 0 60px;
  height: 1px;
  background: var(--dde-line);
}

/* CTA animation : hero_center_cta = gentle vertical breath */
@keyframes dde-cta-breath {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 12px rgba(200,68,61,.25); }
  50%      { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(200,68,61,.35); }
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.dde-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--dde-font-b);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: var(--dde-radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.dde-btn--cta {
  background: var(--dde-accent);
  color: #fff;
  position: relative;
  animation: dde-cta-breath 3s ease-in-out infinite;
}
.dde-btn--cta:hover {
  background: var(--dde-accent-d);
  color: #fff;
  animation-play-state: paused;
  transform: translateY(-2px);
}
.dde-btn--outline {
  background: transparent;
  border-color: var(--dde-text);
  color: var(--dde-text);
}
.dde-btn--outline:hover {
  background: var(--dde-text);
  color: var(--dde-surface);
}
.dde-btn--primary {
  background: var(--dde-primary);
  color: #fff;
}
.dde-btn--primary:hover {
  background: var(--dde-primary-d);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   4. EDITORIAL INTRO (placement after-hero per md5 hash)
   ============================================================ */
.dde-editorial {
  background: var(--dde-surface);
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  border-bottom: 1px solid var(--dde-line);
}
.dde-editorial-inner {
  max-width: 820px;
  margin: 0 auto;
}
.dde-editorial h2 {
  font-family: var(--dde-font-h);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--dde-text);
  margin-bottom: 1.5rem;
  text-align: center;
}
.dde-editorial h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--dde-accent);
  margin: .75rem auto 0;
}
.dde-editorial h3 {
  font-size: 1.25rem;
  color: var(--dde-primary);
  margin: 2rem 0 .75rem;
  font-family: var(--dde-font-h);
}
.dde-editorial p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dde-text);
  margin-bottom: 1.1rem;
}
.dde-editorial .dde-edito-aside {
  border-left: 3px solid var(--dde-accent);
  padding: 1rem 1.5rem;
  background: var(--dde-bg);
  margin: 2rem 0;
  border-radius: 0 var(--dde-radius) var(--dde-radius) 0;
}
.dde-editorial .dde-edito-aside h3 { margin-top: 0; }
.dde-editorial a { font-weight: 500; border-bottom: 1px dotted var(--dde-accent); }
.dde-editorial a:hover { color: var(--dde-accent); }

/* ============================================================
   5. CATEGORIES GRID (home)
   ============================================================ */
.dde-cats {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: var(--dde-bg);
}
.dde-cats-inner { max-width: var(--dde-container); margin: 0 auto; }
.dde-cats h2.dde-section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.dde-cats h2.dde-section-title::after {
  content: "";
  display: block;
  width: 50px; height: 2px;
  background: var(--dde-accent);
  margin: .75rem auto 0;
}
.dde-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.dde-cat-card {
  background: var(--dde-surface);
  border: 1px solid var(--dde-line-soft);
  border-radius: var(--dde-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  box-shadow: var(--dde-shadow);
}
.dde-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dde-shadow-lg);
  color: inherit;
}
.dde-cat-card-img {
  display: block;
  width: 100%;
  height: 180px;
  background-color: var(--dde-primary);
  background-size: cover;
  background-position: center;
  position: relative;
}
.dde-cat-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,26,26,.5));
}
.dde-cat-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dde-cat-card-body h3 {
  font-family: var(--dde-font-h);
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  color: var(--dde-text);
}
.dde-cat-card-body p {
  font-size: .92rem;
  color: var(--dde-text-soft);
  margin: 0 0 1rem;
  line-height: 1.55;
  flex: 1;
}
.dde-cat-card-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--dde-accent);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ============================================================
   6. LATEST POSTS GRID (home) - 18 articles, 3-4 cols
   ============================================================ */
.dde-latest {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: var(--dde-surface);
}
.dde-latest-inner { max-width: var(--dde-container); margin: 0 auto; }
.dde-latest h2.dde-section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.dde-latest h2.dde-section-title::after {
  content: "";
  display: block;
  width: 50px; height: 2px;
  background: var(--dde-accent);
  margin: .75rem auto 0;
}
.dde-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
@media (min-width: 1100px) {
  .dde-latest-grid { grid-template-columns: repeat(3, 1fr); }
}
.dde-card-article {
  background: var(--dde-surface);
  border: 1px solid var(--dde-line-soft);
  border-radius: var(--dde-radius-lg);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.dde-card-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--dde-shadow-lg);
}
.dde-card-article a { color: inherit; text-decoration: none; }
.dde-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--dde-line-soft);
  object-fit: cover;
  overflow: hidden;
}
.dde-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dde-card-article:hover .dde-card-thumb img { transform: scale(1.05); }
.dde-card-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.dde-card-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dde-accent);
  margin-bottom: .5rem;
}
.dde-card-title {
  font-family: var(--dde-font-h);
  font-size: 1.25rem;
  margin: 0 0 .6rem;
  line-height: 1.3;
  color: var(--dde-text);
}
.dde-card-excerpt {
  font-size: .92rem;
  color: var(--dde-text-soft);
  margin: 0 0 1rem;
  line-height: 1.55;
  flex: 1;
}
.dde-card-meta {
  font-size: .78rem;
  color: var(--dde-text-soft);
  letter-spacing: .03em;
}

.dde-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--dde-text-soft);
  font-style: italic;
  grid-column: 1 / -1;
}
.dde-empty a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--dde-accent);
  border-bottom: 1px solid var(--dde-accent);
}

/* ============================================================
   7. METRICS LINKS BLOCK (dde_render_metrics_links output)
   ============================================================ */
.dde-metrics {
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  background: var(--dde-bg);
  border-top: 1px solid var(--dde-line-soft);
  border-bottom: 1px solid var(--dde-line-soft);
}
.dde-metrics-inner { max-width: var(--dde-container); margin: 0 auto; text-align: center; }

/* ============================================================
   8. ABOUT TEASER (home)
   ============================================================ */
.dde-about-teaser {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: var(--dde-surface);
}
.dde-about-teaser-inner {
  max-width: var(--dde-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .dde-about-teaser-inner { grid-template-columns: 240px 1fr; }
}
.dde-about-teaser-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--dde-shadow-lg);
  border: 4px solid var(--dde-surface);
  outline: 1px solid var(--dde-line);
  justify-self: center;
}
.dde-about-teaser-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: 1rem;
}
.dde-about-teaser-body p {
  color: var(--dde-text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.dde-about-teaser-body .dde-btn { margin-top: .8rem; }

/* ============================================================
   9. CATEGORY PAGE (single-top layout)
   ============================================================ */
.dde-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--dde-primary);
}
.dde-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.dde-cat-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--dde-container);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(26,26,26,.75) 100%);
  color: #fff;
}
.dde-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.dde-cat-hero .dde-cat-eyebrow {
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .18em;
  color: rgba(255,255,255,.85);
  margin-bottom: .5rem;
  font-weight: 600;
}
.dde-cat-intro {
  background: var(--dde-bg);
  padding: clamp(2rem, 4vw, 3rem) 1.25rem;
}
.dde-cat-intro-inner {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dde-text);
}
.dde-cat-intro-inner p { margin-bottom: 1rem; }
.dde-cat-intro-inner a { color: var(--dde-primary); border-bottom: 1px dotted var(--dde-primary); }
.dde-cat-intro-inner a:hover { color: var(--dde-accent); border-color: var(--dde-accent); }
.dde-cat-posts {
  padding: clamp(2rem, 4vw, 4rem) 1.25rem clamp(3rem, 6vw, 5rem);
  background: var(--dde-surface);
}
.dde-cat-posts-inner { max-width: var(--dde-container); margin: 0 auto; }

/* ============================================================
   10. PAGE GENERAL (about, contact, single tool wrapper)
   ============================================================ */
.dde-page {
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  background: var(--dde-bg);
  min-height: 60vh;
}
.dde-page-inner {
  max-width: 860px;
  margin: 0 auto;
}
.dde-page h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.dde-page h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--dde-accent);
  margin: 1rem auto 0;
}
.dde-page-content {
  background: var(--dde-surface);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--dde-radius-lg);
  box-shadow: var(--dde-shadow);
  font-size: 1.02rem;
  line-height: 1.75;
}
.dde-page-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: var(--dde-primary);
}
.dde-page-content h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}
.dde-page-content p { margin-bottom: 1rem; }
.dde-page-content a { color: var(--dde-primary); border-bottom: 1px dotted var(--dde-primary); }
.dde-page-content a:hover { color: var(--dde-accent); border-color: var(--dde-accent); }
.dde-page-content ul, .dde-page-content ol { margin: 1rem 0 1.5rem 1.25rem; }
.dde-page-content li { margin-bottom: .5rem; }

/* About persona photo */
.dde-persona-photo {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: var(--dde-radius-lg);
  box-shadow: var(--dde-shadow-lg);
}

/* Contact form wrapper */
.dde-contact-form {
  margin: 2rem 0;
  background: var(--dde-bg);
  padding: 1rem;
  border-radius: var(--dde-radius-lg);
}

/* ============================================================
   11. SINGLE POST
   ============================================================ */
.dde-single {
  padding: clamp(2rem, 4vw, 3rem) 1.25rem clamp(3rem, 6vw, 5rem);
  background: var(--dde-bg);
}
.dde-single-inner { max-width: 760px; margin: 0 auto; }
.dde-single-meta {
  text-align: center;
  font-size: .85rem;
  color: var(--dde-text-soft);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.dde-single-meta a { color: var(--dde-accent); }
.dde-single h1 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.dde-single-excerpt {
  text-align: center;
  font-size: 1.15rem;
  color: var(--dde-text-soft);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.dde-single-thumb {
  margin-bottom: 2rem;
  border-radius: var(--dde-radius-lg);
  overflow: hidden;
  box-shadow: var(--dde-shadow);
}
.dde-single-thumb img { width: 100%; height: auto; display: block; }
.dde-single-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dde-text);
}
.dde-single-content > * { margin-bottom: 1.2rem; }
.dde-single-content h2, .dde-single-content h3 { margin-top: 2.2rem; }
.dde-single-content img { border-radius: var(--dde-radius); margin: 1.5rem auto; }
.dde-single-content blockquote {
  border-left: 3px solid var(--dde-accent);
  margin: 2rem 0;
  padding: .5rem 1.5rem;
  color: var(--dde-text);
  font-style: italic;
  background: var(--dde-surface);
  border-radius: 0 var(--dde-radius) var(--dde-radius) 0;
}
.dde-single-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dde-line);
  font-size: .9rem;
  color: var(--dde-text-soft);
}
.dde-single-tags a { color: var(--dde-primary); }

/* ============================================================
   12. FOOTER (washi columns - 4 cols)
   ============================================================ */
.dde-footer {
  background: #1a1a1a;
  color: #faf8f3;
  padding: 4rem 1.25rem 1.5rem;
  margin-top: 4rem;
  position: relative;
}
.dde-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dde-accent) 0%, var(--dde-accent) 33%, transparent 33%, transparent 66%, var(--dde-accent) 66%, var(--dde-accent) 100%);
}
.dde-footer-inner {
  max-width: var(--dde-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) { .dde-footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dde-footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.dde-footer-col h3.dde-footer-title {
  font-family: var(--dde-font-h);
  font-size: 1.05rem;
  color: var(--dde-accent);
  margin: 0 0 1.2rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(213,200,172,.25);
  letter-spacing: .03em;
}
.dde-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 120px;
  filter: brightness(0) invert(1) opacity(.95);
}
.dde-footer-brand-name {
  font-family: var(--dde-font-h);
  font-size: 1.3rem;
  color: #faf8f3;
  text-transform: lowercase;
  margin: 0 0 .8rem;
  font-weight: 600;
}
.dde-footer-brand-pitch {
  color: #d5c8ac;
  font-size: .94rem;
  line-height: 1.65;
  margin: 0 0 1.2rem;
}
.dde-footer-brand-cta {
  display: inline-block;
  color: var(--dde-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--dde-accent);
  padding-bottom: 2px;
  font-size: .92rem;
}
.dde-footer-brand-cta:hover { color: #fff; border-color: #fff; }

.dde-footer-links { list-style: none; margin: 0; padding: 0; }
.dde-footer-links li { margin-bottom: .55rem; }
.dde-footer-links a {
  color: #d5c8ac;
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s;
  border-bottom: 1px solid transparent;
}
.dde-footer-links a:hover { color: var(--dde-accent); border-bottom-color: var(--dde-accent); }

.dde-footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.dde-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(213,200,172,.1);
  color: #d5c8ac;
  border: 1px solid rgba(213,200,172,.15);
  transition: all .2s;
}
.dde-footer-social a:hover {
  background: var(--dde-accent);
  color: #fff;
  border-color: var(--dde-accent);
}
.dde-footer-social svg { width: 18px; height: 18px; }

.dde-footer-bottom {
  max-width: var(--dde-container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(213,200,172,.18);
  text-align: center;
  font-size: .85rem;
  color: #7a6a55;
}
.dde-footer-bottom a { color: #d5c8ac; }
.dde-footer-bottom a:hover { color: var(--dde-accent); }

/* ============================================================
   13. CONTENT REVEAL ON SCROLL (CTR animation)
   ============================================================ */
@keyframes dde-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dde-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.dde-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   14. SCARCITY COUNTDOWN TIMER (CTO animation)
   ============================================================ */
.dde-countdown {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(200,68,61,.1);
  color: var(--dde-accent);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(200,68,61,.25);
}
.dde-countdown-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dde-accent);
  animation: dde-pulse 1.4s ease-in-out infinite;
}
@keyframes dde-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .5; }
}

/* ============================================================
   15. TOOLS PAGES (page-templates/tool-*.php wrapper)
   ============================================================ */
.dde-tool-page {
  padding: clamp(2rem, 4vw, 3.5rem) 1.25rem clamp(3rem, 6vw, 5rem);
  background: var(--dde-bg);
}
.dde-tool-page-inner { max-width: 920px; margin: 0 auto; }
.dde-tool-page h1 {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem;
}
.dde-tool-intro {
  background: var(--dde-surface);
  padding: 1.5rem 1.8rem;
  border-radius: var(--dde-radius-lg);
  box-shadow: var(--dde-shadow);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--dde-text);
  margin-bottom: 2rem;
  border-left: 4px solid var(--dde-accent);
}
.dde-tool-intro p { margin-bottom: .9rem; }
.dde-tool-intro p:last-child { margin-bottom: 0; }
.dde-tool-intro a { color: var(--dde-primary); border-bottom: 1px dotted var(--dde-primary); }
.dde-tool-wrap {
  background: var(--dde-surface);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--dde-radius-lg);
  box-shadow: var(--dde-shadow);
  margin-bottom: 2rem;
}
.dde-tool-faq {
  background: var(--dde-surface);
  padding: 1.5rem 1.8rem;
  border-radius: var(--dde-radius-lg);
  box-shadow: var(--dde-shadow);
}
.dde-tool-faq h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--dde-primary);
}
.dde-tool-faq details {
  border-bottom: 1px solid var(--dde-line-soft);
  padding: 1rem 0;
}
.dde-tool-faq details:last-child { border-bottom: none; }
.dde-tool-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dde-text);
  font-size: 1.02rem;
  padding-right: 1rem;
  list-style: none;
}
.dde-tool-faq summary::-webkit-details-marker { display: none; }
.dde-tool-faq summary::after {
  content: "+";
  float: right;
  color: var(--dde-accent);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  transition: transform .2s;
}
.dde-tool-faq details[open] summary::after { content: "−"; }
.dde-tool-faq details > *:not(summary) {
  margin-top: .8rem;
  color: var(--dde-text-soft);
  line-height: 1.65;
}

/* ============================================================
   16. UTILS
   ============================================================ */
.dde-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;
}

/* Lock body scroll when drawer open */
body.dde-nav-open { overflow: hidden; }

/* ============================================================
   17. RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 720px) {
  .dde-header-inner { padding: .7rem 1rem; }
  .dde-brand-logo { height: 42px; }
  .dde-hero-actions { flex-direction: column; align-items: stretch; }
  .dde-hero-actions .dde-btn { width: 100%; }
  .dde-cats-grid { grid-template-columns: 1fr; }
  .dde-latest-grid { grid-template-columns: 1fr; }
}

/* Print */
@media print {
  .dde-header, .dde-footer, .dde-hero-actions { display: none; }
}
