:root {
  --ink: #111827;
  --muted: #667085;
  --paper: #f4f6fb;
  --surface: #ffffff;
  --soft: #eef2f7;
  --line: #dce3ee;
  --navy: #101827;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --red: #e30620;
  --rose: #fff1f3;
  --violet: #6d5dfc;
  --danger: #a6332d;
  --shadow: 0 22px 54px rgba(17, 24, 39, 0.12);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #f9fbff 0, var(--paper) 680px);
  background-size: 72px 72px, auto;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--cyan));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 5vw, 64px);
  color: #fff;
  background: rgba(16, 24, 39, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.18);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.7);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 69px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "stats";
  align-content: end;
  gap: clamp(20px, 4vw, 34px);
  overflow: hidden;
  padding: clamp(92px, 12vw, 150px) clamp(20px, 6vw, 86px) clamp(34px, 6vw, 70px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 16, 28, 0.82), rgba(10, 16, 28, 0.34) 54%, rgba(10, 16, 28, 0.8)),
    linear-gradient(0deg, rgba(10, 16, 28, 0.8), rgba(10, 16, 28, 0.12) 44%, rgba(10, 16, 28, 0.34)),
    var(--hero-image, url("/assets/kotowice-mapa-hero.jpg"));
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.22), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(227, 6, 32, 0.18), transparent 24%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  grid-area: copy;
  max-width: 980px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-map {
  position: relative;
  grid-area: map;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  background-image: var(--hero-image, url("/assets/kotowice-mapa-hero.jpg"));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.16), rgba(16, 24, 39, 0.74)),
    linear-gradient(90deg, rgba(16, 24, 39, 0.35), transparent 48%);
}

.map-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: #fff;
  background: rgba(16, 24, 39, 0.58);
  backdrop-filter: blur(12px);
}

.map-label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-label strong {
  font-size: 2rem;
}

.hero-dashboard {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
}

.hero-live,
.hero-metric {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.hero-live:hover,
.hero-metric:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.hero-live span,
.hero-metric span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-live strong,
.hero-metric strong {
  font-size: 2rem;
}

.eyebrow,
.section-kicker,
.meta {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb4bd;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.92;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 30px rgba(227, 6, 32, 0.22);
}

.button.light {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.16);
}

.button.ghost {
  color: var(--blue);
  background: #fff;
  border-color: var(--line);
}

.hero .button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
}

.notice-ticker {
  overflow: hidden;
  padding: 13px clamp(20px, 5vw, 70px);
  color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--red));
  font-weight: 900;
}

.ticker-track {
  display: flex;
  min-width: max-content;
  gap: 44px;
  animation: ticker 24s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
}

.quick-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 5vw, 44px) clamp(20px, 5vw, 70px);
}

.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

.info-card h3,
.utility-panel h3,
.editor-panel h3 {
  margin: 0 0 9px;
  font-size: 1.08rem;
}

.info-card p,
.utility-panel p,
.utility-panel li,
.editor-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.info-card p {
  white-space: pre-line;
}

#hero-copy,
.info-card h3,
.info-card p,
.news-card h3,
.news-card p,
.article-copy h2,
.article-copy p,
.poll-card h3,
.poll-card p,
.radio-item,
#utility-title,
.utility-panel h3,
.utility-panel p,
.utility-panel li,
.important-links a,
#about-title,
#about-lead,
#about-paragraphs p,
.fact-row span,
#contact-title,
#contact-intro,
.contact-list dd,
.contact-list a,
#sources-list a,
.result-box h4,
.votes-table td {
  white-space: pre-line;
}

.section {
  padding: clamp(54px, 8vw, 88px) clamp(20px, 5vw, 70px);
}

.section h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head.compact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.news-section {
  background: #fff;
}

.news-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.filter-tab.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.text-link {
  color: var(--blue);
  font-weight: 950;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  margin-top: 26px;
  color: var(--muted);
  font-weight: 850;
}

.news-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.news-card:hover,
.news-card:focus-visible {
  border-color: rgba(37, 99, 235, 0.46);
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.14);
  transform: translateY(-3px);
  outline: none;
}

.news-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--soft);
}

