* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #080808;
  color: #f2f2f2;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  width: 100%;
  background: #0b0b0b;
  border-bottom: 1px solid #242424;
}

.header-inner {
  max-width: 1250px;
  height: 76px;
  margin: auto;
  padding: 0 25px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-accent {
  margin-left: 5px;
  color: #e52b2b;
}

.navigation {
  display: flex;
  gap: 28px;
}

.navigation a {
  color: #999;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

.navigation a:hover,
.navigation a.active {
  color: #fff;
}

.navigation a.active {
  position: relative;
}

.navigation a.active::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: -29px;

  height: 2px;
  background: #e52b2b;
}

.breaking-bar {
  background: #121212;
  border-bottom: 1px solid #252525;
}

.breaking-inner {
  max-width: 1250px;
  margin: auto;
  padding: 10px 25px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.breaking-label {
  padding: 5px 9px;

  background: #e52b2b;
  color: white;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.breaking-text {
  color: #bdbdbd;
  font-size: 13px;
}

.page-container {
  max-width: 1250px;
  margin: auto;
  padding: 45px 25px 70px;
}

.featured {
  min-height: 430px;

  display: grid;
  grid-template-columns: 1.4fr 1fr;

  background: #101010;
  border: 1px solid #262626;

  margin-bottom: 55px;
}

.featured-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.featured-image img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.featured-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    transparent 50%,
    rgba(0, 0, 0, 0.6)
  );
}

.featured-image .category {
  position: absolute;
  z-index: 2;

  top: 20px;
  left: 20px;
}

.featured-content {
  padding: 55px 45px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-date {
  color: #777;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-content h1 {
  margin: 15px 0;

  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.featured-content p {
  max-width: 500px;

  color: #999;
  font-size: 15px;
  line-height: 1.7;
}

.read-more {
  width: fit-content;

  margin-top: 20px;
  padding: 12px 18px;

  background: #e52b2b;

  font-size: 13px;
  font-weight: 700;

  transition: 0.2s;
}

.read-more:hover {
  background: #ff3c3c;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 55px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 25px;
}

.section-header h2 {
  margin: 0;

  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header span {
  height: 1px;
  flex: 1;

  background: #292929;
}

.articles {
  min-width: 0;
}

.article-card {
  display: grid;
  grid-template-columns: 260px 1fr;

  margin-bottom: 25px;

  background: #101010;
  border: 1px solid #242424;

  transition: 0.2s;
}

.article-card:hover {
  border-color: #3b3b3b;
  transform: translateY(-2px);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  height: 100%;
  object-fit: cover;

  transition: 0.3s;
}

.article-card:hover .article-image img {
  transform: scale(0.95);
}

.article-content {
  padding: 25px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #666;
  font-size: 11px;
  text-transform: uppercase;
}

.category {
  display: inline-block;

  padding: 5px 8px;

  background: #e52b2b;
  color: white;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.article-content h3 {
  margin: 12px 0 8px;

  font-size: 21px;
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 15px;

  color: #888;
  font-size: 13px;
  line-height: 1.6;
}

.article-link {
  color: #e52b2b;

  font-size: 12px;
  font-weight: 700;
}

.article-link:hover {
  color: #ff5555;
}

.sidebar-box {
  padding: 25px;
  margin-bottom: 25px;

  background: #101010;
  border: 1px solid #242424;
}

.sidebar-box .section-header {
  margin-bottom: 20px;
}

.sidebar-box p {
  color: #888;
  font-size: 13px;
  line-height: 1.7;
}

.sidebar-box strong {
  color: #ddd;
}

.categories {
  display: flex;
  flex-direction: column;
}

.categories a {
  display: flex;
  justify-content: space-between;

  padding: 13px 0;

  border-bottom: 1px solid #242424;

  color: #999;
  font-size: 13px;
}

.categories a:last-child {
  border-bottom: 0;
}

.categories a:hover {
  color: white;
}

.categories span {
  color: #555;
}

.site-footer {
  background: #0b0b0b;
  border-top: 1px solid #242424;
}

.footer-inner {
  max-width: 1250px;
  margin: auto;
  padding: 35px 25px;

  display: flex;
  justify-content: space-between;
}

.footer-inner strong {
  font-size: 15px;
  letter-spacing: 1px;
}

.footer-inner p {
  margin: 8px 0 0;

  color: #666;
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-links a {
  color: #777;
  font-size: 12px;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  padding: 15px;

  border-top: 1px solid #1d1d1d;

  color: #444;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 850px) {

  .header-inner {
    height: auto;
    padding: 18px 20px;

    flex-direction: column;
    gap: 18px;
  }

  .navigation {
    width: 100%;
    justify-content: center;
    gap: 18px;

    overflow-x: auto;
  }

  .navigation a.active::after {
    display: none;
  }

  .breaking-inner {
    padding: 10px 20px;
  }

  .page-container {
    padding: 25px 15px 50px;
  }

  .featured {
    display: block;
  }

  .featured-image {
    min-height: 260px;
  }

  .featured-content {
    padding: 30px 25px;
  }

  .featured-content h1 {
    font-size: 32px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-image {
    height: 210px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 25px;
  }

}

@media (max-width: 500px) {

  .logo {
    font-size: 17px;
  }

  .navigation {
    justify-content: flex-start;
  }

  .navigation a {
    white-space: nowrap;
  }

  .featured-content h1 {
    font-size: 28px;
  }

  .article-content h3 {
    font-size: 19px;
  }

}
