/*
Theme Name: STB Similar
Theme URI: http://example.local
Author: STB Local
Author URI: http://example.local
Description: A theme replicating the BRUX parties page style.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: stb-similar
*/

:root {
    --primary-color: #1f3354;
    --primary-color-highlight: #1f3354;
    --primary-color-text-color: #fff;
    --primary-color-text-strong-color: #fff;
    --secondary-color: #cb9904;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: "Open Sans", Arial, sans-serif;
    color: #8b8e94;
    background: #e4e4e4;
    margin: 0; padding: 0;
    font-size: 18px; line-height: 25px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
a:hover, a:focus, a:active { color: var(--primary-color-highlight); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { font-family: "Oswald", sans-serif; font-weight: 700; margin-top: 0; }

.container-fluid { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.justify-content-center { justify-content: center; }
.no-gutters { margin-right: 0; margin-left: 0; }
.no-gutters > [class*="col-"] { padding-right: 0; padding-left: 0; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding-right: 15px; padding-left: 15px; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; padding-right: 15px; padding-left: 15px; }
@media (min-width: 992px) { .col-lg-6 { flex: 0 0 50%; max-width: 50%; padding-right: 15px; padding-left: 15px; } }
@media (min-width: 1200px) { .col-xl-3 { flex: 0 0 25%; max-width: 25%; padding-right: 15px; padding-left: 15px; } }
.align-items-center { align-items: center; }

/* ===== Navbar (transparent, absolute) ===== */
nav.navbar {
    background-color: rgba(0,0,0,0.4);
    left: 0; right: 0; position: absolute; top: 0; width: 100%;
    z-index: 1400; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.navbar-nav { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.navbar-nav .nav-item { position: relative; }

ul.navbar-nav > li > a {
    color: var(--primary-color-text-color);
    text-transform: uppercase;
    transition: all 0.2s;
    display: block;
    padding: 8px 15px;
    font-size: 15px;
}
ul.navbar-nav > li > a:hover, ul.navbar-nav > li > a:focus, ul.navbar-nav > li > a:active { color: var(--primary-color-medium); }

.nav-link.dropdown-toggle::after {
    display: inline-block; margin-left: 0.255em; vertical-align: 0.255em;
    content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent;
    border-bottom: 0; border-left: 0.3em solid transparent;
}
.nav-item.dropdown { position: relative; }
@media (min-width: 992px) { .dropdown:hover > .dropdown-menu { display: block; z-index: 1200; } }

ul.navbar-nav div.dropdown-menu {
    background-color: transparent; border: none; border-radius: 0;
    color: #fff; margin: 0; display: none;
    position: absolute; top: 100%; left: 0; z-index: 1000;
    min-width: 10rem; padding: 0.5rem 0; list-style: none;
}
ul.navbar-nav div.dropdown-menu > a {
    color: #fff; display: block; width: 100%; padding: 0.25rem 1.5rem;
    clear: both; font-weight: 400; text-align: inherit;
    white-space: nowrap; background-color: transparent; border: 0;
}
ul.navbar-nav div.dropdown-menu > a:hover, ul.navbar-nav div.dropdown-menu > a:focus, ul.navbar-nav div.dropdown-menu > a:active {
    background-color: transparent; color: var(--primary-color);
}

@media (min-width: 992px) {
    nav.navbar { background-color: transparent; padding: 0; }
    .navbar-nav { flex-direction: row; margin-left: 24px; }
    ul.navbar-nav > li > a { padding: 30px 7px !important; }
    ul.navbar-nav > li > a:hover, ul.navbar-nav > li > a:focus, ul.navbar-nav > li > a:active { background-color: var(--primary-color); color: var(--primary-color-text-color); }
    ul.navbar-nav > li.active > a { border-bottom: 3px solid var(--primary-color); padding-bottom: 17px !important; }
    ul.navbar-nav div.dropdown-menu { background-color: rgba(0,0,0,0.6); margin: 0; }
    ul.navbar-nav div.dropdown-menu > a:hover, ul.navbar-nav div.dropdown-menu > a:focus, ul.navbar-nav div.dropdown-menu > a:active { background-color: var(--primary-color); color: var(--primary-color-text-color); }
}
@media (min-width: 1200px) {
    ul.navbar-nav > li > a { color: #fff; padding: 20px 15px !important; text-transform: uppercase; }
    ul.navbar-nav { margin-left: 44px; }
}

@media (max-width: 992px) {
    nav.navbar { background-color: transparent; }
    nav.navbar .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; visibility: hidden; opacity: 0; transition: visibility 0.2s, opacity 0.2s; }
    nav.navbar .navbar-collapse.show { visibility: visible; opacity: 1; background-color: rgba(0,0,0,0.9); padding: 0 15px; }
    nav.navbar .navbar-collapse.collapsing { visibility: visible; opacity: 1; background-color: rgba(0,0,0,0.9); padding: 0 15px; }
    .navbar-toggler { background-color: rgba(0,0,0,0.6); border-radius: 0; display: block; padding: 4px 12px; font-size: 1.25rem; line-height: 1; border: 1px solid transparent; cursor: pointer; }
    .navbar-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox=%270 0 32 32%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath stroke=%27rgba%28255,255,255, 1%29%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 d=%27M4 8h24M4 16h24M4 24h24%27/%3E%3C/svg%3E"); background-size: 100% 100%; }
    ul.navbar-nav > li > a { color: hsla(0,0%,100%,0.5); }
}

/* ===== Logo (absolute, top-right) ===== */
#bruxLogo {
    background-image: url('assets/images/stb2026_logo.png');
    background-position: 100% 0; background-repeat: no-repeat; background-size: contain;
    height: 180px; pointer-events: none; position: absolute;
    right: 20px; top: 20px; transition: background-size 0.5s ease;
    width: 180px; z-index: 1015;
}
@media (max-width: 992px) { #bruxLogo { height: 100px; width: 100px; } }

/* ===== Section Title ===== */
#partiesSectionTitle {
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.1) 30%,rgba(0,0,0,0.1)), url(https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=1400&q=80);
    background-position: 50%; background-repeat: no-repeat; background-size: cover;
    padding: 104px 20px 20px; text-align: center;
}
#partiesSectionTitle h1 {
    color: #fff; font-family: "Oswald", sans-serif; font-size: 60px;
    margin: 20px 0 180px; position: relative; text-align: center; z-index: 1020;
}
#partiesSectionTitle h1::after {
    border-bottom: 3px solid #fff; bottom: 0; content: ""; display: block;
    height: 3px; margin-left: auto; margin-right: auto; margin-top: 40px; width: 200px;
}

