@font-face {
    font-family: Merriweather;
    src: url("../font/Merriweather-Bold.woff") format("woff");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: ssp;
    src: url("../font/SourceSerifPro-Bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: ssp;
    src: url("../font/SourceSerifPro-Regular.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: ssp;
    src: url("../font/SourceSerifPro-SemiBold.woff") format("woff");
    font-weight: 600;
    font-display: swap;
}

body {
    font-family: "Roboto", sans-serif;
    position: relative;
    /* color: #38a22a; */
}

span.partten-overlay {
    /* background: url(../img/2024.jpg) no-repeat;
    content: "";
    width: 100%;
    height: 100%;
    position: fixed;
    background-size: cover;
    top: 0;
    z-index: -2; */
}

.theme-noel {
    background-image: url("../img/BG-min.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

body.body-bg {
    background: #fcfaf6;
}

.img-responsive {
    width: 100%;
}

a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

.line-padding-20 {
    content: "";
    background: #e5e5e5;
    height: 1px;
    width: 100%;
    margin: 20px 0;
}

/*-----------------------------------------*/
/*-----------------------------------------*/
/*-----------------------------------------*/
/*-----------------------------------------*/

.tags span a {
    background: #ccc none repeat scroll 0 0;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    padding: 4px 9px;
}

.tags span a:hover {
    background: #000 none repeat scroll 0 0;
}

/* Category Slider */
.category-item img {
    background: #fff none repeat scroll 0 0;
    border-radius: 50px;
    box-shadow: 0 0 2px #ccc;
    height: 60px;
    margin: 1px 0 8px;
    object-fit: scale-down;
    transform: scale(1);
    width: 60px;
}

.category-item:hover img {
    transform: scale(1.09);
    transition-duration: 0.4s;
}

.category-item {
    background: #fff none repeat scroll 0 0;
    border-radius: 2px;
    box-shadow: 0 0 6px #ececec;
    margin: 6px 2px;
    padding: 24px 12px;
    text-align: center;
}

.top-category .category-item {
    padding: 20px 11px;
}

.category-item h6 {
    font-size: 13px;
    margin: 5px 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-item p {
    font-size: 11px;
    font-weight: 500;
    margin: 0;
}

#top-head {
    display: block;
    position: fixed;
    width: 100%;
    top: 0;
    background: linear-gradient(70deg, rgb(44 151 42) 0%, rgb(88 196 42) 100%);
    z-index: 9;
}

#top-head .float-start {
}

#top-head .float-start ul {
    padding: 0;
    margin: 5px 0;
}

#top-head .float-start ul li {
    display: inline-block;
}

#top-head .float-start ul li a.login {
    margin-right: 10px;
}

#top-head .float-start ul li a.sign-in {
    margin-right: 10px;
}

#top-head .float-start ul li a {
    color: #fff;
    font-size: 13px;
}

#top-head .float-start ul li a img {
    opacity: 0.3;
    margin-bottom: 3px;
    width: 23px;
    border: 1px solid #fff;
}

#top-head .float-start ul li a img.lenguage-active {
    opacity: 1;
}

* {
    box-sizing: border-box;
}

figcaption {
    font-size: 16px !important;
    font-family: "Roboto", sans-serif !important;
    font-style: normal !important;
    line-height: 18px;
    padding: 6px 10px;
}

.container {
    max-width: 1190px;
}

.container-large {
    max-width: 1290px;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}

.site-search {
    position: absolute;
    top: 3px;
    right: 5px;
}

.site-search__icon {
    position: absolute;
    cursor: pointer;
    margin-left: -4px;
    height: 36px;
    display: inline-block;
    vertical-align: middle;
}

.site-search__icon .icon {
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    left: -24px;
    top: 4px;
    color: white;
    font-size: 16px;
}

.site-search__input {
    background: #0000001f;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    position: relative;
    height: 29px;
    text-indent: -9999px;
    width: 40px;
    font-size: 14px;
    color: white;
    outline: none;
    transition: width 0.2s cubic-bezier(0, 1.2, 0.4, 1.1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation !important;
}

.site-search__input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px #518e1b inset;
    -webkit-text-fill-color: #fff;
}

.site-search__input::-webkit-input-placeholder {
    color: white;
}

.site-search__input:-moz-placeholder {
    color: white;
}

.site-search__input::-moz-placeholder {
    color: white;
}

.site-search__input:-ms-input-placeholder {
    color: white;
}

.site-search__input:focus::-webkit-input-placeholder {
    opacity: 0.5;
}

.site-search__input:focus:-moz-placeholder {
    opacity: 0.5;
}

.site-search__input:focus::-moz-placeholder {
    opacity: 0.5;
}

.site-search__input:focus:-ms-input-placeholder {
    opacity: 0.5;
}

.site-search__input:focus {
    text-indent: 0;
    width: 300px;
    padding-left: 15px;
}

.main-index {
    margin-top: 45px;
}

.box-category {
    margin-top: 15px;
}

.box-category .head {
    margin-bottom: 25px;
}

.box-category .head h1.title-cate {
    font-size: 32px;
    font-weight: bold;
    font-family: "spp";
    line-height: 32px;
}

