@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* =========================
   BASE FONT & ICONS
========================= */
body, h1, h2, h3, h4, h5, h6, p, span, div {
    font-family: 'Poppins', sans-serif !important;
}

.arrow-icon {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* =========================
   BACK BUTTON
========================= */
.back-button-for-team {
    margin-bottom: 20px;
}

.back-button-for-team i {
    margin-right: 8px;
}

.back-button-for-team a {
    display: inline-flex;
    align-items: center;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 20px;
}

.back-button-for-team a:hover {
    color: #EAC02B;
}

.back-button-for-team .arrow-icon {
    margin-right: 8px;
}

/* =========================
   BASE LAYOUT
========================= */
.team-single-wrapper {
    min-height: 100vh;
    color: #333;
    margin: 0 auto;
    line-height: 1.6;
    width: 1900px;
    padding: 30px 0;
    font-family: 'Poppins', sans-serif;
    background: none !important;
}

.team-single-wrapper .container {
    margin: 0 auto;
    padding: 0 0px;
    max-width: 1450px;
}

.team-member-single {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 1, 0.2);
    overflow: hidden;  
    border-radius: 8px;
}

/* =========================
   MEMBER CONTENT
========================= */
.member-content-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.member-left {
    flex: 0 0 600px;
    max-width: 100%;
}

.member-right {
    flex: 1;
    min-width: 300px;
}

/* Member Photo */
.member-photo {
    overflow: hidden;
}

.member-photo img {
    width: 100%;       
    height: 500px;     
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Member Info */
.member-header {
    margin-bottom: 25px;
}

.member-prefix {
    font-size: 50px;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-name {
    font-size: 50px;
    color: #000000 !important;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 50px;
}

.member-designation {
    font-size: 30px;
    color: #EAC02B;
    margin: 0 0 40px;
    font-weight: 400;
    line-height: 1.5;
}

.member-qualifications {
    font-size: 16px;
    color: #666;
    margin: 0 0 25px;
    font-style: normal;
    line-height: 1.6;
}

/* Member Contact */
.member-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin: 0;
}

.contact-text {
    margin-right: 10px;
    font-size: 30px;
    font-weight: 400;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    border-radius: 0px !important;
}

.location-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.contact-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item i {
    font-size: 18px;
}

.contact-item a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contact-item a:hover {
    color: #000;
    text-decoration: none;
}

/* =========================
   MEMBER DETAILS
========================= */
.member-details {
    margin-top: 40px;
    padding: 40px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.content-section {
    padding: 40px;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h3 {
    font-size: 30px;
    color: #EAC02B;
    font-weight: 600;
}

.detail-content {
    line-height: 1.2;
    color: #000000;
    padding-top: 5px;
    font-size: 20px !important;
}

.detail-content p {
    margin: 0 0 15px;
    font-size: 20px !important;
}

.detail-content p:last-child {
    margin-bottom: 0;
}

/* =========================
   PODCAST SECTION
========================= */
.member-on-podcast-heading {
    font-size: 50px;
    color: #000000 !important;
    font-weight: 700;
    margin-top: 30px;
}

.team-member-related-podcast {
    display: flex;
    align-items: stretch;     
    gap: 30px;
    padding-top: 30px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.podcast-featured-image,
.podcast-header-content {
    flex: 1;   
    box-shadow: 0 2px 10px rgba(0, 0, 1, 0.2);                  
}

.podcast-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;     
}

.podcast-header-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    display: flex;           
    flex-direction: column;  
    justify-content: center; 
}

.podcast-featured-image {
    background: #ffffff;      
    border-radius: 10px;
    overflow: hidden;
}

.podcast-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
}

.podcast-icon2 img {
    display: block !important;
    max-width: 350px;
    height: auto;
}

.podcast-links2 {
    text-align: center;
    margin-right: 50px;
}

.listen-now {
    color: #EBC425;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.podcast-platforms {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.podcast-platform span {
    display: none;
}

.single-podcast .podcast-icon2 img,
.single-podcast .podcast-title-icon2 {
    box-shadow: none !important;
    filter: none !important;
    border: 0 !important;
    background: transparent !important;
}

.podcast-platform-icon {
    width: 60px;              
    height: 60px;
    display: block;
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
    border: 0 !important;
}

.episode-number,
.episode-date,
.guest-bio {
    color: #000000;
    font-size: 20px;
}

/* =========================
   TEAM GRID & CARD
========================= */
.team-grid-section {
    padding: 0px !important;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0px 0px !important;
}

.team-card {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.team-card-body-flat {
    display: grid;
    grid-template-columns: 1fr auto;
    background: #fff;
    padding: 0;
    margin: 0;
    height: 120px;
    align-items: center;
}

.name_designation {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name_designation h3 a {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: black;
}

.name_designation h3 a:hover {
    color: #f4cd22; 
    cursor: pointer;
}

.name_designation .membership {
    font-size: 30px;
    font-weight: 400;
}

.name_designation p {
    margin: 4px 0 0;
    font-size: 18px;
    color: #EAC02B;
}

.member-on-team-heading {
    padding: 30px 0;
    font-size: 50px;
    color: #000000 !important;
    font-weight: 700;
}

.team-top-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.team-arrow-box {
    background: #EAC02B;
    padding: 32px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.team-arrow-flat i {
    color: #fff;
    font-size: 22px;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
========================= */

/* Tablet */
@media (max-width: 1000px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .team-card-body-flat {
        height: 170px;
    }
    .check-service-card {
        height: auto;
    }
}

@media (max-width: 1000px) {
    .team-single-wrapper {
        padding: 20px 20px;
		width: auto;
    }
    .member-content-wrapper {
        flex-direction: column;
    }
    .member-left {
        flex: none;
        max-width: 100%;
    }
    .member-right {
        width: 100%;
    }
    .member-header {
        padding: 0px 40px;
        margin-bottom: 0;
    }
    .member-contact {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
    }
    .team-member-related-podcast {
        display: block;
        padding-top: 20px;
    }
    .podcast-featured-image {
        margin-bottom: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .team-single-wrapper {
        padding: 10px 0;
		width: auto;
    }
    .team-single-wrapper .container {
        margin: 0 auto;
        padding: 0 10px;
    }
    .back-button-for-team {
        margin: 10px 0px !important;
    }
    .contact-text {
        font-size: 18px;
    }
    .member-contact {
        gap: 5px;
    }
    .member-name {
        font-size: 35px;
    }
    .member-prefix {
        font-size: 30px;
    }
    .member-designation {
        font-size: 20px;
    }
    .member-qualifications {
        font-size: 20px;
    }
    .member-details p {
        font-size: 20px;
    }
    .detail-section h3 {
        font-size: 20px;
    }
    .detail-content {
        font-size: 20px;
        padding-bottom: 10px;
    }
    .contact-item {
        width: auto;
        height: 36px;
    }
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    .member-header {
        padding: 0px 20px;
        margin-bottom: 0;
    }
    .content-section {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    .member-on-podcast-heading {
        font-size: 30px;
    }
    .podcast-icon2 img {
        display: block !important;
        max-width: 300px;
        height: auto;
    }
    .podcast-wrap {
        display: block;
    }
    .podcast-platforms {
        justify-content: start;
    }
    .podcast-links2 {
        text-align: start;
        margin-top: 20px;
    }
	.member-contact .contact-item i {
    width: 40px !important;
    height: 40px !important;
}
	.location-icon {
    width: 30px !important;
    height: 30px !important;
}
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .member-on-team-heading {
        font-size: 30px;
    }
}
