/*
Theme Name: HMO For Sale
Theme URI: https://dev.hmoforsale.uk/
Author: HMO For Sale
Description: Custom theme for the HMO For Sale marketplace.
Version: 1.0.41
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: hmo-property
*/

:root {
    --hmo-ink: #0f1720;
    --hmo-navy: #0069ab;
    --hmo-blue: #169ddc;
    --hmo-sky: #169fdd;
    --hmo-soft: #f2f8fc;
    --hmo-line: #d9eaf5;
    --hmo-muted: #5f6b7a;
    --hmo-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--hmo-soft);
    color: var(--hmo-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

a {
    color: var(--hmo-blue);
}

img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 3px solid #b7d7e7;
    background: rgba(255,255,255,.96);
    box-shadow:
        inset 0 -1px 0 rgba(255,255,255,.88),
        0 5px 0 rgba(0,105,171,.08),
        0 16px 34px rgba(0,105,171,.14);
    backdrop-filter: blur(14px);
}

.admin-bar .site-header {
    top: auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(100% - 44px, 1490px);
    min-height: 78px;
    margin: 0 auto;
}

.site-logo {
    display: block;
    width: auto;
    max-width: 46vw;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 66px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(13px, 1.65vw, 24px);
}

.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 42px;
    border: 1px solid rgba(0,105,171,.18);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #eef8fd);
    color: var(--hmo-navy);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,105,171,.12);
}

.site-nav-toggle__bar {
    position: absolute;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.site-nav-toggle__bar:nth-child(2) {
    transform: translateY(-7px);
}

.site-nav-toggle__bar:nth-child(4) {
    transform: translateY(7px);
}

.site-header.is-nav-open .site-nav-toggle__bar:nth-child(2) {
    transform: rotate(45deg);
}

.site-header.is-nav-open .site-nav-toggle__bar:nth-child(3) {
    opacity: 0;
}

.site-header.is-nav-open .site-nav-toggle__bar:nth-child(4) {
    transform: rotate(-45deg);
}

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(13px, 1.65vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__menu .menu-item {
    position: relative;
    margin: 0;
}

.site-nav a,
.site-nav__menu a,
.site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--hmo-navy);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav > a,
.site-nav__group > .site-nav__toggle {
    min-height: 38px;
    padding: 0;
}

.site-nav__menu .menu-item-has-children > a::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.site-nav__toggle {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.site-nav__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: currentColor;
}

.site-nav__toggle::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.site-nav__group {
    position: relative;
}

.site-nav__group::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -12px;
    right: -12px;
    height: 12px;
}

.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 80;
    display: grid;
    min-width: 210px;
    padding: 8px;
    border: 1px solid rgba(0,105,171,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 50px rgba(0,42,68,.18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity .16s ease, transform .16s ease;
}

.site-nav__menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 80;
    display: grid;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(0,105,171,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 50px rgba(0,42,68,.18);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity .16s ease, transform .16s ease;
}

.site-nav__dropdown a {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 6px;
    padding: 11px 12px;
}

.site-nav__menu .sub-menu a {
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 11px 12px;
}

.site-nav__dropdown .site-nav__icon {
    width: 17px;
    height: 17px;
    color: var(--hmo-blue);
}

.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus,
.site-nav__menu .sub-menu a:hover,
.site-nav__menu .sub-menu a:focus {
    background: #eef7fc;
}

.site-nav__cta {
    border: 1px solid rgba(22,157,220,.35);
    border-radius: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--hmo-blue), #0069ab);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0,105,171,.22);
}

.site-nav__cta .site-nav__icon {
    width: 17px;
    height: 17px;
}

.site-nav__cta:hover,
.site-nav__cta:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #008fd0, #004e81);
    transform: translateY(-1px);
}

.site-nav__group:hover .site-nav__dropdown,
.site-nav__group:focus-within .site-nav__dropdown,
.site-nav__group.is-open .site-nav__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-nav__menu .menu-item:hover > .sub-menu,
.site-nav__menu .menu-item:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav__toggle:hover,
.site-nav__group:focus-within .site-nav__toggle,
.site-nav__group.is-open .site-nav__toggle {
    color: var(--hmo-sky);
}

.site-main {
    min-height: 65vh;
}

