/* Blog listing & article (matches Darb marketing site) */
.blog-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-dark);
}

.blog-main {
  flex: 1;
  padding: 48px 20px 100px;
}

.blog-main .container {
  max-width: 1200px;
}

.blog-hero-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 28px;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
  border-color: rgba(218, 81, 40, 0.45);
  transform: translateY(-3px);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

.blog-card-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.blog-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.blog-card-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.blog-card-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.blog-card-read {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 4px;
}

.blog-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.blog-state.blog-error {
  color: #ff8a80;
}

.blog-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Article */
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color 0.2s;
}

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

.blog-article-header {
  margin-bottom: 32px;
}

.blog-article-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.blog-cover {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--border-color);
}

.blog-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.blog-body {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.blog-body p {
  margin-bottom: 1.25em;
}

.blog-body h2,
.blog-body h3 {
  margin: 1.5em 0 0.65em;
  font-weight: 600;
  color: #fff;
}

.blog-body h2 {
  font-size: 28px;
}

.blog-body h3 {
  font-size: 22px;
}

.blog-body a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-body ul,
.blog-body ol {
  margin: 0 0 1.25em 1.25em;
}

.blog-muted {
  color: var(--text-muted);
}

/* Inner-page header: layout from global.css */

/* Footer (matches index) */
.blog-page .footer-section {
  background-color: #0a0a0a;
  padding: 80px 20px 0;
  position: relative;
  overflow: hidden;
}

.blog-page .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.blog-page .brand-col {
  max-width: 300px;
}

.blog-page .footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.blog-page .footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.blog-page .footer-social {
  display: flex;
  gap: 10px;
}

.blog-page .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s;
}

.blog-page .social-icon:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.blog-page .footer-links-wrapper {
  display: flex;
  gap: 80px;
  flex: 1;
  justify-content: flex-end;
}

.blog-page .footer-heading {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 25px;
}

.blog-page .footer-links {
  list-style: none;
}

.blog-page .footer-links li {
  margin-bottom: 15px;
}

.blog-page .footer-links a {
  color: #fafafa;
  font-size: 14px;
  transition: color 0.3s;
}

.blog-page .footer-links a:hover {
  color: var(--primary-color);
}

.blog-page .contact-col {
  min-width: 200px;
}

.blog-page .contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.blog-page .contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.blog-page .contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.blog-page .footer-bottom {
  margin-top: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.blog-page .huge-text {
  font-size: 250px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.8;
  letter-spacing: 10px;
  user-select: none;
}

@media (max-width: 1024px) {
  .blog-page .footer-top {
    flex-direction: column;
  }

  .blog-page .footer-links-wrapper {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .blog-page .huge-text {
    font-size: 150px;
  }
}

@media (max-width: 768px) {
  .blog-page .footer-links-wrapper {
    gap: 40px;
    flex-direction: column;
  }

  .blog-page .huge-text {
    font-size: 80px;
  }
}
