/* Bannforst-inspired public theme for Demo Generic One.
   Keeps CMS/admin behavior intact while replacing the public visual language. */
:root {
  --bf-ink:#0f1a1c;
  --bf-blue:#1e5bff;
  --bf-sky:#65b7ff;
  --bf-body:#33474a;
  --bf-muted:#5f7175;
  --bf-muted-2:#8fa0a3;
  --bf-line:#d8dedf;
  --bf-line-2:#e4e8e9;
  --bf-line-3:#eff1f1;
  --bf-off:#fafaf9;
  --bf-light:#ebebeb;
}

html {
  scroll-behavior:smooth;
}

body {
  font-family:Inter,Helvetica,Arial,sans-serif!important;
  color:var(--bf-ink)!important;
  background:#fff!important;
  -webkit-font-smoothing:antialiased;
}

a {
  color:var(--bf-blue);
}

a:hover {
  color:var(--bf-ink);
}

::selection {
  background:var(--bf-blue)!important;
  color:#fff;
}

.bf-wrap {
  width:min(100% - 80px,1160px);
  margin-inline:auto;
}

.bf-section {
  padding:96px 0;
  border-top:1px solid var(--bf-line-3);
  background:#fff;
}

.bf-section:first-child {
  border-top:0;
}

.bf-section--off {
  background:var(--bf-off);
}

.bf-section--dark {
  background:var(--bf-ink);
  color:#fff;
}

.bf-eyebrow {
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--bf-blue);
}

.bf-eyebrow--light {
  color:var(--bf-sky);
}

.bf-title {
  max-width:26ch;
  margin:18px 0 0;
  font-size:clamp(30px,3.2vw,44px);
  line-height:1.1;
  font-weight:700;
  letter-spacing:-.03em;
  color:var(--bf-ink);
}

.bf-title--hero {
  max-width:22ch;
  font-size:clamp(42px,5vw,72px);
  line-height:1.02;
  letter-spacing:-.04em;
}

.bf-section--dark .bf-title {
  color:#fff;
}

.bf-copy {
  max-width:62ch;
  margin-top:18px;
  font-size:17px;
  line-height:1.65;
  color:var(--bf-body);
}

.bf-section--dark .bf-copy {
  color:var(--bf-light);
}

.bf-copy .trix-content,
.bf-copy p {
  color:inherit;
}

.bf-copy p:first-child {
  margin-top:0;
}

.bf-copy p:last-child {
  margin-bottom:0;
}

.bf-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.bf-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border:1px solid var(--bf-ink);
  background:var(--bf-ink);
  color:#fff!important;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  transition:.2s ease;
}

.bf-btn:hover {
  background:var(--bf-blue);
  border-color:var(--bf-blue);
  color:#fff!important;
}

.bf-btn--blue {
  background:var(--bf-blue);
  border-color:var(--bf-blue);
}

.bf-btn--outline {
  background:transparent;
  color:var(--bf-ink)!important;
}

.bf-btn--outline:hover {
  background:var(--bf-ink);
  border-color:var(--bf-ink);
  color:#fff!important;
}

.bf-section--dark .bf-btn--outline {
  border-color:#fff;
  color:#fff!important;
}

.bf-heading-row {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:42px;
}

.bf-heading-row .bf-copy {
  margin-bottom:0;
}

.bf-hero {
  padding:84px 0 96px;
  background:#fff;
}

.bf-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:70px;
  align-items:center;
}

.bf-hero-media {
  position:relative;
  min-height:520px;
  background:var(--bf-off);
  border:1px solid var(--bf-line);
  overflow:hidden;
}

.bf-hero-media img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.bf-hero-media::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:34%;
  height:10px;
  background:var(--bf-blue);
}

.bf-hero-placeholder {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:13px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--bf-muted-2);
}

.bf-grid-2,
.bf-grid-3,
.bf-grid-4 {
  display:grid;
  gap:1px;
  background:var(--bf-line);
  border:1px solid var(--bf-line);
}

