/* =============================================================
   MosaicHydro shared styles — included by all page templates
   ============================================================= */

/* Reset Sinatra's content wrapper for full-width templates */
.mh-page .site-content,
.mh-page #content,
.mh-page .content-area,
.mh-page .site-main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
.mh-page .site-header,
.mh-page .site-footer,
.mh-page .sidebar,
.mh-page .widget-area {
    display: none !important;
}
.mh-page {
    margin: 0;
    padding: 0;
}

/* Typography */
.mh-root {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.mh-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e8e8e6;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.mh-nav-logo img {
    height: 48px;
    width: auto;
    display: block;
}
.mh-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.mh-nav-links a {
    font-size: 14px;
    color: #5f5e5a;
    text-decoration: none;
    transition: color 0.15s;
}
.mh-nav-links a:hover,
.mh-nav-links a.active {
    color: #1a1a1a;
}
.mh-nav-links a.mh-nav-cta {
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    background: #1a3f7a;
    color: #fff !important;
    border-radius: 6px;
    transition: background 0.15s;
}
.mh-nav-links a.mh-nav-cta:hover {
    background: #153268;
}

/* Mobile nav */
.mh-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #1a1a1a;
}
@media (max-width: 680px) {
    .mh-nav-toggle { display: flex; align-items: center; }
    .mh-nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e8e8e6;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        z-index: 99;
    }
    .mh-nav-links.open { display: flex; }
    .mh-nav-links a.mh-nav-cta { align-self: flex-start; }
}

/* ── Page header ── */
.mh-page-header {
    padding: 3rem 2rem 2.5rem;
    border-bottom: 1px solid #e8e8e6;
}
.mh-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a3f7a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mh-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background: #1a3f7a;
    flex-shrink: 0;
}
.mh-page-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    line-height: 1.2;
}
.mh-page-intro {
    font-size: 15px;
    line-height: 1.7;
    color: #5f5e5a;
    max-width: 600px;
    margin: 0;
}

/* ── Buttons ── */
.mh-btn-primary {
    display: inline-block;
    padding: 10px 22px;
    background: #1a3f7a;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.mh-btn-primary:hover { background: #153268; color: #fff; }

.mh-btn-secondary {
    display: inline-block;
    padding: 10px 22px;
    background: transparent;
    color: #1a1a1a;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #b4b2a9;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s;
}
.mh-btn-secondary:hover { border-color: #1a3f7a; color: #1a3f7a; }

/* ── CTA bar ── */
.mh-cta-bar {
    padding: 3rem 2rem;
    text-align: center;
    background: #f1efe8;
    border-top: 1px solid #e8e8e6;
}
.mh-cta-bar h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}
.mh-cta-bar p {
    font-size: 14px;
    color: #5f5e5a;
    margin: 0 0 1.5rem;
}
.mh-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mh-contact-detail {
    font-size: 13px;
    color: #5f5e5a;
    margin-top: 1rem;
}
.mh-contact-detail a { color: #1a3f7a; text-decoration: none; }

/* ── Footer ── */
.mh-footer {
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e8e8e6;
    background: #fff;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.mh-footer-copy { font-size: 12px; color: #888780; }
.mh-footer-links { display: flex; gap: 1rem; }
.mh-footer-links a { font-size: 12px; color: #888780; text-decoration: none; }
.mh-footer-links a:hover { color: #1a3f7a; }

/* ── Utility ── */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
