:root {
  --yellow: #ffc900;
  --black: #090a0b;
  --charcoal: #111315;
  --white: #fff;
  --grey: #f5f5f3;
  --text-grey: #55595d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* HEADER */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  color: white;
}

.brand-mark {
  width: 46px;
  height: 50px;
}

.brand-divider {
  width: 1px;
  height: 43px;
  background: var(--yellow);
}

.brand-name {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-name strong {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.7px;
}

.brand-name span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
  transition: color .2s;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width .2s;
}

.nav-links a.active,
.nav-links a:not(.nav-cta):hover {
  color: var(--yellow);
}

.nav-links a.active::after,
.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 13px 22px;
  border-radius: 8px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 800;
  transition: background .2s, transform .2s;
}

.nav-cta:hover {
  background: #ffda35;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}


/* FEATURED HERO */

.featured-section {
  padding: 55px 0;
  color: white;
  background:
    linear-gradient(110deg, rgba(5,6,7,.98), rgba(5,6,7,.82)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=2000&q=85")
    center / cover no-repeat,
    #111315;
}

.featured-layout {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  align-items: center;
  gap: 45px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 13px;
  margin-bottom: 18px;
  border: 1px solid var(--yellow);
  border-radius: 7px;
  color: var(--yellow);
  background: rgba(255,201,0,.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.featured-intro h1 {
  margin: 0 0 15px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(36px, 4.5vw, 57px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
}

.featured-intro h1 span {
  color: var(--yellow);
}

.featured-intro p {
  max-width: 410px;
  color: #d0d1d2;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.hero-line {
  width: 90px;
  height: 5px;
  border-radius: 10px;
  background: var(--yellow);
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  border: 1px solid rgba(255,201,0,.5);
  border-radius: 15px;
  background: rgba(15,16,17,.8);
}

.featured-image {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  background: rgba(0,0,0,.5);
  font-size: 23px;
  transition: background .2s, transform .2s;
}

.play-button:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translate(-50%, -50%) scale(1.08);
}

.featured-content {
  padding: 27px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.content-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #bd9100;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.featured-content .content-label {
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--black);
  background: var(--yellow);
}

.featured-content h2 {
  margin: 5px 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.featured-content p {
  margin: 0 0 17px;
  color: #c8c9ca;
  font-size: 13px;
  line-height: 1.55;
}

.featured-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--black);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s;
}

.featured-button:hover {
  background: #ffda35;
}

.featured-button span {
  font-size: 20px;
}


/* CONTENT AREA */

.content-section {
  padding: 65px 0 85px;
  background: var(--grey);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 32px;
  align-items: start;
}

.content-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-kicker {
  margin-bottom: 8px;
  color: #a27b00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.content-header h2 {
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
}

.heading-line {
  width: 85px;
  height: 5px;
  border-radius: 10px;
  background: var(--yellow);
}


/* FILTERS */

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.filter-button {
  padding: 9px 13px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}


/* ARTICLE CARDS */

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.content-card {
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 13px;
  background: white;
  box-shadow: 0 5px 18px rgba(0,0,0,.045);
  transition: transform .2s, box-shadow .2s;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,.09);
}

.content-card[hidden] {
  display: none;
}

.card-image {
  display: block;
  height: 185px;
  overflow: hidden;
  background: #ddd;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.content-card:hover .card-image img {
  transform: scale(1.04);
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.card-body p {
  margin: 0 0 17px;
  color: var(--text-grey);
  font-size: 13px;
  line-height: 1.6;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
}

.read-link span {
  color: #c79a00;
  font-size: 20px;
  transition: transform .2s;
}

.read-link:hover span {
  transform: translateX(5px);
}


/* SIDEBAR */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  padding: 23px 19px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: white;
  box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.sidebar-box h2 {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.sidebar-line {
  width: 55px;
  height: 4px;
  margin-bottom: 15px;
  border-radius: 10px;
  background: var(--yellow);
}

.popular-item {
  display: grid;
  grid-template-columns: 85px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.popular-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.popular-item img {
  width: 85px;
  height: 58px;
  border-radius: 7px;
  object-fit: cover;
}

.popular-item:hover span {
  color: #9a7400;
}


/* NEWSLETTER BOX */

.newsletter-box {
  padding: 23px 20px;
  border-radius: 12px;
  background: var(--yellow);
}

.newsletter-icon {
  font-size: 30px;
  margin-bottom: 9px;
}

.newsletter-box h2 {
  margin: 0 0 7px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.newsletter-box p {
  margin: 0 0 16px;
  color: #333;
  font-size: 12px;
  line-height: 1.5;
}

.newsletter-box form {
  display: flex;
  gap: 6px;
}

.newsletter-box input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 0;
  border-radius: 7px;
  outline: none;
  background: white;
  font-size: 12px;
}

.newsletter-box button {
  width: 43px;
  flex-shrink: 0;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--black);
  font-size: 22px;
  cursor: pointer;
}

.newsletter-message {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
}


/* FOOTER */

.site-footer {
  padding: 30px 0;
  color: #c7c8c9;
  background: var(--black);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-inner p {
  margin: 0;
  font-size: 11px;
}


/* TABLET */

@media (max-width: 950px) {
  .featured-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-intro h1 br {
    display: none;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 22px;
  }

  .content-header {
    display: block;
  }

  .filter-controls {
    justify-content: flex-start;
    margin-top: 20px;
  }

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


/* MOBILE */

@media (max-width: 650px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-mark {
    width: 38px;
    height: 43px;
  }

  .brand-divider {
    height: 36px;
  }

  .brand-name strong {
    font-size: 18px;
  }

  .brand-name span {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 20px 24px 25px;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .featured-section {
    padding: 45px 0;
  }

  .featured-intro h1 {
    font-size: 40px;
  }

  .featured-intro p {
    font-size: 15px;
  }

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

  .featured-image {
    min-height: 220px;
  }

  .featured-content {
    padding: 22px;
  }

  .content-section {
    padding: 48px 0 60px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .content-header h2 {
    font-size: 29px;
  }

  .filter-controls {
    display: flex;
    justify-content: flex-start;
    gap: 7px;
  }

  .filter-button {
    padding: 9px 11px;
    font-size: 11px;
  }

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

  .card-image {
    height: 200px;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

.newsletter-button {
    display: block;
    padding: 13px 15px;
    border-radius: 7px;
    color: white;
    background: var(--black);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s, background .2s;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    background: #25282a;
}