.ig-has-floating-header {
  padding-top: 96px;
}

.ig-floating-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(1080px, calc(100% - 24px));
}

.ig-floating-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid #d7dfeb;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 35px -28px rgba(15, 23, 42, 0.45);
}

.ig-floating-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  min-width: 0;
}

.ig-floating-header__logo {
  width: 40px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ig-floating-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.ig-floating-header__link {
  text-decoration: none;
  color: #334155;
  padding: 8px 11px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease;
  white-space: nowrap;
}

.ig-floating-header__link:hover {
  background: #e8eefb;
  color: #0047ab;
}

.ig-floating-header__link.is-active {
  background: #0047ab;
  color: #ffffff;
}

.ig-floating-header__cta {
  text-decoration: none;
  color: #ffffff;
  background: #0047ab;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease;
}

.ig-floating-header__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.ig-trust-logo-row {
  opacity: 1 !important;
  filter: none !important;
}

.ig-trust-logo-row .ig-trust-logo,
img.ig-trust-logo {
  height: clamp(28px, 4.2vw, 46px) !important;
  width: auto !important;
  max-width: min(180px, 28vw);
  object-fit: contain;
  opacity: 1 !important;
  filter: none !important;
}

.ig-trust-logo-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* unified article/blog UX */
.ig-article-enhanced .ig-fabnav {
  display: none !important;
}

.ig-article-enhanced .page-shell {
  max-width: 1240px;
}

.ig-article-enhanced .content-shell #main-content,
.ig-article-enhanced main article[role="article"],
.ig-article-enhanced .entry-content {
  background: #ffffff;
  border: 1px solid #dce4f2;
  border-radius: 20px;
  box-shadow: 0 20px 35px -28px rgba(15, 23, 42, 0.35);
}

.ig-article-enhanced .entry-content {
  padding: clamp(16px, 2vw, 30px);
}

.ig-article-enhanced .entry-content h2,
.ig-article-enhanced .entry-content h3 {
  color: #0f172a;
  margin-top: 1.4em;
}

.ig-topic-sidebar {
  position: fixed;
  top: 108px;
  right: max(18px, calc((100vw - 1240px) / 2 + 18px));
  width: min(300px, calc(100vw - 36px));
  max-height: calc(100vh - 126px);
  overflow: auto;
  z-index: 7000;
  display: grid;
  gap: 12px;
  padding-right: 4px;
}

.ig-topic-sidebar__card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d8e1f0;
  border-radius: 16px;
  padding: 14px 14px 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 35px -30px rgba(15, 23, 42, 0.45);
}

.ig-topic-sidebar__kicker {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1e3a8a;
}

.ig-topic-sidebar__list,
.ig-topic-sidebar__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ig-topic-sidebar__list li,
.ig-topic-sidebar__links li a {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.ig-topic-sidebar__list li {
  position: relative;
  padding-left: 13px;
}

.ig-topic-sidebar__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .56em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #1d4ed8;
}

.ig-topic-sidebar__links li a {
  display: block;
  text-decoration: none;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ig-topic-sidebar__links li a:hover {
  border-color: #c8d6ef;
  background: #eff4ff;
  color: #0b47c1;
}

.ig-topic-sidebar__card--cta {
  padding: 12px;
}

.ig-topic-sidebar__cta {
  text-decoration: none;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: #0b4bce;
  color: #ffffff;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: filter .2s ease, transform .2s ease;
}

.ig-topic-sidebar__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* automatic UX upgrade for legacy blog/article pages */
.ig-legacy-upgraded .page-shell {
  max-width: 1180px;
}

.ig-legacy-hero {
  margin: 8px 0 18px;
}

.ig-legacy-hero__inner {
  background: linear-gradient(135deg, rgba(232, 239, 252, 0.95), rgba(244, 248, 255, 0.95));
  border: 1px solid #dce5f4;
  border-radius: 22px;
  box-shadow: 0 24px 40px -34px rgba(15, 23, 42, 0.45);
  padding: clamp(20px, 3vw, 34px);
}

.ig-legacy-hero__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 75, 206, 0.09);
  border: 1px solid rgba(11, 75, 206, 0.2);
  color: #0b47c1;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ig-legacy-hero__title {
  margin: 12px 0 10px;
  color: #0f172a;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.02em;
  font-weight: 800;
}

