/* ==========================================================================
   Bất Động Sản Triệu Đô — Storefront Stylesheet (Flatsome / Homeland Theme)
   ========================================================================== */

:root {
    --primary-color: #88c354;
    --primary-hover: #74ad42;
    --secondary-color: #3a4042;
    --heading-color: #384042;
    --text-color: #777777;
    --dark-footer-bg: #171c26;
    --dark-footer-box: #2b303b;
    --border-color: #ececec;
    --container-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: 'Arimo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arimo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    color: #334862;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

/* ==========================================================================
   Layout & Grid System
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row-small {
    margin-left: -10px;
    margin-right: -10px;
}

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

.col {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.small-6 { width: 50%; }
.small-12 { width: 100%; }

@media (min-width: 550px) {
    .medium-2 { width: 16.666667%; }
    .medium-3 { width: 25%; }
    .medium-4 { width: 33.333333%; }
    .medium-6 { width: 50%; }
    .medium-8 { width: 66.666667%; }
    .medium-9 { width: 75%; }
    .medium-12 { width: 100%; }
}

@media (min-width: 850px) {
    .large-2 { width: 16.666667%; }
    .large-3 { width: 25%; }
    .large-4 { width: 33.333333%; }
    .large-6 { width: 50%; }
    .large-8 { width: 66.666667%; }
    .large-9 { width: 75%; }
    .large-12 { width: 100%; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }

/* ==========================================================================
   Buttons & Dividers
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 9px 22px;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.btn-outline-white {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--heading-color);
}

.btn-white-pill {
    background-color: #ffffff;
    color: #666666;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    padding: 10px 28px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn-white-pill:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.is-divider {
    height: 3px;
    display: block;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    width: 100%;
    max-width: 30px;
}

.is-divider.divider-center {
    margin-left: auto;
    margin-right: auto;
}

.is-divider.divider-light {
    background-color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Section Title
   ========================================================================== */

.section-title-container {
    margin-bottom: 24px;
}

.section-title-normal {
    border-bottom: 2px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.section-title-main {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    margin-bottom: -2px;
    display: inline-block;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */

.header-wrapper {
    background-color: #ffffff;
    position: relative;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.header-wrapper.is-sticky .header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 74px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    animation: headerSlideDown 0.25s ease;
}

@keyframes headerSlideDown {
    from { opacity: 0; margin-top: -20px; }
    to { opacity: 1; margin-top: 0; }
}

.top-bar {
    min-height: 36px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 4px;
    padding-bottom: 4px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icon-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(102, 102, 102, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 12px;
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555555;
    font-weight: 700;
    font-size: 13px;
}

.top-bar-phone svg {
    color: var(--primary-color);
}

.header-main {
    height: 115px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    transition: height 0.25s ease, box-shadow 0.25s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.header-logo {
    flex-shrink: 0;
    max-width: 280px;
}

.header-logo img {
    max-height: 82px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.25s ease;
}

.header-wrapper.is-sticky .header-logo img {
    max-height: 54px;
}

/* Desktop Navigation (Flatsome nav-box style) */
.header-nav-main {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.header-nav-main > li {
    position: relative;
}

.header-nav-main > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(102, 102, 102, 0.9);
    line-height: 1.2;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-nav-main > li:hover > a,
.header-nav-main > li.active > a {
    background-color: var(--primary-color);
    color: #ffffff;
}

.header-nav-main > li > a .dropdown-caret {
    width: 12px;
    height: 12px;
    opacity: 0.75;
}

/* Dropdown Submenu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: #ffffff;
    border: 2px solid #dddddd;
    box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.14);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

.header-nav-main > li:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    border-bottom: 1px solid #f2f2f2;
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

.nav-dropdown li a:hover,
.nav-dropdown li.active a {
    background-color: rgba(136, 195, 84, 0.1);
    color: var(--primary-color);
    padding-left: 24px;
}

/* Mobile Menu Trigger & Drawer */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 8px 10px;
    color: var(--heading-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1001;
    box-shadow: 2px 0 18px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transition: left 0.25s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.is-open {
    left: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eeeeee;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #666666;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #f3f3f3;
}

.mobile-nav-list li a {
    display: block;
    padding: 12px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--heading-color);
}

.mobile-nav-list li.active > a,
.mobile-nav-list li a:hover {
    color: var(--primary-color);
}

.mobile-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 16px;
    background-color: #fafafa;
}

.mobile-sub-menu li {
    border-bottom: none;
}

.mobile-sub-menu li a {
    font-weight: 400;
    text-transform: none;
    font-size: 13.5px;
    padding: 8px 18px;
    color: #666666;
}

@media (max-width: 849px) {
    .header-nav-desktop {
        display: none;
    }
    .mobile-nav-toggle {
        display: inline-flex;
    }
    .header-main {
        height: 82px;
    }
    .header-logo img {
        max-height: 58px;
    }
}

/* ==========================================================================
   Hero Slider (Home)
   ========================================================================== */

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #1c222a;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 240px;
    max-height: 680px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    margin-top: -22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.hero-slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-slider-prev { left: 20px; }
.hero-slider-next { right: 20px; }

.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.hero-slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.hero-slider-dot.is-active {
    background-color: #ffffff;
    opacity: 1;
}

/* ==========================================================================
   Home: 3 Featured Icon Boxes
   ========================================================================== */

.feature-boxes-section {
    padding: 48px 0 32px;
    background-color: #ffffff;
}

.feature-box {
    text-align: center;
    padding: 15px 10px 25px;
}

.feature-box-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box-icon svg {
    width: 58px;
    height: 58px;
    fill: currentColor;
}

.feature-box-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.feature-box-desc {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0 0 18px;
}

/* ==========================================================================
   Home: Grey Message Box (TRUST – EFFICIENCY – CREATIVITY)
   ========================================================================== */

.cta-message-section {
    padding: 10px 0 36px;
}

.cta-message-box {
    background-color: rgb(248, 248, 248);
    padding: 24px 30px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-message-text {
    flex: 1 1 580px;
    font-size: 16px;
    color: #555555;
    line-height: 1.65;
    margin: 0;
}

.cta-message-action {
    flex-shrink: 0;
}

/* ==========================================================================
   Home: Dịch Vụ Của Chúng Tôi (Overlay Shade Cards)
   ========================================================================== */

.services-section {
    padding: 20px 0 36px;
}

.service-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #222222;
    border-radius: 2px;
}

.service-card-link {
    display: block;
    position: relative;
    color: #ffffff;
}

.service-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, opacity 0.35s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.07);
}

.service-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.05) 100%);
    transition: background 0.3s ease;
}

