: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;
}


/* ARTICLE INTRO */

.article-hero {
  padding: 58px 0 50px;
  color: white;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255,201,0,.09), transparent 35%),
    linear-gradient(135deg, #111315, #080909 75%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: #aeb0b2;
  font-size: 12px;
}

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

.breadcrumbs span:last-child {
  color: var(--yellow);
}

.article-category {
  display: inline-block;
  margin-bottom: 17px;
  padding: 8px 12px;
  border: 1px solid rgba(255,201,0,.65);
  border-radius: 5px;
  color: var(--yellow);
  background: rgba(255,201,0,.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.article-hero h1 {
  max-width: 850px;
  margin: 0 0 17px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(37px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.article-subtitle {
  max-width: 760px;
  margin: 0 0 28px;
  color: #c9cbcd;
  font-size: 18px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #c5c6c7;
  font-size: 12px;
}

.author-details {
  display: flex;
  align-items: center;
  gap: 11px;
}

.author-avatar {
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.author-details strong,
.author-details span {
  display: block;
}

.author-details strong {
  margin-bottom: 3px;
  color: white;
  font-size: 13px;
}

.author-details span {
  color: #aeb0b2;
}

.meta-divider {
  width: 1px;
  height: 25px;
  background: rgba(255,255,255,.2);
}


/* FEATURED IMAGE */

.featured-image-section {
  padding: 0;
  background: var(--grey);
}

.article-featured-image {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 0 0 14px 14px;
}


/* ARTICLE BODY LAYOUT */

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 65px;
  align-items: start;
}

.article-body {
  min-width: 0;
  padding: 0 15px 0 0;
}

.article-body p {
  margin: 0 0 25px;
  color: #373b3e;
  font-size: 16px;
  line-height: 1.85;
}

.article-intro {
  margin-bottom: 34px;
  padding: 24px 27px;
  border-left: 5px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  background: white;
}

.article-intro p {
  margin: 0;
  color: #202326;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
}

.article-body h2 {
  margin: 43px 0 17px;
  font-family: "Poppins", sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.7px;
}

.article-tip {
  margin: 30px 0;
  padding: 22px 25px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: white;
}

.article-tip h3 {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.article-tip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.article-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 40px 0;
  padding: 25px;
  border-radius: 10px;
  background: var(--black);
  color: white;
}

.callout-mark {
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 55px;
  line-height: .9;
}

.article-callout p {
  margin: 0;
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}


/* ARTICLE TAGS AND SHARING */

.article-end {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 55px;
  padding: 25px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.article-tags > span {
  font-weight: 800;
}

.article-tags a {
  padding: 7px 11px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  transition: background .2s;
}

.article-tags a:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}

.share-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-area strong {
  margin-right: 5px;
  font-size: 13px;
}

.share-area a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: var(--black);
  font-size: 13px;
  font-weight: 800;
}

.share-area a:hover {
  color: var(--black);
  background: var(--yellow);
}


/* AUTHOR BOX */

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 35px;
  padding: 25px;
  border-radius: 12px;
  background: white;
}

.author-avatar.large {
  width: 58px;
  height: 58px;
  font-size: 16px;
}

.author-label {
  display: block;
  margin-bottom: 6px;
  color: #a27b00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.author-box h3 {
  margin: 0 0 7px;
  font-family: "Poppins", sans-serif;
  font-size: 19px;
}

.author-box p {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.6;
}

.author-box a {
  color: #9a7400;
  font-size: 12px;
  font-weight: 800;
}


/* SIDEBAR */

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

.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: 21px;
  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: 82px 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-of-type {
  border-bottom: 0;
}

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

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

.sidebar-more {
  display: block;
  margin-top: 18px;
  color: #9a7400;
  font-size: 12px;
  font-weight: 800;
}


/* NEWSLETTER */

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

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

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

.newsletter-box p {
  margin: 0 0 18px;
  color: #333;
  font-size: 13px;
  line-height: 1.55;
}

.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;
}


/* SIDEBAR QUOTE */

.sidebar-quote {
  padding: 25px;
  border-radius: 12px;
  color: white;
  background: var(--black);
}

.sidebar-quote span {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.sidebar-quote h3 {
  margin: 14px 0;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  line-height: 1.4;
}

.quote-line {
  width: 60px;
  height: 4px;
  border-radius: 10px;
  background: var(--yellow);
}


/* RELATED ARTICLES */

.related-section {
  padding: 70px 0 85px;
  background: white;
}

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

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

.related-heading h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.view-all {
  color: #9a7400;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  overflow: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: var(--grey);
  transition: transform .2s, box-shadow .2s;
}

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

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

.related-content {
  padding: 20px;
}

.related-content > span {
  color: #a27b00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.related-content h3 {
  margin: 9px 0 16px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.related-content a {
  font-size: 12px;
  font-weight: 800;
}

.related-content a:hover {
  color: #9a7400;
}


/* 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) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 35px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* MOBILE */

@media (max-width: 680px) {
  .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;
  }

  .article-hero {
    padding: 40px 0;
  }

  .article-hero h1 {
    font-size: 39px;
    letter-spacing: -1.3px;
  }

  .article-subtitle {
    font-size: 15px;
  }

  .article-meta {
    gap: 12px;
  }

  .featured-image-section {
    padding: 0;
  }

  .article-featured-image {
    aspect-ratio: 16 / 9;
    border-radius: 0 0 10px 10px;
  }

  .article-section {
    padding: 40px 0 55px;
  }

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

  .article-body {
    padding: 0;
  }

  .article-body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .article-intro {
    padding: 20px;
  }

  .article-intro p {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-tip {
    padding: 19px;
  }

  .article-callout {
    padding: 20px;
  }

  .article-callout p {
    font-size: 16px;
  }

  .author-box {
    padding: 20px;
  }

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

  .related-section {
    padding: 50px 0 60px;
  }

  .related-heading {
    display: block;
  }

  .related-heading h2 {
    font-size: 27px;
  }

  .view-all {
    display: inline-block;
    margin-top: 14px;
  }

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

  .related-card img {
    height: 200px;
  }

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

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