/* =========================================================
   Simple comparator — Navy + Amber palette
   ========================================================= */

:root {
  --c-primary:       #2C3E66;
  --c-primary-dark:  #1E2D4A;
  --c-accent:        #D4A24C;
  --c-accent-dark:   #B8862F;
  --c-text:          #1A1A1A;
  --c-text-muted:    #5C6470;
  --c-border:        #E5E7EB;
  --c-bg:            #FFFFFF;
  --c-bg-soft:       #FFFFFF;
  --c-star:          #F3B43A;
  --c-check-bg:      #E4E8F1;
}

.fb-page-root {
  background: var(--c-bg-soft);
  color: var(--c-text);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Responsive show/hide helpers ---------- */
.fb-only-mobile { display: none; }
.fb-only-desktop { display: block; }
@media (max-width: 767px) {
  .fb-only-desktop { display: none; }
  .fb-only-mobile { display: block; }
}

/* ---------- Banner ---------- */
.fb-banner {
  background: var(--c-bg);
  padding: 16px 0 26px;
}
.fb-banner h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 8px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.fb-banner p {
  font-size: 16px;
  color: var(--c-text-muted);
  margin: 0;
}

/* ---------- Disclosure ---------- */
.fb-disclosure {
  background: #EEF0F4;
  color: #555;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
  margin: 0 0 14px;
}
.fb-disclosure a {
  color: var(--c-primary);
  text-decoration: underline;
}

/* ---------- Layout ---------- */
.fb-wrap {
  background: var(--c-bg-soft);
  padding: 0 0 20px;
}
.fb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: flex-start;
}
.fb-grid > div:last-child { position: sticky; top: 16px; }
@media (max-width: 1099px) {
  .fb-grid { grid-template-columns: 1fr; }
  .fb-grid > div:last-child { display: none; }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  .fb-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
}
@media (max-width: 991px) {
  .fb-banner h1 { font-size: 26px; }
}

/* ---------- Card (desktop) ---------- */
.fb-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}
.fb-card-link:hover .fb-card {
  border-color: var(--c-primary);
  box-shadow: 0 6px 18px rgba(44, 62, 102, 0.12);
  transform: translateY(-1px);
}
.fb-card-link:hover .fb-cta {
  background: var(--c-primary-dark);
}

/* #1 card and Featured #1 keep gold theme on hover with a richer glow */
.fb-card-link:hover .fb-card.fb-top,
.fb-featured .fb-card-link:hover .fb-card {
  border-color: var(--c-accent-dark);
  box-shadow:
    0 0 0 4px rgba(212, 162, 76, 0.18),
    0 12px 28px rgba(184, 134, 47, 0.28);
}
.fb-card-link:hover .fb-card.fb-top .fb-top-tag,
.fb-featured .fb-card-link:hover .fb-card .fb-top-tag {
  background: var(--c-accent-dark);
}

