/* ========================
   GLOBAL FULL WIDTH LAYOUT
======================== */
/*
body .container,
body .wrap,
body .site-main {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
*/

/* ========================
   NAVBAR STYLING
======================== */
.navbar {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.5) !important; /* transparent by default */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar .container {
  max-width: 1200px; /* adjust as needed */
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Add background when scrolling */
body.scrolled .navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Align nav menu to right */
.navbar-nav {
  margin-left: auto !important;
  margin-right: 24px !important;
}

/* Menu link styling */
.navbar-nav .nav-link {
  padding: 0.75rem 1.2rem;
  font-weight: 500;
  color: #333;
}

/* Logo sizing */
.navbar .custom-logo-link {
  display: flex;
  align-items: center;
}
.navbar .custom-logo {
  max-height: 125px;
  width: auto;
	margin: 9px;
}

/* If your navbar and search box need to stay on top */
/*
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 20;
}

.hero-overlay {
  position: relative;
  z-index: 10;
}
*/

/* ========================
   HERO VIDEO SECTION
======================== */
.hero-video {
  height: 85vh; /* full screen */
  top: 0;
  left: 0;
  width: 100vw;
  position: absolute;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16:9 ratio trick */
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 0;
}

.hero-video-bg iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.78vh;
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #fff;
  text-align: center;
}

/* Dark overlay */
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.0);
  z-index: 1;
}

.hero-end-fixer {
  height: 95vh;
}

.search-bar {
	top: 75vh;
  position: relative;
}



/** elementor hacks */

#theme-main {
  margin-top: 160px!important;
}
.page-id-466 #theme-main {
  margin-top: 0px!important;
}

.emoji {
	display: inline;
	margin-left: 4px;
	height: 20px !important;
  margin-top: -1px;
}





/* ==== Resales Property Grid Styles ==== */
.resales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

/* Card */
.property-card {
  background: #fff;
	display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

/* Image */
.property-card img {
  width: 100%;
  height: 220px; /* adjust this value as needed */
  object-fit: cover; /* crop without stretching */
  object-position: center;
  display: block;
}

/* Text Wrapper */
.property-headline,
.property-location,
.property-details,
.property-price,
.property-description,
.property-link {
  padding: 0.15rem 1rem;
}

.property-headline {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.property-location,
.property-details {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.property-price {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.75rem;
}

.property-description {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.75rem;
	display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Link/Button */
.property-link {
	display: block;
  font-size: 0.95rem;
  color: #fff;
  background-color: #ffba08;
  text-decoration: none;
  border-radius: 0.25rem;
  padding: 0.6rem 1rem;
  transition: background-color 0.2s;
	text-align: center;
	margin-top: auto; /* pushes button to the bottom */
}

.property-link:hover {
  background-color: #e0a806;
}




/* ==== Responsive Tuning ==== */
@media (min-width: 992px) {
  .resales-grid .property-card img {
    height: 260px;
  }
}
@media (max-width: 576px) {
  .resales-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .property-headline { font-size: 1rem; }
  .property-price { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .property-description {
    display: none; /* Hide long text on small screens */
  }
}


.elementor .elementor-background-video-container
{
    top: -10rem;
}

.elementor .elementor-background-video-embed {
    /*height: 100vh;*/
    transform: translate(-50%, -10vh);
    top: 0;
}









/*  Robin Hood Estate Footer Styling */
#colophon {
  background: #0f172a;                /* dark slate backdrop */
  color: #e5e7eb;                     /* light, readable text */
  font-family: system-ui, sans-serif;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-width-fixer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 28px;
}

.e-con-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 32px;
}

.e-con-inner p, .e-con-inner li {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

#colophon a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color .2s ease;
}

#colophon a:hover {
  color: #ffffff;
}

/* Column-specific tweaks */
.elementor-element-924f77c a {
  color: #ffffff;
  font-weight: 600;
}

.elementor-element-e82ce1d ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px 0;
}

.elementor-element-6c9299a a {
  border-bottom: 1px dotted rgba(255,255,255,0.3);
}

.elementor-element-6c9299a a:hover {
  border-bottom-color: rgba(255,255,255,0.6);
}

/* Responsive Layout */
@media (max-width: 900px) {
  .e-con-inner {
    grid-template-columns: 1fr;
  }
  .footer-width-fixer {
    padding: 32px 16px 22px;
  }
  .elementor-element-e82ce1d ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }
}



html body.body.scroll-position-not-at-top #wrapper-navbar nav.navbar.fixed-top,
html body.scroll-position-at-top #wrapper-navbar nav.navbar.fixed-top,
html body #wrapper-navbar nav.navbar.fixed-top,
html body .robinhoodestate-navbar.fixed-top {
  background-color: rgba(255, 255, 255, .84) !important;
  background-color: #CADDDFD9 !important;
  --border-radius: 3px 3px 3px 3px;
  box-shadow: 0px 0px 3px 3px rgba(17.31124320652175, 76.5, 73.33951339404389, 0.84);
}
