/* Custom styles for TramHuongKhanhHoa */
/* Button support */
.addThis_listSharing {
    position: fixed;
    bottom: 150px;
    z-index: 999;
    right: -15px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}

.addThis_listSharing.is-show {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.addThis_listing {
    list-style-type: none;
}

.addThis_listing .addThis_item {
    margin-bottom: 5px;
    margin-right: 35px;
}

@media (max-width: 767px) {
    .addThis_listSharing {
        bottom: 110px;
    }

    .addThis_listing .addThis_item {
        margin-right: 18px;
    }
}


.addThis_listing .addThis_item .addThis_item--icon {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 44px;
    height: 44px;
    line-height: 44px;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.11);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.addThis_listing .addThis_item .addThis_item--icon .tooltip-text {
    position: absolute;
    top: 4px;
    right: 55px;
    z-index: 9;
    height: 32px;
    line-height: 26px;
    padding: 3px 10px;
    width: auto;
    border-radius: 5px;
    font-size: 11px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    background-color: black;
    visibility: hidden;
    opacity: 0;
    -ms-transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.addThis_listing .addThis_item .addThis_item--icon .tooltip-text:after {
    content: "";
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
    -ms-transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.addThis_listing .addThis_item .addThis_item--icon:hover {
    text-decoration: none;
    opacity: .9;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15), 0 4px 15px rgba(0, 0, 0, 0.13);
}

.addThis_listing .addThis_item .addThis_item--icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
}

.language-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 60px;
    justify-content: center;
}

.language-btn:hover {
    color: #333;
}

.language-btn.active {
    color: #e2027a;
}

.flag-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.language-text {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}

@media (max-width: 1199px) {
    .language-switcher {
        display: none;
    }
}

/* Google Translate Widget Styling */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-te-combo {
    display: none !important;
}

/* Hide Google Translate branding */
.goog-te-gadget-simple {
    display: none !important;
}

/* Ensure translated content is visible */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Style for translated content */
.goog-te-banner-frame {
    position: absolute !important;
    top: -1000px !important;
    left: -1000px !important;
    z-index: -1000 !important;
}

/* Full Width Hero Slider */
.hero_slider {
    width: 100%;
    height: 100vh;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    max-height: 550px;
}

.hero_slider .swiper-slide {
    height: 100vh;
    min-height: 350px;
    max-height: 550px;
}

.hero_item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero_content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.hero_content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero_content h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--neo-green);
}

.hero_content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero_item {
        padding: 40px 0;
    }

    .hero_content {
        padding: 0 15px;
    }

    .hero_content h1 {
        font-size: 2.5rem;
    }

    .hero_content h4 {
        font-size: 1.2rem;
    }

    .hero_content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero_item {
        padding: 30px 0;
    }

    .hero_content {
        padding: 0 10px;
    }

    .hero_content h1 {
        font-size: 2rem;
    }

    .hero_content h4 {
        font-size: 1rem;
    }

    .hero_content p {
        font-size: 0.9rem;
    }
}

/* Hero Navigation and Pagination */
.hero_pagination {
    position: absolute;
    bottom: 30px;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 10;
}

.hs_prev_arrow,
.hs_next_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hs_prev_arrow {
    left: 30px;
}

.hs_next_arrow {
    right: 30px;
}

.hs_prev_arrow:hover,
.hs_next_arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hs_prev_arrow i,
.hs_next_arrow i {
    color: white;
    font-size: 20px;
}

/* Responsive Navigation */
@media (max-width: 768px) {

    .hs_prev_arrow,
    .hs_next_arrow {
        width: 40px;
        height: 40px;
    }

    .hs_prev_arrow {
        left: 15px;
    }

    .hs_next_arrow {
        right: 15px;
    }

    .hs_prev_arrow i,
    .hs_next_arrow i {
        font-size: 16px;
    }

    .hero_pagination {
        bottom: 20px;
    }
}

