/* ============================================================
   BannerUps — Article Page (Variation B)
   Design: Two-column sticky sidebar, cream hero, mono labels
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --art-red:        #C8102E;
  --art-red-dark:   #9E0B22;
  --art-red-tint:   #FFB3BD;
  --art-ink:        #1A1A1A;
  --art-body:       #262626;
  --art-muted:      #6B6B6B;
  --art-line:       #E6E6E6;
  --art-cream:      #FAF8F5;
}

/* ── Font preload hint ─────────────────────────────────────── */
.art-page {
  font-family: 'Poppins', sans-serif;
  max-width: 100%;
}

/* ── HERO STRIP ─────────────────────────────────────────────── */
.art-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(0,0,0,0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 0%,   rgba(0,0,0,0.04), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 0%,   rgba(0,0,0,0.04), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,0.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #FDFDFC 0%, #F6F4F0 100%);
  box-shadow:
    inset 0  18px 40px -18px rgba(0,0,0,0.06),
    inset 0 -18px 40px -18px rgba(0,0,0,0.12);
  border-bottom: 1px solid var(--art-line);
  padding: 44px 48px 36px;
}
.art-hero-inner { max-width: 1200px; margin: 0 auto; }

.art-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--art-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.art-breadcrumb a { color: var(--art-muted); text-decoration: none; }
.art-breadcrumb a:hover { color: var(--art-red); }
.art-breadcrumb-sep { color: #CCC; margin: 0 8px; }
.art-breadcrumb-current {
  color: var(--art-red);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.art-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--art-ink);
  margin: 0 0 16px;
  max-width: 820px;
  text-wrap: balance;
}

.art-dek {
  font-size: 18px;
  line-height: 1.5;
  color: #3A3A3A;
  margin: 0;
  max-width: 720px;
  text-wrap: pretty;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  font-size: 13px;
  color: var(--art-muted);
  flex-wrap: wrap;
}
.art-meta-sep { color: #CCC; margin: 0 12px; }
.art-meta-author { color: var(--art-ink); font-weight: 600; }

/* ── BODY GRID ──────────────────────────────────────────────── */
.art-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

/* ── MAIN ARTICLE COLUMN ────────────────────────────────────── */
/* min-width: 0 overrides the default min-width: auto on grid items,
   which otherwise expands the grid to the intrinsic width of
   overflow-x: auto children (e.g. the nowrap TOC pill row) */
.art-main    { min-width: 0; order: 1; }
.art-sidebar { min-width: 0; order: 2; }

/* Neutralize WP core image block margins inside art-main */
.art-main .wp-block-image {
  margin: 0;
}
.art-main .wp-block-image figcaption,
.art-main .wp-block-image .wp-element-caption {
  font-size: 13px;
  color: #8A7A6A;
  text-align: center;
  padding: 8px 0 0;
  font-style: italic;
}

.art-hero-img {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 4px;
  display: block;
  margin-bottom: 36px;
  overflow: hidden;
}
.art-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.art-hero-img-placeholder {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 4px;
  background: #E8DDD0;
  margin-bottom: 36px;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Article typography */
.art-main p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--art-body);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.art-main p.art-lead {
  font-size: 19px;
  color: var(--art-ink);
}
.art-main h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--art-ink);
  margin: 52px 0 16px;
  line-height: 1.2;
  scroll-margin-top: 130px;
}
.art-main h2:first-child { margin-top: 0; }
.art-main h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--art-ink);
  margin: 28px 0 10px;
  scroll-margin-top: 130px;
}
.art-main ul, .art-main ol {
  padding-left: 20px;
  margin: 0 0 18px;
}
.art-main li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--art-body);
  margin-bottom: 8px;
}
.art-main a { color: var(--art-red); }
.art-main a:hover { color: var(--art-red-dark); }
.art-main strong { color: var(--art-ink); }

/* Inline images */
.art-img-wrap {
  margin: 32px 0;
}
.art-img-wrap img {
  width: 100%;
  border-radius: 4px;
  display: block;
}
.art-img-wrap figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--art-muted);
  font-style: italic;
  line-height: 1.5;
}

/* Image pair */
.art-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.art-img-pair figure { margin: 0; }
.art-img-pair img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.art-img-pair figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--art-muted);
  font-style: italic;
  line-height: 1.5;
}

/* Image placeholder */
.art-img-placeholder {
  background: #E8DDD0;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  box-sizing: border-box;
}
.art-img-placeholder-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #3A3A3A;
  background: rgba(255,255,255,0.75);
  padding: 4px 8px;
  border-radius: 2px;
}

