/*
Theme Name: UnderStrap Child
Theme URI: https://pagervpn.online
Description: Child theme for the Pager VPN site
Author: Pager VPN
Author URI: https://pagervpn.online
Template: understrap
Version: 1.0.0
Text Domain: understrap-child
*/

/* Кастомные стили проекта */
body {
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
}

.marquee {
	overflow: hidden;
	white-space: nowrap;
	font-weight: 700;
	text-transform: uppercase;
	background: transparent;
	color: #333;
	font-family: 'Inter';
	padding: 10px 0;
}

.marquee__content {
  display: inline-block;
  padding-right: 2rem; /* Расстояние между повторениями */
  font-size: 28px;
  animation: marquee 15s linear infinite;
}

.marquee__content:nth-child(1) {
  animation-delay: 0s; /* Задержка для первой части */
}

.marquee__content:nth-child(2) {
  animation-delay: -15s; /* Половина времени для второй части */
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Dark theme tokens and base overrides */
html.theme-dark {
  color-scheme: dark;
  --dm-bg: #121417;
  --dm-surface: #1b1f24;
  --dm-text: #e7edf3;
  --dm-muted: #a9b4c2;
  --dm-border: #2d333b;
  --dm-link: #8ecbff;
  --dm-link-hover: #b6deff;
  --dm-btn-bg: #2d333b;
  --dm-btn-text: #e7edf3;
}

html.theme-dark body {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
}

html.theme-dark a {
  color: var(--dm-link);
}

html.theme-dark a:hover {
  color: var(--dm-link-hover);
}

html.theme-dark .site,
html.theme-dark .wrapper,
html.theme-dark .container,
html.theme-dark .card,
html.theme-dark .modal-content,
html.theme-dark .dropdown-menu,
html.theme-dark .navbar,
html.theme-dark .footer-widget,
html.theme-dark .widget {
  background-color: var(--dm-surface) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.theme-dark input,
html.theme-dark textarea,
html.theme-dark select {
  background-color: #171b20 !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.theme-dark .btn,
html.theme-dark button {
  background-color: var(--dm-btn-bg);
  color: var(--dm-btn-text);
  border-color: var(--dm-border);
}

body.theme-dark {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
}

/* Utility classes for Elementor wrappers in dark mode */
html.theme-dark .theme-dark-text,
body.theme-dark .theme-dark-text,
html.theme-dark .theme-dark-text *:not(svg):not(path),
body.theme-dark .theme-dark-text *:not(svg):not(path) {
  color: #ffffff !important;
}

html.theme-dark .theme-dark-container,
body.theme-dark .theme-dark-container {
  background-color: #363636 !important;
  color: #ffffff !important;
}

/* Text colors in dark mode */
html.theme-dark .theme-dark-text-white,
body.theme-dark .theme-dark-text-white,
html.theme-dark .theme-dark-text-white *:not(svg):not(path),
body.theme-dark .theme-dark-text-white *:not(svg):not(path) {
  color: #ffffff !important;
}

html.theme-dark .theme-dark-text-black,
body.theme-dark .theme-dark-text-black,
html.theme-dark .theme-dark-text-black *:not(svg):not(path),
body.theme-dark .theme-dark-text-black *:not(svg):not(path) {
  color: #000000 !important;
}

html.theme-dark .theme-dark-text-lightgray,
body.theme-dark .theme-dark-text-lightgray,
html.theme-dark .theme-dark-text-lightgray *:not(svg):not(path),
body.theme-dark .theme-dark-text-lightgray *:not(svg):not(path) {
  color: #E3E3E2 !important;
}

html.theme-dark .theme-dark-text-gray,
body.theme-dark .theme-dark-text-gray,
html.theme-dark .theme-dark-text-gray *:not(svg):not(path),
body.theme-dark .theme-dark-text-gray *:not(svg):not(path) {
  color: #363636 !important;
}

/* Container colors in dark mode */
html.theme-dark .theme-dark-bg-white,
body.theme-dark .theme-dark-bg-white {
  background-color: #ffffff !important;
}

html.theme-dark .theme-dark-bg-black,
body.theme-dark .theme-dark-bg-black {
  background-color: #000000 !important;
  border: 3px #000000 !important;
}

html.theme-dark .theme-dark-bg-lightgray,
body.theme-dark .theme-dark-bg-lightgray {
  background-color: #E3E3E2 !important;
}

html.theme-dark .theme-dark-bg-gray,
body.theme-dark .theme-dark-bg-gray {
  background-color: #363636 !important;
  border: 3px #363636 !important;
}

/* SVG colors in dark mode */
html.theme-dark .theme-dark-svg-white svg,
html.theme-dark .theme-dark-svg-white svg * ,
body.theme-dark .theme-dark-svg-white svg,
body.theme-dark .theme-dark-svg-white svg * {
  stroke: #ffffff !important;
}

html.theme-dark .theme-dark-svg-black svg,
html.theme-dark .theme-dark-svg-black svg * ,
body.theme-dark .theme-dark-svg-black svg,
body.theme-dark .theme-dark-svg-black svg * {
  fill: #000000 !important;
  stroke: #000000 !important;
}

html.theme-dark .theme-dark-svg-lightgray svg,
html.theme-dark .theme-dark-svg-lightgray svg * ,
body.theme-dark .theme-dark-svg-lightgray svg,
body.theme-dark .theme-dark-svg-lightgray svg * {
  fill: #E3E3E2 !important;
  stroke: #E3E3E2 !important;
}

html.theme-dark .theme-dark-svg-gray svg,
html.theme-dark .theme-dark-svg-gray svg * ,
body.theme-dark .theme-dark-svg-gray svg,
body.theme-dark .theme-dark-svg-gray svg * {
  fill: #363636 !important;
  stroke: #363636 !important;
}


html.theme-dark .theme-dark-bg-black .wc-italk-box,
body.theme-dark .theme-dark-bg-black .wc-italk-box {
  background-color: #000000 !important;
}

html.theme-dark .theme-dark-bg-black .wc-italk-text,
body.theme-dark .theme-dark-bg-black .wc-italk-text {
  color: #ffffff !important;
}

html.theme-dark .theme-dark-bg-black .btt-box,
body.theme-dark .theme-dark-bg-black .btt-box {
  background-color: #000000 !important;
}

html.theme-dark .theme-dark-bg-black .btt-box svg,
html.theme-dark .theme-dark-bg-black .btt-box svg path,
body.theme-dark .theme-dark-bg-black .btt-box svg,
body.theme-dark .theme-dark-bg-black .btt-box svg path {
  fill: #ffffff !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
	
		span.e-n-accordion-item-title-icon {
		width: 15% !important;
		justify-content: center;
		margin-left: 1em;
	}
	
}

/* PagerVPN landing header and CTA overrides */
body.home .elementor-615 .elementor-element.elementor-element-9e6efe5 {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}

html.theme-light body.home .elementor-615 .elementor-element.elementor-element-9e6efe5,
body.theme-light.home .elementor-615 .elementor-element.elementor-element-9e6efe5 {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}

html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-9e6efe5,
body.theme-dark.home .elementor-615 .elementor-element.elementor-element-9e6efe5 {
  background: rgba(15, 23, 42, 0.96) !important;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.34);
}

body.home .elementor-615 .elementor-element.elementor-element-9e6efe5 > .e-con-inner {
  padding-left: clamp(12px, 2vw, 28px);
  padding-right: clamp(12px, 2vw, 28px);
}

body .elementor-widget-dark-mode-toggle,
body .wc-theme-toggle-wrap,
body .wc-theme-toggle {
  display: none !important;
}

body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle {
  border-radius: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

html.theme-light body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle,
body.theme-light.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle {
  background: rgba(15, 23, 42, 0.06);
}

html.theme-light body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg,
html.theme-light body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg *,
body.theme-light.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg,
body.theme-light.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg * {
  fill: #2b3b52 !important;
}

html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle,
body.theme-dark.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle {
  background: rgba(255, 255, 255, 0.08);
}

html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg,
html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg *,
body.theme-dark.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg,
body.theme-dark.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-menu-toggle svg * {
  fill: #f8fafc !important;
}

html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu .elementor-item,
body.theme-dark.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu .elementor-item {
  color: #f8fafc !important;
}

html.theme-dark body.home [data-id="cd960ce"] img,
body.theme-dark.home [data-id="cd960ce"] img {
  filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
  body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  }

  html.theme-light body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown.elementor-nav-menu__container,
  body.theme-light.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
  }

  html.theme-light body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown li:not(:last-child),
  body.theme-light.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown li:not(:last-child) {
    border-bottom-color: rgba(15, 23, 42, 0.12) !important;
  }

  html.theme-light body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown .elementor-item,
  body.theme-light.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown .elementor-item {
    color: #2b3b52 !important;
    background: transparent !important;
  }

  html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown.elementor-nav-menu__container,
  body.theme-dark.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    background: rgba(15, 23, 42, 0.98) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 24px 54px rgba(2, 6, 23, 0.42);
  }

  html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown li:not(:last-child),
  body.theme-dark.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown li:not(:last-child) {
    border-bottom-color: rgba(148, 163, 184, 0.22) !important;
  }

  html.theme-dark body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown .elementor-item,
  body.theme-dark.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu--dropdown .elementor-item {
    color: #f8fafc !important;
    background: transparent !important;
  }
}

