.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.blog-page {
    background:
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.12), transparent 28%),
        linear-gradient(180deg, #f4f8fc 0%, #ffffff 30%, #f5f8fb 100%);
}

.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 148px 0 72px;
    background: linear-gradient(135deg, #102742 0%, #17345b 48%, #1d407d 100%);
    color: var(--white);
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(11, 24, 40, 0.88) 0%, rgba(11, 24, 40, 0.6) 48%, rgba(11, 24, 40, 0.26) 100%),
        url('assets/hero_bg.png') center/cover no-repeat;
    opacity: 0.72;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: linear-gradient(180deg,
            rgba(243, 246, 249, 0) 0%,
            rgba(243, 246, 249, 0.22) 34%,
            rgba(243, 246, 249, 0.58) 62%,
            rgba(243, 246, 249, 0.9) 82%,
            var(--bg-light) 100%);
}

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

.blog-hero-copy h1,
.blog-post-hero-copy h1 {
    color: var(--white);
    font-size: clamp(2.8rem, 5vw, 4.45rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 12ch;
    margin-bottom: 1.2rem;
}

.blog-eyebrow,
.blog-hero-copy p,
.blog-panel-label,
.blog-panel-metric span,
.blog-post-meta,
.blog-post-summary,
.blog-back-link,
.blog-post-hero-copy .page-eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.blog-hero-copy p {
    max-width: 56ch;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 1.6rem;
}

.blog-hero-copy {
    width: min(100%, 760px);
}

.blog-hero-tags {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.blog-hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 600;
    font-size: 0.92rem;
}

.blog-overview {
    position: relative;
    margin-top: -1px;
    padding: 92px 0 108px;
    background:
        linear-gradient(180deg, var(--bg-light) 0%, rgba(248, 250, 252, 0.98) 48%, #ffffff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.blog-overview-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 0.95fr);
    gap: 2.25rem;
    align-items: stretch;
    padding: 3rem 3.25rem;
    border-radius: 32px;
    border: 1px solid rgba(29, 64, 125, 0.08);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%),
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.14), transparent 34%);
    box-shadow: 0 24px 64px rgba(17, 40, 70, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-overview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(29, 64, 125, 0.045) 0%, transparent 38%),
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.12), transparent 28%);
    pointer-events: none;
}

.blog-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 72px rgba(17, 40, 70, 0.12);
}

.blog-overview-card > * {
    position: relative;
    z-index: 1;
}

.blog-overview-intro {
    display: grid;
    align-content: start;
    gap: 1.2rem;
    max-width: 42rem;
}

.blog-overview-label {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.blog-overview-eyebrow {
    margin-bottom: 0;
    color: rgba(29, 64, 125, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
}

.blog-overview-rule {
    width: 108px;
    height: 1px;
    background: linear-gradient(90deg, rgba(29, 64, 125, 0.38), rgba(29, 64, 125, 0));
}

.blog-overview-intro h2 {
    margin-bottom: 0;
    font-size: clamp(2.65rem, 4.3vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 13ch;
}

.blog-overview-intro h2 span {
    display: block;
}

.blog-overview-intro::after {
    content: '';
    width: 88px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 215, 0, 0));
}

.blog-overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.blog-overview-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.62rem 0.92rem;
    border-radius: 999px;
    background: rgba(29, 64, 125, 0.06);
    border: 1px solid rgba(29, 64, 125, 0.08);
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.blog-overview-divider {
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(29, 64, 125, 0.02), rgba(29, 64, 125, 0.2) 22%, rgba(29, 64, 125, 0.08) 82%, rgba(29, 64, 125, 0.02));
}

.blog-overview-copy {
    display: grid;
    align-content: center;
    gap: 1.15rem;
    max-width: 32rem;
}

.blog-overview-copy p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.04rem;
    line-height: 1.88;
    max-width: 30rem;
}

.blog-overview-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;
    margin: 0.4rem 0 0;
}

.blog-overview-points li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
}

.blog-overview-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.12);
}

.blog-section-heading {
    margin-bottom: 2.4rem;
}

.blog-featured.section {
    padding-top: 78px;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(27, 52, 77, 0.08);
    background: var(--white);
    box-shadow: 0 24px 60px rgba(17, 40, 70, 0.12);
}

.blog-featured-figure {
    min-height: 100%;
    background: linear-gradient(140deg, rgba(27, 52, 77, 0.08), rgba(255, 215, 0, 0.18));
}

.blog-featured-figure img,
.blog-card-media img,
.blog-post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.blog-kicker,
.blog-post-meta,
.blog-card-meta,
.blog-results-meta,
.blog-related-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.blog-category-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-category-tecnologia {
    background: rgba(29, 64, 125, 0.12);
    color: #1d4ed8;
}

.blog-category-aplicacoes {
    background: rgba(22, 163, 74, 0.14);
    color: #15803d;
}

.blog-category-comparativos {
    background: rgba(255, 215, 0, 0.2);
    color: #9a6700;
}

.blog-category-informativo {
    background: rgba(100, 116, 139, 0.14);
    color: #475569;
}

.blog-featured-content h3,
.blog-card-content h3,
.blog-related-card h3 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    margin: 1rem 0 0.9rem;
    letter-spacing: -0.03em;
}

.blog-featured-content p,
.blog-card-content p,
.blog-related-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

.blog-link-cta,
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.blog-link-cta:hover,
.blog-back-link:hover {
    color: var(--primary-dark);
}

.blog-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.blog-toolbar-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.blog-filter,
.blog-sort select {
    border: 1px solid rgba(29, 64, 125, 0.12);
    background: var(--white);
    color: var(--text-main);
    border-radius: 999px;
    font: inherit;
}

