/*
Theme Name: TOTWORDPRES v.1.0
Author: TOTWEBGENERATOR
Version: 1.0
Description: 
*/
.rank-math-breadcrumb p{
	line-height: 0;
    padding-bottom: 0;
}

.wp-block-columns {
    padding: 30px 0 30px 0;
    line-height: 1.6em;
    align-items: flex-start;
}

h1{
    font-size: 2.4em;
    line-height: 1.3em;
}

h2{
    font-size: 1.9em;
    line-height: 1.3em;
	  border-bottom: 4px dashed #ddd;  
}


h3{
    font-size: 1.6em;
    line-height: 1.3em;	
}
p{line-height: 1.6em;padding-bottom: 15px; }
.wp-block-quote>cite {
    display: block;
    line-height: 1.7em;
}

.wp-block-buttons {
    box-sizing: border-box;
    padding-bottom: 10px;
}
.wp-block-media-text {
    direction: ltr;
    display: grid;
    grid-template-columns: 50% 1fr;
    grid-template-rows: auto;
    padding: 20px 0 20px 0;
}


/* Глобальный контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Хедер */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e2e2e2;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Контент */
.site-content {
    padding: 0px 0;
}

/* Футер */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    font-size: 14px;
}

/* Вложенные контейнеры */
.site-header .header-inner,
.site-content .content-inner,
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}



.wp-block-site-logo img {
    height: auto;
    max-width: 100%;
    min-width: 145px;
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
  fill: currentColor;
  display: block;
  height: 110px;
  pointer-events: none;
  width: 110px;
}

.wp-block-polylang-language-switcher{
	list-style: none;
}