/* Footer Widget H4 Styling */
.footer_widget h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer_widget h4::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--yellow));
    border-radius: 2px;
    transition: all 0.3s ease;
}

.footer_widget h4:hover::before {
    width: 60px;
    background: linear-gradient(90deg, var(--yellow), var(--yellow));
}

/* Footer Background Styling */
#footer {
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

#footer .container {
    position: relative;
    z-index: 2;
}

/* Responsive Footer H4 */
@media (max-width: 768px) {
    .footer_widget h4 {
        font-size: 18px;
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }

    .footer_widget h4::before {
        width: 30px;
        height: 2px;
    }

    .footer_widget h4:hover::before {
        width: 45px;
    }
}

@media (max-width: 480px) {
    .footer_widget h4 {
        font-size: 16px;
        margin-bottom: 12px;
        letter-spacing: 0.3px;
    }

    .footer_widget h4::before {
        width: 25px;
        height: 2px;
    }

    .footer_widget h4:hover::before {
        width: 35px;
    }
}

/* Responsive Footer Background */
@media (max-width: 768px) {
    #footer {
        background-attachment: fixed;
    }

    #footer::before {
        background: rgba(0, 0, 0, 0.6);
    }
}

@media (max-width: 480px) {
    #footer::before {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Popular Promo Overlay Style */
.popular_promo {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 500px;
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: hidden;
}

.popular_promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to bottom, rgba(0, 84, 32, 0.8), rgba(0, 84, 32, 0.6));
    z-index: 1;
    border-radius: 30px 30px 0 0;
    clip-path: ellipse(100% 100% at 50% 0%);
}

.ppromo_content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.ppromo_content h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

.ppromo_content span {
    color: white !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    text-decoration-line: underline;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.ppromo_content p {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.popular_promo .yellow-btn {
    background: #ff6b35;
    border: 2px solid #ff6b35;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.popular_promo .yellow-btn:hover {
    background: white;
    border-color: white;
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Discount Content Overlay Style */
.discount_content {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 50px;
    border-radius: 30px;
    overflow: hidden;
}

.discount_content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 84, 32, 0.85) 0%, rgba(0, 84, 32, 0.7) 60%, rgba(0, 84, 32, 0.3) 100%);
    z-index: 1;
    clip-path: polygon(0 0, 40% 0, 55% 100%, 0% 100%);
}

.discount_content .d_off_badge,
.discount_content h2,
.discount_content p,
.discount_content .white-btn {
    position: relative;
    z-index: 2;
}

.discount_content .d_off_badge {
    border-radius: 50px;
    display: inline-block;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 5px 36px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.discount_content h2 {
    color: white !important;
    font-size: 37px !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
}

.discount_content span {
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.discount_content p {
    color: white !important;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.discount_content .white-btn {
    background: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.discount_content .white-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Blog Sidebar Widget Styling */
.single-widget {
    background: #fff;
    border: 1px solid #e8f5e8;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 84, 32, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.single-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #005420, #00a651);
    border-radius: 15px 15px 0 0;
}

.single-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 84, 32, 0.15);
    border-color: #005420;
}

.widget-title {
    color: #005420 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #005420, #00a651);
    border-radius: 2px;
}

/* Category Widget Styling */
.category-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-widget li {
    margin-bottom: 12px;
    padding: 12px 15px;
    background: #f8fffe;
    border-radius: 8px;
    border-left: 3px solid #005420;
    transition: all 0.3s ease;
    position: relative;
}

.category-widget li:hover {
    background: #005420;
    transform: translateX(5px);
    border-left-color: #00a651;
}

.category-widget li a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-widget li:hover a {
    color: white !important;
}

.category-widget li a::after {
    content: '\ea6c';
    font-family: 'remixicon' !important;
    font-size: 14px;
    color: #333;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.category-widget li:hover a::after {
    color: white;
}

/* Popular Posts Widget Styling */
.ppost_widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ppost_widget li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fffe;
    border-radius: 12px;
    border: 1px solid #e8f5e8;
    transition: all 0.3s ease;
}

.ppost_widget li:hover {
    background: #e8f5e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 84, 32, 0.1);
}

.pp_img {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
    border: 2px solid #e8f5e8;
}

.ppost_content {
    flex: 1;
}

.ppost_content p {
    margin: 0 0 8px 0;
}

.ppost_content p a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ppost_content p a:hover {
    color: #005420 !important;
}

.ppost_content span {
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.ppost_content span i {
    margin-right: 5px;
    color: #005420;
}

/* Tags Widget Styling */
.tags-clouds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-clouds a {
    display: inline-block;
    padding: 8px 16px;
    background: #f8fffe;
    color: #333 !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e8f5e8;
    transition: all 0.3s ease;
}

.tags-clouds a:hover {
    background: #005420;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 84, 32, 0.3);
}

.tags-clouds span {
    color: #666;
    font-style: italic;
}

/* Page Content Styling */
.page-info-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.page-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #005420, #00a651);
    border-radius: 12px 12px 0 0;
}

.page-info-box h3 {
    color: #005420 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 10px;
}

.page-info-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #005420, #00a651);
    border-radius: 2px;
}

