/* Blog article + category styling (kept out of style.css) */

/* Shared background + container sizing */
body.single-post,
body.category {
  background: #f6f8fb;
}

/* 
.single-post .ota-container,
.category .ota-container {
} */

/* Single post hero - similar feel to home featured card */
.single-post .entry-header--hero {
  margin-bottom: 26px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
}

.single-post .entry-hero {
  position: relative;
  min-height: 360px;
  background: #0f172a;
}

.single-post .entry-hero__image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.single-post .entry-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.82));
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
}

.single-post .entry-hero__content {
  max-width: 640px;
  color: #e5e7eb;
}

.single-post .entry-header .post-category {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(248, 250, 252, 0.14);
  color: #e5e7eb;
  margin-bottom: 10px;
}

.single-post .entry-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: #f9fafb;
  margin: 0 0 16px;
  font-weight: 700;
}

.single-post .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #e5e7eb;
}

.single-post .entry-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.single-post .entry-meta__author img {
  border-radius: 999px;
}

.single-post .entry-meta .meta-separator {
  opacity: 0.7;
}

/* Article body */
.single-post .entry-content {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.single-post .entry-content p {
  color: #0f172a;
  line-height: 1.8;
  font-size: 16px;
  margin: 0 0 16px;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
  color: #0f172a;
  margin: 28px 0 12px;
  font-weight: 700;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 0 0 18px 22px;
  color: #0f172a;
  line-height: 1.75;
}

.single-post .entry-content li {
  margin-bottom: 10px;
}

.single-post .entry-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: #f3f6ff;
  border-left: 4px solid #6b8bff;
  color: #0f172a;
  border-radius: 12px;
}

.single-post .entry-content img {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  height: auto;
}

.single-post .entry-content figure {
  text-align: center;
}

.single-post .entry-footer {
  margin-top: 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* Layout: TOC left, content right (desktop) */
.single-post .blog-layout {
  margin: 32px 32px;
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.single-post .blog-toc {
  position: sticky;
  top: 96px;
}

.single-post .blog-toc__inner {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.single-post .blog-toc__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.single-post .blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-post .blog-toc__item a {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.single-post .blog-toc__item a:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.single-post .blog-toc__item--h3 a {
  padding-left: 16px;
  font-size: 13px;
}

.single-post .blog-toc__empty {
  font-size: 13px;
  color: #9ca3af;
}

.single-post .blog-article {
  scroll-margin-top: 96px;
}

/* Related posts */
.single-post .blog-related {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.single-post .blog-related__title {
  margin: 0 0 16px;
  font-size: 18px;
  color: #0f172a;
}

.single-post .blog-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.single-post .blog-related__item {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.single-post .blog-related__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
}

.single-post .blog-related__thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.single-post .blog-related__content {
  padding: 12px 14px 14px;
}

.single-post .blog-related__post-title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #111827;
  line-height: 1.35;
}

.single-post .blog-related__meta {
  font-size: 13px;
  color: #6b7280;
}

/* Previous / Next navigation below article */
.single-post .post-navigation {
  margin: 28px 0 8px;
  padding: 12px 4px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.single-post .post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.single-post .post-navigation a {
  color: #1d4ed8;
  text-decoration: none;
}

.single-post .post-navigation a:hover {
  text-decoration: underline;
}

.single-post .post-navigation .nav-subtitle {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 2px;
}

.single-post .post-navigation .nav-title {
  font-weight: 500;
  color: #111827;
}

/* Comment form styling - reuse booking form input look */
.single-post #respond.comment-respond {
  margin: 32px 32px;
  padding: 24px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.single-post #respond .comment-reply-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.single-post #respond .comment-form p {
  margin-bottom: 16px;
}

.single-post #respond .comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.single-post #respond .comment-form input[type="text"],
.single-post #respond .comment-form input[type="email"],
.single-post #respond .comment-form input[type="url"],
.single-post #respond .comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid rgb(var(--border, 229 231 235));
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.single-post #respond .comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.single-post #respond .comment-form input[type="text"]:focus,
.single-post #respond .comment-form input[type="email"]:focus,
.single-post #respond .comment-form input[type="url"]:focus,
.single-post #respond .comment-form textarea:focus {
  outline: none;
  border-color: rgb(var(--primary, 59 130 246));
  box-shadow: 0 0 0 3px rgba(var(--primary, 59 130 246), 0.2);
  background-color: #ffffff;
}

.single-post #respond .comment-form .comment-notes,
.single-post #respond .comment-form .logged-in-as {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.single-post #respond .comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
}

.single-post #respond .comment-form .comment-form-cookies-consent input[type="checkbox"] {
  width: auto;
}

.single-post #respond .comment-form input[type="submit"],
.single-post #respond .comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: rgb(var(--primary, 59 130 246));
  color: rgb(var(--background, 255 255 255));
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(var(--primary, 59 130 246), 0.4);
}

.single-post #respond .comment-form input[type="submit"]:hover,
.single-post #respond .comment-form .submit:hover {
  background: rgb(var(--secondary, 234 179 8));
  box-shadow: 0 6px 20px rgba(var(--primary, 59 130 246), 0.45);
  transform: translateY(-1px);
}

.single-post #respond .comment-form input[type="submit"]:active,
.single-post #respond .comment-form .submit:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(var(--primary, 59 130 246), 0.35);
}
.dv-page-blog__link{
  text-decoration: none !important;
}

/* Category layout */
/* .category .blog-header {
  background: linear-gradient(135deg, #e8f0ff, #f4e9ff);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  margin-bottom: 26px;
} */

/* .category .blog-title {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 36px);
} */

/* .category .category-nav .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
} */

/* .category .category-nav .category-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
} */

/* .category .category-nav .category-tabs a:hover {
  border-color: #6b8bff;
  color: #1e3a8a;
}

.category .category-nav .category-tabs .active {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
} */

/* .category .blog-featured-section {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 18px;
  margin-bottom: 28px;
} */

/* .category .featured-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgb(var(--background));
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
} */

.dv-page-blog__post-title a {
  color: inherit;
  text-decoration: none !important;
}

.dv-page-blog__post-title a:hover {
  text-decoration: none !important;
  color: #1d4ed8;
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .single-post .blog-layout {
    max-width: 100vw !important;
    grid-template-columns: 1fr;
    margin: 24px 0;
  }

  .single-post .blog-toc {
    max-width: 90vw !important;
    position: static;
    order: -1;
    margin: 0 auto;
  }

  .single-post .entry-hero__overlay {
    padding: 22px 20px;
  }
}

@media (max-width: 680px) {
  .single-post .entry-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .single-post .entry-hero {
    min-height: 260px;
  }

  .single-post .entry-hero__image img {
    max-height: 320px;
  }

  .single-post .entry-hero__overlay {
    align-items: flex-end;
    padding: 18px 16px 20px;
  }

  .single-post .entry-title {
    font-size: 24px;
  }

  .single-post .entry-content {
    padding: 10px 5px;
    max-width: 98vw !important;
    margin: 0 auto;
  }

  .single-post .blog-toc__inner {
    padding: 14px 12px;
  }
  .single-post #respond.comment-respond {
    margin: 24px 0;
  }
}