/**
 * People Directory — Law An Legal
 * Matches the card + top-filter-bar design shown in the reference screenshots.
 *
 * Custom properties for easy reskin:
 *   --lal-green   : primary CTA / desk-pill colour
 *   --lal-dark    : headings, card borders
 *   --lal-muted   : secondary text
 *   --lal-bg      : card background
 *   --lal-border  : light rule colour
 */

/* ─── Global tokens ─────────────────────────────────────────────────────── */
.lal-team-directory {
	--lal-green:  #323E48;
	--lal-dark:   #1a1a1a;
	--lal-muted:  #666;
	--lal-bg:     #ffffff;
	--lal-border: #e5e5e5;
	--lal-pill-bg:#f2f2f2;

	max-width: 100%;
	margin: 0 auto;
	padding: 0px;
	color: var(--lal-dark);
	font-family: 'Inter Tight';
}
.lal-team-profile {
    max-width: 1261px;
    margin: 0 auto;
}
.main_team {
    background: #84AAE4;
    height: 55vh;
    display: flex;
    align-items: center;
	padding: 90px;
}
.enrollment_div h4 {
    font-size: 18px;
    font-family: 'Basic';
    margin: 0.25rem 0;
}
/* ─── Page intro ────────────────────────────────────────────────────────── */
/* .lal-team-directory__intro {
	margin-bottom: 2rem;
} */
header.lal-team-directory__intro {
    max-width: 1261px;
    margin: 0 auto;
}
.lal-team-directory__heading {
        font-size: 60px;
        font-weight: 700;
        margin: 0 0 0.4rem;
        font-family: 'Basic';
    }
    .lal-team-directory__sub {
        color: #323E48BF;
        max-width: 60ch;
        margin: 0;
        font-family: 'Inter Tight';
        font-size: 18px;
    }
/* ─── Filter panel ──────────────────────────────────────────────────────── */
.lal-team-filters-panel {
	background: #fff;
        border: 1px solid var(--lal-border);
        border-radius: 12px;
        padding: 1.5rem 1.75rem;
        margin-bottom: 2.5rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
        max-width: 1261px;
        margin: 60px auto;
}
.lal-team-results {
    max-width: 1261px;
    margin: 0 auto;
}
/* Search row */
.lal-team-search-wrap {
	margin-bottom: 1.25rem;
}
.lal-team-search-label {
	display: block;
	font-weight: 700;
	font-size: 1.1rem;
	font-family: "Inter Tight";
	margin-bottom: 0.6rem;
}
.lal-team-search {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1.1rem;
	border: 1px solid var(--lal-border);
	border-radius: 999px;
	font-size: 0.95rem;
	color: var(--lal-dark);
	background: #f7f7f7;
	outline: none;
	transition: border-color .15s, background .15s;
}
.lal-team-search:focus {
	border-color: var(--lal-green);
	background: #fff;
}
.lal-team-search::placeholder {
	color: #999;
}

/* Dropdown grid */
.lal-team-filter-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.lal-filter-dropdowns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}
@media (max-width: 900px) {
	.lal-filter-dropdowns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.lal-filter-dropdowns { grid-template-columns: 1fr; }
}
@media (min-width: 922px) {
    .site-content .ast-container {
        display: block !important;
    }
}
.lal-filter-dropdown-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.lal-filter-label {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--lal-dark);
	font-family: "Inter Tight"
}
.lal-filter-select {
	width: 100%;
	font-family: "Inter Tight";
	border: 1px solid var(--lal-border);
	border-radius: 8px;
	font-size: 0.9rem;
	color: var(--lal-dark);
	background: #f7f7f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	outline: none;
	transition: border-color .15s;
}
.lal-filter-select:focus {
	border-color: var(--lal-green);
}

/* Clear button row */
.lal-filter-actions {
	display: flex;
	justify-content: flex-start;
}
.lal-filter-reset {
	background: none;
	border: 1px solid var(--lal-border);
	border-radius: 6px;
	padding: 0.45rem 1.1rem;
	font-size: 0.85rem;
	cursor: pointer;
	color: var(--lal-muted);
	transition: border-color .15s, color .15s;
}
.lal-filter-reset:hover {
	border-color: var(--lal-dark);
	color: var(--lal-dark);
}

/* ─── Results count ─────────────────────────────────────────────────────── */
.lal-team-result-count {
	color: var(--lal-muted);
	font-size: 0.9rem;
	margin: 0 0 1.25rem;
	min-height: 1.4em;
}

/* ─── Grid ──────────────────────────────────────────────────────────────── */
.lal-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
	transition: opacity .2s;
}
.lal-team-grid[aria-busy="true"] {
	opacity: .45;
	pointer-events: none;
}

