/*
Theme Name: Redneckverse Broadcast
Template: chique
Author: Redneckverse
Version: 0.1.0
Description: Pine Licks world theme for Redneckverse.
*/

:root {
  --rv-bg: #090806;
  --rv-panel: #16110d;
  --rv-panel-2: #211812;
  --rv-line: #4b3722;
  --rv-line-soft: rgba(255, 199, 107, .18);
  --rv-text: #f5ead6;
  --rv-muted: #b7a58b;
  --rv-dim: #82705c;
  --rv-gold: #ffcc66;
  --rv-amber: #d88b2a;
  --rv-red: #bd3b1c;
  --rv-green: #80ff8c;
  --rv-max: 1180px;
}

* { box-sizing: border-box; }

html { background: var(--rv-bg); }

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 204, 102, .035) 1px, transparent 1px),
    radial-gradient(circle at 16% 8%, rgba(189, 59, 28, .18), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(216, 139, 42, .13), transparent 30%),
    #090806;
  background-size: 100% 28px, auto, auto, auto;
  color: var(--rv-text);
  font-family: "Open Sans", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.03), transparent 12%, transparent 88%, rgba(0,0,0,.32));
  mix-blend-mode: soft-light;
  z-index: 30;
}

a { color: var(--rv-gold); text-decoration: none; }
a:hover, a:focus { color: #fff2c7; text-decoration: none; }

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

.rv-site {
  min-height: 100vh;
}

.rv-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(35, 24, 18, .96);
  border-bottom: 1px solid var(--rv-line);
  backdrop-filter: blur(10px);
}

.rv-topbar-inner {
  max-width: var(--rv-max);
  margin: 0 auto;
  min-height: 108px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.7fr);
  grid-template-areas:
    "brand primary"
    "brand utility";
  align-items: center;
  gap: 8px 32px;
  padding: 14px 24px;
}

.rv-brand-row {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 18px;
}

.rv-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--rv-text);
  min-width: 0;
}

.rv-brand-logo {
  width: 260px;
  max-height: 96px;
  object-fit: contain;
  display: block;
}

.rv-brand-text {
  display: none;
}

.rv-brand-text strong {
  display: block;
  color: var(--rv-gold);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.rv-brand-text span {
  display: block;
  margin-top: 7px;
  color: var(--rv-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rv-nav-primary {
  grid-area: primary;
}

.rv-signal-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 6px 24px 8px;
  border-top: 1px solid rgba(255, 204, 102, .09);
  color: var(--rv-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rv-nav-utility {
  grid-area: utility;
}

.rv-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.rv-nav-primary {
  gap: 10px 24px;
}

.rv-nav-utility {
  gap: 8px 10px;
}

.rv-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--rv-text);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.rv-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.rv-nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--rv-text);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: default;
}

.rv-nav-trigger:after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--rv-muted);
}

.rv-subnav {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 90;
  display: none;
  width: 300px;
  padding: 10px;
  background: #120d0a;
  border: 1px solid var(--rv-line);
  border-radius: 7px;
  box-shadow: 0 22px 44px rgba(0,0,0,.48);
}

.rv-subnav:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

.rv-subnav a {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--rv-muted);
  font-size: 12px;
  line-height: 1.2;
  text-transform: none;
}

.rv-subnav a:hover,
.rv-subnav a:focus {
  color: var(--rv-gold);
  background: rgba(255, 204, 102, .08);
}

.rv-nav-item:hover .rv-subnav,
.rv-nav-item:focus-within .rv-subnav {
  display: grid;
  gap: 3px;
}

.rv-nav-primary a {
  font-size: 15px;
}

.rv-nav-utility a {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 204, 102, .2);
  border-radius: 999px;
  color: var(--rv-muted);
  font-size: 12px;
}

.rv-nav a:hover,
.rv-nav a:focus,
.rv-nav-item:hover .rv-nav-trigger {
  color: var(--rv-gold);
}

