/* =========================================
   TRAINERSLINK - FIND A TRAINER
========================================= */

.tl-container {
    width: 100%;
    max-width: 1170px;

    margin: 0 auto;

    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================
   HEADER
========================================= */

.tl-trainer-header {
    background: #f5f8fd;

    border-top: 1px solid #e3e9f1;
    border-bottom: 1px solid #e0e6ef;

    padding: 73px 0 58px;
}


.tl-trainer-header h1 {
    margin: 0 0 18px;

    color: #111827;

    font-size: 44px;
    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -1.2px;
}


.tl-trainer-header p {
    max-width: 780px;

    margin: 0;

    color: #617493;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================
   MARKETPLACE SECTION
========================================= */

.tl-trainer-marketplace {
    background: #ffffff;

    padding: 77px 0 76px;
}


/* =========================================
   FILTERS
========================================= */

.tl-trainer-filters {
    display: grid;

    grid-template-columns:
        1.35fr 1fr 1fr;

    gap: 12px;

    margin-bottom: 28px;
}


.tl-trainer-filters input,
.tl-trainer-filters select {
    width: 100%;
    height: 54px;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #d6e0ed;

    border-radius: 10px;

    color: #111827;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.tl-trainer-filters input::placeholder {
    color: #64748b;
}


.tl-trainer-filters input:focus,
.tl-trainer-filters select:focus {
    border-color: #1764e8;

    box-shadow: 0 0 0 3px rgba(23, 100, 232, .08);
}


/* =========================================
   TRAINER GRID
========================================= */

.tl-trainer-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* =========================================
   TRAINER CARD
========================================= */

.tl-trainer-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce5f0;

    border-radius: 17px;

    box-shadow: 0 7px 25px rgba(25, 54, 91, .035);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.tl-trainer-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 13px 32px rgba(25, 54, 91, .08);
}


/* =========================================
   AVATAR AREA
========================================= */

.tl-trainer-avatar-area {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 170px;

    background:
        linear-gradient(135deg,
            #eaf2ff 0%,
            #f6f9fd 100%);
}


.tl-trainer-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 95px;
    height: 95px;

    background: #ffffff;

    border: 5px solid #d9e6fc;

    border-radius: 50%;

    color: #1764e8;

    font-size: 30px;
    font-weight: 800;

    letter-spacing: -1px;
}


/* =========================================
   CARD CONTENT
========================================= */

.tl-trainer-content {
    display: flex;
    flex-direction: column;

    min-height: 220px;

    padding: 25px 22px 23px;
}


.tl-trainer-category {
    display: inline-flex;
    align-self: flex-start;

    margin-bottom: 12px;

    padding: 8px 10px;

    background: #edf4ff;

    color: #075bd8;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;
}


.tl-trainer-content h2 {
    margin: 0 0 12px;

    color: #111827;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.2;
}


.tl-trainer-experience {
    margin: 0 0 17px;

    color: #607492;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================
   TAGS
========================================= */

.tl-trainer-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px 6px;

    margin-bottom: 20px;
}


.tl-trainer-tags span {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 6px 9px;

    background: #edf4ff;

    color: #075bd8;

    border-radius: 18px;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.1;
}


/* =========================================
   ACTION BUTTONS
========================================= */

.tl-trainer-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: auto;
}


.tl-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 10px 12px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: all .2s ease;
}


.tl-btn-outline {
    background: #ffffff;

    border: 1px solid #d6e1ef;

    color: #111827;
}


.tl-btn-outline:hover {
    background: #f7f9fc;

    border-color: #bfcde0;
}


.tl-btn-primary {
    background: #1764e8;

    border: 1px solid #1764e8;

    color: #ffffff;
}


.tl-btn-primary:hover {
    background: #0d56cf;

    border-color: #0d56cf;
}


/* =========================================
   BOTTOM CTA
========================================= */

.tl-trainer-cta {
    background: #f5f8fd;

    border-top: 1px solid #e5ebf3;

    padding: 79px 0 91px;

    text-align: center;
}


.tl-cta-badge {
    display: inline-flex;

    padding: 10px 13px;

    margin-bottom: 13px;

    background: #e9f1ff;

    color: #075bd8;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .7px;
}


.tl-trainer-cta h2 {
    margin: 0 0 13px;

    color: #111827;

    font-size: 36px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -.8px;
}


