/* ==========================================================================
   Alibaba-style theme - base layer
   Design language: minimal black & white, Alibaba orange accent,
   oversized typography, generous whitespace, sharp grid cards.
   ========================================================================== */

:root {
    --paper: #ffffff;
    --ink: #0f0f0f;
    --ink-2: #1c1c1c;
    --body: #4a4a4a;
    --muted: #8a8a8a;
    --line: #e7e4df;
    --soft: #f7f6f3;
    --orange: #ff6a00;
    --orange-2: #ff8124;
    --dark: #101010;
    --nav-h: 76px;
    --font: "Alibaba PuHuiTi 3.0", "Alibaba Sans", "HarmonyOS Sans SC", "PingFang SC",
        "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.8;
    color: var(--body);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

a:hover,
a:focus {
    color: var(--orange);
    text-decoration: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5em;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

ul, ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}

::selection {
    background: var(--ink);
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1260px;
    padding-right: 24px;
    padding-left: 24px;
    margin-right: auto;
    margin-left: auto;
}

.body-inner {
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Typographic helpers
   -------------------------------------------------------------------------- */
.column-title {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
}

.section-title h4 {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: 0.01em;
    margin: 0;
}

.section-sub-title {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.gap-40 { height: 40px; }
.gap-60 { height: 60px; }

.text-danger,
.text-warning {
    color: var(--orange) !important;
}

/* --------------------------------------------------------------------------
   Buttons & arrow links
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 30px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    box-shadow: none !important;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    box-shadow: none !important;
}

.btn-primary {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn-apply {
    min-width: 220px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink);
    text-transform: uppercase;
}

.read-more span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 11px;
    transition: all 0.25s ease;
}

.read-more:hover {
    color: var(--orange);
}

.read-more:hover span {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Top navigation
   -------------------------------------------------------------------------- */
.header-two {
    margin-bottom: var(--nav-h);
}

.site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-navigation.navbar-fixed {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--line);
}

.site-navigation .container,
.site-navigation .navbar {
    height: 100%;
}

.site-navigation .navbar {
    display: flex;
    align-items: center;
    padding: 0;
    flex-wrap: nowrap;
}

.logo {
    flex: 0 0 auto;
    margin-right: 40px;
}

.logo a {
    display: block;
}

.logo img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

#navbar-collapse {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.site-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
}

.site-menu .nav-item {
    position: relative;
}

.site-menu > .nav-item > .nav-link {
    position: relative;
    display: block;
    padding: 10px 18px !important;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    background: none;
}

.site-menu > .nav-item > .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.site-menu > .nav-item:hover > .nav-link::after,
.site-menu > .nav-item.active > .nav-link::after {
    transform: scaleX(1);
}

.site-menu > .nav-item.active > .nav-link {
    font-weight: 700;
}

/* dropdown (desktop: hover) */
.site-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1010;
    display: block;
    float: none;
    min-width: 210px;
    margin: 0;
    padding: 12px 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.site-menu .nav-item:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.site-menu .dropdown-menu li {
    position: relative;
}

.site-menu .dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: #3a3a3a;
    font-size: 14px;
    line-height: 1.6;
    background: none;
}

.site-menu .dropdown-menu a:hover {
    color: var(--orange);
    background: var(--soft);
}

.site-menu .dropdown-menu li.active > a {
    color: var(--orange);
    font-weight: 600;
}

.site-menu .dropdown-submenu > .dropdown-menu {
    top: -13px;
    left: 100%;
}

/* right side actions */
.site-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.site-actions .nav-item {
    position: relative;
}

.site-actions .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px !important;
    color: var(--ink);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    background: none;
}

.site-actions .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1010;
    display: block;
    min-width: 160px;
    margin: 0;
    padding: 10px 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.site-actions .nav-item:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.site-actions .dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    font-size: 13px;
}

.site-actions .dropdown-menu a:hover {
    background: var(--soft);
    color: var(--orange);
}

.site-actions .dropdown-menu li.active a {
    color: var(--orange);
}

