/*
Theme Name: Junção de Nomes Light
Theme URI: https://br.namecombinertool.com/
Author: Junção de Nomes
Author URI: https://br.namecombinertool.com/
Description: Minimal custom theme for br.namecombinertool.com. Replaces GeneratePress + Elementor with one small stylesheet and vanilla JS. Same design, same content — no page builder, no jQuery. Brand: coral #FF6F91, plum #8E3B6B, gold #F6B93B, cream #FFF6ED, maroon #4A1E2C. Headings Fraunces 600, body Plus Jakarta Sans.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jdn-light
Tags: custom, minimal, fast, responsive, blog
*/

/* ============================================================
   1. Brand tokens
   ============================================================ */
:root {
  --jdn-coral: #FF6F91;
  --jdn-plum: #8E3B6B;
  --jdn-gold: #F6B93B;
  --jdn-cream: #FFF6ED;
  --jdn-maroon: #4A1E2C;
  --jdn-ink: #222222;
  --jdn-body: #3f4047;
  --jdn-muted: #636363;
  --jdn-border: rgba(74, 30, 44, 0.12);
  --jdn-card-shadow: 0 10px 30px rgba(74, 30, 44, 0.08);
  --jdn-card-shadow-hover: 0 16px 40px rgba(74, 30, 44, 0.14);
  --jdn-radius: 16px;
  --jdn-radius-sm: 10px;
  --jdn-container: 1200px;
  --jdn-content: 760px;
  --jdn-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --jdn-font-head: 'Fraunces', Georgia, serif;
}

/* ============================================================
   2. Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--jdn-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--jdn-body);
  background: #fff;
  /* overflow-x: clip (not hidden): hidden turns body into a scroll
     container in Chrome and kills position: sticky on the header.
     clip still hides horizontal overflow without breaking sticky. */
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
}

/* Keep bottom content clear of the sticky AdSense anchor ad
   (from wp-custom-css — kept verbatim). */
ins.adsbygoogle { display: block; min-height: 100px; }
body { padding-bottom: 154px !important; }

img, video, iframe { max-width: 100%; height: auto; }
img { border-style: none; }

a { color: var(--jdn-plum); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--jdn-coral); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--jdn-font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--jdn-maroon);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 1.6em; }
h3 { font-size: 1.35rem; margin-top: 1.5em; }
h4 { font-size: 1.18rem; margin-top: 1.3em; }
h5, h6 { font-size: 1rem; }

p { margin: 0 0 1.1em; }

