/* Home shell */
.blog-homepage {
  overflow-x: hidden;
  background:
    radial-gradient(1100px 500px at 10% -5%, rgba(212, 175, 55, 0.1), transparent 62%),
    radial-gradient(900px 420px at 95% 10%, rgba(212, 175, 55, 0.05), transparent 60%),
    linear-gradient(180deg, #07090d 0%, #0d1016 38%, #090b10 100%);
}

.blog-homepage .blog-wrap,
.blog-homepage .blog-header-container {
  width: min(1280px, 94vw);
}

.blog-homepage .card {
  border-radius: 24px;
}

.blog-homepage .blog-header-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #f3f5f8;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.98), rgba(7, 10, 14, 0.96));
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.blog-homepage .blog-mobile-menu-label,
.blog-homepage .blog-section-kicker,
.blog-homepage .blog-section-note,
.blog-homepage .story-meta,
.blog-homepage .blog-muted,
.blog-homepage .blog-footer-bottom,
.blog-homepage .blog-footer-links a {
  font-family: var(--blog-font-sans);
}

.blog-homepage .blog-footer-links a:hover {
  color: #fff;
}

.blog-homepage .blog-navbar {
  position: relative;
  padding: 14px 0 10px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-homepage .blog-nav-flex {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 16px;
  align-items: center;
  min-height: 56px;
}

.blog-homepage .blog-brand-lockup {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: none;
  color: #f3f5f8;
  text-decoration: none;
  text-align: center;
}

.blog-homepage .blog-logo-brand {
  color: #f3f5f8;
  font-size: clamp(1.2rem, 1.45vw, 1.58rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-homepage .blog-logo-brand span {
  color: #b98f18;
}

.blog-homepage .blog-nav-icon-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #f3f5f8;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.blog-homepage #blogSearchToggle {
  justify-self: end;
}

.blog-homepage .blog-nav-icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 213, 79, 0.46);
  background: rgba(212, 175, 55, 0.12);
}

.blog-homepage .blog-nav-icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.blog-homepage .blog-mobile-menu,
.blog-homepage .blog-search-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  padding: 0;
  z-index: 25;
}

