.menu {
    /* ... existing styles ... */
    overflow: hidden; /* This prevents body scroll while allowing internal scroll */
    height: 100vh;
}

.menu__nav {
    /* ... existing styles ... */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    height: calc(100vh - var(--header-height) - 130px); /* Account for header and footer */
    padding-bottom: 0; /* Remove existing padding-bottom */
}

.menu__footer {
    /* ... existing styles ... */
    position: fixed; /* Change from absolute to fixed */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-background);
}


@media (max-width: 768px) {
    .carousel-slide a {
        display: block;
        top: 0px;
        position: absolute;
        height: 100%;
        width: 100%;
        color: transparent;
    }
    .carousel-slide a:hover {
        color: transparent;
    }
}

.site-footer {
    background-color: var(--color-site-footer, #f0e3db);
    padding: var(--grid-gap);
    padding-top: calc(var(--grid-gap)*2);
    position: relative;
    min-height: auto;
    width: auto;

}

.site-footer * {
  color: var(--color-dark);
}

.footer-content {
  max-width: 1250px;
  margin: 0 auto;
}

.footer-branding {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, auto));
  gap: calc(var(--grid-gap) * 2);
  justify-content: center;     /* Centres the whole grid */
  align-items: center;
  margin-bottom: calc(var(--grid-gap) * 3);
  text-align: center;
}



.footer-branding img.footer-logo {
  max-height: calc(var(--header-height) - 10px) !important;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}


.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr; /* default mobile layout */
  margin-bottom: var(--grid-gap);
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  color: var(--color-dark);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: var(--font-size-base);
}

.footer-column:nth-child(3) {
  grid-column: 1 / -1; /* span full width on mobile */
}

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.enquiry-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
}

.enquiry-form h4 {
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 1rem;
  text-align: center;
}

.enquiry-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
}

.enquiry-form input,
.enquiry-form button.btn {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 1rem;
    border: 1px solid var(--color-dark);
    background: transparent;
    color: var(--color-dark);
    font-family: inherit;
    box-sizing: border-box;

}

.enquiry-form input::placeholder {
  color: var(--color-dark);
  opacity: 1;
}

.enquiry-form input:focus {
  outline: none;
  border-color: var(--color-dark);
}

.enquiry-form button.btn {
    font-family: "english-grotesque", serif !important;
    font-weight: 600;
    /* text-decoration: none; */
    background: transparent;
    cursor: pointer;
    text-align: center;
    border: 0px;

}

.enquiry-form .interest-group {
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.enquiry-form .interest-label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.enquiry-form .interest-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.2;
}



.newsletter h4 {
  font-family: inherit;
  font-size: inherit;
    margin-bottom:5px
}

.newsletter input {
    width: -webkit-fill-available;
    max-width: 400px;
    padding: 10px 10px 8px;
    margin-top: 0px;
    margin-bottom: 10px;
    color: var(--color-dark) !important;
    border: 1px solid var(--color-dark);
    background: transparent;
    font-family: inherit;
    font-size:0.9rem;
}

.newsletter input::placeholder {
    color: var(--color-dark);
}

.newsletter input::-webkit-input-placeholder {
    color: var(--color-dark);
}

.newsletter input::-moz-placeholder {
    color: var(--color-dark);
    opacity: 1;
}

.newsletter input:-ms-input-placeholder {
    color: var(--color-dark);
}

.newsletter input:focus {
    color: var(--color-dark);
}

.newsletter button.btn {
  font-family: "english-grotesque", serif !important;
  font-weight: 600;
    text-decoration:none;
  display: block;
}

.contact-icons {
  display: flex;
  justify-content: center;      /* Horizontally centre the icons */
  align-items: center;
  flex-wrap: wrap;              /* Allow wrapping on smaller viewports */
  gap: 20px;                    /* Consistent spacing between icons */
  margin-top: 2rem;             /* Clean spacing above the block */
  padding: 0;
}

.contact-icons a {
  width: 28px;
  height: 28px;
  display: inline-flex;
}

.contact-icons a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}


.footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: calc(var(--grid-gap)/2);
}

.footer-social a {
  width: 24px;
  height: 24px;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: center;
}

.menu__footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: calc(var(--grid-gap) / 2);
}

