/* =========================================
   BLOG DETAIL PAGE — blog-detail.css
   Sidebar layout matching reference image
   ========================================= */

:root {
  --bd-blue: #00a5ea;
  --bd-blue-dark: #0088c4;
  --bd-dark: #1a1a1a;
  --bd-text: #333;
  --bd-muted: #666;
  --bd-bg: #f5f5f5;
  --bd-white: #ffffff;
  --bd-border: #e5e9f0;
  --bd-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  --bd-radius: 4px;
}

/* ─── Page shell ─── */
.bd-page {
  background: var(--bd-bg);
  min-height: 100vh;
}

.bd-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  box-sizing: border-box;
}

/* ─── Two-column layout ─── */
.bd-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* =========================================
   ARTICLE (LEFT)
   ========================================= */
.bd-article {
  background: var(--bd-white);
  border-radius: var(--bd-radius);
  overflow: hidden;
  box-shadow: var(--bd-shadow);
}

/* ── Featured image ── */
.bd-hero-img {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.bd-hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ── Article header ── */
.bd-article-header {
  padding: 24px 28px 0;
}

.bd-article-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--bd-dark);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.bd-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.bd-article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e8f4fc;
  border: 1px solid #b8ddf0;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bd-blue);
  letter-spacing: 0.3px;
}

/* ── Article body ── */
.bd-body {
  padding: 20px 28px 8px;
}

.bd-body img {
  width: 100%;
  height: auto;
  border-radius: var(--bd-radius);
  margin: 16px 0;
}

.bd-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--bd-dark);
  margin: 28px 0 14px 0;
}

.bd-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--bd-dark);
  margin: 20px 0 10px;
}

.bd-body p {
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 14px;
}

.bd-body ul {
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
}

.bd-body ul li {
  font-size: 14px;
  color: var(--bd-text);
  line-height: 1.75;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.bd-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--bd-dark);
  border-radius: 50%;
}

.bd-body ol {
  margin: 0 0 16px 20px;
  padding: 0;
}

.bd-body ol li {
  font-size: 14px;
  color: var(--bd-text);
  line-height: 1.75;
  margin-bottom: 8px;
}

.bd-body strong,
.bd-body b {
  color: var(--bd-dark);
  font-weight: 700;
}

.bd-body a {
  color: var(--bd-blue);
  text-decoration: none;
}

.bd-body a:hover {
  text-decoration: underline;
}

/* ── FAQ ── */
.bd-faq {
  margin: 20px 28px 24px;
  background: #f9f9f9;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  padding: 22px 24px;
}

.bd-faq-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--bd-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bd-blue);
}

.bd-faq-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--bd-border);
}

.bd-faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bd-faq-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--bd-dark);
  margin-bottom: 8px;
}

.bd-faq-answer {
  font-size: 16px;
  color: #000000;
  line-height: 1.7;
}

/* =========================================
   SIDEBAR (RIGHT)
   ========================================= */
.bd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 20px;
}

/* ── Sidebar block ── */
.bd-sidebar-block {
  background: var(--bd-white);
  border-radius: var(--bd-radius);
  padding: 20px;
  box-shadow: var(--bd-shadow);
}

.bd-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bd-dark);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bd-blue);
  display: inline-block;
  letter-spacing: 1px;
}

/* ── Categories List ── */
.bd-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bd-sidebar-list li {
  border-bottom: 1px solid var(--bd-border);
}

.bd-sidebar-list li:last-child {
  border-bottom: none;
}

.bd-sidebar-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  background-color: #0d6efd;
}

.bd-sidebar-list li a:hover {
  color: #ffffff;
}

.bd-sidebar-list li a svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.bd-sidebar-list li a:hover svg {
  transform: translateX(4px);
}

/* ── Popular Posts ── */
.bd-popular-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bd-popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.bd-popular-item:hover {
  opacity: 0.8;
}

.bd-popular-img {
  width: 70px;
  height: 55px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.bd-popular-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #ddd;
}

.bd-popular-info h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--bd-dark);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Tags ── */
.bd-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bd-tag {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--bd-border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bd-text);
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  cursor: default;
}

.bd-tag:hover {
  border-color: var(--bd-blue);
  color: var(--bd-blue);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
  .bd-layout {
    grid-template-columns: 1fr;
  }

  .bd-sidebar {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .bd-sidebar-block:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .bd-outer {
    padding: 20px 14px 40px;
  }

  .bd-hero-img img {
    height: 250px;
  }

  .bd-article-title {
    font-size: 22px;
  }

  .bd-body {
    padding: 16px 20px 6px;
  }

  .bd-faq {
    margin: 16px 20px 20px;
  }

  .bd-sidebar {
    grid-template-columns: 1fr;
  }

  .bd-sidebar-block:last-child:nth-child(odd) {
    grid-column: span 1;
  }
}
.inner-banner {
  background: #fff url(../images/rug_cleaning_bg.webp) 0 0 no-repeat;
  background-size: cover;
  padding: 45px 0;
  position: relative;
}
.inner-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
}
.inner-banner .thm-container {
  position: relative;
  z-index: 1;
}
.inner-banner h2,
.inner-banner p {
  margin: 0;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 55px;
  color: #000000;
  font-weight: 800;
  font-family: "Raleway", sans-serif;
  text-align: center;
  justify-content: center;
  text-shadow: 0 4px 4px rgba(255, 255, 255, 0.6);
}
.inner-banner p {
  font-size: 20px;
  font-style: italic;
  font-family: "PT Serif", sans-serif;
  margin: 0;
  color: #ffffff;
}
/* ============================================================
   FAQ SECTION — Clean Accordion Style
   ============================================================ */

.faq-section {
  background: #e8f4fc;
  padding: 60px 0 70px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 35px;
}

.faq-eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.faq-eyebrow-line {
  width: 40px;
  height: 1px;
  background: #2ea3dc;
}

.faq-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #2ea3dc;
  text-transform: uppercase;
}

.faq-title {
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.faq-title .text-green {
  color: #2ea3dc;
}

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.faq-item.is-open {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.faq-question:hover {
  color: #2ea3dc;
}

.faq-q-text {
  flex: 1;
  text-align: center;
}

.faq-num {
  font-weight: 700;
  color: #1a1a1a;
  margin-right: 4px;
}

/* Circular arrow button */
.faq-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2ea3dc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.faq-item.is-open .faq-arrow-icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-arrow {
  background: #1e8bc3;
}

/* Answer */
.faq-answer {
  padding: 0 24px 20px;
  text-align: center;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin: 0;
  padding: 0 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0 50px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px 18px;
  }

  .faq-answer p {
    font-size: 14px;
    padding: 0 10px;
  }

  .faq-arrow {
    width: 28px;
    height: 28px;
  }

  .faq-arrow-icon {
    width: 12px;
    height: 12px;
  }
}
