html {
  scrollbar-gutter: stable both-edges;
}
:root {
  --ink: #0c1b38;
  --muted: #7485a2;
  --blue: #0064f5;
  --blue2: #1477ff;
  --line: #e4ebf4;
  --pale: #f3f7fc;
  --soft: #eaf3ff;
  --radius: 8px;
  --font: Inter, Arial, sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blue);
}
img {
  max-width: 100%;
  vertical-align: middle;
}
button {
  border: 0;
  background: none;
}
input,
select,
textarea {
  color: var(--ink);
  background: #fff;
  border: 1px solid #d0dbe9;
  border-radius: 7px;
  padding: 11px 13px;
  max-width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #8696b0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid #0064f51c;
}
a:focus-visible,
button:focus-visible,
[contenteditable]:focus-visible {
  outline: 3px solid #74aaff;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.45px;
}
h1 {
  font-size: 42px;
  letter-spacing: -1.3px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.5;
}
small {
  font-size: 12px;
}
svg.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted,
.meta {
  color: var(--muted);
}
.muted {
  font-size: 13px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  padding: 12px;
  background: white;
  z-index: 100;
  color: var(--blue);
}
.skip:focus {
  top: 8px;
}
.container {
  width: calc(100% - 64px);
  max-width: 1560px;
  margin: 0 auto;
}
.afisha-container {
  width: calc(100% - 78px);
  max-width: 1400px;
  margin: auto;
}
.gallery-container {
  width: calc(100% - 100px);
  max-width: 1390px;
  margin: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #0878ff, #005af1);
  border: 1px solid #0670ff;
  border-radius: 6px;
  color: #fff !important;
  line-height: 1.25;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 3px 7px #0064f510;
  white-space: normal;
  text-align: center;
}
.btn:hover {
  filter: brightness(0.96);
}
.btn.secondary,
.btn.outline,
.btn.pale {
  color: var(--blue) !important;
  background: white;
  border: 1px solid #c5d7f1;
  box-shadow: none;
}
.btn.secondary,
.btn.pale {
  background: #eaf3ff;
  border-color: transparent;
}
.btn-small {
  min-height: 32px;
  font-size: 12px;
  padding: 7px 13px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 35px;
  height: 35px;
  border-radius: 6px;
  color: #576e94;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--soft);
  color: var(--blue);
}
.favourite[aria-pressed="true"] {
  color: #ed516b;
}
.favourite[aria-pressed="true"] .icon {
  fill: #ffe2e8;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.4;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  background: #ecf3ff;
  color: #0050b8;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}
.badge.blue {
  background: var(--blue);
  color: white;
}
.badge.success {
  color: #177c4a;
  background: #e3f7ed;
  font-size: 10px;
}
.meta {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  line-height: 1.4;
}
.meta .icon {
  width: 13px;
  height: 13px;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 13px;
}
.section-head h2,
.section-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head h2 > .icon {
  color: var(--blue);
  width: 25px;
  height: 25px;
}
.section-head .muted {
  margin-right: auto;
}
.section-head .text-link {
  margin-left: auto;
  white-space: nowrap;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}
.card > h2 {
  margin-bottom: 17px;
  font-size: 19px;
}
.card + .card {
  margin-top: 18px;
}
/* Brand comes from the unchanged original asset. Cropping only removes its blank margin. */
.brand {
  position: relative;
  display: block;
  width: 244px;
  min-width: 215px;
  height: 58px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand img {
  position: absolute;
  width: 230px;
  max-width: none;
  height: auto;
  left: 0;
  top: 18px;
  transform: translateY(-50%);
}
.brand > span {
  position: absolute;
  left: 54px;
  top: 36px;
  font-size: 9px;
  letter-spacing: 0;
  color: #3b4c68;
  white-space: nowrap;
}
.site-header {
  height: 62px;
  border-bottom: 1px solid #eef2f7;
  background: #fffffff5;
  position: relative;
  z-index: 20;
}
.header-inner {
  width: calc(100% - 64px);
  max-width: 1560px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  min-width: 0;
  height: 100%;
  white-space: nowrap;
}
.desktop-nav a {
  font-size: 11px;
  font-weight: 550;
  text-transform: uppercase;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.desktop-nav a.active {
  color: #005be5;
}
.desktop-nav a.active:after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 4px;
}
.header-search {
  margin-left: 26px;
  width: 320px;
  flex-shrink: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  height: 33px;
  padding: 0 9px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
}
.header-search > .icon {
  width: 15px;
  height: 15px;
  color: #8294ad;
}
.header-search input {
  border: 0;
  outline: none;
  padding: 4px 0;
  width: 100%;
  font-size: 10px;
  background: transparent;
}
.header-search .icon-button {
  width: 22px;
  height: 22px;
}
.header-search .icon-button .icon {
  width: 14px;
  height: 14px;
}
.header-date {
  font-size: 10px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  flex-shrink: 0;
  line-height: 1.8;
}
.header-date span {
  display: block;
}
.header-date .icon {
  width: 13px;
  height: 13px;
  margin-right: 4px;
}
.mobile-menu,
.mobile-search,
.mobile-nav,
.mobile-weather {
  display: none;
}
.site-header.dark {
  height: 70px;
  background: #0b1d35;
  color: #fff;
  border: 0;
}
.dark .brand > span {
  color: #a9b6c9;
}
.dark .header-search {
  border-color: #314056;
  background: #ffffff12;
}
.dark .header-search input {
  color: white;
}
.dark .desktop-nav a.active {
  color: white;
}
.dark .desktop-nav a.active:after {
  background: #70ba4d;
}
.dark .brand {
  background: #fff;
  border-radius: 5px;
  height: 52px;
}
.dark .brand > span {
  color: #546479;
}
.drawer {
  position: fixed;
  inset: 0;
  background: #0d1c3c66;
  z-index: 60;
}
.drawer-inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 90vw);
  padding: 20px;
  background: white;
  overflow: auto;
  box-shadow: -10px 0 40px #0d1c3c22;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.drawer-inner > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}
body.menu-open {
  overflow: hidden;
}
/* Home: the 1672 × 941 reference is the primary desktop geometry. */
.home {
  padding-top: 7px;
}
.home-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 14px;
}
.home-stories {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}
.hero-stack {
  height: 438px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #122544;
}
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 32%, #0713264d 51%, #061831e8 100%);
}
.hero-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 17px;
  color: white;
}
.hero-copy .badge {
  font-size: 11px;
  color: white;
  background: #035dbea3;
  padding: 1px 3px;
  margin-bottom: 6px;
}
.hero-copy h1 {
  font-size: 35px;
  line-height: 1.06;
  letter-spacing: -0.8px;
  max-width: 680px;
  font-weight: 760;
  text-shadow: 0 1px 8px #0004;
}
.hero-copy h1 a:hover {
  color: white;
}
.hero-copy p {
  max-width: 460px;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 8px;
}
.hero-copy .meta {
  color: #eaf2fc;
  margin-top: 8px;
  font-size: 9px;
}
.hero-dots {
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 45%;
  gap: 5px;
}
.dot {
  background: #ffffff65;
  width: 6px;
  height: 5px;
  border-radius: 5px;
  padding: 0;
}
.dot.active {
  width: 20px;
  background: white;
}
.hero-arrows {
  position: absolute;
  bottom: 10px;
  right: 14px;
  display: flex;
  gap: 12px;
}
.round-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ffffff55;
  color: white;
  background: #0e314caa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.round-button .icon {
  width: 18px;
  height: 18px;
}
.secondary-news {
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 7px;
  height: 438px;
}
.small-post {
  display: flex;
  gap: 14px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1f7;
}
.small-post > div {
  min-width: 0;
  flex: 1;
}
.small-post .small-thumb {
  display: block;
  width: 86px;
  flex: 0 0 86px;
  height: 63px;
  overflow: hidden;
  border-radius: 3px;
  background: #eaf0f6;
}
.small-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.small-post h3 {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: -0.1px;
  margin-bottom: 6px;
}
.small-post .badge {
  margin-bottom: 4px;
  font-size: 9px;
  background: none;
  padding: 0;
  color: #0059b8;
  text-transform: uppercase;
}
.small-post p {
  font-size: 11px;
  color: #64738e;
  line-height: 1.35;
  margin: 5px 0;
}
.small-post .meta {
  font-size: 9px;
}
.secondary-news .small-post {
  padding: 0 0 5px;
  gap: 14px;
}
.secondary-news .small-thumb {
  height: 137px;
  width: 160px;
  flex-basis: 160px;
}
.secondary-news .small-post h3 {
  font-size: 14px;
  line-height: 1.18;
}
.secondary-news .small-post .meta {
  margin-top: 5px;
}
.secondary-news .small-post p {
  font-size: 10.5px;
  line-height: 1.3;
}
.home-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.weather-card {
  background: linear-gradient(120deg, #f2faff, #ebf6ff);
  border: 1px solid #e9f1fb;
  border-radius: 4px;
  padding: 16px 15px 11px;
  min-height: 150px;
}
.weather-top {
  display: flex;
  gap: 10px;
  align-items: center;
}
.weather-top > .icon {
  width: 36px;
  height: 36px;
  fill: #b9cee2;
  color: #b9cee2;
}
.weather-top > strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -1px;
  white-space: nowrap;
}
.weather-top > div {
  font-size: 9px;
  line-height: 1.45;
}
.weather-top small {
  display: block;
  font-size: 8px;
  color: #657c96;
}
.weather-day {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  font-size: 9px;
  color: #5e7694;
  margin: 12px 0;
  text-transform: capitalize;
}
.weather-day span {
  font-size: 8px;
  margin-top: 2px;
}
.weather-card > .text-link {
  display: flex;
  justify-content: center;
  font-size: 10px;
}
.advertisement {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f3f6fa;
  border: 1px solid #eef2f7;
  border-radius: 4px;
}
.advertisement > a {
  display: block;
}
.advertisement img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ad-label {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 6px;
  font-size: 8px;
  color: #fff;
  background: #0005;
  border-radius: 2px;
  padding: 1px 4px;
}
.home-sidebar .advertisement {
  height: 278px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-sidebar .advertisement a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.home-sidebar .advertisement img {
  height: 100%;
  object-fit: contain;
}
.own-promo {
  padding: 25px;
  background: linear-gradient(135deg, #ecf5ff, #f9fcff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  gap: 10px;
}
.own-promo > .icon {
  color: var(--blue);
  width: 37px;
  height: 37px;
}
.own-promo h3 {
  font-size: 26px;
}
.own-promo p {
  font-size: 12px;
  color: #667b96;
}
.own-promo .ad-label {
  color: #7e8ba2;
  background: #e3edf8;
}
.home-events-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 10px;
  margin-top: 14px;
  align-items: stretch;
}
.home-events {
  display: grid;
  grid-template-columns: 165px repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 10px;
  background: linear-gradient(110deg, #f1f8ff, #f8fbff);
  border-radius: 6px;
}
.home-events-label {
  padding: 13px 9px;
}
.home-events-label h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
}
.home-events-label .icon {
  color: var(--blue);
  width: 25px;
  height: 25px;
}
.home-events-label p {
  font-size: 12px;
  color: #62728a;
  line-height: 1.25;
  margin-top: 8px;
}
.event-card {
  position: relative;
  min-width: 0;
  border: 1px solid #e4edf8;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
}
.event-poster {
  display: block;
  position: relative;
  aspect-ratio: 1.23;
  background: #edf2f8;
}
.event-poster > img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.event-date {
  position: absolute;
  top: 10px;
  left: 12px;
  color: white;
  display: flex;
  gap: 4px;
  align-items: flex-start;
  text-shadow: 0 1px 6px #000a;
}
.event-date > strong {
  font-size: 32px;
  line-height: 1;
}
.event-date > span {
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}
.event-info {
  position: relative;
  padding: 13px 14px 15px;
  min-width: 0;
}
.event-info h3 {
  font-size: 16px;
  line-height: 1.2;
  padding-right: 20px;
  margin-bottom: 9px;
}
.event-info > .favourite {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 27px;
  height: 27px;
}
.event-location {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  font-size: 11px;
  color: #657eaa;
  margin: 5px 0 12px;
}
.event-location > .icon {
  width: 14px;
  height: 14px;
}
.event-description {
  display: none;
  color: #5c6c89;
  font-size: 12px;
}
.event-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.event-bottom > strong {
  font-size: 14px;
  line-height: 1.25;
}
.event-info > .badge {
  margin-top: 9px;
}
.event-date-mobile {
  display: none;
}
.event-card.compact {
  display: flex;
  flex-direction: column;
  padding: 6px 8px 7px 70px;
  min-height: 178px;
}
.compact .event-poster {
  aspect-ratio: 2.8;
  height: 81px;
  flex-shrink: 0;
  border-radius: 4px;
  position: static;
}
.compact .event-poster > img {
  height: 81px;
  border-radius: 4px;
}
.compact .event-date {
  left: 10px;
  top: 14px;
  color: #0a1936;
  text-shadow: none;
  flex-direction: column;
}
.compact .event-date > strong {
  font-size: 24px;
}
.compact .event-date > span {
  font-size: 10px;
  line-height: 1.35;
}
.compact .event-info {
  padding: 7px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.compact .event-info h3 {
  font-size: 13px;
  line-height: 1.15;
  margin: 0 0 5px;
  padding: 0;
}
.compact .event-location {
  font-size: 9px;
  line-height: 1.2;
  margin: 0 0 7px;
}
.compact .event-location .icon {
  display: none;
}
.compact .event-bottom {
  margin-top: auto;
}
.compact .event-bottom > strong {
  display: none;
}
.compact .event-bottom > a {
  width: 100%;
  min-height: 29px;
  padding: 5px 9px;
  font-size: 11px;
}
.home-events-row > .advertisement {
  height: 197px;
}
.home-events-row > .advertisement > a {
  height: 100%;
  display: flex;
  align-items: center;
}
.home-events-row > .advertisement img {
  height: 100%;
  object-fit: contain;
}
.home-bottom {
  display: grid;
  grid-template-columns: 1.04fr 1fr 1.1fr;
  gap: 24px;
  margin-top: 16px;
}
.home-bottom > section {
  min-width: 0;
}
.home-bottom > section + section {
  border-left: 1px solid #eff3f8;
  padding-left: 24px;
}
.home-bottom .section-head h2 {
  font-size: 21px;
}
.home-bottom .small-post {
  margin-bottom: 8px;
}
.home-bottom .small-post .meta {
  margin-top: 5px;
}
.home-bottom .small-post p {
  margin-bottom: 5px;
}
.album-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.album-card {
  position: relative;
  min-width: 0;
}
.album-card img {
  display: block;
  aspect-ratio: 1.8;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.album-card h3 {
  font-size: 11px;
  line-height: 1.35;
  margin-top: 6px;
  letter-spacing: 0;
}
.photo-count {
  position: absolute;
  right: 5px;
  top: 58px;
  background: #fff;
  border-radius: 3px;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0 4px;
  font-size: 10px;
}
.photo-count > .icon {
  width: 12px;
  height: 12px;
}
.home-more {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
}
/* Archives and event discovery. */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7589aa;
  font-size: 11px;
  line-height: 1.4;
  padding: 18px 0;
  min-width: 0;
  flex-wrap: wrap;
}
.breadcrumbs > a:first-child {
  color: #426da4;
}
.breadcrumbs .icon {
  width: 11px;
  height: 11px;
}
.breadcrumbs span:last-child {
  max-width: 70%;
  overflow-wrap: anywhere;
}
.archive-page {
  padding-bottom: 50px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.page-heading h1 {
  font-size: 40px;
}
.page-heading p {
  font-size: 16px;
  color: #617ba5;
  margin-top: 8px;
}
.result-count {
  font-size: 12px;
  color: #7384a0;
  white-space: nowrap;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.filter-tabs a {
  padding: 9px 15px;
  border-radius: 6px;
  background: #f3f7fc;
  font-size: 12px;
}
.filter-tabs a.active {
  color: white;
  background: var(--blue);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.news-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.news-card > a {
  display: block;
}
.news-card > a img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}
.news-card > div {
  padding: 15px;
}
.news-card h2 {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 8px 0;
}
.news-card p {
  font-size: 12px;
  color: #6d7b93;
  margin-bottom: 12px;
}
.news-card .meta {
  padding-right: 30px;
}
.news-card .favourite {
  position: absolute;
  bottom: 6px;
  right: 6px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  font-size: 13px;
  color: #6d7f9b;
}
.big-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  background: #f0f5fb;
  border-radius: 8px;
  margin: 20px 0;
}
.big-search input {
  flex: 1;
  background: white;
}
.big-search > .icon {
  margin-left: 8px;
  color: #7a8fae;
}
.empty-state {
  text-align: center;
  padding: 55px 20px;
  color: #6b7f9c;
}
.empty-state > .icon {
  width: 38px;
  height: 38px;
  color: #94accb;
  margin-bottom: 12px;
}
.empty-state h2 {
  font-size: 21px;
  color: #33496a;
  margin-bottom: 8px;
}
.afisha-hero {
  background: linear-gradient(110deg, #f8fbff, #edf7ff);
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eef5fb;
}
.afisha-hero .breadcrumbs {
  padding: 19px 0;
}
.afisha-hero h1 {
  font-size: 46px;
  font-weight: 780;
}
.afisha-hero h1 > span {
  color: #075fe2;
}
.afisha-hero .page-heading {
  margin-bottom: 0;
}
.afisha-hero .page-heading p {
  font-size: 16px;
  margin-top: 9px;
}
.mobile-event-submit {
  display: none;
}
.event-filters {
  margin-bottom: 22px;
}
.period-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pill {
  padding: 8px 17px;
  border-radius: 9px;
  background: #f2f6fb;
  font-size: 11px;
}
.pill.blue {
  background: var(--blue);
  color: white;
}
.month-select {
  margin-left: 8px;
}
.month-select input {
  border: 0;
  background: #eff5fe;
  padding: 6px 10px;
  font-size: 11px;
  min-height: 33px;
}
.date-strip {
  display: flex;
  gap: 3px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  border: 1px solid #e7eef8;
  border-radius: 5px;
  margin-bottom: 16px;
  padding: 5px 8px;
}
.date-pill {
  flex: 1;
  min-width: 46px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  border-radius: 7px;
}
.date-pill > span {
  color: #7186a9;
  font-size: 10px;
  text-transform: capitalize;
}
.date-pill.active {
  background: #064eaa;
  color: white;
}
.date-pill.active > span {
  color: #d7e7ff;
}
.event-types {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.event-types > a {
  background: #f1f6fc;
  border-radius: 9px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 35px;
  font-size: 11px;
}
.event-types > a > .icon {
  width: 18px;
  height: 18px;
}
.event-types > a.active {
  background: var(--blue);
  color: white;
}
.event-types .submit-event {
  margin-left: auto;
  background: var(--blue);
  padding: 8px 16px;
  color: white;
}
.featured-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.afisha-page {
  padding-bottom: 45px;
}
.events-lower {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(270px, 1fr);
  gap: 28px;
  margin-top: 25px;
}
.events-lower .section-head h2 {
  font-size: 23px;
}
.events-lower .section-head .muted {
  font-size: 11px;
}
.event-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.event-list .event-card {
  display: flex;
  padding: 9px 11px;
  gap: 15px;
  min-height: 90px;
  align-items: center;
}
.event-list .event-poster {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  aspect-ratio: 1;
  border-radius: 4px;
  margin-left: 40px;
}
.event-list .event-date {
  left: 8px;
  top: 10px;
  color: var(--ink);
  text-shadow: none;
  flex-direction: column;
  align-items: center;
  width: 34px;
}
.event-list .event-date strong {
  font-size: 21px;
}
.event-list .event-date span {
  font-size: 9px;
  line-height: 1.4;
}
.event-list .event-info {
  flex: 1;
  padding: 0;
}
.event-list .event-info h3 {
  font-size: 14px;
  margin: 0 20px 6px 0;
}
.event-list .event-location {
  font-size: 11px;
  margin: 4px 0;
}
.event-list .event-bottom {
  justify-content: flex-start;
  gap: 15px;
}
.event-list .event-bottom .btn {
  font-size: 10px;
  min-height: 26px;
  padding: 5px 10px;
  margin-left: auto;
}
.event-list .event-bottom > strong {
  font-size: 12px;
}
.event-list .event-info > .badge {
  position: absolute;
  left: 90px;
  bottom: 3px;
  margin: 0;
}
.event-list .favourite {
  top: 0;
  right: -4px;
}
.events-aside > section,
.calendar {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 15px;
  margin-bottom: 17px;
  background: linear-gradient(140deg, #fff, #fafcff);
}
.calendar .section-head h3 {
  text-transform: capitalize;
  font-size: 16px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
  font-size: 11px;
  margin-top: 20px;
}
.calendar-grid > * {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar-grid > a {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: auto;
}
.calendar-grid .has-event {
  background: #e4f0ff;
  color: #005fda;
  font-weight: 650;
}
.calendar-grid .selected {
  background: var(--blue);
  color: white;
}
.calendar-grid .muted {
  font-size: 9px;
}
.venue-panel h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.venue-grid > a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid #eaf0f8;
  border-radius: 6px;
  padding: 9px;
  font-size: 10px;
}
.venue-grid .icon {
  width: 25px;
  height: 25px;
  color: #315b8c;
}
.event-submit-card {
  border-radius: 9px;
  background: linear-gradient(120deg, #eaf4ff, #ddecff);
  padding: 20px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.event-submit-card > .icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
}
.event-submit-card p {
  font-size: 12px;
  margin: 3px 0 10px;
}
.event-submit-card strong {
  font-size: 13px;
}
/* Article: real text and photography preserve their source relationships. */
.article-page {
  padding-bottom: 35px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 35px;
}
.story-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0 9px;
}
.story-meta .badge {
  font-size: 12px;
}
.story-meta .meta {
  font-size: 11px;
}
.story-actions {
  margin-left: auto;
  display: flex;
  gap: 5px;
}
.story h1 {
  font-size: 43px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 780;
  margin-bottom: 10px;
}
.story-lead {
  font-size: 20px;
  line-height: 1.35;
  color: #526686;
  margin-bottom: 12px;
}
.story-flow {
  display: flow-root;
}
.story-cover {
  width: calc(70% - 15px);
  float: left;
  margin: 0 25px 14px 0;
  position: relative;
}
.story-cover > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  border-radius: 5px;
}
.story-cover > figcaption {
  position: absolute;
  bottom: 12px;
  left: 18px;
  font-size: 10px;
  color: white;
  text-shadow: 0 1px 5px black;
}
.story-facts {
  float: right;
  width: calc(30% - 10px);
  background: #eaf5fc;
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 10px;
}
.story-facts > div {
  display: flex;
  gap: 15px;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.2;
}
.story-facts > div:last-child {
  margin-bottom: 0;
}
.story-facts .icon {
  color: #0067c7;
  width: 24px;
  height: 24px;
}
.story-facts small {
  display: block;
  color: #69819f;
  font-size: 11px;
  margin-top: 5px;
  font-weight: 400;
}
.story-facts small .icon {
  width: 12px;
  height: 12px;
}
.article-content {
  font-size: 15px;
  line-height: 1.55;
  color: #23314a;
  overflow-wrap: anywhere;
}
.article-content p {
  margin-bottom: 13px;
}
.article-content > h2,
.article-content > h3 {
  margin: 22px 0 12px;
}
.article-content ul,
.article-content ol {
  padding-left: 22px;
}
.article-content li {
  margin: 5px 0;
}
.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 12px 0;
}
.article-content figure {
  margin: 12px 0;
}
.article-content figcaption {
  font-size: 11px;
  color: var(--muted);
}
.article-content a {
  color: #005bce;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content blockquote {
  border-left: 3px solid #b6d4f8;
  margin: 18px 0;
  padding: 10px 18px;
  background: #f4f8ff;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.article-content td,
.article-content th {
  border: 1px solid var(--line);
  padding: 8px;
}
.article-aside .advertisement {
  margin-bottom: 26px;
}
.article-aside > .advertisement img {
  aspect-ratio: 1.55;
  object-fit: contain;
}
.article-aside .section-head h2 {
  font-size: 18px;
}
.article-aside .small-post .small-thumb {
  width: 45%;
  height: 108px;
  flex-basis: 45%;
}
.article-aside .small-post {
  margin: 15px 0;
}
.article-aside .small-post h3 {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
}
.article-aside .small-post p,
.article-aside .small-post .badge {
  display: none;
}
.article-aside .small-post > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-related {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  clear: both;
  margin-top: 22px;
}
.article-related .section-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.article-related .section-head h2 {
  font-size: 19px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.related-grid .news-card {
  border-radius: 4px;
}
.related-grid .news-card > div {
  padding: 6px 2px;
}
.related-grid .news-card h2 {
  font-size: 12px;
  font-weight: 500;
  margin: 4px 0;
}
.related-grid .news-card p,
.related-grid .news-card .badge,
.related-grid .news-card .favourite {
  display: none;
}
.related-grid .news-card .meta {
  font-size: 9px;
  padding: 0;
}
.event-mini-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.event-mini-row .compact {
  padding: 5px;
  min-height: 160px;
}
.event-mini-row .compact .event-date {
  left: 7px;
  top: 8px;
  background: #fffffff0;
  padding: 3px;
  border-radius: 4px;
}
.event-mini-row .compact .event-date strong {
  font-size: 17px;
}
.event-mini-row .compact .event-date span {
  font-size: 8px;
}
.event-mini-row .event-location {
  display: none;
}
.article-album {
  clear: both;
  padding-top: 20px;
}
.article-album h2 {
  font-size: 19px;
  margin-bottom: 12px;
}
.article-photo-row {
  display: flex;
  gap: 7px;
  position: relative;
}
.article-photo-row > .photo-button {
  flex: 1;
  width: 0;
  height: 110px;
  overflow: hidden;
  border-radius: 4px;
  padding: 0;
}
.article-photo-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.album-open {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 32.6%;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: white;
  background: #0d1c3c9e;
  border-radius: 4px;
  font-weight: 650;
}
/* Galleries retain every original photo; the first eight reproduce the mosaic. */
.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 36px;
}
.gallery-layout .breadcrumbs {
  padding: 26px 0 17px;
}
.gallery-title h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.9px;
}
.gallery-title-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.gallery-title-bottom p {
  font-size: 13px;
  color: #61738e;
}
.gallery-title-bottom .btn {
  font-size: 11px;
  min-height: 34px;
  padding: 7px 12px;
}
.gallery-lead {
  font-size: 15px;
  color: #536583;
  line-height: 1.6;
  margin: 23px 0 16px;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1.1fr 1.1fr;
  grid-template-rows: repeat(3, 200px);
  gap: 7px;
}
.photo-button {
  padding: 0;
  overflow: hidden;
  display: block;
  background: #eff3f8;
  border-radius: 2px;
  position: relative;
}
.photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.photo-button:hover img {
  transform: scale(1.025);
}
.photo-0 {
  grid-column: 1/3;
  grid-row: 1/3;
}
.photo-1 {
  grid-column: 3;
  grid-row: 1;
}
.photo-2 {
  grid-column: 4;
  grid-row: 1;
}
.photo-3 {
  grid-column: 3;
  grid-row: 2;
}
.photo-4 {
  grid-column: 4;
  grid-row: 2;
}
.photo-5 {
  grid-column: 1;
  grid-row: 3;
}
.photo-6 {
  grid-column: 2/4;
  grid-row: 3;
}
.photo-7 {
  grid-column: 4;
  grid-row: 3;
}
.gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 13px 0 25px;
  font-size: 11px;
  color: #667d9e;
}
.gallery-caption > span:last-child {
  display: flex;
  gap: 15px;
  align-items: center;
}
.gallery-layout > aside {
  padding-top: 26px;
}
.gallery-layout > aside > .advertisement {
  padding: 10px;
  background: #f6f8fb;
}
.gallery-layout > aside > .advertisement img {
  height: 370px;
  object-fit: contain;
}
.other-albums {
  margin-top: 25px;
}
.other-albums .section-head h2 {
  font-size: 18px;
}
.other-albums .section-head .text-link {
  font-size: 10px;
}
.other-albums .album-card {
  background: #f6f8fc;
  margin-bottom: 14px;
  padding: 7px;
  border-radius: 5px;
}
.other-albums .album-card a {
  display: flex;
  gap: 14px;
  align-items: center;
}
.other-albums .album-card img {
  width: 120px;
  aspect-ratio: 1.1;
  flex-shrink: 0;
}
.other-albums .album-card h3 {
  font-size: 12px;
}
.other-albums .photo-count {
  position: static;
  font-size: 9px;
  min-width: 45px;
  display: none;
}
.gallery-related {
  border-top: 1px solid var(--line);
  padding: 25px 0 40px;
}
.gallery-related .album-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-all {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 0 35px;
}
.gallery-all .photo-button {
  aspect-ratio: 1.4;
}
.gallery-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.gallery-list-grid .album-card h3 {
  font-size: 16px;
}
.gallery-list-grid .photo-count {
  top: auto;
  bottom: 70px;
}
.lightbox {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  background: #061020f5;
  color: white;
  padding: 50px 75px 70px;
}
.lightbox::backdrop {
  background: #061020;
}
.lightbox > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: white;
  background: #ffffff12;
  border: 1px solid #ffffff15;
  border-radius: 50%;
}
.lightbox-close {
  right: 20px;
  top: 16px;
}
.lightbox-prev {
  left: 18px;
  top: 48%;
  width: 42px;
  height: 42px;
}
.lightbox-next {
  right: 18px;
  top: 48%;
  width: 42px;
  height: 42px;
}
.lightbox-caption {
  position: absolute;
  bottom: 25px;
  left: 70px;
  right: 70px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}
.event-detail {
  padding-bottom: 50px;
}
.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(250px, 420px) minmax(0, 1fr);
  gap: 50px;
  margin: 8px 0 40px;
}
.event-detail-image img {
  width: 100%;
  height: auto;
  max-height: 660px;
  object-fit: contain;
  border-radius: 8px;
  background: #edf3fb;
}
.event-detail h1 {
  font-size: 39px;
  margin: 10px 0 20px;
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
}
.event-keyfacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.event-keyfacts p {
  display: flex;
  gap: 12px;
  align-items: center;
}
.event-keyfacts .icon {
  color: var(--blue);
}
.event-keyfacts small {
  display: block;
  color: #7c8ca3;
  font-size: 12px;
}
.event-price {
  font-size: 25px;
  font-weight: 650;
  margin-bottom: 17px;
}
.event-ticket-action {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.event-detail .article-content {
  max-width: 760px;
}
.event-detail .article-content + p {
  margin-top: 20px;
}
/* Supporting user paths. */
.service-page {
  max-width: 1160px;
  padding-bottom: 55px;
  min-height: 60vh;
}
.service-page h1 {
  margin: 12px 0;
  font-size: 39px;
}
.service-lead {
  font-size: 19px;
  color: #617897;
  max-width: 850px;
  margin: 10px 0 30px;
}
.service-page > .article-content {
  margin-top: 25px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 25px;
}
.guide-card > .icon {
  color: var(--blue);
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
}
.guide-card h2 {
  margin-bottom: 8px;
}
.guide-card p {
  color: #657993;
  margin-bottom: 17px;
}
.guide-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.guide-section p {
  margin: 12px 0;
  max-width: 850px;
}
.feedback-form {
  max-width: 680px;
}
.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feedback-form .muted {
  margin: 15px 0;
}
.form-result {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.form-result.error {
  color: #c8334d;
}
.form-result.success {
  color: #16835e;
}
.site-footer {
  background: linear-gradient(120deg, #f0f7ff, #e7f3fc);
  padding: 28px 0 19px;
  margin-top: 35px;
  border-top: 1px solid #e2edf8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  font-size: 12px;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-grid p {
  margin-top: 4px;
}
.footer-grid .brand {
  height: 58px;
}
.footer-note {
  border-top: 1px solid #dfeaf5;
  margin-top: 22px;
  padding-top: 15px;
  font-size: 10px;
  color: #6c809d;
}
.footer-note a {
  color: #4b75a4;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #0f2e53;
  color: #fff;
  padding: 12px 22px;
  border-radius: 9px;
  box-shadow: 0 5px 35px #0002;
  font-size: 13px;
  max-width: calc(100% - 32px);
  text-align: center;
}
.update-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #c7d9f1;
  background: #fff;
  box-shadow: 0 3px 25px #0002;
  padding: 12px 15px;
  border-radius: 9px;
  font-size: 13px;
}
.update-banner button {
  color: var(--blue);
  font-weight: 600;
}
/* Editorial shell: private listener only. Real zero states replace invented KPI. */
.admin-app {
  --sidebar: 244px;
  background: linear-gradient(120deg, #fff, #f8fbff);
  min-height: 100vh;
}
.admin-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--sidebar);
  border-right: 1px solid #e9eef6;
  background: linear-gradient(130deg, #fafcff, #f8fbff);
  padding: 7px 14px 20px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow-y: auto;
}
.admin-sidebar > .brand {
  width: 215px;
  min-width: 0;
  height: 66px;
  margin-left: 12px;
  margin-bottom: 15px;
}
.admin-sidebar .brand img {
  width: 205px;
  top: 22px;
}
.admin-sidebar .brand span {
  left: 48px;
  top: 39px;
  font-size: 9px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 7px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #526786;
  min-height: 50px;
}
.admin-sidebar nav > a > .icon {
  width: 23px;
  height: 23px;
}
.admin-sidebar nav > a.active {
  color: #0070ff;
  background: #e4f1ff;
  font-weight: 650;
  box-shadow: -16px 0 0 -13px #1685ff;
}
.sidebar-help {
  margin-top: auto;
  padding: 20px 15px;
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  border-radius: 7px;
  font-size: 12px;
}
.sidebar-help > .icon {
  color: #82a1c4;
  width: 20px;
  height: 20px;
}
.sidebar-help p {
  margin: 8px 0;
}
.sidebar-help a {
  color: #0069f0;
  display: block;
  margin-top: 8px;
  font-size: 11px;
}
.sidebar-copyright {
  font-size: 11px;
  color: #8c9db8;
  line-height: 1.65;
  margin: 23px 10px 0;
}
.admin-header {
  height: 75px;
  margin-left: var(--sidebar);
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 30px;
  border-bottom: 1px solid #e7edf5;
  background: #ffffffec;
}
.admin-heading-brand {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  min-width: 200px;
}
.admin-heading-brand strong {
  font-size: 19px;
}
.admin-heading-brand span {
  font-size: 11px;
  color: #8597b4;
}
.admin-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f8fafc;
  border: 1px solid #e3eaf5;
  border-radius: 7px;
  padding: 4px 9px;
  margin-left: auto;
  width: 400px;
  min-width: 180px;
}
.admin-search .icon {
  color: #798daa;
  width: 18px;
}
.admin-search input {
  border: 0;
  padding: 7px 0;
  background: transparent;
  outline: 0;
  flex: 1;
  font-size: 12px;
  width: 100%;
}
.admin-search kbd {
  white-space: nowrap;
  border: 1px solid #edf1f7;
  background: white;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11px;
  color: #7d8eaa;
}
.admin-profile {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 185px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(140deg, #087bff, #074fb3);
  font-size: 12px;
}
.admin-profile strong {
  font-size: 11px;
}
.admin-profile small {
  display: block;
  font-size: 10px;
  color: #8093b0;
  margin-top: 3px;
}
.admin-main {
  margin-left: var(--sidebar);
  padding: 29px 30px;
  min-height: calc(100vh - 75px);
  min-width: 0;
}
.admin-page-head {
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.admin-page-head h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.admin-page-head p {
  color: #8194b1;
  margin-top: 6px;
  font-size: 14px;
}
.admin-page-head > .btn {
  min-height: 47px;
  font-size: 15px;
  flex-shrink: 0;
  padding: 11px 20px;
}
.dashboard-summary {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 15px;
  margin: 28px 0 20px;
}
.today-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.today-card h2 {
  font-size: 21px;
}
.today-card p {
  color: #8092ad;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.today-card .icon {
  color: #ffc122;
}
.metric-card {
  display: grid;
  grid-template-columns: 60px 1fr 15px;
  grid-template-rows: 28px 1fr;
  min-height: 103px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 14px 12px;
  background: #fff;
  column-gap: 8px;
}
.metric-card > .icon:first-child {
  grid-row: 1/3;
  background: #fff3d4;
  border-radius: 13px;
  padding: 15px;
  width: 57px;
  height: 60px;
  color: #182d53;
}
.metric-card > strong {
  font-size: 26px;
  line-height: 1.1;
  grid-column: 2;
}
.metric-card > span {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.3;
}
.metric-card > .icon:last-child {
  grid-row: 1/3;
  grid-column: 3;
  align-self: center;
  width: 18px;
  color: #8c9fbd;
}
.metric-card.rose > .icon:first-child {
  color: #be2751;
  background: #fff0f4;
}
.metric-card.green > .icon:first-child {
  color: #00a754;
  background: #e2fbe9;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 22px;
}
.quick {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  padding: 12px 16px;
  background: linear-gradient(120deg, #edf6ff, #f8fbff);
  min-width: 0;
}
.quick > .icon {
  color: #006dff;
  background: #e1f0ff;
  box-sizing: content-box;
  padding: 9px;
  border-radius: 10px;
  width: 23px;
  height: 23px;
}
.quick strong {
  font-size: 14px;
  line-height: 1.2;
  display: block;
  color: #0071ff;
}
.quick small {
  display: block;
  color: #7d91ad;
  font-size: 10px;
  margin-top: 5px;
}
.quick.green {
  background: linear-gradient(120deg, #edfcf3, #f6fbf9);
}
.quick.green > .icon {
  color: #00a35d;
  background: #d9fae8;
}
.quick.green strong {
  color: #00995b;
}
.quick.purple {
  background: linear-gradient(120deg, #f3efff, #f8f6ff);
}
.quick.purple > .icon {
  color: #8544ff;
  background: #e9deff;
}
.quick.purple strong {
  color: #7a44ef;
}
.quick.slate {
  background: linear-gradient(120deg, #f1f4f9, #f8faff);
}
.quick.slate strong {
  color: #243c60;
}
.quick.slate > .icon {
  color: #294463;
  background: #e5ebf4;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1.12fr);
  gap: 22px;
}
.dashboard-columns .card {
  padding: 17px;
}
.dashboard-columns .card h2 {
  font-size: 18px;
  letter-spacing: -0.2px;
}
.editor-task {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #edf1f7;
  padding: 13px 0;
  min-width: 0;
}
.editor-task > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.editor-task h3 {
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 7px;
  letter-spacing: -0.1px;
}
.editor-task p {
  font-size: 12px;
  color: #7c8da7;
  line-height: 1.4;
}
.editor-task > div:last-child {
  min-width: 100px;
  flex-shrink: 0;
}
.editor-task > div:last-child > .meta {
  font-size: 10px;
  margin-top: 16px;
}
.task-image {
  width: 145px;
  flex-shrink: 0;
  height: 100px;
  background: #f1f6fd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.task-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.task-image > .icon {
  color: #9cb6d9;
  width: 40px;
  height: 40px;
}
.empty-compact {
  text-align: center;
  padding: 25px 15px;
  border: 1px dashed #d8e5f7;
  border-radius: 6px;
  color: #788dab;
}
.empty-compact > .icon {
  color: #79a8e7;
  margin-bottom: 10px;
}
.empty-compact h3 {
  font-size: 16px;
  color: #4e6b92;
  margin-bottom: 7px;
}
.empty-compact p {
  font-size: 12px;
  margin-bottom: 13px;
}
.subsection {
  margin-top: 23px;
}
.subsection h3 {
  font-size: 15px;
}
.source-task {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #edf1f8;
}
.source-task > img {
  width: 100px;
  height: 66px;
  object-fit: cover;
  border-radius: 5px;
}
.source-task > div {
  flex: 1;
  min-width: 0;
}
.source-task strong {
  font-size: 12px;
  line-height: 1.3;
  display: block;
  margin-bottom: 8px;
}
.editor-notice {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #f0f7ff;
  border: 1px solid #ecf4ff;
  border-radius: 7px;
  padding: 15px 18px;
  margin-top: 22px;
  color: #7590b1;
  font-size: 11px;
  line-height: 1.45;
}
.editor-notice > .icon {
  color: #0070ff;
  width: 22px;
  height: 22px;
}
.editor-notice strong {
  color: #0063ef;
}
.badge.status-draft {
  background: #edf1f7;
  color: #7c8fa9;
}
.badge.status-review,
.badge.status-awaiting_payment {
  background: #fff3d5;
  color: #a87811;
}
.badge.status-scheduled {
  background: #e5f3ff;
  color: #0075ed;
}
.badge.status-published,
.badge.status-paid {
  background: #e4f8ee;
  color: #009568;
}
.badge.status-archived {
  background: #edf0f4;
  color: #778496;
}
.badge.status-received {
  background: #ece8ff;
  color: #7054d8;
}
.badge.status-checked {
  background: #e7f0ff;
  color: #0362fa;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(290px, 1fr);
  gap: 22px;
}
.compose-main {
  min-width: 0;
}
.compose-main > .text-link {
  font-size: 12px;
  margin: 0 0 17px;
}
.compose-main .admin-page-head {
  margin-bottom: 22px;
}
.compose-main .admin-page-head h1 {
  font-size: 29px;
}
.compose-main .admin-page-head p {
  font-size: 12px;
}
.form-label {
  display: block;
  margin: 16px 0 7px;
  font-size: 13px;
}
.form-label > span {
  color: #e64e5d;
}
.form-label > input {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 47px;
  font-size: 17px;
}
.rich-editor {
  border: 1px solid #d4dfee;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #dde6f2;
  padding: 7px 10px;
  flex-wrap: wrap;
}
.editor-toolbar > select {
  border: 0;
  background: transparent;
  padding: 4px;
  font-size: 11px;
  max-width: 155px;
}
.editor-toolbar > span {
  height: 19px;
  width: 1px;
  background: #e0e6f0;
  margin: 0 6px;
}
.toolbar-btn {
  width: 30px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667a9b;
}
.toolbar-btn:hover {
  background: #edf4ff;
  border-radius: 4px;
}
.toolbar-btn .icon {
  width: 18px;
  height: 18px;
}
.editor-body {
  min-height: 120px;
  padding: 17px;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  outline: none;
}
.editor-body:empty:before {
  content: "Расскажите историю…";
  color: #a1afc3;
}
.editor-body p {
  margin-bottom: 12px;
}
.editor-cover {
  margin: 0 17px 12px;
  position: relative;
}
.editor-cover > img {
  width: 100%;
  max-height: 345px;
  object-fit: cover;
  border-radius: 5px;
}
.cover-change {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #000b;
  color: white;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.cover-change .icon {
  width: 16px;
  height: 16px;
}
.caption-input {
  padding: 0 17px 15px;
}
.caption-input input {
  font-size: 10px;
  width: 100%;
  padding: 8px 10px;
}
.attachments-panel {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px dashed #d7e3f3;
  background: #f5f9ff;
  border-radius: 7px;
  padding: 15px 18px;
  margin-top: 15px;
}
.attachments-panel > .icon {
  color: #8aa5cc;
  width: 25px;
  height: 25px;
}
.attachments-panel p {
  color: #8295b1;
  font-size: 11px;
  margin-top: 4px;
}
.upload-add {
  height: 50px;
  width: 60px;
  border: 1px dashed #ccdbee;
  border-radius: 6px;
  color: #8196b7;
  margin-left: auto;
}
.attachments-panel #attachment-previews {
  display: flex;
  gap: 4px;
  max-width: 220px;
  overflow: auto;
}
.attachments-panel #attachment-previews img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 4px;
}
.compose-sidebar .card {
  padding: 20px;
}
.compose-sidebar .card h2 {
  font-size: 17px;
}
.compose-sidebar label,
.settings-card label,
#placement-form > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  margin: 16px 0;
}
.compose-sidebar label input,
.compose-sidebar label select {
  width: 100%;
  padding: 10px 12px;
  font-size: 12px;
}
.compose-sidebar .btn {
  width: 100%;
  margin-top: 10px;
  font-size: 12px;
  min-height: 39px;
}
.publish-target {
  font-size: 10px;
  color: #7186a5;
  padding: 10px;
  background: #f4f8ff;
  border-radius: 5px;
  margin: 10px 0;
}
.social-options {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.social-options label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  margin: 8px 0;
}
.social-options input {
  width: 15px !important;
  height: 15px;
  padding: 0;
}
.editor-old {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  background: #f5f9ff;
  padding: 16px;
}
.editor-old strong {
  font-size: 12px;
}
.editor-old p {
  font-size: 11px;
  color: #8193ae;
  margin-top: 6px;
}
.editor-old .btn {
  font-size: 11px;
  min-height: 33px;
  padding: 7px 12px;
}
.media-picker {
  width: min(930px, calc(100% - 30px));
  max-height: 85vh;
  border: 1px solid #d8e4f3;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 60px #00113233;
}
.media-picker::backdrop,
#placement-dialog::backdrop {
  background: #061b3a80;
}
.media-picker .section-head h2 {
  font-size: 22px;
}
#media-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}
#media-search input {
  flex: 1;
}
.media-results {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-height: 120px;
  max-height: 55vh;
  overflow-y: auto;
}
.media-results button {
  padding: 5px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
}
.media-results img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  margin-bottom: 5px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}
.library-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  padding-bottom: 10px;
}
.library-grid img {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: cover;
}
.library-grid strong {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  padding: 8px 10px 4px;
  overflow-wrap: anywhere;
}
.library-grid small {
  font-size: 9px;
  color: #8093b0;
  padding: 0 10px;
}
.advertising-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(300px, 1fr);
  gap: 22px;
}
.ad-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.ad-metric {
  display: flex;
  gap: 13px;
  padding: 20px 13px;
  background: #f6faff;
  border: 1px solid #e7effa;
  border-radius: 9px;
  align-items: center;
  min-height: 115px;
}
.ad-metric > .icon {
  height: 43px;
  width: 43px;
  border-radius: 50%;
  background: #e7f1ff;
  color: #0065f5;
  padding: 10px;
}
.ad-metric span {
  font-size: 11px;
  line-height: 1.2;
  display: block;
}
.ad-metric strong {
  display: block;
  font-size: 29px;
  line-height: 1.2;
  margin-top: 4px;
}
.ad-stages {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 25px 0 35px;
}
.ad-stages > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  min-width: 0;
}
.ad-stages .icon {
  border-radius: 50%;
  padding: 5px;
  background: #0875f6;
  color: white;
  height: 27px;
  width: 27px;
}
.ad-orders {
  padding: 18px;
}
.ad-orders .section-head h2 {
  font-size: 16px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid #e9eef5;
  padding: 14px 10px;
}
th {
  background: #f4f7fb;
  color: #6d809c;
  font-weight: 500;
  white-space: nowrap;
}
td small {
  display: block;
  font-size: 9px;
  color: #8194af;
  margin-top: 4px;
}
.placement-calendar > div {
  border-bottom: 1px solid #ecf1f8;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.placement-calendar strong {
  font-size: 11px;
}
.placement-calendar span {
  font-size: 10px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 13px;
}
.checklist .icon {
  background: #20ba90;
  color: white;
  border-radius: 50%;
  padding: 4px;
  width: 19px;
  height: 19px;
}
.advertising-layout aside .card > h2 {
  font-size: 17px;
}
.advertising-layout aside .muted {
  font-size: 10px;
  margin-top: 17px;
}
#placement-dialog {
  width: 550px;
  max-width: calc(100% - 30px);
  max-height: 90vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
}
.checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 9px !important;
}
.checkbox-label input {
  width: 16px;
  height: 16px;
}
.settings-card {
  max-width: 800px;
}
.settings-card p {
  color: #7187a4;
  font-size: 13px;
  margin: 10px 0 20px;
}
.settings-card li {
  padding: 5px 0;
  font-size: 13px;
}
.feedback-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.feedback-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.feedback-item small {
  font-size: 10px;
  color: #8998ad;
  margin-top: 10px;
  display: block;
}
#social-drafts textarea {
  width: 100%;
  font-size: 11px;
  min-height: 120px;
  margin-top: 12px;
}
@media (min-width: 1500px) {
  .header-inner {
    gap: 24px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .header-search {
    margin-left: 24px;
  }
  .admin-main {
    padding: 29px 30px;
  }
  .admin-app:has(.editor-layout) {
    --sidebar: 230px;
  }
}
@media (max-width: 1450px) and (min-width: 1001px) {
  .header-search {
    width: 230px;
    margin-left: 6px;
  }
  .header-date {
    display: none;
  }
  .desktop-nav {
    gap: 16px;
  }
  .desktop-nav a {
    font-size: 10px;
  }
  .header-inner {
    gap: 16px;
  }
  .brand {
    min-width: 200px;
    width: 220px;
  }
  .secondary-news .small-thumb {
    width: 130px;
    flex-basis: 130px;
  }
  .secondary-news .small-post p {
    display: none;
  }
  .hero-copy h1 {
    font-size: 31px;
  }
  .home-events-label {
    padding: 10px 5px;
  }
  .home-events {
    grid-template-columns: 125px repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .compact {
    padding-left: 55px !important;
  }
  .compact .event-date {
    left: 7px;
  }
  .home-events-row {
    grid-template-columns: minmax(0, 1fr) 256px;
  }
  .home-bottom {
    gap: 18px;
  }
  .home-bottom > section + section {
    padding-left: 18px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 25px;
  }
  .story h1 {
    font-size: 36px;
  }
  .story-lead {
    font-size: 18px;
  }
  .gallery-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 26px;
  }
  .photo-grid {
    grid-template-rows: repeat(3, 170px);
  }
  .admin-app {
    --sidebar: 220px;
  }
  .admin-header {
    padding: 0 24px;
    gap: 16px;
  }
  .admin-main {
    padding: 25px 24px;
  }
  .admin-heading-brand {
    min-width: 165px;
  }
  .admin-search {
    width: 330px;
  }
  .admin-profile {
    min-width: 165px;
  }
  .quick-actions {
    gap: 10px;
  }
  .quick {
    gap: 10px;
    padding: 10px;
  }
  .quick strong {
    font-size: 12px;
  }
  .dashboard-summary {
    grid-template-columns: 1fr repeat(3, 1fr);
    gap: 10px;
  }
  .today-card h2 {
    font-size: 18px;
  }
  .metric-card {
    grid-template-columns: 43px 1fr 10px;
    padding: 17px 10px;
    gap: 7px;
  }
  .metric-card > .icon:first-child {
    width: 40px;
    height: 50px;
    padding: 11px;
  }
  .metric-card > span {
    font-size: 12px;
  }
  .metric-card > strong {
    font-size: 24px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
    gap: 16px;
  }
  .ad-metrics {
    gap: 8px;
  }
  .ad-metric {
    padding: 15px 9px;
    gap: 8px;
  }
  .ad-metric > .icon {
    width: 35px;
    height: 35px;
    padding: 8px;
  }
  .ad-metric span {
    font-size: 10px;
  }
  .advertising-layout {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  }
  .ad-stages {
    gap: 8px;
  }
  .ad-stages > span {
    font-size: 10px;
    gap: 5px;
  }
  .library-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) and (min-width: 801px) {
  .home-top {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    display: none;
  }
  .hero-stack,
  .secondary-news {
    height: 400px;
  }
  .home-events-row {
    grid-template-columns: 1fr;
  }
  .home-events-row > .advertisement {
    display: none;
  }
  .home-events {
    grid-template-columns: 145px repeat(3, minmax(0, 1fr));
  }
  .home-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-bottom > section:last-child {
    grid-column: 1/3;
    border: 0;
    padding: 0;
  }
  .home-bottom .album-row img {
    aspect-ratio: 2;
  }
  .home-bottom .album-card h3 {
    font-size: 13px;
  }
  .home-bottom .photo-count {
    top: auto;
    bottom: 45px;
  }
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
  }
  .story h1 {
    font-size: 31px;
  }
  .story-lead {
    font-size: 17px;
  }
  .story-cover {
    width: 100%;
    float: none;
    margin: 0 0 12px;
  }
  .story-facts {
    float: none;
    width: 100%;
    display: flex;
    gap: 15px;
    padding: 14px;
  }
  .story-facts > div {
    flex: 1;
    margin: 0;
    font-size: 11px;
    gap: 7px;
  }
  .story-facts .icon {
    width: 18px;
    height: 18px;
  }
  .article-related {
    grid-template-columns: 1fr;
  }
  .gallery-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 22px;
  }
  .gallery-container {
    width: calc(100% - 50px);
  }
  .gallery-title h1 {
    font-size: 29px;
  }
  .photo-grid {
    grid-template-rows: repeat(3, 130px);
  }
  .gallery-layout > aside > .advertisement img {
    height: 280px;
  }
  .other-albums .album-card a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .other-albums .album-card img {
    width: 100%;
    aspect-ratio: 1.8;
  }
  .footer-grid {
    gap: 20px;
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-grid > div:nth-child(2) {
    display: none;
  }
  .afisha-container {
    width: calc(100% - 50px);
  }
  .events-lower {
    gap: 20px;
    grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  }
  .event-types {
    gap: 6px;
  }
  .event-types > a {
    font-size: 10px;
    padding: 8px 10px;
  }
  .event-types .submit-event {
    font-size: 10px;
  }
  .event-card .event-info h3 {
    font-size: 14px;
  }
  .event-info {
    padding: 11px;
  }
  .event-bottom > strong {
    font-size: 12px;
  }
  .event-bottom .btn {
    font-size: 10px;
    padding: 6px 9px;
  }
  .event-info > .badge {
    font-size: 9px;
  }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .header-search {
    display: none;
  }
  .header-date {
    display: none;
  }
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav a {
    font-size: 11px;
  }
  .brand {
    width: 220px;
    min-width: 205px;
  }
  .desktop-nav a:last-child {
    display: none;
  }
  .admin-app {
    --sidebar: 190px;
  }
  .admin-sidebar {
    padding: 8px 10px 15px;
  }
  .admin-sidebar > .brand {
    margin-left: 0;
    width: 175px;
  }
  .admin-sidebar .brand img {
    width: 175px;
  }
  .admin-sidebar .brand span {
    font-size: 8px;
    left: 40px;
  }
  .admin-sidebar nav > a {
    padding: 11px 10px;
    gap: 12px;
    font-size: 13px;
  }
  .admin-heading-brand {
    display: none;
  }
  .admin-header {
    height: 66px;
  }
  .admin-main {
    padding: 23px 18px;
  }
  .admin-profile {
    min-width: 155px;
  }
  .dashboard-summary {
    grid-template-columns: repeat(3, 1fr);
  }
  .today-card {
    grid-column: 1/4;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .today-card p {
    margin: 0;
  }
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .dashboard-columns > aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .dashboard-columns > aside > .card {
    margin: 0;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
    gap: 14px;
  }
  .compose-sidebar .card {
    padding: 15px;
  }
  .admin-page-head h1 {
    font-size: 26px;
  }
  .advertising-layout {
    grid-template-columns: 1fr;
  }
  .advertising-layout > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .advertising-layout > aside > .card {
    margin: 0;
  }
  .library-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 65px;
  }
  .container,
  .afisha-container,
  .gallery-container {
    width: calc(100% - 32px);
  }
  .site-header,
  .site-header.dark {
    height: auto;
    min-height: 62px;
  }
  .header-inner {
    width: calc(100% - 32px);
    gap: 10px;
    height: 62px;
  }
  .brand {
    width: 220px;
    min-width: 0;
    height: 60px;
    margin-right: auto;
  }
  .brand img {
    width: 225px;
    top: 22px;
  }
  .brand > span {
    top: 40px;
    left: 51px;
    font-size: 9px;
  }
  .desktop-nav,
  .header-date {
    display: none;
  }
  .header-search {
    display: none;
  }
  .header-search.mobile-visible {
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 65px;
    width: auto;
    background: #fff;
    height: 44px;
    margin: 0;
    z-index: 25;
    box-shadow: 0 6px 20px #193b5e20;
  }
  .header-search.mobile-visible input {
    font-size: 14px;
    padding: 10px;
  }
  .mobile-menu,
  .mobile-search,
  .mobile-weather {
    display: flex;
  }
  .mobile-menu {
    color: #004999;
  }
  .mobile-weather {
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }
  .mobile-weather .icon {
    width: 21px;
    height: 21px;
    fill: #b6c7e0;
    color: #8ca5c5;
  }
  .mobile-search,
  .mobile-menu {
    width: 29px;
  }
  .mobile-search > .icon,
  .mobile-menu > .icon {
    width: 22px;
    height: 22px;
  }
  .mobile-nav {
    display: flex;
    align-items: center;
    height: 42px;
    gap: 26px;
    padding: 0 18px;
    overflow-x: auto;
    border-top: 1px solid #f2f5f9;
    scrollbar-width: none;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
  }
  .mobile-nav > a {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
  }
  .mobile-nav > a.active {
    color: #0067f2;
  }
  .mobile-nav > a.active:after {
    position: absolute;
    content: "";
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #137cff;
  }
  .mobile-nav > button {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
  }
  .mobile-nav > button > .icon {
    width: 12px;
  }
  .site-header.dark .mobile-nav {
    border-color: #ffffff10;
  }
  .dark .brand {
    background: #fff;
    height: 55px;
  }
  .home {
    padding-top: 9px;
  }
  .home-top {
    display: block;
  }
  .home-stories {
    display: block;
  }
  .hero-stack {
    height: auto;
    aspect-ratio: 1.31;
    border-radius: 4px;
  }
  .hero-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .hero-copy .badge {
    font-size: 10px;
    padding: 3px 6px;
    background: #0069ec;
    margin-bottom: 8px;
  }
  .hero-copy h1 {
    font-size: clamp(23px, 5.8vw, 28px);
    line-height: 1.11;
    letter-spacing: -0.6px;
    max-width: none;
  }
  .hero-copy p {
    font-size: clamp(11px, 2.65vw, 13px);
    line-height: 1.5;
    margin-top: 8px;
    max-width: none;
  }
  .hero-copy .meta {
    font-size: 10px;
    margin-top: 12px;
  }
  .hero-shade {
    background: linear-gradient(transparent 20%, #05112655 42%, #041327e8 100%);
  }
  .hero-arrows,
  .hero-dots {
    display: none;
  }
  .secondary-news {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 11px;
    height: auto;
  }
  .secondary-news .small-post {
    gap: 12px;
    padding: 0 0 11px;
    margin-bottom: 11px;
  }
  .secondary-news .small-thumb {
    width: 29%;
    height: 88px;
    flex-basis: 29%;
    border-radius: 4px;
  }
  .secondary-news .small-post h3 {
    font-size: clamp(13px, 3.2vw, 15px);
    line-height: 1.25;
    margin-bottom: 7px;
  }
  .secondary-news .small-post p {
    display: none;
  }
  .secondary-news .small-post .badge {
    font-size: 9px;
    padding: 1px 5px;
    background: #eaf3ff;
    margin-bottom: 5px;
  }
  .secondary-news .small-post .meta {
    font-size: 10px;
  }
  .secondary-news .small-post .meta .icon {
    width: 12px;
    height: 12px;
  }
  .home-sidebar {
    display: none;
  }
  .home-events-row {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
    gap: 16px;
  }
  .home-events-row > .advertisement {
    order: -1;
    height: 88px;
  }
  .home-events-row > .advertisement > a {
    height: 100%;
    width: 100%;
    justify-content: center;
  }
  .home-events-row > .advertisement img {
    height: 100%;
    object-fit: contain;
  }
  .home-events {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    background: none;
    gap: 10px;
  }
  .home-events-label {
    grid-column: 1/4;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .home-events-label h2 {
    font-size: 19px;
  }
  .home-events-label h2 > .icon {
    width: 19px;
  }
  .home-events-label p {
    font-size: 10px;
    margin: 0;
  }
  .event-card.compact {
    padding: 0;
    min-height: 180px;
    border-color: #e2ebf7;
  }
  .compact .event-poster {
    height: 95px;
    aspect-ratio: auto;
  }
  .compact .event-poster > img {
    height: 95px;
    border-radius: 3px 3px 0 0;
  }
  .compact .event-date {
    background: #fffffff0;
    border-radius: 3px;
    top: 4px;
    left: 4px;
    padding: 2px 4px;
    line-height: 1.1;
  }
  .compact .event-date > strong {
    font-size: 16px;
  }
  .compact .event-date > span {
    font-size: 8px;
  }
  .compact .event-info {
    padding: 7px;
  }
  .compact .event-info h3 {
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: 0;
  }
  .compact .event-location {
    display: none;
  }
  .compact .event-bottom > .btn {
    font-size: 9px;
    padding: 5px;
    min-height: 26px;
  }
  .home-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
  }
  .home-bottom > section + section {
    border: 0;
    padding: 0;
  }
  .home-bottom .section-head h2 {
    font-size: 21px;
  }
  .home-bottom .small-post h3 {
    font-size: 13px;
  }
  .home-bottom .small-post .small-thumb {
    width: 100px;
    flex-basis: 100px;
    height: 74px;
  }
  .home-bottom .small-post .meta {
    font-size: 10px;
  }
  .album-row {
    gap: 9px;
  }
  .album-card h3 {
    font-size: 11px;
  }
  .photo-count {
    top: auto;
    bottom: 45px;
  }
  .home-more {
    margin-top: 25px;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .news-card h2 {
    font-size: 15px;
  }
  .news-card p {
    font-size: 11px;
  }
  .news-card > div {
    padding: 11px;
  }
  .news-card .meta {
    font-size: 9px;
  }
  .breadcrumbs {
    font-size: 10px;
    padding: 16px 0 12px;
    gap: 6px;
  }
  .breadcrumbs span:last-child {
    max-width: 75%;
  }
  .page-heading {
    margin: 15px 0 22px;
    gap: 15px;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 30px;
    line-height: 1.15;
  }
  .page-heading p {
    font-size: 14px;
    margin-top: 9px;
  }
  .result-count {
    font-size: 10px;
    white-space: normal;
    min-width: 60px;
    margin-top: 6px;
  }
  .filter-tabs {
    gap: 5px;
    margin: 15px 0;
  }
  .filter-tabs a {
    padding: 7px 11px;
    font-size: 11px;
  }
  .big-search {
    gap: 6px;
    padding: 7px;
  }
  .big-search input {
    padding: 9px;
    min-width: 0;
  }
  .big-search > .icon {
    display: none;
  }
  .big-search > .btn {
    font-size: 12px;
    padding: 9px 12px;
  }
  .afisha-hero {
    background: white;
    border: 0;
    margin: 0;
    padding: 0;
  }
  .afisha-hero .breadcrumbs {
    display: none;
  }
  .afisha-hero .page-heading {
    margin: 26px 0 20px;
    position: relative;
    gap: 8px;
  }
  .afisha-hero h1 {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.6px;
  }
  .afisha-hero h1 > span {
    color: var(--ink);
  }
  .afisha-hero .page-heading p {
    font-size: 14px;
    line-height: 1.4;
    max-width: none;
  }
  .mobile-event-submit {
    display: none;
  }
  .period-buttons {
    gap: 4px;
    flex-wrap: wrap;
  }
  .period-buttons > .pill {
    font-size: 10px;
    padding: 7px 10px;
  }
  .month-select {
    margin-left: auto;
  }
  .month-select input {
    font-size: 10px;
    width: 135px;
  }
  .date-strip {
    margin-top: 13px;
    border: 0;
    padding: 0;
    gap: 5px;
    margin-bottom: 15px;
    scrollbar-width: none;
  }
  .date-pill {
    flex: 0 0 43px;
    min-width: 43px;
    min-height: 55px;
    border: 1px solid #e9eff8;
    border-radius: 6px;
    gap: 5px;
  }
  .date-pill > span {
    font-size: 10px;
  }
  .date-pill.active {
    background: #0068f6;
  }
  .event-types {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 6px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .event-types > a {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 32px;
    border-radius: 7px;
  }
  .event-types > a > .icon {
    display: none;
  }
  .event-types .submit-event {
    display: none;
  }
  .featured-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .featured-events > .event-card {
    display: flex;
    gap: 13px;
    padding: 12px;
    min-height: 200px;
    align-items: stretch;
    overflow: visible;
    border-radius: 9px;
  }
  .featured-events .event-poster {
    width: 34%;
    aspect-ratio: auto;
    position: static;
    margin-left: 46px;
    flex-shrink: 0;
  }
  .featured-events .event-poster > img {
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    border-radius: 5px;
  }
  .featured-events .event-date {
    left: 11px;
    top: 15px;
    flex-direction: column;
    color: var(--ink);
    text-shadow: none;
    align-items: center;
    gap: 0;
    width: 40px;
  }
  .featured-events .event-date > strong {
    font-size: 29px;
  }
  .featured-events .event-date > span {
    font-size: 10px;
    line-height: 1.5;
  }
  .featured-events .event-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
  }
  .featured-events .event-info h3 {
    font-size: 16px;
    line-height: 1.2;
    margin: 20px 0 8px;
    padding-right: 8px;
  }
  .featured-events .event-info > .favourite {
    right: -5px;
    top: -6px;
  }
  .featured-events .event-location {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 7px;
  }
  .featured-events .event-description {
    display: block;
    font-size: 11px;
    line-height: 1.4;
  }
  .featured-events .event-bottom {
    margin-top: auto;
    align-items: center;
    gap: 5px;
    padding-top: 10px;
    flex-wrap: wrap;
  }
  .featured-events .event-bottom > strong {
    font-size: 12px;
  }
  .featured-events .event-bottom > .btn {
    font-size: 11px;
    padding: 7px 10px;
    min-height: 32px;
    margin-left: auto;
  }
  .featured-events .event-info > .badge {
    font-size: 9px;
    margin-top: 6px;
    align-self: flex-start;
  }
  .events-lower {
    display: block;
    margin-top: 30px;
  }
  .events-lower .section-head h2 {
    font-size: 21px;
  }
  .events-aside {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .events-aside > * {
    margin: 0 !important;
  }
  .events-aside .calendar {
    padding: 12px;
  }
  .events-aside .venue-panel {
    padding: 12px;
  }
  .venue-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .venue-grid > a {
    min-height: 35px;
    font-size: 9px;
    padding: 7px;
    gap: 7px;
  }
  .venue-grid .icon {
    width: 16px;
    height: 16px;
  }
  .event-submit-card {
    grid-column: 1/3;
  }
  .event-list .event-poster {
    width: 64px;
    height: 74px;
    flex-basis: 64px;
  }
  .event-list .event-info h3 {
    font-size: 12px;
  }
  .event-list .event-info > .badge {
    display: none;
  }
  .event-list .event-location {
    font-size: 10px;
  }
  .event-list .event-bottom {
    gap: 7px;
  }
  .event-list .event-bottom > strong {
    font-size: 11px;
  }
  .event-list .event-bottom .btn {
    font-size: 9px;
    padding: 5px 8px;
  }
  .article-layout {
    display: block;
  }
  .article-page > .breadcrumbs {
    padding: 13px 0;
  }
  .article-page > .breadcrumbs span:last-child {
    display: none;
  }
  .story-meta {
    gap: 8px;
    margin-bottom: 10px;
  }
  .story-meta .meta {
    font-size: 9px;
  }
  .story-meta .badge {
    font-size: 9px;
  }
  .story-actions {
    margin-left: auto;
  }
  .story h1 {
    font-size: clamp(25px, 5.9vw, 30px);
    line-height: 1.13;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
  }
  .story-lead {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 15px;
  }
  .story-cover {
    float: none;
    width: 100%;
    margin: 0 0 12px;
  }
  .story-cover > img {
    aspect-ratio: 2.05;
  }
  .story-cover > figcaption {
    position: static;
    color: #6c7e9a;
    text-shadow: none;
    font-size: 10px;
    margin-top: 6px;
  }
  .story-facts {
    display: none;
  }
  .article-content {
    font-size: 14px;
    line-height: 1.5;
  }
  .article-content p {
    margin-bottom: 12px;
  }
  .article-aside {
    display: none;
  }
  .article-related {
    display: block;
    margin-top: 24px;
  }
  .article-related > section + section {
    margin-top: 25px;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related-grid .news-card h2 {
    font-size: 11px;
  }
  .article-album {
    padding-top: 8px;
  }
  .article-album h2 {
    font-size: 17px;
  }
  .article-photo-row > .photo-button {
    height: 85px;
  }
  .album-open {
    font-size: 12px;
  }
  .article-related .event-mini-row .compact {
    padding: 0 !important;
  }
  .gallery-layout {
    display: block;
  }
  .gallery-layout > aside {
    display: none;
  }
  .gallery-layout .breadcrumbs {
    padding: 17px 0;
  }
  .gallery-title h1 {
    font-size: 28px;
  }
  .gallery-title-bottom {
    gap: 10px;
    align-items: flex-start;
  }
  .gallery-title-bottom p {
    font-size: 10px;
  }
  .gallery-title-bottom .btn {
    font-size: 10px;
    padding: 6px 9px;
  }
  .gallery-lead {
    font-size: 14px;
    line-height: 1.5;
    margin: 18px 0 15px;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 130px;
    gap: 6px;
  }
  .photo-grid .photo-button {
    grid-column: auto;
    grid-row: auto;
  }
  .photo-grid .photo-0 {
    grid-column: 1/3;
    grid-row: 1/3;
  }
  .photo-grid .photo-7 {
    grid-column: auto;
  }
  .gallery-caption {
    font-size: 10px;
    padding: 13px 0;
    gap: 8px;
    align-items: flex-start;
  }
  .gallery-caption > span:last-child {
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
  }
  .gallery-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-related .album-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .gallery-list-grid .album-card h3 {
    font-size: 12px;
  }
  .gallery-list-grid .photo-count {
    bottom: auto;
    top: 8px;
  }
  .lightbox {
    padding: 60px 14px 75px;
  }
  .lightbox-prev {
    left: 8px;
    top: auto;
    bottom: 15px;
  }
  .lightbox-next {
    right: 8px;
    top: auto;
    bottom: 15px;
  }
  .lightbox-caption {
    font-size: 11px;
    left: 55px;
    right: 55px;
    bottom: 20px;
  }
  .event-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 8px 0 30px;
  }
  .event-detail-image {
    max-width: 360px;
    width: 100%;
    margin: auto;
  }
  .event-detail-image img {
    max-height: 440px;
  }
  .event-detail h1 {
    font-size: 31px;
  }
  .event-detail .featured-events > .event-card {
    min-height: 190px;
  }
  .service-page h1 {
    font-size: 31px;
  }
  .service-lead {
    font-size: 16px;
    margin-bottom: 23px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .guide-card {
    padding: 20px;
  }
  .guide-card h2 {
    font-size: 22px;
  }
  .site-footer {
    margin-top: 25px;
    padding-top: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    font-size: 11px;
  }
  .footer-grid .brand {
    width: 210px;
  }
  .footer-grid .brand img {
    width: 210px;
  }
  .footer-grid > div:nth-child(2) {
    display: none;
  }
  .footer-grid > .brand {
    grid-column: 1/3;
  }
  .footer-grid nav {
    gap: 10px;
  }
  .footer-note {
    font-size: 9px;
    line-height: 1.7;
  }
  .update-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
    font-size: 12px;
    gap: 8px;
  }
  .admin-app {
    --sidebar: 0px;
  }
  .admin-sidebar {
    width: 100%;
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    padding: 0;
    background: #fff;
    border-right: 0;
    display: block;
    overflow: visible;
  }
  .admin-sidebar > .brand,
  .sidebar-help,
  .sidebar-copyright {
    display: none;
  }
  .admin-sidebar nav {
    flex-direction: row;
    gap: 2px;
    padding: 4px 8px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }
  .admin-sidebar nav > a {
    padding: 9px;
    gap: 6px;
    font-size: 10px;
    white-space: nowrap;
    min-height: 35px;
    flex-shrink: 0;
  }
  .admin-sidebar nav > a > .icon {
    width: 16px;
    height: 16px;
  }
  .admin-header {
    height: 58px;
    padding: 0 14px;
    gap: 10px;
    margin-left: 0;
  }
  .admin-heading-brand {
    display: none;
  }
  .admin-search {
    width: auto;
    flex: 1;
    margin-left: 0;
    min-width: 0;
    padding: 3px 7px;
  }
  .admin-search input {
    font-size: 10px;
  }
  .admin-search kbd {
    display: none;
  }
  .admin-profile {
    min-width: 0;
  }
  .admin-profile > .avatar {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
  .admin-profile > div {
    display: none;
  }
  .admin-header > .icon-button {
    width: 25px;
  }
  .admin-main {
    margin: 0;
    padding: 22px 15px;
  }
  .admin-page-head {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .admin-page-head h1 {
    font-size: 26px;
    letter-spacing: -0.6px;
  }
  .admin-page-head p {
    font-size: 12px;
    line-height: 1.4;
  }
  .admin-page-head > .btn {
    font-size: 11px;
    padding: 9px 10px;
    min-height: 38px;
    max-width: 145px;
  }
  .admin-page-head > .btn > .icon {
    width: 17px;
  }
  .dashboard-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }
  .today-card {
    grid-column: 1/4;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    gap: 10px;
  }
  .today-card h2 {
    font-size: 17px;
  }
  .today-card p {
    font-size: 10px;
    margin: 0;
  }
  .today-card .icon {
    width: 16px;
  }
  .metric-card {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 120px;
    position: relative;
  }
  .metric-card > .icon:first-child {
    height: 28px;
    width: 28px;
    padding: 7px;
    border-radius: 6px;
  }
  .metric-card > .icon:last-child {
    display: none;
  }
  .metric-card > strong {
    font-size: 23px;
  }
  .metric-card > span {
    font-size: 10px;
    line-height: 1.25;
  }
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0;
  }
  .quick {
    padding: 10px;
    gap: 9px;
  }
  .quick > .icon {
    height: 19px;
    width: 19px;
    padding: 7px;
  }
  .quick strong {
    font-size: 11px;
  }
  .quick small {
    font-size: 8px;
    margin-top: 4px;
  }
  .dashboard-columns {
    display: block;
  }
  .dashboard-columns .card {
    padding: 14px;
    margin-bottom: 15px;
  }
  .dashboard-columns .card h2 {
    font-size: 16px;
  }
  .dashboard-columns .section-head .text-link {
    font-size: 10px;
  }
  .source-task > img {
    width: 78px;
    height: 62px;
  }
  .source-task strong {
    font-size: 11px;
  }
  .editor-task {
    gap: 10px;
    flex-wrap: wrap;
  }
  .task-image {
    width: 75px;
    height: 65px;
  }
  .editor-task h3 {
    font-size: 12px;
  }
  .editor-task p {
    font-size: 10px;
  }
  .editor-task > div:last-child {
    min-width: 0;
    margin-left: 85px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .editor-task > div:last-child > .meta {
    margin: 0;
  }
  .editor-task > div:nth-child(2) {
    min-width: calc(100% - 100px);
  }
  .editor-notice {
    font-size: 10px;
    line-height: 1.5;
    padding: 12px;
    align-items: flex-start;
    margin-top: 15px;
    gap: 9px;
  }
  .editor-layout {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }
  .compose-main .admin-page-head h1 {
    font-size: 27px;
  }
  .compose-main .admin-page-head p {
    font-size: 11px;
  }
  .form-label {
    font-size: 12px;
    margin-top: 15px;
  }
  .form-label > input {
    font-size: 14px;
    min-height: 43px;
  }
  .editor-toolbar {
    gap: 3px;
    padding: 7px;
  }
  .editor-toolbar > select {
    max-width: 130px;
    font-size: 10px;
  }
  .editor-toolbar > span {
    margin: 0 2px;
  }
  .toolbar-btn {
    width: 27px;
    height: 26px;
  }
  .editor-body {
    font-size: 14px;
    padding: 13px;
    min-height: 160px;
  }
  .editor-cover {
    margin: 0 12px 12px;
  }
  .editor-cover > img {
    max-height: 260px;
  }
  .caption-input {
    padding: 0 12px 12px;
  }
  .attachments-panel {
    padding: 12px;
    gap: 9px;
  }
  .attachments-panel p {
    font-size: 9px;
  }
  .attachments-panel .text-link {
    font-size: 11px;
  }
  .attachments-panel > .icon {
    width: 20px;
  }
  .upload-add {
    width: 40px;
    height: 40px;
  }
  .attachments-panel #attachment-previews {
    max-width: 70px;
  }
  .attachments-panel #attachment-previews img {
    width: 36px;
    height: 36px;
  }
  .editor-old {
    padding: 13px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .editor-old .btn {
    font-size: 10px;
  }
  .compose-sidebar .card {
    padding: 17px;
  }
  .compose-sidebar .btn {
    min-height: 43px;
    font-size: 13px;
  }
  .compose-sidebar label {
    font-size: 12px;
  }
  .library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .library-grid img {
    height: 100px;
  }
  .library-grid strong {
    font-size: 9px;
    padding: 8px;
  }
  .library-grid small {
    font-size: 8px;
    padding: 0 8px;
  }
  .media-picker {
    padding: 17px;
  }
  .media-picker .section-head h2 {
    font-size: 20px;
  }
  .media-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .media-results img {
    height: 85px;
  }
  .media-results button {
    font-size: 9px;
  }
  #media-search {
    gap: 7px;
  }
  #media-search > .icon {
    display: none;
  }
  #media-search input {
    padding: 9px;
    font-size: 12px;
  }
  #media-search > .btn {
    font-size: 12px;
    padding: 9px 12px;
  }
  .advertising-layout {
    display: block;
  }
  .ad-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ad-metric {
    padding: 13px 10px;
    min-height: 95px;
    gap: 10px;
  }
  .ad-metric > .icon {
    height: 35px;
    width: 35px;
    padding: 8px;
  }
  .ad-metric span {
    font-size: 10px;
  }
  .ad-metric strong {
    font-size: 25px;
  }
  .ad-stages {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin: 22px 0;
  }
  .ad-stages > span {
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .ad-stages .icon {
    width: 22px;
    height: 22px;
    padding: 4px;
  }
  .advertising-layout > aside {
    margin-top: 18px;
  }
  .ad-orders {
    padding: 13px;
  }
  .ad-orders > .section-head h2 {
    font-size: 15px;
  }
  .ad-orders > .section-head > .muted {
    font-size: 9px;
  }
  .settings-card {
    padding: 17px;
  }
  .settings-card h2 {
    font-size: 20px;
  }
  .settings-card p {
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .header-inner {
    gap: 6px;
  }
  .brand {
    width: 190px;
  }
  .brand img {
    width: 194px;
    top: 23px;
  }
  .brand > span {
    left: 44px;
    top: 38px;
    font-size: 8px;
  }
  .mobile-weather {
    font-size: 11px;
    gap: 3px;
  }
  .mobile-weather > .icon {
    width: 18px;
  }
  .mobile-search,
  .mobile-menu {
    width: 25px;
  }
  .mobile-nav {
    gap: 23px;
    font-size: 11px;
  }
  .hero-copy h1 {
    font-size: 23px;
  }
  .hero-copy p {
    font-size: 11px;
  }
  .hero-copy .meta {
    font-size: 9px;
  }
  .hero-copy {
    bottom: 10px;
  }
  .secondary-news .small-thumb {
    height: 79px;
  }
  .secondary-news .small-post h3 {
    font-size: 12px;
  }
  .secondary-news .small-post .meta {
    font-size: 9px;
  }
  .afisha-hero h1 {
    font-size: 23px;
  }
  .afisha-hero .page-heading p {
    font-size: 12px;
  }
  .featured-events > .event-card {
    padding: 10px;
    gap: 10px;
    min-height: 190px;
  }
  .featured-events .event-poster {
    margin-left: 40px;
    width: 32%;
  }
  .featured-events .event-poster > img {
    min-height: 170px;
  }
  .featured-events .event-date {
    left: 6px;
    width: 34px;
  }
  .featured-events .event-date > strong {
    font-size: 26px;
  }
  .featured-events .event-date > span {
    font-size: 9px;
  }
  .featured-events .event-info h3 {
    font-size: 14px;
    margin-top: 17px;
  }
  .featured-events .event-description {
    font-size: 10px;
  }
  .featured-events .event-location {
    font-size: 10px;
  }
  .featured-events .event-bottom > strong {
    font-size: 11px;
  }
  .featured-events .event-bottom > .btn {
    font-size: 10px;
    padding: 6px 8px;
  }
  .featured-events .event-info > .badge {
    font-size: 8px;
  }
  .event-types > a {
    font-size: 10px;
    padding: 8px 10px;
  }
  .period-buttons > .pill {
    font-size: 9px;
    padding: 6px 8px;
  }
  .month-select input {
    width: 120px;
    font-size: 9px;
  }
  .events-aside {
    display: block;
  }
  .events-aside > * {
    margin-bottom: 15px !important;
  }
  .venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .story h1 {
    font-size: 25px;
  }
  .story-lead {
    font-size: 14px;
  }
  .article-content {
    font-size: 13px;
  }
  .news-card h2 {
    font-size: 13px;
  }
  .news-card > div {
    padding: 10px;
  }
  .news-card p {
    font-size: 10px;
  }
  .news-grid {
    gap: 11px;
  }
  .gallery-title h1 {
    font-size: 25px;
  }
  .gallery-lead {
    font-size: 13px;
  }
  .photo-grid {
    grid-auto-rows: 110px;
  }
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-page-head h1 {
    font-size: 23px;
  }
  .admin-page-head > .btn {
    max-width: 125px;
    font-size: 10px;
  }
  .quick strong {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .photo-button img {
    transition: none;
  }
}
@media print {
  .site-header,
  .site-footer,
  .story-actions,
  .article-aside,
  .article-related,
  .admin-sidebar,
  .admin-header,
  .hero-arrows,
  .hero-dots,
  .btn,
  .favourite {
    display: none !important;
  }
  .container,
  .gallery-container,
  .afisha-container {
    width: 100%;
    max-width: none;
  }
  .article-layout,
  .gallery-layout {
    display: block;
  }
  .story h1 {
    font-size: 27px;
  }
  .story-lead {
    font-size: 15px;
  }
  .article-content {
    font-size: 12px;
  }
  .story-cover {
    float: none;
    width: 65%;
  }
  .story-facts {
    display: none;
  }
  .article-content a {
    color: black;
  }
  .admin-main {
    margin: 0;
    padding: 10px;
  }
}

@media (min-width: 801px) {
  .hero-copy h1 {
    max-width: 520px;
  }
}
@media (max-width: 800px) {
  html {
    scrollbar-gutter: auto;
  }
}

.event-poster > img {
  object-fit: contain;
}
.compact .event-poster > img {
  object-fit: cover;
}
.more-types select {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 10px;
  background: white;
  font: inherit;
  color: var(--ink);
  max-width: 125px;
}

.brand img {
  width: min(230px, 100%);
}
.more-types select {
  max-width: 80px;
  font-size: 11px;
  padding: 9px 7px;
}
.venue-more {
  margin-top: 12px;
  font-size: 11px;
  color: var(--blue);
}
.venue-more[open] summary {
  margin-bottom: 12px;
}
.venue-end {
  display: none;
}
.featured-events .event-date {
  background: #fffffff0;
  border-radius: 5px;
  color: var(--ink);
  text-shadow: none;
  padding: 5px 7px;
  gap: 0;
  flex-direction: column;
}
.featured-events .event-date > strong {
  font-size: 28px;
}
.featured-events .event-date > span {
  font-size: 9px;
}
@media (min-width: 801px) {
  body:has(.afisha-page) .site-header {
    height: 54px;
  }
  .afisha-hero {
    padding-bottom: 10px;
  }
  .afisha-hero .breadcrumbs {
    padding: 15px 0;
  }
  .date-pill {
    min-height: 44px;
  }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .site-header .brand {
    min-width: 180px;
    width: 180px;
  }
  .site-header .brand > span {
    left: 42px;
    font-size: 7px;
    top: 32px;
  }
  .desktop-nav {
    gap: 12px;
  }
  .desktop-nav a {
    font-size: 9px;
  }
  .desktop-nav a:last-child {
    display: flex;
  }
  .header-search {
    display: flex;
    width: 120px;
    margin-left: 0;
  }
  .header-inner {
    gap: 12px;
  }
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 4%;
  background: #eaf3ff;
  font-size: 13px;
}
.preview-toolbar .btn {
  margin-left: auto;
}
.article-content video,
.article-content audio {
  max-width: 100%;
}

@media (min-width: 801px) {
  body:has(.article-page) .site-header {
    height: 54px;
  }
  .article-page > .breadcrumbs {
    padding: 15px 0;
  }
  .story-meta .icon-button,
  .story-meta .favourite {
    width: 30px;
    height: 30px;
    min-height: 30px;
  }
}

.admin-sidebar {
  overflow-x: hidden;
}
.admin-sidebar > .brand {
  min-width: 0;
  width: 100%;
}
