/* =============================================
   RENT VS. BUY CALCULATOR
   Adkins Capital Management LLC
   ============================================= */

:root {
  --crimson: #8B0000;
  --crimson-mid: #6B0000;
  --crimson-dark: #3D0000;
  --crimson-light: #A50000;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --offwhite: #F5F0E8;
  --warm-gray: #C8C0B4;
  --text-primary: #F5F0E8;
  --text-muted: #B0A898;
  --bg-dark: #0D0200;
  --bg-card: #1A0505;
  --bg-input: #180404;
  --border: rgba(201,168,76,0.3);
  --buyer-color: #C9A84C;
  --renter-color: #4C9AC9;
}

.rvb-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  box-sizing: border-box;
}
.rvb-fullwidth *, .rvb-fullwidth *::before, .rvb-fullwidth *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

/* HEADER */
.rvb-fullwidth .header {
  background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 50%, var(--crimson-mid) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden; width: 100%;
}
.rvb-fullwidth .header::before {
  content: ''; position: absolute; top:0;left:0;right:0;bottom:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.rvb-fullwidth .header-brand { z-index: 1; }
.rvb-fullwidth .header-brand .firm-name { font-family:'Playfair Display',serif; font-size:14px; letter-spacing:3px; text-transform:uppercase; color:var(--gold-light); }
.rvb-fullwidth .header-brand h1 { font-family:'Playfair Display',serif; font-size:32px; font-weight:700; color:var(--offwhite); margin-top:6px; line-height:1.2; }
.rvb-fullwidth .header-badge { z-index:1; background:rgba(0,0,0,0.35); border:1px solid var(--gold); border-radius:6px; padding:12px 22px; text-align:center; }
.rvb-fullwidth .header-badge .badge-label { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--gold-light); }
.rvb-fullwidth .header-badge .badge-value { font-family:'Playfair Display',serif; font-size:22px; font-weight:700; color:var(--offwhite); }

/* CONTAINER */
.rvb-fullwidth .container { width:100%; max-width:1400px; margin:0 auto; padding:36px 48px; }
.rvb-fullwidth .grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.rvb-fullwidth .grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; }
@media(max-width:960px){
  .rvb-fullwidth .grid-2,.rvb-fullwidth .grid-3{grid-template-columns:1fr;}
  .rvb-fullwidth .header{flex-direction:column;gap:16px;text-align:center;padding:24px;}
  .rvb-fullwidth .container{padding:24px 20px;}
}

/* SECTION LABEL */
.rvb-fullwidth .section-label { font-size:12px; letter-spacing:3px; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:18px; display:flex; align-items:center; gap:12px; }
.rvb-fullwidth .section-label::after { content:''; flex:1; height:1px; background:linear-gradient(to right,var(--gold),transparent); opacity:0.4; }

/* CARDS */
.rvb-fullwidth .card { background:var(--bg-card); border:1px solid var(--border); border-radius:12px; padding:28px 32px; position:relative; overflow:hidden; }
.rvb-fullwidth .card::before { content:''; position:absolute; top:0;left:0;right:0; height:3px; background:linear-gradient(90deg,var(--crimson),var(--gold),var(--crimson)); opacity:0.8; }
.rvb-fullwidth .card-title { font-family:'Playfair Display',serif; font-size:19px; font-weight:600; color:var(--offwhite); margin-bottom:22px; display:flex; align-items:center; gap:10px; }
.rvb-fullwidth .card-title .icon { width:32px;height:32px; background:var(--crimson); border-radius:50%; display:flex;align-items:center;justify-content:center; font-size:15px; flex-shrink:0; }

/* INPUTS — spacious */
.rvb-fullwidth .input-group { margin-bottom:22px; padding-bottom:22px; border-bottom:1px solid rgba(255,255,255,0.06); }
.rvb-fullwidth .input-group:last-of-type { border-bottom:none; margin-bottom:8px; }
.rvb-fullwidth .input-group label { display:block; font-size:12px; letter-spacing:1.5px; text-transform:uppercase; color:var(--warm-gray); margin-bottom:8px; font-weight:600; }
.rvb-fullwidth .input-wrapper { position:relative; display:flex; align-items:center; }
.rvb-fullwidth .input-prefix { position:absolute; left:14px; color:var(--gold); font-family:'DM Mono',monospace; font-size:15px; pointer-events:none; z-index:1; }
.rvb-fullwidth input[type="number"] { width:100%; background:var(--bg-input); border:1px solid var(--border); border-radius:8px; color:var(--offwhite); font-family:'DM Mono',monospace; font-size:16px; padding:12px 14px 12px 30px; outline:none; transition:border-color 0.2s,box-shadow 0.2s; -moz-appearance:textfield; }
.rvb-fullwidth input[type="number"]::-webkit-outer-spin-button,.rvb-fullwidth input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;}
.rvb-fullwidth input[type="number"]:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,168,76,0.15); }

