.coaches .tool_btn {min-height:250px;}

.gold {
    font-weight: bold;
    color: rgb(160 120 30);
}

.badge {
    padding: .35rem .7rem;
}
.badge-time {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

.coach-name .badge {
    font-size: .8rem;
}

.arrow-right {
    position: absolute;
    top: -55px;
    left: -55px;
    width: 100px;
    height: 100px;
    background-color: var(--ref-color-primary-60);
    box-shadow: none;
    transform: rotate(-45deg);
}

.arrow-right.on {
    z-index:3;
    height: 70px;
    background-color: #f8f9fa;
    box-shadow:none;
}

.arrow-right span {
    position: absolute;
    top: 79px;
    left: 25px;
    width: 80px;
    font-size: 12px;
    font-weight: bold;
    color: #f5f5f5;
}

.btn-grey-yellow-border {
    padding: 15px 60px;
    color: #111;
    background: #f3f3f3;
    border:  solid 2px rgb(230 180 34);
    border-radius: 12px;
}

.btn-grey-yellow-border:hover {
    color: #111;
    text-decoration: none;
    background: #bcbaba;
}

.coaches {
    width: 100%;
    padding: 0;
}

.coaches .time-tags {
    display: inline-flex;
    gap: .5rem;
}

.coaches ul {
    margin: 0;
}

#main-body {
    width: 100%;
    max-height: 100%;
    padding: 1.5rem 1.5rem;
    overflow-y: auto;
}
.coaches .tool_btn {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.coaches .business-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--ref-color-primary-60);
}

.coaches .coach-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-block-start: .875rem;
    font-size: 1.3125rem;
}

.popover .popover-body {
    white-space: pre-wrap;
}

.popover {
    max-width: min(80%, 22rem) !important;
}

.popover .arrow {
    display: none;
}

.coaches .view-detail {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    float:right;
    padding: 0.4rem 0.8rem;
    color: var(--ref-color-primary-50);
    border-radius: 4px;
}

.coaches .view-detail:hover {
    color: var(--ref-color-primary-40);
    text-decoration: none;
    background-color: var(--ref-color-primary-90);
}

.coaches .view-detail i {
    margin-left: 0.5rem;
}

.coaches .intro {
    min-height: 6rem;
    max-height: 12rem;
    overflow: hidden;
}

.coaches .thumbnail {
    flex-grow: 0;
    margin: 0 auto;
}

.coaches .description {
    flex-grow: 1;
    width: 12rem;
}

.toggle-button {
    max-width: 10rem;
    padding: 0 6px;
    margin: 0 0.2rem 0.2rem 0;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: pre;
}

@media screen and (max-width: 768px) {
    #main-body {
        padding: .5rem;
    }

    .coaches .time-tags, .coaches .business-title {
        display: block;
    }

    .badge.badge-coach {
        display: block;
        width: fit-content;
        margin: .25rem auto;
        text-align: center;
        border-radius: .8rem;
    }

    .coaches .tool_btn {
        gap: 0;
    }

    .coaches .coach-name {
        display: block;
        margin-block-start: 0;
    }
}
