/*!
Theme Name: Tochka
Description: Тема для Театра Точки
Version: 0.1
Text Domain: tochka

/*--------------------------------------------------------------
# main
--------------------------------------------------------------*/

:root {
    --tochka-primary: #FF6900;
    --tochka-primary-rgb: 255, 105, 0;
    --bs-link-color-rgb: var(--tochka-primary-rgb);
    --tochka-orange-100: #FFEAD5;
    --tochka-orange-300: #FEB273;
    --tochka-orange-300-rgb: 254, 178, 115;
    --bs-link-hover-color-rgb: var(--tochka-text-rgb);
    --tochka-text: #333333;
    --tochka-text-rgb: 51, 51, 51;
    --tochka-bg: #F2F2F2;
    --tochka-white: #FFFFFF;

    --tochka-padding: 80px;
    --tochka-padding-sm: 40px;
    --tochka-footer-padding-y: 25px;
    --tochka-footer-padding-x: 70px;
}

body {
    background-color: var(--tochka-bg);
    color: var(--tochka-text);
    font-family: 'FuturisC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.3;
    scroll-behavior: smooth;
}

body * {
    scroll-margin-top: 100px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 1;
}

.ratio-2x3 {
    --bs-aspect-ratio: 150%;
}

.ratio-3x2 {
    --bs-aspect-ratio: 66.7%;
}

.ratio-3x4 {
    --bs-aspect-ratio: 133.33%;
}

.ratio-4x3 {
    --bs-aspect-ratio: 75%;
}

.ratio-9x16 {
    --bs-aspect-ratio: 177.77%;
}

.ratio-free {
    --bs-aspect-ratio: 50%;
    height: 100%;
}

.svg-icon {
    max-width: 60%;
    max-height: 66%;
}

.row-gutter-x {
    --bs-gutter-x: 3rem;
}

.row-gutter-y {
    --bs-gutter-y: 3rem;
}

.page-title {
    font-family: "Futura Md BT", "FuturisC", sans-serif;
    font-size: 54px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.72px;
    margin-bottom: 2.5rem;
}

.section-title span, .page-title span {
    color: var(--tochka-primary);
}

.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-title-wrapper .section-title {
    margin-bottom: 0;
}


.section-py {
    padding-top: var(--tochka-padding);
    padding-bottom: var(--tochka-padding);
}

.section-pt {
    padding-top: var(--tochka-padding);
}

.section-pb {
    padding-bottom: var(--tochka-padding);
}


/* buttons */
.btn {
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 700;
    --bs-btn-padding-y: .6875rem;
    --bs-btn-line-height: 1.5;
    --bs-btn-border-radius: 5rem;
    --bs-btn-border-width: 1px;
    --bs-btn-disabled-opacity: 0.4;
    transition: fill .15s ease-in-out, stroke .15s ease-in-out, color .15s ease-in-out, background .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, background-position .2s linear;
}

.btn:active, .btn:hover, .btn:focus-visible {
    fill: var(--bs-btn-hover-color);
    stroke: var(--bs-btn-hover-color);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.btn-primary {
    text-transform: uppercase;
    fill: var(--bs-btn-color);
    stroke: var(--bs-btn-color);
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--tochka-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--tochka-primary);
    --bs-btn-active-color: var(--tochka-text);
    --bs-btn-active-bg: #D9D9D9;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--tochka-primary);
    background-image: linear-gradient(90deg, #FF6900 0%, #FFA414 100%);
    background-size: 200% 100%;
    background-position: -100% 0;
    background-repeat: no-repeat;
    --bs-btn-border-color: transparent;
    --bs-btn-active-border-color: transparent;
    --bs-btn-hover-border-color: transparent;
}

.btn-primary:hover {
    background-position: 0 0;
}

.row-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 2px solid #d0d5dd4d;
    border-radius: 50px;
    margin-bottom: 2.25rem;
}

.btn-toggle {
    font-family: "Futura Md BT", 'FuturisC', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    /*width: 220px;*/
    padding: 10px 20px;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 60px;
    background: linear-gradient(90deg, rgba(255, 105, 0, 0) 0%, rgba(255, 164, 20, 0) 100%);
    color: var(--tochka-primary);
    min-height: 62px;
    transition: .3s linear all;
    border: .5px solid transparent;
}

