body.blog,
body.archive,
body.single-post,
body.single-case,
body.post-type-archive-case {
  background: #fff8f1;
}

.blog-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8rem 2.4rem 6rem;
}

.blog-hero,
.archive-hero {
  background: var(--bg-gra);
  color: #fff;
  border-radius: 22px;
  padding: 4rem 4.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.blog-hero::after,
.archive-hero::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -50%;
  width: 60%;
  height: 160%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(45px);
  transform: rotate(-12deg);
}

.blog-hero__eyebrow,
.archive-hero__eyebrow {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-hero__eyebrow::before,
.archive-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #fff;
  opacity: 0.6;
}

.blog-hero h1,
.archive-hero h1 {
  font-size: clamp(3.2rem, 5vw, 4.2rem);
  margin: 0 0 1.4rem;
  letter-spacing: 0.01em;
}

.blog-hero__lead,
.archive-hero__lead {
  font-size: 1.6rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 1.4rem;
}

.blog-hero__chips {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.blog-hero__chip {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.blog-archive {
  margin-top: 4.4rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.blog-archive__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.blog-archive__title {
  font-size: 2.4rem;
  margin: 0;
}

.blog-archive__link {
  color: var(--color-red);
  font-weight: bold;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-archive__link::after {
  content: "→";
  font-size: 1.2rem;
  display: inline-block;
  transform: translateY(1px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card__media {
  display: block;
  position: relative;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease;
  display: block;
}

.blog-card__placeholder {
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.6), rgba(230, 23, 23, 0.8));
  width: 100%;
  height: 220px;
  display: grid;
  place-items: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: bold;
}

.blog-card__placeholder_text {
  font-size: 1.6rem;
}

.blog-card__media:hover img {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 1.8rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-card__badge {
  background: rgba(255, 128, 0, 0.12);
  color: #e34a0c;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-card__date {
  font-size: 1.3rem;
  color: #555;
}

.blog-card__title {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.35;
}

.blog-card__title a {
  color: #181818;
}

.blog-card__title a:hover {
  color: var(--color-red);
}

.blog-card__excerpt {
  margin: 0;
  color: #4b4b4b;
  font-size: 1.35rem;
  line-height: 1.6;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.blog-card__term {
  font-weight: 700;
  font-size: 1.3rem;
  color: #222;
}

.blog-card__link {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 1.3rem;
}

.blog-empty {
  font-size: 1.5rem;
  color: #444;
  background: #fff;
  padding: 1.6rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 6px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.blog-pagination .page-numbers.current {
  background: var(--color-orange);
  color: #fff;
  font-weight: bold;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
}

.article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 4rem;
}

.article-hero {
  padding: 3rem 3.6rem 0;
}

.article-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #e34a0c;
  font-size: 1.3rem;
}

.article-hero__eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--color-orange);
}

.article-hero h1 {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.25;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #555;
  font-size: 1.3rem;
}

.article-meta .article-meta__term {
  font-weight: 700;
  color: #111;
}

.article-featured {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.article-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  padding: 2.4rem 3.6rem 3.6rem;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #222;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.4rem;
}

.article-content blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.8rem;
  background: rgba(255, 128, 0, 0.08);
  border-left: 4px solid var(--color-orange);
  border-radius: 8px;
}

.article-footer {
  border-top: 1px solid #eee;
  padding: 2rem 3.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.article-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.article-tag {
  background: rgba(0, 0, 0, 0.04);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
}

.article-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.article-nav a {
  color: var(--color-orange);
  font-weight: 700;
}

.article-placeholder {
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.6), rgba(230, 23, 23, 0.8));
  height: 340px;
  display: grid;
  place-items: center;
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .blog-main {
    padding: 6rem 1.4rem 4rem;
  }

  .blog-hero,
  .archive-hero {
    padding: 3rem 2.4rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card__media img,
  .blog-card__placeholder {
    height: 190px;
  }

  .article {
    margin-top: 3rem;
  }

  .article-hero,
  .article-content,
  .article-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
