@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:wght@500;700;900&display=swap");

:root {
  --sidebar-width: 240px;
  --bg-color: #ffffff;
  --text-main: #000000;
  --text-muted: #555555;
  --hover-bg: #f5f5f5;
  --border-color: #eeeeee;

  --font-title: "Roboto", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title-font {
  font-family: var(--font-title);
}

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

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02);
  z-index: 100;
  overflow-y: auto;
}

.brand {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 1.8vw, 2.2rem);
  font-weight: 900;
  padding: 0 24px;
  margin-bottom: 30px;
}
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:wght@500;700;900&display=swap");

:root {
  --sidebar-width: 240px;
  --bg-color: #ffffff;
  --text-main: #000000;
  --text-muted: #555555;
  --hover-bg: #f5f5f5;
  --border-color: #eeeeee;

  --font-title: "Roboto", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title-font {
  font-family: var(--font-title);
}

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

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02);
  z-index: 100;
  overflow-y: auto;
}

.brand {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 1.8vw, 2.2rem);
  font-weight: 900;
  padding: 0 24px;
  margin-bottom: 30px;
}

.nav-menu {
  list-style: none;
  flex: 1;
}

.nav-menu > li {
  opacity: 0;
  animation: slideInLeft 0.5s ease-out forwards;
}

.nav-menu > li:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-menu > li:nth-child(2) {
  animation-delay: 0.2s;
}
.nav-menu > li:nth-child(3) {
  animation-delay: 0.3s;
}
.nav-menu > li:nth-child(4) {
  animation-delay: 0.4s;
}
.nav-menu > li:nth-child(5) {
  animation-delay: 0.5s;
}

.nav-item {
  display: flex;
  align-items: center;
  margin: 4px 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.nav-item:hover {
  background-color: var(--hover-bg);
  color: var(--text-main);
  transform: translateX(4px);
}

.nav-item.active {
  background-color: #000;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-fab {
  display: none;
}

.nav-item svg {
  margin-right: 12px;
  width: 20px;
  height: 20px;
}

.main-content {
  margin-left: var(--sidebar-width);
  padding: 30px 40px;
  min-height: 100vh;
  animation: fadeInUpScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hero-editorial {
  position: relative;
  overflow: hidden;
  color: #fff;
  margin: -30px -40px 48px;
  min-height: 520px;
  isolation: isolate;
}

.hero-editorial-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050505;
}

.hero-editorial-poster {
  position: absolute;
  inset: -2%;
  z-index: 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
  opacity: 1;
  transition: opacity 0.7s ease;
}

.hero-editorial.is-live .hero-editorial-poster {
  opacity: 0;
  pointer-events: none;
}

.hero-editorial-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-editorial-video iframe,
.hero-editorial-video #heroFeaturedPlayer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.25);
  pointer-events: none !important;
}

.hero-editorial-chrome {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.12);
}

.hero-editorial-shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(
      105deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.45) 38%,
      rgba(0, 0, 0, 0.22) 58%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.28) 0%,
      transparent 34%,
      transparent 68%,
      rgba(0, 0, 0, 0.42) 100%
    );
  pointer-events: none;
}

.hero-editorial-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: end;
  min-height: 520px;
  padding: 36px 40px 40px;
}

.hero-editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  max-width: 34rem;
  padding-bottom: 8px;
}

.hero-editorial-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.hero-editorial-story {
  display: block;
  color: inherit;
  margin-bottom: 28px;
}

