
:root {
    --primary-color: #ff0000;
    --secondary-color: #ffe100;
    --dark-color: #1a1a1a;
    --red: #DA2128;
    --red-dark: #A8151B;
    --red-deeper: #7A0E12;
    --yellow: #FFC300;
    --yellow-hot: #FFD84A;
    --white: #FFFFFF;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--red);
    text-align: center;
}

/* Diagonal stripe texture */
.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg,
            rgba(0, 0, 0, .04) 0px, rgba(0, 0, 0, .04) 1px,
            transparent 1px, transparent 22px);
    z-index: 0;
}

/* Dot grid on top */
.b-dots {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .08) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
}

/* Yellow arch from the top — like menu hero */
.b-arch {
    position: absolute;
    top: -65%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 340px;
    background: var(--yellow);
    border-radius: 0 0 50% 50%;
    z-index: 2;
}

.b-arch::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(-45deg,
            rgba(218, 33, 40, .06) 0px, rgba(218, 33, 40, .06) 2px,
            transparent 2px, transparent 18px);
}

/* Left yellow slash wing */
.b-wing-l {
    position: absolute;
    top: 0;
    left: -8%;
    width: 22%;
    height: 100%;
    background: var(--yellow);
    transform: skewX(-6deg);
    transform-origin: bottom left;
    z-index: 2;
    opacity: .28;
}

/* Right yellow slash wing */
.b-wing-r {
    position: absolute;
    top: 0;
    right: -8%;
    width: 22%;
    height: 100%;
    background: var(--yellow);
    transform: skewX(6deg);
    transform-origin: bottom right;
    z-index: 2;
    opacity: .28;
}

/* Ghost BG typography — "BLOG" huge behind content */
.b-ghost {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(10rem, 28vw, 22rem);
    letter-spacing: .12em;
    color: rgba(0, 0, 0, .07);
    pointer-events: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    user-select: none;
    line-height: 1;
}

/* Horizontal rule beneath arch */
.b-arch-rule {
    position: absolute;
    top: 114px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 5px;
    background: var(--red);
    z-index: 4;
    border-radius: 2px;
}

/* Yellow bottom rule */
.b-rule {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--yellow);
    z-index: 6;
}

/* ── Content ─────────────────────────────────────────────── */
.blog-hero-content {
    position: relative;
    z-index: 5;
    padding: 64px 20px 90px;
    max-width: 680px;
}

/* Icon badge */
.blog-hero-icon {
    width: 64px;
    height: 64px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    font-size: 1.8rem;
    animation: popIn .55s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(.4);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Notched center tag — double-arrow diamond */
.b-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--red-dark);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: 5px 20px 4px;
    margin-bottom: 18px;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
    animation: tagPop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes tagPop {
    from {
        opacity: 0;
        transform: scale(.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.blog-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.6rem, 8vw, 6rem);
    line-height: .9;
    color: var(--white);
    letter-spacing: .04em;
    margin-bottom: 4px;
    animation: riseUp .5s .1s cubic-bezier(.22, 1, .36, 1) both;
}

.blog-hero-title .yl {
    color: var(--yellow);
}

.b-bar {
    /* 3-dot diamond ornament — centered */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto 20px;
    animation: riseUp .5s .2s cubic-bezier(.22, 1, .36, 1) both;
}

.b-bar .line {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, .3);
}

.b-bar .diamond {
    width: 8px;
    height: 8px;
    background: var(--yellow);
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(255, 195, 0, .6);
}

.blog-hero-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(.95rem, 2vw, 1.1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .82);
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto 34px;
    animation: riseUp .5s .26s cubic-bezier(.22, 1, .36, 1) both;
}

/* CTA row */
.b-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: riseUp .5s .34s cubic-bezier(.22, 1, .36, 1) both;
}

.btn-fill {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red-dark);
    background: var(--yellow);
    border: none;
    padding: 14px 32px;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s, transform .15s;
    cursor: pointer;
}

.btn-fill:hover {
    background: var(--yellow-hot);
    transform: translateY(-3px);
    color: var(--red-dark);
}

.btn-outline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 2.5px solid rgba(255, 255, 255, .5);
    padding: 12px 28px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .15s, background .15s, transform .15s;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .1);
    transform: translateY(-3px);
    color: var(--white);
}

/* Wave */
.b-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 6;
    line-height: 0;
}

.b-wave svg {
    display: block;
    width: 100%;
}

@keyframes riseUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Grid */
.blog-section {
    padding: 4rem 0;
}

.blog-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    animation: fadeInUp 0.6s ease-out backwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

.blog-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(255,0,0,0.15);
}

.blog-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #e9ecef;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.15);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0000, #ffe100);
    color: white;
    font-size: 4rem;
}

.blog-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-read-more {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    width: fit-content;
}

.btn-read-more:hover {
    background: var(--dark-color);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255,0,0,0.3);
}

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-state-icon {
    font-size: 6rem;
    color: #dee2e6;
    margin-bottom: 2rem;
}

.empty-state h3 {
    color: #6c757d;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-image-wrapper {
        height: 200px;
    }
}
