body.freetime-blog-view,
body.freetime-blog-article-view {
  background:
    radial-gradient(820px 420px at 14% -10%, rgba(23, 218, 105, 0.14), transparent 60%),
    radial-gradient(920px 520px at 88% 0%, rgba(23, 218, 105, 0.08), transparent 58%),
    #050608;
}

body.freetime-blog-view .lp-main,
body.freetime-blog-article-view .lp-main {
  padding-top: calc(var(--lp-header-height) + var(--lp-header-offset) + 40px);
}

.tp-blog-shell,
.tp-blog-article-shell {
  padding-bottom: 72px;
}

.tp-blog-hero,
.tp-blog-featured-card,
.tp-blog-list-card,
.tp-article-hero,
.tp-article-content,
.tp-article-side {
  position: relative;
  overflow: hidden;
}

.tp-blog-hero::before,
.tp-blog-featured-card::before,
.tp-blog-list-card::before,
.tp-article-hero::before,
.tp-article-content::before,
.tp-article-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(23, 218, 105, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
  pointer-events: none;
}

.tp-blog-hero-grid,
.tp-blog-featured,
.tp-article-layout {
  display: grid;
  gap: 22px;
}

.tp-blog-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
}

.tp-blog-copy p,
.tp-blog-side p,
.tp-blog-card p,
.tp-blog-featured p,
.tp-article-lead,
.tp-article-outline-item span {
  color: #a9b3b7;
  line-height: 1.8;
}

.tp-blog-chips,
.tp-blog-actions,
.tp-article-meta,
.tp-article-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tp-blog-chip,
.tp-blog-meta span,
.tp-article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 218, 105, 0.18);
  background: rgba(23, 218, 105, 0.08);
  color: #eafff3;
  font-size: 0.82rem;
  font-weight: 700;
}

.tp-blog-side,
.tp-article-side {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.tp-blog-side strong,
.tp-article-outline-item strong {
  color: #f5f7f8;
  font-size: 1.08rem;
}

.tp-blog-featured {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.tp-blog-featured-copy,
.tp-blog-card-copy {
  position: relative;
  z-index: 1;
}

.tp-blog-featured-copy h3,
.tp-blog-card h3 {
  margin: 12px 0 14px;
  color: #f5f7f8;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.tp-blog-featured-copy h3 {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
}

.tp-blog-card h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
}

.tp-blog-featured-copy h3 a,
.tp-blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tp-blog-featured-media,
.tp-blog-card-media,
.tp-article-cover {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.tp-blog-featured-media img,
.tp-blog-card-media img,
.tp-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-blog-featured-media {
  min-height: 320px;
}

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

.tp-blog-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.tp-blog-card-media {
  aspect-ratio: 16 / 10;
}

.tp-blog-empty {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.tp-article-hero {
  display: grid;
  gap: 18px;
}

.tp-article-meta span {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.tp-article-lead {
  margin: 0;
  font-size: 1.08rem;
  max-width: 72ch;
}

.tp-article-cover {
  max-height: 560px;
}

.tp-article-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  align-items: start;
}

.tp-article-content .tp-page-prose {
  position: relative;
  z-index: 1;
}

.tp-article-content .tp-page-prose h2 {
  font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.tp-article-content .tp-page-prose blockquote {
  margin: 1.8rem 0;
  padding: 18px 20px;
  border-left: 3px solid #17da69;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f6f9;
}

.tp-article-content .tp-page-prose ul,
.tp-article-content .tp-page-prose ol {
  padding-left: 1.2rem;
}

.tp-article-outline {
  display: grid;
  gap: 14px;
}

.tp-article-outline-item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1180px) {
  body.freetime-blog-view .lp-main,
  body.freetime-blog-article-view .lp-main {
    padding-top: calc(var(--lp-header-height) + var(--lp-header-offset) + 28px);
  }

  .tp-blog-hero-grid,
  .tp-blog-featured,
  .tp-article-layout {
    grid-template-columns: 1fr;
  }

  .tp-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tp-blog-shell,
  .tp-blog-article-shell {
    padding-bottom: 42px;
  }

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

  .tp-blog-side,
  .tp-article-side,
  .tp-blog-card {
    padding: 18px;
  }

  .tp-blog-chip,
  .tp-blog-meta span,
  .tp-article-meta span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}