.navbar-toggler {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.navbar-toggler-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--ink);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--ink);
}

.navbar-toggler-icon::before { top: -6px; }
.navbar-toggler-icon::after { top: 6px; }

/* search trigger */
.nav-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ink);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.nav-search:hover {
    color: var(--orange);
}

.search-block {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 999;
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.search-block form {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-block .form-control {
    height: auto;
    padding: 12px 52px 16px 0;
    border: 0;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 24px;
    font-weight: 500;
}

.search-block .form-control:focus {
    box-shadow: none;
    border-bottom-color: var(--orange);
}

.search-close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.search-close:hover {
    color: var(--ink);
}

.navbar-mobile {
    display: none;
}

/* --------------------------------------------------------------------------
   Inner page banner
   -------------------------------------------------------------------------- */
.banner-area {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 380px;
    padding: 120px 0 56px;
    background-color: #141414;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.banner-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.banner-text {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banner-title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.banner-area nav[aria-label="breadcrumb"] {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    letter-spacing: 0.06em;
}

.banner-area nav a {
    color: rgba(255, 255, 255, 0.85);
}

.banner-area nav a:hover {
    color: var(--orange);
}

.banner-area nav a.active_a {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Main content layout
   -------------------------------------------------------------------------- */
.main-container {
    padding: 88px 0 104px;
}

.content-inner-page {
    min-width: 0;
}

/* --------------------------------------------------------------------------
   Sidebar widgets
   -------------------------------------------------------------------------- */
.sidebar .widget {
    margin-bottom: 48px;
}

.widget-title {
    padding-bottom: 14px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--ink);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.widget-title a {
    color: var(--ink);
}

.widget-title a:hover {
    color: var(--orange);
}

.service-menu {
    display: block;
    padding: 0;
    margin: 0;
}

.service-menu li a {
    position: relative;
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: #3a3a3a;
    font-size: 15px;
    transition: all 0.25s ease;
}

.service-menu li a:hover,
.service-menu li.active a {
    padding-left: 16px;
    color: var(--orange);
}

.service-menu li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 0;
    background: var(--orange);
    transform: translateY(-50%);
    transition: height 0.25s ease;
}

.service-menu li a:hover::before,
.service-menu li.active a::before {
    height: 18px;
}

.recent-posts li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.recent-posts li:first-child {
    padding-top: 4px;
}

.recent-posts .posts-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 60px;
    overflow: hidden;
    background: var(--soft);
}

.recent-posts .posts-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.recent-posts li:hover .posts-thumb img {
    transform: scale(1.08);
}

.recent-posts .post-info {
    min-width: 0;
}

.recent-posts .entry-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.recent-posts .entry-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #333;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-posts .entry-title a:hover {
    color: var(--orange);
}

.widget-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 6px;
}

.widget-tags ul li a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    background: #fff;
}

