/* Article shell */
.lc-has-article-layout .content-area,
.lc-has-article-layout #main,
.lc-has-article-layout .entry-content-wrap {
  max-width: none;
  width: 100%;
  padding: 0;
}

.lc-article-shell {
  width: min(1240px, calc(100% - 1.5rem));
  margin: 0 auto 3rem;
}

.lc-hero {
  margin: 1rem 0 1.5rem;
}

.lc-hero-media {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #efe4db;
}

.lc-hero-img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.lc-hero-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #b85c4a;
  font-weight: 700;
}

.lc-hero-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  color: #3a221c;
}

.lc-hero-dek {
  margin: 0 0 0.55rem;
  max-width: 48rem;
  color: #5c4a45;
  font-size: 1.08rem;
}

.lc-hero-meta {
  margin: 0;
  color: #5c4a45;
  font-size: 0.9rem;
}

.lc-article-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}

.lc-toc-sticky,
.lc-ads-sticky {
  position: sticky;
  top: calc(var(--lc-topbar-h, 52px) + 4.75rem);
}

.lc-rail-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #3a221c;
}

.lc-toc-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.lc-toc-list a {
  color: #5c4a45;
  text-decoration: none;
  font-size: 0.9rem;
}

.lc-toc-list a:hover,
.lc-toc-list a.is-active {
  color: #b85c4a;
}

.lc-toc-cta {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  text-align: center;
}

.lc-article-main {
  min-width: 0;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(28, 20, 18, 0.08);
  padding: 1.75rem 1.85rem 2.4rem;
}

.lc-chapter {
  max-width: none;
  padding: 0.35rem 0.5rem;
}

.lc-hero-copy {
  padding: 0.35rem 0.25rem 0.85rem;
}

.lc-ads-rail .lc-ad-panel,
.lc-ads-rail .lc-shop-panel {
  margin-bottom: 1rem;
}

.lc-ad-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a746c;
}

.lc-ad-slot--300-250 { min-height: 250px; }
.lc-ad-slot--300-600 { min-height: 600px; }
.lc-ad-slot--728-90 { min-height: 90px; width: 100%; }

.lc-chapter .lc-ad-panel {
  margin: 1.75rem 0;
}

.lc-ad-placeholder {
  opacity: 0.85;
}

@media (max-width: 1100px) {
  .lc-article-grid {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .lc-ads-rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }
  .lc-ads-sticky {
    position: static;
    display: contents;
  }
}

@media (max-width: 820px) {
  .lc-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .lc-article-grid {
    grid-template-columns: 1fr;
  }
  .lc-toc-sticky {
    position: static;
  }
  .lc-hero-img {
    max-height: 260px;
  }
}

/* Keep Kadence sticky header under the attention bar */
body.has-lc-topbar .kadence-sticky-header.item-is-fixed,
body.has-lc-topbar #masthead.kadence-sticky-header.item-is-fixed,
body.has-lc-topbar .site-header-wrap.kadence-sticky-header.item-is-fixed {
  top: var(--lc-topbar-h, 52px) !important;
}
body.has-lc-topbar .lc-topbar.is-hidden ~ * .kadence-sticky-header.item-is-fixed {
  top: 0 !important;
}

/* Hero YouTube overlay — image stays until play */
.lc-hero-media {
  position: relative;
}

.lc-hero-media--video .lc-hero-img {
  width: 100%;
}

.lc-hero-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  background: linear-gradient(180deg, rgba(28, 20, 18, 0.15), rgba(28, 20, 18, 0.45));
  cursor: pointer;
  color: #fff8f4;
}

.lc-hero-play:hover,
.lc-hero-play:focus-visible {
  background: linear-gradient(180deg, rgba(28, 20, 18, 0.22), rgba(28, 20, 18, 0.55));
}

.lc-hero-play-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.92);
  box-shadow: 0 8px 24px rgba(28, 20, 18, 0.28);
  position: relative;
}

.lc-hero-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #3a221c;
}

.lc-hero-play-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.lc-hero-video-frame {
  position: absolute;
  inset: 0;
  background: #1c1412;
}

.lc-hero-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lc-hero-media--video {
  aspect-ratio: 16 / 9;
  max-height: none;
}

.lc-hero-media--video .lc-hero-img {
  max-height: none;
  height: 100%;
  object-fit: cover;
}

.lc-hero-media.is-playing .lc-hero-img {
  visibility: hidden;
}
