/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #212121;
    background-color: #fafafa;
}

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

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 3px solid #2e7d32;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    padding: 20px 0 10px;
}

.site-logo {
    font-size: 2rem;
    color: #1b5e20;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: inline-block;
}

header h1 {
    font-size: 2rem;
    color: #1b5e20;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 0.95rem;
    color: #616161;
    margin-top: 5px;
}

nav {
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    padding-bottom: 15px;
}

nav a {
    text-decoration: none;
    color: #424242;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #2e7d32;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
    opacity: 0.95;
}

.data-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 24px;
    border-radius: 50px;
    margin-top: 15px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.3);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cities Showcase Section */
.cities-showcase {
    padding: 60px 0;
    background-color: #ffffff;
}

.cities-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1b5e20;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #616161;
    max-width: 700px;
    margin: 0 auto 40px;
}

.search-bar-main {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    gap: 15px;
}

.search-bar-main input {
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.search-bar-main input:focus {
    outline: none;
    border-color: #2e7d32;
}

.search-bar-main button {
    padding: 15px 30px;
    background-color: #2e7d32;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar-main button:hover {
    background-color: #1b5e20;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.showcase-card {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-color: #2e7d32;
}

.showcase-card-header {
    padding: 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    border-bottom: 2px solid #e0e0e0;
}

.showcase-card-header h3 {
    font-size: 1.4rem;
    color: #1b5e20;
    margin-bottom: 8px;
}

.county-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #2e7d32;
    color: #ffffff;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 500;
}

.showcase-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quality-indicator {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.city-preview {
    color: #616161;
    font-size: 0.9rem;
    line-height: 1.6;
}

.city-details-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    background-color: #fafafa;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.showcase-card:hover .detail-item {
    background-color: #f0f0f0;
}

.detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e7d32;
    flex-shrink: 0;
    min-width: 120px;
}

.detail-text {
    color: #424242;
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
}

.showcase-card-footer {
    padding: 15px 20px;
    background-color: #fafafa;
    color: #2e7d32;
    font-weight: 600;
    text-align: center;
}

.view-all-section {
    text-align: center;
    margin-top: 40px;
}

.view-all-link {
    display: inline-block;
    padding: 15px 40px;
    background-color: #2e7d32;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.view-all-link:hover {
    background-color: #1b5e20;
    transform: scale(1.05);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.map-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.map-container-full {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 40px;
}

.uk-map-wrapper {
    position: relative;
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
    border: 2px solid #cfd8dc;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

#uk-map {
    width: 100%;
    height: auto;
    display: block;
}

.uk-region {
    transition: all 0.3s ease;
}

.uk-region:hover {
    stroke: #1b5e20;
    stroke-width: 3;
}

/* City Markers */
.city-marker {
    transition: all 0.3s ease;
}

.marker-circle {
    transition: all 0.3s ease;
}

.marker-glow {
    transition: all 0.3s ease;
}

.city-marker:hover .marker-circle {
    filter: drop-shadow(0 0 4px rgba(46, 125, 50, 0.6));
}

.city-tooltip {
    pointer-events: none;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #616161;
    font-size: 1rem;
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 4px solid #e0e0e0;
    border-top-color: #2e7d32;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-loading p {
    margin: 0;
    font-weight: 500;
}

/* Map Sidebar */
.map-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.region {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.region:hover {
    opacity: 1;
    filter: brightness(0.95);
    stroke-width: 3;
}

.region-label {
    font-size: 16px;
    font-weight: 600;
    fill: #212121;
    text-anchor: middle;
}

.region-label.small {
    font-size: 12px;
}

/* Map Legend */
.map-legend {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.map-legend h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1b5e20;
    font-weight: 600;
}

.legend-description {
    font-size: 0.9rem;
    color: #616161;
    margin-bottom: 20px;
    line-height: 1.6;
}

.legend-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.legend-stat-item {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    border-left: 3px solid #2e7d32;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #616161;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-legend ul {
    list-style: none;
}

.map-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #bdbdbd;
}

.england-color {
    background-color: #e8f5e9;
}

.scotland-color {
    background-color: #e3f2fd;
}

.wales-color {
    background-color: #fff3e0;
}

.ni-color {
    background-color: #fce4ec;
}

/* Map Instructions */
.map-instructions {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.map-instructions h4 {
    font-size: 1.1rem;
    color: #1b5e20;
    margin-bottom: 15px;
    font-weight: 600;
}

.map-instructions ul {
    list-style: none;
    margin-left: 0;
}

.map-instructions li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #424242;
    line-height: 1.6;
}

.map-instructions li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

/* Quick Search */
.quick-search {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.quick-search input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 12px;
    transition: border-color 0.3s;
}

.quick-search input:focus {
    outline: none;
    border-color: #2e7d32;
}

.quick-search button {
    width: 100%;
    padding: 12px 16px;
    background-color: #2e7d32;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quick-search button:hover {
    background-color: #1b5e20;
}

.quick-search label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #424242;
    margin-bottom: 8px;
}