/* ===== Section Blocks – Shared ===== */
.section-block { padding: 80px 0; }
.section-block.section-alt { background-color: #e9e9ee; }
.section-title {
    font-family: "Oswald", sans-serif; font-size: 42px; text-align: center;
    color: var(--primary-color); margin: 0 0 10px; position: relative;
}
.section-title::after {
    border-bottom: 3px solid var(--secondary-color); content: ""; display: block;
    height: 3px; margin: 15px auto 30px; width: 80px;
}
.section-subtitle {
    text-align: center; color: #8b8e94; font-size: 18px;
    margin: -5px 0 40px;
}
.section-title-large {
    font-family: "Oswald", sans-serif; font-size: 52px;
    color: var(--primary-color); margin: 0 0 20px;
}

/* ===== Section 1: Video Hero ===== */
.video-hero {
    position: relative; height: 100vh; min-height: 600px;
    overflow: hidden; display: flex;
    align-items: center; justify-content: center;
}
.video-hero-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.video-hero-poster {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: 1;
}
.video-hero-poster.hidden { opacity: 0; pointer-events: none; }
.video-hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(31,51,84,0.75) 0%, rgba(0,0,0,0.6) 50%, rgba(31,51,84,0.5) 100%);
}
.video-hero-content {
    position: relative; z-index: 2;
    text-align: center; color: #fff;
    padding: 20px; max-width: 800px;
}
.hero-title {
    font-family: "Oswald", sans-serif;
    font-size: 72px; font-weight: 700;
    margin: 0 0 20px; text-transform: uppercase;
    letter-spacing: 4px; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-description {
    font-size: 22px; line-height: 1.6;
    margin: 0 auto 40px; max-width: 600px;
    opacity: 0.9;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
a.btn-hero {
    font-size: 18px; padding: 16px 40px;
    border-radius: 30px; text-transform: uppercase;
    letter-spacing: 1px; transition: all 0.3s ease;
}
a.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
@media (max-width: 767px) {
    .hero-title { font-size: 42px; letter-spacing: 2px; }
    .hero-description { font-size: 18px; }
    .video-hero { min-height: 500px; }
}

/* ===== Section 2: Guest Lineup ===== */
.guest-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 30px; max-width: 1100px; margin: 0 auto;
}
.guest-card {
    flex: 0 0 calc(25% - 30px); max-width: calc(25% - 30px);
    min-width: 220px;
}

/* Flip Card */
.flip-card {
    perspective: 1000px; width: 100%; aspect-ratio: 3/4;
}
.flip-card-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.6s ease; transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: 12px; overflow: hidden;
}
.flip-card-front {
    background-color: var(--primary-color);
}
.flip-card-front img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.flip-card-front .guest-name {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff; font-family: "Oswald", sans-serif;
    font-size: 20px; padding: 40px 15px 15px; text-align: center;
}
.flip-card-back {
    background-color: var(--primary-color); color: #fff;
    transform: rotateY(180deg); display: flex;
    align-items: center; justify-content: center;
}
.flip-card-back-content {
    padding: 20px; text-align: center;
}
.flip-card-back-content h3 {
    color: var(--secondary-color); font-size: 22px; margin: 0 0 10px;
    font-family: "Oswald", sans-serif;
}
.flip-card-back-content p {
    font-size: 14px; line-height: 1.5; margin: 0;
}
.guest-grid-toggle { margin-top: 30px; }

