/* ─── Layout wrapper ──────────────────────────────── */
.page-wrapper {
    max-width: var(--container);
    width: calc(100% - 88px);
    margin-inline: auto;
    margin-top: 145px;
    height: auto;
}

/* ─── Breadcrumb ──────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 40px;
    font-size: 14px;
    color: var(--text);
}

.breadcrumb a{
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--text);
    font-size: 14px;
    opacity: .6;
}

.breadcrumb .current {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: var(--text);
}

/* ─── Article header ──────────────────────────────── */
.article-header {
    margin-bottom: 28px;
}

.article-header h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -.4px;
    margin-bottom: 14px;
}

.promotions .article-header h1 {
    color: var(--primary);
}

.page-promo .article-header h1 {
    color: var(--primary);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text);
}

.article-meta .date-label {
    font-weight: 500;
    color: var(--text);
}

.article-meta .date-value {
    color: var(--text);
}

/* ─── Hero image ──────────────────────────────────── */
.hero-image {
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
    background: #CBD0DF;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Article body ────────────────────────────────── */
.article-body {
    max-width: var(--content-max);
    margin: 45px auto;
}

.article-body p {
    color: var(--text);
    margin-bottom: 20px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

/* ─── Image grid ──────────────────────────────────── */
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    margin-bottom: 72px;
}

.image-grid-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.image-grid-item:hover img {
    transform: scale(1.04);
}

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .hero-image {
        aspect-ratio: 16 / 9;
    }
    
    .page-wrapper {
       width: calc(100% - 40px);
    }
}

@media (max-width: 640px) {

    .breadcrumb {
        padding: 20px 0 28px;
    }

    .article-header {
        margin-bottom: 20px;
    }

    .hero-image {
        aspect-ratio: 4 / 3;
        margin-bottom: 32px;
        border-radius: var(--radius-sm);
    }

    .article-body {
        margin-bottom: 36px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 48px;
    }

    .image-grid-item {
        border-radius: 10px;
        aspect-ratio: 4 / 3;
    }
}

/* ─── Scroll reveal ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}