/*
 * Argentina Informada
 * Sistema editorial principal.
 *
 * Developed by Matias Ernals.
 */

:root {
    --ai-container: 1240px;
    --ai-border: #e5e5e5;
    --ai-muted: #666;
    --ai-text: #111;
    --ai-background: #fff;
}

/* ============================================================
   BASE
   ============================================================ */

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.ai-container {
    width: min(calc(100% - 40px), var(--ai-container));
    margin-inline: auto;
}

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

.ai-skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    z-index: 9999;
}

.ai-skip-link:focus {
    left: 10px;
    padding: 10px 14px;
    background: #111;
    color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */

.ai-site-header {
    background: var(--ai-background);
    border-bottom: 1px solid var(--ai-border);
}

.ai-header-top {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ai-brand {
    padding: 28px 0;
}

.ai-site-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ai-muted);
}

.ai-site-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.035em;
}

.ai-site-title a {
    text-decoration: none;
}

.ai-site-description {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--ai-muted);
}

/* ============================================================
   NAV
   ============================================================ */

.ai-nav {
    border-top: 1px solid var(--ai-border);
}

.ai-nav-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ai-primary-menu li {
    margin: 0;
}

.ai-primary-menu a {
    display: block;
    padding: 15px 17px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ai-primary-menu a:hover,
.ai-primary-menu a:focus {
    text-decoration: underline;
}

/* ============================================================
   MAIN
   ============================================================ */

.ai-main {
    padding: 34px 0 70px;
}

.ai-site-main {
    padding-top: 24px;
}

/* ============================================================
   PUBLICIDAD
   ============================================================ */

.ai-ad {
    position: relative;
    width: 100%;
    margin: 24px auto;
    text-align: center;
    line-height: 0;
}

.ai-ad-label {
    display: block;
    margin-bottom: 6px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .08em;
    color: #777;
    text-transform: uppercase;
}

.ai-ad img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.ai-ad a {
    display: inline-block;
    line-height: 0;
}

/* ============================================================
   LEAD
   ============================================================ */

.ai-lead-news {
    margin-bottom: 28px;
}

.ai-lead-story {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
    gap: 32px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--ai-border);
}

.ai-lead-story-image {
    display: block;
    overflow: hidden;
}

.ai-lead-story-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ai-lead-story-content {
    align-self: center;
}

.ai-post-category {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.ai-post-category:hover,
.ai-post-category:focus {
    text-decoration: underline;
}

.ai-lead-story-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: -.025em;
}

.ai-lead-story-title a,
.ai-secondary-story-title a,
.ai-news-card-title a {
    text-decoration: none;
}

.ai-lead-story-title a:hover,
.ai-secondary-story-title a:hover,
.ai-news-card-title a:hover {
    text-decoration: underline;
}

.ai-lead-story-excerpt {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.55;
    color: #444;
}

/* ============================================================
   SECONDARY STORIES
   ============================================================ */

.ai-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 32px;
}

.ai-secondary-story {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ai-border);
}

.ai-secondary-story-image {
    display: block;
    overflow: hidden;
}

.ai-secondary-story-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.ai-secondary-story-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.12;
}

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

.ai-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}

.ai-section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #111;
}

.ai-section-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.1;
}

/* ============================================================
   NEWS LIST
   ============================================================ */

.ai-news-list {
    display: flex;
    flex-direction: column;
}

.ai-news-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--ai-border);
}

.ai-news-card-image {
    display: block;
    overflow: hidden;
}

.ai-news-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.ai-news-card-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.15;
}

.ai-news-card-excerpt {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

.ai-post-meta {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--ai-muted);
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.ai-sidebar {
    min-width: 0;
}

.ai-widget {
    margin-bottom: 28px;
}

.ai-sidebar .widget {
    margin-bottom: 28px;
}

.ai-sidebar .widget-title {
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

/* ============================================================
   SINGLE
   ============================================================ */

.ai-single-main {
    padding-top: 28px;
}

.ai-single-article {
    min-width: 0;
}

.ai-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--ai-muted);
}

.ai-breadcrumbs a {
    text-decoration: none;
}

.ai-breadcrumbs a:hover {
    text-decoration: underline;
}

.ai-single-header {
    margin-bottom: 26px;
}

.ai-single-title {
    max-width: 950px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.ai-single-excerpt {
    max-width: 850px;
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.5;
    color: #444;
}

.ai-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--ai-muted);
}

