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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #1d2327;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: var(--body-font, system-ui);
    line-height: 1.6;
    color: #333;
    background: #f8f9fb;
    -webkit-font-smoothing: antialiased;
}

.main-content {
    flex: 1;
    min-height: 400px;
}

a {
    color: var(--primary, #c0392b);
    text-decoration: none;
    transition: all .3s ease;
}

a:hover {
    color: var(--accent, #e74c3c);
}

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

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Top Bar */
.top-bar {
    background: var(--secondary, #2c3e50);
    color: #ecf0f1;
    font-size: .85rem;
}

.top-bar a {
    color: #ecf0f1;
}

.top-bar-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 30px;
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-phone a,
.top-bar-email a {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    position: relative;
    z-index: 100;
}

.site-header.is-sticky {
    position: sticky;
    top: 0;
}

.site-header.header-scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1360px;
    margin: 0 auto;
    padding: 15px 30px;
    gap: 20px;
}

.site-branding {
    flex-shrink: 0;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.6rem;
    font-family: var(--heading-font, system-ui);
}

.site-title a {
    color: var(--secondary, #2c3e50);
}

.site-description {
    font-size: .85rem;
    color: #7f8c8d;
}

/* Navigation */
.main-navigation {
    flex: 1;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: center;
    flex-wrap: nowrap;
}

.primary-menu li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: 10px 14px;
    color: #333;
    font-weight: 500;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .3px;
    position: relative;
}

.primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary, #c0392b);
    transform: scaleX(0);
    transition: transform .3s ease;
}

.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after {
    transform: scaleX(1);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: var(--primary, #c0392b);
}

.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    list-style: none;
    z-index: 99;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    border-top: 3px solid var(--primary, #c0392b);
}

.primary-menu li:hover > .sub-menu {
    display: block;
    animation: fadeInDown .2s ease;
}

.sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: .9rem;
    transition: all .2s;
}

.sub-menu a:hover {
    background: #f8f9fa;
    color: var(--primary, #c0392b);
    padding-left: 25px;
}

.sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary, #2c3e50);
    border-radius: 2px;
    transition: all .3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header Actions */
.header-actions {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        align-items: stretch;
    }
    
    .header-actions {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }
    
    .header-phone-btn {
        width: auto;
        padding: 12px 24px;
    }
}

.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary, #c0392b);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(192,57,43,.25);
}

.header-phone-btn svg {
    fill: currentColor;
}

.header-phone-btn:hover {
    background: var(--accent, #e74c3c);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192,57,43,.35);
}

.header-wa-btn {
    background: #25d366 !important;
    box-shadow: 0 4px 15px rgba(37,211,102,.3) !important;
}

.header-wa-btn:hover {
    background: #1da851 !important;
    box-shadow: 0 6px 20px rgba(37,211,102,.4) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: auto;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary, #1a252f);
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,37,47,.92) 0%, rgba(44,62,80,.6) 40%, rgba(192,57,43,.25) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192,57,43,.15) 0%, transparent 70%);
    z-index: 1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); opacity: .5; }
    100% { transform: translate(-80px, 60px); opacity: 1; }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-content {
    max-width: 720px;
    padding: 30px 0 60px;
    text-align: center;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn .8s ease 0.3s forwards;
}

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 16px;
    font-family: var(--heading-font, system-ui);
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #f5af19 0%, #e74c3c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Home Filter */
.home-filter-form {
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
    padding: 22px 24px;
    margin-top: 0;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn .8s ease 0.1s forwards;
}

.home-filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.home-filter-row .home-filter-field {
    margin-bottom: 0;
}

.home-filter-field {
    flex: 1;
    min-width: 140px;
}

.home-filter-search {
    flex: 2;
    position: relative;
}

.home-filter-search input {
    width: 100%;
    padding: 14px 44px 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: .95rem;
    background: #fff;
    color: #333;
    transition: all .3s;
}

