
/* Container */
.la-tm-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Filters */
.la-tm-filters, .la-tm-sub-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.la-tm-filter-btn {
    padding: 10px 20px;
    border-radius: 9px;
    border: 2px solid #003257;
    background: #fff;
    color: #003257;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.la-tm-filter-btn:hover {
    background: #003257;
	color: #ffffff;
}

.la-tm-filter-btn.active {
    background: #003257;
    color: #ffffff;
    border-color: #003257;
}

/* Grid System */
.la-tm-grid {
    display: grid;
    gap: 30px;
}

.cols-1 { grid-template-columns: repeat(1, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .la-tm-grid { grid-template-columns: 1fr; }
}

/* Card Styles: Standard */
.design-standard .la-tm-card {
    background: #ffffff;
    overflow: hidden;
    box-shadow: rgb(0 50 87 / 12%) 0px 2px 5px 0px;
    border-radius: 4px;
	height: 100%;
}
.design-standard .la-tm-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.design-standard .la-tm-img-wrap {
    aspect-ratio: 3/3;
    overflow: hidden;
    position: relative;
}
.design-standard .la-tm-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.design-standard .la-tm-card:hover img {
    transform: scale(1.05);
}
.design-standard .la-tm-content {
    padding: 24px;
    text-align: center;
}

/* Card Styles: Overlay */
.design-overlay .la-tm-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
}
.design-overlay .la-tm-img-wrap {
    width: 100%;
    height: 100%;
}
.design-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.design-overlay .la-tm-card:hover img {
    transform: scale(1.1);
}
.design-overlay .la-tm-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.design-overlay .la-tm-card:hover .la-tm-content {
    transform: translateY(0);
}
.design-overlay .la-tm-name { color: #fff; }
.design-overlay .la-tm-designation { color: #a5b4fc; }

/* Card Styles: List */
.design-list .la-tm-grid {
    gap: 20px;
}
.design-list .la-tm-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.design-list .la-tm-img-wrap {
    width: 35%;
    position: relative;
}
.design-list .la-tm-img-wrap img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.design-list .la-tm-content {
    width: 65%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.la-tm-card-footer {
    display: flex;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}
.la-tm-card-footer:has(> :only-child) {
    justify-content: center;
}

/* Typography */
.la-tm-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
	margin-bottom: 10px;
    padding: 0px;
}
.la-tm-designation {
    font-size: 14px;
    font-weight: 500;
    color: #cf641c;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}
.la-tm-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}
.la-tm-mail-icon,
.view-member-info-pp {
    padding: 10px;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 0px;
	border-width: 1px;
	border-style: solid;
	padding: 6px 12px;
    border-radius: 23px;
	cursor: pointer;
    user-select: none;
}
.la-tm-mail-icon {
    background-color: #ffffff;
    color: #003257;
    border-color: #003257;
}
.la-tm-mail-icon:hover {
    color: #ffffff;
	background-color: #003257;
}
.view-member-info-pp {
    background-color: #003257;
    color: #ffffff;
    border-color: #003257;	
}
.view-member-info-pp:hover {
    background-color: #ffffff;
    color: #003257;
    border-color: #003257;
}

/* Modal */
.la-tm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.la-tm-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.la-tm-modal {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s;
    max-height: 90vh;
}
.la-tm-modal-backdrop.open .la-tm-modal {
    transform: scale(1);
}
.la-tm-modal-name {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    padding: 0px;
}
.la-tm-modal-designation {
    font-size: 14px;
    font-weight: 500;
    color: #cf641c;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}
.la-tm-modal-description {
    max-height: 300px;
    overflow: auto;
    padding-right: 10px;
}
.la-tm-modal-email {
    padding: 15px;
    background: #f2f2f3;
    margin-top: 25px;
	border-radius: 6px;
}
.la-tm-modal-email a {
     border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
	text-decoration: none;
	color: #1e293b;
	
}
@media(min-width: 768px) {
    .la-tm-modal-body {
        display: flex;
    }
	.la-tm-designation {
		height: 23px;
	}	
}
.la-tm-modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
@media(min-width: 768px) {
    .la-tm-modal-img-col { width: 40%; }
    .la-tm-modal-content-col { width: 60%; }
    .la-tm-modal-img { height: 100%; }
}
.la-tm-modal-content-col {
    padding: 40px;
    overflow-y: auto;
}
.la-tm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: 1px solid #dedede;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.la-tm-modal-close:hover {
    background: #f0f0f0;
    color: #ef4444;
}
@media(max-width: 768px) {
	.la-tm-modal-content-col {
		padding: 20px;
	}
	.la-tm-modal-description {
		max-height: 250px;
	}	
}