/* ============================================================
   LAW FM 103.9 — HOMEPAGE AD SPOTS
   The strip under the banner and the picture card beside Top Stories.
   Flat design; works from small phones to wide screens and in dark mode.
   ============================================================ */

/* ── Strip ── */
.lad-strip { background: #fff; border-top: 1px solid rgba(49, 51, 95, .08); border-bottom: 1px solid rgba(49, 51, 95, .08); padding: 22px 0; }
.lad-rotator { position: relative; }
.lad-slide { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.lad-slide[hidden] { display: none; }
.lad-slide.is-active { animation: ladIn .45s ease; }
@keyframes ladIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lad-slide.is-active { animation: none; } }

.lad-label { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b6e80; border: 1px solid rgba(49, 51, 95, .18); border-radius: 999px; padding: 4px 10px; }
.lad-logo { flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; border: 1px solid rgba(49, 51, 95, .12); background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; }
.lad-logo img { width: 100%; height: 100%; object-fit: contain; }
.lad-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lad-advertiser { font-size: 12px; font-weight: 600; color: #6b6e80; }
.lad-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lad-headline { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.125rem; line-height: 1.25; color: var(--primary); }
.lad-headline--lg { font-size: 1.35rem; }
.lad-text { font-size: .9rem; color: #5b5e73; line-height: 1.4; }

.lad-house-intro { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; min-width: 0; }
.lad-mark { width: 52px; height: 52px; flex-shrink: 0; }
.lad-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-shrink: 0; }
.lad-stats li { display: flex; flex-direction: column; padding: 0 22px; border-left: 1px solid rgba(49, 51, 95, .12); }
.lad-stats li:first-child { border-left: 0; }
.lad-stats b { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1.05; color: var(--primary); }
.lad-stats span { font-size: 12px; color: #6b6e80; white-space: nowrap; margin-top: 2px; }
.lad-actions { display: flex; gap: 10px; flex-shrink: 0; }

.lad-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; flex-shrink: 0; }
.lad-btn--red { background: var(--accent); color: #fff; }
.lad-btn--red:hover, .lad-btn--red:focus-visible { background: #87292b; color: #fff; }
.lad-btn--line { border-color: rgba(49, 51, 95, .35); color: var(--primary); background: transparent; }
.lad-btn--line:hover, .lad-btn--line:focus-visible { border-color: var(--primary); background: var(--primary); color: #fff; }
.lad-btn:focus-visible, .lad-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lad-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.lad-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(49, 51, 95, .2); cursor: pointer; transition: width .25s, background .25s; }
.lad-dot.is-active { width: 22px; background: var(--accent); }

/* Medium screens: figures move under the headline */
@media (max-width: 1199px) {
  .lad-slide--house { flex-wrap: wrap; row-gap: 16px; }
  .lad-house-intro { flex: 1 1 100%; }
  .lad-stats { flex: 1 1 auto; }
}
/* Phones */
@media (max-width: 767px) {
  .lad-strip { padding: 18px 0; }
  .lad-slide { flex-wrap: wrap; gap: 14px; align-items: flex-start; }
  .lad-slide--paid .lad-copy { flex: 1 1 calc(100% - 80px); }
  .lad-slide--paid .lad-label { flex: 0 0 auto; margin-right: 100%; }
  .lad-house-intro { gap: 12px; align-items: flex-start; }
  .lad-mark { width: 44px; height: 44px; }
  .lad-headline--lg { font-size: 1.2rem; }
  .lad-stats { flex: 1 1 100%; justify-content: space-between; background: #F6F7FB; border-radius: 12px; padding: 12px 4px; }
  .lad-stats li { flex: 1; padding: 0 10px; align-items: center; text-align: center; }
  .lad-stats b { font-size: 1.25rem; }
  .lad-stats span { white-space: normal; font-size: 11.5px; line-height: 1.3; }
  .lad-actions { flex: 1 1 100%; }
  .lad-actions .lad-btn, .lad-slide--paid .lad-btn { flex: 1 1 0; }
}

/* ── Sidebar picture card ── */
.lad-card .nsw-ad-slide { position: relative; }
.lad-card .nsw-ad-slide[hidden] { display: none; }
.lad-card__label { position: absolute; top: 10px; left: 10px; z-index: 3; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(20, 21, 40, .72); padding: 4px 9px; border-radius: 6px; }
.lad-card__label--house { background: var(--accent); }
.lad-card .nsw-ad-img-wrap { background: #2A2C5A; }
.lad-card .nsw-ad-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lad-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lad-card__link { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; }
.lad-card__link:hover { color: var(--accent); }
.lad-dots--card { margin-top: 0; }

/* ── Dark mode ── */
body.dark-mode .lad-strip { background: #181b30; border-color: rgba(255, 255, 255, .08); }
body.dark-mode .lad-headline, body.dark-mode .lad-stats b { color: #fff; }
body.dark-mode .lad-text, body.dark-mode .lad-stats span, body.dark-mode .lad-advertiser, body.dark-mode .lad-label { color: #a9acc0; }
body.dark-mode .lad-label, body.dark-mode .lad-stats li { border-color: rgba(255, 255, 255, .14); }
body.dark-mode .lad-logo { background: #fff; border-color: transparent; }
body.dark-mode .lad-btn--line { color: #fff; border-color: rgba(255, 255, 255, .35); }
body.dark-mode .lad-btn--line:hover { background: #fff; color: var(--primary); }
body.dark-mode .lad-dot { background: rgba(255, 255, 255, .2); }
body.dark-mode .lad-dot.is-active { background: var(--accent); }
body.dark-mode .lad-card__link { color: #fff; }
@media (max-width: 767px) { body.dark-mode .lad-stats { background: #1c2036; } }