.hero-editorial-title {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hero-editorial-excerpt {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hero-editorial-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.hero-editorial-cta:hover {
  background: #ef4444;
  color: #fff;
  transform: translateY(-1px);
}

.hero-editorial-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.hero-editorial-cta:hover .hero-editorial-cta-icon {
  background: rgba(255, 255, 255, 0.18);
}

.hero-editorial-cta-icon svg {
  width: 12px;
  height: 12px;
  margin-left: 1px;
}

.hero-editorial.is-switching .hero-editorial-title,
.hero-editorial.is-switching .hero-editorial-excerpt {
  opacity: 0.35;
  transform: translateY(6px);
}

.hero-editorial-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: rgba(8, 8, 8, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-editorial-card {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  text-align: left;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: inherit;
  min-width: 0;
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.58;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.hero-editorial-card:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-2px);
}

.hero-editorial-card.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-editorial-card-thumb {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.hero-editorial-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-editorial-card-body {
  min-width: 0;
}

.hero-editorial-card-top {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

.hero-editorial-card.is-active .hero-editorial-card-status {
  color: #ef4444;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-editorial-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 4px 0 0;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-editorial-card-progress {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  opacity: 0;
  border-radius: 999px;
}

.hero-editorial-card.is-active .hero-editorial-card-progress {
  opacity: 1;
}

.hero-editorial-card-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: #ef4444;
}

.hero-editorial.is-paused .hero-editorial-card-progress-bar {
  animation-play-state: paused !important;
}

@keyframes heroCardProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.video-section {
  margin-bottom: 40px;
}

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

.section-title {
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.section-title svg {
  margin-left: 8px;
  width: 20px;
  height: 20px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  padding: 8px 20px;
  border-radius: 24px;
  font-family: var(--font-body);
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  container-type: inline-size;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.video-rail {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-bottom: 4px;
}

.content-rail-wrap {
  position: relative;
  container-type: inline-size;
  margin: 0;
  padding: 4px 0 8px;
}

.content-rail-viewport {
  overflow: hidden;
  width: 100%;
  padding: 10px 6px 18px;
  margin: -10px -6px -18px;
}

.content-rail {
  display: flex;
  gap: 20px;
  width: max-content;
  transition: transform 0.4s ease;
  will-change: transform;
}

.content-rail-btn {
  position: absolute;
  top: 42%;
  z-index: 5;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.content-rail-btn svg {
  width: 18px;
  height: 18px;
}

.content-rail-btn:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.content-rail-btn:disabled,
.content-rail-btn[hidden] {
  opacity: 0;
  pointer-events: none;
}

.content-rail-btn--prev {
  left: 4px;
}

.content-rail-btn--next {
  right: 4px;
}

.content-rail > .yt-card,
.content-rail > .home-article-card {
  flex: 0 0 min(300px, 78cqi);
}

@container (min-width: 700px) {
  .content-rail > .yt-card,
  .content-rail > .home-article-card {
    flex: 0 0 calc((100cqi - 40px) / 3);
  }
}

@container (min-width: 1100px) {
  .content-rail > .yt-card,
  .content-rail > .home-article-card {
    flex: 0 0 calc((100cqi - 60px) / 4);
  }
}

/* YouTube-style video cards */
.yt-card {
  --yt-card-thumb: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.yt-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 0;
  background-image: var(--yt-card-thumb);
  background-size: cover;
  background-position: center;
  filter: blur(48px) saturate(1.35);
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.yt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.yt-card > * {
  position: relative;
  z-index: 1;
}

.yt-card:hover {
  transform: translateY(-2px);
}

.yt-card.is-menu-open {
  transform: none;
  z-index: 5;
}

.yt-card:hover::before {
  opacity: 0.55;
}

.yt-card:hover::after {
  opacity: 1;
}

.yt-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  margin-bottom: 12px;
}

.yt-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transition: background 0.25s ease;
}

.yt-card:hover .yt-card-thumb::after,
.yt-card.is-previewing .yt-card-thumb::after,
.yt-card.is-preview-ready .yt-card-thumb::after {
  background: rgba(0, 0, 0, 0.12);
}

.yt-card.is-preview-ready .yt-card-thumb::after {
  background: transparent;
}

.yt-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
}

.yt-card-preview-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: #000;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.yt-card.is-preview-ready .yt-card-preview-wrap {
  opacity: 1;
}

.yt-card-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  background: #000;
  pointer-events: none;
}

.yt-card.is-preview-ready .yt-card-image {
  opacity: 0;
}

.yt-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.yt-card-play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.yt-card-time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  min-width: 40px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.yt-card.is-previewing .yt-card-play,
.yt-card.is-preview-ready .yt-card-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  pointer-events: none;
}

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

.yt-card-body {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.yt-card-hit {
  color: inherit;
  text-decoration: none;
  display: block;
}

.yt-card-title-link {
  color: inherit;
  text-decoration: none;
}

.yt-card-title-link:hover {
  color: var(--text-main);
}

.yt-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yt-card-copy {
  min-width: 0;
}

.yt-card-title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text-main);
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-card-channel,
.yt-card-meta {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0;
}

.yt-card-channel {
  margin-bottom: 2px;
}

.yt-card-menu {
  position: relative;
  flex-shrink: 0;
  margin-top: -4px;
  margin-right: -6px;
}

.yt-card-menu-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.yt-card:hover .yt-card-menu-btn,
.yt-card:focus-within .yt-card-menu-btn,
.yt-card-menu.is-open .yt-card-menu-btn {
  opacity: 1;
}

.yt-card-menu-btn:hover,
.yt-card-menu-btn:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-main);
  outline: none;
}

.yt-card-menu-panel {
  position: fixed;
  z-index: 1200;
  min-width: 220px;
  padding: 8px 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.12);
}

.yt-card-menu-panel[hidden] {
  display: none !important;
}

.yt-card-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.yt-card-menu-item:hover,
.yt-card-menu-item:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.yt-card-menu-item svg {
  flex-shrink: 0;
  color: #606060;
}

@media (hover: none) {
  .yt-card-menu-btn {
    opacity: 1;
  }
}

