/* =========================================================
   EL AVISO MAGAZINE
   DESKTOP
   Referencia: 1920 px
   Contenedor principal: 1440 px
   ========================================================= */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --site-width: 1440px;

    --column-width: 98px;
    --gutter: 24px;

    --section-gap: 12px;

    --yellow: hsl(56, 100%, 52%);
    --blue: #075ba8;
    --red: #f13b32;

    --black: #111111;
    --text: #222222;
    --white: #ffffff;

    --line: #dddddd;
    --border: #d8d8d8;

    --radius: 18px;
}

/* =========================================================
   RESET GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    color: var(--text);

    background: #ffffff;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

/* =========================================================
   RETÍCULA
   ========================================================= */

.site-container {
    width: var(--site-width);

    margin-inline: auto;
}

.grid-12 {
    display: grid;

    grid-template-columns: repeat(12, var(--column-width));

    column-gap: var(--gutter);
}

/* =========================================================
   HEADER
   50 + 162 + 57 + 50 = 319 px
   ========================================================= */

.site-header {
    background: #ffffff;
}

/* Barra amarilla */

.header-yellow {
    height: 50px;

    background: var(--yellow);
}

/* =========================================================
   HEADER PRINCIPAL
   1440 × 162
   ========================================================= */

.header-main {
    height: 162px;

    align-items: stretch;

    background: #ffffff;
}

/* Logo */

.header-logo {
    grid-column: 1 / span 4;

    width: 464px;
    height: 162px;
}

.header-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* =========================================================
   MENSAJE / GIF
   ========================================================= */

.header-message {
    position: relative;

    grid-column: 5 / span 4;

    width: 464px;
    height: 162px;

    overflow: hidden;
}

.header-message-gif {
    width: 464px;
    height: 162px;

    object-fit: contain;
}

/* =========================================================
   REDES SOCIALES HEADER
   4 × 28 + 3 × 10 = 142 px
   ========================================================= */

.header-social {
    position: absolute;

    left: 122px;
    right: 0;

    bottom: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;
}

.header-social a,
.header-social img {
    width: 28px;
    height: 28px;
}

.header-social a {
    border-radius: 50%;

    transition:
        transform 160ms ease,
        opacity 160ms ease;
}

.header-social a:hover,
.header-social a:focus-visible {
    transform: translateY(-2px);

    opacity: 0.85;
}

/* =========================================================
   SELLO
   ========================================================= */

.header-seal {
    grid-column: 9 / span 2;

    width: 220px;
    height: 162px;
}

.header-seal img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* =========================================================
   ANÚNCIATE
   ========================================================= */

.header-advertise {
    grid-column: 11 / span 2;

    width: 205px;
    height: 152px;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.header-advertise img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 160ms ease;
}

.header-advertise:hover img,
.header-advertise:focus-visible img {
    transform: scale(1.02);
}

/* =========================================================
   BANDERAS
   ========================================================= */

.header-flags {
    height: 57px;
}

.header-flags img {
    width: 1440px;
    height: 57px;

    object-fit: cover;
}

/* =========================================================
   MENÚ PRINCIPAL
   ========================================================= */

.main-nav {
    height: 50px;

    align-items: center;

    background: var(--blue);
}

.nav-item {
    grid-column: span 2;

    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    font-family: "Anton", sans-serif;
    font-weight: 100;

    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    letter-spacing: 0;

    text-align: center;
    text-transform: uppercase;

    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.nav-home {
    gap: 8px;
}

.home-icon {
    width: 24px;
    height: 24px;

    object-fit: contain;

    flex-shrink: 0;
}

.nav-item:hover,
.nav-item:focus-visible {
    background: rgba(0, 0, 0, 0.13);

    color: var(--yellow);
}

/* =========================================================
   BANNERS / SLIDERS
   1440 × 170
   ========================================================= */

.home-banner {
    position: relative;

    width: 1440px;
    height: 170px;

    margin-top: var(--section-gap);
    margin-bottom: 0;

    overflow: hidden;

    background: #ffffff;

    border-radius: var(--radius);
}

.banner-slider {
    position: relative;

    width: 100%;
    aspect-ratio: 1440 / 170;

    border-radius: var(--radius);

    overflow: hidden;

    background: #ffffff;
}

.banner-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border-radius: var(--radius);

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 600ms ease,
        visibility 600ms ease;
}

