/* Simplitize Medarbejdere – front-end
   Alt er afgrænset under .stz, så det ikke påvirker resten af Divi-temaet. */

.stz {
	--stz-ink: #0A1F1D;
	--stz-muted: #3D5350;
	--stz-dark: #0E3B37;
	--stz-lime: #B1EA68;
	--stz-lime-soft: #EAF6DA;
	--stz-bg: #F4F8F6;
	--stz-line: #E3ECE8;
	--stz-line-soft: #EEF3F1;
	--stz-radius: 22px;
	font-family: Jost, Helvetica, Arial, sans-serif;
	color: var(--stz-ink);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
/* Divi-nulstilling */
.stz *, .stz *::before, .stz *::after { box-sizing: border-box; }
.stz p, .stz h1, .stz h2, .stz h3, .stz h4 { margin: 0; padding: 0; font-family: inherit; letter-spacing: normal; }
.stz button { font-family: inherit; }
.stz img { max-width: none; }
.stz [hidden] { display: none !important; }

.stz.stz--full { width: calc(100vw - var(--stz-sb, 0px)) !important; max-width: none !important; margin-left: calc(50% - (100vw - var(--stz-sb, 0px)) / 2) !important; margin-right: 0 !important; }
.stz-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Typografi */
.stz-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--stz-ink); }
.stz-eyebrow--lime { color: var(--stz-lime); }
.stz-eyebrow--dark { color: var(--stz-dark); font-weight: 600; }
.stz-eyebrow--sm { font-size: 12px; letter-spacing: .12em; margin-bottom: 8px; }
.stz-h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.04; font-weight: 500; letter-spacing: -.015em; color: #fff; margin-top: 18px; }
.stz-h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; color: var(--stz-ink); margin-top: 10px; }
.stz-h3 { font-size: 22px; font-weight: 500; color: var(--stz-ink); }
.stz-lead { margin-top: 20px; font-size: 18px; line-height: 1.6; font-weight: 300; color: rgba(255,255,255,.86); max-width: 600px; }
.stz-label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--stz-muted); }