/* Home article cards (articles-list style, card layout) */
.home-article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.home-article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.06);
}

.home-article-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  margin-bottom: 14px;
}

.home-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-article-card:hover .home-article-thumb img {
  transform: scale(1.04);
}

.home-article-card .articles-chip {
  margin-bottom: 10px;
}

.home-article-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.home-article-title a {
  color: inherit;
  text-decoration: none;
}

.home-article-title a:hover {
  text-decoration: underline;
}

.home-article-excerpt {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.home-article-card .articles-read-more {
  margin-top: auto;
}

/* Home videos — Reel Corridor */
.video-reel {
  margin: 8px 0 56px;
}

.video-reel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.video-reel-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-reel-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: video-reel-pulse 1.5s ease-out infinite;
}

@keyframes video-reel-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.video-reel-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 24px 16px 28px;
  background:
    radial-gradient(
      900px 280px at 10% -10%,
      rgba(255, 255, 255, 0.9),
      transparent 60%
    ),
    linear-gradient(135deg, #f4f4f4 0%, #ebebeb 45%, #f7f7f7 100%);
}

.video-reel-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.video-reel-orb--one {
  width: 220px;
  height: 220px;
  top: -60px;
  right: 8%;
  background: rgba(0, 0, 0, 0.08);
  animation: video-reel-orb-a 10s ease-in-out infinite alternate;
}

.video-reel-orb--two {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: 12%;
  background: rgba(0, 0, 0, 0.06);
  animation: video-reel-orb-b 12s ease-in-out infinite alternate;
}

@keyframes video-reel-orb-a {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-40px, 30px);
  }
}

@keyframes video-reel-orb-b {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(35px, -25px);
  }
}