/* Soil Quality Legend */
.soil-quality-legend {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.soil-quality-legend h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #424242;
    margin-bottom: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #616161;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

/* Soilscape Section */
/* Modern Soilscape Classification Styles */
.soilscape-classification-modern {
    background-color: #ffffff;
    border: 3px solid #4a7c59;
    border-radius: 12px;
    padding: 0;
    margin: 30px 0 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.soilscape-header-modern {
    text-align: center;
    padding: 30px 30px 20px;
    background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
    border-bottom: 1px solid #e0e0e0;
}

.soilscape-header-modern h2 {
    color: #2d5016;
    font-size: 1.75rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.soilscape-source-modern {
    font-size: 0.85rem;
    color: #616161;
    margin-top: 8px;
}

.soilscape-source-modern a {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
}

.soilscape-source-modern a:hover {
    color: #2d5016;
    text-decoration: underline;
}

.soilscape-main-badge {
    background: linear-gradient(135deg, #4a7c59 0%, #5d9370 100%);
    color: #ffffff;
    padding: 25px 40px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.soilscape-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid #e0e0e0;
}

.soilscape-prop-card {
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 25px 20px;
    background-color: #ffffff;
    transition: background-color 0.2s;
}

.soilscape-prop-card:hover {
    background-color: #f9fdf9;
}

.soilscape-prop-card:nth-child(3n) {
    border-right: none;
}

.soilscape-prop-card:nth-last-child(-n+3) {
    border-bottom: none;
}

.prop-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a7c59;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.prop-value {
    color: #212121;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

.coverage-item {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #424242;
}

.coverage-item strong {
    color: #2d5016;
    font-weight: 600;
}

.soilscape-detailed-sections {
    padding: 0;
    background-color: #fafafa;
}

.soilscape-detail-box {
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    background-color: #ffffff;
}

.soilscape-detail-box:last-child {
    border-bottom: none;
}

.detail-box-header {
    background: linear-gradient(90deg, #f5f8f6 0%, #ffffff 100%);
    padding: 18px 30px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d5016;
    border-left: 4px solid #4a7c59;
    letter-spacing: 0.3px;
}

.detail-box-content {
    padding: 20px 30px 20px 34px;
    color: #424242;
    font-size: 0.95rem;
    line-height: 1.8;
    background-color: #ffffff;
}

@media (max-width: 968px) {
    .soilscape-properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .soilscape-prop-card:nth-child(3n) {
        border-right: 1px solid #e8e8e8;
    }
    
    .soilscape-prop-card:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .soilscape-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .soilscape-prop-card {
        border-right: none !important;
    }
    
    .soilscape-main-badge {
        font-size: 1.15rem;
        padding: 20px 25px;
    }
}

.soilscape-detail-card h4 {
    color: #1b5e20;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.soilscape-detail-card p {
    color: #424242;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Other Cities Section - Internal Linking */
.other-cities-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    border-radius: 12px;
    border: 2px solid #c8e6c9;
}

.other-cities-section h2 {
    text-align: center;
    color: #1b5e20;
    font-size: 2rem;
    margin-bottom: 15px;
}

.other-cities-intro {
    text-align: center;
    color: #616161;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.other-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.other-city-link {
    display: block;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.other-city-link:hover {
    background-color: #2e7d32;
    border-color: #2e7d32;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.other-city-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1b5e20;
    margin-bottom: 5px;
}

.other-city-link:hover .other-city-name {
    color: #ffffff;
}

.other-city-county {
    font-size: 0.85rem;
    color: #757575;
}

.other-city-link:hover .other-city-county {
    color: #e8f5e9;
}

/* Scrollbar styling for cities grid */
.other-cities-grid::-webkit-scrollbar {
    width: 8px;
}

.other-cities-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.other-cities-grid::-webkit-scrollbar-thumb {
    background: #2e7d32;
    border-radius: 4px;
}

.other-cities-grid::-webkit-scrollbar-thumb:hover {
    background: #1b5e20;
}

/* Info Panel */
.info-panel {
    background-color: #f5f5f5;
    border-left: 4px solid #2e7d32;
    padding: 30px;
    border-radius: 4px;
}

.info-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1b5e20;
}

.info-panel ol {
    margin-left: 20px;
}

.info-panel li {
    margin-bottom: 12px;
    color: #424242;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.stats-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1b5e20;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-card p {
    color: #616161;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    padding: 60px 0 30px;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #9a9a9a;
    margin-bottom: 12px;
}

.footer-section strong {
    color: #e0e0e0;
    font-weight: 600;
}

.data-sources {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-sources li {
    margin-bottom: 12px;
}

.data-sources a {
    color: #81c784;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
}

.data-sources a:hover {
    color: #a5d6a7;
    text-decoration: none;
    transform: translateX(2px);
}

.data-sources a::before {
    content: "→";
    margin-right: 8px;
    font-weight: bold;
}

.data-note {
    font-size: 0.85rem;
    font-style: italic;
    color: #9e9e9e;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #424242;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #6a6a6a;
    margin: 10px 0;
}

.nonprofit-notice {
    font-size: 0.95rem !important;
    color: #81c784 !important;
    font-weight: 500 !important;
    margin-bottom: 15px !important;
}

/* Region Pages */
.region-header {
    background-color: #ffffff;
    border-bottom: 3px solid #2e7d32;
    padding: 30px 0;
}

.region-header h1 {
    color: #1b5e20;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.city-description {
    font-size: 1.1rem;
    color: #424242;
    line-height: 1.7;
    margin: 15px 0;
    font-weight: 400;
}

.data-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 25px;
}

.disclaimer-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.disclaimer-content {
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.disclaimer-content strong {
    color: #664d03;
    display: block;
    margin-bottom: 5px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #616161;
}

.breadcrumb a {
    color: #2e7d32;
    text-decoration: none;
}

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

.region-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.region-map-container {
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.region-map-container svg {
    max-width: 100%;
    height: auto;
}

.soil-info {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

.soil-info h2 {
    color: #1b5e20;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.soil-property {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.soil-property:last-child {
    border-bottom: none;
}

.soil-property h3 {
    font-size: 1.1rem;
    color: #424242;
    margin-bottom: 8px;
    font-weight: 600;
}

.soil-property p {
    color: #616161;
    line-height: 1.7;
}

.suitable-plants {
    margin-top: 40px;
}

.suitable-plants h2 {
    color: #1b5e20;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.plant-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plant-category {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.plant-category h3 {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plant-category ul {
    list-style: none;
}

.plant-category li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    color: #424242;
}

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

.plant-category li::before {
    content: "•";
    color: #2e7d32;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 8px;
}

/* Cities Listing Page */
.cities-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.search-filter-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #2e7d32;
}

.filter-box {
    min-width: 200px;
}

.filter-box select {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-box select:focus {
    outline: none;
    border-color: #2e7d32;
}

.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: #616161;
    font-size: 1.1rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.city-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.city-card-header {
    padding: 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.city-card-header h3 {
    font-size: 1.3rem;
    color: #1b5e20;
    margin-bottom: 8px;
}

.county-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #2e7d32;
    color: #ffffff;
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 500;
}

.city-card-body {
    padding: 20px;
}

.soil-quality-indicator {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quality-high {
    background-color: #c8e6c9;
    border-left: 4px solid #2e7d32;
}

.quality-moderate {
    background-color: #fff9c4;
    border-left: 4px solid #f9a825;
}

.quality-mixed {
    background-color: #e1f5fe;
    border-left: 4px solid #0277bd;
}

.quality-low {
    background-color: #ffccbc;
    border-left: 4px solid #d84315;
}

.quality-urban {
    background-color: #f5f5f5;
    border-left: 4px solid #616161;
}

.quality-unknown {
    background-color: #f5f5f5;
    border-left: 4px solid #9e9e9e;
}

.quality-label {
    font-weight: 600;
    color: #424242;
}

.quality-value {
    font-weight: 500;
    color: #212121;
}

.city-info-item {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
    color: #424242;
}

.city-info-item:last-child {
    border-bottom: none;
}

.city-info-item strong {
    color: #1b5e20;
}

.city-card-footer {
    padding: 20px;
    background-color: #fafafa;
    text-align: center;
}

.view-details-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #2e7d32;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.view-details-btn:hover {
    background-color: #1b5e20;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #757575;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Heavy Metals Grid */
.heavy-metals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.metal-item {
    padding: 12px;
    background-color: #f9f9f9;
    border-left: 3px solid #2e7d32;
    border-radius: 4px;
}

.metal-item strong {
    color: #1b5e20;
}

/* Contaminants Table Styles */
.contaminants-section {
    margin-top: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contaminants-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #424242;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.contaminants-table {
    display: flex;
    flex-direction: column;
}

.contaminants-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #616161;
    letter-spacing: 0.5px;
}

.col-contaminant,
.col-value,
.col-standard {
    display: flex;
    align-items: center;
}

.col-standard {
    justify-content: flex-end;
}

.contaminant-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.contaminant-row:hover {
    background-color: #fafafa;
}

.contaminant-row.exceeds {
    background-color: #fff5f5;
}

.contaminant-row.exceeds:hover {
    background-color: #ffebee;
}

.col-contaminant {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contaminant-icon {
    width: 48px;
    height: 48px;
    background-color: #e3f2fd;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.contaminant-row.exceeds .contaminant-icon {
    background-color: #ffebee;
}

.contaminant-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: #90caf9;
    border-radius: 4px;
}

.contaminant-row.exceeds .contaminant-icon::before {
    background-color: #ef5350;
}

.contaminant-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contaminant-name {
    font-size: 1rem;
    font-weight: 600;
    color: #212121;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #2e7d32;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: help;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.info-tooltip:hover {
    background-color: #1b5e20;
}

.info-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #212121;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    white-space: normal;
    width: 320px;
    max-width: 90vw;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    pointer-events: none;
}

.info-tooltip::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #212121;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.info-tooltip:hover::before,
.info-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.contaminant-type {
    font-size: 0.85rem;
    color: #757575;
}

.col-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.value-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212121;
}

.contaminant-row.exceeds .value-number {
    color: #d32f2f;
}

.exceed-indicator {
    width: 8px;
    height: 8px;
    background-color: #ef5350;
    border-radius: 50%;
}

.value-unit {
    font-size: 0.85rem;
    color: #757575;
    text-transform: uppercase;
}

.multiplier {
    font-size: 1.2rem;
    font-weight: 700;
    color: #d32f2f;
    margin-right: 5px;
}

.standard-value {
    font-size: 0.9rem;
    color: #616161;
}

/* FAQ Styles */
.faq-section {
    margin: 50px 0;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-section h2 {
    font-size: 1.8rem;
    color: #1b5e20;
    margin-bottom: 30px;
    font-weight: 600;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #2e7d32;
}

.faq-question {
    width: 100%;
    text-align: left;
    background-color: #fafafa;
    border: none;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #212121;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question[aria-expanded="true"] {
    background-color: #e8f5e9;
    color: #1b5e20;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2e7d32;
    flex-shrink: 0;
    margin-left: 15px;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer > div {
    padding: 20px 24px;
    color: #424242;
    line-height: 1.8;
    font-size: 1rem;
}

/* SEO Content Section Styles */
.seo-content-section {
    margin: 50px 0;
    padding: 0;
}

.seo-intro {
    background-color: #f5f5f5;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #2e7d32;
}

.seo-intro p {
    color: #424242;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.seo-intro p:last-child {
    margin-bottom: 0;
}

.content-section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-section h2 {
    font-size: 1.8rem;
    color: #1b5e20;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 10px;
}

.content-section h3 {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section p {
    color: #424242;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-section ul li {
    color: #424242;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.content-section ul li strong {
    color: #1b5e20;
    font-weight: 600;
}

.conclusion-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border: 2px solid #c8e6c9;
}

.conclusion-section h2 {
    color: #1b5e20;
    border-bottom: 2px solid #a5d6a7;
}

/* Legal Pages Styles */
.legal-page {
    padding: 50px 0;
    background-color: #fafafa;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: #1b5e20;
    margin-bottom: 10px;
}

.last-updated {
    color: #757575;
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.6rem;
    color: #1b5e20;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 8px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: #2e7d32;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-content p {
    color: #424242;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-content ul li {
    color: #424242;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 10px;
}

.legal-content strong {
    color: #1b5e20;
    font-weight: 600;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    color: #9a9a9a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-links span {
    color: #4a4a4a;
}

.footer-cities-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #2a2a2a;
}

.footer-cities-section h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.footer-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-city-link {
    color: #9a9a9a;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 8px 12px;
    background-color: #242424;
    border-radius: 4px;
    transition: all 0.3s;
    text-align: center;
    border: 1px solid transparent;
}

.footer-city-link:hover {
    color: #ffffff;
    background-color: #2a2a2a;
    border-color: #3a3a3a;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .footer-cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
    
    .map-container-full {
        grid-template-columns: 1fr;
    }
    
    .map-sidebar {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        display: grid;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .contaminants-table {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header */
    header {
        padding: 15px 0;
    }
    
    .site-logo {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.75rem;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    nav ul li a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    /* Hero */
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.8rem;
        padding: 10px 0;
    }
    
    /* City Header */
    h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .city-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Search and Filter */
    .search-bar-main {
        padding: 15px;
    }
    
    .search-bar-main input {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .search-filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-filter-bar input,
    .search-filter-bar select {
        width: 100%;
    }
    
    /* Showcase Grid */
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase-card {
        padding: 20px;
    }
    
    /* Cities Grid */
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .city-card {
        padding: 20px;
    }
    
    /* Content Grid */
    .map-container {
        flex-direction: column;
    }
    
    .map-container-full {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .soil-info {
        padding: 20px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Disclaimer */
    .data-disclaimer {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .disclaimer-icon {
        font-size: 2rem;
    }
    
    /* Contaminants Table */
    .contaminants-section {
        padding: 20px;
        overflow-x: auto;
    }
    
    .contaminants-header,
    .contaminant-row {
        min-width: 500px;
    }
    
    .contaminants-header {
        font-size: 0.75rem;
    }
    
    .contaminant-name {
        font-size: 0.85rem;
    }
    
    .contaminant-type {
        font-size: 0.7rem;
    }
    
    .value-number {
        font-size: 1rem;
    }
    
    /* Plant Categories */
    .plant-categories {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* FAQ */
    .faq-container {
        gap: 12px;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 15px;
    }
    
    .faq-answer {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    /* SEO Content */
    .seo-content-section {
        padding: 30px 20px;
    }
    
    .seo-content-section h2 {
        font-size: 1.4rem;
    }
    
    .seo-content-section h3 {
        font-size: 1.1rem;
    }
    
    /* Other Cities Section */
    .other-cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .other-city-link {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-content {
        gap: 30px;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .footer-cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .footer-city-link {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    /* Heavy Metals Grid */
    .heavy-metals-grid {
        grid-template-columns: 1fr;
    }
    
    .legend-stats {
        grid-template-columns: 1fr;
    }
    
    .map-sidebar {
        display: flex;
        flex-direction: column;
    }
    
    /* Soilscape Modern */
    .soilscape-header-modern h2 {
        font-size: 1.4rem;
    }
    
    .soilscape-main-badge {
        font-size: 1.1rem;
        padding: 20px 25px;
    }
    
    .detail-box-header {
        font-size: 0.9rem;
        padding: 15px 20px;
    }
    
    .detail-box-content {
        padding: 18px 20px 18px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header-content {
        text-align: center;
    }
    
    .site-logo {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    nav ul {
        gap: 10px;
    }
    
    nav ul li a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    /* Hero */
    .hero {
        padding: 30px 0;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .data-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.75rem;
    }
    
    /* City Header */
    h1 {
        font-size: 1.5rem !important;
    }
    
    .city-description {
        font-size: 0.9rem;
    }
    
    /* Search */
    .search-bar-main {
        padding: 12px;
    }
    
    .search-bar-main input {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    /* Cards */
    .showcase-card,
    .city-card,
    .soil-info {
        padding: 15px;
    }
    
    /* Disclaimer */
    .data-disclaimer {
        padding: 15px;
    }
    
    .disclaimer-icon {
        font-size: 1.5rem;
    }
    
    .disclaimer-content {
        font-size: 0.85rem;
    }
    
    /* Contaminants */
    .contaminants-section {
        padding: 15px;
        margin-top: 30px;
    }
    
    .contaminants-section h2 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .contaminants-header,
    .contaminant-row {
        min-width: 450px;
        padding: 10px 15px;
    }
    
    /* Soilscape */
    .soilscape-classification-modern {
        margin: 20px -15px 30px;
        border-radius: 0;
    }
    
    .soilscape-header-modern {
        padding: 20px 15px 15px;
    }
    
    .soilscape-header-modern h2 {
        font-size: 1.2rem;
    }
    
    .soilscape-source-modern {
        font-size: 0.75rem;
    }
    
    .soilscape-main-badge {
        font-size: 1rem;
        padding: 18px 20px;
    }
    
    .soilscape-prop-card {
        padding: 20px 15px;
    }
    
    .prop-label {
        font-size: 0.75rem;
    }
    
    .prop-value {
        font-size: 0.9rem;
    }
    
    .detail-box-header {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .detail-box-content {
        padding: 15px;
        font-size: 0.85rem;
    }
    
    /* FAQ */
    .faq-question {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .faq-answer {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    /* SEO Content */
    .seo-content-section {
        padding: 25px 15px;
    }
    
    .seo-content-section h2 {
        font-size: 1.2rem;
    }
    
    .seo-content-section h3 {
        font-size: 1rem;
    }
    
    .seo-content-section p,
    .seo-content-section li {
        font-size: 0.9rem;
    }
    
    /* Other Cities */
    .other-cities-section {
        padding: 30px 15px;
    }
    
    .other-cities-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .other-city-link {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-section {
        text-align: center;
    }
    
    .footer-cities-section h4 {
        font-size: 0.9rem;
    }
    
    .footer-cities-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .footer-city-link {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links span {
        display: none;
    }
    
    /* Legal Pages */
    .legal-page h1 {
        font-size: 1.8rem;
    }
    
    .legal-page h2 {
        font-size: 1.2rem;
    }
    
    .legal-page h3 {
        font-size: 1rem;
    }
    
    .legal-content {
        font-size: 0.9rem;
    }
}

