/*---------- news css ----------*/
.c-news-list .b-grid .b-grid__img {
    float: none;
    width: auto;
    height: auto;
}
.c-news-list .b-grid .b-grid__img a {
    display: block;
    position: relative;
    z-index: 1;
    padding-top: 63.3333333333%; /* percentage(380/600) */
}

.c-news-list .b-grid .b-grid__img img {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    min-height: 100%;
}

.c-news-list .b-grid .b-grid__content {
    margin-left: 0;
    padding: 10px;
}

.c-news-list .b-grid .b-grid__row {
    color: #888888; /* Giả định giá trị cho $color-text2 */
}

.c-news-list .b-grid .b-grid__title {
    color: #333333; /* Giả định giá trị cho $color-bg3 */
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    display: block;
    font-size: 20px;
    line-height: 30px;
}

.c-news-list .b-grid .b-grid__time {
    letter-spacing: 2px;
}

.c-news-list .b-grid .c-more {
    text-align: left;
}
.c-news-list .b-grid .c-more > a{
    text-transform: uppercase;
}
.c-news-grid .b-grid .b-grid__img {
    float: none;
    width: auto;
    height: auto;
    overflow: inherit;
    position: relative;
    z-index: 1;
}

.c-news-grid .b-grid .b-grid__img:before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--main-cl); /* Giả định giá trị cho $color-primary */
    left: 12px;
    bottom: -6px;
    position: absolute;
    z-index: 3;
    transform: rotate(45deg); /* Thay thế mixin transform */
}

.c-news-grid .b-grid .b-grid__img a {
    display: block;
    position: relative;
    z-index: 1;
    padding-top: 64.0668523677%; /* percentage(230/359) */
    overflow: hidden;
}

.c-news-grid .b-grid .b-grid__img img {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    min-height: 100%;
}

.c-news-grid .b-grid .b-grid__content {
    margin-left: 1px;
    margin-right: 1px;
    padding: 15px 10px;
    background: #ffffff; /* Giả định giá trị cho $color-white */
}

.c-news-grid .b-grid .b-grid__row {
    color: #999999; /* Giả định giá trị cho $color-text3 */
}

.c-news-grid .b-grid .b-grid__title {
    color: #333333; /* Giả định giá trị cho $color-bg3 */
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
    display: block;
    font-size: 16px;
    line-height: 24px;
}

.c-news-grid .b-grid .b-grid__time {
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị cho $color-text2 */
}

.c-news-grid .b-grid .b-grid__place {
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị cho $color-text2 */
    display: block;
    text-transform: uppercase;
    margin-top: 5px;
}

.c-news-grid .b-grid .b-grid__type {
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị cho $color-text2 */
    display: block;
    text-transform: uppercase;
    margin-top: 5px;
}

.c-news-grid .b-grid .b-grid__type .fas {
    margin-right: 4px;
    font-size: 16px;
}

.c-news-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

/* news responsive css */
@media (min-width: 768px) { /* mobile landscape */
    .c-news-list .b-grid .b-grid__content {
        padding: 15px;
    }

    .c-news-list .b-grid .b-grid__row {
        margin-bottom: 10px;
    }

    .c-news-list .b-grid .b-grid__title {
        font-size: 22px;
        line-height: 32px;
    }

    .c-news-grid .b-grid .b-grid__head {
        line-height: 24px;
        height: 72px; /* 24px * 3 */
    }

    .c-news-grid .b-grid .b-grid__title {
        overflow: hidden;
        max-height: 72px; /* 24px * 3 */
    }

    .c-news-grid .b-grid .b-grid__desc {
        line-height: 22px;
        height: 66px; /* 22px * 3 */
        overflow: hidden;
    }

    .c-news-grid ul li+li{
        border-left: 1px solid #d6d6d6;
    }

    .c-news-grid ul li {
        float: left;
        width: 50%; /* percentage(1/2) */
        padding-left: 0;
        box-sizing: border-box;
    }
}

