/* =========================================================================
   Vlog — archive hero, category tabs, card grid, single player.
   Loaded only on edc_vlog archive / taxonomy / single templates.
   ========================================================================= */

.edc-vlog-page { background: var(--edc-warm-white); color: var(--edc-obsidian); }

/* ─────────── Hero ─────────── */
.edc-vlog-hero {
  position: relative;
  isolation: isolate;
  padding: calc(56px + var(--edc-nav-h, 72px)) var(--edc-space-gutter) var(--edc-space-xl);
  overflow: hidden;
  background: var(--edc-warm-white);
}
.edc-vlog-hero--image {
  min-height: 560px;
  padding-top: calc(88px + var(--edc-nav-h, 72px));
  padding-bottom: calc(var(--edc-space-xl) + var(--edc-space-lg));
  background: #1c1c1a;
}
.edc-vlog-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.edc-vlog-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  filter: saturate(1.05) brightness(1.0) contrast(1.03);
  opacity: 1;
}
@media (max-width: 1023px) {
  .edc-vlog-hero__bg img {
    object-position: center center;
    filter: saturate(1.0) brightness(0.75) contrast(1.05);
  }
}
/* Careers-style wash — diagonal obsidian gradient (darker where copy sits),
   Solar-Gold ambient bloom in the lower-left, and vertical feathering. */
.edc-vlog-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg,
      rgba(28, 28, 26, 0.52) 0%,
      rgba(28, 28, 26, 0.46) 35%,
      rgba(28, 28, 26, 0.34) 60%,
      rgba(28, 28, 26, 0.22) 82%,
      rgba(28, 28, 26, 0.14) 100%),
    radial-gradient(60% 80% at 15% 85%,
      rgba(242, 184, 27, 0.14) 0%,
      rgba(242, 184, 27, 0)   70%),
    linear-gradient(180deg,
      rgba(28, 28, 26, 0.10) 0%,
      rgba(28, 28, 26, 0)   28%,
      rgba(28, 28, 26, 0)   72%,
      rgba(28, 28, 26, 0.25) 100%);
}
@media (max-width: 1023px) {
  .edc-vlog-hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(28, 28, 26, 0.78) 0%,
        rgba(28, 28, 26, 0.70) 50%,
        rgba(28, 28, 26, 0.55) 100%),
      radial-gradient(70% 60% at 20% 90%,
        rgba(242, 184, 27, 0.14) 0%,
        rgba(242, 184, 27, 0)   70%);
  }
}
.edc-vlog-hero__glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90%);
  height: 320px;
  background: radial-gradient(ellipse at 50% 0%, rgba(242, 184, 27, 0.18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.edc-vlog-hero--image .edc-vlog-hero__glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(242, 184, 27, 0.32), transparent 65%);
  height: 380px;
}
.edc-vlog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--edc-space-md);
}

/* Iconed eyebrow */
.edc-vlog-hero__eyebrow {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-gold-tint);
  border: 1px solid var(--edc-gold-ring);
  font-family: var(--edc-font-heading);
  font-size: var(--edc-fs-label);
  font-weight: 800;
  letter-spacing: var(--edc-track-label);
  text-transform: uppercase;
  color: var(--edc-obsidian);
}
.edc-vlog-hero__eyebrow .material-symbols-outlined {
  font-size: 16px;
  color: var(--edc-solar-gold);
  font-variation-settings: 'FILL' 1;
}
.edc-vlog-hero--image .edc-vlog-hero__eyebrow {
  background: rgba(250, 248, 244, 0.10);
  border-color: rgba(242, 184, 27, 0.45);
  color: var(--edc-warm-white);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.edc-vlog-hero--image .edc-vlog-hero__eyebrow .material-symbols-outlined {
  color: var(--edc-solar-gold);
}

.edc-vlog-hero__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--edc-obsidian);
  margin: 0;
}
.edc-vlog-hero--image .edc-vlog-hero__title {
  color: var(--edc-warm-white);
  text-shadow: none;
}
.edc-vlog-hero__body {
  font-family: var(--edc-font-body);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
  color: var(--edc-slate);
  margin: 0 auto;
  max-width: 62ch;
}
.edc-vlog-hero--image .edc-vlog-hero__body {
  color: rgba(250, 248, 244, 0.85);
  text-shadow: none;
}