.ai-featured-image {
    margin: 0 0 28px;
}

.ai-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ai-featured-image figcaption {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--ai-muted);
}

.ai-entry-content {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.75;
}

.ai-entry-content > * {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.ai-entry-content h2,
.ai-entry-content h3,
.ai-entry-content h4 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.2;
}

.ai-entry-content h2 {
    font-size: 30px;
}

.ai-entry-content h3 {
    font-size: 25px;
}

.ai-entry-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.ai-entry-content img {
    height: auto;
}

.ai-entry-content blockquote {
    margin-inline: 0;
    padding: 15px 20px;
    border-left: 4px solid #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.45;
}

.ai-single-tags {
    max-width: 820px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--ai-border);
    font-size: 13px;
}

.ai-single-tags span {
    font-weight: 700;
}

.ai-single-tags a {
    text-decoration: none;
}

.ai-single-tags a:hover {
    text-decoration: underline;
}

/* ============================================================
   ARCHIVES
   ============================================================ */

.ai-archive-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #111;
}

.ai-archive-kicker {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ai-muted);
}

.ai-archive-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
}

.ai-archive-description {
    max-width: 800px;
    margin-top: 12px;
    color: #555;
}

.ai-archive-list {
    max-width: 950px;
}

.ai-pagination {
    margin-top: 30px;
}

.ai-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-pagination a,
.ai-pagination span {
    padding: 7px 11px;
    border: 1px solid var(--ai-border);
    text-decoration: none;
    font-size: 13px;
}

/* ============================================================
   EMPTY
   ============================================================ */

.ai-empty-state {
    padding: 50px 0;
}

.ai-empty-state h1 {
    font-family: Georgia, "Times New Roman", serif;
}

/* ============================================================
   FOOTER
   ============================================================ */

.ai-site-footer {
    margin-top: 60px;
    padding: 45px 0 25px;
    border-top: 1px solid var(--ai-border);
    background: #f5f5f5;
}

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

.ai-footer-title {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.ai-footer-copy {
    max-width: 330px;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

.ai-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ai-footer-menu li {
    margin-bottom: 7px;
}

.ai-footer-menu a {
    font-size: 14px;
    text-decoration: none;
}

.ai-footer-menu a:hover {
    text-decoration: underline;
}

.ai-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 12px;
    color: #666;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .ai-lead-story {
        grid-template-columns: 1fr;
    }

    .ai-content-grid {
        grid-template-columns: 1fr;
    }

    .ai-sidebar {
        width: 100%;
    }

    .ai-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ai-footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 700px) {

    .ai-container {
        width: min(calc(100% - 28px), var(--ai-container));
    }

    .ai-header-top {
        min-height: 125px;
    }

    .ai-site-title {
        font-size: 42px;
    }

    .ai-primary-menu {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .ai-primary-menu a {
        white-space: nowrap;
        padding: 13px 12px;
        font-size: 12px;
    }

    .ai-secondary-grid {
        grid-template-columns: 1fr;
    }

    .ai-secondary-story {
        grid-template-columns: 38% 1fr;
    }

    .ai-news-card {
        grid-template-columns: 135px minmax(0, 1fr);
        gap: 14px;
    }

    .ai-news-card-title {
        font-size: 19px;
    }

    .ai-news-card-excerpt {
        display: none;
    }

    .ai-single-title {
        font-size: 38px;
    }

    .ai-single-excerpt {
        font-size: 18px;
    }

    .ai-entry-content {
        font-size: 17px;
        line-height: 1.7;
    }

    .ai-entry-content blockquote {
        font-size: 20px;
    }
}

@media (max-width: 480px) {

    .ai-lead-story-title {
        font-size: 34px;
    }

    .ai-secondary-story {
        grid-template-columns: 1fr;
    }

    .ai-secondary-story-image img {
        aspect-ratio: 16 / 9;
    }

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

    .ai-news-card-image img {
        aspect-ratio: 16 / 9;
    }

    .ai-single-title {
        font-size: 34px;
    }
}

/* ============================================================
   AI ADS — ROTADOR 250x250
   ============================================================ */

.ai-ad-slot {
    width: 250px;
    max-width: 100%;
    min-height: 256px;
    margin: 24px auto;
    text-align: center;
}

.ai-ad-slot.ai-ad-rotator {
    position: relative;
}

.ai-ad-slide {
    width: 250px;
    max-width: 100%;
    min-height: 256px;
    margin: 0 auto;
}

.ai-ad-slide[hidden] {
    display: none !important;
}

.ai-ad-slot .ai-ad {
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
}

.ai-ad-slot .ai-ad img {
    display: block;
    width: 250px;
    height: 250px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.ai-ad-slot .ai-ad a {
    display: block;
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
}

.ai-ad-slot .ai-ad-label {
    display: block;
    height: 12px;
    margin: 0 0 4px;
}

/* Evita cualquier transición accidental en el rotador. */
.ai-ad-slot .ai-ad-slide,
.ai-ad-slot .ai-ad-slide.is-active {
    transition: none !important;
    animation: none !important;
}

/* Mobile */
@media (max-width: 480px) {

    .ai-ad-slot {
        width: 100%;
        min-height: 0;
        margin: 22px auto;
    }

    .ai-ad-slide {
        width: 100%;
        min-height: 0;
    }

    .ai-ad-slot .ai-ad {
        width: 250px;
        max-width: 100%;
    }

    .ai-ad-slot .ai-ad img {
        width: 250px;
        height: 250px;
    }
}


/* ============================================================
   PUBLICIDAD DENTRO DEL ARTÍCULO
   ============================================================ */

.ai-single-ad {
    width: 100%;
    margin: 30px 0;
    text-align: center;
}

.ai-single-ad-top {
    padding: 10px 0 20px;
    border-top: 1px solid var(--ai-border);
    border-bottom: 1px solid var(--ai-border);
}

.ai-single-ad-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--ai-border);
}


