/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.0
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/  text-align: left;
}

.tz-acc-title::after {
  content: "+";
  font-size: 26px;
  line-height: 1;
}

.tz-accordion-item.active .tz-acc-title::after {
  content: "−";
}

.tz-acc-content {
  display: none;
  padding: 0 0 20px;
  color: #f1f1f1;
}

.tz-accordion-item.active .tz-acc-content {
  display: block;
}

.tz-partners-carousel {
  display: flex;
  gap: 24px;
  overflow: hidden;
  margin-top: 42px;
}

.partner-logo {
  flex: 0 0 calc((100% - 120px) / 6);
  min-width: 140px;
  text-align: center;
}

.partner-logo img {
  display: block;
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  border: 1px solid #eee;
  filter: grayscale(1);
  opacity: 0.75;
  transition: 0.25s ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

.tz-projects {
  background: #f5f5f5;
}

.tz-projects-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 42px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tz-projects-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.45;
}

.tz-projects-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fecc00;
  font-weight: 700;
}

.tz-form-section {
  background: #fff;
}

.tz-form-section .wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .tz-quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-logo {
    flex-basis: calc((100% - 72px) / 4);
  }
}

@media (max-width: 850px) {
  .material-item,
  .material-item:nth-child(even) {
    flex-direction: column;
    gap: 24px;
  }

  .tz-projects-list {
    grid-template-columns: 1fr;
  }

  .tz-cta h2 {
    text-align: center;
  }

  .tz-cta-content {
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .tz-container {
    width: min(100% - 28px, 1200px);
  }

  .tz-page section {
    padding: 56px 0;
  }

  .tz-topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .tz-topbar a {
    width: 100%;
  }

  .tz-hero {
    min-height: 430px;
  }

  .tz-hero p {
    font-size: 18px;
  }

  .tz-quality-grid {
    grid-template-columns: 1fr;
  }

  .partner-logo {
    flex-basis: calc((100% - 24px) / 2);
  }
}


div#footer {
    display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
#page,
.site {
  max-width: 100%;
  overflow-x: clip;
}

/* На случай если проблема от hero/footer/секций */
section,
.elementor-section,
.wp-block-group,
.wp-site-blocks,
.entry-content {
  max-width: 100%;
}

/* Картинки, SVG, видео не должны расширять страницу */
img,
svg,
video,
iframe {
  max-width: 100%;
}

#page>hr {
    display: none;
}

div#headerimg {
    display: none;
}