.rv-nav-panel {
  display: contents;
}

.rv-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--rv-line);
  border-radius: 6px;
  background: #120d0a;
  color: var(--rv-gold);
  cursor: pointer;
}

.rv-menu-float {
  display: none;
}

.rv-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rv-gold);
  box-shadow: 0 7px 0 var(--rv-gold), 0 -7px 0 var(--rv-gold);
}

.rv-menu-toggle span + span {
  display: none;
}

.rv-menu-toggle strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rv-menu-toggle:before {
  content: "";
  display: none;
}

.rv-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-menu li { position: relative; }
.rv-menu li { min-width: 0; }

.rv-menu a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--rv-text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
}

.rv-menu a:hover,
.rv-menu .current-menu-item > a,
.rv-menu .current-menu-ancestor > a {
  color: var(--rv-gold);
}

.rv-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  min-width: 240px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #130f0c;
  border: 1px solid var(--rv-line);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.rv-menu li:hover > .sub-menu,
.rv-menu li:focus-within > .sub-menu {
  display: block;
}

.rv-menu .sub-menu a {
  width: 100%;
  min-height: 34px;
  font-size: 13px;
  text-transform: none;
}

.rv-main {
  position: relative;
}

.rv-wrap {
  max-width: var(--rv-max);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-hero {
  min-height: 740px;
  display: block;
  padding: 62px 24px 34px;
  background:
    linear-gradient(90deg, rgba(9,8,6,.96) 0%, rgba(9,8,6,.62) 42%, rgba(9,8,6,.86) 100%),
    var(--rv-hero-image) center/cover no-repeat;
  border-bottom: 1px solid var(--rv-line);
}

.rv-hero-inner {
  max-width: var(--rv-max);
  width: 100%;
  margin: 0 auto;
  display: block;
}

.rv-hero-main {
  max-width: 760px;
}

.rv-hero-inner > *,
.rv-page-grid > *,
.rv-feature-grid > * {
  min-width: 0;
}

.rv-kicker,
.rv-card-label {
  color: var(--rv-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rv-hero h1,
.rv-page-hero h1 {
  margin: 12px 0 14px;
  color: var(--rv-text);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: clamp(46px, 6.5vw, 86px);
  line-height: .9;
  text-transform: uppercase;
}

.rv-hero-subtitle {
  margin: 0 0 20px;
  color: #fff0d2;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  overflow-wrap: anywhere;
  white-space: normal;
}

.rv-hero-copy {
  max-width: 760px;
  color: var(--rv-text);
  font-size: 18px;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
  overflow-wrap: anywhere;
  white-space: normal;
}

.rv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rv-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  background: #140f0b;
  color: var(--rv-text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rv-button-primary {
  background: var(--rv-gold);
  border-color: var(--rv-gold);
  color: #100b07;
}

.rv-button:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: var(--rv-gold);
}

.rv-button-primary:hover {
  color: #100b07;
  background: #ffe09a;
}

.rv-signal-box {
  max-width: min(1120px, 100%);
  margin-top: 42px;
  background: linear-gradient(180deg, rgba(21,15,10,.92), rgba(12,10,8,.98));
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.48);
  min-width: 0;
}

.rv-signal-box img {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border: 1px solid var(--rv-line);
  border-radius: 5px;
  margin: 0;
}

.rv-signal-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(120px, .55fr) minmax(130px, .58fr) minmax(230px, 1fr) minmax(230px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.rv-meter-card {
  background: #0e0b09;
  border: 1px solid var(--rv-line-soft);
  border-radius: 6px;
  padding: 14px;
}

.rv-meter-card strong {
  display: block;
  margin-top: 5px;
  color: var(--rv-text);
  font-size: 20px;
}

a.rv-meter-card {
  color: var(--rv-text);
}

a.rv-meter-card:hover,
a.rv-meter-card:focus {
  border-color: var(--rv-gold);
  transform: translateY(-1px);
}

.rv-rai-pulse {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(128, 255, 140, .1), transparent 42%),
    #0e0b09;
}

.rv-radio-pulse {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(216, 139, 42, .16), transparent 44%),
    #0e0b09;
}

.rv-radio-pulse strong {
  font-size: 18px;
  line-height: 1.12;
}

.rv-rai-pulse strong {
  color: var(--rv-green);
  font-family: Georgia, serif;
}

.rv-meter-subline {
  display: block;
  margin-top: 4px;
  color: var(--rv-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.rv-mini-meter {
  display: block;
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  background: #080705;
  border: 1px solid rgba(255, 204, 102, .18);
  border-radius: 999px;
}

.rv-mini-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--rv-red), var(--rv-amber), var(--rv-green));
}

