/*
Theme Name: Rakeback Press Felt & Gold
Theme URI: https://onlinepokerrakeback.com/
Author: Online Poker Rakeback
Author URI: https://onlinepokerrakeback.com/
Description: Card-room green and brass. Offer cards and claim buttons for poker rakeback, casino, sportsbook, bingo, and no-deposit deals. This copy is locked to the Felt & Gold scheme.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rakeback-press
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, custom-colors
*/

:where(.theme, body.rp-theme) {
  --bg: #f3efe4;
  --surface: #fffdf8;
  --ink: #1c1915;
  --muted: #5e584e;
  --line: #e3dac8;
  --header: #14352c;
  --header-ink: #f6f1e6;
  --header-mark: #e6c88a;
  --accent: #1f7a52;
  --accent-ink: #f4faf6;
  --cta-on-dark: #e6c88a;
  --cta-on-dark-ink: #1d160b;
  --mark: #8a5a22;
  --link: #145c40;
  --chip: #efe6d4;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 820px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

:where(.theme[data-scheme="navy"], body.scheme-navy) {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #121826;
  --muted: #5c6675;
  --line: #e1e6ee;
  --header: #0c1b33;
  --header-ink: #f3f6fb;
  --header-mark: #f0b429;
  --accent: #e0a20f;
  --accent-ink: #1c1403;
  --cta-on-dark: #f0b429;
  --cta-on-dark-ink: #1c1403;
  --mark: #8a5a10;
  --link: #1d4e89;
  --chip: #e7eef8;
}

:where(.theme[data-scheme="burgundy"], body.scheme-burgundy) {
  --bg: #f7f1ec;
  --surface: #fffaf7;
  --ink: #241418;
  --muted: #6d564f;
  --line: #eadfd6;
  --header: #4a1520;
  --header-ink: #fbf6f2;
  --header-mark: #f0d7b0;
  --accent: #8e2434;
  --accent-ink: #fff8f6;
  --cta-on-dark: #f3e6c8;
  --cta-on-dark-ink: #2a160c;
  --mark: #8a3a2a;
  --link: #8a2433;
  --chip: #f3e6de;
}

:where(.theme[data-scheme="night"], body.scheme-night) {
  --bg: #12171e;
  --surface: #1b232e;
  --ink: #f3efe6;
  --muted: #c4baad;
  --line: #314052;
  --header: #0c1016;
  --header-ink: #f6f1e7;
  --header-mark: #e7c98a;
  --accent: #3ecfb4;
  --accent-ink: #06211c;
  --cta-on-dark: #3ecfb4;
  --cta-on-dark-ink: #06211c;
  --mark: #e7c98a;
  --link: #8eefe0;
  --chip: #243140;
}

:where(.theme[data-scheme="lime"], body.scheme-lime) {
  --bg: #f6f6f2;
  --surface: #ffffff;
  --ink: #161616;
  --muted: #5c5c55;
  --line: #e3e3da;
  --header: #141414;
  --header-ink: #f7f7f2;
  --header-mark: #def06a;
  --accent: #d7ee55;
  --accent-ink: #171a08;
  --cta-on-dark: #def06a;
  --cta-on-dark-ink: #171a08;
  --mark: #3f6212;
  --link: #3f6212;
  --chip: #eef3d4;
}

:where(.theme, .rp-theme) *,
:where(.theme, .rp-theme) *::before,
:where(.theme, .rp-theme) *::after { box-sizing: border-box; }

:where(.theme, .rp-theme) ::selection {
  background: var(--header-mark);
  color: #1a1408;
}

:where(.theme, .rp-theme) img { max-width: 100%; height: auto; }

:where(.theme, .rp-theme) a { color: inherit; }

:where(.theme, .rp-theme) h1,
:where(.theme, .rp-theme) h2,
:where(.theme, .rp-theme) h3 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}

:where(.theme, .rp-theme) p { margin: 0 0 0.9rem; }
:where(.theme, .rp-theme) p:last-child { margin-bottom: 0; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 8px; }

:where(.theme, .rp-theme) a:focus-visible,
:where(.theme, .rp-theme) button:focus-visible,
:where(.theme, .rp-theme) summary:focus-visible {
  outline: 2px solid var(--header-mark);
  outline-offset: 3px;
}

.site-header { background: var(--header); color: var(--header-ink); }

.utility {
  background: color-mix(in srgb, #000 24%, var(--header));
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 6px 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--header-ink);
  min-height: 44px;
}
.brand-mark { width: 30px; height: 30px; color: var(--header-mark); flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}
.brand-tag {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0.78;
  font-weight: 600;
}
.custom-logo { max-height: 56px; width: auto; display: block; }

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--header-ink) 35%, transparent);
  background: transparent;
  color: var(--header-ink);
  min-height: 44px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  border-top: 1px solid color-mix(in srgb, var(--header-ink) 16%, transparent);
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
  color: var(--header-ink);
  font-weight: 700;
  font-size: 0.98rem;
  opacity: 0.84;
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a,
.nav-list a[aria-current="page"] { opacity: 1; }

