/* =============================================================
   LaMinute Ortho — Custom Theme Stylesheet
   Design System : Editorial Magazine Moderne (v2)
   Parent theme  : Astra
   Hero          : parallax-scroll
   Header layout : logo-left-menu-center-cta-right
   Category      : sandwich
   ============================================================= */

:root {
  --rp-primary:    #1E3A8A;          /* deep navy */
  --rp-primary-dk: #172E6E;
  --rp-primary-rgb:30, 58, 138;
  --rp-accent:     #F59E0B;          /* amber */
  --rp-accent-dk:  #D97706;
  --rp-accent-rgb: 245, 158, 11;
  --rp-bg:         #FFFFFF;          /* pure white */
  --rp-bg-rgb:     255, 255, 255;
  --rp-surface:    #F8FAFC;          /* slate-50 */
  --rp-text:       #0F172A;          /* slate-900 */
  --rp-text-soft:  #475569;          /* slate-600 */
  --rp-line:       #E2E8F0;          /* slate-200 */
  --rp-cream:      #F8FAFC;          /* alias for legacy uses */
  --rp-dark:       #0F172A;          /* footer bg */
  --rp-dark-soft:  #1E293B;
  --rp-shadow:     0 10px 28px rgba(15, 23, 42, 0.06);
  --rp-shadow-lg:  0 22px 54px rgba(15, 23, 42, 0.12);
  --rp-radius-s:   6px;
  --rp-radius-m:   10px;
  --rp-radius-l:   16px;
  --rp-radius-xl:  24px;
  --rp-font-h:     "Playfair Display", Georgia, "Times New Roman", serif;
  --rp-font-b:     "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --rp-maxw:       1280px;
  --rp-gap:        clamp(1rem, 1.4vw, 1.6rem);
  --rp-section-py: clamp(3rem, 6vw, 6rem);
}

/* ---------- Reset & base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.rp-body {
  margin: 0;
  background: var(--rp-bg);
  color: var(--rp-text);
  font-family: var(--rp-font-b);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rp-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rp-primary-dk); text-decoration: underline; text-underline-offset: 4px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rp-font-h);
  font-weight: 600;
  line-height: 1.2;
  color: var(--rp-text);
  margin: 0 0 0.75em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
blockquote {
  border-left: 4px solid var(--rp-primary);
  padding: 0.6em 1.2em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--rp-text-soft);
  background: var(--rp-surface);
  border-radius: 0 var(--rp-radius-s) var(--rp-radius-s) 0;
}

::selection { background: var(--rp-primary); color: #fff; }

/* ---------- Layout helpers -------------------------------- */
.rp-container {
  width: 100%;
  max-width: var(--rp-maxw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.rp-section { padding: var(--rp-section-py) 0; }
.rp-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rp-accent-dk);
  margin-bottom: 0.6em;
}
.rp-section-title {
  margin-bottom: 0.4em;
}
.rp-section-lead {
  font-size: 1.1rem;
  color: var(--rp-text-soft);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* ---------- Buttons --------------------------------------- */
.rp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--rp-font-b);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
  text-decoration: none;
}
.rp-btn--cta {
  background: var(--rp-primary);
  color: #fff;
}
.rp-btn--cta:hover {
  background: var(--rp-primary-dk);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--rp-shadow);
}
.rp-btn--ghost {
  background: transparent;
  color: var(--rp-text);
  border-color: var(--rp-text);
}
.rp-btn--ghost:hover {
  background: var(--rp-text);
  color: var(--rp-cream);
  text-decoration: none;
}
.rp-btn--accent {
  background: var(--rp-accent);
  color: #fff;
}
.rp-btn--accent:hover {
  background: var(--rp-accent-dk);
  color: #fff;
  text-decoration: none;
}
.rp-btn--soft {
  background: var(--rp-surface);
  color: var(--rp-text);
  border-color: var(--rp-line);
}
.rp-btn--soft:hover {
  background: var(--rp-cream);
  color: var(--rp-primary-dk);
}

/* ---------- Header (logo-left-menu-center-cta-right) ----- */
.rp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rp-line);
}
.rp-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  max-width: var(--rp-maxw);
  margin: 0 auto;
}
.rp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--rp-text);
}
.rp-brand img { width: 44px; height: 44px; }
.rp-brand-name {
  font-family: var(--rp-font-h);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.rp-brand-name small {
  display: block;
  font-family: var(--rp-font-b);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rp-text-soft);
  margin-top: 2px;
}
.rp-nav { justify-self: center; }
.rp-nav-list,
.rp-nav .rp-nav-list,
.rp-nav .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.rp-nav-list li a,
.rp-nav .menu li a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--rp-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.rp-nav-list li a:hover,
.rp-nav .menu li a:hover,
.rp-nav .menu li.current-menu-item > a {
  background: var(--rp-surface);
  color: var(--rp-primary-dk);
}
.rp-header-cta { justify-self: end; display: flex; align-items: center; gap: 0.6rem; }
.rp-header-cta .rp-btn { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
.rp-burger {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.rp-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--rp-text);
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}