.box-category .head h2.title-cate {
    font-size: 28px;
    font-weight: bolder;
    position: relative;
    margin-left: 15px;
    color: #41ac2a;
}
@media (max-width: 600px) {
    .box-category .head h1.title-cate {
        font-size: 26px;
        line-height: 30px;
    }
}

.box-category .head h3.title-second-cate {
    font-size: 24px;
    font-weight: bolder;
    position: relative;
    color: #41ac2a;
    margin-bottom: 30px;
}

.box-category .head h3.title-second-cate:before {
    content: "";
    position: absolute;
    background: #d2d2d2;
    width: 100%;
    height: 1px;
    bottom: -10px;
}

.box-category .head h3.title-second-cate a {
    color: #41ac2a;
}

.box-category .head h2.title-cate:before {
    position: absolute;
    left: -20px;
    width: 5px;
    top: 7px;
    height: 24px;
    content: "";
    background: #41ac2a;
}

.box-category .head h2.title-cate span,
.box-category .head h2.title-cate a {
    color: #41ac2a !important;
}

.box-category .head h3.title-cate {
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

.box-category .head h3.title-cate:before {
    content: "";
    width: 50px;
    height: 2px;
    background: #f49122;
    position: absolute;
    bottom: -10px;
}

.box-category .head .float-end a {
    color: orange;
    display: block;
    margin-top: 12px;
    font-size: 14px;
}

.az-key-filter {
    margin-left: 0;
    margin-right: 0;
    display: grid;
    grid-gap: 0.25rem;
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    padding: 0;
    list-style: none;
    margin-bottom: 1rem;
    clear: both;
}

.az-key-filter > li {
    margin: 0.25rem;
    min-width: 38px;
    float: left;
    display: inline-block;
}

.az-key-filter > li a,
.az-key-filter > li span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 38px;
    min-width: 100%;
    text-align: center;
    line-height: 38px;
    white-space: nowrap;
    border-radius: 4px;
}

.az-key-filter > li a {
    color: #555;
    background-color: #f3f3f3;
    font-weight: bold;
    display: block;
    min-height: 38px;
    min-width: 100%;
    text-align: center;
    line-height: 38px;
    white-space: nowrap;
    border-radius: 4px;
}

.az-key-filter > li a:hover {
    background-color: #e5e5e5;
}

.az-key-filter > li.active a {
    background: #f48f22;
    color: #ffffff;
}

.category-key-filter {
    padding: 0;
}

.category-key-filter li {
    list-style: none;
    display: block;
    margin: 25px 0;
}

.category-key-filter li a {
    color: #555;
    font-weight: 500;
}

.category-key-filter li a img {
    float: left;
    width: 60px;
    margin-right: 5px;
    margin-top: -5px;
    border-radius: 3px;
}

.az-danhmuc-filter a img {
    margin-top: 10px;
    width: 32.3%;
    float: left;
    margin-right: calc(100% - 99%);
}

.box-category .item-1 {
    margin-bottom: 30px;
}

.box-category .nav-tabs {
    border: none;
    margin-bottom: 15px;
}

.box-category .tab-content img.loading {
    margin: 30px 0;
    width: 80px;
}

.box-category .nav-tabs .nav-link {
    background: #f5f5f5;
    border-radius: 4px;
    color: #555;
    font-weight: bold;
    border: 1px solid #f5f5f5;
    font-size: 14px;
}

.box-category .nav-tabs .nav-link.active {
    color: #41ac2a;
    border: 1px solid #41ac2a;
}

.box-category .nav-tabs .nav-item {
    margin-bottom: 0;
    margin-right: 10px;
}

.box-category .item-1 .foot {
    margin-top: 10px;
}

.box-category .item-1 .date-cre {
    opacity: 0.7;
    font-size: 14px;
}

.box-category .item-1 h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
    line-height: 22px;
    font-family: "ssp";
}

.box-category .item-1 h3 a {
    color: #111;
}

.box-category .item-1 h3 a:hover {
    color: #41ac2a;
}

