/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

/* Размещение таксономий на персональной странице ведущего */
.entry-taxonomies {
    float: none !important;
}

/*Контакты на листе контактов*/
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Расстояние между строками */
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Расстояние между иконкой и текстом */
}

/* Размер фото ведущего */
.em-item-image2 .em-item-image2 img {
    width: 250px;  /* Устанавливаем ширину изображения на 250px */
    height: auto;  /* Сохраняем пропорции изображения */
    display: block; /* Это важно для выравнивания изображения */
    margin-left: auto; /* Центрируем изображение по горизонтали */
    margin-right: auto; /* Центрируем изображение по горизонтали */
    padding: 0; /* Убираем отступы */
    border: 0;  /* Убираем границу */
}

/* Event Manager кнопка поиск */
.em.pixelbones.input .button.button-primary, .em.pixelbones.input button.button-primary, .em.pixelbones.input input[type=submit].button-primary, .em.pixelbones.input input[type=reset].button-primary, .em.pixelbones.input input[type=button].button-primary,
.em.pixelbones .input .button.button-primary, .em.pixelbones .input button.button-primary, .em.pixelbones .input input[type=submit].button-primary, .em.pixelbones .input input[type=reset].button-primary, .em.pixelbones .input input[type=button].button-primary,
.em.pixelbones .button.button-primary.input, .em.pixelbones button.button-primary.input, .em.pixelbones input[type=submit].button-primary.input, .em.pixelbones input[type=reset].button-primary.input, .em.pixelbones input[type=button].button-primary.input {
  background-color: #0A7257 !important;
  border-color: #0A7257 !important;
}

