/* =====================================================
   JRN AI MAGAZINE
   CSS EDITORIAL UNIFICADO
   NOVIEMBRE 2026

   Corrección de:
   - Alineación de publicaciones
   - Encabezados a la izquierda
   - Cuadrículas y espacios
   - Galerías panorámicas
   - Adaptación a móviles

   Sin modificaciones de PHP ni JavaScript
   ===================================================== */


/* 01. BASE GENERAL */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    max-width: 100%;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

.container {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.featured-grid,
.post-grid,
.content-grid,
.footer-grid,
.topics {
    min-width: 0;
}

.featured-grid > *,
.post-grid > *,
.content-grid > *,
.footer-grid > *,
.topics > * {
    min-width: 0;
}


/* 02. CABECERA PRINCIPAL */

.hero {
    max-width: 100%;
    min-width: 0;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(32px, 4.2vw, 53px);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

.hero p {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.6;
}


/* 03. ALINEACIÓN DE SECCIONES */

main .section-heading,
main .section-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 24px;
}

main .section-heading h2,
main .section-title h2 {
    font-family: Lora, Georgia, serif;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    margin: 0;
    padding: 0;
}

.jrn-tea-intro h2,
.divider-section .section-heading h2 {
    font-family: Lora, Georgia, serif;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    color: #24556b;
    text-align: left;
    margin: 0;
    padding: 0;
}

/* No introducir márgenes laterales adicionales
   en los encabezados interiores */

.divider-section .section-heading {
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
    padding: 0;
    text-align: left;
}

/* El título del salón conserva el ancho
   del contenedor editorial */

.jrn-tea-intro {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0;
    text-align: left;
}

.jrn-tea-section,
.divider-section {
    padding-top: 28px;
}


/* 04. PUBLICACIONES — CUADRÍCULAS */

.featured-grid,
.post-grid {
    align-items: stretch;
    row-gap: 32px;
    column-gap: 24px;
}

/* Distribución de escritorio */

@media screen and (min-width: 851px) {

    main .featured-grid,
    main .post-grid {
        display: grid;
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 32px 24px;
        width: 100%;
        align-items: stretch;
    }

    main .featured-grid > .lead {
        grid-column: auto;
        grid-row: auto;
    }

    main .featured-grid .story img,
    main .post-grid .story img {
        display: block;
        width: 100%;
        height: 280px;
        object-fit: cover;
        object-position: center;
    }
}


/* 05. TARJETAS EDITORIALES */

.featured-grid > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.featured-grid > div > .story,
.post-grid > .story,
.story {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 0 18px;
}

/* Imágenes de proporción uniforme */

.story .story-visual {
    display: block;
    width: 100%;
    aspect-ratio: 850 / 580;
    overflow: hidden;
    margin: 0 0 14px;
    background: #e8f0f2;
}

.story .story-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fechas y categorías */

.story .meta {
    margin: 0 0 9px;
    padding: 0;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b67a43;
    text-align: left;
}

/* Títulos */

.story h3 {
    font-family: Lora, Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.28;
    margin: 0 0 12px;
    padding: 0;
    min-height: 2.56em;
    text-align: left;
}

.story h3 a {
    color: #234052;
    text-decoration: none;
}

.story h3 a:hover {
    color: #24556b;
}

/* Descripciones */

.story > p {
    font-size: 16px;
    line-height: 1.65;
    color: #587184;
    margin: 0 0 18px;
    padding: 0;
    text-align: left;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Enlaces alineados al final */

.story .story-link,
.featured-grid .story > .story-link,
.post-grid .story > .story-link {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 12px;
    color: #24556b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    text-align: left;
}

.story .story-link:hover {
    text-decoration: underline;
}


/* 06. TIPOGRAFÍA DE PUBLICACIONES
   ESCRITORIO */

@media screen and (min-width: 851px) {

    .featured-grid .story > h3,
    .post-grid .story > h3 {
        font-size: 25px;
        line-height: 1.3;
        font-weight: 400;
    }

    .featured-grid .story > p,
    .post-grid .story > p {
        font-size: 17px;
        line-height: 1.55;
    }

    .featured-grid .story > .meta,
    .post-grid .story > .meta {
        font-size: 12px;
        line-height: 1.5;
    }

    .featured-grid .story > .story-link,
    .post-grid .story > .story-link {
        font-size: 15px;
    }
}


/* 07. LATEST PUBLICATIONS */

.all-posts {
    margin-top: 0;
    margin-bottom: 0;
}

.all-posts .section-heading {
    margin-top: 0;
    margin-bottom: 22px;
    text-align: left;
}

.all-posts .post-grid {
    margin-top: 0;
}

/* Eliminar compensaciones negativas
   que producían solapamientos */

@media screen and (min-width: 851px) {

    .featured-grid {
        margin-bottom: 0;
    }

    .topics {
        margin-bottom: 0;
    }

    .all-posts {
        padding-top: 20px;
        padding-bottom: 30px;
    }
}

/* Enlace para ver más publicaciones */

.all-posts .button-primary {
    display: inline-block;
    background: transparent !important;
    color: #24556b !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: lowercase !important;
}

.all-posts .button-primary:hover {
    background: transparent !important;
    color: #b67a43 !important;
    text-decoration: underline;
}


/* 08. GALERÍA EDITORIAL PANORÁMICA */

.divider-section .jrn-topics-panorama {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
}

.divider-section .jrn-topics-panorama img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.divider-section .topics {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    align-items: stretch;
}

.divider-section .topics > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.category-card,
.editorial-card {
    box-sizing: border-box;
    height: 100%;
}

/* Anchura editorial de escritorio */

@media screen and (min-width: 851px) {

    main > .section.container,
    main > .divider-section > .container {
        width: calc(100% - 48px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .divider-section .topics {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}


/* 09. THE TEA LOUNGE */

#jrn-tea {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    background: #24556b;
    color: #fff;
}

#jrn-tea .jrn-tea-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

#jrn-tea .jrn-tea-overlay {
    background: linear-gradient(
        to bottom,
        rgba(18,49,64,0) 0%,
        rgba(18,49,64,.42) 22%,
        rgba(18,49,64,.78) 65%,
        rgba(18,49,64,.91) 100%
    );
    padding-top: 34px;
}

#jrn-tea .jrn-tea-heading {
    color: #e5c58f;
}

#jrn-tea .jrn-tea-heading span:last-child {
    display: none !important;
}

/* Cinco títulos interactivos */

#jrn-tea .jrn-tea-title {
    font-size: clamp(13px, 1.25vw, 18px);
    line-height: 1.3;
    color: #fff;
    font-weight: 400;
    overflow-wrap: normal;
}

