/* Cấu hình header */
.header {
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
/* Chuyển đổi ngôn ngữ */
.language-switcher #flags {
    display: flex!important;
    border-left: 2px solid  #90163f;
}
.language-switcher #flags a {
    margin: 5px 0px 0px 10px ;
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    gap: 20px;
}
.logo {
    position: relative;
}

.logo img {
    width: auto;
    height: 50px;
    z-index: 1;
}
.logo a h1,.site-title {
   position: absolute;
   visibility: hidden;
   top: 0;
   z-index: -1;
}

/* Menu chính */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    text-decoration: none;
    color: #90163f;
    font-weight: bold;
    padding: 0px 10px;
    width: auto;
    line-height: 50px;
    height: 50px;
    display: block;
    text-transform: uppercase;
    font-size: 18px;
}
.nav-menu a:hover {
    background: #f8d7da;
}

/* Submenu */
.sub-menu {
	list-style:none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 5px 0;
    white-space: nowrap;
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #90163f;
    font-weight: bold;
}

.sub-menu a:hover {
    background: #f8d7da;
}

.nav-menu li:hover .sub-menu {
    display: block;
}

/* Tìm kiếm */
.search-container {
    position: relative; /* Để đảm bảo ô tìm kiếm hiển thị dưới icon */
}

.search-icon {
    color: #90163f;
    cursor: pointer;
    font-size: 28px;
}

.search-box {
    display: none;
    position: absolute;
    top: 30px; /* Đẩy xuống dưới icon */
    left: 0; /* Căn chỉnh vị trí ngay dưới icon */
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
}
.search-box form {
    display: flex;
}

.search-box form input {
    border: 1px solid #90163f;
    padding: 5px;
    width: 200px;
    border-radius: 5px 0px 0px 5px;
    font-size: 14px;
}
.search-box form button {
    display: flex;
    padding: 6px 0px;
    width: 5rem;
    justify-content: center;
    background: #90163f;
    color: #fff;
    border-radius: 0px 5px 5px 0px;
    font-weight: bold;
    font-size: 14px;
}
/* Slider */
.slide {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: hidden;
}
.banner-slide {
    position: relative;
    width: 100%;
    height: 640px;
}
.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.banner-slide .banner-slide-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(43, 43, 63, 0.9) 5%, rgba(144, 22, 63, 0) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.banner-slide-content {
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    color: #ffffff;
    max-width: 30%;
    z-index: 1;
}
.banner-slide-content h2 {
    font-size: 3rem;
}
.banner-slide-content h2, .banner-slide-content p {
    text-align: left;
}
.btn-xem-them {
    display: block;
    margin: 20px auto;
    width: fit-content;
    padding: 10px 50px;
    border-radius: 30px;
    background: #90163f;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
.btn-xem-them:hover {
    background: #fff;
    color: #90163f;
    border: solid #90163f 2px;
}
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: none;
    border: none;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}
.carousel-control-prev i, .carousel-control-next i {
    color: #fff;
    font-size: 80px;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}
.carousel-item {
    transition: opacity 1s ease-in-out; /* Hiệu ứng chuyển mượt */
    opacity: 0;
}
.carousel-item.active {
    opacity: 1;
}
/* Lý do lựa chọn SAKURA */
.why-choose-sakura {
    background-image: url('../images/bg-section2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #90163f;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #90163f;
    margin: 10px auto 0;
}

/* Style cho từng lý do */
.text-center  {
    padding: 0px 50px;
}
.text-center {
    display: ;
}
.reason-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Icon Bootstrap */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: #90163f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: transform 0.3s ease-in-out;
}

.icon-wrapper i {
    font-size: 40px;
    color: #fff;
    line-height: 1; /* Fix lỗi icon bị méo */
}

/* Tiêu đề */
.reason-item h3 {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    color: #90163f;
    margin-bottom: 12px;
}

.reason-item h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.reason-item h3 a:hover {
    color: #d4145a;
}

/* Nội dung */
.reason-item p {
    font-size: 18px;
    color: #2b2b2b;
}

