@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;600;700&display=swap");

:root {
  --red: #eb4034;
  --ink: #242628;
  --muted: #6d7277;
  --line: #e4e6e8;
  --paper: #ffffff;
  --container: 1248px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Roboto Condensed", Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: #111;
}
.skip-link:focus { top: 16px; }

.site-header {
  min-height: 205px;
  color: #fff;
  background: linear-gradient(rgba(20, 22, 24, .18), rgba(20, 22, 24, .18)), url("/img/tlo.webp") center/cover no-repeat;
}
.header-inner,
.nav-inner,
.featured,
.latest,
.footer-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.header-inner {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px 10px #111;
}
.brand span { color: var(--red); }
.tagline {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 1px 1px 8px #111;
}
.main-nav { background: rgba(235, 64, 52, .48); }
.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-inner a { color: #fff; font-size: 1.1rem; font-weight: 700; }
.nav-inner a:hover { color: #f2f2f2; }

.featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  padding-top: 38px;
}
.featured article {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(rgba(25, 27, 29, .24), rgba(25, 27, 29, .7)), var(--cover) center/cover no-repeat;
}
.featured-main { min-height: 500px !important; }
.featured-side { display: grid; gap: 12px; }
.featured article a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: #fff;
}
.featured h1,
.featured h2 {
  margin: 0;
  line-height: 1.12;
  text-shadow: 2px 2px 7px #111;
}
.featured h1 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.featured h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); }

.latest { padding-block: 64px 72px; }
.latest > h2 { margin: 0 0 26px; font-size: clamp(2rem, 3vw, 2.7rem); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}
.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 22, 24, .1);
}
.card-image {
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #eceeef;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.card-body time { color: var(--muted); font-size: .82rem; }
.card-body h3 { margin: 8px 0 12px; font-size: 1.42rem; line-height: 1.2; }
.card-body p { margin: 0; color: #50555a; }

.site-footer {
  color: #fff;
  background: linear-gradient(rgba(38, 40, 42, .84), rgba(38, 40, 42, .94)), url("/img/ff.webp") center top/cover no-repeat;
}
.footer-inner {
  min-height: 235px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.footer-inner nav { display: grid; gap: 7px; }
.footer-inner nav strong { margin-bottom: 5px; font-size: 1.25rem; }
.footer-inner nav a { color: #fff; }
.copyright {
  margin: 0;
  padding: 14px 20px;
  text-align: center;
  background: #333639;
}

@media (max-width: 850px) {
  .header-inner { flex-direction: column; justify-content: center; text-align: center; }
  .featured { grid-template-columns: 1fr; }
  .featured-main { min-height: 390px !important; }
  .featured-side { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .header-inner, .nav-inner, .featured, .latest, .footer-inner { width: min(calc(100% - 28px), var(--container)); }
  .nav-inner { justify-content: center; }
  .featured { padding-top: 14px; }
  .featured-main { min-height: 330px !important; }
  .featured-side, .article-grid, .footer-inner { grid-template-columns: 1fr; }
  .featured article { min-height: 260px; }
  .featured article a { padding: 22px; }
  .latest { padding-block: 42px 54px; }
  .footer-inner { padding-block: 48px; text-align: center; }
}
