/*
Theme Name: RunMotorCar 2.0
Theme URI: https://runmotorcar.com/
Author: RunMotorCar
Description: Lightweight, mobile-first theme for RunMotorCar: real owners, real numbers. English and Hindi.
Version: 0.1.0
Requires PHP: 7.4
Text Domain: rmc2
*/

:root {
  --asphalt: #0E1726; --asphalt-2: #1A2436; --line-dark: #1F2A3C;
  --ink: #101828; --ink-2: #344054; --muted: #475467; --line: #E4E7EC; --paper: #F5F6F8; --white: #FFFFFF;
  --amber: #F5A300; --amber-ink: #B45309; --amber-soft: #FFF8E6;
  --green: #15803D; --green-soft: #E7F6EE; --green-ink: #0B5E3B;
  --blue-soft: #E8F0FF; --blue-ink: #0B2A66;
  --head: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 12px; --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--amber-ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 32px); }
h3 { font-size: 22px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 99; background: var(--amber); padding: 8px 12px; }

/* Header */
.site-header { background: var(--asphalt); color: var(--white); }
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-family: var(--head); font-weight: 700; font-size: 26px; color: var(--white); text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .3px; font-weight: 700; }
.logo .logo-mark { flex: none; }
.logo .logo-run { color: var(--amber); }
.search { flex: 1 1 320px; display: flex; background: var(--white); border-radius: 10px; overflow: hidden; order: 3; }
@media (min-width: 900px) { .search { order: 0; } }
.search input { flex: 1; min-width: 0; min-height: 46px; border: 0; padding: 0 14px; font: inherit; font-size: 15px; }
.search button { border: 0; background: var(--amber); padding: 0 16px; cursor: pointer; display: flex; align-items: center; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { min-height: 44px; min-width: 48px; border-radius: 10px; border: 1px solid var(--amber); color: var(--amber); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: var(--body); font-size: 16px; }
.btn-amber { background: var(--amber); color: var(--asphalt); }
.btn-green { background: var(--green); color: var(--white); }
.btn-outline { border: 1.5px solid var(--asphalt); color: var(--asphalt); background: transparent; }
.btn:hover { filter: brightness(.95); color: inherit; }
.main-nav { border-top: 1px solid var(--line-dark); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; overflow-x: auto; white-space: nowrap; }
.main-nav a { display: block; padding: 11px 0; color: #E4E7EC; text-decoration: none; font-weight: 600; font-size: 15px; }
.main-nav .ev a, .main-nav a:hover { color: var(--amber); }
.hide-sm { display: none; }
@media (min-width: 768px) { .hide-sm { display: inline-flex; } }

/* Hero */
.hero { background: var(--asphalt); color: var(--white); padding: 28px 0 48px; }
.hero .grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .hero .grid { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.kicker { color: var(--amber); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.hero p.lead { color: #D0D5DD; font-size: 18px; max-width: 560px; }
.intents { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 600px; }
.intent { background: var(--white); color: var(--asphalt); border-radius: var(--r); padding: 14px; text-decoration: none; display: flex; gap: 10px; align-items: center; }
.intent strong { display: block; font-size: 16px; line-height: 1.2; }
.intent small { color: var(--muted); font-size: 13px; }
.proof { background: var(--asphalt-2); border-radius: 18px; overflow: hidden; margin: 0; }
.proof img { width: 100%; height: 300px; object-fit: cover; object-position: 50% 52%; }
.proof figcaption { padding: 14px 16px; color: #E4E7EC; font-size: 15px; }
.badge-real { display: inline-block; background: var(--green-soft); color: var(--green-ink); font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 6px; margin-bottom: 6px; }

/* Sections and cards */
.section { padding: 32px 0 8px; }
.wrap.section { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .wrap.section { padding-left: 24px; padding-right: 24px; } }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.card .cat { font-size: 12px; font-weight: 700; color: var(--amber-ink); text-transform: uppercase; letter-spacing: .04em; }
.card .title { font-weight: 700; line-height: 1.3; font-size: 17px; }
.card .meta { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-claimed { background: #F2F4F7; color: var(--ink-2); padding: 5px 10px; border-radius: 8px; font-size: 14px; }
.chip-owners { background: var(--green-soft); color: var(--green-ink); padding: 5px 10px; border-radius: 8px; font-size: 14px; }
.shorts { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.short { flex: 0 0 160px; position: relative; border-radius: 14px; overflow: hidden; background: var(--asphalt); color: var(--white); text-decoration: none; }
.short img { width: 160px; height: 284px; object-fit: cover; }
.short span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: rgba(14,23,38,.86); font-size: 13px; font-weight: 600; line-height: 1.3; }
.split { display: grid; gap: 14px; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split a { border-radius: 16px; padding: 22px; text-decoration: none; display: block; }
.split .ev-p { background: var(--green-soft); color: #053321; }
.split .ev-c { background: var(--blue-soft); color: var(--blue-ink); }
.split strong { font-family: var(--head); font-size: 28px; display: block; }
.consult { background: var(--asphalt); color: var(--white); border-radius: 18px; padding: 28px; display: grid; gap: 18px; }
@media (min-width: 900px) { .consult { grid-template-columns: 2fr 1fr; align-items: center; } }
.consult p { color: #D0D5DD; margin: 0; }
.consult .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Ads: fixed height, so nothing jumps */
.ad { margin: 24px 0; width: 100%; align-self: stretch; text-align: center; }
.ad .ad-label { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ad-leader { min-height: 100px; }
.ad-rect { min-height: 280px; }
.ad-tall { min-height: 620px; margin-top: 32px; }
@media (max-width: 1099px) { .ad-tall { display: none; } }
.ad-multiplex { min-height: 320px; }
.ad-placeholder { border: 1px dashed #98A2B3; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; background: var(--white); height: 100%; min-height: inherit; }

/* Affiliate boxes (also produced by the content tool) */
.rmc-affiliate { background: var(--white); border: 1px solid var(--line) !important; border-radius: 14px !important; padding: 16px 18px !important; }
.rmc-affiliate a { font-weight: 700; color: var(--amber-ink); }

/* Single article */
.article-hero { background: var(--asphalt); color: var(--white); }
.article-hero .grid { display: grid; gap: 20px; padding-top: 18px; }
@media (min-width: 980px) { .article-hero .grid { grid-template-columns: 1fr 1.2fr; align-items: end; } }
.article-hero .text { padding-bottom: 24px; }
.article-hero img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: 16px 16px 0 0; }
.crumbs { font-size: 13px; color: #98A2B3; }
.crumbs a { color: #98A2B3; }
.byline { font-size: 14px; color: #98A2B3; }
.layout { display: grid; gap: 32px; padding-top: 28px; padding-bottom: 48px; }
@media (min-width: 1100px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.entry { background: var(--white); border-radius: 16px; padding: 20px; min-width: 0; }
@media (min-width: 768px) { .entry { padding: 32px 40px; } }
.entry h2 { margin-top: 1.4em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry th, .entry td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry thead th { background: var(--paper); }
.entry figure { margin: 20px 0; }
.entry figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }
.entry .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 12px; }
.entry p strong:first-child { color: var(--ink); }
.entry ul, .entry ol { padding-left: 22px; }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1100px) { .sidebar { position: sticky; top: 16px; align-self: start; } }
.side-cta { background: var(--asphalt); color: var(--white); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.side-cta strong { font-family: var(--head); font-size: 24px; }
.side-cta p { color: #D0D5DD; margin: 0; font-size: 15px; }
.translation { display: inline-flex; gap: 6px; align-items: center; background: var(--amber-soft); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Mobile sticky action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; box-shadow: 0 -4px 12px rgba(16,24,40,.08); }
.mobile-bar .btn { flex: 1; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
body { padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* Lists, pagination, footer */
.list-head { padding: 28px 0 8px; }
.pagination { display: flex; gap: 8px; justify-content: center; padding: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; padding: 0 12px; }
.pagination .current { background: var(--asphalt); color: var(--white); }
.site-footer { background: var(--asphalt); color: #D0D5DD; margin-top: 32px; }
.site-footer .cols { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 900px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { color: #D0D5DD; }
.site-footer strong { color: var(--white); }
.site-footer ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.disclosure { font-size: 12px; color: var(--muted); }

/* WhatsApp logo on every WhatsApp button */
.btn-green::before { content: ''; width: 20px; height: 20px; margin-right: 8px; flex: 0 0 20px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2c-1.6 0-3.1-.4-4.4-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2z'/><path fill='white' d='M16.6 14.2c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1-.7-.3-1.4-.7-2-1.3-.6-.5-1-1.1-1.4-1.7-.1-.2 0-.4.1-.5l.4-.5c.1-.1.2-.3.2-.4.1-.2 0-.3 0-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.4.1-.6.3-.6.6-.9 1.4-.9 2.2.1 1 .4 1.9 1 2.7 1.1 1.6 2.5 2.9 4.2 3.7.5.2 1 .4 1.4.5.6.2 1.2.1 1.7-.1.5-.3.9-.8 1.1-1.4.1-.3.1-.6 0-.9-.1-.1-.3-.2-.5-.3z'/></svg>") center / contain no-repeat; }

/* Claimed vs owners scroller */
.scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; }
.mcard { flex: 0 0 240px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
a.mcard:hover { border-color: var(--amber); }
.mcard .title { font-weight: 700; font-size: 17px; line-height: 1.25; }
.mcard .src { font-size: 12px; color: var(--muted); margin-top: auto; }

/* Hero motion: tachometer needle and moving lane lines (tiny, CSS only) */
.hero { position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 4px; opacity: .45;
  background: repeating-linear-gradient(90deg, var(--amber) 0 44px, transparent 44px 92px); animation: rmc-road 1.1s linear infinite; }
@keyframes rmc-road { to { background-position: -92px 0; } }

/* Compact phone layout: no wasted space */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 16px 0 30px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 15.5px; margin: 8px 0 14px; }
  .intents { gap: 8px; }
  .intent { padding: 11px 10px; }
  .intent strong { font-size: 14.5px; }
  .intent small { font-size: 12px; }
  .proof img { height: 180px; }
  .proof figcaption { padding: 10px 12px; font-size: 14px; }
  .section { padding: 18px 0 4px; }
  .section-head { margin-bottom: 10px; }
  .section-head h2 { font-size: 23px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .body { padding: 8px 10px 10px; gap: 4px; }
  .card .title { font-size: 14.5px; }
  .card .meta { font-size: 12px; }
  .card .cat { font-size: 11px; }
  .mcard { flex-basis: 210px; padding: 12px; }
  .short { flex-basis: 128px; }
  .short img { width: 128px; height: 228px; }
  .split a { padding: 16px; }
  .split strong { font-size: 22px; }
  .consult { padding: 18px; }
  .panel { padding: 14px; }
  .entry { padding: 16px; }
  .site-footer .cols { padding-top: 22px; padding-bottom: 22px; }
}

/* Prominent disclaimer */
.rmc-disclaimer { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #FFF8E6; border: 1.5px solid #F5A300; color: #101828; font-size: 14px; line-height: 1.5; }
.rmc-disclaimer strong { font-weight: 700; }
.rmc-disclaimer a { font-weight: 700; color: #B45309; white-space: nowrap; }

/* Background motion: a car drives across and drifts, behind the content */
.hero .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.drift-car { position: absolute; bottom: 22px; left: 0; width: 230px; height: auto; opacity: .42; animation: rmc-drift 16s linear infinite; }
.drift-car .smoke circle { fill: #D0D5DD; opacity: 0; animation: rmc-smoke 16s linear infinite; }
@keyframes rmc-drift {
  0%   { transform: translateX(-220px) rotate(0deg); }
  44%  { transform: translateX(44vw) rotate(0deg); }
  52%  { transform: translateX(54vw) rotate(-9deg); }
  60%  { transform: translateX(63vw) rotate(-4deg); }
  66%  { transform: translateX(70vw) rotate(0deg); }
  100% { transform: translateX(110vw) rotate(0deg); }
}
@keyframes rmc-smoke { 0%, 46% { opacity: 0; } 52% { opacity: .7; } 66% { opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 600px) { .drift-car { width: 150px; bottom: 18px; } }
.drift-car .wheel { transform-box: fill-box; transform-origin: center; animation: rmc-spin .45s linear infinite; }
@keyframes rmc-spin { to { transform: rotate(360deg); } }
.drift-car .beam { opacity: .18; }
@media (prefers-reduced-motion: reduce) { .drift-car, .drift-car .wheel, .drift-car .smoke circle, .hero::after { animation: none; } .drift-car { display: none; } }

/* Category rows as swipeable card strips */
.row-cards .card { flex: 0 0 260px; scroll-snap-align: start; }
@media (max-width: 600px) { .row-cards .card { flex-basis: 200px; } }

/* News cards: excerpt and byline, like the big portals */
.card .excerpt { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 600px) { .card .excerpt { display: none; } }
/* Latest models sidebar */
.side-models { display: flex; flex-direction: column; gap: 4px; }
.side-title { font-family: var(--head); font-size: 22px; margin-bottom: 6px; }
.side-model { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.side-model img, .side-model .ph { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--paper); flex: 0 0 84px; }
.side-model .t { display: block; font-weight: 600; line-height: 1.25; }
.side-model .p { display: block; font-weight: 700; color: var(--amber-ink); font-size: 15px; }
.side-models .more { font-weight: 700; color: var(--amber-ink); margin-top: 6px; }

/* Upcoming cars filter bar */
.up-filter { display: grid; grid-template-columns: 1fr; gap: 10px; background: var(--white); border-radius: 12px; padding: 10px; margin-top: 18px; max-width: 920px; }
@media (min-width: 768px) { .up-filter { grid-template-columns: 1fr 1fr 1fr auto; } }
.up-filter select { min-height: 48px; border: 1px solid var(--line); border-radius: 10px; font: inherit; padding: 0 12px; color: var(--ink); background: var(--white); }

/* At a glance */
.glance-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.glance-grid div { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.glance-grid span { display: block; font-size: 13px; color: var(--muted); }
.glance-grid strong { font-size: 16px; }
.glance-feat { margin: 12px 0 0; }
@media (max-width: 600px) { .glance-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* Upcoming cards (portal style) */
.ugrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .ugrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ugrid { grid-template-columns: 1fr 1fr 1fr; } }
.ucard { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(16,24,40,.06); }
.ucard-img { position: relative; aspect-ratio: 3 / 2; background: #F2F4F7; display: flex; align-items: center; justify-content: center; }
.ucard-img img { width: 100%; height: 100%; object-fit: cover; }
.ucard-img svg { width: 78%; }
.ubadge { position: absolute; left: 12px; bottom: 12px; background: var(--white); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.ucard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.uname { font-size: 18px; line-height: 1.25; }
.uprice { font-size: 18px; font-weight: 700; }
.uprice small { font-size: 12px; font-weight: 400; color: var(--muted); }
.udate { font-size: 14px; color: var(--ink-2); }
.ualert { margin-top: 8px; display: block; text-align: center; border: 1.5px solid var(--amber); color: var(--amber-ink); font-weight: 700; border-radius: 10px; padding: 11px; text-decoration: none; }
.ualert:hover { background: #FFF8E6; }
.usrc { font-size: 11.5px; color: var(--muted); }

/* Dropdown menu (desktop); on phones the top links stay a simple scroll row */
.main-nav .sub { display: none; }
.main-nav .caret { font-size: 11px; opacity: .7; }
@media (min-width: 980px) {
  .main-nav > .wrap > ul { overflow: visible; }
  .main-nav li { position: relative; }
  .main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { display: block; }
  .main-nav .sub { position: absolute; top: 100%; left: -14px; z-index: 50; min-width: 220px; background: var(--white); border-radius: 12px; box-shadow: 0 12px 32px rgba(16,24,40,.18); padding: 8px; }
  .main-nav .sub ul { display: block; overflow: visible; }
  .main-nav .sub a { color: var(--ink); padding: 9px 12px; border-radius: 8px; font-weight: 600; }
  .main-nav .sub a:hover { background: #FFF8E6; color: var(--amber-ink); }
}
/* Tabs and model tiles */
.tabbox { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 10px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 2px 10px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab.on { color: var(--ink); border-bottom-color: var(--amber); }
.tabs-icons { gap: 10px; border-bottom: 0; }
.tabs-icons .tab { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 92px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.tabs-icons .tab.on { background: var(--asphalt); color: var(--white); border-color: var(--asphalt); }
.bicon { width: 52px; height: 32px; }
.mtile { flex: 0 0 250px; scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--white); }
.mtile-img { aspect-ratio: 16 / 10; background: #F2F4F7; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mtile-img img { width: 100%; height: 100%; object-fit: cover; }
.mtile-img svg { width: 70%; }
.mtile-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.mtile-body strong { font-size: 17px; }
.mtile-price { font-size: 17px; font-weight: 700; }
.mtile-price sup { color: var(--muted); }
.mtile-btn { margin-top: 10px; text-align: center; border: 1.5px solid var(--amber); color: var(--amber-ink); font-weight: 700; border-radius: 10px; padding: 9px; }
.mtile:hover .mtile-btn { background: #FFF8E6; }
@media (max-width: 600px) { .mtile { flex-basis: 200px; } .tabbox { padding: 14px 12px 6px; border-radius: 12px; } .tabs-icons .tab { min-width: 78px; padding: 8px; } }
/* Upcoming band */
.upband { background: #2B3340; padding: 26px 0 30px; margin: 22px 0 6px; }
.upband .section-head h2, .upband .section-head a { color: var(--white); }
.upcard { position: relative; flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.upflag { position: absolute; top: 10px; left: 10px; z-index: 1; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 10px 4px 22px; font-size: 12px; font-weight: 600; }
.upflag::before { content: ''; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #15803D; }
.upcard.est .upflag::before { background: #F79009; }
.upimg { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px 12px 0 0; background: #3A4352; }
.upimg img { width: 100%; height: 100%; object-fit: cover; }
.upimg svg { width: 70%; opacity: .5; }
.upinfo { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: 0 0 12px 12px; border-bottom: 5px solid #15803D; padding: 10px 0; text-align: center; }
.upcard.est .upinfo { border-bottom-color: #F79009; }
.upinfo > span + span { border-left: 1px solid var(--line); }
.upinfo small { display: block; color: var(--muted); font-size: 13px; }
.upinfo strong { font-size: 16px; }
@media (max-width: 600px) { .upcard { flex-basis: 250px; } .upband { padding: 18px 0 22px; } }
.tabpanel[hidden] { display: none !important; }
