.home-hero {
    margin-top: -25px;
    margin-bottom: 42px;
}

.home-hero .carousel-item img {
    width: 100%;
    height: clamp(320px, 42vw, 500px);
    object-fit: cover;
    display: block;
}

.home-tabs {
    margin-bottom: 42px;
}

.home-tabs-box {
    background: #f4f5f7;
    border: 1px solid rgba(8, 25, 73, 0.08);
    border-radius: 18px;
    padding: 18px;
}

.home-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.home-tabs-nav button {
    border: 1px solid rgba(8, 25, 73, 0.15);
    background: #fff;
    color: #071a4a;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    transition: .25s ease;
}

.home-tabs-nav button.active,
.home-tabs-nav button:hover {
    background: #071a4a;
    color: #fff;
    border-color: #071a4a;
}

.home-tabs-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-tabs-link {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(8, 25, 73, 0.08);
    border-radius: 14px;
    padding: 18px;
    color: #081949;
    min-height: 92px;
    transition: .25s ease;
}

.home-tabs-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(8, 25, 73, 0.08);
}

.home-tabs-link-title {
    font-weight: 700;
    line-height: 1.3;
    font-size: 15px;
}

.home-quick-links {
    margin-bottom: 42px;
}

.home-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-quick-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(8, 25, 73, 0.08);
    border-radius: 16px;
    padding: 20px;
    min-height: 160px;
    text-decoration: none;
    color: #081949;
    transition: .25s ease;
}

.home-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(8, 25, 73, 0.08);
}

.home-quick-card i {
    font-size: 28px;
    margin-bottom: 16px;
    display: inline-block;
    color: #071a4a;
}

.home-quick-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: 700;
}

.home-quick-card p {
    margin: 0;
    color: #5f6a84;
    line-height: 1.45;
    font-size: 14px;
}

.home-news {
    margin-bottom: 42px;
}

.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.home-section-title {
    margin: 0;
    color: #071a4a;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-section-link {
    color: #071a4a;
    font-weight: 700;
    text-decoration: none;
}

.home-section-link:hover {
    color: var(--amop-lime);
}

.news-featured {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 28px;
}

.news-featured-image img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.news-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--amop-lime);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-featured h3 {
    font-size: clamp(34px, 4vw, 34px);
    line-height: 1.05;
    margin: 0 0 16px;
    color: #071a4a;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.news-featured p {
    color: #5c6782;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.news-related {
    border-top: 1px solid rgba(8, 25, 73, 0.12);
    padding-top: 16px;
}

.news-related-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #071a4a;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-related-title::before {
    content: "";
    width: 6px;
    height: 18px;
    background: var(--amop-lime);
    display: inline-block;
}

.news-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-related li {
    margin-bottom: 10px;
}

.news-related a {
    text-decoration: none;
    color: #071a4a;
    font-weight: 700;
}

.news-related a:hover {
    color: var(--amop-lime);
}

.news-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.news-mini-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-mini-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    display: block;
}

.news-mini-card h5 {
    color: #071a4a;
    font-size: 17px;
    line-height: 1.28;
    margin: 0;
    font-weight: 800;
}

.news-mini-card p {
    color: #5f6a84;
    font-size: 14px;
    line-height: 1.45;
    margin: 10px 0 0;
}

.news-bottom-grid {
    border-bottom: 2px solid var(--amop-lime);
    padding-bottom: 28px;
}

@media (max-width: 1199.98px) {
    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-featured-image img {
        min-height: 340px;
    }
}

@media (max-width: 767.98px) {
    .home-section-title {
        font-size: 24px;
    }

    .news-featured h3 {
        font-size: 32px;
    }

    .news-featured p {
        font-size: 16px;
    }

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

    .news-featured-image img {
        min-height: unset;
        height: auto;
    }
}

.home-webtv {
    background: #071a4a;
    padding: 42px 0;
    margin-bottom: 42px;
}

.home-webtv .home-section-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.home-webtv .home-section-link:hover {
    color: var(--amop-lime);
}

.webtv-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(196, 221, 34, 0.45);
    padding-bottom: 14px;
    margin-bottom: 28px;
}

.webtv-fallback {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #0d225f;
    color: #c4dd22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.webtv-title-line h2 {
    margin: 0;
    font-size: 26px;
    color: #fff;
    font-weight: 800;
}

.webtv-title-line h2::before {
    content: "";
    width: 8px;
    height: 20px;
    background: var(--amop-lime);
    display: inline-block;
    margin-right: 10px;
    border-radius: 2px;
    vertical-align: middle;
}

.webtv-cards-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.webtv-news-card {
    color: #fff;
}

.webtv-thumb {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
}

.webtv-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--amop-lime);
}

.webtv-thumb iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.webtv-content {
    padding-right: 6px;
}

.webtv-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--amop-lime);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.webtv-news-card-featured {
    padding-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.webtv-news-card-featured h3 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
    font-weight: 800;
    color: #fff;
}

.webtv-news-card h4 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 1199.98px) {
    .webtv-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .webtv-news-card-featured {
        grid-column: 1 / -1;
        border-right: 0;
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .webtv-title-line h2 {
        font-size: 24px;
    }

    .webtv-cards-grid {
        grid-template-columns: 1fr;
    }

    .webtv-news-card-featured {
        grid-column: auto;
    }
}

@media (max-width: 1199.98px) {

    .home-tabs-links,
    .home-quick-grid,
    .news-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-main-grid,
    .webtv-grid,
    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-image img {
        min-height: 340px;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        margin-top: 0;
    }

    .home-section-title,
    .webtv-title-line h2 {
        font-size: 24px;
    }

    .home-tabs-links,
    .home-quick-grid,
    .news-bottom-grid {
        grid-template-columns: 1fr;
    }

    .news-side-card,
    .webtv-card {
        grid-template-columns: 1fr;
    }

    .news-featured h3 {
        font-size: 30px;
    }

    .news-featured p {
        font-size: 16px;
    }

    .news-featured-image img,
    .news-mini-card img {
        height: auto;
        min-height: unset;
    }
}

.home-webtv {
    background: #071a4a;
    padding: 42px 0;
    margin-bottom: 42px;
}

.home-webtv .home-section-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.home-webtv .home-section-link:hover {
    color: var(--amop-lime);
}

.webtv-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(196, 221, 34, 0.5);
    padding-bottom: 14px;
    margin-bottom: 28px;
}

