/* <-- дополнительный код к template --> */

@charset "UTF-8";


.video-responsive {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 2rem auto;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* === Стили для выделения абзацев === */

/* Вариант 1: Бежевое облачко */
.text-box-beige {
    background-color: #fdf9f0; /* Светло-бежевый */
    border: 1px solid #f5f0e6;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem auto;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* max-width: 800px; */
    font-family: 'Futura New Book', cursive;
    line-height: 1.6;
    color: #555;
    border-left: 6px solid #ed3131; /* Тонкая красная полоса слева — опционально */
}

/* Вариант 2: Вертикальная толстая красная черта слева */
.text-box-stripe {
    border-left: 6px solid #ed3131; /* Толстая красная полоса */
    background-color: #fff;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem auto;
    position: relative;
    max-width: 800px;
    font-family: 'PFKidsPro-GradeFive', cursive;
    line-height: 1.6;
    color: #444;
}

.text-box-stripe p {
    margin: 0;
    padding-left: 1.5rem;
}

/* Адаптивность */
@media (max-width: 767.98px) {
    .text-box-beige,
    .text-box-stripe {
        margin: 1rem 0.5rem;
        padding: 1.25rem;
        border-radius: 0.8rem;
    }

    .text-box-beige {
        border-left-width: 4px;
    }

    .text-box-stripe {
        border-left-width: 5px;
        padding-left: 1rem;
    }

    .text-box-stripe p {
        padding-left: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .text-box-beige,
    .text-box-stripe {
        padding: 1rem;
        margin: 0.75rem 0;
    }

    .text-box-stripe p {
        padding-left: 0.75rem;
        font-size: 0.95rem;
    }
}

/* ✅ 1. "Солнечный луч" — жёлтое сияние с иконкой */
.text-box-sun {
    background: linear-gradient(135deg, #fffce6, #fff8e1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 800px;
    position: relative;
    border: 1px solid #ffeb99;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.1);
    font-family: 'PFKidsPro-GradeFive', cursive;
    line-height: 1.6;
    color: #664d03;
}

.text-box-sun::before {
    content: "☀️";
    font-size: 1.5rem;
    position: absolute;
    top: -12px;
    left: 20px;
    background: #fffce6;
    padding: 0 6px;
    border-radius: 50%;
}

/* "Сердце" — красная закладка слева */
.text-box-heart {
    border-left: 8px solid #dc3545;
    background-color: #fff0f3;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem auto;
    /* max-width: 800px; */
    position: relative;
    border-radius: 0 1rem 1rem 0;
    font-family: 'PFKidsPro-GradeFive', cursive;
    line-height: 1.6;
    color: #7a1c2e;
}

.text-box-heart::before {
    content: "❤️";
    position: absolute;
    top: -8px;
    left: -4px;
    background: #dc3545;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

 /* 3. "Конвертик" — письмо от ребёнка */
.text-box-letter {
    background-color: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem auto;
    /* max-width: 800px; */
    font-family: 'PFKidsPro-GradeFive', cursive;
    line-height: 1.6;
    color: #495057;
    position: relative;
}

.text-box-letter::before {
    content: "✉️";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 0.5rem;
    font-size: 1.2rem;
}

/* 4. "Облако" — воздушное, как мысль */
.text-box-cloud {
    background-color: #f0f7ff;
    border: 1px solid #d0e7ff;
    border-radius: 1.5rem;
    padding: 1.5rem 1.8rem;
    margin: 1.5rem auto;
    /* max-width: 800px; */
    font-family: 'PFKidsPro-GradeFive', cursive;
    line-height: 1.6;
    color: #0d6efd;
    position: relative;
    box-shadow: 0 2px 12px rgba(13, 110, 253, 0.08);
}

.text-box-cloud::after {
    content: "💭";
    position: absolute;
    bottom: -12px;
    right: 30px;
    font-size: 1.4rem;
    background: #f0f7ff;
}

/* 5. "Карандаш" — как рисунок ребёнка */
.text-box-pencil {
    background-color: #fff;
    border-left: 1px solid #ddd;
    padding: 0.5rem 1rem;
    margin: 1.5rem auto;
    /* max-width: 800px; */
    font-family: 'PFKidsPro-GradeFive', cursive;
    line-height: 1.6;
    color: #212529;
    position: relative;
}

.text-box-pencil h1 {
    font-size: 35px;
    padding-left: 50px;
}

.text-box-pencil::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: repeating-linear-gradient(
        0deg,
        #ffe066,
        #ffe066 16px,
        #ffcc00 16px,
        #ffcc00 20px
    );
    border-radius: 2px;
}

.text-box-pencil::after {
    content: "🖍️";
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 1.1rem;
    background: white;
    padding: 0 4px;
}


@media (max-width: 767.98px) {
    .text-box-sun,
    .text-box-heart,
    .text-box-letter,
    .text-box-cloud,
    .text-box-pencil {
        padding: 1.25rem;
        margin: 1rem 0.75rem;
        border-radius: 0.8rem;
    }

    .text-box-sun::before,
    .text-box-heart::before,
    .text-box-letter::before,
    .text-box-cloud::after,
    .text-box-pencil::after {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .text-box-sun::before,
    .text-box-heart::before,
    .text-box-letter::before,
    .text-box-cloud::after,
    .text-box-pencil::after {
        top: -6px;
        left: 10px;
    }

    .text-box-heart::before {
        left: -2px;
    }
}






/* === НАША КОМАНДА — облачко и карточки === */

.team-section,
.volunteers-section {
    margin: 2rem 0;
}

/* Облачко для "Наша команда" */
.cloud-block {
    background: linear-gradient(135deg, #fffce6, #f5f9ff);
    border: 2px solid #ffeb99;
    border-radius: 2rem;
    padding: 2.5rem 1.5rem;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cloud-block::before,
.cloud-block::after {
    content: '';
    position: absolute;
    background: #fffce6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid #ffeb99;
}

.cloud-block::before {
    top: -20px;
    left: 15%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cloud-block::after {
    top: -15px;
    right: 18%;
    width: 30px;
    height: 30px;
}

.cloud-block__title {
    font-family: 'PFKidsPro-GradeFive', cursive;
    font-size: 1.8rem;
    color: #ed3131;
    margin-bottom: 1.5rem;
}

/* Сетка карточек */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Карточка сотрудника */
.team-card {
    background: white;
    border-radius: 1.2rem;
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    font-family: 'PFKidsPro-GradeFive', cursive;
    position: relative;
}

.president-first-screen__info_new{
    font-size: 0.95rem;
    margin-top: 0;
    max-width: 797px;
    width: 100%;

    font-family: "Futura New Book", sans-serif;
}



@media (max-width: 1279px) {
  .president-first-screen__info {
    width: 90%;
  }
}
@media (max-width: 767px) {
  .president-first-screen__info {
    font-size: 14px;
    width: 90%;
  }
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-card__img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f5f0e6;
    margin: 0 auto 0.75rem;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-card__name {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ed3131;
}

.team-card__position {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.team-card__contacts {
    font-size: 0.9rem;
    color: #555;
}

.team-card__contacts a {
    color: #007bff;
    text-decoration: none;
}

.team-card__contacts a:hover {
    text-decoration: underline;
}

/* Президент — особый стиль */
.team-card-president {
    border: 3px solid #ffc107;
}

.team-card-president .balloon {
    position: absolute;
    top: -20px;
    right: -10px;
    width: 30px;
    height: 50px;
    background: radial-gradient(circle, #ff4d4d, #c00);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(15deg);
    box-shadow: -4px -3px 8px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

.team-card-president .balloon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: #ccc;
}

/* Волонтёры — другое облачко */
.volunteer-cloud {
    background: #f0fff4;
    border: 2px dashed #a4d8c2;
    border-radius: 1.8rem;
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(164, 216, 194, 0.15);
}

.volunteer-cloud__title {
    font-family: 'PFKidsPro-GradeFive', cursive;
    font-size: 1.6rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.team-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(2) { animation-delay: 0.1s; }
.team-card:nth-child(3) { animation-delay: 0.2s; }
.team-card:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Адаптивность */
@media (max-width: 767.98px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    .cloud-block,
    .volunteer-cloud {
        padding: 1.8rem 1rem;
    }

    .cloud-block__title,
    .volunteer-cloud__title {
        font-size: 1.5rem;
    }

    .team-card__img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Анимация шарика */
@keyframes float {
    0% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-8px) rotate(20deg); }
    100% { transform: translateY(0) rotate(15deg); }
}
