/* ============================================
   Neon Theme - Зелёные тона + красная неоновая подсветка
   ============================================ */

/* --- Зелёная цветовая схема --- */
body,
.td-main-content-wrap,
.td-category-grid,
.td-header-menu-wrap-full,
.td-header-menu-wrap,
.td-header-top-menu-full,
.td-header-style-1 .td-header-top-menu-full,
.td-banner-wrap-full {
  background-color: #0d1f0d !important;
}

.td-container,
.td-main-content-wrap,
.td-opasvet-container,
.td-block-title-wrap,
.block-title {
  background-color: transparent;
}

.td-header-menu-wrap-full,
.td-header-menu-wrap,
.td-header-gradient {
  background: linear-gradient(180deg, #0d1f0d 0%, #152815 50%, #0d1f0d 100%) !important;
}

.td-main-content-wrap,
.td-category-grid {
  background: linear-gradient(180deg, #0d1f0d 0%, #0f2610 100%) !important;
}

.sf-menu > li > a,
.td-header-menu-wrap .sf-menu > li > a {
  color: #4ade80 !important;
}

.sf-menu > li > a:hover,
.sf-menu > li.current-menu-item > a {
  color: #22c55e !important;
}

.entry-title a,
.td-module-title a {
  color: #86efac !important;
}

.entry-title a:hover,
.td-module-title a:hover {
  color: #22c55e !important;
}

a {
  color: #4ade80;
}

a:hover {
  color: #22c55e;
}

/* --- Скрыть дату поста --- */
.td-post-date {
  display: none !important;
}

/* --- Скрыть описания постов на главной --- */
body.home .td-module-excerpt,
body.home .td-excerpt {
  display: none !important;
}

/* --- Скрыть надпись FEED --- */
body.home .td-page-header,
body.page-user-feed .td-page-header,
body.home h1.entry-title.td-page-title,
body.page-user-feed h1.entry-title.td-page-title {
  display: none !important;
}

/* --- Шапка в 2 раза меньше --- */
.td-header-wrap,
.td-banner-wrap-full,
.td-header-sp-logo,
.td-header-row.td-header-header {
  min-height: 45px !important;
  height: auto !important;
}

.td-header-top-menu-full {
  min-height: 28px !important;
  padding: 4px 0 !important;
}

.td-header-style-1 .td-header-sp-logo img {
  max-height: 40px !important;
}

.td-header-style-1 .td-logo-wrap-full {
  min-height: 50px !important;
  line-height: 50px !important;
}

.td-header-style-1 .td-header-sp-logo {
  width: 180px !important;
}

.td-header-menu-wrap-full .td-header-menu-wrap,
.td-header-main-menu {
  min-height: 38px !important;
  padding: 6px 0 !important;
}

.sf-menu > li > a {
  padding: 8px 14px !important;
  font-size: 13px !important;
}

.td-header-style-2 .td-header-sp-logo img,
.td-header-style-3 .td-header-sp-logo img,
.td-header-style-4 .td-header-sp-logo img,
.td-header-style-5 .td-header-sp-logo img,
.td-header-style-6 .td-header-sp-logo img,
.td-header-style-7 .td-header-sp-logo img,
.td-header-style-8 .td-header-sp-logo img,
.td-header-style-9 .td-header-sp-logo img,
.td-header-style-10 .td-header-sp-logo img,
.td-header-style-11 .td-header-sp-logo img,
.td-header-style-12 .td-header-sp-logo img {
  max-height: 40px !important;
}

/* --- Закруглённые карточки --- */
.td_module_wrap,
.td-module-thumb,
.td-big-grid-post .td-module-thumb,
.td-post-category,
.td-related-title > .td-related-left,
.td-related-title > .td-related-right,
.td-block-row .td-module-thumb,
.td-category-grid .td-module-thumb {
  border-radius: 16px !important;
}

.td-module-thumb { overflow: hidden; }
.td_module_wrap { overflow: visible; }

/* --- Закруглённые кнопки --- */
button, input[type="submit"], input[type="button"], input[type="reset"],
.td-read-more a, .td-load-more-wrap a, .td_ajax_load_more,
.td-post-category, .td-category-siblings .td-category a,
.td-category-siblings .td-subcat-more, .td-pulldown-filter-display-option,
.td-next-prev-wrap a, .woocommerce .button, .woocommerce a.button,
.sf-menu > li > a, .td_module_comments a,
.td-related-title > .td-related-left, .td-related-title > .td-related-right,
.comment-form input[type="submit"], .wpcf7-submit {
  border-radius: 12px !important;
}

/* --- Красная неоновая подсветка логотипа --- */
.td-main-logo, .td-main-logo img,
.td-header-sp-logo img, .td-header-sp-logo a,
.td-logo-sticky img, .td-logo-text-container .td-logo-text,
.td-logo-text-container a {
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.9))
          drop-shadow(0 0 20px rgba(239, 68, 68, 0.6))
          drop-shadow(0 0 40px rgba(239, 68, 68, 0.4));
  transition: filter 0.3s ease;
}

