/* ==========================================================================
   SCC Times — Inner (section) pages · v3  (follows the home page)
   Loaded AFTER style.css. Layout classes are prefixed .ip-.

   TYPOGRAPHY RULE
   Text elements carry the SAME class names as on index.html (row-title,
   card-title, card-desc, row-meta, oped-title, legis-title, aside-block,
   trend-row …) so font family / size / weight come from style.css.
   The small fallbacks below use :where(), i.e. ZERO specificity, so any
   rule from style.css always wins — they only apply if style.css has none.
   ========================================================================== */

.ip-page {
  /* All tokens map to the homepage design system (style.css) */
  --ip-red: var(--red, #c00000);
  --ip-red-deep: var(--red-deep, #8f0000);
  --ip-line: var(--divider, var(--line, #dedcd5));
  --ip-surface: var(--surface-1, #fff);
  --ip-surface-2: var(--surface-2, #f7f6f4);
  --ip-text: var(--text-1, #1a1a1c);
  --ip-muted: var(--text-2, #555459);
  --t1: #111113; --t2: #200000; --ta: #ff5a6e;   /* home dark → deep-red gradient */
  --ip-radius: 2px;                              /* homepage is square-edged/editorial */
  --ip-shadow: var(--shadow-md, 0 10px 28px rgba(0,0,0,.09));
  padding-bottom: 44px;
}
.ip-page a { text-decoration: none; }
.ip-hidden { display: none !important; }

/* ---------- zero-specificity typography fallbacks ---------- */
:where(.ip-page) { font-size: 14px; line-height: 1.55; }
:where(.ip-page) :where(h1, h2, h3, h4, h5) { font-family: var(--ff-head, inherit); font-weight: 700; line-height: 1.3; margin: 0; }
:where(.ip-page) :where(h2) { font-size: 20px; }
:where(.ip-page) :where(h3, h4) { font-size: 15px; }
:where(.ip-page) :where(h5) { font-size: 14.5px; }
:where(.ip-page) :where(p) { font-size: 13px; margin: 0; }
:where(.ip-page) :where(.ip-meta) { font-size: 11.5px; color: var(--ip-muted); }
:where(.ip-page) :where(.ip-tag) { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; background: var(--ip-red); color: #fff; }

.ip-tag { display: inline-block; border-radius: 3px; }
.ip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ip-meta .cat { color: var(--ip-red); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ip-empty { padding: 36px 0; text-align: center; color: var(--ip-muted); }
.ip-av {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 700 13px var(--ff-head, inherit); color: #fff; background: linear-gradient(135deg, var(--t1), var(--ip-red));
}

/* ==========================================================================
   HERO BANNER (behind the breadcrumb)
   ========================================================================== */
.ip-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(118deg, var(--t1) 0%, var(--t2) 100%);
  padding: 30px 0 64px; margin-bottom: -6px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}
.ip-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(520px 260px at 88% 10%, rgba(200,16,46,.55), transparent 62%),
    radial-gradient(460px 260px at 4% 115%, rgba(0,0,0,.45), transparent 62%);
}
.ip-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 95%); mask-image: linear-gradient(to bottom, #000 25%, transparent 95%);
}
.ip-hero .glow { position: absolute; z-index: -1; width: 200px; height: 200px; border-radius: 50%; filter: blur(56px); opacity: .4; background: var(--ip-red); right: 16%; top: -80px; animation: ipGlow 9s ease-in-out infinite; }
.ip-hero .wm { position: absolute; z-index: -1; right: 5%; top: 50%; width: 190px; height: 190px; transform: translateY(-50%); opacity: .12; stroke: #fff; fill: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; animation: ipFloat 11s ease-in-out infinite; }
@keyframes ipFloat { 0%,100% { transform: translateY(-50%) } 50% { transform: translateY(calc(-50% - 10px)) } }
@keyframes ipGlow { 0%,100% { transform: translateY(0) } 50% { transform: translateY(14px) } }

.ip-crumbs {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ip-crumbs a { color: rgba(255,255,255,.85); }
.ip-crumbs a:hover { color: #fff; }
.ip-crumbs .sep { opacity: .55; }
.ip-crumbs .here { color: #fff; }
.ip-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ta); }
.ip-kicker::before { content: ''; width: 28px; height: 2px; background: var(--ta); border-radius: 2px; }
.ip-title { font-family: var(--ff-head, inherit); font-weight: 800; line-height: 1.12; margin: 0 0 8px; font-size: clamp(24px, 3.2vw, 34px); color: #fff; }
.ip-title .accent { color: var(--ta); }
.ip-desc { max-width: 600px; margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.84); }
.ip-hstats { display: flex; flex-wrap: wrap; gap: 8px; }
.ip-hstats span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.16); }
.ip-hstats i { width: 6px; height: 6px; border-radius: 50%; background: var(--ta); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }

/* ==========================================================================
   TOOLBAR
   ========================================================================== */
.ip-body { padding-top: 28px; }
.ip-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ip-chip {
  font: 700 11px/1 var(--ff-body, inherit); letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border-radius: var(--ip-radius);
  border: 1px solid var(--ip-line); background: transparent; color: inherit; cursor: pointer; transition: all .18s ease;
}
.ip-chip:hover { border-color: var(--ip-red); color: var(--ip-red); }
.ip-chip.active { background: var(--ip-red); border-color: var(--ip-red); color: #fff; }
.ip-count { font-size: 12px; color: var(--ip-muted); margin: 12px 0 18px; }

/* ==========================================================================
   LAYOUT + SIDEBAR
   ========================================================================== */
.ip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: stretch; }
.ip-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ip-box { border: 1px solid var(--ip-line); border-radius: 10px; padding: 16px; background: var(--ip-surface); }
.ip-adlabel { display: block; margin-bottom: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ip-muted); text-align: center; }
.ip-ad { display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--ip-line); box-shadow: var(--ip-shadow); }
.ip-ad img { display: block; width: 100%; aspect-ratio: 4 / 6; object-fit: cover; transition: transform .5s ease; }
.ip-ad:hover img { transform: scale(1.04); }
.ip-stickywrap { flex: 1; }
.ip-sticky { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 20px; }

.ip-promo { position: relative; overflow: hidden; border-radius: 10px; color: #fff; padding: 20px 18px; background: linear-gradient(150deg, var(--t1), var(--t2)); box-shadow: var(--ip-shadow); }
.ip-promo::before { content: ''; position: absolute; inset: 0; opacity: .25; background: url('assets/ad-engine.jpg') center / cover; mix-blend-mode: soft-light; }
.ip-promo > * { position: relative; }
.ip-promo .lbl { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ta); }
.ip-promo h4 { font-size: 16px; line-height: 1.3; margin: 6px 0 8px; color: #fff; }
.ip-promo p { margin: 0 0 14px; line-height: 1.55; color: rgba(255,255,255,.85); }
.ip-btn { display: inline-block; cursor: pointer; }

/* archives */
.ip-archive form { display: flex; gap: 6px; margin: 10px 0 10px; }
.ip-archive input { flex: 1; min-width: 0; padding: 8px 10px; font: inherit; font-size: 13px; color: inherit; border: 1px solid var(--ip-line); border-radius: 6px; background: transparent; }
.ip-archive input:focus { outline: 2px solid var(--ip-red); outline-offset: 1px; }
.ip-archive form button { width: 36px; border: 0; border-radius: 6px; background: var(--ip-red); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ip-archive details { border-bottom: 1px solid var(--ip-line); }
.ip-archive details:last-of-type { border-bottom: 0; }
.ip-archive summary { list-style: none; cursor: pointer; display: flex; align-items: center; padding: 10px 2px; font-size: 14px; font-weight: 700; }
.ip-archive summary::-webkit-details-marker { display: none; }
.ip-archive summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; margin-left: 10px; opacity: .6; }
.ip-archive details[open] summary { color: var(--ip-red); }
.ip-archive details[open] summary::after { transform: rotate(-135deg); }
.ip-archive summary span { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--ip-muted); }
.ip-archive ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ip-archive li a { display: flex; justify-content: space-between; gap: 6px; padding: 6px 9px; border-radius: 5px; font-size: 12.5px; color: inherit; background: rgba(128,128,128,.09); transition: all .15s ease; }
.ip-archive li a:hover { background: var(--ip-red); color: #fff; }
.ip-archive li a span { opacity: .65; font-size: 11px; }

/* newsletter */
.ip-news { color: #fff; border: 0; background: linear-gradient(145deg, var(--ip-red), #5e0716); position: relative; overflow: hidden; }
.ip-news h5 { color: #fff; margin-bottom: 8px; }
.ip-news p { margin: 0 0 12px; line-height: 1.55; color: rgba(255,255,255,.88); }
.ip-news form { display: flex; flex-direction: column; gap: 8px; }
.ip-news input { padding: 9px 11px; border-radius: 6px; border: 0; font: inherit; font-size: 13px; color: #111; background: #fff; }
.ip-news button { cursor: pointer; background: #111; border-color: #111; }

/* ==========================================================================
   LAYOUT A — Latest Stories
   ========================================================================== */
.ip-lead { position: relative; display: block; border-radius: 12px; overflow: hidden; margin-bottom: 22px; aspect-ratio: 16 / 8.5; color: #fff; background: #111; box-shadow: var(--ip-shadow); }
.ip-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ip-lead:hover img { transform: scale(1.04); }
.ip-lead .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.05) 100%); }
.ip-lead .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.ip-lead .badge { align-self: flex-start; display: inline-flex; gap: 7px; align-items: center; }
.ip-lead .badge b { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; background: #fff; color: #111; }
.ip-lead h2 { color: #fff; margin: 0; }
.ip-lead p { max-width: 640px; color: rgba(255,255,255,.85); }
.ip-lead .ip-meta { color: rgba(255,255,255,.75); }

.ip-rows { display: flex; flex-direction: column; }
.ip-row { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--ip-line); color: inherit; }
.ip-row .row-thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.ip-row .row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ip-row:hover .row-thumb img { transform: scale(1.06); }
.ip-row .row-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ip-row:hover .row-title { color: var(--ip-red); }
.ip-row .ip-ex { color: var(--ip-muted); }

/* ==========================================================================
   LAYOUT B — Case Analysis
   ========================================================================== */
.ip-briefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ip-brief { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 16px 14px; color: inherit; overflow: hidden; border: 1px solid var(--ip-line); border-top: 3px solid var(--ip-red); border-radius: 10px; background: var(--ip-surface); transition: transform .2s ease, box-shadow .2s ease; }
.ip-brief:hover { transform: translateY(-3px); box-shadow: var(--ip-shadow); }
.ip-brief .pic { position: relative; margin: 0 -16px; aspect-ratio: 16 / 9; overflow: hidden; }
.ip-brief .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ip-brief:hover .pic img { transform: scale(1.06); }
.ip-brief .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%); }
.ip-brief .pic .ip-tag { position: absolute; left: 12px; top: 12px; z-index: 2; }
.ip-brief .pic .no { position: absolute; right: 14px; bottom: 6px; z-index: 2; font: 800 24px/1 var(--ff-head, inherit); color: #fff; }
.ip-brief:hover .row-title { color: var(--ip-red); }
.ip-brief .inbrief { padding: 9px 11px; border-left: 3px solid var(--ip-red); border-radius: 0 6px 6px 0; background: rgba(128,128,128,.09); }
.ip-brief .inbrief b { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ip-red); margin-bottom: 3px; }
.ip-brief .inbrief p { color: var(--ip-muted); }
.ip-brief .foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--ip-line); }

/* ==========================================================================
   LAYOUT C — Legislation (timeline)
   ========================================================================== */
.ip-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.ip-tl::before { content: ''; position: absolute; left: 31px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom, var(--ip-red), var(--ip-line)); }
.ip-tl > li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding-bottom: 18px; }
.ip-tl .node { position: relative; z-index: 1; }
.ip-tl .disc { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--t1); color: #fff; border: 3px solid var(--ip-red); line-height: 1; }
.ip-tl .disc b { font: 800 19px var(--ff-head, inherit); }
.ip-tl .disc span { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-top: 2px; }
.ip-tlcard { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: start; padding: 14px 16px; color: inherit; border: 1px solid var(--ip-line); border-radius: 10px; background: var(--ip-surface); transition: transform .2s ease, box-shadow .2s ease; }
.ip-tlcard::before { content: ''; position: absolute; left: -8px; top: 22px; width: 14px; height: 14px; transform: rotate(45deg); background: var(--ip-surface); border-left: 1px solid var(--ip-line); border-bottom: 1px solid var(--ip-line); }
.ip-tlcard:hover { transform: translateX(3px); box-shadow: var(--ip-shadow); }
.ip-tlcard .pic { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.ip-tlcard .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ip-tlcard:hover .pic img { transform: scale(1.07); }
.ip-tlcard .tb { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ip-tlcard .row1 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.ip-tlcard .status { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ip-red); display: inline-flex; align-items: center; gap: 5px; }
.ip-tlcard .status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ip-red); }
.ip-tlcard:hover .legis-title { color: var(--ip-red); }

/* ==========================================================================
   LAYOUT D — Experts Corner
   ========================================================================== */
.ip-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ip-person { display: flex; flex-direction: column; gap: 11px; padding: 0 0 14px; color: inherit; border: 1px solid var(--ip-line); border-radius: 12px; background: var(--ip-surface); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.ip-person:hover { transform: translateY(-3px); box-shadow: var(--ip-shadow); }
.ip-person > :not(.pic) { margin-left: 16px; margin-right: 16px; }
.ip-person .pic { aspect-ratio: 16 / 9; overflow: hidden; }
.ip-person .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ip-person:hover .pic img { transform: scale(1.06); }
.ip-person .who { display: flex; align-items: center; gap: 11px; }
.ip-person .who .card-info { min-width: 0; }
.ip-person:hover .card-title { color: var(--ip-red); }
.ip-person .cta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--ip-line); display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--ip-red); }

