/* ==========================================================================
   Manejo de la enfermedad — Page-specific stylesheet
   Reuses tokens, container, buttons, header, footer & video-modal from styles.css.
   Sections:
     1. Page hero  (banner image + text overlay + name caption)
     2. Breadcrumb
     3. Intro block
     4. Split section (reusable image/content pattern, alternating tint)
     5. CTA banner (purple band)
   ========================================================================== */


/* ==========================================================================
   1. PAGE HERO  — Banner image + text overlay + name caption
   --------------------------------------------------------------------------
   MOBILE + TABLET (<992px): stacked → image, then name, then text
   DESKTOP (>=992px)       : text overlays the faded-left of the photo;
                             text drives the height so it can't overflow;
                             name floats bottom-right.
   ========================================================================== */
.page-hero {
    background: var(--color-white);
    padding: 28px 0 0;
}

.page-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #E6E7EC;
    padding: 0;
    gap: 0;
}

/* --- Banner photo --- */
.page-hero__media {
    width: 100%;
    max-width: none;
    flex-shrink: 0;
    order: 1;
    align-self: stretch;
    margin: 0;
    background: transparent;
    aspect-ratio: auto;
    padding: 0;
    display: block;
}

.page-hero__media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: 72% center;
    max-width: none;
    max-height: none;
    margin: 0;
    transition: transform var(--transition-base);
}

/* --- Name caption --- */
.page-hero__name {
    order: 2;
    padding: 14px 30px 0;
    position: static;
    right: auto;
    bottom: auto;
}

.page-hero__name p {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text);
    text-align: left;
}

/* --- Text block --- */
.page-hero__content {
    order: 3;
    padding: 18px 30px 30px;
    flex: 0 1 auto;
}

.page-hero__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0 0 16px;
/*     letter-spacing: 0.3px; */
    text-transform: uppercase;
	    line-height: 44px;
    letter-spacing: 0;
}

/* Responsive line-break utility — hidden on mobile/tablet, shown on desktop. */
.hero-br {
    display: none;
}

.page-hero__text {
    font-size: 16px;
/*     line-height: 1.7; */
    color: var(--color-text);
    margin: 0 0 14px;
    max-width: none;
	line-height: 27px;
    letter-spacing: 0;
}

.page-hero__text:last-child {
    margin-bottom: 0;
}

/* ---------- DESKTOP: overlay layout ---------- */
@media (min-width: 992px) {
    .page-hero {
        padding: 36px 0 0;
    }

    .page-hero__inner {
        display: block;
        min-height: 360px;
		border-radius: 0 !important;
    }

    /* image fills the card behind the text */
    .page-hero__media {
        position: absolute;
        inset: 0;
    }
    .page-hero__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
    }

    /* text drives the height, so it cannot overflow */
    .page-hero__content {
        position: relative;
        z-index: 1;
        width: 45%;
        padding: 52px 52px 52px 56px;
    }

    .page-hero__title {
        font-size: 40px;
        margin-bottom: 24px;
    }

    /* show forced line-breaks on desktop */
    .hero-br {
        display: inline;
    }

    .page-hero__text {
        font-size: 18px;
    }

    /* name floats bottom-right over the photo */
    .page-hero__name {
        position: absolute;
        z-index: 1;
        right: 24px;
        bottom: 18px;
        padding: 0;
    }

    .page-hero__name p {
        color: #000;
        text-align: right;
    }
}


/* ==========================================================================
   2. BREADCRUMB
   ========================================================================== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
/*     line-height: 1.5; */
    padding: 32px 0 8px;
    letter-spacing: 0.3px;
	    line-height: 24px;
    letter-spacing: 0;
}

.breadcrumb a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-cyan-dark);
}

.breadcrumb__sep {
    color: var(--color-text);
    font-weight: 400;
}

.breadcrumb__current {
    color: #333333;
}