/* ============================================================
   CONTENIDO EDITORIAL
   ============================================================ */

.ai-entry-content {
    max-width: 820px;
    margin-inline: auto;
}

.ai-entry-content p {
    margin-bottom: 1.35em;
}

.ai-entry-content > p:first-child {
    font-size: 20px;
    line-height: 1.65;
}

.ai-entry-content h2 {
    margin-top: 1.8em;
    margin-bottom: .7em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ai-border);
}

.ai-entry-content h3 {
    margin-top: 1.6em;
    margin-bottom: .6em;
}

.ai-entry-content ul,
.ai-entry-content ol {
    padding-left: 1.5em;
}

.ai-entry-content li {
    margin-bottom: .55em;
}

.ai-entry-content strong {
    font-weight: 700;
}

.ai-entry-content figure {
    margin: 30px 0;
}

.ai-entry-content figure img {
    display: block;
    width: 100%;
    height: auto;
}

.ai-entry-content figcaption {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--ai-muted);
}


/* ============================================================
   ETIQUETAS
   ============================================================ */

.ai-single-tags {
    max-width: 820px;
    margin-inline: auto;
}

.ai-single-tags-label {
    flex: 0 0 auto;
}

.ai-single-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ai-single-tags-list a {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid var(--ai-border);
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
}

.ai-single-tags-list a:hover,
.ai-single-tags-list a:focus {
    border-color: #111;
}


/* ============================================================
   NAVEGACIÓN ENTRE ARTÍCULOS
   ============================================================ */

.ai-single-navigation {
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin: 45px auto 0;
    padding-top: 25px;
    border-top: 2px solid #111;
}

.ai-single-navigation-prev,
.ai-single-navigation-next {
    min-width: 0;
}

.ai-single-navigation-next {
    text-align: right;
}

.ai-navigation-label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ai-muted);
}

.ai-single-navigation a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.3;
    text-decoration: none;
}

.ai-single-navigation a:hover,
.ai-single-navigation a:focus {
    text-decoration: underline;
}


/* ============================================================
   MEJORA DEL ENCABEZADO DEL ARTÍCULO
   ============================================================ */

.ai-single-header {
    max-width: 1100px;
    margin-bottom: 32px;
}

.ai-single-title {
    max-width: 1050px;
}

.ai-single-excerpt {
    max-width: 900px;
}

.ai-single-meta {
    align-items: center;
}

.ai-single-author strong {
    color: var(--ai-text);
}


/* ============================================================
   IMAGEN PRINCIPAL
   ============================================================ */

.ai-featured-image {
    width: 100%;
    margin-bottom: 32px;
}

.ai-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ai-featured-image figcaption {
    max-width: 1100px;
    margin-inline: auto;
}


