/* ReviveAI — Generated Theme: uptownboost.com-extracted */

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Alegreya Sans', 'Segoe UI', sans-serif;
  color: #d3d9e3;
  line-height: 1.7;
  background: #0e121a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #d9a441; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #e06666; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Marcellus', 'Trajan Pro', Georgia, serif;
  color: #f1e4c3;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 20px; }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 700; margin: 40px 0 16px; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; margin: 28px 0 12px; }
h4 { font-size: 1.1rem; font-weight: 600; margin: 20px 0 8px; }
p { margin-bottom: 16px; font-size: 1.05rem; }

/* ─── Layout ─── */
.rv-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.rv-container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ─── Header / Navigation ─── */
.rv-header {
  background: #090c12;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 12px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.rv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
}
.rv-logo {
  color: #fff;
  text-decoration: none;
  font-family: 'Marcellus', 'Trajan Pro', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.rv-logo:hover { color: #fff; opacity: 0.92; }

.rv-nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.rv-nav-item { position: relative; }
.rv-nav-item > a {
  display: block;
  padding: 20px 14px;
  color: rgba(241,228,195,0.88);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  border-radius: 2px;
}
.rv-nav-item > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.rv-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #171e2c;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px #2a3449;
  min-width: 240px;
  padding: 8px 0;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
  transform: translateX(-50%) translateY(4px);
}
.rv-nav-item:hover .rv-dropdown {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.rv-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #d3d9e3;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.rv-dropdown a:hover {
  background: #131925;
  color: #d9a441;
  padding-left: 24px;
}

/* Hamburger */
.rv-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  border-radius: 2px;
  transition: background 0.2s;
}
.rv-hamburger:hover { background: rgba(255,255,255,0.1); }

/* ─── Hero ─── */
.rv-hero {
  background: linear-gradient(165deg, rgba(9,12,18,0.94) 0%, rgba(19,25,37,0.80) 58%, rgba(163,53,238,0.32) 100%);
  color: #f1e4c3;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.rv-hero h1 {
  color: #f1e4c3;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  position: relative;
}
.rv-hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.88;
  max-width: 640px;
  margin: 0 auto 28px;
  position: relative;
}
/* The hero's title (the site's name on the homepage, the page's H1 elsewhere): a paragraph, not a heading
   (the page has one H1), styled as the hero's H1 */
.rv-hero .rv-hero-title {
  font-family: 'Marcellus', 'Trajan Pro', Georgia, serif;
  color: #f1e4c3;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 860px;
  margin: 0 auto 16px;
  opacity: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.rv-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
}

/* ─── Main Content ─── */
.rv-main {
  padding: 48px 0 72px;
  min-height: 50vh;
}
.rv-content {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 72ch;
}
.rv-content p { margin-bottom: 18px; }
.rv-content ul, .rv-content ol { margin: 14px 0 14px 28px; }
.rv-content li { margin-bottom: 8px; }
.rv-content img {
  border-radius: 4px;
  margin: 24px 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.38);
  transition: box-shadow 0.3s ease;
}
.rv-content img:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.55); }
/* The content image added by the images phase: the theme's radius and shadow, centred */
.rv-figure { margin: 32px 0; text-align: center; }
.rv-content .rv-figure img {
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.38);
}
.rv-content a { color: #e06666; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.rv-content a:hover { border-bottom-color: #e06666; }
.rv-content blockquote {
  border-left: 4px solid #e06666;
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(217,164,65,0.10);
  border-radius: 0 2px 2px 0;
  font-style: italic;
  color: #97a2b4;
}
.rv-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.rv-content th, .rv-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #2a3449;
}
.rv-content th {
  background: #131925;
  font-weight: 600;
  color: #f1e4c3;
}
.rv-content tr:hover td { background: #1f2738; }

/* Page title with decorative line */
.rv-page-title {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 32px;
}
.rv-page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #e06666;
  border-radius: 2px;
}

