/* ==========================================================================
   Front Page homepage (template-parts/home-front.php).
   Black, white and gold on a white page. Loads on top of home-cover.css
   (chart and pop-up styles). Built for computers; phones are next.
   ========================================================================== */

.rh.rf { display: block; background: #fff; padding-bottom: 8px; }
.rf .rf-mast { margin-bottom: 0; }
.rf-wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--rc-g); padding-right: var(--rc-g); }
.rf-sec { padding-top: 40px; padding-bottom: 0; }
.rf-sec--last { padding-bottom: 48px; }
.rf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.rf-head .rc-k { margin-bottom: 4px; }
.rf-h { font: 800 24px/1.18 var(--font-display); letter-spacing: -.01em; color: var(--rc-ink); }
.rf .rc-more { font-size: 11.5px; letter-spacing: .08em; color: var(--rc-ink); }
.rf .rc-k { font-size: 11px; letter-spacing: .1em; }
.rf .is-empty { background: linear-gradient(160deg, #C9B48A, #7C5D2E); }

/* ---------- top: two lead stories + Just In ---------- */
.rf-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 26px; padding-top: 30px; align-items: stretch; }
.rf-top > * { min-width: 0; }
.rf-top--solo { grid-template-columns: minmax(0, 1fr); }
.rf-heroes { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; min-height: 540px; }
.rf-heroes--1 { grid-template-rows: 1fr; }
.rf .rf-lead { color: #fff; }
.rf-lead { position: relative; display: block; border-radius: 16px; overflow: hidden; color: #fff; background: #141414; min-height: 0; }
.rf-lead-img { position: absolute; inset: 0; }
.rf-lead-img img { transition: transform .5s ease; }
.rf-lead:hover .rf-lead-img img { transform: scale(1.03); }
.rf-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.86)); }
.rf-lead-tx { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 1; }
.rf-lead-t { display: block; font: 800 28px/1.18 var(--font-display); letter-spacing: -.01em; margin-top: 10px; max-width: 640px; text-wrap: balance; }

