

/* Main page header styling */
.team-page-header-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: -59.1px;
}


/* Overlay */
.team-page-header-image-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 13, 30, 0.6);
    z-index: 1;
}

@media (min-width: 768px) {
    .team-page-header-image-overlay {
        top: 59.1px;
    }
}

/* Content container */
.team-page-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    flex: 1; /* Fills remaining space above the banner */
}

/* Centered heading and HR container */
.team-page-header-heading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px; /* Adjust as needed */
}

@media (max-width: 767px) {
    .team-page-header-heading {
        font-size: 1.9rem !important;
    }
}

@media (max-width: 575px) {
    .team-page-header-heading {
        font-size: 1.6rem !important;
    }
}

/* Full-width gold banner */
.team-page-header-banner {
    position: absolute;
    bottom: 0;
    height: auto;
    width: 100%;
    background-color: rgba(137, 115, 95, 0.9); /* Gold with transparency */
    text-align: center;
    padding: 15px 0;
    border-bottom: 1.5px solid #E2E2E2;
    z-index: 2;
}

/* Banner text */
.banner-text {
    color: white;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 575px) {
    .banner-text {
        font-size: 0.9rem !important;
    }
}




@media (max-width: 575px) {
    .team-page-header-image-container {
        height: 475px;
    }
}

@media (min-width: 576px) {
    .team-page-header-image-container {
        height: 550px;
    }
}

@media (min-width: 768px) {
    .team-page-header-image-container {
        height: 650px;
    }
}

@media (min-width: 992px) {
    .team-page-header-image-container {
        height: 700px;
    }
}

/* Team member cards styling */
.team-member-card {
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 8px;
    background-color: var(--primary-blue);
}

/* Square image container */
.team-member-image-container {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Card body styling */
.team-member-card .card-body {
    padding: 1.5rem;
}

.team-member-card .card-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.6rem;
}

.team-member-card .card-subtitle {
    font-size: 1rem;
    color: white;
    color: #9a8572;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .team-member-card .card-body {
        padding: 1rem;
    }
}

/* Team member detail page styling */
.team-member-detail-image-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.team-member-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member-detail-content {
    padding-left: 1rem;
}

.description-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.description-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Breadcrumb styling */

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #aeaeae;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #aeaeae;
}

/* Back button styling */
.btn-outline-primary {
    color: #89735f;
    border-color: #89735f;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #89735f;
    border-color: #89735f;
    color: white;
}

/* Responsive adjustments for detail page */
@media (max-width: 991px) {
    .team-member-detail-content {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .team-member-detail-image-container {
        max-width: 100%;
        margin: 0;
    }
}