/* Hover Effect */
.reason-item:hover {
    background: #90163f;
    color: #fff;
    transform: translateY(-5px);
}

.reason-item:hover h3 a,
.reason-item:hover p {
    color: #fff;
}

.reason-item:hover .icon-wrapper {
    transform: scale(1.1);
    background: #fff;
}

.reason-item:hover .icon-wrapper i {
    color: #90163f;
}

/* Dịch vụ của SAKURA */
.services {
    width: 100%;
    text-align: center;
    padding: 50px 0;
    background-color: #f9f9f9;
}

.services .section-title {
    font-size: 36px;
    font-weight: bold;
    color: #90163f;
    margin-bottom: 30px;
}

.service-menu {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 20px 0px;
    margin: 0;
}

.services .service-menu .service-item {
    position: relative;
    width: 30%;
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
}
.services .service-menu .service-item h3 {
    font-size: 0;
    padding: 0;
    margin: 5px 0px 0px 0px;
}
.services .service-menu .service-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/* Overlay 1 */
.services .service-menu .service-item .overlay-1 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(43, 43, 63, 0.9) 20%, rgba(144, 22, 63, 0) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

.services .service-menu .service-item .overlay-1-content {
    text-align: center;
    color: white;
}

.services .service-menu .service-item .overlay-1-content i {
    font-size: 50px;
    color: #fff;
}

