:root {
  --bg: #151515;
  --paper: #fff5dd;
  --paper-2: #fffaf0;
  --ink: #090909;
  --muted: #625744;
  --red: #e10012;
  --green: #009072;
  --yellow: #ffd43b;
  --line: #090909;
  --soft-line: #cdbf9f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.site-shell {
  width: min(100%, 1480px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--paper);
}

.topbar {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-bottom: 5px solid var(--line);
  background: var(--paper-2);
}

.brand {
  display: inline-grid;
  width: fit-content;
  min-width: 190px;
  padding: 10px 12px 12px;
  background: var(--red);
  color: #fff;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2.5rem;
  line-height: .86;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--green);
}

.brand span + span {
  font-size: .68em;
}

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

.main-nav a,
.all-link,
.pager a,
.pager span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 2px solid var(--line);
  padding: 8px 11px;
  background: #fff;
  font-size: .8125rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.statement {
  display: grid;
  gap: 12px;
  padding: 20px 16px 24px;
  border-bottom: 5px solid var(--line);
  background: var(--yellow);
}

.statement p,
.section-head p,
.tool-box__inner > p {
  margin: 0;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.statement h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  line-height: .98;
}

.statement span {
  max-width: 780px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
}

.main-grid {
  display: grid;
  gap: 26px;
  padding: 22px 16px 34px;
}

.news-stage {
  display: contents;
}

.section-head {
  display: grid;
  gap: 8px;
  order: 1;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1.02;
}

.lead-news {
  order: 2;
  border-bottom: 3px solid var(--line);
}

.lead-news a {
  display: grid;
  gap: 16px;
  padding: 18px 0 22px;
  text-decoration: none;
}

.lead-news figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 3px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.lead-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-news__text {
  display: grid;
  gap: 10px;
}