.blog-homepage .blog-mobile-menu {
  display: grid;
  gap: 0;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.blog-homepage .blog-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.blog-homepage .blog-mobile-menu-group,
.blog-homepage .blog-search-form {
  width: min(520px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: linear-gradient(160deg, rgba(14, 18, 26, 0.98), rgba(9, 12, 18, 0.96));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.blog-homepage .blog-mobile-menu-group {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.blog-homepage .blog-mobile-menu-label {
  margin: 0 0 4px;
  color: rgba(255, 213, 79, 0.92);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.blog-homepage .blog-mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: rgba(241, 245, 249, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.03);
}

.blog-homepage .blog-mobile-menu a:hover {
  background: rgba(212, 175, 55, 0.12);
}

.blog-homepage .blog-search-panel[hidden] {
  display: none;
}

.blog-homepage .blog-search-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin-left: auto;
}

.blog-homepage .blog-search-label {
  margin: 0;
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.blog-homepage .blog-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.blog-homepage .blog-search-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f3f5f8;
  font: inherit;
  font-size: 0.96rem;
}

.blog-homepage .blog-search-input-wrap input::placeholder {
  color: rgba(226, 232, 240, 0.54);
}

.blog-homepage .blog-search-input-wrap input:focus {
  outline: none;
}

.blog-homepage .blog-search-clear {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  color: #fff4c7;
  font-family: var(--blog-font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.blog-homepage .blog-search-clear:disabled {
  opacity: 0.45;
  cursor: default;
}

.blog-homepage .blog-btn-nav,
.blog-homepage .blog-btn-emphasis,
.blog-homepage .blog-btn-secondary,
.blog-homepage .sidebar-tag,
.blog-homepage .blog-category-chip,
.blog-homepage .tag-filter-btn {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.blog-homepage .blog-btn-nav {
  border-color: rgba(212, 175, 55, 0.34);
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 24, 31, 0.8), rgba(8, 11, 16, 0.92));
}

.blog-homepage .blog-btn-nav:hover,
.blog-homepage .blog-btn-emphasis:hover,
.blog-homepage .blog-btn-secondary:hover,
.blog-homepage .blog-category-chip:hover,
.blog-homepage .tag-filter-btn:hover,
.blog-homepage .sidebar-tag:hover,
.blog-homepage .blog-search-clear:hover {
  transform: translateY(-1px);
}

.blog-homepage .blog-topic-shell {
  padding: 10px 0 14px;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.96), rgba(7, 10, 14, 0.82));
}

.blog-homepage .blog-topic-shell .blog-category-chip {
  border-color: rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(241, 245, 249, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog-homepage .blog-topic-shell .blog-category-chip.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(255, 213, 79, 0.52);
  color: #fff;
}

.blog-homepage .blog-category-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.blog-homepage .blog-category-nav::-webkit-scrollbar,
.blog-homepage .tag-filter::-webkit-scrollbar {
  display: none;
}

.blog-homepage .blog-category-chip,
.blog-homepage .tag-filter-btn,
.blog-homepage .sidebar-tag {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 19, 26, 0.1);
  background: rgba(255, 255, 255, 0.76);
  color: #17202c;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--blog-font-sans);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  scroll-snap-align: start;
}

.blog-homepage .blog-category-chip {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-homepage .blog-category-chip.active,
.blog-homepage .tag-filter-btn.active,
.blog-homepage .sidebar-tag.active {
  background: #11151c;
  border-color: rgba(255, 213, 79, 0.58);
  color: #fff;
}

.blog-homepage .blog-category-chip--placeholder,
.blog-homepage .sidebar-tag--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.56;
  pointer-events: none;
}

.blog-homepage .blog-category-chip:focus-visible,
.blog-homepage .tag-filter-btn:focus-visible,
.blog-homepage .sidebar-tag:focus-visible,
.blog-homepage .blog-btn-emphasis:focus-visible,
.blog-homepage .blog-btn-secondary:focus-visible,
.blog-homepage .blog-btn-nav:focus-visible {
  outline: 2px solid rgba(255, 213, 79, 0.9);
  outline-offset: 2px;
}

/* Featured lead */
.blog-homepage .blog-home-lead {
  padding: 24px 0 10px;
}

.blog-homepage .blog-btn-emphasis,
.blog-homepage .blog-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.blog-homepage .blog-btn-emphasis {
  background: linear-gradient(180deg, #f6d974 0%, #d6aa2c 100%);
  color: #11151c;
}

.blog-homepage .blog-btn-secondary,
.blog-homepage .blog-btn-secondary--full {
  border: 1px solid rgba(212, 175, 55, 0.26);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.blog-homepage .blog-btn-secondary--full {
  width: 100%;
}

.blog-homepage .blog-featured-grid,
.blog-homepage .blog-editorial-section,
.blog-homepage .blog-list-panel,
.blog-homepage .sidebar-panel,
.blog-homepage .blog-platform-panel,
.blog-homepage .sponsor-panel {
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: linear-gradient(160deg, rgba(12, 16, 23, 0.97), rgba(9, 12, 18, 0.94));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.26);
}

.blog-homepage .blog-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.blog-homepage .blog-section-head h2,
.blog-homepage .feature-story h3,
.blog-homepage .editor-pick-copy h3,
.blog-homepage .sidebar-story-copy h3,
.blog-homepage .blog-card-content h3,
.blog-homepage .blog-home-footer h2 {
  font-family: var(--blog-font-display);
  letter-spacing: -0.03em;
}

.blog-homepage .blog-section-head h2 {
  margin: 0;
  color: #fff8e0;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.blog-homepage .blog-section-kicker {
  margin: 0 0 6px;
  color: rgba(255, 213, 79, 0.9);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.blog-homepage .blog-section-note {
  max-width: 42ch;
  margin: 0;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-homepage .blog-featured-grid {
  padding: 24px;
}

.blog-homepage .blog-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  gap: 18px;
}

.blog-homepage .blog-featured-secondary {
  display: grid;
  gap: 12px;
}

.blog-homepage .feature-story,
.blog-homepage .editor-pick-card,
.blog-homepage .sidebar-story,
.blog-homepage .blog-card {
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.blog-homepage .feature-story-link,
.blog-homepage .editor-pick-link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-homepage .feature-story--primary {
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.blog-homepage .feature-story-media,
.blog-homepage .editor-pick-media,
.blog-homepage .blog-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f131a;
}

.blog-homepage .feature-story-media img,
.blog-homepage .editor-pick-media img,
.blog-homepage .sidebar-story-image,
.blog-homepage .blog-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.blog-homepage .feature-story-overlay {
  display: grid;
  gap: 12px;
  padding: 22px 22px 20px;
  align-content: start;
}

.blog-homepage .feature-story h3,
.blog-homepage .feature-story-copy h3,
.blog-homepage .editor-pick-copy h3,
.blog-homepage .sidebar-story-copy h3,
.blog-homepage .blog-card-content h3 {
  margin: 0;
  color: #fff;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-homepage .feature-story--primary h3 {
  font-size: clamp(1.42rem, 1.95vw, 2.05rem);
  line-height: 1.08;
  -webkit-line-clamp: 3;
}

.blog-homepage .feature-story-excerpt,
.blog-homepage .editor-pick-copy p,
.blog-homepage .blog-card-excerpt,
.blog-homepage .feature-story--secondary p {
  margin: 0;
  color: rgba(226, 232, 240, 0.84);
  line-height: 1.58;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-homepage .feature-story-excerpt {
  font-size: 0.96rem;
  -webkit-line-clamp: 3;
}

.blog-homepage .feature-story--secondary {
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.blog-homepage .feature-story-copy,
.blog-homepage .editor-pick-copy {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
}

.blog-homepage .feature-story--secondary h3,
.blog-homepage .editor-pick-copy h3,
.blog-homepage .blog-card-content h3 {
  -webkit-line-clamp: 3;
}

.blog-homepage .feature-story--secondary p,
.blog-homepage .editor-pick-copy p,
.blog-homepage .blog-card-excerpt {
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
}

/* Market strip */
.blog-homepage .blog-market-band {
  padding: 10px 0 18px;
}

.blog-homepage .blog-market-shell {
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 22px;
  background: rgba(9, 12, 18, 0.94);
  padding: 18px 20px;
}

.blog-homepage .blog-market-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.blog-homepage .ticker-strip-shell {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 22, 31, 0.92), rgba(10, 13, 19, 0.92));
  overflow: hidden;
}

.blog-homepage .ticker-strip,
.blog-homepage .tradingview-widget-container {
  min-height: 42px;
}

/* Main content */
.blog-homepage .blog-home-main {
  gap: 22px;
  padding-bottom: 26px;
}

.blog-homepage .blog-editorial-section,
.blog-homepage .blog-list-panel,
.blog-homepage .sidebar-panel,
.blog-homepage .blog-platform-panel,
.blog-homepage .sponsor-panel {
  padding: 24px;
}

.blog-homepage .blog-editors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blog-homepage .editor-pick-card {
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.blog-homepage .editor-pick-media {
  aspect-ratio: 16 / 10;
}

.blog-homepage .editor-pick-media--placeholder,
.blog-homepage .feature-story-media--placeholder {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.03));
}

.blog-homepage .blog-home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.blog-homepage .blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-homepage .tag-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: 0 0 18px;
}

.blog-homepage .tag-filter-btn {
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-homepage .blog-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.blog-homepage .blog-card-media {
  min-height: 0;
}

.blog-homepage .blog-card-content {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: transparent;
}

.blog-homepage .blog-card-content h3 {
  font-size: clamp(1.06rem, 1.28vw, 1.28rem);
  line-height: 1.14;
}

.blog-homepage .blog-card-excerpt {
  font-size: 0.9rem;
}

.blog-homepage .blog-sidebar {
  display: grid;
  gap: 18px;
}

.blog-homepage .sidebar-story-list {
  display: grid;
  gap: 12px;
}

.blog-homepage .sidebar-story {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.blog-homepage .sidebar-story-image {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.blog-homepage .sidebar-story-copy {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.blog-homepage .sidebar-story-copy h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.14;
  color: #fff;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-homepage .sidebar-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-homepage .sidebar-tag {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-homepage .story-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.71rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-homepage .story-meta__kicker {
  color: #ffd54f;
}

.blog-homepage .story-meta__divider::before {
  content: "/";
  color: rgba(226, 232, 240, 0.38);
}

.blog-homepage .feature-story:hover img,
.blog-homepage .editor-pick-card:hover img,
.blog-homepage .sidebar-story:hover img,
.blog-homepage .blog-card:hover img {
  transform: scale(1.02);
}

/* Footer */
.blog-homepage .blog-home-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.4), rgba(5, 7, 10, 0.94));
  padding: 26px 0 30px;
}

.blog-homepage .blog-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 22px;
}

.blog-homepage .blog-footer-column {
  display: grid;
  gap: 10px;
}

.blog-homepage .blog-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.blog-homepage .blog-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: #f7d97a;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.blog-homepage .blog-social-link:hover,
.blog-homepage .blog-social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 213, 79, 0.56);
  background: rgba(212, 175, 55, 0.14);
  color: #fff7d2;
}

