:root {
  --porcelain: #F7F8FB;
  --surface: #FFFFFF;
  --ink: #1C2333;
  --ink-soft: #545D70;
  --line: #DCE1EC;
  --cobalt: #2346A0;
  --cobalt-dark: #1A3578;
  --cobalt-soft: #E7EDF9;
  --beet: #A3264B;
  --footer: #EEF1F7;
  --font-display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --narrow: 740px;
  --radius: 8px;
  --dots: radial-gradient(circle, var(--cobalt) 3px, transparent 3.5px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.ornament {
  display: block;
  width: 108px;
  height: 10px;
  margin-bottom: 24px;
  background: var(--dots) 0 50% / 18px 10px repeat-x;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid var(--cobalt);
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  background: var(--cobalt-dark);
  border-color: var(--cobalt-dark);
}

.button--small {
  padding: 10px 18px;
  font-size: 0.9375rem;
}

.button--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--porcelain);
  border-color: var(--ink-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--cobalt);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.brand-small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: var(--cobalt-soft);
  color: var(--cobalt-dark);
}

.nav-toggle {
  display: none;
}

.hero {
  padding: 64px 0 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-article {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 64px;
}

.hero-article--no-image {
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--narrow);
}

.hero-title {
  margin: 14px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.1;
}

.hero-title a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-title a:hover {
  color: var(--cobalt);
}

.hero-excerpt {
  max-width: 48ch;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.hero-text .card-meta {
  margin: 0 0 28px;
}

.hero-plate {
  display: block;
  justify-self: center;
  width: 100%;
  max-width: 500px;
  padding: 18px;
  border-radius: 50%;
  background: var(--dots) 0 0 / 22px 22px, var(--cobalt-soft);
  box-shadow: 0 0 0 2px var(--cobalt);
}

.hero-plate img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid var(--surface);
  border-radius: 50%;
}

.card-category {
  display: inline-block;
  color: var(--beet);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-title {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
}

.card-title a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--cobalt);
}

.card-excerpt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.section {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.2;
}

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

.row-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.row-card--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.row-card-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.welcome {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.welcome-inner {
  max-width: var(--narrow);
  margin: 0 auto;
}

.welcome-title {
  margin-bottom: 28px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
}

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

.post-card-media {
  display: block;
}

.post-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.post-card-body {
  padding-top: 18px;
}

.popular {
  background: var(--cobalt-soft);
}

.popular-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: popular;
}

.popular-item {
  position: relative;
  padding: 22px 0 22px 64px;
  border-top: 1px solid rgba(35, 70, 160, 0.18);
  counter-increment: popular;
}

.popular-item::before {
  content: counter(popular);
  position: absolute;
  top: 18px;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: var(--surface);
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
}

.popular-link {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.popular-link:hover {
  color: var(--cobalt);
}

.popular-views {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-top: 28px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-underline-offset: 3px;
}

.breadcrumbs a:hover {
  color: var(--cobalt);
}

.article-header {
  max-width: var(--narrow);
  padding: 28px 0 40px;
}

.article-title {
  margin-top: 10px;
  font-size: clamp(2.2rem, 4.2vw, 3.3rem);
  line-height: 1.1;
}

.article-lead {
  max-width: 60ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.article-image {
  margin: 0 0 56px;
}

.article-image img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--narrow)) 280px;
  justify-content: space-between;
  align-items: start;
  gap: 64px;
  padding-bottom: 72px;
}

.article-layout--single {
  grid-template-columns: minmax(0, var(--narrow));
}

.article-aside {
  position: sticky;
  top: 100px;
}

