/* ============================================
   ðŸ  Brick & Beyond â€” Luxurious Home Styling
   ============================================ */

/* --- Base Layout --- */
.bnb-home-page .bnb-section {
  padding: 100px 50px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* Section Backgrounds */
.about-mini,
.sell-cta,
.journey-nav,
.crew-preview {
  background: #d3d3d3 !important; /*==== changed from #FFFBF8 ======= */
}

/* Final CTA Section */
.final-cta {
  background: #1C1C1C !important;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}
.final-cta h2 {
  color: #fff;
  font-size: 2.5rem;
}
.final-cta p {
  color: #d8d8d8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .bnb-section { padding: 70px 20px; }
  .bnb-hero-content h1 { font-size: 2rem; }
}

/* ==============================
   1ï¸âƒ£ Hero / Search Section
   ============================== */
/* Home Hero Section â€” Brick & Beyond */
.bnb-home-hero {
  position: relative;
  background-image: url('https://brick-n-beyond.com/wp-content/uploads/website/hero-section/Home-page-hero.webp');
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Overlay darkens hero image */
.bnb-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* Hero content wrapper */
.bnb-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Hero Title & Subtext */
.bnb-hero-title {
  font-family: 'Canela', serif !important;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}

.bnb-hero-subtext {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ==============================
   Hero Search Bar â€” Desktop Style
   ============================== */
.bnb-search-wrapper {
  width: 100%;
  max-width: 675px;       /* desktop width */
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  box-sizing: border-box;
}

.bnb-search-wrapper form,
.bnb-search-wrapper input,
.bnb-search-wrapper select,
.bnb-search-wrapper button {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.bnb-search-wrapper button {
  background-color: #aa4a44; /*==== changed from #f58220 ======= */
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bnb-search-wrapper button:hover {
  background-color:  #aa4a44; /*==== changed from #f58220 ======= */
}

/* ==============================
   Mobile Adjustments â€” Make identical to Property Vault
   ============================== */
@media (max-width: 768px) {
  /* Overlay adjustment */
  .bnb-hero-overlay {
    display: block;    /* remove flex centering */
    padding: 0;        /* remove extra padding */
  }

  .bnb-hero-content {
    max-width: 100%;   /* full width */
    margin: 0 auto;
    text-align: center;
  }

  /* Stack search bar inputs like Property Vault */
  .bnb-search-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px;
    gap: 8px;
    flex-direction: column;
  }

  .bnb-search-wrapper form,
  .bnb-search-wrapper input,
  .bnb-search-wrapper select,
  .bnb-search-wrapper button {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Hero text adjustments for mobile */
  .bnb-hero-title { font-size: 2rem; }
  .bnb-hero-subtext { font-size: 1rem; }
  .bnb-search-wrapper form,
  .bnb-search-wrapper input,
  .bnb-search-wrapper select,
  .bnb-search-wrapper button { padding: 10px 14px; }
}

@media (max-width: 480px) {
  .bnb-hero-title { font-size: 1.6rem; }
  .bnb-hero-subtext { font-size: 0.95rem; }
  .bnb-search-wrapper { gap: 6px; }
}

/* ================= Why brick & beyond section ======== */
.about-mini h2 {
  font-family: 'Canela', serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-mini p {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.7;
}

.about-mini .bnb-soft-link {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important; /* âœ“ make this bold */
  line-height: 1.7;
}

/* ==============================
   3ï¸âƒ£ Featured Properties / Property Vault Section (Uniform)
   ============================== */

.featured-listings {
  padding: 80px 20px;
  background-color: #FFFBF8;
  text-align: center;
}

/* ---------- Section Heading ---------- */
.featured-listings .bnb-section-title {
  font-family: 'Canela', serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--bnb-color-primary);
  margin-bottom: 15px;
}

/* ---------- Supporting Text ---------- */
.featured-listings .bnb-section-text {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bnb-color-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* ---------- SWIPER CONTAINER ---------- */
.property-swiper {
  padding: 20px 0;
}

/* ---------- CARD BASE ---------- */
.featured-listings .bnb-card-uniform {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  border: 2px solid rgba(212,175,55,0.3);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08), inset 0 0 10px rgba(212,175,55,0.15);
  transition: all 0.35s ease;
  height: 100%;
  font-family: 'Poppins', sans-serif;
}
.featured-listings .bnb-card-uniform::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 15px rgba(212,175,55,0.25);
  opacity: 0.6;
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}
.featured-listings .bnb-card-uniform:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18),
              0 0 30px rgba(212,175,55,0.45),
              inset 0 0 14px rgba(212,175,55,0.35);
  border-color: rgba(212,175,55,0.75);
}
.featured-listings .bnb-card-uniform:hover::before {
  opacity: 1;
  box-shadow: inset 0 0 25px rgba(212,175,55,0.45);
}

/* ---------- IMAGE ---------- */
.featured-listings .bnb-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 0 0;
  transition: transform 0.5s ease;
}
.featured-listings .bnb-card-uniform:hover .bnb-card-image img {
  transform: scale(1.05);
}

/* ---------- CONTENT ---------- */
.featured-listings .bnb-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

/* ---------- TITLE ---------- */
.featured-listings .bnb-card-title {
  font-family: 'Canela', serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.3;
  color: #1C1C1C;
  margin-bottom: 8px;
}

/* ---------- LOCATION ---------- */
.featured-listings .bnb-card-location {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.featured-listings .bnb-card-location i { color: #d4af37; }

/* ---------- SPECS ---------- */
.featured-listings .bnb-specs {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 16px;
}
.featured-listings .bnb-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.featured-listings .bnb-specs span:not(:last-child)::after {
  content: "|";
  color:  #aa4a44; /*==== changed from #f58220 ======= */
  margin-left: 0.6rem;
}
.featured-listings .bnb-specs i { color: #d4af37; }

/* ---------- TAGS ---------- */
.featured-listings .bnb-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px 0;
  justify-content: flex-start;
}
.featured-listings .meta-pill {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #333;
  font-weight: 500;
  text-transform: capitalize;
}
.featured-listings .meta-pill:empty { display: none !important; }

/* ---------- Footer ---------- */
.featured-listings .bnb-section-footer {
  text-align: center;
  margin-top: 40px;
}

/* ==============================
   Partner With Us CTA Section
   ============================== */
.sell-cta {
  padding: 80px 20px;
  text-align: center;
  background-color: #FFFBF8; /* light neutral background */
}

.sell-cta h2 {
  font-family: 'Canela', serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--bnb-color-primary);
  margin-bottom: 15px;
}

.sell-cta p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bnb-color-secondary);
  margin-bottom: 25px;
}

.sell-cta .bnb-soft-link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bnb-color-primary);
  transition: color 0.3s ease;
}

