/* ===================================================================
   ELUX — Magazine du patrimoine et de l'art de vivre
   Custom child theme (parent: kadence)
   Design: Tech Blockchain Web3 fonts (Bruno Ace SC + Inter)
           + Belles Demeures color palette (navy #003DF5 + gold #ba903b)
   =================================================================== */

:root {
  --e06-primary:        #003DF5;
  --e06-primary-dark:   #0030c8;
  --e06-accent:         #ba903b;
  --e06-accent-dark:    #8c6c2a;
  --e06-text:           #1a1a1a;
  --e06-text-soft:      #5a5a5a;
  --e06-bg:             #ffffff;
  --e06-surface:        #f7f5f0;
  --e06-line:           #e8e4dc;
  --e06-shadow-sm:      0 2px 8px rgba(10,10,10,0.04);
  --e06-shadow-md:      0 8px 28px rgba(10,10,10,0.08);
  --e06-shadow-lg:      0 16px 48px rgba(10,10,10,0.12);
  --e06-radius:         6px;
  --e06-radius-lg:      12px;
  --e06-container:      1280px;
  --e06-header-h:       82px;
  --e06-font-h:         "Bruno Ace SC", "Inter", system-ui, -apple-system, sans-serif;
  --e06-font-b:         "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- BASE / RESET ---------- */
*,*::before,*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.e06-body {
  margin: 0;
  font-family: var(--e06-font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--e06-text);
  background: var(--e06-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--e06-font-h);
  font-weight: 700;
  color: var(--e06-text);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 .85rem;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }
a { color: var(--e06-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--e06-accent); }

.e06-container { max-width: var(--e06-container); margin: 0 auto; padding: 0 1.5rem; }

main.e06-main, .e06-main { padding-top: 0 !important; margin-top: 0 !important; }

/* ---------- HEADER (logo-left-menu-center-cta-right) ---------- */
.e06-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--e06-line);
  backdrop-filter: blur(8px);
}

.e06-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--e06-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--e06-header-h);
}

.e06-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.e06-brand-logo {
  width: auto;
  display: block;
}
.e06-brand-name {
  font-family: var(--e06-font-h);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--e06-text);
}

/* Desktop nav (horizontal, centered) */
.e06-nav-desktop { display: none; }
.e06-nav-desktop-list {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
}
.e06-nav-desktop-list a {
  color: var(--e06-text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.e06-nav-desktop-list a:hover {
  color: var(--e06-primary);
  border-bottom-color: var(--e06-accent);
}

/* Header CTA wrap */
.e06-header-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-left: auto;
  flex-shrink: 0;
}

.e06-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.2rem;
  font-family: var(--e06-font-b);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--e06-radius);
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.e06-btn--cta {
  background: var(--e06-primary);
  color: #fff;
  border-color: var(--e06-primary);
}
.e06-btn--cta:hover {
  background: var(--e06-accent);
  border-color: var(--e06-accent);
  color: #fff;
  transform: translateY(-1px);
}
.e06-btn--outline {
  background: transparent;
  color: var(--e06-primary);
  border-color: var(--e06-primary);
}
.e06-btn--outline:hover {
  background: var(--e06-primary);
  color: #fff;
}

/* Mobile burger button */
.e06-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  color: #1a1a1a;
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
}
.e06-burger-bars,
.e06-burger > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.e06-burger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
}

/* Mobile drawer (DEFAULT HIDDEN) */
.e06-nav-mobile { display: none; }

.e06-nav-mobile-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
}
.e06-nav-mobile-list li a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--e06-line);
  color: #0a0a0a;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
.e06-nav-mobile-list li a:hover {
  color: var(--e06-primary);
}

.e06-drawer-cta {
  display: none;
}

.e06-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1.5px solid #e8e4dc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.3rem;
  color: #1a1a1a;
  z-index: 10001;
}

.e06-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.5);
  z-index: 9998;
  backdrop-filter: blur(2px);
}
.e06-drawer-overlay.is-open {
  display: block;
}

