/* ==================================================
   Single Post Detail Styles
   ================================================== */
.single-detail {
  width: 100%;
  position: relative;
  background-color: #f7f9fa;
  padding-bottom: 5rem;
}

.section-banner {
  width: 100%;
  max-height: 38rem;
  overflow: hidden;
  position: relative;
}

.section-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-article {
  max-width: 75rem;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .section-article {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.section-article__sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-article__date {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.section-article__share {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-article__share-label {
  font-size: 0.875rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.section-article__share-icons {
  display: flex;
  gap: 0.75rem;
}

.section-article__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.section-article__share-link:hover {
  background: #13355a;
  border-color: #13355a;
}

.section-article__share-link:hover img {
  filter: brightness(0) invert(1);
}

.section-article__main {
  background: #fff;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 639px) {
  .section-article__main {
    padding: 1.5rem;
  }
}

.section-article__title {
  font-family: "SVN-Butler", serif;
  font-size: 2.5rem;
  line-height: 1.3;
  color: #13355a;
  margin-bottom: 2rem;
  font-weight: 300;
}

@media (max-width: 639px) {
  .section-article__title {
    font-size: 1.75rem;
  }
}

/* TOC */
.section-article__toc {
  background: #f0f4f8;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  border-left: 4px solid #13355a;
}

.section-article__toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-article__toc-label {
  font-weight: 600;
  color: #13355a;
  font-size: 1.1rem;
}

.section-article__toc-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.section-article__toc-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-article__toc-list a {
  color: #2b6cb0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.section-article__toc-list a:hover {
  color: #13355a;
  text-decoration: underline;
}

/* Entry Content */
.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #334155;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2 {
  font-family: "SVN-Butler", serif;
  font-size: 1.75rem;
  color: #13355a;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.entry-content h3 {
  font-family: "SVN-Butler", serif;
  font-size: 1.35rem;
  color: #13355a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.entry-content blockquote {
  border-left: 4px solid #13355a;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #475569;
}

.section-article__separator {
  border: 0;
  height: 1px;
  background: #e2e8f0;
  margin: 3rem 0 1.5rem;
}

.section-article__meta {
  font-size: 0.95rem;
  color: #64748b;
}

/* Section Related */
.section-related {
  max-width: 75rem;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}

.section-related__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-related__title {
  font-family: "SVN-Butler", serif;
  font-size: 2rem;
  color: #13355a;
  margin: 0;
  font-weight: 300;
}

.section-related__arrows {
  display: flex;
  gap: 0.75rem;
}

.section-related__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #13355a;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.section-related__arrow:hover {
  opacity: 0.85;
}

/* Post card styling */
.post-card {
  display: block;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-card__image-wrapper {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__image {
  transform: scale(1.05);
}

.post-card__content {
  padding: 1.25rem;
}

.post-card__title {
  font-family: "SVN-Butler", serif;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #13355a;
  margin: 0;
  font-weight: 400;
}

.post-card__date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(19, 53, 90, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
}

.post-card__date-day {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.post-card__date-month {
  display: block;
  font-size: 0.7rem;
  opacity: 0.9;
}
