.blog-intro {
  position: relative;
  overflow: hidden;
  padding: 190px 0 94px;
  background:
    radial-gradient(ellipse at 82% 20%, rgba(204, 35, 67, .12), transparent 34%),
    linear-gradient(135deg, #fff9f7 0%, #fff 55%, #fdf5f3 100%);
}

.blog-intro::after {
  position: absolute;
  right: -100px;
  bottom: -280px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(172, 28, 57, .1);
  border-radius: 50%;
  content: "";
}

.blog-intro-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.blog-eyebrow,
.blog-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9213f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.blog-intro h1,
.blog-article-header h1 {
  margin: 18px 0 14px;
  color: #252126;
  font-family: var(--heading-font, inherit);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.13;
}

.blog-intro h1 span {
  color: #a9213f;
}

.blog-intro p {
  max-width: 600px;
  margin: 0 auto;
  color: #706b70;
  font-size: 16px;
  line-height: 1.8;
}

.blog-listing {
  padding: 76px 0 90px;
  background: #fff;
}

.blog-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #f0e8e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(45, 25, 30, .045);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(45, 25, 30, .1);
}

.blog-card-image {
  position: relative;
  display: block;
  height: 245px;
  overflow: hidden;
  background: #f7eeee;
}

.blog-card-image img,
.blog-article-cover img,
.blog-related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .blog-card-image img,
.blog-related-card:hover img {
  transform: scale(1.045);
}

.blog-image-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #a9213f;
  font-size: 17px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
}

.blog-card-body {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 22px 23px 19px;
}

.blog-card-date {
  color: #a9213f;
  font-size: 12px;
  font-weight: 600;
}

.blog-card-date i {
  margin-right: 5px;
}

.blog-card h2 {
  margin: 12px 0 9px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.blog-card h2 a {
  color: #29252a;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: #a9213f;
}

.blog-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 19px;
  color: #777178;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f2ecec;
}

.blog-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #4f4a50;
  font-size: 12px;
  font-weight: 600;
}

.blog-author img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 2px solid #f4dfe4;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-read-more {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #fbf0f2;
  color: #a9213f;
  text-decoration: none;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 48px;
}

.blog-pagination a {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  place-items: center;
  border: 1px solid #eee5e7;
  border-radius: 50px;
  color: #625b61;
  text-decoration: none;
}

.blog-pagination a:hover,
.blog-pagination a.active {
  border-color: #a9213f;
  background: #a9213f;
  color: #fff;
}

.blog-empty-state {
  max-width: 620px;
  margin: 0 auto;
  padding: 55px 25px;
  border: 1px solid #f0e8e9;
  border-radius: 20px;
  background: #fffafa;
  text-align: center;
}

.blog-empty-icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #fae9ed;
  color: #a9213f;
  font-size: 26px;
}

.blog-empty-state h2,
.blog-not-found h1 {
  margin: 18px 0 8px;
  color: #29252a;
  font-size: 25px;
  font-weight: 700;
}

.blog-empty-state p,
.blog-not-found p {
  margin-bottom: 22px;
  color: #777178;
}

.blog-detail-top {
  padding-top: 140px;
  background: #fff9f7;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 20px 0;
  color: #857b81;
  font-size: 13px;
  list-style: none;
}

.blog-breadcrumb li + li::before {
  margin-right: 10px;
  color: #c4aeb5;
  content: "/";
}

.blog-breadcrumb a {
  color: #a9213f;
  text-decoration: none;
}

.blog-article {
  padding: 44px 0 70px;
  background: linear-gradient(180deg, #fff9f7 0, #fff 330px);
}

.blog-article-header {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.blog-article-header h1 {
  margin: 15px auto 20px;
  font-size: clamp(34px, 4.5vw, 54px);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 26px;
  color: #766e74;
  font-size: 13px;
}

.blog-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.blog-article-meta i {
  color: #a9213f;
}

.blog-article-cover {
  height: clamp(280px, 48vw, 570px);
  overflow: hidden;
  border-radius: 20px;
  background: #f7eeee;
  box-shadow: 0 18px 55px rgba(45, 25, 30, .1);
}

.blog-article-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 55px;
}

.blog-article-content {
  color: #514b51;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.blog-article-content > :first-child {
  margin-top: 0;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  margin: 30px 0 12px;
  color: #29252a;
  font-weight: 700;
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-article-content blockquote {
  margin: 25px 0;
  padding: 18px 22px;
  border-left: 4px solid #a9213f;
  border-radius: 0 12px 12px 0;
  background: #fff7f8;
  color: #5e4c53;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  color: #a9213f;
  font-weight: 600;
  text-decoration: none;
}

.blog-author-panel {
  position: sticky;
  top: 120px;
  padding: 27px;
  border: 1px solid #f0e4e6;
  border-radius: 18px;
  background: #fffafa;
  text-align: center;
}

.blog-author-panel > img {
  display: block;
  width: 92px;
  height: 92px;
  margin: 18px auto 13px;
  border: 4px solid #f4dfe4;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author-panel h2 {
  color: #29252a;
  font-size: 19px;
  font-weight: 700;
}

.blog-author-panel p {
  margin: 10px 0 18px;
  color: #777178;
  font-size: 13px;
  line-height: 1.7;
}

.blog-author-panel > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9213f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.blog-related {
  padding: 65px 0 80px;
  background: #fff8f7;
}

.blog-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.blog-related-heading h2 {
  margin: 8px 0 0;
  color: #29252a;
  font-size: 30px;
  font-weight: 700;
}

.blog-related-heading > a {
  color: #a9213f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.blog-related-card {
  display: block;
  height: 100%;
  overflow: hidden;
  padding-bottom: 20px;
  border: 1px solid #f0e8e9;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.blog-related-card img {
  display: block;
  height: 205px;
  margin-bottom: 17px;
}

.blog-related-card > span,
.blog-related-card h3 {
  margin-right: 19px;
  margin-left: 19px;
}

.blog-related-card > span {
  color: #a9213f;
  font-size: 12px;
}

.blog-related-card h3 {
  margin-top: 8px;
  margin-bottom: 13px;
  color: #29252a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.blog-related-card .blog-related-link {
  font-weight: 600;
}

.blog-not-found {
  padding-top: 190px;
}

@media (max-width: 767.98px) {
  .blog-intro {
    padding: 155px 0 72px;
  }

  .blog-intro h1,
  .blog-article-header h1 {
    letter-spacing: -1px;
  }

  .blog-listing {
    padding: 48px 0 65px;
  }

  .blog-card-image {
    height: 225px;
  }

  .blog-detail-top {
    padding-top: 115px;
  }

  .blog-article {
    padding-top: 28px;
  }

  .blog-article-cover {
    border-radius: 14px;
  }

  .blog-article-layout {
    padding-top: 35px;
  }

  .blog-related-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