.box-category .item-1 div.des {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.box-category .item-1 .media {
    margin-bottom: 20px;
}

.box-category .item-1 .media img {
    width: 120px;
}

.box-category .item-1 .media a.avatar {
    background-position: center;
    background-size: cover;
    width: 120px;
    height: 80px;
    margin-right: 15px;
}

.box-category .item-1 .media h5 {
    font-size: 16px;
    font-family: "ssp";
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.box-category .item-list-wapper {
}

.box-category .item-list-wapper .item-highlight {
    padding: 20px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.box-category .item-list-wapper .item-normal {
    padding: 15px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.box-category .item-list-wapper .item-normal h4 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
}

.box-category .item-list-wapper .item-normal h4 a {
    color: #111;
}

.box-category .item-list-wapper .item-highlight h4 {
    font-size: 32px;
    font-weight: bold;
}

.box-category .item-list-wapper .item-highlight h4 a {
    color: #111;
}

.box-category .item-list-wapper .item-normal h4 a:hover {
}

.box-category .item-list-wapper .item-normal .media img {
    width: 200px;
    margin-right: 20px;
}

.box-category .item-list-wapper .item-highlight img {
    width: 400px;
    margin-right: 20px;
    float: left;
}

.box-category .item-list-wapper .item-normal .media .media-body {
}

.box-category .item-list-wapper .item-normal .media .media-body p.category-time,
.box-category .item-list-wapper .item-highlight .noidung p.category-time {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.box-category
    .item-list-wapper
    .item-normal
    .media
    .media-body
    p.category-time
    a,
.box-category .item-list-wapper .item-highlight .noidung p.category-time a {
    color: #41ac2a;
    font-weight: bold;
    font-family: "Roboto Condensed", sans-serif;
}

.box-category
    .item-list-wapper
    .item-normal
    .media
    .media-body
    p.category-time
    a:hover,
.box-category
    .item-list-wapper
    .item-highlight
    .noidung
    p.category-time
    a:hover {
    text-decoration: underline;
}

.box-category .item-list-wapper .item-normal .media .media-body p.mota,
.box-category .item-list-wapper .item-highlight .noidung p.mota {
    font-size: 14px;
    margin-bottom: 0;
}

.box-category .item-1 .media h5 a {
    color: #333;
    font-weight: 600;
}

.box-category .item-1 .media h5 a:hover {
    color: #41ac2a;
}

.box-category .detail-wapper {
    /* font-family: spp; */
}

.box-category .detail-wapper .mota {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
}

.box-category .detail-wapper img {
    max-width: 100% !important;
    text-align: center;
    height: fit-content;
}

.box-category .detail-wapper .noidung {
    max-width: 100%;
    font-size: 20px;
    line-height: 30px;
    color: #111;
    font-family: spp;
}
.box-category .detail-wapper .noidung h4 {
    font-size: 19px;
}
.box-category .detail-wapper .noidung h3 {
    font-size: 22px;
}
.box-category .detail-wapper .noidung h2 {
    font-size: 26px;
}
.box-category .detail-wapper .noidung figure {
    margin: 1.5em 0;
}
.box-category .detail-wapper .noidung figure.text-center {
    text-align: center;
}
.box-category .detail-wapper .noidung figure img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.box-category .detail-wapper .noidung figcaption {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
    line-height: 1.4;
}
/*--*/
.mt-30 {
    margin-top: 30px;
}

/*--*/
.nav-list {
    height: 45px;
}

.nav-list li {
    margin-right: 10px;
}

.nav-list li a {
    padding: 5px 9px;
    background: #f5f5f5;
    font-size: 13px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Roboto Condensed", sans-serif;
    border-radius: 2px;
}

.nav-list li a:hover {
    background: #e5e5e5;
}

.nav-list li.active {
}

.nav-list li.active a {
    background: #f59e3c;
    color: #fff;
}

/*--*/
.iwes-breadcrumb {
    background: #ffffff;
    margin-top: 10px;
    border-radius: 0;
    padding: 4px 10px;
}

.iwes-breadcrumb li {
    font-size: 13px;
}

.iwes-breadcrumb li a {
    color: #41ac2a;
}

/*--*/
.detail-time a {
    color: #41ac2a;
    font-weight: bold;
    font-family: "Roboto Condensed", sans-serif;
}

.detail-time a:hover {
    text-decoration: underline;
}

/*--*/
.entry-meta.entry-meta-bottom {
    display: inline-block;
    width: 100%;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 0 10px;
    margin: 30px 0 0;
}

.entry-meta.entry-meta-bottom .fb_iframe_widget {
    margin-top: 5px;
}

.entry-meta.entry-meta-bottom .date-author {
    display: inline-block;
    line-height: 28px;
    margin: 5px 0;
}

.entry-meta.entry-meta-bottom .share-buttons {
    display: inline-block;
    margin: 5px 0;
}

.entry-meta-bottom .entry-share {
    float: right;
    margin: 0;
}

.entry-meta a {
    color: #888;
    font-size: 14px;
}

.share-buttons a {
    display: inline-block;
    padding: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    color: #888;
    background-color: #f5f5f5;
    /* border: 1px solid #e5e5e5; */
    text-align: center;
    border-radius: 0;
}

.post-tags {
    margin: 30px 0;
    text-align: left;
}

.tags {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tags a:first-child {
    margin-left: 0;
}

.tags a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5em;
    color: #666;
    padding: 2px 7px;
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
    margin: 3px 2px 2px;
}

/*--*/
.relate-news-wapper {
}

.relate-news-wapper .head {
    margin-bottom: 30px;
}

.relate-news-wapper .head h3 {
    font-size: 16px;
    position: relative;
}

.relate-news-wapper .head h3:before {
    position: absolute;
    content: "";
    bottom: -10px;
    height: 3px;
    width: 30px;
    background: #f49121;
}

.relate-news-wapper .body {
}

.relate-news-wapper .body a i {
    color: #888;
}

.relate-news-wapper .body a:hover {
    text-decoration: underline;
}

.relate-news-wapper .body a {
    display: block;
    margin: 12px 0;
    color: #555;
    font-weight: 600;
    margin-left: 8px;
    font-family: ssp;
    font-size: 16px;
}

/*--*/
.view-more-wapper {
    text-align: center;
    margin: 30px 0;
}

.view-more-wapper a {
    background: #f49122 !important;
    font-weight: 600;
    color: #fff !important;
    font-size: 12px;
    padding: 15px 35px !important;
    display: inline-block;
    margin: 10px auto;
    text-transform: uppercase;
    border-radius: 3px;
}

.view-more-wapper a:hover {
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);
}

/*--*/
.list-az-wapper {
}

.list-az-wapper .az-index-results-group-list {
    column-gap: 30px;
    column-rule: 1px solid #e8e6e6;
    columns: 2;
    /* font-size: 1.125rem; */
    list-style-type: none;
    margin: 30px 0;
    padding: 0;
}

.list-az-wapper .az-index-results-group-list li {
    break-inside: avoid;
    display: inline-block;
    margin-bottom: 1rem;
    width: 100%;
}

.list-az-wapper .az-index-results-group-list li a {
    color: #d2750e;
    font-size: 16px;
}

.list-az-wapper .az-index-results-group-list li a:hover {
    text-decoration: underline;
}

.list-az-wapper .az-index-results-group-list li a i {
    opacity: 0.5;
    margin-right: 10px;
}

.list-az-wapper .head-second {
    padding: 10px;
    font-size: 16px;
    background: #fbefe2;
}

.list-az-wapper .head-second span {
    font-weight: bold;
}

/*--*/
.sick-info-content {
    max-width: 100%;
    margin-bottom: 30px;
    font-size: 16px;
}

/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*--*/
/*-footer-*/

#footer {
    background: #ffffff;
    padding: 0 0 20px 0;
    color: #555;
    font-size: 14px;
    margin-top: 30px;
}

#footer .footer-top {
    background: #fff;
    padding: 60px 0 30px 0;
    border-top: 1px solid #e5e5e5;
}

#footer .footer-top .footer-info {
    margin-bottom: 30px;
}