/* v1.0.2: brand selection — solid coral, white text. */
::selection { background: var(--jdn-coral); color: #fff; }

/* Visible keyboard focus everywhere. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--jdn-plum);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--jdn-maroon);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* ============================================================
   3. Layout
   ============================================================ */
.jdn-container {
  max-width: var(--jdn-container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-content { padding: 40px 0 64px; }

/* Single post: content + right sidebar. */
.jdn-single-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

/* ============================================================
   4. Header (copied verbatim from the live site)
   ============================================================ */

  .jdn-header {
    --coral: #FF6F91;
    --plum: #8E3B6B;
    --gold: #F6B93B;
    --cream: #FFF6ED;
    --maroon: #4A1E2C;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--cream);
    border-bottom: 1px solid rgba(74,30,44,0.08);
    transition: padding .3s ease, box-shadow .3s ease, background .3s ease;
  }
  /* v1.0.2: frosted-glass header — blur where supported, solid cream fallback. */
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .jdn-header {
      background: rgba(255, 246, 237, 0.88);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
    }
  }
  .jdn-header * { box-sizing: border-box; }
  .jdn-header ul { list-style: none !important; margin: 0; padding: 0; }
  .jdn-header a { text-decoration: none !important; }

  .jdn-header--scrolled {
    box-shadow: 0 8px 30px rgba(74,30,44,0.12);
  }
  .jdn-header--scrolled .jdn-header__inner { padding: 10px 24px; }

  .jdn-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 24px;
    transition: padding .3s ease;
  }

  /* Logo */
  .jdn-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    animation: jdnFadeDown .5s ease both;
  }
  .jdn-header__logo-img { display: block; border-radius: 10px; }
  .jdn-header__logo-text {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--maroon);
    letter-spacing: -0.01em;
  }

  /* Nav */
  .jdn-header__nav { flex: 1; display: flex; justify-content: center; }
  .jdn-header__menu { display: flex; align-items: center; gap: 6px; }
  .jdn-header__item {
    position: relative;
    animation: jdnFadeDown .5s ease both;
  }
  .jdn-header__item:nth-child(1) { animation-delay: .05s; }
  .jdn-header__item:nth-child(2) { animation-delay: .1s; }
  .jdn-header__item:nth-child(3) { animation-delay: .15s; }
  .jdn-header__item:nth-child(4) { animation-delay: .2s; }
  .jdn-header__item:nth-child(5) { animation-delay: .25s; }

  .jdn-header__link, .jdn-header__dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--maroon);
    padding: 10px 14px 16px;
    transition: color .2s ease;
  }
  .jdn-header__link:hover, .jdn-header__dropdown-toggle:hover,
  .jdn-header__link.is-active, .jdn-header__dropdown-toggle.is-active {
    color: var(--plum);
    font-weight: 700;
  }
  /* v1.0.2: active section also gets a soft pill background. */
  .jdn-header__link.is-active, .jdn-header__dropdown-toggle.is-active {
    background: rgba(255, 111, 145, 0.10);
    border-radius: 999px;
  }

  /* Signature: woven-ribbon underline, echoes the logo mark */
  .jdn-header__link::after, .jdn-header__dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 34px;
    height: 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M2 8 C10 2, 14 8, 20 5 C26 2, 30 8, 38 2' stroke='%23FF6F91' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M2 5 C10 9, 14 3, 20 6 C26 9, 30 3, 38 6' stroke='%23F6B93B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(-50%) scaleX(0);
    opacity: 0;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  }
  .jdn-header__link:hover::after, .jdn-header__dropdown-toggle:hover::after,
  .jdn-header__link.is-active::after, .jdn-header__dropdown-toggle.is-active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }

  .jdn-header__chevron { color: var(--maroon); transition: transform .25s ease; }
  .jdn-header__dropdown-toggle[aria-expanded="true"] .jdn-header__chevron { transform: rotate(180deg); }

  /* Dropdown panel — v1.0.2: slightly longer fade + slide. */
  .jdn-header__dropdown {
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(74,30,44,0.14);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .28s cubic-bezier(.22, 1, .36, 1), transform .28s cubic-bezier(.22, 1, .36, 1), visibility .28s;
  }
  .jdn-header__item--dropdown:hover .jdn-header__dropdown,
  .jdn-header__item--dropdown.is-open .jdn-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  /* v1.0.4: after an explicit click-to-close while still hovering,
     hover alone must NOT reopen the panel — the click wins until the
     mouse leaves the item (main.js removes .is-hover-off on mouseout). */
  .jdn-header__item--dropdown.is-hover-off:hover .jdn-header__dropdown,
  .jdn-header__item--dropdown.is-hover-off .jdn-header__dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
  }
  .jdn-header__dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--maroon);
    border-left: 3px solid transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }
  .jdn-header__dropdown a:hover, .jdn-header__dropdown a.is-active {
    background: rgba(246,185,59,0.12);
    border-left-color: var(--gold);
    color: var(--plum);
  }

  /* CTA */
  .jdn-header__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(100deg, var(--coral), var(--gold) 150%);
    background-size: 180% 180%;
    background-position: 0% 50%;
    box-shadow: 0 6px 16px rgba(255,111,145,0.35);
    transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease;
    animation: jdnFadeDown .5s ease both;
    animation-delay: .3s;
  }
  .jdn-header__cta:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255,111,145,0.45);
  }
  /* v1.0.2: pressed state + letter spacing. */
  .jdn-header__cta { letter-spacing: 0.01em; }
  .jdn-header__cta:active { transform: translateY(0) scale(0.98); }
  /* Mobile-only CTA at the bottom of the slide-down panel (v1.0.2). */
  .jdn-header__cta--mobile { display: none; }

  /* Burger (mobile) */
  .jdn-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .jdn-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--maroon);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
  }
  .jdn-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .jdn-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .jdn-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Focus visibility */
  .jdn-header a:focus-visible, .jdn-header button:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 3px;
    border-radius: 6px;
  }

  @keyframes jdnFadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .jdn-header, .jdn-header * { animation: none !important; transition: none !important; }
    /* Nav items start at opacity 0 and only appear via the open
       animation — with animations killed they would stay invisible
       even with the menu open. Force them visible when open. */
    .jdn-header__nav.is-open .jdn-header__item { opacity: 1 !important; transform: none !important; }
  }

  /* Mobile — v1.0.4: the panel hangs BELOW the sticky header.
     It was position:fixed with top:var(--jdn-header-h); bottom:0 —
     but .jdn-header has backdrop-filter, which makes it the containing
     block for fixed descendants, so the fixed panel was squeezed to
     0px tall inside the 68px header (invisible, untappable) even
     though the toggle itself worked. position:absolute + top:100%
     hangs the panel under the header and it scrolls with it. */
  @media (max-width: 860px) {
    .jdn-header__nav {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 1000;
      background: var(--cream);
      display: flex;
      flex-direction: column;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transition: max-height .35s ease, opacity .3s ease, visibility .35s ease;
      justify-content: flex-start;
      border-bottom: 1px solid rgba(74,30,44,0.08);
      box-shadow: 0 24px 40px rgba(74,30,44,0.14);
    }
    .jdn-header__nav.is-open { max-height: calc(100vh - var(--jdn-header-h, 68px)); max-height: calc(100dvh - var(--jdn-header-h, 68px)); opacity: 1; visibility: visible; }
    .jdn-header__menu { flex-direction: column; align-items: stretch; width: 100%; padding: 12px 20px 20px; gap: 2px; flex: 1; overflow-y: auto; }
    .jdn-header__cta--mobile {
      display: inline-flex;
      justify-content: center;
      margin: 0 20px 24px;
      padding: 14px 22px;
      font-size: 15.5px;
    }
    .jdn-header__item { opacity: 0; transform: translateY(-6px); animation: none; }
    .jdn-header__nav.is-open .jdn-header__item {
      animation: jdnFadeDown .35s ease forwards;
    }
    .jdn-header__nav.is-open .jdn-header__item:nth-child(1) { animation-delay: .05s; }
    .jdn-header__nav.is-open .jdn-header__item:nth-child(2) { animation-delay: .1s; }
    .jdn-header__nav.is-open .jdn-header__item:nth-child(3) { animation-delay: .15s; }
    .jdn-header__nav.is-open .jdn-header__item:nth-child(4) { animation-delay: .2s; }
    .jdn-header__nav.is-open .jdn-header__item:nth-child(5) { animation-delay: .25s; }
    .jdn-header__link, .jdn-header__dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 8px; }
    .jdn-header__link::after, .jdn-header__dropdown-toggle::after { display: none; }
    .jdn-header__dropdown {
      position: static;
      opacity: 1; visibility: visible; transform: none;
      box-shadow: none; display: none; margin: 0 0 6px;
    }
    .jdn-header__item--dropdown.is-open .jdn-header__dropdown { display: block; }
    .jdn-header__cta:not(.jdn-header__cta--mobile) { display: none; }
    .jdn-header__burger { display: flex; }
    .jdn-header__logo-text { font-size: 17px; }
  }