/* Stat row */
.edc-vlog-hero__stats {
  margin-top: var(--edc-space-md);
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--edc-radius-lg);
  background: rgba(250, 248, 244, 0.08);
  border: 1px solid rgba(242, 184, 27, 0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.edc-vlog-hero:not(.edc-vlog-hero--image) .edc-vlog-hero__stats {
  background: var(--edc-gold-tint);
  border-color: var(--edc-gold-ring);
}
.edc-vlog-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 68px;
}
.edc-vlog-hero__stat-value {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--edc-warm-white);
}
.edc-vlog-hero:not(.edc-vlog-hero--image) .edc-vlog-hero__stat-value {
  color: var(--edc-obsidian);
}
.edc-vlog-hero__stat-value--small { font-size: clamp(15px, 1.4vw, 17px); font-weight: 700; }
.edc-vlog-hero__stat-label {
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.65);
}
.edc-vlog-hero:not(.edc-vlog-hero--image) .edc-vlog-hero__stat-label {
  color: var(--edc-slate);
}
.edc-vlog-hero__stat-sep {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(242, 184, 27, 0.5), transparent);
}

/* Floating gold orbs */
.edc-vlog-hero__orb {
  position: absolute;
  border-radius: var(--edc-radius-full);
  background: var(--edc-solar-gold);
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.edc-vlog-hero__orb--a {
  top: -80px; left: -60px;
  width: 420px; height: 420px;
}
.edc-vlog-hero__orb--b {
  bottom: -100px; right: -80px;
  width: 320px; height: 320px;
  opacity: 0.08;
}
.edc-vlog-hero--image .edc-vlog-hero__orb--a { opacity: 0.16; }
.edc-vlog-hero--image .edc-vlog-hero__orb--b { opacity: 0.12; }

@media (prefers-reduced-motion: no-preference) {
  .edc-vlog-hero__orb--a { animation: edc-vlog-hero-drift-a 22s ease-in-out infinite; }
  .edc-vlog-hero__orb--b { animation: edc-vlog-hero-drift-b 28s ease-in-out infinite; }
}
@keyframes edc-vlog-hero-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes edc-vlog-hero-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, -30px) scale(1.06); }
}

/* Scroll cue — light-on-dark for the image variant, dark-on-light for the plain variant */
.edc-vlog-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--edc-radius-full);
  color: var(--edc-warm-white);
  background: rgba(250, 248, 244, 0.10);
  border: 1px solid rgba(250, 248, 244, 0.25);
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color var(--edc-dur-quick), transform var(--edc-dur-quick);
}
.edc-vlog-hero:not(.edc-vlog-hero--image) .edc-vlog-hero__scroll {
  color: var(--edc-obsidian);
  background: rgba(41, 41, 40, 0.06);
  border-color: rgba(41, 41, 40, 0.14);
}
.edc-vlog-hero__scroll:hover { background: var(--edc-solar-gold); color: var(--edc-obsidian); transform: translateX(-50%) translateY(-2px); }
.edc-vlog-hero__scroll .material-symbols-outlined { font-size: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .edc-vlog-hero__scroll .material-symbols-outlined {
    animation: edc-vlog-hero-bounce 2.4s ease-in-out infinite;
  }
}
@keyframes edc-vlog-hero-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
/* Hide the scroll cue if the user is already past the hero */
@media (max-width: 640px) {
  .edc-vlog-hero__scroll { display: none; }
}

/* ─────────── Category tabs ─────────── */
.edc-vlog-tabs {
  padding: 0 var(--edc-space-gutter);
  background: var(--edc-warm-white);
  border-bottom: 1px solid rgba(211, 197, 172, 0.30);
  position: sticky;
  top: var(--edc-nav-h, 72px);
  z-index: 5;
  backdrop-filter: blur(8px);
  background: rgba(250, 248, 244, 0.92);
}
.edc-vlog-tabs__inner {
  max-width: var(--edc-container);
  margin: 0 auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 0;
}
.edc-vlog-tabs__inner::-webkit-scrollbar { display: none; }
.edc-vlog-tabs__tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--edc-radius-full);
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: var(--edc-fs-body-sm);
  color: var(--edc-slate);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color var(--edc-dur-quick),
    color var(--edc-dur-quick),
    border-color var(--edc-dur-quick);
}
.edc-vlog-tabs__tab:hover {
  color: var(--edc-obsidian);
  background: rgba(211, 197, 172, 0.18);
}
.edc-vlog-tabs__tab.is-active {
  background: var(--edc-obsidian);
  color: var(--edc-warm-white);
  border-color: var(--edc-obsidian);
}