.blog-homepage .blog-social-link:focus-visible {
  outline: 2px solid rgba(255, 213, 79, 0.9);
  outline-offset: 2px;
}

.blog-homepage .blog-social-link svg {
  width: 18px;
  height: 18px;
}

.blog-homepage .blog-home-footer h2 {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
}

.blog-homepage .blog-footer-links {
  display: grid;
  gap: 10px;
}

.blog-homepage .blog-footer-links a {
  color: rgba(226, 232, 240, 0.78);
  text-decoration: none;
  font-size: 0.94rem;
}

.blog-homepage .blog-footer-bottom {
  width: min(1280px, 94vw);
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 1180px) {
  .blog-homepage .blog-home-content-grid,
  .blog-homepage .blog-footer-grid,
  .blog-homepage .blog-editors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-homepage .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-homepage .blog-mobile-menu-group,
  .blog-homepage .blog-search-form {
    width: min(460px, 100%);
  }

  .blog-homepage .blog-featured-layout {
    grid-template-columns: 1fr;
  }

  .blog-homepage .blog-featured-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .blog-homepage .blog-topic-shell {
    padding-bottom: 10px;
  }

  .blog-homepage .blog-home-content-grid,
  .blog-homepage .blog-footer-grid,
  .blog-homepage .blog-editors-grid,
  .blog-homepage .blog-featured-secondary {
    grid-template-columns: 1fr;
  }

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

  .blog-homepage .blog-card-media,
  .blog-homepage .editor-pick-media,
  .blog-homepage .feature-story-media,
  .blog-homepage .sidebar-story-image {
    aspect-ratio: 16 / 10;
  }

  .blog-homepage .blog-mobile-menu-group,
  .blog-homepage .blog-search-form {
    width: 100%;
  }

  .blog-homepage .feature-story-overlay,
  .blog-homepage .feature-story-copy,
  .blog-homepage .editor-pick-copy,
  .blog-homepage .blog-card-content,
  .blog-homepage .sidebar-story-copy {
    gap: 8px;
  }

  .blog-homepage .blog-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .blog-homepage .blog-wrap,
  .blog-homepage .blog-header-container,
  .blog-homepage .blog-footer-bottom {
    width: min(1280px, 92vw);
  }

  .blog-homepage .blog-navbar {
    padding: 12px 0 10px;
  }

  .blog-homepage .blog-home-lead {
    padding-top: 18px;
  }

  .blog-homepage .blog-nav-flex {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 12px;
    min-height: 48px;
  }

  .blog-homepage .blog-nav-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .blog-homepage .blog-logo-brand {
    font-size: 1.08rem;
    letter-spacing: 0.16em;
  }

  .blog-homepage .blog-search-form,
  .blog-homepage .blog-mobile-menu-group {
    border-radius: 18px;
    padding: 16px;
  }

  .blog-homepage .blog-search-input-wrap {
    padding: 8px 8px 8px 10px;
    border-radius: 16px;
  }

  .blog-homepage .blog-search-clear {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.68rem;
  }

  .blog-homepage .blog-section-note {
    font-size: 0.86rem;
  }

  .blog-homepage .blog-section-head h2 {
    font-size: 1.14rem;
    line-height: 1.08;
  }

  .blog-homepage #blogFeaturedTitle {
    font-size: 1.02rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .blog-homepage .blog-featured-grid,
  .blog-homepage .blog-editorial-section,
  .blog-homepage .blog-list-panel,
  .blog-homepage .sidebar-panel,
  .blog-homepage .blog-platform-panel,
  .blog-homepage .sponsor-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .blog-homepage .feature-story-overlay {
    padding: 18px;
  }

  .blog-homepage .feature-story--primary h3 {
    font-size: 1.28rem;
    line-height: 1.1;
  }

  .blog-homepage .blog-market-copy,
  .blog-homepage .blog-section-head {
    align-items: flex-start;
  }

  .blog-homepage .blog-btn-secondary--full {
    width: 100%;
  }

  .blog-homepage .blog-btn-emphasis,
  .blog-homepage .blog-btn-secondary {
    min-height: 40px;
    font-size: 0.78rem;
  }

  .blog-homepage .blog-category-nav {
    gap: 8px;
  }

  .blog-homepage .blog-category-chip,
  .blog-homepage .tag-filter-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .blog-homepage .blog-footer-links a {
    font-size: 0.9rem;
  }

  .blog-homepage .blog-social-link {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .blog-homepage .blog-section-kicker,
  .blog-homepage .blog-mobile-menu-label,
  .blog-homepage .blog-search-label,
  .blog-homepage .story-meta {
    font-size: 0.68rem;
  }

  .blog-homepage .blog-logo-brand {
    font-size: 1rem;
    letter-spacing: 0.14em;
  }

  .blog-homepage .blog-section-head h2 {
    font-size: 1.06rem;
  }

  .blog-homepage #blogFeaturedTitle {
    font-size: 0.96rem;
  }

  .blog-homepage .feature-story--primary h3 {
    font-size: 1.16rem;
  }

  .blog-homepage .blog-nav-flex {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .blog-homepage .blog-nav-icon-btn {
    width: 40px;
    height: 40px;
  }

  .blog-homepage .blog-search-input-wrap {
    gap: 8px;
  }

  .blog-homepage .blog-search-input-wrap input {
    font-size: 0.9rem;
  }

  .blog-homepage .blog-search-clear {
    padding: 0 10px;
  }

  .blog-homepage .blog-card-content {
    padding: 16px;
  }

  .blog-homepage .blog-card-content h3 {
    font-size: 1.02rem;
    line-height: 1.08;
  }

  .blog-homepage .blog-card-excerpt,
  .blog-homepage .feature-story-excerpt,
  .blog-homepage .editor-pick-copy p,
  .blog-homepage .feature-story--secondary p {
    font-size: 0.9rem;
  }
}
