/*
 * CAM page banner + site footer (new design).
 *
 * Everything is scoped under .cam-page-banner / .cam-site-footer so the
 * site's own styles stay untouched. Brand fonts come from the theme:
 * Poppins for body text, Bookmania for headings.
 */

/* ------------------------------------------------------------------ header swap */

/* The navy banner replaces the theme header on these pages. */
/* body.cam-new-header .rh_header {
  display: none !important;
} */
section.cam-page-banner {
    margin-top: 80px;
}
.cam-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}

.cam-topbar .cam-brand { margin-bottom: 0; }

.cam-nav { position: relative; }

.cam-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.cam-nav-list a {
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
}

.cam-nav-list a:hover { color: #fff; }

.cam-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
}

.cam-nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

@media (max-width: 760px) {
  .cam-topbar { margin-bottom: 17px; }

  .cam-nav-burger { display: flex; }

  .cam-nav-list {
    display: none;
    position: absolute;
    top: 46px;
    right: 0;
    z-index: 60;
    min-width: 210px;
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 8px;
    background: #211a4c;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  }

  .cam-nav-check:checked ~ .cam-nav-list { display: flex; }
  section.cam-page-banner{
    margin-top: 130px;
  }
}

/* ------------------------------------------------------------------ banner */
.cam-page-banner {
  position: relative;
  overflow: hidden;
  background: #29205f;
  color: #fff;
  padding: 34px 0 38px;
  min-height: 170px;
  font-family: var(--rh-font-body, "Poppins", Arial, Helvetica, sans-serif);
}

/*
 * Folded-corner decoration, matched to the design reference pixel map:
 *  - red flap: right triangle in the corner, top leg = half the right leg
 *  - white wedge: slim stripe hugging the red flap's diagonal, like the
 *    underside of a folded ribbon
 */
.cam-page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 210px;
  height: 210px;
  background: #f0444b;
  clip-path: polygon(100% 0, 50% 0, 100% 100%);
  pointer-events: none;
}

.cam-page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 210px;
  height: 210px;
  background: #fff;
  clip-path: polygon(0 0, 50% 0, 67% 33%);
  pointer-events: none;
}

.cam-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.cam-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 25px;
  text-decoration: none;
}

.cam-brand img {
  display: block;
  max-height: 80px;
  width: auto;
}

.cam-brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 25px;
}

.cam-brand-mark i {
  display: block;
  width: 2px;
  background: var(--cam-bf-red, #f0444b);
}

.cam-brand-mark i:nth-child(1) { height: 15px; }
.cam-brand-mark i:nth-child(2) { height: 23px; }
.cam-brand-mark i:nth-child(3) { height: 19px; }

.cam-brand-name {
  color: #ef777c;
  font-family: var(--rh-font-heading, "Bookmania", Georgia, serif);
  font-size: 23px;
  letter-spacing: .2px;
}

.cam-page-banner .cam-header-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* No intro paragraph on this page: the title takes the full width. */
.cam-page-banner .cam-header-content--solo {
  grid-template-columns: 1fr;
}

.cam-page-banner .cam-header-content--solo h1,
.cam-page-banner .cam-header-content--solo h2 {
  max-width: 760px;
}

.cam-page-banner h1,
.cam-page-banner h2 {
  margin: 0;
  max-width: 490px;
  font-family: var(--rh-font-heading, "Bookmania", Georgia, serif);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
  color: #fff;
  font-weight: 700;
}

.cam-page-banner p {
  margin: 0;
  max-width: 520px;
  color: rgb(255, 255, 255);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
}

/* WPBakery element: sits flush, no gap above. */
.cam-page-banner--module {
  margin-top: 0 !important;
}

/* WPBakery element: always full-bleed, even inside a boxed row/container. */
.cam-page-banner--module h2,
.cam-page-banner--module p {
  color: #fff;
  text-align: left;
}

.cam-page-banner--module {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* The bleed must never create a horizontal scrollbar. */
body:has(.cam-page-banner--module) {
  overflow-x: hidden;
}

/* ------------------------------------------------------------------ footer */
.cam-site-footer {
  background: #29205f;
  color: #fff;
  padding: 42px 0 22px;
  font-family: var(--rh-font-body, "Poppins", Arial, Helvetica, sans-serif);
}

.cam-site-footer a { color: inherit; text-decoration: none; }

.cam-footer-brand { margin-bottom: 12px; }
.cam-footer-brand.cam-brand { margin-bottom: 12px; }
.cam-footer-brand .cam-brand-mark { height: 36px; gap: 4px; }
.cam-footer-brand .cam-brand-mark i { width: 3px; }
.cam-footer-brand .cam-brand-mark i:nth-child(1) { height: 22px; }
.cam-footer-brand .cam-brand-mark i:nth-child(2) { height: 34px; }
.cam-footer-brand .cam-brand-mark i:nth-child(3) { height: 28px; }
.cam-footer-brand .cam-brand-name { font-size: 32px; }
.cam-footer-brand img { max-height: 86px; }

.cam-footer-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cam-footer-heading {
  margin: 0;
  font-family: var(--rh-font-heading, "Bookmania", Georgia, serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
}

.cam-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 11px 25px;
  border-radius: 30px;
  background: #f0444b;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: background .2s ease;
}

.cam-inquiry-btn:hover { background: #d9323b; color: #fff; }

.cam-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 300px;
  max-width: 100%;
  margin: 13px 0 12px;
  color: #f4dce0;
}

.cam-ornament::before,
.cam-ornament::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, .55);
  flex: 1;
}

