/* ==========================================================================
   What's New Archive – whats-new.css
   ========================================================================== */

/* ── Page wrapper ─────────────────────────────────────────────────────────── */
.wn-template-wrapper {
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100dvh; /* Ensures it fills the screen even with little content */
    width: 100%;
}
.wn-hero{
	margin-top:80px;
}

.wn-main-content {
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

/* ── Hero header ──────────────────────────────────────────────────────────── */
.wn-hero {
    padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 5vw, 56px);
}

.wn-hero__title {
    font-size: clamp(1.8rem, 4vw, 3.625rem);
    font-weight: 600;
    color: #7139D1;
    margin: 0 0 12px;
    line-height: 122%;
    text-align: center;
}

.wn-hero__sub {
    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
    font-weight: 500;
    color: #666464;
    line-height: clamp(1.5rem, 2.5vw, 2.375rem);
    text-align: center;
    max-width: 60.26269rem;
    width: 100%;
    margin: 0 auto;
}

/* ── Year section ─────────────────────────────────────────────────────────── */
.wn-year-section {
    margin-bottom: clamp(3rem, 6vw, 7.19rem);
}

/* ── Year accordion button ────────────────────────────────────────────────── */
.wn-year-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 12px;
    margin-bottom: clamp(1rem, 2vw, 2.19rem);
    border: none;

    background: none;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

.wn-year-row:focus-visible {
    outline: 2px solid #7139d1;
    outline-offset: 4px;
    border-radius: 4px;
}

.wn-year-label {
    font-size: clamp(0.75rem, 1.5vw, 1.625rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: clamp(0.1rem, 0.5vw, 0.375rem);
    text-transform: uppercase;
    color: #2B2B2B;
}

.wn-year-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(24px, 3vw, 28px);
    height: clamp(24px, 3vw, 28px);
    border-radius: 50%;
    background: #7139d1;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.wn-year-toggle svg {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wn-year-row[aria-expanded="false"] .wn-year-toggle svg {
    transform: rotate(-90deg);
}

.wn-year-row:hover .wn-year-toggle {
    background: #5b28b3;
}

/* ── Card grid gaps ───────────────────────────────────────────────────────── */
.wn-grid-wrap .row {
    --bs-gutter-x: clamp(1rem, 2.5vw, 2.36rem);
    row-gap: clamp(1rem, 2vw, 2.12rem);
}

/* ── Accordion grid wrapper ───────────────────────────────────────────────── */
.wn-grid-wrap {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    max-height: 9999px;
    opacity: 1;
}

.wn-grid-wrap.wn-collapsed {
    max-height: 0 !important;
    opacity: 0;
}