/* ============================================================
   MOBILE — ARTÍCULO
   ============================================================ */

@media (max-width: 900px) {

    .ai-single-sidebar {
        position: static;
        width: 100%;
    }

    .ai-single-sidebar .ai-ad-slot {
        margin-left: auto;
        margin-right: auto;
    }

    .ai-entry-content {
        max-width: 100%;
    }

    .ai-single-tags {
        max-width: 100%;
    }

    .ai-single-navigation {
        max-width: 100%;
    }

}


/* ============================================================
   MOBILE — LECTURA
   ============================================================ */

@media (max-width: 700px) {

    .ai-single-header {
        margin-bottom: 24px;
    }

    .ai-single-title {
        font-size: 40px;
        line-height: 1.04;
    }

    .ai-single-excerpt {
        margin-top: 16px;
        font-size: 19px;
        line-height: 1.5;
    }

    .ai-single-meta {
        font-size: 12px;
        line-height: 1.5;
    }

    .ai-featured-image {
        margin-bottom: 25px;
    }

    .ai-single-ad-top {
        margin-top: 20px;
        padding-top: 12px;
        padding-bottom: 18px;
    }

    .ai-entry-content > p:first-child {
        font-size: 18px;
        line-height: 1.7;
    }

    .ai-single-navigation {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ai-single-navigation-next {
        text-align: left;
    }

}


/* ============================================================
   MOBILE — TELÉFONOS PEQUEÑOS
   ============================================================ */

@media (max-width: 480px) {

    .ai-single-title {
        font-size: 34px;
    }

    .ai-single-excerpt {
        font-size: 18px;
    }

    .ai-single-meta {
        gap: 5px;
    }

    .ai-entry-content {
        font-size: 17px;
        line-height: 1.72;
    }

    .ai-entry-content > p:first-child {
        font-size: 18px;
    }

    .ai-single-ad {
        margin-top: 24px;
        margin-bottom: 24px;
    }

}


/* ============================================================
   SINGLE — ESTRUCTURA EDITORIAL PRINCIPAL
   Argentina Informada
   ============================================================ */

.ai-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 48px;
    align-items: start;
}

.ai-single-article {
    min-width: 0;
}

.ai-single-sidebar {
    min-width: 0;
    position: sticky;
    top: 24px;
}

.ai-single-sidebar .ai-ad-slot {
    width: 250px;
    max-width: 100%;
    margin: 0 auto 32px;
}


/* ============================================================
   SINGLE — CABECERA
   ============================================================ */

.ai-single-header {
    max-width: 1100px;
    margin-bottom: 32px;
}

.ai-single-title {
    max-width: 1050px;
}

.ai-single-excerpt {
    max-width: 900px;
}

.ai-single-meta {
    align-items: center;
}

.ai-single-author strong {
    color: var(--ai-text);
}


/* ============================================================
   SINGLE — IMAGEN PRINCIPAL
   ============================================================ */

.ai-featured-image {
    width: 100%;
    margin: 0 0 32px;
}

.ai-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ai-featured-image figcaption {
    max-width: 1100px;
    margin: 7px auto 0;
}


/* ============================================================
   SINGLE — PUBLICIDAD
   ============================================================ */

.ai-single-ad {
    width: 100%;
    margin: 30px 0;
    text-align: center;
}

.ai-single-ad-top {
    padding: 10px 0 20px;
    border-top: 1px solid var(--ai-border);
    border-bottom: 1px solid var(--ai-border);
}

.ai-single-ad-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--ai-border);
}


/* ============================================================
   SINGLE — CONTENIDO
   ============================================================ */

.ai-entry-content {
    max-width: 820px;
    margin-inline: auto;
    font-size: 18px;
    line-height: 1.75;
}

.ai-entry-content > * {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.ai-entry-content h2,
.ai-entry-content h3,
.ai-entry-content h4 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.2;
}

.ai-entry-content h2 {
    font-size: 30px;
}

.ai-entry-content h3 {
    font-size: 25px;
}

.ai-entry-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.ai-entry-content img {
    max-width: 100%;
    height: auto;
}

.ai-entry-content blockquote {
    margin-inline: 0;
    padding: 15px 20px;
    border-left: 4px solid #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.45;
}


/* ============================================================
   SINGLE — ETIQUETAS
   ============================================================ */

.ai-single-tags {
    max-width: 820px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--ai-border);
}

