/*
Theme Name: Green Acres
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
*/
/*$branding2: #edd79c;*/
@import url(c:\Users\jnolan\London Computer Systems\Professional Services Web - Documents\Projects\Users\JNolan\greenacresparkbothell\public_html\wp-content\themes\greenacres\assets\css\theme-colors.css);
@import url(c:\Users\jnolan\London Computer Systems\Professional Services Web - Documents\Projects\Users\JNolan\greenacresparkbothell\public_html\wp-content\themes\greenacres\blocks\icon-boxes\icon-boxes.css);
@import url(c:\Users\jnolan\London Computer Systems\Professional Services Web - Documents\Projects\Users\JNolan\greenacresparkbothell\public_html\wp-content\themes\greenacres\blocks\meet-the-team\meet-the-team.css);
@import url(c:\Users\jnolan\London Computer Systems\Professional Services Web - Documents\Projects\Users\JNolan\greenacresparkbothell\public_html\wp-content\themes\greenacres\blocks\shape-divider\shape-divider.css);
@import url(c:\Users\jnolan\London Computer Systems\Professional Services Web - Documents\Projects\Users\JNolan\greenacresparkbothell\public_html\wp-content\themes\greenacres\blocks\contact-block\contact-block.css);
.oj-hero-slider-container {
  position: relative;
  height: 70vh;
  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;
  width: 50vw;
}

.oj-slider-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  /*box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);*/
  width: 100%;
  min-height: 350px;
  padding: 2em;
}

.oj-slider-title h1 {
  color: #ffffff;
  font-size: 60px;
}

@media (max-width: 600px) {
  .oj-slider-title h1 {
    font-size: 50px;
  }
}

@media (max-width: 500px) {
  .oj-slider-title h1 {
    font-size: 40px;
  }
}

.oj-slider-title p {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 1em;
}

.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: 60px;
}

.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;
}

.oj-hero-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  z-index: -1;
}

.oj-hero-image-slider .slick-list,
.oj-hero-image-slider .slick-track,
.oj-hero-image-slider .slick-slide {
  height: 100%;
}

.oj-hero-image-slider .slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: 50%;
  margin-right: auto;
  height: 100vh;
  margin-top: 50vh;
}

.oj-hero-image-slider .slick-slide > div {
  height: 100%;
}

.oj-hero-image-slider .oj-hero-image {
  width: 100%;
  height: 100%;
}

.oj-hero-image-slider .slick-prev,
.oj-hero-image-slider .slick-next {
  z-index: 1;
  width: 50px;
  height: 50px;
}

.oj-hero-image-slider .slick-prev:before,
.oj-hero-image-slider .slick-next:before {
  font-size: 50px;
  opacity: 0.75;
  color: #ffffff;
}

.oj-hero-image-slider .slick-prev:hover:before,
.oj-hero-image-slider .slick-next:hover:before {
  opacity: 1;
}

.oj-hero-image-slider .slick-prev {
  left: 25px;
}

.oj-hero-image-slider .slick-next {
  right: 25px;
}

.oj-hero-image-slider .slick-dots {
  bottom: 25px;
  z-index: 1;
}

.oj-hero-image-slider .slick-dots li button:before {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.5;
}

.oj-hero-image-slider .slick-dots li.slick-active button:before {
  color: #ffffff;
  opacity: 1;
}

/*.fa-solid, .fas {
    color: $secondary; 
}*/
.hp-head {
  font-weight: 800;
  font-size: 4em;
  width: 75%;
}

.slogan {
  font-size: 30px;
}

.subhead {
  font-size: 28px;
  font-weight: 500;
}

/* SLICK GALLERY STYLING*/
.oj-gallery-container {
  max-width: 75%;
  margin: 50px auto;
}

.slider-for img {
  width: 100%;
  object-fit: cover;
}

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

.slider-nav img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

.slider-nav .slick-current img {
  border-color: #000;
}

.slick-prev:before, .slick-next:before {
  font-size: 30px !important;
  color: #1d4729 !important;
}

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