/* ---------- Hero parallax-scroll -------------------------- */
.rp-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--rp-bg);
}
.rp-hero--parallax-scroll { isolation: isolate; }
.rp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
  transform: translate3d(0, var(--rp-parallax-offset, 0), 0);
  transition: transform .05s linear;
}
/* Hero veil/gradient removed at user request. The hero image now sits flat
   under the title; readability is ensured by text-shadow on the title only. */
.rp-hero-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rp-primary);
}
.rp-hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem clamp(1rem, 4vw, 3rem);
  max-width: 920px;
  color: #fff;
}
.rp-hero-eyebrow {
  display: inline-block;
  background: rgba(30, 58, 138, 0.92);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.rp-hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}
.rp-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.rp-hero-cta-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.rp-hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: rp-cue-bounce 2.5s ease-in-out infinite;
}
@keyframes rp-cue-bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* ---------- Editorial home sections ----------------------- */
.rp-home-edito {
  background: var(--rp-cream);
  border-top: 1px solid var(--rp-line);
  border-bottom: 1px solid var(--rp-line);
}
.rp-home-edito-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.rp-home-edito-grid img {
  border-radius: var(--rp-radius-l);
  box-shadow: var(--rp-shadow);
}
.rp-home-edito h2 { font-style: italic; }

.rp-home-section { padding: var(--rp-section-py) 0; }
.rp-home-section--surface { background: var(--rp-surface); }

/* Categories grid */
.rp-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--rp-gap);
  margin-top: 2rem;
}
.rp-category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--rp-radius-l);
  background: var(--rp-surface);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  transition: transform .35s ease;
  text-decoration: none;
  color: #fff;
}
.rp-category-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s ease;
}
.rp-category-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(170deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.78) 100%);
}
.rp-category-card .rp-category-meta {
  position: absolute;
  bottom: 1.2rem;
  left: 1.4rem;
  right: 1.4rem;
  color: #fff;
}
.rp-category-card .rp-category-meta h3 {
  color: #fff;
  margin: 0 0 0.3em;
  font-size: 1.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.rp-category-card .rp-category-meta span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(30, 58, 138, 0.92);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.rp-category-card:hover { transform: translateY(-4px); text-decoration: none; }
.rp-category-card:hover img { transform: scale(1.06); }

/* fallback when category image is missing — fill with brand colour */
.rp-category-card--noimg {
  background: linear-gradient(135deg, var(--rp-primary), var(--rp-accent));
}
.rp-category-card--noimg::after { background: rgba(15, 23, 42, 0.18); }

/* ---------- Article cards --------------------------------- */
.rp-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--rp-gap);
  margin-top: 2rem;
}
.rp-card {
  background: var(--rp-cream);
  border-radius: var(--rp-radius-l);
  overflow: hidden;
  box-shadow: var(--rp-shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.rp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow-lg);
}
.rp-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--rp-surface);
}
.rp-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.rp-card:hover .rp-card-thumb img { transform: scale(1.05); }
.rp-card-body { padding: 1.4rem 1.5rem 1.7rem; flex: 1 1 auto; display: flex; flex-direction: column; }
.rp-card-cat {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--rp-accent-dk);
  margin-bottom: 0.5em;
}
.rp-card-title {
  font-size: 1.25rem;
  margin: 0 0 0.5em;
  line-height: 1.3;
}
.rp-card-title a { color: var(--rp-text); }
.rp-card-title a:hover { color: var(--rp-primary-dk); text-decoration: none; }
.rp-card-excerpt {
  font-size: 0.95rem;
  color: var(--rp-text-soft);
  margin-bottom: 1rem;
  flex: 1 1 auto;
}
.rp-card-meta {
  font-size: 0.8rem;
  color: var(--rp-text-soft);
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: auto;
}
.rp-card-meta a { color: var(--rp-primary-dk); }

/* Featured card variant */
.rp-card--featured {
  grid-column: span 2;
  flex-direction: row;
}
.rp-card--featured .rp-card-thumb { aspect-ratio: auto; flex: 0 0 55%; }
.rp-card--featured .rp-card-body { padding: 2rem 2.4rem; justify-content: center; }
.rp-card--featured .rp-card-title { font-size: 1.6rem; }