.bf-grid-2 {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.bf-grid-3 {
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.bf-grid-4 {
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.bf-card {
  background:#fff;
  padding:34px;
  min-width:0;
}

.bf-card--off {
  background:var(--bf-off);
}

.bf-card__num {
  font-size:12px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--bf-blue);
}

.bf-card h3 {
  margin:14px 0 0;
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.025em;
  color:var(--bf-ink);
}

.bf-card p {
  margin:12px 0 0;
  font-size:15.5px;
  line-height:1.62;
  color:var(--bf-body);
}

.bf-card__meta {
  margin-top:12px;
  font-size:12.5px;
  font-weight:600;
  color:var(--bf-muted);
}

.bf-card__link {
  display:inline-flex;
  margin-top:20px;
  font-size:14px;
  font-weight:600;
  color:var(--bf-blue);
}

.bf-media-card {
  background:#fff;
}

.bf-media-card__image {
  aspect-ratio:16/10;
  background:var(--bf-off);
  border-bottom:1px solid var(--bf-line);
  overflow:hidden;
}

.bf-media-card__image img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.bf-media-card__body {
  padding:28px 30px 32px;
}

.bf-media-card__body h3 {
  margin:10px 0 0;
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.025em;
}

.bf-media-card__body p {
  margin:12px 0 0;
  color:var(--bf-body);
  line-height:1.6;
}

.bf-split {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:64px;
  align-items:center;
}

.bf-image {
  min-height:430px;
  background:var(--bf-off);
  border:1px solid var(--bf-line);
  overflow:hidden;
}

.bf-image img {
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
}

.bf-steps {
  border-top:1px solid var(--bf-line);
}

.bf-step {
  display:grid;
  grid-template-columns:82px minmax(0,1fr) minmax(150px,.28fr);
  gap:28px;
  padding:30px 0;
  border-bottom:1px solid var(--bf-line);
  align-items:start;
}

.bf-step__num {
  font-size:13px;
  font-weight:700;
  color:var(--bf-blue);
}

.bf-step h3 {
  margin:0;
  font-size:24px;
  letter-spacing:-.02em;
}

.bf-step p {
  margin:8px 0 0;
  color:var(--bf-body);
  line-height:1.6;
}

.bf-step__meta {
  text-align:right;
  color:var(--bf-muted);
  font-size:13px;
  line-height:1.5;
}

.bf-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--bf-line);
  border-left:1px solid var(--bf-line);
}

.bf-stat {
  padding:30px;
  border-right:1px solid var(--bf-line);
  border-bottom:1px solid var(--bf-line);
}

.bf-stat strong {
  display:block;
  font-size:clamp(30px,4vw,52px);
  line-height:1;
  font-weight:700;
  letter-spacing:-.04em;
  color:var(--bf-ink);
}

.bf-stat span {
  display:block;
  margin-top:10px;
  font-size:13px;
  color:var(--bf-muted);
}

.bf-quote {
  padding:38px;
  border:1px solid var(--bf-line);
  background:#fff;
}

.bf-quote blockquote {
  margin:0;
  font-size:21px;
  line-height:1.5;
  color:var(--bf-ink);
}

.bf-quote footer {
  margin-top:24px;
  font-size:13px;
  color:var(--bf-muted);
}

.bf-contact {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}

.bf-contact-list {
  border-top:1px solid var(--bf-line);
}

.bf-contact-item {
  padding:24px 0;
  border-bottom:1px solid var(--bf-line);
}

.bf-contact-item strong {
  display:block;
  font-size:20px;
  color:var(--bf-ink);
}

.bf-contact-item span,
.bf-contact-item p {
  display:block;
  margin:7px 0 0;
  color:var(--bf-body);
  line-height:1.55;
}

.bf-contact-card {
  padding:40px;
  background:var(--bf-off);
  border:1px solid var(--bf-line);
}

.bf-rich {
  max-width:760px;
}

.bf-rich h2,
.bf-rich h3 {
  color:var(--bf-ink);
  letter-spacing:-.025em;
}

.bf-rich p,
.bf-rich li {
  color:var(--bf-body);
  font-size:16px;
  line-height:1.72;
}

.bf-rich a {
  color:var(--bf-blue);
}

/* Header translated to the new visual language while preserving CMS menus. */
.como-site-header {
  position:sticky!important;
  top:0!important;
  z-index:100!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid var(--bf-line)!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px);
}

.como-header-ambient {
  display:none!important;
}

.como-header-inner {
  max-width:1240px!important;
  min-height:76px!important;
  padding:0 40px!important;
  margin:auto!important;
}

.como-header-logo-wrap img {
  max-height:34px!important;
  width:auto!important;
}

.como-desktop-nav {
  gap:6px!important;
}

.como-nav-link {
  padding:28px 12px!important;
  color:var(--bf-ink)!important;
  font:500 14px Inter,sans-serif!important;
}

.como-nav-link:hover {
  color:var(--bf-blue)!important;
}

.como-nav-dropdown {
  border:1px solid var(--bf-line)!important;
  border-radius:0!important;
  box-shadow:0 18px 45px rgba(15,26,28,.08)!important;
}

