/* ============================================================
   BLOG ARCHIVE — ΧΡΗΣΙΜΕΣ ΣΥΜΒΟΥΛΕΣ
   ============================================================ */

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0 0;
    font-size: 12px;
    font-weight: 200;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-black);
}
.blog-breadcrumb a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s;
}
.blog-breadcrumb a:hover { color: var(--color-primary); }

/* Page Title */
.blog-archive__title {
    font-size: 72px;
    font-weight: 100;
    letter-spacing: 7.2px;
    text-align: center;
    color: var(--color-black);
    text-transform: uppercase;
    line-height: 1;
    padding: 40px 0 56px;
}

/* ============================================================
   GRID
   ============================================================ */
.blog-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 72px;
    padding-bottom: 64px;
}

/* ============================================================
   BLOG CARD — normal state
   ============================================================ */
.blog-card {
    display: block;
    position: relative;
    height: 400px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-color: var(--color-gray-800);
    cursor: pointer;
}

/* Normal gradient overlay */
.blog-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(11.73deg,
            rgba(0,0,0,0.3) 5.44%,
            rgba(0,0,0,0.09) 29.73%,
            rgba(0,0,0,0.027) 43.15%,
            rgba(0,0,0,0) 56.91%),
        linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%);
    transition: opacity 0.35s ease;
}

/* Hover overlay — darker, initially hidden */
.blog-card__overlay--hover {
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
}
.blog-card:hover .blog-card__overlay--hover {
    opacity: 1;
}
.blog-card:hover .blog-card__overlay:not(.blog-card__overlay--hover) {
    opacity: 0;
}

/* Card content */
.blog-card__body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 32px;
}
.blog-card__date {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.42px;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1;
}
.blog-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.blog-card__cat {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1;
}

/* Excerpt — hidden normally, visible on hover */
.blog-card__excerpt {
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 0;
    line-height: 1.4;
    color: var(--color-white);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}
.blog-card:hover .blog-card__excerpt {
    max-height: 120px;
    opacity: 1;
}

.blog-card__more {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 4px;
    line-height: 1;
}

/* Scale image on hover */
.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
}
/* Note: background-image on the element itself handles the image, overlay handles color */

/* ============================================================
   PAGINATION / LOAD MORE
   ============================================================ */
.blog-archive__pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 120px;
}
.blog-archive__load-more {
    min-width: 220px;
}
.blog-archive__count {
    font-size: 18px;
    font-weight: 500;
    color: #868686;
    text-align: center;
    font-family: var(--font-primary);
}
.blog-archive__empty {
    padding: 80px 0;
    font-size: 20px;
    font-weight: 200;
    color: var(--color-gray-500);
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .blog-archive__title {
        font-size: 48px;
        letter-spacing: 4px;
        padding: 32px 0 40px;
    }
    .blog-archive__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .blog-card {
        height: 340px;
    }
    .blog-archive__pagination {
        padding-bottom: 50px;
    }
}
@media (max-width: 420px) {
    .blog-archive__title {
        font-size: 32px;
        letter-spacing: 3px;
    }
    .blog-archive__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-card {
        height: 300px;
    }
}
