.sg-departments-section{--sg-dept-primary:var(--sg-primary,#174a7e);--sg-dept-ink:#102f4f;--sg-dept-muted:#60758a;--sg-dept-line:#dce6ef;margin:24px 0 8px}
.sg-departments-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:22px;padding:28px 30px;overflow:hidden;border:1px solid var(--sg-dept-line);border-radius:20px;background:linear-gradient(125deg,#f3f8fd 0%,#fff 70%)}
.sg-departments-header:after{content:"";position:absolute;right:-70px;bottom:-105px;width:230px;height:230px;border:42px solid color-mix(in srgb,var(--sg-dept-primary) 8%,transparent);border-radius:50%;pointer-events:none}
.sg-departments-eyebrow{display:block;margin-bottom:6px;color:var(--sg-dept-primary);font-size:.72rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.sg-departments-header h2{margin:0;color:var(--sg-dept-ink);font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.15}
.sg-departments-header p{max-width:680px;margin:10px 0 0;color:var(--sg-dept-muted);font-size:.95rem;line-height:1.65}
.sg-departments-count{position:relative;z-index:1;display:grid;flex:0 0 auto;place-items:center;min-width:94px;padding:14px;border:1px solid color-mix(in srgb,var(--sg-dept-primary) 18%,#fff);border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(15,47,79,.08);color:var(--sg-dept-primary)}
.sg-departments-count strong{font-size:1.65rem;line-height:1}.sg-departments-count small{margin-top:5px;font-size:.68rem;font-weight:800;text-transform:uppercase}
.sg-departments{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:0}
.sg-department-card{position:relative;padding:0;overflow:hidden;border:1px solid var(--sg-dept-line);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(15,47,79,.055);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.sg-department-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--sg-dept-primary) 35%,#fff);box-shadow:0 16px 38px rgba(15,47,79,.1)}
.sg-department-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--sg-dept-primary),color-mix(in srgb,var(--sg-dept-primary) 45%,#7cc6ad))}
.sg-department-card__header{display:flex;align-items:flex-start;gap:13px;padding:20px 22px 17px;border-bottom:1px solid #edf2f6;background:linear-gradient(135deg,#fbfdff,#f5f9fc)}
.sg-department-card__number{display:grid;flex:0 0 36px;place-items:center;width:36px;height:36px;border-radius:10px;background:color-mix(in srgb,var(--sg-dept-primary) 10%,#fff);color:var(--sg-dept-primary);font-size:.72rem;font-weight:900;letter-spacing:.04em}
.sg-department-card h3{margin:5px 0 0;color:var(--sg-dept-ink);font-size:1.03rem;line-height:1.38}
.sg-department-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:8px 22px 12px}
.sg-department-meta__item{min-width:0;margin:0;padding:11px 8px 10px 0;border-bottom:1px solid #edf2f6}
.sg-department-meta__item:nth-last-child(-n+2){border-bottom:0}.sg-department-meta__item--wide{grid-column:1/-1}
.sg-department-meta dt{margin:0 0 3px;color:#74879a;font-size:.67rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.sg-department-meta dd{margin:0;color:#294864;font-size:.86rem;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.sg-department-meta a{color:var(--sg-dept-primary);text-decoration:none}.sg-department-meta a:hover{text-decoration:underline;text-underline-offset:3px}
.sg-dept-details{margin:0 22px 20px;border:1px solid #dce7f0;border-radius:12px;background:#f8fbfd}
.sg-dept-details summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;cursor:pointer;color:var(--sg-dept-primary);font-size:.82rem;font-weight:850;list-style:none}
.sg-dept-details summary::-webkit-details-marker{display:none}
.sg-dept-details summary:hover{background:#f1f7fb}.sg-dept-details summary:focus-visible{outline:3px solid color-mix(in srgb,var(--sg-dept-primary) 28%,transparent);outline-offset:2px}
.sg-dept-details__icon{position:relative;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--sg-dept-primary) 10%,#fff)}
.sg-dept-details__icon:before,.sg-dept-details__icon:after{content:"";position:absolute;top:11px;left:7px;width:10px;height:2px;border-radius:2px;background:var(--sg-dept-primary)}
.sg-dept-details__icon:after{transform:rotate(90deg);transition:transform .2s ease}.sg-dept-details[open] .sg-dept-details__icon:after{transform:rotate(0)}
.sg-dept-details[open] summary{border-bottom:1px solid #dce7f0;background:#f1f7fb}
.sg-dept-description{margin:0;padding:18px 20px;color:#526b80;font-size:.86rem;line-height:1.7;max-height:70vh;overflow:auto;overscroll-behavior:contain;background:#fff;border-radius:0 0 12px 12px}
.sg-dept-description>:first-child{margin-top:0}.sg-dept-description>:last-child{margin-bottom:0}
.sg-departments-section .sg-empty-card{grid-column:1/-1;margin:0;padding:22px;border:1px dashed #bdccda;border-radius:14px;background:#fafcfe;color:var(--sg-dept-muted);text-align:center}
@media(max-width:920px){.sg-department-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-departments-header{padding:24px}.sg-departments-count{min-width:82px}}
@media(max-width:540px){.sg-departments-header{align-items:flex-start;padding:22px 20px}.sg-departments-count{display:none}.sg-department-card__header{padding:18px}.sg-department-meta{grid-template-columns:1fr;padding:7px 18px 12px}.sg-department-meta__item{grid-column:1}.sg-department-meta__item:nth-last-child(2){border-bottom:1px solid #edf2f6}.sg-dept-details{margin-right:18px;margin-left:18px}.sg-dept-description{padding:16px}}
@media(prefers-reduced-motion:reduce){.sg-department-card{transition:none}.sg-department-card:hover{transform:none}}