.btn-toggle:hover {
    box-shadow: unset;
}

.btn-toggle.active {
    color: white;
    border-color: #D0D5DD;
    background: linear-gradient(90deg, #FF6900 0%, #FFA414 100%);
}

.btn-toggle:after {
    content: "";
    background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.25 18.75L18.75 1.25" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.25 1.25H18.75V18.75" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    width: 0px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    transition: .2s linear width, .1s linear margin;
    margin-left: 0px;
    margin-right: 0px;
}


.btn-toggle.active:after {
    width: 20px;
    margin-left: 12px;
    margin-right: 12px;
}


.btn-outline-primary {
    text-transform: uppercase;
    --bs-btn-color: var(--tochka-primary);
    --bs-btn-border-color: var(--tochka-primary);
    --bs-btn-hover-bg: var(--tochka-primary);
    --bs-btn-hover-color: white;
    --bs-btn-hover-border-color: var(--tochka-primary);
    --bs-btn-active-border-color: var(--tochka-primary);
    --bs-btn-active-color: white;
    --bs-btn-active-bg: var(--tochka-primary);
}

.social-row {
    display: flex;
    gap: 1.25rem;
}

.btn-menu, .btn-social, .btn-search, .btn-bvi {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


#navigation {
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.12));
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

#navigation:before {
    content: "";
    position: absolute;
    width: 170px;
    height: 30px;
    top: 100%;
    left: 50%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="169" height="31" viewBox="0 0 169 31" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.866699 0C14.1151 1.98129 26.3037 9.40467 37.6586 16.9098C50.5304 25.4175 66.8044 30.4975 84.5003 30.4975C102.194 30.4975 118.466 25.4189 131.337 16.9132C142.706 9.39989 154.911 1.9688 168.179 0H0.866699Z" fill="white"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-50%);
}

#navigation .custom-logo-link img {
    transform: translate(5px, 10px);
}

#navigation .col-nav-start {
}

#navigation .col-nav-end {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-phone {
    margin-left: auto;
    --bs-link-hover-color-rgb: var(--tochka-primary-rgb);
    --bs-link-color-rgb: var(--tochka-text-rgb);
}

.header-phone .phone-subtitle {
    font-size: 12px;
    font-family: "Futura Md BT", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.header-phone a {
    font-size: 20px;
    font-family: "Futura Md BT", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: unset;
}

/* footer */

footer {
    background-color: white;
    padding: var(--tochka-footer-padding-y) var(--tochka-footer-padding-x);
    margin-top: var(--tochka-padding);
}


.footer-logo {
    gap: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

footer .custom-logo-title {
    height: 55px;
    pointer-events: none;
}

footer .custom-logo {
    max-width: 265px;
    height: auto;
}

footer hr {
    opacity: 1;
    margin-top: var(--tochka-footer-padding-y);
    margin-bottom: var(--tochka-footer-padding-y);
    border-color: #BDBDBD;
}

.footer-info {
    margin-bottom: 2.75rem;
}

footer a {
    --bs-link-color-rgb: var(--tochka-text-rgb);
    --bs-link-hover-color-rgb: var(--tochka-primary-rgb);
    --bs-nav-link-color: var(--tochka-text);
    --bs-nav-link-hover-color: var(--tochka-primary);
    text-decoration: unset;
}

.small-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.small-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.small-info p {
    margin-bottom: 0;
}

.small-info .small-info-title, .small-info-title {
    font-family: "Futura Md BT", "FuturisC", sans-serif;
    color: var(--tochka-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 3px;
}

#footer-menu .footer-nav-col {
    max-width: 245px;
}

#footer-menu {
    --bs-gutter-x: 4rem;
}

#footer-menu .nav-link {
    --bs-nav-link-padding-x: 0;
}

#footer-edu-menu {
    font-size: 14px;
    color: #828282;
}

#footer-edu-menu .nav-item {
    display: flex;
    align-items: center;
}

#footer-edu-menu .nav-item:after {
    content: "/";
    display: inline-flex;
    margin: 0 1rem;
}

#footer-edu-menu .nav-item:last-child:after {
    content: unset;
}

#footer-edu-menu .nav-link {
    --bs-nav-link-color: #828282;
}

footer .nav-link {
    line-height: 1;
    text-transform: initial;
    font-style: normal;
    font-weight: 400;
}