.sell-cta .bnb-soft-link:hover {
  color: var(--bnb-color-accent);
}

/* ============================================
   ðŸ“° Knowledge Hub / Home Blog Carousel â€” Orange Line Fix
   ============================================ */

/* Knowledge Hub Section â€” Heading & Text */
.knowledge-hub {
  padding: 80px 20px;
  background-color: #FFFBF8;
  text-align: center;
}

/* Section Heading */
.knowledge-hub .bnb-section-title {
  font-family: 'Canela', serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  color: var(--bnb-color-primary);
  margin-bottom: 15px;
}

.knowledge-hub .bnb-section-text {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.1rem;
  color: var(--bnb-color-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Swiper Wrapper */
.bnb-blog-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* Blog Card */
.bnb-blog-swiper .bnb-blog-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 460px;
  max-width: 360px;
  min-width: 200px;
  margin: 0 auto;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-family: var(--font-blog);
  font-size: var(--font-size-base);
  color: var(--bnb-color-secondary);
}

.bnb-blog-swiper .bnb-blog-card:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}

/* Blog Image (Instant Orange Line) */
.bnb-blog-swiper .bnb-blog-thumb {
  position: relative;
  display: block;
  overflow: hidden;
}

.bnb-blog-swiper .bnb-blog-thumb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #aa4a44; /*==== changed from #f58220 ======= */
  z-index: 2;
}

.bnb-blog-swiper .bnb-blog-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  line-height: 0;
}

/* Blog Content */
.bnb-blog-swiper .bnb-blog-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  padding: 20px;
  text-align: left;
}

/* Blog Title */
.bnb-blog-swiper .bnb-blog-title {
  font-family: 'Canela', serif !important;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.bnb-blog-swiper .bnb-blog-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bnb-blog-swiper .bnb-blog-title a:hover {
  color:  #aa4a44; /*==== changed from #f58220 ======= */
}

/* Meta Text */
.bnb-blog-swiper .bnb-blog-meta {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 12px;
  text-align: left;
  width: 100%;
}

/* Excerpt */
.bnb-blog-swiper .bnb-blog-excerpt {
  font-family: 'Poppins', sans-serif !important;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 10px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Read More Link */
.bnb-blog-swiper .bnb-readmore-link {
  font-family: 'Poppins', sans-serif !important;
  color:  #aa4a44; /*==== changed from #f58220 ======= */
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.3s ease;
}

.bnb-blog-swiper .bnb-readmore-link:hover {
  color:  #aa4a44; /*==== changed from #f58220 ======= */
}

/* ==============================
   6ï¸âƒ£ Crew Preview Section
   ============================== */
.crew-preview {
  padding: 80px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background-color: #FFFBF8;
}

.crew-preview .crew-image {
  flex: 1 1 300px;
}

.crew-preview .crew-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}

.crew-preview .crew-content {
  flex: 1 1 300px;
}

.crew-preview h2 {
  font-family: 'Canela', serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--bnb-color-primary);
}

.crew-preview p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bnb-color-secondary);
  margin-bottom: 20px;
}

.crew-preview .bnb-soft-link {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
}