.hero { padding: 34px 0 8px; }
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mark);
  margin: 0 0 10px;
}
.hero h1 {
  font-size: clamp(2.05rem, 5.4vw, 3.35rem);
  margin: 0 0 14px;
}
.lede {
  font-size: 1.28rem;
  line-height: 1.4;
  margin: 0 0 10px;
}
.hero-detail { max-width: 68ch; color: var(--ink); }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  text-decoration: none;
  background: var(--chip);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--line);
}
.jump a:hover { border-color: var(--mark); }

.section { padding: 34px 0 6px; }
.section h2,
.page-head h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  margin: 0 0 10px;
}
.section-lede { max-width: 68ch; margin: 0 0 18px; }

.offer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px 20px 16px;
  margin: 0 0 14px;
}
.offer-index {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--mark);
  padding-top: 4px;
}
.offer-kicker {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mark);
}
.offer-card h3,
.room h3 {
  font-size: 1.7rem;
  margin: 0 0 8px;
}
.offer-card h3 a,
.guide-list a { text-decoration: none; }
.offer-card h3 a:hover,
.guide-list a:hover,
.prose a { color: var(--link); }

.bonus-line {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
}
.bonus-line span,
.facts dt {
  font-weight: 700;
}
.bonus-line span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mark);
  margin-bottom: 3px;
}

.facts { margin: 0; }
.facts div {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 8px 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.facts dt { margin: 0; color: var(--muted); font-size: 0.95rem; }
.facts dd { margin: 0; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  margin-top: 14px;
  width: 100%;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.cta:hover { transform: translateY(-1px); }
.fine {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.compare-note {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.room { margin: 0 0 28px; }
.room .story { max-width: 68ch; }

.promo-box {
  background: var(--header);
  color: var(--header-ink);
  padding: 24px 22px 20px;
  margin-top: 14px;
}
.promo-kicker {
  margin: 0 0 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--header-mark);
}
.promo-box h3 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: var(--header-ink);
  margin: 0 0 8px;
}
.promo-box h3 em { font-style: italic; font-weight: 500; }
.promo-deck { margin: 0; max-width: 62ch; color: color-mix(in srgb, var(--header-ink) 88%, transparent); }
.promo-stats { list-style: none; margin: 14px 0 0; padding: 0; }
.promo-stats li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid color-mix(in srgb, var(--header-ink) 20%, transparent);
  font-size: 1.02rem;
}
.promo-stats span { opacity: 0.75; }
.promo-stats strong { font-weight: 750; }
.promo-box .cta {
  background: var(--cta-on-dark);
  color: var(--cta-on-dark-ink);
}
.promo-box .fine { color: color-mix(in srgb, var(--header-ink) 70%, transparent); }

.steps {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 16px 14px;
}
.step b {
  display: block;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.7rem;
  color: var(--mark);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.step h3 { font-size: 1.25rem; margin: 0 0 6px; }

.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { border-top: 1px solid var(--line); }
.guide-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  min-height: 44px;
  text-decoration: none;
}
.guide-list strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 560; }
.guide-list span { color: var(--muted); }

.faq details { border-top: 1px solid var(--line); padding: 4px 0 8px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq details p { color: var(--muted); margin: 0 0 10px; }

.page-head { padding: 28px 0 8px; }
.prose { max-width: 68ch; padding-bottom: 10px; }
.prose h2 { font-size: 1.55rem; margin: 1.2rem 0 0.4rem; }
.prose a { text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.pager {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 0 24px;
}
.pager a { font-weight: 700; color: var(--link); }

.site-footer {
  margin-top: 36px;
  background: var(--header);
  color: var(--header-ink);
  padding: 28px 0 22px;
}
.footer-grid {
  display: grid;
  gap: 18px;
}
.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--header-mark);
  margin: 0 0 8px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  color: var(--header-ink);
  opacity: 0.88;
}
.footer-links a:hover { opacity: 1; }
.disclaimer {
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0.8;
  margin: 0;
}
.copyright {
  margin-top: 16px;
  font-size: 0.82rem;
  opacity: 0.65;
}

.empty-note {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: static; }
  :where(.theme.nav-open, .rp-theme.nav-open) .site-nav { display: block; }
  .nav-list { flex-direction: column; padding-bottom: 10px; }
  .nav-list a { width: 100%; }
}

@media (max-width: 560px) {
  .offer-card { grid-template-columns: 1fr; padding: 16px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .brand-name { font-size: 1.3rem; }
}

@media (min-width: 640px) {
  .cta { width: auto; min-width: 250px; }
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}

.nav-open { overflow: visible; }