#footer .footer-top .footer-info img {
    height: 60px;
    margin-top: -20px;
    margin-bottom: 20px;
}

#footer .footer-top .footer-info h3 {
    font-size: 34px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 3px;
    border-left: 4px solid #66a434;
}

#footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: #555;
}

#footer .footer-top .social-links a {
    font-size: 12px;
    display: inline-block;
    background: #888;
    color: #eee;
    line-height: 1.5;
    padding: 7px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 30px;
    height: 30px;
    transition: 0.3s;
}

#footer .social-links a.kakao {
    background: #e5e5e5;
}

#footer .social-links a.kakao img {
    width: 25px;
    margin-top: -3px;
}

#footer .footer-top .social-links a:hover {
    background: #66a434;
    color: #fff;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 22px;
}

#footer .footer-top h5 {
    font-size: 15px;
    font-weight: bold;
    color: #111;
    text-transform: uppercase;
    position: relative;
    margin: 20px 0;
}

#footer .footer-top h5 a {
    color: #111;
}

#footer .footer-top h4::before,
#footer .footer-top h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
}

#footer .footer-top h4::before {
    right: 0;
    background: #eaeaea;
}

#footer .footer-top h4::after {
    background: #a5a5a5;
    width: 60px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ddd;
}

#footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 0;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul li:last-child {
    border: none;
}

#footer .footer-top .footer-links ul a {
    color: #555;
}

#footer .footer-top .footer-links ul a:hover {
    color: #66a434;
}

#footer .footer-top .footer-contact {
    margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
    line-height: 26px;
}

#footer .footer-top .footer-contact p a {
    color: #66a434;
}

#footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}

#footer .footer-top .footer-newsletter input[type="email"] {
    border: 0;
    padding: 6px 8px;
    width: 65%;
    background: #f5f5f5;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
    background: #64a52a;
    border: 0;
    width: 35%;
    padding: 6px 0;
    text-align: center;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
    background: #13a456;
}

#footer .copyright {
    text-align: center;
    padding-top: 20px;
    /* color: #fff; */
}

#footer .credits {
    text-align: center;
    font-size: 13px;
    color: #ddd;
}