.rv-section {
  padding: 70px 0;
  border-bottom: 1px solid rgba(255, 204, 102, .12);
}

.rv-section-alt {
  background: rgba(33, 24, 18, .62);
}

.rv-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.rv-section h2 {
  margin: 8px 0 0;
  color: var(--rv-text);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.rv-section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--rv-muted);
  font-size: 16px;
  line-height: 1.55;
}

.rv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rv-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rv-character-card {
  display: block;
  overflow: hidden;
  background: linear-gradient(180deg, #18120e, #0f0c09);
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  color: var(--rv-text);
}

.rv-character-card:hover {
  border-color: var(--rv-gold);
  transform: translateY(-2px);
}

.rv-character-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--rv-line);
}

.rv-character-card span {
  display: block;
}

.rv-character-card .rv-card-body {
  min-height: 160px;
}

.rv-character-card h3 {
  margin: 7px 0 8px;
  color: var(--rv-gold);
  font-size: 22px;
}

.rv-character-card p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rv-card,
.rv-page-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #18120e, #110d0b);
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  color: var(--rv-text);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
}

.rv-card:hover,
.rv-page-card:hover {
  border-color: var(--rv-gold);
  color: var(--rv-text);
  transform: translateY(-2px);
}

.rv-card img,
.rv-page-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--rv-line);
}

.rv-card-body {
  padding: 18px;
}

.rv-card h3 {
  margin: 7px 0 9px;
  color: var(--rv-gold);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.rv-card p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 14px;
  line-height: 1.55;
}

.rv-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 22px;
}

.rv-story-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: #130f0c;
  border: 1px solid var(--rv-line);
  border-radius: 8px;
}

.rv-story-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--rv-line);
}

.rv-story-panel h3 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  font-family: "Titillium Web", Arial, sans-serif;
  text-transform: uppercase;
}

.rv-story-panel p {
  color: var(--rv-muted);
  line-height: 1.65;
}

.rv-rail {
  display: grid;
  gap: 14px;
}

.rv-rail-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #120e0b;
  border: 1px solid var(--rv-line);
  border-radius: 7px;
}

.rv-rail-link img {
  width: 92px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
}

.rv-rail-link strong {
  display: block;
  color: var(--rv-text);
  font-size: 17px;
}

.rv-rail-link span {
  display: block;
  margin-top: 4px;
  color: var(--rv-muted);
  font-size: 13px;
  line-height: 1.35;
}

.rv-page-hero {
  padding: 70px 0 36px;
  background:
    linear-gradient(90deg, rgba(9,8,6,.95), rgba(9,8,6,.72)),
    var(--rv-page-image, none) center/cover no-repeat;
  border-bottom: 1px solid var(--rv-line);
}

.rv-character-hero {
  padding: 62px 0 46px;
  background:
    linear-gradient(90deg, rgba(9,8,6,.98), rgba(9,8,6,.72)),
    var(--rv-hero-image, none) center/cover no-repeat;
  border-bottom: 1px solid var(--rv-line);
}

.rv-character-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
}

.rv-character-hero h1 {
  margin: 14px 0;
  color: var(--rv-text);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .9;
  text-transform: uppercase;
}

