/* ============================================================
   Golden Years Senior Care — Our Homes page content sections
   Requires inner-page.css (shared header + hero)
   ============================================================ */

.page-our-homes .section-wrapper > .oh-intro {
    padding: 56px 0 80px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #EEF0F2;
}
.page-our-homes .section-wrapper > .oh-listings {
    padding: 80px 0 64px;
    background: #FAFAF8;
}
.page-our-homes .section-wrapper > .oh-map { padding: 72px 0 0; }
.page-our-homes .section-wrapper > .oh-cta-wrap { padding: 48px 0 100px; }
.page-home-detail .section-wrapper > .oh-cta-wrap { padding: 48px 0 100px; }

/* --- Intro band (featured home photo) --- */
.oh-intro {
    background: #fff;
    border-bottom: 1px solid #EEF0F2;
}
.oh-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}
.oh-intro-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 3.2vw, 2.5rem);
    font-weight: 600;
    color: #002B49;
    line-height: 1.2;
    margin: 0 0 16px;
}
.oh-intro-lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text-light);
    margin: 0 0 28px;
    max-width: 520px;
}
.oh-intro-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}
.oh-intro-stats li {
    padding: 16px 14px;
    background: #FAFAF8;
    border: 1px solid #EEF0F2;
    border-radius: 12px;
    text-align: center;
}
.oh-intro-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: 4px;
}
.oh-intro-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light);
    line-height: 1.35;
}
.oh-intro-photo {
    aspect-ratio: 4/3;
    min-height: 320px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 40px rgba(0, 43, 73, 0.14);
    border: 1px solid rgba(0, 43, 73, 0.06);
}
.oh-intro-caption {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--color-text-light);
    text-align: center;
    font-style: italic;
}

/* --- Section titles --- */
.oh-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    color: #002B49;
    margin: 0 0 16px;
    line-height: 1.2;
}
.oh-section-intro {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.75;
    margin: 0;
    max-width: 640px;
}

/* --- Listings --- */
.oh-listings-header {
    margin-bottom: 48px;
    max-width: 720px;
}
.oh-listings-header .oh-section-intro { max-width: 100%; }

.oh-home-listing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #EEF0F2;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 43, 73, 0.04);
    transition: box-shadow 0.3s ease;
}
.oh-home-listing:hover {
    box-shadow: 0 8px 28px rgba(0, 43, 73, 0.08);
}
.oh-home-listing:last-child { margin-bottom: 0; }
.oh-home-listing:first-child { padding-top: 48px; }
.oh-home-listing:last-child { padding-bottom: 48px; }

.oh-home-listing-image {
    aspect-ratio: 4/3;
    min-height: 300px;
    border-radius: 16px;
    background-color: #E8DDD0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 32px rgba(0, 43, 73, 0.1);
    border: 1px solid rgba(0, 43, 73, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.oh-home-listing:hover .oh-home-listing-image {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 43, 73, 0.14);
}

.oh-highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.oh-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 9999px;
    white-space: nowrap;
}
.oh-tag-gold {
    background: rgba(230,138,0,0.1);
    border: 1px solid rgba(230,138,0,0.35);
    color: #E68A00;
}
.oh-tag-blue {
    background: #E8F4FC;
    color: #002B49;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid rgba(74,155,199,0.25);
}