/* Pull quote */
.art-pullquote {
  margin: 36px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--art-red);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--art-ink);
  letter-spacing: -0.01em;
}
.art-pullquote footer {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--art-muted);
  font-style: normal;
}

/* Callout boxes */
.art-callout {
  margin: 28px 0;
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
}
.art-callout--tip  { background: #FFF6F7; border-left: 4px solid var(--art-red); }
.art-callout--warn { background: #FDF7E4; border-left: 4px solid #B8860B; }
.art-callout--note { background: #F4F4F4; border-left: 4px solid #4A4A4A; }

.art-callout-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 6px;
}
.art-callout--tip  .art-callout-tag { color: var(--art-red); }
.art-callout--warn .art-callout-tag { color: #B8860B; }
.art-callout--note .art-callout-tag { color: #4A4A4A; }

.art-callout-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--art-ink);
  margin-bottom: 6px;
}
.art-callout p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #2B2B2B !important;
  margin: 0 !important;
}

/* Related articles */
.art-related {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--art-line);
}
.art-related-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--art-muted);
  margin-bottom: 20px;
}
.art-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.art-related-card { cursor: pointer; text-decoration: none; display: block; }
.art-related-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.art-related-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 4px;
  display: block;
}
.art-related-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--art-red);
  margin-top: 14px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}
.art-related-title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--art-ink);
}

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.art-sidebar {
  position: sticky;
  top: 130px;
}

/* TOC */
.art-toc {
  border-left: 2px solid var(--art-line);
  padding-left: 18px;
  margin-bottom: 32px;
}
.art-toc-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--art-muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.art-toc a {
  display: block;
  padding: 6px 0 6px 12px;
  font-size: 14px;
  color: #444;
  font-weight: 400;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -20px;
  transition: color 120ms, border-color 120ms, font-weight 120ms;
  line-height: 1.4;
}
.art-toc a:hover { color: var(--art-red); }
.art-toc a.is-active {
  color: var(--art-red);
  font-weight: 600;
  border-left-color: var(--art-red);
}

