/*
Theme Name: Átomo × Átomo – Astra Child
Theme URI: https://atomoxatomo.smctsm.org.mx/
Description: Tema hijo de Astra para la revista Átomo × Átomo – Materiales Novedosos.
Author: SMCTSM
Template: astra
Version: 1.18.0
Text Domain: atomo-astra-child
*/

/* =========================================================
   ÁTOMO × ÁTOMO — Plantilla de artículos
   ========================================================= */

:root {
    --atomo-blue: #103d86;
    --atomo-deep: #071423;
    --atomo-orange: #f28a24;
    --atomo-cyan: #00a8e8;
    --atomo-text: #20262e;
    --atomo-muted: #667085;
    --atomo-line: #e5e7eb;
    --atomo-soft: #f5f7fa;
    --atomo-summary: #f4f3e9;
    --atomo-white: #ffffff;
}

.atomo-article {
    background: var(--atomo-white);
    color: var(--atomo-text);
}

.atomo-article__wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 88px;
}

.atomo-article__header {
    max-width: 980px;
    margin-bottom: 38px;
}

.atomo-article__section {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.atomo-article__section a {
    color: var(--atomo-orange);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.3px;
    font-size: 12px;
}

.atomo-article__title {
    margin: 0;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(38px, 5.3vw, 68px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.atomo-article__subtitle {
    margin: 16px 0 0;
    max-width: 920px;
    color: #111827;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(24px, 2.7vw, 36px);
    line-height: 1.16;
    font-weight: 600;
}

.atomo-article__byline {
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.55;
}

.atomo-article__authors {
    color: var(--atomo-blue);
    font-weight: 700;
}

.atomo-article__affiliation {
    margin-top: 5px;
    max-width: 860px;
    color: var(--atomo-muted);
    font-size: 15px;
    line-height: 1.55;
}

.atomo-article__correspondence {
    margin-top: 9px;
    color: var(--atomo-muted);
    font-size: 14px;
}

.atomo-article__correspondence a {
    color: var(--atomo-blue);
}

.atomo-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--atomo-line);
    color: #475467;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .55px;
}

.atomo-article__meta a {
    color: var(--atomo-blue);
    text-decoration: none;
}

.atomo-article__meta-sep {
    color: #c3c8d0;
}

.atomo-article__hero {
    margin: 0 0 44px;
}

.atomo-article__hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: cover;
}

.atomo-article__credit {
    margin-top: 9px;
    color: var(--atomo-muted);
    font-size: 12px;
    line-height: 1.45;
}

.atomo-article__summary {
    max-width: 980px;
    margin: 0 0 34px;
    padding: 32px 36px;
    background: var(--atomo-summary);
    border-left: 5px solid var(--atomo-orange);
}

.atomo-article__eyebrow {
    margin: 0 0 12px;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.atomo-article__summary-content {
    font-size: 18px;
    line-height: 1.68;
}

.atomo-article__summary-content > *:last-child {
    margin-bottom: 0;
}

.atomo-article__keywords {
    max-width: 980px;
    margin-bottom: 30px;
}

.atomo-article__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.atomo-article__chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #d8dee8;
    color: #344054;
    background: #fff;
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
}

.atomo-article__chip:hover {
    border-color: var(--atomo-blue);
    color: var(--atomo-blue);
}

.atomo-article__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 980px;
    margin: 0 0 46px;
}

.atomo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 2px solid var(--atomo-blue);
    background: var(--atomo-blue);
    color: #fff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
    text-decoration: none !important;
}

.atomo-button:hover {
    background: var(--atomo-deep);
    border-color: var(--atomo-deep);
}

.atomo-button--secondary {
    background: transparent;
    color: var(--atomo-blue) !important;
}

.atomo-button--secondary:hover {
    background: var(--atomo-blue);
    color: #fff !important;
}

.atomo-article__content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.78;
}

.atomo-article__content h2,
.atomo-article__content h3,
.atomo-article__content h4 {
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.18;
}

.atomo-article__content h2 {
    margin-top: 48px;
    font-size: 32px;
}

.atomo-article__content h3 {
    margin-top: 38px;
    font-size: 24px;
}

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

.atomo-article__edition {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 26px;
    align-items: center;
    max-width: 980px;
    margin: 64px 0 0;
    padding: 26px;
    background: var(--atomo-soft);
    border-top: 4px solid var(--atomo-blue);
}

