/* =====================================================================
   Out & About NYC Magazine — Homepage
   Palette drawn from the O&A logo: signal red + gold on ink & paper.
   ===================================================================== */
:root {
  --ink: #0f0e0d;
  --ink-2: #1b1917;
  --ink-3: #2a2724;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --white: #ffffff;
  --text: #1a1816;
  --muted: #6b645c;
  --muted-light: #a49c92;
  --line: #e3dccf;
  --line-dark: rgba(255, 255, 255, 0.14);
  --red: #d7261e;
  --red-dark: #b01c15;
  --gold: #eeb12a;
  --gold-soft: #f6d27c;

  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --gap: clamp(18px, 2.2vw, 32px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -22px rgba(15, 14, 13, .45);
  --header-h: 0px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.noscript { padding: 16px; text-align: center; background: var(--gold); }
.noscript a { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--small { min-height: 38px; padding: 8px 18px; font-size: 12px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--red); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--wide { min-width: 260px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--paper); }
.icon-btn--line { border: 1.5px solid currentColor; font-size: 18px; }
.icon-btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.site-header.is-compact { transform: translateY(calc(var(--topbar-h, 0px) * -1)); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-open .site-header { transform: none !important; backdrop-filter: none; }

.topbar { background: var(--ink); color: #d9d2c7; font-size: 12px; letter-spacing: .04em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__tagline { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 13px; }
.topbar .social a { color: #d9d2c7; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 12px; }
.nav-toggle { display: none; }
.brand { grid-column: 2; display: inline-flex; align-items: center; gap: 14px; }
.brand__logo { width: 64px; height: auto; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.04); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.02em; color: var(--ink); }
.brand__name em { font-style: italic; font-weight: 500; color: var(--red); }
.brand__sub { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.masthead__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }

/* primary nav (desktop) */
.primary-nav { border-bottom: 1px solid var(--line); }
.menu { position: relative; display: flex; justify-content: center; flex-wrap: wrap; }
.menu > li { position: static; display: flex; align-items: center; }
.menu > li:not(.has-mega) { position: relative; }
.menu > li > a {
  position: relative; display: block; padding: 15px 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.menu > li > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.menu > li:hover > a::after, .menu > li:focus-within > a::after, .menu > li.current > a::after, .menu > li.is-open > a::after { transform: scaleX(1); }
.sub-toggle { display: grid; place-items: center; width: 22px; height: 30px; margin-left: -12px; margin-right: 2px; border: 0; background: none; color: var(--muted); }
.menu .sub {
  position: absolute; top: 100%; left: 0; z-index: 30; min-width: 250px; padding: 14px 0;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.menu > li:hover > .sub, .menu > li:focus-within > .sub, .menu > li.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { display: block; padding: 7px 22px; font-size: 14px; color: var(--text); transition: color .2s, padding .2s; }
.menu .sub a:hover { color: var(--red); padding-left: 26px; }
.sub--cols { columns: 2; column-gap: 0; min-width: 420px !important; }
.sub--cols li { break-inside: avoid; }
.mega { left: 50% !important; right: auto; width: min(1080px, calc(100vw - 48px)); transform: translate(-50%, 8px) !important;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 8px 24px; padding: 28px 30px !important; }
.menu > li:hover > .mega, .menu > li:focus-within > .mega, .menu > li.is-open > .mega { transform: translate(-50%, 0) !important; }
.mega--3 { grid-template-columns: repeat(3, 1fr); width: min(860px, calc(100vw - 48px)); }
.mega .mega__head { padding: 6px 0 !important; font-family: var(--serif); font-size: 19px !important; font-weight: 700; color: var(--ink) !important; }
.mega .mega__head:hover { color: var(--red) !important; padding-left: 0 !important; }
.mega ul { margin: 4px 0 12px; }
.mega ul a { padding: 4px 0 !important; font-size: 13.5px !important; color: var(--muted) !important; }
.mega ul a:hover { color: var(--red) !important; padding-left: 4px !important; }
.mega .two-col { columns: 2; column-gap: 18px; }
.primary-nav .social--drawer { display: none; }

/* category bar */
.catbar { border-bottom: 1px solid var(--line); }
.catbar__list { display: flex; justify-content: center; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.catbar__list::-webkit-scrollbar { display: none; }
.catbar__list a { white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); transition: color .2s; }
.catbar__list a:hover { color: var(--red); }

/* social */
.social { display: flex; align-items: center; gap: 4px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.social--big a { width: 46px; height: 46px; border: 1.5px solid var(--ink); }

/* burger */
.burger { display: grid; gap: 5px; width: 22px; }
.burger span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* search */
.search-panel {
  position: fixed; inset: 0 0 auto 0; z-index: 140; background: #fff; border-bottom: 3px solid var(--red);
  padding: clamp(24px, 5vw, 56px) 0; box-shadow: var(--shadow);
  transform: translateY(-100%); transition: transform .35s var(--ease);
  max-height: 100dvh; overflow-y: auto;
}
.search-panel.is-open { transform: none; }
.search-panel__inner { position: relative; }
.search-form { display: flex; gap: 12px; align-items: center; padding-right: 56px; }
.search-form__input {
  flex: 1; min-width: 0; border: 0; border-bottom: 2px solid var(--ink); padding: 10px 0; background: none;
  font-family: var(--serif); font-size: clamp(24px, 4vw, 44px); color: var(--ink); outline: none;
}
.search-form__input::placeholder { color: #bdb5aa; }
.search-close { position: absolute; top: 0; right: var(--gutter); }
.search-results { margin-top: 24px; }
.search-results ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px 32px; margin-bottom: 22px; }
.search-results__hint { color: var(--muted); }
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(15, 14, 13, .55); backdrop-filter: blur(2px); }

/* ticker */
.ticker { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker__inner { display: flex; align-items: center; gap: 18px; min-height: 46px; }
.ticker__label {
  flex: none; padding: 5px 12px; background: var(--red); color: #fff; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ticker__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); }
.ticker__rail { display: flex; width: max-content; gap: 46px; animation: ticker 80s linear infinite; }
.ticker:hover .ticker__rail, .ticker:focus-within .ticker__rail { animation-play-state: paused; }
.ticker__rail a { white-space: nowrap; font-size: 14px; font-weight: 500; transition: color .2s; }
.ticker__rail a:hover { color: var(--red); }
.ticker__rail time { margin-right: 10px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__rail { animation: none; } .ticker__track { overflow-x: auto; } }


/* ---------- header: tablet/mobile drawer ---------- */
@media (max-width: 1079px) {
  .masthead__inner { min-height: 72px; grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: inline-grid; grid-column: 1; }
  .brand { grid-column: 2; justify-self: center; gap: 10px; }
  .brand__logo { width: 48px; }
  .brand__sub { letter-spacing: .3em; font-size: 10px; }
  .masthead__cta { display: none; }
  .topbar__tagline { display: none; }

  /* off-canvas drawer */
  .primary-nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 120; width: min(400px, 88vw);
    background: #fff; border: 0; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-102%); transition: transform .45s var(--ease); box-shadow: var(--shadow);
    padding: 84px 0 40px;
  }
  .nav-open .primary-nav { transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .nav-toggle { position: fixed; top: 14px; left: min(400px, 88vw); transform: translateX(-58px); z-index: 130; background: var(--paper); }
  .menu { display: block; }
  .menu > li { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .menu > li > a { padding: 15px 0; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0; text-transform: none; }
  .menu > li > a::after { display: none; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; color: var(--ink); transition: transform .3s; }
  .menu > li.is-open .sub-toggle { transform: rotate(180deg); }
  .menu .sub, .mega {
    position: static; grid-column: 1 / -1; display: none; width: auto !important; min-width: 0 !important; transform: none !important;
    opacity: 1; visibility: visible; box-shadow: none; border: 0; border-left: 2px solid var(--red); padding: 4px 0 14px 14px !important; margin-bottom: 12px; columns: 1;
  }
  .menu > li:hover > .sub { display: none; }
  .menu > li.is-open > .sub { display: block; }
  .mega { grid-template-columns: 1fr !important; }
  .primary-nav .menu > li > .mega,
  .primary-nav .menu > li:hover > .mega,
  .primary-nav .menu > li.is-open > .mega { transform: none !important; left: auto !important; }
  .menu > li.is-open > .mega { display: grid; }
  .menu .sub a { padding: 7px 0; font-size: 15px; }
  .mega .mega__head { font-size: 17px !important; }
  .mega .two-col { columns: 2; }
  .primary-nav .social--drawer { display: flex; margin-top: 24px; }
  .social--drawer a { border: 1px solid var(--line); }

  .catbar__list { justify-content: flex-start; padding-inline: 2px; }
}

@media (max-width: 719px) {
  .topbar__inner { justify-content: center; }
  .topbar .social { display: none; }
  .brand__logo { width: 42px; }
  .brand__name { font-size: 27px; }
  .brand__sub { margin-top: 4px; }
  .masthead__inner { min-height: 64px; gap: 4px; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 23px; }
  .brand__logo { width: 36px; }
  .icon-btn { width: 40px; height: 40px; }
}
@media print {
  .site-header, .to-top, .search-panel, .newsletter { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   NEWS-MAGAZINE LAYOUT (mosaic hero · tabbed blocks · sidebar · dark footer)
   ===================================================================== */
:root {
  --wrap: 1260px;
  --block: var(--ink);
  --title: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gray: #767676;
  --gray-line: #e8e8e8;
}
body { background: #fff; }

/* ---------- shared atoms ---------- */
.media { position: relative; overflow: hidden; background: #ececec; aspect-ratio: 3 / 2; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media img.is-loaded { opacity: 1; }
.media--empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--gold-soft), var(--gold) 55%, #d99814); }
.media--empty span { font-family: var(--serif); font-weight: 900; font-size: 34px; color: var(--red); letter-spacing: -.04em; }

.thumb { position: relative; overflow: hidden; }
.thumb__link { position: absolute; inset: 0; z-index: 1; }
.thumb:hover img.is-loaded, .tile:hover img.is-loaded { transform: scale(1.06); }

.badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 3px 7px; background: rgba(0, 0, 0, .86); color: #fff;
  font-family: var(--title); font-size: 10.5px; font-weight: 600; line-height: 1.3; letter-spacing: .01em;
  transition: background .2s;
}
.badge:hover { background: var(--red); }

.entry-title { margin: 12px 0 6px; font-family: var(--title); font-weight: 500; font-size: 21px; line-height: 1.28; letter-spacing: -.005em; color: #111; }
.entry-title a { transition: color .2s; }
.entry-title a:hover { color: var(--red); }
.entry-title--lg { font-size: 24px; margin-top: 0; }
.entry-title--sm { font-size: 15px; line-height: 1.35; margin: 0 0 6px; }
.entry-title--xs { font-size: 13.5px; line-height: 1.35; margin: 8px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-family: var(--title); font-size: 11.5px; color: var(--gray); }
.meta__by { font-weight: 600; color: #111; }
.excerpt { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: #6f6f6f; }
.empty { color: var(--gray); font-size: 14px; }

/* ---------- 1. hero mosaic ---------- */
.mosaic-wrap { padding-top: 24px; padding-bottom: 40px; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 222px 222px; gap: 4px; }
.mosaic > :nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic > :nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.mosaic > :nth-child(3) { grid-column: 3; grid-row: 2; }
.mosaic > :nth-child(4) { grid-column: 4; grid-row: 2; }
.mosaic .skel, .mosaic .skel__img { height: 100%; aspect-ratio: auto; }
.tile { position: relative; overflow: hidden; background: #111; isolation: isolate; }
.tile .media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.82) 100%); transition: background .3s; }
.tile:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.88) 100%); }
.tile__link { position: absolute; inset: 0; z-index: 1; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; pointer-events: none; }
.tile__body a { pointer-events: auto; }
.tile .badge { position: static; display: inline-block; margin-bottom: 10px; }
.tile__title { font-family: var(--title); font-weight: 500; color: #fff; font-size: 18px; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.tile__title a:hover { color: var(--gold-soft); }
.tile--0 .tile__body { padding: 24px 28px 26px; }
.tile--0 .tile__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.tile--1 .tile__title { font-size: clamp(18px, 1.8vw, 24px); }
.tile .meta { margin-top: 10px; color: rgba(255,255,255,.85); }
.tile .meta__by { color: #fff; }
.tile--2 .meta, .tile--3 .meta { display: none; }

/* ---------- main + sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 48px; padding-bottom: 56px; }
.layout__side { display: flex; flex-direction: column; }
.layout > *, .layout__side > * { min-width: 0; }
.layout__side .block, .layout__side .evcard { margin-bottom: 44px; }

/* ---------- block frame ---------- */
.block { margin-bottom: 52px; }
.block--gold { --block: #f4b400; --block-ink: #111; }
.block--red { --block: var(--red); --block-ink: #fff; }
.block--ink { --block: #111; --block-ink: #fff; }
.block--purple { --block: #7b4bb4; --block-ink: #fff; }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 26px; border-bottom: 2px solid var(--block); }
.block__title { flex: none; font-family: var(--title); font-size: 15px; font-weight: 600; line-height: 1; }
.block__title span { display: inline-block; padding: 9px 13px 8px; background: var(--block); color: var(--block-ink, #fff); text-transform: uppercase; letter-spacing: .01em; }
.block__tabs { display: flex; align-items: center; gap: 2px; min-width: 0; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.block__tabs::-webkit-scrollbar { display: none; }
.block__tabs .tab {
  flex: none; padding: 4px 10px; border: 0; background: none; color: var(--gray);
  font-family: var(--title); font-size: 13px; transition: color .2s;
}
.block__tabs .tab:hover, .block__tabs .tab[aria-selected="true"], .block__tabs .tab.is-active { color: #111; }
.block--red .block__tabs .tab[aria-selected="true"], .block--red .block__tabs .tab:hover { color: var(--red); }
.tab-more { position: relative; }
.tab-more__btn { display: inline-flex; align-items: center; gap: 4px; }
.tab-more__menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 150px; padding: 8px 0;
  background: #fff; border: 1px solid var(--gray-line); box-shadow: 0 10px 24px -12px rgba(0,0,0,.3);
  display: flex; flex-direction: column;
}
.tab-more__menu[hidden] { display: none; }
.tab-more__menu .tab { text-align: left; padding: 7px 16px; }
.block:has(.tab-more__menu:not([hidden])) .block__tabs { overflow: visible; }
.block__body { transition: opacity .3s ease; }
.block__body.is-switching { opacity: .4; }

.block__pager { display: flex; gap: 6px; margin-top: 24px; }
.layout__side .block__pager { margin-top: 18px; }
.pager-btn {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0 0 2px;
  border: 1px solid #ddd; background: #fff; color: #333; font-size: 17px; line-height: 1; transition: all .2s;
}
.pager-btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; }
.pager-btn:disabled { color: #ccc; cursor: default; }

/* ---------- 2. Don't Miss: big + list ---------- */
.dm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 44px; }
.dm-grid__list { display: flex; flex-direction: column; gap: 24px; }
.post--big .media { aspect-ratio: 3 / 2.1; }
.post--row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; align-items: start; }
.post--row .media { aspect-ratio: 10 / 7; }

/* music: two columns, each big + rows */
.two-col-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 44px; }
.two-col-grid .col { display: flex; flex-direction: column; gap: 22px; }
.two-col-grid .post--big { margin-bottom: 4px; }

/* arts: horizontal list */
.hlist { display: flex; flex-direction: column; gap: 34px; }
.post--h { display: grid; grid-template-columns: 222px minmax(0, 1fr); gap: 26px; align-items: start; }
.post--h .media { aspect-ratio: 3 / 2.1; }
.post--h .excerpt { margin-top: 12px; }

/* fashion: 3-up grid */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.post--grid .entry-title--sm { margin-top: 12px; }

/* latest articles: 2-up grid */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 44px; }
.grid2 .post--big .entry-title { font-size: 21px; }
.pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.pagination__nums { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pagination__num {
  min-width: 32px; height: 32px; padding: 0 9px; border: 1px solid #e3e3e3; background: #fff;
  font-family: var(--title); font-size: 13px; color: #333; transition: all .2s;
}
.pagination__num:hover:not(:disabled) { border-color: #111; }
.pagination__num.is-current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination__num:disabled { color: #ccc; cursor: default; }
.pagination__gap { padding: 0 4px; color: var(--gray); }
.pagination__info { font-size: 12.5px; color: var(--gray); }

/* ---------- sidebar blocks ---------- */
.side-week { display: flex; flex-direction: column; }
.post--day { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--gray-line); }
.post--day:first-child { padding-top: 0; }
.day { display: grid; place-items: center; align-content: center; height: 52px; background: #f4f4f4; color: var(--red);
  font-family: var(--serif); font-weight: 900; font-size: 17px; transition: background .2s, color .2s; }
.day em { font-family: var(--title); font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.post--day.is-today .day { background: var(--red); color: #fff; }
.day:hover { background: #111; color: #fff; }
.day__series { font-family: var(--title); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.day__series:hover { color: var(--red); }
.post--day .entry-title--xs { margin-top: 3px; }

.side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.post--mini .media { aspect-ratio: 3 / 2.1; }
.side-list { display: flex; flex-direction: column; gap: 20px; }
.side-titles { display: flex; flex-direction: column; }
.post--title { padding: 14px 0; border-bottom: 1px solid var(--gray-line); }
.post--title:first-child { padding-top: 0; }
.post--title .entry-title { margin: 0 0 6px; font-size: 17px; }

/* ---------- newsletter (sidebar + footer) ---------- */
.newsletter { text-align: center; }
.newsletter__title { font-family: var(--title); font-weight: 500; font-size: 25px; line-height: 1.3; color: #222; letter-spacing: -.01em; }
.newsletter__dek { margin: 14px 0 22px; font-size: 13.5px; color: #333; }
.newsletter__field { position: relative; }
.newsletter__field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #c4c4c4; pointer-events: none; }
.newsletter__input {
  width: 100%; height: 42px; padding: 0 14px 0 46px; border: 1px solid #ddd; border-radius: 0; background: #fff;
  font: 14px var(--sans); color: #222; text-align: center; transition: border-color .2s;
}
.newsletter__input:focus { outline: none; border-color: var(--red); }
.newsletter__btn {
  width: 100%; height: 42px; margin-top: 16px; border: 0; border-radius: 999px; background: var(--red); color: #fff;
  font: 600 14px var(--sans); transition: background .2s, transform .2s;
}
.newsletter__btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.newsletter__msg { margin-top: 12px; font-size: 13px; color: #1f7a3e; }
.newsletter__msg.is-error { color: var(--red); }
.newsletter__rss { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--gray); text-decoration: underline; }
.newsletter__rss:hover { color: var(--red); }
.side-newsletter { padding: 30px 24px; border: 1px solid var(--gray-line); border-top: 3px solid var(--red); }
.side-newsletter__logo { width: 70px; margin: 0 auto 18px; mix-blend-mode: multiply; }

/* ---------- skeletons / errors / reveal ---------- */
.skel { display: flex; flex-direction: column; gap: 10px; }
.skel__img, .skel__line { background: linear-gradient(90deg, #eee 0%, #f7f7f7 45%, #eee 90%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.skel__img { aspect-ratio: 3 / 2; }
.skel__line { height: 12px; }
.skel__line--short { width: 60%; }
.skel--row { flex-direction: row; }
.skel--row .skel__img { width: 52px; height: 52px; flex: none; }
.skel--row .skel__line { flex: 1; }
@keyframes shimmer { to { background-position: -220% 0; } }
.error-box { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px dashed #ddd; background: #fafafa; }
.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* search results reuse rows */
.search-results__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px 32px; margin-bottom: 22px; }

/* ---------- footer (dark, professional) ---------- */
.site-footer { position: relative; margin-top: 24px; background: #0e0e0e; color: #bdbdbd; font-size: 14px; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 34%, var(--gold) 34% 67%, var(--red) 67%); }

/* newsletter band */
.foot-news { position: relative; top: -36px; margin-bottom: -4px; padding: 34px 40px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
.foot-news .newsletter { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; column-gap: 14px; align-items: center; text-align: left; }
.foot-news .newsletter__title { grid-column: 1; grid-row: 1; font-size: 22px; font-weight: 600; line-height: 1.3; color: #fff; text-transform: none; }
.foot-news .newsletter__dek { grid-column: 1; grid-row: 2; margin: 8px 24px 0 0; color: #a9a9a9; }
.foot-news .newsletter__field { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.foot-news .newsletter__input { height: 50px; background: #0e0e0e; border: 1px solid #333; border-radius: 999px; color: #fff; text-align: left; padding-left: 48px; }
.foot-news .newsletter__input::placeholder { color: #8a8a8a; }
.foot-news .newsletter__input:focus { border-color: var(--red); }
.foot-news .newsletter__field svg { left: 18px; color: #6c6c6c; }
.foot-news .newsletter__btn { grid-column: 3; grid-row: 1 / 3; align-self: center; width: auto; height: 50px; margin: 0; padding: 0 34px; }
.foot-news .newsletter__msg { grid-column: 2 / 4; grid-row: 3; margin-top: 10px; }
.foot-news .newsletter__msg.is-error { color: #ff7b72; }
.foot-news .newsletter__msg:not(.is-error) { color: #7bd88f; }
.foot-news .newsletter__rss { grid-column: 2 / 4; grid-row: 4; justify-self: start; margin-top: 10px; color: #8a8a8a; }
.foot-news .newsletter__rss:hover { color: #fff; }

/* columns */
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: 24px 56px; }
.footer__title { position: relative; margin-bottom: 4px; padding-bottom: 12px; font-family: var(--title); font-size: 16px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.footer__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--red); }
.footer__note { margin: 10px 0 22px; font-size: 12px; color: #7d7d7d; }

.footer__brand .brand--footer { margin-bottom: 22px; }
.brand--footer { grid-column: auto; justify-self: start; display: inline-flex; align-items: center; gap: 12px; }
.brand--footer .brand__logo { width: 62px; padding: 4px; border-radius: 50%; background: #fff; mix-blend-mode: normal; }
.brand--footer .brand__name { color: #fff; font-size: 30px; }
.brand--footer .brand__sub { color: #8f8f8f; }
.footer__about-text { line-height: 1.75; color: #c9c9c9; }
.footer__more { display: inline-flex; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--gold); }
.footer__more span { transition: transform .2s; }
.footer__more:hover span { transform: translateX(4px); }
.footer__label { margin: 26px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8f8f8f; }
.site-footer .social { margin: 0; gap: 8px; }
.site-footer .social a { width: 38px; height: 38px; border: 1px solid #333; border-radius: 50%; color: #fff; }
.site-footer .social a:hover { background: var(--red); border-color: var(--red); }

.foot-list { display: flex; flex-direction: column; gap: 0; }
.foot-post { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid #222; }
.foot-post:first-child { padding-top: 0; border-top: 0; }
.foot-post__thumb { display: block; border-radius: 4px; overflow: hidden; }
.foot-post .media { aspect-ratio: 4 / 3; background: #222; }
.foot-post:hover .media img.is-loaded { transform: scale(1.06); }
.foot-post__title { display: block; font-family: var(--title); font-weight: 500; font-size: 13.5px; line-height: 1.4; color: #f1f1f1; transition: color .2s; }
.foot-post__title:hover { color: var(--gold); }
.foot-post time { display: block; margin-top: 6px; font-size: 11px; color: #7d7d7d; }

.foot-cats { display: flex; flex-direction: column; }
.foot-cats li { border-top: 1px solid #222; }
.foot-cats li:first-child { border-top: 0; }
.foot-cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; color: #e6e6e6; font-size: 14px; transition: color .2s, padding .2s; }
.foot-cats li:first-child a { padding-top: 0; }
.foot-cats a span { min-width: 46px; padding: 2px 8px; border-radius: 999px; background: #222; color: #bdbdbd; font-size: 11.5px; font-weight: 600; text-align: center; transition: background .2s, color .2s; }
.foot-cats a:hover { color: #fff; padding-left: 4px; }
.foot-cats a:hover span { background: var(--red); color: #fff; }

/* bottom bar */
.footer__bottom { background: #070707; border-top: 1px solid #1e1e1e; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 18px; font-size: 12.5px; color: #8a8a8a; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__bottom a { color: #c9c9c9; transition: color .2s; }
.footer__bottom a:hover { color: #fff; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 2px;
  background: var(--red); color: #fff; font-size: 20px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); transition: background .2s, transform .2s; }
.to-top:hover { background: #111; transform: translateY(-2px); }

/* =====================================================================
   RESPONSIVE (layout)
   ===================================================================== */
@media (max-width: 1099px) {
  .layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; }
  .post--h { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .entry-title--lg { font-size: 20px; }
}

@media (max-width: 899px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 170px; }
  .mosaic > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .mosaic > :nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .mosaic > :nth-child(3) { grid-column: 1; grid-row: 3; }
  .mosaic > :nth-child(4) { grid-column: 2; grid-row: 3; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout__side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-news { padding: 28px; }
  .foot-news .newsletter { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
  .foot-news .newsletter__title, .foot-news .newsletter__dek { grid-column: 1 / -1; }
  .foot-news .newsletter__dek { margin: 8px 0 18px; }
  .foot-news .newsletter__field { grid-column: 1; grid-row: 3; }
  .foot-news .newsletter__btn { grid-column: 2; grid-row: 3; }
  .foot-news .newsletter__msg { grid-column: 1 / -1; grid-row: 4; }
  .foot-news .newsletter__rss { grid-column: 1 / -1; grid-row: 5; }
}

@media (max-width: 639px) {
  .mosaic-wrap { padding-inline: 0; padding-top: 0; padding-bottom: 28px; }
  .mosaic { grid-template-rows: 280px 190px 160px; gap: 3px; }
  .tile__body, .tile--0 .tile__body { padding: 16px; }
  .tile--0 .tile__title { font-size: 22px; }
  .tile--1 .tile__title { font-size: 18px; }
  .tile--2 .tile__title, .tile--3 .tile__title { font-size: 14px; }
  .tile--2 .badge, .tile--3 .badge { display: none; }

  .block { margin-bottom: 44px; }
  .block__head { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 20px; }
  .block__title { align-self: flex-start; }
  .block__tabs { padding-bottom: 8px; margin: 0 -6px; }
  .block__tabs .tab { padding: 4px 8px; }
  .tab-more__menu { right: auto; left: 0; }

  .dm-grid, .two-col-grid { grid-template-columns: 1fr; gap: 22px; }
  .two-col-grid .col + .col { padding-top: 22px; border-top: 1px solid var(--gray-line); }
  .entry-title { font-size: 19px; }
  .post--h { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .post--h .entry-title--lg { font-size: 16px; line-height: 1.35; margin-bottom: 6px; }
  .post--h .excerpt { display: none; }
  .post--h .badge { display: none; }
  .grid3 { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .grid2 { grid-template-columns: 1fr; gap: 32px; }
  .pagination { justify-content: center; }

  .layout__side { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .foot-news { top: -28px; padding: 24px 20px; }
  .foot-news .newsletter { grid-template-columns: 1fr; }
  .foot-news .newsletter__title { font-size: 19px; }
  .foot-news .newsletter__field, .foot-news .newsletter__btn, .foot-news .newsletter__msg, .foot-news .newsletter__rss { grid-column: 1; grid-row: auto; }
  .foot-news .newsletter__btn { width: 100%; margin-top: 12px; }
  .footer__bottom ul { justify-content: center; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
}

/* ---------- Upcoming Events (sidebar) ---------- */
/* Upcoming Events — card with a vertical ticker (slides bottom → top) */
.evcard { --ev-row: 88px; border: 1px solid #ececec; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -26px rgba(15,14,13,.35); }
.evcard__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, #a5160f 100%); }
.evcard__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); flex: none; }
.evcard__title-main { white-space: nowrap; font-family: var(--title); font-size: 18px; font-weight: 700; letter-spacing: .01em; line-height: 1.2; margin: 0; color: #fff; }
.evcard__count { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.18); white-space: nowrap; }
.evcard__count:empty { display: none; }
.evcard__viewport { height: calc(var(--ev-row) * 4); overflow: hidden; position: relative; }
.evcard__list { list-style: none; margin: 0; padding: 0; will-change: transform; }
.evcard__list .skel { padding: 16px 18px; }
.evcard__item { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center;
  height: var(--ev-row); padding: 0 18px; border-bottom: 1px solid #f0f0f0; transition: background .2s; }
.evcard__item:hover { background: #fdf6f5; }
.evcard__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 50px; border-radius: 8px;
  border: 1px solid #f1d6d4; background: #fff; color: #8a8a8a; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
.evcard__date b { font-family: var(--title); font-size: 19px; font-weight: 800; letter-spacing: 0; color: var(--red); }
.evcard__date.is-today { background: var(--red); border-color: var(--red); color: rgba(255,255,255,.85); }
.evcard__date.is-today b { color: #fff; }
.evcard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.evcard__title { font-family: var(--title); font-size: 14px; font-weight: 600; line-height: 1.3; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: underline; text-decoration-color: rgba(215,38,30,.28); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.evcard__title:hover, .evcard__title:focus-visible { color: var(--red); text-decoration-color: var(--red); }
.evcard__meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--gray); min-width: 0; }
.evcard__meta:empty { display: none; }
.evcard__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evcard__meta svg { flex: none; color: var(--red); }
.evcard__badge { align-self: start; margin-top: 14px; padding: 4px 7px; border-radius: 4px; background: var(--red); color: #fff;
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.evcard__empty { padding: 20px 18px; font-size: 13px; color: var(--gray); }
.evcard__foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 12px 18px; background: #fbf5f4; border-top: 1px solid #f0e4e2; }
.evcard__foot[hidden] { display: none; }
.evcard__ctrls { display: flex; gap: 6px; }
.evcard__ctrls[hidden] { display: none; }
.evcard__ctrl { display: grid; place-items: center; width: 32px; height: 30px; border: 0; border-radius: 5px; background: var(--red); color: #fff; cursor: pointer;
  box-shadow: 0 6px 12px -8px rgba(215,38,30,.9); transition: background .2s, transform .15s; }
.evcard__ctrl:hover { background: #a5160f; }
.evcard__ctrl:active { transform: translateY(1px); }
.evcard__ctrl:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.evcard__ctrl .i-play, .evcard__ctrl.is-paused .i-pause { display: none; }
.evcard__ctrl.is-paused .i-play { display: block; }
.evcard__all { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.evcard__all:hover { color: #a5160f; }
@media (max-width: 480px) { .evcard { --ev-row: 92px; } .evcard__item { gap: 12px; padding: 0 14px; } }

@keyframes evIn { from { opacity: 0; transform: translateY(-4px); } }


/* ---------- Header: Upcoming Events button + dropdown ---------- */
.hdr-events { position: relative; }
.hdr-events__btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 5px;
  background: #fff; border: 1px solid #e3e3e3; border-radius: 999px; color: #111; text-align: left;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hdr-events__btn:hover, .hdr-events__btn.is-open { border-color: var(--red); box-shadow: 0 10px 22px -14px rgba(215,38,30,.7); }
.hdr-events__btn:active { transform: translateY(1px); }
.hdr-events__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; flex: none; }
.hdr-events__label { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--title); font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.hdr-events__label small { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a; }
.hdr-events__count {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 2px; border-radius: 999px;
  background: #111; color: #fff; font: 700 11px var(--title);
}
.hdr-events__btn:hover .hdr-events__count, .hdr-events__btn.is-open .hdr-events__count { background: var(--red); }

.hdr-events__panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 150; width: 400px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid #ececec; border-top: 3px solid var(--red); border-radius: 8px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.35); overflow: hidden; animation: hdrIn .22s var(--ease);
}
.hdr-events__panel[hidden] { display: none; }
@keyframes hdrIn { from { opacity: 0; transform: translateY(-6px); } }
.hdr-events__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid #f0f0f0; }
.hdr-events__kicker { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.hdr-events__title { font-family: var(--title); font-size: 18px; font-weight: 700; color: #111; }
.hdr-events__range { font-size: 12px; color: #8a8a8a; white-space: nowrap; }
.hdr-events__list { max-height: 360px; overflow-y: auto; padding: 4px 0; }
.hdr-ev { display: grid; grid-template-columns: 44px 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 18px; transition: background .2s; }
.hdr-ev + .hdr-ev { border-top: 1px solid #f4f4f4; }
.hdr-ev:hover { background: #fafafa; }
.hdr-ev__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 48px; border-radius: 6px; background: #f4f4f4; color: #111; line-height: 1; }
.hdr-ev__date b { font: 700 18px var(--title); }
.hdr-ev__date small { margin-top: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
.hdr-ev__date.is-today { background: var(--red); color: #fff; }
.hdr-ev__date.is-today small { color: rgba(255,255,255,.9); }
.hdr-ev__thumb { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--gold); }
.hdr-ev__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hdr-ev__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hdr-ev__title { font-family: var(--title); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: #111; }
.hdr-ev__meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-ev__meta svg { flex: none; color: var(--red); }
.hdr-events__all {
  display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; padding: 13px; border: 0; border-top: 1px solid #f0f0f0;
  background: #fafafa; font: 600 13px var(--title); color: var(--red); transition: background .2s, color .2s;
}
.hdr-events__all:hover { background: var(--red); color: #fff; }

@media (max-width: 1079px) {
  .hdr-events__btn { height: 42px; width: 42px; padding: 0; justify-content: center; border-color: transparent; }
  .hdr-events__icon { width: 34px; height: 34px; }
  .hdr-events__label { display: none; }
  .hdr-events__count { position: absolute; top: -3px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; background: var(--red); border: 2px solid #fff; }
  .hdr-events__panel { position: fixed; top: 76px; right: 12px; left: 12px; width: auto; max-width: none; }
}


/* Upcoming Events as the last item of the main menu */
.menu > li.menu-events { position: relative; margin-left: 8px; }
.menu-events .hdr-events__btn { height: 34px; gap: 8px; padding: 0 10px 0 3px; border-color: #e6e6e6; }
.menu-events .hdr-events__icon { width: 28px; height: 28px; }
.menu-events .hdr-events__icon svg { width: 15px; height: 15px; }
.menu-events .hdr-events__label { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.menu-events .hdr-events__label small { display: none; }
.menu-events .hdr-events__count { min-width: 20px; height: 20px; font-size: 10.5px; background: var(--red); }
.menu-events .hdr-events__panel { top: calc(100% + 9px); right: 0; }

@media (max-width: 1079px) {
  .menu > li.menu-events { display: block; margin: 0; padding: 6px 0; }
  .menu-events .hdr-events__btn { width: 100%; height: auto; padding: 10px 0; justify-content: flex-start; gap: 12px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .menu-events .hdr-events__icon { width: 34px; height: 34px; }
  .menu-events .hdr-events__label { display: flex; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0; text-transform: none; }
  .menu-events .hdr-events__count { position: static; border: 0; margin-left: auto; }
  .menu-events .hdr-events__panel { display: none !important; }
}


/* Desktop menu sizing so all items + the Upcoming Events pill fit on one row */
@media (min-width: 1080px) {
  .menu { flex-wrap: nowrap; }
  .menu > li { flex: none; }
  .menu > li > a, .menu-events .hdr-events__label { white-space: nowrap; }
  .menu > li > a { padding: 15px 10px; letter-spacing: .08em; }
  .menu > li > a::after { left: 10px; right: 10px; }
  .menu-events .hdr-events__label { letter-spacing: .08em; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  .menu > li > a { padding: 15px 7px; font-size: 11.5px; letter-spacing: .05em; }
  .menu > li > a::after { left: 7px; right: 7px; }
  .sub-toggle { margin-left: -8px; }
  .menu-events .hdr-events__label { font-size: 11.5px; letter-spacing: .05em; }
}

/* =====================================================================
   LARGE SCREENS (1700px – 4K): scale the whole page proportionally so the
   magazine fills wide monitors instead of sitting small in the middle.
   Media queries use the real screen width; zoom keeps every section in proportion.
   ===================================================================== */
@media (min-width: 1700px) { :root { --wrap: 1340px; } html { zoom: 1.15; } }
@media (min-width: 1920px) { html { zoom: 1.25; } }
@media (min-width: 2200px) { html { zoom: 1.45; } }
@media (min-width: 2500px) { html { zoom: 1.6; } }
@media (min-width: 3200px) { html { zoom: 2; } }
/* Upcoming Events heading stays on one line in the narrower desktop sidebar */
@media (max-width: 1279px) { .evcard__head { gap: 10px; padding: 14px; } .evcard__title-main { font-size: 16px; } .evcard__icon { width: 30px; height: 30px; } .evcard__count { padding: 4px 8px; font-size: 10.5px; } }
