/* ==========================================================
   BLOG POST (SINGLE) PAGE STYLES
   ========================================================== */

/* ============ POST HERO ============ */
.post-hero {
  position: relative;
  background: #f4f7fb;
  padding: 80px 0 110px;
  text-align: center;
  overflow: hidden;
}

.post-title {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 700;
  color: var(--headline);
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto 20px;
}

.post-meta-hero {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  font-size: 14px;
  color: var(--body);
}
.post-meta-hero i {
  color: var(--primary);
  margin-right: 6px;
  font-size: 13px;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
}

/* ============ POST LAYOUT (reuses .blog-layout from blog.css) ============ */
.post-section {
  padding: 60px 0 60px;
}

/* ============ ARTICLE ============ */
.post-article {
  background: var(--white);
}

/* Featured Image */
.post-featured {
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
}
.post-featured img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body Typography */
.post-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
}

.post-body p {
  margin-bottom: 22px;
}

.post-body h2 {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 700;
  color: var(--headline);
  line-height: 1.35;
  margin: 45px 0 20px;
  padding-bottom: 12px;
  position: relative;
}
.post-body h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.post-body h3 {
  font-family: var(--font-secondary);
  font-size: 21px;
  font-weight: 700;
  color: var(--headline);
  line-height: 1.4;
  margin: 32px 0 14px;
}

.post-body strong {
  color: var(--headline);
  font-weight: 700;
}

.post-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.post-body ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15.5px;
  line-height: 1.7;
}
.post-body ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}

.post-body a {
  color: var(--primary);
  text-decoration: underline;
}

/* ============ TAGS ============ */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 45px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.tags-label,
.share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--headline);
  margin-right: 5px;
}
.post-tags a {
  display: inline-block;
  padding: 6px 14px;
  background: #f4f6f9;
  color: var(--headline);
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
}
.post-tags a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============ SHARE ============ */
.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.share-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
  color: var(--headline);
  font-size: 14px;
  transition: var(--transition);
}
.share-icon:hover {
  transform: translateY(-3px);
  color: var(--white);
}
.share-icon.facebook:hover { background: #1877f2; }
.share-icon.twitter:hover  { background: #000; }
.share-icon.linkedin:hover { background: #0a66c2; }
.share-icon.whatsapp:hover { background: #25d366; }

/* ============ AUTHOR BOX ============ */
.author-box {
  display: flex;
  gap: 25px;
  padding: 35px;
  background: #f8fafc;
  border-radius: 10px;
  margin-top: 45px;
}

.author-avatar {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e9f0;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-family: var(--font-secondary);
  font-size: 20px;
  color: var(--headline);
  margin-bottom: 4px;
}
.author-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.author-info p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  margin: 0;
}

/* ============ POST NAVIGATION ============ */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.post-nav-link {
  display: block;
  padding: 22px;
  background: #f8fafc;
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.post-nav-link:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}
.post-nav-link.next { text-align: right; }

.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.post-nav-link h5 {
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 700;
  color: var(--headline);
  line-height: 1.4;
  margin: 0;
}

/* ============ COMMENTS ============ */
.comments-section {
  margin-top: 55px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.comments-section h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  color: var(--headline);
  margin-bottom: 8px;
}

.comments-note {
  font-size: 13.5px;
  color: var(--body);
  font-style: italic;
  margin-bottom: 25px;
}

.comment-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: var(--font-primary);
  color: var(--headline);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.comment-form input { margin-bottom: 18px; }
.comment-form input:last-of-type { margin-bottom: 18px; }
.comment-form textarea {
  resize: vertical;
  min-height: 140px;
  margin-bottom: 20px;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 91, 105, 0.08);
}
.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: #98a2b3;
}

.comment-form .btn { cursor: pointer; border: none; }

/* ============ RELATED POSTS ============ */
.related-posts-section {
  padding: 70px 0 90px;
  background: #f8fafc;
}

.related-title {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 700;
  color: var(--headline);
  text-align: center;
  margin-bottom: 45px;
  position: relative;
  padding-bottom: 15px;
}
.related-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.related-thumb {
  display: block;
  height: 180px;
  overflow: hidden;
  background: #f0f2f5;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.related-card:hover .related-thumb img { transform: scale(1.06); }

.related-content {
  padding: 22px 22px 26px;
}

.related-content .rp-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--body);
  margin-bottom: 12px;
}
.related-content .rp-date i {
  color: var(--primary);
  font-size: 11px;
}