.toc {
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.toc-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list li:last-child {
  margin-bottom: 0;
}

.toc-list li::marker {
  color: var(--cobalt);
  font-weight: 600;
}

.toc-list a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-list a:hover {
  color: var(--cobalt);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0 72px;
  border-top: 1px solid var(--line);
}

.post-nav-link {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.post-nav-link:hover {
  border-color: var(--cobalt);
}

.post-nav-link--next {
  grid-template-columns: minmax(0, 1fr) 80px;
  text-align: right;
}

.post-nav-link--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.post-nav-link img {
  width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.post-nav-label {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.post-nav-title {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
}

.related {
  padding: 72px 0 80px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.comments {
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}

.comments-inner {
  max-width: var(--narrow);
}

.comments-intro {
  max-width: 60ch;
  margin: 12px 0 32px;
  color: var(--ink-soft);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-soft);
  outline: none;
}

.form-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--cobalt);
}

.form-check a {
  color: var(--cobalt);
  text-underline-offset: 3px;
}

.comment-form .button {
  align-self: flex-start;
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose p {
  margin: 0 0 1.3em;
}

.prose h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  scroll-margin-top: 100px;
}

.prose h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.4rem;
  scroll-margin-top: 100px;
}

.prose h4 {
  margin: 1.6em 0 0.5em;
  font-size: 1.15rem;
}

.prose h5,
.prose h6 {
  margin: 1.4em 0 0.4em;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose a {
  color: var(--cobalt);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(35, 70, 160, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  word-break: break-word;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.prose a:hover {
  color: var(--cobalt-dark);
  text-decoration-color: var(--cobalt-dark);
}

.prose a:has(img) {
  display: inline-block;
  text-decoration: none;
}

.prose h2 a,
.prose h3 a,
.prose h4 a {
  color: inherit;
  font-weight: inherit;
}

.prose ul,
.prose ol {
  margin: 1.4em 0 1.6em;
  padding-left: 24px;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 10px;
  padding-left: 6px;
}

.prose li:last-child {
  margin-bottom: 0;
}

.prose li::marker {
  color: var(--cobalt);
}

.prose ol > li::marker {
  font-weight: 700;
}

.prose li ul,
.prose li ol {
  margin: 10px 0 0;
}

.prose li ul {
  list-style-type: circle;
}

.prose blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--cobalt);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cobalt-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose img {
  margin: 2em 0;
  border-radius: var(--radius);
}

.prose figure {
  margin: 2em 0;
}

.prose figure img {
  margin: 0;
}

.prose figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.prose hr {
  height: 10px;
  margin: 2.5em 0;
  border: 0;
  background: var(--dots) 50% 50% / 18px 10px repeat-x;
  opacity: 0.5;
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: var(--cobalt-soft);
  font-size: 0.9em;
}

.prose iframe,
.prose video {
  max-width: 100%;
}

.table-wrap {
  width: 100%;
  margin: 2em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose table {
  width: 100% !important;
  border: none;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: left;
}

.prose th,
.prose td {
  padding: 14px 18px;
  border: none;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose th,
.prose thead td {
  background: var(--cobalt-soft);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose tbody tr:hover {
  background: rgba(35, 70, 160, 0.03);
}

.prose table p {
  margin: 0;
}

.site-footer {
  position: relative;
  padding: 72px 0 0;
  background: var(--footer);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10px;
  background: var(--dots) 0 50% / 18px 10px repeat-x;
  opacity: 0.35;
}

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

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-text {
  max-width: 36ch;
  margin: 0;
  line-height: 1.6;
}

.footer-heading {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
  line-height: 1.4;
}

.footer-links a,
.footer-legal a,
.footer-legal button {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-mail {
  margin: 12px 0 0;
}

.footer-mail a {
  color: var(--cobalt);
  font-weight: 600;
  word-break: break-all;
  text-underline-offset: 3px;
}

.footer-disclaimer {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 32px;
}

.copyright {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal button {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

.cookie-modal {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: min(380px, calc(100% - 32px));
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--cobalt);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 35, 51, 0.14);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.cookie-text {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.cookie-text a {
  color: var(--cobalt);
  text-underline-offset: 3px;
}

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

@media (max-width: 1080px) {
  .article-layout,
  .article-layout--single {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .article-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    cursor: pointer;
  }

  .nav-toggle-bar {
    display: block;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(28, 35, 51, 0.08);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 4px 24px 16px;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }

  .site-nav a:hover {
    background: none;
  }

  .hero-article {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-plate {
    order: -1;
    max-width: 380px;
  }

  .row-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero-plate {
    max-width: 300px;
    padding: 14px;
  }

  .section {
    padding: 56px 0;
  }

  .row-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .row-card .card-excerpt {
    display: none;
  }

  .post-grid,
  .popular-list,
  .footer-grid,
  .post-nav,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .popular-item {
    padding-left: 58px;
  }

  .article-image {
    margin-bottom: 36px;
  }

  .article-image img {
    aspect-ratio: 3 / 2;
  }

  .comment-form .button {
    align-self: stretch;
  }

  .cookie-modal {
    right: 16px;
    bottom: 16px;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
