/* Preserve the owner's header design, with one in-flow sticky implementation. */
html,
body {
    overflow-x: clip;
}

html {
    scroll-padding-top: calc(var(--dotties-header-height, 248px) + 24px);
}

.elementor-location-header[data-elementor-id="43951"] {
    position: sticky;
    top: var(--dotties-adminbar-offset, 0px);
    z-index: 100;
    background: #fff;
    transition: transform 220ms ease-out;
}

.elementor-location-header[data-elementor-id="43951"].dotties-header-hidden {
    transform: translateY(calc(-100% - 2px));
}

.elementor-location-header[data-elementor-id="43951"]:focus-within {
    transform: translateY(0);
}

#header_pop {
    position: relative;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgb(22 22 63 / 8%);
}

#header_pop .elementor-widget-cmsmasters-site-logo__img {
    aspect-ratio: 273 / 192;
    height: auto;
}

#header_pop .elementor-nav-menu--dropdown {
    max-height: calc(100dvh - var(--dotties-header-height, 248px) - 12px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.admin-bar {
    --dotties-adminbar-offset: 32px;
}

.dotties-home-hero .elementor-invisible,
.dotties-facilities-hero .elementor-invisible {
    visibility: visible;
}

/* A quieter editorial presentation, built with editable Elementor widgets. */
.dotties-facilities-hero {
    --dotties-ink: #1c174e;
}

.dotties-facilities-hero .dotties-facilities-copy {
    padding: clamp(32px, 5vw, 80px);
    gap: 24px;
    align-items: flex-start;
}

.dotties-facilities-copy .elementor-widget-heading,
.dotties-facilities-copy .elementor-widget-text-editor {
    width: 100%;
    max-width: 540px;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #1c174e;
}

.dotties-facilities-copy h1 {
    text-wrap: balance;
    letter-spacing: -0.025em;
}

.dotties-facilities-copy .elementor-widget-text-editor p {
    text-align: left;
    font-size: 17px;
    line-height: 1.75;
}

.dotties-facilities-photo {
    min-height: 440px;
}

.dotties-homes-section {
    --dotties-ink: #1c174e;
    --dotties-muted: #535865;
    width: min(100%, 1320px);
    margin-inline: auto;
    gap: 0;
    color: var(--dotties-ink);
}

.dotties-section-intro {
    max-width: 720px;
    padding: 0;
    gap: 16px;
    margin-bottom: 36px;
}

.dotties-homes-section h2,
.dotties-homes-section h3 {
    color: var(--dotties-ink);
    font-family: "Merriweather", Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.dotties-homes-section h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.25;
}

.dotties-homes-section h3 {
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.3;
}

.dotties-homes-section p {
    margin: 0;
    color: var(--dotties-muted);
    font-size: 16px;
    line-height: 1.75;
}

.dotties-eyebrow .elementor-heading-title {
    color: #515873;
    font: 600 12px/1.5 "Montserrat", sans-serif;
    letter-spacing: 0.14em;
}

.dotties-homes-features {
    padding: 0;
    gap: 40px;
    margin-bottom: 72px;
}

.dotties-location {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    gap: 0;
    background: #f5f7f6;
}

.dotties-location-photo {
    width: 100%;
    margin: 0;
}

.dotties-location-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.dotties-location-details {
    flex: 1;
    padding: 28px 32px 32px;
    gap: 12px;
}

.dotties-location-details .dotties-tour-link {
    margin-top: auto;
    padding-top: 12px;
}

.dotties-tour-link .elementor-button {
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    padding: 0 0 5px;
    background: transparent;
    color: #1c174e;
    font-size: 15px;
    font-weight: 600;
    transition: color 160ms ease;
}

.dotties-tour-link .elementor-button:hover {
    background: transparent;
    color: #006f99;
}

.dotties-native-gallery {
    width: 100%;
}

.dotties-gallery-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.dotties-native-gallery .elementor-gallery__titles-container {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.dotties-native-gallery .elementor-gallery-title {
    margin: 0;
    padding: 11px 18px;
    border: 1px solid #dce0e4;
    border-radius: 4px;
    color: #1c174e;
    font: 500 14px/1.4 "Montserrat", sans-serif;
    transition: background-color 160ms ease, color 160ms ease;
}

.dotties-native-gallery .elementor-gallery-title.elementor-item-active,
.dotties-native-gallery .elementor-gallery-title:hover {
    color: #fff !important;
    background: #1c174e;
    border-color: #1c174e;
}

.dotties-native-gallery .elementor-gallery-title::before,
.dotties-native-gallery .elementor-gallery-title::after {
    display: none;
}

.dotties-native-gallery .e-gallery-item {
    border-radius: 4px;
    background: #eef0ed;
}

.dotties-native-gallery .elementor-gallery-item__overlay {
    background: linear-gradient(180deg, transparent 45%, rgb(15 19 28 / 68%));
}

.dotties-native-gallery .elementor-gallery-item__content {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 18px;
    opacity: 1;
}

.dotties-native-gallery .elementor-gallery-item__title {
    color: #fff;
    font: 500 15px/1.4 "Montserrat", sans-serif;
}

.dotties-native-gallery a:focus-visible,
.dotties-tour-link a:focus-visible,
#header_pop a:focus-visible,
#header_pop .elementor-menu-toggle:focus-visible {
    outline: 3px solid #007ba6;
    outline-offset: 4px;
}

@media (max-width: 1024px) {
    .dotties-facilities-hero {
        flex-direction: column;
    }

    .dotties-facilities-copy,
    .dotties-facilities-photo {
        width: 100%;
    }

    .dotties-homes-features {
        gap: 24px;
    }
}

@media (max-width: 782px) {
    body.admin-bar {
        --dotties-adminbar-offset: 46px;
    }
}

@media (max-width: 767px) {
    #header_pop .elementor-nav-menu--dropdown {
        margin-top: 20px;
    }

    .dotties-facilities-photo {
        min-height: 280px;
    }

    .dotties-homes-features {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
    }

    .dotties-location {
        width: 100%;
        flex-basis: auto;
    }

    .dotties-location-details {
        padding: 24px;
    }

    .dotties-native-gallery .elementor-gallery-title {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    body.admin-bar {
        --dotties-adminbar-offset: 0px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elementor-location-header[data-elementor-id="43951"],
    .dotties-native-gallery *,
    .dotties-home-hero *,
    .dotties-facilities-hero * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
