/* ==========================================================================
   Școala Bogdănești — widgeturile Elementor
   Folosesc variabilele temei (--sb-*), cu valori de rezervă.
   ========================================================================== */

.sbc-wrap { max-width: var(--sb-wrap, 1320px); margin-left: auto; margin-right: auto; padding-left: var(--sb-gutter, 32px); padding-right: var(--sb-gutter, 32px); box-sizing: border-box; }
.sbc-space-none { padding-top: 0; padding-bottom: 0; }
.sbc-space-s { padding-top: 20px; padding-bottom: 20px; }
.sbc-space-m { padding-top: 48px; padding-bottom: 32px; }
.sbc-space-l { padding-top: 80px; padding-bottom: 64px; }

.sbc-h2 { font-family: var(--sb-font-display, system-ui); font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; color: var(--sb-ink, #12141A); }
.sbc-h3 { font-family: var(--sb-font-display, system-ui); font-size: 26px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 12px; }
.sbc-lead { margin: 10px 0 0; color: var(--sb-muted, #555A66); max-width: 560px; font-size: 17px; }
.sbc-muted { color: var(--sb-muted, #555A66); }
.sbc-muted-sm { font-size: 13px; font-weight: 700; color: var(--sb-muted, #555A66); }
.sbc-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sbc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 24px; }
.sbc-link { font-weight: 700; color: var(--sb-primary, #C21F18); text-decoration: none; }
.sbc-link:hover { text-decoration: underline; }
.sbc-icon { flex-shrink: 0; }
.sbc-lift { transition: transform .25s ease, box-shadow .25s ease; }
.sbc-lift:hover { transform: translateY(-4px); box-shadow: var(--sb-shadow, 0 18px 40px -18px rgba(18,20,26,.35)); }

/* Butoane */
.sbc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease; white-space: nowrap; }
.sbc-btn:hover { transform: translateY(-1px); }
.sbc-btn--accent { background: var(--sb-accent, #FFC83D); color: var(--sb-ink, #12141A); }
.sbc-btn--accent:hover { color: var(--sb-ink, #12141A); filter: brightness(.96); }
.sbc-btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); font-weight: 700; }
.sbc-btn--glass:hover { background: rgba(255,255,255,.22); color: #fff; }
.sbc-btn--light { background: #fff; color: var(--sb-ink, #12141A); }
.sbc-btn--light:hover { color: var(--sb-ink, #12141A); }
.sbc-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); font-weight: 700; }
.sbc-btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.sbc-btn--outline { background: transparent; color: var(--sb-ink, #12141A); border: 2px solid var(--sb-ink, #12141A); min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.sbc-btn--outline:hover { background: var(--sb-ink, #12141A); color: #fff; }

.sbc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.sbc-pill--glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.sbc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sb-accent, #FFC83D); }

/* Segment (file / filtre) */
.sbc-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--sb-surface, #fff); border: 1px solid #E2DDD3; border-radius: 999px; padding: 5px; }
.sbc-seg__btn { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--sb-ink, #12141A); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.sbc-seg__btn:hover { background: var(--sb-soft, #ECE8E0); }
.sbc-seg__btn[aria-selected="true"], .sbc-seg__btn[aria-pressed="true"] { background: var(--sb-ink, #12141A); color: #fff; }

/* ========================== HERO ========================== */
.sbc-hero { padding: 0 16px; }
.sbc-hero__box { position: relative; max-width: 1408px; margin: 0 auto; border-radius: var(--sb-r-lg, 32px); overflow: hidden; background: var(--sb-ink, #12141A); }
.sbc-hero__stage { position: relative; height: 700px; }
.sbc-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.sbc-hero__slide.is-active { opacity: 1; visibility: visible; }
.sbc-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.sbc-hero__slide.is-active .sbc-hero__img { animation: sbc-kb 9s ease-out forwards; }
@keyframes sbc-kb { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.sbc-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,13,18,.88) 0%, rgba(12,13,18,.55) 45%, rgba(12,13,18,.05) 78%), linear-gradient(0deg, rgba(12,13,18,.75) 0%, rgba(12,13,18,0) 38%); }
.sbc-hero__content { position: absolute; left: 0; top: 0; bottom: 120px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 56px; max-width: 780px; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .8s ease .25s, transform .8s ease .25s; }
.sbc-hero__slide.is-active .sbc-hero__content { opacity: 1; transform: none; }
.sbc-hero__title { font-family: var(--sb-font-display, system-ui); font-size: clamp(40px, 5.6vw, 76px); line-height: .98; font-weight: 800; letter-spacing: -0.035em; margin: 22px 0 20px; color: #fff; }
.sbc-hero__text { font-size: 19px; line-height: 1.5; margin: 0 0 30px; max-width: 560px; color: var(--sb-on-dark, #E6E7EB); }
.sbc-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sbc-hero__controls { position: absolute; left: 56px; right: 56px; bottom: 28px; display: flex; align-items: flex-end; gap: 18px; z-index: 2; }
.sbc-hero.has-today .sbc-hero__controls { right: 420px; }
.sbc-hero__play { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sbc-hero__icon-play { display: none; }
.sbc-hero.is-paused .sbc-hero__icon-play { display: inline-flex; }
.sbc-hero.is-paused .sbc-hero__icon-pause { display: none; }
.sbc-hero__bars { flex: 1; display: flex; gap: 14px; min-width: 0; }
.sbc-hero__bar { flex: 1; min-width: 0; background: none; border: 0; padding: 12px 0 0; text-align: left; color: #fff; cursor: pointer; font: inherit; }
.sbc-hero__track { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.sbc-hero__fill { display: block; height: 100%; width: 0; background: var(--sb-accent, #FFC83D); }
.sbc-hero__bar.is-done .sbc-hero__fill { width: 100%; }
.sbc-hero__bar.is-active .sbc-hero__fill { animation: sbc-fill var(--sbc-dur, 7s) linear forwards; }
.sbc-hero.is-paused .sbc-hero__bar.is-active .sbc-hero__fill { animation: none; width: 100%; }
@keyframes sbc-fill { from { width: 0; } to { width: 100%; } }
.sbc-hero__lb { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbc-hero__bar.is-active .sbc-hero__lb { opacity: 1; }
.sbc-hero__counter { flex-shrink: 0; color: #fff; font-family: var(--sb-font-display, system-ui); font-size: 15px; font-weight: 700; padding-bottom: 2px; }

/* Azi la școală */
.sbc-today { position: absolute; right: 28px; top: 28px; width: 350px; box-sizing: border-box; background: rgba(255,255,255,.95); color: var(--sb-ink, #12141A); border-radius: var(--sb-r, 24px); padding: 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); z-index: 3; }
.sbc-today__top { display: flex; justify-content: space-between; align-items: center; }
.sbc-today .sbc-eyebrow { color: var(--sb-muted, #555A66); }
.sbc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #1E7A46; }
.sbc-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #22A35A; animation: sbc-pulse 1.8s ease-in-out infinite; }
@keyframes sbc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.sbc-today__clock { font-family: var(--sb-font-display, system-ui); font-size: 56px; font-weight: 800; line-height: 1; margin-top: 10px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sbc-today__date { font-weight: 600; color: var(--sb-muted, #555A66); margin-top: 4px; }
.sbc-today__status { margin-top: 16px; background: var(--sb-bg, #F3F1EC); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.sbc-today__status.is-class { background: var(--sb-green-bg, #E9F4EC); }
.sbc-today__status.is-break, .sbc-today__status.is-vacation { background: var(--sb-yellow-bg, #FFF4D6); }
.sbc-today__status span { font-size: 14px; color: #3D414B; }
.sbc-today__next { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 700; }
.sbc-today__next strong { font-family: var(--sb-font-display, system-ui); font-size: 26px; font-weight: 800; color: var(--sb-primary, #C21F18); white-space: nowrap; }
.sbc-today__year { margin-top: 14px; }
.sbc-today__yearrow { display: flex; justify-content: space-between; font-size: 13px; color: var(--sb-muted, #555A66); font-weight: 600; }
.sbc-progress { height: 8px; border-radius: 4px; background: var(--sb-soft, #ECE8E0); margin-top: 6px; overflow: hidden; }
.sbc-progress span { display: block; height: 100%; width: 0; background: var(--sb-ink, #12141A); border-radius: 4px; transition: width 1s ease; }
.sbc-today .sbc-link { display: inline-block; margin-top: 16px; font-size: 14.5px; }

@media (max-width: 1024px) {
	.sbc-today { position: relative; right: auto; top: auto; width: auto; margin: 16px; background: #fff; }
	.sbc-hero.has-today .sbc-hero__controls { right: 32px; }
	.sbc-hero__content { padding: 0 32px; }
	.sbc-hero__controls { left: 32px; right: 32px; }
}
@media (max-width: 640px) {
	.sbc-hero { padding: 0 10px; }
	.sbc-hero__box { border-radius: 24px; }
	.sbc-hero__content { padding: 0 22px; bottom: 96px; }
	.sbc-hero__text { font-size: 17px; }
	.sbc-hero__controls { left: 22px; right: 22px; bottom: 20px; gap: 12px; }
	.sbc-hero__lb, .sbc-hero__counter { display: none; }
	.sbc-today { margin: 10px; }
	.sbc-hero__shade { background: linear-gradient(0deg, rgba(12,13,18,.92) 0%, rgba(12,13,18,.62) 55%, rgba(12,13,18,.35) 100%); }
	.sbc-hero__title { font-size: 38px; }
	.sbc-hero__text { margin-bottom: 22px; }
	.sbc-btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
	.sbc-seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
	.sbc-seg__btn { flex-shrink: 0; padding: 0 16px; }
}

/* ========================== PORTAL ========================== */
.sbc-portal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sbc-portal__grid[hidden] { display: none; }
.sbc-portal__card { background: var(--sb-surface, #fff); border: 1px solid var(--sb-line, #E8E3DA); border-radius: 22px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: var(--sb-ink, #12141A); animation: sbc-in .35s ease both; }
.sbc-portal__card:hover { color: var(--sb-ink, #12141A); }
@keyframes sbc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sbc-portal__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; background: var(--sbc-tint, #F3F1EC); display: inline-flex; align-items: center; justify-content: center; color: var(--sb-ink, #12141A); }
.sbc-portal__txt { min-width: 0; }
.sbc-portal__title { display: block; font-weight: 800; font-size: 17px; }
.sbc-portal__desc { display: block; font-size: 14.5px; color: var(--sb-muted, #555A66); margin-top: 2px; }

/* ========================== CARDURI (bento) ========================== */
.sbc-card { box-sizing: border-box; height: 100%; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; }
.sbc-v-white { background: var(--sb-surface, #fff); color: var(--sb-ink, #12141A); border: 1px solid var(--sb-line, #E8E3DA); }
.sbc-v-dark { background: var(--sb-ink, #12141A); color: #fff; }
.sbc-v-red { background: var(--sb-primary, #C21F18); color: #fff; }
.sbc-v-yellow { background: var(--sb-accent, #FFC83D); color: var(--sb-ink, #12141A); }
.sbc-v-green { background: var(--sb-green-bg, #E9F4EC); color: #1F3A28; }
.sbc-v-blue { background: var(--sb-blue-bg, #E3ECF7); color: #1C3550; }
.sbc-v-dark .sbc-h3, .sbc-v-red .sbc-h3 { color: #fff; }
.sbc-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

/* Anunțuri */
.sbc-ann__list { list-style: none; margin: 0 0 14px; padding: 0; }
.sbc-ann__item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #EFEBE4; }
.sbc-ann__item:last-child { border-bottom: 0; }
.sbc-date { flex-shrink: 0; width: 58px; text-align: center; background: var(--sb-bg, #F3F1EC); border-radius: 14px; padding: 8px 0; }
.sbc-date.is-pin { background: var(--sb-red-bg, #FDE8E6); }
.sbc-date__d { display: block; font-family: var(--sb-font-display, system-ui); font-size: 22px; font-weight: 800; line-height: 1; }
.sbc-date.is-pin .sbc-date__d { color: var(--sb-primary, #C21F18); }
.sbc-date__m { display: block; font-size: 12px; font-weight: 700; color: var(--sb-muted, #555A66); }
.sbc-ann__title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sbc-pin { font-size: 11.5px; font-weight: 800; background: var(--sb-ink, #12141A); color: var(--sb-accent, #FFC83D); padding: 2px 8px; border-radius: 999px; }
.sbc-ann__title { font-weight: 800; font-size: 17px; color: var(--sb-ink, #12141A); text-decoration: none; }
.sbc-ann__title:hover { color: var(--sb-primary, #C21F18); }
.sbc-ann__excerpt { color: var(--sb-muted, #555A66); font-size: 15px; margin: 2px 0 0; }
.sbc-ann .sbc-link { margin-top: auto; }

/* Urmează */
.sbc-upc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sbc-upc__item { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(127,127,127,.25); }
.sbc-upc__item:last-child { border-bottom: 0; padding-bottom: 0; }
.sbc-upc__title { display: block; font-weight: 800; color: inherit; text-decoration: none; }
.sbc-upc__label { display: block; font-size: 14px; opacity: .72; }
.sbc-upc__count { font-weight: 800; white-space: nowrap; color: var(--sb-primary, #C21F18); }
.sbc-v-dark .sbc-upc__count, .sbc-v-red .sbc-upc__count { color: var(--sb-accent, #FFC83D); }
.sbc-upc__note { font-size: 12.5px; opacity: .65; margin: 16px 0 0; }

/* Documente evidențiate */
.sbc-docpop__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sbc-docpop__item { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.55); border-radius: 14px; padding: 12px 14px; font-weight: 700; color: inherit; text-decoration: none; }
.sbc-v-dark .sbc-docpop__item, .sbc-v-red .sbc-docpop__item { background: rgba(255,255,255,.1); }
.sbc-docpop__item:hover { background: rgba(255,255,255,.85); color: inherit; }
.sbc-docpop__ext { font-size: 12.5px; font-weight: 800; opacity: .75; }

/* Cifre */
.sbc-stats__grid { display: grid; grid-template-columns: repeat(var(--sbc-cols, 2), minmax(0, 1fr)); gap: 18px 16px; }
.sbc-stats__num { font-family: var(--sb-font-display, system-ui); font-size: clamp(38px, 4vw, 50px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sbc-stats__label { font-size: 14.5px; opacity: .75; font-weight: 600; margin-top: 4px; }
.sbc-stats__note { font-size: 12.5px; opacity: .7; margin: auto 0 0; padding-top: 16px; }

/* Card evidențiat */
.sbc-feature { justify-content: space-between; gap: 16px; }
.sbc-feature:hover { color: inherit; }
.sbc-feature .sbc-h3 { margin-top: 6px; }
.sbc-feature p { margin: 0; opacity: .9; }
.sbc-feature__icon { display: flex; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.6); align-items: center; justify-content: center; margin-bottom: 14px; }
.sbc-v-dark .sbc-feature__icon, .sbc-v-red .sbc-feature__icon { background: rgba(255,255,255,.12); }
.sbc-feature__more { font-weight: 800; }

/* Rândurile bento din Elementor: cardurile umplu coloana */
.elementor-section.sb-bento > .elementor-container { max-width: var(--sb-wrap, 1320px); padding-left: max(0px, calc(var(--sb-gutter, 32px) - 20px)); padding-right: max(0px, calc(var(--sb-gutter, 32px) - 20px)); box-sizing: border-box; }
@media (max-width: 767px) { .sb-bento .elementor-column-gap-wide > .elementor-column > .elementor-element-populated { padding: 8px 16px; } }
.sb-bento .elementor-widget-wrap { align-content: stretch !important; }
.sb-bento .elementor-widget-wrap > .elementor-element { height: 100%; }
.sb-bento .elementor-widget-container { height: 100%; }

/* ========================== STRUCTURI ========================== */
.sbc-units__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.sbc-unit { background: var(--sb-surface, #fff); border-radius: var(--sb-r, 24px); overflow: hidden; border: 1px solid var(--sb-line, #E8E3DA); display: flex; flex-direction: column; text-decoration: none; color: var(--sb-ink, #12141A); }
.sbc-unit:hover { color: var(--sb-ink, #12141A); }
.sbc-unit[hidden] { display: none; }
.sbc-unit__media { position: relative; aspect-ratio: 16 / 10; background: #E7E2D8; }
.sbc-unit__img { width: 100%; height: 100%; object-fit: cover; }
.sbc-unit__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--sb-muted, #555A66); font-weight: 700; font-size: 14px; }
.sbc-unit__village { position: absolute; left: 14px; top: 14px; background: #fff; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.sbc-unit__hq { position: absolute; right: 14px; top: 14px; background: var(--sb-primary, #C21F18); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.sbc-unit__body { padding: 18px 20px 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sbc-unit__name { font-family: var(--sb-font-display, system-ui); font-size: 20px; font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
.sbc-unit__levels { font-size: 14.5px; color: var(--sb-muted, #555A66); margin: 4px 0 0; }
.sbc-unit__count { text-align: right; flex-shrink: 0; }
.sbc-unit__count strong { display: block; font-family: var(--sb-font-display, system-ui); font-size: 30px; font-weight: 800; line-height: 1; color: var(--sb-primary, #C21F18); }
.sbc-unit__count span { font-size: 12px; color: var(--sb-muted, #555A66); font-weight: 700; }

/* ========================== BANDĂ DESPRE ========================== */
.sbc-band-outer { padding: 24px 16px 48px; }
.sbc-band { max-width: 1408px; margin: 0 auto; background: var(--sb-ink, #12141A); color: #fff; border-radius: var(--sb-r-lg, 32px); overflow: hidden; display: flex; flex-wrap: wrap; }
.sbc-band.is-reverse { flex-direction: row-reverse; }
.sbc-band__copy { flex: 1 1 460px; min-width: 0; padding: 56px; box-sizing: border-box; }
.sbc-band__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--sb-accent, #FFC83D); }
.sbc-band__quote { font-family: var(--sb-font-display, system-ui); font-size: clamp(34px, 4vw, 52px); font-weight: 800; margin: 16px 0 18px; line-height: 1.02; letter-spacing: -0.03em; color: #fff; }
.sbc-band__author { margin: 0 0 8px; color: var(--sb-on-dark-muted, #B9BCC6); font-weight: 600; }
.sbc-band__text { margin: 24px 0 28px; font-size: 17px; color: var(--sb-on-dark, #E6E7EB); max-width: 520px; }
.sbc-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sbc-band__media { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 260px 260px; gap: 6px; padding: 6px; box-sizing: border-box; }
.sbc-band__img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.sbc-band__img--tall { grid-row: span 2; }
@media (max-width: 640px) {
	.sbc-band__copy { padding: 32px 24px; }
	.sbc-band__media { grid-template-rows: 180px 180px; }
}

/* ========================== GALERIE ========================== */
.sbc-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.sbc-gallery__item { display: block; overflow: hidden; border-radius: var(--sb-r, 24px); background: var(--sb-soft, #ECE8E0); }
.sbc-gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
.sbc-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sbc-gallery__item:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
	.sbc-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
}

/* ========================== CONTACT ========================== */
.sbc-cta-outer { padding: 0 16px 16px; }
.sbc-cta { max-width: 1408px; margin: 0 auto; border-radius: var(--sb-r-lg, 32px); padding: 48px 56px; display: flex; flex-wrap: wrap; gap: 28px 32px; align-items: center; justify-content: space-between; box-sizing: border-box; }
.sbc-cta.sbc-v-white .sbc-btn--light { background: var(--sb-ink, #12141A); color: #fff; }
.sbc-cta__copy { flex: 1 1 380px; }
.sbc-cta .sbc-h2 { color: inherit; margin-bottom: 10px; }
.sbc-cta__copy p { margin: 0; font-size: 17px; opacity: .9; }
.sbc-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sbc-v-white .sbc-btn--outline-light, .sbc-v-yellow .sbc-btn--outline-light, .sbc-v-green .sbc-btn--outline-light, .sbc-v-blue .sbc-btn--outline-light { color: var(--sb-ink, #12141A); border-color: rgba(18,20,26,.35); }
@media (max-width: 640px) { .sbc-cta { padding: 32px 24px; } }

/* ========================== ANTET DE PAGINĂ ========================== */
.sbc-pagehero { padding: 36px 0 32px; }
.sbc-pagehero__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.sbc-pagehero__copy { flex: 1 1 560px; min-width: 0; }
.sbc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--sb-muted, #555A66); font-weight: 600; margin-bottom: 14px; }
.sbc-crumbs a { color: var(--sb-muted, #555A66); }
.sbc-pagehero__title { font-family: var(--sb-font-display, system-ui); font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0 0 12px; }
.sbc-pagehero__box { flex: 0 1 380px; background: var(--sb-surface, #fff); border: 1px solid var(--sb-line, #E8E3DA); border-radius: 20px; padding: 18px 20px; font-size: 14.5px; }
.sbc-pagehero__box p { margin: 4px 0 8px; }

/* ========================== BIBLIOTECA DE DOCUMENTE ========================== */
.sbc-lib { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.sbc-lib__cats { flex: 1 1 260px; min-width: 0; background: var(--sb-surface, #fff); border: 1px solid var(--sb-line, #E8E3DA); border-radius: var(--sb-r, 24px); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.sbc-lib__cat { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; background: transparent; color: var(--sb-ink, #12141A); }
.sbc-lib__cat:hover { background: var(--sb-bg, #F3F1EC); }
.sbc-lib__cat[aria-pressed="true"] { background: var(--sb-ink, #12141A); color: #fff; }
.sbc-lib__count { font-size: 13px; font-weight: 800; opacity: .8; }
.sbc-lib__main { flex: 999 1 600px; min-width: 0; }
.sbc-lib__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.sbc-lib__search { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; background: var(--sb-surface, #fff); border: 1px solid var(--sb-line-2, #D9D4CA); border-radius: 999px; padding: 0 18px; min-height: 50px; color: var(--sb-muted, #555A66); }
.sbc-lib__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 46px; font: inherit; color: var(--sb-ink, #12141A); }
.sbc-lib__year { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; }
.sbc-lib__year select { min-height: 50px; border: 1px solid var(--sb-line-2, #D9D4CA); border-radius: 999px; padding: 0 16px; font: inherit; background: var(--sb-surface, #fff); }
.sbc-lib__status { font-size: 14px; color: var(--sb-muted, #555A66); margin: 0 0 10px; font-weight: 600; }
.sbc-lib__list { list-style: none; margin: 0; padding: 0; background: var(--sb-surface, #fff); border: 1px solid var(--sb-line, #E8E3DA); border-radius: var(--sb-r, 24px); overflow: hidden; }
.sbc-lib__item { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid #EFEBE4; }
.sbc-lib__item:last-child { border-bottom: 0; }
.sbc-lib__item[hidden] { display: none; }
.sbc-lib__item:hover { background: #FAF8F4; }
.sbc-doc-type { flex-shrink: 0; width: 46px; height: 54px; border-radius: 8px; background: var(--sb-primary, #C21F18); color: #fff; display: inline-flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; box-sizing: border-box; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.sbc-doc-type--doc, .sbc-doc-type--docx, .sbc-doc-type--odt { background: #1E6B3E; }
.sbc-doc-type--xls, .sbc-doc-type--xlsx, .sbc-doc-type--ods { background: #1F5FA8; }
.sbc-doc-type--none { background: #8F93A0; }
.sbc-lib__info { flex: 1 1 300px; min-width: 0; }
.sbc-lib__title { font-weight: 800; font-size: 16.5px; line-height: 1.35; color: var(--sb-ink, #12141A); text-decoration: none; }
.sbc-lib__title:hover { color: var(--sb-primary, #C21F18); text-decoration: underline; }
.sbc-lib__meta { font-size: 13.5px; color: var(--sb-muted, #555A66); margin-top: 3px; }
.sbc-lib__tag { font-size: 12.5px; font-weight: 700; color: var(--sb-primary-dark, #8E140F); background: var(--sb-red-bg, #FDE8E6); padding: 3px 10px; border-radius: 999px; }
.sbc-lib__empty { background: var(--sb-surface, #fff); border: 1px dashed var(--sb-line-2, #D9D4CA); border-radius: var(--sb-r, 24px); padding: 36px 24px; text-align: center; display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.sbc-lib__empty[hidden] { display: none; }

/* ========================== PERSONAL ========================== */
.sbc-team__search { flex: 0 1 340px; }
.sbc-team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.sbc-person { display: flex; gap: 14px; align-items: center; background: var(--sb-surface, #fff); border: 1px solid var(--sb-line, #E8E3DA); border-radius: 20px; padding: 14px 16px; }
.sbc-person[hidden] { display: none; }
.sbc-person__avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--sb-bg, #F3F1EC); display: inline-flex; align-items: center; justify-content: center; font-family: var(--sb-font-display, system-ui); font-weight: 800; color: var(--sb-primary, #C21F18); }
.sbc-person__txt { display: flex; flex-direction: column; min-width: 0; }
.sbc-person__name { font-weight: 800; }
.sbc-person__role { font-size: 14px; color: var(--sb-ink, #12141A); }
.sbc-person__where { font-size: 13px; color: var(--sb-muted, #555A66); }

@media (max-width: 720px) {
	.sbc-wrap { padding-left: 16px; padding-right: 16px; }
	.sbc-card { padding: 22px; border-radius: 24px; }
	.sbc-space-m { padding-top: 36px; padding-bottom: 24px; }
	.sbc-lib__item { padding: 16px; }
}

/* Mișcare redusă */
@media (prefers-reduced-motion: reduce) {
	.sbc-hero__slide.is-active .sbc-hero__img, .sbc-hero__bar.is-active .sbc-hero__fill, .sbc-live__dot, .sbc-portal__card { animation: none; }
	.sbc-hero__slide, .sbc-hero__content { transition: none; }
}
html.sb-no-motion .sbc-hero__slide.is-active .sbc-hero__img { animation: none; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
