/* Romance Forest — Sitewide footer */
.rfdir-sitewide-footer-breakout{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}

.rfdir-sitewide-footer{
  margin-top:48px;
  background:
    radial-gradient(circle at top left, rgba(176,134,103,.24), transparent 34%),
    radial-gradient(circle at top right, rgba(240,201,167,.12), transparent 28%),
    linear-gradient(180deg, #2b1820 0%, #1b1016 100%);
  color:#f7ede6;
  position:relative;
  overflow:hidden;
}

.rfdir-sitewide-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  pointer-events:none;
}

.rfdir-sitewide-footer__inner{
  position:relative;
  z-index:1;
  max-width:1280px;
  margin:0 auto;
  padding:34px 22px 22px;
}

.rfdir-sitewide-footer__hero{
  display:grid;
  grid-template-columns:minmax(280px, 1.1fr) minmax(320px, 1fr);
  gap:28px;
  align-items:start;
}

.rfdir-sitewide-footer__brand{
  padding:10px 6px 10px 0;
}

.rfdir-sitewide-footer__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(247,237,230,.18);
  background:rgba(255,255,255,.05);
  color:#d8b89d;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.rfdir-sitewide-footer__brand h2{
  margin:18px 0 14px;
  color:#fff6ef;
  font-size:clamp(32px, 4vw, 52px);
  line-height:1.02;
  font-weight:800;
  max-width:12ch;
}

.rfdir-sitewide-footer__brand p{
  margin:0;
  max-width:58ch;
  color:rgba(247,237,230,.88);
  font-size:17px;
  line-height:1.7;
}

.rfdir-sitewide-footer__stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin:24px 0 0;
  max-width:620px;
}

.rfdir-sitewide-footer__stat{
  padding:16px 16px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(247,237,230,.10);
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

.rfdir-sitewide-footer__stat strong{
  display:block;
  font-size:28px;
  line-height:1;
  color:#fff7f0;
  margin-bottom:6px;
}

.rfdir-sitewide-footer__stat span{
  color:rgba(247,237,230,.72);
  font-size:13px;
}

.rfdir-sitewide-footer__cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.rfdir-sitewide-footer__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none !important;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}

.rfdir-sitewide-footer__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 28px rgba(0,0,0,.18);
}

.rfdir-sitewide-footer__btn--primary{
  background:linear-gradient(135deg, #f2c18d 0%, #dca56f 100%);
  color:#2a1921 !important;
  border-color:rgba(220,165,111,.95);
}

.rfdir-sitewide-footer__btn--primary:hover{
  background:linear-gradient(135deg, #f5ca9c 0%, #e4af7d 100%);
}

.rfdir-sitewide-footer__btn--ghost{
  background:rgba(255,255,255,.05);
  color:#fff4ec !important;
  border-color:rgba(247,237,230,.18);
}

.rfdir-sitewide-footer__btn--ghost:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(247,237,230,.26);
}

.rfdir-sitewide-footer__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.rfdir-sitewide-footer__col{
  min-height:100%;
  padding:20px 20px 18px;
  border-radius:22px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(247,237,230,.10);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.rfdir-sitewide-footer__col h3{
  margin:0 0 14px;
  color:#e7c3a4;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.11em;
}

.rfdir-sitewide-footer__col ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.rfdir-sitewide-footer__col a{
  color:#fff5ed;
  text-decoration:none;
  line-height:1.45;
}

.rfdir-sitewide-footer__col a:hover,
.rfdir-sitewide-footer__bottom-links a:hover,
.rfdir-sitewide-footer__chip:hover{
  color:#ffd8b6;
}

.rfdir-sitewide-footer__quick{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  margin-top:26px;
  padding-top:24px;
  border-top:1px solid rgba(247,237,230,.12);
}

.rfdir-sitewide-footer__quick-label{
  color:#e7c3a4;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-size:12px;
  font-weight:800;
}

.rfdir-sitewide-footer__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.rfdir-sitewide-footer__chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(247,237,230,.15);
  background:rgba(255,255,255,.05);
  color:#fff5ed;
  text-decoration:none !important;
  transition:transform .14s ease, border-color .14s ease, background .14s ease, color .14s ease;
}

.rfdir-sitewide-footer__chip:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.09);
  border-color:rgba(247,237,230,.28);
}

.rfdir-sitewide-footer__bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid rgba(247,237,230,.10);
}

.rfdir-sitewide-footer__bottom p{
  margin:0;
  color:rgba(247,237,230,.72);
  font-size:14px;
  line-height:1.6;
}

.rfdir-sitewide-footer__bottom-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.rfdir-sitewide-footer__bottom-links a{
  color:#fff5ed;
  text-decoration:none;
  font-size:14px;
}

/* Hide the theme footer when the custom sitewide footer is active. */
body.rfdir-sitewide-footer-enabled #colophon,
body.rfdir-sitewide-footer-enabled .site-footer-wrap,
body.rfdir-sitewide-footer-enabled .site-footer{
  display:none !important;
}

@media (max-width: 1080px){
  .rfdir-sitewide-footer__hero{
    grid-template-columns:1fr;
  }
  .rfdir-sitewide-footer__brand h2{
    max-width:16ch;
  }
}

@media (max-width: 720px){
  .rfdir-sitewide-footer__inner{
    padding:28px 16px 18px;
  }
  .rfdir-sitewide-footer__grid,
  .rfdir-sitewide-footer__stats{
    grid-template-columns:1fr;
  }
  .rfdir-sitewide-footer__col{
    padding:18px 16px 16px;
    border-radius:18px;
  }
  .rfdir-sitewide-footer__brand h2{
    font-size:clamp(28px, 10vw, 42px);
    max-width:100%;
  }
  .rfdir-sitewide-footer__brand p{
    font-size:16px;
  }
  .rfdir-sitewide-footer__bottom{
    align-items:flex-start;
  }
}
