/* Blog Page - 24Picture (extends main-new.css) */

/* ═══ Blog Hero ═══ */
.blog-hero {
  padding: 8rem 3rem 3rem;
}

.blog-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.blog-hero .tool-breadcrumb {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.tool-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tool-breadcrumb a,
.tool-breadcrumb a:link,
.tool-breadcrumb a:visited,
.tool-breadcrumb a:active {
  color: #555555 !important;
  text-decoration: none !important;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: color 0.2s;
}

.tool-breadcrumb a:hover {
  color: #000000 !important;
}

.tool-breadcrumb i {
  font-size: 0.625rem;
  color: #999999;
}

.tool-breadcrumb span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #000000;
}

.blog-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000000;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.blog-hero-desc {
  font-size: 1.0625rem;
  color: #777777;
  font-weight: 600;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ═══ Blog List Layout ═══ */
.blog-list-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 4rem;
}

/* Featured Post */
.blog-featured {
  margin-bottom: 4rem;
}

.blog-featured-card,
.blog-featured-card:visited {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.blog-featured-image {
  height: 100%;
  min-height: 320px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.blog-featured-image i {
  font-size: 4rem;
  color: #bbbbbb;
}

.blog-featured-content {
  padding: 3rem 3rem 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: #000000;
  color: #ffffff;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.blog-featured-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.blog-featured-excerpt {
  font-size: 1rem;
  color: #777777;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #aaaaaa;
  font-weight: 600;
}

.blog-featured-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* ═══ Blog Grid ═══ */
.blog-grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card,
.blog-card:visited {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.blog-card-image {
  height: 180px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.blog-card-image i {
  font-size: 2.5rem;
  color: #bbbbbb;
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.4;
  margin-bottom: 0.625rem;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: #999999;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #bbbbbb;
  font-weight: 600;
}

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

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #000000;
}

/* ═══ Blog Article Page ═══ */
.blog-article-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 3rem 4rem;
}

.blog-article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-article-category {
  display: inline-flex;
  padding: 0.375rem 1rem;
  background: #f0f0f0;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666666;
  margin-bottom: 1.5rem;
}

.blog-article-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #999999;
  font-weight: 600;
}

.blog-article-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-article-cover {
  width: 100%;
  height: 360px;
  background: #e8e8e8;
  border-radius: 20px;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-cover:not(.blog-anim) > i {
  font-size: 2.5rem;
  color: #bbbbbb;
}

/* Article Content */
.blog-article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #333333;
  font-weight: 500;
}

.blog-article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.blog-article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  margin: 2rem 0 0.75rem;
}

.blog-article-body p {
  margin-bottom: 1.5rem;
}

.blog-article-body ul,
.blog-article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-article-body li {
  margin-bottom: 0.625rem;
}

.blog-article-body strong {
  font-weight: 700;
  color: #000000;
}

.blog-article-body code {
  background: #f5f5f5;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.blog-article-body a,
.blog-article-body a:visited {
  color: #000000;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

.blog-article-body a:hover {
  text-decoration-color: #000000;
}

.blog-article-body blockquote {
  border-left: 3px solid #000000;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #555555;
}

.blog-article-body img {
  width: 100%;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* Article Footer */
.blog-article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.blog-article-tags a,
.blog-article-tags a:visited {
  display: inline-flex;
  padding: 0.375rem 0.875rem;
  background: #f5f5f5;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #666666;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-article-tags a:hover {
  background: #e8e8e8;
  color: #000000;
}

/* Related Posts (at bottom of article) */
.blog-related {
  margin-top: 4rem;
}

.blog-related-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.5rem;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .blog-grid-section {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .blog-featured-content {
    padding: 2rem;
  }

  .blog-featured-image {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 6rem 1.5rem 2rem;
  }

  .blog-hero-title {
    font-size: 1.75rem;
  }

  .blog-list-section {
    padding: 0 1.5rem 3rem;
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .blog-featured-image {
    min-height: 180px;
  }

  .blog-featured-content {
    padding: 1.5rem;
  }

  .blog-featured-title {
    font-size: 1.375rem;
  }

  .blog-featured-excerpt {
    font-size: 0.9375rem;
  }

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

  .blog-card-image {
    height: 140px;
  }

  /* Article */
  .blog-article-section {
    padding: 0 1.5rem 3rem;
  }

  .blog-article-title {
    font-size: 1.5rem;
  }

  .blog-article-cover {
    height: 220px;
    border-radius: 16px;
  }

  .blog-article-body {
    font-size: 1rem;
  }

  .blog-article-body h2 {
    font-size: 1.25rem;
  }

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