.menu__footer-link {
  width: 24px;
  height: 24px;
  display: block;
}

.menu__footer-social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  display: block;
}


.footer-legal {
    padding-top: var(--grid-gap);
    margin-top: var(--grid-gap);
    border-top: 1px solid var(--color-dark);
    text-align: center;

}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.legal-links a {
  color: var(--color-dark);
  text-decoration: none;
 
}

.company-info {
      margin-top: calc(var(--grid-gap)/2);
  color: var(--color-dark);
 

}

@media screen and (min-width: 768px) {
  .footer-main {
    grid-template-columns: 25% 25% 50%;
    text-align: left;

  }

  .footer-column:nth-child(3) {
    grid-column: auto;
  }
}

@media screen and (max-width: 767px) {

    .footer-newsletter-html {margin-bottom:calc(var(--grid-gap)/2);}


    .legal-links {justify-content: left;}
  .newsletter input {
 
  }

.footer-misc{
        margin-top: calc(var(--grid-gap));
    
    }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

}

.menu__footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 0px;
  z-index: 99999;
}

img.menu__footer-social-icon {
  width: 25px;
}

.header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--grid-gap);
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    padding: 0 var(--grid-gap);
    background: var(--color-background);
    z-index: 100;
    transition:
        height var(--transition-timing),
        padding var(--transition-timing);
}
.header__menu-toggle {
    display: grid;
    place-items: center;
    width: 60px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 9999;
    transition: transform 0.3s ease;
}
.line {
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-feature);
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 1px;
}
.line:nth-child(1) {
    top: 10px;
}
.line:nth-child(2) {
    top: 18px;
}
.line:nth-child(3) {
    top: 26px;
}
.header__menu-toggle.state-square {
    transform: scale(1);
}
.header__menu-toggle.state-x {
    transform: scale(1);
}
.header__menu-toggle.state-square .line {
    width: 40px;
}
.header__menu-toggle.state-square .line:nth-child(1) {
    top: 10px;
}
.header__menu-toggle.state-square .line:nth-child(3) {
    top: 26px;
}
.header__menu-toggle.state-x .line:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}
.header__menu-toggle.state-x .line:nth-child(2) {
    opacity: 0;
}
.header__menu-toggle.state-x .line:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}
.header__brand {
    display: grid;
    place-items: center;
    height: 100%;
    max-width: 200px;
    margin: 0 auto;
    transition: max-width var(--transition-timing);
    z-index: 9999;
    align-items: center;
    line-height: 0px;
}
.header__book-button {
    z-index: 9999;
    width: 60px;
    text-decoration: none !important;
    line-height:0px;
}
.btn {
    background: none;
    border: 0px;
    font-family: var(--header-font);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    text-decoration: underline;
    color: inherit;
}
.header__brand-logo {
    width: 100%;
    height: 100%;
    max-height: calc(var(--header-height) - 40px);
    transition: max-height var(--transition-timing);
}
.menu {
    display: grid;
    grid-template-rows: auto 1fr auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--color-background);
    transform: translateX(-100%);
    transition:
        transform var(--transition-timing),
        padding var(--transition-timing);
    z-index: 200;
}
.menu__nav {
    display: grid;
    gap: 0.5rem;
    align-content: start;
    padding: var(--grid-gap) 0;
    text-align: center;
    overflow-y: auto;
    transition:
        padding var(--transition-timing),
        gap var(--transition-timing);
    margin-top: calc(var(--header-height) * 1.1);
    padding-bottom: 130px;
}
.menu__section-title {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-family: var(--body-font);
    font-size: calc(var(--font-size-h3) * 0.8);
    transition: color var(--transition-timing);
}
.menu__section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0%;
    height: calc(var(--line-thickness) * 2);
    background-color: var(--color-feature);
    transition: width var(--transition-timing);
}
.menu__links-wrapper {
    overflow: hidden;
    transition: padding 0.3s ease;
    padding: 0;
}
.menu__section.active .menu__links-wrapper {
    padding: 1.25rem 0;
}
.menu__section-title:hover::after,
.menu__section.active .menu__section-title::after {
    width: 100%;
}
.menu__section.active .menu__section-title {
    color: var(--color-feature);
}
.menu__section-title:not(:first-of-type) {
    margin-top: 1rem;
}
.menu__section.active .menu__links {
    max-height: 500px;
    opacity: 1;
}
.menu__links {
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.3s ease-out,
        opacity 0.3s ease-out;
}
.menu__link:hover {
    left: 3px;
    -webkit-animation: fadeSlideIn 0.5s ease forwards;
    animation: fadeSlideIn 0.5s ease forwards;
}
.menu__social {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: var(--grid-gap);
    padding: var(--grid-gap) 0;
    transition:
        padding var(--transition-timing),
        gap var(--transition-timing);
}
.menu--active {
    transform: translateX(0);
}
.menu__links {
    max-height: 0;
    opacity: 0;
    display: block;
    transition:
        max-height 0.5s ease,
        opacity 0.5s ease;
}
.menu__section.active .menu__links {
    max-height: 500px;
    opacity: 1;
}
.menu__link {
    opacity: 0;
    transform: translateY(10px);
    -webkit-animation: fadeSlideIn 0.5s ease forwards;
    animation: fadeSlideIn 0.5s ease forwards;
    -webkit-animation-delay: var(--fade-delay, 0s);
    animation-delay: var(--fade-delay, 0s);
    display: block;
    font-size: calc(var(--font-size-base) * 1.15);
    padding-bottom: 2px;
    left: 0px;
    position: relative;
    transition:
        left 0.5s ease,
        color 0.3s ease;
}
@-webkit-keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-timing: 0s;
    }
}
@media screen and (min-width: 768px) {
    .menu {
        width: 400px;
        height: 100%;
        transform: translateX(-400px);
        transition: transform var(--transition-timing);
    }
    .menu--active {
        transform: translateX(0);
    }
    .menu__nav {
        text-align: left;
        padding-left: calc(var(--grid-gap) * 1.5);
    }
    .menu__section-title {
        text-align: left !important;
        margin-left: 0;
        margin-right: 0;
    }
    .menu__link {
        text-align: left;
    }
}
.menu__footer-legal {
    font-size: calc(var(--font-size-base) * 0.7);
}
.menu__footer {
    position: absolute;
    bottom: 0;
    background-color: var(--color-background);
    z-index: 10;
    width: calc(100% - (var(--grid-gap) * 2));
}
.menu__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--grid-gap);
    gap: 1.5rem;
    background-color: var(--color-background);
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}
.menu__footer::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--color-background) 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}
.menu__footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.menu__footer-social a svg {
    width: 24px;
    height: 24px;
    fill: var(--color-feature);
    transition:
        transform 0.3s ease,
        fill 0.3s ease;
}
.menu__footer-social a:hover svg {
    transform: scale(1.1);
    fill: black;
}
.menu__footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: calc(var(--font-size-base) * 0.85);
    text-align: center;
}
@media screen and (min-width: 768px) {
    .menu__footer {
        align-items: flex-start;
        padding-left: calc(var(--grid-gap) * 1.5);
        width: calc(100% - (var(--grid-gap) * 2.5));
    }
    .menu__footer-social {
        justify-content: flex-start;
    }
    .menu__footer-legal {
        justify-content: flex-start;
        text-align: left;
    }
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: "Doves Type";
    src:
        url("../fonts/DovesType/DovesType-Headline.woff2") format("woff2"),
        url("../fonts/DovesType/DovesType-Headline.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "FatFrank";
    src:
        url("../fonts/FatFrank/FatFrank-Regular.woff2") format("woff2"),
        url("../fonts/FatFrank/FatFrank-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: var(--body-font, system-ui);
    font-size: var(--font-size-base, 16px);
    line-height: var(--line-height-base, 1.5);
    font-weight: normal;
    min-height: 100dvh;
    min-height: 100dvh;
    color: var(--color-feature, #333);
    background-size: auto;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.feature-font {
    font-family: var(--feature-font);
    font-weight: var(--feature-font-weight);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--header-font, inherit);
    line-height: var(--line-height-heading, 1.2);
    margin: 0;
    font-weight: normal;
}
h1 {
    font-size: var(--font-size-h1, 2.5rem);
}
h2 {
    font-size: var(--font-size-h2, 2rem);
}
h3 {
    font-size: var(--font-size-h3, 2rem);
}
h4 {
    font-size: var(--font-size-h4, 2rem);
}
p {
    margin-bottom: 1rem;
    margin-top: 0;
}
a {
    text-decoration: none;
    color: var(--color-feature, #333);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--color-dark, #666);
}
body {
    background: var(--color-module-footer);
}
header.header + div {
    margin-top: var(--header-height, 0);
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-background, rgba(0, 0, 0, 0.05));
}
::-webkit-scrollbar-thumb {
    background: var(--color-feature, rgba(0, 0, 0, 0.2));
    border-radius: 3px;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-feature, rgba(0, 0, 0, 0.3));
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-feature, rgba(0, 0, 0, 0.2)) var(--color-background, rgba(0, 0, 0, 0.05));
}
.clement-module {

    width: 100%;
    scroll-snap-align: none;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    position: relative;
}
.module-logo {
    position: absolute;
    z-index: 9;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%);
    width: calc(27vw);
    max-width: 250px;
    /* margin-top: calc(var(--grid-gap) * 1.5); */
    min-width: 200px;
}