/* DESKTOP rules */
@media (min-width: 1024px) {
  .e06-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
  }
  .e06-burger { display: none !important; }
  .e06-nav-mobile, .e06-drawer-overlay { display: none !important; }
  .e06-drawer-cta { display: none !important; }
  .e06-header-cta-desktop { display: inline-flex; }
}

/* MOBILE rules */
@media (max-width: 1023px) {
  .e06-header-cta-desktop {
    display: none !important;
  }
  .e06-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #ffffff;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .e06-drawer-cta {
    display: block !important;
    margin: 2rem 0 .5rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--e06-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
  }
  .e06-drawer-cta:hover {
    background: var(--e06-accent) !important;
  }
}

/* ---------- HERO (parallax-scroll style with YouTube bg) ---------- */
.e06-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--e06-text);
}
.e06-hero--has-video {
  color: #fff;
}
.e06-hero-video-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.e06-hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.e06-hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.68) 100%);
}
.e06-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.e06-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  padding: 5rem 1.5rem 5rem;
  width: 100%;
}
.e06-hero-eyebrow {
  display: inline-block;
  padding: .35rem .9rem;
  background: rgba(186,144,59,0.92);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.e06-hero-title {
  font-family: var(--e06-font-h);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.e06-hero--has-video .e06-hero-title,
.e06-hero--has-video .e06-hero-subtitle {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.e06-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.94);
}
.e06-hero--has-video .e06-hero-subtitle {
  color: rgba(255,255,255,0.94);
}
.e06-hero-cta-wrap {
  display: inline-flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.e06-hero .e06-btn--cta {
  padding: 1rem 1.85rem;
  font-size: 1rem;
}
.e06-hero .e06-btn--outline {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}
.e06-hero .e06-btn--outline:hover {
  background: #fff;
  color: var(--e06-primary);
}

/* Parallax scroll on hero img bg (only fallback when no video) */
@media (min-width: 769px) {
  .e06-hero:not(.e06-hero--has-video) .e06-hero-bg {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* ---------- SECTION COMMONS ---------- */
.e06-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.e06-section-eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--e06-accent);
  margin-bottom: .65rem;
}
.e06-section-title {
  font-family: var(--e06-font-h);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin: 0 0 .5rem;
  color: var(--e06-text);
}
.e06-section-lead {
  font-size: 1.05rem;
  color: var(--e06-text-soft);
  max-width: 760px;
  margin: 0 0 2.5rem;
}

/* ---------- CATEGORIES GRID ---------- */
.e06-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.e06-cat-card {
  position: relative;
  display: block;
  border-radius: var(--e06-radius-lg);
  overflow: hidden;
  background: var(--e06-surface);
  box-shadow: var(--e06-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 4 / 5;
}
.e06-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--e06-shadow-md);
}
.e06-cat-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.e06-cat-card:hover .e06-cat-card-img {
  transform: scale(1.05);
}
.e06-cat-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.85) 100%);
  color: #fff;
}
.e06-cat-card-inner {
  width: 100%;
}
.e06-cat-card-name {
  font-family: var(--e06-font-h);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 .35rem;
  color: #fff;
  letter-spacing: .01em;
}
.e06-cat-card-meta {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.85);
}
.e06-cat-card-meta::before {
  content: '';
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--e06-accent);
  vertical-align: middle;
  margin-right: .55rem;
}
.e06-cat-card--fallback {
  background: linear-gradient(135deg, var(--e06-primary) 0%, var(--e06-primary-dark) 100%);
  color: #fff;
}
.e06-cat-card--fallback .e06-cat-card-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* ---------- EDITORIAL BLOC (after-categories placement) ---------- */
.e06-editorial {
  background: var(--e06-surface);
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  border-top: 1px solid var(--e06-line);
  border-bottom: 1px solid var(--e06-line);
}
.e06-editorial-inner {
  max-width: 920px;
  margin: 0 auto;
}
.e06-editorial-eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--e06-accent);
  margin-bottom: .75rem;
}
.e06-editorial h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin: 0 0 1.5rem;
  color: var(--e06-text);
  line-height: 1.2;
}
.e06-editorial h3 {
  font-size: 1.3rem;
  margin: 2rem 0 .65rem;
  color: var(--e06-text);
}
.e06-editorial p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--e06-text);
  margin: 0 0 1.1rem;
}
.e06-editorial p strong { color: var(--e06-primary); }
.e06-editorial-callout {
  margin: 2rem 0;
  padding: 1.5rem 1.85rem;
  background: #fff;
  border-left: 4px solid var(--e06-accent);
  border-radius: 0 6px 6px 0;
  box-shadow: var(--e06-shadow-sm);
}
.e06-editorial-callout h3 {
  margin-top: 0;
  color: var(--e06-primary);
  font-size: 1.15rem;
}
.e06-editorial-callout p:last-child { margin-bottom: 0; }
.e06-editorial a {
  color: var(--e06-primary);
  text-decoration: underline;
  text-decoration-color: rgba(0,61,245,0.25);
  text-underline-offset: 3px;
}
.e06-editorial a:hover { color: var(--e06-accent); }