.ai-single-tags-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.ai-single-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ai-single-tags-list a {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid var(--ai-border);
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
}

.ai-single-tags-list a:hover,
.ai-single-tags-list a:focus {
    border-color: #111;
}


/* ============================================================
   SINGLE — NAVEGACIÓN
   ============================================================ */

.ai-single-navigation {
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin: 45px auto 0;
    padding-top: 25px;
    border-top: 2px solid #111;
}

.ai-single-navigation-prev,
.ai-single-navigation-next {
    min-width: 0;
}

.ai-single-navigation-next {
    text-align: right;
}

.ai-navigation-label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ai-muted);
}

.ai-single-navigation a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.3;
    text-decoration: none;
}

.ai-single-navigation a:hover,
.ai-single-navigation a:focus {
    text-decoration: underline;
}


/* ============================================================
   SINGLE — MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .ai-single-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ai-single-sidebar {
        position: static;
        width: 100%;
    }

    .ai-single-sidebar .ai-ad-slot {
        margin-left: auto;
        margin-right: auto;
    }

    .ai-entry-content {
        max-width: 100%;
    }

    .ai-single-tags,
    .ai-single-navigation {
        max-width: 100%;
    }

}


@media (max-width: 700px) {

    .ai-single-header {
        margin-bottom: 24px;
    }

    .ai-single-title {
        font-size: 40px;
        line-height: 1.04;
    }

    .ai-single-excerpt {
        margin-top: 16px;
        font-size: 19px;
        line-height: 1.5;
    }

    .ai-single-meta {
        font-size: 12px;
        line-height: 1.5;
    }

    .ai-featured-image {
        margin-bottom: 25px;
    }

    .ai-single-ad-top {
        margin-top: 20px;
        padding-top: 12px;
        padding-bottom: 18px;
    }

    .ai-entry-content > p:first-child {
        font-size: 18px;
        line-height: 1.7;
    }

    .ai-single-navigation {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ai-single-navigation-next {
        text-align: left;
    }

}


@media (max-width: 480px) {

    .ai-single-title {
        font-size: 34px;
    }

    .ai-single-excerpt {
        font-size: 18px;
    }

    .ai-single-meta {
        gap: 5px;
    }

    .ai-entry-content {
        font-size: 17px;
        line-height: 1.72;
    }

    .ai-entry-content > p:first-child {
        font-size: 18px;
    }

}


/* ============================================================
   ARGENTINA INFORMADA
   SINGLE — HERO EDITORIAL 60/40
   ============================================================ */

/*
 * Hero principal del artículo.
 *
 * Izquierda:
 *   60% — imagen destacada.
 *
 * Derecha:
 *   40% — información editorial + publicidad.
 *
 * El hero ocupa como mínimo todo el alto visible.
 */

.ai-single-hero {
    position: relative;
    display: grid;
    grid-template-columns: 60% 40%;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #0b0b0b;
    color: #fff;
}


/* ============================================================
   IMAGEN — 60%
   ============================================================ */

.ai-single-hero-image {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #111;
}

.ai-single-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100svh;
    object-fit: cover;
    object-position: center center;
}


/*
 * Oscurecimiento muy leve sobre la imagen.
 *
 * No buscamos taparla: solamente integrarla visualmente
 * con el fondo oscuro del panel derecho.
 */

.ai-single-hero-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0.08) 70%,
        rgba(0, 0, 0, 0.22) 100%
    );
}


/*
 * Cuando el artículo no tiene imagen destacada.
 */

.ai-single-hero-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background:
        linear-gradient(
            135deg,
            #181818 0%,
            #0b0b0b 100%
        );
}


/* ============================================================
   PANEL DERECHO — 40%
   ============================================================ */

.ai-single-hero-content {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: #0b0b0b;
}


.ai-single-hero-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 680px;
    min-height: 100%;
    margin: 0 auto;
    padding: 46px 58px 42px;
    box-sizing: border-box;
}


/* ============================================================
   BREADCRUMBS
   ============================================================ */

.ai-single-hero-breadcrumbs {
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.48);
}


.ai-single-hero-breadcrumbs a {
    color: rgba(255, 255, 255, 0.62);
}


.ai-single-hero-breadcrumbs a:hover,
.ai-single-hero-breadcrumbs a:focus {
    color: #fff;
}


/* ============================================================
   CATEGORÍA
   ============================================================ */