.rf-river { display: flex; flex-direction: column; }
.rf-river-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px solid #141414; }
.rf-river-lab { display: flex; align-items: center; gap: 8px; font: 800 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.rf-river-h .rc-more { font-size: 11px; }
.rf-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rc-gold); flex: none; animation: rf-pulse 1.8s infinite; }
@keyframes rf-pulse { 0% { box-shadow: 0 0 0 0 rgba(251,191,0,.6); } 70% { box-shadow: 0 0 0 8px rgba(251,191,0,0); } 100% { box-shadow: 0 0 0 0 rgba(251,191,0,0); } }
.rf-rv li a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rc-line); }
.rf-ago { font: 600 12.5px/1.35 var(--font-body); color: var(--rc-mut); padding-top: 2px; }
.rf-ago b { display: block; font: 800 15px var(--font-display); color: var(--rc-ink); }
.rf-rv li.is-new .rf-ago b { color: var(--rc-gold-ink); }
.rf-rv-t { display: block; font: 700 15px/1.3 var(--font-display); color: var(--rc-ink); margin-top: 3px; }
.rf-rv li a:hover .rf-rv-t { text-decoration: underline; text-decoration-color: var(--rc-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Walk Right Now band ---------- */
.rf-wband { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 34px; align-items: center; background: #141414; color: #fff; border-radius: 18px; padding: 26px 30px; }
.rf-wband--down { grid-template-columns: auto minmax(0, 1fr); }
.rf-wnow .rc-k { margin-bottom: 8px; }
.rf-wbig { display: block; font: 800 56px/1 var(--font-display); letter-spacing: -.02em; }
.rf-wsub { display: block; font-size: 14px; color: #A3A39F; margin-top: 6px; }
.rf-wlevel { display: inline-block; margin-top: 12px; background: var(--rc-gold); color: #141414; font: 700 13px var(--font-body); border-radius: 999px; padding: 6px 12px; }
.rf-wplot { position: relative; height: 110px; }
.rf-wplot .rc-spark { display: block; width: 100%; height: 110px; overflow: visible; }
.rf-wplot .rc-pave { stroke: var(--rc-gold); stroke-width: 3; vector-effect: non-scaling-stroke; }
.rf-wplot .rc-area { fill: var(--rc-gold); fill-opacity: .2; }
.rf-wplot .rc-now { stroke: #fff; stroke-opacity: .25; vector-effect: non-scaling-stroke; }
.rf-wplot .rc-dot, .rf-wplot .rc-pulse { display: none; }
.rf-wdot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: rf-pulse-w 1.8s infinite; }
@keyframes rf-pulse-w { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.rf-wax { display: flex; justify-content: space-between; font: 600 11px var(--font-body); color: #7D7D78; margin-top: 6px; }
.rf-wfacts { display: grid; gap: 14px; min-width: 190px; justify-items: start; }
.rf-wfacts div > span { display: block; font: 700 10.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #A3A39F; }
.rf-wfacts b { display: block; font: 700 16px var(--font-display); margin-top: 2px; color: #fff; }
.rf-wopen { display: inline-block; border: 1px solid #3A3A38; border-radius: 999px; padding: 7px 13px; font: 700 12.5px var(--font-body); color: #fff; background: transparent; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.rf-wopen:hover { border-color: var(--rc-gold); }
.rf-wopen:focus-visible { outline: 2px solid var(--rc-gold); outline-offset: 2px; }
.rf-wdown { color: #D6D6D2; font-size: 14px; }
.rf-wband.rc-walk--high .rf-wlevel, .rf-wband.rc-walk--danger .rf-wlevel { background: #fff; }
@media (prefers-reduced-motion: reduce) { .rf-dot, .rf-wdot { animation: none; } }

/* ---------- This Weekend ---------- */
.rf-ev { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rf-ev-c { display: block; border: 1px solid var(--rc-line); border-radius: 14px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.rf-ev-c:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.rf-ev-img { position: relative; display: block; height: 150px; background: #EFE9DC; }
.rf-ev-d { position: absolute; left: 12px; top: 12px; background: #141414; color: #fff; border-radius: 10px; padding: 6px 10px; text-align: center; font: 700 10px/1.25 var(--font-body); text-transform: uppercase; }
.rf-ev-d b { display: block; font: 800 19px var(--font-display); color: var(--rc-gold); }
.rf-ev-tx { display: block; padding: 13px 15px 15px; }
.rf-ev-t { display: block; font: 700 15px/1.3 var(--font-display); color: var(--rc-ink); }
.rf-ev-tm { display: block; margin-top: 4px; color: var(--rc-mut); font-size: 12.5px; }

/* ---------- Find a Dog-Friendly Spot ---------- */
.rf-spots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.rf-spots .rf-h { font-size: 28px; margin: 6px 0 18px; }
.rf-spots-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rc-line); }
.rf-spots-list a:first-child { border-top: 1px solid var(--rc-line); }
.rf-spot-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #141414; color: var(--rc-gold); flex: none; }
.rf-spots-list b { flex: 1; font: 700 16px var(--font-display); color: var(--rc-ink); }
.rf-spot-go { font-weight: 700; color: var(--rc-gold-ink); transition: transform .15s; }
.rf-spots-list a:hover .rf-spot-go { transform: translateX(3px); }
.rf-map { position: relative; display: block; height: 420px; border-radius: 18px; overflow: hidden; }
.rf-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rf-pin { position: absolute; transform: translate(-50%, -100%); display: flex; align-items: center; gap: 7px; background: #141414; color: #fff; font: 700 12.5px var(--font-body); padding: 7px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.rf-pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--rc-gold); }
.rf-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-top-color: #141414; border-bottom: 0; }

/* ---------- Original Series ---------- */
.rf-series { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rf-sc { border: 1px solid var(--rc-line); border-radius: 14px; overflow: hidden; background: #fff; }
.rf-sc-img { display: block; height: 130px; }
.rf-sc-bd { padding: 13px 15px 15px; }
.rf-sc-t { font: 700 17px/1.25 var(--font-display); margin: 4px 0 8px !important; }
.rf-sc-t a:hover, .rf-sc-list a:hover { text-decoration: underline; text-decoration-color: var(--rc-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rf-sc-list li { font: 600 13px/1.35 var(--font-body); padding: 7px 0; border-top: 1px solid var(--rc-line); }

/* ---------- Free account ---------- */
.rf-acct { position: relative; overflow: hidden; background: #141414; color: #fff; border-radius: 16px; padding: 24px 26px; }
.rf-acct-t { font: 800 22px/1.2 var(--font-display); color: #fff !important; margin: 6px 0 10px !important; padding-right: 80px; }
.rf-ticks li { position: relative; font-size: 14px; color: #E8E8E6; padding: 3px 0 3px 24px; }
.rf-ticks li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 11px; height: 5px; border-left: 2.5px solid var(--rc-gold); border-bottom: 2.5px solid var(--rc-gold); transform: rotate(-45deg); }
.rf-acct-p { color: #D6D6D2; font-size: 14px; max-width: 560px; }
.rf-acct-saved li a { display: flex; gap: 12px; align-items: baseline; padding: 5px 0; font-size: 14px; }
.rf-acct-saved b { font-weight: 700; }
.rf-acct-saved span { color: #A3A39F; font-size: 13px; }
.rf-acct-btns { display: flex; gap: 16px; align-items: center; margin-top: 16px; }
.rf-btn { background: #fff; color: #141414 !important; font: 700 14px var(--font-body); padding: 11px 16px; border-radius: 10px; }
.rf-btn:hover { background: var(--rc-gold); }
.rf-acct-link { font: 700 14px var(--font-body); text-decoration: underline !important; color: #fff !important; }
.rf-paw { position: absolute; fill: var(--rc-gold); }
.rf-paw--a { right: 24px; top: 20px; width: 46px; height: 46px; }
.rf-paw--b { right: 80px; top: 30px; width: 22px; height: 22px; opacity: .5; }

/* ---------- narrower screens (the phone design is a separate pass) ---------- */
@media (max-width: 1100px) {
	.rf-wband { grid-template-columns: auto minmax(0, 1fr); }
	.rf-wfacts { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; align-items: end; }
}
@media (max-width: 899px) {
	.rf-top, .rf-spots { grid-template-columns: minmax(0, 1fr); }
	.rf-heroes { min-height: 0; grid-template-rows: none; }
	.rf-lead { min-height: 280px; }
	.rf-lead-t { font-size: 22px; }
	.rf-wband { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.rf-wfacts { grid-template-columns: 1fr 1fr; }
	.rf-ev, .rf-series { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rf-map { height: 260px; }
}
