.blog-main,
.single-main,
.archive-main,
.page-main {
  background: radial-gradient(circle at 18% 8%, rgba(255,204,50,.13), transparent 28%), radial-gradient(circle at 82% 18%, rgba(221,31,43,.14), transparent 26%), #050505;
}
.blog-hero {
  padding: 78px 0 44px;
  text-align: center;
}
.blog-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.blog-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
}
.blog-search {
  width: min(780px, 100%);
  margin: 28px auto 0;
}
.blog-search-box {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px 7px 20px;
  border: 1px solid rgba(255,204,50,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 26px 60px rgba(0,0,0,.24), 0 12px 34px rgba(221,31,43,.12);
}
.blog-search-box svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke: #dd1f2b;
  fill: none;
  stroke-width: 2;
}
.blog-search-box input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-weight: 850;
}
.blog-search-box button {
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #111 0%, #dd1f2b 52%, #ffcc32 100%);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}
.blog-category-filter-wrap {
  position: relative;
  width: min(960px, 100%);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.blog-category-filter {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px;
  scrollbar-width: thin;
}
.blog-category-filter a {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255,204,50,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 900;
}
.blog-category-filter a:hover,
.blog-category-filter a.is-active {
  color: #120d00;
  background: var(--cyan);
}
.category-filter-count {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  text-align: center;
}
.category-scroll-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,204,50,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--cyan);
  font-size: 24px;
  cursor: pointer;
}
.category-scroll-button:disabled {
  opacity: .35;
  cursor: default;
}
.blog-list-section {
  padding: 36px 0 86px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,204,50,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
  box-shadow: 0 22px 62px rgba(0,0,0,.22);
}
.post-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}
.post-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}
.post-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.post-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}
.post-card__details span {
  position: relative;
}
.post-card__details span + span::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,204,50,.68);
  transform: translateY(-50%);
}
.blog-category {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(255,204,50,.24);
  border-radius: 999px;
  background: rgba(255,204,50,.1);
  color: var(--gold, #ffcc32);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.post-card h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
}
.post-card .read-more {
  width: max-content;
  margin-top: auto;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,204,50,.2);
  border-radius: 10px;
  color: #fff;
  font-weight: 900;
}
.pagination .current,
.pagination .page-numbers:hover {
  color: #120d00;
  background: var(--cyan);
}
.single-article {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 92px;
}
.single-hero,
.single-article__header {
  margin-bottom: 28px;
  text-align: center;
}
.single-hero h1 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 900;
}
.single-featured {
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid rgba(255,204,50,.18);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.single-featured img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-content,
.single-article__content {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
}
.single-content p,
.single-content li,
.single-article__content p,
.single-article__content li {
  color: var(--muted);
  line-height: 1.84;
}
.single-content h2,
.single-content h3,
.single-content h4 {
  margin-top: 1.45em;
  color: #fff;
}
.single-content a {
  color: var(--cyan);
  font-weight: 800;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 920px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .blog-hero {
    padding: 54px 0 30px;
  }
  .blog-search-box {
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 10px;
  }
  .blog-search-box svg {
    display: none;
  }
  .blog-search-box input {
    text-align: center;
  }
  .blog-search-box button,
  .blog-grid,
  .post-card .read-more {
    width: 100%;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-category-filter-wrap {
    grid-template-columns: 1fr;
  }
  .category-scroll-button {
    display: none;
  }
}
