/* =================================
   Single Post Template
================================= */

.single-post-content a{
    color:#000;
    text-decoration: underline;
    text-decoration-color:#393939;
}

.social-media-section {
  display: none;
}
.single-post-wrapper {
  background: #fff;
  padding-inline: 20px;
}

.blog-section {
  margin: 0;
  padding: 80px 0;
}

.container {
  padding: 0 20px;
}

/* Banner  */

.single-post-hero {
  position: relative;
  height: 559px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  width: 1200px;
  margin: 0 auto;
  max-width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0b1b3d 0%,
    rgba(11, 27, 61, 0.4) 60%,
    transparent 100%
  );
}

.single-post-hero .container {
  position: relative;
  z-index: 2;
  width: 1200px;
  margin: auto;
  height: 100%;
  padding-bottom: 50px;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.post-title {
  font-size: 55px;
  color: #fff;
  font-weight: 700;
  max-width: 650px;
}

.post-meta {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  color: #fff;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: #8b4513;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
}

/* Featured Image */
.single-post-featured {
  max-width: 1200px;
  max-height: 650px;
  overflow: hidden;
  margin: 0 auto 0px;
  border-radius: 20px;
}

.single-post-featured img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: bottom;
}

/* Layout */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0;
}

/* Main Content */
.single-post-main {
  min-width: 0;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  font-size: 24px;
  margin-bottom: 20px;
}

.single-post-meta img {
  width: 30px;
  height: 30px;
}

.single-post-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 30px;
  line-height: 1.3;
}

.single-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #393939;
  margin-bottom: 50px;
}

.single-post-content p {
  margin-bottom: 20px;
  color: #393939;
}

.single-post-content h2,
.single-post-content h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin: 30px 0 20px;
}

.single-post-content .faq-section h3{
    font-size: 18px;
    position: relative;
    padding-left: 45px;
    margin: 0;
}

.single-post-content h2 {
  font-size: 32px;
}

.single-post-content h3 {
  font-size: 24px;
  position: relative;
  padding-left: 35px;
}

.single-post-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("http://lvsmile.devbuildpro.com/wp-content/uploads/2026/03/Group-100.png")
    no-repeat center/contain;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}

.single-post-content ul,
.single-post-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

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

/* Social Share */
.single-post-share {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 50px;
}

.share-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 18px;
}

.share-icons {
  display: flex;
  gap: 10px;
}

.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: transform 0.3s;
  background: transparent;
  border: 1px solid;
}

.share-icon:hover {
  transform: translateY(-3px);
}

.breadcrumb-wrapper {
  width: 1200px;
  margin: 0 auto;
  padding: 15px 0;
}

#breadcrumbs a {
  text-decoration: none;
  color: #b0b0b0;
  text-transform: lowercase;
  padding: 5px;
}

.breadcrumb_last {
  padding: 5px;
}

/* =================================
   Sidebar
================================= */

.single-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: #fff9f0;
  border-radius: 20px;
  height: fit-content;
}

.toc-widget {
  padding: 30px 30px 0;
}

.widget-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 25px;
}

/* Table of Contents */
.toc-list {
  padding: 0;
  margin: 0;
}

#table-of-contents {
  padding-left: 20px;
  gap: 10px;
  display: grid;
  height: 270px;
  overflow-y: scroll;
}

/* Scrollbar width */
#table-of-contents::-webkit-scrollbar {
  width: 6px;
}

/* Scrollbar track */
#table-of-contents::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Scrollbar handle */
#table-of-contents::-webkit-scrollbar-thumb {
  background: #6b391e;
  border-radius: 10px;
}

/* Scrollbar hover */
#table-of-contents::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#table-of-contents li::marker {
  color: #6b391e;
}

.toc-list li {
  margin-bottom: 12px;
}

.toc-list a {
  color: #393939;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition:
    color 0.3s,
    padding-left 0.3s;
  display: block;
  padding: 4px 0;
}

.toc-list a:hover {
  color: var(--primary-color);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.category-box {
  padding: 15px 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  text-align: center;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 15px;
}

.category-box:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(0, 102, 204, 0.05);
}