/* ─────────── Grid ─────────── */
.edc-vlog-grid-wrap {
  padding: var(--edc-space-xl) var(--edc-space-gutter) var(--edc-section-v);
  max-width: var(--edc-container);
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .edc-vlog-grid-wrap { padding-left: 80px; padding-right: 80px; }
}
.edc-vlog-grid-wrap__inner {
  display: flex;
  flex-direction: column;
  gap: var(--edc-space-xl);
}

/* ─────────── Featured card (top of archive) ─────────── */
.edc-vlog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: var(--edc-warm-white);
  border: 1px solid rgba(211, 197, 172, 0.30);
  border-radius: var(--edc-radius-xl, 20px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(41, 41, 40, 0.05);
  transition: transform var(--edc-dur-medium),
    box-shadow var(--edc-dur-medium),
    border-color var(--edc-dur-medium);
}
.edc-vlog-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -20px rgba(41, 41, 40, 0.28), 0 4px 12px rgba(41, 41, 40, 0.08);
  border-color: var(--edc-gold-ring);
  color: inherit;
}
.edc-vlog-feature__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--edc-cream);
}
.edc-vlog-feature__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--edc-dur-slow, 500ms);
}
.edc-vlog-feature__img--placeholder {
  background: linear-gradient(135deg, var(--edc-cream), rgba(242, 184, 27, 0.14));
}
.edc-vlog-feature:hover .edc-vlog-feature__img { transform: scale(1.03); }
.edc-vlog-feature__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-solar-gold);
  color: var(--edc-obsidian);
  font-family: var(--edc-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(242, 184, 27, 0.30);
}
.edc-vlog-feature__badge .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: 'FILL' 1;
}
.edc-vlog-feature__body {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.edc-vlog-feature__body .edc-vlog-card__chip {
  align-self: flex-start;
}
.edc-vlog-feature__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--edc-obsidian);
  margin: 0;
}
.edc-vlog-feature__excerpt {
  font-family: var(--edc-font-body);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--edc-slate);
  margin: 0;
}
.edc-vlog-feature__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 6px;
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-sm);
  color: var(--edc-slate);
}
.edc-vlog-feature__meta-item { display: inline-flex; align-items: center; gap: 6px; }
.edc-vlog-feature__meta-item .material-symbols-outlined { font-size: 18px; color: var(--edc-solar-gold); }
.edc-vlog-feature__meta-sep { color: rgba(41, 41, 40, 0.30); }
.edc-vlog-feature__cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  color: var(--edc-obsidian);
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid var(--edc-solar-gold);
  padding-bottom: 2px;
  transition: gap var(--edc-dur-quick);
}
.edc-vlog-feature:hover .edc-vlog-feature__cta { gap: 10px; }
.edc-vlog-feature__cta .material-symbols-outlined { font-size: 20px; }

@media (max-width: 900px) {
  .edc-vlog-feature { grid-template-columns: 1fr; }
  .edc-vlog-feature__media { aspect-ratio: 16 / 9; }
  .edc-vlog-feature__body { padding: 24px 20px 28px; }
}

/* ─────────── Grid section header ─────────── */
.edc-vlog-grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(41, 41, 40, 0.10);
  margin-bottom: -6px;
}
.edc-vlog-grid-header__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--edc-obsidian);
  margin: 0;
  letter-spacing: -0.01em;
}
.edc-vlog-grid-header__count {
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--edc-slate);
}

.edc-vlog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--edc-space-lg);
}
@media (min-width: 640px)  { .edc-vlog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .edc-vlog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.edc-vlog-card {
  display: flex;
  flex-direction: column;
  background: var(--edc-warm-white);
  border: 1px solid rgba(211, 197, 172, 0.30);
  border-radius: var(--edc-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--edc-dur-medium),
    box-shadow var(--edc-dur-medium),
    border-color var(--edc-dur-medium);
}
.edc-vlog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--edc-shadow-xl);
  border-color: var(--edc-gold-ring);
  color: inherit;
}