/*-responsive-*/
@media (max-width: 1024px) {
    .grid-item1 {
        width: 100%;
        margin-right: inherit;
    }

    .grid-item2 {
        width: 100%;
    }

    .hotnew-contain .top-item {
        margin-bottom: 15px;
    }

    .main-index {
    }

    .box-category .item-list-wapper .item-highlight img {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .box-category .nav-tabs .nav-item,
    .nav-list li {
        float: inherit;
        display: inline-block;
    }

    .box-category .item-list-wapper .item-highlight img {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .hotnew-contain .right-item a.avatar img {
        width: 120px !important;
        margin-right: 15px !important;
    }

    .img-xs-full {
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-top: -15px;
    }
}

@media (max-width: 580px) {
    .xs-nopadding {
        padding: 0;
    }

    .box-category .item-list-wapper .item-normal .media img {
        width: 150px;
    }

    .box-category .item-list-wapper .item-normal .media .media-body p {
        font-size: 13px !important;
    }

    .box-category .head h2.title-cate {
        font-size: 26px;
    }

    .lastestnew-contain .item a.avatar {
        width: 120px !important;
        height: 130px !important;
    }
}

@media (max-width: 480px) {
    .xs-container {
        padding: 0 !important;
    }

    .item .thumb-overlay .thumb-title {
        font-size: 24px;
    }

    .item .thumb-overlay {
        padding: 10px 5px;
    }

    .grid-item1 {
        height: 260px;
        position: relative;
        float: left;
    }

    .grid-item3 {
        height: 140px;
        position: relative;
        float: left;
        display: inline-table;
    }

    .item .thumb-overlay .thumb-content {
        padding: 10px;
    }

    .grid-item3 .item .thumb-overlay .thumb-title {
        font-size: 14px;
        color: #fff;
        margin-bottom: 0;
        line-height: 15px;
    }

    .box-overflow-x {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        display: list-item;
    }

    .box-category .nav-tabs .nav-link {
        border-radius: 4px;
        font-weight: bold;
        font-size: 13px;
    }

    .box-category .nav-tabs .nav-item {
        margin-bottom: 0;
        margin-right: 5px;
    }
}

.hotnew-contain .top-item h1.title-new {
    font-size: 30px;
    font-weight: 600;
}

.hotnew-contain .top-item h2.title-new {
    font-size: 18px;
    font-weight: 600;
    /* line-height: 1.3; */
    font-family: "ssp";
}

.hotnew-contain .top-item h2.title-new a {
    color: #111;
}

.hotnew-contain .top-item h1.title-new a {
    color: #111;
    font-family: ssp;
}
@media (max-width: 600px) {
    .hotnew-contain .top-item h1.title-new {
        font-size: 24px;
        margin: 12px 0 !important;
    }
}
.row {
    margin-left: -8px;
    margin-right: -8px;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    padding-left: 8px;
    padding-right: 8px;
}

.sarabun {
    font-family: "Roboto", sans-serif;
}

.tsk-des-item {
    margin-bottom: 0;
}

.tsk-time-item {
    margin-top: 15px;
    font-size: 13px;
    color: #888;
    margin-bottom: 0;
}

.tsk-time-item span a:hover {
    color: #66a434 !important;
}

.tsk-time-item span a {
    color: #888;
}

.hover-color:hover,
.hover-color a:hover {
    color: #41ac2a !important;
}

.tsk-des-item a {
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t-14 {
    font-size: 14px;
}

.t-15 {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.hotnew-contain .right-item {
    margin-bottom: 18px;
}

.hotnew-contain .right-item a.avatar img {
    width: 65px;
    height: auto;
    margin-right: 10px;
}

.hotnew-contain .right-item h2.title-new {
    font-size: 16px;
    font-weight: 600;
    font-family: "ssp";
}

.hotnew-contain .right-item h2.title-new a {
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* font-size: 15px; */
    /* font-family: Merriweather; */
}

a {
}

.section-bg {
    /* background: #fffcf1; */
    padding: 15px 0;
}

.lastestnew-contain .item {
    margin-bottom: 30px;
}

.lastestnew-contain .item a.avatar {
    background-position: center;
    background-size: cover;
    width: 200px;
    height: 130px;
    margin-right: 15px;
}

.lastestnew-contain .item h3 {
    font-size: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
}
@media (max-width: 600px) {
    .lastestnew-contain .item h3 {
        font-size: 18px;
    }
}
.lastestnew-contain .item h3 a {
    color: #111;
    font-family: "ssp";
}

.lastestnew-contain .item h3 a:hover {
    color: #41ac2a !important;
}

/*-video-*/

.box-category .item-video a.avatar {
    position: relative;
    background-position: center;
    background-size: cover;
    height: 200px;
    width: 100%;
    display: block;
}

.box-category .item-video span.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
}

.box-category .item-video span.overlay .icon {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 41px;
    display: block;
    position: absolute;
    font-size: 24px;
    top: 50%;
    right: 50%;
    text-align: center;
    background: rgba(0, 0, 0, 0.56);
    transition: 0.3s;
    color: #ffffff;
    z-index: 2;
    margin-right: -20px;
    margin-top: -20px;
    content: "\f04b";
    letter-spacing: -2px;
    font-weight: 900;
}

.btn-sm-sm {
    padding: 2px 3px;
    font-size: 8px;
    line-height: 1.3;
    margin-top: -3px;
    border-radius: 2px;
    opacity: 0.7;
}

.w-60px {
    width: 62px;
}

.new-year {
    background: rgba(255, 217, 174, 0.47) url("../img/bg-v3.png") center top;
}

.new-year:before {
    content: "";
    background: url("../img/bg-top-v2.png") no-repeat center top;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 800px;
}

.tincongnghemoi-cotain {
    background: #010b33;
    padding: 30px 20px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.tincongnghemoi-cotain .head h2 {
    color: #ffffff;
    font-weight: bold;
    font-size: 28px;
    border-left: 5px solid #ffffff;
    padding-left: 15px;
}
.tincongnghemoi-cotain .head h2 a {
    color: #21ff29;
}
.tincongnghemoi-cotain h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0;
    font-family: ssp;
    line-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tincongnghemoi-cotain h3 a {
    color: #fff;
}

.tincongnghemoi-cotain p.time {
    color: #fff;
    opacity: 0.7;
    margin: 0;
}
.swiper-container-congnghe .swiper-wrapper {
    padding-bottom: 40px;
}
.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: -5px;
}
.swiper-pagination-bullet {
    background: #fff;
}
/* ========================================
   For a Healthy Heart Section - Modern UI/UX
   ======================================== */
.box-heart {
    padding: 80px 30px 40px 30px;
    position: relative;
    margin-top: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8e8 100%);
    box-shadow: 0 10px 40px rgba(253, 44, 23, 0.08);
    border: 2px solid rgba(253, 44, 23, 0.1);
    transition: all 0.4s ease;
}

.box-heart:hover {
    box-shadow: 0 15px 50px rgba(253, 44, 23, 0.12);
    transform: translateY(-3px);
}

.box-heart img.img-title {
    position: absolute;
    left: 30px;
    top: -70px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #fff 0%, #fffbf5 100%);
    max-width: 100%;
    width: 320px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(253, 44, 23, 0.15);
    border: 3px solid #fd2c17;
    transition: all 0.3s ease;
}

.box-heart img.img-title:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(253, 44, 23, 0.2);
}

/* Card Item Styling */
.box-heart .item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.box-heart .item:hover {
    transform: translateY(-5px);
}

.box-heart .item > a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.box-heart .item > a:hover {
    box-shadow: 0 8px 30px rgba(253, 44, 23, 0.2);
}

.box-heart .item > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253, 44, 23, 0.8) 0%, rgba(255, 87, 51, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.box-heart .item > a:hover::before {
    opacity: 0.15;
}

.box-heart .item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: none;
    transition: transform 0.4s ease;
    border-radius: 15px;
}