.news-card-content {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.news-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.article-view,
.facts-panel,
.utility-panel,
.login-box,
.editor-panel,
.poll-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-view {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  margin-top: 26px;
  padding: clamp(22px, 4vw, 38px);
}

.article-copy {
  align-self: center;
}

.article-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.article-photo {
  display: grid;
  min-height: 420px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.article-photo img {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.article-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.civic-board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 70px) clamp(54px, 8vw, 88px);
  background: #fff;
}

.civic-board .section {
  padding: clamp(28px, 5vw, 42px);
  border-radius: 8px;
}

.poll-section {
  background: var(--rose);
}

.utility-section {
  background: var(--soft);
}

.polls-area {
  display: grid;
  gap: 18px;
}

.poll-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-left: 10px solid var(--red);
}

.poll-card p {
  color: var(--muted);
  line-height: 1.65;
}

.poll-form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ccd3df;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.radio-list {
  display: grid;
  gap: 8px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.radio-item input {
  width: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 0.84rem;
  font-weight: 950;
}

.utility-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.utility-panel {
  padding: 20px;
  box-shadow: none;
}

.utility-panel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-panel li,
.important-links a,
#utility-message {
  display: block;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
}

.important-links {
  display: grid;
  gap: 6px;
}

.important-links a {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 68px);
  background: var(--paper);
}

.lead,
#about-paragraphs p {
  color: #3f4755;
  line-height: 1.78;
}

.lead {
  margin: 20px 0 0;
  font-size: 1.13rem;
}

.facts-panel {
  padding: 24px;
  border-top: 8px solid var(--blue);
}

.facts-panel h3 {
  margin: 0 0 16px;
}

.facts-list {
  display: grid;
  gap: 11px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.fact-row span:first-child {
  color: var(--muted);
}

.fact-row span:last-child {
  font-weight: 950;
  text-align: right;
}

.map-preview {
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #05070c;
  box-shadow: 0 24px 58px rgba(17, 24, 39, 0.14);
}

.map-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-section {
  background: #fff;
}

.gallery-group {
  margin-top: 24px;
}

.gallery-group h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-column: span 3;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.gallery-caption {
  padding: 14px;
}

.gallery-caption strong,
.gallery-caption small {
  display: block;
}

.gallery-caption small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.52fr) minmax(240px, 320px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(6, 182, 212, 0.22), transparent 30%),
    linear-gradient(135deg, #111827, #233b66);
}

.contact-section .section-kicker {
  color: #ffb5bd;
}

.contact-section p,
.contact-section a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.contact-list div {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-list dt {
  color: #ffb5bd;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 5px 0 0;
}

.contact-photos {
  display: grid;
  align-items: center;
  justify-content: center;
}

.contact-photos img {
  width: min(100%, 340px);
  height: auto;
  border: 10px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.contact-login {
  align-self: center;
  color: var(--ink);
}

.admin-section {
  background: var(--paper);
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px;
  align-items: start;
}

.login-box,
.editor-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.login-box {
  gap: 10px;
  padding: 18px;
}

.login-box input {
  padding: 9px 10px;
}

.login-box .button {
  min-height: 40px;
  padding: 9px 14px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-panel {
  margin-top: 36px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.editor-panel textarea {
  min-height: 430px;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.results-area {
  display: grid;
  gap: 14px;
}

.result-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.result-bar {
  height: 10px;
  margin: 7px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e0e6ef;
}

.result-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue));
}

.votes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.votes-table th,
.votes-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.votes-table th {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.82);
  background: #101827;
}

#sources-list {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

#sources-list a {
  color: #b9dcff;
}

.hidden {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  color: #fff;
  background: rgba(13, 18, 30, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

.lightbox p {
  max-width: min(900px, 92vw);
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-weight: 950;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.message-ok {
  color: var(--blue);
}

.message-error {
  color: var(--danger);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .hero,
  .about-section,
  .contact-section,
  .login-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "copy"
      "stats";
  }

  .hero-dashboard,
  .quick-dock,
  .news-grid,
  .article-view,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .civic-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 8px;
    padding: 12px 0;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-dashboard,
  .quick-dock,
  .news-grid,
  .article-view,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .article-photo {
    min-height: 260px;
  }

  .section-head,
  .news-tools,
  .admin-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
