.page-ctn{
    /*
    1920 1290 630 315
    960 840 120 60

   960k = 255
   k = .265625
   */
    padding: 0 calc(26.5625vw - 195px);
    margin-top: calc(140vw / 19.2);
}

.headline{
    position: relative;
    display: block;
    overflow: hidden;
}

.headline img{
    width: 100%;
    display: block;
    height: auto;
    transition: .5s;
}

.headline:hover img{
    transform: scale(1.04);
}

.headline .headline-info{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    padding: 1.5rem 2.5rem;
    color: white;
    transition: .5s;
}

.headline:hover .headline-info{
    padding-bottom: 2.5em;
    background-color: rgba(0, 0, 0, .7);
}

.headline-title{
    font-size: calc(22rem / 16);
    letter-spacing: .04em;
    line-height: 1.5em;
    margin-bottom: .4rem;
    font-weight: 500;
}

.headline-desc{
    width: 60%;
    font-size: calc(14rem / 16);
    line-height: calc(22rem / 16);
    font-weight: 500;
}

.catalog-tab-ctn{
    margin-top: 5rem;
    margin-bottom: 2.25rem;
    height: 1.5rem;
    letter-spacing: .4em;
    position: relative;
}

.catalog-tab{
    color: #4d4d4d;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    align-items: center;
}

.catalog-tab a{
    flex: 0 0 auto;
    position: relative;
    padding: 0 2.4rem;
}

.catalog-tab a::after{
    content: "";
    width: 1px;
    height: .875em;
    top: 0;
    bottom: 0;
    position: absolute;
    right: -.5px;
    margin: auto;
    background-color: #4d4d4d;
}

.catalog-tab a:last-of-type::after{
    display: none;
}

.catalog-tab-ctn a.active,
.catalog-tab-ctn a:hover{
    color: #8b634b;
}

.catalog-exit{
    position: absolute;
    right: 0;
    line-height: 1.5rem;
    top: 0;
    letter-spacing: .5em;
}

.catalog-exit::before{
    content: '';
    width: calc(11rem / 16);
    height: calc(18rem / 16);
    background: url("../images/news/back.png") center/contain no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: calc(3rem / 16);
    margin-right: .5em;
}
.catalog-exit:hover::before{
    background: url("../images/news/back_coffee.png") center/contain no-repeat;
}

.news{
    display: flex;
    border: 1px solid #ebebeb;
    height: calc(264rem / 16);
    align-items: stretch;
    margin-bottom: calc(34rem / 16);
}

.news-cover{
    width: 44%;
    flex: 0 0 auto;
    overflow: hidden;
}

.news-cover img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.news:hover .news-cover img{
    transform: scale(1.03);
}

.news-info{
    width: 56%;
    flex: 0 0 auto;
    padding: 2rem;
    position: relative;
}

.news-date, .news-more{
    color: #8b634b;
    position: absolute;
    bottom: .5rem;
}

.news-date{
    left: 2rem;
    letter-spacing: .08em;
    font-size: calc(18rem / 16);
}

.news-more{
    right: 2rem;
    /* letter-spacing: .2em; */
    font-weight: 500;
}

.news-more::after{
    content: "";
    width: calc(19rem / 16);
    height: calc(15rem / 16);
    background: url("../images/news/more.png") center/contain no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: calc(3rem / 16);
    margin-right: .3em;
    margin-left: .6em;
}

.news-title{
    font-size: calc(18rem / 16);
    line-height: 1.5em;
    color: #000000;
    /* letter-spacing: .04em; */
    /* font-weight: 600; */
}

.news-desc, .news-desc-mobile{
    font-size: calc(16rem / 16);
    color: #4d4d4d;
    letter-spacing: .04em;
    line-height: calc(24rem / 16);
    font-weight: 500;
}

.news-desc{
    margin-top: .4rem;
}

.news-desc-mobile{
    display: none;
}

.yiiPager{
    display: flex;
    justify-content: center;
    font-size: calc(20rem / 16);
    color: #d7d7d7;
    margin-bottom: 2rem;
    align-items: center;
}

.yiiPager .first {
    display: none;
}

.yiiPager .last {
    display: none;
}

.yiiPager .hidden{
    display: none;
}

.yiiPager li.selected a, .yiiPager a:hover{
    color: #8b634b;
}

.yiiPager li a{
    display: block;
    padding: .4rem .6rem;
    line-height: 1rem;
    letter-spacing: .15rem;
}

.yiiPager li.first,
.yiiPager li.last{
    font-size: 1rem;
}

