/* The Rideau Review — design system (rideau template, brand build Sep 2026).
   From the owner's brand package: Rideau crimson #6B1C28 (deliberately NOT
   Globe scarlet #C4122F), warm paper ground #FBF9F6, one crimson rule under
   the nav, the lock-and-leaf mark before the nameplate and beside rail
   titles, outlined subscribe (solid crimson only in promo wells).
   Type: Playfair Display nameplate, Libre Baskerville headlines, Source
   Sans 3 interface — all three declared in fonts.css from /assets/fonts. */
@import url('/assets/css/fonts.css');

/* Playfair Display is vendored network-wide but declared per-paper
   (fonts.css does not carry it) — every stylesheet that NAMES it must
   declare it, or the nameplate silently paints in a system serif. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-italic-latin.woff2') format('woff2');
}

.t-rideau {
  --rr-red: #6B1C28;
  --rr-reddark: #4E121B;
  --rr-ink: #111111;
  --rr-text: #1A1A1A;
  --rr-muted: #5C5C5C;
  --rr-line: #D6D6D6;
  --rr-bg: #FBF9F6;
  --rr-wash: #F1ECE4;
  --rr-serif: 'Libre Baskerville', Georgia, serif;
  --rr-display: 'Playfair Display', 'Times New Roman', serif;
  --rr-sans: 'Source Sans 3', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --rr-max: 1180px;
}

body.t-rideau {
  margin: 0;
  background: var(--rr-bg);
  color: var(--rr-text);
  font-family: var(--rr-sans);
  font-size: 16px;
  line-height: 1.5;
}
.t-rideau a { color: inherit; text-decoration: none; }
.t-rideau img { max-width: 100%; display: block; }
.t-rideau .rr-wrap { width: min(var(--rr-max), calc(100% - 40px)); margin: 0 auto; }

/* ---- utility strip ---- */
.rr-util {
  border-bottom: 1px solid var(--rr-line);
  font-size: 12.5px;
  color: var(--rr-muted);
}
.rr-util .in {
  width: min(var(--rr-max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}
.rr-util a { color: var(--rr-muted); }
.rr-util a:hover { color: var(--rr-red); }
.rr-util .sep { margin: 0 7px; color: var(--rr-line); }

/* ---- masthead ---- */
.rr-header { background: var(--rr-bg); }
.rr-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 16px;
}
.rr-tools { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--rr-muted); }
.rr-tools.right { justify-content: flex-end; }
.rr-nameplate {
  font-family: var(--rr-display);
  font-weight: 700;
  font-size: clamp(20px, 3.2vw, 36px);
  letter-spacing: 0.02em;
  color: var(--rr-red);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  text-transform: uppercase;
}
.rr-nameplate .lock-mark { width: 0.62em; height: 0.84em; display: block; flex: none; }
.rr-tag {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rr-muted);
  margin: 6px 0 2px;
}
.rr-btn-sub {
  background: transparent;
  color: var(--rr-red);
  border: 1.5px solid var(--rr-red);
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  display: inline-block;
}
.rr-btn-sub:hover { background: var(--rr-red); color: #fff; }

/* ---- nav: active crimson underline, then ONE crimson rule ---- */
.rr-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 22px;
  padding: 0 0 2px;
  font-size: 15px;
  border-top: 1px solid var(--rr-line);
}
.rr-nav a { padding: 12px 0 10px; border-bottom: 3px solid transparent; color: var(--rr-ink); }
.rr-nav a:hover { color: var(--rr-red); }
.rr-nav a[aria-current="page"] { border-bottom-color: var(--rr-red); font-weight: 600; }
.rr-rule { border: 0; border-bottom: 3px solid var(--rr-red); height: 0; margin: 0; }

/* ---- front page ---- */
.rr-home {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 36px;
  padding: 28px 0 12px;
}
.rr-lead {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(240px, 1.1fr);
  gap: 22px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rr-line);
  align-items: start;
}
.rr-lead.noart { grid-template-columns: 1fr; }
.rr-lead h2 {
  font-family: var(--rr-serif);
  font-weight: 700;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--rr-ink);
}
.rr-lead h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rr-dek { font-size: 16px; color: #333; margin: 0 0 12px; line-height: 1.45; }
.rr-byline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rr-ink);
  margin: 0 0 14px;
}
.rr-meta { display: flex; align-items: center; justify-content: space-between; color: var(--rr-muted); font-size: 13px; }
.rr-lead img { width: 100%; height: 250px; object-fit: cover; border-radius: 2px; }

.rr-story { padding: 16px 0; border-bottom: 1px solid var(--rr-line); }
.rr-story h3 { font-family: var(--rr-serif); font-weight: 700; font-size: 20px; line-height: 1.25; margin: 8px 0 12px; }
.rr-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rr-red);
  margin-bottom: 4px;
}
.rr-badge {
  display: inline-block;
  background: var(--rr-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  text-transform: uppercase;
}

/* the lock mark replaces the red pipe beside rail titles */
.rr-railhead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rr-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--rr-ink);
}
.rr-railhead::before {
  content: "";
  width: 14px;
  height: 18px;
  background-color: var(--rr-red);
  display: inline-block;
  mask: url('/assets/sites/rideau-review/mark.svg') center / contain no-repeat;
  -webkit-mask: url('/assets/sites/rideau-review/mark.svg') center / contain no-repeat;
}
.rr-railitem { display: grid; grid-template-columns: 1fr 88px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rr-line); }
.rr-railitem.noart { grid-template-columns: 1fr; }
.rr-railitem h3 { font-family: var(--rr-serif); font-weight: 700; font-size: 16px; line-height: 1.28; margin: 0 0 8px; }
.rr-railitem img { width: 88px; height: 66px; object-fit: cover; border-radius: 2px; }