.fb-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 24px 24px;
  margin-bottom: 18px;
  position: relative;
  display: grid;
  grid-template-columns: 50px 150px minmax(0, 1fr) 170px;
  grid-template-areas:
    "rank logo content score"
    "rank logo content cta";
  column-gap: 20px;
  row-gap: 10px;
  align-items: center;
  box-shadow: 0 1px 2px rgba(28, 36, 60, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.fb-card.fb-top {
  border-color: var(--c-accent);
  border-width: 2px;
  padding-top: 30px;
  box-shadow: 0 4px 14px rgba(212, 162, 76, 0.18);
}

.fb-rank {
  grid-area: rank;
  font-size: 48px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  text-align: center;
}
.fb-logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-logo img {
  max-width: 100%;
  max-height: 64px;
  height: auto;
  width: auto;
}
.fb-content {
  grid-area: content;
  min-width: 0;
}
.fb-score-box {
  grid-area: score;
  align-self: end;
}
.fb-cta-wrap {
  grid-area: cta;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Top tag */
.fb-top-tag {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px 6px 32px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}
.fb-top-tag::before {
  content: "🏆";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

/* Title + features */
.fb-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 8px;
}
.fb-features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fb-features li {
  position: relative;
  padding-left: 28px;
  margin: 6px 0;
  font-size: 15px;
  color: #2A2A2A;
  line-height: 1.45;
}
.fb-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--c-check-bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3E66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* Score box */
.fb-score-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 170px;
  margin-left: auto;
  margin-right: auto;
}
.fb-score-num {
  background: var(--c-primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}
.fb-score-meta {
  background: #fff;
  padding: 6px 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
.fb-score-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--c-text);
  text-transform: uppercase;
}
.fb-stars {
  display: inline-flex;
  gap: 1px;
}
.fb-stars svg {
  width: 15px;
  height: 15px;
}

/* CTA */
.fb-cta-wrap { width: 100%; max-width: 170px; margin-left: auto; margin-right: auto; }
.fb-cta {
  background: var(--c-primary);
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: background 0.15s ease;
}
.fb-cta-arrow { font-weight: 700; }
.fb-cta-note { text-align: center; font-size: 12px; color: var(--c-text-muted); }

/* ---------- Card mobile layout ---------- */
@media (max-width: 767px) {
  .fb-card {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "rank logo score"
      "content content content"
      "cta cta cta";
    column-gap: 10px;
    row-gap: 14px;
    padding: 16px;
  }
  .fb-card.fb-top { padding-top: 24px; }
  .fb-rank { font-size: 38px; text-align: left; }
  .fb-logo img { max-height: 56px; max-width: 100%; width: auto; }
  .fb-title { padding-bottom: 0; margin-bottom: 5px; }
  .fb-score-box { max-width: 110px; grid-template-columns: 38px 1fr; }
  .fb-score-num { font-size: 14px; padding: 4px 0; }
  .fb-score-label { font-size: 10px; letter-spacing: 0.2px; }
  .fb-stars svg { width: 12px; height: 12px; }
  .fb-cta-wrap { max-width: none; }
}

/* ---------- Sidebar ---------- */
.fb-sidebar-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
}
.fb-sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
  background: var(--c-bg-soft);
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
}
.fb-sidebar-body { padding: 8px 20px 14px; }
.fb-sidebar-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
}
.fb-sidebar-link:last-child { border-bottom: none; }
.fb-sidebar-link span {
  display: block;
  font-size: 12px;
  color: var(--c-primary);
  font-weight: 600;
  margin-top: 2px;
}
.fb-sidebar-review {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  color: var(--c-text);
}
.fb-sidebar-review:last-child { border-bottom: none; }
.fb-sidebar-review img { width: 60px; height: auto; flex-shrink: 0; }
.fb-sidebar-review-text { font-size: 14px; font-weight: 700; }
.fb-sidebar-review-text span {
  display: block;
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

/* ---------- Article content ---------- */
.fb-article {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 24px 30px;
  margin-top: 0;
}
.fb-article > .fb-overview { margin-top: 0; }
.fb-article > .fb-overview .fb-overview-title { margin-top: 0; }
.fb-article h1, .fb-article h2 {
  color: var(--c-text);
  font-weight: 700;
  margin-top: 1.4em;
}
.fb-article h2 { font-size: 22px; }
.fb-article p { color: #2A2A2A; line-height: 1.65; }
.fb-article a { color: var(--c-primary); }
.fb-article blockquote {
  border-left: 4px solid var(--c-primary);
  padding: 6px 16px;
  background: var(--c-bg-soft);
  margin: 16px 0;
  font-style: italic;
}
@media (max-width: 991px) {
  .fb-article { padding: 20px; }
}

/* ---------- Featured highlight after ranking ---------- */
.fb-featured {
  margin: 28px 0 24px;
  padding: 22px 24px 6px;
  background: linear-gradient(180deg, #FBF6EA 0%, #FFFFFF 100%);
  border: 1px solid #EAD9B0;
  border-radius: 12px;
}
.fb-featured-head {
  text-align: center;
  margin-bottom: 18px;
}
.fb-featured-medal {
  font-size: 32px;
  display: inline-block;
  margin-bottom: 4px;
}
.fb-featured-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-primary);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.fb-featured-sub {
  font-size: 14px;
  color: var(--c-text-muted);
  margin: 0 auto;
  max-width: 620px;
  line-height: 1.45;
}
.fb-featured .fb-card-link { display: block; }
.fb-featured .fb-card { margin-bottom: 0; }
@media (max-width: 991px) {
  .fb-featured { padding: 18px 14px 4px; }
  .fb-featured-title { font-size: 19px; }
}

/* ---------- Review page (banner + sidebar author + hero + sidebar mini-rank) ---------- */
.fb-review-banner {
  padding-top: 16px;
  padding-bottom: 14px;
}
.fb-review-banner h1 {
  font-size: 28px;
  margin-bottom: 0;
}
.fb-review-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(28, 36, 60, 0.04);
  overflow: hidden;
}
.fb-review-meta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-accent) 100%);
}
.fb-review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--c-primary);
  flex-shrink: 0;
}
.fb-review-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fb-review-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.2;
}
.fb-review-author::before {
  content: 'Bewertung von';
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--c-primary);
  margin-bottom: 2px;
}
.fb-review-date {
  font-size: 12px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.fb-review-date::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>") center / contain no-repeat;
}
.fb-review-hero {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto 24px;
}