/* ---------- BY-CATEGORY SECTIONS (home) ---------- */
.e06-bycat-section {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  border-bottom: 1px solid var(--e06-line);
}
.e06-bycat-section:last-of-type { border-bottom: none; }
.e06-bycat-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.e06-bycat-title {
  font-family: var(--e06-font-h);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  color: var(--e06-text);
  margin: 0;
}
.e06-bycat-title a {
  color: inherit;
  text-decoration: none;
}
.e06-bycat-title a:hover { color: var(--e06-primary); }
.e06-bycat-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--e06-primary);
  text-decoration: none;
}
.e06-bycat-link:hover { color: var(--e06-accent); }

.e06-bycat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}
.e06-article-card {
  display: flex;
  flex-direction: column;
  background: var(--e06-bg);
  border-radius: var(--e06-radius-lg);
  overflow: hidden;
  border: 1px solid var(--e06-line);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
}
.e06-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--e06-shadow-md);
}
.e06-article-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--e06-surface);
  overflow: hidden;
}
.e06-article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.e06-article-card:hover .e06-article-card-thumb img {
  transform: scale(1.04);
}
.e06-article-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}
.e06-article-card-title {
  font-family: var(--e06-font-h);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--e06-text);
  margin: 0 0 .55rem;
}
.e06-article-card-date {
  font-size: .8rem;
  color: var(--e06-text-soft);
  letter-spacing: .04em;
}
.e06-bycat-empty {
  padding: 1.5rem;
  background: var(--e06-surface);
  border-radius: var(--e06-radius);
  color: var(--e06-text-soft);
  text-align: center;
}
.e06-bycat-empty a {
  color: var(--e06-primary);
  font-weight: 600;
}

/* ---------- METRICS LINKS BLOCK ---------- */
.e06-metrics-section {
  padding: 3.5rem 0;
  background: var(--e06-bg);
}
.e06-metrics-title {
  font-family: var(--e06-font-h);
  text-align: center;
  font-size: 1.4rem;
  color: var(--e06-text-soft);
  margin: 0 0 2rem;
  font-weight: 600;
}
.e06-metrics-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  list-style: none;
  margin: 0; padding: 0;
}
.e06-metrics-list li a {
  color: var(--e06-text);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  transition: all .2s;
}
.e06-metrics-list li a:hover {
  color: var(--e06-primary);
  border-bottom-color: var(--e06-accent);
}

/* ---------- ABOUT SECTION (home preview) ---------- */
.e06-about-preview {
  background: var(--e06-text);
  color: #f5f5f0;
  padding: 4rem 0;
}
.e06-about-preview h2 {
  color: #fff;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  margin: 0 0 1rem;
}
.e06-about-preview p {
  color: rgba(245,245,240,0.85);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 720px;
}
.e06-about-preview a.e06-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  margin-top: 1rem;
}
.e06-about-preview a.e06-btn--outline:hover {
  background: var(--e06-accent);
  border-color: var(--e06-accent);
  color: #fff;
}