/* RESPONSIVE CSS */
@media (max-width: 1200px) {
  .oj-gallery-container {
    max-width: 75%;
    margin: 30px auto 50px;
  }
  .slider-nav img {
    margin: 5px;
  }
}

.sbs-container-flex {
  display: flex;
  width: 100%;
  margin: auto;
}

.sbs-container {
  flex-basis: 50%;
  padding: 2em;
  text-align: center;
  height: 50vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.sbs-container h2 {
  color: white;
  font-weight: 900;
  font-size: 3rem;
  text-transform: capitalize;
}

.sbs-text-container {
  width: 70%;
  margin: auto;
  padding: 2em;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sbs-heading-container {
  width: 68%;
  margin-bottom: 1em;
}

.sbs-button-container {
  position: relative;
  display: inline-block;
}

.sbs-button-container::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 8px;
  width: 100%;
  height: 100%;
  border: 5px solid #FCE694;
  border-radius: 30px;
  pointer-events: none;
}

.custom-button {
  background-color: #6d8b85;
  padding: 10px 50px;
  border-radius: 30px;
  color: white;
  font-weight: 800;
  font-size: 30px;
  position: relative;
  display: inline-block;
}

.custom-button:hover {
  /*color: $buttonshadow;*/
  color: #FCE694;
  text-decoration: none;
}

@media (max-width: 600px) {
  .custom-button {
    font-size: 24px;
  }
}

.custom-button2 {
  background-color: #6d8b85;
  padding: 10px 50px;
  border-radius: 30px;
  color: white;
  font-weight: 800;
  font-size: 30px;
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.custom-button2:hover {
  /*color: $buttonshadow;*/
  color: #FCE694;
  text-decoration: none;
}

@media (max-width: 600px) {
  .custom-button2 {
    font-size: 24px;
  }
}

@media (max-width: 1275px) {
  .sbs-container-flex {
    flex-direction: column;
  }
  .sbs-text-container {
    min-height: 50vh;
  }
}

@media (max-width: 700px) {
  .sbs-text-container {
    width: 90%;
  }
}

.google-doc-embed {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
}

.google-doc-embed iframe {
  position: relative;
  top: -80px;
  left: 0;
  min-width: 800px;
  /* Force minimum width */
  width: 100%;
  height: 2480px;
}

.google-doc-link {
  text-align: center;
  height: 100px;
  margin-top: 1em;
}

.twocol-container-flex {
  display: flex;
  width: 100%;
  margin: auto;
  gap: 2em;
  padding: 3em 10%;
}

.twocol-text-container {
  flex-basis: 60%;
}

.twocol-image-container {
  flex-basis: 40%;
}

.twocol-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.Green {
  background-color: #1d4729;
}

.Gold {
  background-color: #FCE694;
}

.Gray {
  background-color: #eeeeee;
}

@media (max-width: 1275px) {
  .twocol-container-flex.image-left {
    flex-direction: column;
  }
  .twocol-container-flex.image-right {
    flex-direction: column-reverse;
  }
}

body {
  margin: 0 auto;
  /*font-family: var(--body-font) !important; /*  Unfortunatly Bootstrap kept overriding this so we need an important tag here */
  font-family: "helvetica-neue-lt-pro", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  /*font-family: var(--header-font);*/
  font-family: "optima-lt-pro", sans-serif;
}

h1 {
  text-transform: uppercase;
  font-size: 2em;
  margin: 0;
  font-weight: 700;
}

h2 {
  text-transform: capitalize;
  font-size: 3em;
  margin: 0;
  font-weight: 800;
  color: #1d4729;
}

.header-wrap, .footer {
  font-family: "optima-lt-pro", sans-serif;
}

.submenu-description {
  font-family: "helvetica-neue-lt-pro", sans-serif;
}

p {
  font-size: 1.25rem;
}

a {
  color: #000000;
}

ul, ol {
  font-size: 1.25em;
  line-height: 2;
}

.home .fa-solid, .fa-regular {
  color: #1d4729;
}

.strong {
  font-weight: 800;
}

.notice {
  font-weight: 600;
  font-style: italic;
  color: #1d4729;
}

.home .oj-content {
  margin: 2em 0px 3em;
}

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

.oj-row {
  padding: 1em 10vw 3em;
  margin: 0 auto;
}

.oj-btn-container {
  display: inline-block;
  padding: 12px 24px !important;
  font-size: 20px !important;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #1d4729;
  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;
  text-transform: uppercase;
}

.oj-btn-container a, .oj-btn-container a:hover {
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 2px;
}

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

/* CALLOUT SECTION */
.oj-home-callout {
  overflow: hidden;
  background-color: #eeeeee !important;
}

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

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

.oj-content h2 {
  margin-bottom: 0.5em;
}

.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%;
  height: 400px;
}

.contact-info {
  margin: 2em 0px;
}

/* CALLOUT SECTION END */
/* SUBPAGE HERO */
.page-hero {
  display: flex;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 15vh;
  align-items: center;
  justify-content: 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);*/
  background-color: #333333;
}

