/*
Theme Name: MHT Editorial
Theme URI: https://humanistak.hu/
Author: Magyar Humanista Társaság
Author URI: https://humanistak.hu/
Description: Letisztult, szerkesztőségi WordPress-téma a Magyar Humanista Társaság számára. A téma nem módosítja a tartalmat vagy a jelenlegi témát, ezért kikapcsolás után az előző megjelenés azonnal visszaállítható.
Version: 1.0.6
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mht-editorial
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, blog, accessibility-ready, responsive-layout
*/

:root {
  --paper: #f7f4ee;
  --ink: #102a43;
  --coral: #d92f45;
  --coral-bright: #ef4f55;
  --mist: #dce7ee;
  --line: #cdd5da;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--ink);
  color: white;
  padding: 12px 18px;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  width: min(1500px, calc(100% - 64px));
  min-height: 112px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 720;
  line-height: 1.02;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand-name {
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.desktop-nav a {
  position: relative;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.018em;
  text-decoration: none;
}

.desktop-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral-bright);
}

.desktop-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease-out;
}

.desktop-nav a:hover::before,
.desktop-nav a:focus-visible::before {
  transform: scaleX(1);
}

.language-switcher {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease-out, background 160ms ease-out, transform 160ms ease-out;
}

.language-switcher img {
  width: 18px;
  height: 12px;
  border: 1px solid rgba(16, 42, 67, 0.12);
}

.language-switcher:hover,
.language-switcher:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
}

.hero {
  width: min(1500px, calc(100% - 64px));
  min-height: 660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.62fr) minmax(260px, 0.5fr);
  align-items: center;
  overflow: hidden;
}