.related-content h4 {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.related-content h4 a {
  color: var(--headline);
  transition: var(--transition);
}
.related-content h4 a:hover { color: var(--primary); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .post-title { font-size: 30px; }
  .post-body h2 { font-size: 24px; }
  .post-body h3 { font-size: 19px; }
}

@media (max-width: 900px) {
  .post-title { font-size: 26px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .post-hero { padding: 60px 0 90px; }
  .post-title { font-size: 22px; }
  .post-meta-hero {
    gap: 15px;
    font-size: 13px;
  }

  .post-section { padding: 40px 0 50px; }
  .post-featured { margin-bottom: 25px; }

  .post-body { font-size: 15px; }
  .post-body h2 { font-size: 21px; margin: 32px 0 14px; }
  .post-body h3 { font-size: 17px; margin: 24px 0 12px; }

  .author-box { flex-direction: column; padding: 25px; }
  .author-avatar { width: 70px; height: 70px; }

  .post-nav { grid-template-columns: 1fr; gap: 15px; }
  .post-nav-link.next { text-align: left; }

  .comments-section h3 { font-size: 20px; }
  .comment-form .form-row-2 { grid-template-columns: 1fr; gap: 0; }

  .related-posts-section { padding: 50px 0 60px; }
  .related-title { font-size: 22px; }
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================
   SIZE UPGRADES — bigger fonts, icons, spacing
   ========================================================== */

/* Page title bigger */
.post-title {
  font-size: 42px !important;
  line-height: 1.25 !important;
}

/* Hero meta bigger */
.post-meta-hero {
  font-size: 15px !important;
  gap: 28px !important;
}
.post-meta-hero i {
  font-size: 14px !important;
  margin-right: 8px !important;
}

/* Body content — bigger, easier to read */
.post-body {
  font-size: 17.5px !important;
  line-height: 1.9 !important;
}

.post-body p {
  margin-bottom: 26px !important;
}

.post-body h2 {
  font-size: 32px !important;
  margin: 50px 0 22px !important;
}

.post-body h3 {
  font-size: 24px !important;
  margin: 36px 0 16px !important;
}

.post-body ul li {
  font-size: 17px !important;
  padding: 10px 0 10px 32px !important;
}

.post-body ul li::before {
  left: 10px !important;
  top: 20px !important;
  width: 8px !important;
  height: 8px !important;
}

.post-body strong {
  font-size: 1.02em !important;
}

/* Tags bigger */
.post-tags a {
  padding: 8px 18px !important;
  font-size: 14px !important;
}

.tags-label,
.share-label {
  font-size: 15px !important;
}

/* Share icons bigger */
.share-icon {
  width: 46px !important;
  height: 46px !important;
  font-size: 17px !important;
}

/* Author box bigger */
.author-avatar {
  width: 100px !important;
  height: 100px !important;
}

.author-info h4 {
  font-size: 22px !important;
}

.author-role {
  font-size: 14px !important;
}

.author-info p {
  font-size: 15.5px !important;
}

/* Post navigation bigger */
.nav-label {
  font-size: 13px !important;
}

.post-nav-link h5 {
  font-size: 17px !important;
}

/* Comments section bigger */
.comments-section h3 {
  font-size: 26px !important;
}

.comments-note {
  font-size: 14.5px !important;
}

.comment-form input,
.comment-form textarea {
  font-size: 15.5px !important;
  padding: 16px 20px !important;
}

.comment-form textarea {
  min-height: 160px !important;
}

/* Comment items bigger */
.comment-avatar {
  width: 54px !important;
  height: 54px !important;
  font-size: 20px !important;
}

.comment-head strong {
  font-size: 16px !important;
}

.comment-body p {
  font-size: 15.5px !important;
}

/* Related posts bigger */
.related-title {
  font-size: 32px !important;
}

.related-content h4 {
  font-size: 17px !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .post-title { font-size: 28px !important; }
  .post-body { font-size: 16px !important; }
  .post-body h2 { font-size: 22px !important; }
  .post-body h3 { font-size: 19px !important; }
  .comments-section h3 { font-size: 21px !important; }
}