/* ============================================================
   CasinoArne.cfd - site-wide overrides
   Compact hero, 18+ top bar, centered "Vårt #1 val" badge, byline
   Loaded via <link> from every page after main.css
   ============================================================ */

/* Thin top disclosure bar - sits between header and hero */
.top-disclosure {
  background: #0B2545;
  color: #FBF7EF;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  line-height: 1.4;
}
.top-disclosure-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 20px; flex-wrap: nowrap;
}
.top-disclosure .td-badge {
  background: #C88A3F; color: #0B2545;
  font-weight: 800; font-size: 12px;
  padding: 2px 8px; border-radius: 999px;
  letter-spacing: .04em; flex: 0 0 auto;
}
.top-disclosure .td-full { display: inline; }
.top-disclosure .td-mini { display: none; }
.top-disclosure a {
  color: #FBF7EF; text-decoration: underline;
  text-underline-offset: 2px; font-weight: 700;
}
.top-disclosure a:hover { color: #E9BA6F; }
@media (max-width: 640px) {
  .top-disclosure { font-size: 12px; }
  .top-disclosure-inner { padding: 6px 14px; gap: 8px; }
  .top-disclosure .td-full { display: none; }
  .top-disclosure .td-mini { display: inline; }
}

/* Hero, compact so CTA is on first fold */
.page-hero {
  padding: 18px 0 14px !important;
}
.page-hero h1 {
  line-height: 1.05 !important;
  font-size: clamp(1.6rem, 3vw, 2.3rem) !important;
  margin: 0 0 6px !important;
}
.page-hero .lead {
  font-size: .98rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
.page-hero .breadcrumbs {
  font-size: 11px !important;
  margin-bottom: 4px !important;
}
@media (max-width: 640px) {
  .page-hero { padding: 8px 0 8px !important; }
  .page-hero h1 { font-size: 1.25rem !important; margin: 0 0 4px !important; line-height: 1.1 !important; }
  .page-hero .lead { font-size: .88rem !important; line-height: 1.35 !important; }
  .page-hero .breadcrumbs { font-size: 10.5px !important; margin-bottom: 2px !important; letter-spacing: .08em !important; }
}

/* Byline under lead */
.hero-byline {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-byline img {
  width: 24px; height: 24px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(11,37,69,.15);
  flex: 0 0 auto;
}
.hero-byline .by-sep { opacity: .5; }
.hero-byline a { color: var(--blue-deep); text-decoration: none; font-weight: 700; }
.hero-byline a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .hero-byline { font-size: 11px; margin-top: 5px; gap: 5px; }
  .hero-byline img { width: 18px; height: 18px; }
}

/* H2 list heading, tighter */
.list-heading {
  margin: 14px 0 10px !important;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}
@media (max-width: 640px) {
  .list-heading { margin: 6px 0 6px !important; font-size: 1.08rem !important; padding-bottom: 4px !important; }
  .list-heading::before { height: 2px !important; }
}
/* Ensure the container holding the h2 + cards sits tight to hero on mobile */
@media (max-width: 640px) {
  section.container { padding-top: 6px !important; padding-bottom: 6px !important; }
}

/* Featured cards, compact so CTA is on first fold */
.featured-cards { gap: 12px !important; margin-top: 0 !important; margin-bottom: 10px !important; }
.feat-card {
  padding: 14px 14px 16px !important;
}
.feat-card .feat-thumb { min-height: 72px !important; margin: 2px auto 6px !important; }
.feat-card .feat-thumb img { max-height: 86px !important; }
.feat-card h3 {
  font-size: 1.02rem !important;
  margin: 0 0 6px !important;
  line-height: 1.25 !important;
}
.feat-card .feat-list { margin: 0 0 10px !important; }
.feat-card .feat-list li {
  padding: 1px 0 !important;
  font-size: 13.5px !important;
  gap: 8px !important;
  line-height: 1.35 !important;
}
.feat-card .btn-primary {
  padding: 10px 14px !important;
  font-size: .95rem !important;
}
@media (max-width: 640px) {
  .feat-card { padding: 12px 12px 14px !important; }
  .feat-card .feat-thumb { min-height: 62px !important; }
  .feat-card .feat-thumb img { max-height: 72px !important; }
  .feat-card h3 { font-size: .98rem !important; }
  .feat-card .feat-list li { font-size: 13px !important; }
}

/* Top-pick card - distinct amber tint + centered badge, NO flame */
.feat-card.is-top-pick {
  background: linear-gradient(180deg, #FFF2D4 0%, #F8E3B2 100%) !important;
  border: 2px solid #C88A3F !important;
  box-shadow: 0 14px 36px rgba(200,138,63,.26), 0 2px 6px rgba(11,37,69,.08) !important;
  position: relative;
  overflow: visible !important;
}
.feat-card.is-top-pick:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 44px rgba(200,138,63,.32), 0 3px 8px rgba(11,37,69,.10) !important;
}
.feat-card.is-top-pick::before {
  background: #C88A3F !important;
  height: 6px !important;
}
.feat-card .feat-flame { display: none !important; }
.feat-card .top-pick-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0B2545;
  color: #FFF2D4;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11,37,69,.28);
  z-index: 3;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .feat-card .top-pick-badge { font-size: .88rem; padding: 5px 14px; top: -12px; }
}

/* Home-only trust-stats, condensed to save vertical space */
body.home .trust-stats-wrap { padding: 0 20px !important; margin-top: 8px !important; }
body.home .trust-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 1000px; margin: 16px auto 24px; padding: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 22px rgba(11,37,69,.06);
  overflow: hidden;
}
body.home .trust-stats .ts-tile {
  background: transparent; border: none;
  border-right: 1px solid var(--line);
  border-radius: 0; padding: 14px 10px; text-align: center;
}
body.home .trust-stats .ts-tile:last-child { border-right: none; }
body.home .trust-stats .ts-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400; color: var(--yellow-hot);
  line-height: 1.1; margin-bottom: 4px;
}
body.home .trust-stats .ts-lab {
  color: var(--ink-2); font-size: .82rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
}
@media (max-width: 900px) {
  body.home .trust-stats { grid-template-columns: repeat(2, 1fr); }
  body.home .trust-stats .ts-tile { border-right: none; border-bottom: 1px solid var(--line); }
  body.home .trust-stats .ts-tile:nth-child(odd) { border-right: 1px solid var(--line); }
  body.home .trust-stats .ts-tile:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  body.home .trust-stats { grid-template-columns: 1fr; }
  body.home .trust-stats .ts-tile { border-right: none !important; border-bottom: 1px solid var(--line); padding: 12px 10px; }
  body.home .trust-stats .ts-tile:last-child { border-bottom: none; }
}
