/**
 * Theme Name:     GemVast Child
 * Author:         Xpeedstudio
 * Template:       gemvast
 * Text Domain:	   gemvast-child
 * Description:    GemVast - Gym Fitness Club WordPress Theme.
 */


*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

[tabindex="-1"]:focus:not(:focus-visible) {
    outline: 0 !important;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

a {
    text-decoration: none;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

a:hover {
    color: #507E80 !important;
}

p:last-child {
    margin-bottom: 0 !important;
    margin-block-end: 0 !important;
}

a.ekit-menu-nav-link:hover {
    color: #fff !important;
}

.ekit-sticky {
    z-index: 99 !important;
}

body p a {
    color: inherit;
    text-decoration: underline !important;
    transition: all 0.4s ease-in-out;
}

input[type="text"],
input[type="input"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select {
    font-family: var(--body-font-family);
    font-size: 18px;
    line-height: normal;
    width: 100%;
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid #E4E4E4;
    color: #73737B;
}

textarea {
    height: 90px;
}

input[type="submit"] {
    background-color: var(--e-global-color-accent);
    font-family: "Barlow", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 24px;
    padding: 10px 30px 10px 30px;
    color: #fff !important;
    border-radius: 0px 0px 0px 0px;
    border: none !important;
    transition: all 0.4s ease-in-out;
}

input[type="submit"]:hover {
    background-color: #507E80;
}

.invalid .alert {
    margin-top: 12px;
    display: inline-block;
}

.alert,
.wpcf7-not-valid-tip {
    font-family: var(--body-font-family);
    font-size: 14px;
    line-height: normal;
    margin-top: 4px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 10px 0 0 0 !important;
}


.container {
    max-width: 1440px !important;
    margin: 0 auto;
}

.main-container {
    padding: 0px 0 !important;
}

.entry .entry-summary>*,
.entry-content>* {
    margin: 0px 0 !important;
}


.trainers-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trainers-col-inner {
    position: relative;
    border: 1px solid #353535;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

.trainer-thumb-container {
    position: relative;
}

.trainer-thumb-overlay {
    position: absolute;
    width: 100%;
    background: transparent linear-gradient(180deg, #35353500 0%, #35353500 50%, #353535F8 100%) 0% 0% no-repeat padding-box;
    height: 100%;
    z-index: 1;
    transition: all .4s ease-in-out;
}

.trainer-thumb-container:hover .trainer-thumb-overlay {
    background: transparent linear-gradient(180deg, #FE580000 0%, #FE580000 50%, #FE5800F7 100%) 0% 0% no-repeat padding-box;
}

.trainer-img {
    width: 100%;
    aspect-ratio: 3/3;
    transition: all .4s;
    object-fit: cover;
}

.trainer-thumb-content {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

.trainer-thumb-content-inner {
    padding: 0 15px 5px 15px;
}

.trainer-thumb-name {
    font-size: 35px;
    line-height: 35px;
    color: #fff;
    position: relative;
}

.trainer-thumb-name::after {
    content: "";
    position: relative;
    display: inline-block;
    background-image: url(./images/right-icon.svg);
    width: 34px;
    height: 34px;
    background-size: contain;
    background-repeat: no-repeat;
    top: 7px;
    transition: all 0.4s ease-in-out;
}

.trainer-thumb-container:hover .trainer-thumb-name::after {
    transform: translateX(33px);
}

.trainers-col-inner a {
    width: 100%;
}

.team-single {
    padding: 80px 0;
}

.team-back>.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-back>.back-btn .back-arrow svg {
    font-size: 18px;
}

.teams-row {
    margin-top: 50px;
}

.back-btn-text {
    font-size: 18px;
    font-weight: bold;
}

.teams-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.teams-row .team-photo {
    width: calc(40% - 10px);
}

.teams-row .team-photo img {
    width: 100%;
    aspect-ratio: 4/4;
    object-fit: cover;
}

.teams-row .team-content {
    width: calc(60% - 10px);
    max-width: 571px;
    margin-left: auto;

}

body img[class*=wp-image-] {
    margin-top: 0;
    margin-bottom: 0;
}

/* Gallery Page Start */

body:has(.gallery-container) .dialog-widget.dialog-lightbox-widget {
    display: none !important;
}

.fancybox__container button {
    background-color: transparent !important;
    padding: 0 !important;

}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.gallery-container>* {
    box-sizing: border-box;
    width: 25%;
    height: auto;
    padding: 8px;
}

.gallery-block-item a {
    display: inline-block;
    overflow: hidden;
    border-radius: 16px;
    width: 100% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
}

.gallery-block-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/3;
    object-fit: cover;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.gallery-block-item img:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Member List Page */

.member-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.member-list ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px;
    background-color: #fff;
    color: #353535;
    border-radius: 4px;
}

/* Testimonal  */
.home .testimonials-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: normal !important;
}

.testimonials-block {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.testimonials-card {
    position: relative;
    background-color: #2A2A2A;
    padding: 72px 40px 40px 40px;
    border-radius: 8px;
}

.testimonials-message-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.testimonials-heading,
.testimonials-rating {
    margin-bottom: 16px;
}

.testimonials-heading h4 {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: normal;
    color: #fff;
}

.testimonials-card p {
    font-size: 16px;
    line-height: normal;
    color: #fff;
}

.testimonials-heading span {
    font-size: 14px;
    line-height: normal;
    color: #ffffffc6;

}

.home .testimonials-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contact-form p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.contact-form p label br {
    display: none !important;
}

.contact-form p label:last-child {
    grid-column: 1/-1;
}

.page-id-1077 .banner-bg {
    background-position: top center !important;
}

@media screen and (max-width: 1024px) {
    .home .testimonials-block {
        gap: 20px;
    }

    .testimonials-card {
        padding: 72px 28px 28px 28px;
    }

    .testimonials-block {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: normal;
    }
}

@media screen and (max-width: 989px) {
    .gallery-container>* {
        width: 33.33%;
        padding: 5px;
    }

    .footer-location br {
        display: none;
    }

    .home .testimonials-block {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 767px) {
    .gallery-container>* {
        width: 50%;
        padding: 5px;
    }

    .testimonials-block,
    .home .testimonials-block {
        grid-template-columns: 1fr !important;
    }

    .contact-form p {
        grid-template-columns: 1fr;
        gap: 0 20px;
    }

    .member-list ul li {
        padding: 10px;
    }
}

/* Gallery Page End */