/* ==========================================================
   FLAUTEA 154-A
   FLAUTA ALTO EN SOL
   ========================================================== */

.alto-page {
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 3rem;

    color: #173d43;
}

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


/* VOLVER */

.alto-back-wrap {
    display: flex;
    justify-content: flex-end;

    margin: 1.4rem 0 .8rem;
}

.alto-back {
    display: inline-flex;

    padding: .7rem 1rem;

    border: 1px solid #b8d9d6;
    border-radius: 999px;

    background: #fff;
    color: #08777c;

    font-size: .82rem;
    font-weight: 700;

    text-decoration: none;
}


/* HERO */

.alto-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        250px;

    gap: 1.5rem;

    align-items: center;

    padding: 1.7rem 1.8rem;

    border: 1px solid #c9dfdd;
    border-radius: 16px;

    background: #f9fcfb;
}

.alto-kicker,
.alto-section-number {
    display: block;

    margin-bottom: .45rem;

    color: #087f84;

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .13em;
}

.alto-hero h1 {
    margin: 0 0 .8rem;

    color: #073943;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.9rem, 3vw, 2.6rem);

    line-height: 1.08;
}

.alto-hero p,
.alto-section > p {
    line-height: 1.78;
}

.alto-lead {
    font-size: 1.04rem;
}

.alto-hero-image {
    margin: 0;

    padding: .7rem;

    border: 1px solid #cbdedc;
    border-radius: 11px;

    background: #fff;
}

.alto-hero-image img {
    display: block;

    width: 100%;
    height: 210px;

    object-fit: contain;
}


/* DATOS */

.alto-facts {
    display: grid;

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

    gap: .8rem;

    margin-top: .9rem;
}

.alto-facts article {
    padding: .9rem;

    border: 1px solid #c9dfdd;
    border-radius: 10px;

    background: #fff;
}

.alto-facts small {
    display: block;

    margin-bottom: .25rem;

    color: #61797c;

    font-size: .61rem;
    font-weight: 800;

    letter-spacing: .08em;
}

.alto-facts strong {
    display: block;

    margin-bottom: .25rem;

    color: #087f84;
}

.alto-facts span {
    color: #536d71;

    font-size: .7rem;

    line-height: 1.4;
}


/* INDICE */

.alto-index {
    display: flex;

    flex-wrap: wrap;

    gap: .5rem;

    margin: 1rem 0 2rem;
}

.alto-index a {
    padding: .42rem .7rem;

    border: 1px solid #b8d9d6;
    border-radius: 999px;

    background: #fff;

    color: #08777c;

    font-size: .72rem;
    font-weight: 700;

    text-decoration: none;
}


/* SECCIONES */

.alto-section {
    margin-top: 2.8rem;
}

.alto-section > h2,
.alto-sources > h2 {
    margin: 0 0 .85rem;

    color: #073943;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.45rem, 2.2vw, 2rem);
}


/* NOTA */

.alto-note {
    margin-top: 1rem;

    padding: 1rem 1.15rem;

    border-left: 4px solid #089497;
    border-radius: 8px;

    background: #edf8f6;

    line-height: 1.7;
}


/* HISTORIA */

.alto-history-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(220px, .6fr);

    gap: 1.2rem;

    align-items: center;

    margin-top: 1.2rem;

    padding: 1.2rem;

    border: 1px solid #c9dfdd;
    border-radius: 12px;

    background: #fbfdfc;
}

.alto-history-card span {
    color: #087f84;

    font-size: .64rem;
    font-weight: 800;

    letter-spacing: .09em;
}

.alto-history-card h3 {
    margin: .25rem 0 .55rem;

    color: #073943;
}

.alto-history-card p {
    line-height: 1.7;
}

.alto-history-card a {
    color: #087f84;

    font-weight: 700;

    text-decoration: none;
}

.alto-history-card figure {
    margin: 0;
}

.alto-history-card img {
    display: block;

    width: 100%;
    height: 210px;

    object-fit: contain;
}


/* GRIDS */

