/*
Theme Name: Vibez
Theme URI: http://vibez.elated-themes.com
Description: A Dynamic Multi-concept Theme for Dance Studios and Instructors
Author: Elated Themes
Author URI: http://themeforest.net/user/elated-themes
Text Domain: vibez
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Version: 1.8.1
License: GNU General Public License
License URI: licence/GPL.txt

CSS changes can be made in files in the /css/ folder. This is a placeholder file required by WordPress, so do not delete it.

*/

#wpcf7-f15302-o1 p{ margin:10px; }

.wpcf7 label{
display:block;
margin-top:-10px;
}

.wpcf7-submit:active {
    display: none;
}

/* Контейнер для карточек */
.teachers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Выравнивание по центру */
}

/* Карточки преподавателей */
.teacher-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 250px; /* Максимальная ширина карточки */
}

/* Фото преподавателей */
.teacher-card img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Обрезает фото по центру */
    border-radius: 15px 15px 0 0;
}

/* Название преподавателя */
.teacher-card h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin: 10px 0 5px;
}

/* Описание (направление танца) */
.teacher-card p {
    font-size: 14px;
    text-align: center;
    color: #aaa;
}

/* Кнопка "Вступить в чат" — прозрачная с белой обводкой */
.join-chat {
    width: 90%;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
    background: transparent;
    border: 1.5px solid white;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* При наведении — немного приглушается */
.join-chat:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ddd;
    border-color: #ddd;
}


.consent-text {
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  padding: 0 5px;
  box-sizing: border-box;
}

/* Обеспечиваем отступ снизу от текста до кнопки */
.wpcf7-form .wpcf7-submit {
  margin-top: 20px !important;
}

/* Стилизация ссылки */
.consent-text a {
  color: #ccc;
  text-decoration: underline;
}

.consent-text a:hover {
  color: #fff;
}

<style>
.cookie-dismiss {
  all: unset;
  color: black !important;
  font-weight: bold !important;
  font-size: 15px !important;
  cursor: pointer;
  text-decoration: none !important;
}
</style>
