/* 1. Layout Structure */
.main-layout-wrapper {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 40px auto;
    gap: 20px;
    padding: 0 15px;
}

.center-content {
    flex: 1;
    max-width: 800px;
    min-width: 300px;
}

.ad-sidebar {
    width: 250px;
    background: #f4f4f4;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #888;
}

/* 2. Search & Dropdowns */
.search-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 30px;
}

.pincode-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.pincode-search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.pincode-search-form button {
    padding: 12px 25px;
    background: #4285F4; /* Updated to Match Google Blue */
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.selection-search-section select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

/* 3. Results Table */
.pincode-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pincode-table th, .pincode-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pincode-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
}

/* 4. SEO Footer Grid */
.site-footer {
    background: #1a252f;
    color: #ecf0f1;
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: #3498db;
    font-size: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 5. Maps & Details */
.office-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* 6. Responsive [FIXED SYNTAX] */
@media (max-width: 1100px) {
    .ad-sidebar { display: none; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 7. Google Blue Branding & Formatting */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Main Blue Header */
.search-container h2 {
    color: #4285F4 !important; 
    font-family: 'Poppins', sans-serif !important;
    text-align: center !important;
    font-size: 28px;
    margin-bottom: 10px;
    width: 100%;
}

/* Poppins for the sub-text */
.search-container p {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #666;
    margin-bottom: 25px;
}

/* Address formatting for detail pages */
.office-card h2 {
    color: #4285F4;
    font-family: 'Poppins', sans-serif;
}

.office-card p {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}
/* --- Site Name Branding Update --- */

/* Centers the site name and applies Tomato color */
header, .site-header {
    text-align: center;
    padding: 20px 0;
}

/* Specifically target the site title link */
header h1 a, 
.site-title a,
header a {
    color: #FF6347 !important; /* Tomato Color */
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    display: inline-block;
}

/* Ensures the "Left Space Here" text also centers if it's in the header */
header p, .site-description {
    text-align: center;
    color: #666;
    margin-top: 5px;
}

/* Mobile specific adjustment */
@media (max-width: 768px) {
    header a {
        font-size: 24px;
    }
}
/* --- Pagination Button Styling --- */
.pagination-wrapper, .pagination-nav {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-nav, .pagination-nav a {
    display: inline-block;
    padding: 10px 16px;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-nav:hover, .pagination-nav a:hover {
    background-color: #4285F4;
    color: #ffffff;
    border-color: #4285F4;
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.2);
}

/* Active Page State */
.page-nav[style*="background:#4285F4"], 
.pagination-nav a[style*="background:#4285F4"] {
    background-color: #4285F4 !important;
    color: #ffffff !important;
    border-color: #4285F4 !important;
}
.standard-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}