/* ─── Breadcrumb ─── */
.rv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #97a2b4;
  margin-bottom: 28px;
  padding: 12px 0;
}
.rv-breadcrumb a {
  color: #d9a441;
  font-weight: 500;
  transition: color 0.2s;
}
.rv-breadcrumb a:hover { color: #e06666; }
.rv-breadcrumb-sep {
  color: #2a3449;
  font-size: 0.7rem;
}

/* ─── Cards (Homepage) ─── */
.rv-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 36px 0;
}
.rv-card {
  background: #171e2c;
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.38);
  border: 1px solid #1f2738;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}
.rv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d9a441, #e06666);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rv-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transform: translateY(-3px);
}
.rv-card:hover::before { opacity: 1; }
.rv-card h3 {
  color: #f1e4c3;
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.rv-card p {
  color: #97a2b4;
  font-size: 0.95rem;
  margin: 0 0 18px;
  line-height: 1.6;
}

/* ─── Tiles: a photo with its title on it, the whole tile a link ───
   The homepage's (one per menu entry) and an old grid's (rv-grid-tiles, rebuilt by the build in the content).
   Rows of 2 large tiles then 3 medium ones; a tile left alone at the end fills its row. */
.rv-tiles, .rv-cards.rv-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin: 56px 0 72px;
}
.rv-content .rv-grid-tiles { margin: 28px 0 36px; gap: 16px; }
.rv-tile {
  grid-column: span 2;
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: linear-gradient(135deg, #b5852f, #d9a441);
  text-decoration: none;
}
.rv-content a.rv-tile, .rv-content a.rv-tile:hover { border: 0; text-decoration: none; font-weight: inherit; }
.rv-tile-media { position: absolute; inset: 0; z-index: -1; }
.rv-tiles .rv-tile-media img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.rv-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.rv-tile-title {
  position: absolute;
  display: block;
  left: 22px;
  right: 22px;
  bottom: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-family: 'Marcellus', 'Trajan Pro', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.25);
}
.rv-grid-tiles .rv-tile-title { left: 16px; right: 16px; bottom: 14px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); }
.rv-tile-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 12px;
  background: #e06666;
  transition: width 0.4s ease;
}
.rv-tile:hover .rv-tile-media img { transform: scale(1.045); }
.rv-tile:hover .rv-tile-title::after { width: 72px; }
.rv-tile:focus-visible { outline: 2px solid #e06666; outline-offset: 3px; }
@media (min-width: 901px) {
  .rv-tile:nth-child(5n+1), .rv-tile:nth-child(5n+2) { grid-column: span 3; aspect-ratio: 16 / 9; }
  .rv-tile:nth-child(5n+1):last-child, .rv-tile:nth-child(5n+3):last-child { grid-column: span 6; aspect-ratio: 21 / 9; }
  .rv-tile:nth-child(5n+3):nth-last-child(2), .rv-tile:nth-child(5n+4):last-child { grid-column: span 3; aspect-ratio: 16 / 9; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .rv-tiles, .rv-cards.rv-tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rv-tile { grid-column: span 1; }
  .rv-tile:first-child, .rv-tile:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .rv-tiles, .rv-cards.rv-tiles { grid-template-columns: 1fr; gap: 14px; margin: 36px 0 48px; }
  .rv-tile { grid-column: auto; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-tile-media img, .rv-tile-title::after { transition: none; }
}

/* An old grid's cells that have no page on the site, only their old photo: small, with their name */
.rv-grid-photos { display: flex; flex-wrap: wrap; gap: 20px; margin: 8px 0 36px; }
.rv-grid-photos figure { margin: 0; width: 150px; }
.rv-grid-photos figure img {
  width: 150px;
  height: 165px;
  object-fit: contain;
  margin: 0;
  padding: 8px;
  background: #171e2c;
  border: 1px solid #2a3449;
  border-radius: 2px;
  box-shadow: none;
}
.rv-grid-photos figcaption { margin-top: 8px; font-size: 0.85rem; line-height: 1.35; color: #97a2b4; }

/* ─── CTA Buttons ─── */
.rv-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}
.rv-btn-primary {
  background: #e06666;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(217,164,65,0.10);
}
.rv-btn-primary:hover {
  background: #ea8484;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(217,164,65,0.10);
  transform: translateY(-1px);
}
.rv-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.2);
}
.rv-btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}
.rv-card .rv-btn {
  font-size: 0.85rem;
  padding: 10px 22px;
}