.hero-title {
  padding: 70px 50px 74px 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(72px, 7.3vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  font-weight: 780;
}

.hero h1 span {
  color: var(--coral-bright);
}

.hero-message {
  min-height: 480px;
  padding: 66px 38px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accent-line {
  width: 68px;
  height: 4px;
  margin-bottom: 46px;
  background: var(--coral-bright);
}

.hero-message p {
  margin: 0 0 52px;
  font-size: clamp(21px, 1.65vw, 28px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: grid;
  gap: 28px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease-out, background 160ms ease-out;
}

.button-primary {
  width: min(100%, 315px);
  min-height: 66px;
  padding: 18px 24px;
  border-radius: 5px;
  background: var(--coral-bright);
  color: white;
  box-shadow: 0 10px 25px rgba(217, 47, 69, 0.14);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--coral);
  transform: translateY(-2px);
}

.text-link {
  width: fit-content;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(6px);
}

.hero-symbol {
  position: relative;
  align-self: stretch;
  min-height: 660px;
  display: grid;
  place-items: center;
  opacity: 0.62;
}

.hero-symbol img {
  position: relative;
  z-index: 2;
  width: min(82%, 250px);
  height: auto;
  margin-bottom: 0;
  filter: grayscale(1) sepia(0.12) hue-rotate(155deg) saturate(0.42) brightness(1.7);
}

.rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 390px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -2deg,
    var(--mist) 0deg 1deg,
    transparent 1deg 7deg
  );
  mask-image: radial-gradient(circle, transparent 0 24%, #000 25% 70%, transparent 71%);
}

.value-strip {
  min-height: 104px;
  padding: 0 max(32px, calc((100% - 1500px) / 2));
  border-top: 1px solid var(--line);
  background: var(--mist);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.value-strip span {
  padding: 12px 28px;
  text-align: center;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.value-strip span + span {
  border-left: 1px solid rgba(16, 42, 67, 0.24);
}

.section {
  width: min(1370px, calc(100% - 96px));
  margin: 0 auto;
  padding: 140px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 50px;
}

.eyebrow {
  margin: 0;
  color: var(--coral);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section h2,
.mission-section h2,
.events-section h2,
.join-section h2 {
  margin: 0;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 760;
}

.section-intro {
  width: min(680px, 100%);
  margin: 68px 0 0 auto;
}

.section-intro > p {
  margin: 0 0 36px;
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.principle-grid {
  margin-top: 100px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-card {
  min-height: 370px;
  padding: 38px 36px 44px;
  display: flex;
  flex-direction: column;
}

.principle-card + .principle-card {
  border-left: 1px solid var(--line);
}

.card-number {
  color: var(--coral);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.principle-card h3 {
  margin: auto 0 20px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.principle-card p {
  margin: 0;
  color: #40566a;
  font-size: 17px;
  line-height: 1.65;
}

.mission-section {
  min-height: 820px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
}

.mission-mark {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(247, 244, 238, 0.18);
  background:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      rgba(220, 231, 238, 0.13) 0deg 1deg,
      transparent 1deg 7deg
    );
}

.mission-mark::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: var(--ink);
}

.mission-mark img {
  position: relative;
  z-index: 2;
  width: min(42%, 220px);
  height: auto;
}

.mission-copy {
  padding: 116px clamp(48px, 8vw, 140px);
}

.mission-copy .eyebrow,
.events-section .eyebrow {
  color: var(--coral-bright);
}

.mission-copy h2 {
  max-width: 900px;
  margin: 28px 0 46px;
  font-size: clamp(50px, 5.5vw, 88px);
}

.mission-lead {
  max-width: 780px;
  margin: 0 0 48px;
  color: #dce7ee;
  font-size: 21px;
  line-height: 1.65;
}

.goal-list {
  max-width: 790px;
  margin: 0 0 52px;
  padding: 0;
  border-top: 1px solid rgba(247, 244, 238, 0.2);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.goal-list li {
  padding: 18px 6px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.2);
  font-weight: 650;
}

.goal-list li:nth-child(odd) {
  border-right: 1px solid rgba(247, 244, 238, 0.2);
}

.goal-list li:nth-child(even) {
  padding-left: 24px;
}

.button-dark {
  width: min(100%, 280px);
  min-height: 62px;
  padding: 16px 22px;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--coral-bright);
  color: white;
  transform: translateY(-2px);
}

.news-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.news-heading {
  display: block;
}

.news-heading h2 {
  margin-top: 26px;
}

.all-news {
  margin-bottom: 12px;
}

.news-grid {
  grid-column: 1 / -1;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  min-height: 430px;
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
}

.news-card + .news-card {
  border-left: 1px solid var(--line);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #54697a;
  font-size: 13px;
  font-weight: 650;
}

.news-meta span {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-card h3 {
  margin: auto 0 36px;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.news-card h3 a {
  text-decoration: none;
}

.news-card h3 a:hover,
.news-card h3 a:focus-visible {
  color: var(--coral);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 680;
  text-decoration: none;
}

.events-section {
  min-height: 590px;
  padding: 110px max(48px, calc((100% - 1370px) / 2));
  background: var(--coral);
  color: white;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 90px;
}

.events-section h2 {
  max-width: 900px;
  margin-top: 32px;
}

.events-copy p {
  margin: 0 0 38px;
  font-size: 20px;
  line-height: 1.6;
}

.button-outline {
  width: min(100%, 260px);
  min-height: 62px;
  padding: 16px 22px;
  border: 2px solid white;
  border-radius: 5px;
  color: white;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: white;
  color: var(--coral);
  transform: translateY(-2px);
}

.join-section {
  min-height: 710px;
  padding: 136px max(48px, calc((100% - 1370px) / 2));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.join-section h2 {
  margin: 30px 0 42px;
}

.join-section > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #40566a;
  font-size: 20px;
  line-height: 1.65;
}

.join-actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-footer {
  padding: 76px max(48px, calc((100% - 1370px) / 2)) 28px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 1fr 0.65fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
}

.footer-brand p {
  margin: 0;
  font-size: 22px;
  font-weight: 720;
  line-height: 1.05;
}

.humanists-international-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.humanists-international-badge img {
  width: 145px;
  height: auto;
}

.site-footer > div:not(.footer-brand):not(.footer-bottom) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer a {
  color: var(--paper);
  text-decoration-color: rgba(247, 244, 238, 0.5);
  text-underline-offset: 4px;
}

.footer-label {
  margin: 0 0 12px;
  color: #aab8c2;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 238, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: #aab8c2;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

.custom-logo-link img,
.brand .custom-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.desktop-nav .menu,
.mobile-nav .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav .sub-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% - 2px);
  left: -20px;
  min-width: 250px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 22px 50px rgba(16, 42, 67, 0.14);
  list-style: none;
  display: none;
}

.desktop-nav .sub-menu li::after {
  display: none;
}

.desktop-nav .sub-menu a {
  display: block;
  padding: 11px 10px;
}

.desktop-nav li:hover > .sub-menu,
.desktop-nav li:focus-within > .sub-menu {
  display: block;
}

.desktop-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral-bright);
}

.mobile-nav .menu {
  display: grid;
}

.mobile-nav .sub-menu {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line);
  list-style: none;
}

.mobile-menu-toggle {
  display: none;
}

.content-shell {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 140px;
}

.content-shell.wide {
  width: min(1370px, calc(100% - 96px));
}

.page-header {
  margin-bottom: 70px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.page-header h1,
.entry-title {
  margin: 20px 0 0;
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.entry-meta {
  margin-top: 18px;
  color: #54697a;
  font-size: 14px;
}

.entry-content {
  font-size: 19px;
  line-height: 1.75;
}

.entry-content > * {
  max-width: 780px;
}

.entry-content > .alignwide {
  max-width: 1120px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.2em;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.entry-content a {
  color: var(--coral);
  text-underline-offset: 3px;
}

.post-list {
  border-top: 1px solid var(--line);
}

.post-list article {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: start;
  gap: 34px;
}

.post-list time {
  color: #54697a;
  font-size: 14px;
}

.post-list h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.post-list h2 a {
  text-decoration: none;
}

.post-list h2 a:hover,
.post-list h2 a:focus-visible {
  color: var(--coral);
}

.pagination {
  margin-top: 54px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a,
.pagination .current {
  min-width: 42px;
  min-height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.pagination .current {
  background: var(--ink);
  color: white;
}

.not-found {
  min-height: 60vh;
  text-align: center;
  display: grid;
  place-items: center;
}

.not-found h1 {
  margin: 0 0 28px;
  font-size: clamp(86px, 18vw, 210px);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 18px;
  margin: 0;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    cursor: pointer;
    border: 1px solid var(--ink);
    border-radius: 4px;
    padding: 10px 14px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
  }

  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
    border: 1px solid var(--ink);
    border-radius: 4px;
    padding: 10px 14px;
    font-weight: 700;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav .mobile-menu-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, calc(100vw - 40px));
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 60px rgba(16, 42, 67, 0.16);
    display: grid;
  }

  .mobile-nav .mobile-menu-panel {
    display: none;
  }

  .mobile-nav.is-open .mobile-menu-panel {
    display: grid;
  }

  .mobile-nav a {
    padding: 13px 12px;
    text-decoration: none;
    font-weight: 680;
  }

  .hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero-symbol {
    display: none;
  }

  .section {
    width: min(100% - 64px, 1370px);
  }

  .section-heading {
    grid-template-columns: 0.5fr 1.5fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero {
    width: min(100% - 36px, 1500px);
  }

  .site-header {
    min-height: 88px;
  }

  .header-actions {
    gap: 8px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .hero-title {
    padding: 64px 0 54px;
  }

  .hero h1 {
    font-size: clamp(58px, 18.4vw, 90px);
  }

  .hero-message {
    min-height: auto;
    padding: 52px 0 64px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .accent-line {
    margin-bottom: 30px;
  }

  .hero-message p {
    margin-bottom: 38px;
    font-size: 22px;
  }

  .button-primary {
    width: 100%;
  }

  .value-strip {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  .value-strip span {
    padding: 16px;
  }

  .value-strip span + span {
    border-top: 1px solid rgba(16, 42, 67, 0.24);
    border-left: 0;
  }

  .section {
    width: min(100% - 36px, 1370px);
    padding: 88px 0;
  }

  .section-heading {
    display: block;
  }

  .section h2,
  .mission-section h2,
  .events-section h2,
  .join-section h2 {
    margin-top: 24px;
    font-size: clamp(46px, 13vw, 70px);
  }

  .section-intro {
    margin-top: 44px;
  }

  .section-intro > p {
    font-size: 20px;
  }

  .principle-grid,
  .news-grid {
    margin-top: 64px;
    grid-template-columns: 1fr;
  }

  .principle-card,
  .news-card {
    min-height: 330px;
    padding: 32px 8px;
  }

  .principle-card + .principle-card,
  .news-card + .news-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mission-section {
    grid-template-columns: 1fr;
  }

  .mission-mark {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 244, 238, 0.18);
  }

  .mission-copy {
    padding: 76px 18px 88px;
  }

  .goal-list {
    grid-template-columns: 1fr;
  }

  .goal-list li:nth-child(odd) {
    border-right: 0;
  }

  .goal-list li:nth-child(even) {
    padding-left: 6px;
  }

  .news-section {
    display: block;
  }

  .all-news {
    margin-top: 32px;
  }

  .events-section {
    min-height: auto;
    padding: 86px 18px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .join-section {
    min-height: auto;
    padding: 96px 18px;
  }

  .join-actions {
    width: 100%;
    flex-direction: column;
  }

  .join-actions .button {
    width: 100%;
  }

  .site-footer {
    padding: 66px 18px 26px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-bottom {
    margin-top: 10px;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .content-shell,
  .content-shell.wide {
    width: min(100% - 36px, 920px);
    padding: 76px 0 96px;
  }

  .post-list article {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