/* ── Single card ──────────────────────────────────────────────────────────── */
.wn-card {
    background: linear-gradient(180deg, #F7F2FF 0%, #F7F2FF 100%);
    border-radius: clamp(1rem, 2vw, 1.70194rem);
    border: 3.468px solid #DECAFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.6875rem);
    gap: clamp(0.75rem, 1.5vw, 1.375rem);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.wn-card:hover {
    box-shadow: 0 8px 28px rgba(113, 57, 209, 0.18);
    transform: translateY(-3px);
}

.wn-card__thumb-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: clamp(0.5rem, 1vw, 1rem);
    width: 100%;
}

.wn-card__img {
    width: 100%;
    height: clamp(140px, 15vw, 190px);
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.wn-card:hover .wn-card__img {
    transform: scale(1.04);
}

.wn-card__img-placeholder {
    width: 100%;
    height: clamp(140px, 15vw, 190px);
    background: #ede8ff;
    border-radius: clamp(0.5rem, 1vw, 1rem);
}

.wn-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.wn-card__date {
    font-size: clamp(0.75rem, 1.2vw, 1.375rem);
    font-weight: 600;
    line-height: 1.6;
    color: #7139D1;
    display: block;
    margin-bottom: 4px;
}

.wn-card__title {
    font-size: clamp(0.9rem, 1.5vw, 1.625rem);
    font-weight: 600;
    line-height: 1.4;
    color: #000;
    margin: 0 0 8px;
}

.wn-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.wn-card__title a:hover {
    color: #7139d1;
}

.wn-card__excerpt {
    font-size: clamp(0.8rem, 1.2vw, 1.625rem);
    font-weight: 400;
    line-height: 1.6;
    color: #313131;
    margin: 0 0 12px;
    flex: 1;
}

.wn-card__more {
    font-size: clamp(0.8rem, 1.2vw, 1.375rem);
    font-weight: 600;
    color: rgba(255, 42, 42, 1);
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s;
}

.wn-card__more:hover {
    color: #cc0000;
    text-decoration: underline;
}

/* ── CTA banner ───────────────────────────────────────────────────────────── */
.wn-cta {
    margin-bottom: clamp(32px, 5vw, 48px);
}

.wn-cta__inner {
    background: radial-gradient(ellipse 55% 90% at 78% 50%, #4a1872 0%, #17092E 60%);
    border-radius: clamp(1rem, 2.5vw, 3.125rem);
    display: flex;
    align-items: center;
    padding: clamp(32px, 4vw, 52px) clamp(24px, 5vw, 60px);
    overflow: hidden;
    position: relative;
    min-height: clamp(290px, 30vw, 34.20394rem);
}

.wn-cta__copy {
    position: relative;
    z-index: 1;
    max-width: 55%;
}

.wn-cta__heading {
    font-size: clamp(1.5rem, 4vw, 4.70931rem);
    font-weight: 600;
    line-height: 116%;
    margin: 0 0 clamp(0.5rem, 1.5vw, 1.58rem);
    background: linear-gradient(94deg, #9759FF 0%, #F741EB 38%, #62FCFF 86.85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wn-cta__sub {
    font-size: clamp(0.9rem, 2vw, 2.25rem);
    font-weight: 400;
    color: #fff;
    line-height: 150%;
    margin: 0 0 clamp(1rem, 2.5vw, 3.06rem);
    white-space: nowrap;
}

.wn-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(94deg, #7239D1 0%, #F741EB 100.42%);
    border-radius: clamp(2rem, 3vw, 3.70719rem);
    height: clamp(3rem, 4.5vw, 5.625rem);
    padding: 0 clamp(0.3rem, 0.8vw, 0.625rem) 0 clamp(1.2rem, 2.5vw, 2.625rem);
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    color: #fff;
    text-decoration: none;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.wn-cta__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wn-cta__btn-icon svg {
    width: clamp(2.5rem, 4vw, 4.305rem);
    height: clamp(2.5rem, 4vw, 4.305rem);
}

.wn-cta__image {
    position: absolute;
    right: clamp(0rem, 1vw, 2rem);
    top: clamp(-1rem, -1.5vw, -2rem);
    bottom: 0;
    pointer-events: none;
}

.wn-cta__image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: top center;
    display: block;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */
.wn-empty {
    text-align: center;
    color: #9590a8;
    padding: clamp(40px, 6vw, 60px) 0;
    font-size: 1rem;
}

/* ── Responsive breakpoints ───────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
    .wn-cta__copy {
        max-width: 60%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .wn-cta__copy {
        max-width: 100%;
    }

    .wn-cta__sub {
        white-space: normal;
    }

    .wn-cta__image {
        height: clamp(12rem, 40vw, 18rem);
        top: auto;
        bottom: 0;
        right: clamp(-1rem, -2vw, -2rem);
        opacity: 0.35;
    }

    .wn-card {
        border-radius: 1rem;
    }

    .wn-cta__inner {
        border-radius: 14px;
        min-height: clamp(220px, 50vw, 320px);
    }
}

.realm--glitch .wn-template-wrapper {
    background: #040512;
}

.realm--glitch .wn-hero__sub {
    color: #FFF6F6;
}

.realm--glitch .wn-year-label {
    color: #fff;
}

.realm--arcade .wn-template-wrapper {
    background: #1B1C48;
}

.realm--arcade .wn-hero__sub {
    color: #fff;
}

.realm--arcade .wn-year-label {
    color: #fff;
}