/* Core layout wrapper */
.besimex-insights-archive,
.bia-featured,
.bia-single {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 16px 64px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* Header */
.bia-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.bia-title {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 800;
  color: #043448;
}
.bia-subtitle {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
  max-width: 520px;
}

/* Search */
.bia-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bia-search-input {
  min-width: 260px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d0d7de;
  font-size: 14px;
  background-color: #ffffff;
}
.bia-search-button {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: #043448;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.bia-search-button:hover {
  background: #05506a;
}

/* Filter chips */
.besimex-insights-filters,
.bia-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.bia-filter-btn,
.besimex-insights-filters .bia-chip {
  padding: 8px 20px;
  border-radius: 24px;
  background: #0434481a; /* rgba(4,52,72,0.1) */
  color: #043448;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}
.besimex-insights-filters .bia-chip:hover,
.bia-filter-btn:hover {
  background: #789900;
  color: #ffffff;
}
.besimex-insights-filters .bia-chip.is-active,
.bia-filter-btn.active {
  background: #789900;
  color: #ffffff;
  font-weight: 700;
}

/* Grid */
.bia-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

/* Card */
.bia-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;

  opacity: 0;
  transform: translateY(10px);
  animation: biaFadeUp .45s ease forwards;
}
@keyframes biaFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bia-card-thumb-link {
  display: block;
}
.bia-card-thumb {
  width: 100%;
  padding-bottom: 62%;
  background-size: cover;
  background-position: center;
}
.bia-card-body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bia-card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
}
.bia-card-badge {
  background: #e9f5d8;
  color: #6aa628;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.bia-card-date {
  color: #9ca3af;
}
.bia-card-title-link {
  text-decoration: none;
}
.bia-card-title {
  margin: 4px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #043448;
}
.bia-card-title:hover {
  color: #05506a;
}
.bia-card-excerpt {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}
.bia-card-readmore {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6aa628;
  text-decoration: none;
}
.bia-card-readmore .bia-arrow {
  margin-left: 4px;
}
.bia-card-readmore:hover {
  text-decoration: underline;
}

/* Pagination / load more */
.bia-pagination {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.bia-load-more {
  padding: 10px 24px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #043448;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.bia-load-more:hover {
  background: #d1d5db;
}

/* Featured block */
.bia-featured {
  padding-top: 32px;
}
.bia-featured-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px 24px 24px 28px;
  background: #f8fafc;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
}
.bia-featured-label-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.bia-featured-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6aa628;
}
.bia-featured-tag {
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e9f5d8;
  color: #6aa628;
  margin-left: 8px;
}
.bia-featured-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #043448;
}
.bia-featured-title a {
  color: inherit;
  text-decoration: none;
}
.bia-featured-title a:hover {
  color: #05506a;
}
.bia-featured-meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6c757d;
}
.bia-featured-excerpt {
  margin: 0 0 18px;
  font-size: 14px;
  color: #4b5563;
}
.bia-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bia-featured-primary,
.bia-featured-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.bia-featured-primary {
  background: #043448;
  color: #ffffff;
}
.bia-featured-primary:hover {
  background: #05506a;
}
.bia-featured-secondary {
  background: #ffffff;
  color: #043448;
  border: 1px solid #d0d7de;
}
.bia-featured-secondary:hover {
  background: #f3f4f6;
}
.bia-featured-media {
  position: relative;
}
.bia-featured-thumb {
  width: 100%;
  padding-bottom: 70%;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(15,23,42,0.18);
}

/* Single layout */
.bia-single-hero {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}
.bia-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-bottom: 8px;
}
.bia-single-badge {
  background: #e9f5d8;
  color: #6aa628;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.bia-single-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #043448;
}
.bia-single-subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  color: #4b5563;
}
.bia-single-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bia-single-primary,
.bia-single-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.bia-single-primary {
  background: #043448;
  color: #ffffff;
}
.bia-single-primary:hover {
  background: #05506a;
}
.bia-single-secondary {
  background: #ffffff;
  border: 1px solid #d0d7de;
  color: #043448;
}
.bia-single-secondary:hover {
  background: #f3f4f6;
}
.bia-single-hero-thumb {
  width: 100%;
  padding-bottom: 70%;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 48px rgba(15,23,42,0.22);
}