.page-hero h1 {
  padding: 0 10vw;
  color: #ffffff;
  z-index: 99;
  font-size: 3em;
  text-align: center;
}

img.pl-primary {
  width: 90%;
  height: auto;
  object-fit: cover;
  margin: auto;
}

img.pd-primary {
  margin-top: 30px;
  width: 50%;
}

/* RESPONSIVE CSS */
@media (max-width: 781px) {
  .oj-callout-content {
    flex-direction: column;
  }
}

/*.oj-btn-container2 {
    margin: auto;
    padding: 0px 0px 20px;
}*/
.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;
}

.full-width {
  width: 90%;
  margin: auto;
}

.wp-block-column {
  width: 100vw;
  overflow: hidden;
}

.is-layout-flex {
  gap: 2em;
}

.detailbutton {
  background: #1d4729;
  /* 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;
  width: 400px;
  margin: auto;
}

.detailbutton:hover {
  background: #003e52;
  /* Keep the button background */
  transition: all 0.3s ease;
  transform: translateY(-2px);
}

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

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

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

.disclaimer {
  font-size: 14px;
}

.disclaimer a {
  color: inherit;
  font-weight: 300;
}

/* CONTACT US PAGE */
.oj-contact-block {
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 100%;
  margin: auto;
}

.oj-contact-col, .oj-form-wrap {
  flex-basis: 50%;
}

.property-listings-container, .unit-listings-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  width: 80%;
  margin: auto;
  margin: 1em auto 2em;
}

.property, .unit {
  flex-basis: calc(33.333% - 0.67em);
  /* Accounts for gap */
  border: 1px solid #1d4729;
  text-align: center;
  border-radius: 20px;
}

.unit-contact-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  margin: 2em auto;
  flex-direction: column;
  width: 80%;
  margin: 2em auto;
}

h1.page-title {
  text-align: center;
}

.view-details {
  margin: 1.5em auto;
}

.isflex {
  display: flex;
  width: 80%;
  margin: auto;
}

.add-bottom {
  margin-bottom: 2em;
}

.add-gap {
  gap: 1em;
}

/* Load More Button */
.rmua-load-more-wrapper {
  text-align: center;
  margin: 1em;
}

/* Search/Filters */
.property-filters {
  width: 50%;
  margin: 0px auto 2em;
  border: 1px solid;
  border-radius: 10px;
}

/* Featured Unit Block */
.unittype {
  margin-bottom: 15px;
}

.featured-container, .featured-wrapper {
  text-align: center;
}

.featured-container {
  width: 80%;
  margin: 10px auto;
}

.featured-unit {
  border: 1px solid #1d4729;
  border-radius: 20px;
  margin: 0px 25px;
  -webkit-box-shadow: 5px 5px 15px 5px #666;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
}

.hp-featured {
  margin: 20px 0px 55px;
}

.featured-container .slick-track {
  margin-bottom: 10px;
}

