.hd-post-page {
  background:
    radial-gradient(circle at top left, rgba(214, 176, 73, 0.08), transparent 24%),
    linear-gradient(180deg, #140b08 0%, #100805 100%);
  color: #f5e7d8;
}

.hd-post-shell,
.hd-post-shell--narrow {
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
}

.hd-post-shell--narrow {
  width: min(920px, calc(100% - 64px));
}

.hd-post-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 720px);
}

.hd-post-hero__media,
.hd-post-hero__overlay {
  position: absolute;
  inset: 0;
}

.hd-post-hero__media {
  overflow: hidden;
  background: #120906;
}

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

.hd-post-hero__overlay {
  background:
    linear-gradient(180deg, rgba(10, 6, 5, 0.44) 0%, rgba(10, 6, 5, 0.2) 24%, rgba(10, 6, 5, 0.76) 100%);
}

.hd-post-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding: clamp(108px, 12vw, 156px) 0 clamp(48px, 6vw, 76px);
}

.hd-post-hero__copy {
  max-width: 900px;
}

.hd-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 20px;
}

.hd-post-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(245, 231, 216, 0.92);
  background: rgba(50, 32, 24, 0.68);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hd-post-title {
  margin: 0;
  color: #f6eedb;
  font-family: var(--hd-font-family-ko);
  font-size: clamp(40px, 4.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hd-post-content-wrap {
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 108px);
}

.hd-post-content {
  color: rgba(245, 231, 216, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

.hd-post-content > *:first-child {
  margin-top: 0;
}

.hd-post-content > *:last-child {
  margin-bottom: 0;
}

.hd-post-content h2,
.hd-post-content h3,
.hd-post-content h4 {
  margin: 56px 0 18px;
  color: #fbf4e7;
  font-family: var(--hd-font-family-ko);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.hd-post-content h2 {
  font-size: clamp(28px, 2vw, 40px);
}

.hd-post-content h3 {
  font-size: clamp(24px, 1.5vw, 32px);
}

.hd-post-content p,
.hd-post-content ul,
.hd-post-content ol,
.hd-post-content blockquote,
.hd-post-content figure,
.hd-post-content table {
  margin: 0 0 24px;
}

.hd-post-content ul,
.hd-post-content ol {
  padding-left: 1.4em;
}

.hd-post-content li + li {
  margin-top: 10px;
}

.hd-post-content a,
.hd-post-content a:visited {
  color: #d7b243;
}

.hd-post-content blockquote {
  padding: 24px 26px;
  border-left: 3px solid rgba(215, 178, 67, 0.72);
  border-radius: 18px;
  background: rgba(53, 35, 26, 0.68);
}

.hd-post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

.hd-post-content .wp-block-image img,
.hd-post-content .wp-block-post-featured-image img {
  width: 100%;
}

.hd-post-content figure {
  overflow: hidden;
  border-radius: 22px;
}

.hd-post-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(53, 35, 26, 0.68);
}

.hd-post-content th,
.hd-post-content td {
  padding: 14px 16px;
  border: 1px solid rgba(245, 231, 216, 0.08);
  text-align: left;
}

.hd-post-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.hd-post-pagination:empty {
  display: none;
}

body.hd-theme .hd-post-pagination__link,
body.hd-theme .hd-post-pagination__link:visited {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 24px 24px 26px;
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  background: rgba(53, 35, 26, 0.72);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
  transition:
    transform 220ms ease,
    color 220ms ease,
    background-color 220ms ease;
}

body.hd-theme .hd-post-pagination__link:hover,
body.hd-theme .hd-post-pagination__link:focus-visible {
  transform: translateY(-3px);
  color: #d7b243;
}

.hd-post-pagination__eyebrow {
  color: rgba(215, 178, 67, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hd-post-pagination__link strong {
  color: #fbf4e7;
  font-size: clamp(20px, 1.25vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .hd-post-shell,
  .hd-post-shell--narrow {
    width: min(100% - 28px, 1380px);
  }

  .hd-post-hero {
    min-height: 360px;
  }

  .hd-post-hero__inner {
    padding: 96px 0 34px;
  }

  .hd-post-title {
    font-size: clamp(32px, 9vw, 52px);
    line-height: 1.02;
  }

  .hd-post-content {
    font-size: 16px;
    line-height: 1.82;
  }

  .hd-post-content-wrap {
    padding: 38px 0 72px;
  }

  .hd-post-pagination {
    grid-template-columns: 1fr;
  }
}