/* ===== Section 3: Last Year Highlight ===== */
.highlight-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 30px; max-width: 1200px; margin: 0 auto;
}
.highlight-item {
    flex: 0 0 calc(33.33% - 30px); max-width: calc(33.33% - 30px);
    min-width: 280px; background: #fff; border-radius: 12px;
    overflow: hidden; padding: 20px;
}
.highlight-item h3 {
    font-family: "Oswald", sans-serif; font-size: 24px;
    color: var(--primary-color); text-align: center;
    margin: 0 0 15px;
}
.highlight-media {
    margin: 0 -20px;
    overflow: hidden;
    /* Prevent CLS: constrain height before Glide initializes */
    max-height: 400px;
    background: #f0f0f0;
}
.highlight-item .glide__slide__content div {
    aspect-ratio: 16/9;
    /* Ensure images don't overflow before Glide sets up */
    max-height: 400px;
    background-color: #f0f0f0;
}
.highlight-cta { text-align: center; margin-top: 15px; }

/* ===== Section 4: Class Schedule ===== */
#classSchedule .schedule-image-wrap {
    max-width: 1000px; margin: 0 auto 30px;
}

/* Fake schedule table — styled preview content */
.fake-schedule {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.fake-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.fake-schedule-table thead th {
    background: var(--primary-color);
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    padding: 14px 12px;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.fake-schedule-table thead th:first-child {
    width: 130px;
}
.fake-schedule-table tbody td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #444;
    line-height: 1.5;
}
.fake-schedule-table tbody td small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 3px;
}
.fake-schedule-table tbody tr:hover td {
    background-color: #fafafa;
}
.fake-schedule-break td {
    background: #f0f0f5 !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px !important;
}
.fake-schedule-note {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin: 0;
    padding: 12px;
    background: #fafafa;
    border-top: 1px solid #eee;
}
.schedule-cta { text-align: center; }
@media (max-width: 768px) {
    .fake-schedule-table { font-size: 12px; }
    .fake-schedule-table thead th { font-size: 12px; padding: 10px 6px; }
    .fake-schedule-table tbody td { padding: 8px 4px; }
    .fake-schedule-table thead th:first-child { width: 60px; }
}

/* ===== Section 5: CLHC Competition ===== */
#clhcIntro .clhc-description {
    font-size: 18px; line-height: 1.7; margin-bottom: 24px;
}

/* Competition card grid — 3 columns, each card = image + name */
.comp-card-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 24px; max-width: 1080px; margin: 0 auto;
}
.comp-card {
    flex: 0 0 calc(33.33% - 24px); max-width: calc(33.33% - 24px);
    min-width: 280px; background: #fff; border-radius: 12px;
    overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.comp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.comp-card-img {
    width: 100%; aspect-ratio: 4/3;
    background-size: cover; background-position: center;
    position: relative;
}
.comp-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(31,51,84,0.6) 0%, transparent 60%);
}
.comp-card-body {
    padding: 18px 20px; text-align: center;
}
.comp-card-title {
    font-family: "Oswald", sans-serif; font-size: 20px;
    color: var(--primary-color); margin: 0 0 6px;
}
.comp-card-sub {
    font-size: 13px; color: #8b8e94; margin: 0;
}
@media (max-width: 992px) {
    .comp-card { flex: 0 0 calc(50% - 24px); max-width: calc(50% - 24px); min-width: 0; }
}
@media (max-width: 600px) {
    .comp-card { flex: 0 0 100%; max-width: 100%; min-width: 0; }
}