/* ==========================================================================
   LAYOUT E — Events & Collaborations
   ========================================================================== */
.ip-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ip-event { display: flex; flex-direction: column; color: inherit; border: 1px solid var(--ip-line); border-radius: 12px; overflow: hidden; background: var(--ip-surface); transition: transform .2s ease, box-shadow .2s ease; }
.ip-event:hover { transform: translateY(-3px); box-shadow: var(--ip-shadow); }
.ip-event .pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ip-event .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ip-event:hover .pic img { transform: scale(1.06); }
.ip-event .date { position: absolute; left: 12px; top: 12px; min-width: 48px; padding: 7px 9px; text-align: center; line-height: 1; border-radius: 8px; background: #fff; color: #111; box-shadow: 0 5px 14px rgba(0,0,0,.25); }
.ip-event .date b { display: block; font: 800 18px var(--ff-head, inherit); color: var(--ip-red); }
.ip-event .date span { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ip-event .pic .ip-tag { position: absolute; right: 12px; top: 12px; }
.ip-event .b { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; flex: 1; }
.ip-event:hover .card-title { color: var(--ip-red); }
.ip-event .foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--ip-line); display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; }
.ip-event .go { font-weight: 700; color: var(--ip-red); }

/* ==========================================================================
   LAYOUT F — Law School News
   ========================================================================== */
