/* Header of the eastbayhomes.com home and buyer pages, plus the green button and page width both use.
   Phone rules run up to 809px. */

.ebh-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.ebh-header { background: #FFFFFF; border-bottom: 1px solid #D5DDD4; }
.ebh-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.ebh-logo { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.ebh-logo-name { color: #163B37; font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; font-weight: 700; }
.ebh-logo-name span { color: #C0A272; }
.ebh-logo-sub { color: #596C66; font-size: 0.78rem; letter-spacing: 0.02em; }
.ebh-nav { display: flex; align-items: center; flex-shrink: 0; gap: 22px; }
.ebh-nav a:not(.ebh-btn):not(.site-tel) { color: #163B37; font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.ebh-nav .site-tel { margin: 0; }

.ebh-btn {
    display: inline-block;
    background: #163B37;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 600;
    padding: 14px 24px;
    text-decoration: none;
}
.ebh-btn:hover { background: #0F2B28; color: #FFFFFF; }

@media (max-width: 809px) {
    .ebh-wrap { padding: 0 16px; }
    .ebh-header-row { flex-wrap: wrap; padding-bottom: 10px; padding-top: 10px; }
    .ebh-logo-name { font-size: 1.1rem; }
    .ebh-logo-sub, .ebh-nav a:not(.ebh-btn):not(.site-tel) { display: none; }
    .ebh-nav { gap: 14px; }
    .ebh-nav .ebh-btn { font-size: 0.9rem; padding: 10px 14px; }
}
