/* ReviveAI — Generated Theme: cocue.eu-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: 'Hind', system-ui, sans-serif;
  color: #1b2a35;
  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: #072436; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #c42d74; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', 'Hind', system-ui, sans-serif;
  color: #072436;
  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: #072436;
  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', 'Hind', system-ui, 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.92);
  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: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px #d5dfe6;
  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: #1b2a35;
  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: #eef3f6;
  color: #072436;
  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(140deg, rgba(4,24,38,0.95) 0%, rgba(7,36,54,0.86) 55%, rgba(112,73,186,0.58) 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', 'Hind', system-ui, 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: 12px;
  margin: 24px 0;
  box-shadow: 0 1px 2px rgba(7,36,54,0.06);
  transition: box-shadow 0.3s ease;
}
.rv-content img:hover { box-shadow: 0 7px 0 #e95095; }
/* 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: 12px;
  box-shadow: 0 1px 2px rgba(7,36,54,0.06);
}
.rv-content a { color: #c42d74; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.rv-content a:hover { border-bottom-color: #c42d74; }
.rv-content blockquote {
  border-left: 4px solid #c42d74;
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(233,80,149,0.10);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #52616c;
}
.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 #d5dfe6;
}
.rv-content th {
  background: #eef3f6;
  font-weight: 600;
  color: #072436;
}
.rv-content tr:hover td { background: #e8eef2; }

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

/* ─── Breadcrumb ─── */
.rv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #52616c;
  margin-bottom: 28px;
  padding: 12px 0;
}
.rv-breadcrumb a {
  color: #072436;
  font-weight: 500;
  transition: color 0.2s;
}
.rv-breadcrumb a:hover { color: #c42d74; }
.rv-breadcrumb-sep {
  color: #d5dfe6;
  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: 18px;
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(7,36,54,0.06);
  border: 1px solid #e8eef2;
  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, #072436, #c42d74);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rv-card:hover {
  box-shadow: 0 7px 0 #e95095;
  transform: translateY(-3px);
}
.rv-card:hover::before { opacity: 1; }
.rv-card h3 {
  color: #072436;
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.rv-card p {
  color: #52616c;
  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: 12px;
  background: linear-gradient(135deg, #051b28, #072436);
  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', 'Hind', system-ui, 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: #c42d74;
  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 #c42d74; 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 #d5dfe6;
  border-radius: 6px;
  box-shadow: none;
}
.rv-grid-photos figcaption { margin-top: 8px; font-size: 0.85rem; line-height: 1.35; color: #52616c; }

/* ─── 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: #c42d74;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(233,80,149,0.10);
}
.rv-btn-primary:hover {
  background: #a3205e;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(233,80,149,0.10);
  transform: translateY(-1px);
}
.rv-btn-outline {
  background: transparent;
  color: #072436 !important;
  border: 2px solid #d5dfe6;
}
.rv-btn-outline:hover {
  background: #eef3f6;
  border-color: #072436;
}
.rv-card .rv-btn {
  font-size: 0.85rem;
  padding: 10px 22px;
}

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

/* ─── 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: #eef3f6;
  background: color-mix(in srgb, #072436 8%, #ffffff); /* a tint of the page the cards sit on */
  border: 0;
  border-radius: clamp(12px, calc(18px * 2.75), 24px);
  box-shadow: none;
  color: #072436;
  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', 'Hind', system-ui, 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: 'Hind', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #52616c;
  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, #072436 13%, #ffffff);
  color: #072436;
  border: 0;
}
.rv-related .rv-related-grid a:hover::after { transform: translateX(4px); }
.rv-related .rv-related-grid a:focus-visible { outline: 2px solid #c42d74; 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: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rv-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 7px 0 #e95095;
}

/* ─── Footer ─── */
.rv-footer {
  background: #041826;
  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, #072436, #c42d74, #072436);
}
.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', 'Hind', system-ui, 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: #072436;
  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: #c42d74;
  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', 'Hind', system-ui, sans-serif; color: #072436; border-bottom: 2px solid #07243620; padding-bottom: 0.5rem; }
.rv-content h2 { font-size: 1.6rem; margin: 1.8rem 0 0.8rem; font-family: 'Bricolage Grotesque', 'Hind', system-ui, sans-serif; color: #072436; }
.rv-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; font-family: 'Bricolage Grotesque', 'Hind', system-ui, sans-serif; color: #072436; }
.rv-content p { margin-bottom: 1.2rem; color: #1b2a35; }
.rv-content a { color: #072436; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.rv-content a:hover { color: #c42d74; }
.rv-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.5rem 0; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.rv-content blockquote {
  border-left: 4px solid #072436;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #07243608;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #52616c;
}
.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: #072436; }
.rv-content iframe { max-width: 100%; border-radius: 12px; margin: 1.5rem 0; }
.rv-content hr { border: none; height: 1px; background: #d5dfe6; margin: 2rem 0; }
.rv-page-title {
  font-family: 'Bricolage Grotesque', 'Hind', system-ui, sans-serif;
  font-size: 2.2rem;
  color: #072436;
  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: #52616c;
}
.rv-breadcrumb a { color: #072436; 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: #072436;
  margin-bottom: 12px;
  opacity: 0.15;
  border: none;
}
.rv-404 p {
  font-size: 1.2rem;
  color: #52616c;
  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: #072436;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 8px 0;
    border-radius: 0 0 12px 12px;
  }
  .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.92);
    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 (cocue.eu) ── */
/* cocue.eu — "Andean field guide, pop edition": night-navy ink, magenta signal, and the coca leaf's own mark:
   the two faint lines that run beside its midrib (the botanical tell of Erythroxylum), used as underline,
   bullet and pattern. */
:root {
  --cq-ink: #072436;
  --cq-night: #041826;
  --cq-magenta: #e95095;
  --cq-magenta-ink: #c42d74;
  --cq-violet: #7049ba;
  --cq-sky: #0088c7;
  --cq-sun: #e49513;
  --cq-mist: #eef3f6;
  /* a coca leaf: oval blade, midrib, and the two curved lines either side of it */
  --cq-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 64'%3E%3Cpath d='M20 2C8 14 4 30 6 44c2 10 8 16 14 18 6-2 12-8 14-18 2-14-2-30-14-42z' fill='%23e95095'/%3E%3Cpath d='M20 6v54M14 14c-3 14-3 30 2 42M26 14c3 14 3 30-2 42' stroke='%23fff' stroke-opacity='.55' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  --cq-leaf-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.4' stroke-linecap='round'%3E%3Cg transform='rotate(-28 34 40)'%3E%3Cpath d='M34 12C24 22 21 36 22 48c1 8 6 13 12 15 6-2 11-7 12-15 1-12-2-26-12-36z'/%3E%3Cpath d='M34 16v44M29 22c-2 12-2 25 1 35M39 22c2 12 2 25-1 35'/%3E%3C/g%3E%3Cg transform='rotate(32 88 86)'%3E%3Cpath d='M88 62c-8 8-10 19-9 28 1 6 5 10 9 11 4-1 8-5 9-11 1-9-1-20-9-28z'/%3E%3Cpath d='M88 65v34M84 70c-1 9-1 18 1 26M92 70c1 9 1 18-1 26'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --cq-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
h1, h2, h3, .rv-page-title, .rv-hero .rv-hero-title, .rv-tile-title, .rv-related-name {
  font-family: 'Bricolage Grotesque', 'Hind', system-ui, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}
.rv-page-title { font-weight: 800; color: var(--cq-ink); line-height: 1.08; }
.rv-content h2 { font-weight: 700; letter-spacing: -0.015em; }
.rv-content h3 { font-weight: 650; }
.rv-content p, .rv-content li { line-height: 1.72; }

/* Title underline: the leaf's two side lines, magenta over violet */
.rv-page-title::after {
  width: 84px;
  height: 7px;
  background:
    linear-gradient(var(--cq-magenta), var(--cq-magenta)) top left / 100% 2px no-repeat,
    linear-gradient(var(--cq-violet), var(--cq-violet)) bottom left / 58% 2px no-repeat;
}

/* ---------- Header ---------- */
.rv-header { background: var(--cq-ink); box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 10px 30px -18px rgba(4,24,38,0.7); }
.rv-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}
.rv-logo::before {
  content: '';
  width: 15px;
  height: 24px;
  background: var(--cq-leaf) center / contain no-repeat;
  transform: rotate(-18deg);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.rv-logo:hover::before { transform: rotate(8deg) scale(1.08); }
.rv-nav-item > a { font-weight: 500; letter-spacing: 0.06em; position: relative; }
.rv-nav-item > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 2px;
  background: var(--cq-magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.rv-nav-item > a:hover::after, .rv-nav-item > a:focus-visible::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.rv-hero {
  background:
    var(--cq-grain),
    radial-gradient(60% 90% at 8% 110%, rgba(233,80,149,0.42) 0%, transparent 60%),
    radial-gradient(50% 80% at 100% 0%, rgba(112,73,186,0.45) 0%, transparent 65%),
    var(--cq-leaf-line),
    linear-gradient(160deg, #041826 0%, #072436 70%);
  background-size: 160px 160px, auto, auto, 120px 120px, auto;
  padding: clamp(64px, 9vw, 112px) 0;
}
.rv-hero::before {
  background: none;
  /* one large leaf, cut by the hero's right edge */
  content: '';
  inset: auto -60px -90px auto;
  width: clamp(180px, 26vw, 340px);
  aspect-ratio: 40 / 64;
  background: var(--cq-leaf) center / contain no-repeat;
  opacity: 0.16;
  transform: rotate(24deg);
}
.rv-hero .rv-hero-title, .rv-hero h1 { font-weight: 800; letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(4,24,38,0.7); }
.rv-hero p { color: rgba(255,255,255,0.92); text-shadow: 0 1px 14px rgba(4,24,38,0.85); }
/* a photo hero (busy packshots): a navy veil over the photo, under the text */
.rv-hero[style*="background-image"] { box-shadow: inset 0 0 0 2000px rgba(4,24,38,0.5); }
@media (prefers-reduced-motion: no-preference) {
  .rv-hero .rv-container > * { animation: cq-rise 0.8s cubic-bezier(.2,.8,.2,1) both; }
  .rv-hero .rv-container > *:nth-child(2) { animation-delay: 0.12s; }
  .rv-hero .rv-container > *:nth-child(3) { animation-delay: 0.24s; }
  .rv-hero::before { animation: cq-sway 9s ease-in-out infinite alternate; }
}
@keyframes cq-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cq-sway { from { transform: rotate(20deg); } to { transform: rotate(30deg) translateY(-8px); } }

/* ---------- Content ---------- */
.rv-content a:not(.rv-tile):not(.rv-btn):not(.rv-related-card) {
  color: var(--cq-magenta-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(233,80,149,0.35);
  transition: text-decoration-color 0.2s ease;
}
.rv-content a:not(.rv-tile):not(.rv-btn):not(.rv-related-card):hover { text-decoration-color: var(--cq-magenta); }

/* H2: a small leaf in the margin */
.rv-content h2 { position: relative; padding-left: 26px; }
.rv-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 13px;
  height: 21px;
  background: var(--cq-leaf) center / contain no-repeat;
  transform: rotate(-20deg);
}

/* Lists: leaf bullets */
.rv-content ul { list-style: none; padding-left: 0; }
.rv-content ul > li { position: relative; padding-left: 26px; margin-bottom: 0.55em; }
.rv-content ul > li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.42em;
  width: 9px;
  height: 14px;
  background: var(--cq-leaf) center / contain no-repeat;
  transform: rotate(35deg);
}

/* Figures: photo on a mist card with a magenta edge underneath */
.rv-content .rv-figure img, .rv-figure img {
  border-radius: 18px;
  background: var(--cq-mist);
  box-shadow: 0 6px 0 -2px rgba(233,80,149,0.55), 0 22px 40px -28px rgba(7,36,54,0.55);
}
/* square packshots stay a figure, not a wall: ratio kept, centred */
.rv-content .rv-figure img { width: auto; height: auto; max-width: 100%; max-height: 440px; margin-inline: auto; }
.rv-figure figcaption { color: #52616c; font-size: 0.9rem; margin-top: 12px; }

/* Tables (nutrition values): ruled like a lab sheet */
.rv-content table {
  width: 100%;
  max-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.2rem 0 1.8rem;
  border: 1px solid #d5dfe6;
  border-radius: 12px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.rv-content th {
  background: var(--cq-ink);
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Hind', system-ui, sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 10px 16px;
}
.rv-content td { padding: 9px 16px; border-top: 1px solid #e8eef2; }
.rv-content tbody tr:nth-child(even) td { background: #f6f9fb; }
.rv-content td:last-child, .rv-content th:last-child { text-align: right; }

/* FAQ written by the content phase: question rows with a magenta rule */
.rv-content h3 + p { margin-top: 0.3rem; }

/* Blockquotes */
.rv-content blockquote {
  border-left: 0;
  margin: 1.6rem 0;
  padding: 18px 22px 18px 26px;
  background: var(--cq-mist);
  border-radius: 0 14px 14px 0;
  box-shadow: inset 4px 0 0 var(--cq-magenta);
}

/* ---------- Homepage tiles ---------- */
.rv-tile { border-radius: 18px; background: linear-gradient(150deg, #041826, #072436 60%, #3b2a6e); }
.rv-tile::after { background: linear-gradient(180deg, rgba(4,24,38,0) 35%, rgba(4,24,38,0.85) 100%); }
.rv-tile-title { font-weight: 800; letter-spacing: -0.03em; }
.rv-tile-title::after {
  width: 44px;
  height: 7px;
  background:
    linear-gradient(var(--cq-magenta), var(--cq-magenta)) top left / 100% 2px no-repeat,
    linear-gradient(var(--cq-violet), var(--cq-violet)) bottom left / 58% 2px no-repeat;
}
.rv-tile:hover .rv-tile-title::after { width: 88px; }
.rv-tile:hover { box-shadow: 0 7px 0 var(--cq-magenta); }
.rv-tile { transition: box-shadow 0.3s ease, transform 0.3s ease; }
.rv-tile:hover { transform: translateY(-3px); }

/* ---------- Related cards ---------- */
.rv-related .rv-related-grid a { border-radius: 14px; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.rv-related .rv-related-grid a:hover { transform: translateY(-3px); border-color: var(--cq-magenta); }

/* ---------- Buttons ---------- */
.rv-btn { border-radius: 10px; font-family: 'Bricolage Grotesque', 'Hind', system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }

/* ---------- Footer ---------- */
.rv-footer {
  background: var(--cq-leaf-line), var(--cq-night);
  background-size: 120px 120px, auto;
}
.rv-footer::before {
  height: 4px;
  background: linear-gradient(90deg, var(--cq-magenta) 0 33%, var(--cq-violet) 33% 66%, var(--cq-sky) 66% 100%);
}
.rv-footer a:hover { color: var(--cq-magenta); }

/* ---------- Breadcrumb ---------- */
.rv-breadcrumb a { color: var(--cq-magenta-ink); }

@media (prefers-reduced-motion: reduce) {
  .rv-tile, .rv-tile:hover, .rv-related .rv-related-grid a:hover { transform: none; }
}
