:root {
  --ifb-navy: #122b40;
  --ifb-navy-deep: #0c2337;
  --ifb-ink: #1c3545;
  --ifb-teal: #087e83;
  --ifb-teal-light: #b9e8df;
  --ifb-cream: #f5f8f7;
  --ifb-border: #e4edec;
  --ifb-muted: #5e7280;
  --ifb-white: #fff;
  --ifb-accent: #f8ba86;
  --ifb-radius: 20px;
  --ifb-shadow: 0 18px 45px rgba(15, 48, 65, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ifb-white);
  color: var(--ifb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .ifb-header { top: 32px; }
a { color: var(--ifb-teal); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #005e65; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #f4a865; outline-offset: 4px; border-radius: 4px; }
::selection { background: #bfe5e3; color: #0c2337; }
.ifb-skip-link {
  position: fixed; z-index: 110; left: 16px; top: -100px; padding: 11px 17px;
  background: white; color: var(--ifb-navy); border-radius: 8px; font-weight: 800;
}
.ifb-skip-link:focus { top: 12px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%); height: 1px; overflow: hidden;
  padding: 0; position: absolute; white-space: nowrap; width: 1px;
}

.ifb-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.ifb-main, .ifb-main > .wp-block-post-content { max-width: none !important; }
.ifb-main { min-height: 50vh; }
.ifb-main > .wp-block-post-content > * { margin-block-start: 0; }
.ifb-main > .wp-block-post-content > * + * { margin-block-start: 0; }

.ifb-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 49, 62, .075);
  box-shadow: 0 3px 18px rgba(21, 51, 68, .015);
}
.ifb-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 91px; gap: 28px;
}
.ifb-logo { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1; color: var(--ifb-navy); text-decoration: none; flex-shrink: 0; }
.ifb-logo:hover { color: var(--ifb-navy); }
.ifb-logo__mark { font-size: 37px; font-weight: 900; letter-spacing: -.085em; }
.ifb-logo__dot { color: var(--ifb-teal); }
.ifb-logo__sub { font-size: 9px; font-weight: 800; letter-spacing: .45em; margin-left: 2px; color: #6c828d; }
.ifb-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 28px; flex: 1; }
.ifb-navigation__links { display: flex; align-items: center; gap: 23px; list-style: none; margin: 0; padding: 0; }
.ifb-navigation__links a {
  display: inline-block; color: #263e4d; text-decoration: none; font-size: 13px;
  font-weight: 680; white-space: nowrap; transition: color .2s ease;
}
.ifb-navigation__links a:hover, .ifb-navigation__links a[aria-current="page"] { color: var(--ifb-teal); }
.ifb-navigation__actions { display: flex; align-items: center; gap: 14px; }
.ifb-lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid #dbe7e8; border-radius: 9px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.ifb-lang-switch a, .ifb-lang-switch__active {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 33px; padding: 4px 7px;
  text-decoration: none; border-radius: 6px; color: var(--ifb-navy);
}
.ifb-lang-switch a:hover { background: var(--ifb-cream); color: var(--ifb-navy); }
.ifb-lang-switch__active { background: var(--ifb-navy); color: #fff; }
.ifb-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 22px; min-height: 51px; border-radius: 10px;
  font-weight: 750; font-size: 14px; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ifb-button:hover { transform: translateY(-2px); }
.ifb-button--small { padding: 12px 17px; min-height: 43px; background: var(--ifb-teal); color: white; }
.ifb-button--small:hover { background: #005d64; color: white; }
.ifb-menu-toggle { display: none; }

.ifb-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 72% 26%, #23556c 0%, #163b51 37%, var(--ifb-navy-deep) 82%);
  color: white;
}
.ifb-hero::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  right: -180px; top: -310px; border-radius: 50%;
  border: 1px solid rgba(155, 224, 225, .13);
  box-shadow: 0 0 0 80px rgba(130, 210, 210, .025), 0 0 0 155px rgba(130, 210, 210, .02);
  pointer-events: none;
}
.ifb-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 170px;
  background: linear-gradient(to top, rgba(9, 34, 52, .22), transparent); pointer-events: none;
}
.ifb-hero__grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  align-items: center; gap: 42px; padding-top: 100px; padding-bottom: 152px;
}
.ifb-hero__content { max-width: 670px; }
.ifb-eyebrow {
  display: block; margin: 0 0 20px; color: #89ded3;
  font-size: 12px; line-height: 1.5; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.ifb-eyebrow--dark { color: #0c8285; }
.ifb-hero h1 {
  color: white; font-size: clamp(43px, 4.6vw, 70px);
  font-weight: 800; line-height: 1.115; letter-spacing: -.052em; max-width: 760px;
  margin: 0 0 23px;
}
.ifb-hero__lead { color: #cbdce5; font-size: clamp(16px, 1.43vw, 19px); line-height: 1.82; margin: 0; max-width: 625px; }
.ifb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ifb-button--primary { background: #adede1; color: #0e3d43; }
.ifb-button--primary:hover { background: #cbf7ef; color: #0e3d43; box-shadow: 0 10px 26px rgba(115, 209, 193, .16); }
.ifb-button--secondary { color: white; border: 1px solid rgba(235, 249, 248, .48); }
.ifb-button--secondary:hover { color: white; border-color: white; background: rgba(255,255,255,.08); }
.ifb-hero__visual { position: relative; min-height: 390px; isolation: isolate; }
.ifb-orbit { border: 1px solid rgba(166, 226, 226, .2); border-radius: 50%; position: absolute; }
.ifb-orbit--one { width: 360px; height: 360px; top: 17px; left: 58px; transform: rotate(-20deg); }
.ifb-orbit--two { width: 265px; height: 265px; top: 67px; left: 106px; border-style: dashed; border-color: rgba(166,226,226,.24); }
.ifb-hero__visual::before {
  content: ''; position: absolute; width: 295px; height: 295px; top: 54px; left: 91px;
  background: radial-gradient(circle at 40% 40%, #71bac1 0%, #277e86 35%, #15465a 70%);
  border: 1px solid rgba(255,255,255,.23); border-radius: 50%; box-shadow: inset -22px -34px 40px rgba(8,37,54,.42), 0 20px 58px rgba(0,0,0,.12);
}
.ifb-hero__visual::after {
  content: 'IFB'; position: absolute; top: 152px; left: 180px; font-size: 66px;
  font-weight: 800; letter-spacing: -.08em; color: rgba(255,255,255,.82); transform: rotate(-10deg);
}
.ifb-visual-card {
  position: absolute; z-index: 1; width: 171px; height: 72px;
  padding: 13px 16px; border-radius: 14px; display: flex; flex-direction: column;
  background: rgba(255,255,255,.92); box-shadow: 0 14px 36px rgba(7,25,39,.18);
  transform: rotate(-5deg); color: var(--ifb-navy); line-height: 1.45;
}
.ifb-visual-card span { color: #5d9da1; font-size: 11px; font-weight: 800; }
.ifb-visual-card b { font-size: 21px; font-weight: 800; }
.ifb-visual-card--top { left: 4px; top: 36px; transform: rotate(-10deg); }
.ifb-visual-card--middle { right: -3px; top: 150px; transform: rotate(9deg); }
.ifb-visual-card--bottom { left: 6px; bottom: 28px; transform: rotate(-5deg); }

.ifb-hero--light { background: #eaf5f2; color: var(--ifb-navy); }
.ifb-hero--light::before { border-color: rgba(5,126,130,.13); box-shadow: 0 0 0 80px rgba(5,126,130,.025),0 0 0 155px rgba(5,126,130,.02); }
.ifb-hero--light::after { display: none; }
.ifb-hero--light .ifb-hero__grid { padding-top: 80px; padding-bottom: 90px; }
.ifb-hero--light h1 { color: var(--ifb-navy); font-size: clamp(38px,4.1vw,60px); }
.ifb-hero--light .ifb-eyebrow { color: var(--ifb-teal); }
.ifb-hero--light .ifb-hero__lead { color: #4b6570; }
.ifb-hero--light .ifb-button--primary { background: var(--ifb-teal); color: white; }
.ifb-hero--light .ifb-button--primary:hover { background: #005e66; color: white; }
.ifb-hero--light .ifb-button--secondary { border-color: #81b4b3; color: var(--ifb-teal); }
.ifb-hero--light .ifb-hero__visual::before { background: radial-gradient(circle at 30% 30%, #98ded1, #2c9198 65%, #1a6574); }
.ifb-hero--light .ifb-orbit { border-color: rgba(10,117,128,.19); }

.ifb-offers {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: -67px !important; padding-bottom: 57px;
}
.ifb-offer-card {
  min-height: 293px; display: flex; flex-direction: column;
  padding: 26px 27px 24px; background: #fff; border: 1px solid #e4ecea;
  border-radius: var(--ifb-radius); box-shadow: var(--ifb-shadow);
  text-decoration: none; color: var(--ifb-navy); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ifb-offer-card:hover { color: var(--ifb-navy); transform: translateY(-7px); border-color: #8ecfca; box-shadow: 0 21px 47px rgba(15,48,65,.13); }
.ifb-offer-card__top { display: flex; justify-content: space-between; align-items: center; }
.ifb-offer-card__number { color: #9cb3b8; font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.ifb-offer-card__arrow { color: #0f727a; font-size: 20px; }
.ifb-offer-card__icon { display: block; width: 58px; height: 58px; margin-top: 14px; margin-bottom: 15px; position: relative; border-radius: 17px; background: #e7f4f1; }
.ifb-offer-card__icon::before, .ifb-offer-card__icon::after { content: ''; position: absolute; border: 2px solid #0f8a8d; }
.ifb-offer-card__icon--book::before { width: 27px; height: 24px; left: 15px; top: 16px; border-radius: 4px 6px 6px 4px; }
.ifb-offer-card__icon--book::after { width: 2px; height: 23px; left: 27px; top: 17px; border-left-width: 1px; border-top: 0; border-bottom: 0; border-right: 0; }
.ifb-offer-card__icon--certificate::before { width: 26px; height: 23px; left: 16px; top: 12px; border-radius: 4px; }
.ifb-offer-card__icon--certificate::after { width: 14px; height: 14px; left: 22px; top: 29px; border-radius: 50%; background: #e7f4f1; }
.ifb-offer-card__icon--compass::before { width: 27px; height: 27px; left: 15px; top: 15px; border-radius: 50%; }
.ifb-offer-card__icon--compass::after { width: 11px; height: 11px; left: 23px; top: 23px; transform: rotate(45deg); background: #e7f4f1; }
.ifb-offer-card__title { font-size: 22px; font-weight: 800; line-height: 1.32; letter-spacing: -.025em; }
.ifb-offer-card__desc { font-size: 14px; color: #647984; line-height: 1.72; margin-top: 10px; margin-bottom: 17px; flex: 1; }
.ifb-offer-card__more { font-size: 13px; font-weight: 800; color: var(--ifb-teal); }
.ifb-offer-card__more span { margin-left: 7px; }

.ifb-section {
  width: min(980px, calc(100% - 64px));
  margin-inline: auto !important; padding: 42px 0 70px;
}
.ifb-section h2 { font-size: clamp(29px,3.2vw,42px); line-height: 1.18; letter-spacing: -.038em; margin: 0 auto 18px; max-width: 820px; text-align: center; }
.ifb-section p { color: #5d7380; font-size: 17px; line-height: 1.85; margin: 0 auto; text-align: center; max-width: 750px; }
.ifb-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 27px; }
.ifb-section-heading .ifb-eyebrow { margin-bottom: 9px; }
.ifb-section-heading h2 { margin: 0; font-size: clamp(28px,3vw,42px); letter-spacing: -.04em; line-height: 1.22; }
.ifb-text-link { font-size: 14px; font-weight: 800; white-space: nowrap; text-decoration: none; border-bottom: 1px solid #b8dbda; padding-bottom: 5px; }
.ifb-text-link span { margin-left: 10px; }

.ifb-exam-block { padding-top: 60px; padding-bottom: 86px; }
.ifb-table-scroll { width: 100%; overflow-x: auto; border-radius: 18px; border: 1px solid #e1ebea; box-shadow: 0 8px 28px rgba(15,48,65,.04); }
.ifb-exam-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 660px; }
.ifb-exam-table thead { background: #f0f7f5; }
.ifb-exam-table th { padding: 19px 22px; font-size: 12px; font-weight: 800; color: #607984; text-transform: uppercase; letter-spacing: .08em; }
.ifb-exam-table td { padding: 20px 22px; border-top: 1px solid #e8eeed; font-size: 14px; }
.ifb-exam-table tbody tr:hover { background: #fbfdfc; }
.ifb-level-tag { display: inline-block; padding: 5px 12px; border-radius: 8px; background: #e4f3f0; font-weight: 800; color: #136c72; }
.ifb-status { font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 99px; background: #f2f4f5; color: #5e737b; white-space: nowrap; }
.ifb-status--open { color: #20755d; background: #e8f8ef; }
.ifb-status--cancelled { color: #a72f38; background: #fff0f1; }
.ifb-table-action { font-weight: 800; white-space: nowrap; }
.ifb-empty-state { background: #f6f9f8; color: #647781; border-radius: 14px; border: 1px dashed #d4e2df; padding: 34px; text-align: center; }

.ifb-faq { padding-top: 35px; padding-bottom: 80px; }
.ifb-faq__items { border-top: 1px solid #e0e9e8; }
.ifb-faq__item { border-bottom: 1px solid #e0e9e8; }
.ifb-faq__item summary {
  cursor: pointer; list-style: none; display: flex; gap: 20px;
  align-items: center; justify-content: space-between; padding: 22px 4px;
  font-weight: 750; font-size: 17px; line-height: 1.45;
}
.ifb-faq__item summary::-webkit-details-marker { display: none; }
.ifb-faq__plus { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 31px; height: 31px; border-radius: 50%; background: #eaf6f3; color: #0b7a7d; font-size: 21px; font-weight: 400; transition: transform .2s; }
.ifb-faq__item[open] .ifb-faq__plus { transform: rotate(45deg); }
.ifb-faq__answer { padding: 0 50px 21px 4px; color: #617580; }
.ifb-faq__answer p { margin: 0; }

.ifb-cta {
  background: linear-gradient(115deg, #087980, #105b66 58%, #143f53);
  border-radius: 22px; margin: 20px 0 100px; padding: 43px 47px;
  display: flex; justify-content: space-between; align-items: center; gap: 26px; color: white;
}
.ifb-cta h2 { color: white; font-size: clamp(27px,2.8vw,39px); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 9px; }
.ifb-cta p { margin: 0; color: #d5eeee; }
.ifb-button--white { flex-shrink: 0; background: white; color: var(--ifb-teal); }
.ifb-button--white:hover { color: var(--ifb-teal); background: #eaf9f6; }

.ifb-contact-card { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 60px 0 120px; }
.ifb-contact-card__detail { padding: 26px; border: 1px solid var(--ifb-border); background: #f7faf9; border-radius: 16px; overflow-wrap: anywhere; }
.ifb-contact-card__detail .ifb-eyebrow { margin-bottom: 8px; }
.ifb-contact-card__detail a { font-weight: 750; font-size: 18px; }
.ifb-contact-card__detail p { margin: 0; }

.ifb-footer { background: #0c2639; color: #cedce4; padding: 66px 0 24px; }
.ifb-footer__columns { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 65px; padding-bottom: 54px; }
.ifb-logo--footer { color: white; }
.ifb-logo--footer:hover { color: white; }
.ifb-footer__description { max-width: 310px; font-size: 14px; line-height: 1.8; color: #aec4ce; margin: 18px 0 0; }
.ifb-footer nav ul { list-style: none; padding: 0; margin: 0; }
.ifb-footer nav li + li { margin-top: 10px; }
.ifb-footer a { color: #d8e7ec; text-decoration: none; font-size: 14px; }
.ifb-footer a:hover { color: #8fe7d9; }
.ifb-footer__contact { display: flex; flex-direction: column; gap: 12px; overflow-wrap: anywhere; }
.ifb-footer__bottom {
  border-top: 1px solid #314858; padding-top: 23px;
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 12px; color: #92aabb;
}
.ifb-post-title, .ifb-notfound { margin-top: 70px; margin-bottom: 40px; }
.ifb-archive { padding-top: 64px; padding-bottom: 110px; }
.ifb-archive__item { padding: 25px 0; border-bottom: 1px solid var(--ifb-border); }
.ifb-notfound { min-height: 50vh; padding: 80px 0; }

@media (max-width: 1100px) {
  .ifb-navigation__links { gap: 13px; }
  .ifb-navigation__links a { font-size: 12px; }
  .ifb-navigation { gap: 17px; }
  .ifb-shell { width: min(1200px, calc(100% - 46px)); }
  .ifb-hero__grid { gap: 15px; }
  .ifb-hero__visual { transform: scale(.88); transform-origin: 35% center; }
}
@media (max-width: 1160px) {
  body.admin-bar .ifb-header { top: 46px; }
  .ifb-header__inner { min-height: 75px; }
  .ifb-logo__mark { font-size: 32px; }
  .ifb-menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid #cbdcdd; border-radius: 9px; background: white;
    padding: 10px 14px; color: var(--ifb-navy); font-weight: 750; font-size: 13px;
  }
  .ifb-menu-toggle__lines { display: inline-flex; width: 17px; flex-direction: column; gap: 4px; }
  .ifb-menu-toggle__lines span { width: 100%; height: 2px; background: var(--ifb-navy); display: block; border-radius: 2px; }
  .ifb-navigation {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 18px;
    background: white; padding: 20px 24px 28px; border-top: 1px solid #e1eae9; box-shadow: 0 18px 25px rgba(17,50,64,.11);
  }
  .ifb-menu-open .ifb-navigation { display: flex; }
  .ifb-navigation__links { flex-direction: column; align-items: stretch; gap: 0; }
  .ifb-navigation__links li { border-bottom: 1px solid #eaf0ef; }
  .ifb-navigation__links a { display: block; padding: 12px 0; font-size: 15px; }
  .ifb-navigation__actions { justify-content: space-between; }
  .ifb-hero__grid { grid-template-columns: 1fr; padding-top: 75px; padding-bottom: 125px; }
  .ifb-hero__content { max-width: 720px; }
  .ifb-hero__visual { display: none; }
  .ifb-hero h1 { font-size: clamp(42px,7vw,64px); }
  .ifb-hero--light .ifb-hero__grid { padding-top: 65px; padding-bottom: 65px; }
  .ifb-offers { gap: 12px; }
  .ifb-offer-card { padding: 22px; }
  .ifb-offer-card__title { font-size: 19px; }
  .ifb-footer__columns { gap: 30px; }
  .ifb-cta { padding: 35px; }
}
@media (max-width: 680px) {
  .ifb-shell, .ifb-section { width: calc(100% - 34px); }
  .ifb-header__inner { min-height: 71px; }
  .ifb-hero__grid { padding-top: 63px; padding-bottom: 100px; }
  .ifb-hero h1 { font-size: clamp(36px,9vw,50px); line-height: 1.14; }
  .ifb-hero__lead { font-size: 16px; }
  .ifb-hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .ifb-button { width: 100%; }
  .ifb-offers { grid-template-columns: 1fr; margin-top: -40px !important; gap: 14px; padding-bottom: 15px; }
  .ifb-offer-card { min-height: auto; padding: 20px; }
  .ifb-offer-card__icon { margin-top: 6px; margin-bottom: 12px; }
  .ifb-offer-card__desc { margin-top: 7px; margin-bottom: 10px; }
  .ifb-section { padding: 55px 0 35px; }
  .ifb-section h2 { font-size: 29px; }
  .ifb-section p { font-size: 15px; }
  .ifb-exam-block { padding-top: 48px; padding-bottom: 70px; }
  .ifb-section-heading { flex-direction: column; align-items: flex-start; gap: 9px; }
  .ifb-faq { padding-bottom: 68px; }
  .ifb-faq__item summary { font-size: 15px; }
  .ifb-cta { display: block; padding: 29px 24px; margin: 10px 0 65px; }
  .ifb-cta .ifb-button { margin-top: 22px; }
  .ifb-contact-card { grid-template-columns: 1fr; padding: 38px 0 70px; }
  .ifb-footer { padding-top: 44px; }
  .ifb-footer__columns { grid-template-columns: 1fr; gap: 32px; padding-bottom: 35px; }
  .ifb-footer__bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* IFB Core v0.3: dynamic courses and advisory catalogue. */
.ifb-catalog { padding-top: 76px; padding-bottom: 75px; }
.ifb-catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ifb-catalog-card {
  min-width: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 30px; background: #fff; border: 1px solid var(--ifb-border);
  border-radius: var(--ifb-radius); box-shadow: 0 12px 36px rgba(17, 59, 75, .045);
}
.ifb-catalog-card__head { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; min-height: 29px; }
.ifb-catalog-card__format {
  font-size: 12px; font-weight: 650; border-radius: 8px; padding: 4px 10px;
  background: var(--ifb-cream); color: var(--ifb-muted);
}
.ifb-catalog-card h3 {
  font-size: clamp(20px, 2vw, 26px); line-height: 1.23; margin: 2px 0 0;
  overflow-wrap: anywhere; color: var(--ifb-navy);
}
.ifb-catalog-card p { margin: 0; line-height: 1.62; color: var(--ifb-muted); }
.ifb-catalog-card .ifb-catalog-card__detail { font-size: 13px; color: var(--ifb-ink); }
.ifb-catalog-card__detail strong { font-weight: 750; }
.ifb-catalog-card .ifb-text-link { margin-top: auto; padding-top: 18px; font-weight: 750; text-decoration: none; }
.ifb-catalog-card__source { font-size: 13px; }
@media (max-width: 1160px) {
  .ifb-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ifb-catalog { padding-top: 50px; padding-bottom: 55px; }
  .ifb-catalog__grid { grid-template-columns: 1fr; gap: 14px; }
  .ifb-catalog-card { padding: 22px; }
}


/* Branded first-run state: hidden once IFB "Ana Sayfa" is assigned. */
.ifb-setup-fallback .ifb-hero__grid { min-height: 580px; }
.ifb-setup-fallback h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 4.3rem); line-height: 1.12; letter-spacing: -.045em; }
.ifb-setup-fallback .ifb-hero__content > p { color: #dfeded; max-width: 640px; }
.ifb-fallback-panel { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.ifb-fallback-panel span { padding: 26px 24px; border: 1px solid rgba(205, 241, 239, .3); border-radius: 15px; background: rgba(255,255,255,.06); color: #fff; font-size: 1.05rem; font-weight: 750; letter-spacing: .03em; }
.ifb-setup-fallback .ifb-setup-admin-hint { color: #113848; background: #fff5d8; padding: 18px; border-radius: 10px; font-size: .91rem; }
.ifb-setup-fallback .ifb-setup-admin-hint a { color: #075b66; font-weight: 800; }
@media (max-width: 760px) { .ifb-setup-fallback .ifb-hero__grid { min-height: 0; padding-block: 75px; } .ifb-fallback-panel { display: none; } }


/* IFB v0.4: search-intent hero, third equal entry, editorial orientation section. */
.ifb-hero--home .ifb-hero__grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr);
  padding-top: 86px;
  padding-bottom: 145px;
}
.ifb-hero--home h1 {
  font-size: clamp(35px, 3.4vw, 55px);
  line-height: 1.16;
  letter-spacing: -.044em;
  text-wrap: balance;
}
.ifb-hero__tagline {
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 700;
  line-height: 1.44;
  color: #b5eee4;
  margin: 0 0 12px;
}
.ifb-hero--light .ifb-hero__tagline { color: var(--ifb-teal); }
.ifb-button--tertiary {
  color: #fff; border: 1px solid rgba(235,249,248,.48);
  background: rgba(255,255,255,.055);
}
.ifb-button--tertiary:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }
.ifb-hero--light .ifb-button--tertiary { color: var(--ifb-teal); border-color: #81b4b3; }
.ifb-hero--light .ifb-button--tertiary:hover { color: var(--ifb-navy); background: #d2f2eb; }
.ifb-why {
  background: #f0f7f5;
  padding: 88px 0 92px;
}
.ifb-why__intro { max-width: 780px; margin-bottom: 35px; }
.ifb-why__intro .ifb-eyebrow { margin-bottom: 9px; }
.ifb-why h2 {
  margin: 0 0 15px; color: var(--ifb-navy);
  font-size: clamp(31px,3.2vw,43px);
  line-height: 1.2; letter-spacing: -.039em;
}
.ifb-why__intro > p:last-child { color: var(--ifb-muted); font-size: 17px; margin: 0; }
.ifb-why__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.ifb-why__card {
  padding: 32px 30px 29px; background: #fff;
  border: 1px solid #dceae7; border-radius: 18px;
  min-width: 0; box-shadow: 0 10px 34px rgba(15,48,65,.035);
}
.ifb-why__number {
  display: inline-flex; justify-content: center; align-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: #006e74; background: #e0f3ed; font-size: 13px;
  letter-spacing: .02em; font-weight: 850;
}
.ifb-why__card h3 { margin: 23px 0 12px; color: var(--ifb-navy); line-height: 1.3; font-size: 21px; letter-spacing: -.025em; }
.ifb-why__card p { margin: 0; color: var(--ifb-muted); line-height: 1.75; font-size: 14px; }
.ifb-setup-fallback .ifb-hero__content > p.ifb-setup-admin-hint { color: #143a45; }
.ifb-setup-fallback .ifb-hero__content > p.ifb-setup-admin-hint strong { color: #143a45; }
@media (max-width: 1100px) {
  .ifb-hero--home .ifb-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(285px,.7fr); }
  .ifb-hero--home h1 { font-size: clamp(35px, 3.7vw, 48px); }
}
@media (max-width: 1160px) {
  .ifb-hero--home .ifb-hero__grid { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 120px; }
  .ifb-hero--home h1 { font-size: clamp(38px, 6vw, 55px); }
  .ifb-why { padding: 65px 0 70px; }
  .ifb-why__grid { grid-template-columns: 1fr; }
  .ifb-why__card { padding: 24px; }
  .ifb-why__card h3 { margin-top: 12px; }
}
@media (max-width: 680px) {
  .ifb-hero--home .ifb-hero__grid { padding-top: 55px; padding-bottom: 95px; }
  .ifb-hero--home h1 { font-size: clamp(32px, 8vw, 43px); text-wrap: pretty; }
  .ifb-hero__tagline { font-size: 17px; }
  .ifb-why { padding: 54px 0 58px; }
  .ifb-why__intro > p:last-child { font-size: 15px; }
  .ifb-why h2 { font-size: 30px; }
}

.ifb-contact-card__heading { grid-column: 1 / -1; }
.ifb-contact-card__heading .ifb-eyebrow { margin-bottom: 8px; }
.ifb-contact-card__heading h2 { margin: 0; font-size: clamp(28px,3vw,40px); letter-spacing: -.035em; }


/* IFB v0.5: Gutenberg-native, independently editable service landing guides. */
.ifb-landing-guide {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 8px 0 36px;
}
.ifb-landing-section {
  margin: 0 0 46px;
  padding: 44px 46px 38px;
  background: #f6f9f8;
  border: 1px solid #e1ebe8;
  border-radius: 22px;
  min-width: 0;
}
.ifb-landing-section:nth-child(even) {
  background: #fff;
}
.ifb-landing-guide .ifb-landing-eyebrow {
  color: #08787e;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 10px;
}
.ifb-landing-guide .ifb-landing-section h2 {
  color: var(--ifb-navy);
  font-weight: 820;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.22;
  letter-spacing: -.035em;
  margin: 0 0 15px;
  text-wrap: balance;
  scroll-margin-top: 115px;
}
.ifb-landing-guide .ifb-landing-intro {
  max-width: 890px;
  color: var(--ifb-muted);
  line-height: 1.75;
  font-size: 16px;
  margin: 0 0 26px;
}
.ifb-landing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.ifb-landing-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #dceae8;
  border-radius: 15px;
  padding: 22px 23px 24px;
  box-shadow: 0 8px 22px rgba(15, 48, 65, .025);
}
.ifb-landing-section:nth-child(even) .ifb-landing-card { background: #f7faf9; }
.ifb-landing-card h3 {
  margin: 0 0 11px;
  color: var(--ifb-navy);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.36;
  letter-spacing: -.012em;
}
.ifb-landing-card p {
  margin: 0;
  color: #526d7b;
  font-size: 14px;
  line-height: 1.7;
}
.ifb-landing-guide .ifb-landing-note {
  margin: 25px 0 0;
  border-left: 3px solid #0e8f8e;
  padding: 12px 15px;
  background: #e7f6f0;
  border-radius: 0 9px 9px 0;
  color: #194653;
  font-size: 14px;
  line-height: 1.65;
}
.ifb-related {
  margin-top: 0;
  padding: 24px 0 62px;
}
.ifb-related h2 {
  color: var(--ifb-navy);
  letter-spacing: -.025em;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.25;
  margin: 0 0 24px;
}
.ifb-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ifb-related__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 48px 25px 24px;
  border: 1px solid #dce9e8;
  border-radius: 15px;
  background: #fff;
  color: var(--ifb-navy);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(15,48,65,.035);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.ifb-related__card:hover {
  border-color: #66b7af;
  box-shadow: 0 13px 30px rgba(15,48,65,.09);
  transform: translateY(-2px);
  color: #086f75;
}
.ifb-related__card small {
  font-size: 13px;
  font-weight: 450;
  color: var(--ifb-muted);
  margin-top: 9px;
  line-height: 1.6;
}
.ifb-related__arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--ifb-teal);
}
@media (max-width: 1160px) {
  .ifb-landing-guide { width: min(1200px, calc(100% - 46px)); }
  .ifb-landing-section { padding: 33px 28px; margin-bottom: 30px; }
  .ifb-landing-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ifb-related__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .ifb-landing-guide { width: calc(100% - 34px); padding: 0 0 23px; }
  .ifb-landing-section { padding: 28px 21px; margin-bottom: 21px; border-radius: 16px; }
  .ifb-landing-cards { grid-template-columns: 1fr; gap: 11px; }
  .ifb-landing-card { padding: 19px; }
  .ifb-landing-guide .ifb-landing-section h2 { font-size: 27px; }
  .ifb-landing-guide .ifb-landing-intro { font-size: 15px; }
  .ifb-landing-note { font-size: 13px; }
  .ifb-related { padding: 14px 0 44px; }
  .ifb-related__grid { grid-template-columns: 1fr; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ifb-related__card { transition: none; }
}

/* IFB v0.5: bilingual breadcrumb above service-page Hero. */
.ifb-breadcrumbs {
  padding-block: 18px;
  font-size: 13px;
  line-height: 1.5;
}
.ifb-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ifb-breadcrumbs li { color: #67818d; }
.ifb-breadcrumbs li[aria-current="page"] {
  color: var(--ifb-navy);
  font-weight: 720;
}
.ifb-breadcrumbs a { color: #266f76; }
@media(max-width:600px) { .ifb-breadcrumbs { padding-block: 12px; } }


/* IFB v0.6 · Non-binding inquiry forms, accessible and responsive. */
#ifb-anfrage, #ifb-exam-dates { scroll-margin-top: 110px; }
.ifb-inquiry-section {
  background: #edf7f5;
  padding: clamp(46px, 5vw, 82px) 0;
  border-top: 1px solid #d4e8e4;
  border-bottom: 1px solid #d4e8e4;
}
.ifb-inquiry-section .ifb-shell { max-width: 1080px; }
.ifb-inquiry__heading { margin: 0 0 30px; max-width: 810px; }
.ifb-inquiry__heading h2 {
  font-size: clamp(29px, 3.3vw, 44px);
  line-height: 1.18; letter-spacing: -.035em;
  color: var(--ifb-navy); margin: 0 0 15px;
}
.ifb-inquiry__heading p:last-child {
  line-height: 1.7; color: #3f5c68; margin: 0;
}
.ifb-inquiry__form {
  background: #fff; border: 1px solid #d5e6e4; border-radius: 20px;
  padding: clamp(24px, 3.5vw, 43px);
  box-shadow: 0 16px 40px rgba(15, 48, 65, .05);
}
.ifb-inquiry__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 25px; margin-bottom: 21px;
}
.ifb-inquiry__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ifb-inquiry__field label {
  font-size: 14px; font-weight: 750; line-height: 1.4;
  color: #143548;
}
.ifb-inquiry__field input,
.ifb-inquiry__field textarea,
.ifb-inquiry__field select {
  display: block; width: 100%; min-height: 50px; box-sizing: border-box;
  border: 1px solid #9fb9bd; background: #fff; color: #153b4d;
  border-radius: 9px; padding: 10px 14px; font: inherit; font-size: 16px;
}
.ifb-inquiry__field textarea { resize: vertical; min-height: 110px; }
.ifb-inquiry__field :is(input, textarea, select):focus-visible,
.ifb-inquiry__privacy input:focus-visible {
  outline: 3px solid #006f76; outline-offset: 2px;
}
.ifb-inquiry__privacy {
  display: flex; align-items: flex-start; gap: 11px;
  line-height: 1.6; color: #294d59; font-size: 14px;
  margin: 22px 0 18px; cursor: pointer;
}
.ifb-inquiry__privacy input {
  width: 19px; height: 19px; flex: none; accent-color: #057e81; margin-top: 3px;
}
.ifb-inquiry__privacy a { font-weight: 750; color: #006f76; }
.ifb-inquiry__disclaimer { font-size: 13px; line-height: 1.7; color: #4b6672; margin: 0 0 24px; }
.ifb-inquiry__feedback, .ifb-inquiry__notice {
  margin: 18px 0 25px; padding: 18px 20px; border-radius: 11px;
  color: #154753; background: #dcf3ed; border: 1px solid #91cbc0;
  font-weight: 650; line-height: 1.6;
}
.ifb-inquiry__notice { background: #fff5d8; border-color: #d8b978; color: #573a13; }
.ifb-inquiry__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 680px) {
  #ifb-anfrage, #ifb-exam-dates { scroll-margin-top: 80px; }
  .ifb-inquiry__grid { grid-template-columns: 1fr; gap: 17px; }
  .ifb-inquiry__form { border-radius: 15px; }
  .ifb-inquiry__heading { margin-bottom: 23px; }
  .ifb-inquiry__form button { width: 100%; justify-content: center; }
}
/* Service-page heroes are deliberately shorter than the primary homepage hero. */
.ifb-hero--light .ifb-hero__grid { padding-top: 56px; padding-bottom: 63px; }
@media (max-width: 680px) {
  .ifb-hero--light .ifb-hero__grid { padding-top: 47px; padding-bottom: 50px; }
}

/* v0.7 – public course details, rendered from editorial source + shared data */
.ifb-course-detail__crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding-block: 23px; color: var(--ifb-muted); font-size: 13px;
}
.ifb-course-detail__crumbs a { color: var(--ifb-teal); }
.ifb-course-detail__hero {
  position: relative; overflow: hidden;
  background: linear-gradient(130deg, #eff9f6 0%, #e5f5f0 52%, #f3f9f8 100%);
  border-block: 1px solid #d7e9e6;
}
.ifb-course-detail__hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(265px, .65fr);
  align-items: center; gap: clamp(32px, 6vw, 100px); padding-block: 72px;
}
.ifb-course-detail__hero h1 {
  margin: 10px 0 20px; color: var(--ifb-navy);
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.12; font-weight: 850; letter-spacing: -.055em; overflow-wrap: anywhere;
}
.ifb-course-detail__intro {
  max-width: 64ch; color: #395b69; font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75; margin: 0 0 29px;
}
.ifb-course-detail__facts {
  background: white; padding: clamp(24px, 3vw, 36px);
  border: 1px solid #d3e7e3; border-radius: 20px;
  box-shadow: var(--ifb-shadow);
}
.ifb-course-detail__facts h2 { font-size: 1.35rem; margin: 0 0 17px; color: var(--ifb-navy); }
.ifb-course-detail__facts dl { margin: 0; }
.ifb-course-detail__facts dl > div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-top: 1px solid var(--ifb-border);
}
.ifb-course-detail__facts dt { color: var(--ifb-muted); }
.ifb-course-detail__facts dd { margin: 0; color: var(--ifb-navy); text-align: right; font-weight: 750; }
.ifb-course-detail__description { padding-block: 50px 24px; }
.ifb-course-detail__description .ifb-prose {
  max-width: 820px; margin-inline: auto; font-size: 1.065rem; line-height: 1.85;
}
.ifb-course-detail__description .ifb-prose :is(h2, h3) {
  color: var(--ifb-navy); line-height: 1.2; margin-block: 36px 16px;
}
.ifb-course-detail__description .ifb-prose :is(ul, ol) { padding-inline-start: 25px; }
.ifb-course-detail__description .ifb-prose :is(p, li) { overflow-wrap: anywhere; }
.ifb-course-detail__schedule { padding-block: 32px 80px; }
.ifb-course-detail__empty { padding-block: 60px 90px; }
@media (max-width: 760px) {
  .ifb-course-detail__hero-inner { grid-template-columns: minmax(0,1fr); padding-block: 44px; }
  .ifb-course-detail__hero h1 { font-size: clamp(2.15rem, 9vw, 3.4rem); }
  .ifb-course-detail__facts { padding: 24px; }
  .ifb-course-detail__description { padding-block: 30px 10px; }
  .ifb-course-detail__schedule { padding-bottom: 50px; }
}

/* v0.8 – telc Niveauseiten, gleiche responsive Designsprache wie Kursdetails. */
.ifb-exam-detail { overflow-x: clip; }
.ifb-exam-detail > .ifb-exam-block { padding-block: clamp(32px, 4vw, 64px) 80px; }
.ifb-exam-detail .ifb-course-detail__facts dl > div { gap: 15px; }
.ifb-exam-detail .ifb-course-detail__intro { max-width: 60ch; }
@media (max-width: 700px) {
  .ifb-exam-detail > .ifb-exam-block { padding-block: 25px 55px; }
}


/* v0.9: Ratgeber / Rehber: structured cards and readable editorial pages. */
.ifb-knowledge { padding: clamp(45px, 6vw, 90px) 0; background: #f4faf8; }
.ifb-knowledge__head { max-width: 750px; margin: 0 0 28px; }
.ifb-knowledge__head h2 {
  color: var(--ifb-navy); font-size: clamp(1.75rem, 3.3vw, 2.75rem);
  line-height: 1.17; letter-spacing: -.035em; margin: 8px 0 0;
}
.ifb-knowledge__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(15px, 2vw, 26px);
}
.ifb-knowledge__card {
  min-width: 0; padding: clamp(24px, 2.5vw, 34px); background: #fff;
  border: 1px solid #d5e7e3; border-radius: 18px;
  box-shadow: 0 14px 35px rgba(10, 47, 63, .035);
}
.ifb-knowledge__tag {
  display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .035em;
  color: #126d71; margin-bottom: 16px;
}
.ifb-knowledge__card h3 { color: var(--ifb-navy); margin: 0 0 16px;
  font-size: clamp(1.2rem, 1.8vw, 1.52rem); line-height: 1.3; }
.ifb-knowledge__card h3 a { text-decoration: none; color: inherit; }
.ifb-knowledge__card h3 a:hover, .ifb-knowledge__card h3 a:focus-visible { text-decoration: underline; }
.ifb-knowledge__card p { color: #486a78; line-height: 1.75; margin: 0 0 20px; }
.ifb-knowledge__link { display: inline-block; color: #066d73; font-weight: 750; }
.ifb-article-shell { padding: clamp(35px, 5vw, 72px) 20px 95px; }
.ifb-article-shell > .wp-block-post-content {
  max-width: min(100%, 820px); margin-inline: auto; overflow-wrap: anywhere;
  color: #274252; font-size: 1.075rem; line-height: 1.82;
}
.ifb-knowledge__breadcrumb {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  font-size: .87rem; color: #5c7781; margin-bottom: 37px;
}
.ifb-knowledge__breadcrumb a { color: #086e74; }
.ifb-knowledge__article-intro { margin-bottom: 26px; }
.ifb-knowledge__article-intro h1 {
  color: var(--ifb-navy); font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  font-weight: 850; letter-spacing: -.048em; line-height: 1.13; margin: 12px 0 18px;
}
.ifb-knowledge__article-intro p { color: #536e7a; line-height: 1.65; }
.ifb-knowledge__facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 21px;
  padding: 15px 0; margin-bottom: 25px; border-block: 1px solid #d9e5e3;
  font-size: .83rem; color: #466473;
}
.ifb-knowledge__facts a { color: #066e73; text-decoration: underline; }
.ifb-article-shell .wp-block-post-content :is(h2, h3) {
  color: var(--ifb-navy); line-height: 1.25; margin-block: 32px 13px;
}
.ifb-article-shell .wp-block-post-content :is(p, li) { overflow-wrap: anywhere; }
@media (max-width: 880px) { .ifb-knowledge__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 590px) {
  .ifb-knowledge__grid { grid-template-columns: 1fr; }
  .ifb-knowledge__card { padding: 24px; }
  .ifb-article-shell { padding: 35px 16px 65px; }
}

/* v1.0 – dynamische Leseempfehlungen außerhalb des redaktionellen Post-Contents. */
.ifb-knowledge-related {
  max-width: 820px;
  margin: clamp(40px, 6vw, 78px) auto 0;
  padding: clamp(24px, 3vw, 36px);
  background: #f4faf8;
  border: 1px solid #d5e7e3;
  border-radius: 18px;
}
.ifb-knowledge-related h2 {
  margin: 0 0 20px;
  font-size: clamp(1.3rem, 2.7vw, 1.8rem);
  color: #142b42;
}
.ifb-knowledge-related__list {
  display: grid; gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.ifb-knowledge-related__list li { margin: 0; }
.ifb-knowledge-related__list a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d5e7e3;
  color: #066d73;
  overflow-wrap: anywhere;
  text-decoration: none;
  font-weight: 700;
}
.ifb-knowledge-related__list a:hover,
.ifb-knowledge-related__list a:focus-visible {
  text-decoration: underline;
  border-color: #078089;
  outline-offset: 3px;
}

/* IFB Next 1.1: optional editorial hero photo and managed brand image.
   The existing illustration and colors remain unchanged until an image is selected. */
.ifb-logo__image { display: block; width: auto; max-width: min(245px, 34vw); height: auto; max-height: 56px; object-fit: contain; }
.ifb-logo--footer .ifb-logo__image { max-height: 64px; }
.ifb-hero__visual--photo { display: flex; align-items: center; justify-content: center; min-height: 380px; }
.ifb-hero__visual--photo::before, .ifb-hero__visual--photo::after { content: none; display: none; }
.ifb-hero__photo { width: 100%; max-width: 530px; height: min(31vw, 420px); min-height: 340px;
  object-fit: cover; border-radius: 22px; box-shadow: 0 26px 65px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.28); }
@media (max-width: 1020px) {
  .ifb-hero__visual--photo { min-height: 280px; }
  .ifb-hero__visual--photo .ifb-hero__photo { height: 320px; min-height: 280px; }
}
@media (max-width: 760px) {
  .ifb-hero__visual--photo { display: flex; min-height: 0; margin-top: 0; }
  .ifb-hero__visual--photo .ifb-hero__photo { height: 260px; min-height: 0; width: 100%; }
}


/* IFB Next 1.2: optional full-width hero photograph.
   Default remains the legacy two-column image layout. */
.ifb-hero--full-image {
  background: #123750;
  isolation: isolate;
}
.ifb-hero--full-image::before { display: none; }
.ifb-hero--full-image::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  height: auto;
  background: linear-gradient(90deg, rgba(5,27,45,.91) 0%, rgba(7,36,57,.84) 39%, rgba(7,37,58,.54) 72%, rgba(6,33,53,.38) 100%),
              linear-gradient(0deg, rgba(5,27,45,.43), transparent 42%);
  pointer-events: none;
}
.ifb-hero--full-image .ifb-hero__backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
}
.ifb-hero--full-image .ifb-hero__backdrop-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 52%;
}
.ifb-hero--full-image .ifb-hero__grid,
.ifb-hero--full-image.ifb-hero--home .ifb-hero__grid,
.ifb-hero--full-image.ifb-hero--light .ifb-hero__grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(570px, 50vw, 730px);
  padding-top: clamp(76px, 8vw, 120px);
  padding-bottom: clamp(110px, 11vw, 170px);
}
.ifb-hero--full-image .ifb-hero__content { max-width: 790px; position: relative; z-index: 1; }
.ifb-hero--full-image h1,
.ifb-hero--full-image.ifb-hero--light h1 { color: #fff; text-shadow: 0 2px 18px rgba(2,20,34,.24); }
.ifb-hero--full-image .ifb-eyebrow { color: #a3f2e7; }
.ifb-hero--full-image .ifb-hero__tagline,
.ifb-hero--full-image.ifb-hero--light .ifb-hero__tagline { color: #c0fff0; }
.ifb-hero--full-image .ifb-hero__lead,
.ifb-hero--full-image.ifb-hero--light .ifb-hero__lead { color: #f1f8fb; }
.ifb-hero--full-image.ifb-hero--light .ifb-button--secondary,
.ifb-hero--full-image.ifb-hero--light .ifb-button--tertiary { color: white; border-color: rgba(255,255,255,.75); }
@media (max-width: 760px) {
  .ifb-hero--full-image .ifb-hero__grid,
  .ifb-hero--full-image.ifb-hero--home .ifb-hero__grid,
  .ifb-hero--full-image.ifb-hero--light .ifb-hero__grid {
    min-height: 600px;
    padding-top: 72px;
    padding-bottom: 118px;
  }
  .ifb-hero--full-image::after {
    background: linear-gradient(90deg, rgba(5,27,45,.89),rgba(5,27,45,.72)),
                linear-gradient(0deg,rgba(5,27,45,.48),transparent 50%);
  }
  .ifb-hero--full-image .ifb-hero__backdrop-image { object-position: 53% center; }
}
@media (prefers-reduced-motion: reduce) {
  .ifb-hero--full-image .ifb-hero__backdrop-image { animation: none; transition: none; }
}

/* IFB Next 1.3: visual cards and editorial image-text sections */
.ifb-offers--visual { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; padding-bottom: 70px; }
.ifb-offers--visual:has(> :nth-child(4)) { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ifb-offers--visual .ifb-offer-card { padding: 0; overflow: hidden; min-height: 350px; }
.ifb-offers--visual .ifb-offer-card__media { display:flex; align-items:center; justify-content:center; height:145px; background:linear-gradient(128deg,#dcefed,#a8ced0 55%,#e6f4f0); overflow:hidden; }
.ifb-offers--visual .ifb-offer-card:nth-child(2) .ifb-offer-card__media--graphic {background:linear-gradient(128deg,#cbdbe7,#e8f3f3);}
.ifb-offers--visual .ifb-offer-card:nth-child(3) .ifb-offer-card__media--graphic {background:linear-gradient(128deg,#e9e6dd,#c3e2dd);}
.ifb-offers--visual .ifb-offer-card:nth-child(4) .ifb-offer-card__media--graphic {background:linear-gradient(128deg,#c5d5e7,#ddede6);}
.ifb-offers--visual .ifb-offer-card__photo {display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.ifb-offers--visual .ifb-offer-card:hover .ifb-offer-card__photo {transform:scale(1.045);}
.ifb-offers--visual .ifb-offer-card__icon {margin:0; transform:scale(1.2);}
.ifb-offers--visual .ifb-offer-card__copy {display:flex;flex-direction:column;align-items:stretch;gap:0;padding:19px 19px 20px;flex:1;}
.ifb-offers--visual .ifb-offer-card__top {margin-bottom:12px;}
.ifb-offers--visual .ifb-offer-card__title {font-size:clamp(17px,1.6vw,20px);}
.ifb-offers--visual .ifb-offer-card__desc {font-size:13px;line-height:1.65;margin-bottom:15px;}
.ifb-offers--visual .ifb-offer-card__more {margin-top:auto;}
.ifb-image-feature {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0;border:1px solid #e0e9e8;overflow:hidden;border-radius:22px;background:#f2f8f6;margin-block:72px!important;}
.ifb-image-feature__visual {min-height:360px;height:100%;background:linear-gradient(130deg,#b9d3d7,#dcece5);}
.ifb-image-feature__image {height:100%;width:100%;object-fit:cover;display:block;min-height:360px;}
.ifb-image-feature__placeholder {display:block;width:100%;height:100%;min-height:360px;background:radial-gradient(circle at 70% 40%,#98c6c5,transparent 54%),linear-gradient(135deg,#b5d4d7,#e6f1ed);}
.ifb-image-feature__copy {padding:clamp(28px,5vw,64px);}
.ifb-image-feature__copy h2 {font-size:clamp(28px,3.4vw,43px);line-height:1.2;margin:0 0 20px;color:var(--ifb-navy);}
.ifb-image-feature__copy p:not(.ifb-eyebrow) {font-size:16px;color:#4e6973;line-height:1.8;margin-bottom:25px;}
.ifb-button--feature {background:var(--ifb-teal);color:#fff;display:inline-flex;width:auto;text-decoration:none;}
.ifb-button--feature:hover {color:#fff;background:#005d64;}
@media(max-width:1000px) { .ifb-offers--visual:has(> :nth-child(4)) {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:680px) { .ifb-offers--visual,.ifb-offers--visual:has(> :nth-child(4)) {grid-template-columns:1fr;margin-top:-36px!important;gap:16px;} .ifb-offers--visual .ifb-offer-card {min-height:0;} .ifb-image-feature {grid-template-columns:1fr;margin-block:35px!important;} .ifb-image-feature__visual,.ifb-image-feature__image,.ifb-image-feature__placeholder {min-height:230px;max-height:290px;} }
