/**
 * Salkantay Treks Peru - Travel Blog Page Styles
 * Version: 2.0.0
 * Theme: Salkantay Treks Peru
 */

.stp-blog-page {
  background-color: #f8fafc;
  color: #334155;
}

.stp-blog-section {
  padding: 4.5rem 0 6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* --------------------------------------------------------------------------
   1. Featured Article Hero Card (Top of Page 1)
   -------------------------------------------------------------------------- */
.stp-blog-featured-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  margin-bottom: 4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stp-blog-featured-card:hover {
  transform: translateY(-4px);
  border-color: #52b788;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.stp-featured-media {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #0f172a;
}

.stp-featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-blog-featured-card:hover .stp-featured-img {
  transform: scale(1.05);
}

.stp-featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: linear-gradient(135deg, #ffc300 0%, #ffb703 100%);
  color: #081c15;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.stp-featured-body {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.stp-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 650;
  margin-bottom: 1rem;
}

.stp-featured-title {
  font-size: 2rem;
  font-weight: 850;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1.15rem;
  letter-spacing: -0.3px;
}

.stp-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stp-featured-title a:hover {
  color: #2d6a4f;
}

.stp-featured-excerpt {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   2. Toolbar: Section Heading & Category Filters
   -------------------------------------------------------------------------- */
.stp-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.stp-blog-heading {
  margin: 0;
  color: #0f172a;
  font-size: 1.95rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.stp-blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.stp-blog-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 1.15rem;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  background: #ffffff;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.stp-blog-categories a:hover {
  border-color: #2d6a4f;
  color: #2d6a4f;
  background: #f0fdf4;
  transform: translateY(-1px);
}

.stp-blog-categories a.active {
  background: #2d6a4f;
  color: #ffffff !important;
  border-color: #2d6a4f;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.28);
}

/* --------------------------------------------------------------------------
   3. Articles Grid
   -------------------------------------------------------------------------- */
.stp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.stp-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stp-blog-card:hover {
  border-color: #52b788;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  transform: translateY(-4px);
}

.stp-blog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.stp-blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.stp-blog-card:hover .stp-blog-card-media img {
  transform: scale(1.05);
}

.stp-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem 1.6rem 1.8rem;
}

.stp-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
  margin-bottom: 0.85rem;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 650;
}

.stp-blog-card-meta a {
  color: #2d6a4f;
  background: #f0fdf4;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 750;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.stp-blog-card-meta a:hover {
  background: #2d6a4f;
  color: #ffffff;
}

.stp-blog-card-title {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.35;
  color: #0f172a;
}

.stp-blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stp-blog-card-title a:hover,
.stp-blog-card-title a:focus {
  color: #2d6a4f;
}