.atomo-article__edition-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.atomo-article__edition h2 {
    margin: 4px 0 6px;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 25px;
    line-height: 1.15;
}

.atomo-article__edition-date {
    margin: 0 0 14px;
    color: var(--atomo-muted);
    font-size: 14px;
}

.atomo-article__topics {
    max-width: 980px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--atomo-line);
}

@media (max-width: 767px) {
    .atomo-article__wrap {
        width: min(100% - 36px, 1180px);
        padding: 44px 0 60px;
    }

    .atomo-article__title {
        letter-spacing: -0.025em;
    }

    .atomo-article__summary {
        padding: 24px 22px;
    }

    .atomo-article__summary-content,
    .atomo-article__content {
        font-size: 17px;
    }

    .atomo-article__edition {
        grid-template-columns: 82px 1fr;
        gap: 18px;
        padding: 20px;
    }

    .atomo-article__meta-sep {
        display: none;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Plantilla de edición
   ========================================================= */

.atomo-edition {
    background: var(--atomo-white);
    color: var(--atomo-text);
}

.atomo-edition__hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(0,168,232,.16), transparent 28%),
        linear-gradient(135deg, #071423 0%, #0a2140 55%, #071423 100%);
    color: #fff;
}

.atomo-edition__hero-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(250px, 380px) 1fr;
    gap: 72px;
    align-items: center;
    padding: 72px 0;
}

.atomo-edition__cover {
    margin: 0;
}

.atomo-edition__cover img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 24px 55px rgba(0,0,0,.34);
}

.atomo-edition__kicker {
    margin: 0 0 14px;
    color: var(--atomo-orange);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.atomo-edition__title {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.atomo-edition__date {
    margin: 18px 0 0;
    color: #dce7f4;
    font-size: 18px;
    font-weight: 600;
}

.atomo-edition__summary {
    margin: 24px 0 0;
    max-width: 720px;
    color: #e9eef5;
    font-size: 18px;
    line-height: 1.65;
}

.atomo-edition__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 26px;
    color: #bfcddd;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.atomo-edition__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.atomo-edition__hero .atomo-button--secondary {
    border-color: #fff;
    color: #fff !important;
}

.atomo-edition__hero .atomo-button--secondary:hover {
    background: #fff;
    color: var(--atomo-deep) !important;
}

.atomo-edition__body {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 90px;
}

.atomo-edition__intro {
    max-width: 850px;
    margin-bottom: 56px;
    font-size: 18px;
    line-height: 1.75;
}

.atomo-edition__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--atomo-line);
}

.atomo-edition__section-head h2 {
    margin: 0;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.08;
}

.atomo-edition__count {
    color: var(--atomo-muted);
    font-size: 14px;
    font-weight: 700;
}

.atomo-edition__articles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.atomo-edition-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 190px;
    border: 1px solid var(--atomo-line);
    background: #fff;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.atomo-edition-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 26px rgba(16,61,134,.08);
}

.atomo-edition-card__image {
    background: #eef2f6;
}

.atomo-edition-card__image a,
.atomo-edition-card__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.atomo-edition-card__image img {
    object-fit: cover;
}

.atomo-edition-card__number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    color: #fff;
    background: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 34px;
    font-weight: 800;
}

.atomo-edition-card__content {
    padding: 21px 22px;
}

