/* ===== BLOG READ WRAPPER ===== */
.bb-read-wrapper {
  --bb-bg: #f3f6fb;
  --bb-surface: #ffffff;
  --bb-primary: #011b42;
  --bb-accent: #f7aa21;
  --bb-muted: #5f6b7d;
  background: linear-gradient(180deg, #fafbfd 0%, #f4f7fb 100%);
}

/* ===== HERO ===== */
.bb-read-hero {
  position: relative;
  padding: 110px 0 72px;
  background: url('../images1/banner3.png') center/cover no-repeat;
  color: #fff;
}

.bb-read-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 27, 66, 0.2), rgba(1, 27, 66, 0.68));
}

.bb-read-hero-content {
  position: relative;
  z-index: 2;
}

.bb-read-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bb-accent);
  color: #000;
  font-size: 12px;
  font-weight: 800;
}

.bb-read-title {
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bb-read-meta {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

/* ===== BODY ===== */
.bb-read-body {
  padding: 58px 0 80px;
}

.bb-read-article {
  padding: 0;
}

.bb-read-card {
  padding: clamp(18px, 2.8vw, 30px);
  background: #ffffff;
  border: 1px solid rgba(1, 27, 66, 0.06);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(7, 23, 54, 0.06);
}

.bb-read-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(1, 27, 66, 0.06);
}

.bb-read-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(1, 27, 66, 0.06);
  color: var(--bb-primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.bb-read-back:hover {
  background: var(--bb-accent);
  color: var(--bb-primary);
  transform: translateX(-2px);
}

.bb-read-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(247, 170, 33, 0.16);
  color: #8a5b00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bb-read-post-header {
  margin-bottom: 20px;
}

.bb-read-kicker {
  margin: 0 0 10px;
  color: #8a5b00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bb-read-post-header .bb-read-title {
  color: var(--bb-primary);
}

.bb-read-title {
  margin: 0;
  max-width: none;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bb-read-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  color: var(--bb-muted);
  font-size: 13px;
  font-weight: 600;
}

.bb-read-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(1, 27, 66, 0.05);
}

.bb-read-feature-img {
  width: 100%;
  margin-bottom: 22px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(7, 23, 54, 0.08);
}

.bb-read-intro {
  margin-bottom: 22px;
  padding: 16px 18px;
  color: #20324c;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
  background: #f7f9fc;
  border-left: 4px solid var(--bb-accent);
  border-radius: 14px;
}

.bb-read-content {
  color: #314055;
  font-size: 16px;
  line-height: 1.9;
}

.bb-read-content > :last-child {
  margin-bottom: 0;
}

.bb-read-content h2,
.bb-read-content h3,
.bb-read-content h4 {
  margin: 28px 0 12px;
  color: var(--bb-primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bb-read-content h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.bb-read-content h3 {
  font-size: 20px;
}

.bb-read-content p,
.bb-read-content li {
  margin-bottom: 16px;
  color: #445267;
  font-size: 16px;
  line-height: 1.9;
}

.bb-read-content ul,
.bb-read-content ol {
  padding-left: 22px;
  margin-bottom: 22px;
}

.bb-read-content li {
  margin-bottom: 10px;
}

.bb-read-content blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--bb-accent);
  border-radius: 16px;
  background: #f8fafc;
  color: #304055;
  font-style: italic;
}

.bb-read-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 18px;
}

.bb-read-content iframe,
.bb-read-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  border: 0;
  border-radius: 18px;
}

.bb-read-content figure {
  margin: 24px 0;
}

.bb-read-content figure img {
  margin: 0 0 10px;
}

.bb-read-content a {
  color: var(--bb-primary);
  text-decoration: underline;
  text-decoration-color: rgba(247, 170, 33, 0.5);
  text-underline-offset: 3px;
}

.bb-read-content a:hover {
  color: #0f3b83;
}

.bb-read-content table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(1, 27, 66, 0.08);
  border-radius: 16px;
}

.bb-read-content th,
.bb-read-content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(1, 27, 66, 0.08);
  text-align: left;
}

.bb-read-content th {
  background: rgba(1, 27, 66, 0.05);
  color: var(--bb-primary);
  font-weight: 700;
}

/* ===== SIDEBAR ===== */
.bb-read-sidebar {
  position: sticky;
  top: 24px;
}

.bb-read-sidebar-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(1, 27, 66, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 23, 54, 0.06);
}

.bb-read-sidebar-kicker {
  margin: 0 0 10px;
  color: #8a5b00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bb-read-sidebar h4 {
  margin-bottom: 12px;
  color: var(--bb-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.bb-read-sidebar-text {
  margin-bottom: 18px;
  color: var(--bb-muted);
  font-size: 15px;
  line-height: 1.8;
}

.bb-read-sidebar-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--bb-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.bb-read-sidebar-button:hover {
  background: var(--bb-accent);
  color: var(--bb-primary);
  transform: translateX(2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .bb-read-body {
    padding: 48px 0 72px;
  }

  .bb-read-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .bb-read-card {
    border-radius: 20px;
  }

  .bb-read-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .bb-read-intro {
    font-size: 16px;
  }

  .bb-read-content {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .bb-read-hero {
    padding: 78px 0 56px;
  }

  .bb-read-body {
    padding: 30px 0 54px;
  }

  .bb-read-card {
    padding: 16px;
  }

  .bb-read-sidebar-card {
    padding: 20px;
  }

  .bb-read-content blockquote {
    padding: 18px;
  }
}
