/* Newsroom Team Directory v1.0.1 */
.ntd-team {
	--ntd-muted: #6b6b6b;
	--ntd-rule: #e6e6e6;
	--ntd-ring: #ececec;
	--ntd-gap: 28px;
	color: var(--ntd-text);
	margin: 0 0 40px;
}
.ntd-team[data-ntd-theme="dark"], .ntd-modal[data-ntd-theme="dark"] {
	--ntd-text: #f2f2f2;
	--ntd-muted: #a9a9a9;
	--ntd-rule: #343434;
	--ntd-ring: #2b2b2b;
}
.ntd-team *, .ntd-modal * { box-sizing: border-box; }
.ntd-team [hidden], .ntd-modal[hidden] { display: none !important; }

.ntd-team__title { margin: 0 0 18px; color: var(--ntd-text); }
.ntd-section { margin: 0 0 36px; }
.ntd-section__name { margin: 0 0 18px !important; font-size: 1.35em; font-weight: 700; color: var(--ntd-text) !important; }

/* Tools */
.ntd-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 0 0 26px; }
.ntd-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ntd-team .ntd-tab, .ntd-team .ntd-tab:hover, .ntd-team .ntd-tab:focus {
	background: transparent !important; color: var(--ntd-text) !important;
	border: 1px solid var(--ntd-rule) !important; border-radius: 999px !important;
	padding: 6px 16px !important; font-size: 14px !important; font-weight: 500; line-height: 1.4 !important;
	height: auto !important; min-width: 0 !important; display: inline-flex !important; align-items: center; font-family: inherit !important;
	cursor: pointer; box-shadow: none !important; margin: 0; text-transform: none; min-height: 0;
}
.ntd-team .ntd-tab:hover { border-color: var(--ntd-accent) !important; color: var(--ntd-accent) !important; }
.ntd-team .ntd-tab.is-active { background: var(--ntd-accent) !important; border-color: var(--ntd-accent) !important; color: #fff !important; }
.ntd-search {
	flex: 0 1 280px; padding: 8px 14px !important; border: 1px solid var(--ntd-rule) !important; border-radius: 999px !important;
	background: transparent !important; color: var(--ntd-text) !important; font-size: 14px; margin: 0;
}
.ntd-search:focus { outline: 2px solid var(--ntd-accent); outline-offset: 1px; }
.ntd-noresults { color: var(--ntd-muted); font-style: italic; }

/* Grid */
.ntd-grid { display: grid; grid-template-columns: repeat(var(--ntd-cols, 4), minmax(0, 1fr)); gap: 36px var(--ntd-gap); }
@media (max-width: 900px) { .ntd-grid { grid-template-columns: repeat(min(3, var(--ntd-cols, 4)), minmax(0, 1fr)); } }
@media (max-width: 600px) { .ntd-grid { grid-template-columns: repeat(min(2, var(--ntd-cols, 4)), minmax(0, 1fr)); gap: 28px 16px; } }

/* Photo */
/* The square comes from a plain wrapper (padding trick), so theme rules on
   buttons, links or images (fixed heights, padding, line-height) cannot squash it. */
.ntd-team .ntd-photo-wrap,
.ntd-modal .ntd-modal__photo {
	position: relative !important; display: block !important; width: 100% !important; max-width: 220px;
	height: auto !important; margin: 0 0 16px !important; padding: 0 !important; overflow: hidden !important;
	background: var(--ntd-ring); flex-shrink: 0;
}
.ntd-team .ntd-photo-wrap::before,
.ntd-modal .ntd-modal__photo::before { content: "" !important; display: block !important; padding-top: 100% !important; height: 0 !important; }

.ntd-team .ntd-photo-wrap .ntd-photo,
.ntd-team .ntd-photo-wrap .ntd-photo:hover,
.ntd-team .ntd-photo-wrap .ntd-photo:focus,
.ntd-team .ntd-photo-wrap .ntd-photo:active {
	position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	display: block !important; width: 100% !important; height: 100% !important;
	min-width: 0 !important; min-height: 0 !important; max-width: none !important; max-height: none !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: inherit !important;
	background: transparent !important; box-shadow: none !important; text-shadow: none !important;
	line-height: 0 !important; font-size: 0 !important; cursor: pointer; overflow: hidden !important;
	transform: none !important; -webkit-appearance: none; appearance: none;
}
.ntd-shape--circle .ntd-photo-wrap, .ntd-shape--circle .ntd-modal__photo, .ntd-modal.ntd-shape--circle .ntd-modal__photo { border-radius: 50% !important; }
.ntd-shape--rounded .ntd-photo-wrap, .ntd-shape--rounded .ntd-modal__photo, .ntd-modal.ntd-shape--rounded .ntd-modal__photo { border-radius: 14px !important; }
.ntd-shape--square .ntd-photo-wrap, .ntd-shape--square .ntd-modal__photo, .ntd-modal.ntd-shape--square .ntd-modal__photo { border-radius: 0 !important; }

.ntd-team .ntd-photo-wrap img,
.ntd-modal .ntd-modal__photo img {
	position: absolute !important; top: 0 !important; left: 0 !important;
	width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; min-height: 0 !important;
	object-fit: cover !important; object-position: center top; margin: 0 !important; padding: 0 !important;
	border: 0 !important; border-radius: 0 !important; box-shadow: none !important; transition: transform .35s ease;
}
.ntd-team .ntd-photo:hover img, .ntd-team .ntd-photo:focus-visible img { transform: scale(1.05); }
.ntd-team .ntd-photo-wrap:focus-within { outline: 3px solid var(--ntd-accent); outline-offset: 3px; }

.ntd-team .ntd-initials,
.ntd-modal .ntd-initials {
	position: absolute !important; top: 0; left: 0; right: 0; bottom: 0;
	display: flex !important; align-items: center; justify-content: center;
	background: var(--ntd-accent); color: #fff !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important; font-size: clamp(28px, 4vw, 48px) !important; letter-spacing: .02em; line-height: 1 !important;
}

/* Text */
.ntd-card { min-width: 0; }
.ntd-card__body > * { margin: 0; }
.ntd-team .ntd-name { font-size: 17px !important; font-weight: 600; line-height: 1.3 !important; padding: 0 !important; margin: 0 0 4px !important; }
.ntd-team .ntd-name a { padding: 0 !important; color: var(--ntd-accent) !important; text-decoration: none !important; box-shadow: none !important; }
.ntd-team .ntd-name a:hover { text-decoration: underline !important; }
.ntd-team .ntd-role, .ntd-modal .ntd-role { font-size: 14px !important; font-weight: 500; color: var(--ntd-text); margin: 0 0 2px !important; line-height: 1.35 !important; }
.ntd-team .ntd-count, .ntd-modal .ntd-count { font-size: 12px !important; color: var(--ntd-muted) !important; margin: 0 0 6px !important; line-height: 1.4 !important; }
.ntd-team .ntd-bio { font-size: 14px !important; color: var(--ntd-muted); line-height: 1.5; margin: 4px 0 8px !important; }
.ntd-team .ntd-more, .ntd-modal .ntd-more { padding: 0 !important; font-size: 14px; font-weight: 500; color: var(--ntd-text) !important; text-decoration: none !important; box-shadow: none !important; }
.ntd-team .ntd-more:hover, .ntd-modal .ntd-more:hover { color: var(--ntd-accent) !important; }

.ntd-social { list-style: none !important; margin: 6px 0 8px !important; padding: 0 !important; display: flex; gap: 6px; flex-wrap: wrap; }
.ntd-social li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ntd-social li::before { content: none !important; }
.ntd-social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ntd-rule); color: var(--ntd-text) !important; transition: all .15s; }
.ntd-social a:hover { background: var(--ntd-accent); border-color: var(--ntd-accent); color: #fff !important; }

/* List layout */
.ntd-layout--list .ntd-grid { grid-template-columns: 1fr !important; gap: 0; }
.ntd-layout--list .ntd-card { display: flex; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ntd-rule); }
.ntd-team.ntd-layout--list .ntd-photo-wrap { flex: 0 0 110px; width: 110px !important; max-width: 110px; margin: 0 !important; }
.ntd-team.ntd-layout--list .ntd-initials { font-size: 30px !important; }

