/*
 * Theme overrides
 *
 * Add hand-written CSS changes here instead of recompiling style.css.
 */

.front-wrapper .hero .hero-media-wrapper {
    display: contents;
}

.front-wrapper .hero .vid-wrapper.has-video .front-hero-still {
    display: none;
}

.sticky-phone {
    display: none;
}

.contact-wrapper {
    padding: 260px 0 150px;
}

.contact-wrapper .content-wrapper .form-wrapper {
    margin: 120px auto 0;
}

.contact-wrapper .contact-action {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}

.contact-wrapper .details-wrapper address.address {
    margin: 0 0 min(28px, 1.458vw);
    font-family: "NarkissBlock-Regular", sans-serif;
    font-size: min(24px, 1.25vw);
    line-height: 1.25;
    font-style: normal;
}

.about-wrapper .team-wrapper .legend button.item {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.about-wrapper button.button {
    background: transparent;
    color: inherit;
}

.about-wrapper button.button:hover {
    background: rgba(57, 87, 165, 0.1);
}

.about-wrapper .team-wrapper .view a.item {
    display: block;
    color: inherit;
}

.team-member-wrapper {
    min-height: 100vh;
    padding: 260px 0 120px;
    background: #fffcf4;
    color: #3957a5;
}

.team-member-layout {
    display: grid;
    direction: ltr;
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-areas:
        "heading media"
        "bio media";
    column-gap: 80px;
    row-gap: 44px;
    width: 100%;
    max-width: 1044px;
    margin: 0 auto;
}

.team-member-heading {
    grid-area: heading;
    direction: rtl;
    align-self: start;
    text-align: right;
}

.team-member-heading h1 {
    font-family: "GretaText", sans-serif;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 400;
}

.team-member-heading > p {
    margin-top: 6px;
    font-family: "NarkissBlock-Bold", sans-serif;
    font-size: 30px;
    line-height: 32px;
}

.team-member-icon {
    display: block;
    width: 32px;
    height: auto;
    margin: 44px 0 0;
}

.team-member-media {
    grid-area: media;
    direction: rtl;
}

.team-member-image {
    position: relative;
    width: 100%;
    aspect-ratio: 230 / 284;
    overflow: hidden;
    background: #e9e6d7;
}

.team-member-meta {
    margin-top: 24px;
    padding: 18px 14px;
    border: 2px solid #3957a5;
    font-family: "GretaText", sans-serif;
    font-size: 24px;
    line-height: 1.5;
}

.team-member-meta p:not(:first-child) {
    margin-top: 4px;
}

.team-member-meta strong {
    font-family: "NarkissBlock-Bold", sans-serif;
    font-size: 23px;
}

.team-member-bio {
    grid-area: bio;
    direction: rtl;
    align-self: start;
    font-size: 28px;
    line-height: 1.6;
}

.team-member-bio p + p {
    margin-top: 18px;
}

@media screen and (max-width: 1840px) {
    .contact-wrapper {
        padding: 208px 0 120px;
    }

    .contact-wrapper .content-wrapper .form-wrapper {
        margin: 96px auto 0;
    }

    .team-member-wrapper {
        padding: 208px 0 96px;
    }

    .team-member-layout {
        grid-template-columns: minmax(0, 1fr) 264px;
        column-gap: 64px;
        row-gap: 35.2px;
        max-width: 835.2px;
    }

    .team-member-heading h1 {
        font-size: 57.6px;
    }

    .team-member-heading > p {
        margin-top: 4.8px;
        font-size: 24px;
        line-height: 25.6px;
    }

    .team-member-icon {
        width: 25.6px;
        margin-top: 35.2px;
    }

    .team-member-meta {
        margin-top: 19.2px;
        padding: 14.4px 11.2px;
        border-width: 1.6px;
        font-size: 19.2px;
    }

    .team-member-meta p:not(:first-child) {
        margin-top: 3.2px;
    }

    .team-member-meta strong {
        font-size: 18.4px;
    }

    .team-member-bio {
        font-size: 22.4px;
    }

    .team-member-bio p + p {
        margin-top: 14.4px;
    }
}

@media screen and (max-width: 1024px) {
    .sticky-phone {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #fff683;
        box-shadow: rgba(50, 50, 93, 0.25) 0 13px 27px -5px, rgba(0, 0, 0, 0.3) 0 8px 16px -8px;
    }

    .sticky-phone svg {
        display: block;
        width: auto;
        height: 28px;
    }

    .sticky-phone svg path {
        fill: #3957a5;
    }

    .contact-wrapper {
        padding: 140px 0 32px;
    }

    .contact-wrapper .content-wrapper .form-wrapper {
        margin: 80px auto 0;
    }

    .contact-wrapper .details-wrapper address.address {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 20px;
    }

    .team-member-wrapper {
        padding: 100px 0 40px;
    }

    .team-member-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "media"
            "bio";
        row-gap: 30px;
        max-width: 440px;
    }

    .team-member-heading h1 {
        font-size: 40px;
    }

    .team-member-heading > p {
        font-size: 24px;
    }

    .team-member-icon {
        margin-top: 30px;
    }

    .team-member-media {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .team-member-meta {
        margin-top: 20px;
        padding: 14px 12px;
        border-width: 1.5px;
        font-size: 20px;
    }

    .team-member-meta strong {
        font-size: 19px;
    }

    .team-member-bio,
    .team-member-bio p {
        font-size: 20px;
        line-height: 24px;
    }

    .front-wrapper .hero {
        height: auto;
    }

    .front-wrapper .hero .text-wrapper {
        width: 284px;
        padding-top: 104px;
        height: 100vh;
        height: 100svh;
        min-height: 600px;
    }

    .front-wrapper .hero .text-wrapper .text h1,
    .front-wrapper .hero .text-wrapper .text h2 {
        font-size: 32px;
        line-height: 31px;
    }

    .front-wrapper .hero .text-wrapper .links-wrapper {
        width: 100%;
        margin: 28px auto 0;
        transform: none;
        visibility: visible;
        opacity: 1;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .front-wrapper .hero .text-wrapper .links-wrapper .link-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
    }

    .front-wrapper .hero .text-wrapper .links-wrapper > .link-wrapper:nth-child(n + 2) {
        display: none;
    }

    .front-wrapper .hero .arrow {
        display: none;
    }

    .front-wrapper .hero .hero-media-wrapper {
        position: relative;
        display: block;
        width: 100%;
        height: 100vh;
        height: 100svh;
        min-height: 600px;
        background: #fffcf4;
    }

    .front-wrapper .hero .hero-media-wrapper:not(.has-mobile-image):not(.has-promo) {
        display: none;
    }

    .front-wrapper .hero .hero-media-wrapper .vid-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin-left: 0;
        transform: none;
    }

    .front-wrapper .hero .hero-media-wrapper .vid-wrapper.has-video .front-hero-video {
        display: none;
    }

    .front-wrapper .hero .hero-media-wrapper .vid-wrapper.has-video .front-hero-still {
        display: block;
    }

    .front-wrapper .hero .hero-media-wrapper .event-promo {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
}

.day-wrapper .top-row .panel button.item,
.day-wrapper .videos-wrapper button.time-item,
.model-with-dots button.dot-wrapper {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.day-wrapper .top-row .panel button.item {
    cursor: pointer;
}

.day-wrapper .top-row .panel .item .icon-wrapper {
    display: block;
}

.day-wrapper .top-row .panel .item .day-tab-title {
    position: relative;
    display: block;
    margin: 16px 0 0;
    text-align: center;
    font-family: "GretaText";
    font-size: 32px;
    line-height: 38.4px;
}

.day-wrapper .top-row .panel .item.active .day-tab-title {
    font-family: "GretaText";
    line-height: 36px;
}

.day-wrapper .videos-wrapper .item .time-item {
    cursor: pointer;
    text-align: right;
}

.day-wrapper .videos-wrapper .item .time-item-hour,
.day-wrapper .videos-wrapper .item .time-item-text {
    display: block;
    max-width: 260px;
    font-family: "NarkissBlock-Regular";
    font-size: 32px;
    line-height: 32px;
}

.day-wrapper .videos-wrapper .item .time-item-text {
    margin: 8px 0 0;
}

.day-wrapper .videos-wrapper .item .time-item-text strong {
    font-family: "NarkissBlock-Bold";
}

.model-with-dots button.dot-wrapper .dot,
.model-with-dots button.dot-wrapper .tooltip {
    display: block;
}

.model-with-dots .dot-wrapper .tooltip {
    text-align: right;
}

.model-with-dots button.dot-wrapper .tooltip > span {
    font-family: "NarkissBlock-Medium";
    font-size: 24px;
    line-height: 26px;
}

.model-with-dots button.dot-wrapper:focus-visible .tooltip,
.model-with-dots button.dot-wrapper.active .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1840px) and (min-width: 1025px) {
    .day-wrapper .top-row .panel .item .day-tab-title {
        margin-top: 12.8px;
        font-size: 25.6px;
        line-height: 30.72px;
    }

    .day-wrapper .top-row .panel .item.active .day-tab-title {
        line-height: 28.8px;
    }

    .day-wrapper .videos-wrapper .item .time-item-hour,
    .day-wrapper .videos-wrapper .item .time-item-text {
        max-width: 208px;
        font-size: 25.6px;
        line-height: 25.6px;
    }

    .day-wrapper .videos-wrapper .item .time-item-text {
        margin-top: 6.4px;
    }

    .model-with-dots button.dot-wrapper .tooltip > span {
        font-size: 19.2px;
        line-height: 20.8px;
    }
}

@media screen and (max-width: 1024px) {
    .day-wrapper .top-row .panel .item .day-tab-title,
    .day-wrapper .top-row .panel .item.active .day-tab-title {
        margin: 8px auto 0;
        font-family: "GretaText";
        font-size: 16px;
        line-height: 1;
    }

    .day-wrapper .videos-wrapper .item .time-item-hour,
    .day-wrapper .videos-wrapper .item .time-item-text {
        max-width: 158px;
        font-size: 18px;
        line-height: 20px;
    }

    .model-with-dots button.dot-wrapper .tooltip > span {
        font-size: 18px;
        line-height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .model-with-dots .dot-wrapper .pulse {
        animation: none;
    }
}

@media screen and (min-width: 1025px) {
    .homes-wrapper {
        padding: 260px 0 0;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1830px) {
    .homes-wrapper {
        padding: 208px 0 0;
    }
}

.home-wrapper .map-wrapper button.button {
    appearance: none;
    border: 0;
    cursor: pointer;
}

.home-wrapper .find-wrapper .amenities-grid .item[role="button"] {
    cursor: pointer;
}

.home-wrapper .find-wrapper .amenities-grid .item[role="button"]:focus-visible,
.home-wrapper .day-wrapper button:focus-visible,
.home-wrapper .model-with-dots button.dot-wrapper:focus-visible {
    outline: 2px solid #3957a5;
    outline-offset: 4px;
}

html.reduced-motion .wow {
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}

@media screen and (max-width: 1024px) {
    .home-wrapper .hero {
        padding: 60px 0 0;
    }

    .home-wrapper .hero .headline-wrapper .rec {
        max-width: 440px;
        text-align: center;
    }

    .home-wrapper .hero .headline-wrapper .tag {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        position: relative;
        display: inline-block;
        bottom: auto;
        right: auto;
        left: auto;
        margin: 6px 0 0;
        height: auto;
        padding: 6px 10px;
    }

    .home-wrapper .page-wrapper .team-wrapper .team-grid .item {
        width: 56%;
        max-width: 200px;
    }

    .home-wrapper .page-wrapper .team-wrapper .team-grid .item .img-wrapper .inner-height {
        height: auto;
        aspect-ratio: 1 / 1.318;
    }

    .about-wrapper .team-wrapper .content-wrapper .views .view .item {
        width: 56%;
        max-width: 200px;
    }

    .about-wrapper .team-wrapper .content-wrapper .views .view .item .img-wrapper .inner-height {
        height: auto;
        aspect-ratio: 1 / 1.318;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-wrapper *,
    .home-wrapper *::before,
    .home-wrapper *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.home-wrapper .house-services {
    margin: 80px 0 0;
}

.home-wrapper .house-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 36px;
    width: 100%;
    margin: 0 auto;
}

.home-wrapper .house-service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
}

.home-wrapper .house-service-card:focus-visible {
    outline: 3px solid #fff683;
    outline-offset: 4px;
}

.home-wrapper .house-service-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eadcbc;
}

.home-wrapper .house-service-visual img {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: all .26s ease-out;
    -webkit-transition: all .26s ease-out;
}

.home-wrapper .house-service-card:hover .house-service-visual img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.home-wrapper .house-service-visual h3 {
    position: absolute;
    right: 50%;
    bottom: 30px;
    left: auto;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    margin-right: -160px;
    color: #3957a5;
    font-family: "GretaText";
    font-size: 48px;
    line-height: 0.95;
    text-align: center;
    text-wrap: pretty;
}

.home-wrapper .house-service-description {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 138px;
    padding: 20px 28px;
    background: #3957a5;
    color: #fffcf4;
    font-family: "NarkissBlock-Regular";
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    text-wrap: pretty;
}

.service-page-wrapper {
    min-height: 100vh;
    padding: 200px 0 130px;
    background: #3957a5;
    color: #fffcf4;
    direction: rtl;
}

.service-page-wrapper > .content-wrapper {
    width: calc(100% - 80px);
    max-width: 1040px;
    margin: 0 auto;
}

.service-page-heading {
    text-align: center;
}

.service-page-heading h1 {
    max-width: 1200px;
    margin: 0 auto;
    font-family: "GretaText", sans-serif;
    font-size: 72px;
    line-height: 0.88;
}

.service-page-icon {
    display: block;
    width: 60px;
    height: auto;
    margin: 30px auto 0;
    fill: #f0bf2f;
}

.service-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 100px;
    align-items: start;
    margin: 56px auto 0;
}

.service-page-copy {
    max-width: 720px;
}

.service-page-body,
.service-page-body p,
.service-page-body li {
    font-family: "NarkissBlock-Regular";
    font-size: 24px;
    line-height: 1.35;
}

.service-page-body p + p,
.service-page-body ul,
.service-page-body ol {
    margin-top: 22px;
}

.service-page-body h2,
.service-page-body h3 {
    margin: 22px 0;
    font-size: 28px;
    line-height: 1.2;
}

.service-page-body strong,
.service-page-body b {
    font-family: "NarkissBlock-Bold";
}

.service-page-body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-page-body ol {
    padding-right: 24px;
}

.service-page-body ul {
    padding-right: 0;
    list-style: none;
}

.service-page-body ul li {
    position: relative;
    padding-right: 32px;
}

.service-page-body ul li::before {
    content: "";
    position: absolute;
    top: 0.3em;
    right: 0;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 49 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.923828 48H48.8869C48.8869 21.4901 27.4128 0 0.923828 0' fill='%23B8A136'/%3E%3C/svg%3E") center / contain no-repeat;
}

.service-page-wrapper .service-page-form {
    position: relative;
    width: 100%;
    padding-top: 40px;
    direction: rtl;
}

.service-page-wrapper .service-page-form form {
    position: relative;
    direction: rtl;
    text-align: right;
}

.service-page-wrapper .service-page-form .wpcf7-form > p {
    margin: 0 0 24px;
}

.service-page-wrapper .service-page-form input[type="text"],
.service-page-wrapper .service-page-form input[type="email"],
.service-page-wrapper .service-page-form input[type="tel"],
.service-page-wrapper .service-page-form input[type="number"],
.service-page-wrapper .service-page-form select {
    border-color: #fffcf4;
    color: #fffcf4;
}

.service-page-wrapper .service-page-form input::placeholder {
    color: #fffcf4 !important;
    opacity: 1 !important;
}

.service-page-wrapper .service-page-form input.wpcf7-not-valid {
    border: 2px solid #ff3653;
}

.service-page-wrapper .service-page-form select.placeholder,
.service-page-wrapper .service-page-form select.placeholder:focus {
    color: #fffcf4 !important;
}

.service-page-wrapper .service-page-form select option {
    background: #fffcf4;
    color: #3957a5;
}

.service-page-wrapper .service-page-form .select-wrapper svg path {
    fill: #fffcf4;
}

.service-page-wrapper .service-page-form.form-wrapper button {
    margin: 0;
    background: #fff;
    color: #3957a5;
}

.service-page-wrapper .service-page-form.form-wrapper button svg path {
    stroke: #3957a5;
}

@media screen and (max-width: 1840px) and (min-width: 1025px) {
    .home-wrapper .house-services {
        margin-top: 64px;
    }

    .home-wrapper .house-services-grid {
        gap: 35.2px 28.8px;
    }

    .home-wrapper .house-service-visual h3 {
        right: 50%;
        bottom: 24px;
        left: auto;
        max-width: 256px;
        margin-right: -128px;
        font-size: 38.4px;
    }

    .home-wrapper .house-service-description {
        min-height: 110.4px;
        padding: 16px 22.4px;
        font-size: 19.2px;
        line-height: 24px;
    }

    .service-page-wrapper {
        padding: 160px 0 104px;
    }

    .service-page-wrapper > .content-wrapper {
        width: calc(100% - 64px);
        max-width: 832px;
    }

    .service-page-heading h1 {
        max-width: 960px;
        font-size: 57.6px;
    }

    .service-page-icon {
        width: 48px;
        margin-top: 24px;
    }

    .service-page-layout {
        grid-template-columns: minmax(0, 1fr) 352px;
        gap: 80px;
        margin-top: 44.8px;
    }

    .service-page-copy {
        max-width: 576px;
    }

    .service-page-body,
    .service-page-body p,
    .service-page-body li {
        font-size: 19.2px;
    }

    .service-page-body p + p,
    .service-page-body ul,
    .service-page-body ol {
        margin-top: 17.6px;
    }

    .service-page-body h2,
    .service-page-body h3 {
        margin: 17.6px 0;
        font-size: 22.4px;
    }

    .service-page-body a {
        text-underline-offset: 2.4px;
    }

    .service-page-body ol {
        padding-right: 19.2px;
    }

    .service-page-body ul li {
        padding-right: 25.6px;
    }

    .service-page-body ul li::before {
        width: 14.4px;
        height: 14.4px;
    }

    .service-page-wrapper .service-page-form {
        padding-top: 32px;
    }

    .service-page-wrapper .service-page-form .wpcf7-form > p {
        margin-bottom: 19.2px;
    }

    .service-page-wrapper .service-page-form input.wpcf7-not-valid {
        border-width: 1.6px;
    }
}

@media screen and (max-width: 1024px) {
    .home-wrapper .house-services {
        margin: 56px 0 0;
    }

    .home-wrapper .house-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .home-wrapper .house-service-visual h3 {
        right: 14px;
        bottom: 14px;
        left: 14px;
        width: auto;
        max-width: none;
        margin-right: 0;
        font-size: 22px;
        line-height: 1;
    }

    .home-wrapper .house-service-description {
        min-height: 108px;
        padding: 14px;
        font-size: 16px;
        line-height: 18px;
    }

    .service-page-wrapper {
        padding: 110px 0 60px;
    }

    .service-page-wrapper > .content-wrapper {
        width: calc(100% - 48px);
    }

    .service-page-heading h1 {
        font-size: 40px;
        line-height: 0.95;
    }

    .service-page-icon {
        width: 32px;
        height: auto;
        margin-top: 24px;
    }

    .service-page-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-top: 20px;
    }

    .service-page-copy {
        max-width: none;
    }

    .service-page-body,
    .service-page-body p,
    .service-page-body li {
        font-size: 20px;
        line-height: 24px;
    }

    .service-page-body h2,
    .service-page-body h3 {
        font-size: 22px;
    }

    .service-page-wrapper .service-page-form {
        padding-top: 0;
    }

}

@media (prefers-reduced-motion: reduce) {
    .home-wrapper .house-service-visual img {
        transition: none;
        -webkit-transition: none;
    }

    .home-wrapper .house-service-card:hover .house-service-visual img {
        -webkit-transform: none;
        transform: none;
    }
}