.como-header-cta {
  height:44px!important;
  padding:0 18px!important;
  border-radius:0!important;
  background:var(--bf-blue)!important;
  color:#fff!important;
  font:600 14px Inter,sans-serif!important;
}

.como-header-cta:hover {
  background:var(--bf-ink)!important;
}

.como-language-link {
  font:600 12px Inter,sans-serif!important;
}

.como-burger {
  border-radius:0!important;
}

/* Footer */
.como-site-footer {
  background:var(--bf-ink)!important;
  color:#fff!important;
}

.como-footer-inner {
  max-width:1240px!important;
  margin:auto!important;
  padding:72px 40px 28px!important;
}

.como-footer-grid {
  gap:48px!important;
}

.como-footer-heading {
  font:600 12px Inter,sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase;
  color:var(--bf-sky)!important;
}

.como-footer-description,
.como-footer-address,
.como-footer-nav a,
.como-footer-bottom,
.como-footer-legal-links a,
.como-footer-cookie-button {
  font-family:Inter,sans-serif!important;
}

.como-footer-description,
.como-footer-address,
.como-footer-nav a {
  color:#d6dddd!important;
}

.como-footer-nav a:hover,
.como-footer-legal-links a:hover {
  color:#fff!important;
}

.como-footer-bottom {
  border-top:1px solid rgba(255,255,255,.16)!important;
  color:#9eabad!important;
}

/* Mobile menu */
.como-mobile-menu {
  background:#fff!important;
  color:var(--bf-ink)!important;
}

.como-mobile-nav-link,
.como-mobile-nav-group summary {
  font-family:Inter,sans-serif!important;
  color:var(--bf-ink)!important;
  border-bottom:1px solid var(--bf-line)!important;
  background:transparent!important;
}

.como-mobile-nav-group summary {
  opacity:1!important;
  visibility:visible!important;
}

.como-mobile-nav-group summary > span:first-child {
  color:var(--bf-ink)!important;
  opacity:1!important;
  visibility:visible!important;
}

.como-mobile-nav-group summary > span:last-child {
  color:var(--bf-blue)!important;
}

.como-mobile-nav-group[open] summary {
  color:var(--bf-blue)!important;
}

.como-mobile-cta {
  border-radius:0!important;
  background:var(--bf-blue)!important;
  color:#fff!important;
}

/* Hide old visual ornaments in public sections if a cached legacy partial appears. */
.como-hero-orange-stripe,
.como-header-ambient {
  display:none!important;
}

@media(max-width:960px) {
  .bf-wrap {
    width:min(100% - 48px,1160px);
  }

  .bf-hero-grid,
  .bf-split,
  .bf-contact {
    grid-template-columns:1fr;
  }

  .bf-hero-grid {
    gap:40px;
  }

  .bf-hero-media {
    min-height:420px;
  }

  .bf-grid-4,
  .bf-grid-3 {
    grid-template-columns:repeat(2,1fr);
  }

  .bf-stats {
    grid-template-columns:repeat(2,1fr);
  }

  .como-header-inner {
    padding-inline:24px!important;
  }
}

@media(max-width:640px) {
  .bf-wrap {
    width:min(100% - 32px,1160px);
  }

  .bf-section {
    padding:68px 0;
  }

  .bf-hero {
    padding:58px 0 68px;
  }

  .bf-hero-media {
    min-height:340px;
  }

  .bf-grid-2,
  .bf-grid-3,
  .bf-grid-4 {
    grid-template-columns:1fr;
  }

  .bf-heading-row {
    align-items:flex-start;
    flex-direction:column;
    margin-bottom:30px;
  }

  .bf-step {
    grid-template-columns:48px 1fr;
  }

  .bf-step__meta {
    grid-column:2;
    text-align:left;
  }

  .bf-stats {
    grid-template-columns:1fr;
  }

  .bf-actions {
    align-items:stretch;
    flex-direction:column;
  }

  .bf-btn {
    width:100%;
  }

  .como-footer-inner {
    padding:56px 24px 24px!important;
  }
}