/* ─── Card ──────────────────────────────────────────────────────────────── */
.lal-team-card {
	background: var(--lal-bg);
	border: 1px solid var(--lal-border);
	border-radius: 14px;
	padding: 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0;
	transition: box-shadow .18s, transform .18s;
}
.lal-team-card:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,.09);
	transform: translateY(-2px);
}

/* Photo */
.lal-team-card__photo-link {
	display: block;
	width: 100%;
	height:300px;
	object-fit:top;
	overflow: hidden;
	border-radius: 10px;
	background: #f0f0f0;
	margin-bottom: 1rem;
}
.lal-team-card__photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lal-team-card__photo-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8ede8 0%, #d0ddd0 100%);
}

/* Name */
.lal-team-card__name {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.15rem;
	line-height: 1.3;
}
.lal-team-card__name a {
	color: var(--lal-dark);
	text-decoration: none;
}
.lal-team-card__name a:hover {
	color: var(--lal-green);
}

/* Role */
.lal-team-card__role {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--lal-dark);
	margin: 0 0 0.3rem;
}

/* Practice tags */
.lal-team-card__practices {
	font-size: 0.82rem;
	color: var(--lal-muted);
	margin: 0 0 0.6rem;
}

/* Pills row */
.lal-team-card__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}
.lal-team-card__pill {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	line-height: 1.6;
	white-space: nowrap;
}
.lal-team-card__pill--desk {
	background: var(--lal-green);
	color: #fff;
}
.lal-team-card__pill--office {
	background: var(--lal-pill-bg);
	color: var(--lal-dark);
	border: 1px solid var(--lal-border);
}

/* Bio teaser */
.lal-team-card__bio {
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--lal-dark);
	margin: 0 0 0.9rem;
	/* Clamp to ~4 lines */
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Meta dl (languages + bar) */
.lal-team-card__meta {
	margin: 0 0 0.75rem;
	padding: 0.75rem 0 0;
	border-top: 1px solid var(--lal-border);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.lal-team-card__meta-row {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.82rem;
}
.lal-team-card__meta-row dt {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	white-space: nowrap;
	color: var(--lal-dark);
	min-width: 80px;
}
.lal-team-card__meta-row dt svg {
	flex-shrink: 0;
	color: var(--lal-muted);
}
.lal-team-card__meta-row dd {
	color: var(--lal-muted);
	margin: 0;
}

/* Direct line */
.lal-team-card__direct-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0 1rem;
	border-top: 1px solid var(--lal-border);
	font-size: 0.85rem;
	margin-top: auto;
}
.lal-team-card__direct-label {
	font-weight: 600;
	color: var(--lal-dark);
}
.lal-team-card__direct-line a {
	color: var(--lal-dark);
	text-decoration: none;
	font-weight: 500;
}
.lal-team-card__direct-line a:hover {
	color: var(--lal-green);
}

/* CTA button */
.lal-team-card__cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	background: var(--lal-green);
	color: #fff !important;
	text-decoration: none;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	transition: background .18s;
	margin-top: 0.25rem;
}
.lal-team-card__cta:hover {
	background: #2e6336;
}

/* No-results message */
.lal-no-results {
	grid-column: 1 / -1;
	color: var(--lal-muted);
	padding: 3rem 0;
	text-align: center;
}

/* ─── Search highlight ──────────────────────────────────────────────────── */
.lal-team-card--hidden {
	display: none !important;
}

/* ─── Spinner / loading state ───────────────────────────────────────────── */
.lal-team-grid--loading::after {
	content: '';
	display: block;
	grid-column: 1/-1;
	height: 4px;
	background: linear-gradient(90deg, transparent 0%, var(--lal-green) 50%, transparent 100%);
	background-size: 200% 100%;
	animation: lal-shimmer 1.2s infinite;
	border-radius: 2px;
}
@keyframes lal-shimmer {
	from { background-position: 200% 0; }
	to   { background-position: -200% 0; }
}

/* ─── Single profile (unchanged) ───────────────────────────────────────── */
.lal-team-profile {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}
.lal-team-profile__header {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}
@media (max-width: 600px) {
	.lal-team-profile__header { grid-template-columns: 1fr; }
}
.lal-team-profile__photo img {
	width: 100%;
	border-radius: 10px;
	display: block;
}
.lal-team-profile__role { color: var(--lal-muted); margin-top: 0; }
.lal-team-profile__meta-row { font-size: 0.9rem; margin: 0.25rem 0; }
.lal-team-profile__contact { list-style: none; margin: 1rem 0 0; padding: 0; font-size: 0.9rem; }
.lal-team-profile__contact li { margin-bottom: 0.25rem; }
.lal-team-profile__section { margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid var(--lal-border); }
.lal-team-profile__section h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.lal-team-profile__opening { font-size: 1.05rem; line-height: 1.6; }
.lal-team-profile__back { margin-top: 2rem; }
