/* ReviveAI — Generated Theme: resellergsuite.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: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  color: #1b2233;
  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: #1f3c94; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #c2410c; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  color: #0d1a3a;
  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: #1f3c94;
  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: 'Archivo', 'Helvetica Neue', Arial, 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: 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: #FFFFFF;
  border-radius: 3px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px #e5e7eb;
  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: #1b2233;
  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: #f3f5f9;
  color: #1f3c94;
  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(150deg, #0c183bee 0%, #1f3c94dd 55%, #c2410c77 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;
}
.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: 3px;
  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); }
.rv-content a { color: #c2410c; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.rv-content a:hover { border-bottom-color: #c2410c; }
.rv-content blockquote {
  border-left: 4px solid #c2410c;
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(194,65,12,0.08);
  border-radius: 0 2px 2px 0;
  font-style: italic;
  color: #6b7280;
}
.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 #e5e7eb;
}
.rv-content th {
  background: #f3f5f9;
  font-weight: 600;
  color: #0d1a3a;
}
.rv-content tr:hover td { background: #f3f4f6; }

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

/* ─── Breadcrumb ─── */
.rv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 28px;
  padding: 12px 0;
}
.rv-breadcrumb a {
  color: #1f3c94;
  font-weight: 500;
  transition: color 0.2s;
}
.rv-breadcrumb a:hover { color: #c2410c; }
.rv-breadcrumb-sep {
  color: #e5e7eb;
  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: 4px;
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #f3f4f6;
  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, #1f3c94, #c2410c);
  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: #0d1a3a;
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.rv-card p {
  color: #6b7280;
  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: 3px;
  background: linear-gradient(135deg, #172d6f, #1f3c94);
  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: 'Archivo', 'Helvetica Neue', Arial, 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: #c2410c;
  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 #c2410c; 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 #e5e7eb;
  border-radius: 2px;
  box-shadow: none;
}
.rv-grid-photos figcaption { margin-top: 8px; font-size: 0.85rem; line-height: 1.35; color: #6b7280; }

/* ─── 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: #c2410c;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(194,65,12,0.08);
}
.rv-btn-primary:hover {
  background: #a4370a;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(194,65,12,0.08);
  transform: translateY(-1px);
}
.rv-btn-outline {
  background: transparent;
  color: #1f3c94 !important;
  border: 2px solid #e5e7eb;
}
.rv-btn-outline:hover {
  background: #f3f5f9;
  border-color: #1f3c94;
}
.rv-card .rv-btn {
  font-size: 0.85rem;
  padding: 10px 22px;
}

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

/* ─── 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: #f3f5f9;
  background: color-mix(in srgb, #1f3c94 8%, #ffffff); /* a tint of the page the cards sit on */
  border: 0;
  border-radius: clamp(12px, calc(4px * 2.75), 24px);
  box-shadow: none;
  color: #0d1a3a;
  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: 'Archivo', 'Helvetica Neue', Arial, 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: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6b7280;
  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, #1f3c94 13%, #ffffff);
  color: #1f3c94;
  border: 0;
}
.rv-related .rv-related-grid a:hover::after { transform: translateX(4px); }
.rv-related .rv-related-grid a:focus-visible { outline: 2px solid #c2410c; 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: 3px;
  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: #0f1e4a;
  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, #1f3c94, #c2410c, #1f3c94);
}
.rv-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  padding-bottom: 36px;
}
.rv-footer h4 {
  color: #FFFFFF;
  font-family: 'Archivo', 'Helvetica Neue', Arial, 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: #1f3c94;
  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: #c2410c;
  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: 'Archivo', 'Helvetica Neue', Arial, sans-serif; color: #0d1a3a; border-bottom: 2px solid #1f3c9420; padding-bottom: 0.5rem; }
.rv-content h2 { font-size: 1.6rem; margin: 1.8rem 0 0.8rem; font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; color: #0d1a3a; }
.rv-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; color: #0d1a3a; }
.rv-content p { margin-bottom: 1.2rem; color: #1b2233; }
.rv-content a { color: #1f3c94; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.rv-content a:hover { color: #c2410c; }
.rv-content img { max-width: 100%; height: auto; border-radius: 3px; margin: 1.5rem 0; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.rv-content blockquote {
  border-left: 4px solid #1f3c94;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #1f3c9408;
  border-radius: 0 3px 3px 0;
  font-style: italic;
  color: #6b7280;
}
.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: #1f3c94; }
.rv-content iframe { max-width: 100%; border-radius: 3px; margin: 1.5rem 0; }
.rv-content hr { border: none; height: 1px; background: #e5e7eb; margin: 2rem 0; }
.rv-page-title {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.2rem;
  color: #0d1a3a;
  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: #6b7280;
}
.rv-breadcrumb a { color: #1f3c94; 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: #1f3c94;
  margin-bottom: 12px;
  opacity: 0.15;
  border: none;
}
.rv-404 p {
  font-size: 1.2rem;
  color: #6b7280;
  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: #1f3c94;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 8px 0;
    border-radius: 0 0 3px 3px;
  }
  .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 (resellergsuite.com) ── */
/* ─── ResellerGSuite : « licensing desk » ───
   Un guide de terrain pour administrateurs : titres grotesques élargis (Archivo 112),
   texte serif lisible (Source Serif 4), encre cobalt, un seul signal vermillon,
   trame millimétrée de registre sur le bandeau. Angles nets, rien d'arrondi. */

:root {
  --rg-ink: #0d1a3a;
  --rg-cobalt: #1f3c94;
  --rg-cobalt-deep: #142a6b;
  --rg-signal: #c2410c;
  --rg-paper: #f4f6fa;
  --rg-rule: #d5dbe7;
  --rg-grid: rgba(255, 255, 255, 0.07);
}

::selection { background: rgba(194, 65, 12, 0.18); color: inherit; }

/* Titres droits, élargis, serrés : jamais d'italique */
h1, h2, h3, h4, .rv-hero h1, .rv-hero-title, .rv-page-title, .rv-logo {
  font-style: normal !important;
  font-stretch: 112%;
}
h1, h2, h3 { letter-spacing: -0.015em; }
h4 { font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; color: var(--rg-ink); }

/* Pas de lettrine ni d'ornement hérités du gabarit */
.rv-content > p:first-of-type::first-letter {
  float: none; font: inherit; margin: 0; color: inherit; line-height: inherit;
}
.rv-logo::after { content: none; }

/* ─── En-tête : barre d'encre, logo en capitales larges ─── */
.rv-header {
  background: var(--rg-ink);
  border-bottom: 3px solid var(--rg-signal);
}
.rv-logo {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.rv-nav-item > a { font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; font-weight: 500; }

/* ─── Bandeau : trame de registre + coin de licence ─── */
.rv-hero {
  background-color: var(--rg-cobalt-deep);
  text-align: left;
  padding: 88px 0 76px;
  isolation: isolate;
}
.rv-hero::before {
  background:
    linear-gradient(var(--rg-grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--rg-grid) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 45%, transparent 95%);
          mask-image: linear-gradient(100deg, #000 0%, #000 45%, transparent 95%);
  z-index: 0;
}
.rv-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: clamp(80px, 12vw, 150px);
  aspect-ratio: 1;
  background: linear-gradient(225deg, var(--rg-signal) 0 50%, transparent 50%);
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
}
.rv-hero > * { position: relative; z-index: 2; }
.rv-hero h1 {
  font-weight: 800;
  line-height: 1.06;
  max-width: 20ch;
  text-shadow: none;
}
.rv-hero p { margin-left: 0; margin-right: 0; }
/* Nom du site sur le bandeau de la homepage (le gabarit ne le stylise pas) */
.rv-hero .rv-hero-title {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 1;
  margin: 0 0 18px;
}
.rv-hero { background-color: var(--rg-ink); }
.rv-hero[style*="background-image"] { box-shadow: inset 0 0 0 100vmax rgba(13, 26, 58, 0.28); }
.rv-hero-badge {
  border-radius: 2px;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: none;
}

/* Montée du titre au chargement : sans fondu (un texte en opacity 0 retarde le LCP) */
@media (prefers-reduced-motion: no-preference) {
  .rv-hero h1, .rv-hero p, .rv-hero-badge {
    animation: rg-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .rv-hero-badge { animation-delay: 0.05s; }
  .rv-hero h1 { animation-delay: 0.12s; }
  .rv-hero p { animation-delay: 0.24s; }
}
@keyframes rg-rise {
  from { transform: translateY(12px); }
  to { transform: none; }
}

/* ─── Texte : colonne de lecture serif, titres à filet ─── */
.rv-content { font-size: 1.08rem; line-height: 1.72; }
.rv-content h2 {
  font-weight: 800;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin-top: 2.6rem;
  padding-top: 14px;
  padding-bottom: 0;
  border-top: 2px solid var(--rg-ink);
}
.rv-content h2::after { content: none; }
.rv-content h3 { font-weight: 700; font-size: 1.22rem; }
.rv-content h4 { font-size: 1.02rem; margin: 1.2rem 0 0.4rem; }

.rv-content a {
  color: var(--rg-cobalt);
  text-decoration: underline;
  text-decoration-color: var(--rg-signal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  border-bottom: 0;
}
.rv-content a:hover { color: var(--rg-signal); }

/* Listes : puces carrées vermillon */
.rv-content ul { list-style: none; margin-left: 0; padding-left: 0; }
.rv-content ul > li { position: relative; padding-left: 22px; }
.rv-content ul > li::before {
  content: '';
  position: absolute;
  left: 2px; top: 0.72em;
  width: 7px; height: 7px;
  background: var(--rg-signal);
}

/* Tableaux : registre de licences, chiffres alignés */
.rv-content table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
  border-top: 2px solid var(--rg-ink);
  border-bottom: 2px solid var(--rg-ink);
  font-size: 0.97rem;
}
.rv-content th {
  background: transparent;
  color: var(--rg-ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rg-ink);
}
.rv-content td { border-bottom: 1px solid var(--rg-rule); }
.rv-content tbody tr:nth-child(even) td { background: var(--rg-paper); }

/* Citations : fiche de note, sans italique décoratif */
.rv-content blockquote {
  font-family: inherit;
  font-style: normal;
  font-size: 1em;
  background: var(--rg-paper);
  border-left: 4px solid var(--rg-cobalt);
  color: var(--rg-ink);
}

/* Images : cadre net (l'emporte sur le style posé par la phase images) */
.rv-content img { border-radius: 2px !important; box-shadow: none !important; outline: 1px solid var(--rg-rule); outline-offset: 0; }
.rv-content img:hover { box-shadow: none !important; }

/* Fil d'Ariane et pied de page en capitales techniques */
.rv-breadcrumb {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rv-footer { background: var(--rg-ink); }
.rv-footer::before { width: 100%; height: 3px; background: var(--rg-signal); margin: -1px 0 32px; opacity: 1; }
.rv-footer h4 { font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
/* Site d'une seule page, sans menu : la colonne « Quick Links » resterait vide */
.rv-footer-grid > div:not(:has(a, p, li)) { display: none; }
.rv-footer-grid:not(:has(a, p, li)) { display: none; }

/* Cartes « À découvrir aussi » : angle net, filet signal au survol */
.rv-related .rv-related-grid a { border-radius: 3px; }
.rv-card:hover { border-top-color: var(--rg-signal); }

@media (max-width: 600px) {
  .rv-hero { padding: 64px 0 56px; }
  .rv-hero::after { width: 64px; }
  .rv-content { font-size: 1.04rem; }
}
