/* Stitch blog-index / blog-article — MettaMesh site shell */

.blog-page main {
  background: #f7f8fa;
  padding: 2.4rem 0 6.4rem;
}

.blog-breadcrumbs--index {
  max-width: 128rem;
  margin: 0 auto 2.4rem;
  padding: 0 2rem;
}

@media screen and (min-width: 1025px) {
  .blog-breadcrumbs--index {
    padding: 0 6.4rem;
  }
}

.blog-index,
.blog-article-wrap {
  max-width: 128rem;
  margin: 0 auto;
  padding: 0 2rem;
}

@media screen and (min-width: 1025px) {
  .blog-index,
  .blog-article-wrap {
    padding: 0 6.4rem;
  }
}

/* —— Index —— */

.blog-hero {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  align-items: center;
  background: #fcf9f8;
  border: 0.1rem solid #ced9f2;
  border-radius: 1.2rem;
  padding: 3.2rem;
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
  .blog-hero {
    flex-direction: row;
    padding: 4.8rem;
  }
}

.blog-hero__title {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #001953;
  margin: 0 0 1.6rem;
}

.blog-hero__text {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #444651;
  margin: 0;
  max-width: 56rem;
}

.blog-hero__media img {
  width: 100%;
  max-width: 40rem;
  height: auto;
  border-radius: 0.8rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.blog-tags__item {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 10rem;
  border: 0.1rem solid #ced9f2;
  color: #444651;
  background: #fff;
  cursor: default;
}

.blog-tags__item--active {
  background: #082d7c;
  border-color: #082d7c;
  color: #fff;
}

.blog-layout {
  display: grid;
  gap: 4rem;
}

@media screen and (min-width: 1025px) {
  .blog-layout {
    grid-template-columns: 1fr 32rem;
    align-items: start;
  }
}

.blog-grid {
  display: grid;
  gap: 2.4rem;
}

@media screen and (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0.1rem solid #ced9f2;
  border-radius: 1.2rem;
  overflow: hidden;
  height: 100%;
}

.blog-card__media img,
.blog-card__media--placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card__media--placeholder {
  background: linear-gradient(135deg, #e5e2e1 0%, #d6e3ff 100%);
}

.blog-card__body {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.2rem;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.2rem;
  color: #757682;
}

.blog-card__tag {
  background: #d6e3ff;
  color: #001953;
  padding: 0.4rem 1.2rem;
  border-radius: 10rem;
  font-weight: 600;
}

.blog-card__title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.blog-card__title a {
  color: #001953;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #5254af;
}

.blog-card__excerpt {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #444651;
  margin: 0;
  flex: 1;
}

.blog-card__link {
  font-size: 1.4rem;
  font-weight: 600;
  color: #082d7c;
  text-decoration: none;
}

.blog-card__soon {
  font-size: 1.4rem;
  font-weight: 600;
  color: #757682;
}

.blog-card--soon .blog-card__title {
  color: #444651;
}

.blog-sidebar__block,
.blog-sidebar__cta {
  background: #fff;
  border: 0.1rem solid #ced9f2;
  border-radius: 1.2rem;
  padding: 2.4rem;
  margin-bottom: 2.4rem;
}

.blog-sidebar__title {
  font-size: 2rem;
  font-weight: 600;
  color: #001953;
  margin: 0 0 1.6rem;
}

.blog-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-sidebar__list li {
  margin-bottom: 1.6rem;
}

.blog-sidebar__list a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #082d7c;
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
}

.blog-sidebar__list time {
  font-size: 1.2rem;
  color: #757682;
}

.blog-sidebar__cta p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #444651;
  margin: 0 0 1.6rem;
}

/* —— Article —— */

.blog-breadcrumbs {
  margin-bottom: 2.4rem;
}

.blog-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  color: #757682;
}

.blog-breadcrumbs__list li:not(:last-child)::after {
  content: '›';
  margin-left: 0.8rem;
  color: #c5c6d3;
}

.blog-breadcrumbs__list a {
  color: #444651;
  text-decoration: none;
}

.blog-breadcrumbs__list a:hover {
  color: #082d7c;
}

.blog-article__title {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #001953;
  margin: 0 0 2.4rem;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  align-items: center;
  font-size: 1.4rem;
  color: #757682;
  margin-bottom: 3.2rem;
}

.blog-article__hero {
  margin-bottom: 3.2rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #eae7e7;
}

.blog-article__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-article__lead {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #444651;
  text-align: center;
  max-width: 72rem;
  margin: 0 auto 4.8rem;
}

.blog-article__content {
  max-width: 72rem;
  margin: 0 auto 4.8rem;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #444651;
}

.blog-article__content h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #001953;
  margin: 3.2rem 0 1.6rem;
}

.blog-article__content h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #001953;
  margin: 2.4rem 0 1.2rem;
}

.blog-article__content p {
  margin: 0 0 1.6rem;
}

.blog-article__content ul,
.blog-article__content ol {
  margin: 0 0 1.6rem;
  padding-left: 2.4rem;
}

.blog-article__content li {
  margin-bottom: 0.8rem;
}

.blog-article__content blockquote {
  margin: 2.4rem 0;
  padding: 2.4rem;
  border-left: 0.4rem solid #082d7c;
  background: #f0eded;
  font-style: italic;
  color: #1b1c1c;
}

.blog-article__content a {
  color: #082d7c;
}

.blog-article__cta {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
  padding: 4.8rem 2.4rem;
  background: #082d7c;
  border-radius: 1.2rem;
  color: #fff;
}

.blog-article__cta h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 1.6rem;
  color: #fff;
}

.blog-article__cta p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0 0 2.4rem;
  opacity: 0.9;
}

.blog-article__cta .btn {
  display: inline-block;
}