.guten-block {
    max-width: 1250px;
    margin: 0 auto;
}

/* .block-slider,
.block-listing {
    height: calc(100dvh - var(--header-height));
}
.block-slider .slick-list,
.block-listing .slick-list {
    height: 100%;
}
.block-slider .slick-list .slick-track,
.block-listing .slick-list .slick-track {
    height: 100%;
} */
.slideshow-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    /* height: calc(100dvh - 119px);
    max-height: calc(100dvh - 119px); */
}
.slideshow-container .slick-slide picture img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    height: 100%;
    width: 100%;
}
.dots-container,
.slick-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
    list-style: none;
}
.dot,
.slick-dots li {
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot button,
.slick-dots li button {
    display: none;
}
.dot::marker,
.slick-dots li::marker {
    display: none;
}
.dot.active,
.slick-dots li.slick-active {
    background-color: #fff;
}
.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--color-dark);
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 0;
}
.slick-arrow.slick-prev,
.slick-arrow.slick-next {
    z-index: 2;
}
.slick-arrow.slick-prev:before,
.slick-arrow.slick-next:before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 75px;
    height: 75px;
    display: block;
}
.slick-arrow.slick-prev {
    left: 20px;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}
.slick-arrow.slick-prev:before {
    background-image: url("../images/svgs/icons/arrow-right-white.svg");
    transform: rotate(180deg);
}
.slick-arrow.slick-prev:hover {
    opacity: 1;
}
.slick-arrow.slick-next {
    right: 20px;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}
