:root {
  color-scheme: light;
  --wine: #920838;
  --wine-deep: #530521;
  --paper: #f8f5ef;
  --ink: #201720;
  --muted: #685b61;
  --line: #e7dedc;
  --white: #fff;
  --content-width: 1180px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  font-family: "Avenir Next", Avenir, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 5.5rem; }
body { margin: 0; line-height: 1.6; }
a { color: var(--wine); text-underline-offset: .17em; }
button { font: inherit; }
img { max-inline-size: 100%; display: block; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
:focus-visible { outline: 3px solid #bc4c71; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(var(--content-width), 100% - var(--gutter) * 2); margin-inline: auto; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .76rem 1.05rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: .45rem;
  background: var(--wine);
  color: var(--white);
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}
.button:hover { background: var(--wine-deep); color: var(--white); }
.button--outline { background: transparent; border-color: var(--wine); color: var(--wine); }
.skip {
  position: fixed;
  z-index: 5;
  inset: .5rem auto auto .5rem;
  background: var(--white);
  padding: .65rem;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 3; top: 0; background: #fffefa; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.65rem; }
.brand { display: inline-flex; align-items: center; gap: .64rem; flex: none; color: var(--wine-deep); text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-name { display: grid; line-height: 1.14; }
.brand-name b { font-size: 1.06rem; letter-spacing: -.045em; }
.brand-name > span { margin-top: .2rem; font-size: .66rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.navigation { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 2.3vw, 2.2rem); }
.navigation a, .mobile-nav nav a { color: var(--ink); font-size: .875rem; font-weight: 650; text-decoration: none; }
.navigation a:hover, .mobile-nav nav a:hover, .navigation a[aria-current], .mobile-nav nav a[aria-current] {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .42em;
}
.header-action { flex: none; display: none; }
.mobile-nav { display: none; }
.site-footer { background: #340716; color: #f4e8e9; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 2.8rem; padding-block: 3.3rem; }
.brand--footer { color: #fff; }
.brand--footer img { background: #fff; border-radius: 50%; padding: .3rem; }
.footer-brand p { margin-top: 1.15rem; color: #dbc5cb; font-size: .91rem; }
.footer-links { display: grid; align-content: start; gap: .5rem; }
.footer-links h2 { margin-bottom: .6rem; color: #fff; font-size: 1.08rem; }
.footer-links a { color: inherit; font-size: .92rem; text-decoration-color: #906a75; }
.footer-links a:hover { color: #fff; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .65rem; }
.footer-bottom { border-top: 1px solid #634352; padding-block: 1rem; color: #dbc5cb; font-size: .83rem; }
.interior { overflow-wrap: anywhere; }
.interior-heading {
  padding-block: clamp(2.6rem, 7vw, 6rem);
  color: #fff;
  background: radial-gradient(ellipse at 85% 0, #931043, transparent 75%), #4b0929;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1.15rem; color: #f3d4de; font-size: .83rem; }
.breadcrumb a { color: #fff; }
.interior-heading h1 { max-width: 20ch; font-weight: 800; font-size: clamp(2.45rem, 6.2vw, 5.15rem); line-height: 1.03; letter-spacing: -.06em; }
.interior--article .interior-heading h1 { max-width: 28ch; font-size: clamp(2.3rem, 5.1vw, 4rem); }
.article-date { display: block; color: var(--muted); font-size: .84rem; font-weight: 675; }
.interior-heading .article-date { color: #f3d4de; margin-top: 1.1rem; }
.content-body {
  min-height: 40dvh;
  display: grid;
  gap: clamp(1.35rem, 3.5vw, 2.65rem);
  padding-block: clamp(2.25rem, 6vw, 5.25rem);
}
.content-body > * { min-width: 0; }
.content-body > h2, .content-text h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); letter-spacing: -.04em; }
.content-body > h3, .content-text h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
.content-text, .content-figure { max-width: 82ch; }
.content-text { overflow-wrap: anywhere; }
.content-text :is(p, ul, ol, dl, table, blockquote, details, h2, h3, h4, address) + :is(p, ul, ol, dl, table, blockquote, details, h2, h3, h4, address) { margin-top: .9rem; }
.content-text ol, .content-text ul { padding-inline-start: 1.25em; }
.content-text :is(a, strong) { font-weight: 700; }
.content-text a:hover { color: var(--wine-deep); }
.content-text blockquote { margin-inline: 0; padding: 1rem 1.2rem; background: #fff; border-inline-start: 4px solid var(--wine); }
.content-text table { display: block; inline-size: 100%; overflow: auto; border-collapse: collapse; }
.content-text td, .content-text th { padding: .65rem .85rem; border: 1px solid var(--line); text-align: start; }
.content-text th { background: #fff; color: var(--wine-deep); }
.content-text iframe { width: 100%; min-height: 320px; border: 0; border-radius: .4rem; }
.content-text details { padding: .75rem 1rem; background: #fff; border: 1px solid var(--line); }
.content-text summary { cursor: pointer; font-weight: 700; }
#qatar-major-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)); gap: .75rem; margin: 0; }
#qatar-major-stats > div { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: #fffdfa; }
#qatar-major-stats dd { margin: 0; color: var(--wine); font-size: 1.3rem; font-weight: 800; }
.content-text:has(#contact-details) { max-width: none; }
#contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
#contact-details > div { padding: clamp(1rem, 2.5vw, 1.65rem); border: 1px solid var(--line); border-radius: .65rem; background: #fffdfa; }
#contact-details dt { margin-bottom: .45rem; font-size: 1.08rem; font-weight: 800; }
#contact-details dd { margin: 0; }
#contact-details small { display: block; margin-top: .45rem; color: var(--muted); }
.content-hero { max-width: 940px; }
.content-hero img, .content-figure img { border-radius: .6rem; }
.content-hero img { width: 100%; max-height: 590px; object-fit: contain; object-position: left center; }
.content-figure figcaption, .gallery-grid figcaption { margin-top: .5rem; color: var(--muted); font-size: .85rem; }
.content-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.gallery-grid, .content-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.5vw, 1.65rem); }
.gallery-grid a { display: block; border-radius: .5rem; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.content-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #fffdfa;
}
.content-card-link { height: 100%; display: grid; text-decoration: none; color: inherit; }
.content-card-link:hover h2 { color: var(--wine); }
.content-card-link:focus-visible { outline-offset: -4px; }
.content-card-media { overflow: hidden; }
.content-card-media img { width: 100%; aspect-ratio: 4/2.6; object-fit: cover; transition: transform .2s ease; }
.content-card-link:hover img { transform: scale(1.04); }
.content-card-copy { display: grid; align-content: start; gap: .65rem; padding: 1.15rem; }
.content-card-copy h2 { font-size: clamp(1.08rem, 2.3vw, 1.42rem); letter-spacing: -.03em; }
.content-card-copy p { color: var(--muted); font-size: .89rem; }
.card-more { color: var(--wine); font-weight: 750; font-size: .82rem; }
.content-embed { width: min(100%, 880px); display: grid; gap: .55rem; }
.content-embed iframe { width: 100%; height: min(65dvh, 520px); border: 1px solid var(--line); border-radius: .5rem; background: #fff; }
.content-embed--video iframe { aspect-ratio: 16/9; height: auto; }
.content-embed > a { justify-self: start; font-weight: 650; }
.missing { min-height: 50dvh; padding-block: 5rem; }
.missing > * + * { margin-top: 1.1rem; }
.news-search { display: block; width: min(100%, 30rem); }
.news-search label { display: block; margin-bottom: .35rem; font-weight: 750; }
.news-search form > div { display: flex; gap: .5rem; }
.news-search input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1px solid #a9999b; border-radius: .45rem; font: inherit; }
.search-page { display: grid; gap: 1.3rem; min-height: 50dvh; padding-block: 3rem; }
.search-page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.05em; }
.search-page .news-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.search-results { display: grid; gap: .8rem; max-width: 80ch; padding: 0; margin: 0; list-style: none; }
.search-results li { padding-block: .65rem; border-block-end: 1px solid var(--line); }
.search-results a { font-weight: 750; }
.search-results p { color: var(--muted); }
.photo-viewer { width: min(92vw, 1150px); padding: 1rem; border: 0; border-radius: .6rem; background: #1b1016; color: white; }
.photo-viewer::backdrop { background: #160c13e6; }
.photo-viewer figure { display: grid; place-items: center; gap: .55rem; }
.photo-viewer figure img { max-height: 71dvh; width: auto; object-fit: contain; }
.photo-viewer form { display: flex; justify-content: end; margin-bottom: .45rem; }
.photo-viewer button { border: 1px solid #8f7985; border-radius: .4rem; background: #372532; color: white; min-width: 44px; min-height: 44px; cursor: pointer; }
.photo-viewer .viewer-controls { display: flex; justify-content: center; gap: .8rem; margin-top: .5rem; }
@media (max-width: 900px) {
  .navigation, .header-action { display: none; }
  .header-inner { min-height: 67px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; gap: .6rem; align-items: center; color: var(--wine-deep); font-weight: 750; cursor: pointer; min-height: 44px; }
  .mobile-nav summary::marker, .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav {
    padding: .5rem var(--gutter) 1rem;
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    background: #fffefa;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 22px #35082014;
  }
  .mobile-nav nav a { padding-block: .75rem; }
  .gallery-grid, .content-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #contact-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links a { overflow-wrap: anywhere; }
  .content-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.brand--logo img { width: auto; height: 48px; }
.brand--footer.brand--logo img { box-sizing: content-box; border-radius: .6rem; padding: .55rem .85rem; }

.album-intro { margin: 0 0 1.4rem; color: var(--muted); }
.album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.album-grid img { aspect-ratio: 2 / 3; }
@media (max-width: 900px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } }
