/*
Theme Name: Bricks Child
Template: bricks
Version: 1.0
*/

/* ============================================
   NOBLE POINT — FONT IMPORTS
   Add this to /src/styles/fonts.css
   ============================================ */

   @import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --c-primary:  #000000;
  --c-primary-rgb: 0, 0, 0;
  --c-secondary:#003057;
  --c-tertiary: #383A3A;

  --c-text:     #000000;
  --c-muted:    #707372;

  --c-bg:       #ffffff;
  --c-surface:  #f8fafc;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --secondary-font: "Libre Caslon Display", serif;
  --primary-font: 'Poppins', sans-serif;
}

body {
  font-family: var(--primary-font);
  font-size: 16px;
}

/* Headings — all font-serif elements */
h1, h2, h3, h4,
.font-serif {
  font-family: var(--secondary-font);
  font-weight: 400;
  line-height: 1.3em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 70px;
  letter-spacing: 8px;
}
.text-muted {
  color: var(--c-muted);
}
.primary-font {
  font-family: var(--primary-font)
}
.secondary-font {
  font-family: var(--secondary-font)
}

/** ======================
   FADE WHITE that fades white to transparent bottom to top
   ====================== */
.fade-white {
  position: relative;
  overflow: hidden;
}
.fade-white::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.75) 28%,
    rgba(255, 255, 255, 0.25) 58%,
    rgba(255, 255, 255, 0) 100%
  );
}
.fade-white > * {
  position: relative;
  z-index: 1;
}

.hero.full-height {
  position: relative;
  min-height: 90vh;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero > .brxe-container > * {
  margin-bottom: 24px;
}
.hero-bottom {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
}
.hero-bottom.gradient-overlay-white-bottom {
  --hero-fade-height: 20vh;
  position: relative;
  inset: auto;
  background: transparent;
}
.hero-bottom.gradient-overlay-white-bottom::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(-1 * var(--hero-fade-height));
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.9) 80%,
    rgba(255, 255, 255, 1) 100%
  );
}
.hero-bottom.gradient-overlay-white-bottom > * {
  position: relative;
  z-index: 1;
}
.hero.has-bg-video .bricks-background-video-wrapper,
.hard-fade-white-top.has-bg-video .bricks-background-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero.has-bg-video .bricks-background-video-wrapper iframe,
.hard-fade-white-top.has-bg-video .bricks-background-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
}
.hero.align-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

nav .menu-item {
  font-size: 14px;
  font-family: var(--font-sans);
}

.menu-item.button {
  background-color: var(--c-white);
  color: var(--c-primary);
  padding: 6px 15px;
  /* border-radius: 5px; */
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: var(--c-secondary);
  }
}
.scrolling .menu-item.button,
.scrolling .menu-item.button a {
  color: var(--c-primary) !important;
}
.menu-item.button:hover {
  background-color: var(--c-primary);
  color: var(--c-white);
}
.menu-item.button:active {
  background-color: var(--c-primary);
  color: var(--c-white);
}
.menu-item.button:focus {
  background-color: var(--c-primary);
  color: var(--c-white);
}
.border-radius-10 {
  border-radius: 10px;
}
.border-radius-20 {
  border-radius: 20px;
}
.border-radius-30 {
  border-radius: 30px;
}
.border-radius-40 {
  border-radius: 40px;
}
.border-radius-50 {
  border-radius: 50px;
}

#footer h4 {
  margin-bottom: 10px;
}
#footer .brxe-text-link {
  display: block;
  padding: 5px 0;
}
#footer .inline-links .brxe-text-link {
  display: inline;
  padding-right: 15px;
}
#footer .inline-links .brxe-text-link:last-child {
  padding-right: 0;
}
#brx-header .bricks-nav-menu-wrapper > ul {
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.hero {
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--c-secondary);
}

/* Tab labels */
.brxe-tabs .tab-title {
  position: relative;
  color: #777;
  padding: 14px 24px;
  cursor: pointer;
  overflow: hidden;
}

/* Sliding black bar */
.brxe-tabs .tab-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #000;
  transition: bottom 0.3s ease;
  z-index: -1;
}

/* Active tab */
#brxe-eioyfw .tab-content .tab-pane {
  padding: 0px !important;
}
.brxe-tabs .tab-title.brx-open {
  color: #fff;
}

/* Active tab bar slides up */
.brxe-tabs .tab-title.brx-open::before {
  bottom: 0;
}
.brxe-tabs img {
  width: 100%;
  height: auto;
  display: block;
}
.brxe-tabs.floor-plans .tab-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.brxe-tabs.floor-plans .tab-title {
  flex: 1 1 0;
  min-width: fit-content;
  text-align: center;
}
@media (max-width: 767px) {
  .brxe-tabs.floor-plans .tab-title {
    flex-basis: 100%;
  }
  /* Bricks .horizontal sets border-left:0!important — use ::after for left accent */
  .brxe-tabs.floor-plans .tab-title:not(:first-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    pointer-events: none;
  }
  .brxe-tabs.floor-plans .tab-title:not(:first-child).brx-open::after {
    width: 3px;
    background: #fff;
  }
  .hero h1 {
    font-size: 2.5em;
  }
  .brxe-button.exclusive-updates {
    font-size: 0.75em;
  }
}
.brxe-button {
  border-radius: 5px;
  padding: 20px 30px;
  box-shadow: 0px 9px 10px -7px rgba(0, 0, 0, 0.35);
}
.black-angled-top {
  position: relative;
  background: #000;
  overflow: visible;
  padding-top: 10px;
}

