/*
 Theme Name: El Nido
 Theme URI: https://enelnido.com
 Description: Tema hijo de GeneratePress para El Nido
 Author: Creawebvalencia
 Template: generatepress
 Version: 1.0
*/


/* ==========================================================
   EL NIDO MENU
   ========================================================== */

/* SubmenÃº de escritorio */
@media (min-width: 769px) {
    .main-navigation ul ul {
        width: 280px;
    }

    .main-navigation ul ul li {
        width: 100%;
    }

    .main-navigation ul ul li a {
        white-space: normal;
    }
}

/* Acceso familias - menÃº escritorio */
@media (min-width: 769px) {

    .main-navigation .main-nav > ul {
        display: flex;
        align-items: center;
    }

    .main-navigation .main-nav > ul > li.menu-familias {
        margin-left: auto;
    }

    .main-navigation .main-nav > ul > li.menu-familias > a {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 10px;
        font-weight: 500;
        opacity: 0.75;
        white-space: nowrap;
    }

    /* Icono usuario */
    .main-navigation .menu-familias > a::before {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .main-navigation .menu-familias > a:hover {
        opacity: 1;
    }
}




/* ==========================================================
   1. VARIABLES GLOBALES
   ========================================================== */

:root {

    --en-blue: #10299e;
    --en-blue-dark: #081d7f;
    --en-blue-light: #eef4ff;

    --en-heading: #111111;
    --en-text: #30394d;
    --en-text-soft: #687086;

    --en-white: #ffffff;
    --en-cream: #faf9f6;
    --en-nido-bg: #fefcf7;
    --en-border: #e6e8ef;

    --en-container: 1280px;
    --en-container-text: 760px;

    --en-radius-sm: 8px;
    --en-radius: 16px;
    --en-radius-lg: 24px;
    --en-pill: 999px;

    --en-transition: .2s ease;
}


/* ==========================================================
   2. BASE GLOBAL
   ========================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--en-white);
    color: var(--en-text);

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

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;

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

a {
    color: var(--en-blue);

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color var(--en-transition);
}

a:hover {
    color: var(--en-blue-dark);
}

p {
    margin-top: 0;
    margin-bottom: 1.3em;
}


/* ==========================================================
   3. ENCABEZADOS GLOBALES
   ========================================================== */

h1,
h2,
h3 {
    margin-top: 0;

    color: var(--en-heading);

    line-height: 1.03;
}

h1 {
    font-size: clamp(52px, 6vw, 82px);

    letter-spacing: -.055em;
}

h2 {
    font-size: clamp(40px, 4.5vw, 60px);

    letter-spacing: -.045em;
}

h3 {
    font-size: clamp(26px, 2.5vw, 34px);

    line-height: 1.12;

    letter-spacing: -.035em;
}

h4,
h5,
h6 {
    margin-top: 0;

    color: var(--en-heading);

    line-height: 1.2;

    letter-spacing: -.02em;
}

h4 {
    font-size: 21px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}


/* ==========================================================
   4. TEXTOS GLOBALES
   ========================================================== */

.en-eyebrow {
    margin: 0 0 14px;

    color: var(--en-blue);

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

    letter-spacing: .18em;

    text-transform: uppercase;
}

.en-lead {
    max-width: 720px;

    color: var(--en-text-soft);

    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.65;
}

.en-statement {
    color: var(--en-heading);

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -.04em;
}

.en-accent {
    color: var(--en-blue);
}


/* ==========================================================
   5. CONTENEDORES
   ========================================================== */

.en-container {
    width: min(
        calc(100% - 48px),
        var(--en-container)
    );

    margin-inline: auto;
}

.en-container--text {
    width: min(
        calc(100% - 48px),
        var(--en-container-text)
    );

    margin-inline: auto;
}


/* ==========================================================
   6. ESPACIADO
   ========================================================== */

.en-section {
    padding: 70px 0;
}

.en-section--small {
    padding: 50px 0;
}

.en-section--large {
    padding: 100px 0;
}


/* ==========================================================
   7. BOTONES
   ========================================================== */

.en-btn {
    display: inline-flex;

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

    gap: 8px;

    min-height: 50px;

    padding: 0 28px;

    border: 1px solid transparent;
    border-radius: var(--en-pill);

    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        background var(--en-transition),
        color var(--en-transition),
        border-color var(--en-transition);
}

.en-btn--primary {
    background: var(--en-blue);
    border-color: var(--en-blue);
    color: var(--en-white);
}

.en-btn--primary:hover {
    background: var(--en-white);
    border-color: var(--en-blue);
    color: var(--en-blue);
}

.en-btn--outline {
    background: transparent;
    border-color: var(--en-blue);
    color: var(--en-blue);
}

.en-btn--outline:hover {
    background: var(--en-blue);
    border-color: var(--en-blue);
    color: var(--en-white);
}

.en-btn--disabled {
    border-color: var(--en-border);
    background: var(--en-white);
    color: var(--en-text-soft);
    cursor: default;
}


/* ==========================================================
   8. HERO
   ========================================================== */

.en-hero {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 700px;

    overflow: hidden;

    background: var(--en-cream);
}

.en-hero__background {
    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;
}

.en-hero__background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.en-hero__overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;
}

.en-hero__inner {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;

    min-height: 700px;

    padding-bottom: 105px;
}

.en-hero__content {
    width: 56%;
    max-width: 680px;

    padding: 55px 0;
}