.home-filter-search input::placeholder { color: #9ca3af; }
.home-filter-search input:focus { border-color: var(--primary, #c0392b); box-shadow: 0 0 0 3px rgba(192,57,43,.1); outline: none; }

.home-filter-search .filter-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    padding: 10px;
    cursor: pointer;
    transition: color .3s;
}

.home-filter-search .filter-search-btn:hover { color: var(--primary, #c0392b); }

.home-filter-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: .9rem;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all .3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.home-filter-field select:focus { border-color: var(--primary, #c0392b); box-shadow: 0 0 0 3px rgba(192,57,43,.1); outline: none; }
.home-filter-field select option { background: #fff; color: #333; }

.home-filter-price {
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-filter-price input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: .9rem;
    background: #fff;
    color: #333;
    transition: all .3s;
}

.home-filter-price input::placeholder { color: #9ca3af; }
.home-filter-price input:focus { border-color: var(--primary, #c0392b); box-shadow: 0 0 0 3px rgba(192,57,43,.1); outline: none; }

.filter-price-sep {
    color: #9ca3af;
    font-weight: 600;
}

.home-filter-submit {
    flex: 0 0 auto;
    min-width: 120px;
}

.home-filter-submit .btn-hero-filter {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary, #c0392b), #e74c3c);
    color: #fff;
    transition: all .3s;
    white-space: nowrap;
}

.home-filter-submit .btn-hero-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192,57,43,.3);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary, #c0392b);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
    pointer-events: none;
}

.btn:hover {
    background: var(--accent, #e74c3c);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(192,57,43,.3);
}

.btn:active {
    transform: translateY(0);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    margin-bottom: 40px;
    font-family: var(--heading-font, system-ui);
    position: relative;
    padding-bottom: 18px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary, #c0392b), var(--accent, #e74c3c));
    border-radius: 2px;
}

/* Listing Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-item {
    text-align: center;
    padding: 40px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    transition: all .4s;
    border: 1px solid rgba(0,0,0,.04);
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: block;
}

.service-title {
    font-size: 1.2rem;
    color: var(--secondary, #2c3e50);
    margin-bottom: 10px;
    font-family: var(--heading-font, system-ui);
}

.service-text {
    color: #666;
    font-size: .9rem;
    line-height: 1.6;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
}

/* References */
.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.reference-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid #f0f0f0;
    transition: all .4s;
}

.reference-item:hover img {
    border-color: var(--primary, #c0392b);
    transform: scale(1.05);
}

.reference-item h4 {
    font-size: 1rem;
    color: var(--secondary, #2c3e50);
}

.reference-item span {
    font-size: .85rem;
    color: #7f8c8d;
}

/* Content Layout */
.content-layout {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Posts */
.post-archive {
    display: grid;
    gap: 25px;
}

.post-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
    transition: all .4s;
}

.post-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

.post-card .post-thumb {
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
}

.post-card .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

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

.post-card-body {
    padding: 20px;
    flex: 1;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-family: var(--heading-font, system-ui);
}

.post-title a {
    color: var(--secondary, #2c3e50);
}

.post-meta {
    font-size: .85rem;
    color: #7f8c8d;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

.post-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.post-card .blog-readmore-btn {
    margin-top: 8px;
    padding: 8px 20px;
    font-size: .82rem;
}

.blog-show-all {
    text-align: center;
    margin-top: 32px;
}

.blog-show-all .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid var(--primary, #c0392b);
    color: var(--primary, #c0392b) !important;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: all .3s;
}

.blog-show-all .btn-outline:hover {
    background: var(--primary, #c0392b);
    color: #fff !important;
}

/* Single Post */
.single-post,
.page-content {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
}

.entry-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: var(--heading-font, system-ui);
    color: var(--secondary, #2c3e50);
}

.entry-thumbnail {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
}

.entry-content {
    line-height: 1.8;
    color: #444;
}

.entry-content p {
    margin-bottom: 15px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--secondary, #2c3e50);
    font-family: var(--heading-font, system-ui);
}

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

.entry-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.entry-content a {
    text-decoration: underline;
}

.post-tags {
    margin-top: 20px;
    font-size: .9rem;
}

.tag-label {
    font-weight: 600;
    color: var(--secondary, #2c3e50);
    margin-right: 8px;
}

.post-category a {
    color: var(--primary, #c0392b);
    text-decoration: none;
}

.post-category a:hover {
    text-decoration: underline;
}

/* Listing Search Form */
.listing-search-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
}

.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-field {
    flex: 1;
    min-width: 140px;
}

.filter-field input,
.filter-field select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: .9rem;
    background: #f8f9fa;
}

/* Entry Comments */
.entry-comments {
    margin-top: 30px;
}

.entry-comments .comments-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    margin-bottom: 20px;
    font-family: var(--heading-font, system-ui);
}

.comment-list {
    list-style: none;
    margin: 0;
}

.comment-list .comment {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.comment-list .comment-body {
    font-size: .9rem;
}

.comment-list .comment-author {
    font-weight: 600;
    color: var(--secondary, #2c3e50);
    margin-bottom: 5px;
}

.comment-list .comment-author img {
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.comment-list .comment-metadata {
    font-size: .8rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.comment-list .comment-content p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.comment-list .reply a {
    font-size: .85rem;
    color: var(--primary, #c0392b);
    text-decoration: none;
    font-weight: 500;
}

.comment-list .reply a:hover {
    text-decoration: underline;
}

.comment-respond {
    margin-top: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
}

.comment-reply-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    margin-bottom: 15px;
    font-family: var(--heading-font, system-ui);
}

.comment-form label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: .9rem;
    font-family: var(--body-font, system-ui);
    transition: border-color .3s;
    background: #fafafa;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary, #c0392b);
    outline: none;
    background: #fff;
}

.comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

.comment-form .form-submit input[type="submit"] {
    padding: 12px 30px;
    background: var(--primary, #c0392b);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
}

.comment-form .form-submit input[type="submit"]:hover {
    background: var(--accent, #e74c3c);
    transform: translateY(-2px);
}

/* Widgets */
.widget {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-family: var(--heading-font, system-ui);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #555;
}

.widget a:hover {
    color: var(--primary, #c0392b);
    padding-left: 3px;
}

/* Footer */
.site-footer {
    background: var(--footer-bg, #1a1a2e);
    color: var(--footer-text, #bdc3c7);
    position: relative;
    overflow: hidden;
}

.footer-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #c0392b), var(--accent, #e74c3c), var(--primary, #c0392b));
    background-size: 200% 100%;
    animation: footerAccent 4s linear infinite;
}

@keyframes footerAccent {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.footer-top-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand-icon {
    color: var(--primary, #c0392b);
    margin-bottom: 4px;
}

.footer-brand-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.footer-brand-title {
    font-size: 1.4rem;
    color: var(--footer-heading, #ffffff);
    margin: 0;
    font-family: var(--heading-font, system-ui);
    font-weight: 700;
}

.footer-brand-desc {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--footer-text, #bdc3c7);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--footer-text, #bdc3c7);
    transition: all .3s;
}

.footer-social-link:hover {
    background: var(--primary, #c0392b);
    color: #fff;
    transform: translateY(-3px);
}

.footer-social-empty {
    font-size: .82rem;
    color: var(--footer-text, #bdc3c7);
    opacity: .7;
}

.footer-social-empty a {
    color: var(--primary, #c0392b);
    text-decoration: underline;
}

.footer-links-title {
    font-size: 1rem;
    color: var(--footer-heading, #ffffff);
    margin: 0 0 16px;
    font-family: var(--heading-font, system-ui);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary, #c0392b);
    border-radius: 2px;
}

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

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--footer-text, #bdc3c7);
    text-decoration: none;
    font-size: .88rem;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-menu a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary, #c0392b);
    transition: width .3s;
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-menu a:hover::before {
    width: 12px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: var(--footer-text, #bdc3c7);
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary, #c0392b);
}

.footer-contact-list a {
    color: var(--footer-text, #bdc3c7);
    text-decoration: none;
    transition: color .3s;
}

.footer-contact-list a:hover {
    color: #fff;
}

.footer-contact-address span {
    line-height: 1.5;
}

.footer-widgets {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: grid;
    gap: 30px;
}

.footer-cols-2 { grid-template-columns: 1fr 1fr; }
.footer-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.footer-cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.footer-widgets .widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
    color: var(--footer-text, #bdc3c7);
}

.footer-widgets .widget-title {
    color: var(--footer-heading, #ffffff);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,.06);
    position: relative;
    font-family: var(--heading-font, system-ui);
}

.footer-widgets .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary, #c0392b);
    border-radius: 2px;
}

.footer-widgets a {
    color: var(--footer-text, #bdc3c7);
    transition: all .3s;
}

.footer-widgets a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-widgets .widget li {
    border-bottom: 1px solid rgba(255,255,255,.04);
    padding: 8px 0;
}

.footer-widgets .widget li:first-child {
    padding-top: 0;
}

.footer-widgets .widget li:last-child {
    border-bottom: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    background: rgba(0,0,0,.15);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    color: var(--footer-text, #bdc3c7);
    opacity: .9;
}

.footer-developer a {
    color: var(--footer-text, #bdc3c7);
    opacity: .7;
    text-decoration: none;
    transition: all .3s;
}

.footer-developer a:hover {
    color: var(--primary, #c0392b);
    opacity: 1;
}

@media (max-width: 900px) {
    .footer-top-row {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer-top-row {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }

    .footer-cols-2,
    .footer-cols-3,
    .footer-cols-4 {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* 404 */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--primary, #c0392b);
    line-height: 1;
}

.error-404 p {
    font-size: 1.2rem;
    color: #666;
    margin: 20px 0 30px;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 30px auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
}

.search-form input[type="search"]:focus {
    border-color: var(--primary, #c0392b);
    outline: none;
}

.search-form button {
    padding: 12px 25px;
    background: var(--primary, #c0392b);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: all .3s;
}

.pagination .current {
    background: var(--primary, #c0392b);
    color: #fff;
}

.pagination a:hover {
    background: var(--primary, #c0392b);
    color: #fff;
}

/* Page numbers (list-based paginate_links) */
.emlak-pagination {
    margin: 40px 0;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-numbers li {
    margin: 0;
    padding: 0;
}

.page-numbers a,
.page-numbers span.current,
.page-numbers .dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: .9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    transition: all .3s;
}

.page-numbers a:hover {
    background: var(--primary, #c0392b);
    color: #fff;
    transform: translateY(-2px);
}

.page-numbers .current {
    background: var(--primary, #c0392b);
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    font-size: .85rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary, #c0392b);
}

.breadcrumb span {
    margin: 0 6px;
    color: #ccc;
}

/* Page Header */
.page-header {
    background: var(--secondary, #2c3e50);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    font-family: var(--heading-font, system-ui);
}

/* Sidebar Widgets */
/* Archive Hero */
.archive-hero {
    background: linear-gradient(135deg, var(--secondary, #2c3e50) 0%, #1a252f 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.archive-hero-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--heading-font, system-ui);
}

.archive-hero-desc {
    color: rgba(255,255,255,.75);
    margin-top: 8px;
}

/* Archive Layout */
.emlak-archive-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
}

/* Archive Filter Bar */
.emlak-filter-bar {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 25px rgba(0,0,0,.08);
    padding: 24px;
    margin-bottom: 5px;
}

.emlak-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-row-primary {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.filter-search {
    flex: 2;
    position: relative;
    display: flex;
}

.filter-search input {
    width: 100%;
    padding: 13px 48px 13px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: .95rem;
    transition: all .3s;
    background: #f8f9fa;
}

.filter-search input:focus {
    border-color: var(--primary, #c0392b);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192,57,43,.1);
}

.filter-search .filter-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary, #c0392b);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.filter-search .filter-search-btn:hover {
    background: var(--accent, #e74c3c);
}

.filter-select {
    flex: 1;
    min-width: 0;
}

.filter-select select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: .9rem;
    background: #f8f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23555'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all .3s;
}

.filter-select select:focus {
    border-color: var(--primary, #c0392b);
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(192,57,43,.1);
}

.filter-row-secondary {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-price {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-price input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: .9rem;
    background: #f8f9fa;
    transition: all .3s;
}

.filter-price input:focus {
    border-color: var(--primary, #c0392b);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192,57,43,.1);
}

.filter-price-sep {
    color: #bbb;
    flex-shrink: 0;
}

.filter-select-sm {
    max-width: 150px;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all .3s;
    border: none;
    white-space: nowrap;
}

.filter-btn-primary {
    background: var(--primary, #c0392b);
    color: #fff;
}

.filter-btn-primary:hover {
    background: var(--accent, #e74c3c);
    transform: translateY(-1px);
}

.filter-btn-reset {
    background: #f0f0f0;
    color: #333 !important;
}

.filter-btn-reset:hover {
    background: #e0e0e0;
}

/* Result Bar */
.emlak-result-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.result-count {
    font-size: .95rem;
    color: #555;
}

.result-count strong {
    color: var(--secondary, #2c3e50);
    font-size: 1.1rem;
}

.result-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: #555;
}

.result-sort select {
    padding: 8px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: .85rem;
    background: #f8f9fa;
    cursor: pointer;
}

/* Listing Card */
.listing-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: all .5s cubic-bezier(.165,.84,.44,1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,.04);
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    border-color: transparent;
}

.listing-thumb {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}

.listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.165,.84,.44,1);
}

.listing-card:hover .listing-thumb img {
    transform: scale(1.08);
}

.listing-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .4s ease;
    z-index: 2;
}

.listing-card:hover .listing-thumb-overlay {
    opacity: 1;
}

.lto-content {
    text-align: center;
    transform: translateY(15px);
    transition: transform .4s ease;
}

.listing-card:hover .lto-content {
    transform: translateY(0);
}

.lto-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
    margin-bottom: 10px;
}

.lto-btn {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, var(--primary, #c0392b), #e74c3c);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .3s;
}

.listing-card:hover .lto-btn {
    box-shadow: 0 4px 20px rgba(192,57,43,.4);
}

.listing-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.3) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s;
}

.listing-card:hover .listing-thumb::after {
    opacity: 1;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    min-height: 200px;
}

.listing-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 16px;
    background: var(--primary, #c0392b);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 6px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.badge-kiralik {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.badge-gunluk {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

.badge-devren {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.listing-type-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .7rem;
    border-radius: 6px;
    z-index: 3;
    backdrop-filter: blur(6px);
}

.listing-featured {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(243,156,18,.4);
}

.listing-info {
    padding: 20px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.listing-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary, #c0392b), transparent);
    opacity: .2;
}

.listing-meta-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: .78rem;
    color: #888;
    flex-wrap: wrap;
}

.listing-city {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--primary, #c0392b);
    font-weight: 600;
}

.listing-location-mini {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-family: var(--heading-font, system-ui);
    line-height: 1.3;
    font-weight: 600;
}

.listing-title a {
    color: var(--secondary, #2c3e50);
    transition: color .3s;
}

.listing-title a:hover {
    color: var(--primary, #c0392b);
}

.listing-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: .82rem;
    color: #555;
}

.detail-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.detail-item svg {
    fill: var(--primary, #c0392b);
    flex-shrink: 0;
}

.listing-price-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.listing-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary, #c0392b);
}

.listing-location-link {
    font-size: .78rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Listing Detail Page */
/* Detail Page */
.detail-hero {
    background: linear-gradient(135deg, var(--secondary, #2c3e50) 0%, #1a252f 100%);
    color: #fff;
    padding: 25px 0 0;
}

.detail-breadcrumb {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.detail-breadcrumb a {
    color: rgba(255,255,255,.7);
}

.detail-breadcrumb a:hover {
    color: #fff;
}

.detail-breadcrumb .current {
    color: rgba(255,255,255,.5);
}

.detail-hero-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
}

.detail-hero-main {
    flex: 1;
}

.detail-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.detail-type-badge {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.detail-type-badge.badge-satilik { background: var(--primary, #c0392b); color: #fff; }
.detail-type-badge.badge-kiralik { background: #27ae60; color: #fff; }
.detail-type-badge.badge-gunluk { background: #e67e22; color: #fff; }
.detail-type-badge.badge-devren { background: #8e44ad; color: #fff; }

.detail-featured-badge {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
}

.detail-prop-badge {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
    background: rgba(255,255,255,.15);
    color: #fff;
    backdrop-filter: blur(4px);
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--heading-font, system-ui);
    margin-bottom: 10px;
    line-height: 1.25;
}

.detail-location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 18px;
}

.detail-meta-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dmi-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: rgba(255,255,255,.85);
    padding: 8px 14px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.dmi-item svg {
    fill: rgba(255,255,255,.7);
    flex-shrink: 0;
}

.detail-hero-side {
    flex-shrink: 0;
    text-align: right;
}

.detail-price-box {
    padding: 18px 22px;
    background: rgba(255,255,255,.1);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    margin-bottom: 15px;
}

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1.2;
}

.detail-price-m2 {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    margin-top: 4px;
}

.detail-date {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    margin-top: 8px;
}

.detail-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.da-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    background: rgba(255,255,255,.1);
    color: #fff !important;
}

.da-btn:hover {
    transform: translateY(-2px);
}

.da-btn-fb:hover { background: #1877f2; }
.da-btn-tw:hover { background: #000; }
.da-btn-wa:hover { background: #25d366; }

.detail-layout {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.detail-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-sidebar {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Gallery */
.detail-gallery {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.gallery-main-wrap {
    position: relative;
    background: #f0f0f0;
}

.gallery-main-wrap img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.gallery-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: .8rem;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    z-index: 3;
}

.gallery-thumbs-row {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #f8f9fa;
    overflow-x: auto;
}

.gallery-thumb-item {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .3s;
    opacity: .7;
}

.gallery-thumb-item:hover {
    opacity: 1;
}

.gallery-thumb-item.active {
    border-color: var(--primary, #c0392b);
    opacity: 1;
}

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

/* Detail Cards */
.detail-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.detail-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    font-family: var(--heading-font, system-ui);
}

.detail-description {
    color: #555;
    line-height: 1.8;
}

.detail-description p {
    margin-bottom: 12px;
}

/* Detail Features */
.detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.df-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f5;
}

.df-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.df-label {
    color: #888;
    font-size: .88rem;
}

.df-value {
    font-weight: 600;
    color: var(--secondary, #2c3e50);
    font-size: .9rem;
}

.df-value-status {
    color: #27ae60;
}

/* Extra Tags */
.detail-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tag {
    padding: 7px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: .85rem;
    color: #555;
    transition: all .3s;
}

.detail-tag:hover {
    background: var(--primary, #c0392b);
    color: #fff;
}

/* Map */
.detail-map-wrap {
    border-radius: 12px;
    overflow: hidden;
}

#listing-map {
    height: 400px;
    border-radius: 12px;
    background: #ecf0f1;
}

/* Sidebar Cards */
.ds-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.ds-agent-card {
    text-align: center;
}

.ds-agent-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    text-align: left;
}

.ds-agent-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #c0392b);
    flex-shrink: 0;
}

.ds-agent-name {
    font-size: 1.05rem;
    color: var(--secondary, #2c3e50);
    display: block;
}

.ds-agent-title {
    font-size: .82rem;
    color: #888;
}

.ds-agent-id,
.ds-agent-date,
.ds-agent-address {
    font-size: .82rem;
    color: #888;
    padding: 6px 0;
    border-top: 1px solid #f5f5f5;
}

.ds-agent-address {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ds-contact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ds-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    transition: all .3s;
    border: none;
    cursor: pointer;
    color: #fff !important;
}

.ds-btn-phone {
    background: var(--primary, #c0392b);
}

.ds-btn-phone:hover {
    background: var(--accent, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192,57,43,.3);
}

.ds-btn-whatsapp {
    background: #25d366;
}

.ds-btn-whatsapp:hover {
    background: #1da852;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37,211,102,.3);
}

.ds-btn-submit {
    background: var(--primary, #c0392b);
    width: 100%;
}

.ds-btn-submit:hover {
    background: var(--accent, #e74c3c);
}

.ds-form-card .ds-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-family: var(--heading-font, system-ui);
}

.dcf-field {
    margin-bottom: 10px;
}

.dcf-field input,
.dcf-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: .9rem;
    background: #f8f9fa;
    transition: all .3s;
}

.dcf-field input:focus,
.dcf-field textarea:focus {
    border-color: var(--primary, #c0392b);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192,57,43,.1);
}

.dcf-field textarea {
    resize: vertical;
    min-height: 80px;
}

/* Similar Section */
.similar-section {
    padding: 60px 0;
    background: #f4f5f7;
}

.similar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.similar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    font-family: var(--heading-font, system-ui);
}

.similar-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary, #c0392b) !important;
}

.similar-all-link:hover svg {
    transform: translateX(3px);
}

.similar-all-link svg {
    transition: transform .3s;
}

/* Contact Success */
.contact-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Featured Slider */
.featured-slider-wrap {
    position: relative;
}

.featured-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 5px 0;
}

.featured-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #333;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(0,0,0,.12);
}

.slider-arrow:hover {
    background: var(--primary, #c0392b);
    color: #fff;
    box-shadow: 0 6px 20px rgba(192,57,43,.3);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

/* Featured List Layout */
.featured-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-list .listing-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.featured-list .listing-thumb {
    width: 280px;
    min-height: 180px;
    flex-shrink: 0;
}

.featured-list .listing-info {
    flex: 1;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 40px rgba(0,0,0,.12);
        z-index: 999;
        padding: 10px 0;
    }

    .main-navigation.active {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-menu > li > a {
        padding: 12px 20px;
    }

    .primary-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: #f8f9fa;
        border-radius: 0;
    }

    .primary-menu li:hover > .sub-menu {
        animation: none;
    }

    .home-filter-row {
        flex-direction: column;
    }
    .home-filter-field {
        width: 100%;
        min-width: 0;
    }
    .home-filter-price {
        min-width: 0;
    }
    .home-filter-form {
        margin-bottom: 0;
        border-radius: 12px;
    }

    .hero-title {
        font-size: 2rem;
    }
    .hero-content {
        padding: 40px 0 20px;
    }

    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-slide {
        flex: 0 0 100%;
    }
    .slider-prev { left: 5px; }
    .slider-next { right: 5px; }
    .featured-list .listing-card {
        flex-direction: column;
    }
    .featured-list .listing-thumb {
        width: 100%;
    }

    .filter-row-primary {
        flex-direction: column;
    }
    .filter-row-secondary {
        flex-wrap: wrap;
    }
    .filter-price {
        min-width: 100%;
    }
    .filter-select-sm {
        max-width: 100%;
    }
    .filter-actions {
        width: 100%;
    }
    .filter-actions .filter-btn {
        flex: 1;
    }

    .detail-hero-top {
        flex-direction: column;
        gap: 20px;
    }
    .detail-hero-side {
        text-align: left;
    }
    .detail-actions {
        justify-content: flex-start;
    }
    .detail-layout {
        flex-direction: column;
    }
    .detail-sidebar {
        width: 100%;
    }
    .detail-features {
        grid-template-columns: 1fr;
    }
    .df-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #f5f5f5;
    }
    .df-item:last-child {
        border-bottom: none;
    }

    .emlak-result-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .post-card {
        flex-direction: column;
    }
    .post-card .post-thumb {
        width: 100%;
        height: 200px;
    }
    .post-card-body {
        padding: 16px;
    }
    .post-title {
        font-size: 1.1rem;
    }

    .footer-top-row {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .listings-grid {
        grid-template-columns: 1fr;
    }
    .references-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .section {
        padding: 50px 0;
    }
    .detail-content-box {
        padding: 20px;
    }
    .gallery-thumb-item {
        flex: 0 0 60px;
        height: 45px;
    }

    .content-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .single-post {
        padding: 20px;
    }

    .contact-info-row {
        flex-direction: column;
    }

    .contact-form-map-row {
        flex-direction: column;
    }
}

/* Contact Page */
.page-hero {
    background: linear-gradient(135deg, var(--secondary, #1a252f), #2c3e50);
    padding: 60px 0;
    text-align: center;
}

.page-hero-title {
    font-size: 2.4rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-hero-desc {
    color: rgba(255,255,255,.7);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.blog-detail-hero {
    background: linear-gradient(135deg, var(--secondary, #1a252f), #2c3e50);
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.single-post-wrapper {
    background: #fff;
    padding: 0 0 80px;
}

.single-post-wrapper .single-post {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.single-post-wrapper .entry-comments {
    margin-top: 30px;
}

.blog-detail-hero .detail-breadcrumb {
    justify-content: center;
}

.bdh-title {
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto 12px;
    font-family: var(--heading-font, system-ui);
}

.bdh-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
}

.bdh-date,
.bdh-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.contact-info-row {
    display: flex;
    gap: 24px;
    margin: -40px auto 40px;
    position: relative;
    z-index: 2;
}

.ci-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    transition: all .3s;
}

.ci-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.ci-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #c0392b), #e74c3c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ci-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary, #1a252f);
    margin-bottom: 8px;
}

.ci-text {
    font-size: .9rem;
    color: #6b7280;
    line-height: 1.6;
}

.ci-link {
    display: block;
    font-size: .95rem;
    color: var(--primary, #c0392b);
    text-decoration: none;
    font-weight: 500;
    margin-top: 4px;
}

.ci-link:hover {
    text-decoration: underline;
}

.ci-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: .85rem;
    color: #25d366;
    font-weight: 600;
    text-decoration: none;
}

.ci-wa-link:hover {
    text-decoration: underline;
}

.contact-form-map-row {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-form-box {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
}

.contact-form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary, #1a252f);
    margin-bottom: 24px;
}

.cf-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.cf-field {
    margin-bottom: 16px;
}

.cf-field-half {
    flex: 1;
    margin-bottom: 0;
}

.cf-field input,
.cf-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: .9rem;
    font-family: var(--body-font, system-ui);
    transition: all .3s;
    background: #fafafa;
}

.cf-field input:focus,
.cf-field textarea:focus {
    border-color: var(--primary, #c0392b);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192,57,43,.08);
}

.cf-field textarea {
    resize: vertical;
    min-height: 120px;
}

.cf-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary, #c0392b);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
}

.cf-submit:hover {
    background: var(--accent, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192,57,43,.3);
}

.cf-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.cf-response {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .9rem;
    display: none;
}

.cf-response.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cf-response.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-map-box {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    min-height: 400px;
}

#contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* =============================================
   BLOG – BAĞIMSIZ TASARIM (header/footer hariç)
   ============================================= */

body.blog-detached {
    margin: 0;
    padding: 0;
    background: #f5f5f0;
    font-family: system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
    line-height: 1.7;
}

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

.blog-detached a {
    color: #2563eb;
    text-decoration: none;
    transition: color .2s;
}

.blog-detached a:hover {
    color: #1d4ed8;
}

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

.bcontainer {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- NAV ---------- */
.bnav {
    background: #fff;
    border-bottom: 1px solid #e5e5e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.bnav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bnav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.bnav-brand:hover {
    color: #2563eb;
}

.bnav-back {
    font-size: .88rem;
    padding: 8px 16px;
    border: 1px solid #d4d4cf;
    border-radius: 6px;
    color: #555;
    transition: all .2s;
}

.bnav-back:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f0f7ff;
}

/* ---------- HERO ---------- */
.bhero {
    background: #1a1a2e;
    color: #fff;
    padding: 72px 0 56px;
    text-align: center;
}

.bhero-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 10px;
}

.bhero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.6);
    max-width: 480px;
    margin: 0 auto;
}

/* ---------- CONTENT LAYOUT ---------- */
.bcontent {
    padding: 40px 0 60px;
}

.blayout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.blayout-main {
    flex: 1;
    min-width: 0;
}

.blayout-side {
    width: 300px;
    flex-shrink: 0;
}

.blayout-side .widget {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.blayout-side .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0eb;
    color: #1a1a1a;
}

.blayout-side .widget ul {
    list-style: none;
    margin: 0;
}

.blayout-side .widget li {
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f0;
    font-size: .88rem;
}

.blayout-side .widget li:last-child {
    border-bottom: none;
}

.blayout-side .widget a {
    color: #555;
}

.blayout-side .widget a:hover {
    color: #2563eb;
    padding-left: 3px;
}

/* Recent Posts */
.blayout-side .widget_recent_entries li,
.blayout-side .widget_recent_comments li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blayout-side .widget_recent_entries li a {
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.blayout-side .widget_recent_entries li a:hover {
    color: #2563eb;
    padding-left: 0;
}

.blayout-side .widget_recent_entries .post-date,
.blayout-side .widget_recent_comments .comment-author-link {
    font-size: .78rem;
    color: #999;
}

/* Categories */
.blayout-side .widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blayout-side .widget_categories a {
    flex: 1;
}

.blayout-side .widget_categories .children {
    margin-top: 6px;
    padding-left: 14px;
}

/* Archives */
.blayout-side .widget_archive li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blayout-side .widget_archive a {
    flex: 1;
}

/* Tag Cloud */
.blayout-side .widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blayout-side .widget_tag_cloud a {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0eb;
    border-radius: 4px;
    color: #555;
    font-size: .82rem !important;
    transition: all .2s;
}

.blayout-side .widget_tag_cloud a:hover {
    background: #2563eb;
    color: #fff;
    padding-left: 12px;
}

/* Search */
.blayout-side .widget_search .search-form {
    display: flex;
    gap: 8px;
}

.blayout-side .widget_search input[type="search"] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #d4d4cf;
    border-radius: 6px;
    font-size: .85rem;
    background: #fafaf7;
    transition: border-color .2s;
}

.blayout-side .widget_search input[type="search"]:focus {
    border-color: #2563eb;
    outline: none;
    background: #fff;
}

.blayout-side .widget_search button {
    padding: 9px 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.blayout-side .widget_search button:hover {
    background: #1d4ed8;
}

/* Calendar */
.blayout-side .widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.blayout-side .widget_calendar caption {
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #1a1a1a;
}

.blayout-side .widget_calendar th,
.blayout-side .widget_calendar td {
    padding: 6px;
    text-align: center;
    border: 1px solid #f0f0eb;
}

.blayout-side .widget_calendar th {
    background: #fafaf7;
    font-weight: 600;
    color: #555;
}

.blayout-side .widget_calendar td a {
    display: block;
    background: #eff6ff;
    border-radius: 3px;
    font-weight: 600;
    color: #2563eb;
}

/* Count badge */
.blayout-side .widget li .count {
    font-size: .78rem;
    color: #999;
    background: #f0f0eb;
    padding: 1px 8px;
    border-radius: 10px;
}

/* ---------- POST CARDS ---------- */
.bcard-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bcard {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all .25s;
}

.bcard:hover {
    border-color: #d0d0cb;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.bcard-thumb {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f0f0eb;
}

.bcard-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.bcard:hover .bcard-thumb img {
    transform: scale(1.04);
}

.bcard-body {
    padding: 20px 20px 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bcard-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.bcard-title a {
    color: #1a1a1a;
}

.bcard-title a:hover {
    color: #2563eb;
}

.bcard-meta {
    font-size: .82rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    gap: 6px;
}

.bcard-meta-sep {
    color: #ccc;
}

.bcard-excerpt {
    color: #555;
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.bcard-link {
    font-size: .88rem;
    font-weight: 600;
    color: #2563eb;
    align-self: flex-start;
}

.bcard-link:hover {
    text-decoration: underline;
}

/* ---------- EMPTY ---------- */
.bempty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
}

.bempty h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.bempty p {
    color: #888;
}

/* ---------- PAGINATION ---------- */
.bpagination {
    margin: 40px 0;
    text-align: center;
}

.bpagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bpagination .page-numbers li {
    margin: 0;
    padding: 0;
}

.bpagination .page-numbers a,
.bpagination .page-numbers span.current,
.bpagination .page-numbers .dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e5e5e0;
    color: #555;
    font-size: .85rem;
    font-weight: 600;
    transition: all .2s;
}

.bpagination .page-numbers a:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.bpagination .page-numbers .current {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* ---------- BLOG POST DETAIL ---------- */
.bpost-header {
    background: #1a1a2e;
    color: #fff;
    padding: 56px 0 48px;
}

.bpost-breadcrumb {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 16px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.bpost-breadcrumb a {
    color: rgba(255,255,255,.65);
}

.bpost-breadcrumb a:hover {
    color: #fff;
}

.bpost-breadcrumb-sep {
    color: rgba(255,255,255,.3);
}

.bpost-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.bpost-meta {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    display: flex;
    gap: 6px;
}

.bpost-meta-sep {
    color: rgba(255,255,255,.25);
}

.bpost-content {
    padding: 32px 0 60px;
}

.bpost-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.bpost-main {
    flex: 1;
    min-width: 0;
}

.bpost-featured {
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
}

.bpost-featured img {
    width: 100%;
    height: auto;
}

.bpost-entry {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 32px;
    line-height: 1.8;
    color: #333;
}

.bpost-entry p {
    margin-bottom: 16px;
}

.bpost-entry h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: #1a1a1a;
}

.bpost-entry h3 {
    font-size: 1.2rem;
    margin: 28px 0 10px;
    color: #1a1a1a;
}

.bpost-entry h4 {
    font-size: 1.05rem;
    margin: 24px 0 8px;
    color: #1a1a1a;
}

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

.bpost-entry li {
    margin-bottom: 6px;
}

.bpost-entry img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.bpost-entry a {
    text-decoration: underline;
}

.bpost-pagelinks {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 600;
}

.bpost-tags {
    margin-top: 20px;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    font-size: .88rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.bpost-tags-label {
    font-weight: 700;
    color: #1a1a1a;
    margin-right: 4px;
}

.bpost-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0eb;
    border-radius: 4px;
    color: #555;
    font-size: .82rem;
    transition: all .2s;
}

.bpost-tags a:hover {
    background: #2563eb;
    color: #fff;
}

.bpost-comments {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 28px 32px;
}

.bpost-comments .comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.bpost-comments .comment-list {
    list-style: none;
    margin: 0;
}

.bpost-comments .comment {
    padding: 16px;
    background: #fafaf7;
    border-radius: 8px;
    margin-bottom: 12px;
}

.bpost-comments .comment-body {
    font-size: .88rem;
}

.bpost-comments .comment-author {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.bpost-comments .comment-metadata {
    font-size: .78rem;
    color: #999;
    margin-bottom: 8px;
}

.bpost-comments .comment-content p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.bpost-comments .reply a {
    font-size: .82rem;
    color: #2563eb;
    font-weight: 500;
}

.bpost-comments .comment-respond {
    margin-top: 24px;
}

.bpost-comments .comment-reply-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.bpost-comments .comment-form label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
}

.bpost-comments .comment-form input[type="text"],
.bpost-comments .comment-form input[type="email"],
.bpost-comments .comment-form input[type="url"],
.bpost-comments .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4d4cf;
    border-radius: 6px;
    font-size: .88rem;
    font-family: inherit;
    transition: border-color .2s;
    background: #fafaf7;
}

.bpost-comments .comment-form input:focus,
.bpost-comments .comment-form textarea:focus {
    border-color: #2563eb;
    outline: none;
    background: #fff;
}

.bpost-comments .comment-form textarea {
    min-height: 90px;
    resize: vertical;
}

.bpost-comments .form-submit input[type="submit"] {
    padding: 10px 28px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.bpost-comments .form-submit input[type="submit"]:hover {
    background: #1d4ed8;
}

.bpost-side {
    width: 300px;
    flex-shrink: 0;
}

.bpost-side .widget {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.bpost-side .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0eb;
    color: #1a1a1a;
}

.bpost-side .widget ul {
    list-style: none;
    margin: 0;
}

.bpost-side .widget li {
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f0;
    font-size: .88rem;
}

.bpost-side .widget li:last-child {
    border-bottom: none;
}

.bpost-side .widget a {
    color: #555;
}

.bpost-side .widget a:hover {
    color: #2563eb;
    padding-left: 3px;
}

/* Recent Posts */
.bpost-side .widget_recent_entries li,
.bpost-side .widget_recent_comments li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bpost-side .widget_recent_entries li a {
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.bpost-side .widget_recent_entries li a:hover {
    color: #2563eb;
    padding-left: 0;
}

.bpost-side .widget_recent_entries .post-date,
.bpost-side .widget_recent_comments .comment-author-link {
    font-size: .78rem;
    color: #999;
}

/* Categories */
.bpost-side .widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpost-side .widget_categories a {
    flex: 1;
}

.bpost-side .widget_categories .children {
    margin-top: 6px;
    padding-left: 14px;
}

/* Archives */
.bpost-side .widget_archive li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpost-side .widget_archive a {
    flex: 1;
}

/* Tag Cloud */
.bpost-side .widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bpost-side .widget_tag_cloud a {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0eb;
    border-radius: 4px;
    color: #555;
    font-size: .82rem !important;
    transition: all .2s;
}

.bpost-side .widget_tag_cloud a:hover {
    background: #2563eb;
    color: #fff;
    padding-left: 12px;
}

/* Search */
.bpost-side .widget_search .search-form {
    display: flex;
    gap: 8px;
}

.bpost-side .widget_search input[type="search"] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #d4d4cf;
    border-radius: 6px;
    font-size: .85rem;
    background: #fafaf7;
    transition: border-color .2s;
}

.bpost-side .widget_search input[type="search"]:focus {
    border-color: #2563eb;
    outline: none;
    background: #fff;
}

.bpost-side .widget_search button {
    padding: 9px 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.bpost-side .widget_search button:hover {
    background: #1d4ed8;
}

/* Calendar */
.bpost-side .widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.bpost-side .widget_calendar caption {
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #1a1a1a;
}

.bpost-side .widget_calendar th,
.bpost-side .widget_calendar td {
    padding: 6px;
    text-align: center;
    border: 1px solid #f0f0eb;
}

.bpost-side .widget_calendar th {
    background: #fafaf7;
    font-weight: 600;
    color: #555;
}

.bpost-side .widget_calendar td a {
    display: block;
    background: #eff6ff;
    border-radius: 3px;
    font-weight: 600;
    color: #2563eb;
}

/* Count badge */
.bpost-side .widget li .count {
    font-size: .78rem;
    color: #999;
    background: #f0f0eb;
    padding: 1px 8px;
    border-radius: 10px;
}

/* ---------- FOOTER ---------- */
.bfooter {
    background: #1a1a2e;
    color: rgba(255,255,255,.6);
    padding: 24px 0;
    font-size: .85rem;
}

.bfooter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bfooter-copy {
    margin: 0;
}

.bfooter-link {
    color: rgba(255,255,255,.5);
}

.bfooter-link:hover {
    color: #fff;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .bhero {
        padding: 48px 0 40px;
    }

    .bhero-title {
        font-size: 1.8rem;
    }

    .bpost-header {
        padding: 40px 0 32px;
    }

    .bpost-title {
        font-size: 1.4rem;
    }

    .bcard {
        flex-direction: column;
    }

    .bcard-thumb {
        width: 100%;
        height: 200px;
    }

    .bcard-body {
        padding: 0 16px 16px;
    }

    .bpost-entry {
        padding: 20px;
    }

    .bpost-comments {
        padding: 20px;
    }

    .bpost-tags {
        padding: 12px 16px;
    }

    .bfooter-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .blayout,
    .bpost-layout {
        flex-direction: column;
    }

    .blayout-side,
    .bpost-side {
        width: 100%;
    }

    .bcontainer {
        padding: 0 16px;
    }
}

/* Lightbox */
#emlakpro-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0,0,0,.92);
    cursor: zoom-out;
}

#emlakpro-lightbox .lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#emlakpro-lightbox .lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#emlakpro-lightbox .lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 40px rgba(0,0,0,.5);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-btn {
    position: absolute;
    z-index: 10;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    border-radius: 50%;
}

.lightbox-btn:hover {
    background: rgba(255,255,255,.25);
}

.lightbox-close {
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 32px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
}

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

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .03em;
    background: rgba(0,0,0,.4);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

body.lb-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    #emlakpro-lightbox .lightbox-content {
        max-width: 96vw;
        max-height: 80vh;
    }

    #emlakpro-lightbox .lightbox-content img {
        max-width: 96vw;
        max-height: 80vh;
    }
}
