.coach-page {
    background: #f4f4f4;
    color: #111;
}

.coach-banner {
    width: 100%;
    height: clamp(260px, 45vw, 520px);
    background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75)),
    url('/images/mar080623_1483_DimitriusSouza_Seminar_Upper.webp');
    background-size: cover;
    background-position: bottom;
    display: flex;
    align-items: flex-end;
    padding: clamp(24px, 6vw, 70px);
}

.coach-banner-content {
    color: white;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.coach-banner-content p {
    font-size: clamp(18px, 2.5vw, 26px);
    margin: 0 0 8px 0;
    color: rgb(230, 230, 230);
}

.coach-banner-content h1 {
    font-size: clamp(44px, 8vw, 86px);
    line-height: 1;
    margin: 0;
    color: white;
}

.coach-main {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: clamp(35px, 6vw, 80px) 0;
}

.coach-intro {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(28px, 5vw, 60px);
    align-items: start;
    margin-bottom: 60px;
}

.coach-profile-card {
    background: white;
    border: 3px solid black;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.coach-profile-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
}

.coach-profile-info {
    padding: 24px;
    background: black;
    color: white;
}

.coach-profile-info h2 {
    font-size: 34px;
    margin: 0 0 8px 0;
}

.coach-profile-info p {
    font-size: 19px;
    margin: 0;
    color: rgb(220, 220, 220);
    line-height: 1.4;
}

.coach-description {
    background: white;
    padding: clamp(26px, 5vw, 48px);
    border-radius: 18px;
    border: 2px solid black;
}

.coach-description h2,
.coach-section h2 {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 18px 0;
}

.coach-description p,
.coach-section p,
.coach-section li {
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.6;
}

.coach-description p {
    margin: 0 0 18px 0;
}

.coach-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 60px;
}

.coach-section {
    background: white;
    border: 2px solid black;
    border-radius: 18px;
    padding: clamp(24px, 4vw, 42px);
}

.coach-section.dark {
    background: black;
    color: white;
}

.coach-section.dark p,
.coach-section.dark li {
    color: rgb(230, 230, 230);
}

.achievement-list {
    padding-left: 22px;
    margin: 0;
}

.achievement-list li {
    margin-bottom: 12px;
}

.lineage-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
}

.lineage-box a {
    background: #f4f4f4;
    color: #222;
    border: 1px solid #d0d0d0;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lineage-box a:hover{
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    text-decoration: underline;
}

.lineage-box .arrow {
    background: transparent;
    border: none;
    color: #777;
    padding: 0 2px;
    border-radius: 0;
    font-size: 20px;
    font-weight: 400;
}

.coach-section.dark .lineage-box span {
    background: white;
    color: black;
}

.coach-section.dark .lineage-box .arrow {
    background: transparent;
    color: white;
}

.coach-media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.coach-media-row.reverse .coach-media-image {
    order: 2;
}

.coach-media-image {
    /* min-height: 420px; */
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid black;
}

.coach-media-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.coach-media-text {
    background: white;
    border-radius: 18px;
    padding: clamp(24px, 4vw, 46px);
    border: 2px solid black;

}

.coach-media-text h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 16px 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.coach-media-text p {
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.6;
    margin: 0;
}

.coach-cta {
    background: black;
    color: white;
    text-align: center;
    border-radius: 18px;
    padding: clamp(34px, 6vw, 70px);
}

.coach-cta h2 {
    font-size: clamp(34px, 5vw, 58px);
    margin: 0 0 14px 0;
}

.coach-cta p {
    font-size: 21px;
    color: rgb(225, 225, 225);
    max-width: 760px;
    margin: 0 auto 28px auto;
    line-height: 1.5;
}

.coach-cta a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: white;
    color: black;
    border: 1px solid white;
    text-decoration: none;
    padding: 15px 26px;
    font-size: 20px;
    transition: 0.4s ease;
}

.coach-cta a:hover {
    background: black;
    color: white;
}

@media (max-width: 900px) {
    .coach-intro,
    .coach-details-grid,
    .coach-media-row {
    grid-template-columns: 1fr;
    }

    .coach-profile-card {
    max-width: 420px;
    margin: 0 auto;
    }

    .coach-media-row.reverse .coach-media-image {
    order: 0;
    }
}

@media (max-width: 600px) {
    .coach-banner {
    height: 320px;
    padding: 28px 18px;
    }

    .coach-main {
    width: 90%;
    }

    .coach-media-image,
    .coach-media-image img {
    min-height: 300px;
    }

.lineage-box {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .lineage-box .arrow {
        transform: rotate(90deg);
        padding-left: 10px;
        color: #999;
        font-size: 18px;
    }
}
