/*
Theme Name: Vicimis Premium Tour Theme
Theme URI: https://vicimis.com/
Author: Hoang Quan
Author URI: tel:+84362631945
Description: A premium, fast, and modern theme designed specifically for the Vicimis Tour Plugin.
Version: 1.0.0
Text Domain: vicimis-tour-theme
*/

/* --- THEME RESET & CORE --- */
:root {
    --v-primary: #092340;
    --v-secondary: #a8191e;
    --v-dark: #0f172a;
    --v-light: #f8fafc;
    --v-text: #334155;
    --v-border: #e2e8f0;
    --v-radius: 12px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--v-text);
    background-color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--v-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--v-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* --- HEADER (30/70 Layout) --- */
.site-header {
    position: relative !important;
    z-index: 999999 !important;
    min-height: 120px;
    height: auto;
    max-height: 180px;
    display: flex;
    align-items: center;
    padding: 0;
    transition: all 0.3s ease;
    overflow: visible !important;
    border-bottom: 4px solid var(--v-secondary);
    background-color: #fff;
}

.header-flex-container {
    display: flex;
    align-items: stretch;
    gap: 30px;
    width: 100%;
    overflow: visible !important;
}

.header-logo-col {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.site-logo img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

.header-content-col {
    flex: 0 0 72%;
    max-width: 72%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Đẩy sát ra ngoài cùng bên phải */
    overflow: visible !important;
}

.header-desktop-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    overflow: visible !important;
}

.header-top-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 8px 0;
    width: 100%;
    overflow: visible !important;
}

.header-hotline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    order: 1;
}

.top-navigation {
    order: 2;
}

.top-navigation ul {
    list-style: none !important;
    display: flex !important;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.top-navigation a {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    color: inherit;
}

.header-main-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 10px 0;
}

.main-navigation ul {
    list-style: none !important;
    display: flex !important;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    color: inherit;
}

.main-navigation a:hover {
    border-bottom-color: #fff;
}

/* --- LANGUAGE SWITCHER --- */
.vicimis-lang-switcher {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    z-index: 9999999;
}

.vicimis-lang-switcher .lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.vicimis-lang-switcher:hover .lang-current {
    border-color: var(--v-primary);
    box-shadow: 0 2px 8px rgba(9, 35, 64, 0.08);
}

.vicimis-lang-switcher .lang-arrow {
    transition: transform 0.3s ease;
}

.vicimis-lang-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

.vicimis-lang-switcher .lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    min-width: 110px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 0;
    margin: 5px 0 0 0;
    list-style: none !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999999;
}

.vicimis-lang-switcher:hover .lang-dropdown,
.vicimis-lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vicimis-lang-switcher .lang-dropdown li {
    margin: 0 !important;
    padding: 0 !important;
}

.vicimis-lang-switcher .lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    color: #475569 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.vicimis-lang-switcher .lang-dropdown a:hover {
    background: #f8fafc;
    color: var(--v-primary) !important;
    padding-left: 18px;
}

/* Desktop specific adjustments */
.header-top-row .vicimis-lang-switcher {
    order: 0;
}

.mobile-lang-switcher {
    display: none;
}


/* --- MOBILE MENU SYSTEM --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

body .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6); /* Slate-900 transparent */
    backdrop-filter: blur(4px);
    z-index: 99999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body .mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-logo img {
    max-width: 120px !important;
    height: auto !important;
    object-fit: contain;
}

.mobile-logo {
    flex: 0 0 auto;
}

body .mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: #ffffff;
    z-index: 100000000 !important;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    box-shadow: 10px 0 40px rgba(15, 23, 42, 0.15);
    color: #1e293b;
    overflow-y: auto;
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

body .mobile-menu-sidebar.is-active {
    transform: translateX(0);
    visibility: visible;
}

body .mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

body .close-mobile-menu {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #475569;
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    padding-bottom: 4px; /* Align cross vertically */
}

body .close-mobile-menu:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

body .mobile-sidebar-content {
    padding: 24px;
    flex: 1;
}

body .mobile-hotline {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
}

body .mobile-hotline .dashicons {
    color: var(--v-primary);
    font-size: 20px;
    width: 20px;
    height: 20px;
}

body .mobile-nav-section {
    margin-bottom: 30px;
}

body .mobile-nav-section h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 6px;
}

body .mobile-nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body .mobile-nav-section li {
    margin-bottom: 0;
    border-bottom: 1px solid #f8fafc;
}

body .mobile-nav-section li:last-child {
    border-bottom: none;
}

body .mobile-nav-section a {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    transition: all 0.25s ease;
}

