/* ============================================
   ListCrawler - Global Styles
   Color Scheme:
   - Header/Footer BG: #18304f
   - Body BG: #fbf8ee
   - Card BG: #ffffff
   - Accent/CTA: #e25822
   - Text: #1a1a2e / #555
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #fbf8ee;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button, select, input {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.site-header {
    background-color: #18304f;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo img {
    height: 36px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.75);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-btn {
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    background: #e25822;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #c94d1c;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 48, 79, 0.97);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-nav-link {
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.mobile-nav-link:hover {
    color: #e25822;
    background: rgba(255,255,255,0.08);
}

.mobile-nav-btn {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    background: #e25822;
    transition: background 0.2s;
}

.mobile-nav-btn:hover {
    background: #c94d1c;
}

/* --- Breadcrumb --- */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #e8e4d9;
    padding: 8px 0;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumb-bar a {
    color: #18304f;
    transition: color 0.2s;
}

.breadcrumb-bar a:hover {
    color: #e25822;
}

.breadcrumb-bar .sep {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb-bar .current {
    color: #555;
    font-weight: 500;
}

/* --- Page Hero --- */
.page-hero {
    color: #1a1a2e;
    padding: 24px 0 8px;
}

.page-hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #18304f;
}

.page-hero p {
    color: #777;
    font-size: 0.92rem;
    max-width: 600px;
}

/* --- Main Content --- */
.main-content {
    padding: 32px 0 48px;
}

.listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

/* --- Filters Sidebar --- */
.filters-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 80px;
}

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

.filters-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.filters-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

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

.filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s;
}

.filter-group select:focus {
    outline: none;
    border-color: #e25822;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: #18304f;
    color: #fff;
    width: 100%;
    margin-top: 8px;
}

.btn-primary:hover {
    background: #c94d1c;
    box-shadow: 0 4px 12px rgba(226,88,34,0.3);
}

.btn-outline {
    background: transparent;
    color: #555;
    border: 1px solid #ddd;
    width: 100%;
    margin-top: 8px;
}

.btn-outline:hover {
    border-color: #bbb;
    color: #333;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
    width: auto;
    margin-top: 0;
}

/* --- Listings Area --- */
.listings-topbar {
    display: none;
    margin-bottom: 16px;
}

.filters-toggle {
    display: none;
    background: #fff;
}

/* --- Listings Grid --- */
.listings-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Listing Card (horizontal) --- */
a.listing-card {
    text-decoration: none;
    color: inherit;
}

.listing-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: row;
}

.listing-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.card-image {
    position: relative;
    width: 200px;
    min-height: 220px;
    flex-shrink: 0;
    background: #eee;
    overflow: hidden;
}

.card-image img,
.card-image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

.badge-verified {
    background: #22a86b;
    color: #fff;
}

.badge-new {
    background: #e25822;
    color: #fff;
}

.badge-online {
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-online::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
}

.card-time {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(0,0,0,0.5);
    color: #fff;
    z-index: 2;
}

.card-body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.card-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.card-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}

.card-username {
    color: #e25822;
    font-weight: 600;
}

.card-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #e25822;
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.2s;
}

.listing-card:hover .card-cta {
    background: #c94d1c;
}


/* --- About Section --- */
.about-section {
    background: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-top: 24px;
}

.about-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #18304f;
}

.about-section p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 800px;
}

.about-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
    color: #1a1a2e;
}

.city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.city-link {
    color: #e25822;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid #e8e4d9;
    border-radius: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.city-link:hover {
    background: #fbf8ee;
    border-color: #e25822;
}

/* --- Homepage --- */
.home-hero {
    background: linear-gradient(135deg, #18304f 0%, #1e3d66 100%);
    color: #fff;
    padding: 64px 0 56px;
    text-align: center;
}

.home-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.home-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.home-hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #e25822;
    color: #fff;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.home-hero-btn:hover {
    background: #c94d1c;
}

.cities-section {
    padding: 48px 0;
}

.cities-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 20px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.city-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    background: #fff;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1a1a2e;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, color 0.2s;
}

.city-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    color: #e25822;
}

.browse-all {
    text-align: center;
    margin-top: 24px;
}

.browse-all-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #18304f;
    color: #18304f;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.browse-all-btn:hover {
    background: #18304f;
    color: #fff;
}

.home-listings {
    padding: 0 0 48px;
}

.home-listings h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 20px;
}

.home-about {
    padding: 0 0 48px;
}

.home-about-box {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.home-about-box h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 12px;
}

.home-about-box p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.home-about-box p:last-child {
    margin-bottom: 0;
}

.home-about-box a {
    color: #e25822;
    text-decoration: underline;
}

.home-about-box a:hover {
    color: #c94d1c;
}

.home-faq-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0ede3;
}

.home-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.home-faq-item:first-child {
    padding-top: 8px;
}

.home-faq-q {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.home-faq-item p {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding: 40px 0 36px;
    }

    .home-hero h1 {
        font-size: 1.7rem;
    }

    .home-hero p {
        font-size: 0.92rem;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-about-box {
        padding: 22px 20px;
    }
}

/* --- States Directory (/personals/) --- */
.states-directory {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.state-group {
    background: #fff;
    border-radius: 12px;
    padding: 22px 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.state-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0ede3;
}

.state-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.state-city-link {
    padding: 6px 14px;
    border: 1px solid #e8e4d9;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.state-city-link:hover {
    border-color: #e25822;
    color: #e25822;
    background: #fbf8ee;
}

/* --- Content Pages (About, etc.) --- */
.content-page {
    max-width: 800px;
    margin: 0 auto;
}

.content-page--narrow {
    max-width: 700px;
}

.content-hero {
    margin-bottom: 24px;
}

.content-hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 6px;
}

.content-hero p {
    color: #777;
    font-size: 0.92rem;
}

.content-section {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.content-section h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 14px;
}

.content-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 14px;
}

