/* ============================================================================
   BostonApartments.com — SEO chrome styles
   File: /css/site-chrome.css   (or append into your existing style.css)

   Minimal styles for the new dynamic header, breadcrumbs, and footer.
   Additive only — uses scoped class names that shouldn't collide with
   existing styles on the site.

   To activate: either copy these rules into /style.css, or add this line
   to includes/header.php after the existing stylesheet link:

     <link rel="stylesheet" href="/css/site-chrome.css">
============================================================================ */

/* ── Site header ────────────────────────────────────────────────────────── */
.site-header {
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    gap: 20px;
}
.site-header .logo img {
    display: block;
    height: 40px;
    width: auto;
}
.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}
.site-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s, color 0.15s;
}
.site-nav a:hover,
.site-nav a:focus {
    color: #c00;
    border-bottom-color: #c00;
}
.site-nav .agent-link {
    margin-left: 8px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    border-bottom: none;
}
.site-nav .agent-link:hover {
    background: #eaeaea;
    border-bottom: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 12px;
        gap: 8px;
    }
    .site-header-inner { flex-wrap: wrap; }
    body.nav-open .site-nav { display: flex; }
}

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 13px;
    color: #666;
}
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.breadcrumbs li {
    display: flex;
    align-items: center;
}
.breadcrumbs li + li::before {
    content: "›";
    margin: 0 8px;
    color: #aaa;
}
.breadcrumbs a {
    color: #555;
    text-decoration: none;
}
.breadcrumbs a:hover { color: #c00; text-decoration: underline; }
.breadcrumbs li[aria-current="page"] {
    color: #111;
    font-weight: 500;
}

/* ── Main content container ─────────────────────────────────────────────── */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ── Ad slot ────────────────────────────────────────────────────────────── */
.ad-slot {
    margin: 28px 0;
    text-align: center;
}
.ad-slot ins {
    margin: 0 auto;
}

/* ── Article header (used in modernized pages) ─────────────────────────── */
.article-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}
.article-header h1 {
    margin: 8px 0 0;
    font-size: 32px;
    line-height: 1.2;
}

/* ── Site footer ────────────────────────────────────────────────────────── */
.site-footer {
    background: #1a1a1a;
    color: #ddd;
    margin-top: 60px;
    padding: 40px 0 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.footer-cols h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}
.footer-cols a {
    display: block;
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 6px;
}
.footer-cols a:hover { color: #fff; }
.footer-copy {
    text-align: center;
    color: #888;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px solid #333;
}