.banner-slide.is-active {
    z-index: 2;

    opacity: 1;

    visibility: visible;
}

.banner-slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
    display: block;
}

/* =========================================================
   FLECHAS SLIDER
   ========================================================= */

.banner-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 42px;
    height: 54px;

    transform: translateY(-50%);

    border: 0;

    background: rgba(0, 0, 0, 0.35);

    color: #ffffff;

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    opacity: 0;

    transition:
        opacity 180ms ease,
        background-color 180ms ease;
}

.banner-slider:hover .banner-arrow,
.banner-arrow:focus-visible {
    opacity: 1;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.banner-prev {
    left: 12px;
}

.banner-next {
    right: 12px;
}

/* =========================================================
   INDICADORES SLIDER
   ========================================================= */

.banner-dots {
    position: absolute;

    left: 50%;
    bottom: 8px;

    z-index: 5;

    display: flex;

    gap: 7px;

    transform: translateX(-50%);
}

.banner-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: 2px solid #ffffff;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);

    cursor: pointer;
}

.banner-dot.is-active {
    background: #ffffff;
}

/* =========================================================
   HOME PRINCIPAL
   1440 × 1040
   Distribución 5 / 5 / 2
   ========================================================= */

.home-main-section {
    height: 1040px;

    margin-top: var(--section-gap);
    margin-bottom: 0;

    align-items: start;
}

/* =========================================================
   TÍTULOS PRINCIPALES
   ========================================================= */

.home-section-title {
    height: 52px;

    margin: 0;

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--black);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 24px;
    font-weight: 700;
    line-height: 1;

    text-transform: uppercase;
}

.title-dot {
    width: 12px;
    height: 12px;

    flex: 0 0 12px;

    border-radius: 50%;

    background: #e53935;
}

/* =========================================================
   EDICIÓN DIGITAL
   Columnas 1–5 = 586 px
   ========================================================= */

.digital-edition-block {
    grid-column: 1 / span 5;

    width: 586px;
    height: 1040px;
}

.digital-edition-feature {
    display: block;

    width: 586px;
    height: 815px;

    background: #ffffff;

    border: 2px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
}

.digital-edition-feature img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 250ms ease,
        opacity 250ms ease;
}

.digital-edition-feature:hover img,
.digital-edition-feature:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   PUBLICIDAD INFERIOR EDICIÓN DIGITAL
   ========================================================= */

.digital-bottom-ad {
    display: block;

    width: 586px;
    height: 161px;

    margin-top: 12px;

    background: #ffffff;

    border: 2px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
}

.digital-bottom-ad img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =========================================================
   ARTÍCULOS
   Columnas 6–10 = 586 px
   ========================================================= */

.articles-block {
    grid-column: 6 / span 5;

    width: 586px;
    height: auto;
    min-height: 1040px;
}

/* =========================================================
   TARJETA ARTÍCULO
   586 × 241
   ========================================================= */

.article-card {
    position: relative;

    width: 586px;
    height: 241px;

    padding: 14px 16px;

    background: #ffffff;

    border: 2px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
}

.article-card + .article-card {
    margin-top: 8px;
}

.article-card h3 {
    margin: 0 0 10px;

    color: var(--black);

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.15;
}

.article-card-content {
    display: grid;

    grid-template-columns: 200px 1fr;

    column-gap: 16px;

    height: 158px;
}

/* =========================================================
   IMAGEN ARTÍCULO
   ========================================================= */

.article-image {
    display: block;

    width: 240px;
    height: 178px;

    border-radius: var(--radius);

    overflow: hidden;
}

.article-image img {
    width: 240px;
    height: 178px;

    object-fit: cover;

    transition: transform 200ms ease;
}

.article-image:hover img,
.article-image:focus-visible img {
    transform: scale(1.03);
}

/* =========================================================
   RESUMEN ARTÍCULO
   ========================================================= */

.article-summary {
    min-width: 0;
}

.article-summary p {
    margin: 0;

    color: var(--text);

    font-size: 15px;
    line-height: 21px;
}

/* =========================================================
   BOTÓN LEER
   ========================================================= */

.article-read-more {
    position: absolute;

    right: 16px;
    bottom: 14px;

    min-width: 170px;
    height: 30px;

    padding: 0 14px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: var(--blue);

    color: #ffffff;

    border-radius: 16px;

    font-size: 16px;
    font-weight: 700;

    transition:
        background-color 160ms ease,
        color 160ms ease;
}

