/* ==========================================================================
   Le Petit Media — Custom Theme Stylesheet
   Design system: Vintage Black & White (vintage-bw-01)
   Fonts: Playfair Display (headings) + Source Serif Pro (body)
   ========================================================================== */

:root {
  /* Palette — Vintage Black & White, DB pick */
  --dc1-primary:   #1A1A1A;
  --dc1-accent:    #8B7355;
  --dc1-bg:        #F5F0E8;
  --dc1-surface:   #FFFFFF;
  --dc1-text:      #1A1A1A;
  --dc1-text-soft: #5A4F3A;
  --dc1-line:      #C0B5A0;
  --dc1-shadow:    rgba(26, 26, 26, 0.08);
  --dc1-radius:    2px;
  --dc1-content-w: 1180px;
  --dc1-narrow-w:  760px;

  /* Typography */
  --dc1-font-h:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --dc1-font-b:    'Source Serif Pro', Georgia, serif;

  /* Spacing */
  --dc1-gap-xs:    .4rem;
  --dc1-gap-sm:    .8rem;
  --dc1-gap-md:    1.4rem;
  --dc1-gap-lg:    2.4rem;
  --dc1-gap-xl:    4rem;
}

/* ==========================================================================
   Base reset + body
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.dc1-body {
  margin: 0;
  font-family: var(--dc1-font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--dc1-text);
  background: var(--dc1-bg);
  font-feature-settings: 'liga' 1, 'kern' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.dc1-nav-locked { overflow: hidden; }

main, .dc1-main { padding-top: 0 !important; margin-top: 0 !important; display: block; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dc1-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease; }
a:hover, a:focus { color: var(--dc1-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dc1-font-h);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dc1-primary);
  margin: 0 0 .8em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; }

.dc1-skip-link { position: absolute; left: -9999px; }
.dc1-skip-link:focus { left: 1rem; top: 1rem; z-index: 10000; background: #000; color: #fff; padding: .6rem 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ==========================================================================
   HEADER (logo-left-menu-right)
   ========================================================================== */
.dc1-header {
  background: var(--dc1-surface);
  border-bottom: 1px solid var(--dc1-line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(192, 181, 160, .4);
}
.dc1-header-inner {
  max-width: var(--dc1-content-w);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.dc1-brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--dc1-primary);
  flex-shrink: 0;
}
.dc1-brand:hover { color: var(--dc1-accent); }
.dc1-brand-logo {
  /* hauteur auto pour respecter dc1_logo_size du customizer */
  width: auto;
  max-width: 220px;
}
.dc1-brand-name {
  font-family: var(--dc1-font-h);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
}
.dc1-nav-desktop { display: none; }
.dc1-nav-desktop-list {
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: 1.2rem 1.5rem; list-style: none; margin: 0; padding: 0;
  justify-content: center;
}
.dc1-nav-desktop-list a {
  font-family: var(--dc1-font-b);
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--dc1-text);
  padding: .4rem .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.dc1-nav-desktop-list a:hover, .dc1-nav-desktop-list a:focus { border-bottom-color: var(--dc1-accent); color: var(--dc1-accent); }

.dc1-header-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.dc1-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.4rem;
  font-family: var(--dc1-font-b);
  font-size: .95rem; font-weight: 600;
  text-decoration: none;
  border-radius: var(--dc1-radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  letter-spacing: .02em;
}
.dc1-btn--cta {
  background: linear-gradient(135deg, var(--dc1-primary) 0%, #2a2a2a 50%, var(--dc1-accent) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--dc1-bg);
  animation: dc1-cta-gradient-shift 6s ease-in-out infinite;
}
.dc1-btn--cta:hover, .dc1-btn--cta:focus {
  background-position: 100% 50%;
  color: var(--dc1-bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 26, 26, .25);
}
@keyframes dc1-cta-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.dc1-btn--ghost {
  background: transparent; color: var(--dc1-primary);
  border-color: var(--dc1-primary);
}
.dc1-btn--ghost:hover, .dc1-btn--ghost:focus {
  background: var(--dc1-primary); color: var(--dc1-bg);
}

/* ==========================================================================
   Burger
   ========================================================================== */
.dc1-burger {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92);
  border: 1.5px solid rgba(0, 0, 0, .18);
  border-radius: 8px;
  width: 42px; height: 42px;
  min-width: 42px; min-height: 42px;
  padding: 8px;
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
  color: var(--dc1-primary);
}
.dc1-burger-bars { display: flex; flex-direction: column; gap: 4px; width: 24px; height: 16px; }
.dc1-burger-bars span { display: block; height: 2px; background: currentColor; width: 100%; transition: transform .25s, opacity .2s; }
.dc1-burger[aria-expanded="true"] .dc1-burger-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.dc1-burger[aria-expanded="true"] .dc1-burger-bars span:nth-child(2) { opacity: 0; }
.dc1-burger[aria-expanded="true"] .dc1-burger-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Mobile Nav drawer
   ========================================================================== */
