/* Tastevia — Blog Post (Figma 101:1515) */

.post-hero {
  padding: 56px 0 40px;
  text-align: center;
}

.post-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 auto 28px;
  max-width: 18ch;
}

.post-hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  margin-bottom: 28px;
}

.post-hero__like.save-btn {
  position: relative;
  top: auto;
  right: auto;
}

.post-hero__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 28px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.post-hero__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.post-hero__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.post-hero__date {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  margin: 0;
}

.post-hero__intro {
  max-width: 840px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-muted);
}

.post-hero__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1280 / 600;
  background: #f3f3f3;
}

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

.post-body {
  padding: 56px 0 40px;
}

.post-body__grid {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.post-share {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.post-share__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.post-share__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-share__list a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.post-share__list a:hover {
  background: var(--color-cyan);
  transform: translateY(-2px);
}

.post-share__list img {
  width: 18px;
  height: 18px;
}

.post-content h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.35;
  margin: 0 0 20px;
}

.post-content h2 + p,
.post-content p {
  font-size: 16px;
  line-height: 28px;
  color: var(--color-muted);
  margin: 0 0 24px;
}

.post-content section {
  margin-bottom: 40px;
}

.post-quote {
  margin: 8px 0 40px;
  padding: 40px 48px;
  background: var(--color-cyan-soft, #e7f9fd);
  border-radius: 24px;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.4;
  color: var(--color-ink);
}

.post-content__media {
  margin: 8px 0 40px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 840 / 500;
  background: #f3f3f3;
}

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

@media (max-width: 800px) {
  .post-hero {
    padding: 36px 0 28px;
  }

  .post-hero__title {
    font-size: clamp(28px, 8vw, 40px);
    max-width: none;
    margin-bottom: 20px;
  }

  .post-hero__meta {
    gap: 14px 18px;
    margin-bottom: 20px;
  }

  .post-hero__author {
    border-right: 0;
    padding-right: 0;
  }

  .post-hero__intro {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .post-hero__media {
    border-radius: 20px;
    aspect-ratio: 16 / 10;
  }

  .post-body {
    padding: 32px 0 28px;
  }

  .post-body__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-share {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .post-share__label {
    writing-mode: horizontal-tb;
    transform: none;
    width: auto;
    letter-spacing: 0.08em;
    font-size: 12px;
  }

  .post-share__list {
    flex-direction: row;
  }

  .post-content h2 {
    font-size: 22px;
  }

  .post-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .post-quote {
    padding: 24px 20px;
    font-size: 18px;
    border-radius: 16px;
  }

  .post-content__media {
    border-radius: 16px;
  }
}
