/*
Theme Name: Newucalyptus
Author: Owain Jones
Author URI: https://rentmanager.com
Description: A clean and modern WordPress theme perfect for blogs, portfolios, and business sites. Designed for minimalism and performance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eucalyptus
Tags: clean, modern, blog, portfolio, responsive, minimal, custom-background, custom-logo, theme-options
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.4
*/
body {
  margin: 0 auto;
  font-family: var(--body-font, "Open Sans", sans-serif) !important;
  /*  Unfortunatly Bootstrap kept overriding this so we need an important tag here */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font, "Roboto", sans-serif);
}

h1 {
  font-size: 3em;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-weight: 800;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.strong {
  font-weight: 800;
}

.oj-row {
  padding: 50px 10vw;
  margin: 0 auto;
}

.oj-btn-container {
  display: inline-block;
  padding: 12px 24px !important;
  font-size: 22px !important;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--primary-color, #ffffff);
  background-color: var(--secondary-color, #039edf);
  border: none;
  border-radius: 30px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  margin: 0px;
}

.oj-btn-container a, .oj-btn-container a:hover {
  text-decoration: none;
  color: #fff;
}

.oj-btn-container:hover {
  background-color: var(--primary-color, #005b8a);
  color: var(--secondary-color, #ffffff);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.hpimg2 {
  text-align: right;
}

.oj-btn-container2 {
  display: flex;
  flex-direction: column;
  /* Stack buttons vertically */
  align-items: center;
  /* Center buttons horizontally */
  gap: 10px;
  /* Space between buttons */
  background: none;
  /* Remove background from the parent */
  padding: 0;
  /* Remove unnecessary padding */
  margin: 0px auto 30px;
}

.detailbutton {
  background: var(--secondary-color, #039edf);
  /* Keep the button background */
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.detailbutton:hover {
  background: var(--primary-color, #039edf);
  /* Keep the button background */
  transition: all 0.3s ease;
  transform: translateY(-2px);
}

.detailbutton a {
  text-decoration: none;
  color: var(--primary-color, #ffffff);
  font-size: 22px;
  font-weight: 600;
  display: block;
  /* Ensure full clickable area */
  text-align: center;
}

/* CALLOUT SECTION */
.oj-home-callout {
  overflow: hidden;
}

.oj-callout-content {
  display: flex;
  width: 100%;
  justify-content: center;
}

.oj-callout-col {
  flex-basis: 40%;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

.callout-contact {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 10px;
}

.callout-contact h2, .callout-contact h3, .callout-contact p {
  width: 100%;
}

.google-map {
  flex: 100%;
  display: flex;
  flex-wrap: wrap;
}

.google-map iframe {
  width: 100%;
}

/* CALLOUT SECTION END */
/* SUBPAGE HERO */
.page-hero {
  display: flex;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 40vh;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.page-hero h1 {
  padding: 0 10vw;
  color: #fff;
  z-index: 99;
}

.wp-element-caption {
  display: none;
}

.oj-row2 {
  padding: 100px 0 0 0;
  text-align: center;
}

@media (max-width: 1675px) {
  .oj-row2 {
    padding: 3em 0 0 0;
  }
}

.home .oj-row2 {
  padding: 0;
  text-align: center;
  width: 85%;
  margin: auto;
}

.extra-top {
  margin-top: 30px;
}

.extra-top2 {
  margin-top: 60px;
}

a.button {
  min-width: 210px;
  display: flex;
  justify-content: center;
  color: #ffffff;
}

@media (max-width: 900px) {
  a.button {
    min-width: 150px;
  }
}

.reducedwidth {
  width: 90%;
  margin: auto;
}

.reduced-width {
  width: 80% !important;
  margin: 0 auto 2em !important;
}

.hpcol1, .hpcol2 {
  max-height: 85vh;
  overflow: hidden;
}

.hpcol1 {
  background-color: #7479ac;
  color: #FFFFFF;
}

.hpcol2 {
  background-color: #F3F4F8;
}

.wp-block-image img {
  margin-bottom: -16px;
  max-width: 50.5vw;
  height: 85vh;
  object-fit: cover;
}

@media screen and (max-width: 2400px) {
  .wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
  }
}

.ti-widget.ti-goog .ti-reviews-container {
  width: 90%;
  margin: auto;
}

.reviews-section {
  background-color: #D19288;
  color: white;
  padding: 20px;
}

.reviews-head {
  font-weight: 800;
}

.is-layout-flex {
  margin-bottom: 0px;
}

.custom-section-centered {
  align-content: center;
}

.column-image img {
  width: 100%;
  margin: 70px auto 0px;
}

.wp-block-columns {
  width: 100%;
  margin: 0 auto;
}

.disclaimer {
  font-size: 11px;
}

i.fab.fa-facebook.fa-stack-2x.icon {
  position: relative;
}

#forminator-module-99:not(.select2-dropdown) {
  padding-top: 0px !important;
  width: 80%;
  margin: auto;
}

.oj-hero-slider-container {
  position: relative;
  height: 80vh;
  width: 100vw;
  max-width: -webkit-fill-available;
}

.oj-hero-slider, .oj-hero-slide {
  height: 100%;
  width: 100vw;
  max-width: -webkit-fill-available;
}

.oj-hero-slide {
  background-position: center;
  background-size: cover;
}

.oj-hero-slider-content {
  z-index: 998;
  opacity: 1;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0px 0px 0px 0px;
}

.oj-slider-overlay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 0;
  min-width: 35vw;
  max-width: 50vw;
}

.oj-slider-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border-top-left-radius: 500px 50px;
  border-top-right-radius: 50px 500px;
  border-bottom-left-radius: 40px 200px;
  border-bottom-right-radius: 300px 50px;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
  width: 100%;
  min-height: 350px;
  padding: 20px;
}

.oj-hero-icon-container {
  border-radius: 100%;
  position: absolute;
  top: 45px;
  left: 50%;
  padding: 20px;
  transform: translate(-50%, -50%);
  box-shadow: inset 1px 1px 60px rgba(0, 0, 0, 0.2);
}

.oj-hero-icon-container i {
  font-size: 40px;
}

.oj-hero-slide {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.oj-hero-video,
.oj-hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.oj-hero-image {
  background-size: cover;
  background-position: center;
}

.fa-solid, .fas {
  color: #039edf;
}

.oj-text-container {
  width: 90%;
  margin: auto;
}

.oj-text {
  padding: 0.5em 0;
}

ul.nolist {
  list-style: none;
  text-align: left;
}

.nolist {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Adjusts spacing between columns */
  padding: 0;
  list-style: none;
  margin-left: 15%;
}

.nolist li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nolist li p {
  flex: 1 1 calc(50% - 20px);
  /* Creates equal columns */
  min-width: 250px;
  /* Ensures items don't shrink too much */
  margin: 0;
}

.social-container {
  padding: 0.5em;
}

.oj-meet-team-wrap {
  color: white;
  text-align: center;
}

.oj-meet-team-wrap h2 {
  color: #000;
}

.oj-meet-the-team {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.oj-team-member {
  width: 300px;
  position: relative;
  overflow: hidden;
}

/* Image styles (unchanged, with optional hover scale) */
.oj-member-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.3s ease;
}

/* Overlay container always sits at the bottom */
.oj-member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  min-height: 125px;
}

/* Always-visible basic info (name and job title) */
.oj-member-basic h3,
.oj-member-basic h4 {
  margin: 0;
}

.oj-member-basic h3 {
  font-size: 20px;
  font-weight: bold;
}

.oj-member-basic h4 {
  font-size: 16px;
  margin: 5px 0;
}

/* Extra info (excerpt) is hidden by default */
.oj-member-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

/* On hover, the extra info becomes visible */
.oj-team-member:hover .oj-member-extra {
  max-height: 200px;
  opacity: 1;
}

/* Modal content style (unchanged) */
.modal-content {
  color: #000;
}

.shape-divider-block {
  width: 100%;
  position: relative;
  z-index: 1;
}

.shape-divider-block.flip-horizontally svg {
  transform: scaleX(-1);
}

.shape-divider-block.overlap-content {
  margin-top: -100px;
}

.shape-bottom {
  transform: rotate(180deg);
}

.shape-bottom svg {
  z-index: -1;
}

.oj-contact-block {
  display: flex;
}

.oj-form-wrap, .oj-contact-col {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.contact-address, .contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-address h2 {
  margin-bottom: 35px;
}

/* SLICK GALLERY STYLING (scoped to the "Slick Image Gallery" block only, so it
   doesn't collide with the unit/property photo slider styled in ua.scss) */
.oj-gallery-container {
  max-width: 75%;
  margin: 50px auto;
}

.oj-gallery-container .slider-for img {
  width: 100%;
  min-height: 950px;
  object-fit: cover;
}

.oj-gallery-container .slider-nav {
  margin-top: 10px;
}

.oj-gallery-container .slider-nav img {
  width: 250px;
  /* Set width */
  height: 150px;
  /* Set height */
  object-fit: cover;
  /* Crop and fit the image */
  cursor: pointer;
  border: 2px solid transparent;
}

.oj-gallery-container .slider-nav .slick-current img {
  border-color: #000;
  /* Highlight active thumbnail */
}

.oj-gallery-container .slick-prev:before,
.oj-gallery-container .slick-next:before {
  font-size: 30px !important;
  color: var(--primary-color) !important;
}

.oj-gallery-container .slick-prev {
  left: -35px !important;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-wrap {
  display: flex;
  width: 100%;
  justify-content: center;
}

.menu-buttons {
  display: flex;
  gap: 20px;
}

/*.site-logo {
    display: inline-flex;
    flex-wrap: nowrap;
    flex-basis: 95%;
    width: 95%;
    justify-content: start;
    align-items: center;
    padding: 10px 0;
}*/
.site-logo {
  display: inline-flex;
  flex-wrap: nowrap;
  flex-basis: 33%;
  /* width: 95%; */
  justify-content: start;
  align-items: center;
  padding: 10px 0;
}

.banner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  flex-basis: 100%;
  /* width: 95%; */
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.banner-text {
  font-weight: 800;
  font-style: italic;
  color: orange;
  /* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75); */
  font-size: 2em;
  margin: 0.5em auto;
  text-align: center;
}

.banner-subtext {
  color: var(--secondary-color, #039edf);
  font-weight: 600;
  font-style: italic;
  font-size: 18px;
}

.nav-w-btns-wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex-basis: 100%;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}

.site-logo img {
  max-height: 175px;
  max-width: 90%;
}

.main-nav .menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 10px 0;
  flex-wrap: wrap;
  gap: 25px;
}

.main-nav .menu a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 4px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
  }
  .main-nav .menu {
    display: block;
    margin: 60px 20px 20px;
    padding: 0;
    gap: 0;
  }
  .main-nav .menu li {
    margin-bottom: 20px;
  }
  .main-nav .menu a {
    display: block;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .menu-buttons {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-block !important;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 999;
    align-self: flex-end;
  }
  .menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
  }
  .menu-icon::before,
  .menu-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    left: 0;
    transition: all 0.3s ease;
  }
  .menu-icon::before {
    top: -8px;
  }
  .menu-icon::after {
    top: 8px;
  }
  .mobile-nav-toggle.active .menu-icon {
    background: transparent;
  }
  .mobile-nav-toggle.active .menu-icon::before {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-nav-toggle.active .menu-icon::after {
    transform: translateY(-8px) rotate(-45deg);
  }
  /* -----------------------------------
     Mobile Contact Section
  ----------------------------------- */
  .oj-mobile-nav-contact {
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }
  .oj-mobile-nav-contact a {
    color: #333;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .oj-mobile-nav-contact i {
    font-size: 18px;
    /* Adjust icon color if needed */
    color: #333;
  }
  /* -----------------------------------
   Mobile Nav Button Section
----------------------------------- */
  .oj-mobile-nav-buttons {
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  /* Close Button Styles */
  .mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
    color: #333;
  }
  .mobile-nav-close:focus {
    outline: none;
  }
  .close-icon {
    display: inline-block;
  }
}

/* ============================================= */
/* = DESKTOP (Min Width 769px)                  */
/* ============================================= */
@media (min-width: 769px) {
  .main-nav {
    display: block;
    position: static;
    transform: none;
    transition: none;
    height: auto;
    width: auto;
    box-shadow: none;
    align-self: flex-end;
  }
  .oj-mobile-nav-buttons, .oj-mobile-nav-contact, .mobile-nav-close {
    display: none;
  }
}

@media (max-width: 1275px) {
  nav.main-nav {
    align-self: center;
  }
}

/* FOOTER */
.address-area, .contact-area {
  line-height: .5;
}

ul.footer-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  font-weight: 600;
}

.footer {
  margin: 0;
  padding: 1em;
  background-color: #045fa9;
}

.logo-area {
  margin: 0 0 1em;
}

footer {
  background-color: var(--primary-color);
  text-align: center;
  color: #fff;
  overflow: hidden;
}

footer img {
  max-width: 40%;
  max-height: 100px;
}

@media (max-width: 800px) {
  footer img {
    max-width: 90%;
  }
}

.bottom-footer {
  background-color: #039edf;
  display: flex;
  justify-content: center;
  color: #fff;
  padding: 20px 10px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

img.rm-logo {
  margin-bottom: 5px;
}

/* FOOTER  END */
/* Featured Properties */
.property-listings-container, .unit-listings-container {
  display: flex;
  width: 75%;
  margin: 2em auto;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.property, .unit {
  flex: 0 0 calc((100% - 2em) / 3);
  /* 2em = 2 gaps between 3 items */
  box-sizing: border-box;
  border: 1px solid #039edf;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.custom-button {
  text-align: center;
  background-color: #039edf;
  color: #ffffff;
  padding: 1em;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  margin: auto;
}

.custom-button:hover {
  background-color: #045fa9;
  text-decoration: none;
}

@media (max-width: 900px) {
  .property, .unit {
    flex: 0 0 calc((100% - 1em) / 2);
    /* 1em = 1 gap between 2 items */
  }
}

@media (max-width: 600px) {
  .property, .unit {
    flex: 0 0 100%;
  }
}

.property .entry-content,
.unit .entry-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.view-details {
  margin-top: auto;
  padding: 1em 0;
}

.view-details a {
  display: inline-block;
  text-decoration: none;
  background-color: #039edf;
  color: #ffffff;
  padding: 0.5em 1em;
  text-transform: uppercase;
  width: 90%;
}

.view-details a:hover {
  background-color: #045fa9;
}

.address-separator {
  display: inline;
}

.address-break {
  display: none;
}

@media (max-width: 900px) {
  .address-separator {
    display: none;
  }
  .address-break {
    display: block;
  }
}

.image-overlay-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 420px;
  width: 100%;
}

.image-overlay-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  background: rgba(4, 95, 169, 0.6);
  color: #ffffff;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  padding: 1em;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
  letter-spacing: 0.03em;
  font-weight: 900;
}

.image-overlay-container:hover img {
  transform: scale(1.05);
}

.image-overlay-container:hover .overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.slick-slide {
  margin: 0 1px;
}

.slick-slide img {
  object-fit: cover;
  width: 100%;
}

.slick-prev:before,
.slick-next:before {
  font-size: 35px !important;
}

.slick-prev,
.slick-next {
  display: block !important;
  z-index: 10;
  width: 40px !important;
  height: 40px !important;
}

.slick-next {
  right: 0px !important;
}

.slick-prev {
  left: 0px !important;
}

.slick-track {
  margin: unset !important;
}

.slickwrapper-featured .slick-track {
  margin: 0 auto !important;
}

.slickwrapper-featured.slick-single {
  width: 42%;
  margin: 0 auto;
}

/* Property & Unit Detail */
.column-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.column70, .column30 {
  padding: 1em;
}

.column70 {
  flex: 0 0 65%;
  max-width: 65%;
  box-sizing: border-box;
}

.column30 {
  flex: 0 0 35%;
  max-width: 35%;
  box-sizing: border-box;
  background-color: #ffffff;
}

.column30 p {
  margin: 0;
}

.max-wrap {
  box-sizing: border-box;
  max-width: 100%;
}

.rmwb_detail-wrapper {
  box-sizing: border-box;
  display: flex;
  align-items: start;
  padding: 10px 2em;
  width: 90%;
  margin: auto;
  flex-wrap: wrap;
}

.rmwb_detail-wrapper .rmwb_section {
  flex-basis: 47%;
  flex: 1 1;
}

.rmwb_detail-wrapper .rmwb_section h3 {
  margin-bottom: auto;
}

.rmwb_detail-wrapper .rmwb_description {
  flex-basis: 100%;
  width: 100%;
  padding: 0 1em;
}

.rmwb_detail-wrapper ul {
  margin: 0;
  padding: 0;
}

.prop-information {
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.rmwb_callout-links {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  gap: 15px;
  margin-top: auto;
  padding-bottom: 1em;
}

h1.propertydetail {
  margin: 0;
  font-size: 3em;
  line-height: 1;
  font-weight: 600;
  color: #045fa9;
  background-color: transparent;
  padding: 0;
  text-align: center;
}

h2.propertydetail2 {
  color: #045fa9;
  font-size: 1.5em;
  background-color: transparent;
  padding: 0;
  margin: 0 0 1em;
  text-align: center;
}

h3.propertydetail {
  font-size: 30px;
  line-height: normal;
  color: #045fa9;
  font-weight: 700;
  margin-top: 1em;
}

.property-detail-title {
  width: 100%;
  margin: 1em 1em 0;
  text-align: center;
}

.goback {
  width: 90%;
  margin: 0.5em auto 20px;
  font-size: 1em;
  font-weight: 700;
}

.goback a {
  color: #045fa9;
}

.goback a:hover {
  color: #045fa9;
}

@media (max-width: 800px) {
  .goback {
    display: none;
  }
}

.detail-content {
  line-height: 2;
}

.availability,
.rmwb_google-map-detail {
  width: 98%;
  margin: 0 auto 30px;
}

ul.amenity_list {
  /*margin-bottom: 2em;*/
  list-style: none;
  padding: 0;
}

#property-details-container h2, #property-details-container h3 {
  color: #045fa9;
}

.slider-for .slick-prev,
.slider-for .slick-next {
  display: none !important;
}

.slider-for {
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 15px;
}

.slider-for .slick-slide {
  position: relative;
}

.slider-for .slick-slide a[data-lightbox] {
  display: block;
  position: relative;
  cursor: pointer;
}

.slider-for .slick-slide a[data-lightbox]::after {
  content: "\f065";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 24px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  pointer-events: none;
}

.slider-nav {
  margin-top: 10px;
  position: relative;
}

.slider-nav .slick-list {
  width: calc(100% - 90px);
  margin: 0 auto;
  max-height: 150px;
}

.slider-nav .slick-slide {
  padding: 5px;
}

.slider-nav .slick-slide img {
  cursor: pointer;
  height: 100% !important;
}

@media (max-width: 900px) {
  .slider-nav .slick-slide img {
    height: 100px !important;
  }
}

.slider-nav .slick-prev:before,
.slider-nav .slick-next:before {
  color: #045fa9 !important;
}

.unit-no-results {
  width: 90%;
  margin: 2em auto;
  text-align: center;
  font-style: italic;
  color: #666;
}

.unit-archive-filters {
  width: 90%;
  margin: 1em auto;
  display: flex;
  justify-content: center;
}

.unit-archive-filters .unit-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1em;
}

.unit-archive-filters .unit-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.unit-archive-filters .unit-filter-field label {
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 0;
}

.unit-archive-filters .unit-filter-field select,
.unit-archive-filters .unit-filter-field input {
  padding: 0.5em 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 130px;
}

.unit-archive-filters .unit-filter-actions {
  display: flex;
  align-items: center;
  gap: 1em;
}

.unit-archive-filters .unit-filter-reset {
  font-size: 0.9em;
  text-decoration: underline;
}

.unit-archive-filters .unit-filter-submit {
  background-color: #039edf;
  color: white;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  padding: 8px 1em;
  min-width: 200px;
}

.unit-archive-filters .unit-filter-submit:hover {
  background-color: #045fa9;
}

@media (max-width: 800px) {
  .unit-archive-filters .unit-filter-submit {
    width: 100%;
    margin-top: 1.25em;
  }
}

@media (max-width: 800px) {
  .unit-archive-filters .unit-filter-form {
    flex-direction: column;
    align-items: stretch;
    width: 85%;
  }
  .unit-archive-filters .unit-filter-field select,
  .unit-archive-filters .unit-filter-field input {
    width: 100%;
  }
}

.column30 ul.rmwb_info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.column30 ul.rmwb_info-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.column30 ul.rmwb_info-list li:last-child {
  border-bottom: none;
}

.rmwb_listings {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 90%;
  margin: 1em auto;
}

h2.rmwb_listing_header {
  color: #045fa9;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 auto 0.25em;
  width: 100%;
  line-height: 1.1;
  font-size: 1.6em;
  text-align: center;
}

h3.rmwb_listing_subheader {
  color: #045fa9;
  font-size: 0.9em;
  font-weight: 400;
  text-transform: none;
  margin: 0;
  padding: 0;
}

.rmwb_unit-listings-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.rmwb_listing-wrapper {
  display: flex;
  /*flex-direction: column;*/
  margin: 1em;
  width: calc(33% - 2em);
  box-shadow: 0 4px 8px #cccccc;
  background-color: rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}

.rmwb_listing-wrapper .rmwb_header-section {
  padding: 0.75em 1em;
  border-bottom: 1px solid #eee;
}

.rmwb_listing-wrapper .rmwb_header-section h3 {
  text-align: center;
  color: #045fa9;
  margin: 0;
}

.rmwb_listing-wrapper .rmwb_photo-section {
  overflow: hidden;
}

.rmwb_listing-wrapper .rmwb_photo-section a {
  display: block;
}

.rmwb_listing-wrapper .rmwb_photo-section img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rmwb_listing-wrapper .rmwb_photo-section:hover img {
  transform: scale(1.05);
}

.rmwb_listing-wrapper ul.rmwb_info-list {
  list-style: none;
  margin: 1em;
}

.rmwb_listing-wrapper .rmwb_important-info-section {
  box-sizing: border-box;
}

.rmwb_listing-wrapper .rmwb_important-info-section .rmwb_info-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rmwb_listing-wrapper .rmwb_important-info-section .rmwb_info-list li {
  list-style-type: none;
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

.rmwb_listing-wrapper .rmwb_important-info-section .rmwb_info-list li:last-child {
  border-bottom: none;
}

.rmwb_listing-wrapper .rmwb_description {
  padding: 0.5em 1em;
  width: 100%;
  font-size: 0.9em;
  box-sizing: border-box;
}

.rmwb_listing-wrapper .rmwb_detail-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-end;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #eee;
  margin-top: auto;
  padding: 0.5em;
  gap: 0.5em;
}

.unit-card-image {
  width: 100%;
  overflow: hidden;
  height: 250px;
}

.unit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.unit-card-image:hover img {
  transform: scale(1.05);
}

.rmwb_info-title {
  box-sizing: border-box;
  padding: 0.5em;
  text-transform: uppercase;
  font-weight: 700;
}

.rmwb_info-detail {
  padding: 0.5em;
  margin: 0 0.2em;
}

.ilima-property-map-wrapper {
  width: 90%;
  margin: 2em auto;
}

#ilima-property-map {
  height: 500px;
  width: 100%;
  z-index: 0;
}

.map-popup-link {
  font-weight: 700;
  color: #045fa9;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.05em;
}

.map-popup-link:hover {
  color: #045fa9;
}

@media (max-width: 1300px) {
  .column70,
  .column30 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 1000px) {
  .rmwb_listing-wrapper {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .rmwb_listing-wrapper {
    width: calc(100% - 1em);
    padding: 10px 1em;
  }
  .rmwb_detail-wrapper {
    padding: 10px 1em;
  }
  .rmwb_detail-wrapper .rmwb_section {
    min-width: 0;
    width: 100%;
    flex-basis: 100%;
  }
  .column70,
  .column30 {
    padding: 0px;
  }
}

@media (max-width: 700px) {
  h1.propertydetail {
    font-size: 2em;
  }
  h3.propertydetail, p, .detail-content {
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 920px) {
  .services {
    flex-direction: column;
    gap: 2rem;
  }
  .service {
    max-width: 100%;
  }
  .testimonial-text {
    top: 16%;
    left: 1rem;
    max-width: 90vw;
    font-size: 0.9rem;
    padding: 1.3rem 1.5rem;
  }
  header nav ul li a::after {
    display: none;
  }
  header nav ul {
    font-size: 0.85rem;
    gap: 1.2rem;
  }
  .footer-nav-sections {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
    padding-left: 1rem;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero h2 {
    font-size: 1rem;
  }
}

.ah-tabs {
  width: 100%;
  margin: 2em 0 0;
}

.ah-tabs > input[type="radio"] {
  display: none;
}

.ah-tabs .ah-tab-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-bottom: 0;
}

.ah-tabs .ah-tab-labels label {
  padding: 0.65em 1.1em;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #045fa9;
  background: #f7f5f0;
  border: 1px solid #ddd;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.2s ease, background 0.2s ease;
}

.ah-tabs .ah-tab-labels label:hover {
  color: #045fa9;
  background: #045fa9;
}

.ah-tabs .ah-tab-panel {
  display: none;
  padding: 1.5em;
  border: 1px solid #ddd;
  border-top: none;
  background: #045fa9;
}

.ah-tabs .ah-tab-panel p {
  margin-top: 0;
}

.ah-tabs .ah-tab-panel ul.ah-bullet-list {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0.5em 0 1em;
}

.ah-tabs .ah-tab-panel ul.ah-bullet-list li {
  margin-bottom: 0.35em;
}

.ah-tabs #ah-tab1:checked ~ .ah-tab-labels label[for="ah-tab1"],
.ah-tabs #ah-tab2:checked ~ .ah-tab-labels label[for="ah-tab2"],
.ah-tabs #ah-tab3:checked ~ .ah-tab-labels label[for="ah-tab3"],
.ah-tabs #ah-tab4:checked ~ .ah-tab-labels label[for="ah-tab4"] {
  color: #045fa9;
  background: #045fa9;
  border-color: #ddd;
  border-bottom-color: #045fa9;
}

.ah-tabs #ah-tab1:checked ~ #ah-panel1,
.ah-tabs #ah-tab2:checked ~ #ah-panel2,
.ah-tabs #ah-tab3:checked ~ #ah-panel3,
.ah-tabs #ah-tab4:checked ~ #ah-panel4 {
  display: block;
}

@media (max-width: 900px) {
  .ah-tabs .ah-tab-labels label {
    flex: 1 1 calc(50% - 4px);
    text-align: center;
  }
}

@media (max-width: 600px) {
  .ah-tabs .ah-tab-labels {
    flex-direction: column;
    gap: 0;
  }
  .ah-tabs .ah-tab-labels label {
    flex: 1 1 100%;
    text-align: left;
    border: 1px solid #ddd;
    border-bottom: none;
    border-left: 4px solid transparent;
    margin-bottom: 0;
  }
  .ah-tabs .ah-tab-labels label:last-child {
    border-bottom: 1px solid #ddd;
  }
  .ah-tabs .ah-tab-panel {
    border-top: 1px solid #ddd;
  }
  .ah-tabs #ah-tab1:checked ~ .ah-tab-labels label[for="ah-tab1"],
  .ah-tabs #ah-tab2:checked ~ .ah-tab-labels label[for="ah-tab2"],
  .ah-tabs #ah-tab3:checked ~ .ah-tab-labels label[for="ah-tab3"],
  .ah-tabs #ah-tab4:checked ~ .ah-tab-labels label[for="ah-tab4"] {
    border-left-color: #045fa9;
    border-bottom-color: transparent;
  }
}

.rmwb_info-detail, .rmwb_listing-wrapper .rmwb_description {
  text-align: left;
}

.unit-listing-image img {
  width: 90%;
  height: 300px;
  object-fit: cover;
  margin-top: 1.5em;
}

.entry-header h2 {
  margin: 10px 0 5px;
}

.unit-address {
  font-size: 14px;
  margin-bottom: 1em;
}

/* RESPONSIVE CSS */
/* Accessibility Considerations */
@media (prefers-reduced-motion: reduce) {
  .oj-icon-box {
    transition: none;
  }
}

@media (max-width: 1675px) {
  .main-nav .menu {
    gap: 0px;
  }
}

@media (max-width: 1275px) {
  /* edit your breakpoint however you wish*/
  .page-hero {
    justify-content: center;
  }
  .menu-buttons {
    margin: auto;
  }
  .nolist {
    margin-left: 0px;
  }
  h1.oj-title {
    font-size: 1.25em;
  }
  .page-hero h1 {
    text-align: center;
  }
  .oj-gallery-container {
    max-width: 75%;
    margin: 30px auto 50px;
  }
  .slider-nav img {
    height: 75px !important;
  }
  .oj-callout-content {
    flex-direction: column;
  }
  .wp-block-image img {
    max-width: 100% !important;
  }
  ul.footer-menu {
    display: none;
  }
  .hpcol1 {
    flex-direction: column;
  }
  .hpcol2 {
    flex-direction: column-reverse;
  }
  .hpcol1, .hpcol2 {
    max-height: unset !important;
  }
  .hpimg1 img, .hpimg2 img {
    width: 100%;
  }
  .column-image img {
    margin: 30px auto 0px;
  }
  #forminator-module-99:not(.select2-dropdown) {
    padding-top: 0px !important;
  }
  .oj-contact-block {
    flex-direction: column;
  }
  .oj-form-wrap, .oj-contact-col {
    width: 100%;
  }
  .oj-slider-overlay {
    width: 80vw;
    max-width: none;
    min-width: none;
  }
  .oj-icon-box {
    padding: 0;
  }
  .oj-icon-box-container.oj-row {
    flex-direction: column;
  }
  .unit-search {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .unit-search label,
  .unit-search input,
  .unit-search select {
    width: 90%;
    max-width: 400px;
    /* Optional: prevents elements from being too wide on larger mobile screens */
    margin-bottom: 15px;
  }
  .searchbutton {
    width: 90%;
    max-width: 400px;
  }
  .rmwb_callout-links {
    gap: 10px;
    flex-direction: column;
    margin: 20px 0px;
  }
  .strong {
    display: none !important;
  }
  .rmwb_listing-wrapper-grid2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-bottom: 30px;
  }
  .slickwrapper3 {
    width: 70vw;
  }
  img.pd-primary2 {
    width: 80%;
    margin-bottom: 30px;
  }
  .grid-unit::before {
    content: "Unit: ";
    display: block;
    font-weight: 800;
  }
  .grid-bed-bath::before {
    content: "Bed/Bath: ";
    display: block;
    font-weight: 800;
  }
  .grid-sqfeet::before {
    content: "Sq. Feet: ";
    display: block;
    font-weight: 800;
  }
  .grid-rent::before {
    content: "Rent: ";
    display: block;
    font-weight: 800;
  }
  /* FROM OTHER THEME */
  .mobile-logo-area {
    display: none;
  }
  .search-units-section {
    width: 82%;
  }
  .search-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 90%;
  }
  .unit-search {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .unit-search label {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .unit-search select,
  .unit-search input[type="text"],
  .unit-search input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
  }
  .searchbutton {
    max-width: 100%;
  }
  .slick-slide img {
    height: 40vh !important;
    margin-left: 10px;
  }
  .details-container {
    display: block;
    width: 100%;
    margin: auto;
    border-left: none;
  }
  .unit-details {
    padding: 20px 0px;
  }
  .details-flexbox {
    display: block;
    font-size: 90%;
    line-height: 1.7;
  }
  .agent-details {
    margin: 20px -20px;
  }
  .mobile-logo-area {
    display: flex;
    gap: 10px;
    margin: 20px;
  }
  .logo img {
    max-height: 115px;
    width: 90%;
    height: unset;
  }
  .int-padding {
    height: 20px;
  }
  .dimensionlist {
    float: unset;
  }
  .information-row {
    flex-direction: column;
    width: 100%;
  }
  .site-logo {
    justify-content: center;
  }
  .header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Optional: Center content */
  }
  .banner {
    text-align: center;
  }
}