/* ===== Section 6: Event Schedule ===== */
.schedule-table-wrap {
    overflow-x: auto; max-width: 1000px; margin: 0 auto;
}
.schedule-table {
    width: 100%; border-collapse: collapse;
    background: #fff; border-radius: 12px; overflow: hidden;
}
.schedule-table th {
    background: var(--primary-color); color: #fff;
    font-family: "Oswald", sans-serif; font-size: 20px;
    padding: 15px; text-align: center;
}
.schedule-table td {
    padding: 12px 15px; text-align: center; border-bottom: 1px solid #eee;
    font-size: 16px;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover { background-color: #f9f9f9; }

/* ===== Section 7: Venue ===== */
.venue-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 30px; max-width: 1200px; margin: 0 auto;
}
.venue-card {
    flex: 0 0 calc(50% - 30px); max-width: calc(50% - 30px);
    min-width: 300px; background: #fff; border-radius: 12px;
    overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.venue-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.venue-card-image {
    width: 100%; aspect-ratio: 16/9;
    background-size: cover; background-position: center;
}
.venue-card-body { padding: 24px; }
.venue-card-title {
    font-family: "Oswald", sans-serif; font-size: 24px;
    color: var(--primary-color); margin: 0 0 12px;
}
.venue-card-desc {
    font-size: 15px; line-height: 1.6; color: #8b8e94; margin: 0 0 15px;
}
.venue-card-address {
    font-size: 14px; margin-bottom: 16px; color: #555;
}
@media (max-width: 767px) {
    .venue-card { flex: 0 0 100%; max-width: 100%; min-width: 0; }
}

/* Keep old venue-info for backward compat */
.venue-info { padding: 20px; }
.venue-description { font-size: 18px; line-height: 1.7; margin-bottom: 20px; }
.venue-address { font-size: 16px; margin-bottom: 20px; color: #555; }

/* ===== Buttons ===== */
.btn { display: inline-block; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; line-height: 1.5; border-radius: 0.25rem; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
a.btn-custom { background-color: var(--primary-color); border: none; border-radius: 20px; color: #fff; font-size: 25px; padding: 15px 40px; }
a.btn-custom.small { border-radius: 5px; font-size: 15px; padding: 5px 10px; }
a.btn-custom:hover, a.btn-custom:focus, a.btn-custom:active { background-color: var(--primary-color-highlight); box-shadow: none; color: var(--primary-color-text-color); text-decoration: none; }

/* ===== Glide.js Slider ===== */
.glide { position: relative; width: 100%; }
.glide__track { overflow: hidden; }
.glide__slides { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; position: relative; width: 100%; will-change: transform; backface-visibility: hidden; }
.glide__slide { flex-shrink: 0; height: auto; width: 100%; white-space: normal; user-select: none; }
.glide__slide__content div { aspect-ratio: 1/1; background-position: 50%; background-size: cover; width: 100%; }
.glide__bullets { display: inline-flex; justify-content: center; list-style: none; padding: 0; position: absolute; bottom: 2em; left: 50%; transform: translateX(-50%); z-index: 2; }
.glide__bullet { background-color: hsla(0,0%,100%,0.5); border: 2px solid transparent; border-radius: 50%; box-shadow: 0 0.25em 0.5em 0 rgba(0,0,0,0.1); cursor: pointer; height: 9px; line-height: 0; margin: 0 0.25em; padding: 0; transition: all 0.3s ease-in-out; width: 9px; }
.glide__bullet--active { background-color: #fff; }

/* ===== Map placeholder ===== */
.venueMapRow .content.map { min-height: 260px; background: #e5e3df; position: relative; overflow: hidden; }
.venueMapRow .content.map .map-placeholder { display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 20px; }

/* ===== Schedule / Content Text ===== */
#partiesSection .partySection .partyInfo .content.text { background-color: var(--primary-color); padding: 20px; }
#partiesSection .partySection .partyInfo .content.text p {
    background-position: 0 4px; background-repeat: no-repeat; background-size: 15px;
    margin: 5px 0 0; padding-left: 22px; text-align: left;
    color: var(--primary-color-text-color); font-size: 15px; line-height: 1.8;
}
#partiesSection .partySection .partyInfo .content.text p strong { color: var(--primary-color-text-strong-color); font-weight: 700; }

/* ===== Footer ===== */
.site-footer { background: var(--primary-color); color: rgba(255,255,255,0.8); padding: 40px 20px 20px; text-align: center; }
.site-footer p { margin: 0 0 8px; font-size: 14px; }
.site-footer .footer-links { list-style: none; margin: 16px 0; padding: 0; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.site-footer .footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.site-footer .footer-links a:hover { color: var(--secondary-color); }

/* Footer social media */
.footer-social { margin-bottom: 24px; }
.footer-social-label {
    display: block; margin-bottom: 12px;
    font-family: "Oswald", sans-serif; font-size: 16px;
    text-transform: uppercase; letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}
.footer-social-icons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    transition: all 0.25s ease;
    text-decoration: none;
}
.social-icon:hover { background: var(--secondary-color); color: #fff; transform: translateY(-2px); }
.social-icon-text {
    font-family: "Oswald", sans-serif; font-size: 18px; font-weight: 700;
    line-height: 1;
}

/* ===== Animations ===== */
.animate__animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; }
.animate__fadeInUp { -webkit-animation-name: fadeInUp; animation-name: fadeInUp; }
@-webkit-keyframes fadeInUp { from { opacity: 0; -webkit-transform: translate3d(0, 40px, 0); transform: translate3d(0, 40px, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } }
@keyframes fadeInUp { from { opacity: 0; -webkit-transform: translate3d(0, 40px, 0); transform: translate3d(0, 40px, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } }

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    #partiesSection .partySection .partyHead { padding: 50px 20px 180px; }
    #partiesSection .partySection .partyHead p { font-size: 20px; line-height: 28px; }
    #partiesSection .partySection .partyHead h2 { font-size: 36px; }
    #partiesSectionTitle h1 { font-size: 40px; margin-bottom: 120px; }
    #bruxLogo { height: 100px; width: 100px; }
}
@media (max-width: 1199px) { .col-xl-3 { flex: 0 0 50%; max-width: 50%; } }

/* ===== Placeholder Page ===== */
.placeholder-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1f3354;
}
.placeholder-page-wrapper {
    padding: 140px 20px 60px;
    text-align: center;
    max-width: 800px;
    width: 100%;
}
.placeholder-logo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.placeholder-coming-soon {
    margin-top: 30px;
    font-family: "Oswald", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}
.placeholder-subtitle {
    margin-top: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

/* ===== Utility ===== */
.text-center { text-align: center; }

/* ===== WP admin bar ===== */
.admin-bar nav.navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar nav.navbar { top: 46px; } }

/* ===== CLS Prevention ===== */
/* Prevent layout shift from navbar collapse and hero video */
main#mainContent {
    contain: layout style;
    min-height: 100vh;
}

/* Navbar toggler - explicit size to prevent CLS */
.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 4px 12px;
    flex-shrink: 0;
}

/* Navbar collapse - use visibility for toggling to preserve space */
@media (max-width: 992px) {
    nav.navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.2s, opacity 0.2s;
    }
    nav.navbar .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        background-color: rgba(0,0,0,0.9);
        padding: 0 15px;
    }
    nav.navbar .navbar-collapse.collapsing {
        visibility: visible;
        opacity: 1;
        background-color: rgba(0,0,0,0.9);
        padding: 0 15px;
    }
}

/* Video hero - set explicit aspect ratio to prevent CLS */
.video-hero {
    contain: layout paint style;
}
.video-hero video {
    display: block;
    width: 100%;
    height: 100%;
}

/* Guest sub-heading */
h3.guest-subheading {
    font-family: "Oswald", sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 30px;
}

/* Band card (simpler than flip card) */
.band-card {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
}
.band-card-front {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.band-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.band-card-front .guest-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    padding: 30px 10px 10px;
    text-align: center;
}
.band-card-caption {
    padding: 10px;
    text-align: center;
    background: var(--primary-color);
}
.band-role {
    color: var(--secondary-color);
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
