/* BSB MECCA — CSS extracted from page-race-weekend-detail.php (Session 4) */

/* block 0 */
html, body { background: #F5F3EE !important; }
.rwd-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 4rem; color: #1A1A1A; font-family: 'DM Sans', -apple-system, sans-serif; }

.rwd-crumb { padding: 16px 0; color: #888; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rwd-crumb a { color: #888; text-decoration: none; }
.rwd-crumb a:hover { color: #C8102E; }
.rwd-crumb span { color: #1A1A1A; }

/* Hero */
.rwd-hero { padding: 1rem 0 2.5rem; border-bottom: 1px solid #1A1A1A; margin-bottom: 2.5rem; }
.rwd-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rwd-hero-centered { text-align: left; }
@media (max-width: 800px) { .rwd-hero-split { grid-template-columns: 1fr; } }
.rwd-kicker { font-family: 'Barlow Condensed', sans-serif; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #C8102E; margin-bottom: 8px; }
.rwd-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 12px; }
.rwd-hero-byline { font-family: 'Playfair Display', serif; font-style: italic; color: #444; font-size: 1.0625rem; margin-bottom: 6px; }
.rwd-hero-meta { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; }
.rwd-hero-img-wrap { position: relative; }
.rwd-hero-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #EFE9DC; }
.rwd-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.rwd-hero-img .rwd-gray { filter: grayscale(1); mix-blend-mode: multiply; opacity: 1; }
.rwd-hero-img .rwd-color { opacity: 0; }
.rwd-hero-img-wrap:hover .rwd-hero-img .rwd-color { opacity: 1; }
.rwd-photo-credit { margin-top: 8px; font-size: 0.6875rem; color: #888; letter-spacing: 0.04em; text-transform: uppercase; }

/* Section */
.rwd-section { padding: 32px 0; background-image: linear-gradient(to right, #1A1A1A 24%, transparent 0%); background-position: bottom; background-size: 4px 1px; background-repeat: repeat-x; }
.rwd-section:last-of-type { background: none; }
.rwd-section-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #1A1A1A; margin-bottom: 24px; }
.rwd-section-head h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.rwd-section-aside { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; }

/* Podium */
.rwd-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .rwd-podium { grid-template-columns: 1fr; } }
.rwd-podium-card { padding: 20px; background: #EFE9DC; text-align: center; }
.rwd-podium-card.gold   { background: #1A1A1A; color: #F5F3EE; }
.rwd-podium-card.silver { background: #E2DACB; }
.rwd-podium-card.bronze { background: #EFE9DC; }
.rwd-podium-pos { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #888; margin-bottom: 6px; }
.rwd-podium-card.gold .rwd-podium-pos { color: #C8102E; }
.rwd-podium-num { font-family: 'Barlow Condensed', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.rwd-podium-card.gold .rwd-podium-num { color: #C8102E; }
.rwd-podium-name { font-family: 'Playfair Display', serif; font-size: 1.375rem; line-height: 1.2; margin: 0 0 4px; }
.rwd-podium-name a { color: inherit; text-decoration: none; }
.rwd-podium-name a:hover { color: #C8102E; }
.rwd-podium-meta { font-family: 'DM Sans', sans-serif; font-size: 0.8125rem; color: #666; }
.rwd-podium-card.gold .rwd-podium-meta { color: #888; }

/* Sessions accordion */
.rwd-sessions { display: grid; gap: 20px; }
.rwd-session { padding: 20px 0; background-image: linear-gradient(to right, #1A1A1A 24%, transparent 0%); background-position: bottom; background-size: 4px 1px; background-repeat: repeat-x; }
.rwd-session:last-child { background: none; }
.rwd-session-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.rwd-session-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 400; margin: 0; }
.rwd-session-link { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #C8102E; text-decoration: none; }
.rwd-session-link:hover { color: #B84008; }
.rwd-results-table { width: 100%; border-collapse: collapse; }
.rwd-results-table th { font-family: 'DM Sans', sans-serif; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid #1A1A1A; }
.rwd-results-table th.rwd-num { text-align: right; }
.rwd-results-table td { padding: 9px 12px 9px 0; font-size: 0.9375rem; background-image: linear-gradient(to right, #1A1A1A 24%, transparent 0%); background-position: bottom; background-size: 4px 1px; background-repeat: repeat-x; }
.rwd-results-table td.rwd-num { text-align: right; font-variant-numeric: tabular-nums; }
.rwd-results-table tr:last-child td { background: none; }
.rwd-results-table a { color: #1A1A1A; text-decoration: none; }
.rwd-results-table a:hover { color: #C8102E; }
.rwd-pos { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: #888; }
.rwd-pos-1 { color: #C8102E; }

/* Weather */
.rwd-weather { display: flex; gap: 32px; flex-wrap: wrap; }
.rwd-weather-stat { }
.rwd-weather-stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.rwd-weather-stat-lbl { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; margin-top: 6px; }
.rwd-weather-cond { padding: 6px 12px; display: inline-block; background: #EFE9DC; font-family: 'Barlow Condensed', sans-serif; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Standings table */
.rwd-standings { width: 100%; border-collapse: collapse; font-family: 'DM Sans', sans-serif; }
.rwd-standings th { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid #1A1A1A; }
.rwd-standings th.rwd-num { text-align: right; }
.rwd-standings td { padding: 10px 12px 10px 0; font-size: 0.9375rem; background-image: linear-gradient(to right, #1A1A1A 24%, transparent 0%); background-position: bottom; background-size: 4px 1px; background-repeat: repeat-x; }
.rwd-standings td.rwd-num { text-align: right; font-variant-numeric: tabular-nums; }
.rwd-standings tr:last-child td { background: none; }
.rwd-standings a { color: #1A1A1A; text-decoration: none; }
.rwd-standings a:hover { color: #C8102E; }
.rwd-standings .rwd-pos { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: #888; }
.rwd-standings .rwd-pos-1 { color: #C8102E; }
.rwd-standings .rwd-leader td { background-color: #EFE9DC; }
.rwd-points { font-weight: 700; }
.rwd-gap { color: #888; font-size: 0.8125rem; }

/* Nav */
.rwd-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #1A1A1A; }
.rwd-nav-link { font-family: 'Barlow Condensed', sans-serif; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #444; text-decoration: none; }
.rwd-nav-link:hover { color: #C8102E; }
.rwd-nav-link b { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: 1rem; text-transform: none; letter-spacing: 0; color: #1A1A1A; }
.rwd-nav-link.disabled { color: #ccc; pointer-events: none; }
