/* ==========================================================================
   Awayly — What's New
   ========================================================================== */

.whats-new-hero h1 {
    max-width: 880px;
    margin-inline: auto;
}

.whats-new-hero h1 span {
    display: block;
    color: var(--blue);
}

.whats-new-hero p {
    max-width: 720px;
    margin-inline: auto;
}

.whats-new-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.whats-new-feed {
    background: #f8fbff;
}

.whats-new-container {
    max-width: 1080px;
}

.whats-new-heading {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 30px;
}

.whats-new-heading p {
    margin: 0;
    color: #6d7e92;
    line-height: 1.75;
}

.whats-new-featured {
    overflow: hidden;
    border: 1px solid #dce6f1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(15, 42, 73, .06);
}

.whats-new-featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #edf2f7;
}

.whats-new-featured-meta time {
    color: #8291a4;
    font-size: .75rem;
    font-weight: 700;
}

.whats-new-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
    align-items: center;
    padding: 42px;
}

.whats-new-latest {
    display: block;
    margin-bottom: 10px;
    color: #8595a8;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.whats-new-featured h2 {
    max-width: 720px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.whats-new-featured p {
    max-width: 680px;
    margin: 17px 0 25px;
    color: #687b90;
    line-height: 1.75;
}

.whats-new-featured-mark {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 75% 20%, rgba(55, 217, 198, .2), transparent 32%),
        linear-gradient(145deg, #edf5ff, #f7fbff);
    text-align: center;
}

.whats-new-featured-mark img {
    width: 84px;
    height: 84px;
    margin-bottom: 17px;
}

.whats-new-featured-mark span {
    color: #71839a;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.whats-new-featured-mark strong {
    margin-top: 5px;
    color: var(--navy);
    font-size: 1.05rem;
}

.update-tag {
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 26px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf4ff;
    color: #246ff2;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1;
    text-transform: uppercase;
}

.update-tag--coming-soon {
    background: #f2eeff;
    color: #6945f5;
}

.update-tag--improvement {
    background: #eafaf7;
    color: #087d70;
}

.update-tag--fix {
    background: #fff4e8;
    color: #a65a00;
}

.whats-new-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.whats-new-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 42px;
    gap: 24px;
    align-items: center;
    padding: 25px;
    border: 1px solid #dfe7f0;
    border-radius: 20px;
    background: #fff;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.whats-new-card:hover {
    transform: translateY(-2px);
    border-color: #c8daf0;
    box-shadow: 0 16px 38px rgba(15, 42, 73, .06);
}

.whats-new-card-date {
    display: grid;
    min-height: 72px;
    place-items: center;
    align-content: center;
    border-radius: 15px;
    background: #f4f8fd;
    text-align: center;
}

.whats-new-card-date strong {
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1;
}

.whats-new-card-date span {
    margin-top: 4px;
    color: #7a8ca1;
    font-size: .68rem;
    font-weight: 750;
    text-transform: uppercase;
}

.whats-new-card-body h3 {
    margin: 10px 0 7px;
    color: var(--navy);
    font-size: 1.15rem;
}

.whats-new-card-body p {
    margin: 0;
    color: #718197;
    font-size: .82rem;
    line-height: 1.65;
}

.whats-new-card-link {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: #edf4ff;
    color: var(--blue);
    font-weight: 900;
}

.whats-new-empty {
    padding: 70px 28px;
    border: 1px solid #dfe7f0;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.whats-new-empty > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 14px;
    background: #edf4ff;
    color: var(--blue);
}

.whats-new-empty strong {
    display: block;
    color: var(--navy);
    font-size: 1.08rem;
}

.whats-new-empty p {
    margin: 7px 0 0;
    color: #76869a;
}

.whats-new-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px;
    border: 1px solid #dce6f1;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff, #f7fbff);
}

.whats-new-cta-card h2 {
    max-width: 720px;
    margin: 8px 0 9px;
    color: var(--navy);
}

.whats-new-cta-card p {
    margin: 0;
    color: #6d7e92;
}

/* Article */

.update-article-hero {
    padding: 96px 0 58px;
    border-bottom: 1px solid #e8eef5;
    background:
        radial-gradient(circle at 50% 0, rgba(36,111,242,.08), transparent 38%),
        #fff;
}

.update-article-container {
    max-width: 880px;
}

.update-back-link {
    display: inline-flex;
    margin-bottom: 32px;
    color: #59718d;
    font-size: .78rem;
    font-weight: 800;
}

.update-back-link:hover {
    color: var(--blue);
}

.update-article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.update-article-meta time {
    color: #8291a4;
    font-size: .76rem;
    font-weight: 700;
}

.update-article-hero h1 {
    max-width: 840px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.update-article-summary {
    max-width: 760px;
    margin: 22px 0 0;
    color: #64778e;
    font-size: 1.12rem;
    line-height: 1.72;
}

.update-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 54px;
    max-width: 1050px;
    align-items: start;
}

.update-article-content {
    min-width: 0;
}

.update-article-content p {
    margin: 0 0 22px;
    color: #51667e;
    font-size: 1rem;
    line-height: 1.85;
}

.update-article-content h2 {
    margin: 42px 0 14px;
    color: var(--navy);
    font-size: 1.55rem;
    letter-spacing: -.02em;
}

.update-article-content ul {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding-left: 22px;
    color: #51667e;
    line-height: 1.75;
}

.update-inline-cta {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid #e8eef5;
}

.update-article-side {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 100px;
}

.update-side-card {
    padding: 22px;
    border: 1px solid #dfe7f0;
    border-radius: 18px;
    background: #fff;
}

.update-side-card img {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
}

.update-side-card > span {
    display: block;
    color: #8190a3;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.update-side-card > strong {
    display: block;
    margin-top: 6px;
    color: var(--navy);
    font-size: 1rem;
}

.update-side-card p {
    margin: 8px 0 0;
    color: #718197;
    font-size: .78rem;
    line-height: 1.6;
}

.update-side-card .btn {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .whats-new-heading,
    .whats-new-featured-grid,
    .update-article-layout {
        grid-template-columns: 1fr;
    }

    .whats-new-featured-mark {
        min-height: 190px;
    }

    .update-article-side {
        position: static;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .whats-new-card {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 15px;
        padding: 18px;
    }

    .whats-new-card-link {
        display: none;
    }

    .whats-new-card-date {
        min-height: 64px;
    }

    .whats-new-featured-grid {
        padding: 26px;
    }

    .whats-new-featured-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .whats-new-heading {
        gap: 16px;
    }

    .whats-new-cta-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .update-article-side {
        grid-template-columns: 1fr;
    }
}
