:root {
  --swc-bg: #f4f5f7;
  --swc-surface: #ffffff;
  --swc-ink: #0f1115;
  --swc-muted: #6e7480;
  --swc-border: #dfe3ea;
  --swc-accent: #ff4d2d;
  --swc-dark: #0a0c10;
  --swc-dark-2: #171a20;
  --swc-radius: 14px;
  --swc-shadow: 0 10px 35px rgba(12, 15, 20, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #eef1f6 0%, #f8f9fb 240px, #f4f5f7 100%);
  color: var(--swc-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.4;
}

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

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

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

.swc-container {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.swc-site-main {
  padding-bottom: 2.5rem;
}

.swc-utility-bar {
  background: #0c0f14;
  color: #b7bfcc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.swc-utility-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.swc-site-header--logo-topbar .swc-utility-bar__inner {
  min-height: 52px;
}

.swc-utility-left,
.swc-utility-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.swc-utility-left {
  flex: 1 1 auto;
}

.swc-utility-right {
  flex: 0 0 auto;
}

.swc-tagline {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swc-utility-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.swc-utility-actions a {
  color: #c7cfdb;
  font-weight: 600;
}

.swc-utility-actions a:hover {
  color: #fff;
}

.swc-brand-row {
  background: var(--swc-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.swc-brand-row__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swc-brand .custom-logo-link,
.swc-brand .custom-logo-link img {
  display: block;
}

.swc-brand .custom-logo {
  width: auto !important;
  max-width: min(220px, 100%) !important;
  height: auto !important;
  max-height: 48px !important;
  object-fit: contain;
}

.swc-brand--utility .custom-logo {
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

.swc-brand--utility .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.swc-site-header--logo-topbar .swc-brand--utility,
.swc-site-header--logo-topbar .swc-brand--utility .custom-logo-link,
.swc-site-header--logo-topbar .swc-brand--utility .custom-logo {
  max-height: none !important;
}

.swc-site-header img.custom-logo {
  object-fit: contain;
}

.swc-brand--utility {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding-right: 0.8rem;
  margin-right: 0.05rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.swc-brand-title {
  display: inline-block;
  color: #f4f7fb;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.swc-site-header--logo-topbar .swc-brand-title {
  max-width: 18ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swc-brand--utility .swc-wordmark {
  font-size: 0.95rem;
}

.swc-brand--utility .swc-wordmark span:last-child {
  padding: 0.14rem 0.35rem;
}

.swc-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swc-wordmark span:last-child {
  padding: 0.18rem 0.4rem;
  background: var(--swc-accent);
  border-radius: 4px;
}

.swc-header-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.swc-icon-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 0.9rem;
  cursor: pointer;
  font-weight: 600;
}

.swc-icon-button--filled {
  background: #fff;
  color: var(--swc-dark);
  border-color: #fff;
}

.swc-primary-nav {
  background: var(--swc-dark-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.swc-site-header--logo-topbar .swc-primary-nav {
  position: sticky;
  top: 0;
  z-index: 20;
}

.swc-site-header--logo-topbar .swc-utility-bar {
  position: sticky;
  top: 0;
  z-index: 21;
  background: #090c12;
}

.swc-site-header--logo-topbar .swc-utility-left {
  gap: 0.65rem;
}

.swc-site-header--logo-topbar .swc-tagline {
  max-width: min(60vw, 760px);
  font-size: 0.78rem;
  color: #9ea8b7;
}

.swc-primary-nav .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.swc-primary-nav .menu li {
  flex: 0 0 auto;
}

.swc-primary-nav .menu a {
  display: block;
  color: #e7ebf2;
  padding: 0.9rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.swc-primary-nav .menu a:hover {
  color: #fff;
  border-bottom-color: var(--swc-accent);
}

.swc-ticker {
  background: #fff;
  border-bottom: 1px solid var(--swc-border);
}

.swc-ticker__track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  overflow-x: auto;
  white-space: nowrap;
}

.swc-ticker__label {
  color: #fff;
  background: var(--swc-accent);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.swc-ticker__track a {
  color: #1f2530;
  font-weight: 600;
}

.swc-ticker__track a::after {
  content: "•";
  color: #b2b9c4;
  margin-left: 0.9rem;
}

.swc-hero {
  padding: 1.25rem 0 0.5rem;
}

.swc-hero__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  align-items: start;
}

.swc-hero__lead .swc-story-card {
  min-height: 100%;
}

.swc-hero__stack {
  display: grid;
  gap: 0.8rem;
}

.swc-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
  margin-top: 0.5rem;
}

.swc-home-layout__main {
  display: grid;
  gap: 1rem;
}

.swc-home-layout__sidebar {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 1rem;
}

.swc-story-card {
  background: var(--swc-surface);
  border: 1px solid var(--swc-border);
  border-radius: var(--swc-radius);
  overflow: hidden;
  box-shadow: var(--swc-shadow);
  display: grid;
}

.swc-story-card__media {
  display: block;
}

.swc-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #cfd4de;
}

.swc-card-image--placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(135deg, #161a21, #2a313d);
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #f4f6fa;
  font-weight: 700;
  text-align: center;
}

.swc-card-image--placeholder span {
  max-width: 20ch;
}

.swc-story-card__body {
  padding: 0.85rem 0.95rem 1rem;
}

.swc-story-card__kicker {
  color: var(--swc-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swc-story-card__title {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  line-height: 1.25;
}

.swc-story-card__title a:hover {
  text-decoration: underline;
}

.swc-story-card__meta {
  margin: 0.55rem 0 0;
  color: var(--swc-muted);
  font-size: 0.82rem;
}

.swc-story-card--hero .swc-story-card__title {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.swc-story-card--compact {
  grid-template-columns: 140px 1fr;
  align-items: stretch;
}

.swc-story-card--compact .swc-story-card__media .swc-card-image {
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
}

.swc-story-card--compact .swc-story-card__body {
  padding: 0.7rem 0.8rem;
}

.swc-story-card--compact .swc-story-card__title {
  font-size: 0.95rem;
}

.swc-story-card--compact .swc-story-card__meta {
  display: none;
}

.swc-section {
  background: transparent;
  display: grid;
  gap: 0.85rem;
}

.swc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0.1rem;
}

.swc-section__head h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.swc-section__head a {
  color: var(--swc-muted);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.swc-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.swc-section--dark {
  background: linear-gradient(180deg, #0f1319, #121722);
  border-radius: calc(var(--swc-radius) + 4px);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.swc-section--dark .swc-section__head h2,
.swc-section--dark .swc-section__head a {
  color: #fff;
}

.swc-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.swc-video-card {
  color: #fff;
}

.swc-video-card__thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.swc-video-card__thumb .swc-card-image {
  box-shadow: none;
}

.swc-play {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.85rem;
}

.swc-video-card h3 {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.swc-newsletter {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 77, 45, 0.25), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, #171c24, #232a36);
  color: #fff;
  border-radius: calc(var(--swc-radius) + 4px);
  padding: 1.15rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: center;
}

.swc-newsletter__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffc9be;
  font-weight: 800;
  font-size: 0.75rem;
}

.swc-newsletter h2 {
  margin: 0.45rem 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.swc-newsletter p:last-child {
  margin: 0.55rem 0 0;
  color: #d0d7e4;
}

.swc-newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.swc-newsletter__form input {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 0.85rem;
}

.swc-newsletter__form input::placeholder {
  color: #c6cfdb;
}

.swc-newsletter__form button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 1rem;
  background: #fff;
  color: #111621;
  font-weight: 800;
  cursor: pointer;
}

.swc-panel,
.swc-widget {
  background: #fff;
  border: 1px solid var(--swc-border);
  border-radius: var(--swc-radius);
  padding: 1rem;
  box-shadow: var(--swc-shadow);
}

.swc-panel h3,
.swc-widget-title {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.swc-ranked-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.swc-ranked-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  align-items: start;
}

.swc-ranked-list li span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f3f8;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #19202b;
}

.swc-ranked-list a {
  font-weight: 600;
  line-height: 1.3;
}

.swc-panel--promo {
  background: linear-gradient(145deg, #fff, #f5f7fb);
}

.swc-panel__eyebrow {
  color: var(--swc-accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin: 0 0 0.35rem;
}

.swc-listing,
.swc-single-layout {
  margin-top: 1rem;
}

.swc-listing__main {
  min-width: 0;
}

.swc-archive-header {
  margin-bottom: 0.85rem;
}

.swc-archive-header h1 {
  margin: 0;
  font-size: 1.6rem;
}

.swc-archive-description {
  color: var(--swc-muted);
}

.swc-pagination {
  margin-top: 1rem;
}

.swc-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.swc-pagination a,
.swc-pagination span {
  background: #fff;
  border: 1px solid var(--swc-border);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
}

.swc-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

.swc-single-layout__sidebar {
  position: sticky;
  top: 126px;
}

.swc-article {
  background: #fff;
  border: 1px solid var(--swc-border);
  border-radius: calc(var(--swc-radius) + 2px);
  box-shadow: var(--swc-shadow);
  overflow: hidden;
}

.swc-article__header {
  padding: 1.15rem 1.15rem 0.85rem;
}

.swc-article__kicker {
  margin: 0;
  color: var(--swc-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.75rem;
}

.swc-article__header h1 {
  margin: 0.5rem 0 0;
  line-height: 1.14;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
}

.swc-article__meta {
  margin: 0.6rem 0 0;
  color: var(--swc-muted);
}

.swc-article__content {
  padding: 1.15rem;
}

.swc-article__content > *:first-child {
  margin-top: 0;
}

.swc-article__content p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.swc-related-list {
  display: grid;
  gap: 0.85rem;
}

.swc-related-list__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.swc-related-list__item .swc-card-image {
  border-radius: 10px;
  border: 1px solid var(--swc-border);
}

.swc-related-list__item a {
  font-weight: 700;
  line-height: 1.3;
}

.swc-site-footer {
  margin-top: 2rem;
  background: #0b0e13;
  color: #d3d9e5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.swc-site-footer__inner {
  padding: 1.35rem 0 1.8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.swc-footer-top {
  display: grid;
  gap: 0.95rem;
  padding: 0.15rem 0 0.1rem;
}

.swc-footer-brand-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.swc-footer-logo {
  flex: 0 0 auto;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.swc-footer-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.swc-footer-brand-copy {
  min-width: 0;
}

.swc-footer-brand {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.swc-footer-copy {
  margin: 0.5rem 0 0;
  max-width: 55ch;
  color: #b7c0ce;
  line-height: 1.5;
}

.swc-footer-inline-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
}

.swc-footer-inline-links li {
  display: inline-flex;
  align-items: center;
}

.swc-footer-inline-links li:not(:last-child)::after {
  content: "•";
  color: rgba(255, 255, 255, 0.28);
  margin-left: 0.9rem;
}

.swc-footer-inline-links a {
  display: inline-block;
  padding: 0;
  font-size: 0.84rem;
  color: #eef2fa;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.swc-footer-inline-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.swc-footer-links .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.swc-footer-links .menu a {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.84rem;
  color: #d8dfeb;
}

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

  .swc-home-layout__sidebar,
  .swc-single-layout__sidebar {
    position: static;
  }

  .swc-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .swc-hero__grid {
    grid-template-columns: 1fr;
  }

  .swc-hero__stack {
    grid-template-columns: 1fr;
  }

  .swc-newsletter {
    grid-template-columns: 1fr;
  }

  .swc-newsletter__form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .swc-utility-bar__inner {
    justify-content: center;
    min-height: 42px;
  }

  .swc-tagline {
    display: none;
  }

  .swc-utility-left {
    flex: 0 1 auto;
  }

  .swc-utility-right {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }

  .swc-site-header--logo-topbar .swc-utility-bar__inner {
    flex-wrap: wrap;
    padding: 0.4rem 0;
    justify-content: space-between;
  }

  .swc-site-header--logo-topbar .swc-utility-left {
    width: 100%;
    justify-content: flex-start;
  }

  .swc-site-header--logo-topbar .swc-utility-right {
    width: 100%;
    justify-content: center;
  }

  .swc-brand-title {
    font-size: 0.76rem;
  }

  .swc-site-header--logo-topbar .swc-brand--utility {
    margin-right: 0;
    padding-right: 0.55rem;
  }

  .swc-brand-row__inner {
    min-height: 62px;
  }

  .swc-wordmark {
    font-size: 1.05rem;
  }

  .swc-section__grid {
    grid-template-columns: 1fr;
  }

  .swc-story-card--compact {
    grid-template-columns: 120px 1fr;
  }

  .swc-story-card--compact .swc-story-card__title {
    font-size: 0.88rem;
  }

  .swc-site-footer__inner {
    grid-template-columns: 1fr;
  }

  .swc-footer-brand-wrap {
    align-items: center;
  }

  .swc-footer-links .menu {
    justify-content: flex-start;
  }
}