/* ============================================================
   5. Footer (copied verbatim from the live site)
   ============================================================ */
.jdn-footer {
    --coral: #FF6F91;
    --plum: #8E3B6B;
    --gold: #F6B93B;
    --cream: #FFF6ED;
    --maroon: #4A1E2C;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background: var(--maroon);
    color: rgba(255,246,237,0.72);
    position: relative;
    overflow: hidden;
    /* v1.0.2: gradient divider line above the footer. */
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--coral), var(--gold), var(--plum)) 1;
  }
  .jdn-footer * { box-sizing: border-box; }
  .jdn-footer ul { list-style: none !important; margin: 0; padding: 0; }
  .jdn-footer a { text-decoration: none !important; }

  /* Faint ribbon glow in the background, echoes the logo without competing with content */
  .jdn-footer::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255,111,145,0.16), transparent 70%);
    pointer-events: none;
  }
  .jdn-footer::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(246,185,59,0.10), transparent 70%);
    pointer-events: none;
  }

  .jdn-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 28px;
    position: relative;
    z-index: 1;
  }

  .jdn-footer__top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
  }

  /* Scroll reveal */
  .jdn-footer__reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .jdn-footer__reveal.is-visible { opacity: 1; transform: translateY(0); }
  .jdn-footer__top .jdn-footer__reveal:nth-child(1) { transition-delay: 0s; }
  .jdn-footer__top .jdn-footer__reveal:nth-child(2) { transition-delay: .08s; }
  .jdn-footer__top .jdn-footer__reveal:nth-child(3) { transition-delay: .16s; }
  .jdn-footer__top .jdn-footer__reveal:nth-child(4) { transition-delay: .24s; }

  /* Brand block */
  .jdn-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .jdn-footer__logo img { display: block; border-radius: 9px; }
  .jdn-footer__logo span {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--cream);
  }
  .jdn-footer__about {
    font-size: 14px;
    line-height: 1.65;
    max-width: 320px;
    margin: 0;
    color: rgba(255,246,237,0.62);
  }

  /* Columns */
  .jdn-footer__col h3 {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 16px;
  }
  /* v1.0.2: short gold underline accent under column headings. */
  .jdn-footer__col h3::after {
    content: "";
    display: block;
    width: 26px;
    height: 3px;
    margin-top: 8px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--coral));
  }
  .jdn-footer__col li { margin-bottom: 11px; }
  .jdn-footer__col a {
    position: relative;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255,246,237,0.72);
    transition: color .2s ease, padding-left .2s ease;
    display: inline-block;
    padding-left: 0;
  }
  .jdn-footer__col a::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    transform: translateY(-50%) scale(0);
    transition: transform .2s ease;
  }
  .jdn-footer__col a:hover {
    color: var(--cream);
    padding-left: 14px;
  }
  .jdn-footer__col a:hover::before { transform: translateY(-50%) scale(1); }

  /* ---- Language switcher row (new) ---- */
  .jdn-footer__lang {
    padding-top: 28px;
    margin-top: 4px;
    border-top: 1px solid rgba(255,246,237,0.12);
  }
  .jdn-footer__lang h3 {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
  }
  .jdn-footer__lang-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  /* v1.0.2: language links as pill chips. */
  .jdn-footer__lang-list a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,246,237,0.78);
    white-space: nowrap;
    padding: 7px 14px;
    border: 1px solid rgba(255,246,237,0.22);
    border-radius: 999px;
    background: rgba(255,246,237,0.05);
    transition: color .2s ease, background .2s ease, border-color .2s ease;
  }
  .jdn-footer__lang-list a:hover {
    color: #fff;
    background: rgba(255, 111, 145, 0.18);
    border-color: rgba(255, 111, 145, 0.55);
  }
  .jdn-footer__lang-list a[aria-current="true"] {
    color: var(--gold);
    font-weight: 700;
    border-color: rgba(246, 185, 59, 0.55);
    background: rgba(246, 185, 59, 0.10);
  }

  /* Bottom bar — v1.0.2: copyright centred now that the button floats. */
  .jdn-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 28px 0 8px;
    border-top: 1px solid rgba(255,246,237,0.12);
    font-size: 13px;
    color: rgba(255,246,237,0.5);
  }

  /* Floating back-to-top (v1.0.2): fixed round coral-gradient button,
     hidden until main.js adds .is-visible after 600px of scroll.
     bottom:170px keeps it clear of the sticky AdSense anchor ad. */
  .jdn-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 170px;
    z-index: 998;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--coral), var(--gold) 150%);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 111, 145, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease, box-shadow .2s ease;
  }
  .jdn-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
  .jdn-back-to-top:hover { box-shadow: 0 12px 26px rgba(255, 111, 145, 0.55); transform: translateY(-2px); }
  .jdn-back-to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  .jdn-footer a:focus-visible, .jdn-footer button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
  }

  @media (prefers-reduced-motion: reduce) {
    .jdn-footer, .jdn-footer * { transition: none !important; }
    .jdn-footer__reveal { opacity: 1 !important; transform: none !important; }
  }

  @media (max-width: 860px) {
    .jdn-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .jdn-footer__brand { grid-column: 1 / -1; }
    .jdn-footer__about { max-width: 100%; }
    .jdn-footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  }
  @media (max-width: 480px) {
    .jdn-footer__top { grid-template-columns: 1fr; }
  }