.edc-vlog-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--edc-cream);
  overflow: hidden;
}
.edc-vlog-card__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--edc-dur-medium);
}
.edc-vlog-card:hover .edc-vlog-card__thumb { transform: scale(1.04); }
.edc-vlog-card__thumb--placeholder {
  background: linear-gradient(135deg, var(--edc-cream), rgba(242, 184, 27, 0.14));
}
.edc-vlog-card__play {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  border-radius: var(--edc-radius-full);
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(41, 41, 40, 0.85);
  color: var(--edc-solar-gold);
  backdrop-filter: blur(4px);
  transition: background-color var(--edc-dur-quick), transform var(--edc-dur-quick);
}
.edc-vlog-card__play .material-symbols-outlined {
  font-size: 28px;
  font-variation-settings: 'FILL' 1;
}
.edc-vlog-card:hover .edc-vlog-card__play {
  background: var(--edc-solar-gold);
  color: var(--edc-obsidian);
  transform: scale(1.06);
}

.edc-vlog-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.edc-vlog-card__chip {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-gold-tint);
  color: var(--edc-obsidian);
  font-family: var(--edc-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.edc-vlog-card__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--edc-obsidian);
  margin: 4px 0 0;
}
.edc-vlog-card__excerpt {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-sm);
  line-height: 1.6;
  color: var(--edc-slate);
  margin: 0;
}
.edc-vlog-card__meta {
  font-family: var(--edc-font-body);
  font-size: 12px;
  color: var(--edc-slate);
  opacity: 0.75;
  margin-top: 6px;
}

/* Pagination */
.edc-vlog-pagination {
  margin: var(--edc-space-xl) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.edc-vlog-pagination .page-numbers {
  padding: 8px 14px;
  border-radius: var(--edc-radius);
  border: 1px solid rgba(211, 197, 172, 0.30);
  color: var(--edc-slate);
  text-decoration: none;
  font-family: var(--edc-font-heading);
  font-size: var(--edc-fs-body-sm);
  transition: background-color var(--edc-dur-quick), color var(--edc-dur-quick);
}
.edc-vlog-pagination .page-numbers.current {
  background: var(--edc-obsidian);
  color: var(--edc-warm-white);
  border-color: var(--edc-obsidian);
}
.edc-vlog-pagination a.page-numbers:hover {
  background: var(--edc-gold-tint);
  color: var(--edc-obsidian);
}

/* Empty state */
.edc-vlog-empty {
  text-align: center;
  padding: var(--edc-space-xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.edc-vlog-empty__glyph {
  width: 72px; height: 72px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-gold-tint);
  color: var(--edc-solar-gold);
  display: inline-flex;
  align-items: center; justify-content: center;
}
.edc-vlog-empty__glyph .material-symbols-outlined {
  font-size: 36px;
  font-variation-settings: 'FILL' 1;
}
.edc-vlog-empty__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--edc-obsidian);
  margin: 0;
}
.edc-vlog-empty__body {
  font-family: var(--edc-font-body);
  color: var(--edc-slate);
  margin: 0;
  max-width: 44ch;
}
.edc-vlog-empty__cta {
  padding: 12px 28px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-solar-gold);
  color: var(--edc-obsidian);
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: filter var(--edc-dur-quick), transform var(--edc-dur-quick);
}
.edc-vlog-empty__cta:hover { transform: translateY(-2px); filter: brightness(1.04); }

/* ─────────── Single article ─────────── */
.edc-article-single {
  position: relative;
  isolation: isolate;
  background: var(--edc-warm-white);
  color: var(--edc-obsidian);
  overflow: hidden;
  padding-bottom: var(--edc-section-v);
}

/* Full-bleed cover behind the title block */
.edc-article-single__cover {
  position: relative;
  width: 100%;
  height: clamp(360px, 58vh, 620px);
  overflow: hidden;
  background: var(--edc-obsidian);
}
.edc-article-single__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}
.edc-article-single__cover-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(41,41,40,0.20) 0%, rgba(41,41,40,0.55) 55%, rgba(41,41,40,0.85) 100%),
    linear-gradient(180deg, rgba(41,41,40,0.30) 0%, rgba(41,41,40,0.80) 100%);
}

.edc-article-single__inner {
  position: relative;
  z-index: 1;
  max-width: var(--edc-container);
  margin: 0 auto;
  padding: 0 var(--edc-space-gutter);
  display: flex;
  flex-direction: column;
  gap: var(--edc-space-lg);
}