body.home .elementor-615 .elementor-element.elementor-element-083ba43 .elementor-button,
body.home .elementor-665 .elementor-element.elementor-element-3bce734c .elementor-button,
body.home .elementor-665 .elementor-element.elementor-element-4db4ce81 .elementor-button {
  background: #4f6975 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 28px rgba(79, 105, 117, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.home .elementor-615 .elementor-element.elementor-element-083ba43 .elementor-button:hover,
body.home .elementor-665 .elementor-element.elementor-element-3bce734c .elementor-button:hover,
body.home .elementor-665 .elementor-element.elementor-element-4db4ce81 .elementor-button:hover {
  background: #445c67 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(68, 92, 103, 0.28);
}

@media (min-width: 1025px) {
  body.home .elementor-615 .elementor-element.elementor-element-da89e2f {
    min-width: 220px;
  }

  body.home .elementor-615 .elementor-element.elementor-element-767370a {
    gap: 18px;
    flex-wrap: nowrap;
  }

  body.home .elementor-615 .elementor-element.elementor-element-aff49a4 {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu {
    justify-content: center;
    flex-wrap: nowrap;
  }

  body.home .elementor-615 .elementor-element.elementor-element-aff49a4 .elementor-nav-menu .elementor-item {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  body.home .elementor-615 .elementor-element.elementor-element-69d20f2 {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 290px;
    gap: 16px;
  }

  body.home .elementor-615 .elementor-element.elementor-element-083ba43 .elementor-button {
    min-width: 290px;
    min-height: 68px;
    padding: 0.65em 1.8em !important;
    font-size: clamp(1.1rem, 1.25vw, 1.4rem) !important;
    line-height: 1.05;
    letter-spacing: 0.02em;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body.home .elementor-615 .elementor-element.elementor-element-083ba43 .elementor-button .elementor-button-content-wrapper {
    display: flex !important;
    width: 100% !important;
    min-height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.home .elementor-615 .elementor-element.elementor-element-083ba43 .elementor-button .elementor-button-text {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1 !important;
    transform: translateY(-1px);
  }

  body.home .elementor-665 .elementor-element.elementor-element-3bce734c .elementor-button,
  body.home .elementor-665 .elementor-element.elementor-element-4db4ce81 .elementor-button {
    min-height: 84px;
    padding: 0.85em 2.5em !important;
    font-size: clamp(1.4rem, 1.8vw, 1.8rem) !important;
    line-height: 1.05;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 1024px) {
  body.home .elementor-615 .elementor-element.elementor-element-083ba43 .elementor-button,
  body.home .elementor-665 .elementor-element.elementor-element-3bce734c .elementor-button,
  body.home .elementor-665 .elementor-element.elementor-element-4db4ce81 .elementor-button {
    min-height: 64px;
    padding: 0.7em 1.8em !important;
    font-size: 1.15rem !important;
  }
}
