:root {
  --se-black: #050505;
  --se-ink: #111318;
  --se-muted: #6c7179;
  --se-line: #d9dce0;
  --se-soft: #f5f6f7;
  --se-orange: #f06423;
  --se-yellow: #f6c916;
  --se-white: #ffffff;
  --se-max: 1480px;
}

* {
  box-sizing: border-box;
}

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

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

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sponsor-bar {
  background: var(--se-black);
  color: var(--se-white);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.sponsor-bar-inner,
.brand-row-inner,
.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sponsor-bar-inner {
  min-height: 45px;
}

.sponsor-copy {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sponsor-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sponsor-logos img {
  width: auto;
  max-width: 150px;
  max-height: 30px;
  object-fit: contain;
}

.top-nav,
.top-nav .menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--se-white);
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.search-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  width: 8px;
  height: 2px;
  background: currentColor;
  position: absolute;
  right: -6px;
  bottom: -4px;
  transform: rotate(45deg);
}

.brand-row {
  border-bottom: 1px solid var(--se-line);
}

.brand-row-inner {
  min-height: 98px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-brand .custom-logo,
.brand-logo {
  width: auto;
  max-width: min(430px, 72vw);
  max-height: 70px;
  object-fit: contain;
}

.brand-word,
.footer-brand {
  color: var(--se-orange);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 82px;
  height: 58px;
  background:
    linear-gradient(var(--se-yellow), var(--se-yellow)) 0 24px / 16px 16px no-repeat,
    linear-gradient(var(--se-yellow), var(--se-yellow)) 18px 10px / 16px 16px no-repeat,
    linear-gradient(var(--se-yellow), var(--se-yellow)) 36px 0 / 16px 16px no-repeat,
    linear-gradient(var(--se-yellow), var(--se-yellow)) 54px 0 / 16px 16px no-repeat,
    linear-gradient(var(--se-yellow), var(--se-yellow)) 54px 34px / 16px 16px no-repeat;
}

.social-nav .menu {
  display: flex;
  gap: 14px;
}

.social-nav a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--se-black);
  color: var(--se-white);
  font-size: 13px;
  font-weight: 800;
}

.social-nav svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-search {
  padding: 18px 0;
  background: var(--se-soft);
  border-bottom: 1px solid var(--se-line);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-field {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--se-line);
  padding: 0 16px;
  font: inherit;
}

.search-form button,
.load-more-button {
  min-height: 46px;
  border: 0;
  background: var(--se-orange);
  color: var(--se-white);
  padding: 0 22px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.main-nav-wrap {
  border-bottom: 1px solid var(--se-line);
}

.main-nav-inner {
  min-height: 58px;
  justify-content: flex-start;
}

.menu-toggle {
  display: grid;
  gap: 5px;
  width: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  background: var(--se-ink);
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 48px;
  text-transform: uppercase;
  font-weight: 800;
}

.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 58px;
  border-bottom: 3px solid transparent;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-cat > a {
  border-color: var(--se-orange);
}

.home-main {
  padding: 20px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 10px;
  margin: 18px 0 18px;
}

.hero-stack {
  display: grid;
  gap: 10px;
}

.hero-card,
.hero-link {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  background: var(--se-black);
}

.hero-card-large {
  min-height: 430px;
}

.hero-card img,
.hero-card .placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: transform .25s ease;
}

.hero-link {
  display: block;
  height: 100%;
}

.hero-link:hover img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--se-white);
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .72));
}

.hero-card-large .hero-overlay {
  padding: 28px;
}

.category-badge {
  align-self: flex-start;
  display: inline-flex;
  background: var(--se-orange);
  color: var(--se-white);
  padding: 5px 9px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stack .category-badge,
.home-section:nth-child(3n) .category-badge {
  background: var(--se-yellow);
  color: var(--se-ink);
}

.hero-card h1,
.hero-card h2 {
  max-width: 780px;
  margin: 0 0 14px;
  color: var(--se-white);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-card h1 {
  font-size: 50px;
  font-weight: 900;
}

.hero-card h2 {
  font-size: 32px;
  font-weight: 800;
}

.hero-card p {
  max-width: 600px;
  margin: 0 0 24px;
  font-size: 18px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
}

.post-meta span + span::before {
  content: "•";
  margin-right: 18px;
}

.home-sections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--se-line);
  margin-top: 18px;
}

.home-section {
  padding: 12px 24px 0 24px;
  border-right: 1px solid var(--se-line);
}

.home-section:first-child {
  padding-left: 0;
}

