/* Rédaction: a growing collection of editorial paper cards. */
body.rj-index .rj { font-family: var(--rj-sans); font-weight: 400; font-style: normal; }
.rj-index .rj :where(h1,h2) { font-family: var(--rj-serif); font-weight: 400; font-style: normal; }
.rj-index .rj .rj-breadcrumbs { padding-top: 30px; font-size: 12px; }
/* The user's sculpture reference, reinterpreted as an editorial muse. */
.rj-index .rj-journal-header { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; gap: clamp(28px,4vw,58px); margin: 22px 0 44px; padding: 0; color: var(--rj-ink); }
.rj-index .rj-journal-header__copy { order: 2; min-width: 0; padding: 26px 8px 34px 0; }
.rj-index .rj-journal-header .rj-journal-header__label { margin: 0 0 22px; color: var(--rj-olive); font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.rj-index .rj-journal-header h1 { margin: 0 0 26px; color: var(--rj-olive); font-size: clamp(64px,5.8vw,84px); line-height: .98; letter-spacing: -.033em; }
.rj-index .rj-journal-header h1 span { display: block; }
.rj-index .rj-journal-header h1 span + span { margin: 0; }
.rj-index .rj-journal-header .rj-journal-header__intro { max-width: 405px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--rj-ink); }
.rj-index .rj-journal-header__link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; margin-top: 28px; padding: 10px 24px; border: 1px solid var(--rj-olive); border-radius: 999px; color: var(--rj-olive); font-size: 13px; line-height: 1.4; text-decoration: none; transition: background .2s ease, color .2s ease; }
.rj-index .rj-journal-header__link:focus-visible { outline-color: var(--rj-olive); }
.rj-index .rj-journal-header__link:hover { background: var(--rj-olive); color: var(--rj-paper); text-decoration: none; }
.rj-index .rj-journal-header__link svg { transition: transform .25s ease; }
.rj-index .rj-journal-header__link:hover svg { transform: translateY(3px); }
.rj-index .rj-journal-header__visual { order: 1; position: relative; width: 100%; margin: 0; }
.rj-index .rj-journal-header__visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: brightness(1.012); mask-image: linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 100%); mask-composite: intersect; }
.rj-index #rj-articles { scroll-margin-top: 100px; }
.rj-index .rj .rj-toolbar { padding: 0; margin: 0 0 32px; gap: 16px 32px; border: 0; }
.rj-index .rj .rj-toolbar[hidden] { display: none; }
.rj-index .rj .rj-filters { flex: 1 1 480px; gap: 4px 24px; }
.rj-index .rj .rj-filter { min-height: 44px; padding: 10px 0; border: 0; border-radius: 0; background: transparent; color: var(--rj-ink); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.rj-index .rj .rj-filter:hover,
.rj-index .rj .rj-filter[aria-current="page"] { color: var(--rj-olive); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; background: transparent; border: 0; }
.rj-index .rj .rj-search { flex: 0 1 248px; width: 248px; gap: 8px; padding-left: 14px; border: 1px solid rgba(96,111,78,.2); border-radius: 4px; background: rgba(255,255,255,.55); }
.rj-index .rj .rj-search input { font-size: 14px; color: var(--rj-ink); }
.rj-index .rj .rj-search button { border-radius: 0; }
.rj-index .rj .rj-search button:hover { background: transparent; }
.rj-index .rj-story-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 28px; align-items: stretch; }
.rj-index .rj-story { min-width: 0; display: flex; }
.rj-index .rj-story__link { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 14px; border-radius: 5px 5px 34px 5px; background: #fff; color: inherit; text-decoration: none; transition: transform .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s ease; }
.rj-index .rj-story__media { position: relative; overflow: hidden; flex-shrink: 0; width: 100%; aspect-ratio: 3/2; border-radius: 3px; background: #e9e4d9; }
.rj-index .rj-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 550ms cubic-bezier(.2,.7,.2,1); }
.rj-index .rj-story__media--empty { display: flex; align-items: center; justify-content: center; background: #e9ece3; color: var(--rj-olive); }
.rj-index .rj-story__media--empty span { font-family: var(--rj-serif); font-size: clamp(36px,4vw,54px); font-weight: 400; }
.rj-index .rj-story__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 23px 12px 14px; }
.rj-index .rj-story__meta { margin-bottom: 13px; font-size: 12px; line-height: 1.5; color: var(--rj-ink); }
.rj-index .rj .rj-story__title { margin: 0; font-size: clamp(30px,2.4vw,35px); line-height: 1.12; letter-spacing: -.018em; overflow-wrap: anywhere; text-wrap: pretty; }
.rj-index .rj-story__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 17px; color: var(--rj-ink); font-size: 15px; line-height: 1.65; }
.rj-index .rj-story__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-top: auto; padding-top: 28px; color: var(--rj-ink); font-size: 12px; line-height: 1.5; }
.rj-index .rj-story__footer > * { white-space: nowrap; }
.rj-index .rj-story__link:focus-visible { outline: 2px solid var(--rj-olive); outline-offset: 5px; }
.rj-index .rj-story__link:focus-visible { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(64,74,54,.1), 0 0 0 1px rgba(96,111,78,.15); }
.rj-index .rj-story__link:focus-visible .rj-story__media img { transform: scale(1.04); }
.rj-index .rj .rj-story__title { transition: color .3s ease; }
.rj-index .rj-story__link:focus-visible .rj-story__title { color: var(--rj-ink); }
.rj-index .rj-journal-header__visual img { transition: transform .8s cubic-bezier(.2,.75,.2,1); transform-origin: 50% 85%; }
.rj-index .rj-journal-header__link:focus-visible { background: var(--rj-olive); color: var(--rj-paper); }
.rj-index .rj .rj-pagination a { transition: transform .25s ease, background .25s ease; }
.rj-index .rj .rj-pagination a:focus-visible { transform: translateY(-2px); background: #e9ece3; }
.rj-index .rj .rj-empty h2 { font-weight: 400; }
.rj-index .rj .rj-pagination .page-numbers { border: 0; border-radius: 0; background: transparent; color: var(--rj-olive); }
.rj-index .rj .rj-pagination .page-numbers.current { text-decoration: underline; text-underline-offset: 6px; }
@media (hover:hover) and (pointer:fine) {
  .rj-index .rj-story__link:hover { text-decoration: none; transform: translateY(-5px); box-shadow: 0 16px 34px rgba(64,74,54,.1), 0 0 0 1px rgba(96,111,78,.15); }
  .rj-index .rj-story__link:hover .rj-story__media img { transform: scale(1.04); }
  .rj-index .rj-story__link:hover .rj-story__title { color: var(--rj-ink); }
  .rj-index .rj-journal-header__visual:hover img { transform: translateY(-3px) rotate(-.45deg) scale(1.012); }
  .rj-index .rj .rj-pagination a:hover { transform: translateY(-2px); background: #e9ece3; }
}
@media (max-width:1100px) {
  .rj-index .rj-story-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; }
  .rj-index .rj .rj-story__title { font-size: 33px; }
  .rj-index .rj-journal-header { gap: 28px; }
  .rj-index .rj-journal-header__copy { padding: 20px 0; }
  .rj-index .rj-journal-header h1 { font-size: clamp(48px,5.8vw,64px); }
  .rj-index .rj-journal-header .rj-journal-header__intro { font-size: 14px; }
  .rj-index .rj .rj-filters { flex-basis: 350px; gap: 4px 20px; }
  .rj-index .rj .rj-filter { font-size: 13px; }
  .rj-index .rj .rj-search { flex-basis: 215px; }
}
@media (max-width:700px) {
  .rj-index .rj .rj-breadcrumbs { padding-top: 22px; font-size: 11px; }
  .rj-index .rj-journal-header { grid-template-columns: 1fr; gap: 24px; margin: 26px 0 30px; padding: 0; }
  .rj-index .rj-journal-header__copy { order: 1; padding: 0; }
  .rj-index .rj-journal-header .rj-journal-header__label { margin-bottom: 18px; font-size: 10px; }
  .rj-index .rj-journal-header h1 { margin-bottom: 20px; font-size: clamp(40px,11.8vw,68px); line-height: 1; }
  .rj-index .rj-journal-header h1 span + span { margin: 0; }
  .rj-index .rj-journal-header .rj-journal-header__intro { font-size: 14px; }
  .rj-index .rj-journal-header__link { margin-top: 20px; min-height: 46px; font-size: 12px; }
  .rj-index .rj-journal-header__visual { order: 2; justify-self: center; width: min(100%,340px); margin: 0; }
  .rj-index .rj .rj-toolbar { gap: 12px; margin-bottom: 24px; }
  .rj-index .rj .rj-filters { flex-basis: 100%; gap: 4px 20px; }
  .rj-index .rj .rj-filter { font-size: 12px; }
  .rj-index .rj .rj-search { flex: 1 1 100%; width: 100%; }
  .rj-index .rj .rj-search input { font-size: 16px; }
  .rj-index .rj-story-list { grid-template-columns: 1fr; gap: 24px; }
  .rj-index .rj-story__link { padding: 12px; border-bottom-right-radius: 30px; }
  .rj-index .rj-story__body { padding: 20px 10px 12px; }
  .rj-index .rj .rj-story__title { font-size: clamp(29px,7.7vw,35px); line-height: 1.13; }
  .rj-index .rj-story__excerpt { margin-top: 15px; font-size: 15px; }
  .rj-index .rj-story__footer { padding-top: 24px; }
}
@media (prefers-reduced-motion:reduce) {
  .rj-index .rj-journal-header__link svg,
  .rj-index .rj-journal-header__link:hover svg { transition: none; transform: none; }
  .rj-index .rj-story__media img,
  .rj-index .rj-story__link:hover .rj-story__media img,
  .rj-index .rj-story__link:focus-visible .rj-story__media img { transform: none; transition: none; }
  .rj-index .rj-journal-header__visual:hover img,
  .rj-index .rj-story__link:hover,
  .rj-index .rj-story__link:focus-visible,
  .rj-index .rj .rj-pagination a:hover,
  .rj-index .rj .rj-pagination a:focus-visible { transform: none; transition: none; }
}
@media (prefers-reduced-motion:no-preference) {
  /* Only JS adds this after creating the observer; no-JS HTML stays visible. */
  .rj-index .rj-pending { opacity: 0; }
}
@media print {
  .rj-index .rj-pending { opacity: 1 !important; }
  .rj-index .rj-story { break-inside: avoid; }
  .rj-index .rj-story__excerpt { display: block; overflow: visible; }
}