.box-heart .item > a:hover img {
    transform: scale(1.08);
}

/* Post Badge */
.box-heart .item > a::after {
    content: '♥';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #fd2c17 0%, #ff5733 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(253, 44, 23, 0.3);
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.box-heart .item > a:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Title Styling */
.box-heart .item h2 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 10px;
    line-height: 26px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 52px;
}

.box-heart .item h2 a {
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}

.box-heart .item h2 a:hover {
    color: #fd2c17;
    text-decoration: none;
}

.box-heart .item h2 a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #fd2c17 0%, #ff5733 100%);
    transition: width 0.3s ease;
}

.box-heart .item h2 a:hover::after {
    width: 100%;
}

/* Post Content Container */
.box-heart .item .post-content {
    padding: 0;
}

/* Time Info Styling */
.box-heart .item .tsk-time-item {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.box-heart .item .tsk-time-item i {
    color: #fd2c17;
    margin-right: 3px;
    font-size: 14px;
}

.box-heart .item .tsk-time-item time {
    color: #7f8c8d;
}

.box-heart .item .tsk-time-item .category-divider {
    color: #bdc3c7;
    margin: 0 5px;
}

.box-heart .item .tsk-time-item .post-category {
    color: #95a5a6;
    transition: color 0.3s ease;
    font-size: 12px;
}

.box-heart .item .tsk-time-item .post-category:hover {
    color: #fd2c17;
    text-decoration: none;
}

/* View All Button */
.box-heart .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #fd2c17 0%, #ff5733 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(253, 44, 23, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.box-heart .btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.box-heart .btn-view-all:hover::before {
    left: 100%;
}

.box-heart .btn-view-all:hover {
    background: linear-gradient(135deg, #e32710 0%, #ff4520 100%);
    box-shadow: 0 8px 30px rgba(253, 44, 23, 0.4);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.box-heart .btn-view-all:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(253, 44, 23, 0.3);
}

.box-heart .btn-view-all i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.box-heart .btn-view-all:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .box-heart {
        padding: 70px 20px 30px 20px;
        margin-top: 90px;
        border-radius: 15px;
    }

    .box-heart img.img-title {
        left: 20px;
        top: -65px;
        width: 280px;
        padding: 15px 20px;
    }

    .box-heart .item img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .box-heart {
        padding: 60px 15px 25px 15px;
        margin-top: 80px;
    }

    .box-heart img.img-title {
        left: 50%;
        transform: translateX(-50%);
        top: -60px;
        width: 260px;
        padding: 12px 18px;
    }

    .box-heart .item {
        margin-bottom: 25px;
    }

    .box-heart .item img {
        height: 180px;
    }

    .box-heart .item h2 {
        font-size: 16px;
        line-height: 24px;
        margin-top: 15px;
        min-height: 48px;
    }

    .box-heart .btn-view-all {
        padding: 12px 28px;
        font-size: 14px;
    }

    .box-heart .item .tsk-time-item {
        font-size: 12px;
    }
}

/* Extra smooth animations for modern browsers */
@media (prefers-reduced-motion: no-preference) {
    .box-heart .item {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px !important;
    }
}
.container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}


/* ========================================
   Home Sidebar Banners
   ======================================== */

.home-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-ad-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-ad-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.sidebar-ad-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.sidebar-ad-box:hover img {
    transform: scale(1.05);
}

.sidebar-ad-box .banner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    animation: pulse 2s infinite;
}