/* ---- "Across the region" desk band ---- */
.rr-pack { padding: 8px 0 36px; }
.rr-packtitle {
  font-family: var(--rr-serif);
  font-size: 26px;
  font-weight: 700;
  margin: 18px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rr-ink);
}
.rr-packtitle::before {
  content: "";
  width: 14px;
  height: 18px;
  background-color: var(--rr-red);
  mask: url('/assets/sites/rideau-review/mark.svg') center / contain no-repeat;
  -webkit-mask: url('/assets/sites/rideau-review/mark.svg') center / contain no-repeat;
}
.rr-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rr-card { display: block; }
.rr-card img { width: 100%; height: 170px; object-fit: cover; margin-bottom: 10px; }
.rr-card h3 { font-family: var(--rr-serif); font-weight: 700; font-size: 18px; line-height: 1.25; margin: 0 0 8px; color: var(--rr-ink); }
.rr-card p { margin: 0; color: var(--rr-muted); font-size: 14px; }
.rr-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- promo well: the one place solid crimson is allowed ---- */
.rr-promo { display: grid; grid-template-columns: 1.1fr 1fr; margin: 12px 0 40px; min-height: 150px; }
.rr-promo-left { background: var(--rr-red); color: #fff; padding: 28px 32px; }
.rr-promo-left h2 { font-family: var(--rr-display); font-weight: 700; font-size: 36px; line-height: 0.95; margin: 0 0 8px; text-transform: uppercase; }
.rr-promo-left p { margin: 0; }
.rr-promo-right { background: var(--rr-wash); padding: 28px 32px; }
.rr-promo-right .place { font-family: var(--rr-serif); font-size: 22px; margin: 4px 0 8px; }
.rr-promo-right .tag { color: var(--rr-red); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.rr-promo-right p { color: var(--rr-text); font-size: 14px; }

/* ---- article ---- */
.rr-article { max-width: 720px; margin: 0 auto; padding: 28px 0 64px; }
.rr-article .rr-seclabel { color: var(--rr-red); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.rr-article h1 {
  font-family: var(--rr-serif);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--rr-ink);
}
.rr-article .rr-lede { font-size: 20px; color: #333; margin: 0 0 16px; line-height: 1.5; }
.rr-article figure { margin: 0 0 18px; }
.rr-article figure img { width: 100%; max-height: 480px; object-fit: cover; }
.rr-article figcaption { font-size: 13px; color: var(--rr-muted); padding-top: 6px; }
.rr-article .body p { font-size: 18px; margin: 0 0 1.05em; line-height: 1.6; }
.rr-article .body h2 { font-family: var(--rr-serif); font-size: 24px; margin: 1.5em 0 0.5em; }
.rr-article .body a { color: var(--rr-red); text-decoration: underline; text-underline-offset: 2px; }
.rr-article .body blockquote {
  font-family: var(--rr-serif);
  font-style: italic;
  font-size: 20px;
  margin: 1.4em 0;
  padding-left: 18px;
  border-left: 3px solid var(--rr-red);
  color: var(--rr-ink);
}
.rr-related { max-width: 720px; margin: 0 auto; padding-bottom: 48px; }

/* ---- section front ---- */
.rr-section { padding: 28px 0 48px; }
.rr-section > h1 { font-family: var(--rr-serif); font-weight: 400; font-size: 48px; margin: 8px 0 16px; color: var(--rr-ink); }
.rr-sectionrule { border: 0; border-bottom: 1px solid var(--rr-line); margin: 0 0 22px; }
.rr-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rr-line); align-items: start; }
.rr-row.noart { grid-template-columns: 1fr; }
.rr-row h3 { font-family: var(--rr-serif); font-weight: 700; font-size: 22px; line-height: 1.25; margin: 4px 0 8px; }
.rr-row img { width: 180px; height: 120px; object-fit: cover; border-radius: 2px; }
.rr-row p { margin: 0 0 8px; color: #333; font-size: 15px; }
.rr-more { margin-top: 22px; }

/* ---- empty state ---- */
.rr-empty {
  border: 1px solid var(--rr-line);
  background: #fff;
  padding: 36px 28px;
  font-family: var(--rr-serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--rr-ink);
}
.rr-empty a { color: var(--rr-red); text-decoration: underline; text-underline-offset: 2px; }

/* ---- footer ---- */
.rr-foot { background: var(--rr-ink); color: #cfcfcf; padding: 36px 0 20px; font-size: 14px; margin-top: 32px; }
.rr-foot .cols {
  width: min(var(--rr-max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 24px;
}
.rr-foot .rr-nameplate { display: inline-flex; color: #fff; font-size: 26px; margin: 0 0 8px; }
.rr-foot h4 { color: #fff; margin: 0 0 8px; font-size: 14px; }
.rr-foot a { color: #fff; display: block; margin: 6px 0; }
.rr-foot a:hover { color: var(--rr-wash); }
.rr-foot p { margin: 6px 0; }
.rr-foot .legal {
  width: min(var(--rr-max), calc(100% - 40px));
  margin: 24px auto 0;
  border-top: 1px solid #333;
  padding-top: 12px;
  font-size: 12px;
  color: #888;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .rr-top { min-height: 60px; }
  .rr-nameplate { font-size: 20px; }
  .rr-util .in { display: none; }
  .rr-home, .rr-lead, .rr-three, .rr-promo, .rr-foot .cols, .rr-row { grid-template-columns: 1fr; }
  .rr-lead img, .rr-row img { height: auto; width: 100%; }
  .rr-nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .rr-nav a { white-space: nowrap; }
}
