html,
body {
    background-color: #e5e5e5;
    font-size: 24px;
}

.row>* {
    padding-left: 10px;
    padding-right: 10px;
}

a:hover {
    color: var(--primary-color);
}

.primary-color {
    color: var(--primary-color) !important;
}

.bg-gray {
    background: var(--gray-color);
}

figure {
    margin-bottom: 0;
}

.object-fit {
    display: block;
    overflow: hidden;
    position: relative;
}

.object-fit:before {
    content: "";
    display: block;
    width: 100%;
}

.object-fit>img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery .object-fit:before {
    padding-bottom: 74.77%;
}

.gradient-box {
    background-origin: border-box;
    background-clip: content-box, border-box;
    background-image: linear-gradient(white, white), linear-gradient(to right, #EC4596, #8F3C9C);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.text-primary-gradient {
    background: #EC4596;
    background: -webkit-linear-gradient(to right, #EC4596 0%, #EC4596 60%, #8F3C9C 100%);
    background: -moz-linear-gradient(to right, #EC4596 0%, #EC4596 60%, #8F3C9C 100%);
    background: linear-gradient(to right, #EC4596 0%, #EC4596 60%, #8F3C9C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heading {
    font-family: 'true_boldregular';
    display: inline-block;
}

.heading i {
    padding: 3px;
    vertical-align: middle;
    background: #EC4596;
    background: -webkit-linear-gradient(to right, #EC4596 0%, #8F3C9C 100%);
    background: -moz-linear-gradient(to right, #EC4596 0%, #8F3C9C 100%);
    background: linear-gradient(to right, #EC4596 0%, #8F3C9C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 10px;
}

.ads {
    background-color: #e5e5e5;
    padding: 35px 0;
    margin: 0 auto;
}

.ads img {
    margin: 0 auto;
    display: block;
    max-width: 95%;
    height: auto;
}

.gradient-text {
    background: linear-gradient(to right, #EC4596 0%, #8F3C9C 100%);
    background-size: 200% 200%;
    animation: rainbow 2s ease-in-out infinite;
    background-clip: text;
    -webkit-background-clip: text;
    color: rgba(0, 0, 0, 1);
    display: block;
    transition: color 0.3s ease-in-out;
    position: relative;
}

.gradient-text:hover {
    color: rgba(0, 0, 0, 0);
}

.border-gradient {
    border: double 3px transparent;
    border-radius: 8px;
    background-image: linear-gradient(white, white), linear-gradient(to right, #8F3C9C, #F2408E);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.bg-primary-gradient {
    background: rgb(236, 69, 150);
    background: linear-gradient(180deg, rgba(236, 69, 150, 1) 0%, rgba(143, 60, 156, 1) 100%);
}

.card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card .card-image {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #EC4596;
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.card .card-date i {
    margin-right: 10px;
}

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

.card.card-horizontal .card-image {
    border-right: 3px solid #EC4596;
    border-bottom: 0;
}

.card .card-detail .card-description p {
    margin-top: 6px;
}

.card.card-horizontal .card-detail .card-description p {
    margin: 0 0 6px;
}

.card .card-category {
    color: var(--primary-color);
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 0;
    font-family: 'true_boldregular';
    padding: 0;
    border-radius: 4px;
    text-shadow: none;
}

h3.card-title {
    font-size: 26px;
    line-height: 26px;
    margin-bottom: 0px;
    font-family: 'true_boldregular';
}

.card-description {
    color: #4F4F4F;
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 20px;
}

.card ul li a.gradient-text {
    color: #4f4f4f;
}

time.card-date {
    font-size: 18px;
    line-height: 22px;
    color: #979797;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.linkmore i.icon-more {
    margin-right: 0;
    font-size: 8px;
    vertical-align: middle;
    margin-left: 10px;
}

.card-detail>div {
    padding: 13px;
}

.card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-top: 10px;
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.8) 100%);
}

.card-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    background-color: var(--primary-color);
    color: #FFF;
    border-top-right-radius: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-icon i.icon-photo {
    font-size: 16px;
}

.card-image figcaption {
    font-size: 22px;
    line-height: 20px;
    color: #FFF;
    padding: 8px;
    flex-grow: 1;
    font-family: 'true_bold_specialregular';
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

.card-horizontal .card-image figcaption {
    font-size: 14px;
    line-height: 12.5px;
}

.card .card-logo {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.card .card-logo i {
    font-size: 10px;
    margin-right: 5px;
}

.card .card-description ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.card.card-featured .card-description ul li {
    flex: 50%;
}

.card .card-description ul li {
    padding: 0 20px 20px;
    position: relative;
    flex: 100%;
}

.card .card-description ul li:before {
    content: "\e91b";
    color: #4f4f4f;
    font-family: 'icomoon';
    font-size: 10px;
    position: absolute;
    left: 0;
    top: 0;
}

.card.card-horizontal {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    border: 0;
}

.card.card-horizontal ul {
    display: none;
}

.card.card-horizontal .card-image {
    width: 31.5%;
    height: auto;
}

.card.card-horizontal .card-detail {
    width: 68.5%;
    height: auto;
    padding: 2px;
}

.card.card-horizontal .card-detail p.card-category {
    display: block;
    border-radius: 0;
}

.card.card-horizontal .card-detail h3.card-title {
    padding: 0;
}

.other-news .card .card-image {
    width: 15%;
}

.other-news .card.card-horizontal .card-detail {
    display: flex;
    align-items: center;
    background: #f3f3f3;
}

.other-news .card.card-horizontal h3.card-title {
    color: var(--primary-color);
    font-family: 'true_mediumregular';
}

.card.card-horizontal .card-detail {
    width: 85%;
}

.card-title,
.card-description p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-icon i.icon-play {
    font-size: 12px;
}

.article {
    margin-bottom: 45px;
}

.article>.container {
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgb(0 0 0 / 2%);
    background-color: #FFF;
    padding: 29px 45px;
}

.breadcrumb {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 28px;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: #979797;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-family: 'true_boldregular';
}

.breadcrumb-item:hover a {
    color: var(--primary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\e91a";
    font-size: 9px;
    font-family: 'icomoon';
    padding-top: 2px;
    color: #979797;
}

.article-title {
    font-family: 'true_boldregular';
    font-size: 64px;
    line-height: 50px;
    padding-left: 26px;
    position: relative;
    margin-bottom: 22px;
}

.article-title:before {
    content: '';
    width: 10px;
    height: 100%;
    max-height: 94px;
    background-color: #F2408E;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
}

.article-meta {
    border-top: 1px solid #CECECE;
    border-bottom: 1px solid #CECECE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.article-meta p {
    margin-bottom: 0;
    color: #494949;
}

.article-meta p span {
    color: var(--primary-color);
    font-family: 'true_boldregular';
}

.article-meta .author>* {
    margin-right: 10px;
	display: flex;
    align-content: center;
}
.article-meta .author * {
	line-height: 33px;
}
.article-meta .author {
    font-size: 24px;
    line-height: 32px;
    color: #979797;
}

.article-meta .author i {
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
    color: var(--primary-color);
}

.social-share ul {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

.social-share ul i {
    width: 46px;
    height: 46px;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 5px;
    margin-left: auto;
}

.social-share ul i.icon-facebook {
    background: #3D5A96;
}

.social-share ul i.icon-twitter {
    background: #2AA3EF;
}

.social-share ul i.icon-mail {
    background: #2F75EC;
    font-size: 18px;
}

.social-share ul i.icon-line {
    background: #2AB858;
}

.social-share ul li {
    margin-right: 5px;
    display: inline-block;
}

.social-share li a i:before {
    transition: all 0.5s;
}

.social-share li a:hover i:before {
    transform: translateY(-1px);
}

.article-content {
    padding: 30px 0;
}

.article-detail figure img {
    border-radius: 8px;
    margin: 0 auto;
    max-width: 100%;
}

.article-detail img.fullwidth {
    width: 100%;
}

.article-detail figcaption {
    padding-top: 16px;
    color: #979797;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
}

.article-detail blockquote {
    padding: 10px 55px;
    font-size: 36px;
    line-height: 36px;
    border-top: 1px solid #F3F3F3;
    border-bottom: 1px solid #F3F3F3;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
    position: relative;
}

.article-detail blockquote:before,
.article-detail blockquote:after {
    content: '';
    position: absolute;
    top: 0;
    width: 10px;
    height: 100%;
    background-color: var(--primary-color);
}

.article-detail blockquote:before {
    left: 0;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.article-detail blockquote:after {
    right: 0;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
}

.article-detail>*,
.article-related {
    margin-bottom: 1rem;
}

.headline {
    position: relative;
    margin-bottom: 8px;
}

.article-related .heading {
    color: #FFF;
    font-size: 24px;
    padding: 7px 26px;
    border-radius: 3px;
    margin-bottom: 0;
    display: inline-block;
    margin-left: 8px;
}

.related .headline {
    margin-bottom: 20px;
}

.highlight {
    margin-bottom: 50px;
}

.related .heading,
.highlight .heading {
    margin-left: 19px;
    margin-bottom: 0;
}


/* .article-related .heading:before,
.related .heading:before { */

.heading:before {
    content: '';
    width: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgb(236, 69, 150);
    background: linear-gradient(180deg, rgba(236, 69, 150, 1) 0%, rgba(143, 60, 156, 1) 100%);
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.related .heading:before {
    height: 85%;
}

.related .heading:before {
    width: 8px;
    background: var(--primary-color);
}

.article-related ul {
    padding: 0;
    list-style: none;
    padding: 20px;
    margin-bottom: 0;
}

.article-related ul li a {
    color: var(--primary-color)
}

.article-related ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.article-related ul li:before {
    background: rgb(236, 69, 150);
    background: linear-gradient( 180deg, rgba(236, 69, 150, 1) 0%, rgba(143, 60, 156, 1) 100%);
    width: 10px;
    height: 10px;
    content: '';
    position: absolute;
    line-height: 24px;
    top: 7px;
    left: 0;
    border-radius: 50%;
}

.related {
    margin-bottom: 65px;
}

.related .card .card-title {
    -webkit-line-clamp: 2;
}

.related .card .card-description p {
    -webkit-line-clamp: 3;
}

.related .heading {
    font-size: 48px;
    line-height: 45px;
}

x .gallery .row>* {
    padding-left: 10px;
    padding-right: 10px;
}

.gallery img {
    border-radius: 8px;
    transition: all 0.5s;
}

.gallery img:hover {
    transform: scale(1.1);
}

.gallery figure {
    margin-bottom: 20px;
    border-radius: 8px;
}

.gallery a {
    position: relative;
    display: block;
}

.gallery .viewmore {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-family: 'true_boldregular';
}

.gallery .heading {
    margin-bottom: 15px;
}

.modal-dialog {
    max-width: 100%;
    margin: 0;
}

.modal-content {
    background: transparent
}

.modal-content .btn-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #FFF;
    font-size: 24px;
    padding: 0;
    font-family: 'true_boldregular';
    opacity: 1;
    background-image: none;
}

.modal-content .article-title {
    font-size: 36px;
    line-height: 28px;
    margin-top: 35px;
    padding-left: 15px;
}

.modal-content .article-title:before {
    max-height: 50px;
    width: 5px;
}

.modal-content .article-meta {
    padding: 5px 0;
}

.modal-content .article-meta .author {
    font-size: 14px;
    line-height: 20px;
}

.modal-content .article-meta .author i {
    margin-right: 5px;
    font-size: 12px;
}

.article-meta .author .share {
    margin-right: 0;
}

.modal-content .social-share {
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.modal-content .social-share ul {
    display: flex;
    margin-left: 10px;
}

.modal-content .social-share ul li {
    margin-bottom: 0;
}

.modal-content .social-share ul i {
    font-size: 14px;
    width: 30px;
    height: 30px;
}

.modal-content .social-share p {
    font-size: 16px;
    color: #494949;
    margin-bottom: 0;
}

.modal-content .article-detail blockquote:before,
.modal-content .article-detail blockquote:after {
    width: 5px;
}

.modal-content .article-detail {
    margin-top: 10px;
}

.modal-content .article-detail blockquote {
    padding: 20px;
    font-size: 20px;
    line-height: 24px;
}

.modal-content .heading {
    padding-left: 10px;
    font-size: 26px;
    margin-bottom: 0;
}

.modal-content .card.card-horizontal .card-detail {
    width: 60%;
}

.modal-content .card.card-horizontal .card-image {
    width: 40%;
}

.modal-content .card .card-title {
    -webkit-line-clamp: 3;
}

.modal-content .card.card-horizontal .card-detail h3.card-title {
    font-size: 20px;
    line-height: 20px;
}

.modal-content .card time.card-date {
    font-size: 14px;
}

.modal-content .card-horizontal .card-image figcaption {
    font-size: 8px;
    line-height: 8.5px;
}

.modal-content .article-ref {
    margin-bottom: 45px;
    margin-top: 30px;
}

.gallery-slider {
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
}

.gallery-slider .swiper-slide {
    width: auto;
    height: 75vh;
}

.gallery-slider .swiper-slide img {
    display: block;
    width: auto;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.gallery-thumbs {
    width: 100%;
    padding: 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 30px;
}

.gallery-thumbs .swiper-slide {
    width: auto;
    height: 100px;
    text-align: center;
    overflow: hidden;
    opacity: 0.5;
    border: 2px solid transparent;
    border-radius: 4px;
}

.gallery-thumbs .swiper-slide-active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.gallery-thumbs .swiper-slide img {
    width: auto;
    height: 100%;
}

.gallery-thumbs .swiper-navi-pagi {
    top: auto;
    bottom: -15px;
}

.gallery-thumbs .swiper-navi-pagi .swiper-pagination {
    color: var(--primary-color);
    font-family: 'true_boldregular';
    font-size: 22px;
}

.gallery-swiper {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.swiper-navi-pagi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.swiper-navi-pagi .swiper-pagination:only-child {
    justify-content: center;
    width: 100%;
}

.button-next,
.button-prev {
    cursor: pointer;
    font-size: 30px;
    color: #CECECE;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.navi-white .button-next,
.navi-white .button-prev {
    color: #FFF;
}

.button-next {
    right: 0;
}

.button-prev {
    left: 0;
}

.button-next:after {
    content: "\e91a";
    font-family: 'icomoon';
}

.button-prev:after {
    content: "\e91b";
    font-family: 'icomoon';
    z-index: 1;
}

.swiper-navi-pagi {
    position: absolute;
    top: 40%;
    z-index: 2;
}

.highlight .heading:before {
    background: var(--primary-color);
    height: 63%;
    top: 7px;
    width: 8px;
}

.gallery .heading:before {
    display: none;
}

.gallery {
    margin-top: 10px;
}
.related .card .card-title {
	height: 52px;
	overflow: hidden;
}

.related .card .card-description p{
	height: 70px;
	overflow: hidden;
}
.modal-content .card.card-horizontal .card-detail h3.card-title {
	height: 60px;
	overflow: hidden;
}
.card-title,
.card-description p {
	line-height: 1 !important;
}
@media (max-width: 991.98px) {
    html,
    body {
        font-size: 22px;
    }
    .breadcrumb-item,
    .breadcrumb-item a {
        font-size: 16px;
        line-height: 24px;
    }
    .article-title {
        font-size: 34px;
        line-height: 32px;
    }
    .article-meta {
        padding: 10px 0;
    }
    .article-meta .author {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
    }
    .article-meta .author i {
        font-size: 15px;
    }
    .article-content {
        padding: 12px 0;
    }
    .social-share {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        top: 0;
        padding-bottom: 12px;
    }
    .social-share ul:before {
        content: 'แชร์ :';
        font-size: 16px;
        line-height: 24px;
        color: #494949;
    }
    .social-share ul li {
        margin-right: 0;
        display: inline-block;
        margin-bottom: 0 !important;
    }
    .social-share ul i {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
    .social-share ul i.icon-mail {
        font-size: 12px;
    }
    .article-detail {
        padding-top: 10px;
    }
    .article-detail blockquote {
        font-size: 24px;
    }
    .article-detail blockquote {
        padding: 10px 19px;
    }
    .article-related ul li {
        margin-bottom: 10px;
    }
    .gallery {
        margin-bottom: 20px;
    }
    .card.card-horizontal.card-md-vertical {
        flex-direction: column;
    }
    .card.card-horizontal.card-md-vertical .card-image,
    .card.card-horizontal.card-md-vertical .card-detail {
        width: 100%;
    }
    .card.card-horizontal.card-md-vertical .card-image {
        border-right: 0;
        border-bottom: 2px solid #EC4596;
    }
    .card.card-horizontal.card-md-vertical .card-detail {
        border-radius: 0;
        border: 0;
        background: #FFF;
        padding: 0;
    }
    .card.card-horizontal .card-detail h3.card-title {
        font-size: 22px;
    }
    .most-view-share time.card-date {
        font-size: 15px;
    }
    .most-view-share ul.card-list li:nth-child(n+3) {
        display: none;
    }
    .article>.container {
        border-radius: 0;
    }
    .related .card .card-title {
        -webkit-line-clamp: 3;
    }
    .related .card-description {
        display: none;
    }
    .breadcrumb {
        margin-bottom: 15px;
    }
    .article-meta .author {
        flex-wrap: wrap;
        font-size: 18px;
    }
    .article-meta .author>* {
        flex-basis: 25%;
        margin-right: 0;
        text-align: right;
    }
    .article-meta .author>time {
        flex-basis: 50%;
        text-align: left;
    }
    .article-meta .author>.by {
        flex-basis: 100%;
        font-size: 22px;
        margin-bottom: 5px;
        text-align: left;
    }
    .article-title:before {
        width: 6px;
        max-height: 60px;
    }
    .related .col-6 {
        padding-left: 2%;
        padding-right: 2%;
    }
    .gallery-slider .swiper-slide {
        height: auto;
    }
    .modal-content .btn-close {
        top: -10px;
        right: 10px;
    }
    .swiper-navi-pagi {
        top: 30%;
    }
    .breadcrumb-item+.breadcrumb-item::before {
        padding-top: 0;
        font-size: 8px;
    }
    .article>.container{padding:29px 20px;}
    .related .heading {
        font-size: 32px;
    }
    .related .heading, .highlight .heading {
        margin-left: 10px;
        margin-bottom: 0;
    }
    .related .heading:before {
        width: 4px;
    }
    .card-image figcaption {
        font-size: 12px;
        line-height: 12px;
    }
	.article-meta .author * {
	    line-height: 20px;
	}
	.article-meta .author .share ,
	.article-meta .author .view {
		justify-content: end;
	}
	.article-meta .author {
		font-size: 17px;
	}
	.social-share ul i {
		margin-right: 0;
	}
	time.card-date {
		font-size: 16px;
	}
	.related .card .card-title {
		height: 78px;
	}
}