@media (min-width: 768px) {
    .breadcrumb {
font-size: 16px;
        padding: 36px 0 12px;
        margin-top: 30px;
    }
}


/* ==========================================================================
   3. INTRO BLOCK
   ========================================================================== */
.intro-block {
    background: var(--color-white);
    padding: 16px 0 32px;
}

.intro-block__heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 20px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.intro-block__text {
    font-size: 16px;
/*     line-height: 1.65; */
    color: var(--color-text);
    margin: 0 0 18px;
		line-height: 24px;
	letter-spacing: 0;
}

.intro-block__text:last-child {
    margin-bottom: 0;
}

.intro-block__text strong {
    font-weight: 700;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .intro-block {
        padding: 20px 0 0;
    }
    .intro-block__heading {
        font-size: 28px;
    }
}

@media (min-width: 992px) {
    .intro-block__heading {
        font-size: 30px;
    }
}


/* ==========================================================================
   4. SPLIT SECTION — Reusable image/content pattern
   ========================================================================== */
.split-section {
    background: var(--color-white);
    padding: 40px 0;
}

.split-section--tinted {
    background: #DCDDE7;
}

.split-section__grid {
	margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.split-section__grid-max-w {
	max-width: 904px;
}

.split-section__media {
    width: 100%;
    position: relative;
}

.split-section__media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 480px;
    margin: 0 auto;
}

.split-section__content {
    width: 100%;
}

.split-section__heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
/*     letter-spacing: 0.3px;
    line-height: 1.2; */
	line-height: 30px;
    letter-spacing: 0;
}

.split-section__intro {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0 0 14px;
}

.split-section__intro strong {
    font-weight: 700;
}

.split-section__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.split-section__list li {
    position: relative;
    padding-left: 22px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: 0;
}

.split-section__list li:last-child {
    margin-bottom: 0;
}

.split-section__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .7rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-cyan);
}

.split-section__caption {
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: var(--color-white);
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
    .split-section {
        padding: 56px 0;
    }
    .split-section__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }
    .split-section__grid--reverse .split-section__content {
        order: 1;
    }
    .split-section__grid--reverse .split-section__media {
        order: 2;
    }
    .split-section__media img {
        max-width: 100%;
    }
		img.img-ases {
			margin-bottom: 25px;
		}
}

@media (min-width: 992px) {
    .split-section {
        padding: 64px 0 64px;
    }
    .split-section__grid {
        gap: 56px;
    }
    .split-section__heading {
        font-size: 25px;
        margin-bottom: 16px;
    }
    .split-section__intro {
        font-size: 17px;
    }
    .split-section__list li {
        font-size: 16px;
    }
    .split-section__caption {
        left: 20px;
        font-size: 13px;
    }
}


/* ==========================================================================
   5. CTA BANNER — Purple band with cyan pill button
   ========================================================================== */
.cta-banner {
    background: var(--color-purple);
    padding: 48px 0;
    text-align: center;
}

.cta-banner__text {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 22px;
    line-height: 1.3;
}

.cta-banner__button {
    text-transform: uppercase;
    font-size: 13px;
    padding: 14px 28px;
}

@media (min-width: 768px) {
    .cta-banner {
        padding: 64px 0;
    }
    .cta-banner__text {
        font-size: 26px;
        margin-bottom: 24px;
    }
    .cta-banner__button {
        font-size: 14px;
        padding: 14px 32px;
    }
}

@media (min-width: 992px) {
    .cta-banner {
        padding: 72px 0;
    }
    .cta-banner__text {
        font-size: 30px;
    }
}


/* ==========================================================================
   Content wrap + small extras
   ========================================================================== */
.content-wrap {
    padding: 0 56px;
}

.content-wrap-one {
	max-width: min(calc(100% - 4rem), 1046px);
}

@media (max-width: 767px) {
    .content-wrap {
        padding: 16px;
    }

    .split-section__content {
        order: 2;
    }
}