.rv-character-portrait-wrap {
  padding: 12px;
  background: #100c09;
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0,0,0,.38);
}

.rv-character-portrait-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 5px;
}

.rv-breadcrumbs {
  color: var(--rv-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rv-page-shell {
  padding: 48px 0 76px;
}

.rv-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.rv-page-grid > * {
  min-width: 0;
}

.rv-content {
  min-width: 0;
  background: rgba(18, 14, 11, .88);
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
  overflow-wrap: anywhere;
}

.rv-content > div[style] {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.rv-content pre,
.rv-content code {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
}

.rv-content pre {
  overflow-x: hidden;
  margin: 14px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.55;
}

.rv-content div[style*="display: flex"],
.rv-content div[style*="display:flex"] {
  max-width: 100%;
  min-width: 0;
}

.rv-character-content > div[style] {
  padding: 0 !important;
}

.rv-character-content div[style*="display: flex"],
.rv-character-content div[style*="display:flex"] {
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.rv-character-content img {
  display: none !important;
}

.rv-character-content h1,
.rv-character-content h2 {
  display: none !important;
}

.rv-character-content p,
.rv-character-content li {
  font-size: 18px;
  line-height: 1.7;
}

.rv-character-content blockquote,
.rv-character-content em:first-child,
.rv-character-content p:first-of-type em {
  display: block;
  margin: 0 0 22px;
  color: #e8d8c0;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
}

.rv-character-content div[style*="grid"],
.rv-character-content div[style*="flex"] div[style*="background"],
.rv-character-content div[style*="background:#222"],
.rv-character-content div[style*="background: #222"],
.rv-character-content div[style*="background-color:#222"],
.rv-character-content div[style*="background-color: #222"] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 24px 0 38px !important;
  padding: 14px !important;
  background:
    linear-gradient(135deg, rgba(255, 204, 102, .08), transparent 36%),
    #171310 !important;
  border: 1px solid rgba(255,204,102,.24) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.rv-character-content div[style*="grid"] > *,
.rv-character-content div[style*="background:#222"] > *,
.rv-character-content div[style*="background: #222"] > * {
  min-width: 0;
  padding: 13px 14px;
  background: rgba(8, 7, 6, .55);
  border: 1px solid rgba(255, 204, 102, .12);
  border-left: 4px solid var(--rv-amber);
  border-radius: 5px;
  line-height: 1.25;
}

.rv-character-content strong {
  color: var(--rv-gold);
}

.rv-character-content div[style*="grid"] strong,
.rv-character-content div[style*="background:#222"] strong,
.rv-character-content div[style*="background: #222"] strong {
  display: block;
  margin-bottom: 5px;
  color: var(--rv-gold) !important;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.rv-content h1,
.rv-content h2,
.rv-content h3 {
  color: var(--rv-gold) !important;
  font-family: "Roboto Condensed", Arial, sans-serif;
}

.rv-content p,
.rv-content li,
.rv-content div {
  color: inherit;
}

.rv-content iframe {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--rv-line);
  border-radius: 6px;
}

.rv-library-content {
  background:
    linear-gradient(135deg, rgba(255, 204, 102, .06), transparent 34%),
    rgba(18, 14, 11, .9);
}

.rv-library-content h2 {
  margin: 8px 0 8px;
  color: var(--rv-text) !important;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: .95;
  text-transform: uppercase;
}

.rv-library-lead {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--rv-muted);
}

.rv-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rv-library-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #18120e, #0f0c09);
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  color: var(--rv-text);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.rv-library-card:hover,
.rv-library-card:focus {
  border-color: var(--rv-gold);
  color: var(--rv-text);
  transform: translateY(-2px);
}

.rv-library-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--rv-line);
}

.rv-library-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.rv-library-card strong {
  color: var(--rv-gold);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 26px;
  line-height: 1.05;
}

.rv-library-card-body > span:last-child {
  color: var(--rv-muted);
  font-size: 15px;
  line-height: 1.55;
}

.rv-church-content {
  background:
    linear-gradient(135deg, rgba(189, 59, 28, .1), transparent 38%),
    rgba(18, 14, 11, .9);
}

.rv-church-content h2 {
  margin: 8px 0 8px;
  color: var(--rv-text) !important;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: .95;
  text-transform: uppercase;
}

.rv-church-book-content {
  max-width: 820px;
}

.rv-church-book-content > div[style] {
  padding: 0 !important;
}

.rv-church-book-content h1,
.rv-church-book-content > div > h1 {
  display: none !important;
}

.rv-church-book-content h2,
.rv-church-book-content h3 {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 204, 102, .2);
  color: var(--rv-gold) !important;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.rv-church-book-content h2:first-child,
.rv-church-book-content h3:first-child {
  border-top: 0;
  padding-top: 0;
}

.rv-church-book-content p,
.rv-church-book-content li,
.rv-church-book-content div {
  font-size: 18px;
  line-height: 1.78;
}

.rv-church-book-content ol {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding-left: 30px;
}

.rv-church-book-content hr {
  margin: 34px auto !important;
  border-color: rgba(255, 204, 102, .2) !important;
}

.rv-church-book-content a {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration: none !important;
}

.rv-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 16px;
}

