/* Our Team Popup - Grid & Card Styles */

.otp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 24px 0;
	box-sizing: border-box;
	    row-gap: 60px;
}

.otp-grid * {
	box-sizing: border-box;
}

.otp-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 284px;
    margin: 0 auto;
}

.otp-card-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f2f2f2;
    border-radius: 15px;
}

.otp-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
button.otp-read-more {
    background: transparent !important;
}
.otp-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eaeaea 0%, #f6f6f6 100%);
}

.otp-card-body {
    padding: 24px 0px 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.otp-card-designation {
    font-size: 12px;
    color: #71717A;
    font-weight: 500;
    margin: 0 !important;
    line-height: 18px;
}
.otp-card-name {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #000;
    margin: 0;
}
.otp-social-icons {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 0px;
}

.otp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
	color: #000;
}

.otp-icon svg {
    fill: currentColor;
    width: 14px;
    height: 14px;
}


.otp-card-excerpt {
    margin:12px 0 !important;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    flex: 1;
	    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.otp-read-more {
    align-self: flex-start;
    background: transparent;
    color: #000000;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.otp-no-results {
	font-size: 15px;
	color: #6b6b6b;
}
.otp-social-icons {
    margin-top: 5px;
}
/* Tablet: 2 columns */
@media (max-width: 1024px) {
	.otp-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		        row-gap: 50px;
	}
	
} 

/* Mobile: 1 column */
@media (max-width: 600px) {
	.otp-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		        row-gap: 40px;
	}
.otp-card-body {
    padding: 14px 0px 0px;
    gap: 5px;
}
	.otp-card-media {
    border-radius: 12px;
}
}
