/* Content Hub — split-pane animation */

.content-hub-split {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.content-hub-cards-pane {
    flex: 1 1 auto;
    min-width: 0;
}

.content-hub-player-pane {
    flex-shrink: 0;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease 0.08s;
}

/* Slide-in animation for the player card itself */
@keyframes slideInRight {
    from {
        transform: translateX(24px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.content-hub-player-inner {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.content-hub-clickable-card {
    position: relative;
    width: 100%;
    max-width: none;
    height: 310px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #111;
    cursor: pointer;
    transition: transform 0.18s ease;
}

.content-hub-clickable-card::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(253, 253, 253, 0.35);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.content-hub-clickable-card::before {
    content: "→";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fdfdfd;
    line-height: 1;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 3;
}

@keyframes contentHubCardClick {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(0.97);
    }
    100% {
        transform: scale(1);
    }
}

.content-hub-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.content-hub-media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1.0) 0%,
        rgba(0, 0, 0, 0.92) 35%,
        rgba(0, 0, 0, 0.55) 62%,
        rgba(0, 0, 0, 0.14) 100%
    );
}

.content-hub-media-title {
    margin: 0 0 6px 0;
    color: #fdfdfd;
    font-size: 18px;
    line-height: 1.2;
}

.content-hub-media-description {
    margin: 0 0 6px 0;
    color: rgba(253, 253, 253, 0.92);
    font-size: 13px;
    line-height: 1.35;
}

.content-hub-media-author {
    margin: 0;
    color: rgba(253, 253, 253, 0.84);
    font-size: 12px;
    font-style: italic;
}

.content-hub-clickable-card:hover .content-hub-media-image {
    transform: scale(1.12);
}

.content-hub-clickable-card:hover {
    border-color: rgba(24, 240, 255, 0.52);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.content-hub-clickable-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.content-hub-clickable-card:hover::before {
    opacity: 1;
    transform: translateY(-1px);
}

.content-hub-clickable-card:active {
    animation: contentHubCardClick 0.24s ease;
}

@media (max-width: 767px) {
    .content-hub-clickable-card {
        height: 270px;
    }
}

/* ── Multi-item Carousel ───────────────────────────────────────── */

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item-wrapper {
    flex: 0 0 calc(33.33% - 8px);
    min-width: 220px;
    scroll-snap-align: start;
}

.carousel-btn {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    width: 38px;
    height: 38px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    padding: 0;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 576px) {
    .carousel-item-wrapper {
        flex: 0 0 85%;
    }
}

/* ─────────────────────────────────────────────────────────────────
   Home Page — Hero, Insight Banner, Section Labels
   ───────────────────────────────────────────────────────────────── */

.home-hero {
    padding: 4px 8px 12px 8px;
    position: relative;
    padding-right: 180px;
    display: flex;
    align-items: center;
    min-height: 76px;
}

.home-content-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin: 0 0 24px 0;
}

.home-hero-logo {
    position: absolute;
    top: 12px;
    right: 0;
    height: 52px;
}

.home-hero-text {
    flex: 1;
    min-width: 0;
}

.home-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #18F0FF;
    margin-bottom: 14px;
}

.home-hero-title {
    font-size: clamp(30px, 4.2vw, 52px) !important;
    font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300 !important;
    color: #FDFDFD;
    line-height: 1.06 !important;
    letter-spacing: 0.02em;
    margin: 0;
    text-align: left !important;
    text-wrap: balance;
    text-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
    position: relative;
}

.home-hero-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.home-portal-badge {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    margin-top: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(24, 240, 255, 0.45);
    background: rgba(24, 240, 255, 0.14);
    color: #BDEEFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .home-hero {
        padding-right: 8px;
    }

    .home-hero-logo {
        position: static;
        display: block;
        margin-top: 12px;
    }
}

.home-hero-subtitle {
    font-size: clamp(14px, 1.4vw, 17px);
    color: rgba(253, 253, 253, 0.68);
    max-width: 560px;
    line-height: 1.65;
    margin: 0;
}
/* Make the 3-col content row stretch all columns to equal height */
.content-hub-cards-pane .row.g-3 {
    align-items: stretch;
}

.content-hub-cards-pane .row.g-3 > [class*="col"] {
    display: flex;
    flex-direction: column;
}

.content-hub-cta-col {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    padding-left: 22px;
}
/* ── Insight banner ─────────────────────────────────────────────── */

.home-insight-banner {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(24, 240, 255, 0.07) 0%,
        rgba(216, 184, 54, 0.05) 100%
    );
    border: 1px solid rgba(24, 240, 255, 0.22);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 40px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-insight-hero {
    width: min(460px, 100%);
    margin-bottom: 0;
    align-self: flex-start;
}

/* Left accent bar */
.home-insight-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #18F0FF 0%, #D8B836 100%);
    border-radius: 4px 0 0 4px;
}

.home-insight-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .home-insight-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-insight-btn {
        width: 100%;
        text-align: center;
    }
}

.home-insight-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

@media (max-width: 992px) {
    .home-insight-col {
        width: 100%;
    }

    /* Don't force full height when stacked */
    .home-insight-banner {
        flex: none;
    }

    .content-hub-cta-col {
        border-left: none;
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }
}

.home-insight-col-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-insight-col-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 18px;
    gap: 12px;
}

.home-insight-body {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(253, 253, 253, 0.78);
    margin-bottom: 14px;
}

.home-insight-subtitle {
    font-size: 13px !important;
    color: rgba(253, 253, 253, 0.5) !important;
    font-style: italic;
    margin-bottom: 16px !important;
    margin-top: -4px;
}

.home-insight-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 253, 253, 0.45) !important;
    margin-bottom: 8px !important;
}

.home-insight-ul {
    padding-left: 1.1em;
    margin: 0;
}

.home-insight-li {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(253, 253, 253, 0.78);
    margin-bottom: 5px;
}

.home-insight-btn--sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.home-insight-btn-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.home-competitor-name {
    color: #A8E6FF;
    font-weight: 700;
}

.home-insight-icon {
    color: #18F0FF;
    flex-shrink: 0;
}

.home-insight-charity-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

.home-insight-title {
    margin: 0 0 5px 0 !important;
    color: #FDFDFD;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.home-insight-desc {
    margin: 0;
    color: rgba(253, 253, 253, 0.62);
    font-size: 13.5px;
    line-height: 1.45;
}

.home-insight-btn {
    background: linear-gradient(90deg, #18F0FF 0%, #a8e6ff 100%) !important;
    color: #1B1D3C !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: opacity 0.18s ease !important;
}

.home-insight-btn:hover {
    opacity: 0.85;
    color: #1B1D3C !important;
}

.home-insight-btn--secondary {
    background: transparent !important;
    color: #BDEEFF !important;
    border: 1px solid rgba(168, 230, 255, 0.55) !important;
}

.home-insight-btn--secondary:hover {
    color: #E6F7FF !important;
    border-color: rgba(168, 230, 255, 0.9) !important;
    background: rgba(168, 230, 255, 0.1) !important;
}

.home-section-divider {
    position: relative;
    height: 1px;
    margin: 6px 0 28px 0;
    background: linear-gradient(
        90deg,
        rgba(24, 240, 255, 0.15) 0%,
        rgba(253, 253, 253, 0.32) 30%,
        rgba(253, 253, 253, 0.32) 70%,
        rgba(216, 184, 54, 0.15) 100%
    );
}

.home-divider-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 12px;
    background: #1B1D3C;
    color: #FDFDFD;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── Content section labels ─────────────────────────────────────── */

.home-section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #FDFDFD;
    margin-bottom: 18px;
    margin-top: 0;
}
