/* News & Insights - listing and detail pages */

.blog-page {
  --blog-ink: #10203a;
  --blog-muted: #5a6b81;
  --blog-line: #e9edf3;
}

/* ---------- Hero ---------- */

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 92px;
  background: linear-gradient(135deg, var(--home-navy, #08111f) 0%, var(--home-navy-mid, #0c1a30) 55%, var(--home-navy-light, #132744) 100%);
  color: #ffffff;
}

.blog-hero::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -130px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.2) 0%, rgba(212, 168, 67, 0) 68%);
  pointer-events: none;
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 730px;
}

.blog-hero__crumbs {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.blog-hero__crumbs a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.blog-hero__crumbs a:hover {
  color: var(--home-gold-soft, #f0d78c);
}

.blog-hero__crumbs span {
  margin: 0 9px;
  color: rgba(255, 255, 255, 0.32);
}

.blog-hero h1 {
  margin: 0;
  font-family: var(--home-serif, Georgia, serif);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
}

.blog-hero__rule {
  width: 88px;
  height: 3px;
  margin: 22px 0 20px;
  border-radius: 2px;
  background: var(--home-gold, #d4a843);
}

.blog-hero__lead {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--home-text-light, rgba(255, 255, 255, 0.82));
}

/* ---------- Listing shell ---------- */

.blog-listing {
  padding: 0 0 84px;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 360px);
}

/* ---------- Category filter ---------- */

.blog-filter-bar {
  position: relative;
  z-index: 2;
  margin: -34px 0 38px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(8, 17, 31, 0.1);
}

.blog-filter-bar__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8894a5;
}

.blog-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid #dfe4ec;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blog-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-filter__pill:hover {
  border-color: var(--home-gold, #d4a843);
  color: var(--home-navy, #08111f);
}

.blog-filter__pill.is-active {
  background: var(--home-navy, #08111f);
  border-color: var(--home-navy, #08111f);
  color: #ffffff;
}

.blog-filter__count {
  padding: 1px 8px;
  border-radius: 999px;
  background: #f1f3f7;
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 700;
}

.blog-filter__pill.is-active .blog-filter__count {
  background: var(--home-gold, #d4a843);
  color: var(--home-navy, #08111f);
}

/* ---------- Cards ---------- */

.blog-grid > [class*='col-'] {
  margin-bottom: 26px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--blog-line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(8, 17, 31, 0.06);
  color: inherit !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 67, 0.45);
  box-shadow: 0 22px 48px rgba(8, 17, 31, 0.14);
}

.blog-card__media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--home-navy, #08111f) 0%, var(--home-navy-light, #132744) 100%);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.06);
}

.blog-card__media--empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(212, 168, 67, 0.28) 0%, rgba(212, 168, 67, 0) 62%);
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--home-gold, #d4a843);
  color: var(--home-navy, #08111f);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
}

.blog-card__title {
  margin: 0;
  font-family: var(--home-serif, Georgia, serif);
  font-size: 22px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--home-navy, #08111f);
}

.blog-card__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--blog-muted);
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.blog-card__date {
  font-size: 13px;
  color: #8894a5;
}

.blog-card__more {
  font-size: 14px;
  font-weight: 700;
  color: var(--home-gold-hover, #c49735);
}

.blog-card__more::after {
  content: '\2192';
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__more::after {
  transform: translateX(4px);
}

/* ---------- Featured card ---------- */

.blog-featured {
  margin-bottom: 30px;
}

.blog-featured .blog-card {
  flex-direction: row;
}

.blog-featured .blog-card__media {
  flex: 0 0 52%;
  height: auto;
  min-height: 340px;
}

.blog-featured .blog-card__body {
  justify-content: center;
  padding: 34px 40px;
  gap: 14px;
}

.blog-featured .blog-card__title {
  font-size: clamp(26px, 2.6vw, 36px);
}

.blog-featured .blog-card__excerpt {
  font-size: 16px;
}

/* ---------- Pagination ---------- */

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e2e7ef;
  border-radius: 12px;
  background: #ffffff;
  color: var(--home-navy, #08111f);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.blog-pagination a:hover {
  border-color: var(--home-gold, #d4a843);
}

.blog-pagination .is-current {
  background: var(--home-navy, #08111f);
  border-color: var(--home-navy, #08111f);
  color: #ffffff;
}

.blog-pagination .is-disabled {
  opacity: 0.45;
}

/* ---------- Empty state ---------- */

.blog-empty {
  padding: 66px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #dbe2ec;
  border-radius: 20px;
  color: var(--blog-muted);
}

.blog-empty__mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-gold-hover, #c49735);
  font-size: 24px;
  font-weight: 700;
}

/* ---------- Bottom CTA ---------- */

.blog-cta {
  position: relative;
  overflow: hidden;
  padding: 66px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--home-navy, #08111f) 0%, var(--home-navy-mid, #0c1a30) 100%);
  color: #ffffff;
}

.blog-cta::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -180px;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.16) 0%, rgba(212, 168, 67, 0) 66%);
  pointer-events: none;
}

.blog-cta__inner {
  position: relative;
  z-index: 1;
}

.blog-cta h2 {
  margin: 0 0 14px;
  font-family: var(--home-serif, Georgia, serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: #ffffff;
}

.blog-cta p {
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--home-text-light, rgba(255, 255, 255, 0.82));
}

.blog-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--home-gold, #d4a843);
  color: var(--home-navy, #08111f) !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.blog-cta__btn:hover {
  background: var(--home-gold-hover, #c49735);
  transform: translateY(-2px);
}

/* ---------- Detail page ---------- */

.blog-detail {
  padding: 0 0 80px;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 320px);
}

.blog-detail__card {
  position: relative;
  z-index: 2;
  margin-top: -46px;
  padding: 44px 48px;
  background: #ffffff;
  border: 1px solid var(--blog-line);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(8, 17, 31, 0.1);
}

.blog-detail__inner {
  max-width: 820px;
  margin: 0 auto;
}

.blog-detail__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--blog-line);
}

