/* =============================================
   SINGLE POST DETAIL
   ============================================= */

/* ---------- Page wrapper ---------- */
#single-detail {
  background: #231000;
  padding-bottom: 48px;
}
#single-detail .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- 2-Column Layout ---------- */
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* ---------- Article Card ---------- */
.sp-card {
  background: #381A00;
  border-radius: 14px;
  padding: 26px 20px;
  color: #e0d6cc;
}

.sp-title {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #FFB800;
  margin: 0 0 10px;
  line-height: 1.35;
}

.sp-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: #E6DACD;
  margin-bottom: 0;
}
.sp-meta svg {
  vertical-align: -2px;
  margin-right: 4px;
  color: #97989B;
}
.sp-meta strong {
  color: #FFB800;
}

/* ---------- Content ---------- */
.sp-content {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #e0d6cc;
}
.sp-content p {
  margin-bottom: 16px;
}
.sp-content h2,
.sp-content h3,
.sp-content h4 {
  font-family: 'Manrope', sans-serif;
  color: #FFB800;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
}
.sp-content h2 { font-size: 22px; }
.sp-content h3 { font-size: 18px; }
.sp-content a {
  color: #FFB800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-content a:hover {
  color: #fff;
}
.sp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}
.sp-content ul,
.sp-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.sp-content li {
  margin-bottom: 6px;
}

/* ---------- Sidebar ---------- */
.sp-sidebar {
  position: sticky;
  top: 100px;
}

/* ---------- Related Posts ---------- */
.sp-related {
  margin-top: 40px;
}
.sp-related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sp-related-title {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  color: #FFD24B;
  margin: 0;
}
.sp-related-more {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  color: #E6DACD;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-related-more:hover {
  color: #FFB800;
}

.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sp-rcard {
  background: transparent;
  overflow: hidden;
  text-decoration: none;
}

.sp-rcard-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #2a1200;
  border-radius: 8px;
}
.sp-rcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-rcard-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 10px 0 0;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-rcard-date {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #E6DACD;
  margin-top: 4px;
}
.sp-rcard-date svg {
  vertical-align: -2px;
  margin-right: 4px;
}
.sp-rcard-excerpt {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #E6DACD;
  line-height: 1.5;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .sp-layout {
    grid-template-columns: 1fr;
  }
  .sp-sidebar {
    position: static;
  }
  .sp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sp-title {
    font-size: 20px;
  }
  .sp-card {
    padding: 20px 16px;
    border-radius: 10px;
  }
  .sp-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  .sp-content {
    font-size: 14px;
  }
  .sp-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sp-rcard-title {
    font-size: 13px;
    padding: 8px 10px 4px;
  }
  .sp-rcard-meta {
    padding: 0 10px 10px;
    font-size: 10px;
  }
}