.article-read-more:hover,
.article-read-more:focus-visible {
    background: var(--yellow);

    color: var(--black);
}

/* =========================================================
   BOTÓN VER TODOS LOS ARTÍCULOS
   ========================================================= */

.articles-view-all-box {
    margin-top: 14px;
    width: 100%;
}

.btn-view-all-articles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    background: var(--blue);
    color: #ffffff;
    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 17px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(7, 91, 168, 0.2);
    transition: all 0.2s ease-in-out;
}

.btn-view-all-articles:hover,
.btn-view-all-articles:focus-visible {
    background: var(--red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211, 32, 39, 0.3);
}

.btn-view-all-articles i {
    transition: transform 0.2s ease;
    font-size: 15px;
}

.btn-view-all-articles:hover i {
    transform: translateX(5px);
}

/* =========================================================
   PUBLICIDAD LATERAL
   Columnas 11–12 = 220 px
   ========================================================= */

.side-ads {
    grid-column: 11 / span 2;

    width: 220px;
    height: 1040px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 24px;
}

.side-ad {
    display: block;

    width: 220px;
    height: 490px;

    border-radius: var(--radius);

    overflow: hidden;
}

.side-ad img {
    width: 220px;
    height: 490px;

    object-fit: cover;

    transition:
        transform 200ms ease,
        opacity 200ms ease;
}

.side-ad:hover img,
.side-ad:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   DON CHUSCO + COMMUNITY REPORTS
   1440 × 672
   Distribución 8 / 4
   ========================================================= */

.chusco-section {
    height: 672px;

    margin-top: var(--section-gap);
    margin-bottom: 0;

    align-items: start;
}

/* =========================================================
   COLUMNA IZQUIERDA
   8 columnas = 952 px

   400 + 12 + 260 = 672 px
   ========================================================= */

.chusco-column {
    grid-column: 1 / span 8;

    width: 952px;
    height: 672px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}

/* =========================================================
   BLOQUE SUPERIOR DON CHUSCO
   952 × 346
   ========================================================= */

.chusco-intro {
    width: 952px;
    height: 346px;

    display: grid;

    grid-template-columns: 300px 1fr;

    column-gap: 28px;

    padding: 24px;

    background: #ffffff;

    border: 2px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
}

/* Imagen Don Chusco */

