@font-face {
  font-family: 'Barlow Condensed';
  src: url('barlow-condensed-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.urh {
  --rh-accent: #ba1732;
  --rh-dark: #172621;
  --rh-paper: #f6f3ec;
  --rh-text: #212a25;
  --rh-heading: #172621;
  --rh-button: #a9172e;
  --rh-scale: 1;
  --rh-gap: 72px;
  --rh-rule: #d9d8cd;
  --rh-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  background: var(--rh-paper);
  color: var(--rh-text);
  font-size: calc(17px * var(--rh-scale));
  line-height: 1.65;
  isolation: isolate;
}
.urh *, .urh *::before, .urh *::after { box-sizing: border-box; }
.urh [hidden] { display: none !important; }
.urh :is(h1,h2,h3,h4,p,figure) { margin: 0; }
.urh :is(h1,h2,h3,h4) { color: var(--rh-heading); font-weight: 800; }
.urh[lang="en"] :is(h1,h2,h3,h4) { font-family: var(--rh-display); font-weight: 700; }
.urh a { color: inherit; text-decoration: none; }
.urh :is(button,a):focus-visible { outline: 3px solid #a81d39; outline-offset: 3px; }
.urh-wrap { width: min(100% - 88px, 1160px); margin-inline: auto; }
.urh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

.urh-hero { position: relative; display: grid; background: var(--rh-dark); color: #f7f2e7; min-height: 510px; }
.urh-hero.urh-with-photo .urh-hero-content { width: min(100%, 725px); }
.urh-hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 65px 50px 60px; padding-inline-start: max(44px, calc((100vw - 1160px)/2)); }
.urh-kicker { display: flex; gap: 11px; align-items: center; font-weight: 750; font-size: 14px; color: #e0d5b9; }
.urh-kicker::before { width: 25px; height: 2px; content: ''; background: #c7ae79; }
.urh[lang="en"] .urh-kicker { text-transform: uppercase; letter-spacing: .11em; }
.urh .urh-hero h1 { color: #fff9eb; font-size: clamp(39px, 5.2vw, calc(77px * var(--rh-scale))); line-height: 1.12; margin-block: 16px 15px; }
.urh[lang="en"] .urh-hero h1 { font-size: clamp(54px, 6.1vw, calc(94px * var(--rh-scale))); line-height: .92; max-width: 10ch; }
.urh-subtitle { font-size: calc(21px * var(--rh-scale)); font-weight: 750; color: #e8d7ac; }
.urh .urh-intro { color: #f1ede2; margin-top: 12px; max-width: 44ch; }
.urh .urh-button { margin-top: 25px; display: inline-flex; align-items: center; gap: 13px; padding: 10px 16px; background: var(--rh-button); color: #fff; font-weight: 750; }
.urh-button:hover { filter: brightness(1.13); }
.urh-hero-media { position: absolute; inset: 0; min-width: 0; }
.urh-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--rh-dark) 0%,var(--rh-dark) 18%,#172621ed 37%,#17262124 78%); }
.urh[dir="rtl"] .urh-hero-media::after { background: linear-gradient(270deg,var(--rh-dark) 0%,var(--rh-dark) 18%,#172621ed 37%,#17262124 78%); }
.urh-hero-media img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 53% 55%; }
.urh-hero-media figcaption { position: absolute; z-index: 1; inset-inline-end: 0; bottom: 0; color: white; background: linear-gradient(transparent,#121a17e8); padding: 38px 24px 13px; font-size: 13px; }

.urh-nav { background: #fffdf8; border-bottom: 1px solid var(--rh-rule); }
.urh-nav .urh-wrap { display: flex; align-items: center; gap: 8px 27px; flex-wrap: wrap; padding-block: 12px; }
.urh-nav a { font-size: 13px; font-weight: 750; }
.urh-nav a:hover { color: var(--rh-accent); text-decoration: underline; }
.urh-section { padding-block: var(--rh-gap); scroll-margin-top: 105px; }
.urh-section h2 { font-size: clamp(31px, 4.4vw, calc(54px * var(--rh-scale))); line-height: 1.12; margin-bottom: 24px; }
.urh[lang="ar"] .urh-section h2 { font-size: clamp(27px, 3.65vw, calc(46px * var(--rh-scale))); }
.urh-entry h3, .urh-entry h4 { font-size: calc(23px * var(--rh-scale)); line-height: 1.3; margin-bottom: 7px; }
.urh-entry p + p { margin-top: 11px; }
.urh-period { display: inline-block; color: var(--rh-accent); font-weight: 750; font-size: 14px; margin-bottom: 7px; }
.urh-entry .urh-lead { font-weight: 750; }
.urh .urh-link { display: inline-flex; gap: 5px; color: var(--rh-accent); font-size: 13px; font-weight: 750; margin-top: 12px; margin-inline-end: 14px; }
.urh .urh-link:hover { text-decoration: underline; }
.urh-entry-photo img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.urh-stats { padding-block: calc(var(--rh-gap) * .42); }
.urh-stats .urh-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-block: 1px solid var(--rh-rule); }
.urh-stats .urh-entry { padding: 16px; border-inline-end: 1px solid var(--rh-rule); }
.urh-stats .urh-entry:last-child { border-inline-end: 0; }
.urh-stats .urh-period, .urh-year-heading { font-family: var(--rh-display); font-size: calc(47px * var(--rh-scale)); line-height: 1; }
.urh-stats .urh-entry h3 { font-family: inherit; font-size: calc(15px * var(--rh-scale)); margin: 0; }
.urh-events { background: #fffdf8; padding-block: calc(var(--rh-gap) * .75); }
.urh-years { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.urh-years button { color: var(--rh-heading); background: transparent; border: 1px solid var(--rh-rule); padding: 6px 12px; font-family: var(--rh-display); font-size: 20px; cursor: pointer; }
.urh-years button:hover { border-color: var(--rh-accent); }
.urh-years button[aria-pressed="true"] { color: #fff; background: var(--rh-button); border-color: var(--rh-button); }
.urh-year-panel { border-inline-start: 4px solid var(--rh-accent); background: var(--rh-paper); padding: 19px 23px; }
.urh-year-panel + .urh-year-panel { margin-top: 11px; }
.urh-year-heading { display: inline-block; color: var(--rh-accent); }
.urh-year-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,285px),1fr)); gap: 10px 27px; margin-top: 12px; }
.urh-year-events .urh-illustrated { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); align-items: start; gap: 20px; }
.urh-year-events .urh-entry-photo { order: 2; }

.urh-chapter-list { display: grid; gap: 20px; }
.urh-chapter { display: grid; gap: clamp(17px,2.4vw,28px); padding: clamp(20px,3.5vw,43px); background: #fffdf8; border: 1px solid var(--rh-rule); border-radius: 12px; }
.urh-chapter-heading { grid-area: heading; }
.urh-chapter-heading .urh-period { border-bottom: 2px solid #c7ae79; padding-bottom: 4px; margin-bottom: 10px; }
.urh-chapter-heading h3 { font-size: clamp(24px,3.4vw,calc(39px * var(--rh-scale))); line-height: 1.25; }
.urh-chapter-copy { grid-area: copy; max-width: 74ch; min-width: 0; line-height: 1.85; }
.urh-chapter-copy p + p { margin-top: 13px; }
.urh-chapter-photos { grid-area: photos; }
.urh-chapter-side { grid-template: 'heading heading' auto 'photos copy' auto / minmax(175px, .28fr) minmax(0, 1fr); align-items: center; }
.urh-chapter-strip { grid-template-areas: 'heading' 'photos' 'copy'; }
.urh-chapter-text { grid-template-areas: 'heading' 'copy'; gap: 13px; }
.urh-chapter-links { display: flex; align-items: start; flex-wrap: wrap; gap: 4px 18px; }
.urh-chapter-links .urh-link { margin-inline-end: 0; }
.urh-honours, .urh-sources { background: #fffdf8; }
.urh-honours .urh-list, .urh-people .urh-list, .urh-sources .urh-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,277px),1fr)); gap: 12px; }
.urh-honours .urh-entry, .urh-people .urh-entry, .urh-sources .urh-entry { background: var(--rh-paper); border-top: 2px solid var(--rh-accent); padding: 18px; }
.urh-people .urh-entry { background: #fffdf8; }
.urh-sources .urh-entry { border-top: 1px solid var(--rh-rule); }
.urh-people .urh-entry-photo { margin-bottom: 14px; }

.urh-photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 220px),1fr)); gap: 14px; min-width: 0; }
.urh-gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.urh-photos figure { min-width: 0; background: #f8f5ed; border-radius: 9px; border: 1px solid var(--rh-rule); }
.urh-photos figure > a { display: block; border-radius: 8px 8px 0 0; overflow: hidden; background: #e9e5da; }
.urh-photos img { display: block; width: 100%; aspect-ratio: 8/5; object-fit: cover; }
.urh-photos .urh-portrait img { object-fit: contain; }
.urh-chapter-side .urh-photos { grid-template-columns: minmax(0,1fr); }
.urh-chapter-side .urh-portrait img { aspect-ratio: 5/6; }
.urh-photos figcaption { padding: 11px 13px; display: grid; justify-items: start; align-content: start; gap: 2px; font-size: 14px; line-height: 1.45; }
.urh-photo-year { font-size: 12px; color: var(--rh-accent); font-weight: 750; }
.urh-photo-credit { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 12px; }
.urh-photo-credit a { text-decoration: underline; }
.urh-photos figcaption .urh-link { margin: 3px 0 0; }
.urh-photo-dialog { border: 0; padding: 13px; width: min(94vw, 1000px); background: #fffdf8; color: #172621; max-height: 93vh; }
.urh-photo-dialog::backdrop { background: #0d1513d9; }
.urh-photo-dialog button { display: block; margin-inline-start: auto; border: 0; background: var(--rh-button); color: #fff; font-size: 23px; line-height: 1; padding: 4px 10px; margin-bottom: 8px; cursor: pointer; }
.urh-photo-dialog img { display: block; max-width: 100%; max-height: 72vh; margin-inline: auto; }
.urh-photo-dialog p { text-align: center; padding-top: 8px; }

@media(max-width:1000px) {
  .urh-wrap { width: min(100% - 46px,1160px); }
  .urh-hero-content { padding-inline: 23px; }
}
@media(max-width:680px) {
  .urh-wrap { width: calc(100% - 32px); }
  .urh-hero.urh-with-photo { grid-template-columns: 1fr; min-height: 0; }
  .urh-hero-media { position: relative; min-height: 242px; }
  .urh-hero-media::after { display: none; }
  .urh-hero-media figcaption { inset-inline: 0; }
  .urh .urh-hero h1 { margin-block: 12px; }
  .urh-hero-content { padding: 33px 16px; }
  .urh-nav .urh-wrap { gap: 6px 15px; }
  .urh-section { padding-block: calc(var(--rh-gap) * .65); }
  .urh-stats { padding-block: 20px; }
  .urh-stats .urh-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .urh-stats .urh-entry:nth-child(even) { border-inline-end: 0; }
  .urh-stats .urh-entry:nth-child(n+3) { border-top: 1px solid var(--rh-rule); }
  .urh-years { gap: 5px; }
  .urh-years button { padding: 4px 8px; font-size: 18px; }
  .urh-year-panel { padding: 15px; }
  .urh-year-events .urh-illustrated, .urh-gallery-grid { grid-template-columns: 1fr; }
  .urh-chapter-side { grid-template: 'heading' 'photos' 'copy' / minmax(0,1fr); }
  .urh-chapter-side .urh-portrait img { max-height: 310px; }
}
@media(prefers-reduced-motion:no-preference) {
  .urh-hero-content { animation: urh-enter .45s ease-out both; }
  @keyframes urh-enter { from { transform: translateY(7px); opacity: .65; } to { transform: none; opacity: 1; } }
}
