.single-post {
  background: #ffffff;
}

.single-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (max-width: 768px) {
  .single-hero {
    min-height: 320px;
  }
}
.single-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 24, 14, 0.88) 0%, rgba(10, 24, 14, 0.45) 55%, rgba(10, 24, 14, 0.18) 100%);
}
.single-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 56px 0 52px;
}
.single-hero__content .container {
  max-width: 860px;
}
.single-hero__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(38, 75%, 55%);
  margin-bottom: 14px;
}
.single-hero__title {
  font-family: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 24px;
}
.single-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}
.single-hero__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.single-hero__meta span svg {
  width: 14px;
  height: 14px;
}

.single-hero--no-image {
  min-height: auto;
  background: linear-gradient(to right, hsl(152, 50%, 12%) 0%, hsl(152, 42%, 24%) 45%, hsl(148, 35%, 34%) 100%);
  padding: 72px 0 64px;
}
.single-hero--no-image .single-hero__overlay {
  display: none;
}

.single-content {
  padding: 64px 0;
}
.single-content .container {
  max-width: 760px;
}
.single-content .entry-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 48px;
  margin-bottom: 20px;
}
.single-content .entry-content h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: hsl(38, 75%, 55%);
  margin-top: 12px;
}
.single-content .entry-content h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin-top: 36px;
  margin-bottom: 14px;
}
.single-content .entry-content p {
  margin-bottom: 22px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(150, 10%, 38%);
}
.single-content .entry-content ul, .single-content .entry-content ol {
  margin-bottom: 22px;
  padding-left: 22px;
}
.single-content .entry-content ul li, .single-content .entry-content ol li {
  font-size: 1.0625rem;
  color: hsl(150, 10%, 38%);
  line-height: 1.7;
  margin-bottom: 8px;
}
.single-content .entry-content ul li {
  list-style: disc;
}
.single-content .entry-content ol li {
  list-style: decimal;
}
.single-content .entry-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid hsl(38, 75%, 55%);
  background: hsl(40, 20%, 97%);
  border-radius: 0 4px 4px 0;
}
.single-content .entry-content blockquote p {
  font-family: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, serif;
  font-size: 1.1875rem;
  font-style: italic;
  color: hsl(150, 20%, 12%);
  margin-bottom: 0;
}
.single-content .entry-content img {
  border-radius: 10px;
  margin: 32px auto;
  width: 100%;
  object-fit: cover;
}
.single-content .entry-content a {
  color: hsl(148, 30%, 40%);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-content .entry-content a:hover {
  color: hsl(152, 42%, 24%);
}
.single-content .entry-content strong {
  font-weight: 600;
  color: hsl(150, 20%, 12%);
}
.single-content .entry-content hr {
  border: none;
  border-top: 1px solid hsl(40, 15%, 88%);
  margin: 40px 0;
}
.single-content .entry-content .wp-block-image figcaption {
  text-align: center;
  font-size: 0.8125rem;
  color: hsl(150, 5%, 56%);
  font-style: italic;
  margin-top: 10px;
}

.single-share {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid hsl(40, 15%, 88%);
  flex-wrap: wrap;
}
.single-share__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(150, 20%, 12%);
}
.single-share__links {
  display: flex;
  gap: 8px;
}
.single-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid hsl(40, 15%, 88%);
  color: hsl(150, 10%, 38%);
  transition: all 0.2s ease;
}
.single-share a svg {
  width: 16px;
  height: 16px;
}
.single-share a:hover {
  background: hsl(152, 42%, 24%);
  border-color: hsl(152, 42%, 24%);
  color: #ffffff;
}

.single-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.single-tags__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(150, 20%, 12%);
}

.single-related {
  background: hsl(40, 20%, 97%);
  padding: 64px 0;
}
.single-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .single-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .single-related__grid {
    grid-template-columns: 1fr;
  }
}
.single-related .section-header {
  margin-bottom: 0;
  text-align: left;
}
.single-related .section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.single-related .section-header h2::after {
  margin-left: 0;
}

.single-author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: hsl(40, 20%, 97%);
  border-radius: 10px;
  margin-top: 40px;
}
@media (max-width: 580px) {
  .single-author {
    flex-direction: column;
  }
}
.single-author__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: hsl(40, 15%, 88%);
}
.single-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-author__info {
  flex: 1;
}
.single-author__name {
  font-family: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(150, 20%, 12%);
  margin-bottom: 6px;
}
.single-author__bio {
  font-size: 0.875rem;
  color: hsl(150, 10%, 38%);
  line-height: 1.6;
  margin-bottom: 0;
}

.single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid hsl(40, 15%, 88%);
}
@media (max-width: 580px) {
  .single-nav {
    grid-template-columns: 1fr;
  }
}
.single-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1.5px solid hsl(40, 15%, 88%);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.single-nav__item--next {
  text-align: right;
  align-items: flex-end;
}
.single-nav__item:hover {
  border-color: rgba(71.4, 132.6, 99.96, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.single-nav__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(150, 5%, 56%);
}
.single-nav__title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(150, 20%, 12%);
  line-height: 1.4;
}