.chusco-image {
    width: 300px;
    height: 298px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.chusco-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* =========================================================
   TEXTO DON CHUSCO
   ========================================================= */

.chusco-content {
    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.chusco-content h2 {
    margin: 0 0 18px;

    color: var(--black);

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.15;
}

.chusco-content p {
    margin: 0 0 14px;

    color: var(--text);

    font-size: 17px;
    line-height: 25px;
}

/* =========================================================
   GUÍA CULTURAL
   952 × 314
   ========================================================= */

.chusco-guide {
    display: block;

    width: 100%;
    max-width: 952px;
    height: auto;
    aspect-ratio: 952 / 314;

    border: 2px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
    box-sizing: border-box;
}

.chusco-guide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.chusco-guide:hover img,
.chusco-guide:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   COMMUNITY REPORTS
   4 columnas = 464 px
   Imagen = 464 × 672
   ========================================================= */

.community-reports {
    grid-column: 9 / span 4;

    width: 464px;
    height: 672px;
}

.community-reports-link {
    display: block;

    width: 464px;
    height: 672px;

    border: 2px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;
}

.community-reports-link img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.community-reports-link:hover img,
.community-reports-link:focus-visible img {
    transform: scale(1.01);
    opacity: 0.96;
}

.community-reports-link img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.community-reports-link:hover img,
.community-reports-link:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   ENTRETENIMIENTO + EMERGENCY NUMBERS
   1440 × 2032 px

   Izquierda = 1196 px
   Medianil = 24 px
   Derecha = 220 px
   ========================================================= */

.entertainment-section {
    width: 1440px;
    height: 2032px;

    margin-top: var(--section-gap);
    margin-bottom: 0;

    align-items: start;
}

/* =========================================================
   COLUMNA PRINCIPAL
   Columnas 1–10 = 1196 px
   ========================================================= */

.entertainment-content {
    grid-column: 1 / span 10;

    width: 1196px;
    height: 1560px;

    display: grid;

    /*
    10 columnas de nuestra retícula:
    10 × 98 + 9 × 24 = 1196 px
  */
    grid-template-columns: repeat(10, 98px);

    column-gap: 24px;

    /* 480 + 22 + 480 + 22 + 556 = 1560 px */
    grid-template-rows:
        480px
        480px
        556px;

    row-gap: 22px;
}

/* =========================================================
   TARJETAS GENERALES
   ========================================================= */

.entertainment-card {
    position: relative;

    width: 586px;

    background: #ffffff;

    border: 2px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
}

/* =========================================================
   POSICIONES FILA 1
   ========================================================= */

.tia-metiche-card {
    grid-column: 1 / span 5;

    grid-row: 1;

    height: 480px;
}

.mr-chin-card {
    grid-column: 6 / span 5;

    grid-row: 1;

    height: 480px;
}

/* =========================================================
   POSICIONES FILA 2
   ========================================================= */

.faranduleando-card {
    grid-column: 1 / span 5;

    grid-row: 2;

    height: 480px;
}

.retro-notas-card {
    grid-column: 6 / span 5;

    grid-row: 2;

    height: 480px;
}

/* =========================================================
   ENCABEZADO DE TARJETAS
   ========================================================= */

.entertainment-card-header {
    height: 46px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    gap: 8px;

    background: #ffffff;
}

.entertainment-card-header h2 {
    margin: 0;

    color: var(--black);

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;

    text-transform: uppercase;
}

/* =========================================================
   CONTENIDO TARJETAS
   ========================================================= */

.entertainment-card-body {
    width: 100%;

    height: calc(100% - 46px);

    overflow: hidden;
}

.entertainment-main-image {
    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.entertainment-main-image img {
    width: 85%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.entertainment-main-image:hover img,
.entertainment-main-image:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   EMERGENCY NUMBERS
   1196 × 744 px
   ========================================================= */

.emergency-numbers-card {
    grid-column: 1 / span 10;

    grid-row: 3;

    width: 1196px;
    height: 556px;

    padding: 18px 24px;

    background: #ffffff;

    border: 2px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
}

/* =========================================================
   ENCABEZADO EMERGENCY
   ========================================================= */

.emergency-header {
    height: 44px;

    display: flex;

    align-items: center;

    gap: 8px;
}

.emergency-header h2 {
    margin: 0;

    color: var(--black);

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    text-transform: uppercase;
}

/* =========================================================
   INTRO EMERGENCY
   ========================================================= */

.emergency-intro {
    margin-top: 4px;
    margin-bottom: 12px;

    text-align: center;
}

.emergency-intro h3 {
    margin: 0 0 4px;

    color: var(--blue);

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 20px;
    font-weight: 400;
}

.emergency-intro p {
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 20px;
}

/* =========================================================
   CUADRÍCULA DE EMERGENCY NUMBERS

   3 columnas × 2 filas
   ========================================================= */

.emergency-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 20px;
}

/* =========================================================
   ELEMENTO EMERGENCY
   ========================================================= */

.emergency-item {
    min-height: 240px;

    padding: 22px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #f7f7f7;

    border: 1px solid var(--line);

    border-radius: 16px;

    text-align: center;
}

.emergency-item h3 {
    margin: 0 0 12px;

    color: var(--blue);

    font-size: 20px;
    line-height: 24px;
}

.emergency-item p {
    margin: 0 0 16px;

    color: var(--text);

    font-size: 15px;
    line-height: 21px;
}

.emergency-item a {
    margin-top: auto;

    color: var(--red);

    font-size: 18px;
    font-weight: 700;
}

.emergency-item a:hover,
.emergency-item a:focus-visible {
    color: var(--blue);
}

/* =========================================================
   PUBLICIDAD LATERAL
   Columnas 11–12
   220 × 2032 px

   4 × 490
   +
   3 × 24
   =
   2032 px
   ========================================================= */

.entertainment-side-ads {
    grid-column: 11 / span 2;

    width: 220px;
    height: 1560px;

    display: flex;

    flex-direction: column;

    gap: 22px;
}

/* =========================================================
   CADA ANUNCIO
   ========================================================= */

.entertainment-side-ad {
    display: block;

    width: 220px;
    height: calc((1560px - 66px) / 4);

    flex: 1 1 0;
    min-height: 0;

    border-radius: var(--radius);

    overflow: hidden;
}

.entertainment-side-ad img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 200ms ease,
        opacity 200ms ease;
}

.entertainment-side-ad:hover img,
.entertainment-side-ad:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   HISPANOS TRIUNFADORES + RECONOCIMIENTOS
   + SECCIONES + COMICS

   Desktop: 1440 × 2546 px

   Izquierda = 1196 px
   Medianil = 24 px
   Derecha = 220 px
   ========================================================= */

.community-showcase-section {
    width: 1440px;
    height: auto;
    min-height: 2546px;

    margin-top: var(--section-gap);
    margin-bottom: 0;

    align-items: start;
}

/* =========================================================
   COLUMNA PRINCIPAL
   Columnas 1–10 = 1196 px
   ========================================================= */

.community-showcase-content {
    grid-column: 1 / span 10;

    width: 1196px;
    height: auto;

    display: flex;
    flex-direction: column;

    gap: 24px;
}

/* =========================================================
   ESTILO GENERAL DE LOS BLOQUES
   ========================================================= */

.hispanos-triunfadores-block,
.reconocimientos-block,
.special-sections-block,
.comics-section {
    width: 1196px;
}

/* =========================================================
   1. HISPANOS TRIUNFADORES
   1196 × 720
   ========================================================= */

.hispanos-triunfadores-block {
    height: 720px;
    overflow: hidden;
}

/* =========================================================
   2. RECONOCIMIENTOS
   1196 × (44 + 14 + 880) px
   ========================================================= */

.reconocimientos-block {
    height: auto;
    overflow: visible;
}

.reconocimientos-title {
    width: 100%;
    height: auto;
    min-height: 44px;

    margin: 0 0 14px 0;

    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--black);

    font-family: "Anton", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;

    text-transform: uppercase;
}

.reconocimientos-block .showcase-full-image {
    width: 1196px;
    height: 880px;
}

/* =========================================================
   IMÁGENES COMPLETAS
   ========================================================= */

.showcase-full-image {
    display: block;

    width: 100%;
    height: 100%;

    background: #ffffff;

    border: 2px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;
}

.showcase-full-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.showcase-full-image:hover img,
.showcase-full-image:focus-visible img {
    transform: scale(1.005);

    opacity: 0.97;
}

/* =========================================================
   3. MEDICINA NATURAL + RECETAS
   1196 × 560

   586 + 24 + 586 = 1196
   ========================================================= */

.special-sections-block {
    height: 560px;

    display: grid;

    grid-template-columns:
        586px
        586px;

    column-gap: 24px;
}

/* =========================================================
   TARJETAS SECCIONES
   586 × 560
   ========================================================= */

.special-section-card {
    display: block;

    width: 586px;
    height: 560px;

    background: #ffffff;

    border: 2px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;
}

.special-section-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.special-section-card:hover img,
.special-section-card:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   4. COMICS E HISTORIETAS
   1196 × 314
   ========================================================= */

.comics-section {
    height: 314px;
}

.comics-banner {
    display: block;

    width: 1196px;
    height: 314px;

    background: #ffffff;

    border: 2px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;
}

.comics-banner img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.comics-banner:hover img,
.comics-banner:focus-visible img {
    transform: scale(1.005);

    opacity: 0.97;
}

/* =========================================================
   COLUMNA DE PUBLICIDAD
   Columnas 11–12 = 220 px

   5 × 490
   +
   4 × 24
   =
   2546 px
   ========================================================= */

.community-showcase-ads {
    grid-column: 11 / span 2;

    width: 220px;
    height: 2546px;

    display: flex;

    flex-direction: column;

    gap: 24px;
}

/* =========================================================
   ANUNCIOS
   220 × 490
   ========================================================= */

.community-showcase-ad {
    display: block;

    width: 220px;
    height: 490px;

    flex: 0 0 490px;

    border-radius: var(--radius);

    overflow: hidden;
}

.community-showcase-ad img {
    width: 220px;
    height: 490px;

    object-fit: cover;

    transition:
        transform 200ms ease,
        opacity 200ms ease;
}

.community-showcase-ad:hover img,
.community-showcase-ad:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   SECCIÓN FINAL DE INFORMACIÓN
   CONSULADOS + RECICLAJE + PUBLICIDAD

   1440 × 1518 px
   ========================================================= */

.final-info-section {
    width: 100%;
    max-width: 1440px;
    height: auto;

    margin-top: var(--section-gap);
    margin-bottom: 0;

    align-items: start;
}

/* =========================================================
   COLUMNA IZQUIERDA
   Columnas 1–10 = 1196 px

   900 + 24 + 594 = 1518
   ========================================================= */

.final-info-content {
    grid-column: 1 / span 10;

    width: 100%;
    max-width: 1196px;
    height: auto;

    display: flex;
    flex-direction: column;

    gap: 24px;
}

/* =========================================================
   CONSULADOS
   1196 × 900
   ========================================================= */

.consulates-block {
    width: 100%;
    max-width: 1196px;
    height: auto;

    padding: 18px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 2px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;
}

/* =========================================================
   ENCABEZADO CONSULADOS
   ========================================================= */

.consulates-header {
    flex: 0 0 92px;

    text-align: center;
}

.consulates-header h2 {
    margin: 0 0 8px;

    color: var(--black);

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;

    text-transform: uppercase;
}

.consulates-header p {
    margin: 0;

    color: var(--text);

    font-size: 16px;
    line-height: 22px;
}

/* =========================================================
   GRID CONSULADOS

   12 cajas
   6 columnas × 2 filas
   ========================================================= */

.consulates-grid {
    flex: 1;

    min-height: 0;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-template-rows: auto;

    gap: 12px;
}

/* =========================================================
   CAJA CONSULADO
   ========================================================= */

.consulate-card {
    position: relative;

    min-width: 0;

    padding: 18px 12px 12px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 14px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Número */

.consulate-number {
    position: absolute;

    top: 10px;
    left: 10px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red);
    color: #ffffff;

    border-radius: 50%;

    font-size: 12px;
    font-weight: 700;
}

/* Nombre */

.consulate-card h3 {
    margin: 20px 0 10px;

    color: var(--red);

    font-size: 14px;
    line-height: 18px;
    font-weight: 700;

    text-align: center;
}

/* Dirección */

.consulate-card p {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 12px;
    line-height: 17px;

    text-align: center;
}

/* Teléfono */

.consulate-phone {
    margin-bottom: 10px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 700;

    text-align: center;
}

/* Botones */

.consulate-actions {
    margin-top: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 6px;
}

.consulate-actions a {
    min-height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue);

    color: #ffffff;

    border-radius: 8px;

    font-size: 10px;
    font-weight: 700;

    text-align: center;
}

