/*
 * ln-single.css — Latina Network Single Post Styles
 * Enqueued only on is_single() — depends on ln-master.css.
 *
 * Sections:
 *   01 · Article Hero
 *   02 · Two-Column Article Layout
 *   03 · Article Body Typography
 *   04 · Post Tags
 *   05 · Author Block (below article)
 *   06 · Sticky Sidebar
 *   07 · Sidebar: Category Nav Module
 *   08 · Sidebar: Author / Visionary Card Module
 *   09 · Sidebar: Related Articles Module
 *   10 · Sidebar: Apply CTA Module
 *   11 · Keep Reading Row
 *   12 · Category Art Direction Overrides
 *   13 · Responsive Breakpoints
 */


/* ── 01  ARTICLE HERO ──────────────────────────────────────────────────────── */

.single-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a0d18;
  padding-top: 88px; /* clear fixed nav (84px height + 4px breathing room) */
}

/* 4px accent border — top of hero, in category color */
.single-hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cat-accent, var(--tierra));
  z-index: 10;
}

/* Featured image — fills hero, sits behind gradient */
.single-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.single-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.5;
}

/* Gradient overlay — near-opaque Plum at bottom, transparent at top */
.single-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(61, 29, 52, 0.97) 0%,
    rgba(61, 29, 52, 0.80) 30%,
    rgba(61, 29, 52, 0.40) 60%,
    rgba(61, 29, 52, 0.10) 100%
  );
}

/* No-image variant — solid gradient background */
.single-hero--no-img {
  background: linear-gradient(135deg, #1a0d18 0%, var(--plum-dark) 60%, var(--plum) 100%);
}

.single-hero--no-img .single-hero-overlay {
  background: none;
}

/* Hero content — sits above image and overlay */
.single-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 56px 72px;
}

.single-hero-inner {
  max-width: 780px;
}

/* Breadcrumb */
.single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.single-breadcrumb a,
.single-breadcrumb span {
  color: rgba(245, 237, 216, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.single-breadcrumb a:hover {
  color: var(--crema);
}

.single-breadcrumb [aria-current="page"] {
  color: rgba(245, 237, 216, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Category eyebrow */
.single-hero-cat {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity 0.2s;
}

.single-hero-cat:hover {
  opacity: 0.75;
}

/* H1 */
.single-hero-headline {
  font-family: var(--font-serif) !important;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.04;
  color: var(--crema);
  margin: 0 0 20px;
  max-width: 720px;
}

/* Dek */
.single-hero-dek {
  font-family: var(--font-sans);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 237, 216, 0.75);
  margin: 0 0 32px;
  max-width: 640px;
}

/* Byline */
.single-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-byline-avatar-link {
  flex-shrink: 0;
}

.single-byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 237, 216, 0.3);
  display: block;
}

.single-byline-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.single-byline-author {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--crema);
}

.single-byline-author a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.single-byline-author a:hover {
  opacity: 0.75;
}

.single-byline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(245, 237, 216, 0.5);
}


/* ── 02  TWO-COLUMN ARTICLE LAYOUT ─────────────────────────────────────────── */

.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 56px 0;
  align-items: flex-start;
}

.single-main {
  min-width: 0; /* prevent overflow in grid */
}

.single-article {
  max-width: 720px;
}


/* ── 03  ARTICLE BODY TYPOGRAPHY ───────────────────────────────────────────── */

.single-article-body {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(26, 13, 24, 0.82);
}

/* Headings inside article */
.single-article-body h2 {
  font-family: var(--font-serif) !important;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--plum);
  margin: 56px 0 20px;
}

.single-article-body h3 {
  font-family: var(--font-serif) !important;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--plum);
  margin: 40px 0 16px;
}

.single-article-body h4 {
  font-family: var(--font-sans) !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 32px 0 12px;
}

/* Paragraphs */
.single-article-body p {
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 1.85;
  color: rgba(26, 13, 24, 0.82);
  font-family: var(--font-sans);
}

.single-article-body p:last-child {
  margin-bottom: 0;
}

/* Blockquotes — 3px Tierra left border, Cormorant Garamond italic */
.single-article-body blockquote {
  border-left: 3px solid var(--tierra);
  padding: 12px 0 12px 28px;
  margin: 48px 0;
  font-family: var(--font-serif) !important;
  font-size: clamp(22px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  color: var(--plum);
}

.single-article-body blockquote p {
  font-family: var(--font-serif) !important;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  font-style: inherit;
  margin: 0;
}

.single-article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
  color: rgba(92, 45, 78, 0.5);
}