/* CTA Widget */
.cta-widget {
  background: #f5f7fb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Top image section */
.cta-image img {
  display: none;
  width: 100%;
  height: 270px;
  object-fit: cover;
}

/* Bottom dark panel */
.cta-bottom {
  background: #14386b; /* dark blue like screenshot */
  padding: 28px 22px 30px;
  text-align: center;
  color: #fff;
}

.cta-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 22px;
  text-transform: uppercase;
}

/* Buttons wrapper */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Base button style */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

/* Left (filled) button */
.cta-btn-primary {
  background: #6b391e; /* orange/brown */
  color: #fff;
}

/* Right (outline) button */
.cta-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* Hover states */
.cta-btn-primary:hover {
  background: #6b391e;
}

.cta-btn-secondary:hover {
  background: #fff;
  color: #fff;
}

/* Mobile tweaks */
@media (max-width: 575px) {
  .cta-title {
    font-size: 20px;
  }

  .cta-btn {
    width: 100%;
  }
}

/* =================================
   Responsive
================================= */

@media (max-width: 1240px) {
  .single-post-featured {
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .single-post-layout {
    grid-template-columns: 1fr;
  }

  .single-post-sidebar {
    order: -1;
  }

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

  .single-post-content {
    font-size: 15px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }
}

.author-box {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
}

.author-image img {
    width:230px;
    height: 230px;
    object-fit: cover;
    border-radius: 6px;
}

.author-content {
    max-width: 650px;
}

.author-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-header h3 {
    font-size: 22px !important;
    color: #273D77;
    font-weight: 700;
    margin: 0;
}

.author-linkedin-wrap {
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
}

.author-connect-text {
    font-size: 16px;
    color: #273D77;
    font-weight: 700;
}

.author-linkedin-icon svg {
    display: block;
}

.author-social {
    color: #2f5ebc;
    text-decoration: none;
    font-weight: 500;
}

.author-bio {
    margin-top: 20px;
    line-height: 1.7;
    color: #555;
    font-size: 17px;
}

.author-read-more {
    display: inline-block;
    font-weight: 500;
    color: #6B391E;
    text-decoration: none;
    margin-top: 13px;
}

.author-read-more:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .author-box {
        flex-direction: column;
    }

    .author-content {
        max-width: 100%;
    }

    .author-header h3 {
        margin-top: 0px;
    }

    .author-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .author-linkedin-wrap {
        margin-top: 6px;
    }
}

@media (max-width: 767px) {
    .author-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .author-connect-text {
        font-size: 14px;
    }

    .author-linkedin-icon svg {
        width: 30px;
        height: 30px;
    }

    .author-header h3 {
        font-size: 28px !important;
    }
}

@media (max-width: 780px) {
    .post-title{
        font-size:40px;
    }
    .single-post-hero .container{
        width: 100%;
    }
    .hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
}
}

@media (max-width: 480px) {
    .author-connect-text {
        display: none;
    }
    .post-title{
        font-size:26px;
    }
}

.faq-wrapper{
display:flex;
flex-direction:column;
gap:20px;
margin-top:40px;
}

.faq-item{
border:1px solid #e6e1da;
border-radius:16px;
overflow:hidden;
background:#fff !important;
}

.faq-question{
display:flex;
justify-content:space-between;
align-items:center;
padding:22px 25px;
cursor:pointer;
font-weight:600;
color:#7b3f1e;
}

.active .faq-question{
    background: #FFF9F0;
    padding-bottom:0;
}

.faq-answer{
display:none;
padding:20px 25px;
background:#FFF9F0;
line-height:1.6;
color: #393939;
}

.faq-item.active .faq-answer{
display:block;
}

.faq-icon{
font-size:20px;
transition:.3s;
}

.faq-item.active .faq-icon{
transform:rotate(45deg);
}


.postid-2131 .sidebar-widget .toc-list, .postid-2133 .sidebar-widget .toc-list, .postid-2138 .sidebar-widget .toc-list {
        list-style: none;
}
