/*
 * Ficha manual de alojamientos - Calidad Rural
 * CSS aislado mediante el prefijo .cr-manual- para no interferir
 * con la hoja de estilos antigua.
 */

.cr-manual-page {
    width: 100%;
    position: relative;
    background: #fff;
    color: #4b4d4c;
}

.cr-manual-page * {
    box-sizing: border-box;
}

.cr-manual-wrap {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.cr-manual-cabecera {
    padding: 34px 0 48px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ccc;
}

.cr-manual-cabecera h1 {
    margin: 0 0 34px;
    color: #4b4d4c;
    text-align: center;
    font-size: 2.35em;
    line-height: 1.25;
    font-weight: 500;
}

.cr-manual-principal {
    width: 100%;
    max-width: 820px;
    height: 460px;
    margin: 0 auto;
    overflow: hidden;
    background: #eee;
    border: 1px solid #d5d5d5;
}

.cr-manual-principal img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cr-manual-contenido {
    padding: 34px 0 80px;
}

.cr-manual-titulo-seccion {
    display: flex;
    align-items: center;
    margin: 0 0 16px;
    color: #5d89a2;
    border-bottom: 1px solid #d7d7d7;
}

.cr-manual-titulo-seccion h2 {
    margin: 0;
    padding: 8px 0 12px;
    color: #5d89a2;
    font-size: 1.25em;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
}

.cr-manual-mas {
    display: inline-block;
    margin-right: 7px;
    font-size: 2.3em;
    line-height: 1;
    font-weight: 300;
}

.cr-manual-descripcion {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.75;
}

.cr-manual-descripcion p {
    margin: 0 0 12px;
}

.cr-manual-descripcion strong {
    font-weight: 700;
}

.cr-manual-datos-contacto {
    display: flex;
    align-items: stretch;
    gap: 28px;
    margin: 24px 0 42px;
    padding: 24px 3%;
    background: #f7f7f7;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.cr-manual-datos,
.cr-manual-contacto {
    min-width: 0;
}

.cr-manual-datos {
    flex: 1.25;
}

.cr-manual-contacto {
    flex: 0.75;
    padding-left: 28px;
    border-left: 1px solid #d5d5d5;
}

.cr-manual-datos h3,
.cr-manual-contacto h3 {
    margin: 0 0 16px;
    color: #5d89a2;
    font-size: 1.1em;
    font-weight: 600;
}

.cr-manual-datos dl {
    margin: 0;
}

.cr-manual-dato {
    display: flex;
    padding: 9px 0;
    border-bottom: 1px solid #e1e1e1;
}

.cr-manual-dato:last-child {
    border-bottom: 0;
}

.cr-manual-dato dt {
    width: 46%;
    margin: 0;
    color: #5d89a2;
    font-weight: 600;
}

.cr-manual-dato dd {
    width: 54%;
    margin: 0;
    color: #4b4d4c;
}

.cr-manual-contacto p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    line-height: 1.55;
}

.cr-manual-contacto i {
    width: 18px;
    margin-top: 3px;
    color: #5d89a2;
    text-align: center;
}

.cr-manual-contacto a {
    overflow-wrap: anywhere;
    color: #5d89a2;
    text-decoration: none;
}

.cr-manual-contacto a:hover {
    text-decoration: underline;
}

.cr-manual-titulo-galeria {
    margin-top: 10px;
    margin-bottom: 22px;
}

.cr-manual-grid-fotos {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -6px;
}

.cr-manual-foto {
    display: block;
    width: calc(25% - 12px);
    height: 185px;
    margin: 6px;
    overflow: hidden;
    background: #eee;
    border: 1px solid #ccc;
    text-decoration: none;
}

.cr-manual-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease, opacity .25s ease;
}

.cr-manual-foto:hover img {
    opacity: .88;
    transform: scale(1.025);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media screen and (max-width: 900px) {
    .cr-manual-principal {
        height: 390px;
    }

    .cr-manual-foto {
        width: calc(33.333% - 12px);
        height: 180px;
    }
}

@media screen and (max-width: 700px) {
    .cr-manual-cabecera {
        padding: 28px 0 36px;
    }

    .cr-manual-cabecera h1 {
        margin-bottom: 26px;
        font-size: 1.9em;
    }

    .cr-manual-principal {
        height: 330px;
    }

    .cr-manual-datos-contacto {
        display: block;
        padding: 22px 5%;
    }

    .cr-manual-contacto {
        margin-top: 24px;
        padding: 24px 0 0;
        border-top: 1px solid #d5d5d5;
        border-left: 0;
    }

    .cr-manual-foto {
        width: calc(50% - 12px);
    }
}

@media screen and (max-width: 480px) {
    .cr-manual-wrap {
        width: 92%;
    }

    .cr-manual-cabecera h1 {
        font-size: 1.65em;
    }

    .cr-manual-principal {
        height: 260px;
    }

    .cr-manual-dato {
        display: block;
    }

    .cr-manual-dato dt,
    .cr-manual-dato dd {
        width: 100%;
    }

    .cr-manual-dato dd {
        margin-top: 3px;
    }

    .cr-manual-foto {
        width: calc(50% - 8px);
        height: 145px;
        margin: 4px;
    }

    .cr-manual-grid-fotos {
        margin: 0 -4px;
    }
}