.bia-single-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.9fr);
  gap: 32px;
}
.bia-single-main {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 24px 28px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  border: 1px solid #e5e7eb;
}
.bia-single-content {
  font-size: 15px;
  color: #111827;
}
.bia-single-content h2,
.bia-single-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: #043448;
}
.bia-single-content p {
  margin-bottom: 12px;
}
.bia-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bia-single-widget {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
.bia-single-widget h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #043448;
}
.bia-single-list,
.bia-single-related {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.bia-single-related li {
  margin-bottom: 6px;
}
.bia-single-related a {
  color: #043448;
  text-decoration: none;
}
.bia-single-related a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
  .bia-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bia-featured-inner,
  .bia-single-hero {
    grid-template-columns: 1fr;
  }
  .bia-single-body {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .bia-header {
    align-items: flex-start;
  }
  .bia-search-form {
    width: 100%;
  }
  .bia-search-input {
    min-width: 0;
    flex: 1;
  }
  .bia-grid {
    grid-template-columns: 1fr;
  }
}


/* === Besimex Brand Palette Overrides (Insights Archive) === */
:root {
  --bia-primary: #043448;
  --bia-accent: #789900;
  --bia-bg-light: #f8f9fa;
  --bia-bg-dark: #101d22;
  --bia-text-light: #343A40;
  --bia-text-dark: #f8f9fa;
  --bia-border-light: #DEE2E6;
  --bia-border-dark: #343A40;
}

/* Overall spacing */
.besimex-insights-archive {
  background-color: var(--bia-bg-light) !important;
  padding-top: 32px;
  padding-bottom: 40px;
}

/* Header title & subtitle */
.bia-title {
  font-size: 30px;
  font-weight: 700;
  color: rgba(4,52,72,var(--tw-text-opacity,1));
  margin: 0 0 0.5rem;
}
.bia-subtitle {
  margin: 0;
  font-size: 14px;
  color: rgba(52,58,64,0.8);
  max-width: 520px;
}

/* Header -> filters spacing */
.bia-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

/* Filters wrapper */
.bia-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px; /* vertical horizontal */
  margin-bottom: 32px; /* filters -> cards */
}

/* Filter chips */
.bia-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px !important;          /* pill */
  overflow: hidden !important;
  border: 1px solid var(--bia-border-light) !important;
  background-color: rgba(4,52,72,0.1) !important; /* rgb(4 52 72 / 0.1) */
  color: #043448 !important;                /* primary text */
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.bia-filter-btn:hover {
  background-color: rgba(4,52,72,0.16) !important;
  border-color: #043448 !important;
  color: #043448 !important;
}

/* Active filter */
.bia-filter-btn.is-active,
.bia-filter-btn.active {
  background-color: #789900 !important;
  border-color: #789900 !important;
  color: #ffffff !important;
  font-weight: 600;
}

/* Search input */
.bia-search-form {
  display: flex;
  justify-content: flex-end;
}

.bia-search-input {
  width: 320px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--bia-border-light) !important;
  background-color: #ffffff !important;
  color: var(--bia-text-light) !important;
  font-size: 14px;
}

.bia-search-input::placeholder {
  color: #9ca3af;
}

/* Hide button (only show field like mockup) */
.bia-search-button {
  display: none !important;
}

/* Grid + card */
.bia-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px;
}

/* tablet */
@media (max-width: 991px) {
  .bia-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* mobile */
@media (max-width: 575px) {
  .bia-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bia-grid {
    grid-template-columns: repeat(1, minmax(0,1fr));
  }
}

/* Card container */
.bia-card {
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

/* Card body */
.bia-card-body {
  padding: 16px 20px 18px;
}

/* Category badge & date row */
.bia-card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
}

/* Badge */
.bia-card-badge {
  background-color: rgba(120,153,0,0.1) !important; /* rgb(120 153 0 / 0.1) */
  color: #789900 !important;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.06em;
  font-size: 12px;
}

/* Date */
.bia-card-date {
  font-size: 12px;
  font-weight: 600;
  color: rgba(52,58,64,0.6) !important;
  text-transform: uppercase;
}

/* Title & excerpt */
.bia-card-title {
  margin: 6px 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #043448 !important;
}

/* Excerpt: 3 lines clamp */
.bia-card-excerpt {
  margin: 0;
  font-size: 14px;
  color: #343A40 !important;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more */
.bia-card-readmore,
.bia-card-readmore a {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #789900 !important;
  text-decoration: none;
}

.bia-card-readmore .bia-arrow {
  margin-left: 4px;
}

.bia-card-readmore:hover {
  text-decoration: underline;
}


/* ==== Single Report New Layout (matches mockup) ==== */

.bia-single {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 16px 64px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

.bia-single-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.bia-breadcrumb {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 12px;
}
.bia-breadcrumb a {
  color: #6c757d;
  text-decoration: none;
}
.bia-breadcrumb a:hover {
  text-decoration: underline;
}
.bia-breadcrumb span {
  margin: 0 4px;
}
.bia-breadcrumb .current {
  color: #343A40;
}

/* Hero / header */
.bia-single-hero {
  margin-bottom: 24px;
}
.bia-single-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 9999px;
  background-color: rgba(120,153,0,0.1);
  color: #789900;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bia-single-title {
  font-size: 30px;
  font-weight: 700;
  color: #043448;
  margin: 0 0 10px;
}
.bia-single-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(52,58,64,0.8);
  margin-bottom: 16px;
}
.bia-single-meta-sep {
  opacity: 0.6;
}
.bia-single-highlight {
  border-left: 4px solid #789900;
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.04);
  color: #343A40;
  font-size: 14px;
  line-height: 1.6;
}