.rv-sidebox {
  padding: 18px;
  background: #130f0c;
  border: 1px solid var(--rv-line);
  border-radius: 8px;
}

.rv-sidebox h2,
.rv-sidebox h3 {
  margin: 6px 0 12px;
  color: var(--rv-gold);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.rv-sidebox ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-sidebox a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid rgba(255,204,102,.12);
  color: var(--rv-text);
  font-weight: 800;
}

.rv-sidebox a:hover { color: var(--rv-gold); }

.rv-sidebox a span {
  display: block;
  color: var(--rv-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rv-sidebox a strong {
  display: block;
  margin-top: 3px;
  color: var(--rv-text);
  font-size: 16px;
  line-height: 1.25;
}

.rv-sidebox a:hover strong,
.rv-sidebox a:focus strong {
  color: var(--rv-gold);
}

.rv-footer {
  border-top: 1px solid var(--rv-line);
  background: #080706;
  color: var(--rv-muted);
  padding: 34px 0;
}

.rv-footer-inner {
  max-width: var(--rv-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  font-size: 13px;
}

.rv-footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.rv-footer-links span {
  color: var(--rv-dim);
  margin: 0 7px;
}

.rv-legal-links {
  color: var(--rv-dim);
  font-size: 12px;
}

.rv-legal-links a {
  color: var(--rv-muted);
}

.rv-legal-links a:hover,
.rv-legal-links a:focus {
  color: var(--rv-gold);
}

@media (min-width: 681px) {
  .rv-menu-float[style] {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .rv-topbar-inner,
  .rv-footer-inner {
    display: block;
  }

  .rv-brand-row {
    justify-content: space-between;
    align-items: center;
  }

  .rv-nav {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .rv-menu {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .rv-hero,
  .rv-hero-inner,
  .rv-feature-grid,
  .rv-story-panel,
  .rv-page-grid,
  .rv-character-hero-grid {
    grid-template-columns: 1fr;
  }

  .rv-sidebar {
    position: static;
  }

  .rv-signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-signal-box img {
    grid-column: 1 / -1;
  }

  .rv-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rv-topbar-inner,
  .rv-wrap,
  .rv-hero,
  .rv-footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rv-topbar-inner,
  .rv-hero-inner,
  .rv-wrap,
  .rv-footer-inner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .rv-brand-row {
    display: flex;
    justify-content: space-between;
  }

  .rv-brand {
    justify-content: flex-start;
  }

  .rv-brand-logo {
    width: 176px;
    max-height: 68px;
  }

  .rv-signal-strip {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .rv-menu-toggle {
    display: inline-flex !important;
  }

  .rv-menu-float {
    position: fixed;
    top: 18px;
    right: 16px;
    z-index: 220;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 42px;
    border: 1px solid var(--rv-gold);
    border-radius: 6px;
    background: var(--rv-gold);
    box-shadow: 0 8px 22px rgba(0,0,0,.45);
  }

  .rv-menu-float[style] {
    display: inline-flex !important;
  }

  .rv-menu-float span {
    width: 22px;
    height: 2px;
    background: #130d08;
    box-shadow: 0 7px 0 #130d08, 0 -7px 0 #130d08;
  }

  .rv-menu-float strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .rv-nav-panel {
    display: none;
    padding: 14px 0 4px;
  }

  .rv-menu-open .rv-nav-panel {
    display: block;
  }

  .rv-nav-primary,
  .rv-nav-utility {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: none;
    margin-top: 0;
  }

  .rv-nav-item {
    display: grid;
    width: 100%;
    min-height: 0;
  }

  .rv-nav-trigger {
    width: 100%;
    border: 1px solid rgba(255, 204, 102, .14);
    border-radius: 5px;
    padding: 10px 12px;
    min-height: 40px;
    background: #120d0a;
    color: var(--rv-gold);
    font-size: 13px;
  }

  .rv-subnav {
    position: static;
    display: grid;
    width: 100%;
    transform: none;
    gap: 7px;
    margin: 7px 0 0;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .rv-subnav a {
    padding: 9px 12px;
    min-height: 38px;
    border: 1px solid rgba(255, 204, 102, .12);
    border-radius: 5px;
    background: rgba(18, 13, 10, .72);
    color: var(--rv-text);
    font-size: 12px;
  }

  .rv-nav-primary a,
  .rv-nav-utility a {
    justify-content: flex-start;
    width: 100%;
    border: 1px solid rgba(255, 204, 102, .14);
    border-radius: 5px;
    padding: 10px 12px;
    min-height: 40px;
    background: #120d0a;
    font-size: 13px;
  }

  .rv-nav-utility {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 204, 102, .12);
  }

  .rv-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .rv-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 12px;
    max-width: 340px;
  }

  .rv-menu a {
    min-height: 30px;
    font-size: 11px;
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
  }

  .rv-menu .sub-menu {
    display: none !important;
  }

  .rv-hero h1,
  .rv-page-hero h1,
  .rv-character-hero h1 {
    max-width: 340px;
    font-size: 40px;
    overflow-wrap: anywhere;
  }

  .rv-hero-subtitle {
    max-width: 340px;
    font-size: 23px;
    line-height: 1.18;
  }

  .rv-hero-copy {
    max-width: 340px;
    font-size: 16px;
  }

  .rv-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .rv-button {
    width: 100%;
  }

  .rv-section-head p {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .rv-signal-row {
    grid-template-columns: 1fr;
  }

  .rv-signal-box {
    padding: 18px;
  }

  .rv-card-grid {
    grid-template-columns: 1fr;
  }

  .rv-library-grid {
    grid-template-columns: 1fr;
  }

  .rv-directory-grid {
    grid-template-columns: 1fr;
  }

  .rv-character-content div[style*="grid"],
  .rv-character-content div[style*="flex"] div[style*="background"],
  .rv-character-content div[style*="background:#222"],
  .rv-character-content div[style*="background: #222"],
  .rv-character-content div[style*="background-color:#222"],
  .rv-character-content div[style*="background-color: #222"] {
    grid-template-columns: 1fr !important;
    padding: 10px !important;
  }

  .rv-section-head {
    display: block;
  }

  .rv-church-book-content div[style*="text-align: center"] a {
    display: block;
    margin: 7px 0 !important;
    white-space: normal;
  }

  .rv-church-book-content h2,
  .rv-church-book-content h3 {
    font-size: 22px;
    line-height: 1.22;
  }

  .rv-footer-links {
    margin-top: 16px;
    text-align: left;
  }

}