/* Event Manager фильтр мероприятия */
.em-filters {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.em-filters label {
    font-weight: bold;
    margin-right: 5px;
}

.em-filters select {
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.em-filters .em-filter-btn,
.em-filters .em-clear-filter-btn {
    background-color: #0A7257;
    color: white;
    padding: 2px 8px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    margin-left: 20px; /* Отступ слева */
}

.em-filters .em-clear-filter-btn {
    background-color: #e2e2e2;
    margin-left: 10px;
}

.em-filters .em-filter-btn:hover,
.em-filters .em-clear-filter-btn:hover {
    background-color: #04513F;
}

.em-filters .em-clear-filter-btn:hover {
    background-color: #c1c1c1;
}

/*************************************************************/
/* ГЛАВНАЯ СТРАНИЦА */
/*************************************************************/
/*************************************************************/
/* ЕДИНЫЕ СТИЛИ ДЛЯ СТРАНИЦ TINGAME */
/*************************************************************/
.tg-page{--tg-bg:#fbf7ef;--tg-card:#fff;--tg-soft:#f4ead8;--tg-accent:#a96f2d;--tg-accent-dark:#70451e;--tg-green:#4f7546;--tg-green-soft:#eef6e8;--tg-green-border:#cfdcc8;--tg-text:#2d261f;--tg-muted:#6f665d;--tg-border:#e7d8c2;--tg-shadow:0 14px 34px rgba(74,50,26,.10);width:100%;max-width:100%;overflow:hidden;color:var(--tg-text);font-family:inherit;line-height:1.65}.tg-page *{box-sizing:border-box}.tg-page a{color:inherit}.tg-page img{display:block;width:100%;height:auto}.tg-page br{display:none}
.tg-section{width:100%;margin:0 0 42px}.tg-band{background:var(--tg-bg);padding:34px 24px}.tg-hero{width:100%;margin:0 0 42px;border:1px solid var(--tg-border);border-radius:30px;padding:38px 34px;box-shadow:var(--tg-shadow);background:radial-gradient(circle at 12% 18%,rgba(226,196,153,.58),transparent 30%),radial-gradient(circle at 88% 12%,rgba(83,107,77,.18),transparent 28%),linear-gradient(135deg,#fffaf1 0%,#f1e2cd 52%,#fff8ec 100%)}.tg-host-page .tg-hero{border-color:var(--tg-green-border);box-shadow:0 14px 34px rgba(54,82,48,.11);background:radial-gradient(circle at 12% 18%,rgba(168,194,145,.42),transparent 30%),radial-gradient(circle at 90% 10%,rgba(83,107,77,.18),transparent 28%),linear-gradient(135deg,#f7fbf2 0%,#e7f0de 52%,#f4faef 100%)}
.tg-label{display:inline-flex;align-items:center;width:fit-content;margin:0 0 16px;padding:8px 14px;border-radius:999px;border:1px solid var(--tg-border);background:rgba(255,255,255,.76);color:var(--tg-accent-dark);font-size:14px;font-weight:800;line-height:1.2}.tg-host-page .tg-label{border-color:var(--tg-green-border);color:var(--tg-green)}
.tg-hero h1{margin:0 0 18px;font-size:clamp(32px,4.8vw,52px);line-height:1.08;letter-spacing:-.035em;color:#21170f}.tg-host-page .tg-hero h1{color:#182716}.tg-title{margin:0 0 14px;font-size:clamp(28px,4vw,40px);line-height:1.16;letter-spacing:-.025em;color:#241911}.tg-subtitle{margin:0 0 28px;color:var(--tg-muted);font-size:18px;max-width:860px}.tg-lead{margin:0 0 18px;font-size:19px;line-height:1.55;color:#493f36}.tg-host-page .tg-lead{color:#42523f}.tg-lead strong{color:#21170f}.tg-host-page .tg-lead strong{color:#182716}.tg-note{margin:18px 0 0;color:var(--tg-muted);font-size:15px}
.tg-hero-grid,.tg-grid-2,.tg-grid-3,.tg-grid-4,.tg-price-list,.tg-steps,.tg-list-cards,.tg-gallery{display:grid;gap:18px}.tg-hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(300px,.96fr);gap:30px;align-items:start}.tg-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tg-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tg-steps{grid-template-columns:repeat(2,minmax(0,1fr));counter-reset:tgstep}.tg-price-list,.tg-list-cards{grid-template-columns:1fr}.tg-gallery{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.tg-directions-images{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:24px}
.tg-card,.tg-step,.tg-price,.tg-list-card{min-width:0;background:var(--tg-card);border:1px solid var(--tg-border);border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(80,54,26,.07)}.tg-small-card{min-height:0;padding:14px 10px}.tg-card h3,.tg-step h3,.tg-price h3,.tg-list-card h3{margin:0 0 10px;font-size:20px;line-height:1.22;color:#2a1d14}.tg-card p,.tg-step p,.tg-price p,.tg-list-card p{margin:0;color:var(--tg-muted)}.tg-center{text-align:center}.tg-icon{width:50px;height:50px;margin:0 auto 14px;border-radius:17px;background:linear-gradient(135deg,#f4e2c5,#dfc093);display:flex;align-items:center;justify-content:center;font-size:25px;line-height:1}.tg-host-page .tg-icon{background:linear-gradient(135deg,#e7f0de,#cfdcc8)}
.tg-actions{width:100%;display:flex!important;flex-wrap:wrap;justify-content:center!important;align-items:center!important;gap:12px;margin:24px auto 0;text-align:center}.tg-btn{float:none!important;clear:both!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;width:auto;max-width:100%;padding:12px 20px;margin-left:auto!important;margin-right:auto!important;border-radius:12px;border:1px solid transparent;text-decoration:none!important;font-weight:900;text-align:center}.tg-actions .tg-btn{margin-left:0!important;margin-right:0!important}.tg-btn-primary{background:linear-gradient(135deg,var(--tg-accent),#7b491d);color:#fff!important;box-shadow:0 10px 24px rgba(128,76,30,.20)}.tg-host-page .tg-btn-primary{background:linear-gradient(135deg,#5f7f50,#3f6339);box-shadow:0 10px 24px rgba(63,99,57,.20)}.tg-btn-secondary{background:rgba(255,255,255,.78);border-color:var(--tg-border);color:var(--tg-accent-dark)!important}
.tg-hero-image,.tg-image-link{overflow:hidden;border:1px solid rgba(231,216,194,.9);border-radius:26px;background:#fff;box-shadow:0 12px 34px rgba(80,54,26,.09)}.tg-hero-image{box-shadow:0 18px 42px rgba(80,54,26,.15)}.tg-image-link{display:block;text-decoration:none!important}.tg-image-link img,.tg-hero-image img{aspect-ratio:3/2;object-fit:cover}.tg-direction-card{overflow:hidden;background:#fff;border:1px solid var(--tg-border);border-radius:26px;box-shadow:0 12px 34px rgba(80,54,26,.09)}.tg-direction-card .tg-image-link{border:0;border-radius:0;box-shadow:none}.tg-image-caption{padding:18px 20px 20px;text-align:center}.tg-image-caption h3{margin:0 0 8px;font-size:21px;line-height:1.25;color:#2a1d14}.tg-image-caption p{margin:0;color:var(--tg-muted)}.tg-image-caption .tg-actions{margin-top:18px}
.tg-highlight,.tg-green-box{border-radius:28px;padding:32px;box-shadow:var(--tg-shadow)}.tg-highlight{background:linear-gradient(135deg,#fff7ea,#efe0c7);border:1px solid var(--tg-border)}.tg-green-box{background:var(--tg-green-soft);border:1px solid var(--tg-green-border)}.tg-check-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px}.tg-check-list li{position:relative;margin:0;padding-left:34px;color:#40362d}.tg-check-list li:before{content:"✓";position:absolute;left:0;top:1px;width:23px;height:23px;border-radius:50%;background:var(--tg-green);color:#fff;font-size:14px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.tg-step{counter-increment:tgstep;text-align:center}.tg-step:before{content:counter(tgstep);width:38px;height:38px;margin:0 auto 14px;border-radius:50%;background:var(--tg-accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900}.tg-host-page .tg-step:before{background:var(--tg-green)}.tg-step p{font-size:15px}.tg-info,.tg-trust{background:#fff;border-left:5px solid var(--tg-green);border-radius:20px;padding:22px 24px;box-shadow:0 10px 26px rgba(80,54,26,.06)}.tg-trust{border-left-color:var(--tg-accent)}.tg-info p,.tg-trust p{margin:0;color:#473c33}.tg-faq{display:grid;gap:12px}.tg-faq details{background:#fff;border:1px solid var(--tg-border);border-radius:18px;padding:18px 20px}.tg-faq summary{cursor:pointer;font-weight:900;color:#2a1d14}.tg-faq p{margin:12px 0 0;color:var(--tg-muted)}
.tg-cta{background:radial-gradient(circle at 12% 20%,rgba(255,255,255,.22),transparent 26%),linear-gradient(135deg,#70451e,var(--tg-accent));border-radius:30px;padding:38px;color:#fff;box-shadow:0 18px 42px rgba(100,55,22,.22)}.tg-host-page .tg-cta{background:radial-gradient(circle at 12% 20%,rgba(255,255,255,.22),transparent 26%),linear-gradient(135deg,#3f6339,#5f7f50)}.tg-cta h2{margin:0 0 14px;color:#fff;font-size:clamp(28px,4vw,40px);line-height:1.15}.tg-cta p{margin:0 0 24px;color:rgba(255,255,255,.9);font-size:18px}.tg-cta .tg-btn-primary{background:#fff;color:#774719!important;box-shadow:none}.tg-host-page .tg-cta .tg-btn-primary{color:#3f6339!important}.tg-cta .tg-btn-secondary{background:rgba(255,255,255,.12);color:#fff!important;border-color:rgba(255,255,255,.35)}
.tg-link-list{display:grid;gap:12px;margin-top:18px}.tg-link-list a,.tg-contact-line{display:block;background:#fff;border:1px solid var(--tg-border);border-radius:14px;padding:13px 16px;text-decoration:none!important;color:var(--tg-accent-dark)!important;font-weight:800}.tg-contact-line{color:#473c33!important;font-weight:700}.tg-gallery-card{overflow:hidden;background:#fff;border:1px solid var(--tg-border);border-radius:22px;box-shadow:0 10px 28px rgba(80,54,26,.07)}.tg-gallery-card img{aspect-ratio:3/2;object-fit:cover}.tg-gallery-card-body{padding:18px;text-align:center;display:flex;flex-direction:column;align-items:center}.tg-gallery-card h3{margin:0 0 8px;font-size:19px;line-height:1.25}.tg-gallery-card p{margin:0 0 14px;color:var(--tg-muted);font-size:15px;line-height:1.45}.tg-price strong{display:block;margin:0 0 12px;color:var(--tg-accent-dark);font-size:28px;line-height:1.15}
@media (max-width:980px){.tg-hero-grid,.tg-grid-2,.tg-grid-3,.tg-grid-4{grid-template-columns:1fr}.tg-directions-images{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){.tg-section{margin-bottom:34px}.tg-hero,.tg-highlight,.tg-green-box,.tg-cta,.tg-band{padding:24px 20px;border-radius:22px}.tg-lead{font-size:17px}.tg-actions{flex-direction:column}.tg-btn{width:100%!important}.tg-steps,.tg-gallery,.tg-directions-images{grid-template-columns:1fr!important}}