.dc1-nav-mobile { display: none; }
.dc1-nav-mobile-overlay { display: none !important; }
.dc1-nav-mobile-list { list-style: none; padding: 0; margin: 0; }
.dc1-nav-mobile-list li { border-bottom: 1px solid var(--dc1-line); }
.dc1-nav-mobile-list a {
  display: block; padding: 1.1rem 1.5rem;
  font-family: var(--dc1-font-h); font-size: 1.15rem; font-weight: 700;
  text-decoration: none; color: var(--dc1-primary);
  background: transparent;
}
.dc1-nav-mobile-list a:hover, .dc1-nav-mobile-list a:focus { background: var(--dc1-bg); color: var(--dc1-accent); }
.dc1-nav-mobile-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: transparent; border: none; cursor: pointer;
  font-size: 2rem; line-height: 1;
  color: var(--dc1-primary);
}

@media (max-width: 1023px) {
  .dc1-nav-mobile {
    display: none;
  }
  .dc1-nav-mobile.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 380px;
    background: #fff; padding: 4.5rem 0 1.5rem;
    z-index: 9999; overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .3);
    animation: dc1-slide-in .25s ease-out;
  }
  .dc1-header-cta-desktop,
  .dc1-header [class*="-btn--cta"]:not([class*="-drawer-"]) { display: none !important; }
  .dc1-drawer-cta {
    display: block !important;
    margin: 2rem 1.5rem 1.5rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--dc1-primary) !important;
    color: var(--dc1-bg) !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
  }
}
@keyframes dc1-slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@media (min-width: 1024px) {
  .dc1-nav-desktop {
    display: flex; flex: 1; flex-direction: column;
    justify-content: center; align-items: center;
    gap: .5rem; margin: 0 1.2rem;
  }
  .dc1-burger { display: none !important; }
  .dc1-drawer-cta { display: none !important; }
}

/* ==========================================================================
   HERO (zoom-on-scroll)
   ========================================================================== */
.dc1-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--dc1-primary);
  color: #fff;
}
.dc1-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .1s linear;
  will-change: transform;
  z-index: 1;
}
.dc1-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--dc1-narrow-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  color: #fff;
}
.dc1-hero-eyebrow {
  display: inline-block;
  font-family: var(--dc1-font-b);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--dc1-bg);
  margin-bottom: 1.2rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(245, 240, 232, .55);
  background: rgba(26, 26, 26, .35);
}
.dc1-hero-title {
  font-family: var(--dc1-font-h);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
  line-height: 1.1;
}
.dc1-hero-subtitle {
  font-family: var(--dc1-font-b);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--dc1-bg);
  margin: 0 0 1.8rem;
  font-style: italic;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.dc1-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.dc1-hero-actions .dc1-btn { padding: .9rem 1.8rem; }