.slick-arrow.slick-next:before {
    background-image: url("../images/svgs/icons/arrow-right-white.svg");
}
.slick-arrow.slick-next:hover {
    opacity: 1;
}
.footer-bar {
    background-color: var(--color-module-footer);
    color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--grid-gap);
}
.slide-foot-content {
    max-width: 800px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-link {
    color: var(--color-dark) !important;
}
.river-lofts {
    width: 100%;
    background-color: var(--color-module-footer);
    color: var(--color-dark);
}
.main-gallery {
    position: relative;
    width: 100%;
}
.gallery-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: -webkit-grab;
    cursor: grab;

}
.gallery-container .slick-list {
  height: 100%;
  aspect-ratio: 4 / 2; /* Default for desktop/tablet */
}

@media (max-width: 768px) {
  .gallery-container .slick-list {
    aspect-ratio: 1 / 1; /* Square aspect ratio on mobile */
  }
}

.gallery-container .slick-list .slick-track {
    height: 100%;
}
.gallery-container:active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}
.gallery-slide img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}
.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}
.indicator {
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.indicator.active {
    background-color: #fff;
}
.property-details {
    text-align: center;
    padding: var(--grid-gap);
    background-color: var(--color-module-footer);
    max-width: var(--details-max-width);
    margin: 0 auto;
}
.property-title {
    font-size: calc(var(--font-size-base) * 1.7);
    margin-bottom: 40px;
    color: var(--color-dark);
    font-family: var(--feature-font);
    text-transform: uppercase;
}
.property-title:empty {
    display: none;
}
.rich-content {
    max-width: calc(var(--details-max-width) * 0.66);
    margin: 0 auto;
    text-align: center;
    padding: var(--grid-gap);
}
.property-specs {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 40px;
    padding-right: 60px;
}
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        background-color 0.3s ease;
    z-index: 10;
}
.slide-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}
.slideshow-container:hover .slide-nav {
    opacity: 1;
}
.slide-nav.prev {
    left: 20px;
}
.slide-nav.next {
    right: 20px;
}
.slide-nav svg {
    color: #1a1a1a;
}
.slide:first-child.active ~ .slide-nav.prev {
    display: none;
}
.slide:last-child.active ~ .slide-nav.next {
    display: none;
}
.spec {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 35px;
}
.spec img,
.spec svg {
    display: block;
    width: 35px;
    height: 35px;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}
