/*
Theme Name: Riviera Jazz Club
Theme URI: https://rivierajazzclub.com/
Author: Riviera Jazz Club
Description: Thème éditorial indépendant de Riviera Jazz Club.
Version: 0.1.0
Requires at least: 6.8
Requires PHP: 8.2
Text Domain: rjc
*/

:root {
  --rjc-ink: #171719;
  --rjc-paper: #f5f0e7;
  --rjc-white: #fff;
  --rjc-gold: #b7954b;
  --rjc-red: #8f1d25;
  --rjc-muted: #68636a;
  --rjc-width: 1240px;
  --rjc-radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rjc-ink);
  background: var(--rjc-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rjc-shell { width: min(calc(100% - 2rem), var(--rjc-width)); margin-inline: auto; }
.rjc-daily-note { padding-block: .65rem; color: #eee9df; background: var(--rjc-ink); font-family: Georgia, serif; font-size: .92rem; text-align: center; }
.site-header { border-bottom: 1px solid #ded9d0; background: rgba(255,255,255,.97); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 2rem; }
.site-brand { font-family: Georgia, serif; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.rjc-hero { min-height: 66vh; display: grid; align-items: center; color: var(--rjc-white); background: radial-gradient(circle at 80% 25%, #3d3032 0, transparent 36%), var(--rjc-ink); }
.rjc-hero__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.rjc-hero__content { max-width: 850px; padding-block: clamp(5rem, 12vw, 10rem) clamp(3rem, 8vw, 7rem); }
.rjc-kicker { color: var(--rjc-gold); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rjc-hero h1, .rjc-section h2 { margin: .2em 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.05; }
.rjc-hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 8vw, 6.8rem); }
.rjc-hero p { max-width: 50ch; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.rjc-hero__mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 68px); gap: .65rem; padding-block: 3rem; }
.rjc-hero__mosaic a { overflow: hidden; background: #292426; }
.rjc-hero__mosaic a:nth-child(1) { grid-area: 1 / 1 / 5 / 4; }
.rjc-hero__mosaic a:nth-child(2) { grid-area: 1 / 4 / 4 / 7; }
.rjc-hero__mosaic a:nth-child(3) { grid-area: 5 / 1 / 7 / 3; }
.rjc-hero__mosaic a:nth-child(4) { grid-area: 5 / 3 / 7 / 5; }
.rjc-hero__mosaic a:nth-child(5) { grid-area: 4 / 4 / 7 / 7; }
.rjc-hero__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rjc-hero__mosaic a:hover img { transform: scale(1.035); }
.rjc-button { display: inline-block; padding: .78rem 1.1rem; border: 1px solid currentColor; color: var(--rjc-white); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.rjc-button--dark { color: var(--rjc-ink); }
.rjc-section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.rjc-section--paper { background: var(--rjc-paper); }
.rjc-section__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.rjc-section h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); }
.rjc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 3vw, 2rem); }
.rjc-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rjc-card { display: flex; flex-direction: column; min-height: 100%; border-top: 3px solid var(--rjc-gold); background: var(--rjc-white); }
.rjc-card__body { padding: 1.3rem; }
.rjc-card h3 { margin: 0 0 .55rem; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.2; }
.rjc-card a { text-decoration: none; }
.rjc-meta { color: var(--rjc-muted); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rjc-notice { margin-top: 1.8rem; color: var(--rjc-muted); font-size: .85rem; }
.rjc-section--ink { color: var(--rjc-white); background: var(--rjc-ink); }
.rjc-section--ink p { color: #d6d0c6; }
.rjc-photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rjc-photo-strip a { display: block; color: var(--rjc-white); text-decoration: none; }
.rjc-photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.15); }
.rjc-photo-strip strong { display: block; padding-top: .6rem; font-family: Georgia, serif; line-height: 1.25; }
.rjc-radio-home { color: var(--rjc-white); background: var(--rjc-red); }
.rjc-radio-player { display: grid; grid-template-columns: 1fr minmax(280px, .65fr); align-items: center; gap: 1rem 3rem; }
.rjc-radio-player h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 5rem); }
.rjc-radio-player audio { width: 100%; }
.rjc-newsletter { padding-block: clamp(4rem, 8vw, 8rem); color: var(--rjc-white); text-align: center; background: linear-gradient(130deg, #151517, #3d3032); }
.rjc-newsletter h2 { max-width: 18ch; margin: .25em auto .75em; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1.08; }
.rjc-content-layout { max-width: 940px; }
.rjc-article__header h1, main > .rjc-shell > h1 { margin: .1em 0 .35em; font-family: Georgia, serif; font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: 1.06; }
.rjc-lead { color: #49454a; font-family: Georgia, serif; font-size: clamp(1.15rem, 2.3vw, 1.55rem); line-height: 1.55; }
.rjc-featured { margin: 2.5rem 0; }
.rjc-featured img { width: 100%; }
.rjc-prose { max-width: 760px; font-family: Georgia, serif; font-size: 1.12rem; }
.rjc-prose > * + * { margin-top: 1.35em; }
.rjc-prose h2, .rjc-prose h3 { font-family: Georgia, serif; line-height: 1.2; }
.rjc-prose a { color: var(--rjc-red); }
.rjc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; margin: 2rem 0; padding: 1.3rem; border-block: 1px solid #d8d2c8; background: var(--rjc-paper); }
.rjc-fact dt { color: var(--rjc-muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rjc-fact dd { margin: .2rem 0 0; }
.site-footer { padding-block: 3rem; color: #d8d3ca; background: var(--rjc-ink); }
.site-footer a { color: var(--rjc-white); }

@media (max-width: 850px) {
  .site-header__row { align-items: flex-start; flex-direction: column; padding-block: 1.2rem; }
  .site-nav ul { gap: .8rem 1rem; }
  .rjc-hero__layout { grid-template-columns: 1fr; }
  .rjc-hero__content { padding-bottom: 1rem; }
  .rjc-hero__mosaic { padding-top: 0; }
  .rjc-grid, .rjc-grid--four { grid-template-columns: 1fr; }
  .rjc-photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rjc-radio-player { grid-template-columns: 1fr; }
  .rjc-facts { grid-template-columns: 1fr; }
  .rjc-section__head { align-items: flex-start; flex-direction: column; }
}

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