.entry-content .fa-solid, .unitlist-details-flex .fas {
  color: #1d4729;
  font-size: 1.5rem;
}

img.featured-image {
  height: 300px;
  width: 90%;
  object-fit: cover;
  border-radius: 20px;
}

/* Unit Listings */
.entry-title {
  font-weight: 700;
}

.unit-image {
  position: relative;
}

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

.unit-banner {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(29, 71, 41, 0.7);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.3em 0.75em;
  pointer-events: none;
  width: 90%;
  left: 5%;
  top: 5%;
  text-transform: uppercase;
}

.unitlist-details-flex {
  display: flex;
  width: 90%;
  margin: 0px auto 1em;
  gap: 0.75em;
  min-height: 100px;
}

.unit-list-beds-baths, .unit-list-sqft, .unit-list-price {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #eeeeee;
  border-radius: 20px;
  justify-content: center;
}

.sbs-button-container-container {
  padding: 1em;
  margin: 0px auto 1em;
}

/* Unit Details */
.slider-for img, .image-grid img {
  height: 675px;
}

.unit-details {
  text-align: center;
}

.unit-custom-description {
  font-size: 1.25em;
}

.unit-info-grid, .image-grid {
  margin: 1em 0px;
}

.unit-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
  gap: 15px;
}

@media (max-width: 800px) {
  .unit-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

#unit-map {
  margin: auto;
  height: 400px;
  width: 100%;
  border-radius: 20px;
}

.unit-image-gallery {
  width: 80%;
  margin: auto;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.image-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.details-list {
  text-align: left;
}

.col-sm-4 {
  background-color: #eeeeee;
  padding: 20px;
  margin-left: 20px;
  border-radius: 20px;
}

.unit-apply-now {
  margin: 0.5em 1em 1em;
}

.unit-bedrooms, .unit-bathrooms, .unit-rent, .unit-available-date, .pets_allowed, .unit-sqft {
  border: 1px solid #1d4729;
  border-radius: 20px;
  align-content: center;
  width: 100%;
  margin: auto;
  height: 120px;
}

.unit-leaflet-map {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  border: 1px solid #ddd;
}

.realtor-container {
  display: flex;
  gap: 1em;
  margin: 1em 0px 2em;
}

.realtor-information {
  display: flex;
  flex-direction: column;
}

.realtor-picture img {
  height: 100px;
  width: 100px;
  object-fit: cover;
}

.footer {
  background-color: #1d4729;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 20px 0px 0px;
}

.footer img {
  width: auto;
  max-height: 70px;
  margin-bottom: 1em;
  max-width: 80%;
}

.bottom-footer {
  background-color: #000000;
  display: flex;
  justify-content: center;
  color: #ffffff;
  padding: 20px 10px 0px;
  text-align: center;
  gap: 10px;
  align-items: baseline;
}

.bottom-footer p {
  font-size: 18px;
  line-height: 1;
}

footer a {
  color: #ffffff !important;
  letter-spacing: 1px;
}

.footer-logo {
  margin-bottom: 10px;
}

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

.footer-menu {
  display: flex;
  gap: 2em;
  justify-content: center;
  width: 90%;
  margin: auto;
  list-style: none;
  margin-bottom: 30px;
}

.footer-menu li {
  text-transform: uppercase;
  font-size: 18px;
}

@media (max-width: 700px) {
  .bottom-footer {
    flex-direction: column;
    gap: 0px;
    align-items: center;
  }
}

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

.header-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
}

.menu-buttons-flex {
  display: flex;
  gap: 2em;
  width: 100%;
  margin-bottom: 1em;
  justify-content: flex-end;
  background-color: #FCE694;
  padding: 0.5em 1em;
}

/* Desktop Navigation Container */
.desktop-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  min-height: 24vh;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  flex-shrink: 0;
}

.site-logo img {
  max-height: 150px;
  height: auto;
}

.mobile-header-container {
  display: none;
}

