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

.bd-hero img.bg,
.bd-hero video.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  z-index: 0;
  pointer-events: none;
}

.bd-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 34, .52) 0%, rgba(8, 33, 44, .36) 55%, rgba(10, 42, 54, .18) 100%);
}

.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);
}

.article-share .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;
}

.article-share .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.82;
}

.pagehead.breadcrumb-banner:before {
  background: linear-gradient(90deg, rgba(6, 26, 34, 0.52) 0%, rgba(8, 33, 44, 0.36) 55%, rgba(10, 42, 54, 0.18) 100%);
}

.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);
}

.pagehead.breadcrumb-banner .kicker {
  color: #fff;
}

.pagehead.breadcrumb-banner .kicker:before {
  background: #fff;
}

.pagehead.breadcrumb-banner .crumb .current,
.pagehead.breadcrumb-banner .breadcrumb-nav .crumb .current {
  color: #fff;
  font-weight: 600;
}

/* ==========================================================================
   BLOG SOCIAL SHARE BUTTONS & CARD
   ========================================================================== */
.bd-meta-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.bd-share-tag {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.bd-quick-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f4f8f9;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all 0.25s ease;
  text-decoration: none;
}

.bd-quick-share svg {
  width: 15px;
  height: 15px;
  display: block;
}

.bd-quick-share:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.bd-quick-share.wa:hover { background: #25D366; border-color: #25D366; }
.bd-quick-share.li:hover { background: #0077B5; border-color: #0077B5; }
.bd-quick-share.x:hover { background: #0f1419; border-color: #0f1419; }
.bd-quick-share.fb:hover { background: #1877F2; border-color: #1877F2; }

/* Bottom Article Share Card */
.blog-share-card {
  position: relative;
  margin-top: 48px;
  padding: 32px 36px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(6, 26, 34, 0.04);
}

.share-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.share-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(9, 128, 152, 0.1);
  color: var(--teal);
  flex-shrink: 0;
}

.share-heading-icon svg {
  width: 22px;
  height: 22px;
}

.share-heading h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.share-heading p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.share-buttons-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

.share-buttons-grid .share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 10px 18px !important;
  gap: 10px !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border: 1px solid var(--line) !important;
  background: var(--bg-tint) !important;
  color: var(--ink) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box !important;
}

.share-buttons-grid .share-btn span {
  display: inline-block !important;
  white-space: nowrap !important;
}

.share-buttons-grid .share-btn svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.share-buttons-grid .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.share-btn.share-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

.share-btn.share-li:hover {
  background: #0077B5;
  border-color: #0077B5;
  color: #ffffff;
}

.share-btn.share-x:hover {
  background: #0f1419;
  border-color: #0f1419;
  color: #ffffff;
}

.share-btn.share-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

.share-btn.share-copy:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.share-btn.share-copy.copied {
  background: #10B981;
  border-color: #10B981;
  color: #ffffff;
}

.copy-toast {
  position: absolute;
  bottom: -36px;
  left: 36px;
  background: #061A22;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 10;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .blog-share-card {
    padding: 24px 20px;
  }
  .share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .share-btn {
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .share-btn.share-copy {
    grid-column: span 2;
  }
  .bd-meta-share {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
}