.home-section:last-child {
  border-right: 0;
  padding-right: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-heading a {
  color: var(--se-orange);
  font-size: 34px;
  line-height: 1;
}

.section-main-card h3,
.archive-card h2 {
  margin: 10px 0 8px;
  font-size: 21px;
  line-height: 1.18;
}

.section-main-card time,
.mini-card time {
  color: var(--se-muted);
  font-size: 13px;
}

.mini-list {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--se-line);
}

.mini-card + .mini-card {
  margin-top: 10px;
}

.mini-card a {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: start;
}

.mini-card img,
.mini-card .placeholder-image {
  width: 82px;
  height: 58px;
  object-fit: cover;
}

.mini-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.25;
}

.opinions-section,
.latest-section {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 3px solid var(--se-black);
}

.opinions-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.opinion-card {
  border-left: 4px solid var(--se-orange);
  padding-left: 18px;
}

.opinion-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.opinion-card p,
.archive-card p {
  color: var(--se-muted);
}

.archive-card {
  border-bottom: 1px solid var(--se-line);
  padding-bottom: 18px;
}

.archive-card img,
.archive-card .placeholder-image,
.section-main-card img,
.section-main-card .placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #1d2a34, #e46b2a);
}

.archive-header {
  padding: 34px 0 22px;
}

.archive-header h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
}

.load-more-button {
  display: block;
  margin: 32px auto 0;
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 90px;
  margin: 22px 0;
  border: 1px solid var(--se-line);
  background: var(--se-soft);
  position: relative;
  overflow: hidden;
}

.ad-slot-home-top {
  min-height: 120px;
}

.ad-label {
  position: absolute;
  top: 6px;
  left: 8px;
  color: var(--se-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.single-article {
  padding: 38px 0 72px;
  border-bottom: 1px solid var(--se-line);
}

.single-article-appended {
  margin-top: 28px;
}

.single-header {
  max-width: 920px;
}

.single-header h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
}

.single-featured-image {
  margin: 28px 0;
}

.single-featured-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.single-featured-image figcaption {
  margin-top: 8px;
  color: var(--se-muted);
  font-size: 13px;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 320px;
  gap: 58px;
  align-items: start;
}

.single-content {
  font-size: 19px;
  line-height: 1.75;
}

.single-content a {
  color: var(--se-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.single-content h2,
.single-content h3 {
  line-height: 1.16;
}

.post-tax-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.post-tax-links a {
  display: inline-flex;
  border: 1px solid var(--se-line);
  padding: 6px 10px;
  color: var(--se-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.author-box {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--se-line);
}

.author-box img {
  border-radius: 50%;
}

.author-box span {
  color: var(--se-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.author-box h2 {
  margin: 2px 0 8px;
}

.author-link {
  color: var(--se-orange);
  font-weight: 800;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--se-line);
  font-weight: 800;
}

.widget {
  border-top: 3px solid var(--se-black);
  padding-top: 14px;
  margin-bottom: 28px;
}

.widget-title {
  margin: 0 0 12px;
  font-size: 18px;
  text-transform: uppercase;
}

.next-article-loader {
  margin: 24px 0;
  text-align: center;
  color: var(--se-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  background: var(--se-black);
  color: var(--se-white);
  padding: 36px 0;
}

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

.footer-inner .menu {
  display: flex;
  gap: 22px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .home-sections-grid,
  .archive-grid,
  .opinions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-section {
    border-right: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--se-line);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--se-max));
  }

  .sponsor-bar-inner,
  .brand-row-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav,
  .top-nav .menu,
  .primary-nav .menu,
  .footer-inner .menu {
    gap: 16px;
    flex-wrap: wrap;
  }

  .sponsor-copy,
  .sponsor-logos {
    flex-wrap: wrap;
  }

  .sponsor-logos img {
    max-width: 118px;
    max-height: 26px;
  }

  .brand-word,
  .footer-brand {
    font-size: 27px;
  }

  .brand-mark {
    transform: scale(.78);
    transform-origin: left center;
  }

  .social-nav .menu {
    flex-wrap: wrap;
  }

  .primary-nav {
    display: none;
    width: 100%;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .primary-nav a {
    min-height: 36px;
  }

  .hero-card-large,
  .hero-card {
    min-height: 320px;
  }

  .single-header h1 {
    font-size: 36px;
  }

  .hero-card h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  .hero-card h2 {
    font-size: 26px;
  }

  .home-sections-grid,
  .archive-grid,
  .opinions-grid {
    grid-template-columns: 1fr;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .single-content {
    font-size: 17px;
  }

  .post-navigation,
  .author-box {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
