/* Blog listing — title + 3 posts with graphics */
.component--blog-list {
  background: #fff;
  color: #111;
  padding: 8vw 0 7vw;
}

.blog-list__head {
  margin-bottom: 4vw;
  max-width: 720px;
}

.blog-list__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
}

.blog-list__title {
  margin: 0;
  font-family: var(--font-primary, Diagramm, sans-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f6f8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.blog-card__graphic {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eaed;
}

.blog-card__graphic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__graphic img {
  transform: scale(1.05);
}

.blog-card__graphic svg {
  width: 58%;
  height: auto;
  opacity: 0.95;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__graphic svg {
  transform: scale(1.06) rotate(-2deg);
}

.blog-card__graphic--coral {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(145deg, #ff7a6a 0%, #e23b4a 55%, #c42d3d 100%);
}

.blog-card__graphic--mint {
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.22), transparent 40%),
    linear-gradient(145deg, #7dffc2 0%, #3ecf9a 50%, #1fa87a 100%);
}

.blog-card__graphic--sky {
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(145deg, #7ec8ff 0%, #4aa3ef 50%, #2b7fd4 100%);
}

.blog-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card__meta {
  margin: 0;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.5;
}

.blog-card__title {
  margin: 0;
  font-family: var(--font-primary, Diagramm, sans-serif);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .component--blog-list {
    padding: 20vw 0 16vw;
  }

  .blog-list__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Blog detail page */
.component--blog-detail {
  background: #fff;
  color: #141414;
  padding: 8vw 0 6vw;
}

.blog-detail {
  max-width: 760px;
  margin: 0 auto;
}

.blog-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #141414;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.blog-detail__back:hover {
  opacity: 1;
}

.blog-detail__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
}

.blog-detail__title {
  margin: 0 0 20px;
  font-family: var(--font-primary, Diagramm, sans-serif);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.blog-detail__meta {
  margin: 0 0 36px;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 14px;
  opacity: 0.55;
}

.blog-detail__graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #e8eaed;
}

.blog-detail__graphic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail__graphic svg {
  width: 42%;
  max-width: 220px;
  height: auto;
  opacity: 0.95;
}

.blog-detail__graphic--coral {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28), transparent 40%),
    linear-gradient(145deg, #ff7a6a, #e23b4a 55%, #c42d3d);
}

.blog-detail__graphic--mint {
  background:
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.25), transparent 40%),
    linear-gradient(145deg, #7dffc2, #3ecf9a 50%, #1fa87a);
}

.blog-detail__graphic--sky {
  background:
    radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(145deg, #7ec8ff, #4aa3ef 50%, #2b7fd4);
}

.blog-detail__body p {
  margin: 0 0 18px;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  opacity: 0.82;
}

.blog-detail__body p strong {
  opacity: 1;
  font-weight: 600;
  color: #141414;
}

.blog-detail__body ul strong {
  font-weight: 600;
  color: #141414;
}

.blog-detail__body h2 {
  margin: 36px 0 14px;
  font-family: var(--font-primary, Diagramm, sans-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.blog-detail__body ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
  list-style-type: disc;
}

.blog-detail__body ol {
  margin: 0 0 24px;
  padding-left: 1.2em;
  list-style-type: decimal;
}

.blog-detail__body li {
  margin-bottom: 10px;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.82;
}

.blog-detail__cta {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.blog-detail__cta p {
  margin: 0;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 15px;
  opacity: 0.65;
}

.blog-detail__cta a {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ff3e60;
  color: #000;
  font-family: var(--font-primary, Diagramm, sans-serif);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.blog-detail__cta a:hover {
  transform: scale(1.04);
  background: #ff5574;
}

@media (max-width: 900px) {
  .component--blog-detail {
    padding: 20vw 0 16vw;
  }

  .blog-detail__graphic {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }
}

.blog-list__empty {
  max-width: 560px;
  padding: 24px 0 8px;
}

.blog-list__empty p {
  margin: 0 0 24px;
  font-family: var(--font-secondary, "IBM Plex Sans", sans-serif);
  font-size: 18px;
  line-height: 1.55;
  opacity: 0.75;
}