.atomo-edition-card__section {
    margin-bottom: 8px;
    color: var(--atomo-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .85px;
    text-transform: uppercase;
}

.atomo-edition-card__title {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 800;
}

.atomo-edition-card__title a {
    color: var(--atomo-blue);
    text-decoration: none;
}

.atomo-edition-card__subtitle {
    margin: 7px 0 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.4;
}

.atomo-edition-card__authors {
    margin: 12px 0 0;
    color: #344054;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.atomo-edition-card__pages {
    margin: 10px 0 0;
    color: var(--atomo-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.atomo-edition__empty {
    padding: 32px;
    background: var(--atomo-soft);
    border-left: 4px solid var(--atomo-orange);
}

@media (max-width: 900px) {
    .atomo-edition__hero-wrap {
        grid-template-columns: 260px 1fr;
        gap: 42px;
    }

    .atomo-edition__articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .atomo-edition__hero-wrap,
    .atomo-edition__body {
        width: min(100% - 36px, 1180px);
    }

    .atomo-edition__hero-wrap {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 46px 0 52px;
    }

    .atomo-edition__cover {
        max-width: 290px;
        margin: 0 auto;
    }

    .atomo-edition__body {
        padding: 52px 0 68px;
    }

    .atomo-edition-card {
        grid-template-columns: 105px 1fr;
        min-height: 160px;
    }

    .atomo-edition-card__content {
        padding: 17px;
    }

    .atomo-edition-card__title {
        font-size: 18px;
    }

    .atomo-edition__section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Archivo de ediciones
   ========================================================= */

.atomo-editions-archive {
    background: #fff;
    color: var(--atomo-text);
}

.atomo-editions-archive__hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(0,168,232,.15), transparent 25%),
        linear-gradient(135deg, #071423 0%, #0b2446 58%, #071423 100%);
    color: #fff;
}

.atomo-editions-archive__hero-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 78px 0 72px;
}

.atomo-editions-archive__kicker {
    margin: 0 0 12px;
    color: var(--atomo-orange);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.atomo-editions-archive__title {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.atomo-editions-archive__lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: #dce7f4;
    font-size: 19px;
    line-height: 1.65;
}

.atomo-editions-archive__body {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.atomo-editions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.atomo-edition-archive-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.atomo-edition-archive-card__cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #eef2f6;
    border: 1px solid var(--atomo-line);
}

.atomo-edition-archive-card__cover a,
.atomo-edition-archive-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
}

.atomo-edition-archive-card__cover img {
    object-fit: cover;
    transition: transform .24s ease;
}

.atomo-edition-archive-card:hover .atomo-edition-archive-card__cover img {
    transform: scale(1.015);
}

.atomo-edition-archive-card__content {
    padding-top: 20px;
}

.atomo-edition-archive-card__date {
    margin: 0 0 7px;
    color: var(--atomo-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .85px;
    text-transform: uppercase;
}

.atomo-edition-archive-card__title {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 800;
}

.atomo-edition-archive-card__title a {
    color: var(--atomo-blue);
    text-decoration: none;
}

.atomo-edition-archive-card__title a:hover {
    color: var(--atomo-deep);
}

.atomo-edition-archive-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
    color: var(--atomo-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.atomo-edition-archive-card__excerpt {
    margin-top: 14px;
    color: #475467;
    font-size: 15px;
    line-height: 1.55;
}

.atomo-edition-archive-card__action {
    margin-top: 18px;
}

.atomo-editions-archive__empty {
    padding: 34px;
    background: var(--atomo-soft);
    border-left: 4px solid var(--atomo-orange);
}

@media (max-width: 980px) {
    .atomo-editions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .atomo-editions-archive__hero-inner,
    .atomo-editions-archive__body {
        width: min(100% - 36px, 1180px);
    }

    .atomo-editions-archive__hero-inner {
        padding: 52px 0 50px;
    }

    .atomo-editions-archive__body {
        padding: 50px 0 68px;
    }

    .atomo-editions-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .atomo-edition-archive-card__cover {
        max-width: 340px;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Archivo de artículos
   ========================================================= */

.atomo-articles-archive {
    background: #fff;
    color: var(--atomo-text);
}

.atomo-articles-archive__hero {
    background:
        radial-gradient(circle at 82% 22%, rgba(0,168,232,.15), transparent 26%),
        linear-gradient(135deg, #071423 0%, #0b2446 58%, #071423 100%);
    color: #fff;
}

.atomo-articles-archive__hero-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0 68px;
}

.atomo-articles-archive__kicker {
    margin: 0 0 12px;
    color: var(--atomo-orange);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.atomo-articles-archive__title {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.atomo-articles-archive__lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: #dce7f4;
    font-size: 19px;
    line-height: 1.65;
}

.atomo-articles-archive__body {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 56px 0 90px;
}

.atomo-articles-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 42px;
    padding: 22px;
    background: var(--atomo-soft);
    border: 1px solid var(--atomo-line);
}

.atomo-articles-filter__field label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.atomo-articles-filter input[type="search"],
.atomo-articles-filter select {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #cfd6df;
    border-radius: 0;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
}

.atomo-articles-filter__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.atomo-articles-filter .atomo-button {
    min-height: 44px;
    padding: 10px 16px;
}

.atomo-articles-archive__results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.atomo-articles-archive__results h2 {
    margin: 0;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.1;
}

.atomo-articles-archive__count {
    color: var(--atomo-muted);
    font-size: 14px;
    font-weight: 700;
}

.atomo-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}

.atomo-article-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--atomo-line);
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.atomo-article-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 26px rgba(16,61,134,.08);
}

.atomo-article-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f6;
}

.atomo-article-card__image a,
.atomo-article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.atomo-article-card__image img {
    object-fit: cover;
}

.atomo-article-card__fallback {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(0,168,232,.2), transparent 30%),
        linear-gradient(135deg, #071423, #103d86);
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
}

.atomo-article-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.atomo-article-card__section {
    margin-bottom: 8px;
    color: var(--atomo-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .85px;
    text-transform: uppercase;
}

.atomo-article-card__title {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.17;
    font-weight: 800;
}

.atomo-article-card__title a {
    color: var(--atomo-blue);
    text-decoration: none;
}

.atomo-article-card__subtitle {
    margin: 8px 0 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.42;
}

.atomo-article-card__authors {
    margin: 13px 0 0;
    color: #344054;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.atomo-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #edf0f4;
    color: var(--atomo-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.atomo-article-card__action {
    margin-top: auto;
    padding-top: 18px;
}

.atomo-articles-pagination {
    margin-top: 48px;
}

.atomo-articles-pagination .page-numbers {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    border: 1px solid var(--atomo-line);
    color: var(--atomo-blue);
    text-decoration: none;
    font-weight: 700;
}

.atomo-articles-pagination .page-numbers.current {
    background: var(--atomo-blue);
    border-color: var(--atomo-blue);
    color: #fff;
}

.atomo-articles-archive__empty {
    padding: 34px;
    background: var(--atomo-soft);
    border-left: 4px solid var(--atomo-orange);
}

@media (max-width: 980px) {
    .atomo-articles-filter {
        grid-template-columns: 1fr 1fr;
    }

    .atomo-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .atomo-articles-archive__hero-inner,
    .atomo-articles-archive__body {
        width: min(100% - 36px, 1180px);
    }

    .atomo-articles-archive__hero-inner {
        padding: 52px 0 50px;
    }

    .atomo-articles-archive__body {
        padding: 46px 0 68px;
    }

    .atomo-articles-filter {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .atomo-articles-grid {
        grid-template-columns: 1fr;
    }

    .atomo-articles-archive__results {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Portada / Home
   ========================================================= */

.atomo-home {
    background: #fff;
    color: var(--atomo-text);
}

.atomo-home__hero {
    background:
        radial-gradient(circle at 80% 22%, rgba(0,168,232,.18), transparent 24%),
        linear-gradient(135deg, #071423 0%, #0a2140 58%, #071423 100%);
    color: #fff;
}

.atomo-home__hero-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 64px;
    align-items: center;
    min-height: 680px;
    padding: 76px 0;
}

.atomo-home__eyebrow {
    margin: 0 0 14px;
    color: var(--atomo-orange);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.atomo-home__hero-title {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(48px, 6.8vw, 86px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.atomo-home__hero-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: #dce7f4;
    font-size: 20px;
    line-height: 1.62;
}

.atomo-home__hero-meta {
    margin-top: 24px;
    color: #bfcddd;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .55px;
}

.atomo-home__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.atomo-home__hero .atomo-button--secondary {
    border-color: #fff;
    color: #fff !important;
}

.atomo-home__hero .atomo-button--secondary:hover {
    background: #fff;
    color: var(--atomo-deep) !important;
}

.atomo-home__hero-cover {
    margin: 0;
    justify-self: center;
    width: min(100%, 390px);
}

.atomo-home__hero-cover img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 28px 62px rgba(0,0,0,.38);
}

.atomo-home__section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0;
}

.atomo-home__section--soft {
    width: 100%;
    max-width: none;
    padding: 76px max(24px, calc((100vw - 1180px)/2));
    background: var(--atomo-soft);
}

.atomo-home__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.atomo-home__section-head h2 {
    margin: 0;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.08;
    font-weight: 800;
}

.atomo-home__section-head p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--atomo-muted);
    font-size: 17px;
    line-height: 1.55;
}

.atomo-home__featured {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: center;
}

.atomo-home__featured-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f6;
}

.atomo-home__featured-image a,
.atomo-home__featured-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.atomo-home__featured-image img {
    object-fit: cover;
}

.atomo-home__featured h3 {
    margin: 8px 0 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.03;
    font-weight: 800;
}

.atomo-home__featured h3 a {
    color: var(--atomo-blue);
    text-decoration: none;
}

.atomo-home__featured-subtitle {
    margin: 12px 0 0;
    color: #344054;
    font-size: 21px;
    line-height: 1.35;
}

.atomo-home__featured-authors {
    margin: 18px 0 0;
    color: #344054;
    font-weight: 600;
}

.atomo-home__featured-summary {
    margin: 18px 0 0;
    color: #475467;
    font-size: 17px;
    line-height: 1.65;
}

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

.atomo-home-story {
    border: 1px solid var(--atomo-line);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.atomo-home-story__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f6;
}

.atomo-home-story__image a,
.atomo-home-story__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.atomo-home-story__image img {
    object-fit: cover;
}

.atomo-home-story__body {
    padding: 20px;
}

.atomo-home-story__section {
    color: var(--atomo-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .85px;
    text-transform: uppercase;
}

.atomo-home-story__title {
    margin: 8px 0 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 800;
}

.atomo-home-story__title a {
    color: var(--atomo-blue);
    text-decoration: none;
}

.atomo-home-story__authors {
    margin: 13px 0 0;
    color: #475467;
    font-size: 13px;
    line-height: 1.45;
}

.atomo-home__categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.atomo-home-category {
    display: block;
    min-height: 118px;
    padding: 20px;
    border: 1px solid var(--atomo-line);
    background: #fff;
    color: var(--atomo-blue);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease;
}

.atomo-home-category:hover {
    transform: translateY(-2px);
    border-color: var(--atomo-blue);
}

.atomo-home-category__name {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

.atomo-home-category__count {
    display: block;
    margin-top: 12px;
    color: var(--atomo-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.atomo-home__cta {
    background: var(--atomo-orange);
    color: #fff;
}

.atomo-home__cta-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 38px;
    align-items: center;
    padding: 58px 0;
}

.atomo-home__cta h2 {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.08;
    font-weight: 800;
}

.atomo-home__cta p {
    max-width: 760px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.92);
    font-size: 17px;
    line-height: 1.55;
}

.atomo-home__cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.atomo-home__cta .atomo-button {
    background: #fff;
    border-color: #fff;
    color: var(--atomo-blue) !important;
}

.atomo-home__cta .atomo-button--secondary {
    background: transparent;
    color: #fff !important;
}

.atomo-home__cta .atomo-button--secondary:hover {
    background: #fff;
    color: var(--atomo-blue) !important;
}

@media (max-width: 900px) {
    .atomo-home__hero-inner,
    .atomo-home__featured {
        grid-template-columns: 1fr;
    }

    .atomo-home__hero-inner {
        min-height: 0;
    }

    .atomo-home__hero-cover {
        width: min(72vw, 350px);
    }

    .atomo-home__stories {
        grid-template-columns: 1fr 1fr;
    }

    .atomo-home__categories {
        grid-template-columns: 1fr 1fr;
    }

    .atomo-home__cta-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .atomo-home__hero-inner,
    .atomo-home__section,
    .atomo-home__cta-inner {
        width: min(100% - 36px, 1180px);
    }

    .atomo-home__hero-inner {
        gap: 40px;
        padding: 52px 0;
    }

    .atomo-home__hero-title {
        font-size: clamp(44px, 13vw, 64px);
    }

    .atomo-home__section {
        padding: 54px 0;
    }

    .atomo-home__section--soft {
        padding: 54px 18px;
    }

    .atomo-home__section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .atomo-home__stories,
    .atomo-home__categories {
        grid-template-columns: 1fr;
    }

    .atomo-home__cta-inner {
        padding: 48px 0;
    }
}

/* =========================================================
   ÁTOMO × ÁTOMO — Header y navegación
   ========================================================= */

.main-header-menu .atomo-menu-ojs > a,
.ast-builder-menu .atomo-menu-ojs > a,
.atomo-menu-ojs > a {
    background: var(--atomo-orange) !important;
    color: #fff !important;
    min-height: 42px;
    padding: 11px 17px !important;
    margin-left: 8px;
    border-radius: 3px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    line-height: 1.2;
}

.main-header-menu .atomo-menu-ojs > a:hover,
.ast-builder-menu .atomo-menu-ojs > a:hover,
.atomo-menu-ojs > a:hover {
    background: var(--atomo-deep) !important;
    color: #fff !important;
}

.site-header {
    border-bottom: 1px solid #e8edf3;
}

.site-header .menu-link {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 650;
}

@media (max-width: 921px) {
    .main-header-menu .atomo-menu-ojs > a,
    .ast-builder-menu .atomo-menu-ojs > a,
    .atomo-menu-ojs > a {
        display: inline-flex !important;
        margin: 12px 18px 18px !important;
        width: auto !important;
    }
}

/* =========================================================
   ÁTOMO × ÁTOMO — Footer editorial
   ========================================================= */

.site-footer {
    display: none !important;
}

.atomo-site-footer {
    margin-top: 0;
    background: #071423;
    color: #dce7f4;
}

.atomo-site-footer__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 32px;
}

.atomo-site-footer__grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1fr;
    gap: 42px;
}

.atomo-site-footer__brand {
    max-width: 380px;
}

.atomo-site-footer__name {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.atomo-site-footer__tagline {
    margin: 8px 0 0;
    color: var(--atomo-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.atomo-site-footer__description {
    margin: 18px 0 0;
    color: #b8c5d3;
    font-size: 14px;
    line-height: 1.65;
}

.atomo-site-footer__heading {
    margin: 2px 0 15px;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.atomo-site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.atomo-site-footer__links li {
    margin: 0 0 9px;
}

.atomo-site-footer__links a {
    color: #c7d3df;
    text-decoration: none;
    font-size: 14px;
}

.atomo-site-footer__links a:hover {
    color: #fff;
}

.atomo-site-footer__ojs {
    color: #fff !important;
    font-weight: 800;
}

.atomo-site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #95a6b8;
    font-size: 12px;
    line-height: 1.5;
}

.atomo-site-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.atomo-site-footer__bottom-links a {
    color: #95a6b8;
    text-decoration: none;
}

.atomo-site-footer__bottom-links a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .atomo-site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .atomo-site-footer__brand {
        grid-column: 1 / -1;
        max-width: 620px;
    }
}

@media (max-width: 640px) {
    .atomo-site-footer__inner {
        width: min(100% - 36px, 1180px);
        padding: 46px 0 28px;
    }

    .atomo-site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
    }

    .atomo-site-footer__brand {
        grid-column: 1 / -1;
    }

    .atomo-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .atomo-site-footer__grid {
        grid-template-columns: 1fr;
    }

    .atomo-site-footer__brand {
        grid-column: auto;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Páginas institucionales
   ========================================================= */

.atomo-page {
    background: #fff;
    color: var(--atomo-text);
}

.atomo-page__hero {
    background:
        radial-gradient(circle at 82% 20%, rgba(0,168,232,.14), transparent 26%),
        linear-gradient(135deg, #071423 0%, #0b2446 58%, #071423 100%);
    color: #fff;
}

.atomo-page__hero-inner,
.atomo-page__content {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
}

.atomo-page__hero-inner {
    padding: 76px 0 68px;
}

.atomo-page__kicker {
    margin: 0 0 12px;
    color: var(--atomo-orange);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.atomo-page__title {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.atomo-page__lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: #dce7f4;
    font-size: 19px;
    line-height: 1.65;
}

.atomo-page__content {
    padding: 66px 0 88px;
}

.atomo-page__section {
    margin-bottom: 58px;
}

.atomo-page__section:last-child {
    margin-bottom: 0;
}

.atomo-page__section h2 {
    margin: 0 0 18px;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    font-weight: 800;
}

.atomo-page__section h3 {
    margin: 28px 0 12px;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.atomo-page__section p,
.atomo-page__section li {
    color: #344054;
    font-size: 17px;
    line-height: 1.72;
}

.atomo-page__section ul,
.atomo-page__section ol {
    padding-left: 22px;
}

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

.atomo-page-card {
    padding: 24px;
    border: 1px solid var(--atomo-line);
    background: var(--atomo-soft);
}

.atomo-page-card h3 {
    margin-top: 0;
    font-size: 18px;
}

.atomo-page-card p {
    margin-bottom: 0;
    font-size: 15px;
}

.atomo-page__highlight {
    padding: 28px 30px;
    border-left: 5px solid var(--atomo-orange);
    background: #f7f5ec;
}

.atomo-page__highlight p:last-child {
    margin-bottom: 0;
}

.atomo-page__steps {
    counter-reset: atomo-step;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.atomo-page__steps li {
    position: relative;
    padding: 18px 20px 18px 62px;
    border: 1px solid var(--atomo-line);
    background: #fff;
}

.atomo-page__steps li::before {
    counter-increment: atomo-step;
    content: counter(atomo-step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--atomo-blue);
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.atomo-page__cta {
    margin-top: 42px;
    padding: 34px;
    background: var(--atomo-blue);
    color: #fff;
}

.atomo-page__cta h2 {
    color: #fff;
    margin-bottom: 10px;
}

.atomo-page__cta p {
    color: #e5edf7;
}

.atomo-page__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.atomo-page__cta .atomo-button {
    background: var(--atomo-orange);
    border-color: var(--atomo-orange);
}

.atomo-page__cta .atomo-button--secondary {
    background: transparent;
    border-color: #fff;
    color: #fff !important;
}

.atomo-page__cta .atomo-button--secondary:hover {
    background: #fff;
    color: var(--atomo-blue) !important;
}

.atomo-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.atomo-team-card {
    padding: 22px;
    border: 1px solid var(--atomo-line);
    background: #fff;
}

.atomo-team-card__role {
    color: var(--atomo-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.atomo-team-card__name {
    margin: 7px 0 3px;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.atomo-team-card__inst {
    color: var(--atomo-muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .atomo-page__hero-inner,
    .atomo-page__content {
        width: min(100% - 36px, 1040px);
    }

    .atomo-page__hero-inner {
        padding: 52px 0 50px;
    }

    .atomo-page__content {
        padding: 50px 0 66px;
    }

    .atomo-page__cards,
    .atomo-team-grid {
        grid-template-columns: 1fr;
    }

    .atomo-page__cta {
        padding: 26px 22px;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Contacto y privacidad
   ========================================================= */

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

.atomo-contact-card {
    padding: 26px;
    border: 1px solid var(--atomo-line);
    background: #fff;
}

.atomo-contact-card__label {
    margin-bottom: 8px;
    color: var(--atomo-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .85px;
    text-transform: uppercase;
}

.atomo-contact-card__title {
    margin: 0;
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 800;
}

.atomo-contact-card__text {
    margin: 12px 0 0;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}

.atomo-contact-card__action {
    margin-top: 20px;
}

.atomo-privacy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 28px;
    color: var(--atomo-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.atomo-privacy-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.atomo-privacy-list li {
    padding: 16px 18px;
    border-left: 4px solid var(--atomo-blue);
    background: var(--atomo-soft);
}

@media (max-width: 760px) {
    .atomo-contact-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Segunda pasada editorial de artículos
   v1.14
   ========================================================= */

/* La imagen destacada nunca debe recortarse como si fuera un banner. */
.atomo-article__hero {
    max-width: 1080px;
}

.atomo-article__hero img {
    object-fit: contain;
    background: #fff;
}

/* Lectura larga: ritmo editorial. */
.atomo-article__content > p {
    margin-top: 0;
    margin-bottom: 1.35em;
}

.atomo-article__content > h2 {
    scroll-margin-top: 110px;
    margin-bottom: 18px;
    padding-top: 4px;
}

.atomo-article__content > h3 {
    scroll-margin-top: 110px;
    margin-bottom: 14px;
}

.atomo-article__content > h2 + p,
.atomo-article__content > h3 + p {
    margin-top: 0;
}

.atomo-article__content a {
    color: var(--atomo-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.atomo-article__content ul,
.atomo-article__content ol {
    margin: 1.2em 0 1.6em;
    padding-left: 1.45em;
}

.atomo-article__content li {
    margin-bottom: .62em;
}

.atomo-article__content li::marker {
    color: var(--atomo-blue);
    font-weight: 700;
}

/* Figuras científicas: permiten aprovechar más ancho que la columna de texto. */
.atomo-article__content figure.wp-block-image {
    width: min(1040px, calc(100vw - 48px));
    max-width: none;
    margin: 42px 0 46px 50%;
    transform: translateX(-50%);
    text-align: center;
}

.atomo-article__content figure.wp-block-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid #edf0f4;
}

.atomo-article__content figcaption {
    max-width: 820px;
    margin: 12px auto 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}

.atomo-article__content figcaption strong {
    color: #344054;
}

/* Referencias: ayudan a escanear listas largas. */
.atomo-article__content h2:last-of-type + ol,
.atomo-article__content h2 + ol {
    padding-left: 1.7em;
}

.atomo-article__content ol li {
    padding-left: .25em;
}

.atomo-article__content hr {
    margin: 48px 0 34px;
    border: 0;
    border-top: 1px solid var(--atomo-line);
}

/* Declaraciones editoriales, notas y créditos al final de algunos textos. */
.atomo-article__content hr + p small,
.atomo-article__content p > small {
    display: block;
    padding: 18px 20px;
    background: var(--atomo-soft);
    border-left: 4px solid var(--atomo-orange);
    color: #475467;
    font-size: 13px;
    line-height: 1.65;
}

/* Tablas, por si números posteriores las usan. */
.atomo-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
}

.atomo-article__content th,
.atomo-article__content td {
    padding: 11px 12px;
    border: 1px solid var(--atomo-line);
    text-align: left;
    vertical-align: top;
}

.atomo-article__content th {
    background: var(--atomo-soft);
    color: var(--atomo-blue);
    font-weight: 800;
}

/* Navegación secuencial dentro de la edición. */
.atomo-article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 980px;
    margin-top: 54px;
    padding-top: 26px;
    border-top: 1px solid var(--atomo-line);
}

.atomo-article-nav__item {
    display: flex;
    flex-direction: column;
    min-height: 132px;
    padding: 20px 22px;
    border: 1px solid var(--atomo-line);
    background: #fff;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.atomo-article-nav__item:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 26px rgba(16,61,134,.08);
}

.atomo-article-nav__item--next {
    text-align: right;
}

.atomo-article-nav__label {
    margin-bottom: 8px;
    color: var(--atomo-orange);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.atomo-article-nav__title {
    color: var(--atomo-blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.32;
    font-weight: 800;
}

.atomo-article-nav__empty {
    visibility: hidden;
}

/* El bloque "Publicado en" queda integrado con la navegación. */
.atomo-article__edition {
    margin-top: 34px;
}

@media (max-width: 767px) {
    .atomo-article__content figure.wp-block-image {
        width: calc(100vw - 36px);
        margin-top: 32px;
        margin-bottom: 36px;
    }

    .atomo-article__content figcaption {
        font-size: 12.5px;
    }

    .atomo-article-nav {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .atomo-article-nav__item--next {
        text-align: left;
    }

    .atomo-article-nav__empty {
        display: none;
    }

    .atomo-article__edition {
        margin-top: 28px;
    }
}


/* =========================================================
   ÁTOMO × ÁTOMO — Colaboración institucional
   ========================================================= */

.atomo-home__collaboration {
    margin: 18px 0 0;
    color: #b9c7d8;
    font-size: 13px;
    line-height: 1.55;
}

.atomo-home__collaboration strong {
    color: #fff;
}

.atomo-institution-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}


/* =========================================================
   ÁTOMO × ÁTOMO — Accesibilidad y rendimiento percibido
   v1.18
   ========================================================= */

/* Foco de teclado claramente visible. */
.atomo-article a:focus-visible,
.atomo-home a:focus-visible,
.atomo-page a:focus-visible,
.atomo-site-footer a:focus-visible,
.atomo-button:focus-visible,
.atomo-article-nav__item:focus-visible {
    outline: 3px solid var(--atomo-orange);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Evita que textos largos, DOI o correos rompan el layout. */
.atomo-article,
.atomo-page,
.atomo-site-footer {
    overflow-wrap: anywhere;
}

/* Área táctil mínima razonable para controles editoriales. */
.atomo-button,
.atomo-article-nav__item {
    min-height: 44px;
}

/* Las imágenes nunca desbordan su contenedor. */
.atomo-article img,
.atomo-page img,
.atomo-home img {
    max-width: 100%;
    height: auto;
}

/* Respeta a usuarios que reducen animaciones en el sistema. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Mejor legibilidad en pantallas pequeñas. */
@media (max-width: 767px) {
    .atomo-article__content {
        font-size: 17px;
        line-height: 1.75;
    }

    .atomo-article__content p,
    .atomo-article__content li {
        hyphens: auto;
    }
}