#jrn-tea .jrn-tea-story {
    min-height: 82px;
    padding: 11px 12px;
    background: rgba(20,60,77,.12);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
}

#jrn-tea .jrn-tea-story.is-active,
#jrn-tea .jrn-tea-story:hover {
    background: rgba(20,60,77,.3);
    border-color: #d8b77d;
    color: #fff;
}

#jrn-tea .jrn-tea-number {
    color: #e5c58f;
    font-size: 11px;
    letter-spacing: .12em;
}

/* Flechas */

#jrn-tea .jrn-tea-arrow {
    width: 34px;
    height: 34px;
    background: rgba(20,60,77,.25);
    border: 1px solid rgba(229,197,143,.55);
    border-radius: 50%;
    color: #e5c58f;
    font-size: 16px;
    box-shadow: none;
    cursor: pointer;
}

#jrn-tea .jrn-tea-arrow:hover {
    background: rgba(229,197,143,.18);
}

/* Indicadores */

#jrn-tea .jrn-tea-dot {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(229,197,143,.75);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

#jrn-tea .jrn-tea-dot.is-active {
    background: #e5c58f;
}

/* Enlaces */

#jrn-tea .jrn-tea-actions a {
    color: #f0d2a0;
    text-decoration: none;
}

#jrn-tea .jrn-tea-actions a:hover {
    text-decoration: underline;
}