.fb-review-aside { position: sticky; top: 16px; }
.fb-mini-rank {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
}
.fb-mini-rank h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #fff;
  background: var(--c-primary);
  padding: 12px 16px;
}
.fb-mini-rank ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fb-mini-rank li { border-bottom: 1px solid var(--c-border); }
.fb-mini-rank li:last-child { border-bottom: none; }

.fb-mini-card {
  display: grid;
  grid-template-columns: 22px 56px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none !important;
  color: var(--c-text) !important;
  transition: background 0.15s ease;
}
.fb-mini-card:hover { background: #FAFBFD; }
.fb-mini-rank-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-primary);
  text-align: center;
}
.fb-mini-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-mini-logo img { max-width: 100%; max-height: 32px; height: auto; }
.fb-mini-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fb-mini-title { font-size: 13px; font-weight: 700; color: var(--c-text); }
.fb-mini-score {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-weight: 700;
  color: var(--c-primary);
}
.fb-mini-score-num { font-size: 13px; }
.fb-mini-score-out { font-size: 10px; color: var(--c-text-muted); font-weight: 600; }
.fb-mini-cta {
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* On mobile, mini-rank moves above sidebar */
@media (max-width: 991px) {
  .fb-review-aside { position: static; }
  .fb-review-banner h1 { font-size: 22px; }
}

/* ---------- Sticky scroll popup (mobile / tablet only) ---------- */
@media (min-width: 992px) {
  .fb-popup { display: none !important; }
}
.fb-popup {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -6px 24px rgba(28, 36, 60, 0.14);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.fb-popup.fb-popup-visible {
  transform: translateY(0);
}
.fb-popup-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
}
.fb-popup-logo {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-popup-logo img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
}
.fb-popup-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.fb-popup-text strong {
  font-size: 15px;
  color: var(--c-text);
  font-weight: 700;
}
.fb-popup-text span {
  font-size: 12px;
  color: var(--c-text-muted);
}
.fb-popup-cta {
  flex-shrink: 0;
  background: var(--c-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}
.fb-popup-cta:hover { background: var(--c-primary-dark); color: #fff !important; }
.fb-popup-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.fb-popup-close:hover { color: var(--c-text); }
@media (max-width: 575px) {
  .fb-popup-logo { width: 56px; }
  .fb-popup-logo img { max-height: 44px; }
  .fb-popup-text strong { font-size: 13px; }
  .fb-popup-text span { font-size: 11px; }
  .fb-popup-cta { padding: 11px 14px; font-size: 13px; }
  .fb-popup-inner { gap: 10px; padding: 14px 12px; }
}

/* ---------- Disclosure modal ---------- */
.fb-disclosure-trigger {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
body.fb-modal-open { overflow: hidden; }
.fb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 50, 0.55);
}
.fb-modal-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  padding: 28px 32px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.fb-modal-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-primary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.fb-modal-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-text);
  margin: 0 0 16px;
}
.fb-modal-close {
  background: var(--c-primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.fb-modal-close:hover { background: var(--c-primary-dark); }
@media (max-width: 575px) {
  .fb-modal-card { padding: 22px 20px; }
}

/* Hide legacy disclaimer / ranking-disc container above footer everywhere */
.ranking_disc_container,
.disclaimer_trigger {
  display: none !important;
}

/* ---------- Review article overrides ---------- */
/* Switch legacy review buttons from pink to navy */
.fb-page-root .btn-bordered,
.fb-article .btn-bordered {
  border: 1px solid var(--c-primary) !important;
  color: var(--c-primary) !important;
  background: transparent !important;
}
.fb-page-root .btn-bordered:hover,
.fb-article .btn-bordered:hover {
  background: var(--c-primary) !important;
  color: #fff !important;
}

/* ---------- Review Overview block ---------- */
.fb-overview {
  margin: 0 0 28px;
}
.fb-overview-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.fb-overview-intro {
  font-size: 15px;
  color: #2A2A2A;
  line-height: 1.55;
  margin: 0 0 18px;
}
.fb-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  background: #F4F5F7;
  border-radius: 12px;
  padding: 24px 26px;
  align-items: start;
}
.fb-overview-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fb-overview-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 10px;
}
.fb-overview-pros, .fb-overview-cons {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fb-overview-pros li, .fb-overview-cons li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.45;
  color: #2A2A2A;
  margin: 8px 0;
}
.fb-pros-sub {
  font-weight: 400;
  color: var(--c-text-muted);
  font-size: 13px;
}
.fb-overview-pros li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #DCEBDF;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23227043' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.fb-overview-cons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FBE4E4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5343A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.fb-overview-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.fb-overview-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  min-height: 90px;
}
.fb-overview-logo img {
  max-width: 100%;
  max-height: 70px;
  height: auto;
  width: auto;
}
.fb-overview-score {
  margin: 0;
  max-width: none;
}
.fb-overview-cta {
  margin: 0;
}
@media (max-width: 767px) {
  .fb-overview-card {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .fb-overview-cols { grid-template-columns: 1fr; gap: 14px; }
  .fb-overview-title { font-size: 22px; }

  /* Move side block above pros/cons and lay it out compactly inline */
  .fb-overview-side {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
  }
  .fb-overview-logo {
    flex: 0 0 auto;
    width: 80px;
    min-height: 0;
    padding: 0;
    background: transparent;
  }
  .fb-overview-logo img { max-height: 44px; }
  .fb-overview-score {
    flex: 1 1 auto;
    max-width: none;
  }
  .fb-overview-score .fb-score-num { font-size: 18px; padding: 8px 0; }
  .fb-overview-cta {
    flex: 1 1 100%;
    margin: 4px 0 0;
  }
  .fb-overview-side .fb-cta-note { flex: 1 1 100%; margin: 0; }
}

/* ---------- Header / nav redesign ---------- */
.navbar.navbar-expand-md {
  border-bottom: none;
  padding-top: 8px;
  padding-bottom: 8px;
}
.navbar.navbar-expand-md .nav-link {
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  color: var(--c-text) !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1 !important;
}
.navbar.navbar-expand-md .nav-link:hover,
.navbar.navbar-expand-md .nav-link.show {
  background: #F4F5F8;
  color: var(--c-primary) !important;
}
.navbar.navbar-expand-md .nav-link.dropdown-toggle::after {
  display: inline-block !important;
  content: '' !important;
  width: 8px;
  height: 8px;
  border: solid var(--c-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-left: 4px;
  transition: transform 0.2s ease;
  vertical-align: middle;
  background: none;
}
.navbar.navbar-expand-md .nav-link.dropdown-toggle.show::after {
  transform: rotate(-135deg);
}
ul.navbar-nav li.nav-item:last-child { margin-left: 0 !important; }

/* Dropdown panel */
.navbar.navbar-expand-md .dropdown-menu.megamenu {
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(28, 36, 60, 0.14) !important;
  border-radius: 12px !important;
  border: 1px solid var(--c-border) !important;
  padding: 8px !important;
  margin-top: 6px !important;
  min-width: 280px;
}
.navbar.navbar-expand-md .megamenu .container {
  max-width: none !important;
  padding: 0 !important;
  width: auto !important;
}
.navbar.navbar-expand-md .megamenu .nav-close { display: none !important; }
.navbar.navbar-expand-md .megamenu h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--c-text-muted) !important;
  padding: 8px 12px 4px !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.navbar.navbar-expand-md .megamenu h4::after { display: none !important; }
.navbar.navbar-expand-md .megamenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.navbar.navbar-expand-md .megamenu ul li {
  padding: 0 !important;
  font-size: 14px !important;
}
.navbar.navbar-expand-md .megamenu ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--c-text) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
.navbar.navbar-expand-md .megamenu ul li a:hover {
  background: #F4F5F8;
  color: var(--c-primary) !important;
}
.navbar.navbar-expand-md .megamenu ul li a::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3E66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center / contain no-repeat;
  opacity: 0.55;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.navbar.navbar-expand-md .megamenu ul li a:hover::before {
  transform: translateX(3px);
  opacity: 1;
}

/* ---------- Header frame redesign (last-updated bar) ---------- */
.header-frame {
  background: var(--c-primary) !important;
  height: auto !important;
  position: relative;
}
.header-frame .top-frame,
.header-frame .bottom-frame { display: none !important; }
.header-frame > .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
  padding-bottom: 8px;
}
.header-frame .update {
  margin: 0 !important;
  top: 0 !important;
  height: auto !important;
  text-align: left;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.2px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.header-frame .update b {
  font-weight: 700;
  color: #fff;
}
.header-frame .update::before {
  content: '' !important;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>") center / contain no-repeat !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .header-frame > .container {
    justify-content: center;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .header-frame .update { font-size: 11px !important; }
}