/* Compact layout */
.ntd-layout--compact .ntd-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 14px 22px; }
.ntd-layout--compact .ntd-card { display: flex; gap: 12px; align-items: center; }
.ntd-team.ntd-layout--compact .ntd-photo-wrap { flex: 0 0 64px; width: 64px !important; max-width: 64px; margin: 0 !important; }
.ntd-team.ntd-layout--compact .ntd-initials { font-size: 20px !important; }
.ntd-layout--compact .ntd-name { font-size: 15px !important; }
.ntd-layout--compact .ntd-more, .ntd-layout--compact .ntd-bio { display: none; }

/* Pop-up */
html.ntd-modal-open { overflow: hidden; }
.ntd-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; --ntd-bg: #fff; }
.ntd-modal[data-ntd-theme="dark"] { --ntd-bg: #1b1b1b; }
.ntd-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); animation: ntdFade .2s ease; }
.ntd-modal__box {
	position: relative; background: var(--ntd-bg); color: var(--ntd-text); width: 100%; max-width: 760px; max-height: 90vh; overflow-y: auto;
	border-radius: 12px; padding: 34px; box-shadow: 0 20px 60px rgba(0,0,0,.35); animation: ntdUp .25s ease; outline: none;
}
.ntd-modal__close, .ntd-modal__close:hover, .ntd-modal__close:focus { display: flex !important; align-items: center; justify-content: center; min-width: 0 !important; line-height: 1 !important;
	position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50% !important; border: 0 !important;
	background: transparent !important; color: var(--ntd-text) !important; font-size: 28px !important; line-height: 1; cursor: pointer; padding: 0 !important; box-shadow: none !important;
}
.ntd-modal__close:hover { color: var(--ntd-accent) !important; }
.ntd-modal__content { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.ntd-modal .ntd-modal__photo { cursor: default; margin: 0 !important; }
.ntd-modal__name { margin: 0 0 6px !important; font-size: 26px; line-height: 1.2; color: var(--ntd-accent) !important; }
.ntd-modal__bio { font-size: 15px; line-height: 1.6; margin: 12px 0; }
.ntd-modal__bio p { margin: 0 0 10px; }
.ntd-modal__latest h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ntd-muted); margin: 16px 0 6px !important; }
.ntd-modal__latest ul { list-style: none !important; margin: 0 0 14px !important; padding: 0 !important; }
.ntd-modal__latest li { padding: 8px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--ntd-rule); list-style: none !important; }
.ntd-modal__latest li::before { content: none !important; }
.ntd-modal__latest a { color: var(--ntd-text) !important; font-size: 15px !important; font-weight: 500; text-decoration: none !important; display: block; line-height: 1.4; }
.ntd-modal__latest a:hover { color: var(--ntd-accent) !important; }
.ntd-modal__latest span { font-size: 12px; color: var(--ntd-muted); }
.ntd-loading { color: var(--ntd-muted); }
@media (max-width: 640px) {
	.ntd-modal__content { grid-template-columns: 1fr; }
	.ntd-modal__photo { max-width: 160px; }
	.ntd-modal__box { padding: 26px 20px; }
}
@keyframes ntdFade { from { opacity: 0; } }
@keyframes ntdUp { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
	.ntd-photo-wrap img, .ntd-modal__backdrop, .ntd-modal__box { transition: none; animation: none; }
}