.oh-home-title {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 2.8vw, 2rem);
    font-weight: 600;
    color: #002B49;
    margin: 0 0 10px;
    line-height: 1.2;
}
.oh-home-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--color-text-light);
}
.oh-home-loc {
    display: inline;
}
.oh-home-meta-sep {
    color: var(--color-text-light);
    user-select: none;
}
.oh-home-distance {
    display: none;
    font-weight: 600;
    color: var(--color-secondary);
}
.oh-home-distance.is-visible {
    display: inline;
}
.oh-loc-link {
    display: inline;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.oh-loc-link:hover:not(:disabled) {
    color: #002B49;
}
.oh-loc-link:disabled {
    cursor: wait;
    opacity: 0.7;
}
.oh-loc-link.is-error {
    color: #b45309;
    text-decoration-style: dotted;
}
.oh-loc-link.is-loading {
    text-decoration: none;
    cursor: wait;
}
.oh-loc-link[hidden] {
    display: none;
}
.oh-home-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.75;
    margin: 0 0 20px;
}
.oh-feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
}
.oh-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.oh-btn-visit {
    padding: 13px 24px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
}
.oh-btn-tour {
    padding: 11px 22px;
    font-size: 14px;
    border-color: #002B49;
    color: #002B49;
}
.oh-btn-tour:hover {
    background: #002B49;
    color: #fff;
}
.oh-btn-directions {
    padding: 11px 22px;
    font-size: 14px;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.oh-btn-directions:hover {
    background: var(--color-secondary);
    color: #fff;
    border-color: var(--color-secondary);
}

/* --- Map --- */
.oh-map {
    background: #FAFAF8;
    border-top: 1px solid #EEF0F2;
}
.oh-map-header { margin-bottom: 36px; max-width: 680px; }
.oh-map-header .oh-section-intro { max-width: 100%; }
.oh-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 380px;
    max-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    background: #E8EEF2;
    border: 1px solid rgba(0, 43, 73, 0.08);
    box-shadow: 0 8px 32px rgba(0, 43, 73, 0.08);
}
.oh-map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- CTA --- */
.oh-cta-wrap { background: #FAFAF8; }
.oh-cta {
    background: #002B49;
    border-radius: 24px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 43, 73, 0.12);
}
.oh-cta-eyebrow { color: var(--color-accent); }
.oh-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}
.oh-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.oh-cta .hp-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.oh-cta-outline-btn {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.55);
    padding: 13px 24px;
    font-size: 14px;
}
.oh-cta-outline-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}
.oh-cta .hp-cta-image {
    aspect-ratio: 16/10;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 1024px) {
    .oh-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .oh-intro-photo { min-height: 280px; }
    .page-our-homes .section-wrapper > .oh-intro { padding: 48px 0 64px; }
    .page-our-homes .section-wrapper > .oh-listings { padding: 64px 0 48px; }
    .oh-cta {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 32px;
    }
    .oh-cta .hp-cta-image {
        order: -1;
        height: 200px;
        aspect-ratio: auto;
    }
    .oh-home-listing { gap: 40px; padding: 32px; }
}

@media (max-width: 768px) {
    .page-our-homes .section-wrapper > .oh-intro { padding: 36px 0 48px; }
    .page-our-homes .section-wrapper > .oh-listings { padding: 56px 0 32px; }
    .oh-intro-stats { grid-template-columns: 1fr; gap: 10px; }
    .oh-intro-stats li { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 14px 16px; }
    .oh-intro-stat-value { margin-bottom: 0; font-size: 1.25rem; }
    .oh-intro-photo { min-height: 220px; border-radius: 12px; }
    .oh-listings-header { margin-bottom: 32px; }
    .oh-section-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
    .oh-section-intro { font-size: 15px; }
    .oh-home-listing,
    .oh-home-listing--image-left {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        margin-bottom: 20px;
    }
    .oh-home-listing-image {
        order: -1;
        width: 100%;
        min-height: 220px;
        aspect-ratio: 4/3;
    }
    .oh-home-listing-body { width: 100%; }
    .oh-home-title { font-size: clamp(1.375rem, 6vw, 1.75rem); }
    .oh-home-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
    .oh-home-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 4px; }
    .oh-btn-visit, .oh-btn-tour, .oh-btn-directions, .oh-cta-outline-btn { width: 100%; justify-content: center; }
    .page-our-homes .section-wrapper > .oh-map { padding: 48px 0 0; }
    .page-our-homes .section-wrapper > .oh-cta-wrap { padding: 32px 0 64px; }
    .page-home-detail .section-wrapper > .oh-cta-wrap { padding: 32px 0 64px; }
    .oh-map-header { margin-bottom: 24px; }
    .oh-map-frame { aspect-ratio: auto; min-height: 280px; max-height: none; border-radius: 12px; }
    .oh-cta { gap: 0; padding: 32px 24px; }
    .oh-cta .hp-cta-image { display: none; }
    .oh-cta .hp-cta-actions { flex-direction: column; align-items: stretch; }
}