/* ---------- Sandwich category template -------------------- */
.rp-cat-template--sandwich .rp-cat-intro {
  background: var(--rp-cream);
  padding: var(--rp-section-py) 0;
  border-bottom: 1px solid var(--rp-line);
}
.rp-cat-template--sandwich .rp-cat-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.rp-cat-template--sandwich .rp-cat-articles { padding: var(--rp-section-py) 0; }
.rp-cat-template--sandwich .rp-cat-outro {
  background: var(--rp-surface);
  padding: var(--rp-section-py) 0;
  border-top: 1px solid var(--rp-line);
}
.rp-cat-template--sandwich .rp-cat-outro-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Footer 4 colonnes ----------------------------- */
.rp-footer {
  background: var(--rp-dark);
  color: var(--rp-cream);
  padding: 4rem 0 0;
  margin-top: var(--rp-section-py);
}
.rp-footer a { color: var(--rp-cream); }
.rp-footer a:hover { color: var(--rp-primary); text-decoration: underline; }
.rp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.rp-footer-col h4 {
  color: var(--rp-cream);
  font-family: var(--rp-font-h);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 1.4rem;
  font-weight: 500;
}
.rp-footer-brand img { width: 56px; height: 56px; margin-bottom: 1rem; }
.rp-footer-pitch {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.rp-footer-list { list-style: none; padding: 0; margin: 0; }
.rp-footer-list li { margin-bottom: 0.65rem; }
.rp-footer-list li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: color .2s, transform .2s;
  display: inline-block;
}
.rp-footer-list li a:hover {
  color: var(--rp-primary);
  text-decoration: none;
  transform: translateX(3px);
}
.rp-footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.rp-footer-social a {
  width: 38px; height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background .2s, transform .2s;
}
.rp-footer-social a:hover {
  background: var(--rp-primary);
  transform: translateY(-2px);
  text-decoration: none;
}
.rp-footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.rp-footer-bottom {
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.rp-footer-bottom-links {
  display: flex;
  gap: 1.2rem;
}

/* ---------- Newsletter inline ----------------------------- */
.rp-newsletter {
  background: linear-gradient(135deg, var(--rp-primary) 0%, var(--rp-accent) 100%);
  color: #fff;
  border-radius: var(--rp-radius-xl);
  padding: clamp(2.2rem, 4vw, 3.6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rp-newsletter::before, .rp-newsletter::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.rp-newsletter::before { width: 220px; height: 220px; top: -80px; right: -50px; }
.rp-newsletter::after  { width: 140px; height: 140px; bottom: -50px; left: -40px; }
.rp-newsletter > * { position: relative; z-index: 2; }
.rp-newsletter h2 { color: #fff; font-style: italic; }
.rp-newsletter p { color: rgba(255,255,255,0.92); max-width: 56ch; margin: 0 auto 1.5rem; }
.rp-newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.rp-newsletter-form input[type=email] {
  flex: 1 1 240px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--rp-text);
}

/* ---------- Tool pages ------------------------------------ */
.rp-tool-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--rp-section-py) 0;
}
.rp-tool {
  background: var(--rp-cream);
  border-radius: var(--rp-radius-l);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  box-shadow: var(--rp-shadow);
  margin-top: 2.2rem;
}
.rp-tool-header h2 {
  font-style: italic;
  margin-bottom: 0.7rem;
}
.rp-tool-intro {
  color: var(--rp-text-soft);
  margin-bottom: 1.5rem;
}
.rp-tool-questions { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.rp-tool-q {
  background: var(--rp-bg);
  border-radius: var(--rp-radius-m);
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--rp-line);
}
.rp-tool-q-label {
  font-weight: 500;
  margin-bottom: 0.7rem;
}
.rp-tool-q-label span {
  display: inline-grid;
  place-items: center;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--rp-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}
.rp-tool-q-opts {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.rp-tool-q-opts label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  font-size: 0.92rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.rp-tool-q-opts label:has(input:checked) {
  background: var(--rp-primary);
  color: #fff;
  border-color: var(--rp-primary);
}
.rp-tool-q-opts input[type=radio] { accent-color: var(--rp-primary); }
.rp-tool-result {
  text-align: center;
  padding-top: 1rem;
}
.rp-score {
  font-family: var(--rp-font-h);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--rp-primary);
  font-weight: 700;
  margin: 0.5rem 0;
}
.rp-score-label {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.rp-score-advice {
  color: var(--rp-text-soft);
  max-width: 56ch;
  margin: 0 auto 1.6rem;
}
.rp-allergy-list {
  text-align: left;
  list-style: disc;
  padding-left: 1.4em;
  margin: 1rem 0 1.5rem;
}
.rp-allergy-list li { margin-bottom: 0.5em; }

/* ---------- Page contact ---------------------------------- */
.rp-contact { max-width: 720px; margin: 0 auto; padding: var(--rp-section-py) 0; }
.rp-contact .rp-lead { font-size: 1.1rem; color: var(--rp-text-soft); }
.rp-contact-form-wrap {
  margin-top: 2.5rem;
  background: var(--rp-cream);
  padding: 2rem;
  border-radius: var(--rp-radius-l);
  box-shadow: var(--rp-shadow);
}

/* ---------- Page about ------------------------------------ */
.rp-about { max-width: 820px; margin: 0 auto; padding: var(--rp-section-py) 0; }
.rp-about .rp-lead { font-size: 1.15rem; color: var(--rp-text-soft); margin-bottom: 2rem; }
.rp-about h2 { margin-top: 2.4rem; font-style: italic; }
.rp-about-persona {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0 2rem;
  padding: 1.6rem;
  background: var(--rp-cream);
  border-radius: var(--rp-radius-l);
  border: 1px solid var(--rp-line);
}
.rp-persona-photo {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--rp-radius-l);
  box-shadow: var(--rp-shadow);
}
.rp-about-pledges {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.rp-about-pledges li {
  background: var(--rp-cream);
  padding: 1.1rem 1.3rem;
  border-radius: var(--rp-radius-m);
  border-left: 4px solid var(--rp-accent);
}

/* ---------- Single article -------------------------------- */
.rp-single { max-width: 760px; margin: 0 auto; padding: var(--rp-section-py) 0; }
.rp-single-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.rp-single-meta { color: var(--rp-text-soft); font-size: 0.9rem; margin-bottom: 2rem; }
.rp-single-thumb {
  border-radius: var(--rp-radius-l);
  margin-bottom: 2rem;
  overflow: hidden;
}
.rp-single-content {
  font-size: 1.05rem;
  line-height: 1.75;
}
.rp-single-content h2 { margin-top: 2.2rem; font-style: italic; }
.rp-single-content figure { margin: 2rem 0; }
.rp-single-content img { border-radius: var(--rp-radius-m); }

/* ---------- ANIMATIONS CTA / CTR / CTO --------------------- */
.rp-btn--cta {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: rp-cta-timer-reveal 1.8s 0.6s ease-out both;
}
.rp-btn--cta::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; height: 100%; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: rp-cta-timer-shine 3.2s 2.4s infinite;
}
@keyframes rp-cta-timer-reveal {
  0%   { opacity: 0; transform: translateY(12px) scale(.94); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes rp-cta-timer-shine {
  0%   { left: -100%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

.rp-ctr-countdown {
  position: relative;
  height: 4px;
  background: var(--rp-line);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.75rem 0;
}
.rp-ctr-countdown::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--rp-primary), var(--rp-accent));
  transform-origin: left;
  animation: rp-ctr-bar 12s linear forwards;
}
@keyframes rp-ctr-bar {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.rp-cto-download {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.4rem; border-radius: 14px;
  background: var(--rp-surface);
  border: 2px dashed var(--rp-primary);
  color: var(--rp-text);
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: rp-cto-pulse 3s ease-in-out infinite;
}
.rp-cto-download:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(30, 58, 138, .22);
  border-style: solid;
  text-decoration: none;
}
.rp-cto-download::before {
  content: "↓";
  display: inline-grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--rp-primary);
  color: #fff;
  font-weight: 800;
}
@keyframes rp-cto-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 58, 138, .35); }
  50%      { box-shadow: 0 0 0 14px rgba(30, 58, 138, 0);  }
}

