/* block:bf-business/cards 0.1.0 */
/* 카드 격자 */
.bfb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.bfb-cards--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bfb-cards--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bfb-cards__item { display: flex; min-width: 0; }
.bfb-cards__card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 36px 32px 34px; border: 1px solid transparent; border-radius: var(--bfb-radius-lg, 20px); color: var(--bfb-ink, #111); text-decoration: none; transition: transform .3s var(--bfb-ease, ease), box-shadow .3s, border-color .3s, background-color .3s; }
.bfb-cards--line .bfb-cards__card { border-color: var(--bfb-line, #e5e7eb); background: var(--bfb-bg, #fff); }
.bfb-cards--white .bfb-cards__card { background: var(--bfb-bg, #fff); box-shadow: 0 2px 10px rgba(15, 23, 42, .04); }
.bfb-cards--soft .bfb-cards__card { background: var(--bfb-soft, #f8f9fa); }
.bfb-cards--plain .bfb-cards__card { padding: 8px 0; }
a.bfb-cards__card:hover { transform: translateY(-6px); color: var(--bfb-ink, #111); box-shadow: var(--bfb-shadow-lg); }
.bfb-cards--plain a.bfb-cards__card:hover { box-shadow: none; }
.bfb-cards--line a.bfb-cards__card:hover { border-color: var(--bfb-primary); }
.bfb-cards--t-center .bfb-cards__card { align-items: center; text-align: center; }
.bfb-cards__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bfb-cards__cat { color: var(--bfb-primary); font-size: 14px; font-weight: 700; }
.bfb-cards__title { color: inherit; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; word-break: keep-all; }
.bfb-cards__text { color: var(--bfb-muted, #666); font-size: 15.5px; line-height: 1.65; word-break: keep-all; }
.bfb-cards__go { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: auto; padding-top: 0; border-radius: 50%; background: var(--bfb-soft, #f8f9fa); color: var(--bfb-ink, #111); font-size: 18px; transition: background-color .25s, color .25s; }
.bfb-cards__body + .bfb-cards__go { margin-top: 28px; }
a.bfb-cards__card:hover .bfb-cards__go { background: var(--bfb-primary); color: #fff; }
.bfb-cards--soft .bfb-cards__go { background: var(--bfb-bg, #fff); }

/* 아이콘형 */
.bfb-cards__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 28px; border-radius: 16px; background: var(--bfb-primary-soft); color: var(--bfb-primary); font-size: 30px; }
/* 그림형: 위 그림 (16:10) */
.bfb-cards--image .bfb-cards__card { padding: 0 0 30px; overflow: hidden; }
.bfb-cards--image .bfb-cards__body, .bfb-cards--image .bfb-cards__go { margin-left: 28px; margin-right: 28px; }
.bfb-cards__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; margin-bottom: 26px; overflow: hidden; background: var(--bfb-soft, #f1f3f5); color: var(--bfb-faint, #aaa); font-size: 40px; }
.bfb-cards__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bfb-ease, ease); }
a.bfb-cards__card:hover .bfb-cards__img img { transform: scale(1.05); }
.bfb-cards--plain.bfb-cards--image .bfb-cards__img { border-radius: var(--bfb-radius-lg, 20px); }
.bfb-cards--plain.bfb-cards--image .bfb-cards__body, .bfb-cards--plain.bfb-cards--image .bfb-cards__go { margin-left: 0; margin-right: 0; }
/* 번호형 (절차) */
.bfb-cards__num { margin-bottom: 22px; color: var(--bfb-primary); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
/* 링크 목록형: 한 줄짜리 카드, 오른쪽 화살표 */
.bfb-cards--link .bfb-cards__card { flex-direction: row; align-items: center; gap: 20px; padding: 26px 28px; }
.bfb-cards--link .bfb-cards__title { font-size: 19px; }
.bfb-cards--link .bfb-cards__text { font-size: 14.5px; }
.bfb-cards--link .bfb-cards__go, .bfb-cards--link .bfb-cards__body + .bfb-cards__go { flex-shrink: 0; margin: 0 0 0 auto; }

/* 어두운 · 대표 색 구역 안 */
.bfb-sec--dark .bfb-cards--plain .bfb-cards__card, .bfb-sec--primary .bfb-cards--plain .bfb-cards__card { color: #fff; }
.bfb-sec--dark .bfb-cards--plain .bfb-cards__text, .bfb-sec--primary .bfb-cards--plain .bfb-cards__text { color: rgba(255, 255, 255, .72); }
.bfb-sec--dark .bfb-cards--soft .bfb-cards__card { background: var(--bfb-dark-2, #1d1d20); color: #fff; }
.bfb-sec--dark .bfb-cards--soft .bfb-cards__text { color: rgba(255, 255, 255, .65); }

@media (max-width: 1024px) {
    .bfb-cards, .bfb-cards--c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .bfb-cards__card { padding: 28px 24px; }
    .bfb-cards__title { font-size: 19px; }
}

@media (max-width: 768px) {
    .bfb-cards, .bfb-cards--c2, .bfb-cards--c4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .bfb-cards--c4:not(.bfb-cards--link):not(.bfb-cards--image) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bfb-cards__card { padding: 24px 22px; }
    .bfb-cards__icon { width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; font-size: 24px; }
    .bfb-cards__num { margin-bottom: 14px; font-size: 30px; }
    .bfb-cards__title { font-size: 18px; }
    .bfb-cards__text { font-size: 14.5px; }
    .bfb-cards--link .bfb-cards__card { padding: 20px; }
}

/* block:bf-business/cases 0.1.0 */
/* 고객 사례 슬라이드 (Swiper 를 못 불러오면 가로로 굴려 보는 목록) */
.bfb-cases { position: relative; }
.bfb-cases__track { overflow: hidden; }
.bfb-cases__list { display: flex; margin: 0; padding: 0; list-style: none; }
.bfb-cases:not(.is-ready) .bfb-cases__list { gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
.bfb-cases:not(.is-ready) .bfb-cases__item { flex: 0 0 calc((100% - 24px * (var(--bfb-cases-per, 3) - 1)) / var(--bfb-cases-per, 3)); scroll-snap-align: start; }
.bfb-cases__item { display: flex; height: auto; box-sizing: border-box; }
.bfb-cases__card { display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--bfb-line, #e5e7eb); border-radius: var(--bfb-radius-lg, 20px); background: var(--bfb-bg, #fff); color: var(--bfb-ink, #111); text-decoration: none; transition: box-shadow .3s, border-color .3s; }
a.bfb-cases__card:hover { border-color: transparent; box-shadow: var(--bfb-shadow-lg); color: var(--bfb-ink, #111); }
.bfb-cases__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bfb-soft, #f1f3f5); }
.bfb-cases__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bfb-ease, ease); }
a.bfb-cases__card:hover .bfb-cases__img img { transform: scale(1.05); }
.bfb-cases__body { display: flex; flex-direction: column; flex: 1; padding: 32px 30px 30px; }
.bfb-cases__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin-bottom: 18px; }
.bfb-cases__top:empty { display: none; }
.bfb-cases__logo { max-width: 140px; max-height: 32px; width: auto; height: auto; object-fit: contain; }
.bfb-cases__cat { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--bfb-primary-soft); color: var(--bfb-primary); font-size: 13px; font-weight: 700; }
.bfb-cases__logo + .bfb-cases__cat { margin-left: auto; }
.bfb-cases__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.bfb-cases__text { display: -webkit-box; margin-top: 14px; overflow: hidden; color: var(--bfb-muted, #666); font-size: 15.5px; line-height: 1.7; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.bfb-cases__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 24px; color: var(--bfb-primary); font-size: 15px; font-weight: 600; }
.bfb-cases__more .bf-icon { transition: transform .25s; }
a.bfb-cases__card:hover .bfb-cases__more .bf-icon { transform: translateX(4px); }

/* 넘기기 줄: 진행 막대 + 이전 · 다음 */
.bfb-cases__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 40px; }
.bfb-cases__bar { position: relative; flex: 1; height: 2px; margin-right: 14px; overflow: hidden; background: var(--bfb-line, #e5e7eb); }
.bfb-cases__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--bfb-cases-w, 30%); background: var(--bfb-ink, #111); transform: translateX(var(--bfb-cases-x, 0%)); transition: transform .4s var(--bfb-ease, ease), width .4s; }
.bfb-cases__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--bfb-line, #e5e7eb); border-radius: 50%; background: var(--bfb-bg, #fff); color: var(--bfb-ink, #111); font-size: 20px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.bfb-cases__btn:hover:not(:disabled) { border-color: var(--bfb-ink, #111); background: var(--bfb-ink, #111); color: #fff; }
.bfb-cases__btn:disabled { opacity: .35; cursor: default; }
.bfb-cases:not(.is-ready) .bfb-cases__ctrl { display: none; }
.bfb-cases.is-static .bfb-cases__ctrl { display: none; }

.bfb-sec--dark .bfb-cases__card { border-color: rgba(255, 255, 255, .1); background: var(--bfb-dark-2, #1d1d20); color: #fff; }
.bfb-sec--dark .bfb-cases__text { color: rgba(255, 255, 255, .65); }
.bfb-sec--dark .bfb-cases__bar { background: rgba(255, 255, 255, .18); }
.bfb-sec--dark .bfb-cases__bar i { background: #fff; }
.bfb-sec--dark .bfb-cases__btn { border-color: rgba(255, 255, 255, .3); background: transparent; color: #fff; }

@media (max-width: 768px) {
    .bfb-cases__body { padding: 24px 22px; }
    .bfb-cases__name { font-size: 19px; }
    .bfb-cases__text { font-size: 14.5px; }
    .bfb-cases__ctrl { margin-top: 24px; }
    .bfb-cases__btn { width: 40px; height: 40px; font-size: 18px; }
    .bfb-cases:not(.is-ready) .bfb-cases__item { flex-basis: 82%; }
}

/* block:bf-business/cta 0.1.0 */
/* 문의 띠 배너 */
.bfb-cta { overflow: hidden; isolation: isolate; }
.bfb-cta.has-image { background-image: var(--cta-img); background-position: center; background-size: cover; color: #fff; }
.bfb-cta.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 12, 24, .62); }
.bfb-cta.has-image.bfb-sec--primary::before { background: color-mix(in srgb, var(--bfb-primary) 82%, rgba(0, 0, 0, .4)); }
/* 대표 색 바탕: 빛 번짐 무늬 */
.bfb-cta.bfb-sec--primary:not(.has-image) { background-image: radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(0, 0, 0, .18), transparent 60%); }
.bfb-cta__in { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.bfb-cta--split .bfb-cta__in { flex-direction: row; justify-content: space-between; text-align: left; }
.bfb-cta__title { margin: 0; color: inherit; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; word-break: keep-all; }
.bfb-cta__title em { font-style: normal; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.bfb-sec--light .bfb-cta__title em, .bfb-sec--soft .bfb-cta__title em { color: var(--bfb-primary); text-decoration: none; }
.bfb-cta__desc { margin: 16px 0 0; font-size: 18px; line-height: 1.65; opacity: .8; word-break: keep-all; }
.bfb-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; flex-shrink: 0; }
.bfb-cta.has-image .bfb-sec__eyebrow, .bfb-cta.bfb-sec--primary .bfb-sec__eyebrow { color: rgba(255, 255, 255, .8); }

@media (max-width: 1024px) {
    .bfb-cta--split .bfb-cta__in { flex-direction: column; align-items: flex-start; }
    .bfb-cta__title { font-size: 32px; }
}

@media (max-width: 768px) {
    .bfb-cta__in { gap: 24px; }
    .bfb-cta__title { font-size: 24px; }
    .bfb-cta__desc { margin-top: 10px; font-size: 15px; }
    .bfb-cta__btns { width: 100%; }
    .bfb-cta__btns .bfb-btn { flex: 1; }
}

/* block:bf-business/hero 0.1.0 */
/* 첫 화면 큰 배너 */
.bfb-hero { --bfb-hero-h: 100vh; position: relative; overflow: hidden; height: var(--bfb-hero-h); min-height: 520px; background: #0b1d4a; color: #fff; isolation: isolate; }
.bfb-hero--h-large { --bfb-hero-h: 80vh; }
@supports (height: 100svh) {
    .bfb-hero--h-full { --bfb-hero-h: 100svh; }
    .bfb-hero--h-large { --bfb-hero-h: 80svh; }
}
.bfb-hero--h-px { --bfb-hero-h: var(--bfb-hero-px, 640px); min-height: 0; }
/* 사이트 폭 안에 놓이면(화면 가득 끔) 둥근 상자 */
.bf-row:not(.bf-row--bleed) .bfb-hero { border-radius: var(--bfb-radius-lg, 20px); }
.bfb-hero__track, .bfb-hero .swiper-wrapper { height: 100%; }
.bfb-hero__slide { position: relative; display: flex; align-items: center; height: 100%; background: var(--slide-bg, #0b1d4a); }
/* 그림이 없을 때: 대표 색으로 빛 번짐 무늬 */
.bfb-hero__slide:not(.has-media) .bfb-hero__bg {
    background:
        radial-gradient(60% 70% at 85% 15%, color-mix(in srgb, var(--bfb-primary, #125de6) 75%, transparent) 0%, transparent 70%),
        radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--bfb-primary, #125de6) 45%, transparent) 0%, transparent 70%),
        linear-gradient(135deg, transparent 0 40%, rgba(255, 255, 255, .04) 40% 41%, transparent 41% 60%, rgba(255, 255, 255, .03) 60% 61%, transparent 61%);
}
.bfb-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bfb-hero__bg img, .bfb-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfb-hero__slide.has-media .bfb-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, calc(var(--slide-dim, .35) + .1)) 0%, rgba(0, 0, 0, var(--slide-dim, .35)) 40%, rgba(0, 0, 0, calc(var(--slide-dim, .35) + .15)) 100%); }
/* 배경 그림이 천천히 커지는 움직임 (지금 장면만) */
.bfb-hero__bg img { transform: scale(1.08); transition: transform 7s linear; }
.bfb-hero__slide.is-on .bfb-hero__bg img { transform: scale(1); }

.bfb-hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; padding-top: calc(var(--bfb-over-h, 0px) * .6); }
.bfb-hero__slide--center .bfb-hero__body { align-items: center; text-align: center; }
.bfb-hero__slide--left .bfb-hero__body { align-items: flex-start; text-align: left; }
.bfb-hero__eyebrow { margin: 0 0 20px; color: rgba(255, 255, 255, .85); font-size: 16px; font-weight: 700; letter-spacing: .12em; }
.bfb-hero__title { margin: 0; color: #fff; font-size: 64px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.25; word-break: keep-all; }
.bfb-hero--t-m .bfb-hero__title { font-size: 52px; }
.bfb-hero--t-s .bfb-hero__title { font-size: 42px; }
.bfb-hero__title em { color: var(--bfb-primary-light, #8fb2f5); font-style: normal; }
.bfb-hero__text { max-width: 680px; margin: 24px 0 0; color: rgba(255, 255, 255, .85); font-size: 19px; line-height: 1.65; word-break: keep-all; }
.bfb-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.bfb-hero__slide--center .bfb-hero__btns { justify-content: center; }
/* 글자가 차례로 떠오른다 (지금 장면) */
.bfb-hero__body > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--bfb-ease, ease), transform .8s var(--bfb-ease, ease); }
.bfb-hero__slide.is-on .bfb-hero__body > * { opacity: 1; transform: none; }
.bfb-hero__slide.is-on .bfb-hero__body > :nth-child(2) { transition-delay: .12s; }
.bfb-hero__slide.is-on .bfb-hero__body > :nth-child(3) { transition-delay: .24s; }
.bfb-hero__slide.is-on .bfb-hero__body > :nth-child(4) { transition-delay: .36s; }
.bfe-on .bfb-hero__body > * { opacity: 1; transform: none; transition: none; }

/* 넘기기 단추 줄: 아래 번호 · 진행 막대 · 이전 · 다음 · 멈춤 */
.bfb-hero__ctrl { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2; display: flex; align-items: center; gap: 6px; color: #fff; pointer-events: none; }
.bfb-hero__ctrl > * { pointer-events: auto; }
.bfb-hero__num { min-width: 64px; font-size: 14px; font-variant-numeric: tabular-nums; opacity: .8; }
.bfb-hero__num b { font-weight: 700; }
.bfb-hero__bar { position: relative; width: 120px; height: 2px; margin-right: 10px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.bfb-hero__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.bfb-hero.is-playing .bfb-hero__bar i { animation: bfb-hero-bar var(--bfb-hero-ms, 6000ms) linear forwards; }
@keyframes bfb-hero-bar { to { transform: scaleX(1); } }
.bfb-hero__btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: transparent; color: #fff; font-size: 18px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.bfb-hero__btn:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.bfb-hero__ico-play { display: none; }
.bfb-hero.is-paused .bfb-hero__ico-play { display: inline-block; }
.bfb-hero.is-paused .bfb-hero__ico-pause { display: none; }
.bfb-hero__scroll { position: absolute; left: 50%; bottom: 28px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -22px; padding: 0; border: 0; background: none; color: #fff; font-size: 32px; cursor: pointer; animation: bfb-hero-bounce 2s ease-in-out infinite; }
/* 넘기기 단추 줄이 있으면 화살표는 오른쪽 아래로 */
.bfb-hero:has(.bfb-hero__ctrl) .bfb-hero__scroll { left: auto; right: max(var(--bf-gutter, 20px), calc((100% - var(--bf-container-width, 1280px)) / 2 + var(--bf-gutter, 20px))); bottom: 44px; margin-left: 0; }
@keyframes bfb-hero-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (max-width: 1024px) {
    .bfb-hero__title { font-size: 48px; }
    .bfb-hero--t-m .bfb-hero__title { font-size: 42px; }
    .bfb-hero--t-s .bfb-hero__title { font-size: 36px; }
    .bfb-hero__scroll { display: none; }
}

@media (max-width: 768px) {
    .bfb-hero { min-height: 460px; }
    .bfb-hero--h-px { --bfb-hero-h: max(420px, calc(var(--bfb-hero-px, 640px) * .75)); }
    .bfb-hero__eyebrow { margin-bottom: 14px; font-size: 13px; }
    .bfb-hero__title, .bfb-hero--t-m .bfb-hero__title { font-size: 32px; }
    .bfb-hero--t-s .bfb-hero__title { font-size: 28px; }
    .bfb-hero__text { margin-top: 16px; font-size: 15.5px; }
    .bfb-hero__btns { margin-top: 28px; }
    .bfb-hero__ctrl { bottom: 24px; }
    .bfb-hero__bar { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    .bfb-hero__bg img { transform: none; transition: none; }
    .bfb-hero__body > * { opacity: 1; transform: none; transition: none; }
    .bfb-hero__scroll { animation: none; }
}

/* block:bf-business/logos 0.1.0 */
/* 고객사 · 협력사 로고 */
.bfb-logos__list { margin: 0; padding: 0; list-style: none; }
.bfb-logos--grid .bfb-logos__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bfb-logos--grid.c5 .bfb-logos__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bfb-logos--grid.c6 .bfb-logos__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bfb-logos--grid.c8 .bfb-logos__list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.bfb-logos__cell { display: flex; align-items: center; justify-content: center; height: 100px; padding: 16px 20px; color: var(--bfb-muted, #666); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.bfb-logos.is-boxed .bfb-logos__cell { border: 1px solid var(--bfb-line, #e5e7eb); border-radius: var(--bfb-radius, 12px); background: var(--bfb-bg, #fff); }
a.bfb-logos__cell:hover { border-color: var(--bfb-primary); }
.bfb-logos__cell img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; transition: filter .3s, opacity .3s; }
.bfb-logos__name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; opacity: .7; }
.bfb-logos.is-gray .bfb-logos__cell img { filter: grayscale(1); opacity: .6; }
.bfb-logos.is-gray .bfb-logos__cell:hover img { filter: none; opacity: 1; }
.bfb-sec--dark .bfb-logos.is-boxed .bfb-logos__cell { border-color: rgba(255, 255, 255, .12); background: transparent; color: #fff; }
.bfb-sec--dark .bfb-logos.is-gray .bfb-logos__cell img { filter: grayscale(1) brightness(0) invert(1); opacity: .65; }

/* 흐르는 줄: 같은 목록 두 벌을 이어 붙여 끝없이 왼쪽으로 */
.bfb-logos--marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bfb-logos__track { display: flex; width: max-content; animation: bfb-logos-run calc(var(--bfb-logos-n, 8) * 3.5s) linear infinite; }
.bfb-logos--marquee:hover .bfb-logos__track { animation-play-state: paused; }
.bfb-logos--marquee .bfb-logos__list { display: flex; gap: 16px; padding-right: 16px; }
.bfb-logos--marquee .bfb-logos__cell { width: 200px; }
@keyframes bfb-logos-run { to { transform: translateX(-50%); } }
.bfe-on .bfb-logos__track { animation: none; }

@media (max-width: 1024px) {
    .bfb-logos--grid.c6 .bfb-logos__list, .bfb-logos--grid.c8 .bfb-logos__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bfb-logos--grid.c5 .bfb-logos__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .bfb-logos--grid .bfb-logos__list, .bfb-logos--grid.c5 .bfb-logos__list, .bfb-logos--grid.c6 .bfb-logos__list, .bfb-logos--grid.c8 .bfb-logos__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .bfb-logos__cell { height: 76px; padding: 12px; }
    .bfb-logos__cell img { max-height: 34px; }
    .bfb-logos__name { font-size: 15px; }
    .bfb-logos--marquee .bfb-logos__cell { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
    .bfb-logos__track { animation: none; }
    .bfb-logos--marquee { overflow-x: auto; }
}

/* block:bf-business/news 0.1.1 */
/* 새 소식 */
/* 왼쪽 제목: 제목 줄 오른쪽 끝에 전체 보기 */
.bfb-news-sec--left > .bfb-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.bfb-news-sec--left > .bfb-in > .bfb-sec__head { margin-bottom: 48px; }
.bfb-news-sec--left > .bfb-in > :not(.bfb-sec__head):not(.bfb-news__all) { grid-column: 1 / -1; }
.bfb-news__all { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 52px; color: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bfb-news__all:hover { color: var(--bfb-primary); }
.bfb-news__all .bf-icon { transition: transform .25s; }
.bfb-news__all:hover .bf-icon { transform: translateX(4px); }
.bfb-news__empty { padding: 48px 0; color: var(--bfb-muted, #666); text-align: center; }
.bfb-news { margin: 0; padding: 0; list-style: none; }
.bfb-news__tag { color: var(--bfb-primary); font-size: 13.5px; font-weight: 700; }
.bfb-news__subject { display: -webkit-box; overflow: hidden; color: inherit; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bfb-news__excerpt { display: -webkit-box; overflow: hidden; color: var(--bfb-muted, #666); font-size: 15px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* 그림 카드 */
.bfb-news--card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.bfb-news--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bfb-news--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bfb-news__card { display: flex; flex-direction: column; color: var(--bfb-ink, #111); text-decoration: none; }
.bfb-news__card:hover { color: var(--bfb-ink, #111); }
.bfb-news__thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--bfb-radius, 12px); background: var(--bfb-soft, #f1f3f5); color: var(--bfb-faint, #aaa); font-size: 36px; }
.bfb-sec--soft .bfb-news__thumb { background: var(--bfb-bg, #fff); }
.bfb-news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bfb-ease, ease); }
.bfb-news__card:hover .bfb-news__thumb img { transform: scale(1.05); }
.bfb-news__card .bfb-news__body { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; }
.bfb-news__card:hover .bfb-news__subject { color: var(--bfb-primary); }
.bfb-news__date { color: var(--bfb-faint, #999); font-size: 14px; font-variant-numeric: tabular-nums; }

/* 날짜 목록 */
.bfb-news--list { border-top: 2px solid var(--bfb-ink, #111); }
.bfb-news--list li { border-bottom: 1px solid var(--bfb-line, #e5e7eb); }
.bfb-news__row { display: flex; align-items: center; gap: 36px; padding: 28px 8px; color: var(--bfb-ink, #111); text-decoration: none; transition: background-color .2s; }
.bfb-news__row:hover { background: var(--bfb-soft, #f8f9fa); color: var(--bfb-ink, #111); }
.bfb-news__day { display: flex; flex-direction: column; align-items: center; flex: 0 0 72px; color: var(--bfb-muted, #666); font-variant-numeric: tabular-nums; }
.bfb-news__day b { color: var(--bfb-ink, #111); font-size: 32px; font-weight: 800; line-height: 1.1; }
.bfb-news__day span { font-size: 13px; }
.bfb-news__row .bfb-news__body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.bfb-news__row .bfb-news__subject { -webkit-line-clamp: 1; }
.bfb-news__row:hover .bfb-news__subject { color: var(--bfb-primary); }
.bfb-news__go { flex-shrink: 0; color: var(--bfb-faint, #999); font-size: 24px; transition: color .2s, transform .2s; }
.bfb-news__row:hover .bfb-news__go { color: var(--bfb-primary); transform: translate(2px, -2px); }

.bfb-sec--dark .bfb-news__card, .bfb-sec--dark .bfb-news__row, .bfb-sec--primary .bfb-news__card, .bfb-sec--primary .bfb-news__row { color: #fff; }
.bfb-sec--dark .bfb-news--list { border-top-color: #fff; }
.bfb-sec--dark .bfb-news--list li { border-bottom-color: rgba(255, 255, 255, .14); }
.bfb-sec--dark .bfb-news__row:hover { background: rgba(255, 255, 255, .05); }
.bfb-sec--dark .bfb-news__day b { color: #fff; }

@media (max-width: 1024px) {
    .bfb-news--card, .bfb-news--c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .bfb-news-sec--left > .bfb-in > .bfb-sec__head { margin-bottom: 28px; }
    .bfb-news__all { margin-bottom: 32px; font-size: 14.5px; }
    .bfb-news--card, .bfb-news--c2, .bfb-news--c3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .bfb-news__subject { font-size: 17px; }
    .bfb-news__row { gap: 18px; padding: 20px 4px; }
    .bfb-news__day { flex-basis: 54px; }
    .bfb-news__day b { font-size: 24px; }
    .bfb-news__go { display: none; }
}

/* block:bf-business/notice-cards 0.1.0 */
/* 알림 카드 줄 */
.bfb-notice { --bfb-overlap: 96px; position: relative; z-index: 3; }
.bfb-notice--pad-lg { padding-bottom: var(--bfb-pad-lg, 140px); }
.bfb-notice--pad-md { padding-bottom: var(--bfb-pad-md, 100px); }
.bfb-notice--pad-sm { padding-bottom: var(--bfb-pad-sm, 56px); }
/* 걸쳐 올리기: 위 블록(큰 배너) 아래쪽으로 카드 높이의 일부만큼 끌어 올린다 */
.bfb-notice--overlap { margin-top: calc(var(--bfb-overlap) * -1); }
.bf-block:has(> .bfb-notice--overlap) { position: relative; z-index: 3; }
/* 위가 큰 배너면: 배너의 넘기기 단추 · 화살표 · 글자를 카드에 가리지 않게 올린다 */
.bf-row:has(.bfb-hero):has(+ .bf-row .bfb-notice--overlap) .bfb-hero__ctrl { bottom: calc(var(--bfb-overlap, 96px) + 36px); }
.bf-row:has(.bfb-hero):has(+ .bf-row .bfb-notice--overlap) .bfb-hero__scroll { display: none; }
.bf-row:has(.bfb-hero):has(+ .bf-row .bfb-notice--overlap) .bfb-hero__body { margin-bottom: 72px; }

.bfb-notice__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bfb-notice--n2 .bfb-notice__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bfb-notice--n4 .bfb-notice__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bfb-notice--n1 .bfb-notice__grid { grid-template-columns: minmax(0, 1fr); }
.bfb-notice__card { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 160px; padding: 28px 28px 26px; border: 1px solid transparent; border-radius: var(--bfb-radius-lg, 20px); background: var(--bfb-bg, #fff); color: var(--bfb-ink, #111); text-decoration: none; transition: transform .3s var(--bfb-ease, ease), box-shadow .3s, background-color .3s; }
.bfb-notice--white .bfb-notice__card { box-shadow: var(--bfb-shadow-lg); }
.bfb-notice--line .bfb-notice__card { border-color: var(--bfb-line, #e5e7eb); }
.bfb-notice--glass .bfb-notice__card { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
a.bfb-notice__card:hover { transform: translateY(-4px); color: inherit; }
.bfb-notice--white a.bfb-notice__card:hover { box-shadow: 0 26px 60px rgba(15, 23, 42, .18); }
.bfb-notice--glass a.bfb-notice__card:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.bfb-notice__body { display: flex; flex-direction: column; min-width: 0; align-self: stretch; }
.bfb-notice__label { margin: 0 0 12px; color: var(--bfb-primary); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.bfb-notice--glass .bfb-notice__label { color: rgba(255, 255, 255, .8); }
.bfb-notice__title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; word-break: keep-all; }
.bfb-notice__text { margin: 10px 0 0; color: var(--bfb-muted, #666); font-size: 14.5px; line-height: 1.6; }
.bfb-notice--glass .bfb-notice__text { color: rgba(255, 255, 255, .75); }
.bfb-notice__media { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--bfb-primary-soft); color: var(--bfb-primary); font-size: 26px; transition: background-color .3s, color .3s; }
.bfb-notice__media img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.bfb-notice--glass .bfb-notice__media { background: rgba(255, 255, 255, .16); color: #fff; }
a.bfb-notice__card:hover .bfb-notice__media:not(:has(img)) { background: var(--bfb-primary); color: #fff; }

@media (max-width: 1024px) {
    .bfb-notice--n4 .bfb-notice__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bfb-notice--n3 .bfb-notice__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bfb-notice__card { min-height: 140px; padding: 22px; }
    .bfb-notice__title { font-size: 17px; }
}

@media (max-width: 768px) {
    .bfb-notice { --bfb-overlap: 48px; }
    .bfb-notice__grid, .bfb-notice--n2 .bfb-notice__grid, .bfb-notice--n3 .bfb-notice__grid, .bfb-notice--n4 .bfb-notice__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .bfb-notice__card { align-items: center; min-height: 0; padding: 18px 20px; }
    .bfb-notice__label { margin-bottom: 6px; font-size: 12px; }
    .bfb-notice__title { font-size: 16px; }
    .bfb-notice__title br { display: none; }
    .bfb-notice__media { width: 44px; height: 44px; font-size: 20px; }
}

/* block:bf-business/solutions 0.1.0 */
/* 펼침 패널: 펼친 패널은 넓게(flex 1), 접힌 패널은 세로 글씨 띠 */
.bfb-sol { display: flex; gap: 12px; height: var(--bfb-sol-h, 480px); }
.bfb-sol__panel { position: relative; display: flex; flex: 0 0 88px; min-width: 0; overflow: hidden; border-radius: var(--bfb-radius-lg, 20px); background-color: #1b2333; background-image: var(--sol-img, none); background-position: center; background-size: cover; color: #fff; isolation: isolate; transition: flex-basis .6s var(--bfb-ease, ease), flex-grow .6s var(--bfb-ease, ease); }
.bfb-sol__panel:not(.has-image) { background-image: radial-gradient(80% 90% at 90% 10%, color-mix(in srgb, var(--bfb-primary, #125de6) 55%, transparent), transparent 70%), linear-gradient(160deg, #1f2a44, #0f1626); }
.bfb-sol__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 14, 24, .55); transition: background-color .4s; }
.bfb-sol__panel.is-on { flex: 1 1 auto; }
.bfb-sol__panel.is-on::before { background: linear-gradient(90deg, rgba(10, 14, 24, .78) 0%, rgba(10, 14, 24, .45) 100%); }
/* 접힌 띠 전체가 단추 */
.bfb-sol__tab { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: center; padding: 28px 0 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; }
.bfb-sol__panel.is-on .bfb-sol__tab { display: none; }
.bfb-sol__vlabel { font-size: 20px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; writing-mode: vertical-rl; }
.bfb-sol__tab:hover .bfb-sol__vlabel, .bfb-sol__tab:focus-visible .bfb-sol__vlabel { color: var(--bfb-primary-light, #8fb2f5); }
/* 펼친 내용: 왼쪽 제목 · 오른쪽 요점 */
.bfb-sol__content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; width: 100%; min-width: 640px; padding: 56px 56px 48px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.bfb-sol__panel.is-on .bfb-sol__content { opacity: 1; visibility: visible; transition-delay: .25s; }
.bfb-sol__head { display: flex; flex-direction: column; }
.bfb-sol__label { margin: 0 0 14px; color: rgba(255, 255, 255, .8); font-size: 17px; font-weight: 600; }
.bfb-sol__title { margin: 0; color: #fff; font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.bfb-sol__more { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-top: auto; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; color: #fff; font-size: 22px; text-decoration: none; transition: background-color .2s, border-color .2s; }
.bfb-sol__more:hover { border-color: #fff; background: #fff; color: #111; }
.bfb-sol__points { display: flex; flex-direction: column; margin: 0; }
.bfb-sol__points > div { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.bfb-sol__points > div:first-child { padding-top: 0; border-top: 0; }
.bfb-sol__points dt { margin: 0 0 8px; color: #fff; font-size: 19px; font-weight: 700; }
.bfb-sol__points dd { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.6; word-break: keep-all; }
.bfb-sol .sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 1280px) {
    .bfb-sol__panel { flex-basis: 72px; }
    .bfb-sol__content { min-width: 560px; padding: 44px 40px 40px; }
    .bfb-sol__title { font-size: 30px; }
}

/* 태블릿 · 휴대폰: 위아래로 쌓고 누른 패널만 펼친다 */
@media (max-width: 1024px) {
    .bfb-sol { flex-direction: column; height: auto; gap: 10px; }
    .bfb-sol__panel { flex: none; }
    .bfb-sol__tab { position: static; justify-content: flex-start; width: 100%; padding: 22px 24px; }
    .bfb-sol__vlabel { writing-mode: horizontal-tb; font-size: 18px; }
    .bfb-sol__content { display: none; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 24px 26px; }
    .bfb-sol__panel.is-on .bfb-sol__content { display: grid; }
    .bfb-sol__title { font-size: 26px; }
    .bfb-sol__more { width: 44px; height: 44px; margin-top: 18px; }
    .bfb-sol__points > div { padding: 16px 0; }
    .bfb-sol__points dt { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .bfb-sol__panel, .bfb-sol__content { transition: none; }
}

/* block:bf-business/stats 0.1.0 */
/* 숫자로 보는 회사 */
.bfb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.bfb-stats--n1 { grid-template-columns: minmax(0, 1fr); }
.bfb-stats--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bfb-stats--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bfb-stats--n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bfb-stats--n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bfb-stats__item { display: flex; flex-direction: column; align-items: center; padding: 8px 20px; text-align: center; }
.bfb-stats.has-divider .bfb-stats__item + .bfb-stats__item { border-left: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.bfb-stats__label { order: 2; margin: 14px 0 0; color: inherit; font-size: 17px; font-weight: 600; opacity: .85; }
.bfb-stats__value { order: 1; display: flex; align-items: baseline; gap: 2px; margin: 0; color: inherit; font-size: 56px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bfb-sec--light .bfb-stats__value, .bfb-sec--soft .bfb-stats__value { color: var(--bfb-primary); }
.bfb-stats__fix { font-size: .55em; font-weight: 700; }
.bfb-stats__text { order: 3; margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; opacity: .65; word-break: keep-all; }

@media (max-width: 1024px) {
    .bfb-stats, .bfb-stats--n5, .bfb-stats--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
    .bfb-stats--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bfb-stats--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bfb-stats.has-divider .bfb-stats__item + .bfb-stats__item { border-left: 0; }
    .bfb-stats__value { font-size: 44px; }
}

@media (max-width: 768px) {
    .bfb-stats, .bfb-stats--n3, .bfb-stats--n4, .bfb-stats--n5, .bfb-stats--n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .bfb-stats__item { padding: 4px 8px; }
    .bfb-stats__value { font-size: 34px; }
    .bfb-stats__label { margin-top: 8px; font-size: 14.5px; }
    .bfb-stats__text { font-size: 13px; }
}

