/* ============================================================
   N.B.S.V.A — css/enforcement-page.css
   v2 redesign skin for enforcement.html (body.enforcement-v2).
   Dark-red "Stay informed. Stay safe." theme from the mockup.
   Loaded AFTER css/style.css. Self-contained by convention.
   ============================================================ */

/* ================= HERO ================= */
body.enforcement-v2 .enfh2 {
  position: relative; overflow: hidden;
  padding: 74px 0 46px;
  min-height: 340px;
  display: flex; align-items: center;
  background:
    radial-gradient(560px 300px at 82% 20%, rgba(240,68,56,.16), transparent 70%),
    radial-gradient(420px 260px at 8% 90%, rgba(240,68,56,.07), transparent 70%),
    linear-gradient(180deg, #0a0505 0%, #070907 100%);
  border-bottom: 1px solid rgba(240,68,56,.18);
}
body.enforcement-v2 .enfh2-inner { position: relative; z-index: 1; }
body.enforcement-v2 .enfh2-inner > * { max-width: 56%; }
@media (max-width: 720px) {
  body.enforcement-v2 .enfh2-inner > * { max-width: 100%; }
}
body.enforcement-v2 .enfh2 { min-height: 380px; display: flex; align-items: center; }
body.enforcement-v2 .enfh2-art {
  position: absolute; bottom: 0; top: auto;
  /* pin to the CONTENT column's right edge, not the screen edge —
     (100% - min(1140px, 91%)) / 2 is the container's side gutter,
     so he stays beside the headline on any monitor width */
  right: calc((100% - min(1140px, 91%)) / 2 - 10px);
  height: 92%; width: auto; max-width: 42vw;
  object-fit: contain; object-position: right bottom;
  pointer-events: none;
  filter: drop-shadow(0 0 34px rgba(240,68,56,.35))
          drop-shadow(0 0 60px rgba(29,155,240,.18));
}
body.enforcement-v2 .enfh2-title {
  font-size: clamp(2.7rem, 7.5vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1;
  margin: 8px 0 8px;
}
body.enforcement-v2 .enfh2-tag {
  color: var(--red); font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  margin-bottom: 10px;
}
body.enforcement-v2 .enfh2-sub {
  color: #b9c0bc; font-size: .95rem; line-height: 1.6; max-width: 460px;
}
@media (max-width: 720px) {
  body.enforcement-v2 .enfh2 { padding: 52px 0 34px; min-height: 0; display: block; }
  body.enforcement-v2 .enfh2-inner { max-width: 100%; }
  body.enforcement-v2 .enfh2-art {
    top: 0; bottom: auto; right: 0;
    height: 100%; width: auto; max-width: 62%;
    object-position: right top;
    opacity: .28;
  }
}

/* ================= SIDEBAR ================= */
/* intro card gets the red-shield treatment */
body.enforcement-v2 .enf-side-card:first-child {
  border-color: rgba(240,68,56,.3);
  background:
    radial-gradient(220px 120px at 20% 0%, rgba(240,68,56,.1), transparent 75%),
    var(--card);
}
body.enforcement-v2 .enf-side-card:first-child h3 { color: #ff8d84; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }

body.enforcement-v2 .enf-stat-row {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; background: rgba(255,255,255,.02);
}
body.enforcement-v2 .enf-stat-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

/* categories list */
body.enforcement-v2 .enf-cat-row { border: 1px solid transparent; }
body.enforcement-v2 .enf-cat-row.active {
  background: rgba(240,68,56,.14); color: #ff8d84;
  border-color: rgba(240,68,56,.4);
  font-weight: 700;
}

/* mobile: stats become a 2x2 grid like the mockup */
@media (max-width: 860px) {
  body.enforcement-v2 .enf-stat-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  }
  body.enforcement-v2 .enf-stat-row {
    display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  }
  body.enforcement-v2 .enf-stat-row .lbl {
    font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
  }
  body.enforcement-v2 .enf-stat-row .val { font-size: 1.5rem; }
}

/* ================= RESULTS BAR ================= */
body.enforcement-v2 .enf-results-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap;
  margin: 6px 0 14px; font-size: .82rem; color: var(--muted);
}
body.enforcement-v2 .enf-sort {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: .82rem; font-family: var(--font);
  padding: 6px 0; transition: color .15s;
}
body.enforcement-v2 .enf-sort strong { color: var(--text); font-weight: 600; }
body.enforcement-v2 .enf-sort:hover, body.enforcement-v2 .enf-sort:hover strong { color: #ff8d84; }

/* ================= RECORD CARDS ================= */
body.enforcement-v2 .enf-card2 {
  border-radius: 16px;
  transition: border-color .15s, box-shadow .15s;
}
body.enforcement-v2 .enf-card2:hover { border-color: rgba(255,255,255,.18); }
/* status-tinted left edge + border, like the mockup */
body.enforcement-v2 .enf-st-blacklisted {
  border-color: rgba(240,68,56,.32);
  box-shadow: inset 3px 0 0 rgba(240,68,56,.75);
}
body.enforcement-v2 .enf-st-blacklisted:hover { border-color: rgba(240,68,56,.55); }
body.enforcement-v2 .enf-st-suspended {
  border-color: rgba(245,179,1,.28);
  box-shadow: inset 3px 0 0 rgba(245,179,1,.7);
}
body.enforcement-v2 .enf-st-suspended:hover { border-color: rgba(245,179,1,.5); }
body.enforcement-v2 .enf-st-under-appeal {
  border-color: rgba(29,155,240,.28);
  box-shadow: inset 3px 0 0 rgba(29,155,240,.7);
}
body.enforcement-v2 .enf-st-under-appeal:hover { border-color: rgba(29,155,240,.5); }

body.enforcement-v2 .enf-avatar {
  box-shadow: 0 0 0 2px rgba(240,68,56,.25);
}
body.enforcement-v2 .enf-aka { font-size: .78rem; color: var(--muted); }

/* details columns divider lines on desktop */
@media (min-width: 861px) {
  body.enforcement-v2 .enf-cols {
    display: grid; grid-template-columns: 1fr 1.1fr .9fr; gap: 18px;
  }
  body.enforcement-v2 .enf-col + .enf-col {
    border-left: 1px solid var(--line); padding-left: 18px;
  }
}
body.enforcement-v2 .enf-col-label {
  font-size: .64rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
body.enforcement-v2 .enf-col ul { list-style: none; padding: 0; margin: 0; }
body.enforcement-v2 .enf-col li { font-size: .84rem; margin-bottom: 5px; overflow-wrap: anywhere; }
body.enforcement-v2 .enf-col li a { color: var(--text); text-decoration: none; }
body.enforcement-v2 .enf-col li a:hover { color: #ff8d84; }
body.enforcement-v2 .enf-col p { font-size: .84rem; color: #c4cbc7; line-height: 1.55; }

body.enforcement-v2 .enf-evidence-grid img { transition: transform .15s; }
body.enforcement-v2 .enf-evidence-grid img:hover { transform: scale(1.05); }

/* ================= CTA BANNER ================= */
body.enforcement-v2 .enf-cta-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 30px; padding: 20px 24px;
  border: 1px solid rgba(240,68,56,.32); border-radius: 16px;
  background:
    radial-gradient(320px 140px at 8% 50%, rgba(240,68,56,.14), transparent 75%),
    var(--card);
}
body.enforcement-v2 .enf-cta-banner .txt { display: flex; align-items: center; gap: 14px; }
body.enforcement-v2 .enf-cta-banner .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: rgba(240,68,56,.14); border: 1px solid rgba(240,68,56,.35);
}
body.enforcement-v2 .enf-cta-banner .txt div { display: flex; flex-direction: column; gap: 2px; }
body.enforcement-v2 .enf-cta-banner strong { font-size: .98rem; }
body.enforcement-v2 .enf-cta-banner .txt span:not(.ic) { font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) {
  body.enforcement-v2 .enf-cta-banner { flex-direction: column; align-items: stretch; text-align: left; }
  body.enforcement-v2 .enf-cta-banner .btn { width: 100%; text-align: center; }
}

/* ================= MOBILE COMPACT CARDS (mockup style) =================
   On phones each record collapses into a tight rectangle: badge over the
   name, aka chips, category tag, status/date + reported-by lines, and the
   evidence strip. The chevron expands phone numbers + the full accusation. */
body.enforcement-v2 .enf-expand { display: none; }

@media (max-width: 640px) {
  body.enforcement-v2 .enf-card2 { padding: 16px; border-radius: 16px; }

  body.enforcement-v2 .enf-card2-head { gap: 12px; margin-bottom: 10px; flex-wrap: nowrap; min-width: 0; }
  body.enforcement-v2 .enf-card2-head > div { min-width: 0 !important; flex: 1 1 0 !important; }
  body.enforcement-v2 .enf-card2-name h3 { overflow-wrap: anywhere; }
  body.enforcement-v2 .enf-card2 { max-width: 100%; overflow: hidden; }
  body.enforcement-v2 .enf-card2-foot span { overflow-wrap: anywhere; }
  body.enforcement-v2 .enf-avatar { width: 54px; height: 54px; font-size: 1.3rem; }

  /* badge sits ABOVE the name, like the mockup */
  body.enforcement-v2 .enf-card2-name {
    flex-direction: column-reverse; align-items: flex-start; gap: 4px;
  }
  body.enforcement-v2 .enf-card2-name h3 { font-size: 1rem; }
  body.enforcement-v2 .enf-card2-name .tag { font-size: .6rem; padding: 3px 9px; }
  body.enforcement-v2 .enf-aka { font-size: .72rem; }

  /* chevron toggle */
  body.enforcement-v2 .enf-expand {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; flex-shrink: 0; margin-left: auto;
    border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.05); border: 1px solid var(--line-strong);
    color: var(--muted); font-size: .8rem;
    transition: transform .2s, color .15s, border-color .15s;
  }
  body.enforcement-v2 .enf-card2.open .enf-expand {
    transform: rotate(180deg); color: #ff8d84; border-color: rgba(240,68,56,.45);
  }

  /* collapsed: hide phone details, hide the long accusation text and
     column labels — keep the category tag + evidence strip visible */
  body.enforcement-v2 .enf-cols { display: block; }
  body.enforcement-v2 .enf-card2:not(.open) .enf-col-details { display: none; }
  body.enforcement-v2 .enf-card2:not(.open) .enf-col-what p { display: none; }
  body.enforcement-v2 .enf-col-label { display: none; }
  body.enforcement-v2 .enf-card2.open .enf-col-label { display: block; }
  body.enforcement-v2 .enf-col { margin-bottom: 10px; }
  body.enforcement-v2 .enf-col-what .tag { margin-bottom: 0 !important; }

  /* evidence: one horizontal strip of rectangles */
  body.enforcement-v2 .enf-evidence-grid {
    display: flex; gap: 6px; max-width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  body.enforcement-v2 .enf-evidence-grid::-webkit-scrollbar { display: none; }
  body.enforcement-v2 .enf-evidence-grid img,
  body.enforcement-v2 .enf-evidence-more {
    width: 86px; height: 56px; flex-shrink: 0;
    object-fit: cover; border-radius: 8px;
  }
  body.enforcement-v2 .enf-col-ev p { display: none; } /* "No evidence" note stays desktop-only */

  /* footer lines: status/date + reported-by stack tight */
  body.enforcement-v2 .enf-card2-foot {
    gap: 4px 14px; font-size: .74rem; padding-top: 10px;
  }
  body.enforcement-v2 .enf-card2 > .btn { display: none; } /* card tap targets: chevron + evidence */
  body.enforcement-v2 .enf-card2.open > .btn { display: inline-flex; justify-content: center; }
}

@media (max-width: 640px) {
  body.enforcement-v2 .enf-col-what-more { max-height: 0; overflow: hidden; transition: max-height .3s ease-out; }
  body.enforcement-v2 .enf-col-what-more.open { max-height: 300px; transition-timing-function: ease-in; }
  body.enforcement-v2 .enf-col-what-more p { margin-top: 8px; }
  body.enforcement-v2 .enf-card2:not(.open) .enf-col-what .enf-col-label { display: block; }
}
/* ---- "Tap to see details" bar on collapsed mobile cards ---- */
body.enforcement-v2 .enf-more-hint { display: none; }
@media (max-width: 640px) {
  body.enforcement-v2 .enf-more-hint {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; margin-top: 10px; padding: 9px;
    border: 1px dashed rgba(240,68,56,.35); border-radius: 10px;
    background: rgba(240,68,56,.05); color: #ff8d84;
    font-size: .76rem; font-weight: 600; font-family: var(--font);
    cursor: pointer; transition: background .15s, border-color .15s;
  }
  body.enforcement-v2 .enf-more-hint:active { background: rgba(240,68,56,.12); }
  body.enforcement-v2 .enf-more-hint .t-hide { display: none; }
  body.enforcement-v2 .enf-card2.open .enf-more-hint .t-show { display: none; }
  body.enforcement-v2 .enf-card2.open .enf-more-hint .t-hide { display: inline; }
  body.enforcement-v2 .enf-card2.open .enf-more-hint { border-style: solid; }
}


/* -------- Enforcement quote card -------- */
body.enforcement-v2 .page-hero { position: relative; }

body.enforcement-v2 .ev2-quote-card {
  position: absolute;     right: 2.5%;
    top: 250px; z-index: 3;
  background: rgba(10, 10, 11, .72); backdrop-filter: blur(8px);
  border: 1px solid rgba(224, 43, 43, .35); border-radius: 14px;
  padding: 16px 20px; max-width: 240px; text-align: left;
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .7);
}
body.enforcement-v2 .ev2-quote-name {
  font-family: 'Archivo', var(--display, sans-serif); font-weight: 800;
  text-transform: uppercase; color: #ff5a4e; font-size: 1.05rem;
  letter-spacing: .04em; margin-bottom: 6px;
}
body.enforcement-v2 .ev2-quote-text { color: #fff; font-size: .84rem; font-style: italic; margin-bottom: 8px; }
body.enforcement-v2 .ev2-quote-tag { color: #E02B2B; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 1024px) {
  body.access-v2 .av2-quote-card { position: static; margin: 16px 0 0; max-width: none; }
}

@media (max-width: 900px) {
  body.enforcement-v2 .ev2-quote-card {
    position: static;
    margin: 16px 0 0;
    max-width: none;
  }
}
@media (max-width: 640px) {
  body.enforcement-v2 .ev2-quote-card {
    padding: 12px 14px;
    margin-top: 12px;
  }
  body.enforcement-v2 .ev2-quote-name { font-size: .95rem; }
  body.enforcement-v2 .ev2-quote-text { font-size: .78rem; }
  body.enforcement-v2 .ev2-quote-tag { font-size: .66rem; }
}
@media (max-width: 380px) {
  body.enforcement-v2 .ev2-quote-card { padding: 10px 12px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  body.enforcement-v2 .ev2-quote-card { display: none; }
}