.alto-grid {
    display: grid;

    gap: .9rem;

    margin-top: 1.2rem;
}

.alto-grid-3 {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

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

.alto-grid article,
.alto-heads article,
.alto-use-grid article {
    padding: 1.1rem;

    border: 1px solid #c9dfdd;
    border-radius: 11px;

    background: #fbfdfc;
}

.alto-grid h3,
.alto-heads h3 {
    margin: 0 0 .5rem;

    color: #073943;
}

.alto-grid p,
.alto-heads p,
.alto-use-grid p {
    margin-bottom: 0;

    line-height: 1.67;
}


/* CABEZAS */

.alto-heads {
    display: grid;

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

    gap: 1rem;

    margin-top: 1.2rem;
}


/* DIGITACION */

.alto-special {
    margin-top: 1rem;

    padding: 1.2rem;

    border: 1px solid #b7d9d6;
    border-radius: 11px;

    background: #f0f8f7;
}

.alto-special h3 {
    margin: 0 0 .55rem;

    color: #073943;
}

.alto-special p {
    line-height: 1.7;
}


/* TRANSPOSICION */

.alto-transposition {
    display: grid;

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

    gap: 1rem;

    align-items: center;

    max-width: 700px;

    margin: 1.3rem auto;

    text-align: center;
}

.alto-transposition > div:not(.alto-arrow) {
    padding: 1.15rem;

    border: 1px solid #c9dfdd;
    border-radius: 11px;

    background: #f5faf9;
}

.alto-transposition span {
    display: block;

    margin-bottom: .25rem;

    color: #637c7e;

    font-size: .63rem;
    font-weight: 800;

    letter-spacing: .08em;
}

.alto-transposition strong {
    color: #087f84;

    font-size: 1.05rem;
}

.alto-arrow {
    color: #087f84;

    font-weight: 800;
}


/* USOS */

.alto-use-grid {
    display: grid;

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

    gap: .8rem;

    margin-top: 1.2rem;
}

.alto-use-grid strong {
    color: #087f84;
}


/* TABLA */

.alto-table-wrap {
    margin-top: 1.2rem;

    overflow-x: auto;

    border: 1px solid #c9dfdd;
    border-radius: 11px;
}

.alto-table {
    width: 100%;

    border-collapse: collapse;

    font-size: .78rem;
}

.alto-table th {
    padding: .8rem;

    background: #eaf5f3;

    color: #073943;

    text-align: left;
}

.alto-table td {
    padding: .78rem .8rem;

    border-top: 1px solid #d7e6e4;

    vertical-align: top;

    line-height: 1.55;
}


/* CONCLUSION */

.alto-conclusion {
    padding: 1.3rem;

    border: 1px solid #c9dfdd;
    border-radius: 13px;

    background: #f8fbfa;
}


/* FUENTES */

.alto-sources {
    margin-top: 2.8rem;

    padding: 1.3rem;

    border: 1px solid #c9dfdd;
    border-radius: 13px;

    background: #f8fbfa;
}

.alto-source-grid {
    display: grid;

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

    gap: .75rem;

    margin-top: 1rem;
}

.alto-source-grid a {
    display: flex;

    flex-direction: column;

    gap: .25rem;

    padding: .9rem;

    border: 1px solid #cfe1df;
    border-radius: 9px;

    background: #fff;

    color: #16464c;

    text-decoration: none;
}

.alto-source-grid span {
    color: #087f84;

    font-size: .7rem;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .alto-hero {
        grid-template-columns: 1fr;
    }

    .alto-hero-image {
        max-width: 300px;

        margin: 0 auto;
    }

    .alto-facts,
    .alto-grid-3,
    .alto-use-grid,
    .alto-source-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .alto-page {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .alto-hero {
        padding: 1.2rem 1rem;
    }

    .alto-facts,
    .alto-grid-3,
    .alto-grid-2,
    .alto-heads,
    .alto-use-grid,
    .alto-source-grid,
    .alto-history-card {
        grid-template-columns: 1fr;
    }

    .alto-transposition {
        grid-template-columns: 1fr;
    }

}
