/* ==========================================================================
   POST-DETAILS CSS - Post Details Page Styling v�i Retail Design System
   ========================================================================== */

/* Post Details Container */
.post-details {
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  margin: 0 auto;
  padding: var(--Space-5, 20px) var(--Space-10, 40px);
}

/* Header Wrapper */
.post-details .wrap-header-post {
  display: flex;
  padding: var(--Space-4, 16px) 0px var(--Space-8, 32px) 0px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--Space-2, 8px);
  align-self: stretch;
}

/* Post Header */
.post-details .wrap-header-post .post-header {
  display: flex;
  padding: var(--Space-3, 12px) 0px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--Space-4, 16px);
  align-self: stretch;
}

.post-details hr {
  display: none;
}

/* Post Title */
.post-details .post-header .text-crimson {
  color: var(--On-background-Brand-Default, #231f20);
  text-align: center;
  /* Title/Serif/Small */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Title-Page-Size-Small, 40px);
  font-style: normal;
  font-weight: var(--Title-Page-Font-Weight, 700);
  line-height: 120%; /* 48px */
  margin-bottom: var(--Space-4, 16px);
}

/* Post Summary */
.post-details .post-header .primary-text.text-secondary {
  color: var(--On-background-Global-Default, #8f888a);
  text-align: center;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Title-Page-Size-Small, 20px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%;
  max-width: 600px;
  margin: 0;
}

/* Post Content */
.post-details .post-content {
  line-height: 1.7;
}

.post-details .post-content p {
  margin-bottom: var(--Space-6, 24px);
  color: var(--On-background-Brand-Default, #231f20);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Title-Page-Size-Small, 20px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%;
}

.post-details .post-content h1,
.post-details .post-content h2,
.post-details .post-content h3,
.post-details .post-content h4,
.post-details .post-content h5,
.post-details .post-content h6 {
  color: var(--On-background-Brand-Default, #231f20);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 130%;
  margin-top: var(--Space-10, 40px);
  margin-bottom: var(--Space-5, 20px);
}

.post-details .post-content h1 {
  font-size: var(--Title-Page-Size-Medium, 48px);
}

.post-details .post-content h2 {
  font-size: var(--Title-Page-Size-Small, 40px);
}

.post-details .post-content h3 {
  font-size: var(--Heading-Size-Large, 32px);
}

.post-details .post-content h4 {
  font-size: var(--Body-Size-Large, 20px);
}

.post-details .post-content ul,
.post-details .post-content ol {
  margin-bottom: var(--Space-6, 24px);
  padding-left: var(--Space-8, 32px);
}

.post-details .post-content li {
  margin-bottom: var(--Space-2, 8px);
  color: var(--On-background-Brand-Default, #231f20);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Large, 20px);
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%;
}

.post-details .post-content strong,
.post-details .post-content b {
  font-weight: var(--Body-Font-Weight-Strong, 600);
}

.post-details .post-content em,
.post-details .post-content i {
  font-style: italic;
}

.post-details .post-content img {
  max-width: 100%;
  height: auto;
  margin: var(--Space-8, 32px) auto;
  display: block;
  border-radius: var(--Radius-sm, 4px);
}

.post-details .post-content blockquote {
  margin: var(--Space-10, 40px) 0;
  padding: var(--Space-6, 24px) var(--Space-8, 32px);
  border-left: 4px solid var(--Background-Brand-Primary, #520f09);
  background: var(--Background-Global-Secondary, #faf5f0);
  font-style: italic;
  color: var(--On-background-Global-Default, #8f888a);
}

.post-details .post-content a {
  color: var(--Background-Brand-Primary, #520f09);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.post-details .post-content a:hover {
  color: var(--Background-Brand-Primary-Hover, #63160f);
}

/* Mobile Responsive */
@media (max-width: 575px) {
  .post-details {
    padding: var(--Space-3, 12px) var(--Space-4, 16px);
  }

  .post-details .wrap-header-post {
    padding: var(--Space-2, 8px) 0px;
  }

  .post-details .wrap-header-post .post-header {
    padding: var(--Space-2, 8px) 0px;
    gap: var(--Space-3, 12px);
  }

  /* Post Title Mobile */
  .post-details .post-header .text-crimson {
    font-size: 20px;
    margin-bottom: var(--Space-3, 12px);
  }

  /* Post Summary Mobile */
  .post-details .post-header .primary-text.text-secondary {
    font-size: var(--Body-Size-Large, 18px);
  }

  .post-details .post-content p,
  .post-details .post-content li {
    font-size: var(--Body-Size-Medium, 18px);
  }

  .post-details .post-content h1 {
    font-size: var(--Title-Page-Size-Small, 32px);
  }

  .post-details .post-content h2 {
    font-size: var(--Title-Page-Size-Small, 28px);
  }

  .post-details .post-content h3 {
    font-size: var(--Title-Page-Size-Small, 24px);
  }

  .post-details .post-content h4 {
    font-size: var(--Body-Size-Medium, 18px);
  }

  .post-details .post-content ul,
  .post-details .post-content ol {
    padding-left: var(--Space-5, 20px);
  }

  .post-details .post-content blockquote {
    margin: var(--Space-6, 24px) 0;
    padding: var(--Space-4, 16px) var(--Space-5, 20px);
  }
}

/* Tablet Responsive */
@media (min-width: 576px) and (max-width: 991px) {
  .post-details {
    padding: var(--Space-4, 16px) var(--Space-5, 20px);
  }

  .post-details .wrap-header-post {
    padding: var(--Space-3, 12px) 0px;
  }

  .post-details .wrap-header-post .post-header {
    padding: var(--Space-3, 12px) 0px;
  }

  /* Post Title Tablet */
  .post-details .post-header .text-crimson {
    font-size: 24px;
  }

  /* Post Summary Tablet */
  .post-details .post-header .primary-text.text-secondary {
    font-size: var(--Body-Size-Large, 18px);
  }

  .post-details .post-content p,
  .post-details .post-content li {
    font-size: var(--Body-Size-Medium, 18px);
  }

  .post-details .post-content h1 {
    font-size: var(--Title-Page-Size-Medium, 40px);
  }

  .post-details .post-content h2 {
    font-size: var(--Title-Page-Size-Small, 32px);
  }

  .post-details .post-content h3 {
    font-size: var(--Heading-Size-Large, 28px);
  }

  .post-details .post-content h4 {
    font-size: var(--Body-Size-Medium, 18px);
  }
}

/* Desktop Responsive */
@media (min-width: 992px) {
  .post-details {
    padding: var(--Space-5, 20px) var(--Space-10, 40px);
  }

  .post-details .wrap-header-post {
    padding: var(--Space-4, 16px) 0px var(--Space-8, 32px) 0px;
  }

  .post-details .wrap-header-post .post-header {
    padding: var(--Space-3, 12px) 0px;
    gap: var(--Space-4, 16px);
  }

  /* Post Title Desktop */
  .post-details .post-header .text-crimson {
    font-size: 32px;
    margin-bottom: var(--Space-4, 16px);
  }

  /* Post Summary Desktop */
  .post-details .post-header .primary-text.text-secondary {
    font-size: var(--Body-Size-Large, 20px);
  }

  .post-details .post-content p,
  .post-details .post-content li {
    font-size: var(--Body-Size-Large, 20px);
  }
}