.blog-filter {
    padding: 0.75rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.blog-filter.is-active,
.blog-filter:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.blog-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.blog-sort select {
    min-width: 180px;
    padding: 0.75rem 1rem;
    outline: 0;
}

.blog-results-meta {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
}

.blog-grid,
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.blog-card,
.blog-related-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(29, 64, 125, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(17, 40, 70, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover,
.blog-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(17, 40, 70, 0.12);
    border-color: rgba(29, 64, 125, 0.16);
}

.blog-card-media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(29, 64, 125, 0.16), rgba(255, 215, 0, 0.22));
}

.blog-card-content,
.blog-related-card {
    padding: 1.4rem;
}

.blog-card-content h3,
.blog-related-card h3 {
    font-size: 1.35rem;
    margin-top: 0.9rem;
}

.blog-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-link .blog-link-cta {
    margin-top: auto;
    padding-top: 1.2rem;
}

.blog-empty-state,
.blog-loading-state,
.blog-error-state {
    padding: 2rem;
    border-radius: 24px;
    border: 1px dashed rgba(29, 64, 125, 0.2);
    background: rgba(255, 255, 255, 0.84);
    text-align: center;
}

.blog-post-view {
    padding: 132px 0 96px;
}

.blog-post-shell {
    display: grid;
    gap: 2.25rem;
}

.blog-post-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 2rem;
    padding: 2.4rem;
    border-radius: 32px;
    background: linear-gradient(145deg, #102742 0%, #17345b 55%, #1d407d 100%);
    box-shadow: 0 28px 72px rgba(17, 40, 70, 0.2);
}

.blog-post-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-post-hero-copy .blog-post-summary {
    max-width: 58ch;
    font-size: 1.04rem;
    line-height: 1.82;
    margin-top: 1rem;
}

.blog-post-hero-image {
    overflow: hidden;
    border-radius: 24px;
    min-height: 320px;
    background: rgba(255, 255, 255, 0.08);
}

.blog-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.blog-content {
    padding: 2.5rem;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid rgba(29, 64, 125, 0.08);
    box-shadow: 0 20px 48px rgba(17, 40, 70, 0.08);
}

.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    letter-spacing: -0.03em;
}

.blog-content p,
.blog-content li {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.blog-content ul,
.blog-content ol {
    margin: 1rem 0 1.3rem 1.35rem;
}

.blog-content li + li {
    margin-top: 0.55rem;
}

.blog-content strong {
    color: var(--primary-dark);
}

.blog-content a {
    color: var(--primary);
    font-weight: 700;
}

.blog-inline-cta,
.blog-final-cta {
    margin: 2rem 0;
    padding: 1.6rem 1.7rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(29, 64, 125, 0.08), rgba(255, 215, 0, 0.18));
    border: 1px solid rgba(29, 64, 125, 0.08);
}

.blog-final-cta {
    background: linear-gradient(135deg, #102742 0%, #1d407d 100%);
    color: var(--white);
}

.blog-inline-cta h3,
.blog-final-cta h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.blog-final-cta h3,
.blog-final-cta p {
    color: var(--white);
}

.blog-inline-cta p,
.blog-final-cta p {
    margin-bottom: 1rem;
}

.blog-related {
    padding: 2.2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(29, 64, 125, 0.08);
}

.blog-related h2 {
    margin-top: 0.85rem;
}

.blog-related-label {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.blog-related-card p {
    margin-top: 0.7rem;
}

.blog-related-card .blog-link-cta {
    margin-top: 1rem;
}

@media (max-width: 1100px) {
    .blog-overview-card,
    .blog-featured-card,
    .blog-post-hero {
        grid-template-columns: 1fr;
    }

    .blog-overview-card {
        padding: 2.4rem;
        gap: 1.65rem;
    }

    .blog-overview-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, rgba(29, 64, 125, 0.02), rgba(29, 64, 125, 0.18) 20%, rgba(29, 64, 125, 0.08) 82%, rgba(29, 64, 125, 0.02));
    }

    .blog-overview-copy {
        max-width: none;
    }

    .blog-grid,
    .blog-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .blog-toolbar-actions {
        align-items: flex-start;
    }

    .blog-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .blog-overview {
        padding: 70px 0 84px;
    }

    .blog-overview-card {
        padding: 1.45rem;
        gap: 1.35rem;
        border-radius: 24px;
    }

    .blog-overview-label {
        gap: 0.7rem;
    }

    .blog-overview-rule {
        width: 72px;
    }

    .blog-overview-intro h2 {
        font-size: 2.45rem;
        max-width: none;
    }

    .blog-overview-points {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .blog-featured.section {
        padding-top: 56px;
    }

    .blog-hero {
        padding: 126px 0 46px;
    }

    .blog-hero-bg {
        background:
            linear-gradient(180deg, rgba(11, 24, 40, 0.88) 0%, rgba(11, 24, 40, 0.58) 52%, rgba(11, 24, 40, 0.24) 100%),
            url('assets/hero_bg_mobile.png') center/cover no-repeat;
    }

    .blog-hero-copy h1,
    .blog-post-hero-copy h1 {
        font-size: 2.45rem;
        max-width: none;
    }

    .blog-featured-content,
    .blog-post-hero,
    .blog-content,
    .blog-related {
        padding: 1.45rem;
    }

    .blog-grid,
    .blog-related-grid {
        grid-template-columns: 1fr;
    }

    .blog-sort {
        width: 100%;
        justify-content: space-between;
    }

    .blog-sort select {
        min-width: 0;
        width: 100%;
    }

    .blog-post-view {
        padding: 116px 0 84px;
    }

    .blog-post-hero-image {
        min-height: 240px;
    }
}