@media (min-width: 992px) { /* ipad portrait */
    .c-news-list .b-grid {
        margin-bottom: 30px;
        background: #ffffff; /* Giả định giá trị cho $color-white */
        position: relative;
        z-index: 1;
        padding-top: 31.6666666667%; /* percentage(380/1200) */
    }
    .c-news-grid ul li{
        width: 25%;
    }
    .c-news-list .b-grid .b-grid__img {
        width: 50%; /* percentage(1/2) */
        position: absolute;
        z-index: 2;
        top: 0;
        left: 0;
    }

    .c-news-list .b-grid .b-grid__content {
        border-top: 1px solid #e0e0e0; /* Giả định giá trị cho $color-line */
        border-bottom: 1px solid #e0e0e0; /* Giả định giá trị cho $color-line */
        border-right: 1px solid #e0e0e0; /* Giả định giá trị cho $color-line */
        padding: 15px 15px 0;
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50%; /* percentage(1/2) */
    }

    .c-news-list .b-grid .b-grid__title {
        max-height: 96px; /* 32px * 3 */
        overflow: hidden;
        letter-spacing: 2px;
    }

    .c-news-list .b-grid .b-grid__head {
        min-height: 96px; /* 32px * 3 */
    }


    .c-news-list.js-news-list .b-grid {
        /*opacity: 0;*/
    }

    .c-news-list .b-grid .b-grid__desc {
        display: block;
        overflow: hidden;
        height: 66px; /* 22px * 3 */
        line-height: 22px;
    }
}

@media (min-width: 1200px) { /* ipad landscape & pc 1024x768px */
    .c-news-list .b-grid {
        margin-bottom: 40px;
    }

    .c-news-list .b-grid .b-grid__img a:before {
        content: "";
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(29, 72, 66, 0.8); /* rgba($color-primary,0.8) */
        opacity: 0;
        transition: all 0.3s; /* Thay thế mixin transition-all */
    }

    .c-news-list .b-grid .b-grid__img a:after {
        content: "";
        position: absolute;
        z-index: 4;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        background-image: url("../images/symbol-ovelay.png");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: auto 100%;
        transition: all 0.3s; /* Thay thế mixin transition-all */
    }

    .c-news-list .b-grid .b-grid__img img {
        transition: all 0.3s; /* Thay thế mixin transition-all */
    }

    .c-news-list .b-grid .b-grid__img:hover a:before {
        opacity: 1;
    }

    .c-news-list .b-grid .b-grid__img:hover a:after {
        opacity: 1;
    }

    .c-news-list .b-grid .b-grid__img:hover img {
        transform: scale(1.05); /* Thay thế mixin transform */
    }


    .c-news-list .b-grid .b-grid__title {
        max-height: 102px; /* 34px * 3 */
        font-size: 24px;
        line-height: 34px;
        transition: all 0.3s; /* Thay thế mixin transition-all */
    }

    .c-news-list .b-grid .b-grid__title:hover {
        color: var(--main-cl); /* Giả định giá trị cho $color-primary */
    }

    .c-news-list .b-grid .b-grid__head {
        min-height: 102px; /* 34px * 3 */
    }

    .c-news-grid .b-grid .b-grid__row {
        margin-bottom: 10px;
    }

    .c-news-grid .b-grid .b-grid__title {
        transition: all 0.3s; /* Thay thế mixin transition-all */
    }

    .c-news-grid .b-grid .b-grid__title:hover {
        color: var(--main-cl); /* Giả định giá trị cho $color-primary */
    }

    .c-news-grid ul li {
        width: 25%; /* percentage(1/4) */
    }
}