body.page:not(.home) .site-main {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(0,42,68,.50), rgba(0,42,68,.72)),
        url("https://dev.hmoforsale.uk/wp-content/themes/hmo-property-theme/assets/images/hmo-uk-property-hero-more-sky.png");
    background-attachment: fixed, fixed;
    background-position: center top, center top;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    padding-bottom: clamp(70px, 9vw, 130px);
}

body.single-hmo_listing .site-main {
    position: relative;
    padding-bottom: 0;
    background-color: #062f4f;
    background-image:
        radial-gradient(circle at 14% 8%, rgba(22, 159, 221, .26), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(22, 157, 220, .18), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.055) 0 1px, transparent 1px 24px),
        linear-gradient(180deg, #073b62 0%, #052b48 52%, #031f36 100%);
    background-attachment: fixed, fixed, fixed, fixed;
    background-position: center top, center top, center top, center top;
    background-repeat: no-repeat, no-repeat, repeat, no-repeat;
    background-size: cover, cover, 24px 24px, cover;
}

.site-main > .page-shell {
    width: min(100% - 44px, 1180px);
    margin: 0 auto;
    padding: 52px 0 80px;
}

.site-main > .page-shell:first-child {
    padding-top: 0;
}

.page-title {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: .98;
    text-shadow: 0 4px 18px rgba(0, 20, 34, .45);
}

body.page:not(.home) .entry-content > h1.wp-block-heading,
body.page:not(.home) .entry-content > .wp-block-cover:first-child h1.wp-block-heading,
body.single-hmo_listing .page-title {
    color: #fff !important;
    text-shadow: 0 4px 18px rgba(0, 20, 34, .45) !important;
}

.hmo-listing-strapline {
    max-width: 980px;
    margin: -8px 0 28px;
    color: #dff5ff;
    font-size: clamp(1.02rem, 1.8vw, 1.28rem);
    font-weight: 750;
    line-height: 1.45;
    text-shadow: 0 3px 14px rgba(0, 20, 34, .38);
}

.page-hero {
    display: grid;
    align-items: center;
    width: 100vw;
    min-height: 0;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 20px 22px;
    background: transparent;
}

.page-hero__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.page-hero .page-title {
    max-width: 760px;
    margin: 0;
    color: #fff;
    text-shadow: 0 4px 18px rgba(0, 20, 34, .45);
}

.page-shell--with-hero {
    position: relative;
    margin-bottom: 0 !important;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 8px;
    padding: clamp(28px, 5vw, 54px) !important;
    background: rgba(255,255,255,.92);
    box-shadow: 0 30px 90px rgba(0, 42, 68, .2);
    backdrop-filter: blur(8px);
}

body.page-id-50 .page-shell--with-hero {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.entry-featured-image,
.hmo-listing-gallery {
    margin: 0 0 34px;
}

.entry-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.entry-featured-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 8px;
}

.hmo-listing-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.hmo-listing-gallery figure {
    margin: 0;
}

.hmo-listing-gallery a {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 150px;
    border-radius: 8px;
    background: #dce9f1;
}

.hmo-listing-gallery figcaption {
    margin-top: 7px;
    color: #ffffff;
    font-size: .92rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 20, 34, .42);
}

.hmo-listing-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease;
}

.hmo-listing-gallery a:hover img {
    transform: scale(1.03);
}

.hmo-listing-gallery--sold .hmo-listing-gallery-main img,
.entry-featured-image--sold img {
    filter: grayscale(.4);
}

.hmo-listing-gallery-main {
    grid-column: span 2;
    grid-row: span 2;
}

.hmo-listing-gallery-main a {
    min-height: 430px !important;
}

.hmo-listing-map {
    display: grid;
    gap: 10px;
    width: 100vw;
    max-width: 100vw;
    margin: 48px calc(50% - 50vw) 0;
    padding: 0;
}

.hmo-listing-map h2 {
    width: min(100% - 44px, 1180px);
    margin: 0;
    margin-inline: auto;
    color: var(--hmo-navy);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.1;
}

.hmo-listing-map p {
    width: min(100% - 44px, 1180px);
    margin: 0;
    margin-inline: auto;
    color: #526171;
    font-weight: 750;
}

.hmo-listing-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 8;
    min-height: 420px;
    max-height: 620px;
    border: 0;
    border-radius: 0;
    background: #dce9f1;
    box-shadow: 0 18px 52px rgba(0, 42, 68, .16);
}