#jrn-tea a:focus-visible,
#jrn-tea button:focus-visible {
    outline: 2px solid #e5c58f;
    outline-offset: 3px;
}


/* 10. CONTENIDO DE LOS ARTÍCULOS */

.entry-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

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

.entry-content pre {
    max-width: 100%;
    overflow-x: auto;
}

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

.entry-content .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}

/* Tipografía de lectura */

body.single .entry-content {
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.85;
}


/* 11. ARCHIVO EDITORIAL */

body.page .entry-content:has(.wp-block-archives)
.wp-block-archives-list {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 30px 0 60px;
}

body.page .entry-content:has(.wp-block-archives)
.wp-block-archives-list li {
    min-width: 0;
    margin: 0;
    padding: 15px 18px;
    background: #f7f9fa;
    border: 1px solid #dbe5e8;
    border-radius: 3px;
    color: #637784;
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.5;
    transition: background-color .2s ease;
}

body.page .entry-content:has(.wp-block-archives)
.wp-block-archives-list li a {
    color: #24556b;
    font-family: Georgia, serif;
    font-size: 18px;
    text-decoration: none;
}

body.page .entry-content:has(.wp-block-archives)
.wp-block-archives-list li:hover {
    background: #edf3f5;
}

body.page .entry-content:has(.wp-block-archives)
.wp-block-archives-list li a:hover {
    text-decoration: underline;
}


/* 12. FOOTER EDITORIAL */

.site-footer.jrn-editorial-footer
.jrn-editorial-grid {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    justify-content: center;
    align-items: start;
}

.site-footer.jrn-editorial-footer
.jrn-editorial-grid > div {
    min-width: 0;
}

.site-footer.jrn-editorial-footer
.jrn-editorial-grid a {
    overflow-wrap: anywhere;
}

/* Separador superior dorado */

.site-footer.jrn-editorial-footer
.jrn-footer-intro {
    max-width: 1050px;
    border-bottom: 0 !important;
    position: relative;
}

.site-footer.jrn-editorial-footer
.jrn-footer-intro::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #b89964 25%,
        #f1d9a6 50%,
        #b89964 75%,
        transparent 100%
    );
}

/* Separador inferior dorado */

.site-footer.jrn-editorial-footer
.jrn-editorial-bottom {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    border-top: 0 !important;
    position: relative;
}

.site-footer.jrn-editorial-footer
.jrn-editorial-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #b89964 25%,
        #f1d9a6 50%,
        #b89964 75%,
        transparent 100%
    );
}


/* 13. TIMÓN SUPERIOR */

.jrn-header-logo {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain;
}

@keyframes jrn-balanceo-definitivo {

    0%,
    100% {
        transform: rotate(-7deg);
    }

    50% {
        transform: rotate(7deg);
    }
}

@media (prefers-reduced-motion: no-preference) {

    .jrn-brand-identity
    a.jrn-logo-link
    img.jrn-header-logo {
        transform-origin: 50% 50% !important;
        animation:
            jrn-balanceo-definitivo
            4s ease-in-out infinite !important;
    }
}

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

    .jrn-brand-identity
    a.jrn-logo-link
    img.jrn-header-logo {
        animation: none !important;
    }
}


/* 14. OCULTAR SUSCRIPCIÓN FLOTANTE */

.wp-block-jetpack-subscriptions__floating-button,
.wp-block-jetpack-subscriptions__floating-button-wrapper,
.jetpack-subscribe-modal__button,
.jetpack-subscribe-modal__button-wrapper,
.jetpack-subscribe-floating-button,
.jetpack-subscription-modal {
    display: none !important;
}


/* 15. TABLETAS */

@media screen and (max-width: 1050px) {

    .site-footer.jrn-editorial-footer
    .jrn-editorial-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 30px 22px;
    }
}

