/* Blog — listagem (/blog) */

.blog-hero {
    position: relative;
    margin-top: 72px;
    padding: 2.75rem 0 3.25rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 42%, #2563eb 100%);
    color: #fff;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 88%, rgba(56, 189, 248, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(129, 140, 248, 0.16) 0%, transparent 38%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.07)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-grid)"/></svg>');
    pointer-events: none;
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
}

.blog-hero .integrated-breadcrumb {
    margin-bottom: 1.25rem;
}

.blog-hero-content {
    max-width: 42rem;
}

.blog-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.blog-hero-title {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    color: #fff;
}

.blog-hero-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.35rem;
    max-width: 36rem;
}

.blog-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.blog-hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.blog-hero-stat i {
    color: #93c5fd;
    font-size: 0.78rem;
}

.blog-main {
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 220px);
    padding: 2.5rem 0 4rem;
}

.blog-body {
    max-width: 1140px;
    margin: 0 auto;
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
    .blog-featured {
        grid-template-columns: 1.15fr 1fr;
        padding: 0;
    }
}

.blog-featured:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.blog-featured-image-link {
    display: block;
    overflow: hidden;
    min-height: 200px;
}

@media (min-width: 768px) {
    .blog-featured-image-link {
        min-height: 100%;
    }
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-featured:hover .blog-featured-image {
    transform: scale(1.03);
}

.blog-featured-body {
    padding: 1.25rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .blog-featured-body {
        padding: 1.75rem 1.75rem 1.75rem 0.5rem;
    }
}

.blog-featured-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.blog-featured-title {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.blog-featured-title a {
    color: #0f172a;
    text-decoration: none;
}

.blog-featured-title a:hover {
    color: #2563eb;
}

.blog-featured-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.blog-articles-head {
    margin-bottom: 1.5rem;
}

.blog-card {
    border-radius: 1rem !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe !important;
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.12) !important;
}

.blog-card .card-body {
    padding: 1.25rem 1.35rem 1.35rem;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
}

.blog-card-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.blog-card .badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.35em 0.65em;
}

.blog-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.blog-card .card-title a:hover {
    color: #2563eb !important;
}

.blog-card .card-text {
    font-size: 0.92rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .btn-outline-primary {
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

.blog-cta-strip {
    margin: 0;
    padding: 3rem 1.5rem;
    border-radius: 0;
    text-align: center;
    background:
        radial-gradient(circle at 20% 0%, rgba(47, 107, 255, 0.14), transparent 40%),
        linear-gradient(135deg, #0b1220 0%, #101828 48%, #1e3a8a 100%);
    border: 0;
    color: #fff;
}

.blog-cta-strip h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.55rem;
}

.blog-cta-strip p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.25rem;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .blog-featured,
    .blog-featured-image,
    .blog-card-image {
        transition: none;
    }

    .blog-card:hover,
    .blog-featured:hover .blog-featured-image {
        transform: none;
    }
}