/* RANGE SLIDER */
.rvb-fullwidth input[type="range"] { width:100%; height:8px; -webkit-appearance:none; appearance:none; background:linear-gradient(to right,var(--gold) 0%,var(--gold) var(--pct,50%),#2A1010 var(--pct,50%),#2A1010 100%); border:none; border-radius:4px; cursor:pointer; margin-top:8px; outline:none; }
.rvb-fullwidth input[type="range"]::-webkit-slider-thumb { -webkit-appearance:none; width:20px;height:20px; border-radius:50%; background:var(--gold); border:3px solid var(--crimson-dark); cursor:pointer; box-shadow:0 0 8px rgba(201,168,76,0.6); }
.rvb-fullwidth input[type="range"]::-moz-range-thumb { width:20px;height:20px; border-radius:50%; background:var(--gold); border:3px solid var(--crimson-dark); cursor:pointer; }
.rvb-fullwidth .range-labels { display:flex; justify-content:space-between; font-size:11px; color:var(--text-muted); margin-top:6px; font-family:'DM Mono',monospace; }
.rvb-fullwidth .range-value { text-align:center; font-family:'DM Mono',monospace; font-size:18px; color:var(--gold); font-weight:600; margin-bottom:4px; }

/* SELECT */
.rvb-fullwidth select { width:100%; background:var(--bg-input); border:1px solid var(--border); border-radius:8px; color:var(--offwhite); font-family:'Source Sans 3',sans-serif; font-size:15px; padding:12px 14px; outline:none; cursor:pointer; margin-bottom:12px; }
.rvb-fullwidth select:focus { border-color:var(--gold); }

/* VERDICT BANNER — vivid background */
.rvb-fullwidth .verdict-banner { margin-bottom:28px; padding:26px 36px; border-radius:12px; display:flex; align-items:center; gap:24px; border:2px solid; }
.rvb-fullwidth .verdict-banner.renter-wins { background:rgba(20,70,120,0.65); border-color:#4C9AC9; box-shadow:0 0 30px rgba(76,154,201,0.25); }
.rvb-fullwidth .verdict-banner.buyer-wins { background:rgba(100,65,5,0.65); border-color:var(--gold); box-shadow:0 0 30px rgba(201,168,76,0.25); }
.rvb-fullwidth .verdict-icon { font-size:48px; flex-shrink:0; }
.rvb-fullwidth .verdict-text .verdict-headline { font-family:'Playfair Display',serif; font-size:28px; font-weight:700; margin-bottom:6px; color:#FFFFFF; }
.rvb-fullwidth .verdict-text .verdict-detail { font-size:15px; color:#D8D0C8; line-height:1.6; }

/* RESULT TILES */
.rvb-fullwidth .results-bar { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; margin-bottom:28px; }
.rvb-fullwidth .result-tile { background:var(--bg-card); border:1px solid var(--border); border-radius:12px; padding:24px 26px; text-align:center; position:relative; overflow:hidden; }
.rvb-fullwidth .result-tile.winner { border-color:var(--gold); background:rgba(35,12,3,0.95); box-shadow:0 0 24px rgba(201,168,76,0.15); }
.rvb-fullwidth .result-tile.winner::after { content:'WINNER'; position:absolute; top:10px;right:12px; font-size:10px; letter-spacing:2px; color:var(--gold); font-weight:700; }
.rvb-fullwidth .result-tile .tile-label { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--text-muted); margin-bottom:8px; }
.rvb-fullwidth .result-tile .tile-name { font-family:'Playfair Display',serif; font-size:15px; color:var(--warm-gray); margin-bottom:8px; }
.rvb-fullwidth .result-tile .tile-value { font-family:'Playfair Display',serif; font-size:36px; font-weight:700; line-height:1; }
.rvb-fullwidth .result-tile .tile-sub { font-size:13px; color:var(--text-muted); margin-top:8px; }
.rvb-fullwidth .buyer-color { color:var(--buyer-color); }
.rvb-fullwidth .renter-color { color:var(--renter-color); }
.rvb-fullwidth .advantage-color { color:#5ECC8A; }
.rvb-fullwidth .win { color:#5ECC8A; font-weight:600; }
.rvb-fullwidth .lose { color:#E05A5A; }

/* TABS */
.rvb-fullwidth .tab-bar { display:flex; gap:4px; margin-bottom:24px; background:rgba(0,0,0,0.4); padding:5px; border-radius:10px; border:1px solid var(--border); }
.rvb-fullwidth .tab-btn { flex:1; padding:12px 10px; background:transparent; border:none; border-radius:7px; color:var(--text-muted); font-family:'Source Sans 3',sans-serif; font-size:13px; letter-spacing:0.5px; text-transform:uppercase; cursor:pointer; transition:all 0.2s; font-weight:600; }
.rvb-fullwidth .tab-btn.active { background:var(--crimson); color:var(--offwhite); box-shadow:0 2px 10px rgba(0,0,0,0.5); }
.rvb-fullwidth .tab-panel { display:none; }
.rvb-fullwidth .tab-panel.active { display:block; }

/* RESULTS TABLE */
.rvb-fullwidth .results-table { width:100%; border-collapse:collapse; }
.rvb-fullwidth .results-table th { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); padding:14px 16px; text-align:left; border-bottom:2px solid var(--border); font-weight:600; background:rgba(0,0,0,0.2); }
.rvb-fullwidth .results-table td { padding:13px 16px; border-bottom:1px solid rgba(255,255,255,0.05); font-family:'DM Mono',monospace; font-size:14px; color:var(--warm-gray); }
.rvb-fullwidth .results-table td:first-child { font-family:'Source Sans 3',sans-serif; font-size:15px; color:var(--offwhite); font-weight:500; }
.rvb-fullwidth .results-table tr:hover td { background:rgba(255,255,255,0.03); }

/* CHART */
.rvb-fullwidth .chart-wrap { position:relative; height:400px; margin:12px 0; }
.rvb-fullwidth .chart-legend { display:flex; gap:28px; justify-content:center; margin-top:16px; flex-wrap:wrap; }
.rvb-fullwidth .legend-item { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--warm-gray); }
.rvb-fullwidth .legend-dot { width:14px;height:14px; border-radius:50%; flex-shrink:0; }

/* SENSITIVITY MATRIX */
.rvb-fullwidth .matrix-wrap { overflow-x:auto; padding-bottom:8px; }
.rvb-fullwidth .matrix-table { width:100%; border-collapse:collapse; min-width:640px; }
.rvb-fullwidth .matrix-table th { padding:11px 14px; font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--gold); text-align:center; border:1px solid var(--border); background:rgba(0,0,0,0.4); white-space:nowrap; }
.rvb-fullwidth .matrix-table td { padding:10px 8px; text-align:center; border:1px solid rgba(255,255,255,0.07); font-family:'DM Mono',monospace; font-size:12px; font-weight:600; line-height:1.5; }
.rvb-fullwidth .matrix-table td small { font-size:10px; opacity:0.8; display:block; }
.rvb-fullwidth .matrix-row-label { font-size:12px; color:var(--warm-gray); text-align:right; padding:10px 16px; border:1px solid var(--border); background:rgba(0,0,0,0.4); font-family:'DM Mono',monospace; white-space:nowrap; font-weight:600; }
.rvb-fullwidth .matrix-table td.renter-strong { background:#0A3020; color:#5ECC8A; }
.rvb-fullwidth .matrix-table td.renter-mod    { background:#143828; color:#7EDD9A; }
.rvb-fullwidth .matrix-table td.renter-slight { background:#1E4030; color:#A8EDB8; }
.rvb-fullwidth .matrix-table td.buyer-wins    { background:#3D1505; color:#F0A070; }
.rvb-fullwidth .matrix-table td.base-case     { outline:3px solid var(--gold); outline-offset:-3px; }

/* PTR */
.rvb-fullwidth .ptr-display { display:flex; align-items:center; gap:32px; margin-top:20px; }
.rvb-fullwidth .ptr-gauge { flex:1; height:18px; background:linear-gradient(to right,#5ECC8A 0%,#E8C45A 40%,#E05A5A 70%,#A00 100%); border-radius:9px; position:relative; }
.rvb-fullwidth .ptr-needle { position:absolute; top:-6px; width:5px; height:30px; background:white; border-radius:3px; transform:translateX(-50%); box-shadow:0 0 8px rgba(255,255,255,0.8); transition:left 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.rvb-fullwidth .ptr-labels { display:flex; justify-content:space-between; margin-top:10px; font-size:12px; color:var(--text-muted); font-family:'DM Mono',monospace; }
.rvb-fullwidth .ptr-value-big { font-family:'Playfair Display',serif; font-size:42px; font-weight:700; color:var(--offwhite); line-height:1; white-space:nowrap; }


/* UTILITIES */
.rvb-fullwidth .spacer { margin-bottom:24px; }
.rvb-fullwidth .note { font-size:13px; color:var(--text-muted); margin-top:10px; padding:10px 14px; background:rgba(0,0,0,0.25); border-left:3px solid var(--gold); border-radius:0 5px 5px 0; line-height:1.6; }

/* FOOTER */
.rvb-fullwidth .footer { background:var(--bg-card); border-top:1px solid var(--border); padding:24px 48px; text-align:center; font-size:13px; color:var(--text-muted); line-height:1.8; }
.rvb-fullwidth .footer strong { color:var(--gold-light); }

/* DISCLOSURE */
.rvb-fullwidth .disclosure-wrap { max-width:1400px; margin:0 auto; padding:0 48px 40px 48px; }
.rvb-fullwidth .disclosure-inner { background:#0D0200; border:1px solid rgba(201,168,76,0.35); border-radius:12px; padding:32px 36px; }
.rvb-fullwidth .disclosure-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:28px; margin-bottom:24px; }
.rvb-fullwidth .disclosure-panel { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius:0 8px 8px 0; padding:20px 22px; }
.rvb-fullwidth .disclosure-panel h4 { font-family:'Playfair Display',serif; font-size:16px; font-weight:600; color:var(--offwhite); margin-bottom:12px; }
.rvb-fullwidth .disclosure-panel p { font-size:14px; color:var(--text-muted); line-height:1.8; }
.rvb-fullwidth .disclosure-panel p strong { color:var(--warm-gray); }
.rvb-fullwidth .disclosure-note { background:rgba(139,0,0,0.15); border:1px solid rgba(139,0,0,0.4); border-radius:8px; padding:16px 20px; font-size:14px; color:var(--text-muted); line-height:1.8; }
.rvb-fullwidth .disclosure-note strong { color:var(--gold-light); }

/* =============================================
   ADDITIONAL SPACING & LEGIBILITY FIXES
   ============================================= */

/* More vertical breathing room in input groups */
.rvb-fullwidth .input-group {
  margin-bottom: 28px !important;
  padding-bottom: 28px !important;
}
.rvb-fullwidth .range-value {
  margin-top: 6px !important;
  margin-bottom: 8px !important;
}
.rvb-fullwidth input[type="range"] {
  margin-top: 10px !important;
  margin-bottom: 6px !important;
}
.rvb-fullwidth .range-labels {
  margin-top: 8px !important;
  margin-bottom: 4px !important;
}

/* Larger chart legends */
.rvb-fullwidth .chart-legend .legend-item {
  font-size: 15px !important;
}
.rvb-fullwidth .legend-dot {
  width: 16px !important;
  height: 16px !important;
}

/* Chart container taller so there's room */
.rvb-fullwidth .chart-wrap {
  height: 420px !important;
}

/* Sensitivity matrix legend text */
.rvb-fullwidth .matrix-table td {
  font-size: 13px !important;
  padding: 12px 10px !important;
}
.rvb-fullwidth .matrix-table td small {
  font-size: 11px !important;
}
.rvb-fullwidth .matrix-table th {
  font-size: 13px !important;
  padding: 12px 16px !important;
}
.rvb-fullwidth .matrix-row-label {
  font-size: 13px !important;
  padding: 12px 18px !important;
}

/* =============================================
   WORDPRESS PAGE TITLE — hide it
   ============================================= */
.page-title,
.entry-title,
.post-title,
h1.title,
.page-header,
.page .entry-header,
.wp-block-post-title {
  display: none !important;
}

/* =============================================
   FULL WIDTH — eliminate white borders
   ============================================= */




/* =============================================
   INPUT GROUP — INCREASED VERTICAL SPACING
   ============================================= */
.rvb-fullwidth .input-group {
  margin-bottom: 36px !important;
  padding-bottom: 36px !important;
}
.rvb-fullwidth .input-group label {
  font-size: 13px !important;
  margin-bottom: 12px !important;
  display: block !important;
}
.rvb-fullwidth .range-value {
  font-size: 20px !important;
  margin-top: 4px !important;
  margin-bottom: 10px !important;
}
.rvb-fullwidth input[type="range"] {
  margin-top: 6px !important;
  margin-bottom: 10px !important;
  height: 10px !important;
}
.rvb-fullwidth .range-labels {
  font-size: 12px !important;
  margin-top: 8px !important;
  margin-bottom: 6px !important;
}
.rvb-fullwidth .input-wrapper {
  margin-top: 4px !important;
}
.rvb-fullwidth .note {
  margin-top: 14px !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* =============================================
   FIVE KEY FACTORS SECTION
   ============================================= */
.rvb-five-factors {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 40px 48px;
}
.rvb-five-factors-inner {
  background: #100202;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 12px;
  padding: 36px 40px;
}
.rvb-five-factors-inner .section-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rvb-five-factors-inner .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0.4;
}
.rvb-factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.rvb-factor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 24px 22px 24px;
  position: relative;
  overflow: hidden;
}
.rvb-factor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
}
.rvb-factor-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--crimson);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 6px;
}
.rvb-factor-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  line-height: 1.3;
}
.rvb-factor-subtitle {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.rvb-factor-body {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.75;
}
.rvb-factor-body .rvb-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin: 2px 2px 2px 0;
  font-family: 'DM Mono', monospace;
}
.rvb-tag-renter { background: rgba(76,154,201,0.2); color: #7EC8E8; border: 1px solid rgba(76,154,201,0.3); }
.rvb-tag-buyer  { background: rgba(201,168,76,0.2); color: #E2C97E; border: 1px solid rgba(201,168,76,0.3); }
.rvb-tag-neutral{ background: rgba(255,255,255,0.07); color: var(--warm-gray); border: 1px solid rgba(255,255,255,0.12); }

/* =============================================
   SLIDER LAYOUT OVERHAUL
   - Value display moved BELOW the bar
   - More space between label and bar
   - Bar extends full width
   - Smaller value font
   ============================================= */

/* Label: more space below before the bar */
.rvb-fullwidth .input-group > label {
  margin-bottom: 16px !important;
  font-size: 12px !important;
}

/* Range input: full width, pushed down from label */
.rvb-fullwidth input[type="range"] {
  width: 100% !important;
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  height: 10px !important;
}

/* Range labels (min/max): tight below bar */
.rvb-fullwidth .range-labels {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  font-size: 11px !important;
}

/* Range value: shown BELOW labels, smaller, centered */
.rvb-fullwidth .range-value {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--gold) !important;
  text-align: center !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  padding: 4px 0 !important;
  letter-spacing: 1px !important;
  opacity: 0.9 !important;
}

/* Input group overall spacing */
.rvb-fullwidth .input-group {
  margin-bottom: 32px !important;
  padding-bottom: 32px !important;
}

/* =============================================
   FULL WIDTH + LEFT STRIP FIX + TICKER HIDE
   Royal 8 theme adds padding to content wrapper
   which pushes everything right. This corrects it.
   ============================================= */

/* Step 1: Force the body/page wrapper to have no padding on calc page */
.rvb-calculator-page .entry-content,
.rvb-calculator-page .post-content,
.rvb-calculator-page .page-content,
.rvb-calculator-page #content,
.rvb-calculator-page #main,
.rvb-calculator-page main,
.rvb-calculator-page .site-inner,
.rvb-calculator-page .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Step 2: Calculator wrapper — use the reliable negative margin technique
   calc(-50vw + 50%) compensates for any parent padding/margin automatically */
.rvb-fullwidth {
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* Step 3: On the calculator page specifically, reset left to 0
   and use transform to center since the content area has been zeroed */
.rvb-calculator-page .rvb-fullwidth {
  left: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100vw !important;
  transform: translateX(0) !important;
}

/* Step 4: Hide stock ticker on calculator page only */
.rvb-calculator-page [class*="ticker"],
.rvb-calculator-page [id*="ticker"],
.rvb-calculator-page [class*="stock"],
.rvb-calculator-page [class*="marquee"],
.rvb-calculator-page [class*="scroll-text"],
.rvb-calculator-page .wp-ticker,
.rvb-calculator-page .financial-ticker,
.rvb-calculator-page .news-ticker {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* =============================================
   SLIDERS — FULL WIDTH OF CARD
   ============================================= */
.rvb-fullwidth .input-group {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.rvb-fullwidth input[type="range"] {
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}
/* Remove card internal padding constraints on slider row */
.rvb-fullwidth .card {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
/* But keep inner content padded except range inputs */
.rvb-fullwidth .card > .card-title,
.rvb-fullwidth .card > .section-label {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* HIDE FOOTER */
.rvb-fullwidth .footer,
[data-rvb="1"] .footer {
  display: none !important;
}

/* =============================================
   SLIDER WIDTH — extend fully across card
   ============================================= */
.rvb-fullwidth .input-group input[type="range"] {
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* =============================================
   FOOTER BAR — hide the white bar at bottom
   (theme footer that bleeds onto calculator page)
   ============================================= */
.rvb-calculator-page .site-footer,
.rvb-calculator-page footer,
.rvb-calculator-page #colophon,
.rvb-calculator-page .footer-widgets,
.rvb-calculator-page .footer-bar,
.rvb-calculator-page .footer-bottom {
  display: none !important;
}

/* Also hide any white background strip below the calculator */
.rvb-calculator-page body,
.rvb-calculator-page #page,
.rvb-calculator-page .site {
  background: #0D0200 !important;
}

/* =============================================
   HIDE FOOTER BAR — all possible selectors
   The white bar with disclaimer text
   ============================================= */
.rvb-calculator-page .site-footer,
.rvb-calculator-page footer.site-footer,
.rvb-calculator-page #colophon,
.rvb-calculator-page footer,
.rvb-calculator-page .footer,
.rvb-calculator-page .site-info,
.rvb-calculator-page .footer-credits,
.rvb-calculator-page .copyright {
  display: none !important;
}

/* Kill white background bleed below calculator */
.rvb-calculator-page,
.rvb-calculator-page body,
.rvb-calculator-page #page,
.rvb-calculator-page .site {
  background-color: #0D0200 !important;
}

/* =============================================
   NUCLEAR OPTION — eliminate ALL white space
   around the calculator on Royal 8 theme
   ============================================= */

/* Force the entire page background dark */
.rvb-calculator-page {
  background: #0D0200 !important;
}
.rvb-calculator-page body {
  background: #0D0200 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill every possible content wrapper padding/margin */
.rvb-calculator-page #page,
.rvb-calculator-page #content,
.rvb-calculator-page #main,
.rvb-calculator-page #primary,
.rvb-calculator-page main,
.rvb-calculator-page .site,
.rvb-calculator-page .site-content,
.rvb-calculator-page .content-area,
.rvb-calculator-page .entry-content,
.rvb-calculator-page .post-content,
.rvb-calculator-page .page-content,
.rvb-calculator-page article,
.rvb-calculator-page .hentry,
.rvb-calculator-page .type-page,
.rvb-calculator-page .site-inner,
.rvb-calculator-page .wrap,
.rvb-calculator-page .container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: #0D0200 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Kill header and footer completely on this page */
.rvb-calculator-page .site-header,
.rvb-calculator-page header.site-header,
.rvb-calculator-page #masthead,
.rvb-calculator-page .site-footer,
.rvb-calculator-page footer.site-footer,
.rvb-calculator-page #colophon,
.rvb-calculator-page footer,
.rvb-calculator-page .footer,
.rvb-calculator-page .site-info,
.rvb-calculator-page .footer-credits,
.rvb-calculator-page .copyright,
.rvb-calculator-page .footer-widgets,
.rvb-calculator-page .footer-bar,
.rvb-calculator-page .footer-bottom {
  display: none !important;
}

/* Force calculator to sit flush left with no offset */
.rvb-calculator-page .rvb-fullwidth {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
}