.lead-news time,
.news-feed time,
.archive-feed time {
  color: var(--red);
  font-size: .8125rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead-news h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.lead-news p {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
}

.lead-news strong,
.news-feed span,
.archive-feed a {
  width: fit-content;
  background: var(--green);
  color: #fff;
  padding: 6px 9px;
  font-size: .8125rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.news-feed article,
.archive-feed article,
.news-home-list .layout_latest,
.news-archive-list .layout_latest {
  border-bottom: 1px solid var(--soft-line);
}

.news-feed {
  order: 4;
}

.news-feed a,
.news-home-list .layout_latest {
  display: grid;
  gap: 7px;
  padding: 17px 0;
  text-decoration: none;
}

.news-feed h3,
.archive-feed h3,
.news-home-list .layout_latest h2,
.news-archive-list .layout_latest h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.12;
}

.news-feed p,
.archive-feed p,
.news-home-list .layout_latest p,
.news-archive-list .layout_latest p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.news-home-list .layout_latest:first-child {
  display: grid;
  gap: 16px;
  padding: 18px 0 22px;
  border-bottom: 3px solid var(--line);
}

.news-home-list .layout_latest:first-child h2 {
  font-size: 2rem;
  line-height: 1.05;
}

.news-home-list .layout_latest:first-child p {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
}

.news-home-list .info,
.news-archive-list .info {
  color: var(--red);
  font-size: .8125rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.news-home-list .more,
.news-archive-list .more {
  margin: 0;
}

.news-home-list .more a,
.news-archive-list .more a {
  display: inline-flex;
  width: fit-content;
  background: var(--green);
  color: #fff;
  padding: 6px 9px;
  font-size: .8125rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.news-home-list .image_container,
.news-archive-list .image_container {
  margin: 0 0 12px;
  aspect-ratio: 16 / 10;
  border: 3px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.news-home-list .image_container img,
.news-archive-list .image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.all-link {
  order: 5;
  width: fit-content;
  margin-top: 18px;
  background: var(--red);
  color: #fff;
}

.tool-box {
  order: 3;
}

.tool-box__inner {
  display: grid;
  gap: 14px;
  border: 3px solid var(--line);
  padding: 16px;
  background: var(--paper-2);
  box-shadow: 7px 7px 0 var(--yellow);
}

.tool-box h2 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 3rem;
  line-height: .9;
  text-transform: uppercase;
}

.tool-box span,
.tool-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.tool-form {
  display: grid;
  gap: 10px;
}

.tool-form label {
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.tool-form textarea {
  width: 100%;
  min-height: 142px;
  border: 2px solid var(--soft-line);
  padding: 13px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  font: inherit;
  line-height: 1.45;
}

.tool-form__bar {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.2;
}

.tool-submit {
  min-height: 50px;
  border: 0;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.tool-result {
  display: grid;
  gap: 11px;
  border-top: 2px solid var(--line);
  padding-top: 14px;
}

.tool-result > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.tool-result span,
.tool-result dt {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tool-result strong {
  color: var(--red);
  line-height: 1.2;
  text-transform: uppercase;
}

.tool-result #sbd-summary {
  color: var(--ink);
  font-weight: 900;
}

.tool-result p {
  margin: 0;
}

.tool-result dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin: 0;
  border-top: 1px solid var(--soft-line);
  padding-top: 12px;
}

.tool-result dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.archive-panel {
  border-top: 5px solid var(--line);
  padding: 22px 16px 34px;
  background: #fff;
}

.section-head--archive {
  margin-bottom: 4px;
}

.archive-feed article {
  display: grid;
  gap: 7px;
  padding: 16px 0;
}

.news-archive-list .layout_latest {
  display: grid;
  gap: 7px;
  padding: 16px 0;
}

.news-reader-page .layout_full {
  max-width: 860px;
}

.news-reader-page .layout_full h1,
.news-reader-page .layout_full h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 8vw, 4.6rem);
  line-height: 1.02;
}

.news-reader-page .layout_full .info {
  color: var(--red);
  font-size: .8125rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.news-reader-page .layout_full p {
  font-size: 1.125rem;
  line-height: 1.55;
}

.pagination,
.mod_pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mod_pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mod_pagination a,
.mod_pagination strong,
.mod_pagination span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 2px solid var(--line);
  padding: 8px 11px;
  background: #fff;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.mod_pagination strong {
  background: var(--ink);
  color: #fff;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pager span {
  background: var(--ink);
  color: #fff;
}

.site-footer {
  display: grid;
  gap: 12px;
  border-top: 5px solid var(--line);
  padding: 18px 16px;
  background: var(--red);
  color: #fff;
}

.site-footer strong {
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.site-footer a {
  color: #fff;
  font-size: .875rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .topbar {
    grid-template-columns: auto 1fr;
    align-items: end;
    padding: 22px 28px 18px;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .statement,
  .main-grid,
  .archive-panel,
  .site-footer {
    padding-inline: 28px;
  }

  .statement h1 {
    font-size: 4rem;
    max-width: 1120px;
  }

  .section-head h2 {
    font-size: 3rem;
  }

  .lead-news a {
    grid-template-columns: minmax(230px, 42%) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .lead-news h3 {
    font-size: 3rem;
  }

  .news-feed a,
  .news-home-list .layout_latest:not(:first-child) {
    grid-template-columns: 118px minmax(0, .9fr) minmax(240px, 1fr) auto;
    gap: 18px;
    align-items: baseline;
  }

  .news-feed h3,
  .news-home-list .layout_latest h2 {
    font-size: 1.65rem;
  }

  .archive-feed article,
  .news-archive-list .layout_latest {
    grid-template-columns: 132px minmax(220px, .75fr) minmax(240px, 1fr) auto;
    gap: 18px;
    align-items: baseline;
  }

  .news-home-list .layout_latest:first-child {
    grid-template-columns: minmax(230px, 42%) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .news-home-list .layout_latest:first-child h2 {
    font-size: 3rem;
  }

  .news-home-list .layout_latest:first-child .image_container {
    grid-row: span 4;
    margin: 0;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .site-footer nav {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .topbar {
    padding-inline: 42px;
  }

  .statement,
  .main-grid,
  .archive-panel,
  .site-footer {
    padding-inline: 42px;
  }

  .statement {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: end;
  }

  .statement p {
    align-self: start;
    padding-top: 8px;
  }

  .statement span {
    grid-column: 2;
  }

  .main-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: start;
  }

  .news-stage {
    display: block;
  }

  .section-head,
  .lead-news,
  .news-feed,
  .all-link,
  .tool-box {
    order: initial;
  }

  .tool-box__inner {
    position: sticky;
    top: 18px;
  }

  .statement h1 {
    font-size: 5rem;
  }
}

@media (min-width: 1320px) {
  .statement h1 {
    font-size: 5.7rem;
  }

  .lead-news h3 {
    font-size: 3.65rem;
  }

  .news-home-list .layout_latest:first-child h2 {
    font-size: 3.65rem;
  }
}
