/* Blog single post */
.singlepost {
  padding: 2rem 0 3rem;
  background: #f8fafb;
}

.singlepost .post-header {
  margin-bottom: 1.75rem;
}

.singlepost .post-header h1 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #1f2132;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.singlepost .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: #5c6570;
}

.singlepost .post-meta .post-category {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: #e8f4fc;
  color: #0878ae;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.singlepost .post-meta .post-category:hover {
  background: #0878ae;
  color: #fff;
}

.singlepost .post-meta time i,
.singlepost .post-meta span i {
  margin-right: 0.35rem;
  color: #2894ff;
}

.singlepost .post-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.singlepost .post-author .pro-pic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #e8ecef;
  object-fit: cover;
  flex-shrink: 0;
}

.singlepost .post-author .author-name {
  font-weight: 600;
  color: #1f2132;
  text-decoration: none;
}

.singlepost .post-author .author-name:hover {
  color: #0878ae;
}

.singlepost .post-author .author-label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.15rem;
}

.singlepost .post-hero {
  margin: 0 0 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 33, 50, 0.1);
}

.singlepost .post-hero img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin: 0;
}

.singlepost .post-body {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.singlepost .actual-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

.singlepost .actual-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.singlepost .actual-content h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
  color: #2894ff;
  font-weight: 700;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #e8f4fc;
}

.singlepost .actual-content h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
  color: #1f2132;
  font-weight: 600;
}

.singlepost .post-cta.makeinquiry {
  padding: 1.5rem 1.25rem;
  background: linear-gradient(135deg, #e8f6fc 0%, #d4ebf7 100%);
  border: 1px solid #b8d9ee;
  border-radius: 12px;
  text-align: center;
  margin: 1.75rem 0;
}

.singlepost .post-cta.makeinquiry h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2132;
  margin-bottom: 1rem;
}

.singlepost .post-cta.makeinquiry .btn-success {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.singlepost .post-cta.makeinquiry .cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #25d366;
  font-weight: 600;
  text-decoration: none;
}

.singlepost .post-cta.makeinquiry .cta-whatsapp:hover {
  color: #1a9e4a;
}

.singlepost .post-toc.accordion {
  margin: 1.5rem 0;
  border: 1px solid #e8ecef;
  border-radius: 10px;
  overflow: hidden;
}

.singlepost .post-toc .accordion-button {
  background: #f0f7fb;
  color: #1f2132;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.15rem;
  box-shadow: none;
}

.singlepost .post-toc .accordion-button:not(.collapsed) {
  background: #0878ae;
  color: #fff;
}

.singlepost .post-toc .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.singlepost .post-toc .accordion-body {
  padding: 0;
}

.singlepost .toc-container {
  padding: 1rem 1.15rem;
  background: #fafbfc;
  border: none;
  margin: 0;
}

.singlepost .toc-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.singlepost .toc-container li {
  display: block;
  padding: 0.35rem 0;
}

.singlepost a.toc-link {
  color: #0878ae;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.singlepost a.toc-link:hover {
  color: #1f2132;
}

.singlepost .toc-list li a {
  position: relative;
  padding-left: 1.75rem;
  display: block;
  line-height: 1.5;
}

.singlepost .toc-list li a::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.65rem;
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  background: #e8f4fc;
  color: #0878ae;
  left: 0;
  position: absolute;
  top: 0.15rem;
}

.singlepost .comment-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8ecef;
}

.singlepost .comment-section > h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2132;
  margin-bottom: 1rem;
}

.singlepost .comment-card {
  background: #f8fafb;
  border: 1px solid #e8ecef;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.singlepost .comment-card .comment-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2132;
  margin: 0.75rem 0 0;
}

.singlepost .comment-card .comment-author i {
  margin-right: 0.4rem;
  color: #0878ae;
}

.singlepost .comment-form .form-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #444;
}

.singlepost .comment-form .form-control {
  border-radius: 6px;
  border-color: #dde2e6;
}

.singlepost .comment-form .form-control:focus {
  border-color: #0878ae;
  box-shadow: 0 0 0 0.2rem rgba(8, 120, 174, 0.15);
}

.singlepost .post-sidebar .info-box {
  padding: 1.35rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e8ecef;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.singlepost .post-sidebar .sec-ttl {
  display: inline-block;
  font-size: 0.85rem;
  background: #1f2132;
  padding: 0.35rem 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 50px;
}

.singlepost .post-sidebar .sect-ttl2 {
  font-size: 1.15rem;
  color: #1f2132;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8f4fc;
}

.singlepost .post-sidebar .blog-post-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.singlepost .post-sidebar .blog-post-item:last-child {
  border-bottom: none;
}

.singlepost .post-thumb {
  width: 90px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  max-width: 90px;
}

.singlepost .post-sidebar .blog-ttl h5 {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.singlepost .post-sidebar .blog-ttl h5 a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

.singlepost .post-sidebar .blog-ttl h5 a:hover {
  color: #0878ae;
}

.singlepost .btn-wap {
  background: #25d366;
  color: #fff;
  border: 1px solid #219c4e;
  transition: 0.3s;
}

.singlepost .btn-wap:hover {
  background: #219c4e;
  color: #fff;
}

.singlepost textarea {
  resize: none;
}

.singlepost .error {
  color: #a83248;
  font-size: 0.87em;
}

.singlepost #loader,
.singlepost #inquiry-loader {
  display: none;
}

.singlepost .btn-fixed {
  position: fixed;
  left: 0;
  top: 300px;
  z-index: 100;
}

@media (max-width: 991.98px) {
  .singlepost .post-body {
    padding: 1.25rem;
  }

  .singlepost .post-sidebar .sticky-top {
    position: relative !important;
    top: 0 !important;
  }
}

@media (max-width: 1023px) {
  .singlepost .btn-fixed {
    display: none;
  }
}