.cam-ornament span { font-size: 12px; letter-spacing: 2px; }

.cam-company-description {
  margin: 0;
  max-width: 1120px;
  color: rgb(255, 255, 255);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.cam-footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .55);
  margin: 24px 0;
}

.cam-footer-columns {
  display: grid;
  grid-template-columns: 1fr .8fr 1.15fr 1.1fr;
  gap: 36px;
}

.cam-footer-column h3 {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.cam-footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cam-footer-column li { margin: 0 0 13px; }

.cam-footer-column li a {
  color: rgb(255, 255, 255);
  font-size: 16px;
  transition: color .2s ease;
  font-weight: 500;
}

.cam-footer-column li a:hover { color: #fff; }

.cam-local-time-title { margin-bottom: 13px !important; }
.cam-local-date { margin: 0 0 8px; color: rgba(255, 255, 255, .78); font-size: 12px; }

.cam-clock { display: flex; align-items: center; gap: 5px; }

.cam-clock span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 39px;
  padding: 5px 6px;
  background: #fff;
  color: #29205f;
  border-radius: 3px;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cam-clock b { color: #fff; font-size: 20px; }

.cam-google-note {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 9px;
  background: #fff;
  color: #555;
  border-radius: 15px;
  font-size: 14px;
}

.cam-contact-area {
  display: grid;
  grid-template-columns: 1.25fr 1fr .75fr;
  gap: 32px;
  align-items: start;
  margin-top: 12px;
}
.cam-contact-title span{
  font-weight: 700!important;
}
.cam-contact-title { margin: 0 0 10px; font-size: 16px; color: #fff; }
.cam-contact-title strong { color: #e1505f; }

/* The R of "Realty" is white - brand accent in the contact heading. */
.cam-contact-title .cam-r { color: #fff; }

.cam-contact-list { display: grid; gap: 9px; }

.cam-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.cam-site-footer span{
  font-weight: 500;
}
.cam-contact-icon {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #fff;
  color: #29205f;
  font-size: 11px;
  font-weight: 700;
}
.cam-payment-methods{
  display: flex;
  align-items: center;
}

.cam-contact-socials { height:100%; align-items: flex-end; display: flex; justify-content: flex-start; padding-top: 2px; }

.cam-social-links {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;
}
.cam-social-links svg{
  width: 35px;
  height: 35px;
}

.cam-social-links a {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* background: #fff; */
  color: #29205f;
  font-size: 12px;
  font-weight: 700;
  /* padding: 5px; */
}

.cam-license-payment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.cam-payment-methods { text-align: right; }
.cam-payment-label { margin-right: 8px; color: rgb(255, 255, 255); }

.cam-payment-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  vertical-align: middle;
}

.cam-payment-badges span {
  display: inline-flex;
  min-width: 27px;
  height: 18px;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: #fff;
  color: #123;
  font-size: 8px;
  font-weight: 800;
}

.cam-payment-badges span:nth-child(1) { background: #00a7b5; color: #fff; }
.cam-payment-badges span:nth-child(2) { background: #e32636; color: #fff; }
.cam-payment-badges span:nth-child(3) { background: #fff; color: #164a9a; }
.cam-payment-badges span:nth-child(4) { background: #f5a623; color: #222; }

.cam-copyright {
  margin: 18px 0 0;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 500;
}
@media (max-width:1139px){
  .rh_temp_header_responsive_view {
      display: none;
  }
  .rh_temp_header_large_screens{
    display: block!important;
  }
  .rh_header .rh_header__wrap{
    background: #29205f;
  }
}

@media (max-width: 910px){
  section.cam-page-banner{
    margin-top: 110px;
  }
  .cam-page-banner .cam-header-content{
    grid-template-columns: max-content;
  }
  .cam-license-payment {
    flex-direction: column;
  }
  .cam-footer-columns{
   grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cam-contact-area{
    grid-template-columns: 1.25fr 1fr;
  }
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 760px) {
  .cam-container { width: min(100% - 40px, 560px); }

  .cam-page-banner { padding: 24px 0 29px; min-height: 0; }
  .cam-page-banner .cam-brand { margin-bottom: 17px; }
  .cam-page-banner .cam-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .cam-page-banner h1,
  .cam-page-banner h2 { max-width: 100%; line-height: 1.03; }
  .cam-page-banner p { max-width: 100%; line-height: 1.35; }
  .cam-page-banner::before { width: 130px; height: 130px; }
  .cam-page-banner::after { width: 130px; height: 130px; }

  .cam-site-footer { padding: 28px 0 20px; }
  .cam-site-footer .cam-container { position: relative; }

  .cam-footer-brand { margin-bottom: 13px; }
  .cam-footer-brand .cam-brand-mark { height: 31px; }
  .cam-footer-brand .cam-brand-name { font-size: 29px; }

  .cam-footer-heading-row { display: block; }
  .cam-footer-heading { max-width: 100%; font-size: clamp(26px, 7vw, 34px); line-height: 1.05; }

  .cam-inquiry-btn {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 112px;
    padding: 8px 18px;
  }

  .cam-ornament { width: 100%; margin: 11px 0 13px; }
  /* .cam-company-description { font-size: 13px; line-height: 1.32; } */
  .cam-footer-divider { margin: 19px 0; }

  .cam-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 25px; }
  .cam-footer-column h3 { margin-bottom: 7px; line-height: 1.2; }
  .cam-footer-column li { margin-bottom: 6px; line-height: 1.2; }
  /* .cam-footer-column li a { font-size: 12px; line-height: 1.25; } */

  .cam-local-time-title { margin-bottom: 8px !important; }
  .cam-local-date { margin-bottom: 7px; font-size: 11px; }
  .cam-clock { gap: 4px; }
  .cam-clock span { min-width: 31px; padding: 3px 5px; font-size: 19px; }
  .cam-clock b { font-size: 17px; }
  .cam-google-note { margin-top: 10px; padding: 4px 7px; font-size: 11px; }

  .cam-contact-area { grid-template-columns: 1fr; gap: 13px; margin-top: 0; }
  .cam-contact-socials { justify-content: flex-start; }
  .cam-contact-title { margin-bottom: 9px;  line-height: 1.3; }
  .cam-contact-list { gap: 7px; }
  .cam-contact-item { gap: 9px; line-height: 1.3; }
  .cam-contact-right { gap: 12px; }
  .cam-social-links { justify-content: center; gap: 10px; }

  .cam-license-payment { flex-direction: column; align-items: stretch; gap: 9px; line-height: 1.4; }
  .cam-payment-methods { text-align: left; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
  .cam-payment-badges span { min-width: 25px; height: 16px; font-size: 7px; }
  .cam-copyright { margin-top: 15px; }
}

@media (max-width: 420px) {
  .cam-container { width: calc(100% - 36px); }
  .cam-footer-columns { gap: 20px 16px; }
  .cam-footer-brand .cam-brand-name { font-size: 26px; }
  .cam-inquiry-btn { min-width: 96px; padding: 7px 13px; }
  .cam-footer-heading { font-size: 27px; }
  /* .cam-company-description { font-size: 12px; } */
  .cam-clock span { min-width: 29px; font-size: 18px; }
  .cam-contact-item { font-size: 10.5px; }
}


