/* Rafik Smati: shared foundations, components, page layouts, responsive rules. */
:root {
  --ink: #172c3b;
  --accent: #35586b;
  --muted: #62717d;
  --line: #dfe4e8;
  --paper: #fafaf8;
  --night: #0b1923;
  --radius: 5px;
  --space: 24px;
  --link-hover: #496678;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 Arial,
    Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 23px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
iframe {
  max-width: 100%;
}
.rs-wrap {
  width: 88%;
  max-width: 1240px;
  margin-inline: auto;
}
.rs-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.rs-brand {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1px;
  white-space: nowrap;
}
.rs-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 23px;
  align-items: center;
}
.rs-header nav {
  font-size: 14px;
}
.rs-header nav a {
  white-space: nowrap;
}
.rs-menu .current-menu-item > a {
  color: var(--accent);
}
.rs-button,
button[type="submit"],
input[type="submit"] {
  display: inline-block;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  padding: 11px 21px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.rs-button:hover {
  background: #244354;
  color: white;
}
.rs-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
}
.rs-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 16px;
}
.rs-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.rs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 8px;
}
.rs-meta strong {
  color: var(--accent);
}
.rs-skip {
  position: absolute;
  top: -100px;
  left: 10px;
  background: white;
  padding: 15px;
  z-index: 100;
}
.rs-skip:focus {
  top: 10px;
}
/* Homepage */
.rs-hero {
  background: var(--night);
  color: white;
  overflow: hidden;
}
.rs-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 490px;
}
.rs-hero-copy {
  position: relative;
  z-index: 2;
  padding: 36px 0;
  align-self: center;
}
.rs-hero-name {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #b8cbd7;
  margin-bottom: 20px;
}
.rs-hero h1 {
  font:
    normal 58px/1.05 Georgia,
    serif;
  letter-spacing: -1.7px;
  margin-bottom: 22px;
}
.rs-hero h1 em {
  color: #a6beff;
  font-weight: 400;
}
.rs-hero-description {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.75;
  color: #c5d1d9;
}
.rs-hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
}
.rs-hero-actions .rs-button {
  padding: 14px 21px;
}
.rs-hero-actions a:hover {
  color: white;
}
.rs-hero-photo {
  position: relative;
  min-width: 0;
}
.rs-hero-photo > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% center;
  max-width: none;
}
.rs-hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--night),
      transparent 22%,
      transparent 72%,
      var(--night)
    ),
    linear-gradient(0deg, var(--night), transparent 24%);
  pointer-events: none;
}
.rs-hero-signature {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 27%;
  font:
    italic 24px Georgia,
    serif;
}
.rs-spotlight {
  padding-top: 25px;
}
.rs-spotlight article {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 20px;
  background: #eaf0f6;
  border-radius: 6px;
}
.rs-spotlight-image {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  background: #d5e0e9;
}
.rs-spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-spotlight-copy {
  padding-right: 20px;
}
.rs-spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: #586d7e;
  margin-bottom: 13px;
}
.rs-spotlight-meta strong {
  color: var(--accent);
  font-size: 11px;
}
.rs-spotlight h2 {
  font-size: 28px;
  line-height: 1.25;
  max-width: 650px;
  margin-bottom: 20px;
}
.rs-feed {
  padding-block: 32px;
}
.rs-feed-nav,
.rs-archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  margin-bottom: 22px;
}
.rs-feed-nav a,
.rs-archive-nav a {
  border-bottom: 2px solid transparent;
  padding-block: 6px;
}
.rs-archive-nav a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--accent);
}
.rs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
}
.rs-card {
  min-width: 0;
}
.rs-image {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e2e8ec;
  border-radius: var(--radius);
}
.rs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.rs-image:hover img {
  transform: scale(1.025);
}
.rs-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  background: white;
  color: #183145;
  font-size: 11px;
  font-weight: 700;
}
.rs-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: white;
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  padding-left: 2px;
}
.rs-card h2 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.3px;
}
.rs-text-card {
  border-top: 2px solid var(--accent);
  padding: 14px 0;
}
.rs-text-card .rs-link {
  margin-top: 15px;
}
.rs-more {
  display: table;
  margin: 30px auto 0;
  border: 1px solid #cbd4dc;
  border-radius: 4px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
}
.rs-more span {
  margin-left: 18px;
}
.rs-x-lines {
  padding: 26px 0 32px;
  border-top: 1px solid var(--line);
}
.rs-x-lines .rs-heading {
  margin-bottom: 5px;
}
.rs-x-lines ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rs-x-lines li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.rs-x-lines li:last-child {
  border: 0;
  padding-bottom: 0;
}
.rs-x-lines li a {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  max-width: 1000px;
}
.rs-journey-restored {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding-block: 40px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.rs-journey-intro h2 {
  font:
    normal 46px/1.12 Georgia,
    serif;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}
.rs-journey-intro h2 em {
  color: #496c87;
}
.rs-journey-intro > p:not(.rs-label) {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 450px;
  margin-bottom: 23px;
}
.rs-journey-compact {
  min-width: 0;
}
.rs-journey-compact .rs-label {
  margin-bottom: 9px;
}
.rs-journey-compact h3 {
  margin-bottom: 12px;
}
.rs-journey-compact article > p:not(.rs-label),
.rs-author-copy > p:not(.rs-label) {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.rs-entrepreneur {
  padding-bottom: 22px;
}
.rs-author {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 25px;
  align-items: center;
}
.rs-author-copy .rs-author-subtitle {
  color: var(--ink) !important;
  margin-bottom: 10px;
}
.rs-author-copy .rs-link {
  margin-top: 16px;
}
.rs-author-cover img {
  width: 112px;
  box-shadow: 5px 7px 13px #122a3a22;
}
.rs-subscribe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-block: 38px;
  border-top: 1px solid var(--line);
}
.rs-subscribe h2 {
  font-size: 23px;
}
.rs-subscribe p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.rs-footer-shell {
  background: #122a3a;
  color: white;
}
.rs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  gap: 30px;
}
.rs-footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: #c3d0d9;
}
/* Interior templates: a common reading width and hierarchy. */
.rs-page,
.rs-archive,
.rs-article {
  padding-block: 42px 56px;
}
.rs-deck {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 20px;
  max-width: 850px;
}
.rs-prose {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.rs-prose > * + * {
  margin-top: 1.3em;
}
.rs-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rs-prose h2 {
  font-size: 29px;
  margin-top: 1.7em;
}
.rs-prose h3 {
  font-size: 23px;
  margin-top: 1.5em;
}
.rs-prose p {
  margin-bottom: 1em;
}
.rs-prose blockquote {
  margin: 28px 0;
  border-left: 3px solid var(--accent);
  padding: 8px 24px;
  background: #eaf0f6;
}
.rs-prose figure {
  margin: 24px 0;
}
.rs-prose .alignwide {
  width: min(960px, 88vw);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.rs-prose .aligncenter {
  margin-inline: auto;
}
.rs-prose .alignright {
  float: right;
  margin: 0 0 20px 24px;
  max-width: 40%;
}
.rs-prose .alignleft {
  float: left;
  margin: 0 24px 20px 0;
  max-width: 40%;
}
.rs-prose:after {
  content: "";
  display: block;
  clear: both;
}
.rs-prose img {
  height: auto;
}
.rs-video {
  max-width: 960px;
  aspect-ratio: 16/9;
  margin: 0 auto 35px;
  background: var(--night);
}
.rs-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.rs-article-image {
  max-width: 960px;
  margin: 0 auto 35px;
}
.rs-article-image img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
}
.rs-tags,
.rs-share,
.post-navigation,
.rs-comments {
  max-width: 760px;
  margin: 30px auto;
}
.rs-tags,
.rs-share {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.rs-tags a {
  background: #eaf0f6;
  border-radius: 4px;
  padding: 5px 12px;
}
.rs-share {
  padding-block: 20px;
  border-block: 1px solid var(--line);
}
.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 35px;
}
.nav-links > div {
  flex: 1;
}
.nav-next {
  text-align: right;
}
.rs-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.rs-pagination a,
.rs-pagination span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.rs-pagination .current {
  background: var(--accent);
  color: white;
}
.rs-search-form {
  display: flex;
  gap: 10px;
  align-items: end;
  margin: 25px 0;
}
.rs-search-form label {
  flex: 1;
}
.rs-search-form input {
  display: block;
  width: 100%;
  margin-top: 5px;
}
.rs-site input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.rs-site textarea,
.rs-site select {
  max-width: 100%;
  padding: 10px;
  border: 1px solid #aebecb;
  border-radius: 4px;
  background: white;
  color: var(--ink);
}
.rs-comments textarea {
  display: block;
  width: 100%;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rs-prose .mailpoet_form {
  max-width: 100%;
}
.rs-prose .wp-block-image img {
  margin-inline: auto;
}
.rs-empty {
  padding: 60px 0;
}
@media (max-width: 1100px) {
  .rs-wrap {
    width: 90%;
  }
  .rs-header {
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 16px;
  }
  .rs-header nav {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }
  .rs-menu {
    justify-content: space-between;
    gap: 16px;
  }
  .rs-journey-restored {
    gap: 40px;
  }
  .rs-journey-intro h2 {
    font-size: 40px;
  }
  .rs-author {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 18px;
  }
  .rs-spotlight h2 {
    font-size: 24px;
  }
  .rs-spotlight-copy {
    padding: 0;
  }
}
@media (max-width: 700px) {
  .rs-header .rs-brand {
    font-size: 25px;
  }
  .rs-menu {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 22px;
  }
  .rs-header nav {
    font-size: 12px;
  }
  .rs-hero-inner {
    display: block;
    min-height: 0;
  }
  .rs-hero-copy {
    padding: 28px 0 15px;
  }
  .rs-hero h1 {
    font-size: 43px;
    line-height: 1.05;
    margin-bottom: 18px;
  }
  .rs-hero-name {
    font-size: 9px;
    margin-bottom: 17px;
  }
  .rs-hero-description {
    font-size: 14px;
  }
  .rs-hero-actions {
    gap: 18px;
  }
  .rs-hero-photo {
    height: 235px;
  }
  .rs-hero-photo > img {
    object-position: 44% 23%;
  }
  .rs-hero-photo:after {
    background:
      linear-gradient(
        90deg,
        var(--night),
        transparent 14%,
        transparent 84%,
        var(--night)
      ),
      linear-gradient(0deg, var(--night), transparent 28%);
  }
  .rs-hero-signature {
    font-size: 20px;
    left: 6%;
    bottom: 16px;
  }
  .rs-spotlight {
    padding-top: 20px;
  }
  .rs-spotlight article {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 17px;
  }
  .rs-spotlight h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .rs-spotlight-meta {
    font-size: 11px;
    gap: 10px;
  }
  .rs-heading {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .rs-heading h2 {
    font-size: 22px;
  }
  .rs-heading .rs-link {
    font-size: 11px;
    gap: 6px;
  }
  .rs-feed {
    padding-block: 25px;
  }
  .rs-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .rs-card:not(.rs-text-card) {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
    gap: 15px;
  }
  .rs-card .rs-meta {
    margin-top: 0;
    font-size: 10px;
    gap: 8px;
  }
  .rs-card h2 {
    font-size: 17px;
    line-height: 1.4;
  }
  .rs-image {
    aspect-ratio: 4/3;
  }
  .rs-badge {
    font-size: 9px;
    padding: 3px 6px;
    left: 7px;
    top: 7px;
  }
  .rs-play {
    width: 27px;
    height: 27px;
    font-size: 10px;
    right: 7px;
    bottom: 7px;
  }
  .rs-x-lines {
    padding-block: 23px;
  }
  .rs-x-lines li {
    padding-block: 14px;
  }
  .rs-x-lines li a {
    font-size: 15px;
  }
  .rs-journey-restored {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 30px;
  }
  .rs-journey-intro h2 {
    font-size: 38px;
  }
  .rs-journey-compact h3 {
    font-size: 21px;
  }
  .rs-author {
    grid-template-columns: minmax(0, 1fr) 95px;
    gap: 19px;
  }
  .rs-author-cover img {
    width: 95px;
  }
  .rs-subscribe,
  .rs-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .rs-subscribe {
    padding-block: 28px;
  }
  .rs-footer > div {
    gap: 18px;
  }
  .rs-page,
  .rs-archive,
  .rs-article {
    padding-block: 28px 36px;
  }
  .rs-deck {
    font-size: 17px;
  }
  .rs-prose {
    font-size: 17px;
    line-height: 1.8;
  }
  .rs-prose h2 {
    font-size: 26px;
  }
  .rs-prose .alignright,
  .rs-prose .alignleft {
    float: none;
    max-width: 100%;
    margin: 20px auto;
  }
  .nav-links {
    gap: 20px;
    font-size: 14px;
  }
  .rs-search-form {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Biographie and newsletter retain their full copy in compact, readable layouts. */
.rs-page-biographie-de-rafik-smati .rs-prose {
  max-width: 960px;
}
.rs-page-biographie-de-rafik-smati .rs-prose > figure:first-child {
  float: right;
  width: 38%;
  margin: 0 0 24px 36px;
}
.rs-page-biographie-de-rafik-smati .rs-prose > figure:first-child + h3 {
  margin-top: 0;
}
.rs-page-direct .rs-prose > figure:first-child {
  float: right;
  width: 30%;
  margin: 0 0 20px 28px;
}
.rs-page-lenouveautemps .rs-prose > figure {
  float: right;
  width: 180px;
  margin: 20px 0 24px 28px;
}
.rs-page-direct .rs-subscribe,
.rs-page-mail-register-confirmation .rs-subscribe,
.rs-page-mail-register-validation .rs-subscribe {
  display: none;
}
@media (max-width: 700px) {
  .rs-page-biographie-de-rafik-smati .rs-prose > figure:first-child {
    float: none;
    width: 100%;
    margin: 0 0 25px;
  }
  .rs-page-direct .rs-prose > figure:first-child {
    width: 28%;
    margin-left: 18px;
  }
  .rs-page-lenouveautemps .rs-prose > figure {
    width: 130px;
    margin-left: 20px;
  }
}

/* The masthead gives the section a distinct editorial role, without repeating navigation. */
body:not(.home) .rs-header {
  border-bottom: 1px solid var(--line);
}
.rs-archive {
  padding: 0;
}
.rs-section-banner {
  background: var(--night);
  color: white;
  padding: 29px 0 32px;
}
.rs-section-banner > .rs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.rs-section-banner h1 {
  font:
    normal 43px/1.15 Georgia,
    serif;
  letter-spacing: -1.1px;
  margin: 0;
}
.rs-section-back {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #b9c9d5;
  font-size: 13px;
  white-space: nowrap;
}
.rs-section-back:hover {
  color: white;
}
.rs-archive-content {
  padding-block: 30px 45px;
}
.rs-search {
  padding-block: 35px;
}
@media (max-width: 700px) {
  .rs-section-banner {
    padding-block: 24px;
  }
  .rs-section-banner > .rs-wrap {
    display: block;
  }
  .rs-section-banner h1 {
    font-size: 33px;
    letter-spacing: -0.7px;
  }
  .rs-section-back {
    margin-top: 13px;
    font-size: 12px;
  }
  .rs-archive-content {
    padding-block: 24px 32px;
  }
}
/* One interior grid: the title, reading column and cards share the container's left edge. */
.rs-page,
.rs-article {
  padding: 0;
}
.rs-page-content {
  padding-block: 36px 48px;
}
.rs-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.rs-content-layout > * {
  min-width: 0;
}
.rs-prose {
  margin-inline: 0;
  width: 100%;
}
.rs-sidebar {
  position: sticky;
  top: 24px;
}
.rs-sidebar > h2,
.rs-sidebar nav > h2 {
  font-size: 17px;
  letter-spacing: 0;
  margin: 0 0 20px;
}
.rs-bio-sidebar figure {
  margin: 0 0 25px;
}
.rs-bio-sidebar img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: 44% center;
  border-radius: 4px;
}
.rs-bio-sidebar ol {
  list-style: decimal-leading-zero;
  padding-left: 23px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.rs-bio-sidebar li {
  padding: 10px 0 10px 7px;
  border-bottom: 1px solid var(--line);
}
.rs-bio-sidebar li a {
  color: var(--ink);
}
.rs-bio-sidebar li a:hover {
  color: var(--link-hover);
}
.rs-bio-copy h2 {
  font:
    normal 29px/1.25 Georgia,
    serif;
  letter-spacing: -0.5px;
  scroll-margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 35px;
}
.rs-bio-copy > h2:first-child {
  border: 0;
  padding: 0;
  margin-top: 0;
}
.rs-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.rs-contact-card {
  border-top: 2px solid var(--accent);
  padding-top: 23px;
}
.rs-contact-card h2 {
  font:
    normal 29px/1.25 Georgia,
    serif;
  margin-bottom: 25px;
}
.rs-contact-card p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.rs-contact-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rs-contact-card strong {
  font-weight: 600;
}
.rs-article-banner > .rs-wrap {
  display: block;
}
.rs-article-heading {
  max-width: 1000px;
}
.rs-article-heading h1 {
  font-size: 40px;
  line-height: 1.2;
}
.rs-article-banner .rs-meta {
  color: #bdcbd5;
  margin: 0 0 13px;
}
.rs-article-banner .rs-meta strong {
  color: #a9c0ff;
}
.rs-article-main .rs-deck {
  margin: 0 0 28px;
  font-size: 19px;
}
.rs-article-main .rs-video,
.rs-article-main .rs-article-image {
  margin: 0 0 30px;
}
.rs-article-main .rs-tags,
.rs-article-main .rs-share,
.rs-article-main .post-navigation,
.rs-article-main .rs-comments {
  margin-inline: 0;
}
.rs-related {
  border-top: 2px solid var(--accent);
  padding-top: 18px;
}
.rs-related article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.rs-related h3 {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.2px;
}
.rs-related .rs-meta {
  font-size: 11px;
}
.rs-related > .rs-link {
  font-size: 12px;
}
@media (max-width: 1000px) {
  .rs-content-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 35px;
  }
  .rs-contact-grid {
    gap: 35px;
  }
  .rs-article-heading h1 {
    font-size: 36px;
  }
}
@media (max-width: 700px) {
  .rs-page-content {
    padding-block: 26px 34px;
  }
  .rs-content-layout,
  .rs-contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .rs-sidebar {
    position: static;
  }
  .rs-bio-sidebar {
    order: -1;
  }
  .rs-bio-sidebar img {
    aspect-ratio: 16/9;
  }
  .rs-bio-sidebar nav {
    display: none;
  }
  .rs-bio-sidebar figure {
    margin: 0;
  }
  .rs-bio-copy h2 {
    font-size: 26px;
  }
  .rs-article-heading h1 {
    font-size: 30px;
    line-height: 1.22;
  }
  .rs-article-main .rs-deck {
    font-size: 17px;
  }
  .rs-contact-card h2 {
    font-size: 27px;
    margin-bottom: 18px;
  }
  .rs-contact-card p {
    font-size: 16px;
  }
}
/* Discussion: quiet metadata, explicit labels and a consistent form grid. */
.rs-comments {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  font-size: 15px;
  line-height: 1.65;
}
.rs-comments-title,
.rs-comments .comment-reply-title {
  font:
    normal 28px/1.25 Georgia,
    serif;
  letter-spacing: -0.4px;
  margin: 0 0 22px;
}
.rs-comments-title > span {
  display: inline-block;
  vertical-align: middle;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px 9px;
  margin-left: 8px;
  font:
    12px/1.5 Arial,
    sans-serif;
  color: var(--muted);
}
.rs-comment-list,
.rs-comment-list .children {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rs-comment-list .comment-body {
  position: relative;
  padding: 0 0 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.rs-comment-list .comment-meta {
  min-height: 42px;
  margin-bottom: 14px;
  padding-left: 53px;
}
.rs-comment-list .avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.rs-comment-list .fn {
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
}
.rs-comment-list .says {
  display: none;
}
.rs-comment-list .comment-metadata {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.rs-comment-list .comment-content {
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.rs-comment-list .comment-content p {
  margin: 0 0 10px;
}
.rs-comment-list .reply {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.rs-comment-list .children {
  margin-left: 24px;
  padding-left: 20px;
  border-left: 2px solid var(--line);
}
.rs-comment-list .comment-awaiting-moderation {
  font-size: 12px;
  color: var(--muted);
}
.rs-comments .comment-respond {
  background: #edf2f6;
  border: 1px solid #dde5eb;
  border-radius: 6px;
  padding: 26px;
  margin-top: 28px;
}
.rs-comments .comment-reply-title {
  margin-bottom: 10px;
}
.rs-comments .comment-reply-title small {
  display: block;
  font:
    12px/1.5 Arial,
    sans-serif;
  margin-top: 8px;
  color: var(--accent);
}
.rs-comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.rs-comment-form > * {
  grid-column: 1/-1;
  margin: 0;
  min-width: 0;
}
.rs-comment-form .comment-form-author,
.rs-comment-form .comment-form-email {
  grid-column: auto;
}
.rs-comment-form .comment-notes,
.rs-comment-form .logged-in-as {
  font-size: 12px;
  line-height: 1.6;
  color: #526574;
  margin-bottom: 2px;
}
.rs-comment-form p > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 7px;
}
.rs-site
  .rs-comment-form
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.rs-site .rs-comment-form textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #b7c6d2;
  border-radius: 4px;
  background: white;
}
.rs-comment-form textarea {
  height: 150px;
  min-height: 120px;
  resize: vertical;
}
.rs-comment-form input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px !important;
  height: 17px !important;
  margin: 3px 10px 0 0;
  accent-color: var(--accent);
}
.rs-comment-form p:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.6;
}
.rs-comment-form p:has(input[type="checkbox"]) > label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}
.rs-comment-form .comment-form-cookies-consent {
  padding-top: 4px;
}
.rs-comment-form .form-submit {
  padding-top: 4px;
}
.rs-comment-form .form-submit input {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 13px;
}
.rs-comment-form a {
  color: var(--accent);
}
.rs-related .rs-related-video {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}
.rs-related-image {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: #dfe4e8;
}
.rs-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-related-image > span {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: white;
  color: var(--ink);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.rs-related-video .rs-meta {
  margin: 0 0 7px;
  font-size: 10px;
}
.rs-related-video h3 {
  font-size: 15px;
  line-height: 1.4;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .rs-related .rs-related-video {
    grid-template-columns: 1fr;
  }
  .rs-related-image {
    max-width: 180px;
  }
}
@media (max-width: 700px) {
  .rs-comments {
    padding-top: 25px;
  }
  .rs-comments .comment-respond {
    padding: 20px 16px;
  }
  .rs-comments-title,
  .rs-comments .comment-reply-title {
    font-size: 25px;
  }
  .rs-comment-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rs-comment-form .comment-form-author,
  .rs-comment-form .comment-form-email {
    grid-column: 1/-1;
  }
  .rs-comment-list .children {
    margin-left: 10px;
    padding-left: 12px;
  }
  .rs-related .rs-related-video {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

/* Restore the approved hero proportions at the original breakpoints. */
@media (min-width: 701px) and (max-width: 1000px) {
  .rs-hero-inner {
    min-height: 465px;
  }
  .rs-hero h1 {
    font-size: 50px;
  }
  .rs-hero-actions {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .rs-hero-inner {
    width: 100%;
  }
  .rs-hero-copy {
    padding: 28px 6% 15px;
  }
  .rs-hero-description {
    max-width: 390px;
    line-height: 1.7;
  }
  .rs-hero-actions {
    margin-top: 20px;
    gap: 24px;
    flex-wrap: wrap;
  }
  .rs-hero-actions .rs-button {
    font-size: 12px;
    padding: 12px 16px;
  }
  .rs-hero-actions .rs-link {
    font-size: 12px;
  }
}
/* Same checkbox geometry across WordPress, MailPoet and Jetpack, regardless of native appearance. */
.rs-comments .rs-comment-form p:has(> input[type="checkbox"]) {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}
.rs-comments .rs-comment-form input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  box-sizing: border-box;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid #72818d;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}
.rs-comments .rs-comment-form input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100%;
}
.rs-comments .rs-comment-form p:has(> input[type="checkbox"]) > label {
  margin: 0;
  padding: 0;
  line-height: 20px;
  font-size: 12px;
  font-weight: 400;
}
@media (forced-colors: active) {
  .rs-comments .rs-comment-form input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
  }
}

/* Quiet navigation states and personal wordmark; same header height and grid. */
.rs-header .rs-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}
.rs-brand-name {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1.2px;
}
.rs-brand-first {
  font-weight: 400;
  color: #263e4c;
}
.rs-brand-last {
  font-weight: 750;
  color: #35576b;
}
.rs-header .rs-menu {
  gap: 10px;
}
.rs-header .rs-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 5px;
  color: #3c515f;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.rs-header .rs-menu a:hover {
  background: #edf2f5;
  color: #17394d;
}
.rs-header .rs-menu .current-menu-item > a {
  background: #e6eef3;
  color: #17394d;
}
.rs-site .rs-button:hover,
.rs-site button[type="submit"]:hover,
.rs-site input[type="submit"]:hover {
  background: #2b5269;
  color: white;
}
.rs-journey-shell {
  background: #eef2f4;
}
.rs-journey-shell .rs-journey-restored {
  border-top: 0;
}
@media (max-width: 1100px) {
  .rs-header .rs-menu {
    justify-content: space-between;
    gap: 4px;
  }
  .rs-header .rs-menu a {
    padding: 7px 8px;
  }
}
@media (max-width: 700px) {
  .rs-brand-name {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .rs-header .rs-menu {
    justify-content: flex-start;
    gap: 4px 8px;
  }
  .rs-header .rs-menu a {
    padding: 6px 8px;
  }
}

/* Original-source cartouche: one location before the introduction, independent of format. */
.rs-article-main > .cabinet-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid #e0ded6;
  border-left: 4px solid #b89b56;
  border-radius: 6px;
  background: #f7f6f1;
  line-height: 1.5;
}
.cabinet-source__label {
  font-size: 12px;
  color: #61717d;
  letter-spacing: 0.025em;
}
.cabinet-source__label strong {
  color: var(--ink);
  font-weight: 700;
}
.rs-site .cabinet-source__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 4px;
  background: #173e55;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
}
.rs-site .cabinet-source__btn:hover {
  background: #2b5269;
  color: #fff;
}
@media (max-width: 1000px) {
  .rs-article-main > .cabinet-source {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .rs-article-main > .cabinet-source {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    margin-bottom: 22px;
  }
  .cabinet-source__label {
    font-size: 12px;
  }
  .rs-site .cabinet-source__btn {
    min-height: 44px;
  }
}
/* Interior mastheads echo the homepage's photographic depth through soft light. */
.rs-section-banner {
  background-color: #0b1923;
  background-image:
    radial-gradient(
      ellipse at 84% 10%,
      rgba(106, 148, 172, 0.27) 0%,
      rgba(62, 103, 129, 0.13) 38%,
      transparent 67%
    ),
    linear-gradient(110deg, #0b1923 0%, #102633 48%, #254656 100%);
}

/* Shared interaction palette: editorial links and every primary action. */
.rs-prose a:not(.wp-element-button),
.rs-contact-card a {
  color: #35586b;
  text-decoration-color: #a5b6bf;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 0.15s,
    text-decoration-color 0.15s;
}
.rs-prose a:not(.wp-element-button):hover,
.rs-contact-card a:hover {
  color: #172c3b;
  text-decoration-color: currentColor;
}
.rs-site .rs-button,
.rs-site button[type="submit"],
.rs-site input[type="submit"],
.rs-site .wp-element-button,
.rs-site .cabinet-source__btn {
  background: #35586b;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.rs-site .rs-button:hover,
.rs-site button[type="submit"]:hover,
.rs-site input[type="submit"]:hover,
.rs-site .wp-element-button:hover,
.rs-site .cabinet-source__btn:hover {
  background: #244354;
  color: #fff;
}
.rs-hero-actions .rs-button {
  background: #dce7ed;
  color: #173647;
}
.rs-hero-actions .rs-button:hover {
  background: #fff;
  color: #173647;
}
/* One compact header row; the disclosed menu remains in document flow. */
.rs-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.rs-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd6dd;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.rs-menu-icon {
  position: relative;
  width: 17px;
  height: 12px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.rs-menu-icon:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  border-top: 1.5px solid currentColor;
}
.rs-menu-toggle[aria-expanded="true"] .rs-menu-icon {
  border: 0;
}
.rs-menu-toggle[aria-expanded="true"] .rs-menu-icon:before,
.rs-menu-toggle[aria-expanded="true"] .rs-menu-icon:after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 17px;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.rs-menu-toggle[aria-expanded="true"] .rs-menu-icon:after {
  transform: rotate(-45deg);
}
.rs-header [hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .rs-header {
    min-height: 76px;
    padding-block: 14px;
    gap: 0 16px;
  }
  .rs-menu-toggle:not([hidden]) {
    display: inline-flex;
  }
  .rs-header nav {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 14px;
    padding: 12px 0 8px;
  }
  .rs-header .rs-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .rs-header .rs-menu a {
    min-height: 46px;
    padding: 11px 12px;
    font-size: 16px;
  }
  .rs-header nav > .rs-button {
    align-self: flex-start;
    min-height: 44px;
    margin-left: 12px;
  }
  .rs-header .rs-menu li + li {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 360px) {
  .rs-brand-name {
    font-size: 25px;
  }
  .rs-header {
    gap: 0 10px;
  }
}

/* Text-first X archive: dates, readable summaries and a clear reading action. */
.rs-post-list {
  max-width: 1000px;
}
.rs-post-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.rs-post-row:first-child {
  padding-top: 8px;
}
.rs-post-row > time {
  font-size: 13px;
  color: var(--muted);
  padding-top: 5px;
}
.rs-post-row h2 {
  font-size: 25px;
  line-height: 1.35;
  max-width: 780px;
}
.rs-post-row p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
  max-width: 720px;
}
.rs-post-row .rs-link,
.rs-related > .rs-link {
  font-size: 14px;
  min-height: 44px;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .rs-post-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 23px 0;
  }
  .rs-post-row h2 {
    font-size: 22px;
  }
  .rs-post-row p {
    font-size: 15px;
  }
  .rs-post-row > time {
    padding: 0;
  }
}

/* Social profiles are shared across every template and editable in Customizer. */
.rs-social {
  border-bottom: 1px solid #ffffff26;
  padding-block: 22px 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.rs-social p {
  font-size: 13px;
  color: #c3d0d9;
}
.rs-social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rs-social a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  color: #fff;
  border-bottom: 1px solid transparent;
}
.rs-social a:hover {
  color: #fff;
  border-bottom-color: #a5b6bf;
}
.rs-social a span {
  color: #b4c9d5;
}
@media (max-width: 700px) {
  .rs-social {
    display: block;
  }
  .rs-social p {
    margin-bottom: 12px;
  }
  .rs-social ul {
    gap: 4px 24px;
  }
}

.rs-footer a:hover,
.rs-footer .rs-menu .current-menu-item > a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