/* ─── Section Alternating Backgrounds ─── */
.rv-section-alt {
  background: #131925;
  padding: 48px 0;
  margin: 48px 0;
  border-top: 1px solid #1f2738;
  border-bottom: 1px solid #1f2738;
}

/* ─── Related Pages: cards (name in the heading font + arrow, a short line under it: src/builder/related.js) ───
   Colours, fonts and corners from the theme. ".rv-related .rv-related-grid a" outweighs the text links'
   rules (.rv-content a), a domain's custom.css included. */
.rv-related {
  margin-top: 56px;
}
.rv-related h2 {
  margin: 0 0 20px;
}
.rv-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.rv-related .rv-related-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name arrow" "sub sub";
  align-content: start;
  column-gap: 16px;
  row-gap: 8px;
  padding: 22px 24px 24px;
  background: #131925;
  background: color-mix(in srgb, #d9a441 16%, #0e121a); /* a tint of the page the cards sit on */
  border: 0;
  border-radius: clamp(12px, calc(6px * 2.75), 24px);
  box-shadow: none;
  color: #f1e4c3;
  font-weight: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.rv-related .rv-related-grid a::before { content: none; }
.rv-related .rv-related-grid a::after {
  content: '';
  grid-area: arrow;
  align-self: start;
  margin-top: calc((1.15rem * 1.25 - 20px) / 2); /* level with the name's first line */
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.rv-related-name {
  grid-area: name;
  font-family: 'Marcellus', 'Trajan Pro', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500; /* 600+ would fake a bold on a one-weight display font */
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.rv-related-sub {
  grid-area: sub;
  font-family: 'Alegreya Sans', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #97a2b4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-related .rv-related-grid a:hover {
  background: color-mix(in srgb, #d9a441 24%, #0e121a);
  color: #d9a441;
  border: 0;
}
.rv-related .rv-related-grid a:hover::after { transform: translateX(4px); }
.rv-related .rv-related-grid a:focus-visible { outline: 2px solid #e06666; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .rv-related .rv-related-grid a, .rv-related .rv-related-grid a::after { transition: none; }
}

/* ─── Image Gallery ─── */
.rv-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.rv-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rv-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

/* ─── Footer ─── */
.rv-footer {
  background: #090c12;
  color: rgba(211,217,227,0.62);
  padding: 48px 0 0;
  position: relative;
}
.rv-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d9a441, #e06666, #d9a441);
}
.rv-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  padding-bottom: 36px;
}
/* No menu, no link columns (a one-page site): the bottom line alone */
.rv-footer-slim { padding-top: 3px; }
.rv-footer-slim .rv-footer-bottom { border-top: 0; }
.rv-footer h4 {
  color: #f1e4c3;
  font-family: 'Marcellus', 'Trajan Pro', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rv-footer a {
  color: rgba(211,217,227,0.62);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.rv-footer a:hover {
  color: #fff;
  padding-left: 4px;
}
.rv-footer p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.rv-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ─── Back to Top ─── */
.rv-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: #d9a441;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}
.rv-top-btn.visible { opacity: 1; pointer-events: auto; }
.rv-top-btn:hover {
  background: #e06666;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* ─── Article Content ─── */
.rv-content {
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto;
}
.rv-content h1 { font-size: 2rem; margin: 2rem 0 1rem; font-family: 'Marcellus', 'Trajan Pro', Georgia, serif; color: #f1e4c3; border-bottom: 2px solid #d9a44120; padding-bottom: 0.5rem; }
.rv-content h2 { font-size: 1.6rem; margin: 1.8rem 0 0.8rem; font-family: 'Marcellus', 'Trajan Pro', Georgia, serif; color: #f1e4c3; }
.rv-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; font-family: 'Marcellus', 'Trajan Pro', Georgia, serif; color: #f1e4c3; }
.rv-content p { margin-bottom: 1.2rem; color: #d3d9e3; }
.rv-content a { color: #d9a441; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.rv-content a:hover { color: #e06666; }
.rv-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1.5rem 0; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.rv-content blockquote {
  border-left: 4px solid #d9a441;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(255,255,255,0.04);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #97a2b4;
}
.rv-content ul, .rv-content ol { margin: 1rem 0 1.2rem 1.5rem; }
.rv-content li { margin-bottom: 0.5rem; }
.rv-content li::marker { color: #d9a441; }
.rv-content iframe { max-width: 100%; border-radius: 4px; margin: 1.5rem 0; }
.rv-content hr { border: none; height: 1px; background: #2a3449; margin: 2rem 0; }
.rv-page-title {
  font-family: 'Marcellus', 'Trajan Pro', Georgia, serif;
  font-size: 2.2rem;
  color: #f1e4c3;
  margin-bottom: 1.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}
.rv-breadcrumb {
  max-width: 760px;
  margin: 0 auto 1rem;
  font-size: 0.85rem;
  color: #97a2b4;
}
.rv-breadcrumb a { color: #d9a441; text-decoration: none; }
.rv-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }

/* ─── 404 Page ─── */
.rv-404 {
  text-align: center;
  padding: 100px 0;
}
.rv-404 h1 {
  font-size: 6rem;
  color: #d9a441;
  margin-bottom: 12px;
  opacity: 0.15;
  border: none;
}
.rv-404 p {
  font-size: 1.2rem;
  color: #97a2b4;
  margin-bottom: 32px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .rv-header-inner { min-height: 56px; }
  .rv-hamburger { display: block; }
  .rv-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #090c12;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 8px 0;
    border-radius: 0 0 4px 4px;
  }
  .rv-nav.open { display: flex; }
  .rv-nav-item > a {
    padding: 12px 24px;
    text-align: left;
  }
  .rv-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    min-width: 0;
    background: rgba(255,255,255,0.03);
    border-radius: 0;
    padding: 0;
  }
  .rv-nav-item:hover .rv-dropdown { transform: none; }
  .rv-dropdown a {
    padding-left: 40px;
    color: rgba(241,228,195,0.88);
    font-size: 0.85rem;
  }
  .rv-dropdown a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding-left: 44px;
  }
  .rv-hero { padding: 48px 0; }
  .rv-main { padding: 32px 0 48px; }
  .rv-cards { grid-template-columns: 1fr; }
  .rv-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .rv-gallery { grid-template-columns: repeat(2, 1fr); }
  .rv-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rv-footer-grid { grid-template-columns: 1fr; }
  .rv-gallery { grid-template-columns: 1fr; }
  .rv-header-inner { padding: 0 16px; }
  .rv-container, .rv-container-narrow { padding: 0 16px; }
}

/* ─── Print ─── */
@media print {
  .rv-header, .rv-footer, .rv-top-btn, .rv-hamburger { display: none; }
  .rv-main { padding: 0; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}



/* ── custom.css (uptownboost.com) ── */
/* uptownboost.com — "raid journal" direction: night slate, a Friz Quadrata-like serif for titles, the game's item
   quality colours (rare blue, epic purple, legendary orange) as the one accent system, tables drawn like in-game
   tooltips, the old logo's coral and gold kept as small touches */

:root {
  --ub-gold: #d9a441;
  --ub-parchment: #f1e4c3;
  --ub-coral: #e06666;
  --ub-rare: #3c8ce7;
  --ub-epic: #a335ee;
  --ub-legendary: #ff8000;
  --ub-uncommon: #1eff00;
  --ub-night: #0e121a;
  --ub-tooltip: rgba(8, 11, 24, 0.94);
  --ub-tooltip-edge: #5b6a86;
}

::selection { background: var(--ub-epic); color: #fff; }
html { background: var(--ub-night); }

/* A faint star field behind the whole page, never over the text */
body {
  background-color: var(--ub-night);
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(241, 228, 195, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 9%, rgba(241, 228, 195, 0.25) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 84% 42%, rgba(163, 53, 238, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 64%, rgba(241, 228, 195, 0.2) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 88%, rgba(60, 140, 231, 0.3) 50%, transparent 51%);
  background-size: 640px 640px;
  background-attachment: fixed;
}

/* Header: the name in the title serif, a small gold rune before it, a gold hairline under the bar */
.rv-header { border-bottom: 1px solid rgba(217, 164, 65, 0.28); }
.rv-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ub-parchment);
}
.rv-logo:hover { color: var(--ub-parchment); }
.rv-logo::before {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--ub-gold) 0 50%, var(--ub-coral) 50% 100%);
  box-shadow: 0 0 0 2px var(--ub-night), 0 0 0 3px rgba(217, 164, 65, 0.6);
  transition: transform 0.5s cubic-bezier(.2, .7, .2, 1);
}
.rv-logo:hover::before { transform: rotate(225deg); }
.rv-nav-item > a { letter-spacing: 0.02em; }
.rv-nav-item > a:hover { color: var(--ub-gold); background: rgba(217, 164, 65, 0.08); }

/* Hero: titles in parchment with a soft gold glow, a quality-colour rule under them */
.rv-hero-title, .rv-page-title { letter-spacing: 0.015em; }
.rv-hero-title { text-shadow: 0 0 28px rgba(217, 164, 65, 0.22), 0 2px 18px rgba(0, 0, 0, 0.5); }
.rv-hero .rv-container::after {
  content: '';
  display: block;
  width: 120px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, var(--ub-rare), var(--ub-epic), var(--ub-legendary));
  border-radius: 2px;
}

/* Text: gold links, parchment titles; each H2 opens with a small gold diamond */
.rv-content a:not(.rv-tile):not(.rv-card) {
  color: var(--ub-gold);
  text-decoration: underline;
  text-decoration-color: rgba(217, 164, 65, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.rv-content a:not(.rv-tile):not(.rv-card):hover { color: var(--ub-parchment); text-decoration-color: var(--ub-parchment); }
.rv-content h2 {
  position: relative;
  padding-left: 22px;
}
.rv-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--ub-gold);
}
.rv-content strong, .rv-content b { color: var(--ub-parchment); }

/* Tables: an in-game tooltip, dark blue glass with a steel edge */
.rv-content table {
  background: var(--ub-tooltip);
  border: 1px solid var(--ub-tooltip-edge);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.45);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.rv-content table td, .rv-content table th { border-color: rgba(91, 106, 134, 0.35); }
.rv-content table tr:first-child td, .rv-content table th { color: var(--ub-gold); font-weight: 700; }
.rv-content table p { margin: 0; }

/* Tiles (homepage rubrics, old collection grids): a top edge in the item quality colours, in turn */
.rv-tile { border-top: 3px solid var(--ub-rare); }
.rv-tiles .rv-tile:nth-child(3n + 2) { border-top-color: var(--ub-epic); }
.rv-tiles .rv-tile:nth-child(3n + 3) { border-top-color: var(--ub-legendary); }
.rv-tile-title { font-family: 'Marcellus', Georgia, serif; font-weight: 400; letter-spacing: 0.02em; }
.rv-tile:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(217, 164, 65, 0.35); }

/* "Related" cards: the same quality edge on the left */
.rv-related .rv-card { border-left: 3px solid var(--ub-epic); }
.rv-related .rv-card:nth-child(2n) { border-left-color: var(--ub-rare); }
.rv-related .rv-card:nth-child(3n) { border-left-color: var(--ub-legendary); }

/* Figures: a thin gold frame */
.rv-figure img, .rv-content figure img { outline: 1px solid rgba(217, 164, 65, 0.25); outline-offset: -1px; }

@media (prefers-reduced-motion: reduce) {
  .rv-logo::before { transition: none; }
}

/* A page's own image at the head of a text written in full (no archived text to place it after): full width */
.rv-grid-photos.ub-single { display: block; margin: 8px 0 32px; }
.rv-grid-photos.ub-single figure { width: auto; margin: 0; }
.rv-grid-photos.ub-single img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
