/* ReviveAI — Generated Theme: aroabikini.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: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  color: #1c2b2e;
  line-height: 1.7;
  background: #f3f7f6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0a4d57; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #b5541b; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Gloock', 'Didot', Georgia, serif;
  color: #0e2226;
  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: #0a4d57;
  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: 'Gloock', 'Didot', 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(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: 3px;
}
.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: 5px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px #d5e2e0;
  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: #1c2b2e;
  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: #f2f6f6;
  color: #0a4d57;
  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: 3px;
  transition: background 0.2s;
}
.rv-hamburger:hover { background: rgba(255,255,255,0.1); }

/* ─── Hero ─── */
.rv-hero {
  background: linear-gradient(150deg, #041e22ee 0%, #0a4d57dd 55%, #b5541b77 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: 5px;
  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: #b5541b; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.rv-content a:hover { border-bottom-color: #b5541b; }
.rv-content blockquote {
  border-left: 4px solid #b5541b;
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(181,84,27,0.08);
  border-radius: 0 3px 3px 0;
  font-style: italic;
  color: #4f6266;
}
.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 #d5e2e0;
}
.rv-content th {
  background: #f2f6f6;
  font-weight: 600;
  color: #0e2226;
}
.rv-content tr:hover td { background: #e6efed; }

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

/* ─── Breadcrumb ─── */
.rv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #4f6266;
  margin-bottom: 28px;
  padding: 12px 0;
}
.rv-breadcrumb a {
  color: #0a4d57;
  font-weight: 500;
  transition: color 0.2s;
}
.rv-breadcrumb a:hover { color: #b5541b; }
.rv-breadcrumb-sep {
  color: #d5e2e0;
  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: 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #e6efed;
  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, #0a4d57, #b5541b);
  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: #0e2226;
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.rv-card p {
  color: #4f6266;
  font-size: 0.95rem;
  margin: 0 0 18px;
  line-height: 1.6;
}

/* ─── Homepage tiles: one per menu entry, its photo with its title on it ───
   Rows of 2 large tiles then 3 medium ones; a tile left alone at the end fills its row. */
.rv-cards.rv-tiles {
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin: 56px 0 72px;
}
.rv-tile {
  grid-column: span 2;
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  background: linear-gradient(135deg, #073941, #0a4d57);
  text-decoration: none;
}
.rv-tile-media { position: absolute; inset: 0; z-index: -1; }
.rv-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 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;
  left: 22px;
  right: 22px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-family: 'Gloock', 'Didot', 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-tile-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 12px;
  background: #b5541b;
  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 #b5541b; 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-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-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; }
}

/* ─── CTA Buttons ─── */
.rv-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  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: #b5541b;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(181,84,27,0.08);
}
.rv-btn-primary:hover {
  background: #994716;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(181,84,27,0.08);
  transform: translateY(-1px);
}
.rv-btn-outline {
  background: transparent;
  color: #0a4d57 !important;
  border: 2px solid #d5e2e0;
}
.rv-btn-outline:hover {
  background: #f2f6f6;
  border-color: #0a4d57;
}
.rv-card .rv-btn {
  font-size: 0.85rem;
  padding: 10px 22px;
}

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

/* ─── 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: #f2f6f6;
  background: color-mix(in srgb, #0a4d57 8%, #f3f7f6); /* a tint of the page the cards sit on */
  border: 0;
  border-radius: clamp(12px, calc(8px * 2.75), 24px);
  box-shadow: none;
  color: #0e2226;
  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: 'Gloock', 'Didot', 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: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4f6266;
  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, #0a4d57 13%, #f3f7f6);
  color: #0a4d57;
  border: 0;
}
.rv-related .rv-related-grid a:hover::after { transform: translateX(4px); }
.rv-related .rv-related-grid a:focus-visible { outline: 2px solid #b5541b; 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: 5px;
  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: #05262b;
  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, #0a4d57, #b5541b, #0a4d57);
}
.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: 'Gloock', 'Didot', Georgia, 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: #0a4d57;
  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: #b5541b;
  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: 'Gloock', 'Didot', Georgia, serif; color: #0e2226; border-bottom: 2px solid #0a4d5720; padding-bottom: 0.5rem; }
.rv-content h2 { font-size: 1.6rem; margin: 1.8rem 0 0.8rem; font-family: 'Gloock', 'Didot', Georgia, serif; color: #0e2226; }
.rv-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; font-family: 'Gloock', 'Didot', Georgia, serif; color: #0e2226; }
.rv-content p { margin-bottom: 1.2rem; color: #1c2b2e; }
.rv-content a { color: #0a4d57; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.rv-content a:hover { color: #b5541b; }
.rv-content img { max-width: 100%; height: auto; border-radius: 5px; margin: 1.5rem 0; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.rv-content blockquote {
  border-left: 4px solid #0a4d57;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #0a4d5708;
  border-radius: 0 5px 5px 0;
  font-style: italic;
  color: #4f6266;
}
.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: #0a4d57; }
.rv-content iframe { max-width: 100%; border-radius: 5px; margin: 1.5rem 0; }
.rv-content hr { border: none; height: 1px; background: #d5e2e0; margin: 2rem 0; }
.rv-page-title {
  font-family: 'Gloock', 'Didot', Georgia, serif;
  font-size: 2.2rem;
  color: #0e2226;
  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: #4f6266;
}
.rv-breadcrumb a { color: #0a4d57; 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: #0a4d57;
  margin-bottom: 12px;
  opacity: 0.15;
  border: none;
}
.rv-404 p {
  font-size: 1.2rem;
  color: #4f6266;
  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: #0a4d57;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 8px 0;
    border-radius: 0 0 5px 5px;
  }
  .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 (aroabikini.com) ── */
/* ─── Aroa Bikini : « lido botanique » ───
   Bleu lagon profond, accent souci (marigold), carreaux de piscine, ligne d'eau. */

:root {
  --aroa-lagoon: #0a4d57;
  --aroa-deep: #06323a;
  --aroa-marigold: #e9962f;
  --aroa-burnt: #b5541b;
  --aroa-deck: #f3f7f6;
  --aroa-tile: rgba(255, 255, 255, 0.075);
}

::selection { background: rgba(233, 150, 47, 0.28); color: inherit; }

/* Titres droits, jamais en italique */
h1, h2, h3, .rv-hero h1, .rv-hero-title { font-style: normal !important; }
h1, h2, h3 { letter-spacing: -0.01em; }
h3 { font-family: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; }

/* Bandeau supérieur : un filet souci au-dessus de l'en-tête */
.rv-header { border-top: 4px solid var(--aroa-marigold); }

/* ─── Hero : carreaux de piscine + soleil souci + ligne d'eau ─── */
.rv-hero {
  background-color: var(--aroa-deep);
  padding-bottom: 104px;
  isolation: isolate;
}
.rv-hero::before {
  background:
    linear-gradient(var(--aroa-tile) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--aroa-tile) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
  z-index: 0;
}
.rv-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C 120 4 240 4 360 22 S 600 40 720 22 S 960 4 1080 22 S 1320 40 1440 22 V46 H0 Z' fill='%23f3f7f6'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}
.rv-hero > * { position: relative; z-index: 2; }
.rv-hero .rv-container::before {
  content: '';
  position: absolute;
  top: -28px; right: 4%;
  width: clamp(90px, 14vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #f6c063 0%, var(--aroa-marigold) 55%, #d97a1e 100%);
  opacity: 0.9;
  box-shadow: 0 0 0 10px rgba(233, 150, 47, 0.12), 0 0 0 22px rgba(233, 150, 47, 0.06);
  pointer-events: none;
  z-index: -1;
}
.rv-hero .rv-container { position: relative; width: 100%; }
.rv-hero-title {
  font-family: 'Gloock', 'Didot', Georgia, serif;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem) !important;
  font-weight: 400 !important;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 820px;
  margin: 0 auto !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.rv-hero h1 {
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* Étiquette du hero : un carreau, pas une pilule */
.rv-hero-badge {
  border-radius: 2px;
  background: var(--aroa-marigold);
  border: 0;
  color: var(--aroa-deep);
  font-weight: 700;
  letter-spacing: 0.14em;
  backdrop-filter: none;
}

/* Boutons à angles nets */
.rv-btn, .rv-btn-primary, .rv-top-btn { border-radius: 3px !important; }
.rv-btn-primary { letter-spacing: 0.02em; }

/* ─── Contenu : carnet de terrain ─── */
.rv-content > p:first-of-type::first-letter {
  float: left;
  font-family: 'Gloock', 'Didot', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: 3.4em;
  line-height: 0.82;
  margin: 0.08em 0.12em 0 0;
  color: var(--aroa-burnt);
}
.rv-content h2 { padding-left: 22px; }
.rv-content h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em;
  width: 11px; height: 11px;
  background: var(--aroa-marigold);
  box-shadow: 4px 4px 0 var(--aroa-lagoon);
}
.rv-content h2::after { left: 22px; width: 56px; height: 3px; border-radius: 0; }
.rv-content a {
  text-decoration-line: underline;
  text-decoration-color: var(--aroa-marigold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.rv-content a:hover { color: var(--aroa-burnt); }
.rv-content blockquote {
  border-left: 0;
  border-top: 3px solid var(--aroa-marigold);
  background: #fff;
  padding: 18px 22px;
  box-shadow: 0 1px 0 var(--aroa-lagoon) inset;
}
.rv-content li::marker { color: var(--aroa-burnt); }
.rv-content table { border-collapse: collapse; }
.rv-content th { background: var(--aroa-lagoon); color: #fff; }

/* Cartes : un carreau souci au coin au survol */
.rv-card { position: relative; border-radius: 4px; }
.rv-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: transparent var(--aroa-marigold) transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.rv-card:hover::after { opacity: 1; }

/* Pied de page : le même carrelage, très discret */
.rv-footer {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  border-top: 4px solid var(--aroa-marigold);
}

/* ─── Entrée du hero, une seule fois au chargement ─── */
@keyframes aroa-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aroa-sun { from { opacity: 0; transform: translateY(18px) scale(0.92); } to { opacity: 0.9; transform: none; } }
.rv-hero-badge { animation: aroa-rise 0.5s ease-out both; }
.rv-hero h1, .rv-hero-title { animation: aroa-rise 0.6s ease-out 0.08s both; }
.rv-hero p { animation: aroa-rise 0.6s ease-out 0.16s both; }
.rv-hero .rv-container::before { animation: aroa-sun 0.9s cubic-bezier(.2,.7,.2,1) 0.1s both; }

@media (max-width: 640px) {
  .rv-hero { padding-bottom: 84px; }
  .rv-hero .rv-container::before { top: -36px; right: -18px; opacity: 0.55; }
  .rv-content h2 { padding-left: 18px; }
  .rv-content h2::after { left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-hero-badge, .rv-hero h1, .rv-hero-title, .rv-hero p, .rv-hero .rv-container::before { animation: none !important; }
  .rv-card, .rv-card::after { transition: none !important; }
}

/* « Related pages » : les cartes viennent du gabarit commun ; ici seulement le titre du bloc sans les repères des H2 du texte */
.rv-content .rv-related h2 { padding-left: 0; }
.rv-content .rv-related h2::before,
.rv-content .rv-related h2::after { content: none; display: none; }