.ai-single-hero-category {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
}


.ai-single-hero-category:hover,
.ai-single-hero-category:focus {
    color: #fff;
}


/* ============================================================
   TÍTULO
   ============================================================ */

.ai-single-hero-title {
    max-width: none;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3.2vw, 54px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
}


/* ============================================================
   BAJADA
   ============================================================ */

.ai-single-hero-excerpt {
    max-width: 620px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.55;
}


.ai-single-hero-excerpt p {
    margin: 0;
}


/* ============================================================
   PUBLICIDAD DEL HERO
   ============================================================ */

.ai-single-hero-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 282px;
    margin-top: auto;
    padding: 18px 0 18px;
    box-sizing: border-box;
}


/*
 * El sistema de publicidad ya genera el rotador.
 * Acá solamente lo integramos visualmente al hero.
 */

.ai-single-hero-ad .ai-ad-slot {
    margin: 0 auto;
}


/*
 * Evitamos que los márgenes originales del slot
 * alteren el centrado del hero.
 */

.ai-single-hero-ad .ai-ad-slot.ai-ad-rotator {
    margin-top: 0;
    margin-bottom: 0;
}


/* ============================================================
   DATOS DE PUBLICACIÓN
   ============================================================ */

.ai-single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 1.5;
}


.ai-single-hero-meta strong {
    color: rgba(255, 255, 255, 0.88);
}


.ai-single-hero-meta time {
    color: rgba(255, 255, 255, 0.48);
}


/* ============================================================
   CONTENIDO POST-HERO
   ============================================================ */

.ai-single-main > .ai-container {
    background: #fff;
}


.ai-single-main > .ai-container .ai-single-layout {
    padding-top: 55px;
    padding-bottom: 70px;
}


/*
 * Caption de la imagen destacada.
 *
 * La imagen ya fue mostrada en el hero; acá dejamos
 * solamente el crédito/caption si existe.
 */

.ai-single-image-caption {
    max-width: 820px;
    margin: 0 auto 25px;
    color: var(--ai-muted);
    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   RESPONSIVE — TABLETS
   ============================================================ */

@media (max-width: 1100px) {

    .ai-single-hero {
        grid-template-columns: 55% 45%;
    }

    .ai-single-hero-inner {
        padding: 38px 40px 35px;
    }

    .ai-single-hero-title {
        font-size: clamp(38px, 4.5vw, 58px);
    }

}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .ai-single-hero {
        display: flex;
        flex-direction: column;
        min-height: auto;
        overflow: visible;
    }


    /* Imagen arriba */

    .ai-single-hero-image {
        width: 100%;
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 10;
    }


    .ai-single-hero-image img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
    }


    .ai-single-hero-image-placeholder {
        min-height: 0;
        height: 100%;
    }


    /* Contenido debajo */

    .ai-single-hero-content {
        min-height: 0;
    }


    .ai-single-hero-inner {
        min-height: 0;
        max-width: none;
        padding: 30px 24px 32px;
    }


    .ai-single-hero-breadcrumbs {
        margin-bottom: 25px;
    }


    .ai-single-hero-title {
        font-size: clamp(38px, 9vw, 54px);
        line-height: 1.01;
    }


    .ai-single-hero-excerpt {
        font-size: 17px;
    }


    .ai-single-hero-ad {
        margin-top: 30px;
        padding: 0 0 25px;
    }


    .ai-single-hero-meta {
        padding-top: 18px;
    }


    .ai-single-main > .ai-container .ai-single-layout {
        padding-top: 35px;
        padding-bottom: 50px;
    }

}


/* ============================================================
   RESPONSIVE — TELÉFONOS PEQUEÑOS
   ============================================================ */

@media (max-width: 480px) {

    .ai-single-hero-image {
        aspect-ratio: 4 / 3;
    }


    .ai-single-hero-inner {
        padding: 25px 18px 28px;
    }


    .ai-single-hero-title {
        font-size: 36px;
    }


    .ai-single-hero-excerpt {
        font-size: 16px;
        line-height: 1.5;
    }


    .ai-single-hero-ad {
        transform: scale(.94);
        transform-origin: center center;
    }

}


/* ============================================================
   ACCESIBILIDAD — REDUCIR MOVIMIENTO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ai-single-hero *,
    .ai-single-hero *::before,
    .ai-single-hero *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}