.service-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 18px 18px;
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
}

.service-card-excerpt {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    margin: 8px 0 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Home: Dark Welcome Banner ("Bắt đầu cuộc sống tươi đẹp")
   ========================================================================== */

.welcome-banner-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 15px;
    color: #ffffff;
}

.welcome-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.42);
}

.welcome-banner-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.welcome-banner-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 14px;
    letter-spacing: 0.03em;
}

.welcome-banner-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    margin: 0 0 24px;
}

/* ==========================================================================
   Home: 3-Column Section (Văn phòng - Chi nhánh | Dự án | Bài viết mới nhất)
   ========================================================================== */

.triple-column-section {
    padding: 48px 0 32px;
}

.office-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.office-item-img {
    width: 92px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
}

.office-item-img img {
    width: 100%;
    height: auto;
    display: block;
}

.office-item-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 5px;
}

.office-item-body p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* Compact vertical/horizontal post list used in Dự án & Bài viết mới nhất */
.compact-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compact-post-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.compact-post-thumb {
    width: 28%;
    flex-shrink: 0;
    aspect-ratio: 67 / 55;
    overflow: hidden;
    border-radius: 2px;
    background-color: #f2f2f2;
}

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

.compact-post-item:hover .compact-post-thumb img {
    transform: scale(1.06);
}

.compact-post-info {
    flex: 1;
    min-width: 0;
}

.compact-post-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 4px;
    line-height: 1.35;
}

.compact-post-title a {
    color: var(--heading-color);
}

.compact-post-title a:hover {
    color: var(--primary-color);
}

.compact-post-meta {
    font-size: 12px;
    color: #999999;
}

/* ==========================================================================
   Home: Partner Logos Section
   ========================================================================== */

.partners-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 48px 0 52px;
}

.partners-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    text-align: center;
    margin: 0 0 32px;
}

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    height: 110px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease;
}

.partner-logo-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.partner-logo-card img {
    max-height: 85px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   Inner Page Title Header (Green Overlay)
   ========================================================================== */

.page-title-banner {
    position: relative;
    background-image: url('/client-assets/images/bg-title-about.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 15px;
    color: #ffffff;
}

.page-title-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(136, 195, 84, 0.72);
}

.page-title-inner {
    position: relative;
    z-index: 2;
}

.page-title-heading {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   Blog Archive, Single Post & Sidebar
   ========================================================================== */

.page-content-section {
    padding: 40px 0 55px;
}

.archive-post-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.archive-post-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 28px;
    gap: 24px;
    align-items: center;
}

.archive-post-thumb {
    width: 38%;
    flex-shrink: 0;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
    background-color: #f5f5f5;
}

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

.archive-post-card:hover .archive-post-thumb img {
    transform: scale(1.05);
}

.post-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1.1;
    z-index: 2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.archive-post-card:hover .post-date-badge {
    background-color: var(--primary-color);
    color: #ffffff;
}

.post-date-day {
    font-size: 16px;
}

.post-date-month {
    font-size: 11px;
    text-transform: uppercase;
}

.archive-post-body {
    flex: 1;
    min-width: 240px;
}

.archive-post-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.archive-post-title a {
    color: var(--heading-color);
}

.archive-post-title a:hover {
    color: var(--primary-color);
}

.archive-post-excerpt {
    font-size: 14.5px;
    color: var(--text-color);
    margin: 10px 0 16px;
    line-height: 1.65;
}

@media (max-width: 640px) {
    .archive-post-thumb {
        width: 100%;
    }
}

/* Single Post Content */
.single-post-article {
    background-color: #ffffff;
}

.single-post-meta {
    font-size: 13px;
    color: #888888;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.single-post-featured {
    margin-bottom: 24px;
    border-radius: 3px;
    overflow: hidden;
}

.single-post-featured img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.entry-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: #444444;
}

