/* Blog Page - 1:1 Frontend Match */

.blog-page {
  background: #f4f5f0;
}

/* Featured Section */
.blog-featured-section {
  padding: 3.5rem 0 0;
  background: #f4f5f0;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}

.blog-featured:hover {
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

.blog-featured__media-wrap {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #1c1f26;
}

.blog-featured__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1c1f26;
  transition: transform 0.5s ease;
}

.blog-featured__media--tg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0e1615, #1c1f26);
}

.blog-featured__media--vc {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1f26, #0d1117);
}

.blog-featured__media-icon {
  width: 4.5rem;
  height: 4.5rem;
  color: rgba(26, 143, 125, 0.92);
}

.blog-featured__media-vc-logo {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.blog-featured:hover .blog-featured__media {
  transform: scale(1.05);
}

.blog-featured__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 22, 26, 0.62), transparent 60%);
}

.blog-featured__tag-wrap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
}

.blog-featured__body {
  padding: 2rem;
}

.blog-featured__title {
  margin: 0 0 1rem;
  color: #13161a;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.blog-featured__excerpt {
  margin: 0 0 1.5rem;
  color: rgba(13, 13, 13, 0.6);
  font-size: 1rem;
  line-height: 1.625;
}

.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(13, 13, 13, 0.4);
  font-size: 0.875rem;
}

/* Tag Pill */
.blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 143, 125, 0.65);
  background: rgba(11, 25, 22, 0.38);
  color: #dff8f1;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Filter Tabs */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.blog-filter {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(19, 22, 26, 0.2);
  border-radius: 9999px;
  background: #fff;
  color: rgba(19, 22, 26, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-filter:hover {
  border-color: rgba(26, 143, 125, 0.4);
}

.blog-filter.is-active {
  background: var(--forest-teal);
  border-color: var(--forest-teal);
  color: #fff;
}

/* Grid Section */
.blog-grid-section {
  padding: 5rem 0 7rem;
  background: #f4f5f0;
}

.blog-grid-heading {
  margin: 0 0 2rem;
  color: #13161a;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Card Grid */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Blog Card */
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 2.5rem;
  border: 1px solid rgba(19, 22, 26, 0.08);
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.3s ease;
}

.blog-card:hover {
  background: #f4f5f0;
  border-color: rgba(26, 143, 125, 0.2);
  box-shadow: 0 20px 40px rgba(19, 22, 26, 0.08);
}

.blog-card__media-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: #1c1f26;
}

.blog-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1c1f26;
  transform-origin: center center;
  transition: transform 0.7s ease;
}

.blog-card:hover .blog-card__media {
  transform: scale(1.1);
}

.blog-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 22, 26, 0.62), transparent 60%);
}

.blog-card > .blog-tag,
.blog-card > .blog-card__title,
.blog-card > .blog-card__excerpt,
.blog-card > .blog-card__meta {
  margin-left: 2rem;
  margin-right: 2rem;
}

.blog-card__tag-wrap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
}

.blog-card .blog-tag {
  margin-bottom: 0;
}

.blog-card__title {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #13161a;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.blog-card__excerpt {
  margin-bottom: 0;
  color: rgba(19, 22, 26, 0.7);
  font-size: 0.92rem;
  line-height: 1.75;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(19, 22, 26, 0.05);
  color: rgba(19, 22, 26, 0.4);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* TG / VC media card variants */
.blog-card__media--tg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0e1615, #1c1f26);
}

.blog-card__media-icon {
  width: 3.5rem;
  height: 3.5rem;
  color: rgba(26, 143, 125, 0.9);
}

.blog-card__media--vc {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1f26, #0d1117);
}

.blog-card__media-vc-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.blog-card__title--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty / Loading */
.blog-cards__loading {
  grid-column: 1 / -1;
  color: rgba(19, 22, 26, 0.5);
  font-size: 0.875rem;
}

.blog-cards__empty {
  grid-column: 1 / -1;
  color: rgba(19, 22, 26, 0.6);
  font-size: 0.875rem;
}

.blog-cards__empty p {
  margin: 0 0 0.75rem;
}

.blog-cards__empty-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest-teal);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.blog-cards__empty-link:hover {
  gap: 0.75rem;
}

/* Load More */
.blog-load-more {
  margin-top: 3rem;
  text-align: center;
}

.blog-load-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2.5rem;
  border: 1px solid rgba(19, 22, 26, 0.2);
  border-radius: 0.5rem;
  background: #fff;
  color: #13161a;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-load-more__btn:hover {
  border-color: var(--forest-teal);
  color: var(--forest-teal);
}