.widget-tags ul li a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.widget-tags .widget-title span.float-right {
    float: right !important;
    font-size: 12px !important;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.widget-tags .widget-title span.float-right a {
    color: var(--muted);
}

.widget-tags .widget-title span.float-right a:hover {
    color: var(--orange);
}

/* --------------------------------------------------------------------------
   Blog list items
   -------------------------------------------------------------------------- */
.blog-item-list {
    border-top: 2px solid var(--ink);
}

.blog-item {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}

.bi-pic {
    flex: 0 0 320px;
    height: 210px;
    overflow: hidden;
    background: var(--soft);
}

.bi-pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.blog-item:hover .bi-pic img {
    transform: scale(1.05);
}

.bi-text {
    flex: 1 1 auto;
    min-width: 0;
}

.bi-text h4 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.bi-text h4 a {
    color: var(--ink);
}

.bi-text h4 a:hover {
    color: var(--orange);
}

.bi-text ul {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 12px;
}

.bi-text ul li {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.bi-text ul li i {
    margin-right: 6px;
    color: #b5b0a8;
}

.bi-text .desc {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    color: var(--body);
    font-size: 15px;
    line-height: 1.8;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-item.large-blog .bi-pic {
    flex-basis: 48%;
    height: 300px;
}

.blog-item.large-blog .bi-text h4 {
    font-size: 24px;
}

/* --------------------------------------------------------------------------
   Article / single page
   -------------------------------------------------------------------------- */
.post-single .entry-title {
    margin: 0 0 18px;
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 800;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 22px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.post-meta i {
    margin-right: 6px;
    color: #b5b0a8;
}

.post-meta a {
    color: var(--muted);
}

.post-meta a:hover {
    color: var(--orange);
}

.entry-content,
.main-content {
    color: #333;
    font-size: 16px;
    line-height: 1.95;
    word-wrap: break-word;
}

.entry-content p,
.main-content p {
    margin-bottom: 1.3em;
}

.entry-content img,
.main-content img {
    max-width: 100%;
    height: auto;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4 {
    margin: 1.8em 0 0.7em;
    font-weight: 800;
    line-height: 1.4;
}

.entry-content h2,
.main-content h2 { font-size: 26px; }
.entry-content h3,
.main-content h3 { font-size: 21px; }

.entry-content a,
.main-content a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.entry-content ul,
.entry-content ol,
.main-content ul,
.main-content ol {
    padding-left: 1.4em;
    margin-bottom: 1.3em;
}

.entry-content ul li,
.main-content ul li {
    list-style: disc;
    margin-bottom: 0.4em;
}

.entry-content ol li,
.main-content ol li {
    list-style: decimal;
    margin-bottom: 0.4em;
}

.entry-content blockquote,
.main-content blockquote {
    padding: 18px 28px;
    margin: 1.8em 0;
    border-left: 3px solid var(--orange);
    background: var(--soft);
    color: #555;
}

.entry-content table,
.main-content table {
    width: 100%;
    margin-bottom: 1.5em;
    border-collapse: collapse;
}

.entry-content table th,
.entry-content table td,
.main-content table th,
.main-content table td {
    padding: 12px 16px;
    border: 1px solid var(--line);
    font-size: 15px;
}

.entry-content table th,
.main-content table th {
    background: var(--soft);
    font-weight: 700;
    color: var(--ink);
}

/* tags & share */
.tags-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 28px;
    margin-top: 40px;
    border-top: 1px solid var(--line);
}

.post-tags a {
    display: inline-block;
    padding: 6px 16px;
    margin: 0 8px 8px 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #666;
    font-size: 12px;
}

.post-tags a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.share-items {
    display: flex;
    align-items: center;
}

.post-social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.social-icons-head {
    color: var(--muted);
    font-size: 13px;
}

.post-social-icons li a {
    color: #999;
    font-size: 16px;
}

.post-social-icons li a:hover {
    color: var(--orange);
}

/* prev / next */
.bc-related-post {
    display: flex;
    gap: 16px;
    padding-top: 28px;
    margin-top: 36px;
    border-top: 1px solid var(--line);
}

.bc-related-post a {
    flex: 1 1 50%;
    min-width: 0;
    padding: 18px 24px;
    border: 1px solid var(--line);
    color: #555;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bc-related-post a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.bc-related-post .next-post {
    text-align: right;
}

.bc-related-post i {
    margin: 0 8px;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination-block {
    padding-top: 48px;
    text-align: center;
}

ul.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

ul.pagination li a,
ul.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    line-height: 1;
    transition: all 0.25s ease;
}

ul.pagination li a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

ul.pagination li.active span {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

ul.pagination li.disabled span {
    border-color: var(--line);
    background: #fafaf8;
    color: #c2c2c2;
    cursor: not-allowed;
}

.pagination_info {
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.form-control {
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color 0.25s ease;
}

textarea.form-control {
    height: auto;
    padding: 14px 16px;
    line-height: 1.8;
}

.form-control:focus {
    border-color: var(--ink);
    background: #fff;
    color: var(--ink);
    box-shadow: none;
}

.form-control::placeholder {
    color: #b8b3ab;
}

.form-captcha {
    max-width: 220px;
}

.captcha img {
    max-height: 52px;
}

/* --------------------------------------------------------------------------
   Property / product cards
   -------------------------------------------------------------------------- */
.property-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.property-item:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 28px 64px rgba(15, 15, 15, 0.1);
}

.pi-pic {
    position: relative;
    padding-top: 70%;
    background-color: #efece7;
    background-size: cover;
    background-position: center;
}

.pi-pic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background-color 0.35s ease;
}

.property-item:hover .pi-pic::after {
    background: rgba(0, 0, 0, 0.08);
}

.pi-pic .label {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 5px 12px;
    background: rgba(16, 16, 16, 0.72);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.pi-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 24px 28px;
}

.pi-text .heart-icon {
    align-self: flex-end;
    margin: -4px 0 8px;
    color: var(--muted);
    font-size: 12px;
}

.pi-text .heart-icon:hover {
    color: var(--orange);
}

.pt-price {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pi-text h5 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
}

.pi-text h5 a {
    color: var(--ink);
}

.pi-text h5 a:hover {
    color: var(--orange);
}

.pi-text .desc {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #77716a;
    font-size: 13px;
    line-height: 1.75;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* product detail */
.product-details {
    padding: 88px 0 104px;
}

.product__details__text h3 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    line-height: 1.4;
}

.product__details__rating {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.product__details__rating a {
    color: var(--muted);
}

.product__details__rating a:hover {
    color: var(--orange);
}

.product__details__rating i {
    margin-right: 6px;
}

.product__details__price {
    margin: 6px 0 22px;
    color: var(--orange);
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.product__details__text > p {
    margin-bottom: 30px;
    color: var(--body);
    font-size: 15px;
    line-height: 1.9;
}

.product__details__text > ul {
    padding-top: 4px;
    margin-top: 34px;
    border-top: 1px solid var(--ink);
}

.product__details__text > ul > li {
    display: flex;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--body);
    font-size: 14px;
    line-height: 1.7;
}

.product__details__text > ul > li b {
    flex: 0 0 96px;
    color: var(--muted);
    font-weight: 500;
}

.product__details__text .share {
    display: inline-flex;
    gap: 16px;
}

.product__details__text .share a {
    color: #999;
    font-size: 16px;
}

.product__details__text .share a:hover {
    color: var(--orange);
}

.product__details__tab {
    margin-top: 72px;
}

.product__details__tab .nav-tabs {
    border-bottom: 2px solid var(--ink);
    margin-bottom: 30px;
}

.product__details__tab .nav-link {
    padding: 16px 2px;
    border: 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: none;
}

.product__details__tab .nav-link.active {
    color: var(--ink);
    background: none;
}

.product__details__tab__desc {
    padding-bottom: 8px;
}

/* swiper essentials inside product gallery */
.product__details__pic .swiper-button-next,
.product__details__pic .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(16, 16, 16, 0.55);
    color: #fff;
}

.product__details__pic .swiper-button-next::after,
.product__details__pic .swiper-button-prev::after {
    display: none;
}

.product__details__pic .swiper-button-next i,
.product__details__pic .swiper-button-prev i {
    font-size: 18px;
}

/* --------------------------------------------------------------------------
   Job list & detail
   -------------------------------------------------------------------------- */
.job-item {
    border: 1px solid var(--line);
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.job-item:hover {
    border-color: var(--ink);
    box-shadow: 0 22px 48px rgba(15, 15, 15, 0.07);
}

.job-item h5 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.job-item h5 a {
    color: var(--ink);
}

.job-item h5 a:hover {
    color: var(--orange);
}

.job-item .btn {
    height: 42px;
    padding: 0 24px;
    font-size: 13px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
}

.job-meta i {
    margin-right: 6px;
    color: #b5b0a8;
}

.post-single .job-facts {
    padding-left: 0;
    margin: 0 0 30px;
    border-top: 1px solid var(--line);
}

.post-single .job-facts li {
    display: flex;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.post-single .job-facts li span:first-child {
    flex: 0 0 110px;
    color: var(--muted);
}

.post-single .job-facts li span:last-child {
    color: var(--ink);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Contact info cards
   -------------------------------------------------------------------------- */
.ts-service-box-bg {
    height: 100%;
    padding: 40px 32px;
    border: 1px solid var(--line);
    background: #fff;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ts-service-box-bg:hover {
    transform: translateY(-4px);
    border-color: var(--ink);
    box-shadow: 0 24px 56px rgba(15, 15, 15, 0.08);
}

.ts-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    font-size: 22px;
}

.ts-service-box-content h4 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
}

.ts-service-box-content p {
    margin: 0;
    color: var(--body);
    font-size: 14px;
    line-height: 1.8;
}

.map-con {
    margin: 0 0 16px;
}

.map-con iframe,
.map-con #map,
.map-con img {
    display: block;
    width: 100%;
    height: 460px;
    border: 0;
    filter: grayscale(1);
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */
#back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 900;
    display: none;
}

#back-to-top .btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
    font-size: 16px;
}

#back-to-top .btn:hover {
    border-color: var(--ink);
    background: var(--ink);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--dark);
    color: #a8a29a;
}

.footer-main {
    padding: 96px 0 64px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    justify-content: space-between;
}

.footer-brand {
    flex: 0 1 360px;
    max-width: 380px;
}

.footer-logo {
    display: block;
    max-height: 42px;
    width: auto;
    margin-bottom: 26px;
}

.footer-brand p {
    color: #a8a29a;
    font-size: 14px;
    line-height: 1.9;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.footer-social {
    margin-top: 24px;
}

.footer-social ul {
    display: flex;
    gap: 12px;
}

.footer-social ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
}

.footer-social ul li a:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 72px;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.footer-widget {
    min-width: 150px;
}

.footer .widget-title {
    padding-bottom: 0;
    margin-bottom: 20px;
    border: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer .list-arrow li {
    margin-bottom: 12px;
}

.footer .list-arrow li a {
    color: #a8a29a;
    font-size: 14px;
}

.footer .list-arrow li a:hover {
    color: #fff;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #a8a29a;
    font-size: 14px;
    line-height: 1.7;
}

.footer-contact li i {
    width: 16px;
    margin-top: 6px;
    color: var(--orange);
    font-size: 13px;
}

.footer-contact li a {
    color: #a8a29a;
    word-break: break-all;
}

.footer-contact li a:hover {
    color: #fff;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright .container {
    padding-top: 26px;
    padding-bottom: 26px;
}

.copyright-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    color: #7d7870;
    font-size: 13px;
    line-height: 1.8;
}

.copyright-row a {
    color: #7d7870;
}

.copyright-row a:hover {
    color: #fff;
}

.footer-menu {
    margin-top: 10px;
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.footer-menu ul li {
    display: flex;
    align-items: center;
    color: #7d7870;
    font-size: 12px;
}

.footer-menu ul li a {
    color: #7d7870;
}

.footer-menu ul li a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Utilities & legacy alignment
   -------------------------------------------------------------------------- */
.list-unstyled {
    padding-left: 0;
    margin: 0;
}

.list-unstyled li {
    list-style: none;
}

.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100% !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }
.p-0 { padding: 0 !important; }
.p-4 { padding: 1.5rem !important; }
.pt-0 { padding-top: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.h-100 { height: 100% !important; }
.float-right { float: right !important; }
.float-left { float: left !important; }
.clearfix::after { content: ""; display: table; clear: both; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.img-fluid { max-width: 100%; height: auto; }

/* legacy badges used in news ranking */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 0;
    background: #ece9e3;
    color: #8a857d;
    font-size: 11px;
    font-weight: 700;
}

.badge-warning {
    background: var(--orange);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .site-menu > .nav-item > .nav-link {
        padding: 10px 13px !important;
        font-size: 14px;
    }

    .site-menu > .nav-item > .nav-link::after {
        left: 13px;
        right: 13px;
    }

    .logo {
        margin-right: 24px;
    }

    .footer-cols {
        gap: 48px;
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    :root {
        --nav-h: 64px;
    }

    .header-two {
        margin-bottom: var(--nav-h);
    }

    .site-navigation,
    .site-navigation.navbar-fixed {
        background: rgba(255, 255, 255, 0.98);
        border-bottom-color: var(--line);
    }

    #navbar-collapse {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        padding: 16px 24px 48px;
        background: #fff;
        border-top: 1px solid var(--line);
    }

    #navbar-collapse.show {
        display: flex;
    }

    .navbar-toggler {
        display: block;
    }

    .site-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .site-menu > .nav-item {
        border-bottom: 1px solid var(--line);
    }

    .site-menu > .nav-item > .nav-link {
        padding: 16px 4px !important;
        font-size: 16px;
        font-weight: 600;
    }

    .site-menu > .nav-item > .nav-link::after {
        display: none;
    }

    .site-menu .dropdown-menu {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        min-width: 0;
        padding: 0 0 12px 16px;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-menu .dropdown-menu.show {
        display: block;
    }

    .site-menu .dropdown-menu a {
        padding: 10px 4px;
        font-size: 14px;
        color: #555;
    }

    .site-menu .dropdown-submenu > .dropdown-menu {
        top: auto;
        left: 0;
    }

    .site-actions {
        justify-content: flex-start;
        width: 100%;
        padding-top: 18px;
    }

    .site-actions .nav-link {
        padding: 8px 4px !important;
        font-size: 14px;
    }

    .site-actions .dropdown-menu {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding: 0 0 8px 12px;
    }

    .site-actions .dropdown-menu.show {
        display: block;
    }

    .navbar-pc {
        display: none;
    }

    .navbar-mobile {
        display: block;
        width: 100%;
        padding-top: 16px;
    }

    .navbar-mobile .search-form {
        position: relative;
    }

    .navbar-mobile .form-control {
        width: 100%;
    }

    .banner-area {
        min-height: 280px;
        padding: 96px 0 40px;
    }

    .main-container {
        padding: 56px 0 72px;
    }

    .product-details {
        padding: 56px 0 72px;
    }

    .sidebar {
        margin-bottom: 8px;
    }

    .blog-item {
        gap: 22px;
    }

    .bi-pic {
        flex-basis: 240px;
        height: 170px;
    }

    .blog-item.large-blog .bi-pic {
        flex-basis: 44%;
        height: 230px;
    }

    .footer-main {
        padding: 64px 0 40px;
    }

    .footer-top {
        gap: 48px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-cols {
        width: 100%;
        gap: 40px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .logo img {
        height: 30px;
        max-width: 180px;
    }

    .blog-item,
    .blog-item.large-blog {
        flex-direction: column;
        gap: 16px;
    }

    .bi-pic,
    .blog-item.large-blog .bi-pic {
        flex: 0 0 auto;
        width: 100%;
        height: 210px;
    }

    .bi-text h4,
    .blog-item.large-blog .bi-text h4 {
        font-size: 18px;
    }

    .bc-related-post {
        flex-direction: column;
    }

    .bc-related-post a {
        flex: 1 1 auto;
        width: 100%;
    }

    .bc-related-post .next-post {
        text-align: left;
    }

    .post-meta {
        gap: 14px;
    }

    .product__details__text > ul > li {
        flex-direction: column;
        gap: 2px;
    }

    .product__details__text > ul > li b {
        flex: none;
    }

    .ts-service-box-bg {
        padding: 32px 24px;
    }

    .map-con iframe,
    .map-con #map,
    .map-con img {
        height: 320px;
    }

    .copyright-row {
        flex-direction: column;
    }

    #back-to-top {
        right: 18px;
        bottom: 18px;
    }

    #back-to-top .btn {
        width: 44px;
        height: 44px;
    }
}