.entry-content p {
    margin: 0 0 16px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 24px 0 12px;
    color: var(--heading-color);
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.entry-content img {
    margin: 16px auto;
    border-radius: 2px;
}

/* Sidebar */
.post-sidebar {
    padding-left: 24px;
    border-left: 1px solid #ececec;
}

@media (max-width: 849px) {
    .post-sidebar {
        padding-left: 15px;
        border-left: none;
        margin-top: 36px;
    }
}

.widget {
    margin-bottom: 32px;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--heading-color);
    letter-spacing: 0.04em;
    margin: 0 0 8px;
    display: block;
}

.search-form {
    display: flex;
    align-items: stretch;
}

.search-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-right: none;
    font-size: 14px;
    color: #333333;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-submit {
    width: 42px;
    height: 40px;
    background-color: var(--primary-color);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-submit:hover {
    background-color: var(--primary-hover);
}

.recent-blog-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-blog-post-li {
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.recent-blog-post-li:last-child {
    border-bottom: none;
}

.recent-blog-post-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.recent-blog-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-blog-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #334862;
    display: block;
}

.recent-blog-post-title:hover {
    color: var(--primary-color);
}

.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-cloud-link {
    display: inline-block;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 12.5px;
    color: #555555;
    background-color: #ffffff;
}

.tag-cloud-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-map-wrapper {
    width: 100%;
    height: 400px;
    background-color: #eaeaea;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-info-section {
    padding: 48px 0 56px;
}

.contact-info-box {
    text-align: center;
    padding: 16px 12px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-card {
    max-width: 760px;
    margin: 28px auto 0;
    background-color: #fafafa;
    border: 1px solid #eeeeee;
    padding: 32px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(136, 195, 84, 0.18);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.alert-success {
    background-color: #edf7ed;
    border: 1px solid #88c354;
    color: #2e6b12;
    padding: 12px 16px;
    border-radius: 3px;
    margin-bottom: 18px;
    font-size: 14px;
}

.alert-error {
    background-color: #fdeded;
    border: 1px solid #e57373;
    color: #b71c1c;
    padding: 12px 16px;
    border-radius: 3px;
    margin-bottom: 18px;
    font-size: 14px;
}

/* ==========================================================================
   Footer (#footer)
   ========================================================================== */

.site-footer {
    color: #f1f1f1;
}

.footer-main {
    background-color: var(--dark-footer-bg);
    background-image: url('/client-assets/images/world-map-1536x808.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 52px 0 36px;
}

.footer-logo-box {
    background-color: #ffffff;
    padding: 10px 14px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
    max-width: 240px;
}

.footer-logo-box img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.65;
    margin: 0;
}

.footer-widget-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
    display: block;
}

.footer-contact-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #d5d8dc;
    line-height: 1.5;
}

.footer-contact-list li svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-list li a {
    color: #d5d8dc;
}

.footer-contact-list li a:hover {
    color: var(--primary-color);
}

.footer-menu-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.footer-menu-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
}

.footer-menu-list > li:last-child {
    border-bottom: none;
}

.footer-menu-list li a {
    color: #e0e0e0;
    font-size: 14px;
}

.footer-menu-list li a:hover {
    color: var(--primary-color);
}

.footer-sub-menu {
    list-style: none;
    margin: 4px 0 2px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-sub-menu li {
    padding: 3px 0;
}

.footer-sub-menu li a {
    font-size: 13px;
    color: #b8bec6;
}

.footer-contact-box {
    background-color: var(--dark-footer-box);
    padding: 20px;
    border-radius: 3px;
}

.footer-contact-box .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    padding: 8px 12px;
    font-size: 13.5px;
}

.footer-contact-box textarea.form-control {
    min-height: 75px;
}

.absolute-footer {
    background-color: var(--dark-footer-box);
    color: rgba(255, 255, 255, 0.6);
    padding: 14px 0;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.absolute-footer a {
    color: rgba(255, 255, 255, 0.85);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: #ffffff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* ==========================================================================
   SectionRegistry Token & Color Classes (Core Contract)
   ========================================================================== */

.client-section--bg-light { background-color: #ffffff; }
.client-section--bg-muted { background-color: #f8f8f8; }
.client-section--bg-primary { background-color: var(--primary-color); color: #ffffff; }
.client-section--bg-dark { background-color: #171c26; color: #ffffff; }

.client-section--align-left { text-align: left; }
.client-section--align-center { text-align: center; }
.client-section--align-right { text-align: right; }

.client-section--pad-none { padding-top: 0; padding-bottom: 0; }
.client-section--pad-sm { padding-top: 20px; padding-bottom: 20px; }
.client-section--pad-md { padding-top: 40px; padding-bottom: 40px; }
.client-section--pad-lg { padding-top: 64px; padding-bottom: 64px; }

.client-section--accent {
    --primary-color: var(--client-section-accent, #88c354);
}

