@media screen and (min-width: 1120px){
    .item_m:hover span{
        font-family: 'Chiswick Deck';
        line-height: 0;
    }
    .item_m.item_l:hover span{
        font-family: 'Cloet';
    }
    .item_m.item_l a:hover{
        font-family: 'Chiswick Deck';
        line-height: 0;
    }
    .txt a:hover{
        font-family: 'Chiswick Deck';
        line-height: 0;
    }
    .g_link a:hover{
        font-family: 'Chiswick Deck';
        line-height: 0;
    }
}

@media screen and (max-width: 1120px){
    html, body{
        font-size: 14px;
    }
    .f_left {
        font-size: 0.9rem;
    }
    .column_c.c_img img{
        max-width: calc((100vw - 5rem)/13 * 8);
    }
    section.home .phrase{
        font-size: 2.35vw;
    }
    .margin_n{
        height: calc(100vh - 25rem);
        align-items: center;
    }
    .margin_n{
        top: calc(-100vh + 20px);
    }

}

@media screen and (max-width: 1020px){
    html, body{
        font-size: 18px;
    }
    .grid_prensa,
    .grid_prensa:nth-child(2n + 1),
    .grid_prensa:nth-child(2n + 0){
        width: calc(100%/13 * 11);
    }
   
    .column_c.c_img img{
        max-width: 100%;
    }

    /* header */
    .header_int{
        display: none;
    }
    .header_int_responsive{
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        width: calc(100% - 5rem);
        margin: 0 auto;
        padding: 1rem 0;
    }
    .menu:last-child {
        justify-content: flex-end;
        margin-bottom: 0.4rem;
    }
    .btn_responsive{
        width: 2.2rem;
        height: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btn_responsive span{
        width: 1.5rem;
        height: 1px;
        background-color: currentColor;
        position: relative;
    }
    .btn_responsive span::after{
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-color: currentColor;
        left: 0;
        position: absolute;
        top: -0.5rem;
    }
    .btn_responsive span::before{
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-color: currentColor;
        left: 0;
        position: absolute;
        bottom: -0.5rem;
    }
    .header_responsive{
        width: 100%;
        top: 100%;
        position: absolute;
        left: 0;
        height: calc(100vh - 4.9rem);
        background: #fff;
        
        overflow: auto;
        display: none;
    }
    .header_r{
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        width: -moz-fit-content;
        width: fit-content;
        margin:0 auto;
    }
    .header_r:last-child{
        padding-bottom: 60px;
    }
    .header_r .item_m{
        padding: 1rem 0;
    }
    header.act .btn_responsive span{
        background-color: transparent;
    }
    .header_responsive_int{
        min-height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    header.act .btn_responsive span::after{
        top: 50%;
        transform-origin: center;
        transform: translateY(-50%) rotate(-45deg);
        bottom: initial;
    }
    header.act .btn_responsive span::before{
        top: 50%;
        transform-origin: center;
        transform: translateY(-50%) rotate(45deg);
    }
    
    /* footer */
    .c-footer__space{
        display: none;
    }
    .c-footer{
        position: relative;
        bottom: initial;
    }
    .c-footer__inside{
        grid-template-columns: 1fr;
    }
    .c-footer__column--left,
    .c-footer__column--right{
        display: none;
    }
    .c-footer__column{
        gap: 1rem;
    }
}

@media screen and (max-width: 900px){
    .section_page .txt{
        width: 100%;
        max-width: 700px;
    }
    .section_menu .txt blockquote{
        max-width: 100%;
    }
    .grid_prensa,
    .grid_prensa:nth-child(2n + 1),
    .grid_prensa:nth-child(2n + 0){
        width: 100%;
    }
    .columns{
        flex-direction: column;
    }
    .column_c{
        width: 100%;
    }
    .column_c.c_img img{
        max-width: 100%;
    }
    
}

@media screen and (max-width: 860px){
    .section_menu .txt h6{
        width: calc(100% - 2rem);
    }
    .section_menu .txt h5{
        width: calc(100% - 3rem);
    }
    .txt h5 img{
        max-height: 85vh;
    }
    .txt h6 img{
        max-height: 95vh;
    }
    .txt img.alignleft, 
    .txt .alignleft,
    .txt .wp-caption.alignleft{
        margin-right: 0.3rem;
        max-width: calc(50% - 0.3rem);
    }
    .txt img.alignright, 
    .txt .alignright,
    .txt .wp-caption.alignright{
        margin-left: 0.3rem;
        max-width: calc(50% - 0.3rem);
    }
    
    .home_02.content img{
        max-width: calc(100% - 4rem);
    }
}

@media screen and (max-width: 640px){
    .content{
        width: calc(100% - 2rem);
    }
    .header_int_responsive{
        width: calc(100% - 2rem);
        padding: 0.5rem 0;
    }
    .header_responsive{
        height: calc(100vh - 3.9rem);
    }
    section.home .phrase{
        font-size: 4vw;
    }
    .margin_n{
        padding-top: calc(2rem + 35vw);
        height: calc(100vh - 2rem - 70vw - 80px);
    }
   
    .home_02.content img:nth-child(1){
        grid-column: 1/11;
    }
    .home_02 img:nth-child(2){
        grid-column: 11/17;
    }
    .home_02 img:nth-child(3){
        grid-column: 18/27;
    }
    .home_02 img:nth-child(4){
        grid-column: 8/17;
    }
    .txt blockquote{
        font-size: 1.26rem;
    }
    .w_libro .txt p {
        font-size: 1.2rem;
    }
    .w_libro .txt h1, .w_libro .txt h5{
        font-size: 1rem;
    }
    .splide_libro .txt{
        width: calc(100% - 2rem);
    }
    .w_libro .splide__arrow{
        width: 2rem;
    }
    .w_libro .splide__arrow--next{
        right: 0rem;
        background-size: 2rem;
    }
    .splide__arrow--prev{
        left: 0;
        background-size: 2rem;
    }
    .grid_prensa:nth-child(2n + 0),
    .grid_prensa:nth-child(2n + 1){
        grid-gap: 0.5rem;
        grid-template-rows: minmax(6rem, auto) auto auto;
    }
    .grid_prensa:nth-child(2n + 0) .gp_div:nth-child(4) img {
        max-height: 6rem;
    }
    .column_c.c_img img {
        max-width: calc(100% + 2rem);
        margin-right: -1rem;
    }
    .column_c.txt p {
        font-size: 1.2rem;
    }

    header .logo img{
        height: 2rem;
        width: auto;
    }
    .menu{
        width: calc(50% - 5rem);
    }
    .header_responsive {
        height: calc(100vh - 3.3rem);
    }
    .content_phrase{
        top: 3.2rem;
    }

}

@media screen and (max-width: 500px){
    .txt p {
        font-size: 1rem;
    }
    .w_libro .txt form{
        width: 100%;
    }

}