.en-hero__seo {
    max-width: 620px;

    margin: 0 0 20px;

    color: var(--en-blue);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-hero__title {
    max-width: 660px;

    margin: 0 0 26px;

    font-size: clamp(54px, 5.5vw, 80px);

    line-height: .97;

    letter-spacing: -.055em;
}

.en-hero__text {
    max-width: 590px;

    margin: 0 0 34px;

    color: var(--en-text);

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

.en-hero__buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.en-hero .en-btn--outline {
    background: var(--en-white);
}

.en-hero .en-btn--outline:hover {
    background: var(--en-blue);
}

/* ==========================================================
   9. TRANSICIÃ“N HERO
   ========================================================== */

.en-hero__transition {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    z-index: 4;

    height: 145px;

    pointer-events: none;
}

.en-hero__transition::after {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 150' preserveAspectRatio='none'%3E%3Cpath fill='%23fefcf7' d='M0 48 C130 22 255 74 410 46 C565 18 685 70 835 42 C995 13 1125 69 1270 39 C1400 14 1500 34 1600 28 L1600 150 L0 150 Z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
}


/* ==========================================================
   10. Â¿QUÃ‰ ES EL NIDO?
   ========================================================== */

.en-about {
    background: var(--en-nido-bg);

    padding: 0 0 70px;
}

.en-about__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    gap: clamp(60px, 7vw, 110px);

    align-items: center;
}

.en-about__visual img {
    width: 100%;
    max-width: 640px;

    margin-inline: auto;
}

.en-about__content {
    max-width: 610px;
}

.en-about__title {
    margin: 0 0 27px;

    font-size: clamp(44px, 4.2vw, 61px);

    line-height: 1;

    letter-spacing: -.05em;
}

.en-about__lead {
    margin: 0 0 20px;

    color: var(--en-heading);

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

.en-about__content > p:not(.en-about__lead) {
    margin-bottom: 19px;

    color: var(--en-text-soft);

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

.en-about__content > p:last-of-type {
    margin-bottom: 30px;
}


/* ==========================================================
   11. MARÃA Y EL EQUIPO
   ========================================================== */

.en-team {
    background: var(--en-white);

    padding: 70px 0;
}

.en-team__grid {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap: clamp(60px, 7vw, 110px);

    align-items: center;
}

.en-team__content {
    max-width: 590px;
}

.en-team__seo {
    margin: 0 0 18px;

    color: var(--en-blue);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-team__statement {
    margin: 0 0 26px;

    font-size: clamp(36px, 3.5vw, 48px);
}

.en-team__content > p:not(.en-team__statement) {
    margin-bottom: 19px;

    color: var(--en-text-soft);

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

.en-team__content > p:last-of-type {
    margin-bottom: 30px;
}

.en-team__visual {
    overflow: hidden;

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

.en-team__visual img {
    width: 100%;
    height: 430px;

    object-fit: cover;
}


/* ==========================================================
   12. ACTIVIDADES
   ========================================================== */

.en-activities {
    background: var(--en-nido-bg);

    padding: 70px 0;
}

.en-activities__header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 38px;
}

.en-activities__seo {
    margin: 0 0 16px;

    color: var(--en-blue);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-activities__statement {
    margin: 0;

    font-size: clamp(38px, 4vw, 52px);
}

.en-activities__all {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--en-blue);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.en-activities__grid {
    display: grid;

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

    gap: 26px;
}

.en-activity-card {
    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: var(--en-white);

    border: 1px solid var(--en-border);
    border-radius: var(--en-radius);
}

.en-activity-card__image {
    aspect-ratio: 3 / 2;

    overflow: hidden;
}

.en-activity-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.en-activity-card:hover .en-activity-card__image img {
    transform: scale(1.025);
}

.en-activity-card__content {
    display: flex;

    flex: 1;
    flex-direction: column;

    align-items: flex-start;

    padding: 25px 26px 27px;
}

.en-activity-card h3 {
    margin: 0 0 11px;

    color: var(--en-blue);

    font-size: 24px;
}

.en-activity-card p {
    margin: 0 0 24px;

    color: var(--en-text-soft);

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

.en-activity-card__button {
    min-height: 44px;

    margin-top: auto;

    padding-inline: 23px;

    font-size: 14px;
}


/* ==========================================================
   13. LO QUE NOS MUEVE
   ========================================================== */

.en-values {
    position: relative;

    overflow: hidden;

    padding: 50px 0;

    background-color: #dcecff;

    background-image:
        url("https://enelnido.com/wp-content/uploads/2026/10/fondo-paisaje.webp");

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.en-values__header {
    max-width: 780px;

    margin: 0 auto 52px;

    text-align: center;
}

.en-values__seo {
    margin: 150px 0 15px;

    color: var(--en-blue);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-values__statement {
    margin: 0 0 18px;

    font-size: clamp(38px, 4vw, 52px);
}

.en-values__intro {
    max-width: 690px;

    margin: 0 auto;

    font-size: 17px;
}

.en-values__grid {
    display: grid;

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

    gap: clamp(30px, 4vw, 60px);

    text-align: center;
}

.en-value__icon {
    display: flex;

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

    width: 60px;
    height: 60px;

    margin: 0 auto 19px;

    color: var(--en-blue);
}

.en-value__icon svg {
    width: 58px;
    height: 58px;
}

.en-value h3 {
    margin: 0 0 10px;

    color: var(--en-blue);

    font-size: 21px;
}

.en-value p {
    max-width: 245px;

    margin: 0 auto;

    color: var(--en-text-soft);

    font-size: 15px;
}

.en-value__text {
    max-width: 245px;
    margin: 0 auto;
    color: var(--en-heading) !important;
    font-size: 15px;
    line-height: 1.65;
}

/* ==========================================================
   14. CTA FINAL
   ========================================================== */

.en-final-cta {
    position: relative;

    isolation: isolate;

    overflow: visible;

    padding: 80px 0 95px;

    background: var(--en-blue);

    color: var(--en-white);
}

.en-final-cta::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: -48px;

    height: 50px;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 60' preserveAspectRatio='none'%3E%3Cpath fill='%2310299e' d='M0 34 C155 17 324 43 511 29 C710 13 873 49 1080 24 C1270 1 1440 37 1600 12 L1600 60 L0 60 Z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;

    pointer-events: none;
}

.en-final-cta__content {
    position: relative;

    z-index: 3;

    width: min(100%, 920px);

    margin-inline: auto;

    text-align: center;
}

.en-final-cta__seo {
    margin: 0 0 18px;

    color: rgba(255,255,255,.72);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-final-cta__statement {
    max-width: 860px;

    margin: 0 auto 26px;

    color: var(--en-white);

    font-size: clamp(38px, 4vw, 48px);

    line-height: 1.05;
}

.en-final-cta__statement span {
    display: block;

    color: #cfe1ff;
}

.en-final-cta__text {
    max-width: 700px;

    margin: 0 auto 34px;

    color: rgba(255,255,255,.82);

    font-size: 17px;
}

.en-final-cta__buttons {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 14px;
}

.en-final-cta__primary {
    background: var(--en-white);
    border-color: var(--en-white);
    color: var(--en-blue);
}

.en-final-cta__primary:hover {
    background: transparent;
    color: var(--en-white);
}

.en-final-cta__secondary {
    background: transparent;
    border-color: rgba(255,255,255,.62);
    color: var(--en-white);
}

.en-final-cta__secondary:hover {
    background: var(--en-white);
    border-color: var(--en-white);
    color: var(--en-blue);
}

.en-final-cta__plant {
    position: absolute;

    z-index: 2;

    color: #d9e7ff;

    opacity: .085;

    pointer-events: none;
}

.en-final-cta__plant svg {
    width: 100%;
    height: 100%;
}

.en-final-cta__plant--left {
    left: 0;
    bottom: -85px;

    width: 310px;
    height: 430px;

    transform:
        translateX(-18%)
        rotate(-7deg);
}

.en-final-cta__plant--right {
    top: 5px;
    right: 0;

    width: 300px;
    height: 415px;

    transform:
        translateX(18%)
        scaleX(-1)
        rotate(-8deg);
}


/* ==========================================================
   15. FOOTER
   ========================================================== */

.en-footer {
    position: relative;

    background: var(--en-nido-bg);

    color: var(--en-text);
}


/* PARTE PRINCIPAL */

.en-footer__main {
    position: relative;

    z-index: 2;

    padding: 75px 0 15px;

    background: var(--en-nido-bg);
}


/* GRID */

.en-footer__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(180px, .65fr)
        minmax(280px, 1fr);

    gap: clamp(60px, 8vw, 130px);

    align-items: start;
}


/* MARCA */

.en-footer__brand {
    max-width: 360px;
}

.en-footer__logo {
    display: inline-block;

    width: 250px;
    max-width: 100%;

    margin-bottom: 25px;

    text-decoration: none;
}

.en-footer__logo img {
    width: 100%;
    height: auto;
}

.en-footer__claim {
    max-width: 330px;

    margin: 0;

    color: var(--en-text-soft);

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


/* COLUMNAS */

.en-footer__title {
    margin: 0 0 21px;

    color: var(--en-blue);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    letter-spacing: .13em;

    text-transform: uppercase;
}


/* MENÃš */

.en-footer__menu {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.en-footer__menu li {
    margin: 0;
    padding: 0;
}

.en-footer__menu a {
    display: inline-block;

    color: var(--en-text);

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

    text-decoration: none;

    transition:
        color var(--en-transition),
        transform var(--en-transition);
}

.en-footer__menu a:hover {
    color: var(--en-blue);

    transform: translateX(3px);
}


/* ACCESO FAMILIAS */

.en-footer__families {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 23px;

    color: var(--en-blue);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.en-footer__families span {
    font-size: 17px;

    transition: transform var(--en-transition);
}

.en-footer__families:hover span {
    transform: translateX(3px);
}


/* CONTACTO */

.en-footer__contact-intro {
    max-width: 370px;

    margin: 0 0 20px;

    color: var(--en-text-soft);

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

.en-footer__contact-data {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.en-footer__contact-item {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--en-text);

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

    text-decoration: none;
}

.en-footer__contact-item svg {
    flex: 0 0 auto;

    width: 19px;
    height: 19px;

    color: var(--en-blue);
}

a.en-footer__contact-item:hover {
    color: var(--en-blue);
}


/* REDES */

.en-footer__social {
    display: flex;

    flex-wrap: wrap;

    gap: 10px 17px;

    margin-top: 20px;
}

.en-footer__social a {
    color: var(--en-blue);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.en-footer__social a:hover {
    color: var(--en-blue-dark);
}


/* ENLACE CONTACTO */

.en-footer__contact-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 22px;

    color: var(--en-blue);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.en-footer__contact-link span {
    font-size: 17px;

    transition: transform var(--en-transition);
}

.en-footer__contact-link:hover span {
    transform: translateX(3px);
}


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

.en-footer__landscape {
    position: relative;

    min-height: 310px;

    margin-top: -5px;

    background-color: var(--en-nido-bg);

    background-image:
        url("https://enelnido.com/wp-content/uploads/2026/10/fondo-pie.webp");

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}


/* COPYRIGHT + LEGAL */

.en-footer__bottom {
    position: absolute;

    left: 50%;
    bottom: 22px;

    transform: translateX(-50%);

    display: flex;

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

    gap: 30px;
}

.en-footer__copyright {
    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 12px;
    line-height: 1.5;
}

.en-footer__legal {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px 20px;
}

.en-footer__legal a {
    position: relative;

    color: rgba(255,255,255,.78);

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

    text-decoration: none;
}

.en-footer__legal a:hover {
    color: var(--en-white);
}

.en-footer__legal a:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 50%;
    right: -11px;

    width: 1px;
    height: 11px;

    transform: translateY(-50%);

    background: rgba(255,255,255,.32);
}


/* ==========================================================
   16. RESPONSIVE â€” TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .en-hero,
    .en-hero__inner {
        min-height: 650px;
    }

    .en-hero__content {
        width: 62%;
    }

    .en-team__grid {
        gap: 50px;
    }

    .en-team__visual img {
        height: 390px;
    }

    .en-values__seo {
        margin-top: 70px;
    }

    .en-values__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 44px 60px;
    }


    /* FOOTER */

    .en-footer__grid {
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(160px, .7fr)
            minmax(250px, 1fr);

        gap: 45px;
    }

    .en-footer__logo {
        width: 220px;
    }

    .en-footer__landscape {
        min-height: 270px;
    }

}


/* ==========================================================
   17. RESPONSIVE â€” TABLET PEQUEÃ‘A
   ========================================================== */

@media (max-width: 900px) {

    .en-about__grid {
        grid-template-columns:
            minmax(0, .95fr)
            minmax(0, 1.05fr);

        gap: 35px;
    }

    .en-team__grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 35px;
    }

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

    .en-activity-card:last-child {
        grid-column: 1 / -1;

        width: calc(50% - 10px);
    }


    /* FOOTER */

    .en-footer__grid {
        grid-template-columns:
            1fr
            .7fr
            1fr;

        gap: 35px;
    }

}


/* ==========================================================
   18. RESPONSIVE â€” MÃ“VIL
   ========================================================== */

@media (max-width: 768px) {

    body {
        font-size: 16px;
    }

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


    /* HERO */

    .en-hero,
    .en-hero__inner {
        min-height: 690px;
    }

    .en-hero__content {
        width: 100%;

        padding-top: 40px;
    }

    .en-hero__title {
        font-size: clamp(44px, 12vw, 60px);
    }


    /* ABOUT */

    .en-about__grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    /* EQUIPO */

    .en-team__grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .en-team__visual img {
        height: auto;

        aspect-ratio: 16 / 10;
    }


    /* ACTIVIDADES */

    .en-activities__header {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }

    .en-activities__grid {
        grid-template-columns: 1fr;
    }

    .en-activity-card:last-child {
        width: 100%;
    }


    /* VALORES */

    .en-values {
        background-image: none;

        background-color: #dcecff;
    }

    .en-values__seo {
        margin-top: 0;
    }

    .en-values__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px 30px;
    }


    /* CTA */

    .en-final-cta {
        overflow: hidden;

        padding: 70px 0;
    }

    .en-final-cta::before {
        display: none;
    }

    .en-final-cta__statement {
        font-size: clamp(34px, 7vw, 44px);
    }


    /* FOOTER */

    .en-footer__main {
        padding: 60px 0 10px;
    }

    .en-footer__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 45px 35px;
    }

    .en-footer__brand {
        grid-column: 1 / -1;

        max-width: 420px;
    }

    .en-footer__logo {
        width: 210px;

        margin-bottom: 18px;
    }

    .en-footer__claim {
        max-width: 390px;

        font-size: 16px;
    }

    .en-footer__landscape {
        min-height: 240px;

        background-size: cover;
    }

    .en-footer__bottom {
        bottom: 17px;

        flex-direction: column;

        justify-content: center;

        gap: 8px;

        text-align: center;
    }

    .en-footer__legal {
        justify-content: center;
    }

}


/* ==========================================================
   19. RESPONSIVE â€” MÃ“VIL PEQUEÃ‘O
   ========================================================== */

@media (max-width: 520px) {

    /* HERO */

    .en-hero,
    .en-hero__inner {
        min-height: 660px;
    }

    .en-hero__title {
        font-size: clamp(40px, 11vw, 52px);
    }

    .en-hero__buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    /* EQUIPO */

    .en-team__statement {
        font-size: clamp(30px, 8vw, 36px);
    }


    /* ACTIVIDADES */

    .en-activities__statement {
        font-size: clamp(32px, 9vw, 39px);
    }


    /* VALORES */

    .en-values__statement {
        font-size: clamp(32px, 9vw, 39px);
    }

    .en-values__grid {
        grid-template-columns: 1fr;

        gap: 34px;
    }


    /* CTA */

    .en-final-cta {
        padding: 60px 0;
    }

    .en-final-cta__statement {
        font-size: clamp(32px, 9vw, 40px);
    }

    .en-final-cta__statement span {
        display: inline;
    }

    .en-final-cta__buttons {
        flex-direction: column;

        align-items: center;
    }

    .en-final-cta__buttons .en-btn {
        width: 100%;
        max-width: 310px;
    }


    /* FOOTER */

    .en-footer__main {
        padding: 52px 0 0;
    }

    .en-footer__grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .en-footer__brand {
        grid-column: auto;
    }

    .en-footer__logo {
        width: 200px;
    }

    .en-footer__title {
        margin-bottom: 16px;
    }

    .en-footer__contact-intro {
        max-width: 340px;
    }

    .en-footer__landscape {
        min-height: 220px;

        margin-top: 5px;

        background-position: center bottom;
        background-size: auto 100%;
    }

    .en-footer__bottom {
        bottom: 14px;

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

    .en-footer__copyright,
    .en-footer__legal a {
        font-size: 11px;
    }

    .en-footer__legal {
        gap: 5px 15px;
    }

    .en-footer__legal a:not(:last-child)::after {
        right: -8px;
    }

}
/* ==========================================================
   PÃGINA CONTACTO
   ========================================================== */


/* ==========================================================
   HERO CONTACTO
   ========================================================== */

.en-contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 82px 0 125px;

    background: var(--en-blue);
    color: var(--en-white);
}

.en-contact-hero__content {
    position: relative;
    z-index: 2;

    max-width: 860px;

    margin-inline: auto;

    text-align: center;
}

.en-contact-hero__seo {
    margin: 0 0 17px;

    color: rgba(255, 255, 255, .72);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-contact-hero__statement {
    margin: 0 0 22px;

    color: var(--en-white);

    font-size: clamp(42px, 5vw, 60px);
}

.en-contact-hero__statement span {
    color: #cfe1ff;
}

.en-contact-hero__text {
    max-width: 680px;

    margin: 0 auto;

    color: rgba(255, 255, 255, .82);

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


/* ==========================================================
   CURVA HERO
   ========================================================== */

.en-contact-hero__transition {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    z-index: 4;

    width: 100%;
    height: 90px;

    pointer-events: none;
}

.en-contact-hero__transition::after {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 37 C130 15 265 65 420 40 C570 16 695 64 845 37 C1000 10 1125 62 1270 34 C1400 10 1505 27 1600 22 L1600 100 L0 100 Z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
}


/* ==========================================================
   CONTACTO PRINCIPAL
   ========================================================== */

.en-contact {
    padding: 65px 0 75px;

    background: var(--en-white);
}

.en-contact__grid {
    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    gap: clamp(60px, 7vw, 105px);

    align-items: start;
}


/* ==========================================================
   INFORMACIÃ“N
   ========================================================== */

.en-contact__info {
    max-width: 480px;

    padding-top: 12px;
}

.en-contact__seo {
    margin: 0 0 15px;

    color: var(--en-blue);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-contact__statement {
    margin: 0 0 23px;

    font-size: clamp(36px, 3.5vw, 46px);
}

.en-contact__intro {
    max-width: 460px;

    margin: 0 0 34px;

    color: var(--en-text-soft);

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


/* ==========================================================
   DATOS
   ========================================================== */

.en-contact__details {
    display: flex;

    flex-direction: column;

    gap: 17px;
}

.en-contact__item {
    display: flex;

    align-items: center;

    gap: 14px;

    color: var(--en-text);

    font-size: 16px;
    line-height: 1.5;

    text-decoration: none;
}

.en-contact__item-icon {
    display: flex;

    flex: 0 0 auto;

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

    width: 42px;
    height: 42px;

    border: 1px solid rgba(16, 41, 158, .12);
    border-radius: 50%;

    background: var(--en-blue-light);

    color: var(--en-blue);
}

.en-contact__item-icon svg {
    width: 19px;
    height: 19px;
}

a.en-contact__item {
    transition:
        color var(--en-transition),
        transform var(--en-transition);
}

a.en-contact__item:hover {
    color: var(--en-blue);

    transform: translateX(3px);
}


/* ==========================================================
   REDES
   ========================================================== */

.en-contact__social {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 20px;

    margin-top: 30px;
}

.en-contact__social a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--en-blue);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.en-contact__social a:hover {
    color: var(--en-blue-dark);
}

.en-contact__social svg {
    width: 18px;
    height: 18px;
}


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

.en-contact__form {
    padding: 38px 40px 42px;

    background: var(--en-blue-light);

    border: 1px solid rgba(16, 41, 158, .10);
    border-radius: var(--en-radius-lg);
}

.en-contact-form__title {
    margin: 0 0 9px;

    color: var(--en-heading);

    font-size: 25px;
    line-height: 1.2;

    letter-spacing: -.03em;
}

.en-contact-form__intro {
    margin: 0 0 28px;

    color: var(--en-text-soft);

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


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

.en-contact-form__row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* ==========================================================
   CAMPOS
   ========================================================== */

.en-contact-form__field {
    margin-bottom: 20px;
}

.en-contact-form__field label {
    display: block;

    margin-bottom: 7px;

    color: var(--en-heading);

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

.en-contact-form__field input,
.en-contact-form__field textarea,
.en-contact-form__field select {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(16, 41, 158, .15);
    border-radius: var(--en-radius-sm);

    background: var(--en-white);

    color: var(--en-text);

    font-size: 16px;
    line-height: 1.5;

    outline: none;

    transition:
        border-color var(--en-transition),
        box-shadow var(--en-transition);
}

.en-contact-form__field input,
.en-contact-form__field select {
    min-height: 50px;
}

.en-contact-form__field textarea {
    min-height: 150px;

    resize: vertical;
}

.en-contact-form__field input::placeholder,
.en-contact-form__field textarea::placeholder {
    color: #9ca2b0;
}

.en-contact-form__field input:focus,
.en-contact-form__field textarea:focus,
.en-contact-form__field select:focus {
    border-color: var(--en-blue);

    box-shadow:
        0 0 0 3px rgba(16, 41, 158, .07);
}


/* ==========================================================
   PRIVACIDAD
   ========================================================== */

.en-contact-form__privacy {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 3px 0 26px;
}

.en-contact-form__privacy input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin-top: 4px;

    accent-color: var(--en-blue);
}

.en-contact-form__privacy label {
    margin: 0;

    color: var(--en-text-soft);

    font-size: 13px;
    line-height: 1.55;
}

.en-contact-form__privacy a {
    color: var(--en-blue);
}


/* ==========================================================
   BOTÃ“N
   ========================================================== */

.en-contact-form__submit {
    min-width: 175px;
}


/* ==========================================================
   MENSAJES
   ========================================================== */

.en-contact-form__message {
    margin: 20px 0 0;

    padding: 13px 15px;

    border-radius: var(--en-radius-sm);

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

.en-contact-form__message--success {
    background: #eef8f0;

    color: #256238;
}

.en-contact-form__message--error {
    background: #fff0f0;

    color: #8a2c2c;
}


/* ==========================================================
   BANNER FINAL
   ========================================================== */

.en-contact-closing {
    padding: 70px 0;

    background: var(--en-blue);

    text-align: center;
}

.en-contact-closing__content {
    max-width: 820px;

    margin-inline: auto;
}

.en-contact-closing__seo {
    margin: 0 0 14px;

    color: rgba(255, 255, 255, .70);

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

    letter-spacing: .14em;

    text-transform: uppercase;
}

.en-contact-closing__statement {
    max-width: 760px;

    margin: 0 auto;

    color: var(--en-white);

    font-size: clamp(32px, 3.5vw, 44px);
}

.en-contact-closing__statement span {
    color: #cfe1ff;
}


/* ==========================================================
   CONTACTO â€” TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .en-contact-hero {
        padding: 75px 0 115px;
    }

    .en-contact-hero__transition {
        height: 80px;
    }

    .en-contact__grid {
        gap: 55px;
    }

    .en-contact__form {
        padding: 34px 32px 38px;
    }

}


/* ==========================================================
   CONTACTO â€” TABLET PEQUEÃ‘A
   ========================================================== */

@media (max-width: 900px) {

    .en-contact__grid {
        grid-template-columns:
            minmax(0, .8fr)
            minmax(0, 1.2fr);

        gap: 40px;
    }

    .en-contact__statement {
        font-size: clamp(32px, 4.4vw, 40px);
    }

    .en-contact-form__row {
        grid-template-columns: 1fr;

        gap: 0;
    }

}


/* ==========================================================
   CONTACTO â€” MÃ“VIL
   ========================================================== */

@media (max-width: 768px) {

    .en-contact-hero {
        padding: 60px 0 95px;
    }

    .en-contact-hero__seo {
        margin-bottom: 14px;

        font-size: 11px;

        letter-spacing: .09em;
    }

    .en-contact-hero__statement {
        margin-bottom: 18px;

        font-size: clamp(38px, 10vw, 48px);
    }

    .en-contact-hero__text {
        max-width: 560px;

        font-size: 16px;
    }

    .en-contact-hero__transition {
        height: 65px;
    }

    .en-contact-hero__transition::after {
        background-size: 175% 100%;
        background-position: 52% bottom;
    }


    /* BLOQUE PRINCIPAL */

    .en-contact {
        padding: 55px 0 60px;
    }

    .en-contact__grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .en-contact__info {
        max-width: 620px;

        padding-top: 0;
    }

    .en-contact__seo {
        margin-bottom: 14px;

        font-size: 11px;

        letter-spacing: .09em;
    }

    .en-contact__statement {
        margin-bottom: 20px;

        font-size: clamp(32px, 8vw, 40px);
    }

    .en-contact__intro {
        max-width: 580px;

        margin-bottom: 28px;

        font-size: 15px;
    }


    /* FORMULARIO */

    .en-contact__form {
        padding: 30px 26px 32px;

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

    .en-contact-form__title {
        font-size: 23px;
    }


    /* CIERRE */

    .en-contact-closing {
        padding: 60px 0;
    }

    .en-contact-closing__seo {
        font-size: 11px;

        letter-spacing: .09em;
    }

    .en-contact-closing__statement {
        font-size: clamp(30px, 7vw, 38px);
    }

}


/* ==========================================================
   CONTACTO â€” MÃ“VIL PEQUEÃ‘O
   ========================================================== */

@media (max-width: 520px) {

    .en-contact-hero {
        padding: 52px 0 82px;
    }

    .en-contact-hero__statement {
        font-size: clamp(36px, 11vw, 44px);
    }

    .en-contact-hero__transition {
        height: 55px;
    }


    /* BLOQUE PRINCIPAL */

    .en-contact {
        padding: 48px 0 52px;
    }

    .en-contact__grid {
        gap: 38px;
    }

    .en-contact__details {
        gap: 15px;
    }

    .en-contact__item {
        font-size: 15px;
    }

    .en-contact__item-icon {
        width: 40px;
        height: 40px;
    }


    /* FORMULARIO */

    .en-contact__form {
        padding: 26px 20px 28px;
    }

    .en-contact-form__field {
        margin-bottom: 18px;
    }

    .en-contact-form__submit {
        width: 100%;
    }


    /* CIERRE */

    .en-contact-closing {
        padding: 52px 0;
    }

    .en-contact-closing__statement {
        font-size: clamp(30px, 9vw, 38px);
    }

}

   /* =========================================
   CTA FINAL â€” EVITAR DESBORDAMIENTO HORIZONTAL
========================================= */

.en-final-cta {
    overflow: hidden;
}

/* ==========================================================
   PORTADA DEL BLOG — AÑADIR AL FINAL DEL STYLE.CSS
   Reutiliza las variables, contenedores, botones y onda del tema.
   ========================================================== */

/* Liberar el ancho de GeneratePress solo en el índice del blog. */
body.blog #page.site,
body.blog #content.site-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.blog #content.site-content { display: block; }
.en-blog-main { width: 100%; min-width: 0; margin: 0; padding: 0; }

/* HERO */
.en-blog-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--en-nido-bg);
}
.en-blog-hero__background { position: absolute; inset: 0; z-index: -1; }
.en-blog-hero__background img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.en-blog-hero__inner {
    display: flex; align-items: center;
    min-height: 400px; padding-block: 60px 100px;
}
.en-blog-hero__content { width: 60%; max-width: 730px; }
.en-blog-hero__title {
    margin: 0 0 24px;
    font-size: clamp(46px, 5.4vw, 76px);
    line-height: .98; letter-spacing: -.055em;
}
.en-blog-hero__text {
    max-width: 590px; margin: 0;
    color: var(--en-text); font-size: 18px; line-height: 1.65;
}
.en-blog-hero .en-blog-hero__transition { height: 70px; }

/* LISTADO Y COLUMNA LATERAL */
.en-blog-body { padding: 24px 0 75px; background: var(--en-nido-bg); }
.en-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 4vw, 58px);
    align-items: start;
}
.en-blog-list, .en-blog-sidebar { min-width: 0; }
.en-blog-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px; align-items: center;
    padding: 0 0 32px; margin: 0 0 32px;
    border-bottom: 1px solid var(--en-border);
    background: transparent;
}
.en-blog-entry__image {
    display: block; overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: var(--en-radius-sm);
    background: var(--en-blue-light); text-decoration: none;
}
.en-blog-entry__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.en-blog-entry__image:hover img { transform: scale(1.025); }
.en-blog-entry__placeholder {
    display: flex; width: 100%; height: 100%; padding: 20px;
    flex-direction: column; align-items: center; justify-content: center;
    color: var(--en-blue); font-size: 28px; text-align: center;
}
.en-blog-entry__placeholder span { font-size: 13px; margin-top: 8px; }
.en-blog-entry__content { min-width: 0; }
.en-blog-entry__title {
    font-size: clamp(24px, 2.1vw, 30px);
    line-height: 1.12; letter-spacing: -.035em; margin: 0 0 15px;
    overflow-wrap: break-word;
}
.en-blog-entry__title a { color: var(--en-heading); text-decoration: none; }
.en-blog-entry__title a:hover { color: var(--en-blue); }
.en-blog-entry__excerpt {
    color: var(--en-text-soft); font-size: 16px; line-height: 1.7; margin: 0 0 23px;
}
.en-blog-entry__button { min-height: 44px; padding-inline: 22px; font-size: 14px; }

/* SUSCRIPCIÓN: SOLO TEXTO Y ENLACE AL FORMULARIO EXTERNO */
.en-blog-sidebar { display: grid; gap: 34px; }
.en-blog-subscribe {
    padding: 30px 26px; border-radius: var(--en-radius);
    background: var(--en-blue); color: var(--en-white);
}
.en-blog-subscribe h2,
.en-blog-recent h2,
.en-blog-activities h2 {
    margin: 0 0 18px; font-size: 26px; line-height: 1.15; letter-spacing: -.035em;
}
.en-blog-subscribe h2 { color: var(--en-white); }
.en-blog-subscribe p { color: var(--en-white); font-size: 15px; line-height: 1.65; margin: 0 0 24px; }
.en-blog-subscribe__button { width: 100%; padding-inline: 14px; font-size: 14px; }

/* ÚLTIMAS LECTURAS Y ACTIVIDADES */
.en-blog-recent ul,
.en-blog-activities ul { list-style: none; margin: 0; padding: 0; }
.en-blog-recent li + li,
.en-blog-activities li + li { border-top: 1px solid var(--en-border); }
.en-blog-recent li a,
.en-blog-activities li a {
    display: block; padding: 13px 0;
    color: var(--en-blue); font-size: 15px; line-height: 1.6;
    text-decoration: none; overflow-wrap: break-word;
}
.en-blog-recent li a:hover,
.en-blog-activities li a:hover { text-decoration: underline; }
.en-blog-activities { padding: 28px 26px; border-radius: var(--en-radius); background: var(--en-blue-light); }
.en-blog-activities h2 { font-size: 24px; }
.en-blog-activities li:last-child a { padding-bottom: 0; }

/* PAGINACIÓN AUTOMÁTICA DE WORDPRESS */
.en-blog-pagination .pagination { margin: 8px 0 0; padding: 0; background: transparent; }
.en-blog-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.en-blog-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; min-height: 42px; padding: 8px 14px;
    border-radius: var(--en-pill); font-size: 14px; line-height: 1.4; text-decoration: none;
    color: var(--en-blue); background: transparent;
}
.en-blog-pagination .page-numbers.current,
.en-blog-pagination a.page-numbers:hover { color: var(--en-white); background: var(--en-blue); }

/* TABLETA: EL SIDEBAR PASA DEBAJO Y LOS ARTÍCULOS SIGUEN EN FILAS */
@media (max-width: 1000px) {
    .en-blog-layout { grid-template-columns: 1fr; gap: 48px; }
    .en-blog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .en-blog-hero__content { width: 75%; }
    .en-blog-entry__title { font-size: 28px; }
}

/* MÓVIL: IMAGEN ENCIMA DEL TEXTO */
@media (max-width: 600px) {
    .en-blog-hero__inner { min-height: 360px; padding-block: 50px 90px; }
    .en-blog-hero__content { width: 100%; }
    .en-blog-hero__background::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(254,252,247,.94), rgba(254,252,247,.55));
    }
    .en-blog-hero__title { font-size: clamp(42px, 11vw, 58px); }
    .en-blog-hero__text { font-size: 16px; }
    .en-blog-body { padding: 15px 0 50px; }
    .en-blog-entry { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; padding-bottom: 30px; }
    .en-blog-entry__title { font-size: 27px; }
    .en-blog-sidebar { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .en-blog-entry__image img { transition: none; }
    .en-blog-entry__image:hover img { transform: none; }
}


/* ==========================================================
   ARTÍCULO INDIVIDUAL — HERO AZUL Y SIDEBAR DEL BLOG
   ========================================================== */
body.single-post #page.site,
body.single-post #content.site-content {
    width: 100%; max-width: none; margin: 0; padding: 0;
}
body.single-post #content.site-content { display: block; }
body.single-post .en-post-main {
    width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0;
}
body.single-post .en-post {
    width: 100%; margin: 0; padding: 0;
    border: 0; box-shadow: none;
    background: var(--en-nido-bg); color: var(--en-text);
}

/* Cabecera: título y subtítulo centrados, sin imagen destacada. */
body.single-post .en-post__hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    min-height: 360px;
    padding: 75px 24px 105px;
    margin: 0;
    background: var(--en-blue); color: var(--en-white);
    text-align: center;
}
body.single-post .en-post__hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1100px; margin: 0 auto;
}
body.single-post .en-post__title {
    max-width: 1050px; margin: 0 auto; padding: 0;
    font-family: inherit;
    font-size: clamp(32px, 4.2vw, 56px); font-weight: 600;
    line-height: 1.08; letter-spacing: -.045em;
    text-transform: none; text-wrap: balance;
    color: var(--en-white);
    overflow-wrap: break-word;
}
body.single-post .en-post__subtitle {
    max-width: 950px; margin: 28px auto 0; padding: 0;
    font-family: inherit; font-size: 13px; font-weight: 300;
    line-height: 1.85; letter-spacing: .18em;
    text-transform: uppercase; text-wrap: balance;
    color: var(--en-white);
    overflow-wrap: break-word;
}
body.single-post .en-post__hero .en-post__transition { height: 65px; }

/* Reutiliza .en-blog-layout y el sidebar de la portada. */
body.single-post .en-post__body { padding: 30px 0 65px; }
body.single-post .en-post__reading { min-width: 0; width: 100%; margin: 0; padding: 0; }
body.single-post .en-post__back { margin: 0 0 28px; font-size: 14px; line-height: 1.5; }
body.single-post .en-post__back a { color: var(--en-blue); text-decoration: none; }
body.single-post .en-post__back a:hover { text-decoration: underline; }

/* El contenido se sigue escribiendo en el editor de WordPress. */
body.single-post .en-post__content {
    max-width: var(--en-container-text);
    font-size: 18px; line-height: 1.8;
    color: var(--en-text); text-align: left;
    overflow-wrap: break-word;
}
body.single-post .en-post__content p,
body.single-post .en-post__content ul,
body.single-post .en-post__content ol {
    font-size: inherit; line-height: inherit; margin: 0 0 24px;
}
body.single-post .en-post__content ul,
body.single-post .en-post__content ol { padding-left: 1.4em; }
body.single-post .en-post__content li + li { margin-top: 8px; }
body.single-post .en-post__content h2 {
    margin: 38px 0 20px; font-size: clamp(26px, 2.5vw, 32px);
    font-weight: 600; line-height: 1.18; letter-spacing: -.035em;
    color: var(--en-heading);
}
body.single-post .en-post__content h3 {
    margin: 30px 0 18px; font-size: 25px;
    font-weight: 600; line-height: 1.25; letter-spacing: -.025em;
    color: var(--en-heading);
}
body.single-post .en-post__content h4 { font-size: 22px; line-height: 1.35; }
body.single-post .en-post__content h5 { font-size: 20px; line-height: 1.35; }
body.single-post .en-post__content h6 { font-size: 18px; line-height: 1.4; }
body.single-post .en-post__content > :first-child { margin-top: 0; }
body.single-post .en-post__content > p:first-child,
body.single-post .en-post__content .en-lead {
    max-width: none; margin-bottom: 30px;
    color: var(--en-heading); font-size: 23px; line-height: 1.5;
    letter-spacing: -.015em;
}
body.single-post .en-post__content a { color: var(--en-blue); text-decoration: underline; }
body.single-post .en-post__content img { max-width: 100%; height: auto; border-radius: var(--en-radius-sm); }
body.single-post .en-post__content figure { max-width: 100%; margin: 30px 0; }
body.single-post .en-post__content figure.aligncenter { margin-inline: auto; }
body.single-post .en-post__content .alignwide,
body.single-post .en-post__content .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
body.single-post .en-post__content figcaption {
    margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--en-text-soft);
}
body.single-post .en-post__content iframe,
body.single-post .en-post__content video { max-width: 100%; }
body.single-post .en-post__content .wp-block-table { overflow-x: auto; }
body.single-post .en-post__content pre { max-width: 100%; overflow-x: auto; }
body.single-post .en-post__content blockquote {
    margin: 35px 0; padding: 4px 0 4px 26px;
    border: 0; border-left: 3px solid var(--en-blue);
    background: transparent;
    color: var(--en-blue); font-size: 26px; line-height: 1.45;
    font-family: Georgia, serif; font-style: italic;
}
body.single-post .en-post__content blockquote p:last-child { margin-bottom: 0; }
body.single-post .en-post__pages {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 35px; font-size: 15px;
}
body.single-post .en-post__pages .post-page-numbers { padding: 6px 12px; }

@media (max-width: 1000px) {
    body.single-post .en-post__content { max-width: none; }
}
@media (max-width: 600px) {
    body.single-post .en-post__hero { min-height: 310px; padding: 52px 18px 85px; }
    body.single-post .en-post__subtitle { margin-top: 24px; font-size: 12px; letter-spacing: .13em; }
    body.single-post .en-post__body { padding: 22px 0 45px; }
    body.single-post .en-post__content { font-size: 17px; }
    body.single-post .en-post__content > p:first-child,
    body.single-post .en-post__content .en-lead { font-size: 21px; }
    body.single-post .en-post__content h2 { font-size: 27px; }
    body.single-post .en-post__content h3 { font-size: 23px; }
    body.single-post .en-post__content blockquote { font-size: 23px; padding-left: 20px; }
}
