:root {
  --bg: #f3f3f3;
  --paper: #fff;
  --ink: #151515;
  --text: #3f3f3f;
  --muted: #888;
  --line: #dedede;
  --blue: #0b3d6b;
  --dark: #242424;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  padding-bottom: 64px;
}

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

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

.page {
  width: min(1440px, 100%);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
}

.wrap {
  width: min(1370px, calc(100% - 64px));
  margin: 0 auto;
}

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

.rubrics-top__inner {
  display: flex;
  justify-content: center;
  gap: 23px;
  min-height: 54px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
}

.logo-bar {
  border-bottom: 1px solid #111;
}

.logo-bar__inner {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  min-height: 100px;
}

.header-icon {
  color: #7d7d7d;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

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

.search-form {
  width: 168px;
  height: 34px;
  border: 1px solid #d1d1d1;
  border-radius: 18px;
  display: flex;
  align-items: center;
  padding: 0 6px 0 12px;
  background: #fff;
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 13px;
  color: #333;
  background: transparent;
}

.search-form button {
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #777;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search-form svg {
  width: 18px;
  height: 18px;
}

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

.brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.brand svg {
  width: 38px;
  height: 38px;
}

main {
  padding: 30px 0 40px;
}

.status {
  padding: 30px;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(280px, 330px);
  gap: 30px;
  align-items: start;
}

.hero-card {
  position: relative;
  min-height: 602px;
  background: #ddd;
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 602px;
  object-fit: cover;
}

.hero-card::after,
.image-lead::after,
.special-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
}

.hero-card__text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
}

.play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.08;
}

.time {
  color: var(--muted);
  font-size: 13px;
}

.hero-card .time,
.image-lead .time,
.special-card .time {
  color: #fff;
  font-weight: 700;
}

.side-title {
  margin: 0 0 14px;
  font-size: 18px;
}

.list a {
  display: block;
  padding: 15px 0 17px;
  border-bottom: 1px solid var(--line);
}

.list strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 400;
  margin-bottom: 26px;
}

.under-hero {
  display: grid;
  grid-template-columns: 330px 330px 180px;
  gap: 30px;
  margin-top: 28px;
  align-items: start;
}

.popular h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.popular a,
.text-block a {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.28;
  padding: 13px 0 17px;
  border-bottom: 1px solid var(--line);
}

.author-card {
  display: grid;
  gap: 14px;
}

.author-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8d7ca, #b07765);
}

.thumb img {
  width: 180px;
  height: 102px;
  object-fit: cover;
}

.topic-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 38px 0;
  overflow: hidden;
  white-space: nowrap;
}

.topic-row a {
  border: 1px solid #999;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 16px;
  color: #222;
}

.main-feed {
  display: grid;
  grid-template-columns: 330px 330px 330px;
  gap: 30px;
  align-items: start;
}

.column {
  display: grid;
  gap: 30px;
}

.image-lead,
.special-card {
  position: relative;
  min-height: 286px;
  overflow: hidden;
}

.image-lead img,
.special-card img {
  width: 100%;
  height: 286px;
  object-fit: cover;
}

.image-lead__text,
.special-card__text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
}

.image-lead h3,
.special-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.12;
}

.big-title {
  display: block;
  padding: 26px 0 176px;
  border-bottom: 1px solid #111;
  font-size: 26px;
  line-height: 1.16;
  font-weight: 800;
}

.text-block {
  border-bottom: 1px solid #111;
}

.text-block a:last-child {
  border-bottom: 0;
}

.article-card {
  border-top: 1px solid #111;
  padding-top: 30px;
}

.article-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  margin-bottom: 12px;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.18;
}

.read-now {
  margin: 52px auto 40px;
  width: min(1380px, calc(100% - 56px));
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  padding: 20px 28px 24px;
}

.read-now h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.read-now__grid {
  columns: 5 190px;
  column-gap: 36px;
}

.read-now__grid a {
  display: block;
  break-inside: avoid;
  color: #777;
  font-size: 16px;
  line-height: 1.18;
  margin: 0 0 12px;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 20px 26px 58px;
}

.footer-top {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.footer-logo svg {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0;
}

.socials a {
  width: 74px;
  height: 41px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.s1 {
  background: #0b8cff;
}

.s2 {
  background: #0775e9;
}

.s3 {
  background: #ff8200;
}

.s4 {
  background: #251f5f;
}

.s5 {
  background: #31a8df;
}

.s6 {
  background: #000;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
  margin-bottom: 34px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
}

.footer-cols a,
.footer-links a,
.footer-logo {
  color: #fff;
}

.ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.ticker__inner {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  font-size: 20px;
  white-space: nowrap;
}

.ticker__label {
  color: #0050a4;
  font-weight: 400;
}

.ticker__time {
  color: #777;
}

@media (max-width: 1120px) {
  .wrap {
    width: min(100% - 28px, 1370px);
  }

  .hero-grid,
  .under-hero,
  .main-feed {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-card img {
    min-height: 420px;
    height: 420px;
  }

  .footer-cols,
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .rubrics-top__inner {
    justify-content: flex-start;
    font-size: 15px;
    gap: 20px;
    overflow-x: auto;
  }

  .logo-bar__inner {
    grid-template-columns: 42px 1fr 42px;
    min-height: 82px;
  }

  .search-form {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .brand svg {
    width: 30px;
    height: 30px;
  }

  .hero-card,
  .hero-card img {
    min-height: 330px;
    height: 330px;
  }

  h1 {
    font-size: 25px;
  }

  .topic-row {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .read-now {
    width: calc(100% - 20px);
    padding: 18px;
  }

  .ticker__inner {
    width: calc(100% - 20px);
    font-size: 16px;
  }
}