/* - Header  - */
.site-header {
    background: #fff;
    border-bottom: 3px solid #e2e2e2;
    padding: 15px 30px;
    width: 80%;
    margin: 0 auto;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-branding {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
.site-title {
    font-weight: bold;
}
.main-navigation {
    position: relative;
}
.main-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.main-menu li {
    position: relative;
}
.main-menu li a {
    text-decoration: none;
    color: #222;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.main-menu li:hover > .sub-menu {
    display: block;
    padding:10px;
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}
.sub-menu li {
    display: block;
        padding: 10px;
}
.sub-menu li a {
    padding: 0;
    display: block;
    font-size: 0.8em;
}
.menu-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* Бургер */
.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .main-navigation.open {
        display: block;
    }

    .main-menu {
        flex-direction: column;
        align-items: center;
    }

    .burger {
        display: block;
        text-align: center;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
    }

    .header-left,
    .header-center,
    .header-right {
        flex: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .logo-block {
        justify-content: center;
    }

    .site-branding {
        text-align: center;
    }
}
.main-menu-wrapper .menu-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 100%;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Подчёркивание — по наведению */
.main-menu-wrapper .menu-item::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.main-menu-wrapper .menu-item:hover::after {
  background: #fff;
}

/* Активный пункт (оставить подчёркивание) */
.main-menu-wrapper .current-menu-item > a,
.main-menu-wrapper .current_page_item > a {
  color: #fff;
}

.main-menu-wrapper .current-menu-item::after,
.main-menu-wrapper .current_page_item::after {
  background: #fff;
}
/* - BUTTONS  - */



.header-buttons,
.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #2e2e2e;
    color: #00ff90;
    border-radius: 8px;
    font-size: 18px;
    position: relative;
    text-decoration: none;
}

.badge-wrapper {
    position: relative;
}

.btn-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: red;
    color: #fff;
    font-size: 11px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-green {
    background-color: #00cc44;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.btn-dark {
    background-color: #3a3a3a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
}


/* - Хлебные крошки Автор Дата пуликации  - */

.page-meta {
  margin-bottom: 20px;
  font-size: 14px;
  color: #444;
}
.page-meta .breadcrumbs {
  margin-bottom: 10px;
  font-weight: 500;
}
.meta-info a {
  color: #333;
  text-decoration: none;
}
.meta-info a:hover {
  color: #D60000;
}
.breadcrumbs span {
  margin-right: 5px;
}

.page-meta-combined {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.page-meta-combined .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-meta-combined .meta-separator {
  color: #888;
  font-weight: bold;
}

.page-meta-combined img.avatar {
  border-radius: 50%;
}
.breadcrumbs-meta-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #555;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumbs-left {
  flex: 1 1 auto;
}

.breadcrumbs-right {
  flex: 1 1 auto;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-info-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-info-inline .avatar {
  border-radius: 50%;
  height: 28px;
  width: 28px;
}

.meta-separator {
  color: #999;
}




/* - Футер  - */

.site-footer {
  background: #1e1e1e;
  color: #fff;
  font-size: 14px;
  padding: 40px 0 20px;
}


.site-footer ul li {
	  list-style: none;
}
.footer-widgets {
  padding-bottom: 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-col {
  flex: 1 1 30%;
  min-width: 250px;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.footer-widget {
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding-top: 15px;
  font-size: 13px;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}














/* - Кнопки REGISTRATION и LOG IN   - */

.link-dollar,
.link-surprizebox {
  background: #2b2b2b;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: #00ff99;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}
.link-dollar:hover,
.link-surprizebox:hover {
  background: #444;
  transform: scale(1.05);
}

.ico__svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.surprizebox-notice {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: #fff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-registration,
.link-login {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  transition: 0.2s ease;
}

.link-registration {
  background: #00cc44;
}
.link-registration:hover {
  background: #009933;
}

.link-login {
  background: #3a3a3a;
}
.link-login:hover {
  background: #2a2a2a;
}




/* - Кнопки FOOTER Functionals  - */


.site-footer {
  background-color: #141414;
  padding: 40px 0 20px;
  color: #fff;
  font-size: 14px;
}

.footer-columns-6 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  border-radius: 12px;
  background: #1c1c1c;
  padding: 30px;
}

.footer-col {
  flex: 1 1 15%;
  min-width: 150px;
}

.footer-title {
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-widget a {
  color: #f44336;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: 0.2s;
}

.footer-widget a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
  background: #1c1c1c;
  padding: 20px 30px;
  border-radius: 12px;
  font-size: 13px;
  color: #ccc;
}

.footer-bottom-left,
.footer-bottom-right {
  flex: 1 1 45%;
}

.footer-bottom-right .social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer-bottom-right .social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #2c2c2c;
  color: #fff;
  font-size: 18px;
  transition: 0.2s;
}

.footer-bottom-right .social-icons a:hover {
  background: #f44336;
}

.footer-bottom-right .age-icon {
  background: red;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  padding: 10px;
  font-size: 14px;
  margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-columns-6 {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-right .social-icons {
    justify-content: center;
  }
}




/* - Кнопки коменты - */

.show-comments-button {
  background: linear-gradient(to bottom, #b11d1d, #4a0d0d);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: inherit;
}

.show-comments-button:hover {
  background: linear-gradient(to bottom, #a01414, #360a0a);
}





.toggle-comments-button {
  background: linear-gradient(to bottom, #b11d1d, #4a0d0d);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 20px;
}

.toggle-comments-button:hover {
  background: linear-gradient(to bottom, #a01414, #360a0a);
}

.comments-area {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

.comment-respond input,
.comment-respond textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 15px;
  border-radius: 6px;
}

.comment-respond input[type="checkbox"] {
  width: auto;
  margin-right: 5px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: inline-block;
  width: 32%;
  vertical-align: top;
}

@media (max-width: 768px) {
  .comment-form-author,
  .comment-form-email,
  .comment-form-url {
    width: 100%;
  }
}

.submit-comment-btn {
  background: #b11d1d;
  border: none;
  color: white;
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-comment-btn:hover {
  background: #930f0f;
}



/* Общая стилистика кнопок */
.wp-block-button .wp-block-button__link {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  color: #fff;
  border: none;
}

/* Красная кнопка */
.is-style-btn-red .wp-block-button__link {
  background: linear-gradient(to bottom, #b11d1d, #4a0d0d);
}
.is-style-btn-red .wp-block-button__link:hover {
  background: linear-gradient(to bottom, #9a1313, #3a0a0a);
}

/* Зелёная кнопка */
.is-style-btn-green .wp-block-button__link {
  background: linear-gradient(to bottom, #00a859, #006d38);
}
.is-style-btn-green .wp-block-button__link:hover {
  background: linear-gradient(to bottom, #00914e, #005a2c);
}

/* Синяя кнопка */
.is-style-btn-blue .wp-block-button__link {
  background: linear-gradient(to bottom, #0077cc, #004e99);
}
.is-style-btn-blue .wp-block-button__link:hover {
  background: linear-gradient(to bottom, #0066b2, #003f7a);
}

/* Чёрная кнопка */
.is-style-btn-black .wp-block-button__link {
  background: linear-gradient(to bottom, #333, #000);
}
.is-style-btn-black .wp-block-button__link:hover {
  background: linear-gradient(to bottom, #000, #222);
}

/* Золотая кнопка */
.is-style-btn-gold .wp-block-button__link {
  background: linear-gradient(to bottom, #ffd700, #c49700);
  color: #000;
}
.is-style-btn-gold .wp-block-button__link:hover {
  background: linear-gradient(to bottom, #e6be00, #a07f00);
}

/* Outline стиль (общий) */
.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
}

/* Outline + цвет */
.is-style-outline.is-style-btn-red .wp-block-button__link {
  color: #b11d1d;
  border-color: #b11d1d;
}
.is-style-outline.is-style-btn-red .wp-block-button__link:hover {
  background: #b11d1d;
  color: #fff;
}

.is-style-outline.is-style-btn-green .wp-block-button__link {
  color: #00a859;
  border-color: #00a859;
}
.is-style-outline.is-style-btn-green .wp-block-button__link:hover {
  background: #00a859;
  color: #fff;
}

.is-style-outline.is-style-btn-blue .wp-block-button__link {
  color: #0077cc;
  border-color: #0077cc;
}
.is-style-outline.is-style-btn-blue .wp-block-button__link:hover {
  background: #0077cc;
  color: #fff;
}

.is-style-outline.is-style-btn-black .wp-block-button__link {
  color: #333;
  border-color: #333;
}
.is-style-outline.is-style-btn-black .wp-block-button__link:hover {
  background: #333;
  color: #fff;
}

.is-style-outline.is-style-btn-gold .wp-block-button__link {
  color: #c49700;
  border-color: #c49700;
}
.is-style-outline.is-style-btn-gold .wp-block-button__link:hover {
  background: #c49700;
  color: #000;
}






/* Основной фон меню */
.main-menu-wrapper {
  background: linear-gradient(to right, #a00000, #2a2a2a);
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  overflow-x: auto;
}

/* Пункты меню */
.main-menu-wrapper .menu-item {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  font-weight: 600;
  color: #eee;
  font-size: 14px;
  position: relative;
  transition: background 0.2s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Наведение на пункт */
.main-menu-wrapper .menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Акцентный пункт меню */
.main-menu-wrapper .menu-item.highlighted {
  background-color: #ff0000;
  color: #fff;
  border-radius: 8px;
  padding: 0 18px;
}

/* Иконка внутри пункта */
.main-menu-wrapper .menu-item img,
.main-menu-wrapper .menu-item svg {
  height: 16px;
  width: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Стрелка ▼ */
.main-menu-wrapper .menu-item::after {
  content: '▼';
  font-size: 10px;
  margin-left: 6px;
  opacity: 0.6;
}

/* Убираем стрелку, если не нужно */
.main-menu-wrapper .menu-item.no-arrow::after {
  content: '';
}







.rank-math-list {
  max-width: 100%;
  margin: 20px auto;
  border-top: 1px solid #ddd;
}

.rank-math-list-item {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}

.rank-math-question {
  cursor: pointer;
  margin: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #111;
}

.faq-toggle-icon {
  display: inline-block;
  width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-right: 8px;
  font-size: 18px;
}

.rank-math-answer {
  display: none;
  padding: 12px 0 0 32px;
  font-size: 15px;
  color: #333;
}

/* Активный класс (показан) */
.rank-math-list-item.active .rank-math-answer {
  display: block;
}

.rank-math-list-item.active .faq-toggle-icon {
  transform: rotate(90deg); /* ▶️ → 🔽 визуально */
}


