.blog-post-page {
  background: var(--color-gray);
  color: var(--color-black);
  padding: 10px 0 80px;
}

.blog-hero {
  margin: 18px 0 26px;
}

.blog-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 42px;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.blog-header {
  margin-bottom: 28px;
}

.blog-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: .03em;
  font-weight: 400;
}

.blog-date {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .7);
}

.blog-excerpt {  
  font-family: var(--font-body);
  font-size: var(--p-font-size);
  padding-top: 90px;
  font-weight: 700;
  line-height: 1.7;
  color: rgba(0, 0, 0, .82);
}

.blog-content {
  display: grid;
  gap: 20px;
}

.blog-block {
  min-width: 0;
}

.blog-block--text {
  font-family: var(--font-body);
  font-size: var(--p-font-size);
  line-height: 1.72;
  padding-top: 90px;
  color: rgba(0, 0, 0, .9);
}

.blog-block--heading {
  margin: 10px 0 4px;
  font-family: var(--font-body);
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.18;
  letter-spacing: .03em;
  font-weight: 700;
}

.blog-block--quote {
  margin: 8px 0;
  padding-left: 18px;
  border-left: 6px solid var(--color-green);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(0, 0, 0, .82);
}

.blog-block--highlight {
  margin: 6px 0;
  padding: 16px 18px;
  background: rgba(0, 0, 0, .04);
  border-left: 6px solid var(--color-green);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.72;
  color: rgba(0, 0, 0, .88);
}

.blog-block--image {
  margin: 6px 0 10px;
}

.blog-block--image img {
  display: block;
  width: 100%;
  height: auto;
  background: #ddd;
}

.blog-sidebar {
  min-width: 0;
}

.blog-sidebar-title {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
}

.blog-related-list {
  display: grid;
  gap: 18px;
}

.blog-related-card {
  display: grid;
  gap: 10px;
}

.blog-related-image {
  display: block;
  text-decoration: none;
}

.blog-related-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.blog-related-body {
  display: grid;
  gap: 8px;
}

.blog-related-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.blog-related-name a {
  text-decoration: none;
}

.blog-related-name a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-related-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--color-orange);
  color: var(--color-black);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .08em;
  width: fit-content;
}

.blog-related-btn:hover {
  background: var(--color-orange-hover);
}

@media (max-width: 980px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .blog-sidebar {
    max-width: 320px;
  }

  .blog-related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .blog-post-page {
    padding: 6px 0 56px;
  }

  .blog-hero {
    margin: 10px 0 20px;
  }

  .blog-title {
    font-size: clamp(24px, 9vw, 40px);
  }

  .blog-excerpt,
  .blog-block--text,
  .blog-block--quote,
  .blog-block--highlight {
    font-size: 13px;
    line-height: 1.68;
  }

  .blog-related-list {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    max-width: none;
  }
}

.blog-block--source-link {
  margin-top: 14px;
  padding-top: 4px;
}

.blog-block--source-link a {
  color: rgba(0, 0, 0, .88);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.blog-block--source-link a:hover {
  color: var(--color-black);
}

.blog-source-note {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(0, 0, 0, .72);
}

.blog-block--image {
  margin: 32px 0;
  text-align: center;
}

.blog-block--image img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.blog-block--image-triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
  gap: 16px;
  margin: 24px auto; 
  width: calc(100% + 40px);
  margin-left: -40px;
}

.blog-triplet-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; 
  overflow: hidden;
  border-radius: 12px;
}

.blog-triplet-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767.98px) {
  .blog-block--image-triplet {
    grid-template-columns: 1fr;
  }
}

.blog-share-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.blog-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  line-height: 0;
}

.blog-share-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.blog-share-icon:hover {
  color: #111;
}

