/*
 * Rif Xalima — Immersive editorial system
 * WordPress theme v10.0.5
 *
 * A final, lightweight design layer over the compatibility styles. The visual
 * language is editorial and Senegalese without turning the interface into an
 * editorial layout. No font, animation, or component library is required.
 */

:root {
  --rx-ink: #182923;
  --rx-forest: #103b32;
  --rx-forest-2: #155545;
  --rx-green: #167651;
  --rx-green-bright: #38a679;
  --rx-gold: #f2c14e;
  --rx-terracotta: #bd624b;
  --rx-paper: #f8f7f0;
  --rx-surface: #fff;
  --rx-sand: #ece9dd;
  --rx-muted: #52655c;
  --rx-line: #d9e2d9;
  --rx-shadow: 0 20px 60px rgba(17, 40, 27, .09);
  --rx-shadow-card: 0 10px 32px rgba(17, 40, 27, .075);
  --rx-radius: 22px;
  --rx-radius-small: 14px;
  --rx-content-width: 760px;
  --rx-wide-width: 1200px;
  --rx-motion: cubic-bezier(.2, .75, .25, 1);
  --sn-green: var(--rx-green);
  --sn-green-dark: var(--rx-forest-2);
  --sn-red: var(--rx-terracotta);
  --sn-yellow: var(--rx-gold);
  --sn-dark: var(--rx-ink);
  --sn-slate: var(--rx-muted);
  --sn-light: var(--rx-paper);
  --sn-border: var(--rx-line);
  color-scheme: light;
}

html { scroll-padding-top: 6rem; }
body {
  background: var(--rx-paper);
  color: var(--rx-ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.rx-dark {
  --rx-paper: #121e1a;
  --rx-surface: #1b2b25;
  --rx-ink: #f0f4ee;
  --rx-muted: #bac8bf;
  --rx-line: #33483e;
  --rx-sand: #25372f;
  --sn-dark: var(--rx-ink);
  --sn-slate: var(--rx-muted);
  --sn-light: var(--rx-paper);
  --sn-border: var(--rx-line);
  color-scheme: dark;
}
body a { color: var(--rx-green); text-underline-offset: .18em; }
body.rx-dark a { color: #8ddbb0; }
img { max-width: 100%; height: auto; }
::selection { color: #10251a; background: #b9e5c7; }

.rx-skip-nav {
  position: fixed;
  z-index: 100000;
  inset: 12px auto auto 12px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--rx-gold);
  color: var(--rx-forest) !important;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s var(--rx-motion);
}
.rx-skip-nav:focus { transform: translateY(0); }

/* Persistent editorial masthead */
.rx-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(16, 59, 50, .97) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 8px 28px rgba(4, 24, 15, .12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.admin-bar .rx-header { top: 32px; }
.rx-header.rx-scrolled {
  background: rgba(12, 45, 38, .98) !important;
  box-shadow: 0 10px 30px rgba(4, 24, 15, .2);
}
.rx-header__inner { min-height: 74px; height: auto !important; }
.rx-logo { color: #fff !important; }
.rx-logo__title { color: #fff !important; letter-spacing: -.035em; }
.rx-logo__sub { color: rgba(255, 255, 255, .65) !important; }
.rx-nav {
  background: transparent !important;
  border-color: rgba(255, 255, 255, .14) !important;
}
.rx-nav a { color: rgba(255, 255, 255, .82) !important; }
.rx-nav a:hover,
.rx-nav a.current-menu-item { color: #fff !important; }
.rx-nav a.current-menu-item::after { background: var(--rx-gold) !important; }
.rx-search-toggle {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, .25) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}
.rx-search-toggle:hover { background: rgba(255, 255, 255, .16) !important; }
.rx-burger { border-color: rgba(255,255,255,.18) !important; }
.rx-burger span { background: #fff !important; }
.rx-flag-stripe {
  height: 3px !important;
  background: linear-gradient(90deg, #087a42 0 33.33%, #efcf58 33.33% 66.66%, #c9674b 66.66%) !important;
}
.rx-mobile-menu { background: #103b32 !important; color: #fff; }
.rx-mobile-menu .rx-mm__close { color: #fff !important; }
.rx-search-panel {
  background: #0b3522 !important;
  border-color: rgba(255,255,255,.1) !important;
}
.rx-search-form {
  background: #fff !important;
  border-color: rgba(255,255,255,.34) !important;
}
.rx-search-form input { color: #17241d !important; }
.rx-search-form button[type="submit"] { background: var(--rx-green) !important; }
.rx-search-form__close { color: var(--rx-ink) !important; }

/* Home: cinematic but fast, with useful content above the fold */
.rx2-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 9vw, 126px) 0 clamp(58px, 7vw, 92px) !important;
  background:
    radial-gradient(ellipse at 86% 15%, rgba(239, 207, 88, .18), transparent 27rem),
    radial-gradient(ellipse at 15% 95%, rgba(32, 168, 100, .23), transparent 33rem),
    linear-gradient(130deg, #062719, #0a3e28 58%, #092b20) !important;
  color: #fff !important;
}
.rx2-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.22) .65px, transparent .65px);
  background-size: 19px 19px;
  mask-image: linear-gradient(90deg, transparent, #000 72%);
}
.rx2-hero__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
}
.rx2-hero__left { max-width: 720px; }
.rx2-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: rgba(255,255,255,.9) !important;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.rx2-hero__title {
  max-width: 780px;
  color: #fff !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(3rem, 6.3vw, 6rem) !important;
  font-weight: 600 !important;
  letter-spacing: -.055em !important;
  line-height: .99 !important;
  text-wrap: balance;
}
.rx2-hero__lead {
  max-width: 610px;
  margin: 25px 0 30px !important;
  color: rgba(255,255,255,.77) !important;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem) !important;
  line-height: 1.75 !important;
}
.rx2-hero__flag { vertical-align: .02em; }
.rx2-hero__search {
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.18) !important;
}
.rx2-hero__search input {
  min-height: 60px;
  color: var(--rx-ink) !important;
  font-size: 1rem !important;
}
.rx2-hero__search button {
  min-height: 46px;
  margin: 6px;
  border-radius: 11px !important;
  background: var(--rx-green) !important;
}
.rx2-hero__tags { margin-top: 19px; }
.rx2-hero__tags-label { color: rgba(255,255,255,.65) !important; }
.rx2-tag {
  border-color: rgba(255,255,255,.2) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}
.rx2-tag:hover {
  border-color: rgba(239,207,88,.7) !important;
  background: rgba(239,207,88,.14) !important;
}
.rx2-statcard {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.48) !important;
  border-radius: 22px !important;
  background: rgba(250, 252, 249, .97) !important;
  box-shadow: 0 28px 70px rgba(0,0,0,.2) !important;
  color: var(--rx-ink) !important;
}
.rx2-statcard h2,
.rx2-statcard h3,
.rx2-statcard strong,
.rx2-statcard .rx2-latest__title,
.rx2-statcard .rx2-useful__label { color: var(--rx-ink) !important; }
.rx2-statcard .rx2-latest__cat { color: var(--rx-green) !important; }
.rx2-statcard__head {
  padding: 22px 24px 17px !important;
  border-bottom: 1px solid var(--rx-line) !important;
}
.rx2-latest__list { padding: 5px 18px 12px !important; }
.rx2-latest__link {
  padding: 13px 7px !important;
  border-bottom: 1px solid var(--rx-line) !important;
}
.rx2-latest__link:hover { background: #f0f6f1 !important; }
.rx2-latest__cat { color: var(--rx-green) !important; }
.rx2-useful { border-top-color: var(--rx-line) !important; }
.rx2-statcard__footer { background: #f1f5f1 !important; }

/* Clear paths from the home page into the site's actual tools */
.rx-section { padding-block: clamp(60px, 8vw, 100px) !important; }
.rx2-bento { background: var(--rx-paper) !important; }
.rx2-shead { margin-bottom: clamp(28px, 4vw, 46px); }
.rx2-shead__chip {
  border: 1px solid #cdddcf !important;
  background: #eaf3eb !important;
  color: var(--rx-green) !important;
}
.rx2-bento__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.rx2-bento__card {
  min-height: 235px;
  padding: clamp(23px, 3vw, 36px) !important;
  border: 1px solid rgba(10, 42, 26, .08) !important;
  border-radius: var(--rx-radius) !important;
  box-shadow: var(--rx-shadow-card);
}
.rx2-bento__card--green {
  background: linear-gradient(145deg, #0a3924, #0b7040) !important;
}
.rx2-bento__card--yellow {
  background: linear-gradient(145deg, #f7e8a4, #efd16c) !important;
  color: #24351e !important;
}
.rx2-bento__card--blue {
  background: linear-gradient(145deg, #173b31, #275e4a) !important;
}
.rx2-bento__card--orange {
  background: linear-gradient(145deg, #f3e4d9, #e8b79d) !important;
  color: #352319 !important;
}
.rx2-bento__card--yellow .rx2-bento__tag,
.rx2-bento__card--yellow .rx2-bento__body,
.rx2-bento__card--yellow .rx2-bento__cta,
.rx2-bento__card--orange .rx2-bento__tag,
.rx2-bento__card--orange .rx2-bento__body,
.rx2-bento__card--orange .rx2-bento__cta { color: #26362c !important; }
.rx2-bento__icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 17px !important;
  background: rgba(255,255,255,.15) !important;
}
.rx2-bento__card--yellow .rx2-bento__icon,
.rx2-bento__card--orange .rx2-bento__icon { background: rgba(255,255,255,.46) !important; }
.rx2-bento__card:hover { box-shadow: 0 22px 48px rgba(10, 42, 26, .16) !important; }
.rx2-features { background: #eaf0e9 !important; }
.rx2-editorial,
.rx2-latest-section { background: var(--rx-paper) !important; }

/* Editorial list cards shared by blog, category and tag archives */
.rx-blog-hero,
.rx-tag-hero,
.rx-single-hero,
.rx-page-hero,
.rx-404 {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(239,207,88,.16), transparent 24rem),
    linear-gradient(135deg, #082b1c, #0b5132 72%, #103b2b) !important;
  color: #fff !important;
}
.rx-blog-hero { padding-block: clamp(60px, 7vw, 88px) !important; }
.rx-blog-hero__title,
.rx-tag-hero__title,
.rx-single-hero__title,
.rx-page-hero__title,
.rx-404__title {
  color: #fff !important;
  font-family: "Playfair Display", Georgia, serif !important;
  letter-spacing: -.04em !important;
  text-wrap: balance;
}
.rx-blog-hero__title { font-size: clamp(2.6rem, 5vw, 4.5rem) !important; }
.rx-blog-hero__title mark {
  background: none !important;
  color: var(--rx-gold) !important;
}
.rx-blog-hero__eyebrow,
.rx-page-hero__badge {
  color: #d8eadc !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rx-blog-hero__sub,
.rx-tag-hero__desc,
.rx-single-hero__dek,
.rx-page-hero__sub,
.rx-404__sub { color: rgba(255,255,255,.75) !important; }
.rx-blog-section,
.rx-tag-section { padding-block: clamp(40px, 6vw, 76px) !important; }
.rx-blog-cats { gap: 8px !important; }
.rx-blog-cat-pill {
  border-color: rgba(255,255,255,.25) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}
.rx-blog-cat-pill:hover,
.rx-blog-cat-pill.active {
  border-color: var(--rx-gold) !important;
  background: var(--rx-gold) !important;
  color: var(--rx-forest) !important;
}
.rx-mag-grid { gap: 22px !important; }
.rx-mag-featured,
.rx-mag-card {
  overflow: hidden;
  border: 1px solid rgba(26, 56, 37, .09) !important;
  border-radius: var(--rx-radius) !important;
  background: var(--rx-surface) !important;
  box-shadow: var(--rx-shadow-card) !important;
}
.rx-mag-featured__img,
.rx-mag-card__img { background: #e6ede6 !important; }
.rx-mag-featured__img img,
.rx-mag-card__img img {
  transition: transform .75s var(--rx-motion), filter .75s var(--rx-motion) !important;
}
.rx-mag-featured:hover .rx-mag-featured__img img,
.rx-mag-card:hover .rx-mag-card__img img {
  transform: scale(1.035) !important;
  filter: saturate(1.06);
}
.rx-mag-featured__title,
.rx-mag-card__title { color: var(--rx-ink) !important; letter-spacing: -.025em; }
.rx-mag-featured__title { font-family: "Playfair Display", Georgia, serif !important; }
.rx-mag-meta { color: var(--rx-muted) !important; }
.rx-mag-cat-label { color: var(--rx-green) !important; }
.rx-mag-featured__exc,
.rx-mag-card__exc { color: var(--rx-muted) !important; }
.rx-mag-cta { color: var(--rx-green) !important; }
.rx-mag-author { color: var(--rx-ink) !important; }
.rx-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px !important;
}
.rx-blog-empty {
  border: 1px solid var(--rx-line);
  border-radius: var(--rx-radius);
  background: var(--rx-surface);
  box-shadow: var(--rx-shadow-card);
}

/* Reading experience: narrow measure, strong hierarchy, comfortable tables */
.rx-reading-bar { z-index: 1300 !important; }
.rx-single { padding: clamp(28px, 4vw, 52px) 0 clamp(62px, 8vw, 104px) !important; }
.rx-single__layout {
  grid-template-columns: minmax(0, var(--rx-content-width)) minmax(230px, 300px) !important;
  justify-content: center;
  gap: clamp(28px, 5vw, 66px) !important;
}
.rx-single__main { min-width: 0; }
.rx-single .entry-content,
.rx-page-content .entry-content {
  color: var(--rx-ink);
  font-size: clamp(1.035rem, 1.15vw, 1.12rem);
  line-height: 1.86;
  overflow-wrap: anywhere;
}
.rx-single .entry-content > *,
.rx-page-content .entry-content > * { max-width: 100%; }
.rx-single .entry-content p,
.rx-page-content .entry-content p { margin-block: 0 1.5em; }
.rx-single .entry-content h2,
.rx-page-content .entry-content h2 {
  margin: 2.3em 0 .75em;
  color: var(--rx-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.rx-single .entry-content h3,
.rx-page-content .entry-content h3 {
  margin: 1.9em 0 .65em;
  color: var(--rx-forest);
  font-size: clamp(1.32rem, 2.1vw, 1.7rem);
  line-height: 1.32;
}
.rx-single .entry-content h4,
.rx-page-content .entry-content h4 { color: var(--rx-forest-2); }
.rx-single .entry-content a,
.rx-page-content .entry-content a {
  color: var(--rx-green);
  text-decoration: underline;
  text-decoration-color: rgba(8,122,66,.35);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.rx-single .entry-content a:hover,
.rx-page-content .entry-content a:hover { text-decoration-color: currentColor; }
.rx-single .entry-content blockquote,
.rx-page-content .entry-content blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--rx-green);
  border-radius: 0 var(--rx-radius-small) var(--rx-radius-small) 0;
  background: #eaf3eb;
  color: #294334;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.23em;
}
.rx-single .entry-content figure,
.rx-page-content .entry-content figure { margin: 2rem 0; }
.rx-single .entry-content figure img,
.rx-page-content .entry-content figure img {
  display: block;
  border-radius: var(--rx-radius-small);
}
.rx-single .entry-content figcaption,
.rx-page-content .entry-content figcaption {
  margin-top: .65rem;
  color: var(--rx-muted);
  font-size: .84rem;
  text-align: center;
}
.rx-single .entry-content ul,
.rx-single .entry-content ol,
.rx-page-content .entry-content ul,
.rx-page-content .entry-content ol { padding-left: 1.4em; }
.rx-single .entry-content li,
.rx-page-content .entry-content li { padding-left: .2em; margin-block: .35em; }
.rx-article-toc {
  margin: 0 0 32px;
  border: 1px solid #d6e5d8 !important;
  border-radius: var(--rx-radius-small) !important;
  background: #eef5ef !important;
}
.rx-article-toc a { color: var(--rx-green) !important; }
.rx-single__thumb { overflow: hidden; border-radius: var(--rx-radius) !important; }
.rx-single__thumb img { display: block; width: 100%; }
.rx-page-section { padding-block: clamp(34px, 5vw, 70px) !important; }
.rx-page-content {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(26,56,37,.08);
  border-radius: var(--rx-radius);
  background: var(--rx-surface);
  box-shadow: var(--rx-shadow-card);
}
.rx-page-content--shortcode {
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.rx-page-hero { padding-block: clamp(48px, 6vw, 78px) !important; }
.rx-page-hero__back,
.rx-single-hero__back { color: rgba(255,255,255,.8) !important; }

/* Search, comments and other utility states */
.rx-main { min-height: 54vh; }
.rx-fullwidth-main { width: 100%; max-width: none; margin: 0; padding: 0; }
.rx-index-header { margin: 0 auto 34px; }
.rx-index-header h1 {
  margin: 0;
  color: var(--rx-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1.18;
}
.rx-index-header__description { max-width: 760px; color: var(--rx-muted); }
.rx-search-page,
.rx-main > .rx-search-results { max-width: var(--rx-wide-width); margin-inline: auto; }
.rx-search-view {
  width: min(100% - 40px, var(--rx-wide-width));
  min-height: 62vh;
  margin-inline: auto;
  padding-block: clamp(46px, 7vw, 88px);
}
.rx-search-header { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.rx-search-eyebrow {
  color: var(--rx-green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rx-search-header h1 {
  margin: 12px 0 8px;
  color: var(--rx-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -.045em;
  line-height: 1.14;
  text-wrap: balance;
}
.rx-search-header h1 span { color: var(--rx-green); }
.rx-search-count { margin: 0; color: var(--rx-muted); }
.rx-search-view__form {
  display: flex;
  gap: 8px;
  margin: 24px auto 0;
  padding: 7px;
  border: 1px solid var(--rx-line);
  border-radius: 15px;
  background: var(--rx-surface);
  box-shadow: var(--rx-shadow-card);
}
.rx-search-view__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--rx-ink);
  padding: 11px 13px;
}
.rx-search-view__form input:focus { outline: 0; }
.rx-search-view__form:focus-within { outline: 3px solid rgba(8,122,66,.22); }
.rx-search-view__form button {
  border: 0;
  border-radius: 10px;
  background: var(--rx-green);
  color: #fff;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}
.rx-search-results { display: grid; gap: 14px; }
.rx-search-item {
  padding: clamp(19px, 3vw, 27px);
  border: 1px solid var(--rx-line);
  border-radius: var(--rx-radius-small);
  background: var(--rx-surface);
  box-shadow: 0 6px 18px rgba(17,40,27,.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.rx-search-item:hover { border-color: #b4cfba; box-shadow: var(--rx-shadow-card); transform: translateY(-2px); }
.rx-search-item__topline { display: flex; justify-content: space-between; gap: 12px; color: var(--rx-muted); font-size: .82rem; }
.rx-search-item__type {
  color: var(--rx-green);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rx-search-item h2 { margin: 8px 0 9px; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; }
.rx-search-item h2 a { color: var(--rx-ink); text-decoration: none; }
.rx-search-item h2 a:hover { color: var(--rx-green); }
.rx-search-item__excerpt { margin: 0 0 13px; color: var(--rx-muted); }
.rx-search-item__link { font-size: .9rem; font-weight: 750; text-decoration: none; }
.rx-search-pagination { margin-top: 34px; text-align: center; }
.rx-search-empty {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 62px) 24px;
  border: 1px solid var(--rx-line);
  border-radius: var(--rx-radius);
  background: var(--rx-surface);
  text-align: center;
}
.rx-search-empty__mark { color: var(--rx-green); font-size: 3.5rem; line-height: 1; }
.rx-search-empty h2 { margin: 18px 0 8px; color: var(--rx-forest); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.rx-search-empty p { color: var(--rx-muted); }
.rx-search-empty__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rx-search-empty__links a { padding: 10px 15px; border: 1px solid var(--rx-line); border-radius: 999px; background: var(--rx-paper); font-weight: 700; text-decoration: none; }
.rx-main form[role="search"] input,
.rx-404__search input,
.rx-search-form input {
  min-height: 48px;
  border-radius: 10px;
}
.rx-main button,
.rx-main input[type="submit"],
.rx-404__btn {
  transition: transform .2s var(--rx-motion), box-shadow .2s var(--rx-motion), background-color .2s;
}
.rx-main button:hover,
.rx-main input[type="submit"]:hover,
.rx-404__btn:hover { transform: translateY(-2px); }
.rx-404 { min-height: 65vh; padding-block: clamp(60px, 9vw, 110px) !important; }
.rx-404__btn--primary { background: var(--rx-gold) !important; color: var(--rx-forest) !important; }
.rx-404__btn--ghost { border-color: rgba(255,255,255,.35) !important; color: #fff !important; }
.rx-404__chip {
  border-color: rgba(255,255,255,.26) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}
.rx-comments,
.rx-page-comments { margin-top: 46px; }
.rx-comments input,
.rx-comments textarea,
.rx-page-comments input,
.rx-page-comments textarea {
  border: 1px solid var(--rx-line);
  border-radius: 11px;
  background: var(--rx-surface);
  color: var(--rx-ink);
}
.rx-related-card {
  overflow: hidden;
  border: 1px solid var(--rx-line) !important;
  border-radius: var(--rx-radius-small) !important;
  background: var(--rx-surface) !important;
}

/* Footer: clear ownership, contact and policy links */
.rx-footer {
  position: relative;
  overflow: hidden;
  background: #071f15 !important;
  color: rgba(255,255,255,.82) !important;
}
.rx-footer__bg { opacity: .45; }
.rx-footer__inner { position: relative; z-index: 1; }
.rx-footer__top { gap: clamp(28px, 5vw, 64px) !important; }
.rx-footer__logo { color: #fff !important; }
.rx-footer__tagline,
.rx-footer__pill,
.rx-footer__bottom { color: rgba(255,255,255,.65) !important; }
.rx-footer__col h4 { color: #fff !important; }
.rx-footer__links a { color: rgba(255,255,255,.72) !important; }
.rx-footer__links a:hover { color: var(--rx-gold) !important; }
.rx-footer__social { border-color: rgba(255,255,255,.15) !important; }
.rx-footer__flag { opacity: .75; }

/* Gentle motion, with reduced-motion and low-power fallbacks */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .rx2-bento__card,
  .rx-mag-card,
  .rx-mag-featured,
  .rx-related-card,
  .rx-404__chip {
    transition: transform .35s var(--rx-motion), box-shadow .35s var(--rx-motion), border-color .35s;
  }
  .rx2-bento__card:hover,
  .rx-mag-card:hover,
  .rx-mag-featured:hover,
  .rx-related-card:hover { transform: translateY(-5px); }
}
@view-transition { navigation: auto; }
@supports (view-transition-name: main-content) {
  #main { view-transition-name: main-content; }
  ::view-transition-old(main-content) { animation: rx-page-out .16s ease both; }
  ::view-transition-new(main-content) { animation: rx-page-in .3s var(--rx-motion) both; }
}
@keyframes rx-page-in { from { opacity: .55; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes rx-page-out { to { opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation-duration: .01ms !important; }
}

@media (max-width: 1160px) {
  .rx2-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 30px; }
  .rx-single__layout { grid-template-columns: minmax(0, 1fr) 250px !important; gap: 28px !important; }
}
@media (max-width: 768px) {
  .admin-bar .rx-header { top: 46px; }
  .rx-header__inner { min-height: 66px; }
  .rx2-hero { padding-block: 62px 52px !important; }
  .rx2-hero__inner { grid-template-columns: 1fr; }
  .rx2-hero__left { max-width: none; }
  .rx2-hero__right { max-width: 640px; }
  .rx2-hero__title { font-size: clamp(2.7rem, 11vw, 4.5rem) !important; }
  .rx2-bento__grid { grid-template-columns: 1fr !important; }
  .rx2-bento__card { min-height: 205px; }
  .rx-single__layout { grid-template-columns: 1fr !important; }
  .rx-single__sidebar { order: 2; }
  .rx-page-content { padding: 24px 20px; }
  .rx-mag-featured__inner { grid-template-columns: 1fr !important; }
  .rx-search-form { gap: 6px; }
  .rx-search-form__close { position: absolute; right: 14px; top: 14px; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .rx2-hero__search { flex-wrap: wrap; padding: 8px !important; }
  .rx2-hero__search input { width: 100%; min-width: 0; }
  .rx2-hero__search button { width: 100%; margin: 2px 0 0; }
  .rx-blog-hero__title { font-size: clamp(2.3rem, 12vw, 3.2rem) !important; }
  .rx-mag-grid { gap: 16px !important; }
  .rx-mag-featured__body { padding: 22px 18px !important; }
  .rx-single .entry-content,
  .rx-page-content .entry-content { font-size: 1rem; line-height: 1.78; }
  .rx-single .entry-content blockquote,
  .rx-page-content .entry-content blockquote { padding: 1.1rem 1.15rem; font-size: 1.1em; }
  .rx-footer__top { grid-template-columns: 1fr !important; }
  .rx-search-view { width: min(100% - 28px, var(--rx-wide-width)); }
  .rx-search-view__form { flex-direction: column; align-items: stretch; }
  .rx-search-view__form button { min-height: 46px; }
}

body.rx-dark .rx-mag-featured,
body.rx-dark .rx-mag-card,
body.rx-dark .rx-page-content,
body.rx-dark .rx-blog-empty,
body.rx-dark .rx-related-card { background: var(--rx-surface) !important; border-color: var(--rx-line) !important; }
body.rx-dark .rx-mag-featured__title,
body.rx-dark .rx-mag-card__title,
body.rx-dark .rx-page-content .entry-content h2,
body.rx-dark .rx-page-content .entry-content h3,
body.rx-dark .rx-single .entry-content h2,
body.rx-dark .rx-single .entry-content h3 { color: #e8f3e9 !important; }
body.rx-dark .rx-article-toc { background: #1d3327 !important; border-color: #365443 !important; }
body.rx-dark .rx-single .entry-content blockquote,
body.rx-dark .rx-page-content .entry-content blockquote { background: #20382a; color: #d9e9dc; }
body.rx-dark .rx-search-header h1,
body.rx-dark .rx-search-empty h2 { color: #e8f3e9; }
body.rx-dark .rx-search-item h2 a { color: #edf3ed; }
body.rx-dark .rx-search-view__form,
body.rx-dark .rx-search-item,
body.rx-dark .rx-search-empty { background: var(--rx-surface); border-color: var(--rx-line); }

/* v10.0.1 — navigation, spacing and palette refinement */
.rx-header .rx-container { width: min(100%, 1280px); }
.rx-header__inner {
  min-height: 82px;
  gap: clamp(10px, 1.5vw, 22px);
  padding-block: 8px;
  flex-wrap: nowrap;
}
.rx-header .rx-logo {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rx-header .rx-logo__mark {
  display: inline-flex;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.rx-header .rx-logo__svg { width: 100%; height: 100%; }
.rx-header .rx-logo__wordmark { display: flex; flex-direction: column; }
.rx-header .rx-logo__title { font-size: clamp(1.05rem, 1.3vw, 1.28rem); }
.rx-header .rx-logo__sub { margin-top: 5px; font-size: .65rem; }
.rx-header .rx-nav {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  gap: 2px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
}
.rx-header .rx-nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rx-header .rx-nav > ul > li { display: flex; list-style: none; }
.rx-header .rx-nav a {
  padding: 9px clamp(8px, .8vw, 12px);
  border-radius: 11px;
  font-size: .84rem;
  font-weight: 650;
  letter-spacing: -.01em;
}
.rx-header .rx-nav__ico { display: none !important; }
.rx-header .rx-nav a::before { background: rgba(255,255,255,.11) !important; }
.rx-header .rx-nav a.current-menu-item::before,
.rx-header .rx-nav .current-menu-item > a::before { box-shadow: none !important; }
.rx-header .rx-nav__contact,
.rx-header .rx-nav .menu-item-contact a {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.rx-header .rx-nav__contact:hover,
.rx-header .rx-nav .menu-item-contact a:hover {
  background: rgba(242,193,78,.18) !important;
  color: #ffe39a !important;
  transform: none !important;
}
.rx-header .rx-search-toggle,
.rx-header .rx-burger {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 13px;
}
.rx-header .rx-flag-stripe { height: 3px !important; }

.rx-section { padding-block: clamp(72px, 8.2vw, 112px) !important; }
.rx-page-section { padding-block: clamp(48px, 6vw, 84px) !important; }
.rx2-shead { margin-bottom: clamp(32px, 4.5vw, 54px); }
.rx2-shead h2 { text-wrap: balance; }
.rx2-bento__grid,
.rx2-features__grid,
.rx2-blog-grid,
.rx2-home-faq__grid {
  column-gap: clamp(20px, 2.4vw, 30px);
  row-gap: clamp(20px, 2.4vw, 30px);
}
.rx2-bento__card {
  min-height: 250px;
  padding: clamp(26px, 3.2vw, 40px) !important;
}
.rx2-features { background: #eef1e8 !important; }
.rx2-mag { background: #fff !important; }
.rx2-editorial { background: var(--rx-paper) !important; }
.rx2-home-faq { background: #f0f1e9 !important; }
.rx2-editorial__copy { margin-top: clamp(28px, 4vw, 42px); }
.rx2-home-faq__grid { margin-top: clamp(30px, 4vw, 46px); }
.rx2-home-faq details { padding: 22px 24px; }
.rx2-finalcta { padding-block: clamp(52px, 7vw, 88px) !important; }
.rx2-blog-card__body { padding: clamp(21px, 2.5vw, 30px) !important; }
.rx-page-content { padding: clamp(28px, 5vw, 60px); }
.rx-single__layout { gap: clamp(34px, 5vw, 72px) !important; }

.rx-footer {
  margin-top: 0;
  padding: clamp(58px, 7vw, 86px) 0 34px;
  background: #0b211e !important;
}
.rx-footer__top {
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 54px) !important;
  margin-bottom: clamp(42px, 5.5vw, 66px);
}
.rx-footer__brand { max-width: 440px; }
.rx-footer__tagline { max-width: 40ch; line-height: 1.8; }
.rx-footer__col h4 { margin-bottom: 22px; }
.rx-footer__links,
.rx-footer__col ul { gap: 12px !important; }
.rx-footer__links a,
.rx-footer__col a {
  min-height: 36px;
  line-height: 1.55;
}
.rx-footer__flag { margin: 26px 0 30px; }
.rx-footer__bottom { gap: 18px 28px; padding-top: 26px; }
.rx-footer__bottom p { line-height: 1.6; }

.rx-header a:focus-visible,
.rx-header button:focus-visible,
.rx-footer a:focus-visible,
.rx-main a:focus-visible,
.rx-main button:focus-visible {
  outline: 3px solid var(--rx-gold) !important;
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .rx-header__inner { min-height: 74px; }
  .rx-header .rx-nav { display: none !important; }
  .rx-header .rx-burger { display: flex !important; }
  .rx-header .rx-search-toggle { margin-left: auto; }
}
@media (max-width: 900px) {
  .rx-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx-footer__brand { grid-column: 1 / -1; max-width: 620px; }
}
@media (max-width: 768px) {
  .rx-section { padding-block: clamp(60px, 10vw, 82px) !important; }
  .rx-page-section { padding-block: 40px !important; }
  .rx2-bento__card { min-height: 215px; }
  .rx-footer__top { gap: 34px 28px !important; }
}
@media (max-width: 560px) {
  .rx-header__inner { min-height: 68px; gap: 8px; }
  .rx-header .rx-logo { gap: 8px; }
  .rx-header .rx-logo__mark { flex-basis: 34px; width: 34px; height: 34px; }
  .rx-header .rx-logo__title { font-size: 1.08rem; }
  .rx-header .rx-logo__sub { font-size: .59rem; }
  .rx-header .rx-search-toggle,
  .rx-header .rx-burger { flex-basis: 40px; width: 40px; height: 40px; min-width: 40px; }
  .rx-section { padding-block: 58px !important; }
  .rx2-bento__card { min-height: 200px; padding: 24px !important; }
  .rx-footer__top { grid-template-columns: minmax(0, 1fr); gap: 30px !important; }
  .rx-footer__brand { grid-column: auto; }
  .rx-footer__socials { flex-wrap: wrap; }
  .rx-footer__bottom { justify-content: center; text-align: center; }
}

body.rx-dark .rx2-features,
body.rx-dark .rx2-home-faq { background: #182820 !important; }
body.rx-dark .rx2-mag { background: #121e1a !important; }
body.rx-dark .rx2-home-faq details {
  background: var(--rx-surface);
  border-color: var(--rx-line);
}
body.rx-dark .rx2-home-faq summary { color: var(--rx-ink); }
body.rx-dark .rx2-home-faq details p { color: var(--rx-muted); }
body.rx-dark {
  --rx-green: #8ddbb0;
  --rx-green-bright: #a7eac1;
  --rx-forest: #e4f3e8;
  --rx-forest-2: #c8e1d0;
  --sn-green: var(--rx-green);
  --sn-green-dark: var(--rx-forest-2);
  --sn-red: #ee927d;
  --sn-yellow: #f2cf73;
}
body.rx-dark .rx-search-view__form button,
body.rx-dark .rx-search-form button[type="submit"],
body.rx-dark .rx2-hero__search button,
body.rx-dark .rx-main input[type="submit"] {
  background: #176d4d !important;
  color: #fff !important;
}
/* v10.0.2 — prevent the tools strip from covering page content */
.rx-toolstrip {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block;
  overflow: visible !important;
  margin: 0 0 clamp(14px, 2.5vw, 26px) !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(16, 59, 50, .07);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.rx-toolstrip::before,
.rx-toolstrip::after { display: none !important; content: none !important; }
.rx-toolstrip__inner {
  gap: 10px !important;
  padding: 8px 4px 10px !important;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.rx-toolstrip__inner::-webkit-scrollbar { display: none; }
.rx-toolstrip .rx-toolstrip__label {
  color: #145d43 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #145d43 !important;
  animation: none !important;
}
.rx-toolstrip .rx-tool-chip {
  min-height: 44px;
  padding: 9px 15px !important;
  border: 1px solid #d5e1d7 !important;
  border-radius: 999px !important;
  background: #f7f8f4 !important;
  color: #203b30 !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
  transform: none !important;
}
.rx-toolstrip .rx-tool-chip::before { display: none !important; content: none !important; }
.rx-toolstrip .rx-tool-chip:hover {
  border-color: #167651 !important;
  background: #e9f2eb !important;
  color: #103b32 !important;
}
.rx-toolstrip .rx-tool-chip--active {
  border-color: #145d43 !important;
  background: #145d43 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Softer page masthead: dark text on a quiet, light background */
.rx-page-hero {
  padding-block: clamp(42px, 7vw, 68px) !important;
  border-bottom: 4px solid #d8e7da !important;
  background:
    radial-gradient(ellipse at 84% 16%, rgba(242,193,78,.18), transparent 25rem),
    linear-gradient(135deg, #edf4ec 0%, #faf8f0 68%, #f4eee7 100%) !important;
  color: #183a2e !important;
}
.rx-page-hero::before,
.rx-page-hero::after,
.rx-page-hero__confetti,
.rx-page-hero__inner::before,
.rx-page-hero__inner::after,
.rx-page-hero__inner > h1::before {
  display: none !important;
  content: none !important;
  animation: none !important;
}
.rx-page-hero__back {
  border-color: #d2e0d4 !important;
  background: #fff !important;
  color: #164b37 !important;
  box-shadow: 0 3px 12px rgba(16,59,50,.06);
}
.rx-page-hero__back:hover {
  border-color: #167651 !important;
  background: #e9f2eb !important;
  color: #103b32 !important;
  transform: none !important;
}
.rx-page-hero__badge {
  border: 1px solid #d5e3d7;
  background: #e5efe6 !important;
  color: #145d43 !important;
  box-shadow: none !important;
  animation: none !important;
}
.rx-page-hero__title {
  color: #173b2e !important;
  text-shadow: none !important;
  animation: none !important;
}
.rx-page-hero__title::after {
  width: 84px !important;
  height: 5px !important;
  margin-top: 14px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  filter: none !important;
  animation: none !important;
}
.rx-page-hero__sub {
  color: #40564b !important;
  font-size: clamp(1rem, 1.7vw, 1.12rem) !important;
  line-height: 1.75 !important;
}
html { scroll-padding-top: 5rem; }
@media (max-width: 640px) {
  .rx-page-hero { padding-block: 38px !important; }
  .rx-toolstrip { margin-bottom: 14px !important; }
  .rx-toolstrip .rx-tool-chip { padding-inline: 13px !important; }
}

/* v10.0.3 — crisp, high-contrast homepage text */
body.rx-front-page [data-rx-reveal] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  will-change: auto !important;
}
body.rx-front-page .rx2-hero__title,
body.rx-front-page .rx2-hero__lead {
  filter: none !important;
  text-shadow: none !important;
}
body.rx-front-page .rx2-hero__lead {
  color: rgba(255,255,255,.96) !important;
}
body.rx-front-page .rx2-bento__card {
  transform: none !important;
  text-shadow: none !important;
}
body.rx-front-page .rx2-bento__card--green,
body.rx-front-page .rx2-bento__card--blue {
  border-color: #cbded0 !important;
  color: #173b2e !important;
  box-shadow: 0 14px 34px rgba(16,59,50,.08) !important;
}
body.rx-front-page .rx2-bento__card--green {
  background: linear-gradient(145deg, #eef5ef 0%, #dfede1 100%) !important;
}
body.rx-front-page .rx2-bento__card--blue {
  background: linear-gradient(145deg, #edf4f1 0%, #dfece7 100%) !important;
}
body.rx-front-page .rx2-bento__card--green .rx2-bento__tag,
body.rx-front-page .rx2-bento__card--blue .rx2-bento__tag {
  border-color: #cfdfd2 !important;
  background: #fff !important;
  color: #405a4b !important;
  text-shadow: none !important;
}
body.rx-front-page .rx2-bento__card--green .rx2-bento__body,
body.rx-front-page .rx2-bento__card--green h3,
body.rx-front-page .rx2-bento__card--green p,
body.rx-front-page .rx2-bento__card--green .rx2-bento__cta,
body.rx-front-page .rx2-bento__card--blue .rx2-bento__body,
body.rx-front-page .rx2-bento__card--blue h3,
body.rx-front-page .rx2-bento__card--blue p,
body.rx-front-page .rx2-bento__card--blue .rx2-bento__cta {
  color: #173b2e !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}
body.rx-front-page .rx2-bento__card--green .rx2-bento__cta,
body.rx-front-page .rx2-bento__card--blue .rx2-bento__cta {
  color: #145d43 !important;
}
body.rx-front-page .rx2-bento__card--green .rx2-bento__icon,
body.rx-front-page .rx2-bento__card--blue .rx2-bento__icon {
  background: #fff !important;
  color: #145d43 !important;
}
body.rx-front-page .rx2-bento__shine { display: none !important; }
body.rx-front-page .rx2-finalcta h2,
body.rx-front-page .rx2-finalcta p {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Article navigation: deux retours immédiatement identifiables. */
.rx-single-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}
.rx-single-hero__actions .rx-single-hero__back,
.rx-single-hero__actions .rx-single-hero__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #cbdccf;
  border-radius: 999px;
  background: #fff;
  color: #155545 !important;
  box-shadow: 0 5px 14px rgba(16, 59, 50, .07);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.rx-single-hero__actions .rx-single-hero__home {
  border-color: #103b32;
  background: #103b32;
  color: #fff !important;
}
.rx-single-hero__actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(16, 59, 50, .13);
}
.rx-single-hero__actions .rx-single-hero__back:hover {
  background: #eef5ef;
  color: #103b32 !important;
}
.rx-single-hero__actions .rx-single-hero__home:hover {
  background: #155545;
  color: #fff !important;
}
@media (max-width: 480px) {
  .rx-single-hero__actions { gap: 8px; }
  .rx-single-hero__actions a { flex: 1 1 auto; }
}

/* ─────────────────────────────────────────────────────────
   MAGAZINE RIF XALIMA — édition éditoriale 10.0.7
   ───────────────────────────────────────────────────────── */
:root {
  --rx-mag-ink: #152923;
  --rx-mag-green: #123d32;
  --rx-mag-green-light: #1c5848;
  --rx-mag-gold: #e8bd62;
  --rx-mag-paper: #f7f6f0;
  --rx-mag-line: #e4e3da;
  --rx-mag-muted: #68736c;
}

.rx-editorial-nav {
  position: relative;
  z-index: 3;
  background: #f3f2eb;
  border-bottom: 1px solid var(--rx-mag-line);
}
.rx-editorial-nav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.rx-editorial-nav__inner::-webkit-scrollbar,
.rx-front-category-bar__inner::-webkit-scrollbar { display: none; }
.rx-editorial-nav__label,
.rx-front-category-bar__label {
  flex: 0 0 auto;
  margin-right: 7px;
  color: #778078;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.rx-editorial-nav__link {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #34453c !important;
  font-size: .78rem;
  font-weight: 650;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.rx-editorial-nav__link:hover,
.rx-editorial-nav__link.is-active {
  border-color: #d5ddcf;
  background: #fff;
  color: var(--rx-mag-green) !important;
}

.rx-mag-front-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(232,189,98,.16), transparent 28%),
    radial-gradient(ellipse at 68% 100%, rgba(56,116,91,.45), transparent 40%),
    linear-gradient(120deg, #102e28 0%, #123d32 55%, #1b5141 100%);
  color: #fff;
}
.rx-mag-front-hero::after {
  position: absolute;
  top: -170px;
  right: -100px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02);
  content: "";
  pointer-events: none;
}
.rx-mag-front-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  min-height: 420px;
  padding-block: clamp(60px, 8vw, 102px);
}
.rx-mag-front-hero__copy { max-width: 760px; }
.rx-mag-front-kicker,
.rx-mag-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rx-mag-gold);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.rx-mag-front-kicker > span {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--rx-mag-gold);
}
.rx-mag-front-hero h1 {
  margin: 17px 0 14px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 7.5vw, 6.6rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .99;
}
.rx-mag-front-hero h1 em { color: var(--rx-mag-gold); font-style: italic; }
.rx-mag-front-hero__copy > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.75;
}
.rx-mag-front-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 580px;
  margin-top: 29px;
  padding: 6px 7px 6px 15px;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.rx-mag-front-search > svg {
  flex: 0 0 20px;
  width: 20px;
  fill: none;
  stroke: #f1d994;
  stroke-linecap: round;
  stroke-width: 1.8;
}
.rx-mag-front-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}
.rx-mag-front-search input::placeholder { color: rgba(255,255,255,.66); }
.rx-mag-front-search button {
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 0;
  border-radius: 7px;
  background: var(--rx-mag-gold);
  color: #233b30;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}
.rx-mag-front-search button span { margin-left: 4px; }
.rx-mag-front-hero__note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 255px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.8);
}
.rx-mag-front-hero__note-mark {
  color: rgba(255,255,255,.17);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  font-weight: 800;
}
.rx-mag-front-hero__note-rule {
  width: 1px;
  height: 46px;
  background: var(--rx-mag-gold);
}
.rx-mag-front-hero__note p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: .98rem;
  line-height: 1.45;
}

.rx-front-category-bar {
  overflow: hidden;
  border-bottom: 1px solid var(--rx-mag-line);
  background: #fff;
}
.rx-front-category-bar__inner {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 56px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.rx-front-category-bar__inner > a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #35443b !important;
  font-size: .78rem;
  font-weight: 650;
  text-decoration: none !important;
}
.rx-front-category-bar__inner > a:hover {
  background: #edf2ec;
  color: var(--rx-mag-green) !important;
}

.rx-front-lead { padding-block: clamp(38px, 5vw, 64px) 44px; }
.rx-front-lead__heading,
.rx-front-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.rx-mag-section-kicker { color: #47705a; }
.rx-front-lead__date {
  color: #7a817b;
  font-size: .76rem;
  font-weight: 600;
  text-transform: capitalize;
}
.rx-front-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, .82fr);
  gap: 28px;
}
.rx-front-feature {
  overflow: hidden;
  border: 1px solid var(--rx-mag-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(21,41,35,.06);
}
.rx-front-feature__image,
.rx-front-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dfe9df;
}
.rx-front-feature__image { height: clamp(260px, 34vw, 440px); }
.rx-front-feature__image img,
.rx-front-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.rx-front-feature:hover .rx-front-feature__image img,
.rx-front-card:hover .rx-front-card__image img { transform: scale(1.035); }
.rx-front-feature__badge {
  position: absolute;
  bottom: 16px;
  left: 17px;
  padding: 7px 11px;
  border-radius: 4px;
  background: var(--rx-mag-gold);
  color: #27372d;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rx-front-feature__body { padding: clamp(21px, 3vw, 34px); }
.rx-front-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  color: var(--rx-mag-muted);
  font-size: .71rem;
  font-weight: 650;
}
.rx-front-meta a,
.rx-front-meta > span {
  color: #397051 !important;
  font-weight: 800;
  text-decoration: none !important;
}
.rx-front-feature h2 {
  margin: 12px 0 10px;
  color: var(--rx-mag-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  letter-spacing: -.035em;
  line-height: 1.13;
}
.rx-front-feature h2 a,
.rx-front-rail-card h3 a,
.rx-front-card h3 a { color: inherit !important; text-decoration: none !important; }
.rx-front-feature__body > p,
.rx-front-card__body > p {
  margin: 0;
  color: #66716b;
  font-size: .91rem;
  line-height: 1.7;
}
.rx-front-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--rx-mag-green) !important;
  font-size: .81rem;
  font-weight: 800;
  text-decoration: none !important;
}
.rx-front-read-link span { color: #ad7d21; font-size: 1rem; }
.rx-front-rail {
  align-self: stretch;
  padding: 20px 22px 15px;
  border-radius: 14px;
  background: #f0f1e9;
}
.rx-front-rail__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9ddd2;
  color: #315143;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rx-front-rail__top span:last-child { color: #879187; font-variant-numeric: tabular-nums; }
.rx-front-rail-card {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 19px 0;
  border-bottom: 1px solid #d9ddd2;
}
.rx-front-rail-card__number {
  color: #a0a89f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
}
.rx-front-rail-card h3 {
  margin: 8px 0 0;
  color: var(--rx-mag-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.3;
}
.rx-front-rail__all {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  color: var(--rx-mag-green) !important;
  font-size: .79rem;
  font-weight: 800;
  text-decoration: none !important;
}

.rx-front-latest { padding-block: 50px 72px; background: var(--rx-mag-paper); }
.rx-front-section-head { margin-bottom: 26px; }
.rx-front-section-head h2 {
  margin: 6px 0 0;
  color: var(--rx-mag-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -.035em;
}
.rx-front-section-head > a {
  color: var(--rx-mag-green) !important;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none !important;
}
.rx-front-section-head > a span { margin-left: 6px; color: #ad7d21; }
.rx-front-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.rx-front-card {
  overflow: hidden;
  border: 1px solid #e4e3da;
  border-radius: 12px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rx-front-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(21,41,35,.09); }
.rx-front-card__image { height: 178px; }
.rx-front-card__body { padding: 17px 17px 18px; }
.rx-front-card h3 {
  margin: 10px 0 8px;
  color: var(--rx-mag-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.rx-front-card__body > p { font-size: .82rem; }
.rx-front-card .rx-front-read-link { margin-top: 13px; }
.rx-front-empty { color: var(--rx-mag-muted); }
.rx-front-signoff {
  padding-block: 34px;
  background: var(--rx-mag-green);
  color: #fff;
}
.rx-front-signoff__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.rx-front-signoff .rx-mag-front-kicker { color: #f3d98f; }
.rx-front-signoff .rx-mag-front-kicker > span { background: #f3d98f; }
.rx-front-signoff p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
}
.rx-front-signoff a {
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 7px;
  color: #fff !important;
  font-size: .79rem;
  font-weight: 800;
  text-decoration: none !important;
}
.rx-front-signoff a span { margin-left: 7px; color: #f3d98f; }

@media (max-width: 980px) {
  .rx-mag-front-hero__inner { min-height: 380px; }
  .rx-front-lead__grid { grid-template-columns: minmax(0, 1.4fr) minmax(245px, .85fr); gap: 18px; }
  .rx-front-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .rx-mag-front-hero__inner { min-height: auto; padding-block: 58px 52px; }
  .rx-mag-front-hero__note { display: none; }
  .rx-mag-front-hero h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .rx-front-lead__heading { align-items: flex-start; }
  .rx-front-lead__grid { grid-template-columns: 1fr; }
  .rx-front-feature__image { height: 280px; }
  .rx-front-rail { padding-inline: 18px; }
  .rx-front-signoff__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .rx-mag-front-search { gap: 8px; padding-left: 11px; }
  .rx-mag-front-search input { font-size: .85rem; }
  .rx-mag-front-search button { padding: 10px 9px; font-size: .72rem; }
  .rx-front-lead { padding-top: 30px; }
  .rx-front-lead__date { font-size: .68rem; }
  .rx-front-grid { grid-template-columns: 1fr; gap: 14px; }
  .rx-front-card__image { height: 210px; }
  .rx-front-section-head { align-items: flex-end; }
  .rx-front-section-head > a { max-width: 115px; text-align: right; }
}

/* 10.0.13 : lecture fluide et sommaire utilisable sur petits écrans. */
.rx-single__layout { grid-template-columns: minmax(0, var(--rx-content-width)) !important; }
.rx-single .entry-content, .rx-page-content .entry-content {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}
.rx-single .entry-content pre, .rx-page-content .entry-content pre {
  white-space: pre; overflow-x: auto;
}
.rx-article-toc details > ol { max-height: 24rem; overflow-y: auto; overscroll-behavior: auto; }
.rx-article-toc a { display: block; padding-block: .4rem; overflow-wrap: anywhere; }
.rx-single .entry-content :is(h2,h3,h4)[id] { scroll-margin-top: 7rem; }
.rx-single__thumb-caption a { text-decoration: underline; text-underline-offset: .2em; }
.rx-retired { padding-block: 4rem; min-height: 50vh; }
:where(a,button,input,summary):focus-visible { outline: 3px solid #b66c00; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 10.0.15 : découvertes renouvelées, contrôlables et stables en hauteur. */
.rx-discover { min-width: 0; }
.rx-discover .rx-front-rail__top { align-items: center; }
.rx-discover .rx-front-rail__top h2 {
  margin: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.rx-discover__pulse { width: 8px; height: 8px; border-radius: 50%; background: #16844c; box-shadow: 0 0 0 5px #16844c18; }
.rx-discover__pages { height: auto; max-height: none; overflow: visible; overscroll-behavior: auto; touch-action: auto; }
.rx-discover.is-enhanced .rx-discover__pages { min-height: 28rem; }
@media (max-width: 767px), (pointer: coarse) { .rx-discover.is-enhanced .rx-discover__pages { min-height: 0; } }
.rx-discover__page[hidden], .rx-discover__controls[hidden] { display: none !important; }
.rx-js .rx-discover:not(.is-enhanced) .rx-discover__page:not(:first-child) { display: none; }
.rx-discover.is-enhanced .rx-discover__page { animation: rxDiscoverIn .4s ease-out; }
.rx-discover .rx-discover__card { grid-template-columns: 60px minmax(0,1fr); align-items: start; padding-block: 15px; gap: 12px; }
.rx-discover__thumb { display: grid; place-items: center; width: 60px; height: 60px; overflow: hidden; border-radius: 9px; background: #dde7dc; color: #24583c; font-weight: 800; text-decoration: none; }
.rx-discover__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rx-discover .rx-front-rail-card h3 { font-size: 1.02rem; line-height: 1.35; margin-top: 5px; }
.rx-discover .rx-front-rail-card h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rx-discover__controls { display: flex; align-items: center; gap: 9px; border-top: 1px solid #d9ddd2; padding-top: 12px; }
.rx-discover__controls button { min-width: 38px; min-height: 44px; border: 1px solid #bacdbf; border-radius: 8px; background: #fff; color: #174b34; cursor: pointer; padding: 7px 11px; font: inherit; font-size: .85rem; }
.rx-discover__controls button:hover { background: #e1edde; }
.rx-discover__controls [data-discover-status] { color: #355a42; font-size: .8rem; font-variant-numeric: tabular-nums; }
.rx-discover__controls [data-discover-pause] { margin-left: auto; }
body.rx-dark .rx-discover { background: #192e25; }
body.rx-dark .rx-discover__controls button { background: #253e31; color: #e5f3e7; border-color: #567661; }
body.rx-dark .rx-discover__controls [data-discover-status] { color: #d5e4d7; }
@keyframes rxDiscoverIn { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .rx-discover.is-enhanced .rx-discover__page { animation: none !important; } }
.rx-budget { margin-block: 2rem; padding: clamp(16px,3vw,28px); border: 1px solid #c9d9c9; border-radius: 12px; background: #f1f7ee; color: #183d2d; }
.rx-budget__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.rx-budget__fields label { display: grid; gap: 6px; font: 600 .92rem/1.4 system-ui,sans-serif; }
.rx-budget__fields input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #8ba58b; border-radius: 7px; background: white; color: #172b20; font: inherit; }
.rx-budget output { display: block; margin-block: 16px; font-weight: 700; }
.rx-budget button { padding: 10px 14px; border: 1px solid #759879; border-radius: 7px; background: #fff; color: #183d2d; cursor: pointer; }
.rx-budget button[hidden] { display: none; }
.rx-budget .rx-budget__hint { font-size: .87em; }
body.rx-dark .rx-budget { background: #1d3024; color: #e5f1e2; border-color: #55765d; }
body.rx-dark .rx-budget h3 { color: #e5f1e2 !important; }
@media(max-width:540px) { .rx-budget__fields { grid-template-columns: minmax(0,1fr); } }