.stp-blog-card-excerpt {
  flex: 1;
  margin: 0 0 1.35rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.stp-blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d6a4f;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.stp-blog-card-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.stp-blog-card-link:hover {
  color: #1b4332;
  transform: translateX(3px);
}

.stp-blog-card-link:hover i {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. In-Feed Promotional Banner Card
   -------------------------------------------------------------------------- */
.stp-blog-promo-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 3rem 3.5rem;
  color: #ffffff;
  margin: 1.5rem 0;
  box-shadow: 0 20px 45px rgba(8, 28, 21, 0.25);
  position: relative;
  overflow: hidden;
}

.stp-blog-promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.stp-promo-badge {
  display: inline-block;
  background: rgba(255, 195, 0, 0.18);
  color: #ffc300;
  border: 1px solid rgba(255, 195, 0, 0.35);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.stp-promo-title {
  font-size: 1.85rem;
  font-weight: 850;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.3px;
}

.stp-promo-desc {
  font-size: 1.05rem;
  color: #d8f3dc;
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Reusable Gold CTA Button */
.stp-btn-gold {
  background: linear-gradient(135deg, #ffc300 0%, #ffb703 100%);
  color: #081c15 !important;
  font-weight: 850;
  border-radius: 50px;
  padding: 0.85rem 2.25rem;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 183, 3, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.stp-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 183, 3, 0.55);
  color: #081c15 !important;
}

/* --------------------------------------------------------------------------
   5. Pagination
   -------------------------------------------------------------------------- */
.stp-blog-pagination {
  margin-top: 3.5rem;
}

.stp-blog-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
  border: none;
  background: transparent;
  box-shadow: none;
  min-width: auto;
  min-height: auto;
}

.stp-blog-pagination li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stp-blog-pagination li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #d9e2ec;
  border-radius: 50px;
  background: #ffffff;
  color: #334155;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.stp-blog-pagination li .page-numbers.current,
.stp-blog-pagination li a.page-numbers:hover,
.stp-blog-pagination li a.page-numbers:focus {
  border-color: #2d6a4f;
  background: #2d6a4f;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.25);
  transform: translateY(-1px);
}

.stp-blog-pagination li .page-numbers.dots {
  border: none;
  background: transparent;
  color: #94a3b8;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   6. Trek Preparation Kit Download Box
   -------------------------------------------------------------------------- */
.stp-blog-kit-box {
  background: #ffffff;
  border: 2px dashed #a7d7b5;
  border-radius: 22px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  max-width: 860px;
  margin: 4.5rem auto 0;
  box-shadow: 0 10px 30px rgba(45, 106, 79, 0.05);
}

.stp-kit-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #d8f3dc;
  color: #2d6a4f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.stp-kit-title {
  font-size: 1.85rem;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}

.stp-kit-desc {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.stp-kit-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.stp-kit-input {
  flex: 1;
  padding: 0.85rem 1.4rem;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.stp-kit-input:focus {
  background: #ffffff;
  border-color: #2d6a4f;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.stp-kit-btn {
  background: #2d6a4f;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(45, 106, 79, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.stp-kit-btn:hover {
  background: #1b4332;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(45, 106, 79, 0.35);
}

/* --------------------------------------------------------------------------
   7. Empty State
   -------------------------------------------------------------------------- */
.stp-blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  color: #64748b;
  text-align: center;
}

.stp-blog-empty i {
  color: #94a3b8;
  font-size: 2.5rem;
}

.stp-blog-empty p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .stp-blog-section {
    padding: 3.5rem 0 4.5rem;
  }

  .stp-featured-media {
    min-height: 280px;
    height: 280px;
  }

  .stp-featured-body {
    padding: 2.25rem 1.75rem;
  }

  .stp-featured-title {
    font-size: 1.55rem;
  }

  .stp-blog-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .stp-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .stp-blog-promo-card {
    padding: 2.25rem 2rem;
  }

  .stp-promo-desc {
    margin-bottom: 1.5rem;
  }

  .stp-blog-kit-box {
    padding: 2.5rem 1.5rem;
    margin-top: 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .stp-blog-heading {
    font-size: 1.6rem;
  }

  .stp-blog-promo-card {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .stp-promo-desc {
    margin-bottom: 1.5rem;
  }

  .stp-btn-gold {
    width: 100%;
  }

  .stp-kit-form {
    flex-direction: column;
  }

  .stp-kit-btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .stp-blog-grid {
    grid-template-columns: 1fr;
  }

  .stp-featured-title {
    font-size: 1.35rem;
  }

  .stp-featured-excerpt {
    font-size: 0.95rem;
  }

  .stp-blog-card-body {
    padding: 1.25rem;
  }

  .stp-blog-card-title {
    font-size: 1.15rem;
  }

  .stp-kit-title {
    font-size: 1.45rem;
  }
}

/* --------------------------------------------------------------------------
   9. Single Post Styles
   -------------------------------------------------------------------------- */
.stp-single-post-page {
  background-color: #f8fafc;
}

.stp-single-post-page .stp-page-hero {
  --stp-page-hero-min-height: 440px;
  --stp-page-hero-padding: 7.5rem 0 5.5rem;
}

/* Breadcrumbs Component */
.stp-post-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  padding: 0.55rem 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  max-width: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.stp-post-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.stp-post-breadcrumb a:hover {
  color: #2d6a4f;
}

.stp-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 0.72rem;
}

.stp-breadcrumb-current {
  color: #0f172a;
  font-weight: 750;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Author & Sharing Top Meta Bar */
.stp-post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem 0 1.75rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.stp-post-author-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stp-post-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #52b788;
  background: #d8f3dc;
  box-shadow: 0 2px 6px rgba(45, 106, 79, 0.15);
}

.stp-post-author-name {
  font-weight: 850;
  color: #0f172a;
  font-size: 1.02rem;
  line-height: 1.2;
}

.stp-post-date-meta {
  font-size: 0.84rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.stp-share-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stp-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.2s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.stp-share-btn:hover {
  transform: translateY(-3px);
  opacity: 0.95;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
}

.stp-share-wa { background: #25d366; }
.stp-share-fb { background: #1877f2; }
.stp-share-tw { background: #0f172a; }
.stp-share-copy { background: #2d6a4f; cursor: pointer; }

/* Article Container & Rich Content */
.stp-post-article {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3.25rem 3rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.stp-post-article > *:first-child {
  margin-top: 0 !important;
}

.stp-post-article h1 {
  font-size: 1.85rem;
  font-weight: 850;
  color: #0f172a;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  scroll-margin-top: 130px;
  letter-spacing: -0.25px;
}

.stp-post-article h2 {
  font-size: 1.65rem;
  font-weight: 850;
  color: #0f172a;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  scroll-margin-top: 130px;
  letter-spacing: -0.2px;
}

.stp-post-article h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  scroll-margin-top: 130px;
  letter-spacing: -0.15px;
}

.stp-post-article h4,
.stp-post-article h5,
.stp-post-article h6 {
  font-weight: 800;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 130px;
}

.stp-post-article p {
  margin-bottom: 1.45rem;
  color: #475569;
}

.stp-post-article ul {
  list-style-type: disc;
  padding-left: 1.65rem;
  margin-bottom: 1.6rem;
}

.stp-post-article ol {
  list-style-type: decimal;
  padding-left: 1.65rem;
  margin-bottom: 1.6rem;
}

.stp-post-article ul ul {
  list-style-type: circle;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.stp-post-article ol ol {
  list-style-type: lower-alpha;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.stp-post-article li {
  margin-bottom: 0.55rem;
  color: #475569;
}

.stp-post-article li::marker {
  color: #2d6a4f;
  font-weight: 700;
}

.stp-post-article hr {
  border: 0;
  height: 1px;
  background: #e2e8f0;
  margin: 2.5rem 0;
}

.stp-post-article code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.stp-post-article pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 1.35rem 1.6rem;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 2rem 0;
}

.stp-post-article pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.stp-post-article .wp-block-button__link {
  background: #2d6a4f;
  color: #ffffff !important;
  font-weight: 750;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}

.stp-post-article .wp-block-button__link:hover {
  background: #1b4332;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(45, 106, 79, 0.3);
}

.stp-post-article .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.stp-post-article strong {
  color: #0f172a;
  font-weight: 750;
}

.stp-post-article a {
  color: #2d6a4f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.stp-post-article a:hover {
  color: #1b4332;
}

/* Blockquotes */
.stp-post-article blockquote {
  position: relative;
  background: #f0fdf4;
  border-left: 4px solid #2d6a4f;
  padding: 1.6rem 2rem;
  border-radius: 0 16px 16px 0;
  margin: 2.25rem 0;
  font-style: normal;
  color: #1b4332;
  font-size: 1.15rem;
  line-height: 1.75;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.05);
}

.stp-post-article blockquote p:last-child {
  margin-bottom: 0;
}

/* Images, Figures & Alignments */
.stp-post-article img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.stp-post-article figure {
  margin: 2rem 0;
}

.stp-post-article figure img {
  margin: 0;
  display: block;
}

.stp-post-article figcaption {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.65rem;
  font-style: italic;
}

.stp-post-article .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.stp-post-article .alignleft {
  float: left;
  margin: 0.5rem 1.75rem 1.25rem 0;
  max-width: 50%;
}

.stp-post-article .alignright {
  float: right;
  margin: 0.5rem 0 1.25rem 1.75rem;
  max-width: 50%;
}

.stp-post-article .alignwide {
  max-width: 100%;
}

.stp-post-article .alignfull {
  max-width: 100%;
}

/* Tables (Itineraries, Packing, Distance) */
.stp-post-article table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
}

.stp-post-article th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
  padding: 0.9rem 1.15rem;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
}

.stp-post-article td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.stp-post-article tr:last-child td {
  border-bottom: none;
}

.stp-post-article tr:hover td {
  background: #f8fafc;
}

.stp-post-article .wp-block-table {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
}

/* Video Embeds & Iframes */
.stp-post-article iframe,
.stp-post-article .wp-block-embed {
  max-width: 100%;
  border-radius: 14px;
  margin: 2rem 0;
}

.stp-post-article .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
}

.stp-post-article .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
}

/* Gutenberg Galleries */
.stp-post-article .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.stp-post-article .wp-block-gallery .wp-block-image {
  margin: 0;
}

.stp-post-article .wp-block-gallery img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Post Tags */
.stp-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

.stp-post-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.stp-post-tag-item:hover {
  background: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
  transform: translateY(-1px);
}

/* Social Share Card */
.stp-post-share-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.stp-share-label {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Author Bio Box */
.stp-post-author-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem 2.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.stp-author-box-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #d8f3dc;
  background: #d8f3dc;
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.12);
}

.stp-author-box-name {
  font-size: 1.18rem;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.stp-author-box-role {
  font-size: 0.85rem;
  font-weight: 750;
  color: #2d6a4f;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}

.stp-author-box-bio {
  font-size: 0.93rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* Previous / Next Post Navigation */
.stp-post-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stp-post-nav-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.stp-post-nav-card:hover {
  border-color: #52b788;
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.stp-post-nav-card:hover .stp-post-nav-title {
  color: #2d6a4f;
}

.stp-post-nav-card:hover .stp-post-nav-dir i {
  transform: translateX(calc(var(--dir, 1) * 4px));
}

.stp-post-nav-dir {
  font-size: 0.78rem;
  font-weight: 850;
  color: #2d6a4f;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stp-post-nav-dir i {
  transition: transform 0.25s ease;
}

.stp-post-nav-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

/* Sidebar Components */
.stp-post-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Dynamic Table of Contents */
.stp-post-toc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.stp-post-toc-title {
  font-size: 1.1rem;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
}

.stp-post-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

.stp-post-toc-list::-webkit-scrollbar {
  width: 5px;
}

.stp-post-toc-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.stp-post-toc-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.stp-post-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.2s ease;
}

.stp-post-toc-link:hover,
.stp-post-toc-link.active {
  color: #2d6a4f;
  background: #f0fdf4;
  font-weight: 750;
}

.stp-post-toc-link i {
  font-size: 0.72rem;
  margin-top: 4px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.stp-post-toc-link.active i,
.stp-post-toc-link:hover i {
  color: #2d6a4f;
  transform: translateX(2px);
}

/* Sky Lodge Domes Sidebar Promo */
.stp-post-sidebar-promo {
  background: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(8, 28, 21, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stp-post-sidebar-promo::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.stp-post-sidebar-promo h4 {
  font-size: 1.35rem;
  font-weight: 850;
  margin-bottom: 0.65rem;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.stp-post-sidebar-promo p {
  font-size: 0.92rem;
  color: #d8f3dc;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.stp-post-sidebar-promo .stp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.5rem;
}

/* Direct Support / WhatsApp Help Box */
.stp-post-sidebar-support {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.stp-post-sidebar-support strong {
  display: block;
  font-size: 1rem;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.stp-post-sidebar-support p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.stp-btn-whatsapp-lg {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 50px;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.stp-btn-whatsapp-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

/* Popular Trek Categories in Sidebar */
.stp-post-sidebar-cats {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.stp-post-sidebar-cats h5 {
  font-size: 1.05rem;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
}

.stp-sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stp-sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.stp-sidebar-cat-item:hover {
  background: #f0fdf4;
  color: #2d6a4f;
  border-color: rgba(45, 106, 79, 0.15);
  transform: translateX(3px);
}

.stp-sidebar-cat-item.active {
  background: #2d6a4f;
  color: #ffffff;
  font-weight: 750;
}

.stp-sidebar-cat-item.active .badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   10. Related Trekking Guides Cards Section
   -------------------------------------------------------------------------- */
.stp-related-posts-section {
  padding: 5rem 0 5.5rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.stp-related-header {
  margin-bottom: 2.75rem;
}

.stp-related-header-title {
  font-size: 2.15rem;
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0;
  text-wrap: balance;
}

.stp-btn-related-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 750;
  color: #2d6a4f;
  background: #f0fdf4;
  border: 1.5px solid rgba(45, 106, 79, 0.25);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.stp-btn-related-all:hover {
  background: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 106, 79, 0.2);
}

.stp-btn-related-all i {
  transition: transform 0.25s ease;
}

.stp-btn-related-all:hover i {
  transform: translateX(3px);
}

/* Related Card Container */
.stp-post-related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.stp-post-related-card:hover {
  transform: translateY(-7px);
  border-color: #52b788;
  box-shadow: 0 20px 38px -8px rgba(15, 23, 42, 0.11), 0 8px 16px -4px rgba(45, 106, 79, 0.08);
}

/* Card Thumbnail */
.stp-related-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
  background: #e2e8f0;
}

.stp-related-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.stp-related-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-post-related-card:hover .stp-related-card-thumb img {
  transform: scale(1.07);
}

.stp-related-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0) 45%, rgba(15, 23, 42, 0.45) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.stp-post-related-card:hover .stp-related-card-overlay {
  opacity: 0.85;
}

/* Category Badge (Glassmorphism Pill) */
.stp-related-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 750;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.stp-related-card-badge:hover {
  background: #2d6a4f;
  border-color: #52b788;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Reading Time Badge */
.stp-related-card-time {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stp-related-card-time i {
  color: #2d6a4f;
}

/* Card Body */
.stp-related-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.55rem 1.6rem 1.65rem;
}

.stp-related-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

/* Card Title */
.stp-related-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.35;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stp-related-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.stp-related-card-title a:hover,
.stp-post-related-card:hover .stp-related-card-title a {
  color: #2d6a4f;
}

/* Excerpt */
.stp-related-card-excerpt {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Footer & Action Link */
.stp-related-card-footer {
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.stp-related-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d6a4f;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.stp-related-card-link i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.stp-related-card-link:hover,
.stp-post-related-card:hover .stp-related-card-link {
  color: #1b4332;
}

.stp-post-related-card:hover .stp-related-card-link i {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .stp-post-article {
    padding: 2.25rem 1.75rem;
  }
  .stp-post-sidebar {
    position: static;
    margin-top: 3rem;
  }
  .stp-post-nav-grid {
    grid-template-columns: 1fr;
  }
  .stp-related-posts-section {
    padding: 3.75rem 0 4.25rem;
  }
  .stp-related-header {
    margin-bottom: 2rem;
  }
  .stp-related-header-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 575.98px) {
  .stp-post-article {
    padding: 1.75rem 1.25rem;
    font-size: 1.025rem;
  }
  .stp-post-article h2 {
    font-size: 1.35rem;
  }
  .stp-post-author-box {
    flex-direction: column;
    text-align: center;
  }
  .stp-related-posts-section {
    padding: 3rem 0 3.5rem;
  }
  .stp-related-header-title {
    font-size: 1.55rem;
  }
  .stp-related-card-body {
    padding: 1.25rem 1.25rem 1.4rem;
  }
  .stp-btn-related-all {
    width: 100%;
    justify-content: center;
  }
}

