/* BetPro — Blog + Support + Footer (split from 04-sections.css) */

.s-blog .l-base {
  position: absolute;
  inset: 0;
  background: hsl(222 24% 6%);
}

.s-blog .l-grid {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.s-blog .l-bloom1 {
  position: absolute;
  top: -4rem;
  left: -4rem;
  width: 500px;
  height: 400px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.05);
  filter: blur(130px);
  pointer-events: none;
}

.s-blog .l-bloom2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 300px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.025);
  filter: blur(100px);
  pointer-events: none;
}

.s-blog .l-topfade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background: linear-gradient(to bottom, hsl(222 22% 7%), transparent);
}

.s-blog .l-botfade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background: linear-gradient(to top, hsl(222 24% 5%), transparent);
}

.blog-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.blog-head.has-viewall {
  align-items: flex-start;
  text-align: left;
}

.blog-head > div {
  display: flex;
  flex-direction: column;
  align-items: inherit;
}

.blog-head .sec-title,
.blog-head p {
  margin-inline: auto;
}

.blog-head.has-viewall .sec-title,
.blog-head.has-viewall p {
  margin-inline: 0;
}

.blog-head h2 {
  margin-top: 0.5rem;
  letter-spacing: -0.02em;
}

.blog-viewall {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  transition: color 0.2s ease;
}

.blog-viewall:hover {
  color: hsl(var(--primary));
}

.blog-viewall .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.blog-viewall:hover .icon {
  transform: translateX(4px);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.blog-card {
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: hsl(222 22% 8%);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.blog-card .shimmer {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.blog-card .cover {
  width: 100%;
  height: 13rem;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.03),
    hsl(222 24% 7%),
    hsl(222 24% 7%)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.blog-card .cover .ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  pointer-events: none;
}

.blog-card .cover .ghost span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.04);
}

.blog-card .cover .iglow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255, 255, 255, 0.02), transparent);
}

.blog-card .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.blog-card .cat {
  font-size: 11px;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: hsl(var(--foreground) / 0.86);
}

.blog-card .metainfo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  color: hsl(var(--foreground) / 0.78);
}

.blog-card .metainfo .rt {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card .metainfo .icon {
  width: 0.75rem;
  height: 0.75rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.375;
  transition: color 0.2s ease;
}

.blog-card:hover h3 {
  color: hsl(var(--primary));
}

.blog-card .excerpt {
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.blog-card .read {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--primary));
  font-weight: 600;
}

.blog-card .read .icon {
  transition: transform 0.2s ease;
}

.blog-card:hover .read .icon {
  transform: translateX(4px);
}

.blog-featured .body {
  padding: 1.75rem;
}

.blog-featured h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-featured .excerpt {
  font-size: 14px;
  margin-bottom: 1.25rem;
}

.blog-featured .read {
  font-size: 13px;
}

.blog-featured .read .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.blog-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-small {
  flex: 1;
}

.blog-small .body {
  padding: 1.5rem;
}

.blog-small .meta {
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.blog-small .metainfo {
  gap: 0.375rem;
  font-size: 11px;
}

.blog-small h3 {
  font-size: 15px;
  margin-bottom: 0.5rem;
}

.blog-small .excerpt {
  font-size: 13px;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-small .read {
  font-size: 12px;
}

.blog-small .read .icon {
  width: 0.75rem;
  height: 0.75rem;
}

@media (min-width: 768px) {
  .blog-viewall {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .blog-featured {
    grid-column: span 3;
  }
  .blog-stack {
    grid-column: span 2;
  }
}