.video-reel-watermark {
  position: absolute;
  top: -0.1em;
  left: 18px;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(0, 0, 0, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: video-reel-watermark 12s ease-in-out infinite alternate;
}

@keyframes video-reel-watermark {
  from {
    letter-spacing: -0.06em;
    opacity: 0.9;
  }
  to {
    letter-spacing: -0.03em;
    opacity: 1;
  }
}

.video-reel-now {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 8px;
  min-height: 1.6em;
}

.video-reel-now-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.video-reel-now-title {
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: opacity 0.25s ease;
}

.video-reel.is-switching .video-reel-now-title {
  opacity: 0.35;
}

.video-reel-slider {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  padding: 36px 2px 32px;
  overflow: hidden;
}

.video-reel-slider .swiper-wrapper {
  align-items: end;
}

.video-reel-slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.video-reel-slider .video-reel-card {
  width: 100%;
  height: 100%;
}

.video-reel-slider .content-rail-btn {
  top: 42%;
}

.video-reel-slider .content-rail-btn.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.video-reel-card {
  --reel-base-y: calc((var(--reel-i) % 2) * 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  color: inherit;
  transform: translateY(var(--reel-base-y));
  animation: video-reel-float 4.8s ease-in-out infinite;
  animation-delay: calc(var(--reel-i) * 0.35s);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease,
    opacity 0.35s ease;
}

@keyframes video-reel-float {
  0%,
  100% {
    transform: translateY(var(--reel-base-y));
  }
  50% {
    transform: translateY(calc(var(--reel-base-y) - 8px));
  }
}

.video-reel-card:not(.is-active) {
  opacity: 0.72;
  filter: saturate(0.85);
}

.video-reel-card.is-active,
.video-reel-card:hover {
  opacity: 1;
  filter: none;
  z-index: 3;
  animation-play-state: paused;
  transform: translateY(calc(var(--reel-base-y) - 10px));
}

.video-reel-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.video-reel-card.is-active .video-reel-media,
.video-reel-card:hover .video-reel-media {
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.18),
    0 0 0 2px #111;
}

.video-reel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.video-reel-card.is-active .video-reel-media img,
.video-reel-card:hover .video-reel-media img {
  transform: scale(1.08);
}

.video-reel-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.video-reel-card.is-active .video-reel-shine {
  animation: video-reel-shine 2.4s ease-in-out infinite;
}

@keyframes video-reel-shine {
  0%,
  40% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.video-reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.video-reel-play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.video-reel-card.is-active .video-reel-play,
.video-reel-card:hover .video-reel-play {
  opacity: 1;
  transform: scale(1);
}

.video-reel-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.video-reel-card.is-active .video-reel-badge {
  opacity: 1;
  transform: translateY(0);
}

.video-reel-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
}

.video-reel-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.video-reel-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-reel-meter {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-reel-card.is-active .video-reel-meter {
  opacity: 1;
}

.video-reel-meter-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: #111;
}

.video-reel-card.is-active .video-reel-meter-bar {
  animation: video-reel-meter 4s linear forwards;
}

@keyframes video-reel-meter {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.video-reel.is-paused .video-reel-card {
  animation-play-state: paused;
}

.video-reel.is-paused .video-reel-card.is-active .video-reel-meter-bar,
.video-reel.is-paused .video-reel-card.is-active .video-reel-shine {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .video-reel-card,
  .video-reel-orb,
  .video-reel-watermark,
  .video-reel-live-dot,
  .video-reel-shine,
  .video-reel-meter-bar {
    animation: none !important;
  }
}

/* Home articles — Editorial Desk */
.home-articles {
  margin-bottom: 56px;
}

.articles-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.articles-desk-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #0f0f0f;
  transition: transform 0.25s ease;
  height: 100%;
}

.articles-desk-feature:hover {
  transform: translateY(-3px);
}

.articles-desk-feature-media {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #111;
}

.articles-desk-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.articles-desk-feature:hover .articles-desk-feature-media img {
  transform: scale(1.04);
}

.articles-desk-feature-copy {
  padding: 16px 18px 18px;
  color: #fff;
}

.articles-desk-feature-copy .articles-chip {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.articles-desk-feature-title {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.articles-desk-feature-excerpt {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 12px;
  max-width: 34em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articles-desk-feature-copy .articles-read-more {
  color: #fff;
}

.articles-desk-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 100%;
  padding: 14px;
  border-radius: 16px;
  background: #f5f5f5;
}

.articles-desk-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  color: inherit;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.articles-desk-item:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

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

.articles-desk-item-thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #ddd;
}

.articles-desk-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.articles-desk-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.articles-desk-item-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.articles-desk-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articles-desk-item-excerpt {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-wrapper .video-card {
  flex: 0 0 100cqi;
}

@container (min-width: 576px) {
  .slider-wrapper .video-card {
    flex: 0 0 calc((100cqi - 16px) / 2);
  }
}

@container (min-width: 1100px) {
  .slider-wrapper .video-card {
    flex: 0 0 calc((100cqi - 32px) / 3);
  }
}

@container (min-width: 1400px) {
  .slider-wrapper .video-card {
    flex: 0 0 calc((100cqi - 48px) / 4);
  }
}

@container (min-width: 1800px) {
  .slider-wrapper .video-card {
    flex: 0 0 calc((100cqi - 64px) / 5);
  }
}

@container (min-width: 2200px) {
  .slider-wrapper .video-card {
    flex: 0 0 calc((100cqi - 80px) / 6);
  }
}

@container (min-width: 2600px) {
  .slider-wrapper .video-card {
    flex: 0 0 calc((100cqi - 96px) / 7);
  }
}

@container (min-width: 3000px) {
  .slider-wrapper .video-card {
    flex: 0 0 calc((100cqi - 112px) / 8);
  }
}

.video-card {
  display: block;
  cursor: pointer;
  height: auto;
}

.video-thumbnail-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #222;
  margin-bottom: 12px;
}

.video-thumbnail-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
  z-index: 5;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-brand-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  color: white;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  z-index: 10;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-detail-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.video-player-container {
  flex: 0 0 calc(50% - 16px);
  width: calc(50% - 10px);
  position: sticky;
  top: 30px;
  height: 600px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUpScale 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  z-index: 1;
  padding: 4px;
}

.video-player-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    transparent,
    transparent,
    #ff3366,
    #00e6ff,
    #ff3366,
    transparent,
    transparent,
    transparent
  );
  animation: borderRotate 4s linear infinite;
  z-index: -2;
}

