:root {
  --bg: #ffffff;
  --paper: #f5f5f5;
  --ink: #222222;
  --muted: #777777;
  --line: #e6e6e6;
  --blue: #1a3a5c;
  --blue-soft: #2b5a8a;
  --yellow: #ffb400;
  --yellow-text: #1a1a1a;
  --radius: 6px;
  --container: 1320px;
  --header-h: 110px;
  --font: 'Encode Sans Condensed', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p {
  margin: 0;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100%, var(--container));
  padding-inline: 15px;
  margin-inline: auto;
}

#main {
  padding-top: 18px;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--yellow-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.excerpt {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.meta--light {
  color: rgba(255, 255, 255, 0.85);
}

.meta__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.block {
  margin-bottom: 42px;
}

.block--alt {
  background: #fafafa;
  padding: 36px 0;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 414px;
  gap: 24px;
  align-items: start;
}

.block__head {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.block__title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #f3f8fb;
  border-bottom: 0;
  box-shadow: none;
}

.site-header__row {
  height: 100%;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.94;
}

.logo__img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
}

.logo--footer .logo__img {
  height: 91px;
  max-width: 215px;
}

.nav {
  margin-left: 0;
  justify-self: center;
  width: auto;
  max-width: none;
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav__item {
  position: relative;
  list-style: none;
  padding: 15px 14px;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1;
  color: #000;
  border-radius: 0;
  background: transparent;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
  color: #f93156;
  background: transparent;
}

.nav__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 130;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__sub a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  color: #000;
  white-space: nowrap;
}

.nav__sub a:hover {
  color: #f93156;
  background: #f7f9fb;
}

.site-header__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.tool {
  width: auto;
  height: auto;
  min-width: 20px;
  min-height: 20px;
  display: grid;
  place-items: center;
  color: #000;
  border-radius: 0;
  background: transparent;
  transition: color 0.2s ease, transform 0.15s ease;
}

.tool:hover {
  background: transparent;
  color: #f93156;
}

.tool:active {
  transform: scale(0.92);
}

.tool svg {
  width: 18px;
  height: 18px;
}

.search {
  position: relative;
}

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  display: flex;
  gap: 6px;
  width: min(320px, 80vw);
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.search-panel[hidden] {
  display: none;
}

.search-panel input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}

.search-panel button {
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: #222;
}

/* Hero */
.hero {
  margin-bottom: 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 323px;
  gap: 24px;
  align-items: stretch;
}

.hero-main {
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 615px;
  height: 100%;
  background: #1a1a1a;
}

.hero-main__track {
  position: absolute;
  inset: 0;
}

.hero-main__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
}

.hero-main__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.hero-main__slide.is-enter-ltr {
  transform: translateX(-48px);
}

.hero-main__slide.is-enter-rtl {
  transform: translateX(48px);
}

.hero-main__slide.is-leave-ltr {
  opacity: 0;
  transform: translateX(48px);
  z-index: 0;
}

.hero-main__slide.is-leave-rtl {
  opacity: 0;
  transform: translateX(-48px);
  z-index: 0;
}

.hero-main__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.hero-main__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s ease;
}

.hero-main:hover .hero-main__slide.is-active .hero-main__photo img {
  transform: scale(1.08);
}

.hero-main__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 1;
  padding: 80px 100px 28px 28px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.hero-main__overlay .tag-row {
  margin-bottom: 10px;
}

.hero-main__overlay .meta {
  margin-top: 14px;
}

.hero-main__title {
  margin-top: 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 52px;
  max-width: 30ch;
}

.hero-main__title a {
  color: #fff;
  transition: color 0.2s ease;
}

.hero-main__title a:hover {
  color: #dc143c;
}