/* Hero */
.stz-hero { background: var(--stz-dark) center / cover no-repeat; color: #fff; padding: 88px 0 96px; }
/* Divi med gennemsigtig, fast menu: giv plads til menuen øverst */
body.et_transparent_nav .stz-hero { padding-top: 170px; }
@media (max-width: 980px) { body.et_transparent_nav .stz-hero { padding-top: 72px; } }

/* Holdområde */
.stz-team {
	background: var(--stz-bg);
	background-image: radial-gradient(800px 500px at 100% 0%, rgba(177,234,104,.14), transparent 65%), radial-gradient(700px 600px at 0% 90%, rgba(0,109,109,.07), transparent 65%);
}
.stz-filters { padding-top: 56px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 22px; }
.stz-filters-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

.stz-search { display: flex; flex-direction: column; gap: 6px; flex: 0 1 340px; min-width: 240px; margin: 0; }
.stz-search-field { position: relative; display: block; }
.stz-search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--stz-ink); }
.stz .stz-search input {
	width: 100%; height: 50px; margin: 0; padding: 0 16px 0 44px; font-family: inherit; font-size: 16px; color: var(--stz-ink);
	background: #fff; border: 1.5px solid #D3E0DA; border-radius: 999px; box-shadow: none; outline: none; -webkit-appearance: none; appearance: none;
}
.stz .stz-search input::placeholder { color: #6B7F7B; }
.stz .stz-search input:focus { border-color: var(--stz-dark); box-shadow: 0 0 0 3px rgba(177,234,104,.45); }

.stz-office-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stz-segment { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid #D3E0DA; border-radius: 999px; }
.stz .stz-seg {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
	background: transparent; color: var(--stz-ink); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s;
}
.stz .stz-seg.is-active { background: var(--stz-dark); color: #fff; }

.stz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.stz .stz-chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	background: #fff; color: var(--stz-ink); border: 1.5px solid #D3E0DA; font-size: 15px; font-weight: 500; transition: background .15s, color .15s, border-color .15s;
}
.stz .stz-chip:hover { border-color: var(--stz-dark); }
.stz .stz-chip.is-active { background: var(--stz-dark); border-color: var(--stz-dark); color: #fff; }
.stz .stz-chip:focus-visible, .stz .stz-seg:focus-visible, .stz .stz-go:focus-visible, .stz .stz-btn:focus-visible { outline: 3px solid var(--stz-dark); outline-offset: 2px; }

/* Resultater */
.stz-results { padding-top: 40px; padding-bottom: 110px; }
.stz-results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.stz-count { font-size: 15px; font-weight: 300; color: var(--stz-muted); }

.stz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

/* Kort */
.stz-card {
	position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--stz-line); border-radius: var(--stz-radius); overflow: hidden; cursor: pointer;
	box-shadow: 0 1px 2px rgba(14,59,55,.04);
	transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
	will-change: transform;
}
.stz-card.is-tilting { z-index: 2; border-color: var(--stz-lime); box-shadow: 0 24px 50px rgba(14,59,55,.16); transition: transform .08s linear, box-shadow .3s ease, border-color .3s ease; }
.stz-card:focus-within { box-shadow: 0 0 0 3px var(--stz-lime); }
.stz-photo { position: relative; aspect-ratio: 4 / 3; background: var(--stz-dark); overflow: hidden; }
.stz-photo img { position: absolute; inset: -1.5%; width: 103%; height: 103%; object-fit: cover; object-position: 50% 35%; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.stz-card.is-tilting .stz-photo img { transition: transform .1s linear; }
.stz-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 500; color: var(--stz-lime); }
.stz-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.stz-card.is-tilting .stz-glare { opacity: 1; }
.stz-badge { position: absolute; top: 14px; left: 14px; background: var(--stz-lime); color: var(--stz-ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }

.stz-card-body { flex-grow: 1; display: flex; flex-direction: column; gap: 16px; padding: 16px 18px; }
.stz-name { font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; color: var(--stz-ink); }
.stz-title { margin-top: 6px !important; font-size: 15px; line-height: 1.45; font-weight: 300; color: var(--stz-muted); }
.stz-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--stz-line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stz-office { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--stz-muted); }
.stz-office svg { color: var(--stz-ink); }
.stz .stz-go { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; background: var(--stz-lime-soft); color: var(--stz-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s; }
.stz .stz-go svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.stz-card:hover .stz-go { background: var(--stz-lime); }
.stz-card:hover .stz-go svg { transform: translateX(3px); }

/* Bento-felter */
.stz-tile { min-height: 360px; height: 100%; border-radius: var(--stz-radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; text-decoration: none; }
.stz-stat { background: var(--stz-dark); background-image: radial-gradient(400px 300px at 100% 0%, rgba(177,234,104,.18), transparent 60%); }
.stz-stat-num { font-size: clamp(64px, 7vw, 96px); line-height: .9; font-weight: 500; letter-spacing: -.04em; color: var(--stz-lime); }
.stz-stat-label { margin-top: 12px !important; font-size: 20px; line-height: 1.3; color: #fff; }
.stz-stat-text { font-size: 15px; line-height: 1.5; font-weight: 300; color: rgba(255,255,255,.72); }
.stz a.stz-job { background: var(--stz-lime); color: var(--stz-ink); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.stz a.stz-job:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(14,59,55,.18); color: var(--stz-ink); }
.stz a.stz-job:focus-visible { outline: 3px solid var(--stz-dark); outline-offset: 3px; }
.stz-job-title { font-size: clamp(28px, 3vw, 36px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; color: var(--stz-ink); }
.stz-job-text { margin-top: 12px !important; font-size: 16px; line-height: 1.5; color: #1F3532; }
.stz-job-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 500; }
.stz-job-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--stz-ink); color: var(--stz-lime); display: flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.stz a.stz-job:hover .stz-job-arrow { transform: rotate(-45deg); }

/* Tom tilstand */
.stz-empty { border: 1.5px dashed #C9D8D2; border-radius: var(--stz-radius); padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stz-empty h4 { font-size: 22px; font-weight: 500; }
.stz-empty p { color: var(--stz-muted); font-weight: 300; }
.stz .stz-btn { font-size: 15px; font-weight: 500; background: var(--stz-lime); color: var(--stz-ink); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; }

/* ---------- Profil ---------- */
.stz-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(6,28,26,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: stz-fade .25s ease both; }
.stz-dialog { position: relative; width: 100%; max-width: 1040px; max-height: calc(100vh - 48px); background: #fff; border-radius: var(--stz-radius); box-shadow: 0 40px 100px rgba(6,28,26,.35); display: flex; flex-direction: column; overflow: hidden; outline: none; animation: stz-in .35s cubic-bezier(.2,.7,.2,1) both; color: var(--stz-ink); }
.stz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--stz-line-soft); flex-shrink: 0; }
.stz-top-left { display: flex; align-items: center; gap: 6px; }
.stz-pos { margin-left: 6px; font-size: 14px; color: var(--stz-muted); }
.stz .stz-round { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; background: #F3F7F4; color: var(--stz-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; text-decoration: none; }
.stz .stz-round:hover { background: var(--stz-lime); color: var(--stz-dark); }
.stz .stz-round:focus-visible, .stz .stz-primary:focus-visible, .stz .stz-item:focus-visible { outline: 3px solid var(--stz-dark); outline-offset: 2px; }
.stz-body { display: flex; flex-wrap: wrap; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.stz-mphoto { position: relative; flex: 1 1 300px; max-width: 400px; aspect-ratio: 4 / 3; background: var(--stz-dark); overflow: hidden; align-self: flex-start; margin: 24px 0 24px 24px; border-radius: 16px; }
.stz-mphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.stz-content { flex: 999 1 380px; min-width: 0; padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 28px; }
.stz-mname { font-size: clamp(30px, 4vw, 40px); line-height: 1.08; font-weight: 500; letter-spacing: -.01em; margin-top: 6px !important; }
.stz-mtitle { margin-top: 6px !important; font-size: 18px; line-height: 1.45; font-weight: 300; color: var(--stz-muted); }
.stz-h5 { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--stz-muted); margin: 0 0 12px !important; }
.stz-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--stz-line); border: 1px solid var(--stz-line); border-radius: 16px; overflow: hidden; }
.stz-stats > div { background: #F7FAF8; padding: 14px 16px; }
.stz-stats dt { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--stz-muted); }
.stz-stats dd { margin: 4px 0 0; font-size: 24px; font-weight: 500; color: var(--stz-dark); }
.stz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stz-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--stz-dark); background: var(--stz-lime-soft); padding: 8px 14px; border-radius: 999px; }
.stz-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--stz-ink); }
.stz-bio { font-size: 17px; line-height: 1.65; font-weight: 300; color: #1F3532; max-width: 60ch; }
.stz-items { display: flex; flex-direction: column; gap: 8px; }
.stz a.stz-item, .stz div.stz-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--stz-line); border-radius: 14px; text-decoration: none; color: var(--stz-ink); transition: border-color .15s, background .15s; }
.stz div.stz-item { background: #F3F7F4; border-color: transparent; justify-content: flex-start; }
.stz a.stz-item:hover { border-color: var(--stz-dark); background: #F7FAF8; color: var(--stz-ink); }
.stz-item-t { display: block; font-size: 16px; font-weight: 500; }
.stz-item-s { display: block; font-size: 14px; font-weight: 300; color: var(--stz-muted); }
.stz-item .stz-arrow { flex-shrink: 0; transition: transform .2s; }
.stz a.stz-item:hover .stz-arrow { transform: translateX(4px); }
.stz-check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--stz-lime); color: var(--stz-dark); display: flex; align-items: center; justify-content: center; }
.stz-actions { flex-shrink: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--stz-line-soft); background: #fff; }
.stz-actions-icons { display: flex; gap: 8px; }
.stz a.stz-primary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--stz-dark); color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; transition: transform .2s, box-shadow .2s; }
.stz a.stz-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14,59,55,.2); }
.stz a.stz-primary svg { color: var(--stz-lime); }
.stz-actions .stz-round { width: 48px; height: 48px; }