.video-player-container::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 4px;
  top: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  background: black;
  border-radius: 8px;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.video-info-container {
  width: calc(50% - 16px);
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  animation: fadeInUpScale 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumb-tag {
  padding: 4px 12px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.detail-title {
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 16px;
}

.detail-subtitle,
.video-description {
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42em;
  margin-bottom: 36px;
  text-align: justify;
}

.video-description p {
  margin: 0 0 1.15em;
}

.video-description p:last-child {
  margin-bottom: 0;
}

.detail-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.share-buttons {
  position: fixed;
  right: 24px;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  background-color: var(--hover-bg);
  animation: floatIcon 1s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}

.social-links.show {
  max-height: 400px;
  opacity: 1;
}

.main-share-btn svg {
  transition: transform 0.3s ease;
}

.main-share-btn.active svg {
  transform: rotate(45deg);
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

.up-next-card {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.up-next-card:hover {
  background-color: var(--hover-bg);
}

/* Animations */
@keyframes fadeInUpScale {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseLive {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    background-color: #ef4444;
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    background-color: #dc2626;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    background-color: #ef4444;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes borderRotate {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes eq {
  0% {
    height: 4px;
  }
  50% {
    height: 14px;
  }
  100% {
    height: 4px;
  }
}

@keyframes floatIcon {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.up-next-badge {
  color: #ef4444;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.eq-bar {
  width: 4px;
  background-color: #ef4444;
  border-radius: 2px;
  animation: eq 1s ease-in-out infinite;
}

.eq-bar:nth-child(1) {
  animation-duration: 0.7s;
}
.eq-bar:nth-child(2) {
  animation-duration: 1.1s;
}
.eq-bar:nth-child(3) {
  animation-duration: 0.9s;
}

.up-next-title {
  font-size: 14px;
  font-weight: 600;
}

.up-next-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 1023px) {
  .main-share-btn {
    display: none !important;
  }
  .social-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Page listings & contact */
.page-header {
  background: #050505;
  color: #fff;
  /* margin: -30px -40px 40px; */
  margin-bottom: 40px;
  padding: 36px 40px 40px;
}

.page-title {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 8px;
  color: #fff;
}

.page-intro a {
  color: #fff;
  text-decoration: underline;
}

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

.videos-all-header {
  margin: 40px 0 20px;
}

/* YouTube gallery (Snappy-style cards) */
.yt-gallery {
  margin-top: 36px;
}

.yt-gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.yt-gallery-heading {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.yt-gallery-count {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
}

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

.yt-gallery-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.yt-gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.yt-gallery-thumb {
  position: relative;
  margin-bottom: 14px;
}

.yt-gallery-thumb-link {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
}

.yt-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.yt-gallery-card:hover .yt-gallery-image {
  transform: scale(1.04);
}

.yt-gallery-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.yt-gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.48);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.yt-gallery-card:hover .yt-gallery-overlay,
.yt-gallery-card:focus-within .yt-gallery-overlay {
  opacity: 1;
}

.yt-gallery-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(6px);
  transition: transform 0.22s ease;
}

.yt-gallery-card:hover .yt-gallery-watch,
.yt-gallery-card:focus-within .yt-gallery-watch {
  transform: translateY(0);
}

.yt-gallery-menu {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  margin: 0;
}

.yt-gallery-menu-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.yt-gallery-card:hover .yt-gallery-menu-btn,
.yt-gallery-card:focus-within .yt-gallery-menu-btn,
.yt-gallery-menu.is-open .yt-gallery-menu-btn {
  opacity: 1;
}

.yt-gallery-menu-btn:hover,
.yt-gallery-menu-btn:focus-visible {
  background: #fff;
  color: #111;
}

.yt-gallery-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 0 2px 4px;
}

.yt-gallery-channel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.yt-gallery-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yt-gallery-channel-copy {
  min-width: 0;
}

.yt-gallery-channel {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-gallery-ago {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.yt-gallery-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.yt-gallery-title a {
  color: inherit;
}

.yt-gallery-title a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yt-gallery-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.yt-gallery-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.yt-gallery-stat svg {
  flex-shrink: 0;
}

@media (hover: none) {
  .yt-gallery-menu-btn {
    opacity: 1;
  }

  .yt-gallery-overlay {
    opacity: 0;
  }
}

.videos-spotlight {
  margin-bottom: 12px;
}

.videos-spotlight-stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
  background: #050505;
  isolation: isolate;
}

.videos-spotlight-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition:
    opacity 0.35s ease,
    transform 0.6s ease;
}

.videos-spotlight.is-switching .videos-spotlight-bg {
  opacity: 0.35;
  transform: scale(1.08);
}

.videos-spotlight-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.92) 0%,
      rgba(5, 5, 5, 0.55) 42%,
      rgba(5, 5, 5, 0.18) 100%
    ),
    linear-gradient(0deg, rgba(5, 5, 5, 0.75) 0%, transparent 45%);
  z-index: 1;
}

.videos-spotlight-frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
}