.ig-legacy-hero__desc {
  margin: 0;
  color: #475569;
  max-width: 760px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.6;
}

.ig-legacy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ig-legacy-hero__btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d4deef;
  background: #ffffff;
  color: #334155;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.ig-legacy-hero__btn:hover {
  transform: translateY(-1px);
  border-color: #0b4bce;
  color: #0b4bce;
}

.ig-legacy-hero__btn.is-primary {
  background: #0b4bce;
  border-color: #0b4bce;
  color: #ffffff;
}

.ig-legacy-upgraded .ig-legacy-source-title {
  display: none !important;
}

.ig-legacy-upgraded .content-shell article,
.ig-legacy-upgraded .content-shell .post,
.ig-legacy-upgraded .content-shell .et_pb_post,
.ig-legacy-upgraded .entry-content {
  background: #ffffff !important;
  border: 1px solid #dbe4f3 !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 35px -32px rgba(15, 23, 42, .45) !important;
}

.ig-legacy-upgraded .entry-content {
  padding: clamp(14px, 2vw, 26px) !important;
}

img[src*="/wp-content/uploads/2023/10/Barmenia-6.png"],
img[src*="/wp-content/uploads/2023/10/2-1.png"],
img[src*="/wp-content/uploads/2023/10/1-3.png"],
img[src*="/wp-content/uploads/2023/10/Barmenia-5.png"] {
  height: clamp(28px, 4.2vw, 46px) !important;
  width: auto !important;
  max-width: min(180px, 28vw);
  object-fit: contain;
}

/* force single header pattern across pages */
header.floating-header,
header.floating-nav,
.floating-nav,
.et_pb_section--with-menu,
.et_pb_row--with-menu,
.main-nav,
.et_pb_menu,
.et_mobile_nav_menu,
.mobile_nav {
  display: none !important;
}

@media (max-width: 980px) {
  .ig-has-floating-header {
    padding-top: 88px;
  }

  .ig-floating-header__link {
    font-size: 12px;
    padding: 7px 9px;
  }

  .ig-floating-header__cta {
    font-size: 12px;
    padding: 8px 12px;
  }
}

@media (min-width: 1220px) {
  .ig-article-enhanced .page-shell {
    padding-right: 328px;
  }
}

@media (max-width: 740px) {
  .ig-floating-header__inner {
    padding: 10px 12px;
  }

  .ig-floating-header__nav {
    gap: 0;
  }

  .ig-floating-header__link[data-short-hide="true"] {
    display: none;
  }

  .ig-floating-header__cta {
    padding: 8px 10px;
  }

  .ig-legacy-hero {
    margin-top: 2px;
  }
}

@media (max-width: 1219px) {
  .ig-topic-sidebar {
    display: none;
  }
}

/* Global light appearance for redesigned core pages */
.bg-\[\#071632\],
.bg-deep,
.bg-navy {
  background: #e7edf6 !important;
  color: #0f172a !important;
}

.bg-\[\#071632\] .text-white,
.bg-deep .text-white,
.bg-navy .text-white,
.bg-\[\#071632\] .text-slate-100,
.bg-\[\#071632\] .text-slate-300,
.bg-deep .text-slate-300,
.bg-navy .text-slate-300,
.bg-navy .text-slate-400 {
  color: #334155 !important;
}

.bg-\[\#071632\] .border-slate-600,
.bg-\[\#071632\] .border-slate-700,
.bg-\[\#071632\] .border-slate-800,
.bg-deep .border-slate-600,
.bg-deep .border-slate-700,
.bg-deep .border-slate-800,
.bg-navy .border-slate-600,
.bg-navy .border-slate-700,
.bg-navy .border-slate-800 {
  border-color: #cbd5e1 !important;
}
