.am-strategists-carousel-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    font-family: var(--am-font-family, 'Poppins', sans-serif);
}

.am-strategists-swiper {
    width: 100%;
    height: 100%;
    padding: 20px 10px; /* Space for shadows and pagination */
}

.swiper-slide {
    height: auto;
}

.am-strategist-card {
    background-color: #f6f8fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.am-strategist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.am-strategist-image {
    position: relative;
    width: 100%;
    height: 320px;
}

.am-strategist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.am-linkedin-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #0b3155; /* Blue background like the badge in the photo */
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.am-linkedin-icon:hover {
    background-color: #0d4b84;
    transform: scale(1.1);
}

.am-linkedin-icon svg {
    width: 16px;
    height: 16px;
}

.am-strategist-image-placeholder {
    width: 100%;
    height: 320px;
    background-color: #e0e0e0;
}

.am-strategist-content {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.am-strategist-name {
    margin: 0 0 5px 0;
    font-size: var(--am-name-size, 22px);
    font-weight: 700;
    color: var(--am-name-color, #0b3155);
}

.am-strategist-title {
    margin: 0 0 20px 0;
    font-size: var(--am-title-size, 15px);
    color: var(--am-title-color, #333333);
    font-weight: 600;
}

.am-strategist-actions {
    margin-top: auto; /* Push button to bottom */
}

.am-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: var(--am-btn-size, 14px);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.am-btn-primary {
    background-color: var(--am-btn-bg-color, transparent);
    color: var(--am-btn-color, #0b3155);
    border: 2px solid var(--am-btn-border-color, #0b3155);
}

.am-btn-primary:hover {
    background-color: var(--am-btn-hover-bg, #0b3155);
    color: var(--am-btn-hover-color, #ffffff);
}

/* Swiper Overrides */
.am-strategists-swiper .swiper-button-next,
.am-strategists-swiper .swiper-button-prev {
    color: #0b3155;
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.am-strategists-swiper .swiper-button-next:after,
.am-strategists-swiper .swiper-button-prev:after {
    font-size: 18px;
}

.am-strategists-swiper .swiper-pagination-bullet-active {
    background: #0b3155;
}

/* --- Grid Styles --- */
.am-strategists-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(var(--am-grid-cols-mobile, 1), 1fr);
}

@media (min-width: 640px) {
    .am-strategists-grid {
        grid-template-columns: repeat(var(--am-grid-cols-tablet, 2), 1fr);
    }
}

@media (min-width: 992px) {
    .am-strategists-grid {
        grid-template-columns: repeat(var(--am-grid-cols-laptop, 3), 1fr);
    }
}

@media (min-width: 1200px) {
    .am-strategists-grid {
        grid-template-columns: repeat(var(--am-grid-cols-desktop, 4), 1fr);
    }
}

.am-grid-item {
    display: flex;
}

/* --- Team Grid Styles --- */
.am-team-card {
    background-color: #f6f8fa;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.am-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.am-team-card .am-strategist-name {
    margin-bottom: 5px;
}

.am-team-card .am-strategist-title {
    margin-bottom: 15px;
}

.am-team-linkedin {
    background-color: var(--am-btn-border-color, #0b3155);
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Push to bottom if height varies */
}

.am-team-linkedin:hover {
    background-color: var(--am-btn-hover-bg, #0d4b84);
    transform: scale(1.1);
}

.am-team-linkedin svg {
    width: 16px;
    height: 16px;
}