.sidebar-ad-box .badge-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.sidebar-ad-box .badge-new {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

/* Staggered fade-in animation */
.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zoom effect on hover */
.zoom-effect {
    overflow: hidden;
}

.zoom-effect img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-effect:hover img {
    transform: scale(1.1);
}

/* Responsive sidebar */
@media (max-width: 991px) {
    .home-sidebar {
        position: static;
        margin-top: 30px;
    }

    .sidebar-ad-box {
        max-width: 400px;
        margin: 0 auto 20px;
    }
}


/* ========================================
   Bootstrap 5.3 Compatibility - Media to Flexbox
   ======================================== */

/* Replace .media with .d-flex for Bootstrap 5.3 compatibility */
.box-category .item-1 .d-flex {
    margin-bottom: 20px;
}

.box-category .item-1 .d-flex img {
    width: 120px;
}

.box-category .item-1 .d-flex a.avatar,
.box-category .item-1 .d-flex a.flex-shrink-0 {
    background-position: center;
    background-size: cover;
    width: 120px;
    height: 80px;
    margin-right: 15px;
}

.box-category .item-1 .d-flex .flex-grow-1 h5 {
    font-size: 16px;
    font-family: "ssp";
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.box-category .item-1 .d-flex h5 a {
    color: #333;
    font-weight: 600;
}

.box-category .item-1 .d-flex h5 a:hover {
    color: #41ac2a;
}

/* Item normal with d-flex */
.box-category .item-list-wapper .item-normal .d-flex img {
    width: 200px;
}

.box-category .item-list-wapper .item-normal .d-flex .flex-shrink-0 {
    margin-right: 0;
}

.box-category .item-list-wapper .item-normal .d-flex .flex-grow-1 p.category-time,
.box-category .item-list-wapper .item-highlight .noidung p.category-time {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.box-category .item-list-wapper .item-normal .d-flex .flex-grow-1 p.category-time a,
.box-category .item-list-wapper .item-highlight .noidung p.category-time a {
    color: #41ac2a;
    font-weight: bold;
    font-family: "Roboto Condensed", sans-serif;
}

.box-category .item-list-wapper .item-normal .d-flex .flex-grow-1 p.category-time a:hover,
.box-category .item-list-wapper .item-highlight .noidung p.category-time a:hover {
    text-decoration: underline;
}

.box-category .item-list-wapper .item-normal .d-flex .flex-grow-1 p.mota,
.box-category .item-list-wapper .item-highlight .noidung p.mota {
    font-size: 14px;
    margin-bottom: 0;
}

/* Latest news section */
.lastestnew-contain .item.d-flex {
    margin-bottom: 20px;
}

.lastestnew-contain .item.d-flex a.avatar {
    width: 120px;
    height: 130px;
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
}

.lastestnew-contain .item.d-flex .flex-grow-1 h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.lastestnew-contain .item.d-flex .flex-grow-1 h3 a {
    color: #333;
    font-weight: 600;
}

.lastestnew-contain .item.d-flex .flex-grow-1 h3 a:hover {
    color: #41ac2a;
}

/* Right item with d-flex */
.right-item .d-flex {
    margin-bottom: 15px;
}

.right-item .d-flex a.avatar {
    width: 80px;
    height: 60px;
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
}

.right-item .d-flex a.avatar img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.right-item .d-flex .flex-grow-1 h2.title-new {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

/* Date creation styling */
.date-cre {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

/* Responsive adjustments for d-flex */
@media (max-width: 767px) {
    .box-category .item-list-wapper .item-normal .d-flex img {
        width: 150px;
    }

    .box-category .item-list-wapper .item-normal .d-flex .flex-grow-1 p {
        font-size: 13px !important;
    }

    .lastestnew-contain .item.d-flex a.avatar {
        width: 120px !important;
        height: 130px !important;
    }

    .box-category .item-1 .d-flex a.avatar,
    .box-category .item-1 .d-flex a.flex-shrink-0 {
        width: 100px;
        height: 70px;
    }

    .box-category .item-1 .d-flex img {
        width: 100px;
    }

    .right-item .d-flex a.avatar {
        width: 70px;
        height: 50px;
    }

    .right-item .d-flex a.avatar img {
        width: 70px;
        height: 50px;
    }
}

/* Ensure flex-shrink-0 and flex-grow-1 work properly */
.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

/* ============================================
   Sidebar Styles - Latest Posts Box
   ============================================ */

/* Sidebar Box Container */
.sidebar-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.sidebar-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sidebar Box Header */
.sidebar-box-header {
    background: linear-gradient(135deg, #41ac2a 0%, #369223 100%);
    padding: 12px 15px;
    border-bottom: 3px solid #2d861d;
}

.sidebar-box-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Roboto Condensed", sans-serif;
}

/* Sidebar Box Body */
.sidebar-box-body {
    padding: 15px;
}

/* Sidebar Post Item */
.sidebar-post-item {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e5e5e5;
}

.sidebar-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Sidebar Post Thumbnail */
.sidebar-post-thumb {
    width: 80px;
    height: 80px;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-post-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(65, 172, 42, 0.3);
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-post-thumb:hover img {
    transform: scale(1.1);
}

/* Sidebar Post Content */
.sidebar-post-content {
    flex-grow: 1;
    overflow: hidden;
}

/* Sidebar Post Title */
.sidebar-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.sidebar-post-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.sidebar-post-title a:hover {
    color: #41ac2a;
}

/* Sidebar Post Time */
.sidebar-post-time {
    font-size: 12px;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-post-time i {
    font-size: 13px;
    color: #41ac2a;
}

/* Responsive Styles for Sidebar */
@media (max-width: 991px) {
    .sidebar-box {
        margin-bottom: 20px;
    }

    .sidebar-post-thumb {
        width: 70px;
        height: 70px;
        margin-right: 10px;
    }

    .sidebar-post-title {
        font-size: 13px;
    }

    .sidebar-post-time {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .sidebar-box {
        margin-bottom: 15px;
    }

    .sidebar-box-header {
        padding: 10px 12px;
    }

    .sidebar-box-title {
        font-size: 14px;
    }

    .sidebar-box-body {
        padding: 12px;
    }

    .sidebar-post-item {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .sidebar-post-thumb {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   Breadcrumb Styles
   ============================================ */

/* Breadcrumb Navigation Container */
nav[aria-label="breadcrumb"] {
    margin-bottom: 20px;
}

/* Breadcrumb List */
.breadcrumb {
    background: linear-gradient(to right, #f8f9fa 0%, #fff 100%);
    padding: 12px 20px;
    margin-bottom: 0;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #41ac2a;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Breadcrumb Items */
.breadcrumb-item {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

/* Breadcrumb Separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    padding-right: 0.5rem;
    color: #ccc;
    font-size: 12px;
}

/* Breadcrumb Links */
.breadcrumb-item a {
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding: 2px 0;
}

.breadcrumb-item a:hover {
    color: #41ac2a;
}

.breadcrumb-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #41ac2a;
    transition: width 0.3s ease;
}

.breadcrumb-item a:hover::after {
    width: 100%;
}

/* Active Breadcrumb Item */
.breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

/* Home Icon for First Item */
.breadcrumb-item:first-child a::before {
    content: "\f015";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    margin-right: 5px;
    color: #41ac2a;
    font-size: 13px;
}

/* Responsive Styles for Breadcrumb */
@media (max-width: 767px) {
    .breadcrumb {
        padding: 10px 15px;
        font-size: 12px;
        border-left-width: 3px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        font-size: 11px;
        padding-right: 0.4rem;
    }

    .breadcrumb-item + .breadcrumb-item {
        padding-left: 0.4rem;
    }

    /* Truncate long breadcrumb text on mobile */
    .breadcrumb-item.active {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 8px 12px;
        border-radius: 4px;
    }

    .breadcrumb-item.active {
        max-width: 150px;
    }
}

/* ============================================
   Home Sidebar Banners with Animations
   ============================================ */

/* Sidebar Container */
.home-sidebar {
    position: sticky;
    top: 20px;
}

/* Sidebar Ad Box Base */
.sidebar-ad-box {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sidebar-ad-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.sidebar-ad-box a {
    text-decoration: none;
    display: block;
}

/* Ad Content */
.ad-content {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(135deg, #41ac2a 0%, #369223 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ad-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ad Icon */
.ad-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.ad-icon i {
    font-size: 28px;
    color: #fff;
}

.ad-content h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.ad-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Ad Badge */
.ad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ad-badge.bg-danger {
    background: #dc3545;
}

.ad-badge.bg-info {
    background: #17a2b8;
}

.ad-badge.bg-warning {
    background: #ffc107;
    color: #333;
}

/* Gradient Variations */
.bg-gradient-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #a777e3 0%, #6e48aa 100%) !important;
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #fa8231 0%, #f54e4e 100%) !important;
}

.bg-gradient-teal {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

/* Animation Effects */
@keyframes pulse-effect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.pulse-effect {
    animation: pulse-effect 3s ease-in-out infinite;
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slide-in-right 0.8s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in 1s ease-out;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes rotate-in {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.rotate-in {
    animation: rotate-in 0.8s ease-out;
}

/* Delay animations for stagger effect */
.sidebar-ad-box:nth-child(1) { animation-delay: 0s; }
.sidebar-ad-box:nth-child(2) { animation-delay: 0.2s; }
.sidebar-ad-box:nth-child(3) { animation-delay: 0.4s; }
.sidebar-ad-box:nth-child(4) { animation-delay: 0.6s; }

/* Image Banner */
.image-banner {
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.zoom-effect:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 20px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-banner:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    font-size: 14px;
    font-weight: 600;
}

/* Banner Badge for Image Banners */
.banner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    z-index: 10;
    animation: pulse-badge 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Badge Color Variations */
.badge-hot {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}

.badge-live {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(238, 9, 121, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(238, 9, 121, 0);
    }
}

.badge-new {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-sale {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.badge-promo {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.badge-trending {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333;
}

/* Newsletter Banner */
.newsletter-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.newsletter-content {
    padding: 25px 20px;
    text-align: center;
    color: #fff;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-icon i {
    font-size: 28px;
    color: #fff;
}

.newsletter-content h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
}

.newsletter-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
}

.newsletter-form {
    margin-top: 15px;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 25px;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 13px;
}

.newsletter-form .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-subscribe {
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-subscribe i {
    margin-right: 5px;
}

/* App Stores Icons */
.app-stores {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-stores i {
    font-size: 28px;
    color: #fff;
    transition: transform 0.3s ease;
}

.app-stores i:hover {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991px) {
    .home-sidebar {
        position: static;
        margin-top: 30px;
    }

    .sidebar-ad-box {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .ad-content {
        padding: 20px 15px;
    }

    .ad-icon {
        width: 50px;
        height: 50px;
    }

    .ad-icon i {
        font-size: 24px;
    }

    .ad-content h4 {
        font-size: 16px;
    }

    .ad-content p {
        font-size: 12px;
    }
}