/* Quote form card */
.art-quote-card {
  background: var(--art-ink);
  color: #ffffff;
  padding: 26px 24px;
  border-radius: 14px;
}
.art-quote-card-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--art-red-tint);
  margin-bottom: 8px;
}
.art-quote-card-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 6px;
  color: #ffffff;
}
.art-quote-card-desc {
  font-size: 13px;
  color: #BBB;
  margin-bottom: 18px;
  line-height: 1.5;
}
.art-quote-card input {
  width: 100%;
  box-sizing: border-box;
  background: #222;
  border: 1px solid #333;
  color: #ffffff;
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  border-radius: 2px;
  margin-bottom: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.art-quote-card input::placeholder,
.art-quote-card textarea::placeholder { color: #666; }
.art-quote-card input:focus,
.art-quote-card textarea:focus { border-color: #555; }
.art-quote-card textarea {
  width: 100%;
  box-sizing: border-box;
  background: #222;
  border: 1px solid #333;
  color: #ffffff;
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  border-radius: 2px;
  margin-bottom: 8px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 90px;
}
.art-quote-card button {
  width: 100%;
  background: var(--art-red);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.art-quote-card button:hover { background: var(--art-red-dark); }
.art-quote-success {
  font-size: 14px;
  color: #BBB;
  text-align: center;
  padding: 12px 0;
  line-height: 1.6;
}
.art-quote-success strong { color: #ffffff; }

/* Quick facts card */
.art-facts-card {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--art-line);
  border-radius: 4px;
}
.art-facts-label {
  font-size: 13px;
  color: var(--art-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.art-facts-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--art-line);
}
.art-facts-row:last-child { border-bottom: none; }
.art-facts-key { color: var(--art-muted); }
.art-facts-val { font-weight: 600; color: var(--art-ink); }

/* ── FOCUS ───────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--art-red);
  outline-offset: 2px;
}

/* ── Article images — responsive at all sizes ───────────────── */
.art-main .wp-block-image {
  margin: 1.75rem 0;
  max-width: 100%;
}
.art-main .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  max-width: 100%;
}

/* ── General responsive images inside article ────────────────── */
.art-main img,
.art-main figure img {
  max-width: 100%;
  height: auto;
}
.art-main figure {
  max-width: 100%;
}

/* ── Tables — horizontal scroll at all sizes ────────────────── */
/* Scroll container is the .wp-block-table wrapper, not the <table> itself */
.art-main .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  width: 100%;
  max-width: 100%;
}
.art-main table {
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}
.art-main td, .art-main th {
  padding: 10px 14px;
  border: 1px solid var(--art-line);
  vertical-align: top;
  line-height: 1.5;
}
.art-main th {
  background: #f5f5f5;
  font-weight: 600;
  font-size: 13px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .art-hero  { padding: 36px 32px 28px; }
  .art-grid  { padding: 40px 32px; gap: 48px; }
}

@media (max-width: 900px) {
  .art-hero        { padding: 28px 20px 24px; }
  .art-hero-inner  { max-width: 100%; }
  .art-title       { font-size: 30px; letter-spacing: -0.02em; }
  .art-dek         { font-size: 16px; max-width: 100%; }

  .art-grid {
    grid-template-columns: 1fr;
    padding: 28px 20px 48px;
    gap: 0;
  }

  /* Sidebar dissolves into grid so TOC and contact card can be ordered separately */
  .art-sidebar { display: contents; }

  /* TOC stays above article — needs min-width:0 since display:contents removes sidebar's constraint */
  .art-toc {
    order: -1;
    margin-bottom: 24px;
    border-left: none;
    padding-left: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  /* Contact/quote card drops below article */
  .art-quote-card {
    order: 3;
    margin-top: 48px;
    border-radius: 14px;
    min-width: 0;
  }

  .art-facts-card { display: none; }

  /* TOC collapses to horizontal scroll pills */
  .art-toc-label { margin-bottom: 10px; font-size: 11px; }
  .art-toc-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    max-width: 100%;
    min-width: 0;
  }
  .art-toc-links::-webkit-scrollbar { display: none; }
  .art-toc a {
    white-space: nowrap;
    border: 1px solid var(--art-line);
    border-radius: 50px;
    padding: 7px 16px;
    margin-left: 0;
    font-size: 13px;
    background: #f9f9f9;
    border-left-width: 1px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .art-toc a.is-active {
    background: rgba(200,16,46,0.06);
    border-color: rgba(200,16,46,0.3);
    color: var(--art-red);
    border-left-width: 1px;
  }

  /* Watch Video button — full width on mobile */
  .art-hero .bu-video-trigger.hero-video-trigger {
    display: flex !important;
    width: 100% !important;
    max-width: 400px;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 1.25rem;
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
  }

  /* Article typography */
  .art-main h2    { font-size: 22px; margin-top: 40px; scroll-margin-top: 80px; }
  .art-main h3    { font-size: 18px; scroll-margin-top: 80px; }
  .art-main p     { font-size: 16px; }
  .art-main li    { font-size: 16px; }
  .art-pullquote  { font-size: 18px; }
  .art-lead       { font-size: 17px !important; }

  /* Images */
  .art-main .wp-block-image { margin: 1.25rem 0; }
  .art-img-pair { grid-template-columns: 1fr; }

  /* Hero image */
  .art-hero-img              { aspect-ratio: 16/9; margin-bottom: 24px; }
  .art-hero-img img          { object-fit: cover; width: 100%; }

  /* Constrain all article images */
  .art-img-wrap img,
  .art-img-pair img,
  .art-related-card img      { max-width: 100%; width: 100%; height: auto; }
  .art-img-wrap              { margin: 20px 0; }
  .art-img-wrap img          { aspect-ratio: 16/9; object-fit: cover; }

  /* Related articles — single column */
  .art-related-grid { grid-template-columns: 1fr; }

  /* Callout boxes */
  .art-callout { padding: 14px 16px; }
}

@media (max-width: 600px) {
  .art-hero   { padding: 20px 16px; }
  .art-title  { font-size: 24px; margin-bottom: 12px; }
  .art-dek    { font-size: 15px; }
  .art-grid   { padding: 20px 16px 40px; }

  /* Watch Video button — full width on small phones */
  .art-hero .bu-video-trigger.hero-video-trigger {
    max-width: 100% !important;
  }

  .art-main h2  { font-size: 20px; margin-top: 32px; }
  .art-main h3  { font-size: 17px; }
  .art-main p,
  .art-main li  { font-size: 15px; }

  .art-pullquote      { font-size: 16px; padding-left: 16px; }
  .art-quote-card     { padding: 20px 16px; }
  .art-quote-card-title { font-size: 16px; }
  .art-related-card img { aspect-ratio: 16/9; }

  /* Tables — smaller text on phones */
  .art-main table { font-size: 13px; }
  .art-main td, .art-main th { padding: 8px 10px; }

  /* Breadcrumb — wrap cleanly */
  .art-breadcrumb { font-size: 11px; }

  /* Tighten image margins */
  .art-main .wp-block-image { margin: 1rem 0; }

  /* Stack wp-block-columns vertically on phones */
  .art-main .wp-block-columns {
    flex-direction: column !important;
  }
  .art-main .wp-block-column {
    flex-basis: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* ── Full-width video inside article column ──────────────────── */
/* Override WP core layout constraints on the wp-block-html wrapper */
.art-main > *:has(.art-full-bleed-video) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
.art-full-bleed-video {
  margin: 3rem 0;
  width: 100%;
  max-width: 100%;
}
.art-full-bleed-video .pp-video-embed {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
@media (max-width: 900px) {
  .art-full-bleed-video { margin: 2rem 0; }
}

/* ── Video CTA thumbnail card ────────────────────────────────── */
.art-video-cta {
  margin: 2rem 0 2.5rem;
}
.art-video-thumb-card {
  display: block;
  width: 100%;
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transition: box-shadow 0.25s, transform 0.25s;
}
.art-video-thumb-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  transform: translateY(-2px);
}
.art-video-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  display: block;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.art-video-thumb-card:hover .art-video-thumb-img {
  transform: scale(1.03);
  opacity: 0.82;
}
.art-video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.art-video-thumb-play svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
  transition: transform 0.2s ease;
}
.art-video-thumb-card:hover .art-video-thumb-play svg {
  transform: scale(1.12);
}
.art-video-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  text-align: left;
  pointer-events: none;
}
.art-video-thumb-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--art-red-tint);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 4px;
}
.art-video-thumb-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  line-height: 1.35;
}

