/* Blog page — premium unique layout */

@keyframes blogPageHeroGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.82; transform: scale(1.05); }
}

body.page-blog {
    background: #f4f7fb;
}

.page-header-blog.blog-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 10vw, 96px) 0 clamp(88px, 11vw, 108px);
    background-image:
        linear-gradient(135deg, rgba(5, 32, 64, 0.94) 0%, rgba(12, 61, 122, 0.9) 48%, rgba(26, 86, 168, 0.86) 100%),
        url('../images/hero-pump-farm.jpg');
    background-size: cover;
    background-position: center;
}

.blog-page-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blog-page-hero-glow {
    position: absolute;
    top: -16%;
    left: -6%;
    width: min(480px, 58vw);
    height: min(480px, 58vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, transparent 68%);
    animation: blogPageHeroGlow 8s ease-in-out infinite;
}

.blog-page-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
}

.blog-page-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header-blog.blog-page-hero .page-header-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8ec5ff;
}

.page-header-blog.blog-page-hero h1,
.page-header-blog.blog-page-hero p {
    color: #fff;
}

.page-header-blog.blog-page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-header-blog.blog-page-hero p {
    max-width: 680px;
    margin: 0 auto 22px;
    opacity: 0.92;
    font-size: 1.02rem;
    line-height: 1.65;
}

.blog-page-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.blog-page-hero-chip {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.blog-page-hero-chip--gold {
    color: #ffe082;
    border-color: rgba(255, 224, 130, 0.35);
    background: rgba(255, 193, 7, 0.14);
}

.blog-page-trust-wrap {
    position: relative;
    z-index: 3;
    margin-top: -36px;
    padding: 0 clamp(12px, 3vw, 24px);
}

.blog-page-trust-wrap .trust-strip-wrap {
    margin: 0;
    padding: 0;
}

.blog-page-trust-wrap .container {
    max-width: 1080px;
}

.blog-page-trust-wrap .trust-strip-marquee {
    border-radius: 20px 64px 20px 48px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 61, 122, 0.1);
    box-shadow: 0 16px 40px rgba(12, 61, 122, 0.12);
    padding: 14px 18px;
}

.blog-page-trust-wrap .trust-strip-item {
    color: var(--brand-dark);
    font-weight: 700;
}

.blog-page-shell {
    position: relative;
    padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 8vw, 96px);
    margin-top: 0;
    background: transparent;
}

.blog-page-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(26, 86, 168, 0.06), transparent 32%),
        radial-gradient(circle at 92% 88%, rgba(255, 193, 7, 0.05), transparent 28%);
}

.blog-page-shell > .container {
    position: relative;
    z-index: 1;
}

.blog-featured-premium {
    border-radius: 22px 68px 22px 44px;
    background: linear-gradient(135deg, #fff 0%, #f0f6fc 100%);
    border: 1px solid rgba(12, 61, 122, 0.1);
    box-shadow: 0 12px 32px rgba(12, 61, 122, 0.08);
    padding: 24px 28px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.blog-featured-premium .blog-featured-label {
    color: #5ba3e0;
    letter-spacing: 0.14em;
}

.blog-featured-premium p {
    color: var(--text);
}

.page-blog .blog-page-card {
    border-radius: 18px 56px 18px 36px;
    border: 1px solid rgba(12, 61, 122, 0.1);
    box-shadow: 0 10px 30px rgba(12, 61, 122, 0.08);
}

.page-blog .blog-page-card:nth-child(even) {
    border-radius: 56px 18px 36px 18px;
}

.page-blog .blog-page-card-media {
    border-radius: 14px 48px 0 0;
}

.page-blog .blog-page-card:nth-child(even) .blog-page-card-media {
    border-radius: 48px 14px 0 0;
}

.page-blog .blog-page-category {
    border-radius: 999px;
}

.page-blog .blog-read-link {
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(12, 61, 122, 0.06) 0%, rgba(91, 163, 224, 0.1) 100%);
    padding: 8px 14px;
}

.blog-cta-band {
    position: relative;
    margin-top: clamp(36px, 5vw, 48px);
    padding: clamp(28px, 4vw, 36px);
    border-radius: 28px 96px 28px 64px;
    overflow: hidden;
    background: linear-gradient(135deg, #071e3d 0%, #0c3d7a 42%, #1a56a8 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 48px rgba(7, 30, 61, 0.28);
}

.blog-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 193, 7, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 88% 30%, rgba(91, 163, 224, 0.18) 0%, transparent 40%);
    pointer-events: none;
}

.blog-cta-band-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-cta-band h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 6px;
}

.blog-cta-band p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}

.blog-cta-band .btn-primary {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #0c3d7a;
    border: none;
    font-weight: 800;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .blog-page-trust-wrap {
        margin-top: -24px;
    }

    .blog-cta-band {
        border-radius: 20px 56px 20px 40px;
    }

    .blog-cta-band-inner {
        flex-direction: column;
        text-align: center;
    }

    .blog-page-cta-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-page-hero-glow {
        animation: none;
    }
}