body .mobile-nav-section a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-right: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: all 0.25s ease;
    margin-right: 4px;
}

body .mobile-nav-section a:hover {
    color: var(--v-primary);
    padding-left: 8px;
}

body .mobile-nav-section a:hover::after {
    border-color: var(--v-primary);
    transform: translateX(4px) rotate(45deg);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1199px) {
    body .site-header {
        min-height: 110px !important;
        height: 110px !important;
        padding: 0 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    body .header-desktop-content {
        display: none !important;
    }
    
    body .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    body .mobile-lang-switcher {
        display: block !important;
    }

    body .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: var(--v-primary) !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 40px !important;
        height: 40px !important;
        color: #ffffff !important;
        border: none !important;
        cursor: pointer !important;
    }

    body .mobile-menu-toggle .dashicons {
        font-size: 24px !important;
        width: 24px !important;
        height: 24px !important;
        line-height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body .header-flex-container {
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
        height: 100% !important;
        gap: 15px !important;
    }

    body .header-logo-col {
        flex: 0 0 auto !important;
        max-width: 220px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    body .site-logo img {
        max-height: 100px !important;
        width: auto !important;
    }

    body .header-content-col {
        flex: 0 0 auto !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
    }
}

.main-navigation a {
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover {
    border-bottom-color: #fff;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

/* --- FOOTER --- */
.site-footer {
    position: relative !important;
    z-index: 999999 !important;
    background: #092340; /* Primary brand color */
    color: #e2e8f0;
    padding: 80px 0 0;
    margin-top: 100px;
    font-family: 'Montserrat', sans-serif !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Cân đối lại tỉ lệ cột */
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-logo img {
    max-width: 180px !important; /* Khống chế logo footer */
    height: auto !important;
    margin-bottom: 20px;
    display: block;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-widget {
    text-align: left; /* Đảm bảo căn lề trái cho tất cả widget */
}

.footer-widget h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-align: left;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--v-secondary) !important;
}

.footer-desc {
    line-height: 1.8;
    margin-top: 25px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--v-secondary) !important;
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(168, 25, 30, 0.4);
}

.footer-nav ul,
.footer-links,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-links li,
.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff !important;
}

.footer-nav a,
.footer-links a {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer-nav a:hover,
.footer-links a:hover {
    color: var(--v-secondary) !important;
    padding-left: 8px;
}

.contact-list .dashicons {
    color: var(--v-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .footer-grid > .footer-widget:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   BLOG & NEWS ARCHIVE
   ========================================================================== */
.blog-hero {
    background: #092340;
    padding: 80px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.blog-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.blog-hero-desc {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(9, 35, 64, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(9, 35, 64, 0.08);
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--v-secondary) !important;
    color: #ffffff !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(168, 25, 30, 0.3);
    z-index: 2;
}

.blog-card-category a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 500;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title,
.blog-card-title a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    color: var(--v-primary) !important;
    text-decoration: none !important;
}

.blog-card-title a:hover {
    color: var(--v-secondary) !important;
}

.blog-card-excerpt {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    flex-grow: 1;
}

.blog-card-footer {
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--v-secondary) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
    color: var(--v-primary);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--v-primary);
    font-weight: 600;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers.current {
    background: var(--v-primary);
    color: #fff;
    border-color: var(--v-primary);
}

.blog-pagination .page-numbers:hover:not(.current) {
    background: var(--v-secondary);
    color: #fff;
    border-color: var(--v-secondary);
}


/* ==========================================================================
   SINGLE POST PAGE
   ========================================================================== */
.single-hero {
    position: relative;
    padding: 120px 0 80px;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.single-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(9, 35, 64, 0.7), rgba(9, 35, 64, 0.9));
}

.single-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.single-hero-category {
    margin-bottom: 20px;
}

.single-hero-category a {
    background: var(--v-secondary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.single-hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #fff;
}

.single-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: #cbd5e1;
    font-weight: 500;
}

.single-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-layout-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

/* Post Typography */
.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.post-content p {
    margin-bottom: 25px;
}

.post-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--v-primary);
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--v-primary);
    margin: 30px 0 15px;
}

.post-content blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--v-primary);
    background: #f8fafc;
    border-left: 5px solid var(--v-secondary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

.post-content ul, .post-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 700;
    color: var(--v-primary);
}

.tag-link {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: var(--v-primary);
    color: #fff;
}

.post-share {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 700;
    color: var(--v-primary);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.share-btn:hover { opacity: 0.9; color: #fff;}
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.widget-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--v-primary);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 40px;
    height: 2px;
    background: var(--v-secondary);
}

