.blog-container {
  padding: 4rem var(--padding-horizontal, 2rem) 5rem;
  background: #fff;
  color: #222;
}

/* ===== Alternating horizontal blog cards ===== */
.blog-list {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.07);
  padding: 2.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.1);
}

/* Even cards: image on the right */
.blog-post:nth-child(even) .blog-post__media {
  order: 2;
}

.blog-post__media img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a95a3;
  font-family: var(--font-fira);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.blog-post__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-post__dot {
  color: #c4ccd6;
}

.blog-post__title {
  font-family: var(--font-fira);
  font-weight: 700;
  font-size: 2rem;
  color: #15233a;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.blog-post__excerpt {
  font-size: 1.05rem;
  color: #6b7785;
  line-height: 1.7;
  margin: 0 0 1.75rem;
}

.blog-post__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-blue);
  color: #fff;
  font-family: var(--font-fira);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.blog-post__btn:hover {
  background: #0c4a80;
  transform: translateY(-2px);
}

.blog-post__btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .blog-container {
    padding: 3rem 1.5rem 4rem;
  }

  .blog-post {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }

  .blog-post:nth-child(even) .blog-post__media {
    order: 0;
  }

  .blog-post__media img {
    height: 240px;
  }

  .blog-post__title {
    font-size: 1.6rem;
  }

  .blog-post__excerpt {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .blog-post__title {
    font-size: 1.35rem;
  }

  .blog-post__media img {
    height: 200px;
  }
}

/* ===== Single post (blog detail) ===== */
.post-hero {
  display: block;
  background: radial-gradient(120% 150% at 90% 15%, rgba(237, 139, 51, 0.13), rgba(237, 139, 51, 0) 42%),
              linear-gradient(115deg, #0a1729 0%, #0e2039 55%, #0a1525 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  overflow: visible;
  position: relative;
}

.post-hero__inner {
  position: relative;
  min-height: 190px;
}

.post-hero__text {
  max-width: 56%;
}

.post-hero__text h1 {
  font-family: var(--font-fira);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #fff;
}

.post-hero__text p {
  font-family: var(--font-fira);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 90%;
}

.post-hero__figure {
  position: absolute;
  top: 2.5rem;
  right: 0;
  width: 44%;
  max-width: 480px;
  margin: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  padding: 1rem;
  z-index: 3;
}

.post-hero__figure img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.post-article {
  background: #fff;
  padding: 3rem 0 5rem;
}

.post-article__head {
  max-width: 620px;
}

.post-breadcrumb {
  font-family: var(--font-fira);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a95a3;
  margin: 0 0 1.25rem;
}

.post-breadcrumb a {
  color: #8a95a3;
  text-decoration: none;
}

.post-breadcrumb a:hover {
  color: var(--primary-blue);
}

.post-breadcrumb span {
  color: #c4ccd6;
  margin: 0 4px;
}

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eaf1fb;
  color: var(--primary-blue);
  font-family: var(--font-fira);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.post-category::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-blue);
}

.post-title {
  font-family: var(--font-fira);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  color: #15233a;
  margin: 0 0 1rem;
}

.post-subtitle {
  font-family: var(--font-fira);
  font-size: 1.15rem;
  color: #6b7785;
  line-height: 1.5;
  margin: 0 0 2rem;
}

.post-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-fira);
  font-size: 0.95rem;
  color: #6b7785;
}

.post-author__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-right: 4px;
}

.post-author__name {
  color: var(--primary-blue);
  font-weight: 700;
}

.post-author__sep {
  color: #c4ccd6;
}

.post-divider {
  border: none;
  border-top: 1px solid #e6e9ee;
  margin: 2.5rem 0 3rem;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
}

.post-body p {
  font-family: var(--font-fira);
  font-size: 1.08rem;
  line-height: 1.9;
  color: #3a4552;
  margin: 0 0 1.6rem;
}

.post-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-fira);
  font-size: 3.6rem;
  line-height: 0.82;
  font-weight: 800;
  color: #15233a;
  padding: 0.4rem 0.6rem 0 0;
}

.post-quote {
  margin: 2.5rem 0;
  padding: 0.35rem 0 0.35rem 1.75rem;
  border-left: 3px solid var(--primary-blue);
}

.post-quote p {
  font-family: "Faustina", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #23324a;
  margin: 0 0 0.85rem;
}

.post-quote cite {
  font-family: var(--font-fira);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a95a3;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--primary-blue);
  border-radius: 999px;
  color: var(--primary-blue);
  font-family: var(--font-fira);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.post-back:hover {
  background: var(--primary-blue);
  color: #fff;
}

@media (max-width: 992px) {
  .post-hero {
    padding: 3rem 0 2.5rem;
  }
  .post-hero__text {
    max-width: 100%;
  }
  .post-hero__figure {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 2rem;
  }
  .post-article {
    padding-top: 2.5rem;
  }
  .post-article__head {
    max-width: 100%;
  }
}