.site-logo-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-logo-mobile img {
  max-width: 35%;
  height: auto;
  min-width: 200px;
}

/* Main Navigation Styles */
.main-nav {
  position: relative;
}

.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  text-align: center;
}

.main-nav .menu > li {
  position: relative;
}

.main-nav .menu > li > a {
  text-decoration: none;
  color: #333333;
  font-size: 24px;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 4px;
  letter-spacing: 2px;
  display: block;
  white-space: nowrap;
}

/* Down arrow for menu items with submenus */
.main-nav .menu > li.menu-item-has-children > a::after {
  content: '\25BC';
  font-size: 10px;
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.main-nav .menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Submenu Styles */
.main-nav .menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 8px;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
}

/* 2-column layout when 4+ items */
.main-nav .menu .sub-menu li:nth-child(4) ~ li,
.main-nav .menu .sub-menu li:nth-child(4) {
  grid-column: auto;
}

/* When submenu is displayed (via JavaScript), add padding and gap */
.main-nav .menu .sub-menu[style*="display: grid"] {
  padding: 20px;
  gap: 10px;
}

/* Check if parent has 4+ children for 2-column layout */
.main-nav .menu > li.menu-item-has-children:has(.sub-menu li:nth-child(4)) .sub-menu {
  grid-template-columns: 1fr 1fr;
  min-width: 600px;
}

/* Right-align submenus for right-side menu items */
.main-nav-right .menu > li.menu-item-has-children .sub-menu {
  left: auto;
  right: 0;
}

.main-nav .menu .sub-menu li {
  margin: 0;
  padding: 0;
}

.main-nav .menu .sub-menu a {
  text-decoration: none;
  color: #333333;
  display: block;
  text-transform: none;
  transition: background-color 0.2s ease;
  padding: 12px;
  border-radius: 6px;
}

.main-nav .menu .sub-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Enhanced submenu item with thumbnail and description */
.submenu-item-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.submenu-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 6px;
}

.submenu-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.submenu-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: left;
}

.submenu-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #333333;
  display: block;
  line-height: 1.2;
}

.submenu-description {
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.4;
  display: block;
}

/* Split menu positioning */
.menu-left > li:nth-child(n+3),
.menu-right > li:nth-child(1),
.menu-right > li:nth-child(2) {
  display: none;
}

.home .menu-item-home {
  display: none;
}

.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;
}

.mobile-nav {
  display: none;
}

.oj-btn-container {
  min-width: 250px;
}

.menu-button a {
  font-weight: 600;
  font-size: 20px;
}

.menu-text {
  display: flex;
  align-items: center;
  height: 90%;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1275px) {
  .desktop-nav-container {
    display: none;
  }
  .header-wrap {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .menu-buttons-flex {
    display: none;
  }
  .mobile-header-container {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
  }
  .site-logo-mobile {
    justify-content: center;
    margin: 2em auto 1em;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 999;
    align-items: center;
    gap: 0.5em;
    align-self: center;
  }
  .menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #333333;
    position: relative;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
  }
  .menu-icon::before,
  .menu-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333333;
    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-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav .menu {
    display: block;
    margin: 60px 20px 20px;
    padding: 0;
    text-align: left;
  }
  .mobile-nav .menu li {
    margin-bottom: 20px;
  }
  .mobile-nav .menu a {
    display: block;
    text-align: left;
  }
  .mobile-nav .menu-item-has-children {
    position: relative;
  }
  .mobile-nav .menu-item-has-children > a {
    cursor: pointer;
  }
  .mobile-nav .menu-item-has-children > a::after {
    content: '\25BC';
    font-size: 10px;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
  }
  .mobile-nav .menu-item-has-children.submenu-open > a::after {
    transform: rotate(180deg);
  }
  .mobile-nav .menu .sub-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 0;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    display: block !important;
    grid-template-columns: 1fr !important;
  }
  .mobile-nav .menu .sub-menu.show {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
  }
  .mobile-nav .submenu-item-content {
    flex-direction: column;
    gap: 8px;
  }
  .mobile-nav .submenu-thumbnail {
    width: 100%;
    height: auto;
    max-width: 150px;
  }
  /* -----------------------------------
     Mobile Contact Section
  ----------------------------------- */
  .oj-mobile-nav-contact {
    padding: 20px;
    background-color: #808080;
    border-bottom: 1px solid #eeeeee;
    text-align: center;
    margin-bottom: 20px;
  }
  .oj-mobile-nav-contact a {
    color: #333333;
    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: #333333;
  }
  /* -----------------------------------
   Mobile Nav Button Section
----------------------------------- */
  .oj-mobile-nav-buttons {
    padding: 20px;
    background-color: #808080;
    border-top: 1px solid #eeeeee;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  /* -----------------------------------
   Menu Buttons in Mobile Nav
----------------------------------- */
  .mobile-nav .menu-buttons-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: #FCE694;
    border-top: 1px solid #eeeeee;
    width: 100%;
    margin: 0;
  }
  .mobile-nav .menu-button {
    width: 100%;
  }
  .mobile-nav .menu-button a {
    display: block;
    text-align: left;
    padding: 12px;
  }
  /* Close Button Styles */
  .mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
    color: #333333;
  }
  .mobile-nav-close:focus {
    outline: none;
  }
  .close-icon {
    display: inline-block;
  }
}