/* Links within article body */
.single-article-body a {
  color: var(--tierra);
  text-decoration: underline;
  text-decoration-color: rgba(196, 98, 45, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.single-article-body a:hover {
  text-decoration-color: var(--tierra);
}

/* Images inside article
 * max-width prevents overflow but preserves natural image dimensions.
 * width: 100% was removed — it was forcing ALL images to full column width
 * and overriding any center/left/right alignment set in the WordPress editor.
 * Unaligned images (no class) still expand to full width via the rule below.
 */
.single-article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

/* Unaligned images expand to fill the column (WordPress default behaviour) */
.single-article-body img:not(.aligncenter):not(.alignleft):not(.alignright):not(.alignnone) {
  width: 100%;
}

/* ── WordPress image alignment support ────────────────────────────────────── */

/* Center — classic editor: img.aligncenter */
.single-article-body img.aligncenter {
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

/* Center — Gutenberg: figure.wp-block-image.aligncenter */
.single-article-body .wp-block-image.aligncenter,
.single-article-body figure.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.single-article-body .wp-block-image.aligncenter img,
.single-article-body figure.aligncenter img {
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

/* Left float — classic editor: img.alignleft */
.single-article-body img.alignleft,
.single-article-body figure.alignleft img,
.single-article-body .wp-block-image.alignleft img {
  float: left;
  margin: 4px 24px 16px 0;
  width: auto;
}

/* Right float — classic editor: img.alignright */
.single-article-body img.alignright,
.single-article-body figure.alignright img,
.single-article-body .wp-block-image.alignright img {
  float: right;
  margin: 4px 0 16px 24px;
  width: auto;
}

/* Clearfix — prevents text from wrapping under floated images */
.single-article-body p::after {
  content: '';
  display: table;
  clear: both;
}

.single-article-body figure {
  margin: 20px 0;
}

.single-article-body figcaption {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(92, 45, 78, 0.5);
  margin-top: 10px;
  font-style: italic;
}

/* Lists */
.single-article-body ul,
.single-article-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.single-article-body li {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 13, 24, 0.82);
  margin-bottom: 8px;
}

/* Strong / em within body */
.single-article-body strong {
  font-weight: 600;
  color: var(--plum);
}

.single-article-body em {
  font-style: italic;
}

/* Horizontal rule */
.single-article-body hr {
  border: none;
  border-top: 1px solid rgba(92, 45, 78, 0.12);
  margin: 56px 0;
}


/* ── 04  POST TAGS ─────────────────────────────────────────────────────────── */

.single-tags {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(92, 45, 78, 0.1);
}

.single-tags-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(92, 45, 78, 0.45);
  white-space: nowrap;
  padding-top: 5px;
}

.single-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-block;
  padding: 4px 14px;
  background: transparent;
  border: 1px solid rgba(92, 45, 78, 0.18);
  color: rgba(92, 45, 78, 0.6);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tag-pill:hover {
  border-color: var(--tierra);
  color: var(--tierra);
  background: rgba(196, 98, 45, 0.04);
}


/* ── 05  AUTHOR BLOCK (below article) ──────────────────────────────────────── */

.single-author-block {
  margin-top: 56px;
  padding: 40px 40px 36px;
  background: var(--crema);
  border-top: 3px solid var(--cat-accent, var(--tierra));
}

.single-author-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.single-author-avatar-link {
  flex-shrink: 0;
}

.single-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cat-accent, var(--tierra));
  display: block;
}

.single-author-body {
  flex: 1;
  min-width: 0;
}

.single-author-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(92, 45, 78, 0.45);
  margin: 0 0 6px;
}

.single-author-name {
  font-family: var(--font-serif) !important;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 6px;
}

.single-author-name a {
  color: var(--plum);
  text-decoration: none;
  transition: color 0.2s;
}

.single-author-name a:hover {
  color: var(--tierra);
}

.single-author-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(92, 45, 78, 0.55);
  margin: 0 0 8px;
}

.single-author-tier {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cat-accent, var(--tierra));
  margin-bottom: 12px;
}

.single-author-bio {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 13, 24, 0.65);
  margin: 16px 0 20px;
}