.dc1-hero-actions .dc1-btn--ghost { color: #fff; border-color: #fff; }
.dc1-hero-actions .dc1-btn--ghost:hover { background: #fff; color: var(--dc1-primary); }

/* ==========================================================================
   Editorial intro / sections texte SEO
   ========================================================================== */
.dc1-editorial {
  background: var(--dc1-bg);
  padding: var(--dc1-gap-xl) 1.5rem;
}
.dc1-editorial-inner {
  max-width: var(--dc1-narrow-w);
  margin: 0 auto;
}
.dc1-editorial-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--dc1-font-b);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--dc1-accent);
  margin-bottom: 1rem;
}
.dc1-editorial h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 1.4rem;
}
.dc1-editorial h2::after {
  content: ""; display: block;
  width: 60px; height: 2px;
  background: var(--dc1-accent);
  margin: 1rem auto 0;
}
.dc1-editorial p {
  font-size: 1.08rem;
  color: var(--dc1-text-soft);
  margin-bottom: 1.2em;
}
.dc1-editorial p:first-of-type::first-line {
  font-weight: 600;
  color: var(--dc1-primary);
}
.dc1-editorial h3 {
  font-size: 1.35rem;
  margin-top: 2.2rem;
  margin-bottom: .8rem;
  color: var(--dc1-primary);
}
.dc1-editorial-pull {
  font-style: italic;
  font-family: var(--dc1-font-h);
  font-size: 1.4rem;
  color: var(--dc1-accent);
  border-left: 3px solid var(--dc1-accent);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 2rem 0;
}

/* ==========================================================================
   Category sections on home (by-category mode)
   ========================================================================== */
.dc1-cat-section {
  padding: var(--dc1-gap-xl) 1.5rem;
  border-bottom: 1px solid var(--dc1-line);
}
.dc1-cat-section:nth-child(even) { background: var(--dc1-surface); }
.dc1-cat-section-inner {
  max-width: var(--dc1-content-w);
  margin: 0 auto;
}
.dc1-cat-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid var(--dc1-primary);
  padding-bottom: .8rem;
  margin-bottom: 2rem;
}
.dc1-cat-section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.dc1-cat-section-head h2 a {
  color: var(--dc1-primary);
  text-decoration: none;
}
.dc1-cat-section-head h2 a:hover { color: var(--dc1-accent); }
.dc1-cat-section-link {
  font-family: var(--dc1-font-b);
  font-size: .9rem; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dc1-accent);
  text-decoration: none;
  white-space: nowrap;
}
.dc1-cat-section-link:hover { color: var(--dc1-primary); }

.dc1-cat-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

/* ==========================================================================
   Article card
   ========================================================================== */