.blog-detail__date {
  font-size: 14px;
  color: #8894a5;
}

.blog-detail__body p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.9;
  color: #3f4b5c;
}

.blog-detail__body h3 {
  margin: 38px 0 16px;
  font-family: var(--home-serif, Georgia, serif);
  font-size: 27px;
  font-weight: 700;
  color: var(--home-navy, #08111f);
}

.blog-detail__body h4 {
  margin: 28px 0 14px;
  font-size: 21px;
  font-weight: 700;
  color: var(--home-navy, #08111f);
}

.blog-detail__body strong {
  color: var(--blog-ink);
}

.blog-detail__body blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--home-gold, #d4a843);
  border-radius: 0 14px 14px 0;
  background: #f7f9fc;
  font-size: 19px;
  line-height: 1.8;
  font-style: italic;
  color: var(--blog-ink);
}

.blog-detail__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(8, 17, 31, 0.12);
}

.blog-recap {
  margin-top: 42px;
}

.blog-recap__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.blog-recap__heading h2 {
  margin: 0;
  font-family: var(--home-serif, Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--home-navy, #08111f);
}

.blog-recap__heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--blog-line);
}

.blog-recap .blog-detail__image {
  margin: 18px auto;
}

.blog-recap__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

.blog-recap__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(8, 17, 31, 0.12);
}

.blog-detail__back {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  font-weight: 700;
  color: var(--home-gold-hover, #c49735);
  text-decoration: none !important;
}

.blog-detail__back::before {
  content: '\2190';
  margin-right: 8px;
}

.blog-related {
  margin-top: 56px;
}

.blog-related__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.blog-related__heading h2 {
  margin: 0;
  font-family: var(--home-serif, Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--home-navy, #08111f);
}

.blog-related__heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--blog-line);
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .blog-hero {
    padding: 66px 0 76px;
  }

  .blog-featured .blog-card {
    flex-direction: column;
  }

  .blog-featured .blog-card__media {
    flex: none;
    height: 240px;
    min-height: 0;
  }

  .blog-featured .blog-card__body {
    padding: 26px 24px 28px;
  }

  .blog-detail__card {
    padding: 32px 26px;
  }
}

@media (max-width: 767px) {
  .blog-hero {
    padding: 54px 0 66px;
  }

  .blog-hero__lead {
    font-size: 16px;
  }

  .blog-filter-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .blog-filter {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .blog-filter::-webkit-scrollbar {
    display: none;
  }

  .blog-filter__pill {
    flex: 0 0 auto;
  }

  .blog-card__media {
    height: 190px;
  }

  .blog-card__title {
    font-size: 20px;
  }

  .blog-detail__body p {
    font-size: 16px;
    line-height: 1.85;
  }

  .blog-detail__body h3 {
    font-size: 23px;
  }

  .blog-recap__heading h2 {
    font-size: 23px;
  }

  .blog-recap__grid {
    grid-template-columns: 1fr;
  }
}
