﻿/*
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 стили */

.wpml-ls-current-language .sub-menu li a {
  padding: 4px 5px !important;
}

.wpml-ls-current-language .sub-menu {
  border-radius: 10px;
}

.wpml-ls-current-language .sub-menu li:first-child {
  margin-top: 10px;
}

.wpml-ls-current-language .sub-menu li:last-child {
  margin-bottom: 10px;
}


.site-footer .footer-bottom li.menu-item span.removed-link {
  padding-right: 7px !important;
}

.site-footer .footer-bottom li.menu-item:first-child span.removed-link {
  padding-right: 10px !important;
}


@media (min-width: 768px) {
  .footer-widgets {
      padding-bottom: 10px;
  }
  .footer-widget {
    margin-left: 0px;
    margin-right: 0px;
  }
}

.footer-widget ul {
  list-style: none;
  padding-left: 10px;
  margin-left: 10px;
}

.footer-widget ul li {
  margin-bottom: 8px;
}

.footer-widget ul li a {
  text-decoration: none;
}

.site-footer {
  padding-top: 30px;
  font-size: 14.4px;
}

@media (max-width: 767px) {
  .footer-widgets.footer-widgets-4 {
    display: block !important;
  }
  .footer-widgets.footer-widgets-4 .footer-widget {
    width: 100% !important;
    float: none !important;
  }
}

.site-footer--style-gray {
  color: #FAFAFA !important;
  font-size: 15px !important;
}

.custom-footer-menu ul li a { 
  color: #FAFAFA;
}

.custom-footer-menu ul li a:hover { 
  color: #108C7F;
}

.site-footer-inner h3 {
  color: #108C7F;
}

.footer-widgets .footer-widget ul li a {
  color: #FAFAFA;
}

.footer-widgets .footer-widget ul li a:hover {
  color: #108C7F;
}

.ndncc-block, .entry-content blockquote:not(.wpremark).info, .ri-blocks-wrapper .ri-block { 
  border-radius: 12px !important;
}

/* =====================
   Tables — Apple style
   ===================== */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  margin: 28px 0;
}

.entry-content table thead th {
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.045);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.entry-content table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
}

/* Zebra */
.entry-content table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.022);
}

/* Hover */
.entry-content table tbody tr:hover td {
  background: rgba(25, 168, 129, 0.07);
  transition: background 0.18s ease;
}

/* Last row — no bottom border */
.entry-content table tbody tr:last-child td {
  border-bottom: none;
}

/* Mobile scroll */
@media (max-width: 640px) {
  .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
  }
}

/* =====================================================
   PAGE HERO HEADER
   Hero renders via after_header hook — sits between
   </header> and <div id="content">, naturally full-width.
   ===================================================== */

/* ==========  Header: transparent overlay on hero  ========== */
body.has-hero-header #masthead {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  z-index: 100;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

body.has-hero-header .header-separator {
  display: none !important;
}

/* -----  ALL header elements white  ----- */
body.has-hero-header #masthead,
body.has-hero-header #masthead *,
body.has-hero-header #masthead a,
body.has-hero-header #masthead .site-title,
body.has-hero-header #masthead .site-title a,
body.has-hero-header #masthead .site-description {
  color: #fff !important;
}

body.has-hero-header #masthead a:hover {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Hamburger — white */
body.has-hero-header #masthead .humburger span,
body.has-hero-header #masthead .js-humburger span {
  background-color: #fff !important;
}

/* Search icon — white */
body.has-hero-header #masthead .search-icon {
  color: #fff !important;
}
body.has-hero-header #masthead .search-icon::before {
  border-color: #fff !important;
}
body.has-hero-header #masthead .search-icon::after {
  background: #fff !important;
}

/* Dropdown submenus — dark glass */
body.has-hero-header #masthead .sub-menu {
  background: rgba(11, 26, 46, 0.95) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

body.has-hero-header #masthead .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

/* ==========  The Hero Section  ========== */
.page-hero-header {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dark overlay — 60 % */
.page-hero-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 46, 0.70) 0%,
    rgba(0, 0, 0, 0.58) 50%,
    rgba(11, 26, 46, 0.75) 100%
  );
  z-index: 1;
}

/* Decorative glow circles */
.page-hero-header__decoration {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.12) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate;
}
.page-hero-header__decoration--1 { top: -150px; right: -100px; }
.page-hero-header__decoration--2 { bottom: -200px; left: -150px; animation-delay: 3s; }

@keyframes heroGlow {
  0%   { opacity: .5; transform: scale(1); }
  100% { opacity: 1;  transform: scale(1.08); }
}

/* Content */
.page-hero-header__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 64px;
}

/* Breadcrumbs */
.page-hero-header .breadcrumbs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.page-hero-header .breadcrumbs,
.page-hero-header .breadcrumbs *,
.page-hero-header .breadcrumbs a,
.page-hero-header .breadcrumbs span {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.page-hero-header .breadcrumbs a:hover {
  color: #fff !important;
}

/* Title */
.page-hero-header__title {
  font-size: 2.8rem;
  color: #fff !important;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -.5px;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
  margin-top: 50px !important;
}

/* Description */
.page-hero-header__desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* Wave transition into page content */
.page-hero-header__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}

.page-hero-header__wave svg {
  display: block;
  width: 100%;
  height: 60px;
  fill: #fff;
}

/* ==========  Responsive  ========== */
@media (max-width: 768px) {
  .page-hero-header { min-height: 360px; }
  .page-hero-header__content { padding: 120px 20px 48px; }
  .page-hero-header__title { font-size: 2rem; }
  .page-hero-header__desc  { font-size: 1rem; }
}

@media (max-width: 480px) {
  .page-hero-header { min-height: 320px; }
  .page-hero-header__content { padding: 100px 16px 40px; }
  .page-hero-header__title { font-size: 1.6rem; }
  .page-hero-header__desc  { font-size: .95rem; }
}

.card-slider-container+.site-content, .mobile-menu-placeholder+.site-content {
    margin-top: 0px !important;
}