.content-section p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section a {
    color: #e25822;
    text-decoration: underline;
}

.content-section a:hover {
    color: #c94d1c;
}

.post-ad-cta-section {
    text-align: center;
}

.post-ad-cta-section p:not(.post-ad-note),
.post-ad-cta-section .check-list {
    text-align: left;
}

.post-ad-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #e25822;
    color: #fff;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    margin: 16px 0 12px;
}

.content-section .post-ad-cta,
.content-section .post-ad-cta:hover {
    color: #fff;
    text-decoration: none;
}

.post-ad-cta:hover {
    background: #c94d1c;
}

.post-ad-note {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    margin-top: 16px;
}

.contact-email {
    margin: 12px 0;
}

.contact-email a {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e25822;
    text-decoration: none;
    padding: 10px 18px;
    background: #f0ede3;
    border-radius: 8px;
    display: inline-block;
}

.contact-email a:hover {
    background: #e8e4d9;
    color: #c94d1c;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: #fbf8ee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #18304f;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.feature-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid #f0ede3;
}

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

.check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #22a86b;
    font-weight: 700;
    font-size: 1rem;
}

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

    .content-section {
        padding: 22px 20px;
    }
}

/* --- Footer --- */
.site-footer {
    background: #18304f;
    color: rgba(255,255,255,0.7);
    padding-top: 48px;
}

.main-content--centered {
    min-height: 800px;
    display: flex;
    align-items: center;
}

.main-content--centered > .container {
    width: 100%;
}

/* --- Profile / Message Page --- */
.profile-page {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
}

.profile-image {
    position: relative;
    width: 200px;
    min-height: 250px;
    flex-shrink: 0;
    background: #eee;
    overflow: hidden;
}

.profile-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image .badge-online {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-image .badge-online::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
}

.profile-info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #18304f;
    text-decoration: none;
}

.back-link:hover {
    color: #e25822;
}

.profile-username {
    font-size: 1.4rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 16px;
}

.source-notice {
    border: 1px solid #e8e4d9;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    background: #fdfcf7;
}

.source-notice-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 6px;
}

.source-notice p {
    font-size: 0.82rem;
    color: #505050;
    line-height: 1.5;
    margin: 0;
}

.profile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 28px;
    background: #c0392b;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
}

.profile-cta:hover {
    background: #a93226;
    animation: none;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0); }
}

.profile-cta {
    animation: subtle-pulse 2s ease-in-out infinite;
}

.profile-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    font-size: 0.8rem;
}

.profile-free-text {
    color: #919191;
    font-style: italic;
    font-size: 12px;
}

.profile-footer-links a {
    color: #425c7e;
}

.profile-footer-links a:hover {
    color: #e25822;
}

.profile-footer-links .link-sep {
    color: #ccc;
    margin: 0 4px;
}

.profile-section {
    background: #fff;
    border-radius: 12px;
    padding: 22px 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-top: 16px;
}

.profile-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #18304f;
    margin-bottom: 10px;
}

.profile-safety {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

.profile-safety a {
    color: #e25822;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .profile-card {
        flex-direction: column;
    }

    .profile-image {
        width: 100%;
        min-height: 300px;
    }

    .profile-info {
        padding: 20px;
    }

    .profile-username {
        font-size: 1.2rem;
    }

    .profile-footer-row {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }
}

/* --- Footer --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand p {
    font-size: 0.85rem;
    margin-top: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.footer-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    padding: 4px 0;
    transition: color 0.2s;
}

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

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

.footer-disclaimer {
    background: rgba(226, 88, 34, 0.1);
    border: 1px solid rgba(226, 88, 34, 0.2);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* Header */
    .main-nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    /* Filters sidebar becomes a slide-in panel */
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        z-index: 1200;
        border-radius: 0;
        margin-top: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding-top: 20px;
    }

    .filters-sidebar.open {
        transform: translateX(0);
    }

    .filters-close {
        display: block;
    }

    .listings-topbar {
        display: flex;
    }

    .filters-toggle {
        display: inline-flex;
    }

    .main-content {
        padding: 12px 0 48px;
    }

    /* Layout goes single column */
    .listings-layout {
        grid-template-columns: 1fr;
    }

    .card-image {
        width: 160px;
        min-height: 180px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 56px;
    }

    .logo img {
        height: 28px;
    }

    .card-image {
        width: 120px;
        min-height: 160px;
    }

    .card-body {
        padding: 14px;
    }

    .card-name {
        font-size: 0.92rem;
    }

    .card-desc {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
    }

    .card-footer {
        flex-wrap: wrap;
        gap: 8px;
    }

    .card-cta {
        padding: 7px 16px;
        font-size: 0.8rem;
    }

    .listings-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-section {
        padding: 32px 0;
    }
}

/* --- Filter overlay backdrop (mobile) --- */
.filters-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1199;
}

.filters-backdrop.open {
    display: block;
}

/* Placeholder images */
.card-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ddd 0%, #c8c8c8 100%);
    color: #999;
    font-size: 0.8rem;
}
