/* =====================================================
   post.css — Maris Vlora Boat Tours
   Blog post pages. Requires shared.css.
   ===================================================== */

/* ── HERO ── */
.post-hero {
   position: relative;
  min-height: 480px;
  height: auto;
  overflow: hidden;
}


.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.2) 0%, rgba(13,27,42,0.78) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 52px;
  padding-top: calc(var(--nav-h) + 24px);
}

.post-breadcrumb a,
.post-breadcrumb span {
  color: rgba(255,255,255,0.68) !important;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.post-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--orange);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
}

.post-read-time,
.post-date {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

.post-title {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 820px;
}

.post-intro {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 660px;
}

/* ── BODY LAYOUT ── */
.post-body {
  background: var(--cream);
  padding: 56px 0 72px;
}

.post-body-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* ── ARTICLE CONTENT ── */
.post-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.post-content h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin: 36px 0 14px;
  line-height: 1.25;
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 10px;
}

.post-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.post-content p strong {
  color: var(--navy);
  font-weight: 700;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.post-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}

.post-content a:hover {
  color: var(--teal-mid);
}

.post-content ul,
.post-content ol {
  margin: 12px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.post-divider {
  border: none;
  border-top: 2px solid var(--gray-100);
  margin: 36px 0;
}

.post-tour-card .btn-primary {
  color: var(--white) !important;
}

/* Tour cards inside post */
.post-tour-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--cream);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 20px 0 32px;
  flex-wrap: wrap;
}

.post-tour-card--evening {
  background: var(--sunset-light);
  border-color: var(--sunset);
}

.post-tour-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-tour-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--teal);
  background: var(--teal-light);
  padding: 2px 8px;
  border-radius: 20px;
  width: fit-content;
}

.post-tour-tag--evening {
  color: var(--sunset-dark);
  background: rgba(255,179,71,0.2);
}

.post-tour-card-body strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.post-tour-card-body span {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ inside post */
.post-faq {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 2px solid var(--gray-100);
}

.post-faq h2 {
  margin-top: 0 !important;
}

.post-faq .faq-list {
  margin-top: 16px;
}

.post-faq .faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.post-faq .faq-item:last-child {
  border-bottom: none;
}

.post-faq .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  gap: 12px;
  transition: color var(--dur) var(--ease);
  line-height: 1.4;
}

.post-faq .faq-q:hover {
  color: var(--orange);
}

.post-faq .faq-chev {
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
  color: var(--text-muted);
}

.post-faq .faq-q[aria-expanded="true"] .faq-chev {
  transform: rotate(180deg);
}

.post-faq .faq-a {
  padding: 0 0 14px;
}

.post-faq .faq-a p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── SIDEBAR ── */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.post-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.post-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 12px;
}

/* TOC */
.post-toc nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-toc nav a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  line-height: 1.4;
}

.post-toc nav a:hover {
  background: var(--orange-light);
  color: var(--orange);
}

/* CTA card */
.post-sidebar-cta {
  background: var(--navy);
}

.post-sidebar-cta h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.post-sidebar-cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}

.post-sidebar-btn {
  width: 100%;
  justify-content: center;
}

/* Related posts */
.post-related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.post-related-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
  transition: opacity var(--dur) var(--ease);
}

.post-related-item:hover {
  opacity: 0.8;
}

.post-related-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.post-related-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-related-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--orange);
}

.post-related-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .post-body-inner {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
    top: auto;
  }

  .post-sidebar .post-toc {
    display: none;
  }
}

@media (max-width: 768px) {
  .post-hero {
    min-height: 400px;
    height: auto;
  }

  .post-body {
    padding: 32px 0 48px;
  }

  .post-content {
    padding: 28px 20px;
  }

  .post-tour-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .post-tour-card .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .post-hero {
    min-height: 340px;
    height: auto;
  }

  .post-content {
    padding: 22px 16px;
  }
}



.post-toc-mobile {
  display: none;
  background: var(--cream);
  padding: 28px 0 8px;
}

@media (max-width: 1024px) {
  .post-toc-mobile {
    display: block;
  }
}

.post-toc-mobile .post-sidebar-label {
  color: var(--teal);
  margin-bottom: 12px;
}

.post-toc-mobile nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-toc-mobile nav a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--dur) var(--ease);
}

.post-toc-mobile nav a:hover {
  color: var(--orange);
}