.videos-spotlight-play {
  position: absolute;
  top: 50%;
  right: 12%;
  z-index: 3;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.videos-spotlight-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.videos-spotlight-play:hover {
  transform: translateY(-50%) scale(1.06);
  background: #f2f2f2;
}

.videos-spotlight-info {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  max-width: min(560px, 70%);
  padding: 48px 44px;
  color: #fff;
}

.videos-spotlight-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.videos-spotlight-title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.videos-spotlight-excerpt {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.videos-spotlight.is-switching .videos-spotlight-title,
.videos-spotlight.is-switching .videos-spotlight-excerpt {
  opacity: 0.35;
}

.videos-spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    gap 0.25s ease,
    transform 0.25s ease;
}

.videos-spotlight-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.videos-spotlight-cta:hover {
  gap: 12px;
  transform: translateY(-1px);
}

.videos-spotlight-cta:hover svg {
  transform: translateX(3px);
}

.videos-spotlight-filmstrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.videos-spotlight-pick {
  display: grid;
  grid-template-columns: auto 64px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.videos-spotlight-pick:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.videos-spotlight-pick.is-active {
  background: #050505;
  border-color: #050505;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.videos-spotlight-pick-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #999;
  min-width: 1.5rem;
}

.videos-spotlight-pick.is-active .videos-spotlight-pick-num {
  color: rgba(255, 255, 255, 0.55);
}

.videos-spotlight-pick-thumb {
  width: 64px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.videos-spotlight-pick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.videos-spotlight-pick-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.back-link:hover {
  color: var(--text-main);
}

.article-listing {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 24px;
  align-items: stretch;
}

.article-card-media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-media img {
  transform: scale(1.04);
}

.article-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.article-card-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.article-card-title {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}

.article-card-excerpt {
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.article-card-author {
  font-size: 13px;
  font-weight: 600;
}

/* Articles index (blog listing) */
.articles-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
}

.articles-featured-media {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #111;
}

.articles-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.articles-featured-media:hover img {
  transform: scale(1.03);
}

.articles-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.articles-featured-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.articles-featured-excerpt {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 36rem;
}

.articles-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.articles-read-more-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.articles-read-more:hover {
  text-decoration: none;
  gap: 10px;
}

.articles-read-more:hover .articles-read-more-icon {
  transform: translateX(4px);
}

.articles-block {
  margin-bottom: 56px;
}

.articles-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.articles-recent-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.articles-recent-thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  margin-bottom: 16px;
}

.articles-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.articles-recent-card:hover .articles-recent-thumb img {
  transform: scale(1.04);
}

.articles-recent-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.articles-recent-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.articles-trending {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
  padding: 36px;
  border-radius: 20px;
  background: #f7f7f7;
}

.articles-trending-intro p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 28rem;
}

.articles-trending-mark {
  width: 88px;
  height: 88px;
  margin-top: 28px;
  border-radius: 18px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.articles-trending-mark svg {
  width: 34px;
  height: 34px;
}

.articles-trending-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.articles-trending-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ececec;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.articles-trending-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.articles-trending-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: #111;
}

.articles-trending-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

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

.articles-spotlight-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  background: #fff;
  transition: transform 0.2s ease;
}

.articles-spotlight-card:hover {
  transform: translateY(-2px);
}

.articles-spotlight-card.is-dark {
  background: #050505;
  border-color: #050505;
  color: #fff;
}

.articles-spotlight-card.is-dark p,
.articles-spotlight-card.is-dark .articles-read-more {
  color: rgba(255, 255, 255, 0.72);
}

.articles-spotlight-card.is-dark .articles-read-more:hover {
  color: #fff;
}

.articles-spotlight-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.articles-spotlight-card p {
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.articles-spotlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.articles-spotlight-icon svg {
  width: 20px;
  height: 20px;
}

.articles-page-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.articles-page-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.articles-page-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.articles-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #111;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.articles-all-btn:hover {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-1px);
}

.articles-all-btn--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  margin-top: 8px;
}

.articles-all-btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.articles-featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.articles-all {
  scroll-margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.articles-all-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.articles-all-count {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

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

.articles-all-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.articles-all-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.articles-all-thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  margin-bottom: 14px;
}

.articles-all-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.articles-all-card:hover .articles-all-thumb img {
  transform: scale(1.04);
}

.articles-all-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 0 2px 4px;
}

.articles-all-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.articles-all-meta .articles-chip {
  margin-bottom: 0;
}

.articles-all-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.articles-all-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.articles-all-title a {
  color: inherit;
}

.articles-all-excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.articles-all-author {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.articles-all-body .articles-read-more {
  margin-top: 4px;
}

.article-page {
  max-width: 1100px;
}

.article-top-back {
  margin-bottom: 20px;
}

.article-cover {
  position: relative;
  margin-bottom: 48px;
  border-radius: 18px;
  overflow: hidden;
  background: #050505;
}

.article-cover-media {
  aspect-ratio: 16 / 8;
  min-height: 320px;
  background: #111;
}

.article-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-cover-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(5, 5, 5, 0.55) 28%,
    #050505 100%
  );
  color: #fff;
}

.article-cover-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.article-cover-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.article-cover-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.article-cover-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.article-cover-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  background: #000;
  color: #fff;
}

.article-cover-written {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}

