.banner-sec {
  width: 100%;
  height: 200px;
  position: relative;
  color: white;
  text-align: center;
  margin-bottom: 40px;
}
.banner-sec .overlay {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #000e1f, rgb(54, 80, 114));
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.banner-sec .header-sec {
  margin: auto;
  width: 100%;
  max-width: 960px;
  padding: 0 1rem;
}
.banner-sec h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.35rem, 3.5vw, 2.25rem);
  font-weight: bold;
  max-width: 100%;
  line-height: 1.25;
}
.banner-sec .banner-subtitle {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  font-family: var(--font-body, "Poppins", sans-serif);
}

.breadcrumbs {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--color-dark); font-weight: 600; }
.breadcrumbs .current { color: var(--color-primary); font-weight: 600; }

.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
}

.blog-post.card,
.blog-sidebar .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  background: #fff;
  overflow: hidden;
}

.blog-post .featured-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

.blog-post .post-body {
  padding: 1.75rem;
}

.blog-post .post-body h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post .post-body h2 {
  font-size: 1.25rem;
  color: var(--color-dark);
  margin: 1.75rem 0 0.75rem;
}

.blog-post .post-body h3,
.blog-post .post-body h6 {
  color: var(--color-dark);
  margin-top: 1.5rem;
}

.blog-post .post-body p,
.blog-post .post-body li {
  line-height: 1.7;
  color: #444;
}

.blog-post .post-body ul {
  padding-left: 1.25rem;
}

.blog-post .post-body blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-primary);
  background: #fafbfd;
}

.blog-post .post-body blockquote p {
  margin-bottom: 0;
  font-style: italic;
}

.blog-post .post-body blockquote footer {
  font-style: normal;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: #666;
}

.blog-post .post-body address {
  font-style: normal;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.blog-post .post-body a {
  color: var(--color-primary);
  font-weight: 600;
}

.seo-last-updated {
  font-size: 0.8rem;
  color: #888;
}

.internal-links,
.external-links {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}

.internal-links ul,
.external-links ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.internal-links li,
.external-links li {
  margin-bottom: 0.5rem;
}

.blog-sidebar .card {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.blog-sidebar .search-box input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

.blog-sidebar .author-photo {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

.blog-sidebar h3 {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.blog-sidebar .posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 520px;
  overflow-y: auto;
}

.blog-sidebar .posts-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.blog-sidebar .posts-list li:last-child {
  border-bottom: none;
}

.blog-sidebar .posts-list a {
  display: block;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.92rem;
  line-height: 1.4;
}

.blog-sidebar .posts-list a:hover {
  color: var(--color-primary);
}

.blog-sidebar .posts-list time {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}

.blog-sidebar .no-results {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

.faq-list {
  margin: 1rem 0 1.5rem;
}

.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.65rem;
  background: #fafbfd;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-dark);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.75rem 0 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991px) {
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }
}