footer .policy {
    font-size: 14px;
    text-align: center;
    color: #828282;
    margin-top: 2rem;
}

footer .policy a {
    color: #828282;
}

footer .policy a:hover {
    color: var(--tochka-primary)
}

.map-frame {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}


.card .card-photo {
    position: relative;
}

.card .card-photo .card-no-photo {
    display: flex;
    font-size: 5rem;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    opacity: .3;
    color: var(--tochka-primary);
}

.card .card-photo:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(207deg, rgba(0, 0, 0, 0.00) 37.67%, rgba(0, 0, 0, 0.36) 62.15%, rgba(0, 0, 0, 0.50) 83.29%);
}

.card .card-photo img {
    z-index: -1;
    object-fit: cover;
    object-position: center;
}

.card-news {
    border-radius: 20px;
    border: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card-news .card-link {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid var(--tochka-primary);
    border-radius: 50%;
    display: flex;
    width: 64px;
    height: 64px;
    padding: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    fill: var(--tochka-primary);
    background-color: transparent;
    transition: fill .2s linear, transform .2s linear, background-color .2s linear;
}

.card-news:hover .card-link {
    background-color: var(--tochka-primary);
    fill: white;
    transform: rotate(-45deg);
}

.card-news .card-link .link-icon {
    max-width: 100%;
    max-height: 100%;
}

.card-news .card-info {
    position: absolute;
    border-radius: 24px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    width: 100%;
    bottom: -2.25rem;
    transition: bottom .2s linear, background-color .2s linear, filter .2s linear, -webkit-backdrop-filter .2s linear, backdrop-filter .2s linear;
}

.card-news:hover .card-info {
    bottom: 0;
    background: rgba(0, 0, 0, 0.30);
    -webkit-backdrop-filter: blur(13px);
    backdrop-filter: blur(13px);

}

.card-news .card-title {
    font-family: "Futura Md BT", "FuturisC", sans-serif;
    color: #FFFFFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.36px;
    margin-bottom: 1rem;
}

.card-news .card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-news .card-meta {
    margin-bottom: 0;
    color: var(--tochka-orange-100);
    font-family: "Futura Md BT", "FuturisC", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.24px;
}


.card-performance {
    background: unset;
    border: 0;
    text-decoration: unset;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    font-family: "Futura Bk BT", 'FuturisC', sans-serif;
}

.card-performance .card-photo {
    width: 100%;
    border-radius: 36px;
    overflow: hidden;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="16 33 400 400" fill="none"><path d="M0 0 416 0 416 37.5V263.5C416 283.935 399.435 300.5 379 300.5H356.049C317.534 300.5 286.476 332.031 287.057 370.541L287.433 395.442C287.745 416.092 271.09 433 250.437 433H0433 0 0" fill="black"/></svg>');
    mask-size: cover;
    mask-repeat: no-repeat;
    --bs-aspect-ratio: 100%;
}

.card-performance .card-rating {
    color: var(--tochka-white);
    font-family: "Futura Md BT", "FuturisC", sans-serif;
    font-weight: 700;
    line-height: 1;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--tochka-primary);
    position: absolute;
    top: 22px;
    left: 20px;
}

.card-performance .card-subtitle {
    display: flex;
    padding: 15px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 24px;
    background: var(--tochka-white);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    margin-top: 1.5rem;
    margin-bottom: auto;
}