.property-description {
    max-width: calc(var(--details-max-width) * 0.66);
    margin: 0 auto;
    line-height: 1.6;
    padding: var(--grid-gap);
    padding-top: 0px;
}
.property-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--color-dark);
    margin-bottom: 10px;
}
.property-sections {
    display: flex;
    flex-direction: column;
    background-color: var(--color-module-footer);
    max-width: var(--details-max-width);
    margin: 0 auto;
    padding-top: var(--grid-gap);
    padding-bottom: calc(var(--grid-gap) * 2);
    padding-left: var(--grid-gap);
    padding-right: var(--grid-gap);
}
.section {
    border-top: 1px solid var(--color-border);
}
.section:last-child {
    border-bottom: 2px solid var(--color-border);
}
.section-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--grid-gap);
    background-color: var(--color-module-footer);
    border: none;
    cursor: pointer;
    text-align: left;
    border-top: 1px solid var(--color-feature);
    text-decoration: none !important;
}
.toggle-icon {
    position: relative;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}
.toggle-icon::before,
.toggle-icon::after {
    content: "";
    position: absolute;
    top: 60%;
    width: 25px;
    height: calc(var(--line-thickness) * 2);
    background-color: var(--color-border);
    transition: all 0.3s ease;
}
.toggle-icon::before {
    right: 49%;
    transform: rotate(45deg);
    transform-origin: right;
}
.toggle-icon::after {
    left: 49%;
    transform: rotate(-45deg);
    transform-origin: left;
}
.section-toggle[aria-expanded="true"] .toggle-icon::before,
.section-toggle[aria-expanded="true"] .toggle-icon::after {
    top: 50%;
    transform: rotate(0deg);
}
.section-content {
    background-color: var(--color-module-footer);
    padding: 0 var(--grid-gap);
    opacity: 1;
    max-height: 0;
    overflow: hidden;
    visibility: VISIBLE;
    transition: all 0.3s ease-in-out;
}
.section-content.active {
    opacity: 1;
    max-height: 2000px;
    visibility: visible;
}
.bullet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    margin-top: var(--grid-gap);
    margin-bottom: var(--grid-gap);
}
@media (max-width: 768px) {
    .bullet-grid {
        grid-template-columns: 1fr;
    }
    .rich-content {
        max-width: calc(var(--details-max-width) * 0.66);
        margin: 0 auto;
        text-align: unset;
        padding: var(--grid-gap);
    }
}
.bullet-item {
    position: relative;
    padding-left: 20px;
}
.bullet-item:before {
    content: "•";
    position: absolute;
    left: 0;
}
.floor-plan {
    text-align: center;
}
.floor-plan img {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--grid-gap);
}
.floor-plan-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: var(--grid-gap);
}
.related-properties {
    padding: var(--grid-gap);
    background-color: var(--color-module-footer);
}
.related-properties h4 {
    text-align: center;
    font-size: calc(var(--font-size-base) * 1.2);
    margin-bottom: var(--grid-gap);
}
.property-carousel {
    position: relative;
    overflow: hidden;
}
.carousel-container {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    padding: 0 var(--grid-gap);
}
.carousel-container .slick-slide {
    margin: 0 10px;
}
@media (min-width: 769px) {
    .carousel-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .carousel-container .carousel-slide {
        opacity: 1;
        position: relative;
    }
    .carousel-container .carousel-slide a.link {
        position: absolute;
        inset: 0;
        font-size: 0;
    }
}
.carousel-slide {
    flex: 0 0 calc(33.3% - 14px);
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(100% - 40px);
        opacity: 1;
        margin-right: 20px;
    }
    .carousel-container {
        padding: 0;
        margin: 0 20px;
    }
    .carousel-container .slick-list {
        overflow: visible;
    }
    .carousel-container .slick-slide {
        margin: 0 10px;
    }
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.carousel-prev {
    left: 0;
}
.carousel-next {
    right: 0;
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.carousel-slide h4 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    margin: 0;
    text-transform: uppercase;
}
.livingstone-module {
    
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    position: relative;
}
.livingstone-name h3 {
    position: absolute;
    z-index: 1;
    font-family: var(--feature-font);
    text-transform: uppercase;
    padding: var(--grid-gap);
}
.livingstone-specs {
    display: flex;
    gap: 35px;
    padding-right: 50px;
    padding-top: var(--grid-gap);
}
.livingstone-slideshow {
    flex: 0 0 auto;
    height: auto;
}

