.ttsd-teachers {
display: block;
padding: 50px 0;
}
.ttsd-teachers--grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}
@media (max-width: 1024px) {
.ttsd-teachers--grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 576px) {
.ttsd-teachers--grid {
grid-template-columns: 1fr;
}
} .ttsd-teachers--slider {
position: relative;
padding: 0 50px;
}
.ttsd-teachers--slider .ttsd-teachers-swiper {
overflow: hidden;
}
.ttsd-teachers--slider .swiper-slide {
height: auto;
display: flex;
}
.ttsd-teachers--slider .swiper-slide > .ttsd-teacher-card {
flex: 1;
display: flex;
flex-direction: column;
}
.ttsd-teachers-swiper__prev,
.ttsd-teachers-swiper__next {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background: var(--ttsd-white, #ffffff);
color: var(--ttsd-navy, #1a2a4a);
border: 1px solid var(--ttsd-gold, #c9a96e);
border-radius: 50%;
cursor: pointer;
z-index: 10;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease, color 0.2s ease;
}
.ttsd-teachers-swiper__prev { left: 0; }
.ttsd-teachers-swiper__next { right: 0; }
.ttsd-teachers-swiper__prev:hover,
.ttsd-teachers-swiper__next:hover {
background: var(--ttsd-gold, #c9a96e);
color: var(--ttsd-white, #ffffff);
}
.ttsd-teachers-swiper__prev::after,
.ttsd-teachers-swiper__next::after {
font-size: 16px;
font-weight: 700;
}
.ttsd-teachers-swiper__prev.swiper-button-disabled,
.ttsd-teachers-swiper__next.swiper-button-disabled {
opacity: 0.35;
cursor: not-allowed;
}
.ttsd-teachers-swiper__pagination {
text-align: center;
margin-top: 20px;
position: relative;
bottom: 0;
}
.ttsd-teacher-card {
border-radius: 4px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: row;
align-items: center;
}
.ttsd-teacher-card .ttsd-teacher-card__image-link,
.ttsd-teacher-card .ttsd-teacher-card__content{
flex: 0 0 50%;
}
.ttsd-teacher-card:hover {
transform: translateY(-4px);
}
.ttsd-teacher-card__image-link {
display: block;
padding: 20px;
}
.ttsd-teacher-card__image {
margin: 0;
}
.ttsd-teacher-card__image img {
display: block;
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border: 15px solid var(--ttsd-white, #ffffff);
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ttsd-teacher-card:hover img{
box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}
.ttsd-teacher-card__content {
padding: 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.ttsd-teacher-card__name {
margin: 0 0 6px;
font-size: 28px;
font-weight: 600;
color: var(--ttsd-navy, #1a2a4a);
}
.ttsd-teacher-card__name a {
color: inherit;
text-decoration: none;
}
.ttsd-teacher-card__position {
margin: 0 0 8px;
font-size: 16px;
font-weight: 400;
letter-spacing: 1px;
text-transform: uppercase;
color: #000;
}
.ttsd-teacher-card__bio {
margin: 0 0 16px;
font-size: 14px;
line-height: 1.6;
color: #555;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.ttsd-teacher-card__more {
align-self: flex-start;
display: inline-flex;
align-items: center;
font-size: 14px;
font-weight: 500;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--ttsd-gold, #c9a96e);
text-decoration: none;
padding: 4px 0;
}
.ttsd-teacher-card__more .ttsd-teacher-card__more-text {
margin-right: 10px;
}
.ttsd-teacher-card__more-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border-radius: 50%;
background: var(--ttsd-gold, #c9a96e);
color: var(--ttsd-white, #ffffff);
transition: background 0.25s ease, transform 0.25s ease;
}
.ttsd-teacher-card__more-icon svg {
width: 18px;
height: 18px;
display: block;
}
.ttsd-teacher-card__more:hover {
color: #bf382b;
}
.ttsd-teacher-card__more:hover .ttsd-teacher-card__more-icon {
background: #bf382b;
transform: translateX(2px);
} .ttsd-teacher-card__bio--full {
display: block;
-webkit-line-clamp: unset;
line-clamp: unset;
overflow: visible;
text-overflow: unset;
-webkit-box-orient: unset;
}
.ttsd-teacher-card__bio--full p {
margin: 0 0 10px;
font-size: 14px;
line-height: 1.6;
color: #555;
}
.ttsd-teacher-card__bio--full p:last-child {
margin-bottom: 0;
} .ttsd-teacher-card__book-now {
display: block;
width: fit-content;
margin-top: 16px;
padding: 10px 24px;
font-size: 12px;
letter-spacing: 2px;
text-align: center;
} .ttsd-teacher-card__full-meta {
margin-bottom: 12px;
}
.ttsd-teacher-card__full-meta .ttsd-teacher-card__position {
margin-bottom: 4px;
}
.ttsd-teacher-card__full-meta .ttsd-teacher-card__styles {
font-size: 13px;
color: #777;
line-height: 1.5;
margin: 0;
}
.ttsd-teacher-card__full-meta .ttsd-teacher-card__styles strong {
color: #333;
}.ttsd-modal {
position: fixed;
inset: 0;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ttsd-modal.is-open {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
body.ttsd-modal-open {
overflow: hidden;
}
.ttsd-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.75);
cursor: pointer;
}
.ttsd-modal__dialog {
position: relative;
z-index: 1;
width: 100%;
max-width: 800px;
max-height: calc(100vh - 48px);
overflow-y: auto;
background: var(--ttsd-white, #ffffff);
padding: 40px 36px 32px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
animation: ttsd-modal-pop 0.22s ease-out;
}
@keyframes ttsd-modal-pop {
from { opacity: 0; transform: translateY(12px) scale(0.98); }
to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ttsd-modal__close {
position: absolute;
top: 10px;
right: 14px;
width: 36px;
height: 36px;
padding: 0;
font-size: 28px;
line-height: 1;
color: var(--ttsd-navy, #1a2a4a);
background: transparent;
border: none;
cursor: pointer;
transition: color 0.2s ease, transform 0.2s ease;
}
.ttsd-modal__close:hover {
color: var(--ttsd-gold, #c9a96e);
transform: rotate(90deg);
}
.ttsd-modal__title {
margin: 0 0 20px;
font-size: 24px;
font-weight: 600;
color: var(--ttsd-navy, #1a2a4a);
text-align: center;
font-family: inherit;
}
.ttsd-modal__body {
font-size: 15px;
line-height: 1.6;
}
@media (max-width: 600px) {
.ttsd-modal {
padding: 12px;
}
.ttsd-modal__dialog {
padding: 32px 20px 24px;
}
}.ttsd-modal__body .wpcf7,
.ttsd-modal__body form {
margin: 0;
}
.ttsd-modal__body p {
margin: 0 0 14px;
}
.ttsd-modal__body label {
display: block;
margin: 0 0 6px;
font-size: 13px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--ttsd-navy, #1a2a4a);
} .ttsd-modal__body input[type="text"],
.ttsd-modal__body input[type="email"],
.ttsd-modal__body input[type="tel"],
.ttsd-modal__body input[type="url"],
.ttsd-modal__body input[type="number"],
.ttsd-modal__body input[type="date"],
.ttsd-modal__body input[type="time"],
.ttsd-modal__body input[type="password"],
.ttsd-modal__body select,
.ttsd-modal__body textarea {
width: 100%;
box-sizing: border-box;
padding: 10px 14px;
font-size: 14px;
line-height: 1.5;
color: #222;
background: #ffffff;
border: 1px solid #d5d8de;
border-radius: 2px;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ttsd-modal__body textarea {
min-height: 110px;
resize: vertical;
}
.ttsd-modal__body input:focus,
.ttsd-modal__body select:focus,
.ttsd-modal__body textarea:focus {
outline: none;
border-color: var(--ttsd-gold, #c9a96e);
box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18);
}
.ttsd-modal__body input::placeholder,
.ttsd-modal__body textarea::placeholder {
color: #9aa0a6;
} .ttsd-modal__body input[type="checkbox"],
.ttsd-modal__body input[type="radio"] {
margin-right: 6px;
vertical-align: middle;
}
.ttsd-modal__body .wpcf7-list-item {
display: inline-flex;
align-items: center;
margin: 0 16px 8px 0;
font-size: 14px;
color: #333;
} .ttsd-modal__body input[type="submit"],
.ttsd-modal__body button[type="submit"],
.ttsd-modal__body .wpcf7-submit {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 180px;
padding: 12px 32px;
margin-top: 8px;
font-size: 13px;
font-weight: 600;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--ttsd-white, #ffffff);
background: var(--ttsd-gold, #c9a96e);
border: 1px solid var(--ttsd-gold, #c9a96e);
border-radius: 0;
cursor: pointer;
transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.ttsd-modal__body input[type="submit"]:hover,
.ttsd-modal__body button[type="submit"]:hover,
.ttsd-modal__body .wpcf7-submit:hover {
background: var(--ttsd-navy, #1a2a4a);
border-color: var(--ttsd-navy, #1a2a4a);
transform: translateY(-1px);
}
.ttsd-modal__body input[type="submit"]:disabled,
.ttsd-modal__body button[type="submit"]:disabled,
.ttsd-modal__body .wpcf7-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
} .ttsd-modal__body .wpcf7-form-control-wrap {
display: block;
}
.ttsd-modal__body .wpcf7-not-valid-tip {
display: block;
margin-top: 4px;
font-size: 12px;
color: #d63638;
}
.ttsd-modal__body .wpcf7 form .wpcf7-response-output {
margin: 16px 0 0;
padding: 10px 14px;
font-size: 13px;
line-height: 1.5;
border-width: 1px;
border-style: solid;
border-radius: 2px;
}
.ttsd-modal__body .wpcf7-spinner {
vertical-align: middle;
} @media (max-width: 600px) {
.ttsd-modal__body input[type="submit"],
.ttsd-modal__body button[type="submit"],
.ttsd-modal__body .wpcf7-submit {
width: 100%;
min-width: 0;
}
.ttsd-modal__body label {
font-size: 12px;
}
}.ttsd-booking-trigger {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 35px;
font-size: 14px;
font-weight: 500;
border-radius: 25px;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--ttsd-white, #ffffff);
background: var(--ttsd-gold, #c9a96e);
border: 1px solid var(--ttsd-gold, #c9a96e);
cursor: pointer;
transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.ttsd-booking-trigger:hover,
.ttsd-booking-trigger:focus {
background: #bf382b;
border-color: #bf382b;
color: var(--ttsd-white, #ffffff);
transform: translateY(-1px);
outline: none;
}
@media (max-width: 600px) {
.ttsd-booking-trigger {
width: 100%;
}
}