.single-author-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cat-accent, var(--tierra));
  text-decoration: none;
  transition: gap 0.2s;
}

.single-author-cta:hover {
  gap: 10px;
}


/* ── 06  STICKY SIDEBAR ─────────────────────────────────────────────────────── */

.single-sidebar {
  align-self: flex-start;
  position: sticky;
  top: 88px;   /* 72px nav + 3px band + 13px breathing room */
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
  /* Hide scrollbar on all browsers */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.single-sidebar::-webkit-scrollbar {
  display: none;
}

.single-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Base module spacing */
.sidebar-module {
  padding: 24px 0 24px;
  border-bottom: 1px solid rgba(92, 45, 78, 0.1);
}

.sidebar-module:first-child {
  padding-top: 0;
}

.sidebar-module:last-child {
  border-bottom: none;
}

/* Module heading */
.sidebar-module-label {
  font-family: var(--font-sans) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(92, 45, 78, 0.4);
  margin: 0 0 16px;
}


/* ── 07  SIDEBAR: CATEGORY NAV MODULE ──────────────────────────────────────── */

.sidebar-cats nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(92, 45, 78, 0.55);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.sidebar-cat-link:hover {
  color: var(--plum);
  background: rgba(92, 45, 78, 0.04);
}

.sidebar-cat-link--active {
  color: var(--plum);
  font-weight: 600;
  background: rgba(92, 45, 78, 0.05);
}

.sidebar-cat-number {
  font-size: 10px;
  font-weight: 500;
  color: rgba(92, 45, 78, 0.3);
  min-width: 20px;
  letter-spacing: 0.05em;
}

.sidebar-cat-link--active .sidebar-cat-number {
  color: var(--active-color, var(--tierra));
}

.sidebar-cat-name {
  flex: 1;
}

.sidebar-cat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ── 08  SIDEBAR: AUTHOR / VISIONARY CARD MODULE ───────────────────────────── */

.sidebar-author-card-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.sidebar-author-avatar-link {
  flex-shrink: 0;
}

.sidebar-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(196, 98, 45, 0.3);
  display: block;
}

.sidebar-author-info {
  flex: 1;
  min-width: 0;
}

.sidebar-author-name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--plum);
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.sidebar-author-name:hover {
  color: var(--tierra);
}

.sidebar-author-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(92, 45, 78, 0.5);
  margin: 2px 0 4px;
}

.sidebar-author-tier {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tierra);
}

.sidebar-author-bio {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(26, 13, 24, 0.55);
  margin: 0 0 12px;
}

.sidebar-author-profile-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tierra);
  text-decoration: none;
  transition: letter-spacing 0.2s;
}

.sidebar-author-profile-link:hover {
  letter-spacing: 0.2em;
}


/* ── 09  SIDEBAR: RELATED ARTICLES MODULE ──────────────────────────────────── */

.sidebar-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Compact card inside sidebar */
.sidebar-related-list .card--compact {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom-color: rgba(92, 45, 78, 0.08);
}

.sidebar-related-list .card--compact .card-headline--compact {
  font-size: 14px;
  line-height: 1.3;
}

.sidebar-related-list .card--compact .card-meta {
  font-size: 11px;
}


/* ── 10  SIDEBAR: APPLY CTA MODULE ─────────────────────────────────────────── */

.sidebar-apply-cta {
  background: var(--tierra);
  padding: 24px !important;
  border-bottom: none !important;
  margin: 0;
}

.sidebar-apply-eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 237, 216, 0.6);
  margin: 0 0 8px;
}

.sidebar-apply-headline {
  font-family: var(--font-serif) !important;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--crema);
  margin: 0 0 10px;
}

.sidebar-apply-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 237, 216, 0.75);
  margin: 0 0 20px;
}

.sidebar-apply-btn {
  display: block;
  text-align: center;
  padding: 11px 16px;
  background: var(--crema);
  color: var(--tierra);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.sidebar-apply-btn:hover {
  background: var(--plum-dark);
  color: var(--crema);
}


/* ── 11  KEEP READING ROW ───────────────────────────────────────────────────── */

.single-related {
  background: var(--crema);
  padding: 80px 56px;
  border-top: 1px solid rgba(92, 45, 78, 0.08);
}

.single-related-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.single-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}


/* ── 12  CATEGORY ART DIRECTION OVERRIDES ───────────────────────────────────── */