/* Body / content */
.bia-single-body {
  margin-top: 8px;
}
.bia-single-main {
  width: 100%;
}
.bia-single-content {
  font-size: 15px;
  color: #343A40;
  line-height: 1.7;
}
.bia-single-content h2 {
  font-size: 22px;
  margin: 28px 0 10px;
  color: #043448;
}
.bia-single-content h3 {
  font-size: 18px;
  margin: 22px 0 8px;
  color: #043448;
}
.bia-single-content p {
  margin: 0 0 12px;
}
.bia-single-content figure {
  margin: 24px 0;
  padding: 16px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}
.bia-single-content figure img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.bia-single-content figure figcaption {
  font-size: 12px;
  color: #6c757d;
  margin-top: 6px;
  text-align: center;
}

/* Key takeaways card */
.bia-key-takeaways {
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: 12px;
  background-color: #e9f5d8;
}
.bia-key-takeaways h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #043448;
}
.bia-key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bia-key-takeaways li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #343A40;
}
.bia-key-takeaways li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #789900;
}

/* CTA block */
.body.single-insight_report .bia-single-cta {
  margin-top: 32px;
  padding: 24px 0;
  border-radius: 0;
  background-color: transparent;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-left: 0;
  border-right: 0;
}
.bia-single-cta-text h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #043448;
}
.bia-single-cta-text p {
  margin: 0;
  font-size: 14px;
  color: #343A40;
}
.bia-single-cta-action {
  min-width: 200px;
  text-align: right;
}

/* Related block */
.bia-single-related-block {
  margin-top: 40px;
}
.bia-single-related-block h2 {
  font-size: 18px;
  font-weight: 700;
  color: #043448;
  margin-bottom: 16px;
}
.bia-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}
.bia-related-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: none;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15,23,42,0.05);
}
.bia-related-thumb {
  display: block;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
}
.bia-related-body {
  padding: 12px 14px 14px;
}
.bia-related-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}
.bia-related-title a {
  color: #043448;
  text-decoration: none;
}
.bia-related-title a:hover {
  text-decoration: underline;
}
.bia-related-excerpt {
  font-size: 13px;
  color: #343A40;
  margin: 0;
}
.bia-related-empty {
  font-size: 14px;
  color: #6c757d;
}

@media (max-width: 767px) {
  .bia-single-wrap {
    max-width: 100%;
  }
  .bia-single-cta {
    align-items: flex-start;
  }
  .bia-single-cta-action {
    text-align: left;
  }
}


/* ==== Single Report Global Overrides to Match Flat Layout ==== */

/* Make whole single-report page background light grey */
body.single-insight_report {
  background-color: #f8f9fa;
}

/* Remove outer theme card styles so only our bia-single card structure is visible */
body.single-insight_report .site-main,
body.single-insight_report .site-content,
body.single-insight_report article,
body.single-insight_report .entry-content {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Center our single layout with max width similar to design */
body.single-insight_report .bia-single {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 64px;
}

/* Slightly increase inner width for charts/text */
body.single-insight_report .bia-single-wrap {
  max-width: 1024px;
}

/* Ensure figures look like cards on grey background */
body.single-insight_report .bia-single-content figure {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 16px;
  margin: 24px 0;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}


/* === Single hero alignment fix: meta under title & 832px width === */

/* Limit inner width to exactly 832px on single report layout */
body.single-insight_report .bia-single-wrap {
  max-width: 1024px;
}

/* Stack meta under title instead of on the right */
body.single-insight_report .bia-single-meta-line {
  display: block;
  margin-top: 4px;
}

body.single-insight_report .bia-single-meta-date,
body.single-insight_report .bia-single-meta-author {
  display: block;
}

body.single-insight_report .bia-single-meta-sep {
  display: none;
}


/* === Single hero block layout fix: title + meta stacked === */
body.single-insight_report .bia-single-hero {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  margin-bottom: 24px !important;
}
body.single-insight_report .bia-single-meta-line {
  margin-top: 6px;
}


/* === Single report width + hero alignment refinements (12.11) === */

/* Make the entire single column (breadcrumb, title, meta, content) share the same 832px width */
body.single-insight_report .bia-single {
  max-width: 832px;
  margin-left: auto;
  margin-right: auto;
}

/* Inner wrapper just takes full width of that column */
body.single-insight_report .bia-single-wrap {
  max-width: 100%;
}

/* Title and meta stacked, using full 832px column */
body.single-insight_report .bia-single-hero {
  display: block !important;
  margin-bottom: 32px;
}

body.single-insight_report .bia-single-meta-line {
  margin-top: 8px;
}

body.single-insight_report .bia-single-meta-date,
body.single-insight_report .bia-single-meta-author {
  display: block;
}

body.single-insight_report .bia-single-meta-sep {
  display: none;
}

/* Ensure the main content width matches exactly */
body.single-insight_report .bia-single-content {
  max-width: 100%;
}

/* === Key Takeaways rich-text styling + icon (v12.20) === */
body.single-insight_report .bia-key-takeaways-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.single-insight_report .bia-key-takeaways-body li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #111827;
  line-height: 1.7;
}
body.single-insight_report .bia-key-takeaways-body li:last-child {
  margin-bottom: 0;
}
body.single-insight_report .bia-key-takeaways-body li::before {
  content: "check_circle";
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 2px;
  color: #6aa628;
}