/* ── Video modal lightbox ────────────────────────────────────── */
.art-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-video-modal[hidden] { display: none; }
.art-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
}
.art-video-modal-box {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  background: #000;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}
.art-video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
  font-family: sans-serif;
}
.art-video-modal-close:hover { opacity: 1; }
.art-video-modal-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}
.art-video-modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Post excerpt used as article dek in page-how-to template ── */
.art-hero .wp-block-post-excerpt.art-dek {
  margin: 0;
}
.art-hero .wp-block-post-excerpt.art-dek .wp-block-post-excerpt__excerpt {
  font-size: 18px;
  line-height: 1.5;
  color: #3A3A3A;
  margin: 0;
  max-width: 720px;
  text-wrap: pretty;
  font-weight: 400;
}
.art-hero .wp-block-post-excerpt__more-link { display: none; }

/* ── Blog post single view ───────────────────────────────── */
.art-hero h1.wp-block-post-title.art-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--art-ink);
  margin: 0 0 12px !important;
  max-width: 820px;
  text-wrap: balance;
}
.art-hero .wp-block-post-date {
  margin-bottom: 0;
}
.art-hero .wp-block-post-date time {
  font-size: 13px;
  color: var(--art-muted);
  letter-spacing: 0.02em;
}
.art-main .wp-block-post-featured-image.art-hero-img {
  width: 100%;
  margin-bottom: 36px;
  border-radius: 4px;
  overflow: hidden;
}
.art-main .wp-block-post-featured-image.art-hero-img img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* ============================================================
   HOW-TO LISTING PAGE
   ============================================================ */
.ht-listing {
  font-family: 'Poppins', sans-serif;
}

/* Hero */
.ht-hero {
  background:
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(0,0,0,0.08), transparent 70%),
    linear-gradient(180deg, #FDFDFC 0%, #F6F4F0 100%);
  border-bottom: 1px solid var(--art-line);
  padding: 56px 48px 48px;
}
.ht-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ht-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--art-red);
  margin: 0 0 12px;
}
.ht-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--art-ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.ht-desc {
  font-size: 18px;
  color: #3A3A3A;
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

/* Grid wrapper */
.ht-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px 80px;
}
.ht-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.ht-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--art-line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ht-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.ht-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.ht-card-img--placeholder {
  background: linear-gradient(160deg, #F7F4EF 0%, #EDE9E2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ht-card-img--placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cat-color, #C8102E);
}
.ht-card-placeholder-cat {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cat-color, #C8102E);
  opacity: 0.45;
}

.ht-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.ht-card-cat {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--art-red);
  margin-bottom: 10px;
}
.ht-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--art-ink);
  margin: 0 0 10px;
}
.ht-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--art-muted);
  margin: 0 0 20px;
  flex: 1;
}
.ht-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--art-red);
  letter-spacing: 0.02em;
  transition: gap 0.15s;
}
.ht-card:hover .ht-card-link { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
  .ht-hero { padding: 40px 32px 36px; }
  .ht-grid-wrap { padding: 40px 32px 60px; }
  .ht-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ht-hero { padding: 32px 20px; }
  .ht-title { font-size: 30px; }
  .ht-desc  { font-size: 16px; }
  .ht-grid-wrap { padding: 28px 20px 48px; }
  .ht-grid { grid-template-columns: 1fr; gap: 18px; }
}