.card-performance .card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.card-performance .card-meta-elem {
    font-size: 20px;
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.card-performance .card-meta-elem:before {
    content: "";
    background-color: var(--tochka-primary);
    display: block;
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-performance .card-title {
    font-family: "Futura Md BT", "FuturisC", sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.card-performance .card-link {
    position: absolute;
    display: flex;
    width: 110px;
    height: 110px;
    justify-content: center;
    align-items: center;
    bottom: 0px;
    right: 0px;
    background: var(--tochka-text);
    fill: var(--tochka-white);
    border-radius: 50%;
    transition: .2s linear background-color;
}

.card-performance:hover .card-link {
    background: var(--tochka-primary);
}

.row-performances {
    --bs-gutter-y: 3.75rem;
    --bs-gutter-x: 3rem;
}

.entry-content {
    position: relative;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.post-thumbnail {
    --thumbnail-height: min(729px, calc(100vh - 124px));
    border-radius: 20px;
    overflow: hidden;
    max-height: var(--thumbnail-height);
    position: relative;
    text-align: center;
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.30);
    z-index: 2;
}

.post-thumbnail .post-thumbnail-bg {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    filter: blur(16px);
}

.post-thumbnail .main-thumbnail {
    height: 100%;
    width: auto;
    max-height: var(--thumbnail-height);
    max-width: 100%;
}

.post-container {
    background-color: white;
    border-radius: 24px;
    padding: 2rem 1.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.post-thumbnail + .post-container {
    padding-top: 4rem;
    margin-top: -1.5rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.post-title {
    font-family: "Futura Md BT", "FuturisC", sans-serif;;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 1rem;
}

.entry-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: space-between;
    align-items: center;
    font-family: "Futura Bk BT", "FuturisC", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    --bs-link-color-rgb: var(--tochka-text-rgb);
    --bs-link-hover-color-rgb: var(--tochka-primary-rgb);
}

.breadcrumbs {
    margin-top: 3.25rem;
    margin-bottom: 1.5rem;
    font-family: "FuturisC", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    color: #BDBDBD;
}

.breadcrumbs a:not(:hover) {
    --bs-link-color-rgb: 189, 189, 189;
}


.promo-gallery__item {
    border-radius: 20px;
    overflow: hidden;
}

.promo-gallery__item img {
    width: 100%;
}

.gallery-wrapper {
    position: relative;
}

.tns-nav {
    display: flex;
    margin-top: 1rem;
    justify-content: start;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tns-nav button {
    --color: var(--tochka-primary);
    width: 16px;
    flex-shrink: 0;
    height: 16px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--color);
    background: transparent;
    transition: .2s linear color, .2s linear background, .2s linear border-color;
}

.tns-controls button {
    border: unset;
    padding: 0;
    position: absolute;
    top: calc(50% - 46px);
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid var(--tochka-primary);
    background: transparent;
    fill: var(--tochka-primary);
    transition: .2s fill;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tns-nav button.tns-nav-active {
    background: var(--color)
}

.tns-nav button:hover {
    --color: #fff;
}

.tns-controls button svg {
    width: 50px;
}

.tns-controls button:hover {
    fill: #fff;
}

.tns-controls button[data-controls="prev"] {
    left: 28px;
    transform: rotate(180deg);
}

.tns-controls button[data-controls="next"] {
    right: 28px;
}


.performance-thumbnail {
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.performance-thumbnail img {
    object-position: center;
    object-fit: cover;
}

.performance-description {
    font-family: 'FuturisC', sans-serif;
    background-color: var(--tochka-white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem 2rem 1.5rem;
    line-height: 1.15;
    position: sticky;
    top: 120px;
}

.performance-description .title {
    font-weight: 800;
    color: var(--tochka-primary);
    margin-bottom: 4px;
}

.performance-info {
    background-color: var(--tochka-white);
    border-radius: 10px;
    padding: 1.75rem 2.5rem;
    margin-bottom: 2.25rem;
}

.performance-section-title {
    font-family: "Futura Md BT", sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.actors-section {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    margin-bottom: 2.25rem;
}

.actors-section-item {
    width: 100%;
    display: block;
    background-color: white;
    border-radius: 24px;
    padding: 16px 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: var(--tochka-primary);
}


.performance-gallery {
    display: grid;
    gap: 16px;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto 250px;
    grid-template-areas:
        "a b c"
        "a d c"
        "a d e"
        "f f e";
}


.performance-gallery .gallery-photo:nth-child(1) {
    grid-area: a
}

.performance-gallery .gallery-photo:nth-child(2) {
    grid-area: b
}

.performance-gallery .gallery-photo:nth-child(3) {
    grid-area: c
}

.performance-gallery .gallery-photo:nth-child(4) {
    grid-area: d
}

.performance-gallery .gallery-photo:nth-child(5) {
    grid-area: e
}

.performance-gallery .gallery-photo:nth-child(6) {
    grid-area: f;
}

.performance-gallery .gallery-photo .spoiler {
    color: var(--tochka-white);
    font-family: "Futura Md BT", sans-serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    position: absolute;
    top: 0;
    fill: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: center;
    gap: 1rem;
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.performance-gallery .gallery-photo .spoiler svg {
    width: 75px;
    height: 75px;
}


.performance-gallery .gallery-photo {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.performance-gallery .gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-gallery {
    --bs-gutter-x: 4px;
    --bs-gutter-y: 4px;
}

.modal-gallery-photo {
    display: block;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    padding-top: 100%;
}

.modal-gallery-photo img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.first-block-container {
    --fb-bg: #010103;

    --fb-br: 30px;
    --fb-gap: 10px;
    --fb-img-w: 490px;

    --fb-r1: 46px;
    --fb-r2: 108px;
    --fb-r3: 112px;
    --fb-r4: 190px;
    --fb-r5: 190px;

    display: grid;
    grid-template-columns: 540px 230px 250px 1fr;
    width: 100%;
    grid-template-rows: var(--fb-r1) var(--fb-r2) var(--fb-r3) var(--fb-r4) var(--fb-r5);
    gap: var(--fb-gap);
    background-color: var(--tochka-bg);
    position: relative;
    overflow: hidden;
}


.fb-text-container {
    border-radius: var(--fb-br);
    background-color: var(--tochka-white);
    padding: 120px 50px 50px 50px;
    grid-row: 1 / 5;
    grid-column: 1 / 2;
    display: flex;
    line-height: 1.5;
    gap: 1.25rem;
    flex-direction: column;
    justify-content: center;
}

.fb-text-container img {
    width: 100%;
}

.fb-image-round {
    grid-row: 5 / 6;
    grid-column: 1 / 2;
}

.fb-image-round img {
    mask-image: url('data:image/svg+xml,<svg width="520" height="190" viewBox="0 0 520 190" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse cx="430" cy="95.2316" rx="90" ry="94.7683" fill="black"/><path d="M322.469 1.52588e-05C294.846 1.52588e-05 268.355 9.96196 248.823 27.6943C229.29 45.4267 218.317 69.477 218.317 94.5543C218.317 119.632 229.29 143.682 248.823 161.414C268.355 179.147 294.846 189.109 322.469 189.109L322.469 94.5543V1.52588e-05Z" fill="black"/><path d="M104.151 1.52588e-05C131.774 1.52588e-05 158.265 9.96196 177.798 27.6943C197.33 45.4267 208.303 69.477 208.303 94.5543C208.303 119.632 197.33 143.682 177.798 161.414C158.265 179.147 131.774 189.109 104.151 189.109L104.151 94.5543L104.151 1.52588e-05Z" fill="black"/><path d="M94.1366 170.016C83.2211 170.016 72.4124 168.064 62.3277 164.272C52.243 160.48 43.0799 154.921 35.3614 147.914C27.6429 140.907 21.5203 132.588 17.3431 123.432C13.1659 114.277 11.0159 104.464 11.0159 94.5544C11.0159 84.6446 13.1659 74.8319 17.3431 65.6765C21.5203 56.521 27.6429 48.2022 35.3614 41.195C43.0799 34.1877 52.243 28.6292 62.3277 24.8369C72.4124 21.0446 83.2211 19.0928 94.1367 19.0928L94.1366 94.5544L94.1366 170.016Z" fill="black"/></svg>');
    mask-repeat: no-repeat;
    mask-position: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-blocks {
    border-radius: var(--fb-br);
    width: 100%;
    position: relative;
}

.fb-blocks.button__1 {
    grid-row: 1;
    grid-column: 2 / 4;
    border-radius: 0;
}

.fb-blocks.button__1:before {
    content: "";
    position: absolute;
    user-select: none;
    pointer-events: none;
    width: 30px;
    height: 30px;
    top: calc(100% + 1px);
    right: calc(-1 * var(--fb-gap));
    background-image: radial-gradient(circle at -4px 35px, transparent 34px, var(--fb-bg) 30px);
}

.button__1 .btn {
    width: calc(100% + var(--fb-gap));
    border-radius: var(--fb-br);
    background-color: var(--fb-bg);
    color: var(--tochka-white);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
}

.fb-blocks.button__2 {
    grid-row: 2;
    grid-column: 2;
    color: var(--tochka-white);
    background-color: var(--fb-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 32px;
    font-size: 12px;
    line-height: 1;
    border-top-left-radius: 0;
}

.button__2 .btn {
    position: absolute;
    right: 100%;
    top: 0;
    width: calc(100% + var(--fb-gap));
    border-radius: var(--fb-br);
    background-color: var(--fb-bg);
    color: var(--tochka-white);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    z-index: 1;
    min-width: 300px;
    text-align: end;
    padding-left: 3rem;
    padding-right: 3rem;
}

.fb-blocks.block__3,
.fb-blocks.block__4,
.fb-blocks.block__5 {
    background-size: var(--fb-img-w);
    background-color: var(--fb-bg);
}

.fb-blocks.block__3 {
    grid-row: 2 / 5;
    grid-column: 3;
    background-position: top right;
}

.fb-blocks.block__4 {
    grid-row: 3 / 5;
    grid-column: 2;
    background-position: top calc(-1 * (var(--fb-r2) + var(--fb-gap))) left;
}

.fb-blocks.block__5 {
    grid-column: 2 / 4;
    background-position: top calc(-1 * (var(--fb-r2) + var(--fb-r3) + var(--fb-r4) + var(--fb-gap) * 2)) left;

}

.fb-blocks.img__1 {
    grid-row: 1 / 4;
    grid-column: 4;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 0;
}

.fb-blocks.img__1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-blocks.img__2 {
    grid-column: 4;
    grid-row: 4 / 6;
    position: relative;
    overflow: hidden;
}

.fb-blocks.img__2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticker-bg {
    background-color: var(--tochka-primary);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ticker-wrapper {
    background-color: var(--tochka-white);
    transform: rotate(-2deg);
    margin: 3vw 0;
}

.ticker {
    display: flex;
    padding-top: 5px;
    padding-bottom: 5px;
}

.ticker-block {
    animation: ticker 12s infinite linear;
    transform: translateX(0%);
    flex-shrink: 0;
    display: flex;
    flex-wrap: nowrap;
    font-weight: 500;
    font-size: 36px;
    align-items: center;
    line-height: 1;
}

.ticker-block .star {
    background-image: url('data:image/svg+xml,<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.0834 0.236009L22.3156 12.3191L34.8088 16.4783L22.7256 21.7105L18.5665 34.2036L13.3343 22.1205L0.841139 17.9614L12.9243 12.7292L17.0834 0.236009Z" fill="%23FD853A"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-flex;
    margin: 0 15px;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

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

.director-block {
    padding-top: 50%;
}

.director-circle {
    padding-top: 50%;
    position: relative;
    background: radial-gradient(circle at 50% bottom, #FEB273 70%, #FEB27300 60%);
    z-index: 2;
}

.director-circle:before {
    content: "";
    position: absolute;
    background-image: url(img/director-bg.svg);
    width: 140%;
    padding-top: 100%;
    bottom: 0;
    left: -20%;
    background-size: cover;
    opacity: 0;
    transition: opacity .3s linear;
    pointer-events: none;
}

.director-circle .row-toggle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 1rem;
    border: 2px solid #f1f1f1e8;
    backdrop-filter: blur(5px);
}

.director-circle .director-photo {
    position: absolute;
    bottom: 0;
    left: 6%;
    width: 88%;
    height: auto;
    pointer-events: none;
}

.director-hello {
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    transition: opacity .35s linear, top .4s ease-in-out;
    z-index: 1;
}

.hello-elem {
    font-size: 1.25rem;
    text-transform: uppercase;
}

.director-title {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
}

.director-title span {
    color: var(--tochka-primary);
}

.director-quote {
    position: absolute;
    width: 320px;
    left: 30px;
    top: 30%;
    opacity: 1;
    transition: top .4s ease-in-out, left .4s ease-in-out;
    line-height: 1.15;
}

.director-quote *:last-child{
    margin-bottom: 0;
}


.director-circle:hover:before {
    opacity: 1;
}

.director-circle:hover ~ .director-hello {
    opacity: 0;
    top: 60%;
}

.director-circle:hover ~ .director-quote {
    top: 0;
    left: 0;
}

.actor-photo-container{
    position: relative;
    padding-top: 100%;
    margin-top: 1rem;
}
.actor-photo{
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-position: center;
    object-fit: cover;
    top: 0;
}


@media (max-width: 1399.98px) {
}

@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {
}

@media (max-width: 767.98px) {
}

@media (max-width: 575.98px) {
}

@media (max-width: 350px) {
}
