shkola/wp-content/themes/dekart/assets/css/main-teachers.css
2026-10-08 17:37:39 +00:00

1444 lines
24 KiB
CSS

/* teachers */
.teacher-page .breadcrumbs {
position: initial !important;
}
/* advantages__block END */
/* page-teachers */
.page-teachers {
background-color: #fff;
}
.teachers_title {
font-family: 'Oswald';
font-style: normal;
font-weight: 600;
font-size: 60px;
line-height: 88px;
text-transform: uppercase;
color: var(--main-blue);
position: relative;
margin-bottom: 60px;
width: fit-content;
z-index: 1;
}
.teachers_title::after {
content: '';
position: absolute;
top: -60px;
right: -48px;
border-radius: 50%;
width: 147px;
height: 147px;
background: #FFD43E;
z-index: -1;
}
.list-teachers {
padding: 60px 0;
background-color: #F3F3F3;
position: relative;
z-index: 1;
}
.teachers-wrapper {
display: flex;
flex-wrap: wrap;
gap: 35px;
}
.teachers__item {
width: calc(25% - 27px);
border-radius: 15px;
overflow: hidden;
border: 1px solid transparent;
transition: .3s;
}
.teachers__item:hover {
border: 1px solid #FFD43E;
box-shadow: 0 0 4px #FFD43E;
}
.ourteacher-avatar a{
display: block;
height: 280px;
}
.teachers__item img {
width: 100%;
height: 100%;
object-fit: contain;
}
.page-o-nas .teachers__item img {
object-fit: contain;
max-height: 305px;
}
@media (max-width: 860px) {
.teachers_title {
font-size: 26px;
line-height: 40px;
margin-bottom: 35px;
}
.teachers_title::after {
width: 66px;
height: 66px;
top: -25px;
right: -25px;
}
.list-teachers {
padding: 70px 0;
background-color: #F3F3F3;
position: relative;
z-index: 1;
}
.list-teachers {
padding: 40px 0;
}
.teachers-wrapper {
gap: 15px;
margin-top: 40px;
}
.teachers__item {
width: calc(50% - 8px);
}
}
.our-teachers .buttons {
margin-top: 40px;
}
/* price END */
.our-teachers .buttons {
display: flex;
justify-content: center;
}
.teacher-description-wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
.teacher__stars_reviews {
color: #A0A0A0;
}
.teacher_name::after {
display: none;
}
.teacher-description .accordion .box__accordion .box__accordion_label::after {
right: 10px;
}
.teacher-about-wrapper {
display: flex;
flex-direction: column;
padding: 0 10px !important;
}
.teacher-about_content {
position: relative;
display: flex;
flex-direction: column;
padding-bottom: 20px;
}
.teacher-about_text {
font-weight: 300;
font-size: 16px;
line-height: 20px;
display: flex;
flex-direction: column;
overflow: hidden;
transition: 3s;
max-height: 150vh;
}
.more .teacher-about_text {
max-height: 170px;
}
.teacher-about_content .btn-more {
width: 100%;
position: absolute;
right: 0;
bottom: 0;
display: flex;
border: none;
justify-content: flex-end;
padding: 20px 0px 10px;
}
.teacher-about_content .btn-more span {
color: var(--main-background);
background: #f3f3f3;
}
.teachers-owl-prev,
.teachers-owl-next {
top: 50%
}
.teachers-owl-next {
right: 0;
}
.teacher-page .reviews {
padding: 40px 0;
}
.teacher-about .teacher_title {
margin-bottom: 2px;
}
.our-teachers {
overflow: hidden;
}
.our-teachers .container {
padding: 20px 90px 40px;
border-radius: 20px;
background-color: #F2F5F7;
}
.our-teachers_text {
font-family: 'Roboto';
font-weight: 300;
font-size: 16px;
line-height: 23px;
}
.teachers-owl {
margin-top: 30px;
overflow: hidden;
}
.teachers-owl .owl-stage-outer {
width: 100%;
}
.teachers-owl .owl-stage {
display: flex;
}
.teachers-owl_item {
overflow: hidden;
}
.ourteacher {
max-width: 236px;
display: flex;
flex-direction: column;
font-family: 'Oswald';
}
.ourteacher a {
width: 100%;
height: 236px;
border: 2px solid #006DB7;
display: flex;
}
.ourteacher img {
width: 100%;
height: auto;
object-fit: cover;
}
.ourteacher_title {
margin-top: 10px;
font-style: normal;
font-weight: 400;
font-size: 18px;
align-items: center;
text-align: center;
color: #000;
}
.teachers-owl_item img {
display: block;
width: 100%;
-webkit-transform-style: preserve-3d;
}
.ourteacher_name {
margin-top: 10px;
font-weight: 300;
font-size: 18px;
line-height: 20px;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
}
.our-teachers .owl-controls {
position: absolute;
left: 0;
bottom: 50% !important;
width: 100%;
}
.our-teachers .yellow-button {
margin-top: 22px;
}
.our-teachers .owl-carousel .owl-item {
display: flex;
justify-content: center;
}
.teachers-owl_item {
width: 450px;
}
.teacher-page .owl-next,
.teacher-page .owl-prev {
/* content: ""; */
width: 15px;
height: 15px;
background-image: url(../images/slider-arow.svg);
/* position: absolute; */
top: 50%;
transform: translateY(-50%);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
-webkit-background-size: 100%;
-moz-background-size: 100%;
-o-background-size: 100%;
background-size: 100%;
transition: .3s;
background-color: transparent;
}
.our-teachers .owl-next,
.our-teachers .owl-prev {
width: 20px;
height: 30px;
}
.teacher-page .owl-next {
transform: scale(-1, 1);
}
.our-teachers .owl-next {
top: calc(50% - 17px);
}
.teachers-owl {
padding: 0 30px;
}
@media (max-width:568px) {
.teachers-owl_item {
width: 290px;
}
}
.breadcrumbs-teacher-wrapper {
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.breadcrumbs-teacher .container {
padding: 0;
}
.about-teacher::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(134.27deg, #BF568E -3.32%, #1B6AB2 96.15%);
border-radius: 25px;
}
.teacher-description {
background: transparent;
}
.teacher__rating::before {
display: none;
}
.teacher__rating-img_foto {
border-radius: 50px;
width: 100%;
height: 100%;
object-fit: cover;
}
.teacher__rating-img::before {
display: none;
}
.teacher_name-wrapper .accordion {
gap: 10px;
}
.teacher_title {
margin-top: 20px;
font-size: 26px;
font-family: 'Oswald';
font-weight: 400;
color: #000;
margin-bottom: 15px;
}
.teacher-about_content .btn-more span {
background: #fff;
}
.teacher-page .box__accordion_content {
gap: 16px;
}
.teacher-page .taxonomy-block__name_logo {
width: 34px;
}
.teachers-owl-prev{
left: 0;
}
.teacher-page .owl-next,
.teacher-page .owl-prev {
width: 20px;
height: 27px;
position: absolute;
top: 0;
}
.teacher-page .owl-next {
top: -13px;
right: 0;
}
.our-teachers_text {
margin-top: 40px !important;
font-size: 18px;
}
.teachers-owl-wrapper {
position: relative;
padding: 0 40px
}
.teachers-owl {
padding: 0;
}
.single-course .our-teachers {
background-color: #fff;
}
@media (width > 860px) and (width < 1280px) {
.teachers_title {
font-size: 4.69vw;
line-height: 6.88vw;
margin-bottom: 4.69vw;
}
.teachers_title::after {
top: -4.69vw;
right: -3.75vw;
width: 11.48vw;
height: 11.48vw;
}
.list-teachers {
padding: 4.69vw 0;
}
.teachers-wrapper {
gap: 2.73vw;
}
.teachers__item {
width: calc(25% - 2.11vw);
border-radius: 1.17vw;
border: .08vw solid transparent;
}
.teachers__item:hover {
border: .08vw solid #FFD43E;
box-shadow: 0 0 .31vw #FFD43E;
}
.ourteacher-avatar a {
height: 21.88vw;
}
.page-o-nas .teachers__item img {
max-height: 23.83vw;
}
.our-teachers .buttons {
margin-top: 3.13vw;
}
.teacher-description .container {
padding: 2.19vw 0;
}
.teacher-description .accordion .box__accordion .box__accordion_label::after {
right: .78vw;
}
.teacher-about-wrapper {
padding: 0 .78vw !important;
}
.teacher-about_content {
padding-bottom: 1.56vw;
}
.teacher-about_text {
font-size: 1.25vw;
line-height: 1.56vw;
}
.more .teacher-about_text {
max-height: 13.28vw;
}
.teacher-about_content .btn-more {
padding: 1.56vw 0vw .78vw;
}
.teachers-owl-next {
right: 3.13vw;
}
.teacher-page .reviews {
padding: 3.13vw 0;
}
.teacher-about .teacher_title {
margin-bottom: .16vw;
}
.our-teachers .container {
padding: 1.56vw 7.03vw 3.13vw;
border-radius: 1.56vw;
}
.our-teachers_text {
font-size: 1.25vw;
line-height: 1.8vw;
}
.teachers-owl {
margin-top: 2.34vw;
}
.ourteacher {
max-width: 18.44vw;
}
.ourteacher a {
height: 18.44vw;
border: .16vw solid #006DB7;
}
.ourteacher_title {
margin-top: .78vw;
font-size: 1.41vw;
}
.ourteacher_name {
margin-top: .78vw;
font-size: 1.41vw;
line-height: 1.56vw;
}
.our-teachers .yellow-button {
margin-top: 1.72vw;
}
.teachers-owl_item {
width: 35.16vw;
}
.teacher-page .owl-next,
.teacher-page .owl-prev {
width: 1.17vw;
height: 1.17vw;
}
.our-teachers .owl-next,
.our-teachers .owl-prev {
width: 1.56vw;
height: 2.34vw;
}
.our-teachers .owl-next {
top: calc(50% - 1.33vw);
}
.teachers-owl {
padding: 0 2.34vw;
}
.about-teacher::before {
border-radius: 1.95vw;
}
.teacher__rating-img_foto {
border-radius: 3.91vw;
}
.teacher_name-wrapper .accordion {
gap: .78vw;
}
.teacher_title {
margin-top: 1.56vw;
font-size: 2.03vw;
margin-bottom: 1.17vw;
}
.teacher-page .box__accordion_content {
gap: 1.25vw;
}
.teacher-page .taxonomy-block__name_logo {
width: 2.66vw;
}
.teachers-owl-prev {
left: 3.13vw;
}
.teacher-page .owl-next,
.teacher-page .owl-prev {
width: 1.56vw;
height: 2.11vw;
}
.teacher-page .owl-next {
top: -1.02vw;
}
.our-teachers_text {
margin-top: 3.13vw !important;
font-size: 1.41vw;
}
}
@media (max-width:568px) {
.teachers-wrapper {
justify-content: center;
}
.teachers__item {
width: 100%;
max-width: 290px;
}
.ourteacher {
margin: 0 auto;
}
}
@media (max-width: 860px) {
.our-teachers_text {
margin-top: 20px !important;
font-size: 15px;
}
.our-teachers .container {
padding: 20px 15px 30px;
border-radius: 0;
background-color: #F2F5F7;
}
.contacts .teachers_title {
font-size: 40px;
margin-bottom: 20px;
}
.organization .teachers_title::after {
right: 50%;
}
.organization .teachers_title {
margin-bottom: 20px;
}
.about-teacher.container{
padding: 0 !important;
}
.breadcrumbs-teacher .container {
padding: 0 10px 0;
}
.breadcrumbs-teacher {
padding: 0px 0 30px;
}
.teacher-page .breadcrumbs {
gap: 10px 30px;
flex-wrap: wrap;
padding: 10px 0 30px !important;
}
.teacher-description-wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
.teacher-description {
padding: 10px;
background: #F3F3F3;
}
.about-teacher::before {
display: none;
}
.teacher-description-wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
.teacher__rating-img:before {
display: flex;
content: "";
position: absolute;
inset: -2px;
z-index: 0;
border-radius: 19px;
background: linear-gradient(134.27deg, #BF568E -3.32%, #1B6AB2 96.15%);
}
.teacher__rating-img_foto {
position: relative;
width: calc(100% - 12px);
height: calc(100% - 12px);
object-fit: cover;
border-radius: 45px;
}
.teacher__stars_reviews {
color: #A0A0A0;
}
.teacher_name::after {
display: none;
}
.teacher-about .teacher_title {
margin-bottom: 9px;
}
.teacher-page .certificates_title {
margin-top: 20px;
justify-content: center;
}
.teacher-about_text {
max-height: 300vh;
}
}
.review-card__teacher-link {
color: var(--accent);
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-color: currentColor;
transition: color .2s, font-weight .2s;
font-weight: 500;
}
.review-card__teacher-link:hover {
color: var(--accent-hover);
font-weight: 700;
}
.teachers-cards__grid {
--tcg-gap: clamp(14px, 1.6vw, 22px);
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--tcg-gap);
width: 100%;
}
.teachers-cards__grid > .teachers-card {
width: calc((100% - 3 * var(--tcg-gap)) / 4 - 0.02px);
height: auto;
}
@media (min-width: 1440px) {
.teachers-cards__grid > .teachers-card {
width: calc((100% - 4 * var(--tcg-gap)) / 5 - 0.02px);
}
}
@media (max-width: 1024px) {
.teachers-cards__grid > .teachers-card {
width: calc((100% - 1 * var(--tcg-gap)) / 2 - 0.02px);
}
}
@media (max-width: 768px) {
.teachers-cards__grid > .teachers-card {
width: 100%;
}
}
.teachers-card {
display: flex;
flex-direction: column;
height: 100%;
background: var(--color-bg-card, #FFFFFF);
border: 1px solid var(--color-border, #E2E8F0);
border-radius: var(--radius-lg, 24px);
overflow: hidden;
transition: box-shadow .25s, transform .25s;
}
.teachers-card:hover {
box-shadow: var(--shadow-md, 0 8px 24px rgba(15, 23, 42, .08));
transform: translateY(-3px);
}
.teachers-card.is-hidden {
display: none;
}
.teachers-card__media {
position: relative;
aspect-ratio: 5 / 4;
overflow: hidden;
background: var(--color-primary-light, #EFF6FF);
}
.teachers-card__photo {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center 28%;
display: block;
}
.teachers-card__photo--empty {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, color-mix(in oklab, var(--color-primary), transparent 88%), color-mix(in oklab, var(--color-secondary), transparent 84%));
color: var(--color-primary, #2563EB);
font-family: var(--font-display, inherit);
font-weight: 800;
font-size: 2rem;
line-height: 1;
object-fit: unset;
}
.teachers-card__badge {
position: absolute;
left: 10px;
bottom: 10px;
max-width: calc(100% - 20px);
display: inline-block;
padding: 4px 10px;
border-radius: var(--radius-pill, 100px);
background: rgba(255, 255, 255, .9);
color: var(--color-primary, #2563EB);
font-size: 0.75rem;
font-weight: 600;
line-height: 1.25;
text-align: center;
text-wrap: balance;
box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
}
.teachers-card__body {
display: flex;
flex-direction: column;
flex: 1;
gap: 6px;
padding: clamp(14px, 1.4vw, 18px);
text-align: center;
}
.teachers-card__name {
font-family: var(--font-display, inherit);
font-size: clamp(1.0625rem, 1vw, 1.1875rem);
font-weight: 700;
line-height: 1.24;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
overflow-wrap: anywhere;
text-wrap: balance;
}
.teachers-card__name a {
color: inherit;
text-decoration: none;
}
.teachers-card__name a:hover {
color: var(--color-primary, #2563EB);
}
.teachers-card__direction {
font-size: 0.9375rem;
font-weight: 600;
line-height: 1.3;
color: var(--color-primary, #2563EB);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.teachers-card__about {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
font-size: 0.875rem;
line-height: 1.5;
color: var(--color-text-muted, #475569);
margin: 0;
}
.teachers-card__meta {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 4px 10px;
margin-top: auto;
padding-top: 6px;
font-size: 0.8125rem;
line-height: 1.3;
color: var(--color-text-muted, #475569);
}
.teachers-card__tenure {
font-size: 0.8125rem;
color: var(--color-text, #1E293B);
}
.teachers-card__tenure strong {
font-weight: 700;
}
.teachers-card__rating {
display: inline-flex;
align-items: center;
gap: 4px;
}
.teachers-card__stars {
display: inline-flex;
gap: 1px;
color: var(--color-border, #CBD5E1);
}
.teachers-card__star {
width: 13px;
height: 13px;
}
.teachers-card__star.is-filled {
color: #F59E0B;
}
.teachers-card__rating-num {
font-size: 0.8125rem;
font-weight: 700;
color: var(--color-text-muted, #475569);
}
.teachers-card__reviews {
font-size: 0.8125rem;
font-weight: 600;
color: var(--color-primary, #2563EB);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color .2s, color .2s;
}
.teachers-card__reviews:hover {
border-bottom-color: currentColor;
}
/* CTA-зона прижата к низу карточки */
.teachers-card__actions {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 10px;
}
.teachers-card__btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 9px 16px;
border: none;
border-radius: var(--radius-pill, 100px);
background: var(--color-primary, #2563EB);
color: #FFFFFF;
font-size: 0.875rem;
font-weight: 700;
line-height: 1.2;
text-decoration: none;
cursor: pointer;
transition: background .2s, transform .2s;
}
.teachers-card__btn:hover {
background: var(--color-primary-dark, #1D4ED8);
transform: translateY(-1px);
color: #FFFFFF;
}
.teachers-card__link {
text-align: center;
font-size: 0.8125rem;
font-weight: 600;
color: var(--color-text-muted, #475569);
text-decoration: none;
transition: color .2s;
}
.teachers-card__link:hover {
color: var(--color-primary, #2563EB);
}
@media (prefers-reduced-motion: reduce) {
.teachers-card,
.teachers-card__btn { transition: none; }
.teachers-card:hover,
.teachers-card__btn:hover { transform: none; }
}
.teachers-cards__card {
background: var(--color-bg);
border-radius: var(--pksh-radius-card, 24px);
overflow: hidden;
box-shadow: 0 4px 16px rgba(15,23,42,.08);
transition: transform 0.25s ease, box-shadow 0.25s ease;
display: flex;
flex-direction: column;
height: 100%;
position: relative;
}
/* Карточка-ссылка на страницу педагога */
.teachers-cards__card-link {
position: absolute;
inset: 0;
z-index: 1;
border-radius: inherit;
}
.teachers-cards__card-link:focus-visible {
outline: 3px solid var(--color-primary);
outline-offset: -3px;
}
.teachers-cards__card .teachers-cards__btn {
position: relative;
z-index: 2;
}
.teachers-cards__card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
}
.teachers-cards__card-top {
background: linear-gradient(135deg, color-mix(in oklab, var(--color-primary), transparent 95%), color-mix(in oklab, var(--color-secondary), transparent 92%));
display: flex;
justify-content: center;
padding: clamp(24px, 3vw, 32px) clamp(16px, 2vw, 24px) clamp(16px, 2vw, 20px);
}
.teachers-cards__photo {
width: clamp(120px, 12vw, 140px);
height: clamp(120px, 12vw, 140px);
border-radius: 50%;
object-fit: cover;
border: 4px solid var(--color-bg);
box-shadow: 0 4px 16px color-mix(in oklab, var(--color-text), transparent 90%);
}
.teachers-cards__card-body {
padding: clamp(16px, 2vw, 20px) clamp(18px, 2.5vw, 24px) clamp(20px, 2.5vw, 24px);
display: flex;
flex-direction: column;
gap: 10px;
flex: 1;
}
.teachers-cards__name {
font-size: clamp(1rem, 1.2vw, 1.125rem);
font-weight: 700;
line-height: 1.3;
color: var(--color-text);
text-align: center;
margin: 0;
}
.teachers-cards__subj {
font-size: clamp(0.9375rem, 1vw, 1rem);
line-height: 1.4;
color: var(--color-primary);
text-align: center;
font-weight: 600;
margin: 0 0 2px;
}
.teachers-cards__desc {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
font-size: 0.9375rem;
line-height: 1.5;
color: #334155;
text-align: center;
margin: 0 0 4px;
}
.teachers-cards__meta {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
margin: 4px 0 12px;
}
.teachers-cards__meta-badge {
display: inline-flex;
padding: 4px 12px;
font-size: 0.8125rem;
font-weight: 600;
color: var(--color-primary-dark);
background: var(--color-primary-light, #EFF6FF);
border-radius: var(--radius-pill, 100px);
white-space: nowrap;
}
.teachers-cards__meta-icon {
vertical-align: -2px;
margin-right: 4px;
}
.teachers-cards__meta-exp {
display: inline-flex;
padding: 4px 12px;
font-size: 0.8125rem;
font-weight: 600;
color: var(--pksh-text-warm);
background: color-mix(in oklab, var(--color-bg-alt), var(--color-warning) 12%);
border-radius: var(--radius-pill, 100px);
white-space: nowrap;
}
.teachers-cards__btn {
display: block;
width: 100%;
padding: 12px;
border: none;
border-radius: var(--radius-pill, 100px);
font-family: inherit;
font-size: 1rem;
font-weight: 700;
color: var(--color-text-on-dark);
cursor: pointer;
background: var(--pksh-gradient-btn-bright);
text-align: center;
text-decoration: none;
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
box-shadow: var(--pksh-btn-shadow-bright);
margin-top: auto;
min-height: 44px;
}
.teachers-cards__btn:hover {
transform: translateY(-2px);
box-shadow: var(--pksh-btn-shadow-bright-hover);
}
.teachers-cards__btn:active {
transform: scale(0.97);
}
.teachers-cards__btn:focus-visible {
outline: 3px solid var(--color-primary);
outline-offset: 3px;
}
@media (max-width: 639px) {
.bento .teachers-cards__scroll-x {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scroll-snap-type: x mandatory;
padding: 2px 2px 20px;
min-width: 0;
}
.bento .teachers-cards__wrapper {
display: flex;
flex-wrap: nowrap;
gap: 16px;
justify-content: flex-start;
padding-bottom: 4px;
min-width: 0;
}
.bento .teachers-cards__item {
flex-shrink: 0;
width: calc(100vw - 80px);
max-width: 320px;
scroll-snap-align: start;
min-width: 260px;
}
}
.teachers-cards__scroll-hint {
display: none;
font-size: 0.875rem;
color: var(--color-text-muted, #475569);
text-align: right;
margin-bottom: 8px;
animation: comparison-fade 3s ease-out forwards;
animation-delay: 1s;
opacity: 0;
}
@media (max-width: 768px) {
.page-family-classes .teachers-cards__scroll-hint {
display: block;
}
}
/* content-visibility (front-page moved to */
.teachers-cards {
content-visibility: auto;
contain-intrinsic-size: auto 550px;
}
.teachers-cards__footer {
display: flex;
justify-content: center;
padding: 28px 0 0;
grid-column: 1 / -1;
}
.teachers-cards__all-link {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 1rem;
font-weight: 600;
color: var(--color-primary, #2563EB);
text-decoration: none;
transition: gap 0.2s ease, color 0.2s ease;
padding: 8px 16px;
border-radius: var(--radius-sm, 12px);
background: var(--color-primary-light, #EFF6FF);
}
.teachers-cards__all-link:hover {
gap: 12px;
color: var(--color-primary-dark, #1D4ED8);
background: color-mix(in oklab, var(--color-primary-light, #EFF6FF), transparent 10%);
}
.teachers-cards__all-link svg {
flex-shrink: 0;
transition: transform 0.2s ease;
}
.teachers-cards__all-link:hover svg {
transform: translateX(2px);
}
.reviews-front__teacher {
font-size: 0.875rem;
color: var(--color-text-muted, #475569);
margin: 0;
}
.reviews-front__teacher span {
font-weight: 600;
color: var(--color-text, #0F172A);
}
@media (max-width: 768px) {
.teachers-card__btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.teachers-card__link { padding-block: 10px; }
.teachers-card__reviews { padding-block: 8px; }
}