/* ===== Blog Listing — seed.com "Cultured" style ===== */

/* ---- Page wrapper ---- */
.seed-content {
    background: #FCFCF7;
    min-height: 100vh;
}

/* ---- Blog Page Title ---- */
.seed-blog__title {
    font-size: 48px;
    font-weight: 350;
    letter-spacing: -0.5px;
    color: #1C3A13;
    text-align: center;
    margin: 0 0 48px 0;
}

.seed-content>.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

/* ---- Page Title (Blog header) ---- */
.seed-content .container>h1,
.seed-content .seed-posts-grid~.nav-links {
    text-align: center;
}

/* ---- Posts Grid ---- */
.seed-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
    margin-top: 20px;
}

/* ---- Individual Post Card ---- */
.seed-post-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    transition: transform 0.25s ease;
}

.seed-post-card:hover {
    transform: translateY(-4px);
}

/* ---- Card Image ---- */
.seed-post-card__image {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 20px;
    background: #e8e8e4;
}

.seed-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.seed-post-card:hover .seed-post-card__image img {
    transform: scale(1.04);
}

/* ---- Card Content ---- */
.seed-post-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* ---- Card Title ---- */
.seed-post-card__title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: #1C3A13;
    margin: 0;
}

.seed-post-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.seed-post-card__title a:hover {
    color: #2a5a1e;
}

/* ---- Card Excerpt ---- */
.seed-post-card__excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(28, 58, 19, 0.65);
    margin: 4px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Remove default WP paragraph inside excerpt */
.seed-post-card__excerpt p {
    margin: 0;
}

/* ---- Read More Link ---- */
.seed-post-card .text-link {
    font-size: 13px;
    font-weight: 500;
    color: #1C3A13;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    transition: gap 0.2s;
}

.seed-post-card .text-link::after {
    content: '→';
    font-size: 14px;
    transition: transform 0.2s;
}

.seed-post-card .text-link:hover {
    gap: 10px;
}

/* ---- Pagination ---- */
.seed-content .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(28, 58, 19, 0.08);
}

.seed-content .nav-links a,
.seed-content .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1C3A13;
    text-decoration: none;
    transition: background 0.2s;
}

.seed-content .nav-links a:hover {
    background: rgba(28, 58, 19, 0.06);
}

.seed-content .nav-links .current {
    background: #1C3A13;
    color: #FCFCF7;
}

.seed-content .nav-links .prev,
.seed-content .nav-links .next {
    font-size: 18px;
}

/* ---- No Image Fallback ---- */
.seed-post-card:not(:has(.seed-post-card__image)) .seed-post-card__content {
    padding-top: 16px;
    border-top: 1px solid rgba(28, 58, 19, 0.08);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .seed-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .seed-post-card__title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .seed-content>.container {
        padding: 0 20px 60px;
    }

    .seed-posts-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .seed-post-card__image {
        border-radius: 12px;
    }

    .seed-post-card__title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .seed-content>.container {
        padding: 0 16px 48px;
    }

    .seed-posts-grid {
        gap: 28px;
    }

    .seed-post-card__title {
        font-size: 18px;
    }

    .seed-post-card__image {
        border-radius: 10px;
        aspect-ratio: 16 / 10;
    }
}