/*
Theme Name: eduvalt child theme
Theme URI: https://goodhomepage.de
Author: Goetz Heismann
Author URI: https://goodhomepage.de
Template:    eduvalt
Description:
Requires at least: 6.7.4
Tested up to: 7.0.0
Requires PHP: 8.2
Version: 0.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: eduvalt-child-theme
Tags:
*/

@font-face {
    font-family: 'unineue';
    src: url('assets/fonts/unineue-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --tg-body-font-family: 'unineue', sans-serif !important;
    --tg-heading-font-family: 'unineue', sans-serif !important;
}

/* SM Team Grid */
.sm-team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
    justify-content: center;
}
.sm-team-member {
    flex: 0 1 calc(33.333% - 30px);
    min-width: 280px;
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(8, 42, 94, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(8, 42, 94, 0.03);
}
.sm-team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(8, 42, 94, 0.1);
}
.sm-team-img {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.sm-team-img img {
    width: 85%;
    height: auto;
    object-fit: cover;
    border-radius: 10% !important;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
}
.sm-team-member:hover .sm-team-img img {
    transform: scale(1.05);
}
.sm-team-member:hover .sm-team-info h4 {
    color: #FFBF3A;
}
.sm-team-info h4 {
    margin: 10px 0 8px;
    font-size: 1.35rem;
    color: #082A5E;
    font-weight: 500;
    font-family: 'unineue', sans-serif;
    transition: color 0.3s ease;
}
.sm-team-title {
    font-weight: 400;
    color: #586E93;
    margin-bottom: 15px;
    font-size: 15px;
    font-family: 'unineue', sans-serif;
    line-height: 1.4;
}
.sm-team-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}
.sm-team-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(8, 42, 94, 0.05);
}
.sm-team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #FFBF3A;
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}
.sm-team-linkedin:hover {
    transform: translateY(-3px);
    background: #082A5E;
    color: #ffffff;
}
.sm-team-linkedin svg {
    width: 14px;
    height: auto;
    display: block;
}

.sm-trainers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
    justify-content: center;
}

.sm-trainer-item {
    flex: 0 1 calc(25% - 40px);
    min-width: 250px;
    max-width: 300px;
    margin-bottom: 40px;
    text-align: center;
}

.sm-flip-card {
    background-color: transparent;
    border-radius: 40px;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    perspective: 1000px;
    margin-bottom: 20px;
}

.sm-flip-card-inner {
    //background-color: #FFBF3A;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 40px;
}

.sm-flip-card:hover .sm-flip-card-inner {
    transform: rotateY(180deg);
}

.sm-flip-card-front, .sm-flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.sm-flip-card-front {
    background-color: transparent;
    border: 1px solid rgba(8, 42, 94, 0.03);
}

.sm-flip-card-back {
    background-color: #003A49;
    color: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto;
}

.sm-flip-back-content {
    margin: auto 0;
    width: 100%;
}

.sm-flip-img {
    height: 100%;
    width: 100%;
}

.sm-flip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 40px;
}

.sm-trainer-info h4 {
    margin: 15px 0 5px;
    font-size: 1.25rem;
    color: #082A5E;
    font-weight: 500;
    font-family: 'unineue', sans-serif;
}

.sm-flip-title {
    font-size: 0.95rem;
    color: #586E93;
    line-height: 1.4;
    font-family: 'unineue', sans-serif;
    margin-top: 5px;
}

.sm-flip-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ffffff;
    padding: 0 5px;
}

@media (max-width: 1199px) {
    .sm-trainer-item {
        flex: 0 1 calc(33.333% - 40px);
    }
}

@media (max-width: 991px) {
    .sm-trainer-item {
        flex: 0 1 calc(50% - 40px);
    }
}

@media (max-width: 767px) {
    .sm-trainer-item {
        flex: 0 1 100%;
    }
}

@media (max-width: 991px) {
    .sm-team-member {
        flex: 0 1 calc(50% - 30px);
    }
}
@media (max-width: 575px) {
    .sm-team-member {
        flex: 0 1 100%;
    }
}

/* Fix for oversized checkboxes in registration form */
#tutor-registration-wrap .tutor-checkbox,
#tutor-registration-wrap input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    top: 2px;
    margin-right: 10px !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
}

#tutor-registration-wrap .tutor-input-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#tutor-registration-wrap .tutor-input-wrapper label {
    margin-bottom: 0;
    line-height: 1.5;
    cursor: pointer;
}

/* Footer Typography Fixes */
.footer-bg,
.footer-widget .fw-title,
.footer-widget ul li a,
.footer__about p,
.copyright__text p,
.copyright__menu li a,
.footer__working-item .day,
.footer__working-item .time,
.footer__newsletter .desc,
.footer__newsletter form [type=email],
.footer__newsletter form [type=submit] {
    font-family: 'unineue', sans-serif !important;
}

.footer-widget .fw-title {
    font-weight: 600;
    font-size: 22px;
}

.footer-widget ul li a,
.footer__about p,
.copyright__text p,
.copyright__menu li a {
    font-size: 15px;
    line-height: 1.6;
}
