/* ── Blog Detail Page ── */
.bd-hero {
  position: relative;
  background: var(--teal-ddd);
  color: #fff;
  overflow: hidden;
}

.bd-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}

.bd-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 54, .88);
}

.bd-hero .wrap {
  position: relative;
  z-index: 2;
  padding: 136px 30px 80px;
}

.bd-hero .crumb {
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.bd-hero h1 {
  color: #fff;
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
}

.bd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.bd-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(9, 128, 152, .2);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(9, 128, 152, .4);
}

.bd-meta-item {
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bd-meta-item svg {
  width: 14px;
  height: 14px;
}

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
  margin-top: 60px;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Article body */
.article-body {
  max-width: 100%;
}

.article-body .lead {
  font-size: 1.18rem;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 40px;
  padding: 24px 28px;
  border-left: 4px solid var(--teal);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 22px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--ink);
  font-weight: 700;
}

.article-body a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(9, 128, 152, .3);
}

.article-body a:hover {
  text-decoration-color: var(--teal);
}

/* Callout box */
.callout {
  background: var(--bg-tint);
  border: 1px solid var(--sky-light);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 36px 0;
}

.callout-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.callout p {
  margin: 0;
  font-size: .96rem;
  color: var(--body);
  line-height: 1.7;
}

.callout p:not(:last-child) {
  margin-bottom: 8px;
}

/* Data table in article */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-table th {
  background: var(--teal-ddd);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:nth-child(even) td {
  background: var(--bg-soft);
}

/* Pull quote */
.pull-quote {
  margin: 40px 0;
  padding: 32px 36px;
  border-left: 5px solid var(--teal);
  background: var(--bg-soft);
  border-radius: 0 14px 14px 0;
}

.pull-quote p {
  font-size: 1.24rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.6;
}

.pull-quote cite {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  font-style: normal;
}

/* Article image */
.article-img {
  margin: 40px 0;
  border-radius: 14px;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.article-img figcaption {
  font-size: .82rem;
  color: var(--muted);
  padding: 12px 0 0;
  text-align: center;
}

/* Tags & Share */
.article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
}

.article-tags span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.a-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  transition: .2s;
}

.a-tag:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--bg-tint);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-share span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--body);
  font-size: .8rem;
  font-weight: 700;
  transition: .2s;
}

.share-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--bg-tint);
}

/* Author box */
.author-box {
  display: flex;
  gap: 22px;
  padding: 28px 30px;
  background: var(--bg-soft);
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-top: 40px;
}

.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--teal-ddd);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box .info {
  flex: 1;
}

.author-box .name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.author-box .role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.author-box p {
  font-size: .9rem;
  color: var(--body);
  margin: 0;
  line-height: 1.6;
}

/* TOC sidebar widget */
.toc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.toc-card h6 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  border-top: 1px solid var(--line);
}

.toc-list li:first-child {
  border-top: none;
}

.toc-list a {
  display: block;
  padding: 9px 0;
  font-size: .88rem;
  color: var(--body);
  text-decoration: none;
  transition: .2s;
}

.toc-list a:hover,
.toc-list a.on {
  color: var(--teal);
  padding-left: 8px;
}

/* Related posts at bottom */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: .28s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 150, 190, .3);
}

.related-post-card .ph {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-tint);
}

.related-post-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.related-post-card:hover .ph img {
  transform: scale(1.06);
}

.related-post-card .b {
  padding: 20px 20px 24px;
  flex: 1;
}

.related-post-card .rcat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
  display: block;
}

.related-post-card h5 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.related-post-card .rmeta {
  font-size: .76rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .bd-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .author-box {
    flex-direction: column;
    gap: 16px;
  }
}

/* ── Shared Breadcrumb Banner (#0a2a36 overlay) ── */
.breadcrumb-banner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-detail-page {
  padding-top: 54px;
  padding-bottom: 80px;
  background: var(--bg);
}

.blog-detail-wrap {
  max-width: 1200px;
}

.blog-detail-intro h1 {
  font-size: 40px;
  margin-bottom: 28px;
  max-width: 900px;
}

.blog-detail-image {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.blog-detail-intro .bd-hero-meta {
  margin-bottom: 42px;
  color: var(--muted);
}

.blog-detail-intro .bd-meta-item {
  color: var(--muted);
}

.blog-detail-intro .bd-cat {
  background: var(--bg-tint);
  border-color: var(--sky-light);
  color: var(--teal);
}

.blog-detail-page .article-body {
  max-width: 100%;
}

.blog-detail-page .article-body h2:first-of-type {
  margin-top: 0;
}

@media (max-width: 720px) {
  .blog-detail-page {
    padding-top: 112px;
  }

  .blog-detail-image {
    aspect-ratio: 4/3;
  }
}

.kicker-center {
  justify-content: center;
}

.actions-center {
  justify-content: center;
}

.soft-outline {
  border-color: var(--line);
  color: var(--body);
}

/* ── Full-Width Simple Attractive CTA Section (#098098 Only, No Gradients) ── */
.cta-section-simple {
  width: 100% !important;
  max-width: 100% !important;
  background: var(--teal) !important;
  background-color: var(--teal) !important;
  background-image: none !important;
  color: #fff;
  min-height: 360px;
  padding: 84px 24px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-simple-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.cta-section-simple h2 {
  color: #ffffff !important;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.cta-section-simple p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 36px;
}

.cta-simple-action {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff !important;
  color: #098098 !important;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 15px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.28s ease;
  cursor: pointer;
}

.btn-cta-white .ar {
  transition: transform 0.25s;
}

.btn-cta-white:hover {
  background: #0a2a36 !important;
  color: #ffffff !important;
  border-color: #0a2a36;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10, 42, 54, 0.25);
}

.btn-cta-white:hover .ar {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .cta-section-simple {
    min-height: 320px;
    padding: 60px 20px !important;
  }

  .btn-cta-white {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   BLOG DETAIL BREADCRUMB OVERLAY REDUCTION (ONLY BLOG DETAIL PAGE)
   ========================================================================== */
.pagehead.breadcrumb-banner .breadcrumb-bg {
  opacity: 0.6;
}

.pagehead.breadcrumb-banner:before {
  background: rgba(10, 42, 54, 0.52);
}

.pagehead.breadcrumb-banner .breadcrumb-title,
.pagehead.breadcrumb-banner .kicker,
.pagehead.breadcrumb-banner .breadcrumb-nav {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}