.td-main-logo:hover, .td-main-logo:hover img,
.td-header-sp-logo:hover img, .td-header-sp-logo a:hover {
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 1))
          drop-shadow(0 0 30px rgba(239, 68, 68, 0.8));
}

/* --- Красная неоновая подсветка меню и кнопок --- */
.sf-menu > li > a {
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4),
              inset 0 0 6px rgba(239, 68, 68, 0.06) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.sf-menu > li > a:hover,
.sf-menu > li.current-menu-item > a {
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.7),
              0 0 25px rgba(239, 68, 68, 0.4),
              inset 0 0 10px rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.8) !important;
}

button, input[type="submit"], input[type="button"],
.td-read-more a, .td-load-more-wrap a, .td_ajax_load_more,
.td-post-category, .td-category-siblings .td-category a,
.td-pulldown-filter-display-option, .td-next-prev-wrap a,
.woocommerce .button, .woocommerce a.button,
.td_module_comments a, .td-related-title > .td-related-left,
.td-related-title > .td-related-right, .comment-form input[type="submit"],
.wpcf7-submit {
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5),
              0 0 20px rgba(239, 68, 68, 0.3),
              inset 0 0 8px rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover,
.td-read-more a:hover, .td-load-more-wrap a:hover, .td_ajax_load_more:hover,
.td-post-category:hover, .td-category-siblings .td-category a:hover,
.td-pulldown-filter-display-option:hover, .td-next-prev-wrap a:hover,
.woocommerce .button:hover, .woocommerce a.button:hover,
.sf-menu > li > a:hover, .td_module_comments a:hover,
.td-related-title > .td-related-left:hover, .td-related-title > .td-related-right:hover {
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.7),
              0 0 30px rgba(239, 68, 68, 0.4),
              inset 0 0 12px rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.8) !important;
}

/* --- Анимация карточек (красное свечение) --- */
@keyframes td-card-fade-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes td-card-glow-red {
  0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }
  50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); }
}

.td_module_wrap, .td-block-row .td_module_wrap,
.td-pb-span4 .td_module_wrap, .td-pb-span6 .td_module_wrap,
.td-pb-span8 .td_module_wrap, .td-pb-span12 .td_module_wrap {
  animation: td-card-fade-in 0.5s ease-out forwards;
}

.td-block-row .td_module_wrap:nth-child(1) { animation-delay: 0.05s; }
.td-block-row .td_module_wrap:nth-child(2) { animation-delay: 0.1s; }
.td-block-row .td_module_wrap:nth-child(3) { animation-delay: 0.15s; }
.td-block-row .td_module_wrap:nth-child(4) { animation-delay: 0.2s; }
.td-block-row .td_module_wrap:nth-child(5) { animation-delay: 0.25s; }
.td-block-row .td_module_wrap:nth-child(6) { animation-delay: 0.3s; }
.td-block-row .td_module_wrap:nth-child(7) { animation-delay: 0.35s; }
.td-block-row .td_module_wrap:nth-child(8) { animation-delay: 0.4s; }
.td-block-row .td_module_wrap:nth-child(9) { animation-delay: 0.45s; }
.td-block-row .td_module_wrap:nth-child(10) { animation-delay: 0.5s; }

/* Hover карточек - красное неоновое свечение */
.td_module_wrap:hover, .td-big-grid-post:hover,
.td-block-row .td_module_wrap:hover {
  transform: translateY(-6px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3),
              0 0 25px rgba(239, 68, 68, 0.35),
              0 0 50px rgba(239, 68, 68, 0.2) !important;
}

.td_module_wrap, .td-module-thumb {
  transition: box-shadow 0.35s ease !important;
}

.td_module_wrap:hover .td-module-thumb {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3) !important;
}

/* Дополнительные зелёные элементы */
.td-opasvet-hero-title,
.block-title span, .block-title a,
.td-opasvet-block-title,
.td-opasvet-section-title {
  color: #4ade80 !important;
}

.td-opasvet-hero-desc,
.td-module-meta-info,
.td-module-excerpt {
  color: #86efac !important;
}

.td-breadcrumbs,
.entry-crumbs a {
  color: #86efac !important;
}

.td-breadcrumbs a:hover {
  color: #22c55e !important;
}

.td-subcat-more,
.td-pulldown-filter-display-option {
  color: #4ade80 !important;
}