.hmo-listing-map--footer {
    margin-top: 0;
    gap: 0;
}

.hmo-listing-map--footer h2,
.hmo-listing-map--footer p {
    display: none;
}

.hmo-listing-map--footer iframe {
    height: clamp(430px, 42vh, 620px);
    min-height: 0;
    max-height: none;
    box-shadow: none;
}

.hmo-youtube-video-tour {
    display: grid;
    gap: 14px;
    width: min(100% - 44px, 1180px);
    margin: 48px auto 0;
}

.hmo-youtube-video-tour h2 {
    margin: 0;
    color: var(--hmo-navy);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.1;
}

.hmo-youtube-video-tour__frame {
    overflow: hidden;
    border: 1px solid #b7d7e7;
    border-radius: 8px;
    background: #102a43;
    box-shadow: 0 18px 52px rgba(0, 42, 68, .16);
}

.hmo-youtube-video-tour__frame iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.hmo-lightbox-open {
    overflow: hidden;
}

.hmo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px 76px;
    background: rgba(0, 20, 34, .92);
}

.hmo-lightbox.is-open {
    display: flex;
}

.hmo-lightbox__figure {
    display: grid;
    gap: 14px;
    width: min(100%, 1180px);
    margin: 0;
}

.hmo-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 142px);
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 22px 80px rgba(0, 0, 0, .42);
}

.hmo-lightbox__caption {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 850;
    text-align: center;
}

.hmo-lightbox__close,
.hmo-lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 105, 171, .72);
    cursor: pointer;
}

.hmo-lightbox__close {
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    font-size: 34px;
    line-height: 1;
}

.hmo-lightbox__nav {
    top: 50%;
    width: 54px;
    height: 54px;
    font-size: 48px;
    transform: translateY(-50%);
}

.hmo-lightbox__nav--prev {
    left: 18px;
}

.hmo-lightbox__nav--next {
    right: 18px;
}

.hmo-lightbox__close:hover,
.hmo-lightbox__nav:hover {
    background: #169ddc;
}

.wp-block-cover.alignfull {
    margin-top: 0;
}

.wp-block-button__link,
.hmo-button,
.hmo-card-link {
    border-radius: 6px !important;
    background: var(--hmo-blue) !important;
    color: #fff !important;
    font-weight: 850;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(22,157,220,.28);
}

.wp-block-button__link:hover,
.hmo-button:hover,
.hmo-card-link:hover {
    background: #0069ab !important;
}

.hmo-contact-layout {
    width: min(100%, 1120px);
    margin-right: auto;
    margin-left: auto;
}

.hmo-contact-layout > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(240px, .82fr) minmax(320px, 1.18fr);
    gap: clamp(22px, 4vw, 42px);
    align-items: start;
}

.hmo-contact-card,
.hmo-contact-form {
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 8px;
    padding: clamp(22px, 3vw, 34px);
    background: rgba(255,255,255,.94);
    box-shadow: 0 24px 70px rgba(0, 42, 68, .18);
}

.hmo-contact-card h2,
.hmo-contact-form h2 {
    margin-top: 0;
    color: var(--hmo-navy);
}

.hmo-contact-details {
    display: grid;
    gap: 16px;
    margin: 0;
}

.hmo-contact-details dt {
    color: var(--hmo-muted);
    font-size: .82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hmo-contact-details dd {
    margin: 4px 0 0;
    color: #162534;
    font-weight: 750;
}

.hmo-contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hmo-contact-fields label,
.hmo-contact-message {
    display: grid;
    gap: 7px;
    color: var(--hmo-navy);
    font-weight: 800;
}

.hmo-contact-message {
    grid-column: 1 / -1;
}

.hmo-contact-form input,
.hmo-contact-form textarea {
    width: 100%;
    border: 1px solid #c9d8e4;
    border-radius: 6px;
    padding: 12px 13px;
    color: #17212f;
    font: inherit;
}

.hmo-contact-form button {
    margin-top: 18px;
    border: 0;
    border-radius: 6px;
    padding: 13px 22px;
    background: var(--hmo-blue);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.hmo-contact-form button:hover {
    background: var(--hmo-navy);
}

.hmo-contact-recaptcha {
    margin-top: 18px;
}

.hmo-contact-notice {
    margin: 0 0 18px;
    border-left: 4px solid #c98208;
    border-radius: 6px;
    padding: 12px 14px;
    background: #fff8e8;
    color: #483100;
    font-weight: 750;
}

.hmo-contact-notice--success {
    border-left-color: #16834a;
    background: #ecfdf3;
    color: #103d25;
}

.hmo-contact-honeypot {
    position: absolute;
    left: -9999px;
}

.hmo-premium-hero,
.hmo-agency-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(22,159,221,.23), transparent 30%),
        linear-gradient(180deg, rgba(219,236,245,.98) 0%, rgba(190,216,230,.99) 54%, rgba(174,205,222,1) 100%),
        repeating-linear-gradient(135deg, rgba(22,157,220,.11) 0 1px, transparent 1px 22px);
    background-position: center top;
    background-size: auto, auto, 32px 32px;
    background-repeat: no-repeat;
}

