/* =====================================================================
   From Our Blogs  (shortcode: [blog-posts])
   Modern blog cards: image on top, category pills, title, excerpt, link.
   Scoped under .fob-section — safe to load site-wide & cached.
   ===================================================================== */

.fob-section {
    padding: 70px 0;
    background: #fff;
}

.fob-container {
    max-width: 1295px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ── Heading row ── */
.fob-head {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 38px;
}

.fob-heading {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    color: #1b3a1b;
    margin: 0;
    line-height: 1.1;
}

.fob-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1b3a1b;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.2s ease;
}

.fob-viewall:hover {
    color: #2b5d12;
    gap: 12px;
}

/* ── Grid ── */
.fob-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fob-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fob-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
}

/* ── Thumbnail ── */
.fob-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f3f3;
}

.fob-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fob-card:hover .fob-thumb img {
    transform: scale(1.05);
}

/* ── Body ── */
.fob-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 26px;
}

.fob-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.fob-tag {
    display: inline-block;
    background: #c7f0a4;
    color: #2b5d12;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fob-tag:hover {
    background: #b6e88c;
    color: #2b5d12;
}

.fob-title {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.32;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.fob-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fob-title a:hover {
    color: #2b5d12;
}

.fob-excerpt {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 14.5px;
    color: #8a8a8a;
    line-height: 1.6;
    margin: 0 0 22px;
}

.fob-readmore {
    margin-top: auto;
    align-self: flex-start;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fob-readmore:hover {
    color: #2b5d12;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .fob-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .fob-section {
        padding: 48px 0;
    }
    .fob-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .fob-head {
        margin-bottom: 28px;
    }
}