/* ============================================================
   6. Entry content — Gutenberg blocks used on this site
   ============================================================ */
.entry-content { font-size: 17px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { line-height: 1.75; }

/* v1.0.2: modern in-text links — plum with a soft coral underline that fills on hover. */
.entry-content p a, .entry-content li a {
  color: var(--jdn-plum);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 111, 145, 0.55);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.entry-content p a:hover, .entry-content li a:hover {
  color: var(--jdn-coral);
  text-decoration-color: var(--jdn-coral);
}

.entry-content h2 {
  padding-bottom: 0.35em;
  border-bottom: 2px solid rgba(246, 185, 59, 0.35);
}

.entry-content ul, .entry-content ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.45em; }
.entry-content li::marker { color: var(--jdn-coral); font-weight: 700; }
.entry-content li strong { color: var(--jdn-maroon); }

/* v1.0.2: "Veja Também" / "Outras Ferramentas de Nomes" lists as cards.
   The class is added by main.js (the content has a plain H2 + plain UL). */
.entry-content ul.jdn-see-also {
  list-style: none;
  padding: 0;
  margin: 1.4em 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.entry-content ul.jdn-see-also li { margin: 0; }
.entry-content ul.jdn-see-also li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--jdn-border);
  border-radius: var(--jdn-radius-sm);
  box-shadow: var(--jdn-card-shadow);
  color: var(--jdn-maroon);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.entry-content ul.jdn-see-also li a::after {
  content: "\2192";
  color: var(--jdn-coral);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.entry-content ul.jdn-see-also li a:hover {
  transform: translateY(-2px);
  box-shadow: var(--jdn-card-shadow-hover);
  border-color: rgba(255, 111, 145, 0.45);
  color: var(--jdn-plum);
}
.entry-content ul.jdn-see-also li a:hover::after { transform: translateX(3px); }

/* "Veja Também" and related link lists. */
.entry-content ul li a { font-weight: 500; }

/* Images. */
.entry-content figure { margin: 1.6em 0; }
.entry-content img { border-radius: var(--jdn-radius); }
.entry-content figcaption {
  font-size: 14px;
  color: var(--jdn-muted);
  text-align: center;
  margin-top: 0.6em;
}
.wp-block-image img { border-radius: var(--jdn-radius); }

/* Tables (examples tables on tool pages). */
.entry-content table, .wp-block-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.4em 0;
  font-size: 15.5px;
  border: 1px solid var(--jdn-border);
  border-radius: var(--jdn-radius-sm);
  overflow: hidden;
}
.entry-content th, .wp-block-table th {
  background: var(--jdn-cream);
  color: var(--jdn-maroon);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--jdn-border);
}
.entry-content td, .wp-block-table td { padding: 11px 16px; border-bottom: 1px solid rgba(74, 30, 44, 0.06); }
.entry-content tr:last-child td { border-bottom: none; }
.entry-content tbody tr:nth-child(even) { background: rgba(255, 246, 237, 0.5); }
/* v1.0.2: wide tables scroll sideways on phones instead of clipping. */
.entry-content .wp-block-table { overflow-x: auto; }

