/* =============================================================
   Fusion Food — Recent Blogs Section
   File: assets/css/section-blogs.css
   ============================================================= */

/* ---- Section wrapper ---- */
.ff-blogs-section {
    background: #ffffff;
    padding: 72px 24px;
}

.ff-blogs-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ---- Section header ---- */
.ff-blogs-section__header {
    text-align: center;
    margin-bottom: 52px;
}

.ff-blogs-section__label {
    display: block;
    font-family: var(--ff-font-sans, Arial, sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C8973A;
    margin-bottom: 10px;
}

.ff-blogs-section__title {
    font-family: var(--ff-font-serif, Georgia, serif);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
}

.ff-blogs-section__divider {
    width: 50px;
    height: 3px;
    background: #C8973A;
    margin: 0 auto;
    border-radius: 2px;
}

/* ---- Grid ---- */
.ff-blogs-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 44px;
}

@media (max-width: 900px) {
    .ff-blogs-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .ff-blogs-section__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Blog Card ---- */
.ff-blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ece8e1;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ---- Card image ---- */
.ff-blog-card__img-link {
    display: block;
    overflow: hidden;
}

.ff-blog-card__img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ff-blog-card:hover .ff-blog-card__img {
    transform: scale(1.04);
}

.ff-blog-card__img-placeholder {
    width: 100%;
    height: 210px;
    background: #f5e9d8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-blog-card__placeholder-icon {
    font-size: 52px;
    opacity: 0.7;
}

/* ---- Card body ---- */
.ff-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 24px;
    background: #faf8f5;
}

/* ---- Badge ---- */
.ff-badge {
    display: inline-block;
    font-family: var(--ff-font-sans, Arial, sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 10px;
    margin-bottom: 8px;
    border-radius: 2px;
}

.ff-badge--gold {
    background: #C8973A;
    color: #ffffff;
}

/* ---- Category tag ---- */
.ff-blog-card__tag {
    display: block;
    font-family: var(--ff-font-sans, Arial, sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C8973A;
    margin-bottom: 8px;
}

/* ---- Title ---- */
.ff-blog-card__title {
    font-family: var(--ff-font-serif, Georgia, serif);
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 10px;
}

.ff-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ff-blog-card__title a:hover {
    color: #C8973A;
}

/* ---- Excerpt ---- */
.ff-blog-card__excerpt {
    font-family: var(--ff-font-sans, Arial, sans-serif);
    font-size: 13.5px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

/* ---- Footer ---- */
.ff-blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ece8e1;
    padding-top: 12px;
    gap: 8px;
}

.ff-blog-card__meta {
    font-family: var(--ff-font-sans, Arial, sans-serif);
    font-size: 12px;
    color: #999999;
}

.ff-blog-card__read-more {
    font-family: var(--ff-font-sans, Arial, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #C8973A;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.ff-blog-card__read-more:hover {
    color: #1a1a1a;
}

/* ---- CTA button ---- */
.ff-blogs-section__cta {
    text-align: center;
}

.ff-btn {
    display: inline-block;
    font-family: var(--ff-font-sans, Arial, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 40px;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border-radius: 2px;
}

.ff-btn--outline {
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    background: transparent;
}

.ff-btn--outline:hover {
    background: #1a1a1a;
    color: #ffffff;
}
