/* ═══════════════════════════════════════════════════
   DTV MOTORS — Blog / Naujienos Stylesheet
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.blog-hero {
  padding: 7rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(242, 196, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero__content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Container ── */
.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── Loading / Empty ── */
.blog-loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 1rem;
}
.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.blog-empty__icon { font-size: 3rem; margin-bottom: 1rem; }
.blog-empty h3 { color: var(--text-white); margin: 0 0 0.5rem; font-family: var(--font-display); }
.blog-empty p { margin: 0; }

/* ── Posts Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Post Card ── */
.blog-card {
  background: var(--surface-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  border-color: rgba(242, 196, 0, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-700);
}
.blog-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}
.blog-card__body {
  padding: 1.25rem;
}
.blog-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.blog-card__excerpt {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-400);
  transition: color 0.2s;
}
.blog-card:hover .blog-card__link { color: var(--brand-300); }

/* ══════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════ */
.blog-post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}
.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.blog-back-btn:hover { color: var(--brand-400); }

.blog-post {}

.blog-post__meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-post__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.blog-post__excerpt {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.blog-post__cover {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-post__cover img {
  width: 100%;
  border-radius: var(--radius);
}

/* Article content styling */
.blog-post__content {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.blog-post__content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-white);
  margin: 2.5rem 0 1rem;
}
.blog-post__content h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  color: var(--text-white);
  margin: 2rem 0 0.75rem;
}
.blog-post__content p {
  margin: 0 0 1.25rem;
}
.blog-post__content ul, .blog-post__content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.blog-post__content li {
  margin-bottom: 0.5rem;
}
.blog-post__content strong {
  color: var(--text-white);
}
.blog-post__content a {
  color: var(--brand-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-post__content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--brand-500);
  background: rgba(242, 196, 0, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Post footer CTA */
.blog-post__footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.blog-post__cta {
  background: var(--surface-800);
  border: 1px solid rgba(242, 196, 0, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
}
.blog-post__cta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-white);
  margin: 0 0 0.5rem;
}
.blog-post__cta p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

/* ── Footer ── */
.forma-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .blog-post-container { padding: 5.5rem 1rem 3rem; }
  .blog-card__body { padding: 1rem; }
}