.blog-load-more__btn svg {
  width: 1rem;
  height: 1rem;
}

/* Subscribe Section */
.blog-subscribe {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
  background:
    radial-gradient(
      circle at center,
      rgba(26, 143, 125, 0.22) 0%,
      rgba(19, 22, 26, 0) 42%
    ),
    #13161a;
}

.blog-subscribe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/cta-bg.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.18;
  pointer-events: none;
}

.blog-subscribe__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.blog-subscribe .section-eyebrow {
  color: var(--champagne);
}

.blog-subscribe__title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
}

.blog-subscribe__desc {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: rgba(232, 230, 225, 0.65);
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.blog-subscribe__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  min-width: 15rem;
  padding: 0 28px;
  border: none;
  border-radius: 14px;
  background: var(--forest-teal);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.blog-subscribe__btn:hover {
  background: rgba(26, 143, 125, 0.9);
  box-shadow: 0 4px 12px rgba(26, 143, 125, 0.3);
}

.blog-subscribe__btn svg {
  width: 1rem;
  height: 1rem;
}

.blog-subscribe__btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.blog-subscribe__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

/* Tag Pill Small */
.blog-tag--sm {
  padding: 0.125rem 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.625rem;
}

/* ========================================
   Single Blog Post
   ======================================== */

.blog-single {
  background: #fff;
}

.blog-single__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
}

.blog-single__hero-author {
  color: var(--forest-teal);
  text-decoration: none;
}

.blog-single__hero-author:hover {
  text-decoration: underline;
}

.blog-single__content-section {
  padding: 5rem 0 7rem;
  background: #fff;
}

.blog-author-inline {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(19, 22, 26, 0.08);
}

.blog-author-inline__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
  background: #1c1f26;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

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

.blog-author-inline__body {
  min-width: 0;
}

.blog-author-inline__name {
  margin: 0;
  color: #13161a;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
}

.blog-author-inline__role {
  margin: 0.25rem 0 0;
  color: rgba(19, 22, 26, 0.58);
  font-size: 0.875rem;
  line-height: 1.45;
}

.blog-author-inline__bio {
  margin: 0.75rem 0 0;
  color: rgba(19, 22, 26, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.blog-author-inline__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.875rem;
  color: var(--forest-teal);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.blog-author-inline__link span {
  transition: transform 0.2s ease;
}

.blog-author-inline__link:hover span {
  transform: translateX(4px);
}

.blog-single__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.blog-single__article {
  min-width: 0;
}

/* Blog WP Content Prose */
.blog-wp-content {
  color: #13161a;
  font-size: 1rem;
  line-height: 1.75;
}

.blog-wp-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #13161a;
}

.blog-wp-content h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #13161a;
}

.blog-wp-content p {
  margin: 0 0 1.25rem;
  color: rgba(13, 13, 13, 0.75);
}

.blog-wp-content ul,
.blog-wp-content ol {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  color: rgba(13, 13, 13, 0.75);
}

.blog-wp-content ul li,
.blog-wp-content ol li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 2rem;
  line-height: 1.7;
}

.blog-wp-content ul li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: var(--forest-teal);
  transform: translateY(-50%);
}

.blog-wp-content ol {
  counter-reset: blog-rich-steps;
}

.blog-wp-content ol li {
  counter-increment: blog-rich-steps;
}

.blog-wp-content ol li::before {
  content: counter(blog-rich-steps);
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(26, 143, 125, 0.12);
  color: var(--forest-teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-wp-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--forest-teal);
  background: rgba(26, 143, 125, 0.04);
  color: rgba(13, 13, 13, 0.7);
  font-style: italic;
}