.consulate-actions a:hover,
.consulate-actions a:focus-visible {
    background: var(--yellow);

    color: var(--black);
}

/* =========================================================
   FRANJA INFERIOR CONSULADOS
   ========================================================= */

.consulates-footer {
    flex: 0 0 58px;

    margin-top: 12px;

    padding: 0 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background: #f7f7f7;

    border-radius: 12px;

    font-size: 14px;
}

.consulates-footer strong {
    color: var(--blue);
}

/* =========================================================
   RECICLAJE
   1196 × 594 px
   ========================================================= */

.recycling-block {
    width: 100%;
    max-width: 1196px;
    height: auto;

    padding: 16px 18px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 2px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;
}

/* =========================================================
   ENCABEZADO RECICLAJE
   ========================================================= */

.recycling-header {
    flex: 0 0 auto;

    text-align: center;
    margin-bottom: 12px;
}

.recycling-header h2 {
    margin: 0 0 6px;

    color: #4f8b34;

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.1;

    text-transform: uppercase;
}

.recycling-header p {
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 19px;
}

/* =========================================================
   GRID RECICLAJE
   ========================================================= */

.recycling-grid {
    flex: 1;

    min-height: 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-template-rows: auto;

    gap: 12px;
}

/* =========================================================
   CAJA RECICLAJE
   ========================================================= */