@media screen and (max-width: 900px) {

    body.page .entry-content:has(.wp-block-archives)
    .wp-block-archives-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 850px) {

    .container {
        width: calc(100% - 36px);
    }

    .jrn-tea-intro {
        width: calc(100% - 36px);
    }

    .hero h1 {
        font-size: clamp(32px, 5vw, 44px);
    }

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

    .divider-section .topics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    #jrn-tea .jrn-tea-photo {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #jrn-tea .jrn-tea-overlay {
        position: relative;
        background: #24556b;
        padding: 18px 14px;
    }

    #jrn-tea .jrn-tea-title {
        font-size: 14px;
    }

    #jrn-tea .jrn-tea-story {
        min-height: 76px;
    }

    #jrn-tea .jrn-tea-arrow {
        width: 32px;
        height: 32px;
    }
}


/* 16. MÓVILES */

@media screen and (max-width: 700px) {

    .site-footer.jrn-editorial-footer
    .jrn-editorial-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }
}

@media screen and (max-width: 650px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
    }

    .container {
        width: calc(100% - 28px);
        max-width: 100%;
        margin-inline: auto;
    }

    main,
    .site,
    .site-content,
    .brandbar,
    .navline {
        max-width: 100%;
        min-width: 0;
    }

    /* Cabecera */

    .hero {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        overflow: hidden;
    }

    .hero-slide {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .hero-inner {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 18px 32px;
    }

    .hero h1 {
        max-width: 100%;
        margin-top: 0;
        font-size: clamp(27px, 7vw, 31px);
        line-height: 1.2;
        font-weight: 400;
        letter-spacing: 0;
        overflow-wrap: break-word;
    }

    .hero p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.65;
        overflow-wrap: break-word;
    }

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

    /* Publicaciones */

    .featured-grid,
    .post-grid,
    .content-grid,
    .footer-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .featured-grid .story img,
    .featured-grid .story.lead img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.55;
        object-fit: cover;
    }

    .story {
        padding-bottom: 14px;
    }

    .story .story-visual {
        margin-bottom: 12px;
    }

    .story h3 {
        font-size: 21px;
        min-height: 0;
        margin-bottom: 10px;
    }

    .story > p {
        font-size: 15px;
        line-height: 1.6;
    }

    .story .story-link {
        padding-top: 8px;
    }

    .featured-grid,
    .post-grid {
        row-gap: 24px;
    }

    /* Galería */

    .divider-section .topics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .section-heading {
        flex-wrap: wrap;
    }

    .jrn-tea-intro {
        width: calc(100% - 28px);
        margin-bottom: 16px;
        padding: 0;
    }

    .divider-section .section-heading {
        margin-bottom: 16px;
        padding: 0;
    }

    .jrn-tea-intro h2,
    .divider-section .section-heading h2 {
        font-size: 25px;
        text-align: left;
    }

    .jrn-tea-section,
    .divider-section {
        padding-top: 22px;
    }

    /* Salón de té */

    #jrn-tea .jrn-tea-photo {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #jrn-tea .jrn-tea-overlay {
        position: relative;
        background: #24556b;
        padding: 18px 14px;
    }

    #jrn-tea .jrn-tea-title {
        font-size: 14px;
        line-height: 1.4;
    }

    #jrn-tea .jrn-tea-story {
        min-height: 76px;
    }

    /* Lectura */

    body.single .entry-content {
        font-size: 19px;
    }

    body.page .entry-content:has(.wp-block-archives)
    .wp-block-archives-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.page .entry-content:has(.wp-block-archives)
    .wp-block-archives-list li {
        padding: 12px 15px;
    }
}


/* 17. MÓVILES PEQUEÑOS */

@media screen and (max-width: 460px) {

    .site-footer.jrn-editorial-footer
    .jrn-editorial-grid {
        grid-template-columns:
            minmax(0, 1fr);
        gap: 26px;
    }
}