.blog-wp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.blog-wp-content a {
  color: var(--forest-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-wp-content a:hover {
  text-decoration: none;
}

/* Sidebar */
.blog-single__sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Sidebar CTA Card */
.blog-sidebar-cta {
  padding: 2rem;
  border-radius: 2rem;
  background: #1c1f26;
}

.blog-sidebar-cta__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--forest-teal);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-sidebar-cta__title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

.blog-sidebar-cta__desc {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.5;
}

.blog-sidebar-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  background: var(--forest-teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-sidebar-cta__btn:hover {
  background: rgba(26, 143, 125, 0.9);
  box-shadow: 0 4px 12px rgba(26, 143, 125, 0.3);
}

.blog-sidebar-cta__btn svg {
  width: 1rem;
  height: 1rem;
}

/* Sidebar Related */
.blog-sidebar-related {
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.78);
}

.blog-sidebar-related__label {
  margin: 0 0 1rem;
  color: rgba(13, 13, 13, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-sidebar-related__list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.blog-sidebar-related__item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.375rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s ease;
}

.blog-sidebar-related__item:hover {
  background: rgba(26, 143, 125, 0.05);
}

.blog-sidebar-related__item:hover .blog-sidebar-related__title {
  color: var(--forest-teal);
}

.blog-sidebar-related__thumb {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 0.875rem;
  background-size: cover;
  background-position: center;
  background-color: #1c1f26;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-sidebar-related__item:hover .blog-sidebar-related__thumb {
  transform: scale(1.05);
}

.blog-sidebar-related__info {
  min-width: 0;
}

.blog-sidebar-related__title {
  margin: 0;
  color: #13161a;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.blog-sidebar-related__meta {
  margin: 0.25rem 0 0;
  color: rgba(13, 13, 13, 0.4);
  font-size: 0.75rem;
}

.blog-related-section {
  padding: 0 0 6rem;
}

.blog-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.blog-related-head h2 {
  margin: 0;
  color: #13161a;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.blog-related-head a {
  color: var(--forest-teal);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.375rem;
}

.blog-related-card__link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.875rem;
  background: #fff;
  border: 1px solid rgba(19, 22, 26, 0.08);
  box-shadow: 0 24px 48px rgba(19, 22, 26, 0.06);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.blog-related-card__link:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 143, 125, 0.18);
  box-shadow: 0 28px 60px rgba(19, 22, 26, 0.1);
}

.blog-related-card__media {
  position: relative;
  min-height: 15.5rem;
  background-size: cover;
  background-position: center;
}

.blog-related-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 22, 26, 0.04) 0%, rgba(19, 22, 26, 0.52) 100%);
}

.blog-related-card__tag {
  position: absolute;
  top: 1.125rem;
  left: 1.125rem;
  z-index: 1;
}

.blog-related-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.375rem;
}

.blog-related-card__body h3 {
  margin: 0 0 0.75rem;
  color: #13161a;
  font-size: 1.3rem;
  line-height: 1.2;
}

.blog-related-card__body p {
  margin: 0;
  color: rgba(19, 22, 26, 0.68);
  line-height: 1.7;
}

.blog-related-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.blog-related-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(19, 22, 26, 0.48);
  font-size: 0.82rem;
  line-height: 1.4;
}

.blog-related-card__cta {
  flex-shrink: 0;
  color: var(--forest-teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-related-card__cta span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.blog-related-card__link:hover .blog-related-card__cta span {
  transform: translateX(4px);
}

/* Sidebar Calculator Card */
.blog-sidebar-calc {
  padding: 1.5rem;
  border-radius: 2rem;
  background: var(--forest-teal);
}

.blog-sidebar-calc__eyebrow {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-sidebar-calc__title {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

.blog-sidebar-calc__desc {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
}

.blog-sidebar-calc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-sidebar-calc__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* CTA Banner */
/* Responsive */
@media (min-width: 640px) {
  .blog-subscribe__actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .blog-single__grid {
    grid-template-columns: 2fr 1fr;
  }

  .blog-single__sidebar-inner {
    position: sticky;
    top: 7rem;
  }

  .blog-featured {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .blog-featured__body {
    padding: 2.5rem;
  }
}

@media (max-width: 1023px) {
  .blog-featured__title {
    font-size: 2rem;
  }

  .blog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-single__sidebar {
    display: none;
  }

  .blog-related-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-related-grid::-webkit-scrollbar {
    display: none;
  }

  .blog-related-card {
    flex: 0 0 min(24rem, 72vw);
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .blog-featured-section {
    padding: 2.5rem 0 0;
  }

  .blog-grid-section {
    padding: 3rem 0 5rem;
  }

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

  .blog-featured__media {
    min-height: 220px;
  }

  .blog-featured__body {
    padding: 1.5rem;
  }

  .blog-featured__title {
    font-size: 1.75rem;
  }

  .blog-card {
    padding: 1rem;
  }

  .blog-single__content-section {
    padding: 3rem 0 4rem;
  }

  .blog-author-inline {
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .blog-single__grid {
    gap: 2.5rem;
  }

  .blog-related-section {
    padding-bottom: 4.5rem;
  }

  .blog-related-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-related-grid {
    gap: 0.875rem;
  }

  .blog-related-card__media {
    min-height: 13.75rem;
  }

  .blog-related-card {
    flex-basis: 82vw;
  }

  .blog-related-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-sidebar-cta {
    padding: 1.5rem;
  }

  .blog-subscribe {
    padding: 4rem 0 4.5rem;
  }

  .blog-subscribe__title {
    font-size: 1.5rem;
  }

  .blog-subscribe__btn {
    width: 100%;
    min-width: 0;
  }
}