/* ==============================
   Testimonials Section
   ============================== */
.testimonials {
  padding: 80px 20px; /* consistent spacing with other sections */
  text-align: center;
  background-color: #FFFBF8; /* edge-to-edge background */
}

.testimonials h2 {
  font-family: 'Canela', serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--bnb-color-primary);
}

.testimonials p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bnb-color-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* ==============================
   Choose Your Journey CTA Cards
   ============================== */
.journey-nav {
  padding: 80px 20px; /* consistent with other sections */
  text-align: center;
  background-color: #FFFBF8; /* edge-to-edge section background */
}

.journey-nav h2 {
  font-family: 'Canela', serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--bnb-color-primary);
}

.journey-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.journey-card {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 1.1rem;
  padding: 16px 28px;
  border: 2px solid var(--bnb-color-primary);
  border-radius: 40px;
  transition: all 0.3s ease;
  display: inline-block;
  color: var(--bnb-color-primary);
  text-decoration: none;
}

.journey-card:hover {
  background-color: var(--bnb-color-primary);
  color: #fff;
}

/* ==============================
   9ï¸âƒ£ Final CTA Section â€” Brick & Beyond
   ============================== */
.final-cta {
  padding: 100px 20px;            /* section spacing */
  background-color: #1c1c1c;      /* dark background */
  color: #fff;                    /* text color */
  text-align: center;
}

.final-cta h2 {
  font-family: 'Canela', serif !important;  /* heading font */
  font-weight: 700 !important;
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.final-cta p {
  font-family: 'Poppins', sans-serif !important;  /* body font */
  font-weight: 400 !important;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Buttons container */
.final-cta .final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Individual buttons */
.final-cta .bnb-btn-white {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #fff;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.final-cta .bnb-btn-white:hover {
  background-color: #fff;
  color: #1c1c1c;
  transform: translateY(-2px);
}

/* ================ Blog and property cards are of same width ====== */

/* Uniform Home Card Width â€” Property + Blog */
:root {
  --bnb-home-card-width: 370px; /* âœ“ Set master width */
}

/* Normalize box-sizing */
.featured-listings .bnb-card-uniform,
.bnb-blog-swiper .bnb-blog-card {
  box-sizing: border-box !important;
  width: var(--bnb-home-card-width);
  max-width: var(--bnb-home-card-width);
  flex: 0 0 var(--bnb-home-card-width);
  margin: 0 auto;
}

/* Force same Swiper slide width */
.property-swiper .swiper-slide,
.bnb-blog-swiper .swiper-slide {
  width: var(--bnb-home-card-width) !important;
  display: flex !important;
  justify-content: center !important;
}

/* Match border + radius visually */
.bnb-blog-swiper .bnb-blog-card {
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 18px;
}

/* Ensure consistent image width */
.featured-listings .bnb-card-image img,
.bnb-blog-swiper .bnb-blog-thumb img {
  width: 100% !important;
  display: block;
  object-fit: cover;
}

/* Prevent hover cut-off (Property + Blog Carousels) */
.property-swiper,
.bnb-blog-swiper {
  overflow: visible !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Smooth animation lift */
.featured-listings .bnb-card-uniform,
.bnb-blog-swiper .bnb-blog-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  z-index: 2;
}

/* Uniform Soft Link Styling (Across All Sections) */
.bnb-soft-link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1rem;
  font-weight: 600 !important; /* consistent semi-bold */
  text-decoration: none;
  color: var(--bnb-color-primary);
  transition: color 0.3s ease;
}

.bnb-soft-link:hover {
  color:  #aa4a44; /*==== changed from #f58220 ======= */ /* orange accent hover */
}

/* ==============================
   Responsive tweaks (maintain exact responsive behavior)
   ============================== */
@media (max-width: 992px) {
  /* keep spacing consistent on medium screens */
}

@media (max-width: 768px) {
  .featured-listings { padding: 60px 16px; }
  .bnb-blog-swiper .bnb-blog-card { height: auto; max-width: none; min-width: 0; }
  .crew-preview { padding: 60px 16px; }
  .journey-cards { gap: 12px; }
}

@media (max-width: 480px) {
  .bnb-hero-title { font-size: 1.6rem; }
  .featured-listings .bnb-card-image img { height: 200px; }
  .bnb-blog-swiper .bnb-blog-thumb img { height: 180px; }
}

/* ==========================================================
   END â€” Home styles preserved pixel-for-pixel. LCP hero URL set absolute.
   ========================================================== */

/* ==========================================================
   ðŸ§­ FIX â€” Astra Mobile Menu Visibility & Layering
   ========================================================== */
.ast-header-break-point .main-header-bar-navigation {
  position: relative !important;
  z-index: 9999 !important;
}

.ast-header-break-point .ast-mobile-header-wrap {
  position: relative !important;
  z-index: 9999 !important;
}

.ast-header-break-point .ast-mobile-popup-drawer.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

.ast-header-break-point .ast-mobile-popup-drawer {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}