.ip-hlist { display: flex; flex-direction: column; gap: 14px; }
.ip-hcard { position: relative; display: grid; grid-template-columns: 180px 1fr; color: inherit; overflow: hidden; border: 1px solid var(--ip-line); border-radius: 10px; background: var(--ip-surface); transition: transform .2s ease, box-shadow .2s ease; }
.ip-hcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ip-red); z-index: 2; }
.ip-hcard:hover { transform: translateX(4px); box-shadow: var(--ip-shadow); }
.ip-hcard .pic { overflow: hidden; min-height: 120px; }
.ip-hcard .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ip-hcard:hover .pic img { transform: scale(1.07); }
.ip-hcard .b { padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; }
.ip-hcard:hover .card-title { color: var(--ip-red); }

/* ==========================================================================
   LAYOUT G — Op-Eds
   ========================================================================== */
.ip-ops { display: flex; flex-direction: column; }
.ip-op { display: grid; grid-template-columns: 52px 1fr 170px; gap: 16px; padding: 20px 0; color: inherit; border-bottom: 1px solid var(--ip-line); }
.ip-op:first-child { padding-top: 0; }
.ip-op .oped-idx { align-self: start; }
.ip-op .mid { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ip-op:hover .oped-title { color: var(--ip-red); }
.ip-op .lede { padding-left: 12px; border-left: 3px solid var(--ip-red); font-style: italic; color: var(--ip-muted); }
.ip-op .by { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.ip-op .by .more { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ip-red); white-space: nowrap; }
.ip-op .thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; align-self: start; }
.ip-op .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ip-op:hover .thumb img { transform: scale(1.07); }