.recycling-card {
    padding: 12px 14px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.recycling-card h3 {
    margin: 0 0 8px;

    color: var(--red);

    font-size: 14px;
    line-height: 18px;
    word-break: break-word;
}

.recycling-card p {
    margin: 0 0 8px;

    font-size: 12px;
    line-height: 17px;
    word-break: break-word;
}

.recycling-card > a,
.recycling-phone {
    color: var(--blue);

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 4px;
}

.recycling-phone:hover {
    text-decoration: underline;
}

.recycling-materials {
    font-size: 11px;
    color: #15803d;
    margin: 4px 0 8px !important;
    font-weight: 600;
    line-height: 1.35;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 4px 8px;
}

/* Acciones */

.recycling-actions {
    margin-top: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;
}

.recycling-actions a {
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue);

    color: #ffffff;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;
}

.recycling-actions a:hover,
.recycling-actions a:focus-visible {
    background: var(--yellow);

    color: var(--black);
}

/* =========================================================
   FRANJA RECICLAJE
   ========================================================= */

.recycling-footer {
    flex: 0 0 auto;

    min-height: 46px;

    margin-top: 10px;

    padding: 10px 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background: var(--yellow);

    border-radius: 10px;

    font-size: 13px;
}

.recycling-footer strong {
    color: #387824;
}

