.blog-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 12%, rgba(200, 50, 28, .14), transparent 34%),
    radial-gradient(circle at 12% 44%, rgba(191, 154, 82, .08), transparent 30%),
    var(--bg);
}

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

.blog-hub {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 140px 0 7rem;
}

.blog-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, .24), rgba(10, 9, 8, .84)),
    radial-gradient(ellipse 60% 42% at 76% 28%, rgba(200, 50, 28, .11), transparent 68%);
}

.blog-hub .container {
  position: relative;
  z-index: 2;
}

.bh-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(1.4rem, 4vw, 4rem);
  margin-bottom: 2rem;
}

.bh-heading .section-label {
  margin-bottom: 1rem;
}

.bh-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-d);
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: 0;
}

.bh-heading p {
  max-width: 640px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.75;
}

.bh-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  min-height: 58px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(10, 9, 8, .72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.bh-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  padding: 0 1.15rem;
  font: inherit;
}

.bh-search input::placeholder {
  color: var(--dim);
}

.bh-search button {
  border: 0;
  border-left: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: none;
  font-size: 1.25rem;
  transition: color .2s, background .2s;
}

.bh-search button:hover {
  color: var(--white);
  background: rgba(200, 50, 28, .12);
}

.bh-tabs {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-bottom: 2.1rem;
}

.bh-filter {
  min-height: 36px;
  padding: .45rem .95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: none;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.bh-filter:hover,
.bh-filter.active {
  border-color: rgba(232, 71, 46, .62);
  background: rgba(200, 50, 28, .12);
  color: var(--white);
  transform: translateY(-1px);
}

.bh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: start;
}

.bh-feed-wrap {
  min-width: 0;
}

.feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.1vw, 1.75rem);
}

.cardX {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .016)),
    rgba(12, 10, 9, .82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .26);
  transition: border-color .25s, transform .25s, background .25s;
}

.cardX:hover {
  border-color: rgba(232, 71, 46, .42);
  background:
    linear-gradient(155deg, rgba(200, 50, 28, .08), rgba(255, 255, 255, .018)),
    rgba(12, 10, 9, .88);
  transform: translateY(-5px);
}

.cardX[hidden] {
  display: none;
}

.cardX-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #080706;
}

.cardX-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .58)),
    radial-gradient(circle at 80% 12%, rgba(232, 71, 46, .14), transparent 34%);
  pointer-events: none;
}

.cardX-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.84) contrast(1.08) brightness(.86);
  transition: transform .35s, filter .35s;
}

.cardX:hover .cardX-img img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08) brightness(.94);
}

.cardX-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.cardX-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  margin-bottom: .8rem;
  color: var(--red2);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cardX-meta time {
  color: var(--dim);
  white-space: nowrap;
}

.cardX-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.cardX-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.cardX-title a:hover {
  color: var(--gold);
}

.cardX-excerpt {
  margin: .9rem 0 1.2rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.72;
}

.btn-pill {
  width: fit-content;
  margin-top: auto;
  padding: .58rem .98rem;
  border: 1px solid rgba(232, 71, 46, .42);
  border-radius: 999px;
  color: var(--red2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .66rem;
  font-weight: 800;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.btn-pill:hover {
  border-color: var(--red2);
  background: rgba(200, 50, 28, .12);
  color: var(--white);
  transform: translateY(-1px);
}

.trend-panel {
  position: sticky;
  top: 106px;
  padding: 1.35rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .014)),
    rgba(10, 9, 8, .82);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.trend-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.35rem;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--red2), transparent);
}

.trend-panel h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
}

.trend-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trend-item a {
  display: grid;
  grid-template-columns: 26px 58px minmax(0, 1fr);
  gap: .78rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.trend-num {
  color: var(--red2);
  font-family: var(--font-b);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.trend-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: saturate(.82) contrast(1.08);
}

.trend-title {
  display: block;
  color: var(--white);
  font-size: .79rem;
  line-height: 1.35;
  transition: color .2s;
}

.trend-meta {
  display: block;
  margin-top: .28rem;
  color: var(--dim);
  font-size: .58rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.trend-item a:hover .trend-title {
  color: var(--gold);
}

.blog-empty {
  margin: 0;
  padding: 3rem 1.5rem;
  border: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

.fy-load {
  display: flex;
  justify-content: center;
  margin-top: 2.7rem;
}

.fy-btn {
  min-height: 52px;
  min-width: 190px;
  padding: .95rem 2.2rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(200, 50, 28, .82), rgba(232, 71, 46, .95)),
    var(--red);
  color: #fff;
  box-shadow: 0 0 36px var(--red-glow);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: none;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.fy-btn:hover {
  border-color: var(--red2);
  background:
    linear-gradient(135deg, rgba(232, 71, 46, .95), rgba(200, 50, 28, .86)),
    var(--red2);
  color: #fff;
  transform: translateY(-2px);
}

.fy-btn[hidden] {
  display: none;
}

@media (max-width: 1040px) {
  .blog-hub {
    padding-top: 126px;
  }

  .bh-head {
    grid-template-columns: 1fr;
  }

  .bh-search {
    max-width: 720px;
  }

  .bh-tabs,
  .trend-panel {
    display: none;
  }

  .bh-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .blog-hub {
    padding: 112px 0 5rem;
  }

  .bh-title {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

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

  .cardX-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: .38rem;
  }
}

@media (max-width: 640px) {
  .bh-search button,
  .bh-filter,
  .fy-btn {
    cursor: pointer;
  }
}
