/* Copy of the inline style of nova/dancesport.php (site shell, side cards, footer), so the archive pages match the home page. */

@keyframes pulse {
    0%   { opacity: 1; }
    50%  { opacity: .55; }
    100% { opacity: 1; }
}

:root{
    --bg:#0b0b0f;
    --panel:rgba(19,19,25,.82);
    --line:rgba(255,255,255,.10);
    --text:#f5f5f5;
    --muted:#b9bcc7;
    --gold:#d9a441;
    --gold-soft:#f0cf8c;
    --red:#b30f19;
    --red-bright:#d11b26;
    --shadow:0 12px 32px rgba(0,0,0,.35);
    --radius:18px;
    --max:1400px;
}

*{box-sizing:border-box;}

html,body{
    margin:0;
    padding:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial, Helvetica, sans-serif;
}

body{
    position:relative;
    overflow-x:hidden;
}

a{
    color:var(--gold-soft);
    text-decoration:none;
    transition:.2s ease;
}
a:hover{color:#fff;}

img{max-width:100%;display:block;}

#bgvid{
    position:fixed;
    right:0;
    bottom:0;
    min-width:100%;
    min-height:100%;
    object-fit:cover;
    z-index:-3;
    opacity:.25;
    filter:contrast(1.05) saturate(1.05);
}

.mobile-top-panel{
    display:none;
}

@media (max-width: 980px){
    .mobile-top-panel{
        display:block;
        margin-bottom:22px;
    }

    .mobile-top-panel .accordion{
        border-top:none;
    }

    .mobile-top-panel .accordion + .accordion{
        margin-top:10px;
        padding-top:10px;
        border-top:1px solid rgba(255,255,255,.10);
    }

    .desktop-sidebar-panel{
        display:none;
    }
}

.completed-results-label{
    display:inline-block;
    margin-top:8px;
    padding:6px 9px;
    border-radius:999px;
    background:rgba(217,164,65,.22);
    color:#fff;
    border:1px solid rgba(217,164,65,.55);
    font-size:.72rem;
    font-weight:bold;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.page-overlay{
    position:fixed;
    inset:0;
    z-index:-2;
    background:
        radial-gradient(circle at top left, rgba(217,164,65,.18), transparent 28%),
        radial-gradient(circle at top right, rgba(179,15,25,.18), transparent 26%),
        linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72));
    pointer-events:none;
}

.accordion-toggle.live-header{
    background:linear-gradient(135deg,#b30f19,#d11b26);
    border-radius:12px;
    padding-left:14px;
    padding-right:14px;
    box-shadow:0 0 18px rgba(209,27,38,.28);
}

.accordion-toggle.live-header .acc-icon{
    color:#fff;
}

.accordion-toggle.live-header span{
    color:#fff;
}

.accordion-toggle.live-header::after{
    content:"LIVE";
    margin-left:auto;
    margin-right:12px;
    font-size:.72rem;
    font-weight:bold;
    letter-spacing:.08em;
    padding:5px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
}

.site-shell{
    width:min(var(--max), calc(100% - 32px));
    margin:0 auto;
    padding:18px 0 28px;
}

.main-grid{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(320px,1fr);
    gap:22px;
    align-items:start;
}

@media (max-width: 980px){
    .main-grid{
        grid-template-columns:minmax(0,1fr);
    }
}

.glass{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:var(--radius);
    backdrop-filter:blur(10px);
    box-shadow:var(--shadow);
}

.section-pad{
    padding:20px;
}

.hero{
    overflow:hidden;
    position:relative;
}

.hero-top{
    padding:18px 18px 0;
}

.hero-brand{
    border-radius:16px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.01);
}

.hero-content{
    display:block;
    padding:20px;
}

.hero-copy .sub{
    color:var(--gold-soft);
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:.78rem;
    margin-bottom:8px;
}