.article-cover-author strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.article-story {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.article-story-meta {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-story-meta time {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

.article-story-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-story-share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.article-story-share a:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.article-story-share svg {
  width: 16px;
  height: 16px;
}

.article-story-body {
  max-width: 720px;
}

.article-lead {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: #111;
}

.article-detail-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

.article-detail-body h2 {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 800;
  margin: 2em 0 0.6em;
  scroll-margin-top: 24px;
  letter-spacing: -0.02em;
  color: #111;
  counter-increment: article-section;
}

.article-detail-body {
  counter-reset: article-section;
}

.article-detail-body h2::before {
  content: counter(article-section) ". ";
  color: #111;
}

.article-detail-body p + p {
  margin-top: 1.15em;
}

.article-latest {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

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

.article-latest-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.article-latest-thumb {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  margin-bottom: 14px;
}

.article-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-latest-card:hover .article-latest-thumb img {
  transform: scale(1.04);
}

.article-latest-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.article-latest-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.article-latest-excerpt {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-latest-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
}

.books-page-header {
  margin-bottom: 40px;
  max-width: 40rem;
}

.books-page-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.books-page-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.books-page-intro {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.books-page-intro a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.books-featured {
  margin-bottom: 56px;
}

.books-featured-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.books-featured-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.books-featured-heading {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.books-featured-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.books-featured-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.books-featured-btn svg {
  width: 18px;
  height: 18px;
}

.books-featured-btn:hover:not(:disabled) {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-1px);
}

.books-featured-btn:disabled,
.books-featured-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.books-featured-slider {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(135deg, #ebe6de 0%, #f6f3ee 48%, #e7e1d7 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.books-featured-slider .swiper-wrapper {
  align-items: stretch;
}

.books-featured-slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.books-featured-slide {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: 420px;
  padding: clamp(28px, 4vw, 48px);
}

.books-featured-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 8px;
}

.books-featured-cover {
  position: relative;
  z-index: 1;
  width: min(100%, 260px);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.24),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  transform: rotate(-2deg);
}

.books-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.books-featured-index {
  position: absolute;
  right: 0;
  bottom: -6px;
  z-index: 0;
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(0, 0, 0, 0.07);
  pointer-events: none;
  user-select: none;
}

.books-featured-copy {
  min-width: 0;
  max-width: 34rem;
}

.books-featured-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.books-featured-title {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.books-featured-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.45;
}

.books-featured-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 28px;
}

.books-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 28rem;
}

.books-featured-actions .book-btn {
  width: auto;
  min-width: 160px;
  flex: 1 1 160px;
}

.books-featured-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 24px 22px;
}

.books-featured-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
  border-radius: 999px;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.books-featured-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: #111;
}

.books-catalog {
  margin-top: 8px;
}

.books-catalog-header {
  margin-bottom: 24px;
  max-width: 36rem;
}