/* When there's a cover, pull the head card up over the image edge */
.edc-article-single.has-cover .edc-article-single__inner {
  margin-top: clamp(-160px, -18vh, -80px);
}
.edc-article-single:not(.has-cover) .edc-article-single__inner {
  padding-top: calc(56px + var(--edc-nav-h, 72px));
}

/* Back link — dark chip on light, translucent chip on cover */
.edc-article-single__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--edc-radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--edc-slate);
  text-decoration: none;
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: var(--edc-fs-body-sm);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: background-color var(--edc-dur-quick), color var(--edc-dur-quick), transform var(--edc-dur-quick);
}
.edc-article-single:not(.has-cover) .edc-article-single__back {
  background: rgba(211, 197, 172, 0.20);
  box-shadow: none;
}
.edc-article-single__back:hover {
  background: var(--edc-obsidian);
  color: var(--edc-warm-white);
  transform: translateX(-2px);
}
.edc-article-single__back .material-symbols-outlined { font-size: 18px; }

/* Title card — floats over the cover edge */
.edc-article-single__head {
  background: var(--edc-warm-white);
  border-radius: var(--edc-radius-lg);
  padding: var(--edc-space-lg) clamp(20px, 4vw, 40px);
  box-shadow: 0 24px 60px -20px rgba(41, 41, 40, 0.28), 0 2px 8px rgba(41, 41, 40, 0.08);
  border-top: 3px solid var(--edc-solar-gold);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.edc-article-single:not(.has-cover) .edc-article-single__head {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-top: none;
}

.edc-article-single__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.edc-article-single__chip {
  padding: 4px 12px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-gold-tint);
  color: var(--edc-obsidian);
  text-decoration: none;
  font-family: var(--edc-font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color var(--edc-dur-quick);
}
.edc-article-single__chip:hover { background: rgba(242, 184, 27, 0.24); }

.edc-article-single__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--edc-obsidian);
  margin: 0;
}

.edc-article-single__lede {
  font-family: var(--edc-font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--edc-slate);
  margin: 0;
}

.edc-article-single__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(41, 41, 40, 0.10);
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-sm);
  color: var(--edc-slate);
}
.edc-article-single__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.edc-article-single__meta-item .material-symbols-outlined { font-size: 18px; color: var(--edc-solar-gold); }
.edc-article-single__meta-sep { color: rgba(41, 41, 40, 0.30); }

/* Body prose — full inner width to match the head + related sections */
.edc-article-single__body {
  font-family: var(--edc-font-body);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.78;
  color: var(--edc-obsidian);
  width: 100%;
}
.edc-article-single__body > * + * { margin-top: 1.1em; }
.edc-article-single__body h2 {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 2em;
  color: var(--edc-obsidian);
}
.edc-article-single__body h3 {
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.25;
  margin-top: 1.6em;
  color: var(--edc-obsidian);
}
.edc-article-single__body p { margin-top: 1.1em; }
.edc-article-single__body ol,
.edc-article-single__body ul {
  padding-left: 1.4em;
  margin-top: 1em;
}
.edc-article-single__body li + li { margin-top: 8px; }
.edc-article-single__body blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--edc-solar-gold);
  font-family: var(--edc-font-heading);
  font-size: clamp(19px, 1.6vw, 24px);
  font-style: italic;
  color: var(--edc-obsidian);
}
.edc-article-single__body a {
  color: var(--edc-obsidian);
  border-bottom: 2px solid var(--edc-solar-gold);
  text-decoration: none;
  transition: background-color var(--edc-dur-quick);
}
.edc-article-single__body a:hover { background: var(--edc-gold-tint); }

/* Optional video below the body — full inner width */
.edc-article-single__video {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.edc-article-single__embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--edc-radius-lg);
  overflow: hidden;
  background: var(--edc-obsidian);
  box-shadow: var(--edc-shadow-xl);
}
.edc-article-single__embed iframe,
.edc-article-single__embed video,
.edc-article-single__embed object,
.edc-article-single__embed embed {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.edc-article-single__video-caption {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-sm);
  color: var(--edc-slate);
  text-align: center;
}

