/* Hero slider */
.hero-slider.slick-dotted.slick-slider {
    margin-bottom: 40px;
}

.hero-slider {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.hero-slider .slide {
    position: relative;
}

.hero-slider img {
    height: 44vw;   /* Set a fixed height */
    width: 100%;     /* Maintain aspect ratio */
    object-fit: cover; /* Crop the image to cover the container */
    margin: 0;
}

.hero-slider .text-wrapper {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 1) 88%);
    padding: 300px 20px 80px 20px;
    color: var(--wp--preset--color--foreground);
    text-align: center;
    width: 100%; /* Optional: Set a max-width if needed */
    z-index: 10; /* Ensure it stays above the content */
}

.hero-slider .text-wrapper p {
    padding-bottom: 20px;
    max-width: 75vw;
    margin-left:auto;
    margin-right:auto;
}

.hero-slider h2 {
    margin-bottom: 10px;
    max-width: 75vw;
    margin-left:auto;
    margin-right:auto;
}

.hero-slider a {
    position: absolute;
    left: 50%;
    bottom: 50px; /* Set a consistent distance from the bottom */
    transform: translateX(-50%); /* Only translate horizontally */
    text-decoration: none;
    z-index: 10; /* Ensure it stays above the content */
}

/* Style the slider buttons */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Make sure the buttons are on top of the slider */
    color: white; /* Make the arrows/buttons visible */
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Style the slider buttons */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Make sure the buttons are on top of the slider */
    color: white; /* Make the arrows/buttons visible */
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Position the buttons on the left and right of the slider */
.slick-prev {
    left: 40px; /* Adjust based on your needs */
}

.slick-next {
    right: 60px; /* Adjust based on your needs */
}

.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 36px;
    line-height: 1;
    opacity: .75;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: var(--wp--preset--color--primary);
}

/* Icon blocks */
.icon-box {
    display:flex;
    flex: row;
    gap: 20px;
    align-items: center;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    max-width: 1024px;
}

.icon-box .icon-wrapper {
    border-radius: 10px;
    height: 80px;
    width: 90px;
    font-size: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.icon-box h4, .icon-box p {
    margin: 0 !important;
}

/* Team Member Block */
.team-member-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Box shadow for the block */
    
    background-color: var(--wp--preset--color--background, #ffffff); /* Background color with fallback */

    height: 100%;
    flex: 1 1 0%;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 1.5rem;
    border-bottom-left-radius: 0.375rem;
    border-width: 1px;
    border-top-width: 8px;
    border-color: var(--wp--preset--color--secondary, #000000);;
    padding: 2rem;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.team-member-photo {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%; /* Makes the photo round */
    display: flex;
    align-items: flex-start; /* Align the image to the top */
    justify-content: center;
    margin-top: 10px; /* Space above the photo */
}

.team-member-photo img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Crop the image */
    object-position: top; /* Crop from the top */
    margin: 0;
}

.team-member-info h3 {
    margin: 0;
    font-size: 1.5rem;
}
.team-member-info i {
    font-size: 20px;
}

.team-member-email {
    display: flex;
    align-items: center;
    gap: 8px; /* Spacing between icon and email */
}

.team-member-email a {
    text-decoration: none;
}

.team-member-email i {
    font-size: 1.2em; /* Adjust icon size */
    color: var(--wp--preset--color--secondary, #000); /* Adjust color if needed */
}

.team-member-info p {
    margin: 0.25rem 0;
}

.team-member-info blockquote {
    margin: 1rem 0 0;
    font-style: italic;
    color: var(--wp--preset--color--secondary, #555);
}