.hmo-premium-hero .wp-block-cover__image-background,
.hmo-agency-hero .wp-block-cover__image-background {
    display: none;
}

.hmo-premium-hero .wp-block-cover__background,
.hmo-agency-hero .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.12) 48%, rgba(255,255,255,.22) 100%) !important;
    opacity: 1 !important;
}

.hmo-search-hero {
    display: grid;
    justify-items: center;
}

.hmo-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 auto 18px !important;
    border: 1px solid rgba(22,157,220,.22);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255,255,255,.58);
    color: var(--hmo-blue);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hmo-search-hero h1 {
    margin: 0 0 16px !important;
    color: var(--hmo-navy);
    font-size: clamp(2.5rem, 5.2vw, 4.6rem);
    line-height: .9;
}

.hmo-hero-intro {
    max-width: 780px;
    margin-right: auto !important;
    margin-left: auto !important;
    color: #17324d;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hmo-search-panel {
    display: grid;
    grid-template-columns: 1.2fr .8fr .9fr auto;
    gap: 10px;
    width: min(100%, 980px);
    margin: 22px auto 0;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.hmo-search-panel label {
    display: grid;
    gap: 4px;
}

.hmo-search-panel span {
    color: #536171;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hmo-search-panel input,
.hmo-search-panel select,
.hmo-alert-form input {
    min-height: 46px;
    border: 1px solid #d6e0e7;
    border-radius: 6px;
    padding: 9px 11px;
    font: inherit;
}

.hmo-search-panel button,
.hmo-alert-form button {
    min-height: 46px;
    align-self: end;
    border: 0;
    border-radius: 6px;
    padding: 10px 18px;
    background: var(--hmo-blue);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.hmo-appraisal-band {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: clamp(44px, 6vw, 72px) 22px 72px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(22,159,221,.23), transparent 30%),
        linear-gradient(180deg, rgba(219,236,245,.98) 0%, rgba(190,216,230,.99) 54%, rgba(174,205,222,1) 100%),
        repeating-linear-gradient(135deg, rgba(22,157,220,.11) 0 1px, transparent 1px 22px);
    background-position: center top;
    background-size: auto, auto, 32px 32px;
    background-repeat: no-repeat;
}

.hmo-appraisal-band > .wp-block-columns {
    border: 1px solid #dde7ee;
    border-radius: 8px;
    padding: clamp(26px, 4vw, 42px);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(4px);
    box-shadow: 0 30px 80px rgba(15,23,32,.12);
}

.hmo-section {
    padding: clamp(56px, 8vw, 96px) 22px;
}

.hmo-launch-notice {
    position: relative;
    z-index: 3;
    padding: clamp(22px, 4vw, 34px) 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(22,159,221,.28), transparent 32%),
        linear-gradient(135deg, #003452 0%, #005f93 58%, #0087c4 100%);
    color: #fff;
}

.hmo-launch-notice__inner {
    gap: 18px 28px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    padding: clamp(20px, 3vw, 30px);
    background: rgba(0,42,68,.34);
    box-shadow: 0 22px 60px rgba(0,23,39,.24);
}

.hmo-launch-notice__copy {
    max-width: 760px;
}

.hmo-launch-notice__eyebrow {
    margin: 0 0 8px;
    color: #bfe9fb;
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hmo-launch-notice h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.08;
}

.hmo-launch-notice p {
    color: rgba(255,255,255,.86);
}

.hmo-launch-notice__actions {
    flex: 0 0 auto;
}

.hmo-launch-notice .wp-block-button__link {
    border: 1px solid rgba(255,255,255,.22);
    background: #fff;
    color: var(--hmo-navy);
    font-weight: 850;
}

.hmo-launch-notice--hero {
    width: min(100%, 900px);
    margin: 18px auto 0;
    padding: 0;
    background: transparent;
}

.hmo-launch-notice--hero .hmo-launch-notice__inner {
    justify-content: center;
    gap: 14px 22px;
    border-color: rgba(255,255,255,.28);
    padding: 16px 18px;
    background: rgba(0,42,68,.28);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 45px rgba(0,23,39,.22);
}

.hmo-launch-notice--hero .hmo-launch-notice__copy {
    max-width: 620px;
}

.hmo-launch-notice--hero .hmo-launch-notice__eyebrow {
    margin-bottom: 5px;
    font-size: .74rem;
}

.hmo-launch-notice--hero h2 {
    margin-bottom: 5px;
    font-size: clamp(1.16rem, 2.1vw, 1.55rem);
}

.hmo-launch-notice--hero p {
    margin: 0;
    font-size: .96rem;
}

.hmo-launch-notice--hero .wp-block-button__link {
    padding: 11px 16px;
}

.hmo-section-light,
.hmo-cities {
    background: #fff;
}

.hmo-section h2,
.hmo-media-band h2 {
    color: var(--hmo-navy);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.04;
}

.hmo-section-lead {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    color: var(--hmo-muted);
    font-size: 1.16rem;
}

.hmo-media-band {
    background:
        radial-gradient(circle at 86% 10%, rgba(22,159,221,.22), transparent 28%),
        linear-gradient(90deg, rgba(190,216,230,.99), rgba(219,236,245,.96)),
        repeating-linear-gradient(135deg, rgba(22,157,220,.105) 0 1px, transparent 1px 22px);
    background-position: center;
    background-size: auto, auto, 32px 32px;
    background-repeat: no-repeat;
}

.hmo-media-band .wp-block-media-text__content {
    padding: clamp(44px, 7vw, 88px) clamp(24px, 7vw, 92px) !important;
}

.hmo-media-band .wp-block-media-text__media img {
    min-height: 540px;
    object-fit: cover;
}

.hmo-section-dark {
    background: radial-gradient(circle at 30% 0%, rgba(22,159,221,.24), transparent 34%), var(--hmo-navy);
    color: #fff;
}

.hmo-section-dark h2,
.hmo-section-dark p {
    color: #fff;
}

.hmo-alert-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 10px;
    max-width: 820px;
    margin: 28px auto 0;
}

.hmo-alert-form input {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.hmo-alert-consent,
.hmo-alert-captcha {
    grid-column: 1 / -1;
}

.hmo-alert-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,.84);
    font-size: .92rem;
    line-height: 1.35;
}