/* Single report layout & CTA alignment */
body.single-insight_report {
  background:#FFFFFF;
}
body.single-insight_report .bia-single {
  max-width: 100%;
}
body.single-insight_report .bia-single-wrap {
  max-width: 832px;
  margin-left: auto;
  margin-right: auto;
}

body.single-insight_report .bia-single-cta {
  margin-top: 32px;
  padding-top: 24px;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  background-color: transparent;
  border: none;
  border-top: 1px solid #e5e7eb; /* chỉ đường line phía trên */
}
body.single-insight_report .bia-single-cta-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #043448;
}
body.single-insight_report .bia-single-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.single-insight_report .bia-single-cta-description {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  max-width: 520px;
}
body.single-insight_report .bia-single-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
body.single-insight_report .bia-single-cta-share {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body.single-insight_report .bia-single-cta-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
body.single-insight_report .bia-single-cta-share svg {
  width: 18px;
  height: 18px;
}

body.single-insight_report .bia-single-cta-button .bia-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #789900;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
body.single-insight_report .bia-single-cta-button .bia-download-btn:hover {
  background-color: #6aa628;
}

@media (max-width: 767px) {
  body.single-insight_report .bia-single-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  body.single-insight_report .bia-single-cta-inner {
    justify-content: flex-start;
  }
}

/* === v12.21: Fine-tune single report width, Key Takeaways background, CTA lines === */

/* Ensure inner column is exactly 832px and centered */
body.single-insight_report .bia-single-wrap {
  max-width: 832px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Key Takeaways background color as per design */
body.single-insight_report .bia-key-takeaways {
  background-color: #f4f7f9 !important;
}

/* Access the Full Analysis: only one line on top, no box effect */
body.single-insight_report .bia-single-cta {
  border-top: 1px solid #e5e7eb !important;
  border-right: none !important;
  border-left: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
  padding-left: 0;
  padding-right: 0;
}

/* Ensure following sections do not add extra lines that look like a box */
body.single-insight_report .bia-single-related-block,
body.single-insight_report .bia-single-related-block * {
  border-top: none !important;
}

/* === Report Type pill badge for single report (v12.22) === */
body.single-insight_report .bia-single-report-type {
  margin-top: 8px;
  margin-bottom: 4px;
}
body.single-insight_report .bia-report-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: #e9f5d8;
  color: #48631a;
}


/* ==== Besimex Single Insight alignment fix (1024px unified container) ==== */
body.single-insight_report .bia-single {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

body.single-insight_report .bia-single-wrap {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

body.single-insight_report .bia-entry-content {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Ensure related cards use same inner width and styling */
body.single-insight_report .bia-related-wrapper {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body.single-insight_report .bia-related-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: none;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}


/* === Besimex Insights – archive overrides (Figma alignment) === */

/* Header layout */
.bia-header-left {
  min-width: 0;
}

.bia-header-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 1 1 auto;
}

/* Search: input only, no visible button */
.bia-search-form {
  display: block;
}

.bia-search-button {
  display: none !important;
}

.bia-search-input {
  min-width: 260px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  font-size: 14px;
}

.bia-search-input::placeholder {
  color: rgba(52, 58, 64, 0.5);
}

/* Filters – background + hover + active state */
.besimex-insights-filters.bia-filters {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bia-filter-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #043448;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bia-filter-btn:hover {
  background: rgba(4, 52, 72, 0.06);
}

.besimex-insights-filters .bia-chip.is-active,
.bia-filter-btn.active {
  background: #0434481A; /* requested active bg */
  border-color: transparent;
  color: #043448;
  font-weight: 600;
}

/* Grid & cards – equal height layout */
.bia-grid {
  align-items: stretch;
}

.bia-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bia-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.bia-card-excerpt {
  flex: 1 1 auto;
}

.bia-card-readmore {
  margin-top: auto;
}