.webtv-title-line h2 {
    margin: 0;
    font-size: 26px;
    color: #fff;
    font-weight: 800;
}

.webtv-title-line h2::before {
    content: "";
    width: 8px;
    height: 20px;
    background: var(--amop-lime);
    display: inline-block;
    margin-right: 10px;
    border-radius: 2px;
    vertical-align: middle;
}

.webtv-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
}

.webtv-feature iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    background: #0d225f;
}

.webtv-feature h3 {
    color: #fff;
    margin: 16px 0 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.webtv-list {
    display: grid;
    gap: 18px;
}

.webtv-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    align-items: start;
}

.webtv-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    background: #0d225f;
}

.webtv-card h4 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .webtv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .webtv-title-line h2 {
        font-size: 24px;
    }

    .webtv-card {
        grid-template-columns: 1fr;
    }

    .webtv-feature h3 {
        font-size: 22px;
    }

    .webtv-card h4 {
        font-size: 16px;
    }
}

.home-network {
    padding: 12px 0 52px;
}

.home-network-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.network-head {
    margin-bottom: 16px;
}

.network-head-inline {
    margin-bottom: 18px;
}

.network-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7e889f;
    margin-bottom: 6px;
}

.network-head h3 {
    margin: 0;
    color: #071a4a;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.network-magazine-card,
.network-support-card,
.network-partners-slider {
    background: #fff;
    border: 1px solid rgba(7, 26, 74, 0.08);
    border-radius: 22px;
}

.network-magazine-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    padding: 22px;
    align-items: center;
}

.network-magazine-cover {
    background: linear-gradient(180deg, #eef2fb 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-magazine-cover img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.network-magazine-content p,
.network-support-card p {
    margin: 0 0 18px;
    color: #5f6a84;
    line-height: 1.6;
    font-size: 15px;
}

.network-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: #071a4a;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: .25s ease;
}

.network-btn:hover {
    background: #0d2a73;
    color: #fff;
}

.network-support-card {
    display: grid;
    gap: 22px;
    padding: 40px;
    align-items: center;
}

.network-support-card img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.network-partners-slider {
    padding: 28px 56px;
    position: relative;
}

.network-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: center;
}

.network-logos a {
    min-height: 92px;
    border-radius: 14px;
    background: #f7f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: .25s ease;
}

.network-logos a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(7, 26, 74, 0.08);
}

.network-logos img {
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .85;
    transition: .25s ease;
}

.network-logos a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.network-arrow {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(7, 26, 74, 0.14);
    background: #fff;
    color: #071a4a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(7, 26, 74, 0.08);
}

.network-partners-slider .carousel-control-prev,
.network-partners-slider .carousel-control-next {
    width: 42px;
    opacity: 1;
}

.network-partners-slider .carousel-control-prev {
    left: 8px;
}

.network-partners-slider .carousel-control-next {
    right: 8px;
}

@media (max-width: 991.98px) {
    .home-network-grid {
        grid-template-columns: 1fr;
    }

    .network-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .network-partners-slider {
        padding: 24px 46px;
    }
}

@media (max-width: 767.98px) {
    .network-head h3 {
        font-size: 24px;
    }

    .network-magazine-card {
        grid-template-columns: 1fr;
    }

    .network-magazine-cover img {
        max-height: 180px;
    }

    .network-logos {
        grid-template-columns: 1fr;
    }

    .network-partners-slider {
        padding: 22px 42px;
    }
}

.home-municipios {
    padding: 10px 0 56px;
}

.municipios-wrap {
    background: linear-gradient(180deg, #f7f8fb 0%, #f1f3f8 100%);
    border-radius: 26px;
    padding: 34px 42px;
    position: relative;
    overflow: hidden;
}

.municipios-wrap::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: #f7f8fb;
    rotate: 45deg;
}

.municipios-head {
    text-align: center;
    margin-bottom: 26px;
}

.municipios-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a93a8;
    margin-bottom: 8px;
}

.municipios-head h3 {
    margin: 0;
    color: #34405c;
    font-size: 26px;
    font-weight: 800;
}

.municipios-carousel {
    position: relative;
}

.municipios-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
    align-items: center;
}

.municipio-item {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 16px;
    transition: .25s ease;
}

.municipio-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
}

.municipio-item img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .72;
    transition: .25s ease;
}

.municipio-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.municipios-arrow {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    color: #34405c;
    box-shadow: 0 10px 24px rgba(7, 26, 74, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.municipios-carousel .carousel-control-prev,
.municipios-carousel .carousel-control-next {
    width: 42px;
    opacity: 1;
}

.municipios-carousel .carousel-control-prev {
    left: -18px;
}

.municipios-carousel .carousel-control-next {
    right: -18px;
}

@media (max-width: 1199.98px) {
    .municipios-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767.98px) {
    .municipios-wrap {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .municipios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .municipios-carousel .carousel-control-prev {
        left: -6px;
    }

    .municipios-carousel .carousel-control-next {
        right: -6px;
    }
}