@media (min-width: 1366px) { /* pc & mac 1280px grow up */
    .c-news-list .b-grid {
        margin-bottom: 50px;
    }

    .c-news-list .b-grid .b-grid__content {
        padding: 20px 25px 0;
    }

    .c-news-list .b-grid .b-grid__row {
        margin-bottom: 20px;
    }

    .c-news-list .b-grid .b-grid__title {
        max-height: 108px; /* 36px * 3 */
        font-size: 26px;
        line-height: 36px;
    }

    .c-news-list .b-grid .b-grid__head {
        min-height: 108px; /* 36px * 3 */
    }

    .c-news-grid .b-grid .b-grid__img:before {
        left: 17px;
    }

    .c-news-grid .b-grid .b-grid__content {
        padding: 25px 15px;
    }
}

@media (min-width: 1440px) { /* pc & mac 1440px grow up */
    .c-news-list {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .c-news-list .b-grid {
        margin-bottom: 70px;
    }

    .c-news-list .b-grid .b-grid__content {
        padding: 25px 30px 0;
    }

    .c-news-list .b-grid .b-grid__title {
        max-height: 120px; /* 40px * 3 */
        font-size: 30px;
        line-height: 40px;
    }

    .c-news-list .b-grid .b-grid__head {
        min-height: 120px; /* 40px * 3 */
    }

    .c-news-grid .b-grid .b-grid__head {
        line-height: 26px;
        height: 78px; /* 26px * 3 */
    }

    .c-news-grid .b-grid .b-grid__title {
        font-size: 18px;
        line-height: 26px;
        max-height: 76px; /* 26px * 3 */
    }
}
/*---------- end news css ----------*/
.posts-page,
.post-details{
    width: 1440px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #d6d6d6;
    border-bottom: none;
    border-top: none;
    margin-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
}
.c-detail-banner img {
    width: 100%;
    height: auto;
}

.c-news-detail {
    padding: 20px 15px 40px;
}

.c-news-detail__title {
    margin-bottom: 20px;
}

.c-news-detail__title h1 {
    margin: 0;
    line-height: 1.5;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 900;
    color: #333333; /* Giả định giá trị */
}

.c-news-detail .b-maincontent {
    color: #666666; /* Giả định giá trị */
}

.c-news-detail__more {
    padding-top: 30px;
    margin-left: -15px;
    margin-right: -15px;
}

.c-news-detail__more .b-grid {
    overflow: hidden;
}

.c-news-detail__more .b-grid .b-grid__img {
    float: none;
    width: auto;
    height: auto;
}

.c-news-detail__more .b-grid .b-grid__img a {
    display: block;
    position: relative;
    z-index: 1;
    padding-top: 63.75%; /* percentage(153/240) */
    overflow: hidden;
}

.c-news-detail__more .b-grid .b-grid__img img {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    min-height: 100%;
}

.c-news-detail__more .b-grid .b-grid__content {
    margin-left: 0;
    padding: 15px;
}

.c-news-detail__more .b-grid .b-grid__title {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    color: #333333; /* Giả định giá trị */
}

.c-news-detail__more .b-grid .b-grid__time {
    color: #888888; /* Giả định giá trị */
}

.c-news-detail__more .b-grid .b-grid__label {
    color: #888888; /* Giả định giá trị */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.c-news-detail__more .b-grid .c-more {
    padding-top: 0;
    padding-right: 0;
}

.c-line {
    height: 1px;
    background: #e0e0e0; /* Giả định giá trị */
}

.c-line.is-dot {
    position: relative;
    z-index: 10;
}

.c-line.is-dot:before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 9.375%; /* percentage(135/1440) */
    width: 12px;
    height: 12px;
    background: var(--main-cl); /* Giả định giá trị */
    top: -6px;
    transform: rotate(45deg);
}

.c-detail-control {
    padding: 20px 14px;
    margin-left: 1px;
    margin-right: 1px;
    background: #ffffff; /* Giả định giá trị */
}

.c-detail-control__back {
    margin-bottom: 10px;
}

.c-detail-control__back a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị */
}

.c-detail-control__back a .icon-arrow-left {
    margin-right: 5px;
}

.c-detail-control__time {
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị */
}

.c-detail-control__share label {
    margin: 0 10px 0 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị */
}