/* Search */
.search-form {
    position: relative;
    display: flex;
}

.search-field {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: #f8fafc;
}

.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0; margin: 0;
}

.recent-posts-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
}

.rp-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.rp-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}

.rp-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rp-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--v-primary);
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.rp-title:hover {
    color: var(--v-secondary);
}

.rp-date {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Promo Banner */
.widget-promo-banner {
    background: var(--v-primary);
    color: #fff;
    text-align: center;
    background-image: linear-gradient(135deg, var(--v-primary) 0%, #1e3a8a 100%);
}

.promo-inner h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.promo-inner p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.promo-btn {
    display: inline-block;
    background: var(--v-secondary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: #fff;
    color: var(--v-primary);
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts-section {
    background: #f8fafc;
    padding: 60px 0;
}

.related-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--v-primary);
    text-align: center;
    margin-bottom: 40px;
}

/* Responsive Blog */
@media (max-width: 991px) {
    .single-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-hero-title {
        font-size: 32px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   FLOATING CONTACT MODAL
   ========================================================================== */
.floating-contact-wrapper {
    position: relative;
    z-index: 999999;
}

.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--v-secondary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    z-index: 1000;
    transition: transform 0.3s ease;
    padding: 0 !important;
}

.floating-contact-btn svg {
    width: 25px;
    height: 25px;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
}

.fc-btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--v-secondary);
    border-radius: 50% !important;
    z-index: -1;
    animation: fc-pulse 2s infinite;
}

@keyframes fc-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* Overlay */
.floating-contact-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-contact-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.floating-contact-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.floating-contact-modal.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fc-modal-header {
    background: var(--v-primary); /* Dark navy/primary blue */
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fc-modal-header h3 {
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700;
    color: #fff !important;
}

.fc-close-btn {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: opacity 0.2s, background 0.2s;
}

.fc-close-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1) !important;
}

.fc-modal-body {
    padding: 10px 0;
    max-height: 400px;
    overflow-y: auto;
}

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

.fc-list li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #334155;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.fc-list li:last-child a {
    border-bottom: none;
}

.fc-list li a:hover {
    background: #f8fafc;
}

.fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.fc-icon svg {
    width: 20px; height: 20px;
}

/* Icon Colors */
.fc-whatsapp { background: #25D366; }
.fc-zalo { background: #0068FF; }
.fc-messenger { background: linear-gradient(45deg, #00C6FF, #0072FF); }
.fc-facebook { background: #1877F2; }
.fc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fc-tiktok { background: #000000; }
.fc-telegram { background: #0088cc; }
.fc-email { background: #EA4335; }
.fc-call { background: #34A853; }
.fc-sms { background: #F29900; }
.fc-livechat { background: #4F46E5; }

.fc-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.fc-arrow {
    font-size: 18px;
    color: #94a3b8;
    font-weight: 300;
}

@media (max-width: 480px) {
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
    }
    .floating-contact-modal {
        right: 20px;
        bottom: 90px;
    }
}
    
@media (max-width: 1199px) {
    /* Center Footer Content on Mobile and Tablet */
    .site-footer .footer-widget,
    .site-footer .footer-about,
    .site-footer .footer-contact,
    .site-footer .footer-bottom {
        text-align: center !important;
        align-items: center;
    }

    .site-footer .footer-widget h4 {
        text-align: center !important;
    }

    .site-footer .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer .footer-social {
        justify-content: center !important;
    }

    .site-footer .contact-list li,
    .site-footer .footer-nav li,
    .site-footer .footer-links li {
        justify-content: center !important;
        text-align: center;
    }
    
    .site-footer .footer-nav ul {
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-logo img {
        margin: 0 auto 20px auto !important;
    }
}



/* ==========================================================================
   GLOBAL BANNERS (Pages & Archives)
   ========================================================================== */
.vicimis-banner-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 350px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    border: none;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.vicimis-banner-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(9, 35, 64, 0.7), rgba(9, 35, 64, 0.7));
    z-index: 1;
}

.vicimis-banner-header.no-bg {
    background: var(--v-primary);
}
.vicimis-banner-header.no-bg::before {
    display: none;
}

.vicimis-banner-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.vicimis-banner-desc {
    color: #e2e8f0 !important;
    font-size: 16px !important;
    max-width: 800px;
    margin: 15px auto 0 !important;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .vicimis-banner-header {
        height: 250px !important;
        min-height: 250px !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .vicimis-banner-title {
        font-size: 28px !important;
    }
    .vicimis-banner-desc {
        font-size: 14px !important;
    }
}