.page-info-box .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-info-box .list-unstyled li {
    margin-bottom: 12px;
    padding: 12px 15px;
    background: #f8fffe;
    border-radius: 8px;
    border-left: 3px solid #005420;
    transition: all 0.3s ease;
    position: relative;
}

.page-info-box .list-unstyled li:hover {
    background: #005420;
    transform: translateX(5px);
    border-left-color: #00a651;
}

.page-info-box .list-unstyled li a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.page-info-box .list-unstyled li:hover a {
    color: white !important;
}

.page-info-box .list-unstyled li a i {
    margin-right: 10px;
    font-size: 12px;
    color: #005420;
    transition: color 0.3s ease;
}

.page-info-box .list-unstyled li:hover a i {
    color: white;
}

/* Page Main Content Styling */
.page-main-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.page-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #005420, #00a651);
    border-radius: 12px 12px 0 0;
}

.page-main-content h1,
.page-main-content h2,
.page-main-content h3,
.page-main-content h4,
.page-main-content h5,
.page-main-content h6 {
    color: #005420 !important;
    margin-bottom: 15px;
    position: relative;
}

.page-main-content h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    padding-bottom: 10px;
}

.page-main-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #005420, #00a651);
    border-radius: 2px;
}

.page-main-content h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-top: 25px;
}

.page-main-content h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-top: 20px;
}

.page-main-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.page-main-content ul,
.page-main-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-main-content ul li,
.page-main-content ol li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 8px;
}

.page-main-content ul li::marker {
    color: #005420;
}

.page-main-content ol li::marker {
    color: #005420;
    font-weight: bold;
}

.page-main-content blockquote {
    border-left: 4px solid #005420;
    background: #f8fffe;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.page-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}

.page-main-content a {
    color: #005420 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-main-content a:hover {
    color: #00a651 !important;
    text-decoration: underline;
}

.page-main-content strong {
    color: #005420;
    font-weight: 600;
}

.page-main-content em {
    color: #666;
    font-style: italic;
}

/* Category Section Overlay Layout */
.single_category {
    padding: 0 !important;
    border: none !important;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.category-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 84, 32, 0.3);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.category-content {
    text-align: center;
    padding: 20px;
    color: white;
    width: 100%;
}

.category-title {
    color: white !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.category-count {
    color: white !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.single_category:hover .category-image {
    transform: scale(1.05);
}

.single_category:hover .category-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.single_category:hover {
    background: transparent !important;
    border: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-image-container {
        height: 300px;
    }

    .category-title {
        font-size: 18px !important;
    }

    .category-count {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .category-image-container {
        height: 300px;
    }

    .category-title {
        font-size: 16px !important;
    }

    .category-count {
        font-size: 12px !important;
    }
}