.hero-main__excerpt {
  margin-top: 10px;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-main__nav {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 6;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hero-main__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.hero-main__arrow:hover {
  border-color: #c1121f;
  color: #c1121f;
  background: rgba(0, 0, 0, 0.28);
}

.hero-main__arrow:active,
.hero-main__arrow.is-pressed {
  transform: scale(0.9);
  border-color: #c1121f;
  color: #c1121f;
  box-shadow: inset 0 0 0 1px #c1121f;
}

.hero-side {
  position: relative;
  z-index: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tabs--hero {
  gap: 8px;
  border-bottom: 0;
  margin-bottom: 14px;
}

.tabs__btn {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tabs--hero .tabs__btn {
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 18px;
  color: var(--ink);
  background: #fff;
}

.tabs__btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--yellow);
}

.tabs--hero .tabs__btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.hero-side__list {
  display: none;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hero-side__list.is-active {
  display: flex;
}

.hero-side__list[hidden] {
  display: none !important;
}

/* Mini rows */
.mini-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.mini-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}

.mini-row--card,
.mini-row--rail,
.mini-row--lg,
.mini-row--ranked {
  background: #eef2f6;
  border-radius: 4px;
  padding: 10px;
  border-bottom: 0;
}

.mini-row--rail {
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.mini-row--rail img {
  width: 84px;
  height: 68px;
  border-radius: 3px;
}

.mini-row--rail .mini-row__title {
  font-size: 14px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.mini-row--rail .mini-row__by,
.mini-row--card .mini-row__by,
.mini-row--lg .mini-row__by,
.mini-row--ranked .mini-row__by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
}

.mini-row__cal {
  flex: 0 0 auto;
  opacity: 0.75;
}

.mini-row--lg {
  grid-template-columns: 80px 1fr;
  gap: 12px;
}

.mini-row--lg:last-child {
  padding-bottom: 10px;
}

.mini-row--lg img {
  width: 80px;
  height: 80px;
}

.mini-row--ranked {
  grid-template-columns: 28px 72px 1fr;
  gap: 10px;
  align-items: center;
}

.mini-row--ranked:last-child {
  padding-bottom: 10px;
}

.mini-row--ranked img {
  width: 72px;
  height: 72px;
}

.trend-list,
.footer-posts,
.hero-side__list {
  gap: 10px;
}

.trend-list {
  display: flex;
  flex-direction: column;
}

.rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.mini-row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mini-row__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.mini-row__by {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.mini-row:hover .mini-row__title {
  color: #dc143c;
}

/* Editor's picks */
.pick-lead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
  align-items: center;
}

.pick-lead__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.pick-lead__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.pick-lead__title {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.pick-lead__title a {
  transition: color 0.2s ease;
}

.pick-lead__title a:hover {
  color: #dc143c;
}

.pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pick-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.pick-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pick-card__title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.pick-card__title a {
  transition: color 0.2s ease;
}

.pick-card__title a:hover {
  color: #dc143c;
}

.side-panel {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  z-index: 0;
}

.trend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Featured */
.featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.feat-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.feat-card__media img,
.feat-card__media--mid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feat-card__title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.feat-card__title a {
  transition: color 0.2s ease;
}

.feat-card__title a:hover {
  color: #dc143c;
}

.featured__mid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.featured__mid .feat-card__title {
  font-size: 18px;
}

.featured-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feat-card--sm .feat-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.feat-card__media--sm img {
  aspect-ratio: 16 / 10;
}

.feat-card--sm .meta {
  margin-top: 8px;
  font-size: 11px;
}

.feat-card--sm .meta__avatar {
  width: 18px;
  height: 18px;
  font-size: 9px;
}

.feat-card--sm .tag {
  font-size: 9px;
  padding: 2px 7px;
}

@media (max-width: 1024px) {
  .featured-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .featured-row {
    grid-template-columns: 1fr;
  }
}

/* Latest news */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-item__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.news-item__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-item__title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 2px;
}

.news-item__title a {
  transition: color 0.2s ease;
}

.news-item__title a:hover {
  color: #dc143c;
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn-outline {
  min-width: 160px;
  padding: 11px 28px;
  border: 1px solid #222;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #222;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: #222;
  color: #fff;
}

.cat-list li {
  border-bottom: 1px solid var(--line);
}

.cat-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  transform-origin: left center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cat-list a:hover {
  color: var(--blue);
  transform: scale(1.06);
}

.cat-list__count {
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #f3f8fb;
  border-top: 0;
  margin-top: 20px;
  color: #575758;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  padding: 95px 0 35px;
}

.site-footer__about p {
  margin-top: 18px;
  font-size: 16px;
  color: #000;
  max-width: 305px;
  line-height: 1.8;
  font-weight: 500;
}

.site-footer__tagline {
  margin-top: 14px !important;
  margin-bottom: 0;
  font-weight: 700 !important;
  color: #012340 !important;
}

.site-footer__title {
  position: relative;
  font-size: 22px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 32px;
  line-height: 28px;
  padding-bottom: 10px;
}

.site-footer__title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 71px;
  height: 20px;
  background: url('../img/footer-title-shape.svg') left center / auto no-repeat;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud a {
  padding: 6px 18px;
  border: 1px solid #e5e9f2;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  color: #575758;
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tag-cloud a:hover {
  background: #f93156;
  border-color: #f93156;
  color: #fff;
}

.site-footer__follow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__follow a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 24px;
}

.site-footer__follow a:hover {
  color: #f93156;
}

.site-footer__follow a:hover .follow-ico {
  color: #f93156;
  border-color: #f93156;
}

.follow-ico {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4c6478;
  background: transparent;
  border: 1px solid #4c6478;
  box-sizing: border-box;
  flex-shrink: 0;
}

.follow-ico svg {
  width: 24px;
  height: 24px;
}

.follow-ico--fb,
.follow-ico--tw,
.follow-ico--ig,
.follow-ico--facebook,
.follow-ico--twitter,
.follow-ico--instagram,
.follow-ico--linkedin,
.follow-ico--pinterest {
  background: transparent;
  color: #4c6478;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__links a {
  font-size: 14px;
  color: #555;
}

.site-footer__links a:hover {
  color: var(--blue);
}

.footer-posts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-posts .mini-row,
.mini-row--footer {
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: start;
  background: transparent;
  padding: 0;
  border: 0;
}

.footer-posts .mini-row img,
.mini-row--footer img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0;
}

.mini-row--footer .mini-row__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-row--footer .mini-row__by {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer__bar {
  border-top: 1px solid #e0e0e0;
  padding: 27px 0 26px;
  font-size: 16px;
  font-weight: 500;
  color: #575758;
  text-align: center;
  background: #f3f8fb;
}

@media (max-width: 1024px) {
  .block__grid,
  .featured,
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    padding: 56px 0 32px;
  }

  .side-panel {
    position: static;
  }

  .featured {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header__row {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    background: #f3f8fb;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  }

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

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    padding: 12px 4px;
  }

  .nav__item {
    padding: 0;
  }

  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
  }

  .menu-btn {
    display: flex;
  }

  .site-header__tools .tool:not(.menu-btn):not([data-search-toggle]) {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .pick-lead,
  .pick-grid,
  .featured,
  .news-item {
    grid-template-columns: 1fr;
  }

  .hero-main__title,
  .article__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .article__body h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  .article__body h3 {
    font-size: 22px;
    line-height: 1.25;
  }
}
/* Component extras kept minimal — layout.css holds most magazine styles */
img {
  transition: transform 0.45s ease;
}

.hero-main__photo img,
.pick-lead__media img,
.pick-card__media img,
.feat-card__media img,
.news-item__media img,
.mini-row img {
  transition: transform 0.45s ease;
}

.pick-lead__media:hover img,
.pick-card__media:hover img,
.feat-card__media:hover img,
.news-item__media:hover img,
.mini-row:hover img {
  transform: scale(1.1);
}

.pick-lead__media,
.pick-card__media,
.feat-card__media,
.news-item__media,
.mini-row {
  overflow: hidden;
}

.mini-row img {
  border-radius: 4px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.back-top:hover {
  background: #c1121f;
}

.back-top:active {
  transform: scale(0.92);
}

.back-top[hidden] {
  display: none !important;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #9aa6b5 #edf1f5;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #edf1f5;
}

html::-webkit-scrollbar-thumb {
  background: #9aa6b5;
  border-radius: 999px;
  border: 2px solid #edf1f5;
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

.article__title {
  font-size: 42px;
  font-weight: 900;
  line-height: 50.4px;
  margin: 10px 0 6px;
}

.article__media {
  margin: 22px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.article__media img {
  width: 100%;
  aspect-ratio: 852 / 534;
  object-fit: cover;
}

.article__body {
  font-size: 16px;
  line-height: 28.8px;
  max-width: none;
}

.article__body p + p {
  margin-top: 1em;
}

.article__body ul,
.article__body ol {
  margin: 1em 0;
  padding-left: 1.3em;
  list-style: revert;
}

.article__body img {
  width: 100%;
  height: auto;
  margin: 1.2em 0;
  border-radius: var(--radius);
}

.article__body h2,
.article__body h3,
.article__body h4,
.article__body h5 {
  margin: 1.4em 0 0.45em;
  line-height: 1.2;
}

.article__body h2 {
  font-size: 36px;
  line-height: 43.2px;
}

.article__body h3 {
  font-size: 30px;
  line-height: 36px;
}

.article__body h4,
.article__body h5 {
  font-size: 24px;
}

.article__body figure {
  margin: 1.25em 0;
}

.article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25em 0;
  font-size: 15px;
  line-height: 1.45;
}

.article__body th,
.article__body td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  vertical-align: top;
  word-break: break-word;
}

.article__body th {
  background: var(--bg-soft, #f4f7fb);
  font-weight: 700;
  text-align: left;
}

.article__body iframe {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 1.25em 0;
  border: 0;
}

.article__byline {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Kontakt page */
.kontakt-page {
  padding-bottom: 40px;
}

.kontakt-page__title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin: 8px 0 36px;
}

.kontakt-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #e5e9f2;
  background: #fff;
}

.kontakt-card__heading {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  color: #012340;
  margin: 0 0 18px;
}

.kontakt-card__text + .kontakt-card__heading {
  margin-top: 28px;
}

.kontakt-card__text,
.kontakt-card__email {
  font-size: 16px;
  line-height: 1.8;
  color: #575758;
  font-weight: 500;
}

.kontakt-card__email a {
  color: #012340;
  font-weight: 600;
  transition: color 0.2s ease;
}

.kontakt-card__email a:hover {
  color: #f93156;
}

@media (max-width: 860px) {
  .kontakt-page__title,
  .kontakt-card__heading {
    font-size: 28px;
  }

  .kontakt-card {
    padding: 20px;
  }
}

