.tax-thought_leader .thought-leader-info-box {
    padding: 0px;
    background: none !important;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
}

.tax-thought_leader .thought-leader-info-box .leader-content-col {
    flex: 1;
    flex-basis: auto;
    max-width: calc(100% - 65px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Leader name: match profile card (e.g. Dr. Claus Reimers) – blue, bold, Teko */
.tax-thought_leader .thought-leader-info-box .leader-name {
    font-family: 'Teko', sans-serif;
    font-size: 40.8px;
    font-weight: bold;
    color: #006EB7;
    -webkit-text-stroke: 0px;
    text-align: left;
    border: none;
    outline: none;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
}

@media (max-width: 768px) {
    .tax-thought_leader .thought-leader-info-box .leader-name {
        font-family: 'Teko', sans-serif;
        font-size: 29.12px;
        font-weight: bold;
        color: #006EB7;
    }
}

.tax-thought_leader .thought-leader-info-box .leader-role-info {
    margin-bottom: 0 !important;
    font-size: 16px;
    text-align: left;
}

.tax-thought_leader .thought-leader-info-box .leader-role-info .role {
    font-weight: 400;
    font-size: 16px;
}

.tax-thought_leader .thought-leader-info-box .company {
    font-size: 16px;
    color: #141414;
    font-weight: 700;
}

/* Company color same as leader-name on thought-leader pages */
.tax-thought_leader .thought-leader-info-box #thought-leader-company {
    color: #006EB7;
    -webkit-text-stroke: 0px;
    font-size: 16px;
    font-weight: 700;
}

.tax-thought_leader .thought-leader-info-box .leader-social-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 0;
    padding-top: 0;
    position: absolute;
    top: 0;
    right: 5%;
    z-index: 10;
}

.tax-thought_leader .thought-leader-info-box .leader-social-links .social-link {
    align-self: flex-start;
    margin-top: 0;
}

.tax-thought_leader .thought-leader-info-box .leader-social-links .social-link .dashicons {
    font-size: 40px;
    color: #1F333D;
}



.result-label {
    color: #1F333D !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.5px !important;
    display: block !important;

    &.card-taxonomy {
        text-transform: uppercase !important;
    }

    a {
        color: inherit !important;
    }
}

.jankx-search-results-container .result-label {
    margin-bottom: 8px !important;
}

.card-image+.card-content {
    margin-top: 15px;
}

.tax-thought_leader .jankx-data-layout .row {
    display: flex;
    flex-wrap: wrap;
}

.tax-thought_leader .jankx-data-layout .col-item {
    display: flex;
    margin-bottom: 30px;
    /* Increased margin for better spacing */
}

.tax-thought_leader .jankx-content-layout.card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    /* Ensure background is consistent */
    height: 100%;
}

.tax-thought_leader .jankx-content-layout.card .card-image a {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.tax-thought_leader .jankx-content-layout.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tax-thought_leader .jankx-content-layout.card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}



.video-overlay-icon .dashicons {
    font-family: 'akselos-icons' !important;

    &:before {
        content: '\e804' !important;
    }
}

.thought-leader-info-box .leader-bio-text {
    color: #1F333D;
}

.thought-leader-info-box .leader-role-info {
    color: #1F333D;
}

.webinar-cta-btn.button {
    color: #006eb7 !important;
}

.webinar-cta-btn.button:hover {
    background-color: white !important;
    color: #006eb7;
}

.clear-all-wrapper .clear-all-filters-btn {
    margin-bottom: 0;
}


/* Hide blog-share for webinars and other resource detail pages */
body.single-webinar .blog-share.text-center,
body.single-featured_item .blog-share.text-center,
body.single-whitepaper .blog-share.text-center,
body.single-ebook .blog-share.text-center,
body.single-event .blog-share.text-center {
    display: none !important;
}

/* Hide navigation-post for webinars and other resource detail pages */
body.single-webinar .navigation-post,
body.single-featured_item .navigation-post,
body.single-whitepaper .navigation-post,
body.single-ebook .navigation-post,
body.single-event .navigation-post {
    display: none !important;
}

/* Style LET'S CHAT button on thought-leader pages similar to webinar pages */
.tax-thought_leader .button.secondary.is-larger.expand {
    color: #006eb7 !important;
    font-size: 1rem;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .tax-thought_leader .button.secondary.is-larger.expand {
        font-size: 0.97rem;
        border-radius: 6px;
    }
}

.tax-thought_leader .button.secondary.is-larger.expand:hover {
    background-color: white !important;
    color: #006eb7 !important;
}

/* Webinar single col padding */
.webinar-single-col .col-inner {
    padding: 0px !important;
}