/*
 * Body class: ln-cat-{slug} applied via functions.php body_class filter.
 * These overrides layer on top of the base single-post styles.
 * They express the editorial character of each destination without
 * changing the underlying HTML structure.
 */

/* ── Business: Sharp, executive, operator-oriented ── */
.ln-cat-business .single-article-body h2 {
  font-weight: 400;
  letter-spacing: -0.01em;
}

.ln-cat-business .single-article-body blockquote {
  border-left-color: var(--tierra);
  font-size: clamp(20px, 2.2vw, 24px);
}

.ln-cat-business .single-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(61, 29, 52, 0.98) 0%,
    rgba(61, 29, 52, 0.82) 35%,
    rgba(61, 29, 52, 0.30) 65%,
    rgba(61, 29, 52, 0.08) 100%
  );
}

/* ── Money: Clarity-first, utility-forward, legible ── */
.ln-cat-money .single-article-body {
  font-size: 17px;
  line-height: 1.8;
}

.ln-cat-money .single-article-body blockquote {
  border-left-color: var(--oro);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 400;
  color: rgba(92, 45, 78, 0.85);
}

.ln-cat-money .single-article-body blockquote cite {
  color: var(--oro);
}

.ln-cat-money .single-hero-headline {
  font-size: clamp(34px, 4.5vw, 60px);
}

/* ── Wellness: Spacious, restorative, soft pacing ── */
.ln-cat-wellness .single-article-body {
  line-height: 2;
}

.ln-cat-wellness .single-article-body p {
  margin-bottom: 30px;
  line-height: 2;
}

.ln-cat-wellness .single-article-body blockquote {
  border-left-color: var(--teal);
  padding: 20px 0 20px 32px;
}

.ln-cat-wellness .single-article-body blockquote cite {
  color: var(--teal);
}

.ln-cat-wellness .single-article-body h2 {
  margin-top: 72px;
}

.ln-cat-wellness .single-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(61, 29, 52, 0.95) 0%,
    rgba(28, 169, 160, 0.20) 55%,
    rgba(28, 169, 160, 0.05) 100%
  );
}

/* ── Culture: Rich, immersive, cultural texture ── */
.ln-cat-culture .single-article-body blockquote {
  border-left-color: var(--plum);
  font-size: clamp(22px, 2.8vw, 30px);
  padding: 20px 0 20px 32px;
  border-left-width: 4px;
}

.ln-cat-culture .single-article-body blockquote cite {
  color: rgba(92, 45, 78, 0.55);
}

.ln-cat-culture .single-hero-headline {
  font-size: clamp(40px, 6vw, 80px);
}

.ln-cat-culture .single-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(61, 29, 52, 0.97) 0%,
    rgba(92, 45, 78, 0.60) 40%,
    rgba(92, 45, 78, 0.15) 75%,
    rgba(92, 45, 78, 0.05) 100%
  );
}

.ln-cat-culture .single-article-body h2 {
  font-style: italic;
  font-weight: 300;
}

/* ── Power: Institutional, civic gravitas ── */
.ln-cat-power .single-article-body blockquote {
  border-left-color: var(--plum-dark);
  background: rgba(61, 29, 52, 0.04);
  padding: 20px 20px 20px 28px;
  font-size: clamp(18px, 2vw, 22px);
  font-style: normal;
  font-weight: 400;
}

.ln-cat-power .single-article-body h2 {
  font-weight: 400;
}

.ln-cat-power .single-article-body h3 {
  font-weight: 500;
  font-style: normal;
}

.ln-cat-power .single-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(61, 29, 52, 0.99) 0%,
    rgba(61, 29, 52, 0.85) 30%,
    rgba(61, 29, 52, 0.50) 65%,
    rgba(61, 29, 52, 0.15) 100%
  );
}

/* ── Voices: Podcast + media context ── */
.ln-cat-voices .single-hero-cat {
  background: linear-gradient(90deg, var(--tierra), var(--oro));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ln-cat-voices .single-article-body blockquote {
  border-left: none;
  border-top: 3px solid var(--tierra);
  border-bottom: 1px solid rgba(196, 98, 45, 0.2);
  padding: 24px 0 20px;
  margin: 48px 0;
  font-size: clamp(20px, 2.5vw, 28px);
}

.ln-cat-voices .single-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(61, 29, 52, 0.97) 0%,
    rgba(61, 29, 52, 0.70) 35%,
    rgba(196, 98, 45, 0.15) 70%,
    rgba(212, 168, 83, 0.05) 100%
  );
}


