/* ===== GRID PAGE ===== */
.storefront-blog-grid-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.storefront-blog-grid-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ===== GRID LAYOUT ===== */
.storefront-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* ===== CARD ===== */
.storefront-blog-grid-card {
    margin: 0;
}

.storefront-blog-grid-link {
    position: relative;
    display: block;
    overflow: hidden;
    height: 360px;

    border-radius: 8px;
    background: #f7f3ea;

    box-shadow: 0 10px 28px rgba(55, 50, 35, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover Effekt (dezent & hochwertig) */
.storefront-blog-grid-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(55, 50, 35, 0.14);
}

/* ===== IMAGE ===== */
.storefront-blog-grid-image {
    width: 100%;
    height: 100%;
}

.storefront-blog-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.45s ease;
}

.storefront-blog-grid-link:hover img {
    transform: scale(1.05);
}

.storefront-blog-grid-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7f3ea, #e6ddca);
}

/* ===== TITLE OVERLAY ===== */
.storefront-blog-grid-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    /* deutlich weniger Höhe */
    min-height: 110px;
    padding: 18px 28px 22px;

    /* Verlauf beginnt transparenter -> weniger Fläche */
    background: linear-gradient(
        to bottom,
        rgba(250, 247, 235, 0.55) 0%,
        rgba(250, 247, 235, 0.85) 70%,
        rgba(250, 247, 235, 0.95) 100%
    );

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    backdrop-filter: blur(2px);
}

/* ===== TITLE ===== */
.storefront-blog-grid-title h2 {
    margin: 0;
    max-width: 92%;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    line-height: 1.2;
    font-weight: 400;

    color: #6f6b45;
    letter-spacing: -0.02em;

    text-wrap: balance;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .storefront-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .storefront-blog-grid {
        grid-template-columns: 1fr;
    }

    .storefront-blog-grid-link {
        height: 320px;
    }

    .storefront-blog-grid-title {
        min-height: 120px;
        padding: 22px 24px 26px;
    }

    .storefront-blog-grid-title h2 {
        font-size: 1.35rem;
    }
}