/* Share row — full inner width */
.edc-article-single__share {
  margin: var(--edc-space-md) 0 0;
  padding-top: var(--edc-space-md);
  border-top: 1px solid rgba(41, 41, 40, 0.10);
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
}
.edc-article-single__share-label {
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: var(--edc-fs-body-sm);
  color: var(--edc-slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.edc-article-single__share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.edc-article-single__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-cream);
  color: var(--edc-obsidian);
  text-decoration: none;
  font-family: var(--edc-font-heading);
  font-size: 13px;
  font-weight: 700;
  transition: background-color var(--edc-dur-quick), color var(--edc-dur-quick), transform var(--edc-dur-quick);
}
.edc-article-single__share-btn:hover {
  background: var(--edc-obsidian);
  color: var(--edc-warm-white);
  transform: translateY(-1px);
}
.edc-article-single__share-btn .material-symbols-outlined { font-size: 18px; }

/* Related articles */
.edc-article-related {
  margin-top: var(--edc-section-v);
  padding: var(--edc-space-xl) var(--edc-space-gutter) calc(var(--edc-space-xl) + var(--edc-space-md));
  background: var(--edc-cream);
  position: relative;
  isolation: isolate;
}
.edc-article-related::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 60%);
  height: 260px;
  background: radial-gradient(ellipse at 50% 0%, rgba(242, 184, 27, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.edc-article-related__inner {
  position: relative;
  z-index: 1;
  max-width: var(--edc-container);
  margin: 0 auto;
}
.edc-article-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: var(--edc-space-lg);
}
.edc-article-related__eyebrow {
  display: inline-block;
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edc-solar-gold);
  margin-bottom: 6px;
}
.edc-article-related__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--edc-obsidian);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.edc-article-related__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--edc-solar-gold);
  border-radius: 2px;
  margin-top: 12px;
}
.edc-article-related__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--edc-radius-full);
  background: transparent;
  color: var(--edc-obsidian);
  text-decoration: none;
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: var(--edc-fs-body-sm);
  border: 1.5px solid var(--edc-obsidian);
  transition: background-color var(--edc-dur-quick), color var(--edc-dur-quick), transform var(--edc-dur-quick);
}
.edc-article-related__all:hover {
  background: var(--edc-obsidian);
  color: var(--edc-warm-white);
  transform: translateX(2px);
}
.edc-article-related__all .material-symbols-outlined { font-size: 18px; }

.edc-article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--edc-space-md);
}
@media (max-width: 900px) {
  .edc-article-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .edc-article-related__grid { grid-template-columns: 1fr; }
  .edc-article-related__head { flex-direction: column; align-items: flex-start; }
}

/* Card polish specific to the related grid (still reuses .edc-vlog-card base) */
.edc-article-related__card {
  background: var(--edc-warm-white);
  border-radius: var(--edc-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(41, 41, 40, 0.06);
  transition: transform var(--edc-dur-quick), box-shadow var(--edc-dur-quick);
  display: flex;
  flex-direction: column;
}
.edc-article-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(41, 41, 40, 0.25), 0 2px 8px rgba(41, 41, 40, 0.08);
}
.edc-article-related__card .edc-vlog-card__media { position: relative; }
.edc-vlog-card__chip--over {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--edc-obsidian);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  z-index: 2;
}
.edc-vlog-card__meta-sep { margin: 0 6px; color: rgba(41, 41, 40, 0.30); }

/* Narrow screens — soften the negative pull-up so the head card doesn't collide */
@media (max-width: 640px) {
  .edc-article-single.has-cover .edc-article-single__inner {
    margin-top: -60px;
  }
  .edc-article-single__meta { font-size: 13px; }
  .edc-article-single__share { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Newsletter panel wrapper — top padding separates from the previous section;
   bottom padding is 0 so the panel sits flush with the footer, no dead space. */
.edc-article-newsletter-wrap {
  padding: var(--edc-space-xl) var(--edc-space-gutter) 0;
  background: var(--edc-warm-white);
}
/* The widget's own .edc-newsletter-cta ships with padding-bottom: section-v
   for use in Elementor sections; zero it inside the article wrapper so the
   panel sits flush with the footer. */
.edc-article-newsletter-wrap .edc-newsletter-cta { padding: 0; }
/* Article single sets its own padding-bottom for reading rhythm; when the
   newsletter is the last child, we want no extra space below it. */
.edc-article-single:has(.edc-article-newsletter-wrap:last-child) { padding-bottom: 0; }
