/*
 * Central Point - site stylesheet
 * Replaces the Elementor / Elementor Pro / Unlimited Elements / Hello Elementor styles.
 * Sizes are the live site's at 1440px; breakpoints as before (tablet <= 1024px, phone <= 767px).
 * Font: Urbane Rounded from the Adobe Fonts kit (enqueued in inc/site/site.php).
 *
 *  1. Tokens                 7. Specification
 *  2. Base                   8. Location
 *  3. Shared components      9. News
 *  4. Header and menu       10. Footer
 *  5. Hero, intro, CGI      11. Lightbox
 *  6. Site plan             12. Inner pages
 */

/* 1. Tokens -------------------------------------------------------------- */

:root {
    --font: "urbane-rounded", "Helvetica Neue", Arial, sans-serif;

    --teal: #0d5966;
    --lime: #b2f10c;
    --blue: #9cc8d0;
    --grey: #545454;
    --light: #eaeaea;
    --plan-bg: #133138;
    --footer-bg: #143a3f;
    --row: #135965;
    --row-text: #217a8a;
    --header-bg: rgba(6, 47, 51, 0.8);

    --gutter: 60px;
    --header-h: max(8vh, 60px);
}

@media (max-width: 767px) {
    :root {
        --gutter: 30px;
        --header-h: max(12vh, 90px);
    }
}

/* 2. Base ---------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

html.menu-open {
    overflow: hidden;
}

body {
    margin: 0;
    background: #fff;
    color: #333;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, p, ul, figure, table {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

table {
    border-collapse: collapse;
    width: 100%;
}

:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 10px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--lime);
    color: var(--teal);
    font-weight: 600;
}

.skip-link:focus {
    top: 10px;
}

/* Scroll reveal, as the old fadeInLeft / fadeInUp / fadeInRight "slow" entrance animations (see central.js) */
.js [data-reveal] {
    opacity: 0;
}

.js [data-reveal].is-visible {
    animation: 2s ease var(--reveal-delay, 0ms) both;
}

.js [data-reveal="left"].is-visible {
    animation-name: reveal-left;
}

.js [data-reveal="up"].is-visible {
    animation-name: reveal-up;
}

.js [data-reveal="right"].is-visible {
    animation-name: reveal-right;
}