.livingstone-slideshow {
    height: 100%;
    aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
   .livingstone-slideshow {
        aspect-ratio: 4 / 2;
    }
}
.livingstone-slideshow .slick-slide picture img {
    width: 100%;

}
.livingstone-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
.livingstone-dot {
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.livingstone-dot.active {
    background-color: #fff;
}
.livingstone-footer {
    background-color: var(--color-module-footer);
    color: var(--color-dark);
    display: flex;
    align-items: flex-start;
    text-align: center;
    padding: var(--grid-gap);
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: calc(var(--grid-gap) * 1.5);
}
@media (max-width: 768px) {
    .livingstone-footer {
        flex-direction: column;
    }
    .livingstone-foot-content {
        text-align: left;
        margin-bottom: var(--grid-gap);
    }
}
.livingstone-foot-content {
    text-align: left;
    margin-bottom: 0;
}
.livingstone-foot-content p {
    margin-bottom: calc(var(--grid-gap) * 0.5);
}
.livingstone-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
}
.livingstone-link {
    color: var(--color-dark) !important;
}
.video-module {

    width: 100%;
    scroll-snap-align: none;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    position: relative;
}
.module-logo {
    position: absolute;
    z-index: 9;
    top: calc(var(--header-height) / 4);
    left: 50%;
    transform: translateX(-50%);
    width: calc(27vw);
    max-width: 250px;
    /* margin-top: calc(var(--grid-gap) * 1.5); */
    min-width: 200px;
}
.block-slider,
.block-listing {
    height: 100%;
}
.block-slider .slick-list,
.block-listing .slick-list {
    height: 100%;
    aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
    .block-slider .slick-list,
    .block-listing .slick-list {
        aspect-ratio: 4 / 2;
    }
}
.block-slider .slick-list .slick-track,
.block-listing .slick-list .slick-track {
    height: 100%;
}
.video-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    height: calc(100dvh - 119px);
    max-height: calc(100dvh - 119px);
}
.video-container .video-wrapper {
    height: calc(100dvh - 119px);
    position: relative;
}
.video-container .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.footer-bar {
    background-color: var(--color-module-footer);
    color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--grid-gap);
}
.slide-foot-content {
    max-width: 800px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-link {
    color: var(--color-dark) !important;
}

.thumb-block-title {
    text-align: center;
    padding-top: calc(var(--grid-gap)*2);
    padding-bottom: calc(var(--grid-gap)*1);
    color: var(--color-dark);
display: block;
}

.guten-block {
    padding-left: calc(var(--grid-gap)*1);
    padding-right:calc(var(--grid-gap)*1);
}


.thumb-grid {
    display: grid;
    padding-left: 0px;
    padding-right: 0px;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    padding: var(--grid-gap);
    padding-top: calc(var(--grid-gap)*1);
    padding-bottom: calc(var(--grid-gap)*2);
    padding-left: 0px;
    padding-right: 0px;

    @media(min-width: 768px) {
    grid-template-columns: repeat(4, 1fr);
  }

}

.thumb-item {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.thumb-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;

  /* Smooth zoom on hover */
  transition: transform 3s ease;
  will-change: transform;
}

.thumb-item:hover .thumb-bg {
  transform: scale(1.05);
}

.thumb-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 80%;
  max-height: 60%;
  object-fit: contain;

  /* Ensure no unintended scale */
  transform: none !important;
}