.hmo-alert-consent input {
    flex: 0 0 auto;
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.hmo-alert-captcha {
    display: grid;
    grid-template-columns: minmax(140px, .6fr) minmax(160px, 1fr);
    gap: 8px 10px;
    align-items: center;
}

.hmo-alert-captcha label {
    color: rgba(255,255,255,.88);
    font-weight: 850;
}

.hmo-alert-captcha-status {
    grid-column: 1 / -1;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
}

.hmo-alert-form input::placeholder {
    color: rgba(255,255,255,.72);
}

.hmo-hidden-field {
    display: none !important;
}

.hmo-city-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.hmo-city-grid a {
    border: 1px solid #dfe7ee;
    border-radius: 8px;
    padding: 14px 16px;
    background: #f8fafb;
    color: var(--hmo-navy);
    font-weight: 850;
    text-decoration: none;
}

.hmo-city-grid a:hover {
    border-color: var(--hmo-sky);
    background: #fff;
}

.hmo-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.hmo-price-card {
    display: grid;
    gap: 14px;
    border: 1px solid #d9eaf5;
    border-radius: 8px;
    padding: clamp(20px, 3vw, 28px);
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(0, 105, 171, .08);
}

.hmo-price-card-featured {
    border-color: var(--hmo-sky);
    box-shadow: 0 22px 58px rgba(22, 157, 220, .16);
}

.hmo-price-card h2,
.hmo-payment-steps h2 {
    margin: 0;
    color: var(--hmo-navy);
}

.hmo-price {
    color: var(--hmo-blue);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
}

.hmo-price small {
    color: var(--hmo-muted);
    font-size: .92rem;
    font-weight: 750;
}

.hmo-price-card ul,
.hmo-payment-steps ol {
    margin: 0;
    padding-left: 1.1rem;
}

.hmo-price-card li,
.hmo-payment-steps li {
    margin: 0 0 8px;
}

.hmo-payment-steps {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    border-left: 5px solid var(--hmo-sky);
    border-radius: 8px;
    padding: clamp(20px, 3vw, 28px);
    background: #eef7fc;
}

.hmo-faq-intro {
    max-width: 860px;
    margin: 0 0 28px;
    color: var(--hmo-muted);
    font-size: 1.12rem;
}

.hmo-faq-grid {
    display: grid;
    gap: 14px;
}

.hmo-faq-item {
    border: 1px solid #d9eaf5;
    border-radius: 8px;
    padding: clamp(18px, 3vw, 26px);
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 44px rgba(0, 105, 171, .08);
}

.hmo-faq-item h2 {
    margin: 0 0 10px;
    color: var(--hmo-navy);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hmo-faq-item p,
.hmo-faq-item ul {
    margin-top: 0;
}

.hmo-comparison-table {
    overflow-x: auto;
    margin: 24px 0;
}

.hmo-comparison-table table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: #fff;
}

.hmo-comparison-table th,
.hmo-comparison-table td {
    border: 1px solid #d9eaf5;
    padding: 12px 14px;
    text-align: left;
}

.hmo-comparison-table th {
    background: #eef7fc;
    color: var(--hmo-navy);
}

.hmo-inner-hero .wp-block-cover__background {
    background: linear-gradient(90deg, rgba(0,42,68,.88), rgba(22,157,220,.58)) !important;
}

.page-id-13 .hmo-inner-hero .wp-block-cover__image-background,
.page-id-13 .hmo-inner-hero .wp-block-cover__background {
    display: none !important;
}

.page-id-13 .hmo-inner-hero {
    display: flex !important;
    align-items: center !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    background: transparent !important;
}

.page-id-13 .hmo-inner-hero .wp-block-cover__inner-container {
    transform: none;
}

.page-id-13 .hmo-inner-hero .hmo-page-hero-title {
    font-size: clamp(1.7rem, 3vw, 2.55rem) !important;
    line-height: 1.08;
}

.page-id-11 .page-hero,
.page-id-65 .page-hero {
    min-height: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.page-id-13 .hmo-inner-hero .wp-block-cover__inner-container > :not(h1):not(h2) {
    display: none !important;
}

.page-id-13 .hmo-inner-hero + * {
    margin-top: 0 !important;
    padding-top: 20px !important;
}

.site-footer {
    background: var(--hmo-navy);
    color: #dff5ff;
}

.site-footer__inner {
    display: grid;
    gap: 26px;
    width: min(100% - 44px, 1180px);
    margin: 0 auto;
    padding: 30px 0;
}

.site-footer a {
    color: #fff;
}

.site-footer__brand p {
    margin: 0 0 8px;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(145px, 1fr));
    gap: clamp(24px, 4vw, 56px);
    width: 100%;
}

.site-footer__column {
    display: grid;
    gap: 9px;
}

.site-footer__menu {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__menu li {
    margin: 0;
}

.site-footer__menu--cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}

.site-footer__text {
    display: grid;
    gap: 5px;
    max-width: 28ch;
    color: rgba(255,255,255,.82);
    font-size: 0.92rem;
    line-height: 1.55;
}

.site-footer__text p {
    margin: 0;
}

.site-footer__column h2 {
    margin: 0 0 2px;
    color: #9be7ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__column a {
    width: fit-content;
    text-decoration: none;
}

.site-footer__column a:hover,
.site-footer__column a:focus {
    text-decoration: underline;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 6px;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(155,231,255,.34);
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    color: #fff;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus {
    border-color: rgba(155,231,255,.72);
    background: rgba(22,157,220,.26);
    text-decoration: none;
    transform: translateY(-1px);
}

.site-footer__social-icon {
    width: 18px;
    height: 18px;
}

.site-footer__bottom {
    border-top: 1px solid rgba(155,231,255,.22);
    padding-top: 17px;
    color: rgba(255,255,255,.78);
    font-size: 0.9rem;
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .site-header__inner {
        position: relative;
        align-items: center;
        flex-direction: row;
        gap: 14px;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        position: relative;
        z-index: 102;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 100;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        padding: 12px;
        border: 1px solid rgba(0,105,171,.15);
        border-radius: 10px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 24px 60px rgba(0,42,68,.22);
        backdrop-filter: blur(14px);
    }

    .site-header.is-nav-open .site-nav {
        display: flex;
    }

    .site-nav__menu {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .site-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav a,
    .site-nav__menu a,
    .site-nav__toggle {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        border-radius: 8px;
        padding: 11px 12px;
        white-space: normal;
    }

    .site-nav__toggle {
        justify-content: flex-start;
    }

    .site-nav__toggle span {
        margin-right: auto;
    }

    .site-nav__toggle::after {
        margin-left: auto;
    }

    .site-nav__menu .menu-item {
        width: 100%;
    }

    .site-nav__group {
        width: 100%;
        position: static;
    }

    .site-nav__group::after {
        display: none;
    }

    .site-nav__dropdown {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 2px;
        padding: 4px;
        border-color: rgba(0,105,171,.11);
        background: #eef7fc;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-nav__menu .sub-menu {
        position: static;
        display: grid;
        width: 100%;
        min-width: 0;
        margin: 2px 0 0;
        padding: 4px;
        border-color: rgba(0,105,171,.11);
        background: #eef7fc;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-nav__group:hover .site-nav__dropdown,
    .site-nav__group:focus-within .site-nav__dropdown,
    .site-nav__group.is-open .site-nav__dropdown {
        display: grid;
        transform: none;
    }

    .site-nav__menu .menu-item:hover > .sub-menu,
    .site-nav__menu .menu-item:focus-within > .sub-menu {
        transform: none;
    }

    .site-nav__cta {
        justify-content: center;
        margin-top: 2px;
    }

    .hmo-search-panel,
    .hmo-alert-form {
        grid-template-columns: 1fr;
    }

    .hmo-contact-layout,
    .hmo-contact-fields {
        grid-template-columns: 1fr;
    }

    .hmo-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hmo-pricing-grid {
        grid-template-columns: 1fr;
    }

    .hmo-listing-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hmo-listing-gallery-main a {
        min-height: 320px !important;
    }
}

@media (max-width: 640px) {
    .admin-bar .site-header {
        top: 46px;
    }

    body.page:not(.home) .site-main,
    body.single-hmo_listing .site-main {
        background-attachment: scroll;
    }

    .site-header__inner {
        width: min(100% - 28px, 1490px);
        min-height: 62px;
    }

    .site-logo {
        width: 160px;
    }

    .site-logo img {
        max-height: 52px;
    }

    .hmo-premium-hero,
    .hmo-agency-hero {
        min-height: 620px;
    }

    .hmo-city-grid {
        grid-template-columns: 1fr;
    }

    .hmo-listing-gallery {
        grid-template-columns: 1fr;
    }

    .hmo-listing-gallery-main a,
    .hmo-listing-gallery a {
        min-height: 240px !important;
    }

    .hmo-listing-map {
        margin-top: 34px;
    }

    .hmo-listing-map h2,
    .hmo-listing-map p {
        width: min(100% - 28px, 1180px);
    }

    .hmo-listing-map iframe {
        aspect-ratio: 4 / 3;
        min-height: 360px;
    }

    .hmo-listing-map--footer {
        margin-top: 0;
    }

    .hmo-listing-map--footer iframe {
        aspect-ratio: auto;
        height: 320px;
        min-height: 0 !important;
        max-height: none;
    }

    .hmo-youtube-video-tour {
        width: min(100% - 28px, 1180px);
        margin-top: 34px;
    }

    .hmo-lightbox {
        padding: 70px 14px 84px;
    }

    .hmo-lightbox__image {
        max-height: calc(100vh - 178px);
    }

    .hmo-lightbox__close {
        top: 14px;
        right: 14px;
    }

    .hmo-lightbox__nav {
        top: auto;
        bottom: 18px;
        width: 48px;
        height: 48px;
        font-size: 40px;
        transform: none;
    }

    .hmo-lightbox__nav--prev {
        left: calc(50% - 58px);
    }

    .hmo-lightbox__nav--next {
        right: calc(50% - 58px);
    }
}

@media (max-width: 560px) {
    .site-footer__columns {
        grid-template-columns: 1fr;
    }
}
