/* =========================================================
   Single Coach
========================================================= */

.synergy-single-coach {
    direction: rtl;
    background: #f7f8fa;
    padding: 48px 20px 80px;
}

.synergy-coach-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}


/* Layout */

.synergy-profile-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}


/* =========================================================
   Sidebar
========================================================= */

.synergy-profile-sidebar {
    position: sticky;
    top: 30px;
}

.synergy-profile-card {
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 18px;
    overflow: hidden;
}

.synergy-profile-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f2f3f5;
}

.synergy-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.synergy-profile-card-content {
    padding: 24px;
}

.synergy-profile-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: #1f2937;
}

.synergy-profile-position {
    margin-top: 6px;
    font-size: 14px;
    color: #667085;
}

.synergy-profile-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    font-size: 13px;
    color: #667085;
}

.synergy-profile-meta-icon {
    font-size: 8px;
}

.synergy-profile-short-bio {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf0f2;
    font-size: 14px;
    line-height: 2;
    color: #525866;
}


/* Primary CTA */

.synergy-primary-button {
    width: 100%;
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 22px;

    border-radius: 10px;

    background: #172554;
    color: #fff !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.synergy-primary-button:hover {
    color: #fff;
    opacity: .9;
    transform: translateY(-1px);
}


/* =========================================================
   Main content
========================================================= */

.synergy-profile-content {
    min-width: 0;
}

.synergy-profile-section {
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 18px;
}

.synergy-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.synergy-section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #252b37;
}

.synergy-section-content {
    color: #525866;
    font-size: 14px;
    line-height: 2.1;
}

.synergy-about-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Tags
========================================================= */

.synergy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.synergy-tag {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 6px 13px;

    background: #f5f7fa;
    border: 1px solid #e5e9ef;
    border-radius: 8px;

    color: #344054;
    font-size: 13px;
}


/* =========================================================
   Timeline
========================================================= */

.synergy-timeline {
    position: relative;
}

.synergy-timeline-item {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
}

.synergy-timeline-item:last-child {
    padding-bottom: 0;
}

.synergy-timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;

    right: 5px;
    top: 17px;
    bottom: 2px;

    width: 1px;
    background: #e5e7eb;
}

.synergy-timeline-dot {
    width: 11px;
    height: 11px;

    flex: 0 0 11px;

    margin-top: 7px;

    border-radius: 50%;
    background: #172554;

    position: relative;
    z-index: 1;
}

.synergy-timeline-content {
    color: #525866;
    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   Resume
========================================================= */

.synergy-resume-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 8px 18px;

    border: 1px solid #d7dce2;
    border-radius: 9px;

    background: #fff;

    color: #344054 !important;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: background .2s ease;
}

.synergy-resume-button:hover {
    background: #f7f8fa;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1024px) {

    .synergy-profile-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 20px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {

    .synergy-single-coach {
        padding: 20px 14px 50px;
    }

    .synergy-profile-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .synergy-profile-sidebar {
        width: 100%;
        position: static;
    }

    .synergy-profile-content {
        width: 100%;
    }

    .synergy-profile-card {
        border-radius: 14px;
    }

    .synergy-profile-image {
        aspect-ratio: 16 / 11;
    }

    .synergy-profile-card-content {
        padding: 20px;
    }

    .synergy-profile-name {
        font-size: 21px;
    }

    .synergy-profile-section {
        padding: 20px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .synergy-section-header {
        margin-bottom: 16px;
    }

    .synergy-section-header h2 {
        font-size: 16px;
    }

}


/* =========================================================
   Coaches Grid
========================================================= */

.synergy-coaches-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    direction: rtl;
}


/* =========================================================
   Coach Card
========================================================= */

.synergy-coach-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
    transition:
        transform 0.25s ease,
}

.synergy-coach-card:hover {
    transform: translateY(-4px);
}


/* =========================================================
   Image
========================================================= */

.synergy-coach-card-image {
    display: block;
    position: relative;

    margin: 10px 10px 0;

    aspect-ratio: 4 / 3;

    border-radius: 13px;

    overflow: visible;

    background: #f3f5f7;
}

.synergy-coach-card > a{
    position: relative;
    will-change: transform;
}

.synergy-coach-card > a:before{
        content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #c1a78c;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: inherit;
    z-index: -1;
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    transition: all 0.3s linear 0s;;
}

.synergy-coach-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px !important;
    display: block;

    object-fit: cover;
    transform: scale(1.05) translateX(4px);
    -webkit-transform: scale(1.05) translateX(4px);

    transition: transform 0.4s ease;
}

.synergy-coach-card:hover .synergy-coach-card-image img {
    transform: scale(1) translateX(0px);
    -webkit-transform: scale(1) translateX(0px);
}

.synergy-coach-card:hover a:before{
        transform: translate(-20px, 20px);
    -webkit-transform: translate(-20px, 20px);
}


/* =========================================================
   Card Body
========================================================= */

.synergy-coach-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 20px;
}


/* =========================================================
   Heading
========================================================= */

.synergy-coach-card-heading {
    margin-bottom: 14px;
}

.synergy-coach-card-name {
    padding: 0;
    margin: 0 0 5px;

    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;

    color: #182230;
}

.synergy-coach-card-name a {
    color: inherit;
    text-decoration: none;
}

.synergy-coach-card-name a:hover {
    color: #182230;
}

.synergy-coach-card-position {
    color: #667085;

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   Specialties
========================================================= */

.synergy-coach-card-specialties {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 15px;
}

.synergy-coach-specialty {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 10px;

    background: #eef8fb;
    border: 1px solid #e1f0f4;

    border-radius: 100px;

    color: #28778b;

    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
}


/* =========================================================
   Bio
========================================================= */

.synergy-coach-card-bio {
    margin: 0 0 18px !important;

    color: #667085;

    font-size: 13px;
    line-height: 2;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
}


/* =========================================================
   Footer
========================================================= */

.synergy-coach-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
    padding-top: 15px;

    border-top: 1px solid #eef0f3;
}


/* City */

.synergy-coach-card-city {
    display: flex;
    align-items: center;

    gap: 6px;

    min-width: 0;

    color: #667085;

    font-size: 12px;
}

.synergy-coach-card-city svg {
    width: 16px;
    height: 16px;

    flex: 0 0 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}


/* Profile link */

.synergy-coach-card-link {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: #236b7d !important;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none !important;

    white-space: nowrap;
}

.synergy-coach-card-link svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    transition: transform 0.2s ease;
}

.synergy-coach-card-link:hover svg {
    transform: translateX(-3px);
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1100px) {

    .synergy-coaches-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

}


@media (max-width: 900px) {

    .synergy-coaches-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 600px) {

    .synergy-coaches-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .synergy-coach-card {
        border-radius: 16px;
    }

    .synergy-coach-card-image {
        aspect-ratio: 16 / 10;
    }

    .synergy-coach-card-body {
        padding: 18px;
    }

    .synergy-coach-card-name {
        font-size: 17px;
    }

}