/* ── 13  RESPONSIVE BREAKPOINTS ─────────────────────────────────────────────── */

/* 1100px: reduce layout padding, tighten sidebar gap */
@media (max-width: 1100px) {
  .single-layout {
    grid-template-columns: 1fr 280px;
    gap: 48px;
    padding: 56px 40px 0;
  }

  .single-hero-content {
    padding: 72px 40px 64px;
  }

  .single-related {
    padding: 64px 40px;
  }
}

/* 900px: collapse to single column, sidebar moves below content */
@media (max-width: 900px) {
  .single-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 48px 24px 0;
  }

  .single-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    border-top: 1px solid rgba(92, 45, 78, 0.1);
    margin-top: 48px;
    padding-top: 40px;
  }

  /* On mobile, sidebar modules go horizontal */
  .single-sidebar-sticky {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
  }

  .sidebar-module {
    border-bottom: none;
    border-right: 1px solid rgba(92, 45, 78, 0.08);
    padding-right: 32px;
  }

  .sidebar-module:nth-child(even) {
    border-right: none;
    padding-right: 0;
    padding-left: 0;
  }

  .sidebar-apply-cta {
    grid-column: 1 / -1;
    padding: 24px !important;
    margin-top: 24px;
  }

  .single-hero-content {
    padding: 56px 24px 56px;
  }

  .single-related {
    padding: 56px 24px;
  }

  .single-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .single-article-body h2 {
    font-size: 28px;
    margin-top: 40px;
  }

  .single-article-body h3 {
    font-size: 22px;
  }

  .single-article-body blockquote {
    font-size: 20px;
    padding-left: 20px;
  }
}

/* 640px: single column everything */
@media (max-width: 640px) {
  .single-hero {
    min-height: 60vh;
  }

  .single-hero-content {
    padding: 48px 20px 48px;
  }

  .single-hero-headline {
    font-size: 34px;
  }

  .single-hero-dek {
    font-size: 16px;
  }

  .single-layout {
    padding: 40px 20px 0;
  }

  .single-article-body {
    font-size: 17px;
  }

  .single-author-block {
    padding: 28px 20px;
  }

  .single-author-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .single-author-cta {
    justify-content: center;
  }

  .single-sidebar-sticky {
    grid-template-columns: 1fr;
  }

  .sidebar-module {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(92, 45, 78, 0.08);
  }

  .single-related {
    padding: 48px 20px;
  }

  .single-related-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .single-tags {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ── 14  READING PROGRESS BAR ───────────────────────────────────────────────── */

.ln-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #C4622D; /* Tierra Caliente */
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
  will-change: width;
}


/* ── 15  READING TIME BADGE ─────────────────────────────────────────────────── */

.single-read-time-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.single-read-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 237, 216, 0.12);
  border: 1px solid rgba(245, 237, 216, 0.22);
  border-radius: 4px;
  padding: 6px 14px 6px 11px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--crema);
  text-transform: uppercase;
}

.read-time-icon {
  color: #C4622D;
  flex-shrink: 0;
}

.read-time-label {
  color: var(--crema);
}

.single-finish-time {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(245, 237, 216, 0.55);
  text-transform: none;
}

/* No-image variant: keep readable */
.single-hero--no-img .single-read-time-badge {
  background: rgba(61, 29, 52, 0.12);
  border-color: rgba(61, 29, 52, 0.2);
}


/* ── 16  SOCIAL SHARING BUTTONS ─────────────────────────────────────────────── */

.single-sharing {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(92, 45, 78, 0.1);
}

.single-sharing-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(61, 29, 52, 0.45);
  white-space: nowrap;
}

.single-sharing-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Ghost button base — shared by button and <a> */
.ln-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #3d1d34; /* Plum Dark */
  background: transparent;
  border: 1.5px solid #3d1d34;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  line-height: 1;
}

.ln-share-btn:hover {
  background: #3d1d34;
  color: #F5EDD8; /* Crema */
}

/* Copy Link: subtle fill flash on "Copied" state (handled by JS label change) */
.ln-share-copy[data-copied="true"] {
  background: #3d1d34;
  color: #F5EDD8;
  pointer-events: none;
}

@media (max-width: 640px) {
  .single-sharing {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .single-read-time-bar {
    gap: 10px;
  }
}