/* v1.0.2: selects (tool pages) match the inputs — rounded, custom chevron, coral focus. */
.entry-content select, select {
  font-family: inherit;
  font-size: 15px;
  color: var(--jdn-ink);
  padding: 11px 36px 11px 16px;
  border: 1.5px solid var(--jdn-border);
  border-radius: 999px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238E3B6B' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 6px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.entry-content select:focus, select:focus {
  border-color: var(--jdn-coral);
  box-shadow: 0 0 0 3px rgba(255, 111, 145, 0.18);
  outline: none;
}

/* Blockquotes — v1.0.2: serif italic quote text. */
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--jdn-coral);
  background: var(--jdn-cream);
  border-radius: 0 var(--jdn-radius-sm) var(--jdn-radius-sm) 0;
}
.entry-content blockquote p {
  font-family: var(--jdn-font-head);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--jdn-maroon);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

/* Group blocks as callout cards (v1.0.2). Note: no "Descobrir mais"
   boxes were found in the served post HTML — if such link boxes exist
   they are plain paragraphs, covered by the in-text link treatment
   above. Groups render as callouts; .jdn-callout is the same style
   for future Custom HTML blocks. */
.entry-content .wp-block-group, .entry-content .jdn-callout {
  background: var(--jdn-cream);
  border: 1px solid rgba(246, 185, 59, 0.45);
  border-left: 4px solid var(--jdn-gold);
  border-radius: var(--jdn-radius-sm);
  padding: 18px 22px;
}
.entry-content .wp-block-group > *:last-child, .entry-content .jdn-callout > *:last-child { margin-bottom: 0; }