.c-detail-control__share a {
    color: #999999; /* Giả định giá trị */
    text-decoration: none;
    font-size: 18px;
    margin-right: 10px;
}

.c-detail-control__type {
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị */
}

.c-detail-control__type .fas {
    font-size: 16px;
    margin-right: 4px;
}

.c-detail-control__place {
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: #888888; /* Giả định giá trị */
}

.c-article__title {
    margin-bottom: 15px;
}

.c-article__title h1 {
    font-size: 16px;
    margin: 0;
    line-height: normal;
    text-transform: uppercase;
    font-weight: 900;
}

.c-news-comment {
    padding-top: 30px;
}

.c-news-comment__like {
    text-align: right;
    padding-bottom: 15px;
}

.c-news-comment__like > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.c-news-comment__like > ul > li {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

.c-news-comment__box {
    border: 1px solid #dddddd; /* Giả định giá trị */
    padding: 10px;
}

.c-news-comment__box > img {
    width: 100%;
}

.c-news-comment__box > iframe {
    width: 100%;
}
.c-box .c-box__title {
    text-align: center;
    padding-bottom: 30px;
}
.c-box .c-box__title .c-box__title__name {
    display: inline-block;
    vertical-align: top;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    line-height: 1.3;
}
/* news detail responsive css */
@media (min-width: 768px) {
    .c-box.is-detail .c-box__title {
        background: #fff;
    }
    .c-box .c-box__title .c-box__title__name {
        font-size: 30px;
        letter-spacing: 4px;
    }
    .c-news-detail {
        padding: 30px 14px 60px;
        margin-left: 1px;
        margin-right: 1px;
        background: #ffffff; /* Giả định giá trị */
    }

    .c-news-detail__title {
        margin-bottom: 25px;
    }

    .c-news-detail__title h1 {
        font-size: 17px;
    }

    .c-news-detail__more {
        padding-top: 40px;
    }

    .c-news-detail__more .b-grid {
        border: 1px solid #dddddd; /* Giả định giá trị */
        position: relative;
        z-index: 1;
    }

    .c-news-detail__more .b-grid .b-grid__img {
        float: left;
        width: 240px;
        height: 153px;
    }

    .c-news-detail__more .b-grid .b-grid__img a {
        padding-top: 0;
        width: 240px;
        height: 153px;
    }

    .c-news-detail__more .b-grid .b-grid__content {
        margin-left: 240px;
        padding: 15px 60px 0 20px;
    }

    .c-news-detail__more .b-grid .b-grid__row {
        margin-bottom: 10px;
    }

    .c-news-detail__more .b-grid .b-grid__title {
        font-size: 18px;
        line-height: 26px;
        overflow: hidden;
        max-height: 52px;
    }

    .c-news-detail__more .b-grid .c-more {
        position: absolute;
        z-index: 2;
        top: 50%;
        right: 15px;
        margin-top: -7px;
    }

    .c-detail-control {
        padding: 25px 14px;
    }

    .c-detail-control__back {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
    }

    .c-detail-control__time {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
        margin-left: 25px;
    }

    .c-detail-control__share {
        float: right;
    }

    .c-detail-control.is-booking {
        position: relative;
        z-index: 1;
    }

    .c-detail-control.is-booking .c-detail-control__time {
        margin-left: 0;
    }

    .c-detail-control.is-booking .c-detail-control__place {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
        margin-left: 25px;
    }

    .c-detail-control.is-booking .btn {
        position: absolute;
        z-index: 2;
        top: 25px;
        right: 14px;
    }

    .c-article__title {
        margin-bottom: 20px;
    }

    .c-article__title h1 {
        font-size: 18px;
    }

    .c-news-comment {
        padding-top: 40px;
    }

    .c-news-comment__like {
        padding-bottom: 20px;
    }

    .c-news-comment__box {
        padding: 20px 30px;
    }
}

@media (min-width: 992px) {
    .c-box .c-box__title {
        padding-bottom: 60px;
    }
    .c-box .c-box__title .c-box__title__name {
        font-size: 36px;
    }
    .c-news-detail {
        padding: 30px 14px 100px;
    }

    .c-news-detail__title {
        margin-bottom: 30px;
    }

    .c-news-detail__title h1 {
        font-size: 19px;
    }

    .c-news-detail__more {
        padding-top: 60px;
    }

    .c-news-detail__more .b-grid .b-grid__title {
        transition: all 0.3s;
    }

    .c-news-detail__more .b-grid .b-grid__title:hover {
        color: var(--main-cl); /* Giả định giá trị */
    }

    .c-news-detail__more .b-grid .b-grid__content {
        padding: 15px 80px 0 20px;
    }

    .c-news-detail__more .b-grid .c-more {
        right: 30px;
    }

    .c-detail-control {
        padding: 30px 14px;
    }

    .c-detail-control__back a {
        transition: all 0.3s;
    }

    .c-detail-control__back a:hover {
        color: var(--main-cl); /* Giả định giá trị */
    }

    .c-detail-control__share a {
        transition: all 0.3s;
    }

    .c-detail-control__share a:hover {
        color: var(--main-cl); /* Giả định giá trị */
    }

    .c-detail-control__time {
        margin-left: 40px;
    }

    .c-detail-control.is-booking {
        min-height: 38px;
    }

    .c-detail-control.is-booking .c-detail-control__type {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
        padding-top: 7px;
    }

    .c-detail-control.is-booking .c-detail-control__time {
        margin-left: 25px;
        padding-top: 7px;
    }

    .c-detail-control.is-booking .c-detail-control__place {
        padding-top: 7px;
    }

    .c-detail-control.is-booking .btn {
        top: 30px;
    }

    .c-article__title {
        margin-bottom: 25px;
    }

    .c-news-comment {
        padding-top: 60px;
    }

    .c-news-comment__like {
        padding-bottom: 25px;
    }

    .c-news-comment__box {
        padding: 30px 50px;
    }
}

@media (min-width: 1200px) {
    .c-box .c-box__title {
        padding-bottom: 75px;
    }
    .c-box .c-box__title .c-box__title__name {
        font-size: 42px;
    }
    .c-news-detail {
        padding: 40px 14px 140px;
    }

    .c-news-detail__title {
        margin-bottom: 40px;
    }

    .c-news-detail__title h1 {
        font-size: 21px;
    }

    .c-news-detail .b-maincontent {
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }

    .c-news-detail__more {
        padding-top: 80px;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }

    .c-detail-control {
        padding: 40px 14px;
    }

    .c-detail-control__time {
        margin-left: 80px;
    }

    .c-detail-control.is-booking {
        text-align: center;
    }

    .c-detail-control.is-booking .c-detail-control__type {
        position: absolute;
        z-index: 2;
        top: 40px;
        left: 14px;
    }

    .c-detail-control.is-booking .btn {
        top: 40px;
    }

    .c-news-comment {
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }

    .c-news-comment {
        padding-top: 80px;
    }

    .c-news-comment__like {
        padding-bottom: 30px;
    }

    .c-news-comment__box {
        padding: 40px 70px;
    }
}

@media (min-width: 1440px) {
    .c-box .c-box__title {
        padding-bottom: 75px;
    }
    .c-box .c-box__title .c-box__title__name {
        font-size: 48px;
    }
    .c-detail-banner {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .c-news-detail {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 40px 15px 180px;
    }

    .c-news-detail__more {
        padding-top: 100px;
    }

    .c-detail-control {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .c-detail-control__time {
        margin-left: 100px;
    }

    .c-detail-control.is-booking {
        padding: 40px 0;
    }

    .c-detail-control.is-booking .c-detail-control__type {
        left: 0;
    }

    .c-detail-control.is-booking .btn {
        right: 0;
    }

    .c-news-comment {
        padding-top: 100px;
    }

    .c-news-comment__box {
        padding: 50px 100px;
    }
}
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}