.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3.5rem;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(11, 79, 130, 0.96) 0%, rgba(14, 165, 233, 0.94) 58%, rgba(16, 185, 129, 0.9) 100%);
}

.blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/img/logoFondoTransparenteSinNombre.png') no-repeat right 7% center / min(28vw, 280px) auto;
    opacity: 0.08;
    pointer-events: none;
}

.blog-hero .container,
.blog-section .container,
.blog-article-shell .container {
    position: relative;
    z-index: 1;
}

.blog-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    align-items: start;
}

.blog-hero__content {
    max-width: 760px;
}

.blog-hero__content--article {
    max-width: 860px;
}

.blog-hero__title {
    margin: 1rem 0 1rem;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.08;
    font-weight: 700;
    color: #ffffff;
}

.blog-hero__subtitle {
    max-width: 680px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.blog-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.25rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
}

.blog-hero__actions,
.blog-cta__actions,
.blog-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.blog-btn-primary,
.blog-btn-secondary,
.blog-btn-ghost {
    border-radius: 8px;
    padding: 0.8rem 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.blog-btn-primary {
    background: #ffffff;
    color: #0b4f82;
    border-color: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.blog-btn-primary:hover,
.blog-btn-primary:focus {
    background: #f8fafc;
    color: #0b4f82;
    border-color: #f8fafc;
}

.blog-btn-secondary {
    color: #0b4f82;
    border-color: rgba(11, 79, 130, 0.18);
    background: #ffffff;
}

.blog-btn-secondary:hover,
.blog-btn-secondary:focus {
    color: #0b4f82;
    border-color: rgba(11, 79, 130, 0.32);
    background: #eff6ff;
}

.blog-btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.68);
}

.blog-btn-ghost:hover,
.blog-btn-ghost:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.88);
}

.blog-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.blog-pill {
    color: #0b4f82;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
}

.blog-pill--light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.blog-section,
.blog-article-shell {
    padding: 3rem 0;
}

.blog-section--soft,
.blog-article-shell {
    background: #f8fafc;
}

.blog-section__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.blog-sidebar__eyebrow,
.blog-resource-box__label,
.blog-cta__eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-section__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.15;
    text-align: left;
}

.blog-section__summary {
    max-width: 820px;
    margin: 0.85rem 0 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
}

.blog-cluster__support {
    margin-top: 1.75rem;
}

.blog-card,
.blog-sidebar__card,
.blog-article,
.blog-cta,
.blog-highlight,
.blog-resource-box {
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.blog-card--featured {
    flex-direction: row;
}

.blog-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 52%),
        linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.blog-card__media img {
    width: 108px;
    max-width: 44%;
    height: auto;
    opacity: 0.92;
}

.blog-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 0.85rem;
    color: #475569;
    font-size: 0.9rem;
}

.blog-card__title {
    margin: 0 0 0.85rem;
    text-align: left;
    font-size: 1.35rem;
    line-height: 1.3;
}

.blog-card__title a {
    color: #0f172a;
    text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus {
    color: #0b4f82;
}

.blog-card__summary {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.blog-card__actions {
    margin-top: auto;
}

.blog-article {
    padding: clamp(1.4rem, 3vw, 2.8rem);
}

.blog-intro p,
.blog-article__section p,
.blog-article__subsection p,
.blog-cta__description {
    font-size: 1.03rem;
    line-height: 1.82;
    color: #334155;
}

.blog-article__section + .blog-article__section,
.blog-article__section + .blog-cta,
.blog-cta + .blog-article__section {
    margin-top: 2.4rem;
}

.blog-article__section h2,
.blog-cta__title {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    line-height: 1.2;
    text-align: left;
}

.blog-article__subsection {
    margin-top: 1.35rem;
}

.blog-article__subsection h3,
.blog-faq .accordion-button {
    color: #0f172a;
}

.blog-article__subsection h3 {
    margin-bottom: 0.7rem;
    font-size: 1.18rem;
    line-height: 1.35;
}

.blog-article__lead {
    font-size: 1.08rem;
    font-weight: 600;
    color: #0f172a;
}

.blog-list,
.blog-cta__bullets,
.blog-resource-box__list,
.blog-sidebar__toc {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.blog-list li,
.blog-cta__bullets li,
.blog-resource-box__list li,
.blog-sidebar__toc li {
    margin-bottom: 0.7rem;
    color: #334155;
    line-height: 1.7;
}

.blog-highlight,
.blog-resource-box {
    padding: 1rem 1.05rem;
    margin-top: 1.25rem;
}

.blog-highlight strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #0f172a;
}

.blog-resource-box__list a,
.blog-sidebar__toc a {
    color: #0b4f82;
    text-decoration: none;
}

.blog-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 1rem;
}

.blog-sidebar__card,
.blog-cta {
    padding: 1.15rem;
}

.blog-faq .accordion-item {
    border: 1px solid #dbe7f3;
}

.blog-faq .accordion-button {
    background: #f8fafc;
    font-weight: 600;
}

.blog-faq .accordion-button:not(.collapsed) {
    color: #0b4f82;
    background: #e0f2fe;
}

.blog-faq .accordion-button:focus {
    box-shadow: none;
}

.blog-faq .accordion-body {
    color: #334155;
    line-height: 1.75;
}

@media (max-width: 1199.98px) {
    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .blog-hero__grid,
    .blog-card--featured {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .blog-hero {
        padding-top: 4.2rem;
    }

    .blog-hero::after {
        background-position: right 50% top 22%;
        background-size: 180px auto;
    }

    .blog-section,
    .blog-article-shell {
        padding: 2.25rem 0;
    }

    .blog-card__content,
    .blog-cta,
    .blog-sidebar__card,
    .blog-article {
        padding: 1rem;
    }

    .blog-hero__actions,
    .blog-cta__actions {
        align-items: stretch;
    }

    .blog-hero__actions .btn,
    .blog-cta__actions .btn {
        width: 100%;
    }
}