/* Footer v2 — compact Bannforst-style composition. */
.como-site-footer {
  border-top:0!important;
  background:var(--footer-background,var(--bf-ink,#0f1a1c))!important;
  color:var(--footer-text,#fff)!important;
}

.como-footer-inner {
  width:min(100% - 80px,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:62px 0 30px!important;
}

.como-footer-grid {
  display:grid!important;
  align-items:start!important;
  gap:54px!important;
}

.como-footer-grid--4 {
  grid-template-columns:minmax(260px,1.55fr) repeat(3,minmax(150px,1fr))!important;
}

.como-footer-grid--3 {
  grid-template-columns:minmax(260px,1.45fr) repeat(2,minmax(170px,1fr))!important;
}

.como-footer-grid--2 {
  grid-template-columns:minmax(280px,1.25fr) minmax(220px,.75fr)!important;
}

.como-footer-grid--1 {
  grid-template-columns:minmax(0,560px)!important;
}

.como-footer-logo {
  display:flex!important;
  align-items:center!important;
  width:auto!important;
  min-height:0!important;
  margin:0 0 26px!important;
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
}

.como-footer-main-logo,
.como-footer-logo img {
  display:block!important;
  width:auto!important;
  height:34px!important;
  max-width:235px!important;
  object-fit:contain!important;
  object-position:left center!important;
}

.como-footer-description {
  max-width:34ch!important;
  margin:0!important;
  color:color-mix(in srgb,var(--footer-text,#fff) 68%,transparent)!important;
  font:400 15px/1.62 Inter,sans-serif!important;
}

.como-footer-description.trix-content,
.como-footer-description .trix-content {
  color:inherit!important;
  font:inherit!important;
}

.como-footer-description p {
  margin:0 0 12px!important;
}

.como-footer-description p:last-child {
  margin-bottom:0!important;
}

.como-footer-description strong,
.como-footer-description b {
  color:var(--footer-text,#fff);
  font-weight:700!important;
}

.como-footer-description a {
  color:var(--footer-accent,#7fc7e8)!important;
  text-decoration:none!important;
}

.como-social-list {
  margin-top:22px!important;
}

.como-footer-heading {
  margin:0 0 18px!important;
  color:var(--footer-text,#fff)!important;
  font:700 12px/1.2 Inter,sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}

.como-footer-nav {
  gap:10px!important;
}

.como-site-footer .como-footer-nav a,
.como-site-footer .como-footer-address,
.como-site-footer .como-footer-address a,
.como-site-footer .como-footer-cookie-button {
  color:color-mix(in srgb,var(--footer-accent,#7fc7e8) 82%,var(--footer-text,#fff))!important;
  font:400 14px/1.5 Inter,sans-serif!important;
}

.como-site-footer .como-footer-address a {
  color:var(--footer-text,#fff)!important;
  font-weight:500!important;
}

.como-site-footer .como-footer-nav a:hover,
.como-site-footer .como-footer-address a:hover,
.como-site-footer .como-footer-cookie-button:hover {
  color:var(--footer-text,#fff)!important;
}

.como-footer-address {
  line-height:1.72!important;
}

.como-footer-secondary-legal {
  margin-top:10px!important;
}

.como-footer-secondary-legal .como-footer-nav {
  gap:10px!important;
}

.como-footer-bottom {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:28px!important;
  margin-top:56px!important;
  padding-top:28px!important;
  border-top:1px solid color-mix(in srgb,var(--footer-text,#fff) 17%,transparent)!important;
  color:color-mix(in srgb,var(--footer-accent,#7fc7e8) 82%,var(--footer-text,#fff))!important;
  font:400 13px/1.5 Inter,sans-serif!important;
}

.como-footer-affiliation {
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-height:28px!important;
}

.como-footer-affiliation-label {
  white-space:nowrap!important;
}

.como-footer-affiliation-logo {
  display:block!important;
  width:auto!important;
  height:32px!important;
  max-width:220px!important;
  object-fit:contain!important;
  object-position:left center!important;
}

.como-footer-copyright {
  text-align:right!important;
  white-space:nowrap!important;
}

@media(max-width:960px) {
  .como-footer-inner {
    width:min(100% - 48px,1240px)!important;
  }

  .como-footer-grid,
  .como-footer-grid--4,
  .como-footer-grid--3 {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:640px) {
  .como-footer-inner {
    width:min(100% - 32px,1240px)!important;
    padding-top:48px!important;
  }

  .como-footer-grid,
  .como-footer-grid--4,
  .como-footer-grid--3,
  .como-footer-grid--2 {
    grid-template-columns:1fr!important;
    gap:36px!important;
  }

  .como-footer-bottom {
    grid-template-columns:1fr!important;
    margin-top:44px!important;
  }

  .como-footer-copyright {
    text-align:left!important;
    white-space:normal!important;
  }

  .como-footer-affiliation {
    flex-wrap:wrap!important;
  }
}