.hero-copy p{
    color:var(--muted);
    line-height:1.8;
    margin:0 0 16px;
}

.hero-buttons{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin-top:18px;
    width:100%;
}

.hero-buttons .cta{
    width:100%;
}

@media (max-width: 620px){
    .hero-buttons{
        grid-template-columns:1fr;
    }
}

.cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:12px 16px;
    border-radius:999px;
    font-weight:bold;
    border:1px solid rgba(255,255,255,.08);
    text-align:center;
}

.cta-primary{
    background:linear-gradient(135deg,var(--red),var(--red-bright));
    color:#fff;
}

.cta-secondary{
    background:rgba(255,255,255,.05);
    color:#fff;
}

.video-block,
.slider-block,
.content-card,
.sidebar-card{
    overflow:hidden;
}

.cmp-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:9px;
}

.cmp-badge{
    font-size:.72rem;
    line-height:1;
    padding:6px 8px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.06);
    color:var(--muted);
    white-space:nowrap;
}

.cmp-badge.on{
    background:rgba(217,164,65,.18);
    border-color:rgba(217,164,65,.45);
    color:#fff;
}

.cmp-badge.off{
    opacity:.45;
}

.live-results-row{
    background:linear-gradient(135deg, rgba(179,15,25,.38), rgba(209,27,38,.20)) !important;
    border-color:rgba(255,90,107,.55) !important;
}

.live-results-row .list-main,
.live-results-row .list-side{
    background:rgba(179,15,25,.14);
}

.live-results-label{
    display:inline-block;
    margin-top:8px;
    padding:6px 9px;
    border-radius:999px;
    background:#d11b26;
    color:#fff;
    border:1px solid rgba(255,255,255,.24);
    font-size:.72rem;
    font-weight:bold;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.live-results-bar{
    background:#d11b26 !important;
}


.section-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}

.section-title h2,
.section-title h3{
    margin:0;
    font-size:1.2rem;
    color:#fff;
}

.section-title small{
    color:var(--muted);
}

.media-frame{
    border-radius:14px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    background:#000;
}

.media-caption{
    margin-top:12px;
    color:var(--muted);
    line-height:1.6;
}

.slideshow-wrap{
    position:relative;
    border-radius:16px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    background:#111;
    min-height:260px;
}

.slide-item{
    display:none;
    width:100%;
    background:#111;
}

.slide-item.active{
    display:block;
}

.slide-item img{
    width:100%;
    height:auto;
    display:block;
}

.slide-empty{
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
    text-align:center;
    padding:20px;
}

.fade-slide{
    animation:fadeSlide .6s ease;
}

@keyframes fadeSlide{
    from{opacity:.35}
    to{opacity:1}
}

.slide-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    width:44px;
    height:44px;
    border:none;
    border-radius:999px;
    background:rgba(0,0,0,.42);
    color:#fff;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s ease;
}

.slide-nav:hover{
    background:rgba(0,0,0,.68);
}

.slide-prev{
    left:14px;
}

.slide-next{
    right:14px;
}

.slide-dots{
    position:absolute;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:3;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(0,0,0,.28);
}

.slide-dot{
    width:10px;
    height:10px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.45);
    cursor:pointer;
    transition:.2s ease;
    padding:0;
}

.slide-dot.active{
    background:var(--gold-soft);
    transform:scale(1.15);
}

@media (max-width: 640px){
    .slideshow-wrap{
        min-height:180px;
    }

    .slide-empty{
        min-height:180px;
    }

    .slide-nav{
        width:38px;
        height:38px;
        font-size:20px;
    }
}

.slideshow-wrap img{
    width:100%;
    height:auto;
    display:block;
}

.accordion{
    border-top:1px solid rgba(255,255,255,.08);
}

