/* ReviveAI — Generated Theme: halfamelon.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: 'Archivo', sans-serif;
  color: #2A2321;
  line-height: 1.7;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #BF4367; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #2E7D4F; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #201715;
  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: #163F2A;
  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: 'Bricolage Grotesque', sans-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(255,255,255,0.94);
  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: 6px;
}
.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: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px #EFE3E5;
  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: #2A2321;
  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: #FDF0F3;
  color: #BF4367;
  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: 6px;
  transition: background 0.2s;
}
.rv-hamburger:hover { background: rgba(255,255,255,0.1); }

/* ─── Hero ─── */
.rv-hero {
  background: linear-gradient(165deg, #7F2240f2 0%, #BF4367e6 62%, #D9667Fcc 100%);
  color: #FFFFFF;
  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: #FFFFFF;
  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: 'Bricolage Grotesque', sans-serif;
  color: #FFFFFF;
  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: 14px;
  margin: 24px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.rv-content img:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
/* 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: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.rv-content a { color: #2E7D4F; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.rv-content a:hover { border-bottom-color: #2E7D4F; }
.rv-content blockquote {
  border-left: 4px solid #2E7D4F;
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(46,125,79,0.08);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #6E625F;
}
.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 #EFE3E5;
}
.rv-content th {
  background: #FDF0F3;
  font-weight: 600;
  color: #201715;
}
.rv-content tr:hover td { background: #F8EEF0; }

/* 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: #2E7D4F;
  border-radius: 2px;
}

/* ─── Breadcrumb ─── */
.rv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #6E625F;
  margin-bottom: 28px;
  padding: 12px 0;
}
.rv-breadcrumb a {
  color: #BF4367;
  font-weight: 500;
  transition: color 0.2s;
}
.rv-breadcrumb a:hover { color: #2E7D4F; }
.rv-breadcrumb-sep {
  color: #EFE3E5;
  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: #FFFFFF;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #F8EEF0;
  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, #BF4367, #2E7D4F);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rv-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.rv-card:hover::before { opacity: 1; }
.rv-card h3 {
  color: #201715;
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.rv-card p {
  color: #6E625F;
  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: 14px;
  background: linear-gradient(135deg, #9A2F50, #BF4367);
  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: 'Bricolage Grotesque', sans-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: #2E7D4F;
  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 #2E7D4F; 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: #FFFFFF;
  border: 1px solid #EFE3E5;
  border-radius: 6px;
  box-shadow: none;
}
.rv-grid-photos figcaption { margin-top: 8px; font-size: 0.85rem; line-height: 1.35; color: #6E625F; }

/* ─── CTA Buttons ─── */
.rv-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  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: #2E7D4F;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(46,125,79,0.08);
}
.rv-btn-primary:hover {
  background: #246640;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(46,125,79,0.08);
  transform: translateY(-1px);
}
.rv-btn-outline {
  background: transparent;
  color: #BF4367 !important;
  border: 2px solid #EFE3E5;
}
.rv-btn-outline:hover {
  background: #FDF0F3;
  border-color: #BF4367;
}
.rv-card .rv-btn {
  font-size: 0.85rem;
  padding: 10px 22px;
}

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

/* ─── 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: #FDF0F3;
  background: color-mix(in srgb, #BF4367 8%, #FFFFFF); /* a tint of the page the cards sit on */
  border: 0;
  border-radius: clamp(12px, calc(20px * 2.75), 24px);
  box-shadow: none;
  color: #201715;
  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: 'Bricolage Grotesque', sans-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: 'Archivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6E625F;
  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, #BF4367 13%, #FFFFFF);
  color: #BF4367;
  border: 0;
}
.rv-related .rv-related-grid a:hover::after { transform: translateX(4px); }
.rv-related .rv-related-grid a:focus-visible { outline: 2px solid #2E7D4F; 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: 14px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rv-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ─── Footer ─── */
.rv-footer {
  background: #163F2A;
  color: rgba(255,255,255,0.65);
  padding: 48px 0 0;
  position: relative;
}
.rv-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #BF4367, #2E7D4F, #BF4367);
}
.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: #FFFFFF;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rv-footer a {
  color: rgba(255,255,255,0.65);
  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: #BF4367;
  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: #2E7D4F;
  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: 'Bricolage Grotesque', sans-serif; color: #201715; border-bottom: 2px solid #BF436720; padding-bottom: 0.5rem; }
.rv-content h2 { font-size: 1.6rem; margin: 1.8rem 0 0.8rem; font-family: 'Bricolage Grotesque', sans-serif; color: #201715; }
.rv-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; font-family: 'Bricolage Grotesque', sans-serif; color: #201715; }
.rv-content p { margin-bottom: 1.2rem; color: #2A2321; }
.rv-content a { color: #BF4367; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.rv-content a:hover { color: #2E7D4F; }
.rv-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 1.5rem 0; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.rv-content blockquote {
  border-left: 4px solid #BF4367;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #BF436708;
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: #6E625F;
}
.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: #BF4367; }
.rv-content iframe { max-width: 100%; border-radius: 14px; margin: 1.5rem 0; }
.rv-content hr { border: none; height: 1px; background: #EFE3E5; margin: 2rem 0; }
.rv-page-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.2rem;
  color: #201715;
  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: #6E625F;
}
.rv-breadcrumb a { color: #BF4367; 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: #BF4367;
  margin-bottom: 12px;
  opacity: 0.15;
  border: none;
}
.rv-404 p {
  font-size: 1.2rem;
  color: #6E625F;
  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: #163F2A;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 8px 0;
    border-radius: 0 0 14px 14px;
  }
  .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(0,0,0,0.03);
    border-radius: 0;
    padding: 0;
  }
  .rv-nav-item:hover .rv-dropdown { transform: none; }
  .rv-dropdown a {
    padding-left: 40px;
    color: rgba(255,255,255,0.94);
    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 (halfamelon.com) ── */
/* halfamelon.com — "sticker sheet" direction: watermelon flesh, seeds and rind; tiles cut out like stickers */

:root {
  --hm-flesh: #BF4367;
  --hm-flesh-deep: #9A2F50;
  --hm-rind: #2E7D4F;
  --hm-rind-deep: #163F2A;
  --hm-pith: #F4F7EE;
  --hm-seed: #201715;
  --hm-paper: #FFFFFF;
}

/* Header: deep rind, the site's name with a slice of flesh */
.rv-header { box-shadow: none; }
.rv-logo { font-weight: 800; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; }
.rv-logo::before {
  content: '';
  width: 22px; height: 11px;
  border-radius: 0 0 22px 22px;
  background: var(--hm-flesh);
  box-shadow: 0 3px 0 0 var(--hm-pith), 0 6px 0 0 #6FBF73;
  transform: translateY(-3px);
}
.rv-nav-item > a { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 0.95rem; }
.rv-nav-item > a:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Hero: flesh with scattered seeds, closed by a rind band */
.rv-hero { padding: 88px 0 104px; text-align: left; }
.rv-hero::before {
  background:
    radial-gradient(ellipse 4px 7px at 12% 28%, rgba(32,23,21,0.55) 98%, transparent 100%),
    radial-gradient(ellipse 4px 7px at 27% 71%, rgba(32,23,21,0.45) 98%, transparent 100%),
    radial-gradient(ellipse 4px 7px at 46% 22%, rgba(32,23,21,0.40) 98%, transparent 100%),
    radial-gradient(ellipse 4px 7px at 63% 64%, rgba(32,23,21,0.50) 98%, transparent 100%),
    radial-gradient(ellipse 4px 7px at 79% 30%, rgba(32,23,21,0.45) 98%, transparent 100%),
    radial-gradient(ellipse 4px 7px at 91% 76%, rgba(32,23,21,0.40) 98%, transparent 100%),
    radial-gradient(ellipse 4px 7px at 6% 82%, rgba(32,23,21,0.35) 98%, transparent 100%);
}
.rv-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 18px;
  background: linear-gradient(180deg, var(--hm-pith) 0 7px, #6FBF73 7px 10px, var(--hm-rind) 10px 18px);
}
.rv-hero .rv-hero-title, .rv-hero h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 18ch;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
}
.rv-hero p { max-width: 58ch; font-size: 1.08rem; opacity: 0.95; }

/* Page title: a short rind stripe instead of the generic bar */
.rv-page-title { letter-spacing: -0.03em; font-weight: 800; }
.rv-page-title::after { width: 72px; height: 6px; border-radius: 0; background: linear-gradient(180deg, var(--hm-flesh) 0 3px, var(--hm-rind) 3px 6px); }

/* Content */
.rv-content h2 { letter-spacing: -0.02em; font-weight: 800; }
.rv-content a { text-decoration-color: rgba(191,67,103,0.45); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rv-content a:hover { text-decoration-color: var(--hm-flesh); }
.rv-content li::marker { color: var(--hm-flesh); }

/* Tiles: die-cut stickers on a sheet (white border, kiss-cut dashed line on hover, a slight peel) */
.rv-tile {
  border: 6px solid var(--hm-paper);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(32,23,21,0.06), 0 10px 24px -14px rgba(32,23,21,0.45);
  background: linear-gradient(150deg, var(--hm-flesh-deep), var(--hm-flesh));
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s;
  overflow: visible;
}
.rv-tile-media { border-radius: 16px; overflow: hidden; }
.rv-tile::after { border-radius: 16px; }
.rv-tile::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px dashed rgba(191,67,103,0.55);
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.rv-tile:hover { transform: rotate(-1.2deg) translateY(-3px); box-shadow: 0 18px 32px -16px rgba(32,23,21,0.55); }
.rv-tile:nth-child(even):hover { transform: rotate(1deg) translateY(-3px); }
.rv-tile:hover::before, .rv-tile:focus-visible::before { opacity: 1; }
.rv-tile-title { font-weight: 800; letter-spacing: -0.02em; }

/* Product photos kept from the old pages (custom/10-clean-shopify.mjs) */
.rv-grid-photos.rv-product-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin: 8px 0 32px;
}
.rv-grid-photos.rv-product-photos figure { width: auto; margin: 0; }
.rv-content .rv-grid-photos.rv-product-photos figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 0;
  margin: 0;
  background: var(--hm-paper);
  border: 6px solid var(--hm-paper);
  border-radius: 18px;
  box-shadow: 0 10px 24px -16px rgba(32,23,21,0.5);
}
.rv-content .rv-grid-photos.rv-product-photos figure:nth-child(odd) img { transform: rotate(-0.8deg); }
.rv-content .rv-grid-photos.rv-product-photos figure:nth-child(even) img { transform: rotate(0.8deg); }

/* Footer: rind band on top */
.rv-footer::before { height: 10px; background: linear-gradient(180deg, var(--hm-flesh) 0 4px, var(--hm-pith) 4px 7px, #6FBF73 7px 10px); }

@media (max-width: 640px) {
  .rv-hero { padding: 64px 0 80px; }
  .rv-tile { border-width: 4px; border-radius: 18px; }
  .rv-tile::before { inset: -8px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-tile, .rv-tile::before { transition: none; }
  .rv-tile:hover, .rv-tile:nth-child(even):hover { transform: none; }
}

/* The content figure (images phase): a portrait product photo never fills the screen */
.rv-content .rv-figure img { max-height: 460px; width: 100%; object-fit: cover; border: 6px solid var(--hm-paper); border-radius: 18px; box-shadow: 0 10px 24px -16px rgba(32,23,21,0.5); }

/* Seven menu entries on one line from 1100 px */
.rv-nav-item > a { padding: 20px 10px; font-size: 0.9rem; }

/* Mobile: product photos two by two, the text comes sooner */
@media (max-width: 640px) {
  .rv-grid-photos.rv-product-photos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rv-content .rv-grid-photos.rv-product-photos figure img { border-width: 4px; border-radius: 14px; }
}

/* The seeds are for a plain flesh hero: on a photo they read as specks */
.rv-hero[style*="background-image"]::before { background: none; }
