/* -- blog-detail-hero.css -- */
/* ── Blog single-post hero — full-bleed image + overlay ──────── */
.bdh {
  position: relative;
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000818;
  display: flex;
  align-items: center;
}

.bdh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 8, 24, 0.72) 0%, rgba(0, 8, 24, 0.88) 100%);
  z-index: 1;
}

.bdh__inner { position: relative; z-index: 2; width: 100%; max-width: 940px; margin: 0 auto; text-align: center; padding: 80px 20px 60px; }

.bdh__meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }

.bdh__category { background: rgba(255, 255, 255, 0.12); color: #ffffff; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.20); }
.bdh__readtime { display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #D1D5DB; }

.bdh__title { font-family: 'Inter', sans-serif; font-size: 58px; line-height: 68px; font-weight: 700; color: #ffffff; margin: 0 0 18px; }
.bdh__excerpt { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 30px; font-weight: 400; color: #E5E7EB; margin: 0 auto; max-width: 740px; }

.bdh__divider { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.15); margin: 32px 0; }

.bdh__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.bdh__author { display: flex; align-items: center; gap: 12px; text-align: left; }
.bdh__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.25); flex-shrink: 0; }
.bdh__author-info { display: flex; flex-direction: column; gap: 3px; }
.bdh__author-name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: #ffffff; text-decoration: none; transition: color 0.2s ease; }
a.bdh__author-name:hover { color: #4AEFED; }
.bdh__date { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #9CA3AF; }

.bdh__share { display: flex; align-items: center; gap: 12px; }
.bdh__share-label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: #D1D5DB; white-space: nowrap; }
.bdh__share-icons { display: flex; align-items: center; gap: 10px; }

.bdh__share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.bdh__share-btn:hover { background: #23F8DE; color: #000818; border-color: #23F8DE; }

@media (max-width: 1024px) {
  .bdh__title { font-size: 47px; line-height: 57px; }
}

@media (max-width: 768px) {
  .bdh { min-height: 100svh; align-items: flex-end; }
  .bdh__inner { padding: 60px 20px 40px; text-align: center; }
  .bdh__title { font-size: 30px; line-height: 42px; }
  .bdh__excerpt { font-size: 16px; line-height: 26px; }
  .bdh__footer { flex-direction: column; align-items: center; gap: 20px; }
  .bdh__author { flex-direction: column; align-items: center; text-align: center; }
  .bdh__author-info { align-items: center; }
  .bdh__share { flex-direction: column; gap: 10px; }
}

/* -- blog-detail-body.css -- */
/* ── Blog single-post body — prose, sidebar, author bio, recent ── */
.bdb { background: #ffffff; padding: 64px 0 80px; }

.bdb__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; }
.bdb__content-col { align-self: start; }

.bdb__prose { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 30px; color: #40454D; }
.bdb__prose h2 { font-size: 30px; line-height: 42px; font-weight: 700; color: #00234C; margin: 36px 0 14px; }
.bdb__prose h3 { font-size: 22px; line-height: 32px; font-weight: 600; color: #00234C; margin: 28px 0 10px; }
.bdb__prose h4 { font-size: 18px; font-weight: 600; color: #00234C; margin: 22px 0 8px; }
.bdb__prose p { margin: 0 0 18px; }
.bdb__prose ul, .bdb__prose ol { padding-left: 24px; margin: 0 0 18px; }
.bdb__prose li { margin-bottom: 8px; }
.bdb__prose strong { font-weight: 700; color: #00234C; }
.bdb__prose a { color: #2563F6; text-decoration: underline; }
.bdb__prose a:hover { color: #1D4ED8; }
.bdb__prose code { background: #F1F5F9; color: #1E3A5F; font-size: 15px; padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', 'Fira Code', monospace; }
.bdb__prose pre { background: #0F172A; color: #E2E8F0; border-radius: 10px; padding: 20px 24px; overflow-x: auto; margin: 0 0 20px; font-size: 14px; line-height: 22px; }
.bdb__prose pre code { background: transparent; color: inherit; padding: 0; border-radius: 0; }
.bdb__prose blockquote { border-left: 4px solid #2563F6; margin: 0 0 20px; padding: 12px 20px; background: #F8FAFF; border-radius: 0 8px 8px 0; color: #40454D; font-style: italic; }
.bdb__prose img { max-width: 100%; border-radius: 10px; margin: 8px 0 20px; }

.bdb__back { display: inline-flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #596586; text-decoration: none; margin-top: 40px; padding: 10px 18px; border: 1px solid #E2E8F0; border-radius: 8px; transition: border-color 0.2s, color 0.2s; }
.bdb__back:hover { color: #2563F6; border-color: #2563F6; }

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

.bdb-form { background: #ffffff; border-radius: 16px; padding: 24px; border: 1px solid #E5E7EB; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.bdb-form__title { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: #00234C; margin: 0 0 20px; }
.bdb-form__fields { display: flex; flex-direction: column; gap: 14px; }
.bdb-form__field { display: flex; flex-direction: column; gap: 5px; }
.bdb-form__label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: #40454D; }

.bdb-form__input, .bdb-form__textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #0F172A;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}
.bdb-form__input::placeholder, .bdb-form__textarea::placeholder { color: #A0AEC0; }
.bdb-form__input:focus, .bdb-form__textarea:focus { border-color: #2563F6; background: #ffffff; }
.bdb-form__input--error, .bdb-form__textarea--error { border-color: #EF4444; }
.bdb-form__textarea { resize: vertical; min-height: 90px; }
.bdb-form__error { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 400; color: #EF4444; }

.bdb-form__btn { width: 100%; margin-top: 6px; padding: 13px 20px; background: #23F8DE; color: #000818; border: none; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, box-shadow 0.2s ease; }
.bdb-form__btn:hover:not(:disabled) { background: #0FD9C6; box-shadow: 0 4px 14px rgba(35, 248, 222, 0.30); }
.bdb-form__btn:disabled { opacity: 0.65; cursor: not-allowed; }

.bdb-form__success { text-align: center; padding: 16px 0 8px; }
.bdb-form__success-icon { font-size: 28px; margin-bottom: 8px; }
.bdb-form__success-msg { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #059669; }

.bdb-cat { background: #F8FAFC; border-radius: 12px; padding: 20px 24px; border: 1px solid #E2E8F0; }
.bdb-cat__title { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: #00234C; margin: 0 0 16px; }
.bdb-cat__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bdb-cat__item { display: flex; align-items: center; justify-content: space-between; }
.bdb-cat__link { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400; color: #40454D; text-decoration: none; transition: color 0.2s; }
.bdb-cat__link:hover { color: #2563F6; }
.bdb-cat__count { background: #EFF6FF; color: #2563F6; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; flex-shrink: 0; }

.bdb-logos { background: #FFFFFF; border-radius: 16px; padding: 24px; border: 1px solid #E5E7EB; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.bdb-logos__title { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; line-height: 30px; color: #00234C; margin: 0 0 20px; }
.bdb-logos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bdb-logos__item { display: flex; align-items: center; justify-content: center; background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 12px; padding: 14px; min-height: 72px; }
.bdb-logos__img { max-width: 100%; max-height: 36px; object-fit: contain; }

.bdb-author { display: flex; align-items: center; gap: 28px; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 20px; padding: 32px; margin-top: 40px; }
.bdb-author__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid #E2E8F0; }
.bdb-author__img-placeholder { width: 88px; height: 88px; border-radius: 50%; background: #E2E8F0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 700; color: #2563F6; }
.bdb-author__body { flex: 1; }
.bdb-author__header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.bdb-author__name { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: #00234C; text-decoration: none; }
a.bdb-author__name:hover { color: #2563F6; }
.bdb-author__sep { width: 1px; height: 18px; background: #CBD5E1; flex-shrink: 0; }
.bdb-author__role { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #596586; }
.bdb-author__linkedin { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: #0A66C2; color: #ffffff; text-decoration: none; flex-shrink: 0; transition: opacity 0.2s; }
.bdb-author__linkedin:hover { opacity: 0.85; }
.bdb-author__bio { font-family: 'Inter', sans-serif; font-size: 15px; line-height: 26px; font-weight: 400; color: #596586; margin: 0; }

.bdb-recent { margin-top: 64px; }
.bdb-recent__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.bdb-recent__heading { font-family: 'Inter', sans-serif; font-size: 28px; line-height: 1.2; font-weight: 700; color: #0F172A; margin: 0; }
.bdb-recent__view-all { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #2563F6; text-decoration: none; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.bdb-recent__view-all:hover { color: #1D4ED8; }
.bdb-recent__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .bdb__grid { grid-template-columns: 1fr; gap: 40px; }
  .bdb__sidebar-sticky { position: static; flex-direction: row; flex-wrap: wrap; }
  .bdb-cat { flex: 1 1 280px; }
  .bdb-recent__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bdb { padding: 48px 0 64px; }
  .bdb__grid { gap: 32px; }
  .bdb__prose { font-size: 16px; line-height: 28px; }
  .bdb__prose h2 { font-size: 24px; line-height: 34px; }
  .bdb__sidebar-sticky { flex-direction: column; }
  .bdb-author { flex-direction: column; align-items: flex-start; text-align: left; padding: 24px; gap: 20px; }
  .bdb-recent__grid { grid-template-columns: 1fr; }
  .bdb-recent__heading { font-size: 22px; }
}

/* -- insights-blog.css -- */
/* ── Insights blog listing — tabs, featured card, grid, pagination ── */
.ins-blog { background: #ffffff; padding: 80px 0; }

.ins-blog__topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.ins-blog__tabs { display: flex; gap: 10px; flex-wrap: wrap; }

.ins-blog__tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.ins-blog__tab--active { background: #2563F6; color: #ffffff; }
.ins-blog__tab--inactive { background: #F1F5F9; color: #596586; }
.ins-blog__tab--inactive:hover { background: #E2E8F0; color: #2563F6; }

.ins-blog__sort { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ins-blog__sort-label { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400; color: #596586; white-space: nowrap; }

.ins-blog__sort-select {
  padding: 7px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  background: #ffffff;
  cursor: pointer;
  outline: none;
}
.ins-blog__sort-select:focus { border-color: #2563F6; }

.ins-blog__empty { text-align: center; font-family: 'Inter', sans-serif; font-size: 18px; color: #596586; padding: 60px 0; }

.ins-feat { display: flex; border: 1px solid #E5E7EB; border-radius: 16px; overflow: hidden; margin-bottom: 56px; background: #ffffff; transition: box-shadow 0.25s ease; text-decoration: none; }
.ins-feat:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10); }

.ins-feat__img-wrap { flex: 0 0 50%; max-width: 50%; min-height: 320px; position: relative; overflow: hidden; }
.ins-feat__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.ins-feat:hover .ins-feat__img { transform: scale(1.03); }

.ins-feat__body { flex: 1; padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.ins-feat__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.ins-feat__category { background: #EFF6FF; color: #2563F6; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.ins-feat__readtime { display: flex; align-items: center; gap: 5px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #596586; }

.ins-feat__title { font-family: 'Inter', sans-serif; font-size: 30px; line-height: 1.35; font-weight: 700; color: #0F172A; margin: 0 0 14px; }
.ins-feat__excerpt { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; font-weight: 400; color: #596586; margin: 0 0 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.ins-feat__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ins-feat__author { display: flex; align-items: center; gap: 10px; }
.ins-feat__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ins-feat__author-info { display: flex; flex-direction: column; gap: 3px; }
.ins-feat__author-name { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #0F172A; }
.ins-feat__date { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #596586; }

.ins-feat__cta { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #2563F6; text-decoration: none; display: flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0; }
.ins-feat__cta:hover { color: #1D4ED8; }

.ins-latest__heading { font-family: 'Inter', sans-serif; font-size: 24px; line-height: 1.3; font-weight: 700; color: #0F172A; margin: 0 0 28px; }
.ins-latest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.ins-art { border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden; background: #ffffff; display: flex; flex-direction: column; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.ins-art:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09); transform: translateY(-3px); }

.ins-art__img-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #F1F5F9; }
.ins-art__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.ins-art:hover .ins-art__img { transform: scale(1.03); }

.ins-art__category-badge { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, 0.55); color: #ffffff; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); pointer-events: none; }

.ins-art__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ins-art__meta { display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #596586; margin-bottom: 10px; }
.ins-art__dot { width: 3px; height: 3px; border-radius: 50%; background: #596586; flex-shrink: 0; }

.ins-art__title { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.45; font-weight: 600; color: #0F172A; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.ins-art__title:hover { color: #2563F6; }
.ins-art__desc { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.65; font-weight: 400; color: #596586; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }

.ins-art__author { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.ins-art__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ins-art__author-name { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: #596586; }

.ins-page { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.ins-page .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #596586;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.ins-page .page-numbers:hover { background: #EFF6FF; color: #2563F6; border-color: #2563F6; }
.ins-page .page-numbers.current { background: #2563F6; color: #ffffff; border-color: #2563F6; }
.ins-page .page-numbers.dots { border: none; background: none; }

@media (max-width: 1024px) {
  .ins-blog__topbar { margin-bottom: 36px; }
  .ins-latest__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ins-feat__title { font-size: 26px; }
}

@media (max-width: 768px) {
  .ins-blog { padding: 60px 0; }
  .ins-blog__topbar { margin-bottom: 28px; }
  .ins-blog__tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ins-blog__tabs::-webkit-scrollbar { display: none; }
  .ins-feat { flex-direction: column; margin-bottom: 40px; }
  .ins-feat__img-wrap { flex: none; max-width: 100%; min-height: 220px; height: 220px; }
  .ins-feat__body { padding: 24px 20px; }
  .ins-feat__title { font-size: 22px; }
  .ins-latest__grid { grid-template-columns: 1fr; gap: 20px; }
  .ins-page { gap: 4px; margin-top: 40px; }
}

