/* Chimney Sweep Directory - Main Stylesheet */

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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --star-color: #fbbf24;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-search {
    flex: 1;
    max-width: 400px;
}

.search-input-nav {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search-input-nav:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.nav-search-container {
    position: relative;
    width: 100%;
}

.nav-search .search-results {
    margin-top: 0.5rem;
    max-height: 320px;
}

/* Hero Section */
.hero {
    background: url('../images/hero-chimney-sweep.jpg') center/cover no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    margin: 2.5rem auto 3rem;
    max-width: 600px;
    position: relative;
}

.hero-search-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    gap: 0.5rem;
}

.hero-search-icon {
    padding: 0 0.75rem;
    color: #64748b;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.875rem 0;
    font-size: 1rem;
    color: var(--text-color);
}

.hero-search-input::placeholder {
    color: #94a3b8;
}

.hero-search-button {
    background: #dc2626;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    min-width: 50px;
}

.hero-search-button:hover {
    background: #b91c1c;
}

.hero-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.hero-search-results .search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
    gap: 1rem;
}

.hero-search-results .search-result-item:last-child {
    border-bottom: none;
}

.hero-search-results .search-result-item:hover {
    background: var(--bg-light);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Main Content */
main {
    padding: 3rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* About Section */
.about-section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.about-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Blog */
.blog-page {
    max-width: 1100px;
    padding: 3rem 0 4rem;
}

.blog-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-card-image {
    position: relative;
    padding-top: 56%;
    background-size: cover;
    background-position: center;
}

.blog-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.08) 100%);
}

.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.blog-card-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-card h2 {
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--text-color);
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.blog-card-cta {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15,23,42,0.15);
}

.blog-meta-updated {
    color: var(--primary-color);
    font-style: italic;
}

.blog-empty {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(15,23,42,0.1);
}

.blog-empty ul {
    margin: 1.75rem auto;
    max-width: 520px;
    text-align: left;
    line-height: 1.7;
}

.blog-post-page {
    max-width: 900px;
    padding: 3rem 0 4rem;
}

.blog-post {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 14px 32px rgba(15,23,42,0.12);
}

.blog-post-header h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.blog-post-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.blog-post-hero {
    margin: 2.5rem 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15,23,42,0.18);
}

.blog-post-hero img {
    width: 100%;
    display: block;
}

.blog-post-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: 1.85;
    color: var(--text-color);
}

.blog-post-body p {
    margin: 0;
    color: var(--text-light);
}

.blog-post-body h2 {
    font-size: 1.9rem;
    margin-top: 1.5rem;
    color: var(--text-color);
}

.blog-post-body h3 {
    font-size: 1.4rem;
    margin-top: 1.25rem;
    color: var(--text-color);
}

.blog-post-body ul,
.blog-post-body ol {
    margin-left: 1.75rem;
    color: var(--text-light);
}

.blog-post-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-post-cta {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(59,130,246,0.08));
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: 18px;
    padding: 2.75rem;
    text-align: center;
    box-shadow: 0 16px 32px rgba(37,99,235,0.18);
}

.blog-post-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* FAQ Page */
.faq-page {
    max-width: 900px;
    padding: 3rem 0 4rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-header h1 {
    margin-bottom: 1rem;
}

.faq-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    color: var(--text-light);
    margin: 1rem 0;
}

.faq-answer ul {
    color: var(--text-light);
    padding-left: 1.25rem;
    margin: 1rem 0;
    list-style: disc;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Search Section */
.search-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input-main {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.search-input-main:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
    gap: 1rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-icon {
    font-size: 1.5rem;
}

.search-result-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-color);
}

.search-result-count {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Cities Section */
.cities-section h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* State Grid on Homepage */
.states-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-cta {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-cta h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-cta p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.faq-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.faq-cta a:hover {
    text-decoration: underline;
}

.state-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.state-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.state-card h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: var(--text-color);
}

.state-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.state-card h3 a:hover {
    color: var(--primary-color);
}

.state-stats {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* State Page - Cities Grid */
.state-header {
    text-align: center;
    margin-bottom: 3rem;
}

.state-header h1 {
    margin-bottom: 1rem;
}

.cities-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.city-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.city-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.city-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.city-card h3 a:hover {
    color: var(--primary-color);
}

.listing-count {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* City Page */
.city-header {
    text-align: center;
    margin-bottom: 3rem;
}

.city-header h1 {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.listing-card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.listing-card h3 {
    margin-bottom: 0.5rem;
}

.listing-card h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.listing-card h3 a:hover {
    color: var(--primary-color);
}

.listing-card .address {
    color: var(--text-light);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.listing-card .phone {
    color: var(--text-light);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.listing-card .phone a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Rating */
.rating {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--star-color);
    font-size: 1.1rem;
}

.rating-value {
    font-weight: 600;
    color: var(--text-color);
}

.review-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Listing Detail Page */
.listing-detail {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.listing-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.listing-header h1 {
    margin-bottom: 0.5rem;
}

.listing-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.listing-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.listing-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.listing-image:hover img {
    transform: scale(1.02);
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.contact-item {
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.day {
    font-weight: 600;
}

/* Sidebar */
.listing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-card {
    background: var(--bg-light);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Back Link */
.back-link {
    margin-top: 2rem;
}

.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-btn.twitter { background: #1da1f2; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.youtube { background: #ff0000; }
.social-btn.tiktok { background: #000000; }

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 2.5rem 0;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }
    
    .nav-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 1rem;
    }
    
    .search-input-main {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-search {
        margin: 2rem auto 2.5rem;
        padding: 0 1rem;
    }
    
    .hero-search-container {
        padding: 0.4rem;
    }
    
    .hero-search-icon {
        padding: 0 0.5rem;
        font-size: 1.1rem;
    }
    
    .hero-search-input {
        font-size: 0.95rem;
        padding: 0.75rem 0;
    }
    
    .hero-search-button {
        padding: 0.65rem 1rem;
        min-width: 45px;
    }
    
    .hero-search-button svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .states-grid-page {
        grid-template-columns: 1fr;
    }
    
    .cities-grid-page {
        grid-template-columns: 1fr;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .listing-content {
        grid-template-columns: 1fr;
    }
    
    .listing-sidebar {
        order: -1;
    }
    
    .nav-links {
        gap: 1rem;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        box-shadow: 0 12px 24px rgba(15,23,42,0.12);
    }

    .blog-post {
        padding: 2rem;
    }

    .blog-post-header h1 {
        font-size: 2.1rem;
    }

    .blog-post-body h2 {
        font-size: 1.6rem;
    }

    .blog-post-body h3 {
        font-size: 1.3rem;
    }

    .blog-post-cta {
        padding: 2rem;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 0.35rem;
        align-items: flex-start;
    }

    .faq-cta {
        padding: 1.75rem;
        margin: 2rem 0;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-header p {
        font-size: 1rem;
    }
}