@keyframes reveal-left {
    from { opacity: 0; transform: translate3d(-100%, 0, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes reveal-up {
    from { opacity: 0; transform: translate3d(0, 100%, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes reveal-right {
    from { opacity: 0; transform: translate3d(100%, 0, 0); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js [data-reveal],
    .js [data-reveal].is-visible {
        opacity: 1;
        animation: none;
    }
}

/* 3. Shared components ----------------------------------------------------- */

.heading {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.5;
}

.heading--teal { color: var(--teal); }
.heading--lime { color: var(--lime); }

.kicker {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.kicker--white { color: #fff; }

.kicker--grey {
    color: var(--grey);
    font-size: 24px;
}

/* Pill button (brochure) */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 12px 24px;
    border: 2px solid var(--blue);
    border-radius: 60px;
    background: var(--blue);
    color: var(--teal);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background-color 0.6s, color 0.6s;
}

.btn:hover,
.btn:focus-visible {
    background: transparent;
    color: var(--blue);
}

.btn__icon {
    width: 14px;
    height: 14px;
    flex: none;
}

/* what3words address */
.w3w {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    color: #fff;
}

.w3w--teal {
    color: var(--teal);
}

.w3w a {
    transition: color 0.6s;
}

.w3w a:hover,
.w3w a:focus-visible {
    color: var(--lime);
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    .heading {
        font-size: 26px;
    }
}

/* 4. Header and menu ------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
    padding: 0 var(--gutter);
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background 0.5s ease-in-out, backdrop-filter 0.5s ease-in-out;
}

.site-header__brand,
.site-header__toggle,
.site-header__place {
    flex: 1 1 0;
    min-width: 0;
}

.site-header__logo {
    display: block;
    width: 50%;
}

.site-header__logo img {
    width: 100%;
}

.site-header__toggle {
    display: flex;
    justify-content: center;
}

.site-header__place {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
}

.menu-toggle {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 15px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--lime);
    transition: all 0.4s ease;
}

.menu-toggle__lines {
    position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
    content: "";
    position: absolute;
    left: 0;
    top: -10px;
    background: inherit;
}

.menu-toggle__lines::after {
    top: 10px;
}

.menu-toggle:hover .menu-toggle__lines {
    background: #fff;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    background: var(--lime);
    transform: rotate(135deg);
}

.menu-toggle[aria-expanded="true"]:hover .menu-toggle__lines {
    transform: rotate(225deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before,
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    top: 0;
    transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    opacity: 0;
}

/* Open menu: the header steps above the overlay with only the close button showing */
.menu-open .site-header {
    z-index: 120;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.menu-open .site-header__brand,
.menu-open .site-header__place {
    visibility: hidden;
}

.site-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: calc(var(--header-h) + 20px) 5vw 40px;
    background: var(--blue);
    visibility: hidden;
    opacity: 0;
    transform: translate(0, -100%);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}

.menu-open .site-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.site-menu__list {
    margin: auto 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-open .site-menu__list {
    opacity: 1;
    transition: opacity 0.4s ease 0.4s;
}

.site-menu__item {
    margin: 2px;
}

.site-menu__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--teal);
    font-size: 42px;
    font-weight: 300;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.4s ease;
}

.site-menu__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.4s ease;
}

.site-menu__link:hover::after,
.site-menu__link:focus-visible::after {
    width: 100%;
}

.site-menu__link:focus-visible {
    outline: none;
}

.site-menu__sub .site-menu__link {
    color: #fff;
}

.site-menu__arrow {
    position: absolute;
    right: -15px;
    width: 14px;
    height: 14px;
    transform: translateX(14px);
    transition: transform 0.3s ease;
}

.site-menu__parent[aria-expanded="true"] .site-menu__arrow {
    transform: translateX(14px) rotate(180deg);
}

@media (max-width: 1024px) {
    .site-header__logo {
        width: 100%;
    }

    .site-header__toggle {
        justify-content: flex-end;
    }

    .site-header__place {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 15px 0 15px 15px;
    }

    .site-header__brand {
        flex: 0 0 50%;
    }

    .site-header__toggle {
        flex: 0 0 40%;
        margin-left: auto;
        padding-right: 2px;
    }

    .site-menu__link {
        font-size: 26px;
    }
}

/* 5. Hero, intro, CGI ------------------------------------------------------ */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    min-height: 100vh;
    padding: 120px var(--gutter) 60px;
    overflow: hidden;
    background: var(--teal);
}

.hero__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(297deg, rgba(20, 58, 63, 0) 40%, rgba(20, 58, 63, 0.55) 64%);
    opacity: 0.89;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 42.514%;
}

.hero__title {
    color: var(--lime);
    font-size: 42px;
    font-weight: 500;
    line-height: 1.5;
}

.hero__text {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0.2em;
}

.hero__text p + p {
    margin-top: 30px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.intro {
    padding: 60px var(--gutter);
    background: var(--blue);
}

.intro__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.intro__text {
    width: 75%;
    color: var(--grey);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.cgi {
    padding: 30px;
    background: var(--light);
}

.cgi__image {
    width: 100%;
    border-radius: 6px;
}

@media (max-width: 1024px) {
    .hero__content {
        width: 75%;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: calc(var(--header-h) + 10px) var(--gutter) 30px;
    }

    .hero__content {
        width: 100%;
    }

    .hero__title {
        font-size: 26px;
    }

    .hero__text {
        font-size: 16px;
        line-height: 22px;
    }

    .hero__text p + p {
        margin-top: 22px;
    }

    .intro__inner {
        gap: 15px;
    }

    .intro__text {
        width: 100%;
    }

    .cgi {
        padding: 15px;
    }
}

/* 6. Site plan ------------------------------------------------------------- */

.siteplan {
    position: relative;
    background: var(--plan-bg);
    overflow: hidden;
}

.siteplan__label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    padding-top: 80px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

.siteplan__canvas {
    position: relative;
    aspect-ratio: 1920 / 1080;
}

.siteplan__image,
.siteplan__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.siteplan__unit {
    fill: var(--teal);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.siteplan__unit:hover,
.siteplan__unit.is-active {
    opacity: 0.01;
}

.siteplan__unit:focus {
    outline: none;
}

.siteplan__unit:focus-visible {
    opacity: 0.25;
    stroke: var(--lime);
    stroke-width: 4px;
}

.siteplan__boundary {
    fill: none;
    stroke: #b4d334;
    stroke-width: 5px;
    stroke-miterlimit: 10;
    pointer-events: none;
}

.siteplan__panel {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px var(--gutter);
}

.siteplan__details,
.siteplan__plans {
    flex: 1 1 0;
    min-width: 0;
}

.siteplan__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule {
    font-size: 12px;
    line-height: 18px;
    text-align: right;
}

.schedule th,
.schedule td {
    padding: 8px;
    border-bottom: 2px solid var(--row);
    vertical-align: top;
}

.schedule thead th {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.schedule tbody th,
.schedule td {
    color: var(--row-text);
    font-weight: 400;
    white-space: nowrap;
}

.schedule th:first-child {
    text-align: left;
}

.schedule tbody tr {
    cursor: pointer;
}

.schedule tbody tr:hover,
.schedule tbody tr.is-active {
    background: var(--row);
}

.schedule tbody tr:hover > *,
.schedule tbody tr.is-active > * {
    color: #fff;
}

.schedule__unit {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    line-height: inherit;
    cursor: pointer;
}

.floorplan {
    position: relative;
    height: 450px;
    border-radius: 6px;
    background: var(--teal);
}

.floorplan[hidden] {
    display: none;
}

.floorplan__image {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: contain;
}

.floorplan__zoom {
    position: absolute;
    right: 15px;
    bottom: 15px;
    display: block;
    width: 20px;
    height: 20px;
    color: var(--lime);
    transition: transform 0.3s;
}

.floorplan__zoom:hover,
.floorplan__zoom:focus-visible {
    transform: scale(1.1);
}

.floorplan__zoom .icon {
    display: block;
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .siteplan__label {
        padding-top: 20px;
        font-size: 14px;
    }

    .siteplan__panel {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 767px) {
    /* On phones the label sits above the plan, and the plan is cropped to the site so the units are big enough to tap */
    .siteplan__label {
        position: static;
        padding: 20px var(--gutter) 0;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 2px;
    }

    .siteplan__canvas {
        width: 140%;
        margin-left: -20%;
    }

    .siteplan__panel {
        gap: 30px;
    }

    .schedule {
        min-width: 620px;
    }

    .floorplan {
        height: 200px;
    }

    .floorplan__image {
        object-fit: cover;
    }
}

/* 7. Specification ----------------------------------------------------------- */

.spec {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    background: var(--blue);
    text-align: center;
}

.spec__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 90px 60px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.69);
}

.spec__icon {
    width: 75px;
    height: 75px;
    margin: 0 auto;
    filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.19));
}

.spec__text {
    color: var(--grey);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

@media (max-width: 1024px) {
    .spec__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .spec {
        padding: 15px;
    }

    .spec__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 15px;
    }
}

/* 8. Location ---------------------------------------------------------------- */

.location__intro {
    padding: 60px var(--gutter);
    background: var(--teal);
}

.location__intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.location__text {
    width: 75%;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.location__body {
    display: flex;
    gap: 60px;
    padding: 60px var(--gutter);
    background: #fff;
}

.location__map {
    flex: 3 1 0;
    min-width: 0;
}

.location__map iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: 0;
    background: #556b80;
}

.location__drive {
    flex: 2 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location__drive-heading {
    color: var(--teal);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-transform: uppercase;
}

.drive-times {
    font-size: 14px;
    line-height: 21px;
    text-align: right;
}

.drive-times th,
.drive-times td {
    padding: 8px;
    border-bottom: 1px solid var(--row);
    vertical-align: top;
}

.drive-times th {
    color: var(--row);
    font-weight: 700;
    text-transform: uppercase;
}

.drive-times td {
    color: var(--grey);
}

.drive-times th:first-child,
.drive-times td:first-child {
    text-align: left;
}

.drive-times td + td {
    white-space: nowrap;
}

.drive-times__icon {
    display: inline-block;
    width: 14px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
}

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

@media (max-width: 767px) {
    .location__intro-inner {
        gap: 15px;
    }

    .location__text {
        width: 100%;
    }

    .location__drive {
        gap: 15px;
    }
}

/* 9. News ---------------------------------------------------------------------- */

.news {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px var(--gutter);
    background: #fff;
}

.news > .heading {
    text-align: center;
}

.news__list {
    display: grid;
    gap: 33px;
    padding-right: 40px;
}

.news-card {
    display: flex;
    align-items: flex-start;
    padding: 60px;
    border-radius: 5px;
    background: rgba(218, 230, 233, 0.33);
}

.news-card__thumb {
    display: block;
    flex: 0 0 45%;
    margin-right: 42px;
    aspect-ratio: 5 / 3;
    overflow: hidden;
}

.news-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}

.news-card__text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-card__title {
    margin-bottom: 4px;
    color: #54595f;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
    color: var(--teal);
}

.news-card__date {
    margin-bottom: 27px;
    color: #adadad;
    font-size: 14px;
    line-height: 1.3;
}

.news-card__excerpt {
    margin-bottom: 12px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.news-card__more {
    color: #61ce70;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.news-card__more:hover,
.news-card__more:focus-visible {
    color: var(--teal);
}

.news__pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: var(--teal);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .news__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 26px;
    }

    .news-card {
        flex-direction: column;
    }

    .news-card__thumb {
        flex: none;
        width: 100%;
        margin: 0 0 30px;
    }
}

@media (max-width: 767px) {
    .news__list {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 0;
    }

    .news-card {
        padding: 20px;
    }

    .news-card__thumb {
        aspect-ratio: 10 / 7;
    }
}

/* 10. Footer --------------------------------------------------------------------- */

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--footer-bg);
    color: #fff;
}

.site-footer__top {
    display: flex;
    gap: 20px;
    padding: 60px var(--gutter) 0;
}

.site-footer__cta {
    flex: 2 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.site-footer__text {
    width: 50%;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.site-footer__text a {
    text-decoration: underline;
}

.site-footer__text a:hover,
.site-footer__text a:focus-visible {
    color: var(--lime);
}

.site-footer__agents {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    gap: 20px;
}

.agent {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.agent__logo {
    width: 40%;
    margin-bottom: 20px;
}

.agent--newmark .agent__logo {
    width: 50%;
}

.agent__person {
    margin-bottom: 14.4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.agent__person a {
    white-space: nowrap;
}

.agent__person a:hover,
.agent__person a:focus-visible {
    color: var(--lime);
}

.site-footer__joint {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 var(--gutter) 30px;
}

.site-footer__developers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.site-footer__joint-label {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.site-footer__developer-logos {
    display: flex;
    align-items: flex-end;
    gap: 37px;
}

.developer--erdgard {
    width: 84px;
}

.developer--richardson {
    width: 164px;
}

.site-footer__logo {
    position: absolute;
    right: var(--gutter);
    bottom: 30px;
    width: 289px;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px var(--gutter);
    border-top: 1px solid #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.site-footer__cookies {
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .site-footer__top {
        flex-direction: column;
    }

    .site-footer__text {
        width: 100%;
    }

    .site-footer__agents {
        padding-top: 20px;
    }

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

    .site-footer__developers {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .site-footer__top {
        padding-top: 30px;
    }

    .site-footer__agents {
        flex-direction: column;
        gap: 0;
        padding-top: 0;
    }

    .agent {
        padding-top: 30px;
    }

    .agent__logo {
        width: 132px;
    }

    .agent--newmark .agent__logo {
        width: 165px;
    }

    .site-footer__joint {
        padding: 10px var(--gutter) 30px;
    }

    .site-footer__joint-label {
        font-size: 14px;
    }

    .site-footer__developer-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .developer--erdgard {
        width: 133px;
    }

    .developer--richardson {
        width: 165px;
    }

    .site-footer__logo {
        display: none;
    }
}

/* 11. Lightbox ---------------------------------------------------------------------- */

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.87);
}

.lightbox__image {
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
}

.lightbox__close .icon {
    width: 26px;
    height: 26px;
}

@media (max-width: 767px) {
    .lightbox__image {
        max-width: calc(100vw - 20px);
    }
}

/* 12. Inner pages (news articles, legal pages, 404) ------------------------------------ */

.page-main {
    padding: calc(var(--header-h) + 60px) var(--gutter) 80px;
}

.page-main .news {
    padding: 0;
}

.article {
    max-width: 960px;
    margin: 0 auto;
}

.article__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--teal);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    transition: color 0.3s;
}

.article__back .icon {
    width: 18px;
    height: 18px;
}

.article__back:hover,
.article__back:focus-visible {
    color: var(--row-text);
}

.article__date {
    color: #adadad;
    font-size: 14px;
    line-height: 22px;
}

.article__title {
    margin-bottom: 30px;
    line-height: 1.3;
}

.article__image {
    margin-bottom: 40px;
}

.article__image img {
    width: 100%;
    border-radius: 6px;
}

.entry__content,
.article__content {
    color: var(--grey);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.entry__content > * + * {
    margin-top: 1.2em;
}

.entry__content strong {
    color: #333;
    font-weight: 600;
}

.entry__content ul,
.entry__content ol {
    padding-left: 1.3em;
    list-style: disc;
}

.entry__content ol {
    list-style: decimal;
}

.entry__content li + li {
    margin-top: 0.5em;
}

.entry__content a {
    color: var(--teal);
    text-decoration: underline;
}

.entry__content h2,
.entry__content h3 {
    color: var(--teal);
    font-weight: 500;
    line-height: 1.3;
}

.entry__content h2 { font-size: 26px; }
.entry__content h3 { font-size: 20px; }

.entry__content img {
    border-radius: 6px;
}

.article--404 .btn {
    margin-top: 30px;
}
