/* ============================================================
   Intensity Hoops — Hero Accordion
   ============================================================ */


.hero-wrap {
    background: #1a1a2e;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-section {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 500px;
    opacity: 0;
    transition: opacity 600ms ease;
    position: relative;
}

.hero-section.visible {
    opacity: 1;
}

.hero-panel {
    position: relative;
    flex: 1 1 0;
    transition: flex 350ms ease-in-out;
    cursor: pointer;
    overflow: visible;
    min-width: 0;
}


/* ── Diagonal background ─────────────────────────────────── */

.hero-panel-bg {
    position: absolute;
    inset: 0 -24px;
    background: rgba(220, 220, 220, 0.15);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    clip-path: polygon(24px 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%);
    filter: brightness(0.5);
    transition: background 350ms ease, clip-path 350ms ease, filter 350ms ease;
}

.hero-panel:first-child .hero-panel-bg {
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%);
    inset: 0 -24px 0 0;
}

.hero-panel:last-child .hero-panel-bg {
    clip-path: polygon(24px 0%, 100% 0%, 100% 100%, 0% 100%);
    inset: 0 0 0 -24px;
}

.hero-panel.expand {
    flex: 0 0 52%;
}

.hero-panel.expand .hero-panel-bg {
    background-color: var(--panel-color, #7ab7ff);
    filter: brightness(1);
}


/* ── Expanded content ────────────────────────────────────── */

.panel-content {
    position: absolute;
    inset: 0;
    padding: 28px 36px 28px 0px;
    opacity: 0;
    transition: opacity 200ms ease 150ms;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 2;
    max-width: 400px;
}

.hero-panel.expand .panel-content {
    opacity: 1;
}

.hero-panel.expand .panel-content p,
.hero-panel.expand .panel-content h3 {
    background: rgba(var(--black-rgb, 0, 0, 0), 0.70);
}

.panel-content h3 {
    margin: 0;
    color: var(--white, #ffffff);
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-heading, "Oswald", sans-serif);
    padding: 10px 10px 0;
    border-radius: 5px 5px 0 0;
    border-top: 1px solid var(--black, #000000);
    border-right: 1px solid var(--black, #000000);
    border-left: 1px solid var(--black, #000000);
    text-shadow: 1px 1px 1px var(--black, #000000);
    transition: background 200ms ease 150ms;
}

.panel-content p {
    margin: 0;
    color: rgba(var(--white-rgb, 255, 255, 255), 0.85);
    font-size: 12px;
    line-height: 1.6;
    font-family: var(--font-body, "Inter", sans-serif);
    padding: 0 10px 10px;
    border-radius: 0 0 5px 5px;
    border-bottom: 1px solid var(--black, #000000);
    border-right: 1px solid var(--black, #000000);
    border-left: 1px solid var(--black, #000000);
    transition: background 200ms ease 150ms;
}


/* ── Collapsed label ─────────────────────────────────────── */

.panel-hint {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-55%) rotate(-88deg) skewX(-5deg);
    font-size: 24px;
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-weight: 800;
    color: rgba(var(--white-rgb, 255, 255, 255), 0.85);
    letter-spacing: -.04em;
    white-space: nowrap;
    transition: opacity 200ms ease;
    z-index: 2;
    pointer-events: none;
    text-shadow: 1px 1px 1px var(--black, #000000);
}

.hero-panel.expand .panel-hint {
    opacity: 0;
}


/* ── Mobile ──────────────────────────────────────────────── */

@media (max-width: 767px) {
    .panel-hint {
        font-size: 18px;
    }
}