/* Buttons. */
.wp-block-button__link, .wp-element-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--jdn-coral), var(--jdn-gold) 150%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 111, 145, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-button__link:hover, .wp-element-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 111, 145, 0.45);
  color: #fff;
}

/* FAQ — the site uses H3 + paragraph FAQs; details/summary styled too.
   v1.0.2: plus/minus indicator that flips when open. */
.entry-content details {
  border: 1px solid var(--jdn-border);
  border-radius: var(--jdn-radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}
.entry-content details[open] { box-shadow: var(--jdn-card-shadow); }
.entry-content summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--jdn-maroon);
  cursor: pointer;
  list-style: none;
}
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--jdn-cream);
  color: var(--jdn-plum);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.entry-content details[open] summary::after {
  content: "\2013";
  background: linear-gradient(100deg, var(--jdn-coral), var(--jdn-gold) 150%);
  color: #fff;
}

/* Code. */
.entry-content code {
  background: rgba(74, 30, 44, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}
.entry-content pre {
  background: var(--jdn-maroon);
  color: var(--jdn-cream);
  padding: 18px 20px;
  border-radius: var(--jdn-radius-sm);
  overflow-x: auto;
}
.entry-content pre code { background: none; padding: 0; color: inherit; }

/* Separators, spacers, groups. */
.wp-block-separator { border: none; border-top: 1px solid var(--jdn-border); margin: 2em auto; }
.wp-block-group { margin: 1.4em 0; }

/* Tool shortcode output lives inside .entry-content — keep it roomy. */
.entry-content .jdn-tool, .entry-content [class*="jdn-"] { scroll-margin-top: 90px; }

/* ============================================================
   7. Pages — title + featured image
   ============================================================ */
.jdn-page .entry-header { margin-bottom: 8px; }
.jdn-page .entry-title { margin-bottom: 0.4em; }
.jdn-featured-image { margin: 0 0 1.8em; }
.jdn-featured-image img { border-radius: var(--jdn-radius); width: 100%; }

/* ============================================================
   8. Single post
   ============================================================ */
.jdn-single .featured-image { margin: 0 0 1.6em; }
.jdn-single .featured-image img { border-radius: var(--jdn-radius); width: 100%; box-shadow: var(--jdn-card-shadow); }
.jdn-single .entry-title { margin-bottom: 0.35em; }

/* v1.0.2: drop cap on the first paragraph of the post body. */
.jdn-single .entry-content > p:first-of-type::first-letter {
  font-family: var(--jdn-font-head);
  font-weight: 600;
  font-size: 3.4em;
  line-height: 0.85;
  float: left;
  padding: 0.08em 0.12em 0 0;
  color: var(--jdn-coral);
}

/* v1.0.2: meta as small pills with icons. */
.entry-meta .jdn-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--jdn-cream);
  border: 1px solid rgba(74, 30, 44, 0.08);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--jdn-body);
}
.entry-meta .jdn-meta-pill svg { color: var(--jdn-plum); flex-shrink: 0; }
.entry-meta .jdn-meta-pill a { color: var(--jdn-plum); }

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--jdn-muted);
  margin-bottom: 1.6em;
}
.entry-meta a { color: var(--jdn-plum); text-decoration: none; font-weight: 500; }
.entry-meta a:hover { color: var(--jdn-coral); }
.entry-meta .updated { margin-left: 8px; color: var(--jdn-muted); }

.jdn-single .entry-meta:last-child, .jdn-single footer.entry-meta {
  margin: 2.2em 0 0;
  padding-top: 1.4em;
  border-top: 1px solid var(--jdn-border);
  display: block;
}
.cat-links { display: block; margin-bottom: 1.2em; font-size: 14.5px; }
.cat-links a {
  display: inline-block;
  background: var(--jdn-cream);
  color: var(--jdn-plum);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none;
  margin-right: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.cat-links a:hover { background: var(--jdn-coral); color: #fff; }

/* Prev / next post navigation. */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-navigation .prev, .post-navigation .next { display: block; }
.post-navigation a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--jdn-border);
  border-radius: var(--jdn-radius-sm);
  background: #fff;
  color: var(--jdn-maroon);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.post-navigation a:hover {
  box-shadow: var(--jdn-card-shadow);
  transform: translateY(-2px);
  border-color: rgba(255, 111, 145, 0.4);
  color: var(--jdn-plum);
}
.post-navigation .nav-next { text-align: right; }

/* v1.0.2: "Anterior / Próximo" labels above the linked titles. */
.jdn-post-nav__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--jdn-muted);
  margin-bottom: 5px;
}