.accordion-toggle{
    width:100%;
    background:none;
    border:none;
    color:#fff;
    text-align:left;
    padding:14px 0;
    font-size:1rem;
    font-weight:bold;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.accordion-panel{
    display:none;
    padding:0 0 14px;
}

.acc-icon{
    color:var(--gold-soft);
    font-size:1.2rem;
    line-height:1;
}

.facebook-card{
    padding:14px;
}

.facebook-card .section-title{
    margin-bottom:12px;
    padding:0 6px;
}

.fb-page,
.fb-page span,
.fb-page iframe{
    width:100% !important;
    max-width:100% !important;
}

.fb-page iframe{
    display:block !important;
}

.list-table{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.list-row{
    display:grid;
    grid-template-columns:minmax(0,1.5fr) 12px minmax(140px,.8fr);
    gap:0;
    align-items:stretch;
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    overflow:hidden;
    background:rgba(255,255,255,.03);
}

.list-main,
.list-side{
    padding:14px 16px;
}

.list-main strong{
    color:#fff;
    display:block;
    margin-bottom:4px;
}

.list-main small,
.list-side small{
    color:var(--muted);
    line-height:1.5;
}

.list-bar{
    min-height:100%;
}

.list-side{
    border-left:1px solid rgba(255,255,255,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

@media (max-width: 640px){
    .list-row{
        grid-template-columns:1fr;
    }
    .list-bar{
        height:8px;
        width:100%;
    }
    .list-side{
        border-left:none;
        border-top:1px solid rgba(255,255,255,.06);
    }
}

.news-row{
    display:grid;
    grid-template-columns:1fr 120px;
    gap:16px;
    padding:14px 0;
    border-top:1px solid rgba(255,255,255,.08);
}

.news-row:first-child{
    border-top:none;
    padding-top:0;
}

.news-row strong{
    color:#fff;
}

.news-row small{
    color:var(--muted);
    line-height:1.5;
}

.news-date{
    text-align:right;
    color:var(--gold-soft);
    font-size:.92rem;
}

@media (max-width: 640px){
    .news-row{
        grid-template-columns:1fr;
        gap:8px;
    }
    .news-date{
        text-align:left;
    }
}

.sidebar-stack{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.embed-wrap{
    border-radius:14px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    background:#111;
}

.embed-wrap iframe{
    width:100%;
    min-height:520px;
    display:block;
    border:0;
}

.side-video video,
.main-video video{
    width:100%;
    display:block;
    border-radius:14px;
    background:#000;
}

.small-note{
    color:var(--muted);
    line-height:1.65;
    margin-top:12px;
}

.side-links img{
    border-radius:14px;
    border:1px solid rgba(255,255,255,.08);
}

.side-links h4{
    margin:0 0 10px;
    color:#fff;
}

.footer{
    width:min(var(--max), calc(100% - 32px));
    margin:20px auto 28px;
    color:#aaa;
    text-align:center;
    font-size:.92rem;
}

.hide-pc{
    display:none;
}

@media (max-width: 980px){
    .hide-pc{
        display:block;
    }
}

.mobile-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.mobile-actions a{
    display:block;
}

.mobile-actions .cta{
    width:100%;
}

video{
    max-width:100%;
}

.w3-animate-left{position:relative;animation:animateleft .5s}
@keyframes animateleft{from{left:24px;opacity:.25}to{left:0;opacity:1}}

.cookie-banner{
    position:fixed;
    left:16px;
    right:16px;
    bottom:16px;
    z-index:99999;
    background:rgba(12,12,16,.96);
    border:1px solid rgba(255,255,255,.12);
    border-radius:18px;
    box-shadow:0 18px 40px rgba(0,0,0,.45);
    backdrop-filter:blur(10px);
    padding:18px;
    display:none;
}

.cookie-banner.show{
    display:block;
}

.cookie-banner-inner{
    width:min(1100px, 100%);
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
}

.cookie-banner h3{
    margin:0 0 8px;
    color:#fff;
    font-size:1.05rem;
}

.cookie-banner p{
    margin:0;
    color:var(--muted);
    line-height:1.65;
    font-size:.96rem;
}

.cookie-banner a{
    text-decoration:underline;
}

.cookie-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.cookie-btn{
    min-height:44px;
    padding:10px 16px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.05);
    color:#fff;
    font-weight:bold;
    cursor:pointer;
}

.cookie-btn:hover{
    background:rgba(255,255,255,.12);
}

.cookie-btn.primary{
    background:linear-gradient(135deg,var(--red),var(--red-bright));
    border-color:rgba(255,255,255,.08);
}

.cookie-btn.secondary{
    background:rgba(255,255,255,.04);
}

.cookie-manage-link{
    display:inline-block;
    margin-top:10px;
    font-size:.92rem;
    color:var(--gold-soft);
    cursor:pointer;
}

.embed-consent-placeholder{
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:18px;
    background:rgba(255,255,255,.03);
    color:var(--muted);
    line-height:1.65;
}

.embed-consent-placeholder strong{
    color:#fff;
    display:block;
    margin-bottom:8px;
}

.embed-consent-placeholder .cta{
    margin-top:12px;
    width:100%;
}

@media (max-width: 760px){
    .cookie-banner-inner{
        grid-template-columns:1fr;
    }

    .cookie-actions{
        justify-content:flex-start;
    }
}


/* =========================
   WhatsApp accordion
   ========================= */

.whatsapp-accordion{
    border-top:none;
}

.accordion-toggle.whatsapp-header{
    background:linear-gradient(135deg, rgba(18,140,80,.95), rgba(37,211,102,.72));
    border:1px solid rgba(37,211,102,.45);
    border-radius:12px;
    padding-left:14px;
    padding-right:14px;
    box-shadow:0 0 18px rgba(37,211,102,.16);
    margin-bottom:2px;
}

.accordion-toggle.whatsapp-header span{
    color:#fff;
}

.accordion-toggle.whatsapp-header .acc-icon{
    color:#fff;
}

.whatsapp-toggle-title{
    display:flex;
    align-items:center;
    gap:9px;
}

.whatsapp-logo{
    width:24px;
    height:24px;
    border-radius:50%;
    background:#25D366;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 0 0 1px rgba(255,255,255,.25);
    flex-shrink:0;
}

.whatsapp-logo svg{
    width:15px;
    height:15px;
    fill:#fff;
    display:block;
}

.whatsapp-panel{
    padding-top:12px;
}

.whatsapp-enrol-intro{
    color:var(--muted);
    font-size:.86rem;
    line-height:1.5;
    margin:0 0 12px;
}

.whatsapp-widget-list{
    display:flex;
    flex-direction:column;
    gap:9px;
}

.whatsapp-widget{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    padding:12px;
    border-radius:12px;
    background:rgba(37,211,102,.07);
    border:1px solid rgba(37,211,102,.18);
    transition:.2s ease;
}

.whatsapp-widget:hover{
    background:rgba(37,211,102,.13);
    border-color:rgba(37,211,102,.42);
    transform:translateY(-1px);
}

.whatsapp-widget-title{
    display:block;
    color:#fff;
    font-weight:bold;
    font-size:.92rem;
    margin-bottom:3px;
}

.whatsapp-widget-text{
    display:block;
    color:var(--muted);
    font-size:.80rem;
    line-height:1.35;
}

.whatsapp-widget-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:7px 13px;
    border-radius:999px;
    background:#25D366;
    color:#07150c;
    font-weight:bold;
    font-size:.78rem;
    white-space:nowrap;
    box-shadow:0 4px 14px rgba(37,211,102,.18);
}

.whatsapp-widget:hover .whatsapp-widget-action{
    background:#35e874;
    color:#031007;
}

@media (max-width:640px){
    .whatsapp-widget{
        grid-template-columns:1fr;
    }

    .whatsapp-widget-action{
        width:100%;
    }
}