/* ============================================= */
/* = DESKTOP (Min Width 1275px)                 */
/* ============================================= */
@media (min-width: 1275px) {
  .desktop-nav-container {
    display: flex;
  }
  .mobile-nav-toggle,
  .mobile-nav,
  .oj-mobile-nav-buttons,
  .oj-mobile-nav-contact,
  .mobile-nav-close {
    display: none;
  }
  .menu-buttons-flex {
    display: flex;
  }
}

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

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

.oj-row3 {
  padding: 0px 10vw 20px;
  margin: 0 auto;
}

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

.nolist {
  column-count: 3;
  padding: 0;
  margin-left: 10%;
}

.wp-block-image img {
  margin-bottom: -16px;
  max-width: 100%;
  /*min-height: 75vh;
    max-height: 90vh;*/
  height: 62vh;
  object-fit: cover;
}

.rmwb_info-list3 {
  display: flex;
  flex-wrap: nowrap;
  text-align: center;
  padding-top: 40px !important;
  font-size: 1.75em;
}

.rmwb_info-list3 li {
  flex-direction: column;
  list-style-type: none;
  display: flex;
  width: 100%;
  justify-content: center;
  border-bottom: 1px solid #bbb;
  box-sizing: border-box;
}

.grid-details {
  justify-self: end;
}

/* FAQs */
.faq-section {
  width: 78%;
  margin: 2em auto;
}

.faq-wrapper {
  width: 100%;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
  font-size: 22px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 10px 0;
  color: #555;
  font-size: 18px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer a {
  text-decoration: underline;
  color: inherit;
}

/* HOME PAGE */
.centered {
  text-align: center;
  margin: auto;
}

.alignleft {
  float: left;
  margin-right: 1em;
}

.wp-caption-text {
  font-size: 14px;
  text-align: center;
  line-height: 1;
  margin-top: 0.5em;
}

.event-list {
  margin: 3em auto;
}

ul.calendar-events-list {
  margin: 1em 2em;
}

.simcal-event-title {
  font-size: 20px;
}

.simcal-event-title {
  font-size: 20px;
}

/* Style the "See more details" link as a button */
.simcal-event-details.simcal-tooltip-content p a,
.simcal-event-details p a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #1d4729;
  color: white !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 20px;
  transition: background-color 0.3s ease;
  text-transform: capitalize;
  font-weight: 700;
}

.simcal-event-details.simcal-tooltip-content p a:hover,
.simcal-event-details p a:hover {
  background-color: #6d8b85;
}

.custom-section-content ol li {
  margin: 0px 2em 1.5em;
}

.sitemap-svg-container {
  width: 90%;
  margin: 2em auto;
}