/* v1.0.2: "Leia também" related posts (rendered by single.php). */
.jdn-related { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--jdn-border); }
.jdn-related__title {
  margin: 0 0 1em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid rgba(246, 185, 59, 0.35);
}

/* ============================================================
   9. Sidebar widgets
   ============================================================ */
.widget-area .widget {
  background: #fff;
  border: 1px solid var(--jdn-border);
  border-radius: var(--jdn-radius);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--jdn-card-shadow);
}
.widget-title, .widget h2 {
  font-family: var(--jdn-font-head);
  font-size: 1.15rem;
  color: var(--jdn-maroon);
  margin: 0 0 14px;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin-bottom: 10px; }
.widget li:last-child { margin-bottom: 0; }
.widget li a {
  color: var(--jdn-body);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.widget li a:hover { color: var(--jdn-plum); }
.widget_search .wp-block-search__inside-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
.widget_search .wp-block-search__inside-wrapper .wp-block-search__input { flex: 1 1 160px; min-width: 0; }
.widget_search .wp-block-search__inside-wrapper .wp-block-search__button { flex-shrink: 0; }

/* ============================================================
   10. Search forms + buttons
   ============================================================ */
.search-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.search-field, input[type="search"], input[type="text"], input[type="email"], textarea {
  flex: 1 1 160px;
  min-width: 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--jdn-ink);
  padding: 11px 16px;
  border: 1.5px solid var(--jdn-border);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-field:focus, input[type="search"]:focus, input[type="text"]:focus,
input[type="email"]:focus, textarea:focus {
  border-color: var(--jdn-coral);
  box-shadow: 0 0 0 3px rgba(255, 111, 145, 0.18);
  outline: none;
}
.search-submit, button[type="submit"] {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(100deg, var(--jdn-coral), var(--jdn-gold) 150%);
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 111, 145, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.search-submit:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 111, 145, 0.45);
}

/* ============================================================
   11. Blog listing / archive / search cards
   ============================================================ */
.page-header { margin-bottom: 28px; }
.page-header .page-title { margin-bottom: 0.2em; }
.archive-description { color: var(--jdn-muted); max-width: var(--jdn-content); }

.jdn-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.jdn-card {
  background: #fff;
  border: 1px solid var(--jdn-border);
  border-radius: var(--jdn-radius);
  overflow: hidden;
  box-shadow: var(--jdn-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.jdn-card:hover { transform: translateY(-4px); box-shadow: var(--jdn-card-shadow-hover); }
.jdn-card__thumb { display: block; overflow: hidden; }
.jdn-card__thumb img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.35s ease;
}
.jdn-card:hover .jdn-card__thumb img { transform: scale(1.04); }
.jdn-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.jdn-card__cats { margin: 0 0 8px; }
.jdn-card__cats a {
  display: inline-block;
  background: var(--jdn-cream);
  color: var(--jdn-plum);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.jdn-card__cats a:hover { background: var(--jdn-coral); color: #fff; }
.jdn-card__title { font-size: 1.2rem; margin: 0 0 6px; }
.jdn-card__title a { color: var(--jdn-maroon); text-decoration: none; }
.jdn-card__title a:hover { color: var(--jdn-plum); }
.jdn-card__meta { font-size: 13.5px; color: var(--jdn-muted); margin: 0 0 10px; }
.jdn-card__excerpt { font-size: 15px; margin: 0 0 14px; flex: 1; }
.jdn-card__more {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--jdn-plum);
  text-decoration: none;
}
.jdn-card__more:hover { color: var(--jdn-coral); }

.jdn-pagination { margin-top: 36px; }
.jdn-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.jdn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--jdn-border);
  border-radius: 999px;
  color: var(--jdn-maroon);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.jdn-pagination .page-numbers:hover { border-color: var(--jdn-coral); color: var(--jdn-plum); }
.jdn-pagination .page-numbers.current {
  background: linear-gradient(100deg, var(--jdn-coral), var(--jdn-gold) 150%);
  border-color: transparent;
  color: #fff;
}

.jdn-search-count { color: var(--jdn-muted); font-size: 15px; }

/* ============================================================
   14. v1.0.2 — Blog page: Latest Posts block as post cards
   ============================================================ */
/* The /blog/ page (ID 98) is a Gutenberg page whose only content is a
   Latest Posts block. With the block settings "Exibir imagem destacada",
   "Exibir resumo" and "Exibir data da publicação" enabled, each item
   renders as a full card; with titles only (current state) each item
   renders as a clean row — never a bare blue link. */
.page-id-98 .entry-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  padding-bottom: 0.35em;
  border-bottom: 2px solid rgba(246, 185, 59, 0.35);
}