/* ==========================================================================
   LAYOUT H — Interviews
   ========================================================================== */
.ip-vidlead { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 8.5; margin-bottom: 20px; color: #fff; background: #111; box-shadow: var(--ip-shadow); }
.ip-vidgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ip-vid { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 4.6; color: #fff; background: #111; }
.ip-vid img, .ip-vidlead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ip-vid:hover img, .ip-vidlead:hover img { transform: scale(1.06); }
.ip-vid::after, .ip-vidlead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.15) 62%, transparent 100%); }
.ip-vid .ip-tag, .ip-vidlead .ip-tag { position: absolute; left: 12px; top: 12px; z-index: 2; }
.ip-vid .play, .ip-vidlead .play { position: absolute; z-index: 2; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: all .2s ease; }
.ip-vid:hover .play, .ip-vidlead:hover .play { background: var(--ip-red); border-color: var(--ip-red); transform: translate(-50%, -50%) scale(1.08); }
.ip-vid .dur, .ip-vidlead .dur { position: absolute; z-index: 2; right: 12px; top: 12px; padding: 3px 8px; border-radius: 4px; background: rgba(0,0,0,.7); font-size: 11px; font-weight: 600; }
.ip-vid .body, .ip-vidlead .body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px; }
.ip-vid h3, .ip-vidlead h3 { color: #fff; margin: 0 0 6px; }
.ip-vid .ip-meta, .ip-vidlead .ip-meta { color: rgba(255,255,255,.75); }

/* ==========================================================================
   PAGER + ARCHIVE BAND
   ========================================================================== */
.ip-pager { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 30px; flex-wrap: wrap; }
.ip-pager a, .ip-pager span { min-width: 34px; height: 34px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ip-line); border-radius: 6px; color: inherit; font-size: 13px; font-weight: 600; transition: all .15s ease; }
.ip-pager a:hover { border-color: var(--ip-red); color: var(--ip-red); }
.ip-pager .current { background: var(--ip-red); border-color: var(--ip-red); color: #fff; }
.ip-pager .gap { border: 0; }

.ip-archband { position: relative; overflow: hidden; margin-top: 44px; padding: 28px 30px; border-radius: 14px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; background: linear-gradient(120deg, var(--t1), var(--t2)); }
.ip-archband::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 220px at 100% 0%, rgba(200,16,46,.55), transparent 65%); }
.ip-archband > * { position: relative; }
.ip-archband .k { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ta); }
.ip-archband h3 { font-size: clamp(17px, 2vw, 21px); margin: 6px 0 6px; color: #fff; }
.ip-archband p { max-width: 500px; line-height: 1.55; color: rgba(255,255,255,.82); }
.ip-years { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; max-width: 340px; }
.ip-years a { padding: 8px 13px; border-radius: 6px; font-weight: 700; font-size: 12.5px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); transition: all .15s ease; }
.ip-years a:hover { background: var(--ip-red); border-color: var(--ip-red); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .ip-layout { grid-template-columns: 1fr; }
  .ip-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .ip-sticky, .ip-stickywrap { position: static; display: contents; }
  .ip-hero .wm { opacity: .07; right: -30px; }
  .ip-archband { grid-template-columns: 1fr; }
  .ip-years { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .ip-hero { padding: 24px 0 56px; }
  .ip-hero .wm { display: none; }
  .ip-aside { grid-template-columns: 1fr; }
  .ip-lead .txt { padding: 14px; }
  .ip-lead p { display: none; }
  .ip-row { grid-template-columns: 110px 1fr; gap: 12px; }
  .ip-row .ip-ex { display: none; }
  .ip-briefs, .ip-people, .ip-events, .ip-vidgrid { grid-template-columns: 1fr; }
  .ip-hcard { grid-template-columns: 1fr; }
  .ip-hcard .pic { aspect-ratio: 16 / 9; }
  .ip-op { grid-template-columns: 34px 1fr; gap: 10px; }
  .ip-op .thumb { grid-column: 2; aspect-ratio: 16 / 9; }
  .ip-tl::before { left: 23px; }
  .ip-tl > li { grid-template-columns: 46px 1fr; gap: 8px; }
  .ip-tl .disc { width: 44px; height: 44px; border-width: 2px; }
  .ip-tl .disc b { font-size: 14px; }
  .ip-tl .disc span { font-size: 8px; }
  .ip-tlcard { grid-template-columns: 90px 1fr; gap: 10px; padding: 10px; }
  .ip-tlcard::before { display: none; }
  .ip-archband { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ip-hero .glow, .ip-hero .wm { animation: none; }
  .ip-page * { transition: none !important; }
}

/* ---------- zero-specificity fallbacks for home-class text (style.css wins when it has a rule) ---------- */
:where(.ip-op) :where(.oped-idx) { font-family: var(--ff-head, inherit); font-size: 24px; font-weight: 800; line-height: 1; color: var(--ip-red); }
:where(.ip-op) :where(.oped-byline) { font-size: 12px; color: var(--ip-muted); }
:where(.ip-page) :where(.legis-date, .card-meta) { font-size: 11.5px; color: var(--ip-muted); }
:where(.ip-page) :where(.card-firm) { font-size: 11.5px; color: var(--ip-muted); }
:where(.ip-page) :where(.card-author) { font-size: 13px; font-weight: 700; }
:where(.ip-page) :where(.trend-row) { display: flex; gap: 10px; padding: 8px 0; font-size: 13px; line-height: 1.4; color: inherit; border-bottom: 1px solid var(--ip-line); }
:where(.ip-page) :where(.trend-row .tn) { font-weight: 800; color: var(--ip-red); min-width: 22px; }

/* (global !important font-size overrides removed — they leaked to the whole site;
   sizes are now scoped to .ip-page in the alignment layer below) */

/* ==========================================================================
   HOMEPAGE ALIGNMENT LAYER
   Everything below only restyles — it reuses homepage tokens/patterns:
   Playfair italic section titles, red hairline accents, square cards with
   1px border + red hover, uppercase 11px "see more"-style buttons.
   ========================================================================== */

/* ---- Typography ---- */
.ip-page { font-family: var(--ff-body); color: var(--ip-text); }
.ip-page .card-title, .ip-page .row-title { font-size: 15px !important; }
.ip-page .row-title { font-family: var(--ff-head); font-weight: 700; line-height: 1.35; color: var(--ip-text); transition: color .18s ease; }
.ip-page .card-desc { font-family: var(--ff-body); font-size: 12.5px; line-height: 1.55; color: var(--ip-muted); }

/* ---- Hero banner ---- */
.ip-hero { background: linear-gradient(135deg, var(--t1) 0%, var(--t2) 100%); border-bottom: 3px solid var(--ip-red); clip-path: none; padding: 30px 0 38px; margin-bottom: 0; }
.ip-hero .glow { opacity: .28; }
.ip-hero .wrap { padding-left: 16px; padding-right: 16px; }
.ip-crumbs { border-radius: var(--ip-radius); background: rgba(255,255,255,.08); }
.ip-title { font-family: var(--ff-title); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; }
.ip-title .accent { font-style: italic; }
.ip-desc { font-family: var(--ff-serif); font-size: 15px; }
.ip-hstats span { border-radius: var(--ip-radius); background: rgba(255,255,255,.08); letter-spacing: .02em; }

/* ---- Section heading (matches .section-head on home) ---- */
.ip-body .section-head { margin-bottom: 16px; }
.ip-body .section-title { font-size: 23px; }

/* ---- Filter chips ---- */
.ip-chips { gap: 8px; }
.ip-chip { background: var(--ip-surface); color: var(--ip-text); border-color: var(--ip-line); }
.ip-chip:hover { background: var(--red-tint, #fef2f2); }
html[data-theme="dark"] .ip-chip:hover { background: var(--surface-2); }
.ip-chip.active { box-shadow: 0 4px 12px rgba(192,0,0,.22); }
.ip-count { font-weight: 600; letter-spacing: .02em; }

/* ---- Brief cards ---- */
.ip-brief { background: var(--ip-surface); border: 1px solid var(--ip-line); border-top: 3px solid var(--ip-red); border-radius: var(--ip-radius); gap: 12px; padding: 0 0 0; }
.ip-brief:hover { transform: translateY(-3px); border-color: var(--ip-red); box-shadow: var(--ip-shadow); }
.ip-brief .pic { margin: 0; }
.ip-brief .pic .no { font-family: var(--ff-title); font-style: italic; font-size: 26px; opacity: .95; }
.ip-brief > .row-title, .ip-brief > .inbrief, .ip-brief > .foot { margin-left: 16px; margin-right: 16px; }
.ip-brief .inbrief { background: var(--ip-surface-2); border-left: 3px solid var(--ip-red); border-radius: 0; }
.ip-brief .inbrief b { font-family: var(--ff-body); letter-spacing: .12em; }
.ip-brief .foot { margin-bottom: 14px; padding-top: 10px; border-top: 1px solid var(--ip-line); border-style: solid none none; font-size: 11px; }
.ip-brief .foot span, .ip-page .row-foot span { color: var(--ip-muted); font-weight: 500; }
.ip-brief .foot span:first-child { color: var(--ip-text); font-weight: 700; }
.ip-brief .foot span + span::before { content: "•"; color: var(--ip-red); margin-right: 8px; }

/* ---- Sidebar boxes ---- */
.ip-box, .ip-ad, .ip-promo { border-radius: var(--ip-radius); }
.ip-box { background: var(--ip-surface-2); border: 1px solid var(--ip-line); padding: 18px; }
.ip-box h5 { font-family: var(--ff-body); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ip-box h5::before { margin-bottom: 0; }
.ip-ad img { aspect-ratio: 5 / 8; }
.ip-ad { box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.06)); }

.ip-archive input { border-radius: var(--ip-radius); background: var(--ip-surface); }
.ip-archive form button { border-radius: var(--ip-radius); }
.ip-archive li a { border-radius: var(--ip-radius); background: var(--ip-surface); border: 1px solid var(--ip-line); }
.ip-archive li a:hover { border-color: var(--ip-red); }

.ip-news { background: linear-gradient(135deg, var(--t1) 0%, #1d1d22 100%); }
.ip-news::before { content: ""; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, var(--ip-red), transparent 70%); opacity: .4; pointer-events: none; }
.ip-news > * { position: relative; }
.ip-news h5 { font-family: var(--ff-serif); font-size: 16px; text-transform: none; letter-spacing: 0; }
.ip-news h5::before { display: none; }
.ip-news p { font-family: var(--ff-serif); font-style: italic; }
.ip-news input { border-radius: var(--ip-radius); }
.ip-news button { background: var(--ip-red); border-color: var(--ip-red); }
.ip-news button:hover { background: var(--ip-red-deep); }

.ip-page .trend-row { border-color: var(--ip-line); font-weight: 500; }
.ip-page .trend-row:hover { color: var(--ip-red); }
.ip-page .trend-row .tn { font-family: var(--ff-head); }
.ip-promo { background: linear-gradient(135deg, var(--t1), var(--t2)); }
.ip-promo h4 { font-family: var(--ff-title); font-style: italic; }
.ip-promo .ip-btn { border-radius: var(--ip-radius); }

/* ---- Pagination (same look as .page-btn) ---- */
.ip-pager a, .ip-pager span { background: var(--ip-surface); border-radius: var(--ip-radius); height: 38px; min-width: 38px; }
.ip-pager .current { box-shadow: 0 4px 12px rgba(192,0,0,.22); }
.ip-pager .gap { background: none; }

/* ---- Archive band ---- */
.ip-archband { border-radius: var(--ip-radius); background: linear-gradient(135deg, var(--t1), var(--t2)); border-top: 3px solid var(--ip-red); }
.ip-archband h3 { font-family: var(--ff-title); font-style: italic; }
.ip-years a { border-radius: var(--ip-radius); }

/* ---- Accessibility / polish ---- */
.ip-page :focus-visible { outline: 2px solid var(--ip-red); outline-offset: 2px; }
.ip-page img { background: var(--ip-surface-2); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .ip-ad img { aspect-ratio: 16 / 9; }
  .ip-body { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 720px) {
  .ip-hero { padding: 22px 0 28px; }
  .ip-title { font-size: 26px; }
  .ip-desc { font-size: 14px; }
  .ip-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .ip-chips::-webkit-scrollbar { display: none; }
  .ip-chip { flex: 0 0 auto; }
  .ip-brief .pic { aspect-ratio: 16 / 10; }
  .ip-body .section-title { font-size: 20px; }
  .ip-pager a, .ip-pager span { height: 36px; min-width: 36px; }
}
/* ==========================================================================
   ARTICLE / DETAIL PAGE  (.ip-article)
   Reuses the article components in style.css (article-layout, takeaways-box,
   citation-callout, bench-coram-box, case-facts-box …) and aligns them with
   the homepage look: square edges, red hairlines, Playfair headings, dark mode.
   ========================================================================== */
.ip-article { padding-bottom: 56px; }
.ip-article .ip-body { padding-top: 30px; }
.article-layout { gap: 40px; }
.article-main { min-width: 0; }

/* breadcrumb strip */
.breadcrumbs-wrap { background: var(--surface-2, #f7f6f4); border-bottom: 1px solid var(--divider, #dedcd5); }
.breadcrumbs-list a, .breadcrumbs-list .current { color: var(--text-1, #1a1a1c); }
.breadcrumbs-list .current { color: var(--red); max-width: 46ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* header */
.ip-article .article-main-title { font-family: var(--ff-head); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--text-1); }
.article-title-heading{
   font-size:20px;
}
.ip-article .article-deck { font-family: var(--ff-body); font-style: normal; font-size: 16px; color: var(--text-2); border-left: 3px solid var(--red); }
.ip-article .legal-seal-badge { background: var(--black); color: #fff; border: 0; border-left: 3px solid var(--red); border-radius: 0; margin: 0; padding: 5px 10px; }
.ip-article .article-meta-row { background: var(--surface-2); border-color: var(--divider); border-radius: 0; }
.ip-article .author-name-title, .ip-article .author-name-title a { color: var(--text-1); }
.ip-article .author-role-sub { color: var(--text-2); }
.ip-article .font-size-ctrl { border-radius: 2px; border-color: var(--divider); }
.ip-article .font-size-ctrl button { background: var(--surface-1); color: var(--text-1); }
.ip-article .font-size-ctrl button:hover { background: var(--red); color: #fff; }
.ip-article .card-share-btn { color: var(--text-2); width: 34px; height: 34px; border: 1px solid var(--divider); border-radius: 2px; background: var(--surface-1); }
.ip-article .card-share-btn:hover { color: #fff; background: var(--red); border-color: var(--red); }
.ip-article .share-popover { background: var(--surface-1); border-color: var(--divider); border-top-color: var(--red); border-radius: 0 0 2px 2px; }
.ip-article .share-popover-item { color: var(--text-1); font-family: inherit; }
.ip-article .share-popover-item:hover { background: var(--surface-2); color: var(--red); }

/* hero image */
.article-hero-media { margin: 22px 0 0; }
.article-hero-media img { border-radius: 0; border: 1px solid var(--divider); }
.media-caption { color: var(--text-2); border-bottom-color: var(--divider); font-style: italic; }

/* citation / bench / takeaways */
.citation-callout, .bench-coram-box { background: var(--surface-2); border-color: var(--divider); border-radius: 0; }
.citation-text, .bench-coram-box p { color: var(--text-1); }
.bench-coram-box h5, .bench-coram-box .meta-sub { color: var(--text-2); }
.btn-cite-copy { background: var(--surface-1); color: var(--text-1); border-color: var(--divider); font-family: inherit; text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; }
.btn-cite-copy:hover { background: var(--red); border-color: var(--red); color: #fff; }
.takeaways-box { background: var(--red-tint); border-radius: 0; }
.takeaways-box h4 { font-family: var(--ff-body); }
.takeaways-box li { color: var(--text-1); }
html[data-theme="dark"] .takeaways-box { background: rgba(192,0,0,.12); border-color: rgba(192,0,0,.35); }

/* body copy */
.ip-article .article-body-content { font-family: var(--ff-body); color: var(--text-1); line-height: 1.85; }
.ip-article .article-body-content h2 { font-family: var(--ff-head); font-style: normal; font-weight: 700; font-size: 23px; border-bottom: 1.5px solid var(--divider); color: var(--text-1); }
.ip-article .article-pullquote { background: var(--surface-2); color: var(--text-1); border-radius: 0; font-family: var(--ff-serif); }
.ip-article .dissent-callout { background: var(--surface-2); border-left-color: var(--black); border-radius: 0; }
html[data-theme="dark"] .ip-article .dissent-callout { border-left-color: var(--text-2); }
.ip-article .dissent-callout h4, .ip-article .dissent-callout p { color: var(--text-1); }

/* share bar + author */
.article-share-bar { border-color: var(--divider); }
.article-share-bar .share-label { color: var(--text-1); }
.btn-share-social { background: var(--surface-1); color: var(--text-1); border-color: var(--divider); font-family: inherit; }
.author-bio-card { background: var(--surface-2); border-color: var(--divider); border-radius: 0; align-items: center; }
.author-bio-card h4 { color: var(--text-1); font-family: var(--ff-head); }
.author-bio-card p { color: var(--text-2); }
.author-bio-card .see-more { display: inline-flex; }

/* sidebar */
.article-aside { top: 150px; gap: 20px; }
.case-facts-box { background: var(--surface-1); border-color: var(--divider); border-top-color: var(--red); border-radius: 0; }
.case-facts-box h5 { color: var(--text-1); border-bottom-color: var(--divider); font-family: var(--ff-body); }
.fact-row { border-bottom-color: var(--divider); }
.fact-value { color: var(--text-1); }
.article-aside .ip-box { border-radius: 0; }

/* related */
.ip-related { margin-top: 44px; }
.ip-related .ip-briefs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ip-related .ip-brief .pic { aspect-ratio: 16 / 10; }
.ip-related .ip-brief .row-title { font-size: 14px !important; }
.ip-related .ip-brief .foot { margin-top: auto; }

@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .article-aside .ip-adwrap { grid-column: 1 / -1; }
  .ip-related .ip-briefs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-related .ip-brief:nth-child(3) { display: none; }
  .ip-article .ip-body { padding-left: 16px; padding-right: 16px; }
  .breadcrumbs-wrap .wrap { padding: 0 16px; }
}
@media (max-width: 720px) {
  .article-aside { grid-template-columns: 1fr; }
  .ip-related .ip-briefs { grid-template-columns: 1fr; }
  .ip-related .ip-brief:nth-child(3) { display: flex; }
  .ip-article .article-main-title { font-size: 24px; }
  .ip-article .article-deck { font-size: 14.5px; }
  .article-meta-row { flex-direction: column; align-items: flex-start; }
  .author-bio-card { flex-direction: column; align-items: flex-start; }
  .citation-callout { flex-direction: column; align-items: flex-start; }
  .ip-article .article-body-content h2 { font-size: 20px; }
  .ip-article .article-pullquote { padding: 20px 16px; }
  .breadcrumbs-list .current { max-width: 24ch; }
}
@media print {
  .sticky-wrap, .topbar, .news-ticker, .article-aside, .article-share-bar, .ip-related, .article-reading-tools, .product-carousel-section, .site-footer, .reading-progress-bar { display: none !important; }
  .article-layout { display: block; }
}

/* ==========================================================================
   INTERVIEWS LISTING  (.ip-vid / .ip-vidlead) — homepage video-card language:
   thumbnail with red play button, white card body underneath, square edges.
   ========================================================================== */
.ip-vidlead, .ip-vid { border-radius: var(--ip-radius); }

/* ---- Featured lead ---- */
.ip-vidlead { aspect-ratio: 16 / 8; margin-bottom: 24px; border-bottom: 3px solid var(--ip-red); box-shadow: var(--ip-shadow); }
.ip-vidlead::after { background: linear-gradient(to top, rgba(10,10,12,.94) 0%, rgba(10,10,12,.45) 45%, rgba(10,10,12,.05) 100%); }
.ip-vidlead .body { padding: 22px 26px; max-width: 760px; }
.ip-vidlead h3.video-title { font-family: var(--ff-title); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.25; margin: 0 0 8px; color: #fff; }
.ip-vidlead .play { width: 64px; height: 64px; top: 46%; background: var(--ip-red); border: 3px solid rgba(255,255,255,.85); box-shadow: 0 8px 24px rgba(0,0,0,.4); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ip-vidlead .play svg { width: 24px; height: 24px; margin-left: 3px; }
.ip-vidlead:hover .play { background: var(--ip-red-deep); border-color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.ip-vidlead .dur, .ip-vid .dur { border-radius: 2px; background:#f2f2f2; font-size: 10.5px; letter-spacing: .04em; padding: 3px 7px; }
.ip-vidlead .ip-tag, .ip-vid .ip-tag { border-radius: 2px; }
.ip-vidlead .ip-meta, .ip-vid .ip-meta { color: rgba(255,255,255,.8); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---- Grid cards: thumbnail on top, text underneath ---- */
.ip-vidgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ip-vid { display: flex; flex-direction: column; aspect-ratio: auto; color: inherit; background: var(--ip-surface); border: 1px solid var(--ip-line); border-top: 3px solid var(--ip-red); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ip-vid::after { display: none; }
.ip-vid:hover { transform: translateY(-3px); border-color: var(--ip-red); box-shadow: var(--ip-shadow); }
.ip-vid .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.ip-vid .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: transform .5s ease, filter .3s ease; }
.ip-vid:hover .thumb img { transform: scale(1.06); filter: brightness(.95); }
.ip-vid .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,12,.55), transparent 55%); }
.ip-vid .thumb .ip-tag { left: 12px; top: 12px; z-index: 2; }
.ip-vid .thumb .dur { right: 12px; top: 12px; bottom: auto; z-index: 2; }
.ip-vid .thumb .play { top: 50%; width: 46px; height: 46px; z-index: 2; background: var(--ip-red); border: 2px solid rgba(255,255,255,.9); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.ip-vid .thumb .play svg { margin-left: 2px; }
.ip-vid:hover .thumb .play { background: var(--ip-red-deep); transform: translate(-50%, -50%) scale(1.1); }
.ip-vid .body { position: static; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ip-vid h3.video-title { font-family: var(--ff-head); font-weight: 700; font-size: 15px; line-height: 1.38; margin: 0; color: var(--ip-text); transition: color .18s ease; }
.ip-vid:hover h3.video-title { color: var(--ip-red); }
.ip-vid .ip-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--ip-line); color: var(--ip-muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ip-vid .ip-meta .date::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--ip-red); vertical-align: 1px; }

@media (max-width: 720px) {
  .ip-vidlead { aspect-ratio: 4 / 3.4; }
  .ip-vidlead .body { padding: 16px; }
  .ip-vidlead .play { width: 52px; height: 52px; }
  .ip-vidgrid { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   COMMENTS  (.comments-section) — article detail page
   Square edges, red hairlines, theme tokens so dark mode works automatically.
   ========================================================================== */
.comments-section { margin-top: 44px; }
.comments-section .comments-count { font-family: var(--ff-body); font-style: normal; font-size: 15px; font-weight: 600; color: var(--text-2); }

.comment-form { padding: 20px; background: var(--surface-2); border: 1px solid var(--divider); border-top: 3px solid var(--red); border-radius: 0; }
.comment-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.comment-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.comment-field label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-1); }
.comment-field label small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.comment-field .req { color: var(--red); }
.comment-field input, .comment-field textarea, .comment-toolbar select {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--text-1);
  background: var(--surface-1); border: 1px solid var(--divider); border-radius: 0; transition: border-color .18s ease, box-shadow .18s ease;
}
.comment-field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.comment-field input:focus, .comment-field textarea:focus, .comment-toolbar select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,0,0,.14); }
.comment-form-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 18px; font-size: 11.5px; color: var(--text-2); }
.comment-charcount { margin-left: auto; }
.comment-replying b { color: var(--red); }
.comment-link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); cursor: pointer; }
.comment-link-btn:hover { text-decoration: underline; }
.comment-error { margin: 0 0 12px; padding: 8px 12px; font-size: 13px; color: var(--red); background: var(--red-tint, #fef2f2); border-left: 3px solid var(--red); }
html[data-theme="dark"] .comment-error { background: rgba(192,0,0,.12); }
.comment-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.comment-note { margin: 0; font-size: 12px; color: var(--text-2); }
.comment-submit { flex: none; padding: 11px 22px; font: 700 11px/1 var(--ff-body, inherit); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); border: 1px solid var(--red); border-radius: 0; cursor: pointer; transition: background .18s ease, box-shadow .18s ease; }
.comment-submit:hover { background: var(--red-deep, #8f0000); box-shadow: 0 4px 12px rgba(192,0,0,.22); }

.comment-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 22px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.comment-toolbar select { width: auto; padding: 6px 10px; font-size: 12.5px; }

.comment-list, .comment-children { list-style: none; margin: 0; padding: 0; }
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--divider); }
.comment-av { width: 40px; height: 40px; }
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 6px; }
.comment-author { font-family: var(--ff-head); font-weight: 700; font-size: 14.5px; color: var(--text-1); }
.comment-time { font-size: 11.5px; color: var(--text-2); }
.comment-text { margin: 0 0 8px; font-size: 14px; line-height: 1.65; color: var(--text-1); white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-children { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--red); }
.comment-reply { padding: 14px 0 4px; border-bottom: 0; }
.comment-reply .comment-av { width: 32px; height: 32px; font-size: 11px; }
.comment-empty { padding: 28px 0; text-align: center; font-size: 13.5px; color: var(--text-2); }

@media (max-width: 720px) {
  .comment-form { padding: 16px; }
  .comment-form-row { grid-template-columns: 1fr; gap: 0; }
  .comment-form-foot { flex-direction: column; align-items: stretch; }
  .comment-submit { width: 100%; }
  .comment-children { padding-left: 10px; }
}
@media print { .comments-section { display: none !important; } }