/* =========================================================
   ADS LATERALES
   220 × 1518

   490 + 24 + 490 + 24 + 490
   = 1518
   ========================================================= */

.final-info-ads {
    grid-column: 11 / span 2;

    width: 220px;
    height: 1518px;

    display: flex;

    flex-direction: column;

    gap: 24px;
}

.final-info-ad {
    display: block;

    width: 220px;
    height: 490px;

    flex: 0 0 490px;

    border-radius: var(--radius);

    overflow: hidden;
}

.final-info-ad img {
    width: 220px;
    height: 490px;

    object-fit: cover;

    transition:
        transform 200ms ease,
        opacity 200ms ease;
}

.final-info-ad:hover img,
.final-info-ad:focus-visible img {
    transform: scale(1.01);

    opacity: 0.96;
}

/* =========================================================
   MARKETING VIDEOS

   Sección independiente
   1440 × 672 px

   Título = 52
   Gap = 12
   Videos = 608

   4 × 342
   +
   3 × 24
   =
   1440 px
   ========================================================= */

.marketing-videos-section {
    width: 100%;
    max-width: 1440px;
    height: auto;

    margin-top: var(--section-gap);
    margin-bottom: 0;
}

/* =========================================================
   TÍTULO
   52 px
   ========================================================= */

.marketing-videos-title {
    width: 100%;
    height: auto;
    min-height: 44px;

    margin: 0;

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--black);

    font-family: "Anton", sans-serif;
    font-weight: 100;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;

    text-transform: uppercase;
}

/* =========================================================
   GRID VIDEOS
   ========================================================= */

.marketing-videos-grid {
    width: 100%;
    height: auto;

    margin-top: 12px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

/* =========================================================
   VIDEO INDIVIDUAL
   Aproximadamente 9:16
   ========================================================= */

.marketing-video {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;

    background: #111111;

    border: 2px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;

    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.footer-yellow-divider {
    width: 100%;
    max-width: 1440px;
    height: 4px;

    margin-top: 24px;

    background: var(--yellow);
}

/* =========================================================
   FOOTER
   278 + 50 + 50 = 378 px

   Temporalmente queda 12 px después del Banner 3.
   Cuando agreguemos nuevas secciones, éstas ocuparán ese espacio.
   ========================================================= */

.site-footer {
    margin-top: 0;

    background: #ffffff;
}

.footer-main {
    height: 278px;

    padding-top: 25px;
    padding-bottom: 8px;

    align-items: start;
}

.footer-main h2 {
    margin: 0 0 18px;

    color: var(--blue);

    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
}

.footer-main p {
    margin: 0;
}

/* =========================================================
   MARCA
   Columnas 1–3
   ========================================================= */

.footer-brand {
    grid-column: 1 / span 3;

    width: 342px;
}

.footer-logo {
    width: 300px;

    max-height: 105px;

    object-fit: contain;

    object-position: left center;
}

.footer-brand p {
    width: 300px;

    margin-top: 18px;

    font-size: 14px;
    line-height: 20px;
}

/* =========================================================
   ENLACES RÁPIDOS
   Columnas 4–5
   ========================================================= */

.footer-links {
    grid-column: 4 / span 2;

    width: 220px;
}

.footer-links > a,
.footer-community-links > a {
    min-height: 28px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);

    font-size: 15px;
    line-height: 28px;

    transition:
        color 160ms ease,
        padding-left 160ms ease;
}

.footer-links > a span,
.footer-community-links > a span {
    color: var(--yellow);

    font-size: 22px;
    line-height: 1;
}

.footer-links > a:hover,
.footer-links > a:focus-visible,
.footer-community-links > a:hover,
.footer-community-links > a:focus-visible {
    color: var(--red);

    padding-left: 3px;
}

/* =========================================================
   COMUNIDAD
   Columnas 6–7
   ========================================================= */

.footer-community {
    grid-column: 6 / span 2;

    width: 220px;
}

.footer-community-links {
    display: block;
}

.footer-social-block {
    margin-top: 15px;
}

.footer-community h2 {
    font-size: 15px;

    white-space: nowrap;
}

.footer-social-block h3 {
    position: relative;

    margin: 0 0 12px;

    padding-bottom: 7px;

    color: var(--blue);

    font-size: 13px;
    line-height: 17px;
    font-weight: 700;
}

.footer-social-block h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 190px;
    height: 3px;

    background: var(--yellow);
}

