/* =====================================================================
   PAGINAS DE PROGRAMA
   Estilos compartidos por las paginas de cada formacion de Academia.
   Se apoyan en styles.css y vogue.css: aca solo va lo propio.
   ===================================================================== */

/* portada oscura: el header sigue siendo blanco sobre negro,
   igual que sobre el video de la home */
.p-hero {
    background-color: var(--color-1);
    color: white;
    padding: calc(6 * var(--space)) 0 calc(4 * var(--space));
}

.p-hero .display-1 {
    color: white;
}

.p-hero__eyebrow {
    display: block;
    font-family: var(--font-2);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin-bottom: var(--vspace-0_5);
}

.p-hero__lead {
    max-width: 68rem;
    color: rgba(255, 255, 255, .8);
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.p-hero__back {
    display: inline-block;
    font-family: var(--font-2);
    font-size: var(--text-sm);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin-bottom: var(--vspace-1);
}

.p-hero__back:hover,
.p-hero__back:focus {
    color: white;
}


/* modulos */
.p-program {
    padding-top: calc(4 * var(--space));
    padding-bottom: calc(4 * var(--space));
}

.p-program__intro {
    max-width: 68rem;
    margin-bottom: var(--vspace-2);
}

.p-module {
    border-top: 1px solid var(--color-border);
    padding-top: var(--vspace-1);
    margin-bottom: var(--vspace-2);
}

.p-module__num {
    display: block;
    font-family: var(--font-2);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--vspace-0_25);
}

.p-module__title {
    margin-top: 0;
    margin-bottom: var(--vspace-0_5);
}

.p-module__summary {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    margin-bottom: var(--vspace-0_5);
}

.p-module__topics {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.p-module__topics li {
    position: relative;
    padding-left: 2.4rem;
    margin-bottom: .8rem;
}

.p-module__topics li::before {
    content: "";
    display: block;
    width: 1.2rem;
    height: 1px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    top: 1.2rem;
}


/* clase especial: banda oscura con foto propia */
.p-feature {
    background-color: var(--color-1);
    color: white;
    padding: calc(4 * var(--space)) 0;
}

.p-feature__photo img {
    width: 100%;
    margin-bottom: var(--vspace-0_25);
}

.p-feature__caption {
    display: block;
    font-family: var(--font-2);
    font-size: var(--text-sm);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.p-feature__label {
    display: block;
    font-family: var(--font-2);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin-bottom: var(--vspace-0_5);
}

.p-feature h2 {
    color: white;
    margin-top: 0;
}

.p-feature p {
    color: rgba(255, 255, 255, .8);
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

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

@media screen and (max-width: 900px) {
    .p-feature__photo {
        margin-bottom: var(--vspace-1);
    }
}


/* cierre */
.p-cta {
    background-color: var(--color-1);
    color: white;
    padding: calc(4 * var(--space)) 0;
    text-align: center;
}

.p-cta h2 {
    color: white;
    margin-top: 0;
}

.p-cta p {
    color: rgba(255, 255, 255, .75);
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

/* la direccion a la vista: si el dispositivo no abre el cliente de correo,
   el mail igual se puede leer y copiar */
.p-cta__mail {
    font-family: var(--font-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .55);
    margin-top: var(--vspace-0_5);
    margin-bottom: 0;
}

.p-cta__mail a {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.p-cta__mail a:hover,
.p-cta__mail a:focus {
    border-bottom-color: white;
}


@media screen and (max-width: 800px) {
    .p-hero {
        padding-top: calc(5 * var(--space));
    }
}
