/* ==========================================================================
   Team List — kerdia-elements
   ========================================================================== */

/* List wrapper
   ========================================================================== */

.kerdia-tl {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Row (item)
   ========================================================================== */

.kerdia-tl-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 28px;
	padding: 28px 0;
	transition: background-color 0.2s ease;
}

/* Reverse image position */
.kerdia-tl[data-image-position="right"] .kerdia-tl-item {
	flex-direction: row-reverse;
}

/* Divider between rows */
.kerdia-tl--dividers .kerdia-tl-item + .kerdia-tl-item {
	border-top: 1px solid #1e3a5f;
}

/* Image
   ========================================================================== */

.kerdia-tl-item__image-wrap {
	flex-shrink: 0;
	width: 200px;
	height: 240px;
	overflow: hidden;
	border-radius: 8px;
}

.kerdia-tl-item__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* Content
   ========================================================================== */

.kerdia-tl-item__content {
	flex: 1;
	min-width: 0; /* prevent flex overflow */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.kerdia-tl-item__name {
	margin: 0 0 6px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.kerdia-tl-item__designation {
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.5;
}

.kerdia-tl-item__description {
	margin: 0 0 16px;
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* Button
   ========================================================================== */

.kerdia-tl-item__btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 10px;
	background-color: #1e3a5f;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1;
	text-decoration: none !important;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease,
		border-color 0.2s ease, box-shadow 0.2s ease;
	margin-top: 20px;
}

.kerdia-tl-item__btn:hover,
.kerdia-tl-item__btn:focus {
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(30, 58, 95, 0.35);
}

.kerdia-tl-item__btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Mobile — stack vertically
   ========================================================================== */

@media (max-width: 767px) {
	.kerdia-tl-item,
	.kerdia-tl[data-image-position="right"] .kerdia-tl-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.kerdia-tl-item__image-wrap {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.kerdia-tl-item__content {
		width: 100%;
	}
}