/* =========================================================
   REDES SOCIALES FOOTER
   4 × 32 + 3 × 10 = 158 px
   ========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-social a,
.footer-social img {
    width: 32px;
    height: 32px;
}

.footer-social a {
    border-radius: 50%;

    transition:
        transform 160ms ease,
        opacity 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    transform: translateY(-2px);

    opacity: 0.85;
}

/* =========================================================
   CONTACTO
   Columnas 8–10
   ========================================================= */

.footer-contact {
    grid-column: 8 / span 3;

    width: 342px;
}

.footer-contact-content {
    display: grid;

    grid-template-columns: 190px 140px;

    gap: 12px;

    align-items: start;
}

.footer-contact-actions {
    min-width: 0;
}

.contact-row {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    font-size: 14px;
    line-height: 22px;
}

.contact-icon {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue);

    color: #ffffff;
}

.footer-phone {
    color: var(--red);

    font-size: 21px;
    font-weight: 700;
}

.footer-email {
    font-size: 16px;
}

.footer-location-link {
    color: var(--blue);

    font-size: 16px;
    font-weight: 700;
}

.footer-counties {
    margin: 0;

    padding: 0;
}

.footer-counties strong {
    display: block;

    margin-bottom: 6px;

    font-size: 15px;
}

.footer-counties span {
    display: block;

    color: var(--red);

    font-size: 18px;
    line-height: 20px;
}

/* =========================================================
   EDICIÓN ACTUAL
   Columnas 11–12
   ========================================================= */

.footer-edition {
    grid-column: 11 / span 2;

    width: 220px;
    height: 240px;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    padding-left: 12px;
}

.current-edition-link {
    display: block;

    width: 175px;
}

.current-edition-link img {
    width: 175px;

    height: auto;

    max-height: 226px;

    object-fit: contain;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.current-edition-link:hover img,
.current-edition-link:focus-visible img {
    transform: translateY(-3px) scale(1.015);

    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   FRANJA AMARILLA FOOTER
   ========================================================= */

.footer-yellow {
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--yellow);

    color: var(--black);

    font-size: 16px;
    font-weight: 700;

    text-align: center;
}

.footer-yellow span {
    margin-inline: 4px;

    color: var(--red);
}

/* =========================================================
   FRANJA AZUL FOOTER
   ========================================================= */

.footer-blue {
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue);

    color: var(--white);

    font-size: 14px;

    text-align: center;
}

/* =========================================================
   POP-UP ANÚNCIATE
   ========================================================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 24px;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);
}

.modal-panel {
    position: relative;

    z-index: 1;

    width: min(560px, 100%);

    max-height: calc(100vh - 48px);

    overflow-y: auto;

    padding: 36px;

    background: #ffffff;

    border-top: 8px solid var(--yellow);

    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.modal-panel h2 {
    margin: 0 0 8px;

    color: var(--blue);
}

.modal-panel > p {
    margin: 0 0 24px;
}

.modal-close {
    position: absolute;

    top: 10px;
    right: 14px;

    width: 38px;
    height: 38px;

    border: 0;

    background: transparent;

    color: var(--text);

    font-size: 34px;
    line-height: 1;

    cursor: pointer;
}

/* =========================================================
   FORMULARIO
   ========================================================= */

.advertise-form {
    display: grid;

    gap: 14px;
}

.advertise-form label {
    display: grid;

    gap: 6px;

    font-size: 14px;
    font-weight: 700;
}

.advertise-form input,
.advertise-form textarea {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #c9c9c9;
}

.advertise-form textarea {
    resize: vertical;
}

.advertise-form button {
    height: 46px;

    margin-top: 4px;

    border: 0;

    background: var(--red);

    color: #ffffff;

    font-weight: 700;

    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(7, 91, 168, 0.35);

    outline-offset: 2px;
}

/* =========================================================
   RESPONSIVE
   Pendiente.

   Esta versión conserva intencionalmente el diseño Desktop
   aprobado antes de trabajar Tablet y Mobile.
   ========================================================= */