.black-angled-top::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: 151px;
  background: #000;
  clip-path: polygon(
    0 0,
    100% 100%,
    100% 100%,
    0 100%
  );
  z-index: 0;
}

.black-angled-top > * {
  position: relative;
  z-index: 2;
}
.contact-buttons {
  padding: 15px 30px;
  min-width: 200px;
}
.footer .footer-logo {
  max-width: 230px;
}
.footer .realtor-icons {
  max-height: 36px;
  width: auto;
}
/* Container */
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Links */
.footer-links .brxe-text-link {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .22em;
  line-height: 1;
  padding: 0 22px;
  transition: opacity .25s ease;
}

/* Separator */
.footer-links .brxe-text-link:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.65);
  font-weight: 300;
}

/* Hover */
.footer-links .brxe-text-link:hover {
  opacity: .75;
}

.footer {
  background: #000;
  color: #fff;
  padding: 42px clamp(32px, 6vw, 72px);
}

.footer .brxe-container:not(.grid-12) {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(32px, 6vw, 96px);
  width: 100%;
  max-width: none;
  min-height: 116px;
}
.footer .brxe-container.grid-12 {
  width: 100% !important;
  max-width: none;
  min-height: 116px;
  align-items: stretch;
}

#brxe-dyrfgr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

#brxe-yxezye {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-logo {
  width: 180px;
  margin-bottom: 0;
}

#brxe-oarnse {
  font-size: 9px;
  letter-spacing: .32em;
  line-height: 1;
  text-transform: uppercase;
}

.realtor-icons {
  width: 84px;
  margin-bottom: 0;
}

.footer > .grid > div {
  height: 100%;
}
.footer-links,
#footer .footer-links {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: none;
  white-space: nowrap;
  text-align: right;
}

.footer-links .brxe-text-link,
#footer .footer-links .brxe-text-link {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px !important;
  font-weight: 300;
  /* letter-spacing: .22em; */
  line-height: 1;
  padding: 0 6px !important;
}

#footer .footer-links .brxe-text-link:first-child {
  padding-left: 0;
}

#footer .footer-links .brxe-text-link:last-child {
  padding-right: 0;
}

#footer .footer-links .brxe-text-link:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.75);
}

@media (max-width: 767px) {
  .footer .brxe-container:not(.grid-12) {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
  }
  .footer .brxe-container.grid-12 {
    min-height: 0;
  }

  #brxe-yxezye {
    align-items: flex-start;
    gap: 34px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .footer-links .brxe-text-link {
    padding: 0 14px 0 0;
    margin-right: 10px;
  }

  #brxe-tanhqo ul,
  #brxe-dslyps ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-count: unset !important;
  }

  #brxe-tanhqo ul li:nth-child(n+3),
  #brxe-dslyps ul li:nth-child(n+3) {
    display: none !important;
  }
  #brx-content.agent-container {
    margin-bottom: unset;
  }
  .contact-buttons .brxe-button {
    margin-bottom: 10px;
  }
  #brx-content .center-on-mobile,
  #brx-content .center-on-mobile div
   {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
form input, form textarea {
  border-radius: 10px;
  border: 1px solid rgba(208,215,223);
  font-size: 0.85em;
  text-align: left;
}
form [type="submit"] {
  appearance: none;
  border-radius: 10px;
  background-color: transparent;
  background-image: linear-gradient(to top, #fff 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: top;
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #fff;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-position 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
form [type="submit"]:hover,
form [type="submit"]:focus-visible {
  background-position: bottom;
  color: #000;
  border-color: #fff;
}
.contact-buttons .brxe-button {
  padding: 10px 30px;
  min-width: 200px;
}
.happyfiles-gallery .item:nth-child(n+5) {
  display: none;
}
.happyfiles-gallery img {
  border-radius: 10px;
}
/* Force the LightGallery toolbar/buttons to stay visible */
.lg-outer .lg-toolbar,
.lg-outer .lg-close {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Style the existing close button */
.lg-outer .lg-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    background: rgba(0,0,0,.75) !important;
    border-radius: 50% !important;
    z-index: 999999 !important;
}

/* Hide LightGallery's built-in icon */
.lg-outer .lg-close::after {
    content: "" !important;
    display: none !important;
}

/* Add one clean X */
.lg-outer .lg-close::before {
    content: "×" !important;
    font-family: Arial, sans-serif !important;
    font-size: 44px !important;
    font-weight: 300 !important;
    line-height: 52px !important;
    color: #fff !important;
    display: block !important;
    text-align: center !important;
}

.lg-outer .lg-close:hover::before {
    color: #fff !important;
}

.lg-outer .lg-close:hover::before {
    color: #000 !important;
}