/* ═══════════════════════════════════════════════
   EVERBOLT FOODS – BLOG CSS
   Premium Self-contained Design (Listing + Detail)
═══════════════════════════════════════════════ */

/* ── HERO (LISTING & DETAIL) ──────────────────── */
.bl-hero {
    padding: 120px 24px 64px;
    background: linear-gradient(135deg, #fff8f7 0%, #fff 60%, #fafafa 100%);
    text-align: center;
    border-bottom: 1px solid #f2f2f7;
    position: relative;
    overflow: hidden;
}

.bl-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(192,57,43,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bl-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 14px;
}

.bl-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.bl-hero h1 em {
    font-style: normal;
    color: var(--brand-red);
}

.bl-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── LAYOUT ───────────────────────────────────── */
.bl-section {
    padding: 64px 24px 100px;
    background: #ffffff;
}

.bl-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bl-container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* ── BLOG GRID ────────────────────────────────── */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* ── BLOG CARD ────────────────────────────────── */
.bl-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f2f2f7;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.bl-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(192,57,43,0.10);
    border-color: rgba(192,57,43,0.08);
}

.bl-card-img-wrap {
    height: 220px;
    background: #fafafa;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #f2f2f7;
}

.bl-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bl-card:hover .bl-card-img-wrap img {
    transform: scale(1.05);
}

.bl-card-no-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7c7cc;
    font-size: 2rem;
}

.bl-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bl-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bl-tag {
    display: inline-block;
    background: var(--brand-red-light);
    color: var(--brand-red);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 100px;
}

.bl-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.bl-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color 0.25s ease;
}

.bl-card:hover .bl-card-title {
    color: var(--brand-red);
}

.bl-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bl-card-read {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.bl-card-read i {
    transition: transform 0.25s ease;
}

.bl-card:hover .bl-card-read i {
    transform: translateX(4px);
}

/* ── EMPTY STATE ──────────────────────────────── */
.bl-empty {
    text-align: center;
    padding: 80px 24px;
    background: #fafafa;
    border-radius: 20px;
    border: 1px dashed #e5e5ea;
    max-width: 600px;
    margin: 0 auto;
}

.bl-empty i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.5;
}

.bl-empty h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.bl-empty p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════
   BLOG DETAIL SPECIFIC
═══════════════════════════════════════════════ */

/* ── META HEADER ──────────────────────────────── */
.bd-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    transition: color 0.25s ease;
}

.bd-back:hover {
    color: var(--brand-red);
}

.bd-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.bd-meta .bl-date,
.bd-meta .bd-author {
    color: var(--text-secondary);
}

/* ── COVER IMAGE ──────────────────────────────── */
.bd-cover {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 48px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

/* ── CONTENT BODY ─────────────────────────────── */
.bd-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.bd-content p {
    margin-bottom: 24px;
}

.bd-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 48px 0 24px;
}

.bd-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.bd-content a {
    color: var(--brand-red);
    text-decoration: none;
    border-bottom: 1px solid rgba(192,57,43,0.3);
    transition: border-color 0.25s ease;
}

.bd-content a:hover {
    border-bottom-color: var(--brand-red);
}

.bd-content ul,
.bd-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.bd-content li {
    margin-bottom: 12px;
}

.bd-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.bd-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: #fafafa;
    border-left: 4px solid var(--brand-red);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 12px 12px 0;
}

/* ── FOOTER (SHARE) ───────────────────────────── */
.bd-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #f2f2f7;
    text-align: center;
}

.bd-footer p {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.bd-share {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.bd-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bd-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.bd-share-fb { background: #1877F2; }
.bd-share-wa { background: #25D366; }
.bd-share-tw { background: #1da1f2; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
    .bl-hero {
        padding: 100px 24px 48px;
    }

    .bl-section {
        padding: 48px 24px 64px;
    }

    .bl-grid {
        grid-template-columns: 1fr;
    }

    .bd-cover {
        max-height: 300px;
        border-radius: 12px;
    }
}