/* ---------- FOOTER ---------- */
.e06-footer {
  background: #1a1a1a;
  color: #d9d6cf;
  padding: 4rem 0 1.5rem;
  border-top: 4px solid var(--e06-accent);
}
.e06-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.e06-footer-logo {
  display: block;
  width: auto;
  max-width: 160px;
  margin-bottom: 1rem;
  height: auto;
  filter: brightness(0) invert(1);
}
.e06-footer-col h3.e06-footer-title {
  font-family: var(--e06-font-h);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--e06-accent);
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.e06-footer-brand-pitch {
  font-size: .92rem;
  line-height: 1.7;
  color: #b8b4ac;
  margin: 0 0 1.25rem;
}
.e06-footer-brand-cta {
  display: inline-block;
  color: var(--e06-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: .92rem;
  border-bottom: 1px solid var(--e06-accent);
  padding-bottom: 2px;
  transition: all .2s;
}
.e06-footer-brand-cta:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.e06-footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.e06-footer-links a {
  color: #d9d6cf;
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
  padding: 2px 0;
}
.e06-footer-links a:hover {
  color: var(--e06-accent);
}
.e06-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  color: #8d8a84;
}
.e06-footer-bottom a {
  color: #b8b4ac;
  text-decoration: none;
}
.e06-footer-bottom a:hover { color: var(--e06-accent); }
.e06-footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.e06-footer-social {
  display: flex;
  gap: .65rem;
}
.e06-footer-social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: #d9d6cf;
  transition: all .2s;
}
.e06-footer-social a:hover {
  background: var(--e06-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- PERSONA PHOTO (À propos page) ---------- */
.e06-persona-photo {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: var(--e06-radius-lg);
  margin: 1.5rem 0;
  box-shadow: var(--e06-shadow-md);
  float: right;
  margin-left: 1.5rem;
}
@media (max-width: 768px) {
  .e06-persona-photo {
    float: none;
    margin: 1.5rem auto;
    max-width: 240px;
  }
}

/* ---------- CONTACT FORM ---------- */
.e06-contact-form {
  margin: 2rem 0 3rem;
  padding: 0;
  background: var(--e06-surface);
  border-radius: var(--e06-radius-lg);
  overflow: hidden;
}
.e06-contact-form iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
}

/* ---------- CATEGORY ARCHIVE ---------- */
.e06-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  margin-bottom: 0;
}
.e06-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.e06-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: var(--e06-container);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.e06-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.e06-cat-hero-meta {
  color: rgba(255,255,255,0.92);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.e06-cat-intro {
  padding: 3rem 0 2rem;
  max-width: 880px;
  margin: 0 auto;
}
.e06-cat-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--e06-text);
}
.e06-cat-faq {
  background: var(--e06-surface);
  padding: 3rem 0;
}
.e06-cat-faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.e06-cat-faq-item {
  max-width: 880px;
  margin: 0 auto 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--e06-radius);
  border-left: 3px solid var(--e06-accent);
}
.e06-cat-faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--e06-primary);
}
.e06-cat-faq-item[open] summary { margin-bottom: .75rem; }

/* ---------- SINGLE / TOOL PAGE ---------- */
.e06-tool-page {
  padding: 3rem 0;
  max-width: 920px;
  margin: 0 auto;
}
.e06-tool-page h1 {
  margin-bottom: 1rem;
}
.e06-tool-page-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--e06-text);
  margin-bottom: 2rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .e06-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .e06-footer-grid .e06-footer-col:first-child {
    grid-column: 1 / -1;
  }
  .e06-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .e06-footer-grid {
    grid-template-columns: 1fr;
  }
  .e06-categories-grid {
    grid-template-columns: 1fr;
  }
  .e06-bycat-grid {
    grid-template-columns: 1fr;
  }
  .e06-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- ACCESSIBILITY ---------- */
.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;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--e06-accent);
  outline-offset: 3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* RANKO ELUX-CUSTOM 2026-07-10 */

.e06-hero-title { color: #ffffff !important; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.e06-cat-card-name { color: #ffffff !important; }
body .e06-footer, body .e06-footer *,
body .e06-footer h1, body .e06-footer h2, body .e06-footer h3, body .e06-footer h4, body .e06-footer h5, body .e06-footer h6,
body .e06-footer p, body .e06-footer span, body .e06-footer li, body .e06-footer a { color: #000000 !important; }
body .e06-footer a:hover { color: #333333 !important; }