/* ---------- Mobile nav drawer ----------------------------- */
.rp-nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--rp-bg);
  z-index: 200;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
}
.rp-nav-drawer.is-open { transform: translateX(0); }
.rp-nav-drawer .rp-nav-list,
.rp-nav-drawer .menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}
.rp-nav-drawer .rp-nav-list li a,
.rp-nav-drawer .menu li a {
  font-size: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--rp-radius-m);
  background: var(--rp-cream);
}

/* ---------- Responsive breakpoints ------------------------ */
@media (max-width: 980px) {
  .rp-home-edito-grid { grid-template-columns: 1fr; }
  .rp-card--featured { grid-column: span 1; flex-direction: column; }
  .rp-card--featured .rp-card-thumb { aspect-ratio: 16/9; flex: 0 0 auto; }
  .rp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 760px) {
  .rp-header-inner { grid-template-columns: auto 1fr; }
  .rp-nav { display: none; }
  .rp-burger { display: block; justify-self: end; }
  .rp-header-cta .rp-btn { display: none; }
  .rp-hero { min-height: 68vh; }
  .rp-about-persona { grid-template-columns: 1fr; text-align: center; }
  .rp-persona-photo { width: 180px; height: 220px; margin: 0 auto; }
  .rp-footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .rp-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Misc utility ---------------------------------- */
.rp-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rp-text-center { text-align: center; }
.rp-mt-2 { margin-top: 2rem; }
.rp-mt-3 { margin-top: 3rem; }
.rp-mb-2 { margin-bottom: 2rem; }

/* ---------- WordPress admin bar offset -------------------- */
body.admin-bar .rp-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .rp-header { top: 46px; }
}

/* End of stylesheet */
