.blog-grid {
    position: relative;
    z-index: 1;
    padding: 90px 0 94px;
    overflow: hidden;
}

.blog-grid .container {
    max-width: 1280px;
}

.blog-grid__head {
    gap: 24px;
}

.blog-grid__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #b08a52;
}

.blog-grid__h2 {
    margin: 14px 0 0;
    font-size: 44px;
    font-weight: 600;
    color: var(--ih-ink, #18140E);
    letter-spacing: -0.015em;
    line-height: 1.08;
}

.blog-grid__all {
    flex: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--ih-accent-text, #9A5E00);
    padding-bottom: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.blog-grid__all:hover {
    color: var(--ih-accent-hover, #c9760a);
}

.blog-grid__list {
    margin-top: 42px;
}

.post-card {
    display: block;
    height: 100%;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 44px -34px rgba(24, 20, 8, 0.45);
    transition: transform 0.6s cubic-bezier(.16, .84, .36, 1), box-shadow 0.6s ease;
}

.post-card__media {
    position: relative;
    height: 168px;
    overflow: hidden;
}

.post-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.7s ease, transform 0.7s ease;
}

.post-card__placeholder {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, #efe7da 0 12px, #f4eee3 12px 24px);
}

.post-card__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 40%, rgba(235, 147, 21, 0.12) 0%, rgba(235, 147, 21, 0) 62%);
}

.post-card__body {
    padding: 20px 18px 22px;
}

.post-card__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ih-accent, #eb9315);
}

.post-card__title {
    margin: 10px 0 0;
    font-size: 15.5px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ih-ink, #18140E);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__more {
    margin-top: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ih-accent-text, #9A5E00);
}

/* hover — card ignites in the brand amber: ring + warm glow + lift,
   consistent with .team-card / .proj-card. :hover is a fallback in case the
   JS that toggles .is-hover is deferred by LiteSpeed. */
.post-card.is-hover,
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 3px rgba(235, 147, 21, 0.55), 0 30px 70px -34px rgba(235, 147, 21, 0.5), 0 24px 60px -38px rgba(24, 20, 8, 0.5);
}

.post-card.is-hover .post-card__thumb,
.post-card:hover .post-card__thumb {
    filter: brightness(1.04) saturate(1.1);
    transform: scale(1.04);
}

/* reveal — hidden state applied inline by JS (never here): content stays
   visible if the script is deferred by LiteSpeed. */
.blog-grid [data-reveal] {
    transition: opacity 0.9s cubic-bezier(.16, .84, .36, 1), transform 0.9s cubic-bezier(.16, .84, .36, 1);
}

.blog-grid [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .blog-grid {
        padding: 60px 0 64px;
    }

    .blog-grid__h2 {
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .blog-grid__head {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 14px;
    }
}

/* reduced-motion suppression removed: animations must always play (owner requirement) */