.dc1-card {
  display: flex; flex-direction: column;
  background: var(--dc1-surface);
  border: 1px solid var(--dc1-line);
  transition: box-shadow .3s ease, transform .3s ease;
}
.dc1-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--dc1-bg);
}
.dc1-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.dc1-card:hover .dc1-card-thumb img { transform: scale(1.04); }
.dc1-card-body {
  padding: 1.4rem;
  display: flex; flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.dc1-card-cat {
  font-family: var(--dc1-font-b);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--dc1-accent);
  text-decoration: none;
}
.dc1-card-cat:hover { color: var(--dc1-primary); }
.dc1-card-title {
  font-family: var(--dc1-font-h);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.dc1-card-title a { color: var(--dc1-primary); text-decoration: none; }
.dc1-card-title a:hover { color: var(--dc1-accent); }
.dc1-card-meta {
  font-family: var(--dc1-font-b);
  font-size: .85rem;
  color: var(--dc1-text-soft);
  margin-top: auto;
}
.dc1-card-excerpt {
  font-family: var(--dc1-font-b);
  font-size: .98rem;
  color: var(--dc1-text-soft);
  line-height: 1.55;
}
.dc1-cat-empty {
  padding: 2rem;
  background: var(--dc1-bg);
  text-align: center;
  border: 1px dashed var(--dc1-line);
}
.dc1-cat-empty a {
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  font-size: .9rem;
}

/* ==========================================================================
   Categories grid (rubriques) — fallback or showcase
   ========================================================================== */
.dc1-categories {
  padding: var(--dc1-gap-xl) 1.5rem;
  background: var(--dc1-bg);
}
.dc1-categories-inner {
  max-width: var(--dc1-content-w);
  margin: 0 auto;
}
.dc1-categories-head {
  text-align: center; margin-bottom: 2.5rem;
}
.dc1-categories-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: .5rem;
}
.dc1-categories-head p {
  color: var(--dc1-text-soft);
  font-style: italic;
  font-size: 1.05rem;
}
.dc1-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.dc1-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--dc1-primary);
  transition: transform .3s ease, box-shadow .3s ease;
}
.dc1-cat-card-img {
  display: block;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
  filter: grayscale(.15) sepia(.08);
}
.dc1-cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, .25) 0%, rgba(26, 26, 26, .85) 100%);
  display: flex; align-items: flex-end;
  padding: 1.4rem;
}
.dc1-cat-card-name {
  font-family: var(--dc1-font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
.dc1-cat-card:hover { transform: translateY(-2px); }
.dc1-cat-card:hover .dc1-cat-card-img { transform: scale(1.08); }

/* ==========================================================================
   Metrics links block (rendered via dc1_render_metrics_links)
   ========================================================================== */
.dc1-metrics {
  padding: var(--dc1-gap-xl) 1.5rem;
  background: var(--dc1-surface);
  border-top: 1px solid var(--dc1-line);
  border-bottom: 1px solid var(--dc1-line);
}
.dc1-metrics-inner {
  max-width: var(--dc1-content-w);
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   FOOTER (archive_columns)
   ========================================================================== */
.dc1-footer {
  background: #fff;
  color: #000;
  padding: var(--dc1-gap-xl) 1.5rem 0;
  margin-top: var(--dc1-gap-xl);
  border-top: 1px solid rgba(0, 0, 0, .12);
}
.dc1-footer-inner {
  max-width: var(--dc1-content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.dc1-footer-col,
.dc1-footer-col * { color: #000 !important; }
.dc1-footer-col h3.dc1-footer-title {
  font-family: var(--dc1-font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: #000 !important;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
  padding-bottom: .6rem;
}
.dc1-footer-logo { filter: none; opacity: 1; }
.dc1-footer-brand-pitch {
  color: #000 !important;
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
}
.dc1-footer-brand-cta {
  display: inline-block;
  font-family: var(--dc1-font-b);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #000 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.dc1-footer-brand-cta:hover { color: #000 !important; }

.dc1-footer-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: .65rem;
}
.dc1-footer-links a {
  color: #000 !important;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, .35);
  text-underline-offset: 3px;
  font-size: .95rem;
  transition: color .2s;
}
.dc1-footer-links a:hover, .dc1-footer-links a:focus {
  color: #000 !important;
  text-decoration-color: currentColor;
}

.dc1-footer-bottom {
  max-width: var(--dc1-content-w);
  margin: 2.5rem auto 0;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(0, 0, 0, .25);
  text-align: center;
}
.dc1-footer-bottom p {
  color: #000 !important;
  font-size: .9rem;
  margin: 0;
  font-style: italic;
}

@media (max-width: 900px) {
  .dc1-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .dc1-footer-inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Persona photo (about page)
   ========================================================================== */
.dc1-persona-photo {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.5rem;
  border: 6px solid var(--dc1-surface);
  box-shadow: 0 10px 30px var(--dc1-shadow);
  filter: sepia(.12) saturate(.95);
}

/* ==========================================================================
   Page content (a-propos, contact, tool pages)
   ========================================================================== */
.dc1-page-hero {
  background: var(--dc1-bg);
  padding: 3rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--dc1-line);
}
.dc1-page-hero-inner {
  max-width: var(--dc1-narrow-w);
  margin: 0 auto;
  text-align: center;
}
.dc1-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .6rem;
}
.dc1-page-hero p {
  color: var(--dc1-text-soft);
  font-style: italic;
  font-size: 1.1rem;
}
.dc1-page-content {
  max-width: var(--dc1-narrow-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.dc1-page-content h2 { margin-top: 2.4rem; }
.dc1-page-content h3 { margin-top: 1.8rem; color: var(--dc1-accent); }
.dc1-page-content ul, .dc1-page-content ol { margin: 1rem 0 1.4rem 1.5rem; }
.dc1-page-content li { margin-bottom: .5rem; }

/* JotForm embed */
.dc1-contact-form {
  margin: 2.5rem 0;
  border: 1px solid var(--dc1-line);
  background: var(--dc1-surface);
  padding: 1rem;
}

/* ==========================================================================
   Category archive page (single-bottom)
   ========================================================================== */
.dc1-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--dc1-primary);
}
.dc1-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: .6;
}
.dc1-cat-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--dc1-content-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 1.6rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .75) 100%);
}
.dc1-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.dc1-cat-intro {
  max-width: var(--dc1-narrow-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  font-size: 1.05rem;
  color: var(--dc1-text-soft);
}
.dc1-cat-articles-grid {
  max-width: var(--dc1-content-w);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

/* ==========================================================================
   Mouse effect: section_hover_border_glow
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .dc1-card, .dc1-cat-card, .dc1-cat-section, .dc1-editorial-pull {
    transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
  }
  .dc1-card:hover {
    box-shadow:
      0 0 0 1px var(--dc1-accent),
      0 0 24px rgba(139, 115, 85, .25),
      0 0 48px rgba(139, 115, 85, .12);
    border-color: var(--dc1-accent);
  }
  .dc1-cat-card:hover {
    box-shadow:
      0 0 0 2px var(--dc1-accent),
      0 0 30px rgba(139, 115, 85, .35),
      0 0 60px rgba(139, 115, 85, .18);
  }
  .dc1-cat-section:hover {
    box-shadow: inset 0 0 0 1px rgba(139, 115, 85, .14);
  }
}

/* ==========================================================================
   CTR — review stars widget (rating display)
   ========================================================================== */
.dc1-stars {
  display: inline-flex; gap: 2px;
  vertical-align: middle;
}
.dc1-stars span {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--dc1-line);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transition: background .2s;
}
.dc1-stars span.is-full { background: var(--dc1-accent); animation: dc1-star-pulse 1.2s ease-in-out; }
@keyframes dc1-star-pulse {
  0%   { transform: scale(.6); opacity: 0; }
  60%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   CTO — best_value_badge
   ========================================================================== */
.dc1-badge--best {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  background: var(--dc1-accent);
  color: #fff;
  font-family: var(--dc1-font-b);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .35rem .7rem;
  border-radius: 2px;
  animation: dc1-best-shine 3s ease-in-out infinite;
}
@keyframes dc1-best-shine {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 115, 85, .4); }
  50%      { box-shadow: 0 0 0 8px rgba(139, 115, 85, 0); }
}

/* ==========================================================================
   Interactive tool pages
   ========================================================================== */
.dc1-tool {
  max-width: var(--dc1-narrow-w);
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.dc1-tool-box {
  background: var(--dc1-surface);
  border: 1px solid var(--dc1-line);
  padding: 2rem;
  margin: 2rem 0;
}
.dc1-tool-box label {
  display: block;
  font-family: var(--dc1-font-b);
  font-weight: 600;
  margin: 1.2rem 0 .4rem;
  color: var(--dc1-primary);
}
.dc1-tool-box input[type="text"],
.dc1-tool-box input[type="number"],
.dc1-tool-box select {
  width: 100%;
  padding: .7rem .9rem;
  font-family: var(--dc1-font-b);
  font-size: 1rem;
  border: 1.5px solid var(--dc1-line);
  background: var(--dc1-bg);
  color: var(--dc1-text);
  border-radius: 2px;
}
.dc1-tool-box input:focus, .dc1-tool-box select:focus {
  outline: none;
  border-color: var(--dc1-accent);
}
.dc1-tool-box button {
  margin-top: 1.5rem;
  padding: .9rem 1.6rem;
  font-family: var(--dc1-font-b);
  font-size: 1rem;
  font-weight: 600;
  background: var(--dc1-primary);
  color: var(--dc1-bg);
  border: 1.5px solid var(--dc1-primary);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: background .2s, transform .15s;
}
.dc1-tool-box button:hover { background: var(--dc1-accent); border-color: var(--dc1-accent); transform: translateY(-1px); }
.dc1-tool-result {
  margin-top: 1.8rem;
  padding: 1.4rem;
  background: var(--dc1-bg);
  border-left: 3px solid var(--dc1-accent);
  font-size: 1.05rem;
}
.dc1-tool-result strong {
  display: block;
  font-family: var(--dc1-font-h);
  font-size: 1.8rem;
  color: var(--dc1-primary);
  margin-bottom: .4rem;
}
.dc1-tool .dc1-faq {
  margin-top: 3rem;
}
.dc1-tool .dc1-faq details {
  border-bottom: 1px solid var(--dc1-line);
  padding: 1rem 0;
}
.dc1-tool .dc1-faq summary {
  cursor: pointer;
  font-family: var(--dc1-font-h);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dc1-primary);
  list-style: none;
}
.dc1-tool .dc1-faq summary::-webkit-details-marker { display: none; }
.dc1-tool .dc1-faq summary::before { content: "+ "; color: var(--dc1-accent); margin-right: .4rem; }
.dc1-tool .dc1-faq details[open] summary::before { content: "− "; }
.dc1-tool .dc1-faq p { margin: .8rem 0 0; color: var(--dc1-text-soft); }

/* Quiz tool */
.dc1-quiz {
  background: var(--dc1-surface);
  border: 1px solid var(--dc1-line);
  padding: 2rem;
  margin: 2rem 0;
}
.dc1-quiz-q {
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--dc1-line);
}
.dc1-quiz-q:last-of-type { border-bottom: none; }
.dc1-quiz-q h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.dc1-quiz-q label {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem 0;
  font-family: var(--dc1-font-b);
  cursor: pointer;
}
.dc1-quiz-q label:hover { color: var(--dc1-accent); }
.dc1-quiz-submit {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: .9rem;
  font-family: var(--dc1-font-b);
  font-size: 1rem; font-weight: 600;
  background: var(--dc1-primary);
  color: var(--dc1-bg);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.dc1-quiz-submit:hover { background: var(--dc1-accent); }

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */
@media (max-width: 900px) {
  .dc1-header-inner { padding: .9rem 1rem; gap: .8rem; }
  .dc1-brand-logo { max-width: 160px; }
  .dc1-brand-name { font-size: 1.2rem; }
  .dc1-cat-section-head { flex-direction: column; align-items: flex-start; }
  .dc1-categories-grid { gap: 1rem; }
}
@media (max-width: 560px) {
  body.dc1-body { font-size: 16px; }
  .dc1-hero { min-height: 65vh; }
  .dc1-hero-inner { padding: 3rem 1rem; }
  .dc1-editorial { padding: 2.5rem 1rem; }
  .dc1-cat-section { padding: 2.5rem 1rem; }
  .dc1-categories { padding: 2.5rem 1rem; }
  .dc1-page-content { padding: 1.5rem 1rem 3rem; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .dc1-header, .dc1-footer, .dc1-nav-mobile, .dc1-burger, .dc1-btn { display: none !important; }
  body.dc1-body { background: #fff; color: #000; }
}


/* Mouse effect : section_hover_border_glow */
@media (hover: hover) and (pointer: fine) {  .dc1-card, .dc1-cat-card, .dc1-cat-section, .dc1-editorial-pull {    transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;  }  .dc1-card:hover {    box-shadow: 0 0 0 1px #8B7355, 0 0 24px rgba(139, 115, 85, .25), 0 0 48px rgba(139, 115, 85, .12);    border-color: #8B7355;  }  .dc1-cat-card:hover {    box-shadow: 0 0 0 2px #8B7355, 0 0 30px rgba(139, 115, 85, .35), 0 0 60px rgba(139, 115, 85, .18);  }  .dc1-cat-section:hover {    box-shadow: inset 0 0 0 1px rgba(139, 115, 85, .14);  }}
/* RANKO LPM-CUSTOM 2026-07-10 */

.dc1-hero-title { color: #ffffff !important; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.dc1-cat-hero h1 { color: #ffffff !important; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }

