/*
Theme Name: Rémi Piau — Cours particuliers à domicile
Theme URI: https://www.alorsonscience.com/
Author: Rémi Piau
Description: Thème léger et personnel pour l’activité de cours particuliers à domicile de Rémi Piau, entrepreneur individuel et organisme déclaré de services à la personne.
Version: 1.1.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: remi-piau-domicile
*/

:root {
  --rp-petrol-950: #102f38;
  --rp-petrol-900: #173b45;
  --rp-petrol-800: #23515d;
  --rp-petrol-100: #dce9e8;
  --rp-ivory: #f7f3eb;
  --rp-paper: #fffdf8;
  --rp-gold: #d6a33f;
  --rp-gold-light: #f0d9a4;
  --rp-gold-dark: #7a4e0a;
  --rp-copper: var(--rp-gold);
  --rp-copper-light: var(--rp-gold-light);
  --rp-copper-dark: var(--rp-gold-dark);
  --rp-action: var(--rp-gold);
  --rp-action-hover: #e0b65f;
  --rp-graphite: #283238;
  --rp-muted: #607078;
  --rp-line: #d9d8d0;
  --rp-white: #ffffff;
  --rp-shadow: 0 18px 50px rgba(16, 47, 56, 0.12);
  --rp-radius-sm: 0.55rem;
  --rp-radius: 1rem;
  --rp-radius-lg: 1.7rem;
  --rp-content: 1180px;
  --rp-reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rp-graphite);
  background: var(--rp-paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.admin-bar .rp-site-header {
  top: 32px;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rp-petrol-800);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--rp-copper-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--rp-copper);
  outline-offset: 3px;
}

.rp-skip-link {
  position: fixed;
  z-index: 99999;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  padding: 0.7rem 1rem;
  color: var(--rp-white);
  background: var(--rp-petrol-950);
  border-radius: var(--rp-radius-sm);
  transform: translateY(-160%);
}

.rp-skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rp-container {
  width: min(calc(100% - 2rem), var(--rp-content));
  margin-inline: auto;
}

.rp-container,
.rp-entry-content,
.rp-entry-content > *,
.rp-grid-2 > *,
.rp-grid-3 > *,
.rp-grid-4 > *,
.rp-split > *,
.rp-hero-grid > * {
  min-width: 0;
}

.rp-reading {
  width: min(100%, var(--rp-reading));
  margin-inline: auto;
}

.rp-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(23, 59, 69, 0.12);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}

.rp-header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.rp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--rp-petrol-950);
  text-decoration: none;
}

.rp-brand:hover {
  color: var(--rp-petrol-950);
}

.rp-brand-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
}

.rp-brand-text {
  display: grid;
  line-height: 1.12;
}

.rp-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.23rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rp-brand-role {
  margin-top: 0.23rem;
  color: var(--rp-muted);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rp-primary-nav {
  justify-self: center;
}

.rp-primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-primary-nav a {
  display: block;
  padding: 0.55rem 0.72rem;
  border-radius: 0.45rem;
  color: var(--rp-graphite);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.rp-primary-nav a:hover,
.rp-primary-nav .current-menu-item > a,
.rp-primary-nav .current_page_item > a {
  color: var(--rp-petrol-950);
  background: var(--rp-petrol-100);
}

.rp-menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  color: var(--rp-petrol-950);
  background: var(--rp-white);
  cursor: pointer;
}

.rp-header-call {
  white-space: nowrap;
}

.rp-button,
.wp-block-button__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1.05rem;
  border: 2px solid var(--rp-petrol-900);
  border-radius: 0.65rem;
  color: var(--rp-white);
  background: var(--rp-petrol-900);
  box-shadow: none;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.rp-button:hover,
.wp-block-button__link:hover {
  color: var(--rp-white);
  background: var(--rp-petrol-800);
  border-color: var(--rp-petrol-800);
  transform: translateY(-1px);
}

.rp-button--copper {
  color: var(--rp-petrol-950);
  border-color: var(--rp-action);
  background: var(--rp-action);
}

.rp-button--copper:hover {
  color: var(--rp-petrol-950);
  border-color: var(--rp-action-hover);
  background: var(--rp-action-hover);
}

.rp-button--ghost {
  color: var(--rp-petrol-900);
  background: transparent;
}

.rp-button--ghost:hover {
  color: var(--rp-white);
}

.rp-main {
  min-height: 60vh;
  overflow-wrap: break-word;
}

.rp-entry-content > :where(*:not(.alignfull):not(.alignwide)),
.rp-article-header > * {
  width: min(calc(100% - 2rem), var(--rp-reading));
  margin-inline: auto;
}

.rp-entry-content > .alignwide,
.rp-article-header > .alignwide {
  width: min(calc(100% - 2rem), var(--rp-content));
  margin-inline: auto;
}

.rp-entry-content > .alignfull {
  width: 100%;
}

.rp-entry-content h1,
.rp-entry-content h2,
.rp-entry-content h3,
.rp-entry-content h4,
.rp-page-title,
.rp-archive-title {
  color: var(--rp-petrol-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.rp-entry-content h1,
.rp-page-title {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
}

.rp-entry-content h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
}

.rp-entry-content h3 {
  margin-top: 1.9rem;
  font-size: clamp(1.28rem, 3vw, 1.7rem);
}

.rp-entry-content p,
.rp-entry-content ul,
.rp-entry-content ol,
.rp-entry-content blockquote {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.rp-entry-content li + li {
  margin-top: 0.35rem;
}

.rp-article-header {
  padding: clamp(3.2rem, 8vw, 6rem) 0 1.5rem;
}

.rp-page-title {
  margin-top: 0;
  margin-bottom: 1rem;
}

.rp-entry-content {
  padding-bottom: 5rem;
}

.rp-page {
  overflow-wrap: break-word;
}

.rp-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.rp-section--ivory {
  background: var(--rp-ivory);
}

.rp-section--petrol {
  color: rgba(255, 255, 255, 0.9);
  background: var(--rp-petrol-950);
}

.rp-section--petrol h2,
.rp-section--petrol h3,
.rp-section--petrol a:not(.rp-button) {
  color: var(--rp-white);
}

.rp-section--petrol :where(.rp-card, .rp-quote, .rp-note, .rp-town-list li, .rp-chip) {
  color: var(--rp-graphite);
}

.rp-section--petrol :where(.rp-card, .rp-quote, .rp-note) h2,
.rp-section--petrol :where(.rp-card, .rp-quote, .rp-note) h3 {
  color: var(--rp-petrol-950);
}

.rp-section--petrol :is(.rp-card, .rp-quote, .rp-note) .rp-kicker {
  color: var(--rp-gold-dark);
}

.rp-section--petrol :where(.rp-card, .rp-quote, .rp-note) a:not(.rp-button) {
  color: var(--rp-petrol-800);
}

.rp-section--petrol a.rp-chip,
.rp-section--petrol .rp-town-list a {
  color: var(--rp-petrol-950);
}

.rp-section-header {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.rp-section-header h2 {
  margin: 0.3rem 0 0.85rem;
}

.rp-kicker {
  margin: 0;
  color: var(--rp-copper-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rp-section--petrol .rp-kicker {
  color: var(--rp-copper-light);
}

.rp-section--petrol .rp-lead {
  color: rgba(255, 255, 255, 0.86);
}

.rp-lead {
  max-width: 780px;
  color: #43545c;
  font-size: clamp(1.15rem, 2.1vw, 1.38rem);
  line-height: 1.6;
}

.rp-hero {
  position: relative;
  overflow: clip;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(214, 163, 63, 0.16), transparent 28rem),
    linear-gradient(135deg, var(--rp-paper) 0%, var(--rp-ivory) 100%);
}

.rp-hero::before {
  content: "";
  position: absolute;
  inset: auto -5rem -9rem auto;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(23, 59, 69, 0.09);
  border-radius: 50%;
}

.rp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.rp-hero h1 {
  max-width: 850px;
  margin: 0.55rem 0 1.3rem;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
}

.rp-title-accent {
  color: var(--rp-gold-dark);
}

.rp-hero .rp-lead {
  max-width: 760px;
}

.rp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.8rem 0;
}

.rp-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.7rem;
}

.rp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.36rem 0.7rem;
  border: 1px solid rgba(23, 59, 69, 0.15);
  border-radius: 999px;
  color: var(--rp-petrol-950);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 720;
}

.rp-portrait {
  position: relative;
  width: min(100%, 430px);
  justify-self: center;
  margin: 0;
  padding: 0.55rem 0.55rem 0;
  border: 1px solid rgba(23, 59, 69, 0.14);
  border-radius: 1.35rem;
  background: var(--rp-white);
  box-shadow: 0 18px 46px rgba(16, 47, 56, 0.13);
}

.rp-portrait::before {
  content: none;
}

.rp-portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0.95rem;
  box-shadow: none;
  object-fit: cover;
  object-position: center top;
}

.rp-portrait figcaption {
  position: relative;
  margin: 0.55rem 0 0;
  padding: 0.75rem 0.45rem 0.9rem;
  color: var(--rp-petrol-950);
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.4;
  text-align: center;
}

.rp-portrait figcaption::before {
  content: "";
  display: block;
  width: 3rem;
  height: 0.22rem;
  margin: 0 auto 0.65rem;
  border-radius: 999px;
  background: var(--rp-gold);
}

.rp-price-strip {
  border-block: 1px solid rgba(23, 59, 69, 0.12);
  background: var(--rp-petrol-900);
}

.rp-price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: 1.7rem 0;
  color: var(--rp-white);
}

.rp-price-item {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}

.rp-price-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.rp-price-label {
  max-width: 18rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.rp-price-tax {
  display: grid;
  gap: 0.22rem;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  line-height: 1.45;
}

.rp-price-tax strong {
  color: var(--rp-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.rp-price-tax-label {
  color: var(--rp-copper-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rp-grid-2,
.rp-grid-3,
.rp-grid-4 {
  display: grid;
  gap: 1.15rem;
}

.rp-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rp-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(23, 59, 69, 0.12);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  box-shadow: 0 9px 25px rgba(16, 47, 56, 0.055);
}

.rp-card h2,
.rp-card h3 {
  margin-top: 0;
}

.rp-card p:last-child,
.rp-card ul:last-child {
  margin-bottom: 0;
}

.rp-card--accent {
  border-top: 5px solid var(--rp-copper);
}

.rp-icon-number {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--rp-white);
  background: var(--rp-petrol-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.rp-quote {
  position: relative;
  margin: 0;
  padding: 1.6rem;
  border: 1px solid rgba(23, 59, 69, 0.12);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
}

.rp-quote::before {
  content: "“";
  display: block;
  height: 2.1rem;
  color: var(--rp-copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1;
}

.rp-quote p {
  margin: 0.4rem 0 1rem;
}

.rp-quote cite {
  color: var(--rp-muted);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 750;
}

.rp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.rp-note {
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--rp-copper);
  border-radius: 0 var(--rp-radius-sm) var(--rp-radius-sm) 0;
  background: var(--rp-ivory);
}

.rp-list-check {
  padding: 0;
  list-style: none;
}

.rp-list-check li {
  position: relative;
  padding-left: 1.75rem;
}

.rp-list-check li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--rp-copper-dark);
  font-weight: 900;
}

.rp-section--petrol .rp-list-check li::before {
  color: var(--rp-copper-light);
}

.rp-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--rp-radius-lg);
  color: var(--rp-white);
  background: var(--rp-petrol-950);
  box-shadow: var(--rp-shadow);
}

.rp-cta h2 {
  margin: 0 0 0.5rem;
  color: var(--rp-white);
}

.rp-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.rp-cta .rp-button--ghost,
.rp-section--petrol .rp-button--ghost {
  color: var(--rp-white);
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.rp-cta .rp-button--ghost:hover,
.rp-section--petrol .rp-button--ghost:hover {
  color: var(--rp-petrol-950);
  border-color: var(--rp-white);
  background: var(--rp-white);
}

.rp-details {
  border-top: 1px solid var(--rp-line);
}

.rp-details details {
  border-bottom: 1px solid var(--rp-line);
}

.rp-details summary {
  padding: 1.15rem 2.5rem 1.15rem 0;
  color: var(--rp-petrol-950);
  font-weight: 750;
  cursor: pointer;
}

.rp-details details > div {
  padding: 0 0 1.25rem;
}

.rp-town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.rp-town-list li {
  margin: 0;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(23, 59, 69, 0.14);
  border-radius: 999px;
  background: var(--rp-white);
  font-size: 0.9rem;
}

#formulaire-contact {
  scroll-margin-top: 7rem;
}

.rp-contact-form-wrap {
  margin-top: 1.8rem;
}

.rp-contact-form {
  position: relative;
  padding: clamp(1.35rem, 4vw, 2.35rem);
  border: 1px solid rgba(23, 59, 69, 0.14);
  border-top: 5px solid var(--rp-gold);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  box-shadow: 0 12px 34px rgba(16, 47, 56, 0.08);
}

.rp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.rp-form-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.rp-form-field label {
  color: var(--rp-petrol-950);
  font-weight: 750;
  line-height: 1.35;
}

.rp-form-field input,
.rp-form-field select,
.rp-form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #9aa5a8;
  border-radius: var(--rp-radius-sm);
  color: var(--rp-graphite);
  background: var(--rp-white);
  font-size: 1rem;
  line-height: 1.45;
}

.rp-form-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.rp-form-field input:focus,
.rp-form-field select:focus,
.rp-form-field textarea:focus {
  border-color: var(--rp-gold-dark);
  outline: 3px solid rgba(214, 163, 63, 0.34);
  outline-offset: 1px;
}

.rp-form-field ::placeholder {
  color: #64747a;
  opacity: 1;
}

.rp-form-help,
.rp-form-privacy,
.rp-optional {
  color: #526269;
  font-size: 0.9rem;
}

.rp-form-help {
  margin: 0 0 1.25rem;
}

.rp-form-submit {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

.rp-form-privacy {
  max-width: 66ch;
  margin: 0;
  line-height: 1.55;
}

.rp-form-status {
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid;
  border-radius: var(--rp-radius-sm);
  font-weight: 700;
}

.rp-form-status--success {
  border-color: #43815a;
  color: #244d32;
  background: #edf8f0;
}

.rp-form-status--error {
  border-color: #a94a42;
  color: #7c2f29;
  background: #fff0ee;
}

.rp-contact-honeypot {
  position: fixed !important;
  left: -100vw !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.rp-legal {
  font-size: 1rem;
}

.rp-legal h2 {
  padding-top: 0.4rem;
  border-top: 1px solid var(--rp-line);
}

.rp-legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.rp-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.rp-legal th,
.rp-legal td {
  padding: 0.75rem;
  border: 1px solid var(--rp-line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.rp-video-shell {
  overflow: hidden;
  border-radius: var(--rp-radius);
  background: #0f282f;
  box-shadow: var(--rp-shadow);
}

.rp-video-shell video {
  width: 100%;
}

.rp-video-note {
  padding: 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--rp-petrol-950);
  font-size: 0.84rem;
}

.rp-diagnostic {
  margin-top: 2rem;
}

.rp-quiz-intro,
.rp-quiz-summary {
  padding: 1.25rem;
  border-radius: var(--rp-radius-sm);
  background: var(--rp-ivory);
}

.rp-quiz-question {
  margin: 1.25rem 0;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
}

.rp-quiz-question legend {
  width: 100%;
  margin-bottom: 1rem;
  color: var(--rp-petrol-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.rp-quiz-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0.55rem 0;
  padding: 0.72rem;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  cursor: pointer;
}

.rp-quiz-option:hover {
  background: var(--rp-ivory);
}

.rp-quiz-option input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.3rem;
  accent-color: var(--rp-petrol-900);
}

.rp-quiz-option.is-correct {
  border-color: #43815a;
  background: #edf8f0;
}

.rp-quiz-option.is-wrong {
  border-color: #b44e46;
  background: #fff0ee;
}

.rp-quiz-feedback {
  grid-column: 2;
  margin: 0.15rem 0 0;
  color: #43545c;
  font-size: 0.9rem;
}

.rp-quiz-hint {
  margin: 0.8rem 0 0;
  color: var(--rp-muted);
  font-size: 0.92rem;
}

.rp-quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rp-quiz-alert {
  margin-top: 1rem;
  color: #8b332c;
  font-weight: 700;
}

.rp-site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--rp-petrol-950);
}

.rp-footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2.5rem;
  padding: 4rem 0 2.5rem;
}

.rp-site-footer h2 {
  margin-top: 0;
  color: var(--rp-white);
  font-family: Georgia, "Times New Roman", serif;
}

.rp-site-footer a {
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.rp-sap-mark {
  display: inline-flex;
  margin-top: 0.6rem;
  padding: 1.15rem;
  border-radius: 0.75rem;
  background: var(--rp-white);
  transition: transform 160ms ease;
}

.rp-sap-mark:hover {
  transform: translateY(-1px);
}

.rp-sap-mark img {
  width: 150px;
  height: auto;
}

.rp-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-footer-links li + li {
  margin-top: 0.45rem;
}

.rp-footer-bottom {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
}

.rp-mobile-call {
  display: none;
}

.rp-post-list article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rp-line);
}

.rp-post-list h2 {
  margin: 0 0 0.5rem;
}

.rp-not-found {
  padding: 7rem 0;
  text-align: center;
}

@media (max-width: 1180px) {
  .rp-header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .rp-js .rp-menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .rp-header-call {
    display: none;
  }

  .rp-primary-nav {
    grid-column: 1 / -1;
    width: 100%;
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px - env(safe-area-inset-top));
    padding: 0 max(0rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(0rem, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .rp-js .rp-primary-nav {
    display: none;
  }

  body.admin-bar .rp-primary-nav {
    max-height: calc(100vh - 82px - 32px);
    max-height: calc(100dvh - 82px - 32px - env(safe-area-inset-top));
  }

  .rp-js .rp-primary-nav.is-open {
    display: block;
  }

  .rp-primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
    font-size: 1rem;
  }

  body.admin-bar .rp-site-header {
    top: 46px;
  }

  .rp-header-inner {
    min-height: 70px;
  }

  .rp-primary-nav {
    max-height: calc(100vh - 70px - 58px);
    max-height: calc(100dvh - 70px - 58px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  body.admin-bar .rp-primary-nav {
    max-height: calc(100vh - 70px - 46px - 58px);
    max-height: calc(100dvh - 70px - 46px - 58px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .rp-brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .rp-brand-name {
    font-size: 1.08rem;
  }

  .rp-brand-role {
    font-size: 0.68rem;
  }

  .rp-hero-grid,
  .rp-split,
  .rp-price-grid,
  .rp-footer-main,
  .rp-cta {
    grid-template-columns: 1fr;
  }

  .rp-hero-grid {
    gap: 2.4rem;
  }

  .rp-portrait {
    width: min(82%, 390px);
    margin-inline: auto;
  }

  .rp-price-grid {
    gap: 0.7rem;
    text-align: center;
  }

  .rp-price-item {
    justify-self: center;
  }

  .rp-price-tax {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .rp-grid-2,
  .rp-grid-3,
  .rp-grid-4 {
    grid-template-columns: 1fr;
  }

  .rp-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rp-footer-main {
    gap: 1.5rem;
  }

  .rp-footer-bottom {
    display: grid;
  }

  .rp-mobile-call {
    position: fixed;
    z-index: 999;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding: 0.7rem max(1rem, env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    color: var(--rp-white);
    background: var(--rp-copper-dark);
    box-shadow: 0 -5px 20px rgba(16, 47, 56, 0.18);
    font-weight: 800;
    text-decoration: none;
  }

  .rp-mobile-call:hover {
    color: var(--rp-white);
  }
}

@media (max-width: 600px) {
  body.admin-bar .rp-site-header {
    top: 0;
  }
}

@media (max-width: 520px) {
  .rp-primary-nav ul {
    grid-template-columns: 1fr;
  }

  .rp-brand-role {
    display: none;
  }

  .rp-actions .rp-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .rp-site-header,
  .rp-site-footer,
  .rp-mobile-call,
  .rp-actions,
  .rp-quiz-actions {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .rp-section {
    padding: 1.5rem 0;
  }
}
