/* RealEstateDecisionIndex -- assets/style.css v2.0 MOBILE-FIRST
   GeneratePress overrides + mobile base
*/

/* ---- RESET GENERATEPRESS ---- */
.redi-page .site-header,
.redi-page .site-footer,
.redi-page .page-header,
.redi-page .widget-area,
.redi-page h1.entry-title { display: none !important; }

.redi-page .site-content { padding: 0 !important; margin: 0 !important; }
.redi-page .content-area { width: 100% !important; max-width: 100% !important; float: none !important; }
.redi-page article { margin: 0 !important; padding: 0 !important; }
.redi-page .entry-content { margin: 0 !important; padding: 0 !important; }
.redi-page .inside-article { padding: 0 !important; }
.redi-page .site-main { padding: 0 !important; margin: 0 !important; }

/* ---- ROOT CONTAINER ---- */
#redi-root {
  display: block;
  width: 100%;
  min-height: 100vh;
  background: #080808;
  overflow-x: hidden; /* prevent horizontal scroll on mobile */
}

/* ---- MOBILE BASE: prevent horizontal overflow ---- */
*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ---- TOUCH TARGETS ---- */
button, a, select, input {
  -webkit-tap-highlight-color: rgba(201, 168, 76, 0.15);
}

/* ---- IOS SAFARI ZOOM FIX ---- */
/* font-size 16px is set inline on all inputs/selects via React styles */
/* This rule is a safety net */
input[type="text"],
input[type="number"],
input[type="email"],
select,
textarea {
  font-size: 16px !important;
}

/* ---- SCROLLBAR (desktop) ---- */
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: #0D0D0D; }
  ::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 3px; }
}