.tl-trainer-cta p {
    margin: 0 0 32px;

    color: #607492;

    font-size: 14px;

    line-height: 1.6;
}


.tl-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0 21px;

    background: #1764e8;

    border-radius: 11px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: background .2s ease;
}


.tl-cta-button:hover {
    background: #0d56cf;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .tl-trainer-header {
        padding: 58px 0 50px;
    }


    .tl-trainer-header h1 {
        font-size: 38px;
    }


    .tl-trainer-marketplace {
        padding: 60px 0;
    }


    .tl-trainer-filters {
        grid-template-columns: 1fr 1fr;
    }


    .tl-trainer-filters input {
        grid-column: 1 / -1;
    }


    .tl-trainer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .tl-trainer-header {
        padding: 42px 0 40px;
    }


    .tl-trainer-header h1 {
        font-size: 31px;

        letter-spacing: -.6px;
    }


    .tl-trainer-header p {
        font-size: 14px;
    }


    .tl-trainer-marketplace {
        padding: 45px 0 55px;
    }


    .tl-trainer-filters {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-bottom: 20px;
    }


    .tl-trainer-filters input {
        grid-column: auto;
    }


    .tl-trainer-filters input,
    .tl-trainer-filters select {
        height: 50px;
    }


    .tl-trainer-grid {
        grid-template-columns: 1fr;

        gap: 17px;
    }


    .tl-trainer-avatar-area {
        height: 155px;
    }


    .tl-trainer-content {
        padding: 22px 20px;
    }


    .tl-trainer-cta {
        padding: 55px 0 65px;
    }


    .tl-trainer-cta h2 {
        font-size: 29px;
    }


    .tl-trainer-cta p {
        padding: 0 10px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .tl-trainer-header h1 {
        font-size: 28px;
    }


    .tl-trainer-avatar {
        width: 88px;
        height: 88px;

        font-size: 27px;
    }


    .tl-trainer-content h2 {
        font-size: 19px;
    }


    .tl-trainer-actions {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   COMMON CONTAINER
========================================= */

.tl-container {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================
   PROFILE HEADER
========================================= */

.trainer-profile-header {
    background: #f5f8fd;

    border-top: 1px solid #e4eaf2;
    border-bottom: 1px solid #e0e6ef;

    padding: 70px 0 55px;
}

.trainer-profile-header h1 {
    margin: 0 0 18px;

    color: #111827;

    font-size: 44px;
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -1.2px;
}

.trainer-profile-header p {
    margin: 0;

    color: #607493;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   PROFILE SECTION
========================================= */

.trainer-profile-section {
    background: #ffffff;

    padding: 75px 0 85px;
}


/* =========================================
   MAIN LAYOUT
========================================= */

.trainer-profile-layout {
    display: grid;

    grid-template-columns: 296px 1fr;

    gap: 28px;

    align-items: start;
}


/* =========================================
   LEFT SUMMARY CARD
========================================= */

.trainer-summary-card {
    background: #ffffff;

    border: 1px solid #dce5f0;

    border-radius: 18px;

    padding: 27px 27px 26px;

    text-align: center;

    box-shadow:
        0 8px 28px rgba(25, 54, 91, 0.035);
}


/* Avatar */

.trainer-profile-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 125px;
    height: 125px;

    margin: 0 auto 25px;

    background: #ffffff;

    border: 5px solid #d9e6fc;

    border-radius: 50%;

    color: #1764e8;

    font-size: 38px;
    font-weight: 800;
}


/* Name */

.trainer-summary-card h2 {
    margin: 0 0 25px;

    color: #111827;

    font-size: 23px;
    font-weight: 700;

    line-height: 1.2;
}


/* Category */

.trainer-profile-category {
    display: inline-flex;

    padding: 8px 11px;

    margin-bottom: 12px;

    background: #edf4ff;

    color: #075bd8;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;
}


/* Experience */

.trainer-profile-meta {
    margin: 0 0 16px;

    color: #607493;

    font-size: 13px;

    line-height: 1.5;
}


/* Connect Button */

.trainer-connect-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 53px;

    padding: 12px 15px;

    background: #1764e8;

    border-radius: 10px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: background .2s ease;
}

.trainer-connect-btn:hover {
    background: #0d56cf;
}


/* =========================================
   RIGHT DETAILS CARD
========================================= */

.trainer-details-card {
    background: #ffffff;

    border: 1px solid #dce5f0;

    border-radius: 18px;

    padding: 28px;

    box-shadow:
        0 8px 28px rgba(25, 54, 91, 0.025);
}


/* =========================================
   DETAIL BLOCK
========================================= */

.trainer-detail-block {
    padding: 5px 0 37px;

    margin-bottom: 35px;

    border-bottom: 1px solid #e1e8f1;
}

.trainer-detail-block:last-child {
    margin-bottom: 0;
    padding-bottom: 5px;

    border-bottom: 0;
}


/* Main heading */

.trainer-detail-block h2 {
    margin: 0 0 25px;

    color: #111827;

    font-size: 23px;
    font-weight: 700;

    line-height: 1.25;
}


/* Section headings */

.trainer-detail-block h3 {
    margin: 0 0 22px;

    color: #111827;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.3;
}


/* Paragraph */

.trainer-detail-block p {
    max-width: 100%;

    margin: 0;

    color: #17263a;

    font-size: 14px;

    line-height: 1.75;
}


/* Strong experience text */

.trainer-detail-strong {
    font-weight: 700;
}


/* =========================================
   EXPERTISE TAGS
========================================= */

.trainer-expertise-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.trainer-expertise-tags span {
    display: inline-flex;

    align-items: center;

    min-height: 36px;

    padding: 8px 11px;

    background: #f3f6fa;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    color: #1d3554;

    font-size: 12px;

    line-height: 1.2;
}


/* =========================================
   TRAVEL AVAILABILITY
========================================= */

.trainer-travel-block {
    padding-bottom: 24px;
}

.travel-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.travel-item {
    display: flex;

    align-items: center;

    min-height: 46px;

    padding: 10px 13px;

    background: #f5f7fa;

    border-radius: 10px;

    color: #172b45;

    font-size: 14px;
}

.travel-item span {
    margin-right: 6px;

    color: #075bd8;

    font-size: 16px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .trainer-profile-header {
        padding: 58px 0 48px;
    }

    .trainer-profile-header h1 {
        font-size: 38px;
    }

    .trainer-profile-section {
        padding: 60px 0 70px;
    }

    .trainer-profile-layout {
        grid-template-columns: 260px 1fr;

        gap: 20px;
    }

    .trainer-summary-card {
        padding: 24px 20px;
    }

    .trainer-details-card {
        padding: 25px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .trainer-profile-header {
        padding: 43px 0 40px;
    }

    .trainer-profile-header h1 {
        font-size: 31px;

        letter-spacing: -.6px;

        margin-bottom: 15px;
    }

    .trainer-profile-header p {
        font-size: 14px;
    }


    .trainer-profile-section {
        padding: 42px 0 55px;
    }


    .trainer-profile-layout {
        display: flex;

        flex-direction: column;

        gap: 18px;
    }


    /* Summary card */

    .trainer-summary-card {
        width: 100%;

        padding: 25px 20px;
    }


    .trainer-profile-avatar {
        width: 105px;
        height: 105px;

        margin-bottom: 20px;

        font-size: 32px;
    }


    .trainer-summary-card h2 {
        font-size: 21px;

        margin-bottom: 18px;
    }


    .trainer-connect-btn {
        min-height: 50px;
    }


    /* Details */

    .trainer-details-card {
        width: 100%;

        padding: 22px 18px;

        border-radius: 15px;
    }


    .trainer-detail-block {
        padding-bottom: 30px;

        margin-bottom: 28px;
    }


    .trainer-detail-block h2 {
        font-size: 21px;

        margin-bottom: 18px;
    }


    .trainer-detail-block h3 {
        font-size: 17px;

        margin-bottom: 17px;
    }


    .trainer-detail-block p {
        font-size: 14px;
    }


    .trainer-expertise-tags {
        gap: 7px;
    }


    .trainer-expertise-tags span {
        font-size: 11px;

        padding: 7px 9px;
    }


    .travel-item {
        min-height: 44px;

        font-size: 13px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .trainer-profile-header h1 {
        font-size: 28px;
    }

    .trainer-profile-section {
        padding-top: 32px;
    }

    .trainer-summary-card {
        padding: 22px 17px;
    }

    .trainer-details-card {
        padding: 20px 15px;
    }

    .trainer-detail-block h2 {
        font-size: 20px;
    }

    .trainer-detail-block h3 {
        font-size: 16px;
    }

    .trainer-expertise-tags span {
        font-size: 10.5px;
    }

}