.sitemap-svg-container svg {
  width: 100%;
  height: auto;
}

.sitemap-svg-container svg [id^="unit-"],
.sitemap-svg-container svg [id^="Unit-"] {
  fill: transparent;
  transition: fill 0.2s ease, opacity 0.2s ease;
}

.sitemap-svg-container svg [id^="unit-"] *,
.sitemap-svg-container svg [id^="Unit-"] * {
  fill: inherit;
  transition: fill 0.2s ease, opacity 0.2s ease;
}

.sitemap-unit.available.sale-greenacres {
  opacity: 0.9;
  cursor: pointer;
}

.sitemap-unit.available.sale-greenacres, .sitemap-unit.available.sale-greenacres * {
  fill: #FFFFFF !important;
}

.sitemap-unit.available.sale-greenacres:hover {
  opacity: 0.5;
}

.sitemap-unit.available.sale-greenacres:hover, .sitemap-unit.available.sale-greenacres:hover * {
  fill: #6d8b85 !important;
}

.sitemap-unit.available.sale-tenant {
  opacity: 0.9;
  cursor: pointer;
}

.sitemap-unit.available.sale-tenant, .sitemap-unit.available.sale-tenant * {
  fill: #f7f741 !important;
}

.sitemap-unit.available.sale-tenant:hover {
  opacity: 0.5;
}

.sitemap-unit.available.sale-tenant:hover, .sitemap-unit.available.sale-tenant:hover * {
  fill: #f5f510 !important;
}

.sitemap-unit.available:not(.sale-greenacres):not(.sale-tenant) {
  opacity: 0.6;
  cursor: pointer;
}

.sitemap-unit.available:not(.sale-greenacres):not(.sale-tenant), .sitemap-unit.available:not(.sale-greenacres):not(.sale-tenant) * {
  fill: #1d4729 !important;
}

.sitemap-unit.available:not(.sale-greenacres):not(.sale-tenant):hover {
  opacity: 0.85;
}

.sitemap-unit.available:not(.sale-greenacres):not(.sale-tenant):hover, .sitemap-unit.available:not(.sale-greenacres):not(.sale-tenant):hover * {
  fill: #6d8b85 !important;
}

.sitemap-tooltip {
  position: absolute;
  z-index: 9999;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  line-height: 1.5;
  max-width: 250px;
  pointer-events: none;
  text-align: center;
}

.sitemap-tooltip strong {
  font-size: 16px;
  color: #1d4729;
}

span.alert-text {
  color: red;
  font-weight: 800;
  font-style: italic;
}

span.red-text {
  color: red;
  font-style: italic;
}

@media (max-width: 1200px) {
  .oj-slider-overlay {
    width: 100%;
  }
  .hp-head {
    font-size: 2em;
    margin: 0px 50px;
    width: 100%;
  }
  .slogan {
    margin-top: 20px;
  }
  .unit-search {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    align-items: center;
  }
  .unit-search label,
  .unit-search input,
  .unit-search select {
    width: 100%;
    margin-bottom: 15px;
  }
  .wp-block-image img {
    max-width: 100vw;
  }
  ul.nolist {
    display: flex;
  }
  .detailbutton {
    width: unset;
  }
  .slider-nav img {
    height: 100px;
    min-width: 60px;
  }
  .footer-menu {
    display: none;
  }
  .oj-contact-block {
    display: block;
  }
  .property-listings-container, .unit-listings-container {
    flex-direction: column;
    gap: 2em;
    width: 90%;
  }
  .isflex {
    flex-direction: column-reverse;
  }
  .col-sm-8, .col-sm-4 {
    flex: 100%;
    max-width: 100%;
  }
}

@media (max-width: 1000px) {
  .oj-slider-title {
    min-width: 80vw;
  }
}

@media (max-width: 781px) {
  .oj-row {
    text-align: center;
  }
  .hpcol2 {
    flex-direction: column-reverse;
  }
  .page-hero h1 {
    font-size: 2em;
  }
}