.services .service-menu .service-item .overlay-1-content h3 a {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

/* Overlay 2 */
.services .service-menu .service-item .overlay-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: rgba(43, 43, 43, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa theo chiều ngang */
    justify-content: center; /* Căn giữa theo chiều dọc */
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

.services .service-menu .service-item .overlay-2-content i {
    font-size: 50px;
    color: #fff;
    margin-bottom: 10px; /* Khoảng cách giữa icon và text */
}

.services .service-menu .service-item .overlay-2-content h3 a {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-decoration: none;
}

.services .service-menu .service-item .overlay-2-content hr {
    width: 80%;
    height: 2px;
    background: #fff;
    border: none;
    margin: 10px auto;
}

.services .service-menu .service-item .overlay-2-content p {
    font-size: 14px;
    color: #fff;
    padding: 0 10px;
}
.services .service-menu .service-item .overlay-2-content .btn-service {
   background: #90163f;
    line-height: 25px;
    border-radius: 50px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 10px 15px;
    text-decoration: none;
}
.services .service-menu .service-item .overlay-2-content .btn-service:hover {
    border: 1px solid rgb(217, 165, 47);
    background: #fff;
    color: #D9A52F;
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
.services .service-menu .service-item:hover .overlay-1 {
    opacity: 0;
}

.services .service-menu .service-item:hover .overlay-2 {
    opacity: 1;
}
/* News Css */
/* News Content */
.news-section {
    background-image: url('../images/bg-section3.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px 0;
}
.news-content .title-news {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.news-content .title-news .title-news-left {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-content .title-news a {
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    line-height: 20px;
    gap: 10px;
    font-weight: 400;
    padding: 10px 0px 0px 0px;
}
.news-content .title-news a:hover {
    color: #FFFF33;
}
.news-content-left .item-news img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}
.news-content-left .item-news h3 {
    line-height: 1;
}
.news-content-left .item-news h3 a {
    text-decoration: none;
    margin: 5px 0px 0px  0px;
    font-size: 20px;
    color: #fff;
    font-weight: bold;

}

.news-sumary p {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.news-content-right .item-news img {
    border-radius: 8px;
    width: 100%;
    height: 7rem;
    object-fit: cover;
    margin-top: 5px;
}
.news-content-right .item-news h3 a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.news-content-right .item-news h3 {
    line-height: 1;
    margin: 0 0px 0 5px;
}
.news-content-right .item-news a h3 {
    color: #fff;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-content-right .item-news .news-sumary-right p {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0px;
}
/*Featured-news */
.news-featured {
    position: relative;
    height: 640px;
}

.banner-featured {
    position: relative;
    overflow: hidden;
}
.title-featured a{
    text-decoration: none;
    color: #fff;
}

.owl-stage {
    display: none;
    position: relative;
    transition: opacity 0.5s ease-in-out;
}

.owl-stage.active {
    display: block;
}

.iteam-news-featured {
    position: relative;
}

.iteam-news-featured img {
    width: 100%;
    border-radius: 10px;
    height: 100%;
}

.banner-content-featured {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

.content-featured .title-featured {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: bold;
}


.content-featured p {
    font-size: 16px;
    color: #fff;
    
}

.owl-nav {
    position: absolute;
    bottom: 0px;
    right: 10px;
}

.owl-nav button {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: transform 0.2s;
}

.owl-nav button:hover {
    transform: scale(1.2);
}

/* Dots navigation */
.owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: absolute;
    bottom: 5px;
    left: 10px;;
}

.owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

.owl-dot.active {
    opacity: 1;
    transform: scale(1.2);
}
/* Feedback Css */

.feedback-section {
    text-align: center;
    padding: 20px 0px;
}


.feedback-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feedback-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.feedback {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.feedback img {
    width: 20%;
}

.quote-icon {
    width: 30px;
    height: auto;
    margin-bottom: 10px;
}

.feedback-text {
    font-size: 18px;
    color: #444;
    max-width: 600px;
    margin: 10px 0;
}

.customer-info {
    display: block;
    align-items: center;
}

.customer-info .customer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.customer-details {
    text-align: left;
}

.customer-name {
    font-weight: bold;
    color: #90163f;
}

.feedback-date {
    font-size: 14px;
    color: #777;
}

.prev, .next {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #90163f;
    transition: transform 0.2s;
}

.prev:hover, .next:hover {
    transform: scale(1.2);
}

/* Dots */
.dots {
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #90163f;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    opacity: 1;
    transform: scale(1.2);
}
/* Footer */
.footer {
    background-color: #90163f;
    color: white;
    padding: 40px 0;
    text-align: left;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-logo h4 {
    margin-top: 10px;
    font-size: 22px;
    font-weight: bold;
}

.footer-info {
    list-style: none;
    padding: 0;
}

.footer-info li {
    margin-bottom: 8px;
    font-size: 16px;
}
.footer-info li a {
    color: #fff;
    text-decoration: none;
}
.footer-info li a:hover {
    text-decoration: underline;
}

.footer-info li i {
    margin-right: 8px;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}

.footer-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background-color: white;
    margin-top: 5px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 8px;
    font-size: 16px;
}
.footer-menu li a {
    color: #fff;
    text-decoration: none;
}
.footer-menu li a:hover {
    text-decoration: underline;
}
/* Page */
/* Banner */
.main-page .container-fluid {
    height: 400px;
}

.page-banner-img img {
    height: 400px;
    object-fit: cover;
}

/* Breadcrumb */
.breadcrumb-wrapper {
    width: 100%;
    background-color: #f0f0f0; /* Màu xám */
    height: 40px; /* Chiều cao */
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-content {
    font-size: 14px;
    color: #666;
}

.breadcrumb-content a {
    color: #90163f;
    text-decoration: none;
    font-weight: bold;
}

.breadcrumb-title {
    font-weight: bold;
    color: #2b2b2b;
}

/* Tiêu đề với icon trái tim */
.page-title h1 {
    font-size: 30px;
    color: #90163f;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Các icon trái tim */
.icon-heart {
    font-size: 30px;
}

.icon-heart-1 {
    color: #E87A97; /* Màu hồng đậm */
}

.icon-heart-2 {
    color: #F2A1B2; /* Màu hồng nhạt hơn */
}

.icon-heart-3 {
    color: #FAD3DC; /* Màu hồng rất nhạt */
}

.icon-heart-4 {
    color: #F2A1B2; /* Màu hồng nhạt */
}

/* Nội dung trang */
.page-content p,span {
    font-size: 16px;
    line-height: 1.8;
}
.page-content h2 {
	font-size:24px;
	font-weight : 600;
}
.page-content h3 {
	font-size:22px;
	font-weight:500;
}
/* Trang Category */
/* Bài viết mới nhất */
.latest-news {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px; /* Thêm khoảng cách với nội dung bên dưới */
}

.latest-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.latest-news-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 20px;
}

/* Kiểu dáng bài viết/dịch vụ */
.post-item {
    position: relative;
    width: 100%;
    height: 300px; /* Điều chỉnh chiều cao phù hợp */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.post-item:hover {
    transform: scale(1.03);
}

/* Ảnh bài viết/dịch vụ */
.post-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hiển thị ảnh đầy đủ mà không bị méo */
    border-radius: 10px;
}

/* Overlay tràn toàn bộ ảnh */
.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Lớp phủ màu đen trong suốt */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 1; /* Luôn hiển thị */
}

/* Tiêu đề bài viết/dịch vụ */
.post-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

/* Mô tả bài viết */
.post-description {
    font-size: 14px;
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
}
.post-overlay .btn-primary {
    background: #90163f;
    color: #fff;
    border: 1px solid #fff !important;
}
.post-overlay .btn-primary:hover {
    background: #fff;
    border:1px solid #90163f;
    color: #90163f;
}

/* Phân trang */
.pagination {
    display: flex;
    justify-content: center; /* Căn giữa */
    align-items: center;
    gap: 10px; /* Khoảng cách giữa các nút */
    margin-top: 30px; /* Thêm khoảng cách với nội dung bên trên */
    padding-bottom: 40px; /* Để không dính vào footer */
}

.pagination a,
.pagination span {
    display: inline-block;
    color: #90163f;
    text-decoration: none;
    margin: 0 5px;
    padding: 5px 5px;
    font-size: 20px;
}

.pagination a:hover {
    text-decoration: underline;
}
.pagination .next:hover {
    transition: none;
}
.pagination .current {
    color: #90163f;
    font-weight: bold;
}
/* Archive dịch vụ */
/*Banner*/
.archiver-banner {
    position: relative;
    width: 100%;
    height: 15rem;
    overflow: hidden;
    padding: 0px !important;
}

.archiver-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archiver-banner-overlay {
    position: absolute;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-align: center;
    width: 90% !important;
}
.archiver-banner-overlay p { 
    color: #2a3100;
    font-size: 18px !important;
    font-weight: bold; !important;
    background: rgb(255, 255, 255, 0.6);
    margin-top: 5rem;
    padding: 10px 10px; 
}
/* Breadcrumb */
.breadcrumb-service .breadcrumb li a {
    color: #2b2b2b ;
    text-decoration: none;
}
.breadcrumb-service .active {
    color: #90163f !important;
    font-weight: bold;
}
/* Main Service */
#archive-services .service-menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
}

#archive-services .service-menu .service-item {
    width: 48%; /* Chia đôi để 2 dịch vụ trên 1 hàng */
    height: 400px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

#archive-services .service-menu .service-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#archive-services .service-menu .service-item .overlay-1 {
    height: 40%;
}

#archive-services .service-menu .service-item .overlay-2 {
    width: 95%;
    height: 85%;
}

#archive-services .service-menu .service-item .overlay-2-content p {
    font-size: 13px;
    padding: 0 10px;
}

 /* Single */
/* Breadcrumb */ 
.single-breadcrumb-wrapper {
    position: relative;
    width: 100%;
    background-color: #f1f1f1;
    padding: 10px 0;
    margin-top: 70px;
}
.single-breadcrumb-wrapper .single-breadcrumb-content a {
    text-decoration: none;
    color: #2b2b2b;
}
.single-breadcrumb-wrapper .single-breadcrumb-content a:hover {
    color: #90163f;
}
/* Main Single */
.main-single {
    display: flex;
    gap: 20px;
}

/* Nội dung chính */
.single-post-content {
    width: 75%;
}
.single-post-content h1{
    font-size: 34px;
    font-weight: bold;
}
.single-post-content h2 {
    font-size: 30px;
}
.single-post-content h3 {
    font-size: 28px;
}
.single-post-title {
    font-size: 24px;
    font-weight: bold;
    color: #90163f;
}

.single-post-title i {
    font-size: 20px;
    margin: 0 5px;
}

.icon-1 { color: #ff4d6d; }
.icon-2 { color: #ff85a2; }
.icon-3 { color: #ffbac2; }
.icon-4 { color: #ff85a2; }

.post-date {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.post-body {
    font-size: 16px;
    line-height: 1.8;
}

/* Sidebar */
.sidebar {
    width: 25%;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-size: 28px;
    color: #90163f;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sidebar-line {
    width: 60px;
    height: 8px;
    background: #90163f;
    margin-bottom: 15px;
}

/* Danh sách bài viết mới nhất */
.sidebar-latest-news {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-latest-news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 10px;
}

.sidebar-latest-news-item:hover {
    background: #f1e1e6;
    transform: translateY(-2px);
}

/* Hình ảnh bài viết */
.sidebar-latest-news-img {
    flex-shrink: 0; /* Giữ kích thước cố định */
}
.sidebar-latest-news-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

/* Nội dung bài viết */
.sidebar-latest-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.sidebar-latest-news-content a {
    text-decoration: none;
    color: #2b2b2b;
}
.sidebar-latest-news-content a:hover {
    text-decoration: underline;
}

.sidebar-latest-news-title {
    font-size: 18px;
    font-weight: bold;
    color: #2B2B2B;
    margin: 0;
}

.sidebar-latest-news-date {
    font-size: 12px;
    color: #666;
}
/* Bài viết liên quan */
.single-post-relate {
    margin-top: 40px;
}
.single-section-title {
    text-align: center;
    color: #fff;
    background: #90163f;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin: 40px auto;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
}

.single-related-posts {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

/* Bố cục mỗi bài viết */
.single-related-item {
    width: 23%; /* Chia đều 4 bài viết */
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.single-related-item a:hover {
    color: #90163f;
}
/* Ảnh thumbnail */
.single-related-thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.single-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

/* Hiệu ứng hover */
.single-related-item:hover img {
    transform: scale(1.05);
}

/* Tiêu đề bài viết */
.single-related-title a{
    font-size: 14px;
    color: #2b2b2b;
    margin: 10px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
}
.single-related-title a:hover {
    color: #90163f;
}
/* Search */
.search-page {
    padding: 120px 0 40px;
}

.search-title {
    font-size: 24px;
    color: #90163f;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}
.search-results {
    margin-top: 20px;
}

.search-title span {
    color: #E87A97;
}

.search-count {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.search-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}
.search-item a {
    text-decoration: none;
}

.search-item:hover {
    transform: scale(1.05);
}

.search-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.search-info {
    padding: 15px;
}

.search-info h3 {
    font-size: 16px;
    color: #90163f;
    font-weight: bold;
}

.search-date {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
}

.search-excerpt {
    font-size: 14px;
    color: #333;
}

.no-results {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

/* Thanh liên hệ nổi */
.contact-bar {
    position: fixed;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    background: #343a40;
    padding: 10px 5px;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999
}

/* Các nút trong thanh liên hệ */
.contact-item {
    display: block;
    width: 50px;
    height: 50px;
    margin: 10px auto;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

/* Icon trong các nút */
.contact-item i {
    font-size: 24px;
    color: #005f7f;
}

/* Icon Zalo */
.contact-item.zalo svg {
    width: 30px;
    height: 30px;
}

/* Hiệu ứng hover */
.contact-item:hover {
    transform: scale(1.1);
    background: #ffcc00;
}

/* Trang 404 */
.page-404 {
    text-align: center;
    padding: 100px 20px;
    color: #90163f;
    background: #fdf1f3;
    font-family: 'Quicksand', sans-serif;
}
.page-404 h1 {
    font-size: 120px;
    margin: 0;
    font-weight: bold;
}
.page-404 h2 {
    font-size: 32px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.page-404 p {
    font-size: 18px;
    margin-bottom: 30px;
}
.page-404 a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #90163f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}
.page-404 a:hover {
    background-color: #7e1338;
}