.entry-content .wp-block-latest-posts__list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.entry-content .wp-block-latest-posts__list li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--jdn-border);
  border-radius: var(--jdn-radius);
  overflow: hidden;
  box-shadow: var(--jdn-card-shadow);
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.entry-content .wp-block-latest-posts__list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--jdn-card-shadow-hover);
}
/* Featured image (only present when the block setting is enabled). */
.entry-content .wp-block-latest-posts__featured-image {
  overflow: hidden;
  margin: 0;
}
.entry-content .wp-block-latest-posts__featured-image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.35s ease;
}
.entry-content .wp-block-latest-posts__list li:hover .wp-block-latest-posts__featured-image img {
  transform: scale(1.04);
}
.entry-content .wp-block-latest-posts__post-title {
  display: block;
  font-family: var(--jdn-font-head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--jdn-maroon);
  text-decoration: none;
  padding: 20px 22px 0;
}
.entry-content .wp-block-latest-posts__post-title:hover { color: var(--jdn-plum); }
.entry-content .wp-block-latest-posts__post-date {
  display: block;
  font-size: 13.5px;
  color: var(--jdn-muted);
  padding: 6px 22px 0;
}
.entry-content .wp-block-latest-posts__post-excerpt {
  font-size: 15px;
  color: var(--jdn-body);
  padding: 10px 22px 0;
  margin: 0;
  flex: 1;
}
/* "Ler mais" — appended by main.js (the block outputs no such link). */
.entry-content .wp-block-latest-posts__read-more {
  display: inline-block;
  margin: 14px 22px 22px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--jdn-plum);
  text-decoration: none;
}
.entry-content .wp-block-latest-posts__read-more:hover { color: var(--jdn-coral); }
/* Title-only fallback (no image/excerpt/date enabled): the card keeps
   its padding and reads as a clean row with a gold left accent. */
.entry-content .wp-block-latest-posts__list li:not(:has(.wp-block-latest-posts__featured-image)) .wp-block-latest-posts__post-title {
  border-left: 4px solid var(--jdn-gold);
  padding-left: 18px;
  margin: 20px 22px 22px;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
}
/* Non-grid variant (if the block's grid setting is ever turned off). */
.entry-content .wp-block-latest-posts__list:not(.is-grid) {
  grid-template-columns: 1fr;
}

/* ============================================================
   12. 404
   ============================================================ */
.jdn-404-inner { text-align: center; max-width: 640px; padding: 48px 24px 24px; }
.jdn-404-code {
  font-family: var(--jdn-font-head);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 600;
  line-height: 1;
  margin: 0;
  background: linear-gradient(100deg, var(--jdn-coral), var(--jdn-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jdn-404 .search-form { margin: 24px auto; justify-content: center; }
.jdn-404-links {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.jdn-404-links a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--jdn-border);
  border-radius: 999px;
  color: var(--jdn-maroon);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.jdn-404-links a:hover { border-color: var(--jdn-coral); color: var(--jdn-plum); box-shadow: var(--jdn-card-shadow); }

/* ============================================================
   13. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .jdn-post-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-content .wp-block-latest-posts__list { grid-template-columns: repeat(2, 1fr); }
  .jdn-single-wrap { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-content { padding: 28px 0 48px; }
  .jdn-single-wrap { grid-template-columns: 1fr; }
  .jdn-post-grid { grid-template-columns: 1fr; }
  .entry-content .wp-block-latest-posts__list { grid-template-columns: 1fr; }
  .entry-content ul.jdn-see-also { grid-template-columns: 1fr; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
  .entry-content table, .wp-block-table table { font-size: 14px; }
  .jdn-back-to-top { bottom: 168px; right: 14px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
