.blog-hero {
    min-height: 64vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 18%, rgba(199, 232, 255, 0.22), transparent 45%),
        linear-gradient(180deg, rgba(11, 23, 36, 0.78), rgba(11, 23, 36, 0.45));
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 820px;
    text-align: center;
    padding-top: 92px;
    padding-bottom: 42px;
}

.blog-kicker {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .78rem;
    font-weight: 700;
    color: #d9ecff;
}

.blog-hero-content h1 {
    margin-bottom: 12px;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.02;
}

.blog-hero-content p {
    max-width: 58ch;
    margin-inline: auto;
    color: #e6f0ff;
    font-size: 1.03rem;
}

.blog-section {
    padding-top: 34px;
    padding-bottom: 38px;
}

.blog-hub-nav {
    padding-top: 18px;
    padding-bottom: 6px;
}

.blog-hub-nav-wrap {
    display: inline-flex;
    gap: 10px;
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 999px;
    padding: 8px;
    box-shadow: 0 10px 20px rgba(16, 46, 80, 0.08);
}

.blog-hub-nav-wrap a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #234b70;
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    transition: background-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.blog-hub-nav-wrap a:hover {
    background: #f4f8fd;
    color: #1d4366;
    box-shadow: inset 0 0 0 1px #dce8f6;
}

.blog-hub-nav-wrap a:active {
    background: #edf4fb;
    transform: none;
}

.blog-top-copy {
    margin-bottom: 22px;
    background: linear-gradient(145deg, #f7fbff, #eef6ff);
    border: 1px solid #d7e8ff;
    border-radius: 16px;
    padding: 20px 22px;
}

.blog-top-copy h2 {
    margin-bottom: 8px;
    color: #0e2c4d;
}

.blog-top-copy p {
    margin: 0;
    color: #475d75;
}

.blog-card-list {
    display: grid;
    gap: 20px;
}

.blog-card-list-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.blog-card-feature {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid #dbe7f6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(14, 44, 77, 0.1);
}

.blog-card-feature img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
    display: grid;
    gap: 12px;
    align-content: center;
}

.blog-chip {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ebf4ff;
    color: #1a4a77;
    font-weight: 600;
    font-size: 0.82rem;
}

.blog-card-body h3 {
    margin: 0;
    color: #0f2f52;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.blog-card-body p {
    margin: 0;
    color: #4a6078;
    line-height: 1.58;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.blog-news-head {
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.blog-news-head p {
    margin: 0;
    color: #4c6280;
}

.news-tools {
    margin-bottom: 14px;
}

.news-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-filter {
    border: 1px solid #d5e5f7;
    background: #fff;
    color: #355b7f;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.news-filter:hover {
    background: #f4f8fd;
}

.news-filter.is-active {
    background: #1f4f7b;
    color: #fff;
    border-color: #1f4f7b;
}

.news-pagination {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pager-btn {
    border: 1px solid #d5e5f7;
    background: #fff;
    color: #2f5578;
    border-radius: 10px;
    padding: 8px 11px;
    font-weight: 700;
    font-size: .86rem;
    cursor: pointer;
}

.pager-btn:hover:not(:disabled) {
    background: #f4f8fd;
}

.pager-btn.is-active {
    background: #1f4f7b;
    border-color: #1f4f7b;
    color: #fff;
}

.pager-btn:disabled {
    opacity: .45;
    cursor: default;
}

.news-card {
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 24px rgba(16, 46, 80, 0.08);
    display: grid;
    gap: 10px;
}

.news-feed .news-card {
    overflow: hidden;
    padding: 0;
    gap: 0;
}

.news-feed .news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.news-feed .news-card h3,
.news-feed .news-card p,
.news-feed .news-card .news-link {
    padding-left: 16px;
    padding-right: 16px;
}

.news-feed .news-card h3 {
    padding-top: 14px;
}

.news-feed .news-card p {
    padding-top: 8px;
}

.news-feed .news-card .news-link {
    padding-top: 10px;
    padding-bottom: 16px;
}

.news-date {
    width: fit-content;
    border-radius: 999px;
    background: #f1f8ff;
    color: #1b4f7f;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 6px 10px;
}

.news-card h3 {
    margin: 0;
    color: #123356;
    font-size: 1.22rem;
    line-height: 1.28;
}

.news-card p {
    margin: 0;
    color: #4b6076;
    line-height: 1.58;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a5f99;
    text-decoration: none;
    font-weight: 700;
}

.news-link:hover {
    color: #0d4777;
}

.blog-hero-asesor .blog-hero-overlay {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 240, 204, 0.28), transparent 44%),
        linear-gradient(180deg, rgba(20, 27, 34, 0.76), rgba(20, 27, 34, 0.42));
}

.blog-hero-news .blog-hero-overlay {
    background:
        radial-gradient(circle at 78% 18%, rgba(194, 223, 255, 0.26), transparent 42%),
        linear-gradient(180deg, rgba(11, 23, 36, 0.78), rgba(11, 23, 36, 0.47));
}

.news-detail {
    max-width: 920px;
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(16, 46, 80, 0.08);
    padding: 24px;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
    gap: 20px;
    align-items: start;
}

.news-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    font-size: .92rem;
    color: #5a6f87;
    margin-bottom: 18px;
}

.news-lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: #1f3d5c !important;
    border-left: 4px solid #73a6d8;
    padding-left: 14px;
    margin-bottom: 14px !important;
}

.news-detail h2 {
    margin-top: 24px;
    margin-bottom: 10px;
    color: #123356;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.news-detail p {
    color: #3f566f;
    line-height: 1.75;
    margin-bottom: 12px;
}

.news-detail ul {
    margin: 0 0 14px;
    padding-left: 20px;
    color: #3f566f;
    line-height: 1.72;
}

.news-detail-image {
    width: 100%;
    margin: 16px 0 8px;
    border-radius: 12px;
    border: 1px solid #dbe8f7;
}

.news-detail-image-small {
    max-width: 560px;
}

.news-figure {
    margin: 16px 0 10px;
}

.news-figure figcaption {
    margin-top: 6px;
    color: #667b92;
    font-size: .88rem;
}

.news-detail-actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.news-side {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 90px;
}

.news-side-card {
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(16, 46, 80, 0.08);
    padding: 16px;
}

.news-side-card h3 {
    margin: 0 0 10px;
    color: #173b60;
    font-size: 1.06rem;
}

.news-side-card p {
    margin: 0;
    color: #49617a;
    line-height: 1.6;
}

.news-side-card ul {
    margin: 0;
    padding-left: 18px;
    color: #49617a;
    line-height: 1.66;
}

.news-side-card .btn {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}

@media (max-width: 980px) {
    .blog-card-list-2 {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-news-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .blog-hero-content {
        padding-top: 82px;
        padding-bottom: 30px;
    }

    .blog-top-copy {
        padding: 16px;
        margin-bottom: 16px;
    }

    .blog-card-body {
        padding: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .blog-hub-nav-wrap {
        display: grid;
        width: 100%;
        border-radius: 16px;
    }

    .news-feed .news-card img {
        height: 210px;
    }

    .news-detail {
        padding: 16px;
    }
}