.yiiPager li.next a::after{
    content: "";
    display: inline-block;
    width: calc(11rem / 16);
    height: calc(18rem / 16);
    margin-top: calc(-2rem / 16);
    vertical-align: middle;
    margin-left: .1em;
    background: url("../images/news/next_page_gray.png") center/contain no-repeat;
}

.yiiPager li.next a:hover::after{
    background: url("../images/news/next_page_coffee.png") center/contain no-repeat;
}

.yiiPager li.prev a::after{
    content: "";
    display: inline-block;
    width: calc(11rem / 16);
    height: calc(18rem / 16);
    margin-top: calc(-2rem / 16);
    background: url("../images/news/prev_page_gray.png");
    vertical-align: middle;
    margin-right: .1em;
}

.yiiPager li.prev a:hover::after{
    background: url("../images/news/prev_page_coffee.png") center/contain no-repeat;
}

.news-detail-layer{
    position: fixed;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1100;
    opacity: .0;
    transition: .3s;
    visibility: hidden;
}

.news-detail-layer.active{
    z-index: 1120;
    opacity: 1;
    transition: .3s;
    visibility: visible;
}

.news-detail-dialog{
    background-color: #fff;
    width: calc(46.875vw + 390px);
    min-height: 100vh;
    margin: 16rem auto;
    overflow: hidden;
    position: relative;
}

.news-content{
    position: relative;
    z-index: 1100;
    padding: calc(44rem / 16) calc(19.79167vw - 160px) 5rem;
    color: #4d4d4d;
}

.news-content p{
    line-height: calc(24rem / 16);
    letter-spacing: .04em;
    min-height: calc(26rem / 16);
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.news-content h1{
    color: #80634b;
    font-size: calc(38rem / 16);
    line-height: calc(50rem / 16);
    /* letter-spacing: .04em; */
    font-weight: lighter;
    text-align: left;
    margin-top: .83em;
    margin-bottom: .83em;
    font-weight: 600;
}

.news-content img{
    display: block;
    max-width: 100%;
    height: auto;
    margin: auto;
}

.news-detail-layer{
    overflow: auto;
}

.news-detail-layer .btn-close{
    width: calc(36rem / 16);
    height: calc(36rem / 16);
    bottom: auto;
    right: calc(36rem / 16);
    top: calc(32rem / 16);
    cursor: pointer;
    transition: transform .3s;
    z-index: 1200;
    position: absolute;
    margin: 0 0 auto auto;
}

.news-detail-layer .btn-close:hover{
    transform: scale(1.2);
}

.news-detail-layer .btn-close::before, .news-detail-layer .btn-close::after{
    background-color: #8b634b;
    cursor: pointer;
}

.news-list {
    margin-top: calc(34rem / 16);
}

@media (max-width: 750px) {
    .page-ctn{
        margin-top: calc(36rem / 24);
    }

    .headline-desc{
        display: none;
    }

    .headline{
        height: calc(280rem / 24);
    }

    .headline img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .headline .headline-info{
        /*78px;*/
        padding: calc(21rem / 24) calc(38rem / 24);
    }

    .headline-title{
        font-size: 1rem;
        line-height: 1.5em;
        letter-spacing: .12em;
    }

    .catalog-tab-ctn{
        margin: 0;
        padding: calc(32rem / 24) calc(40rem / 24);
        height: auto;
    }
    .catalog-tab{
        height: auto;
    }
    .catalog-tab a{
        font-size: 1rem;
        line-height: 1.5em;
        letter-spacing: .12em;
    }
    .news-list{
        padding-left: calc(40rem / 24);
        padding-right: calc(40rem / 24);
        margin-bottom: 2rem;
    }
    .catalog-exit{
        display: none;
    }
/*     .news .news-title{
        display: none;
    } */
    .news-more::after{
        display: none;
    }
    .news-info{
        padding: calc(25rem / 24) calc(30rem / 24) calc(20rem / 24) calc(30rem / 24);
    }
    .news-date{
        left: calc(30rem / 24);
    }
    .news-more{
        right: calc(30rem / 24);
    }
    .news-desc{
        display: none;
    }
    .news-desc-mobile{
        display: none;
    }
    .news{
        height: calc(270rem / 24);
        margin-bottom: calc(18rem / 24);
    }
    .news-date, .news-more{
        font-size: calc(22rem / 24);
    }

    .news-more span { display: none; }

    .yiiPager{
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
    .news-detail-dialog{
        margin-top: calc(280rem / 24);
        width: calc(100% - 72rem / 24);
    }
    .news-detail-layer .btn-close{
        width: calc(36rem / 24);
        height: calc(36rem / 24);
    }
    .news-content h1{
        font-size: 1.75rem;
        line-height: 1.2em;
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    .news-content{
        padding: calc(76rem / 24) calc(34rem / 24);
    }
}

