/*
Theme Name: Grast
Theme URI: https://graststudio.ru
Author: Grast Studio
Author URI: https://graststudio.ru
Description: Custom theme for Grast Studio
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grast
*/

/* 
 * This is the main style file for WordPress theme identification.
 * The actual styles are loaded from the assets directory.
 */

/* Стили для скрытия элементов на мобильных устройствах */
.individual-slider {
  max-width: 500px;
  width: 100% !important;
  margin: 0 auto !important;
}

.btn-more {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  display: none;
}

.hidden {
  display: none !important;
}

.btn-more.btn p:after {
  display: none;
}

/* Catalog Loader */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  margin: auto;
}

.loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

#glightbox-body .arrow {
  background-color: var(--white);
  border: 1px solid var(--orange)
}

#glightbox-body .goverlay {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

#glightbox-body .gslide-media {
  border-radius: 20px;
  overflow: hidden;
  overflow: hidden;
}

#glightbox-body .gslide-media video {
  border-radius: 20px;
  overflow: hidden;
}

#glightbox-body .gbtn {
  background: none !important;
}

.glightbox-button-hidden {
  opacity: 0;
}

/* Стили для PDF в GLightbox */
#glightbox-body .gslide-pdf {
  width: 100%;
  max-width: 80%;
}

#glightbox-body .gslide-media img {
  border-radius: 30px;
  max-height: 80vh;
}

#glightbox-body .gslide-pdf iframe {
  width: 100%;
  height: 90vh;
  border: none;
  border-radius: 10px;
  background: white;
  border-radius: 30px;
}

.glightbox-clean .gslide-description {
  display: none;
}

.swiper-slide-fully-visible {
  opacity: 1 !important;
}

@media (max-width: 700px) {
  #glightbox-body .gslide-media {
    margin: 0px auto;
    max-width: 90% !important;
    width: 100% !important;
    border-radius: 12px;
  }

  #glightbox-body .gslide-media img {
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  #glightbox-body .gslide-media video {
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  #glightbox-body .gslide-pdf {
    max-width: 90% !important;
    width: 90% !important;
    margin: 0 auto;
  }

  #glightbox-body .gslide-pdf iframe {
    height: 80vh !important;
    width: 100% !important;
    border-radius: 12px;
  }

  .glightbox-clean .gbtn.gnext,
  .glightbox-clean .gbtn.gprev {
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .glightbox-clean .gbtn.gnext {
    right: 0;
  }

  .glightbox-clean .gbtn.gprev {
    left: 0;
  }

}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1250px) {
  .hidden-mobile {
    display: none;
  }

  .btn-more {
    display: flex;
  }
}

.fancybox-image {
  border-radius: 20px;
}

.fancybox-button.fancybox-button--thumbs {
  display: none;
}

.policy-quiz {
  margin-bottom: 30px;
}

.grecaptcha-badge {
  display: none !important;
}

body .footer-social i {
  width: 40px;
  height: 40px;
}

.footer-social i img {
  max-width: 100%;
}