@keyframes stz-fade { from { opacity: 0; } }
@keyframes stz-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

@media (max-width: 720px) {
	.stz-modal { padding: 0; align-items: flex-end; }
	.stz-dialog { max-height: 94vh; border-radius: 20px 20px 0 0; }
	.stz-mphoto { max-width: none; margin: 16px 16px 0; }
	.stz-content { padding: 20px 18px 24px; gap: 22px; }
	.stz-stats dd { font-size: 18px; }
	.stz a.stz-primary { flex: 1 1 auto; justify-content: center; }
}
@media (hover: none) {
	.stz-card { transform: none !important; }
	.stz-glare { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.stz-card, .stz-photo img { transform: none !important; transition: none; }
	.stz-glare { display: none; }
	.stz-modal, .stz-dialog { animation: none; }
}
body.stz-locked { overflow: hidden; }

/* Siden, plugin'et selv viser: skjul Divis tomme sidetitel og afstande, så toppen starter helt oppe */
body.stz-page--only .main_title,
body.stz-page--only .et_post_meta_wrapper { display: none !important; }
body.stz-page--only #main-content .container { padding-top: 0 !important; max-width: none; width: 100%; }
body.stz-page--only #main-content .container::before { display: none !important; }
body.stz-page--only #left-area { padding-bottom: 0 !important; }
body.stz-page--only article.page, body.stz-page--only .entry-content { margin: 0 !important; padding: 0 !important; }

/* Synlighed (kun for jer, der er logget ind) */
.stz-notpublic{position:relative;z-index:5;margin:0;padding:12px 20px;background:#FFF4D6;border-bottom:1px solid #F0D68A;color:#5C4600;font:400 14.5px/1.5 Jost,Helvetica,Arial,sans-serif;text-align:center}
.stz-card--hidden .stz-photo img,.stz-card--hidden .stz-initials{filter:grayscale(1);opacity:.55}
.stz-private{position:absolute;left:14px;bottom:14px;z-index:3;padding:5px 10px;border-radius:999px;background:#0A1F1D;color:#fff;font:500 12px/1 Jost,Helvetica,Arial,sans-serif;letter-spacing:.02em}
.stz-private::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#F0B429;margin:0 6px 1px 0;vertical-align:middle}

/* Arbejdsområder: samme mærker som ekspertise, men med kant i stedet for lime baggrund */
.stz-tag--work { background: #fff; box-shadow: inset 0 0 0 1px var(--stz-line, #E3ECE8); }
.stz-tag--work::before { background: var(--stz-lime); }
