* {
    box-sizing: border-box;
}

/* --- News Page Design --- */
.page-template-news-template .colums-section {
    padding-top: 230px;
}

.page-template-news-template .news-section {
    padding-bottom: 185px;
}

.page-template-news-template .news-section .container::after {
    content: none;
}

.page-template-news-template .news-section .row {
    gap: 155px 145px;
    margin-bottom: 50px;
}

.news-content .content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 45px 0 55px;
}

.news-content .content p {
    margin: 0;
}

.news-section .pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 24px;
    color: #fff;
    gap: 2px;
}

.news-section .pagination .page-numbers {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.news-section .pagination .page-numbers.current {
    color: #EACE53;
}

.news-section .pagination .next {
    font-size: 0;
    width: 27px;
    height: 27px;
    margin: 0 0 0 35px;
    background: url(../images/arrow-right-square.svg) center no-repeat;
    background-size: contain;
}

.news-section .pagination .prev {
    font-size: 0;
    width: 27px;
    height: 27px;
    margin: 0 35px 0 0;
    background: url(../images/arrow-right-square.svg) center no-repeat;
    background-size: contain;
    transform: scaleX(-1);
}

/* --- News Detail Page Design --- */
.new-detail-page {
    padding: 230px 0 100px;
    position: relative;
}

.news-detail-wrapper {
    padding-top: 15px;
}

.new-bg-image {
    text-align: center;
    width: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.new-bg-image img {
    opacity: .42;
    filter: blur(10px);
    max-width: 100%;
    width: 100%;
    object-fit: cover;
}

.news-detail-wrapper .detail-box-content {
    background: #1E2137;
    padding: 65px 115px 55px;
    max-width: 1165px;
    width: 90%;
    margin: 0 auto;
}

.detail-box-content .detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 45px;
}

.detail-box-content .detail-head h1 {
    color: #EBCE53;
    font-family: 'Relation Two';
    font-size: 44px;
    line-height: 52px;
    margin: 0;
}

.detail-box-content .detail-head .date {
    color: #808080;
    font-size: 18px;
}

.detail-box-content .detail-content p {
    color: #fff;
    margin-top: 30px;
}

.detail-box-content .single-news-pagination ul {
    margin: 95px 0 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.detail-box-content .single-news-pagination ul li.empty-news {
    min-width: 184px;
}

.detail-box-content .single-news-pagination .portfolio-nav {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    letter-spacing: 0.4px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.detail-box-content .single-news-pagination ul li a {
    position: relative;
}

.detail-box-content .single-news-pagination ul li a::before {
    content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    left: 0;
    background: #fff;
    bottom: 0;
    transition: 0.5s all;
}

.detail-box-content .single-news-pagination ul li.news-prev a::before {
    left: auto;
    right: 0px;
}

.detail-box-content .single-news-pagination ul li.news-center a::before {
    left: auto;
}

.detail-box-content .single-news-pagination ul li a:hover::before {
    width: calc(100% - 42px);
}

.detail-box-content .single-news-pagination ul li.news-center a:hover::before {
    width: 100%;
}

.detail-box-content .single-news-pagination .portfolio-nav.next-info {
    flex-direction: row-reverse;
}

.detail-box-content .single-news-pagination .portfolio-nav.next-info span {
    width: 27px;
    height: 27px;
    display: inline-flex;
    background: url(../images/arrow-right-square.svg) center no-repeat;
    background-size: contain;
}

.detail-box-content .single-news-pagination .portfolio-nav.pre-info span {
    width: 27px;
    height: 27px;
    display: inline-flex;
    background: url(../images/arrow-left-square.svg) center no-repeat;
    background-size: contain;
}

.detail-box-content .single-news-pagination .all-info {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    letter-spacing: 0.4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-box-content .single-news-pagination .all-info span {
    width: 27px;
    height: 27px;
    display: inline-flex;
    background: url(../images/grid.svg) center no-repeat;
    background-size: contain;
    margin-bottom: 5px;
}

.about-gallery-section .gallery-list {
    max-width: 1168px;
    margin: 0 auto 135px;
}

.about-gallery-section .gallery-list img {
    width: 100%;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    transition: 0.5s all;
    max-height: 700px;
}

.about-gallery-section .gallery-list a {
    overflow: hidden;
}

.about-gallery-section .gallery-list img:hover {
    transform: scale(1.1);
}

.about-gallery-section .gallery-list .splide__pagination {
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-gallery-section .gallery-list .splide__pagination button {
    margin: 0;
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 0;
    transform: none;
    background: #747474;
    opacity: 1;
}

.about-gallery-section .gallery-list .splide__pagination button.is-active {
    background: #fff;
}

.about-gallery-section .gallery-list .splide__arrow {
    transform: none;
    top: auto;
    bottom: 25px;
    width: 27px;
    height: 27px;
    font-size: 0;
    left: 65px;
    border-radius: 0;
    background: url(../images/arrow-left-square.svg) center no-repeat;
    background-size: contain;
    opacity: 1;
}

.about-gallery-section .gallery-list .splide__arrow.splide__arrow--next {
    left: auto;
    right: 65px;
    background: url(../images/arrow-right-square.svg) center no-repeat;
    background-size: contain;
}

.about-gallery-section .gallery-list .splide__arrow:disabled {
    opacity: .5;
}

/* --- Responsive @media Queries --- */

@media screen and (max-width: 1799px) {
    .page-template-news-template .news-section .row {
        gap: 100px 80px;
    }

    .detail-box-content .detail-head h1 {
        font-size: 38px;
        line-height: 52px;
    }

    .detail-box-content .detail-head .date {
        font-size: 16px;
        line-height: 20px;
    }
}

@media screen and (max-width: 1599px) {

    .page-template-news-template .colums-section,
    .new-detail-page {
        padding-top: 180px;
    }

    .page-template-news-template .news-section {
        padding-bottom: 140px;
    }

    .detail-box-content .detail-content p {
        margin-top: 20px;
    }

    .detail-box-content .single-news-pagination ul {
        margin: 65px 0 0;
    }
}

@media screen and (max-width: 1399px) {
    .news-detail-wrapper .detail-box-content {
        padding: 60px 90px 45px;
        max-width: 100%;
        width: 100%;
    }

    .page-template-news-template .colums-section,
    .new-detail-page {
        padding-top: 150px;
    }

    .page-template-news-template .news-section {
        padding-bottom: 120px;
    }

    .detail-box-content .detail-head {
        margin-bottom: 35px;
    }

    .detail-box-content .detail-head h1 {
        font-size: 32px;
        line-height: 46px;
    }

    .detail-box-content .single-news-pagination ul {
        margin: 50px 0 0;
    }

    .detail-box-content .single-news-pagination ul li.empty-news {
        min-width: 161px;
    }

    .detail-box-content .single-news-pagination .portfolio-nav,
    .detail-box-content .single-news-pagination .all-info {
        font-size: 20px;
    }
}

@media screen and (max-width: 1099px) {
    .new-detail-page {
        padding-bottom: 60px;
    }

    .news-content .content {
        margin: 30px 0 35px;
    }

    .news-detail-wrapper .detail-box-content {
        padding: 50px 60px 40px;
    }

    .page-template-news-template .news-section .row {
        gap: 80px;
    }

    .detail-box-content .detail-head {
        margin-bottom: 30px;
    }

    .detail-box-content .detail-head .date {
        font-size: 14px;
        line-height: 18px;
    }

    .about-gallery-section .gallery-list .splide__arrow {
        bottom: 15px;
        left: 40px;
    }

    .about-gallery-section .gallery-list .splide__arrow.splide__arrow--next {
        right: 40px;
    }

    .about-gallery-section .gallery-list .splide__pagination {
        bottom: 20px;
    }

    .detail-box-content .single-news-pagination ul {
        margin: 40px 0 0;
    }

    .detail-box-content .single-news-pagination ul li.empty-news {
        min-width: 138px;
    }

    .detail-box-content .single-news-pagination .portfolio-nav,
    .detail-box-content .single-news-pagination .all-info {
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {
    .about-gallery-section .gallery-list {
        margin-bottom: 80px;
    }

    .news-detail-wrapper .detail-box-content {
        padding: 50px 40px 40px
    }

    .detail-box-content .single-news-pagination ul {
        flex-wrap: wrap;
        gap: 30px;
    }

    .detail-box-content .single-news-pagination ul li.empty-news {
        display: none;
    }

    .detail-box-content .single-news-pagination .news-center {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .detail-box-content .single-news-pagination .news-prev {
        order: 2;
    }

    .detail-box-content .single-news-pagination .news-next {
        order: 3;
    }
}

@media screen and (max-width: 599px) {
    .news-content .content {
        margin: 25px 0;
    }

    .news-detail-wrapper .detail-box-content {
        padding: 40px 25px 40px;
    }

    .page-template-news-template .colums-section,
    .new-detail-page {
        padding-top: 120px;
    }

    .page-template-news-template .news-section .row {
        gap: 65px;
        margin-bottom: 40px;
    }

    .page-template-news-template .news-section {
        padding-bottom: 80px;
    }

    .detail-box-content .detail-head {
        margin-bottom: 35px;
    }

    .detail-box-content .detail-head h1 {
        font-size: 22px;
        line-height: 30px;
    }

    .detail-box-content .detail-head .date {
        font-size: 12px;
        line-height: 14px;
    }

    .about-gallery-section .gallery-list .splide__arrow {
        bottom: 10px;
        left: 10px;
    }

    .about-gallery-section .gallery-list .splide__arrow.splide__arrow--next {
        right: 10px;
    }

    .about-gallery-section .gallery-list .splide__pagination {
        bottom: 15px;
    }

    .about-gallery-section .gallery-list .splide__pagination {
        gap: 10px;
        padding: 0 40px;
    }

    .about-gallery-section .gallery-list .splide__arrow {
        width: 20px;
        height: 20px;
    }

    .about-gallery-section .gallery-list .splide__pagination button {
        width: 10px;
        height: 10px;
        min-width: 10px;
    }

    .detail-box-content .single-news-pagination ul {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .detail-box-content .single-news-pagination .news-center {
        order: 2;
        width: auto;
    }

    .detail-box-content .single-news-pagination .news-center .all-info {
        font-size: 0;
    }

    .detail-box-content .single-news-pagination .all-info span {
        margin-bottom: 0;
    }

    .detail-box-content .single-news-pagination .portfolio-nav {
        font-size: 0;
    }

    .detail-box-content .single-news-pagination ul li a:hover::before,
    .detail-box-content .single-news-pagination ul li.news-center a::before {
        content: none !important;
    }

}