/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Description: Пустая дочерняя тема для Twenty Twenty-Four.
Author: Site Administrator
Template: twentytwentyfour
Version: 1.0.0
Text Domain: twentytwentyfour-child
*/


:root {
  --font-main: "Roboto Flex", sans-serif;
  --color-text: #000;
  --color-muted: #555;
  --color-border: #ccc;
  --color-button-hover: #333;
}

@font-face {
  font-family: "FuturaCyrillicMedium";
  src: url("https://sokolovskagalina.com/public_html/wp-content/themes/twentytwentyfour/fonts/FuturaCyrillicMedium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

a {
  text-decoration: none !important;
}

:where(.wp-site-blocks *:focus) {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Containers */

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  gap: 30px 20px;
}

main.wp-block-group.is-layout-flow.wp-block-group-is-layout-flow
> div.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  display: none;
}

/* Content blocks */

.block {
  width: calc(33.333% - 27px);
  max-width: 410px;
  height: 420px;
  margin: 0 0 55px;
  text-align: left;
}

.block img {
  display: block;
  width: 100%;
  height: auto;
}

.block .title {
  margin: 10px 0 5px;
  font-size: 18px;
  font-weight: 700;
}

.block .description {
  font-size: 14px;
  line-height: 1.6;
}

/* Example image */

.exmpl {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.exmpl img {
  flex-shrink: 0;
  min-width: 100%;
  min-height: 100%;
}

.bh_scene {
  height: 275px;
  padding-bottom: 75px;
}

/* Poster blocks */

.block-poster {
  height: 600px;
  text-align: center;
}

.block-poster img {
  width: 100%;
  height: 100% !important;
  max-height: 570px;
  object-fit: cover;
}

.block-poster .title {
  margin: 10px 0 5px;
  font-size: 32px;
  font-weight: 700;
}

/* Image gallery */

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 21px;
  padding: 10px;
}

.image-item {
  width: calc(33.333% - 14px);
  max-width: 275px;
  aspect-ratio: 275 / 365;
  overflow: hidden;
}

.image-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Elementor tabs */

.elementor-tabs .elementor-tabs-wrapper {
  display: flex !important;
  justify-content: center !important;
}

.elementor-tab-title.elementor-tab-mobile-title {
  display: none;
}

.elementor-tab-title.elementor-tab-desktop-title {
  padding: 10px !important;
}

/* Custom tabs */

.custom-tabs {
  margin: 20px auto;
  text-align: center;
}

.custom-tabs .tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-tabs .tabs li {
  margin: 0;
}

.custom-tabs .tabs a {
  padding: 5px 10px;
  border: none;
  color: inherit;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

.custom-tabs .tab-content {
  display: none;
  padding: 20px 0;
  text-align: center;
}

.custom-tabs .tab-content.active {
  display: block;
}

[href$="#tab-4"] {
  font-family: var(--font-main) !important;
}

/* Navigation */

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
}

.menu-left {
  color: var(--color-text);
  font-size: 24px;
}

.menu-left a {
  font-size: 24px;
}

.menu-right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 5px;
  color: var(--color-text);
  font-size: 16px;
}

.menu a {
  font-family: var(--font-main) !important;
  font-size: 13px;
}

.menu-right a {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Footer */

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding: 20px;
  font-size: 16px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

.footer-left {
  text-align: left;
  font-size: 14px;
}

.footer-center {
  flex: 2;
  text-align: center;
  font-size: 14px;
}

.footer-right {
  text-align: right;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
}

.social-icons a,
.form-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
}

.social-icons a img,
.form-social-icons a img {
  display: block;
  width: 23px;
  height: 23px;
}

/* Contact form */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  font-size: 16px;
  box-sizing: border-box;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input[type="submit"] {
  width: 100%;
  margin: 8px 0;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  background-color: var(--color-text);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: var(--color-button-hover);
}

label {
  color: var(--color-muted);
  font-size: 14px;
}

.screen-reader-response {
  display: none;
}

/* Contact form layout */

.form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 30px;
  font-size: 24px;
}

.form-div-2 {
  margin-bottom: 40px;
}

.form-social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 2px;
}

/* Elementor typography */

.elementor-kit-7 a {
  font-family: var(--font-main) !important;
}

/* Tablet */

@media (max-width: 1024px) {
  .block {
    width: calc(50% - 20px);
    height: auto;
  }

  .image-item {
    width: calc(50% - 11px);
  }

  .block-poster {
    height: 500px;
  }

  .block-poster img {
    height: 450px!important;
width: auto;
margin: auto; 
  }
}

/* Mobile */

@media (max-width: 768px) {
  #music-videos,
  #commercials,
  #films {
    display: none;
  }

  .container {
    gap: 20px;
  }

  .block {
    width: 100%;
    max-width: 410px;
    height: auto;
    margin: 0 0 20px;
  }

  .block .description {
    font-size: 16px;
    line-height: 1.6;
  }

  .block.block-poster {
    height: auto;
    margin-bottom: 0;
  }



  .block-poster .title {
    font-size: 28px;
  }

  .bh_scene {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .image-item {
    width: 100%;
    max-width: 410px;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 10px;
  }

  .menu-left {
    width: 100%;
  }

  .menu-left a {
    font-size: 20px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .menu-right {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    width: 100%;
    padding-top: 5px;
  }

  .menu-right a {
    font-size: 13px;
    white-space: nowrap;
  }

  .custom-tabs .tabs {
    gap: 12px;
  }

  .custom-tabs .tabs a {
    padding: 0;
  }

  #tab-3 .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
  }

  #tab-4 .block.bh_scene {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  #tab-2 .container {
    gap: 30px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .form-container {
    font-size: 20px;
  }
}
