/* ── Blog page – force pink on entire page ── */
body:has(.blog-page-wrap) {
    background-color: var(--accent-pink);
}

body:has(.blog-page-wrap) .navbar {
    background: var(--accent-pink);
}

body:has(.blog-page-wrap) .navbar__links a:hover,
body:has(.blog-page-wrap) .navbar__links a.active {
    color: #FFF;
}

/* footer keeps its original dark style */

.blog-page-wrap {
    background: var(--accent-pink);
    min-height: 100vh;
}

/* ── Two-column layout ── */
.blog-layout {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    padding: 4vh 4vw 10vh;
    gap: 4vw;
}

/* Right column: title (sticky) */
.blog-layout__title-col {
    flex: 0 0 28vw;
    position: sticky;
    top: 12vh;
    direction: ltr;
}

.blog-hero__line {
    font-family: var(--font-heading);
    font-size: 10vw;
    color: var(--color-dark);
    text-transform: lowercase;
    letter-spacing: -0.4vw;
    line-height: 0.75;
    white-space: nowrap;
}

.blog-hero__thin {
    font-weight: 400;
}

.blog-hero__bold {
    font-family: 'Hoover', var(--font-heading);
    font-weight: 700;
    padding-left: 2vw;
}

.blog-hero__diamond {
    color: #FFF;
    font-size: 1.8vw;
    margin-right: 0.3vw;
    vertical-align: middle;
}

.blog-hero__nav-link {
    display: inline-block;
    margin-top: 3vh;
    padding: 0.6vh 1.3vw;
    border-radius: 5vw;
    background: #FFF;
    color: var(--color-dark);
    font-size: 0.75vw;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all var(--transition-fast);
    direction: rtl;
}

.blog-hero__nav-link:hover {
    background: var(--color-dark);
    color: #FFF;
}

/* Right column: blog posts */
.blog-layout__posts-col {
    flex: 1;
}

/* ── Blog grid ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8vw;
    align-items: start;
}

.blog-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-self: start;
    transition: transform var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-0.3vh);
}

.blog-card__image-wrap {
    overflow: hidden;
}

.blog-card__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-card__image {
    transform: scale(1.02);
}

.blog-card__content {
    padding: 0.8vh 0 0;
    direction: rtl;
}

.blog-card__date {
    font-size: 0.55vw;
    color: var(--color-dark);
    opacity: 0.5;
    margin-bottom: 0.3vh;
    font-family: var(--font-body);
}

.blog-card__title {
    font-family: 'Polin', var(--font-body);
    font-size: 0.8vw;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.3vh;
    line-height: 1.3;
}

.blog-card__excerpt {
    font-size: 0.6vw;
    color: var(--color-dark);
    opacity: 0.6;
    line-height: 1.5;
    font-family: var(--font-body);
}

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 10vh 0;
    color: var(--text-muted);
}

.empty-state h3 {
    margin-bottom: 1vh;
}

/* ── Blog Detail ── */
.blog-detail {
    padding: var(--section-padding);
    width: var(--container-width);
    margin: 0 auto;
}

.blog-detail__header {
    text-align: center;
    margin-bottom: 4vh;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.blog-detail__date {
    color: var(--accent-pink);
    font-size: var(--font-size-small);
    margin-bottom: 1.5vh;
}

.blog-detail__title {
    font-size: var(--font-size-h1);
    margin-bottom: 2vh;
}

.blog-detail__image {
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 4vh;
}

.blog-detail__content {
    max-width: 55%;
    margin: 0 auto;
    font-size: var(--font-size-body);
    line-height: 2;
    color: var(--text-secondary);
}

.blog-detail__content p {
    margin-bottom: 2vh;
}

.blog-detail__back {
    text-align: center;
    margin-top: 5vh;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .blog-layout {
        flex-direction: column;
        padding: 8vh 4vw 8vh;
        gap: 4vh;
    }

    .blog-layout__title-col {
        position: relative;
        top: auto;
        flex: none;
    }

    .blog-hero__line {
        font-size: 14vw;
    }

    .blog-hero__nav-link {
        font-size: 3vw;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4vw;
    }

    .blog-card__date {
        font-size: 2.5vw;
    }

    .blog-card__title {
        font-size: 3vw;
    }

    .blog-card__excerpt {
        font-size: 2.5vw;
    }

    .blog-detail__header,
    .blog-detail__content {
        max-width: 100%;
    }
}