.books-catalog-title {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.books-catalog-intro {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.books-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.book-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 22px 24px;
  border-radius: 22px;
  background: #f4f2ee;
  border: 1px solid transparent;
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.book-tile:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.book-tile-media {
  position: relative;
  margin-bottom: 22px;
  padding: 18px 18px 8px;
}

.book-tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-tile-cover {
  position: relative;
  z-index: 1;
  width: min(78%, 220px);
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}

.book-tile:nth-child(even) .book-tile-cover {
  transform: rotate(1.5deg);
}

.book-tile:hover .book-tile-cover {
  transform: rotate(0deg) translateY(-4px);
}

.book-tile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-tile-index {
  position: absolute;
  right: 4px;
  bottom: -4px;
  z-index: 0;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(0, 0, 0, 0.06);
  pointer-events: none;
  user-select: none;
}

.book-tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.book-tile-title {
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.book-tile-author {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

.book-tile-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #555;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.book-tile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.book-btn:hover {
  transform: translateY(-1px);
}

.book-btn-primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.book-btn-primary:hover {
  background: #000;
}

.book-btn-secondary {
  background: transparent;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.22);
}

.book-btn-secondary:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.books-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.book-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.book-row-badge {
  position: absolute;
  top: 28px;
  left: -40px;
  width: 168px;
  padding: 7px 0;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-42deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 3;
  pointer-events: none;
}

.book-row-cover {
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 3 / 4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.book-row-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-row-title {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.book-row-author {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.book-row-desc {
  color: #444;
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 20px;
  max-width: 46rem;
}

.book-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book-card-cover {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
  display: block;
}

.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.book-card-cover:hover img {
  transform: scale(1.04);
}

.book-card-year {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.book-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 6px 0;
}

.book-card-title a:hover {
  text-decoration: underline;
}

.book-card-author {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.book-card-desc {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.book-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #000;
}

.book-card-link:hover {
  text-decoration: underline;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-cards {
  display: grid;
  gap: 12px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
  padding: 18px 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0a0a0a 0%, #1c1c1c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.contact-info-card--static {
  cursor: default;
}

.contact-info-card--static:hover {
  transform: none;
  box-shadow: none;
}

.contact-info-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-card .contact-label {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}

.contact-info-card strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  grid-column: 2;
}

.contact-map {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 12;
  background: #e8e8e8;
  border: 1px solid #ececec;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.contact-form-panel {
  position: relative;
  border-radius: 24px;
  padding: 32px 28px;
  background:
    radial-gradient(circle at top right, rgba(0, 0, 0, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
  border: 1px solid #ececec;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.contact-form-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form-heading {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.contact-form-lead {
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--text-main);
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.contact-submit {
  align-self: flex-start;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 14px 26px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.contact-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.contact-form-success,
.contact-form-error {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-form-success {
  background: #e8f6ec;
  color: #14532d;
}

.contact-form-error {
  background: #fdecec;
  color: #7f1d1d;
}

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

/* Our blogs hub + category listing */
.blogs-hub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.blogs-hub-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

.blogs-category-intro {
  margin: 10px 0 0;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.5;
}

.blogs-search {
  position: relative;
  flex: 0 1 280px;
  min-width: 200px;
}

.blogs-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.blogs-search input {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  font: inherit;
  background: #fff;
  color: var(--text-main);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.blogs-search input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.blogs-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
  gap: 0;
  margin-bottom: 36px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #111;
  color: #fff;
}

.blogs-featured-copy {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blogs-featured-copy .articles-chip {
  color: rgba(255, 255, 255, 0.55);
}

.blogs-featured-title {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.blogs-featured-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blogs-featured-excerpt {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 34rem;
}

.blogs-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blogs-featured-meta strong {
  display: block;
  font-size: 0.92rem;
}

.blogs-featured-meta time,
.blogs-featured-meta span:not(.article-cover-avatar) {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.blogs-cat-featured .blogs-featured-meta strong {
  color: var(--text-main);
}

.blogs-cat-featured .blogs-featured-meta time,
.blogs-cat-featured .blogs-featured-meta span:not(.article-cover-avatar) {
  color: var(--text-muted);
}

.blogs-cat-featured .article-cover-avatar {
  background: #111;
  color: #fff;
}

.blogs-featured-media {
  display: block;
  min-height: 280px;
  background: #f0f0f0;
}

.blogs-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blogs-featured-media:hover img {
  transform: scale(1.03);
}

.blogs-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 0;
  margin-bottom: 56px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blogs-newsletter-main {
  padding: clamp(28px, 3.5vw, 40px);
  background: #111;
  color: #fff;
}

.blogs-newsletter-aside {
  padding: clamp(28px, 3.5vw, 40px);
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.blogs-newsletter-aside-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.blogs-newsletter-aside h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.blogs-newsletter-aside p {
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 6px;
}

.blogs-newsletter-title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.blogs-newsletter-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 32rem;
}

.blogs-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 420px;
}

.blogs-newsletter-form input {
  flex: 1 1 200px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.blogs-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.blogs-newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.blogs-newsletter-submit {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 700;
  padding: 13px 22px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.blogs-newsletter-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.blogs-newsletter--dark {
  background: #0a0a0a;
  border: 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.85fr);
  align-items: stretch;
}

.blogs-newsletter--dark .blogs-newsletter-main {
  background: transparent;
}

.blogs-newsletter-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(145deg, #1a1a1a, #050505);
  min-height: 200px;
}

.blogs-newsletter-mark {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.12);
}

.blogs-category-block {
  margin-bottom: 48px;
}

.blogs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blogs-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.blogs-card-thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  margin-bottom: 14px;
}

.blogs-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blogs-card:hover .blogs-card-thumb img {
  transform: scale(1.04);
}

.blogs-card-date {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blogs-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.blogs-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.blogs-recent {
  margin-bottom: 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blogs-recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blogs-recent-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease;
}

.blogs-recent-item:hover {
  background: #fafafa;
}

.blogs-recent-thumb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.blogs-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blogs-recent-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.blogs-recent-excerpt {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogs-recent-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}

.blogs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.blogs-breadcrumb a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blogs-cat-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.blogs-cat-featured-media {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
}

.blogs-cat-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blogs-cat-featured-media:hover img {
  transform: scale(1.03);
}

.blogs-cat-featured-copy time {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blogs-cat-featured-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.blogs-cat-featured-copy p {
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 36rem;
}

.blogs-latest {
  margin-bottom: 56px;
}

.blogs-latest-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.blogs-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blogs-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.blogs-filter-pill:hover {
  border-color: #111;
  color: #111;
}

.blogs-filter-pill.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.blogs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.blogs-pagination a {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.blogs-pagination a:hover {
  background: #f3f3f3;
  color: #111;
}

.blogs-pagination a.is-active {
  background: #111;
  color: #fff;
}

.blogs-explore {
  margin: 0 -8px 48px;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background: #f3f3f3;
  text-align: center;
}

.blogs-explore-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.blogs-explore-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.blogs-explore-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.blogs-explore-tag:hover {
  transform: translateY(-1px);
  border-color: #111;
}

.blogs-explore-tag.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.blogs-empty {
  color: var(--text-muted);
  padding: 24px 0 40px;
}