@media screen and (max-width: 380px) {

    .container {
        width: calc(100% - 24px);
    }

    .jrn-tea-intro {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 27px;
    }

    .divider-section .topics {
        grid-template-columns:
            minmax(0, 1fr);
    }
}

/* =====================================================
   FIN DEL CSS UNIFICADO
   JRN AI MAGAZINE — NOVIEMBRE 2026
   ===================================================== */


/* ==========================================
   JRN AI MAGAZINE
   ALINEACION IZQUIERDA DE GALERIAS
   ========================================== */

/* Encabezados principales */

.home .all-posts .section-heading,
.home .jrn-tea-intro,
.home .divider-section .section-heading {
    width: calc(100% - 52px) !important;
    max-width: none !important;
    margin-left: 26px !important;
    margin-right: 26px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    transform: none !important;
}

/* Titulos */

.home .all-posts .section-heading h2,
.home .jrn-tea-intro h2,
.home .divider-section .section-heading h2 {
    font-family: Lora, Georgia, serif !important;
    font-size: clamp(25px, 2.5vw, 34px) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    color: #24556B !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* Adaptacion movil */

@media (max-width: 650px) {

    .home .all-posts .section-heading,
    .home .jrn-tea-intro,
    .home .divider-section .section-heading {
        width: calc(100% - 28px) !important;
        margin-left: 14px !important;
        margin-right: 14px !important;
    }

    .home .all-posts .section-heading h2,
    .home .jrn-tea-intro h2,
    .home .divider-section .section-heading h2 {
        font-size: 25px !important;
    }
}


/* JRN AI MAGAZINE
   Reducir espacio entre publicaciones
   y la siguiente galería */

.home .all-posts {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.home .all-posts .button-primary {
    margin-bottom: 0 !important;
}

.home .jrn-tea-section {
    padding-top: 12px !important;
    margin-top: 0 !important;
}

.home .jrn-tea-intro {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* JRN AI MAGAZINE
   Tipografía editorial — Noviembre 2026 */

.single-post .entry-content {
    max-width: 850px;
    margin-inline: auto;
    font-family: 'Lora', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}

.single-post .entry-content p,
.single-post .entry-content li {
    font-size: 18px;
    line-height: 1.8;
}

.single-post .entry-content h1,
.single-post .entry-content h2 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

@media (max-width: 767px) {
    .single-post .entry-content {
        width: 100%;
        font-size: 17px;
        line-height: 1.75;
    }

    .single-post .entry-content p,
    .single-post .entry-content li {
        font-size: 17px;
        line-height: 1.75;
    }
}

/* JRN AI MAGAZINE — Títulos de entradas */

.single-post .entry-header .entry-title,
.single-post h1.entry-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
}

@media (max-width: 767px) {
    .single-post .entry-header .entry-title,
    .single-post h1.entry-title {
        font-size: 25px;
        line-height: 1.3;
    }
}


/* FUTURE UNIVERSITY — ANCHO EDITORIAL COMPLETO */

#future-university + .jrn-university-classes {
    width: 100%;
}

.jrn-university-classes > .container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.jrn-university-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.jrn-university-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1000px) {
    .jrn-university-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .jrn-university-classes > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .jrn-university-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


/* FUTURE UNIVERSITY — ELIMINAR PRESENTACIÓN */

#future-university .jrn-audio-details {
    display: none !important;
}

/* Tarjetas inmediatamente debajo de la imagen */

.jrn-university-classes {
    margin-top: 0;
    padding-top: 24px;
}


/* JRN AI MAGAZINE — ENCABEZADOS UNIFICADOS */

.jrn-university-classes h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.2;
    color: #24556B;
    text-align: left;

    margin: 0 0 22px;
    padding: 0 0 8px;

    border-bottom: 1px solid #dce5e8;
}

@media (max-width: 650px) {
    .jrn-university-classes h2 {
        font-size: 26px;
        margin-bottom: 18px;
    }
}