/*
Theme Name: Violaton
*/

@font-face {
    font-family: "HelveticaNeueCyr";
    src: url("/wp-content/themes/Violaton/assets/fonts/HelveticaNeueCyr-Medium.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: "Philosopher";
    src: url("/wp-content/themes/Violaton/assets/fonts/Philosopher-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: block
}


/*Обнуление*/

*,
*::before,
*::after {
    box-sizing: border-box;
    transition: all 0.2s ease;
}


/* Убираем внутренние отступы */

ul[class],
ol[class] {
    padding: 0;
}

ul,
ol {
    padding: 0;
    list-style-type: none;
}


/* Убираем внешние отступы */

html,
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

html {
    opacity: 0;
    scroll-behavior: smooth;
    margin-top: 0 !important;
}

html.fonts-loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    color: var(--orange);
}

body {
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    font-family: "HelveticaNeueCyr";
    color: var(--white);
    font-weight: 550;
    background-color: var(--dark-bg);
    letter-spacing: 0.5px;
}

input,
button,
textarea,
select {
    font: inherit;
    cursor: inherit;
    padding: 0;
}

::-moz-selection {
    color: white;
    background: var(--orange);
}

::selection {
    color: white;
    background: var(--orange);
}



button {
    outline: none;
    border: none;
    background-color: transparent;
    padding: 0;
    height: fit-content;
}

img {
    object-fit: contain;
}

/*Обнуление*/


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--grey-text);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--orange);
}

.consult-form.page input:-webkit-autofill {
    color: var(--white) !important;
    background-color: var(--dark-bg);
    -webkit-box-shadow: 0 0 0 30px var(--dark-bg) inset !important;
    -webkit-text-fill-color: var(--white) !important;
}

.consult-form.mod input:-webkit-autofill {
    color: var(--white) !important;
    background-color: var(--grey-bg);
    -webkit-box-shadow: 0 0 0 30px var(--grey-bg) inset !important;
    -webkit-text-fill-color: var(--white) !important;
}

:root {
    --white: #ffffff;
    --white-op-10: rgba(255, 255, 255, 0.10);
    --white-op-20: rgba(255, 255, 255, 0.20);
    --dark-bg: #151014;
    --dark-bg-op-50: rgba(21, 16, 20, 0.55);
    --dark-bg-op-80: rgba(21, 16, 20, 0.8);
    --dark-bg-op-20: rgba(21, 16, 20, 0.2);
    --grey-bg: #2C272B;
    --grey-bg-2: #1C171B;
    --grey-bg-3: #363135;
    --orange: #D3763A;
    --orange-light: #FFB276;
    --grey-text: #646464;
    --grey-border: #403B3F;
}

header {
    top: 0;
    left: 0;
    /*     background-color: var(--dark-bg); */
    /* background: linear-gradient(to bottom, var(--dark-bg) 20%, var(--dark-bg-op-80) 50%, var(--dark-bg-op-50) 75%, transparent); */
    background: linear-gradient(to bottom, #151014CC, #151014CC, #15101426);
    padding: 26px 0;
    font-size: 20px;
    color: var(--white);
    z-index: 10;
}

.content-block {
    width: 1276px;
}

/* .header-logo {
    width: 70px;
} */
.header-logo {
    width: 133px;
    margin-bottom: 10px;
}

.header-nav {
    display: flex;
    column-gap: 48px;
}

.current-menu-item {
    color: var(--orange);
}

.social-media,
.social-media-cont {
    display: flex;
    column-gap: 20px;
}

.social-media .item,
.social-media-cont .item {
    border-radius: 50%;
    border: 1px solid var(--white-op-10);
}

.social-media .item {
    width: 48px;
    height: 48px;
}

.social-media .item:hover,
.social-media-cont .item:hover {
    border: 1px solid var(--orange);
}

.social-media .item img {
    width: 20px;
}

.social-media-cont .item {
    width: 64px;
    height: 64px;
}

.social-media-cont .item img {
    width: 28px;
}

.language-block {
    width: 49px;
}

footer {
    padding: 82px 0;
    border-top: 1px solid var(--grey-bg);
    font-size: 20px;
}

footer .address {
    line-height: 28px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.grey-text {
    color: var(--grey-text);
}

.orange-text {
    color: var(--orange);
}

.light-orange-text {
    color: var(--orange-light);
}

.line-height-24 {
    line-height: 24px;
}

.hero-section {
    /* height: 1070px; */
    padding-top: 100px;
    top: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}

.gradient-line {
    bottom: 0;
    left: 0;
    height: 60%;
    background: linear-gradient(to top, var(--dark-bg), var(--dark-bg-op-50) 75%, transparent);
}

.gradient-block {
    top: 0;
    left: 0;
    background: linear-gradient(to bottom right, var(--dark-bg), transparent 45%);
}

pre {
    font-family: "HelveticaNeueCyr" !important;
    font-size: 16px;
    white-space: pre-wrap;
}

pre ul {
    list-style-type: disc;
    list-style-position: inside;
}

pre ol {
    list-style-type: decimal;
    list-style-position: inside;
}

pre ol li::marker,
pre ul li::marker {
    color: var(--orange);
}

h1,
.main-title {
    font-size: 80px;
    font-weight: 700;
    font-family: 'Philosopher';
    scroll-margin-top: 100px;
}

h2,
.post-title {
    color: var(--orange);
    font-size: 40px;
    font-weight: 500;
}

h4,
.contactpro .desk,
.main-desk {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

.break-lines {
    white-space: pre-wrap;
}

.home-title {
    width: 40%;
}

.home-hero-h {
    height: 712px;
    /* background-color: red; */
}

.pt-9 {
    padding-top: 90px;
}

.pt-18 {
    padding-bottom: 180px;
}

.mb-38 {
    margin-bottom: 38px;
}

.instrument-title {
    text-transform: uppercase;
}

.instrument-title span {
    color: var(--white);
}

.instrument-title:hover span {
    color: var(--orange);
}

.instrument-title:nth-of-type(1) {
    text-align: center;
    top: 300px;
    left: 26px;
}

.instrument-title:nth-of-type(2) {
    bottom: 76px;
    left: 371px;
}

.instrument-title:nth-of-type(3) {
    bottom: 236px;
    left: 516px;
}

.instrument-title:nth-of-type(4) {
    top: 245px;
    left: 679px;
}

.instrument-title:nth-of-type(5) {
    top: 76px;
    left: 848px;
}

.instrument-title,
.instrument-title span {
    transition: none;
}

.instrument-link {
    width: 162px;
    height: 162px;
    background-color: var(--white);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0px 0px 12px var(--orange);
}

.instrument-img {
    border-radius: 50%;
    background-size: cover;
}

.instrument-link:nth-of-type(1) {
    top: 375px;
    left: 15px;
}

.instrument-link:nth-of-type(2) {
    bottom: 15px;
    left: 174px;
}

.instrument-link:nth-of-type(3) {
    bottom: 175px;
    left: 320px;
}

.instrument-link:nth-of-type(4) {
    top: 195px;
    left: 482px;
}

.instrument-link:nth-of-type(5) {
    top: 15px;
    left: 651px;
}

.rotate-animation {
    animation: rotate 5s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.arrow-right,
.arrow-left {
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    cursor: pointer;
}

.arrow-left {
    left: 0;
    width: 50px;
    height: 100px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    background-color: var(--white);
    padding-right: 25px;
}

.arrow-left:hover {
    width: 70px;
    padding-right: 40px;
    border-top-right-radius: 70px;
    border-bottom-right-radius: 70px;
}

.arrow-right {
    right: 0;
    width: 50px;
    height: 100px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    background-color: var(--orange);
    padding-left: 25px;
}

.arrow-right:hover {
    width: 70px;
    padding-left: 40px;
    border-top-left-radius: 70px;
    border-bottom-left-radius: 70px;
}

.carousel-itemc {
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--grey-bg);
}

.primary-btnc {
    padding: 26px 40px;
    border-radius: 34px;
    background-color: var(--orange);
    color: var(--white);
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
}

.primary-btnc:hover {
    background-color: var(--white);
    color: var(--orange);
}

.primary-btnc svg {
    margin-left: 20px;
    stroke: var(--white);

}

.primary-btnc:hover svg {
    stroke: var(--orange);
    transform: translateX(10px);
}

.primary-btnc span {
    color: var(--white);
}

.primary-btnc:hover span {
    color: var(--orange);
}

.w-fit {
    width: fit-content;
}

.gap-32 {
    gap: 32px;
}

.column-gap-60 {
    column-gap: 60px;
    row-gap: 30px;
}

.column-gap-20 {
    column-gap: 20px;
}

.row-gap-20 {
    row-gap: 20px;
}

.row-gap-60 {
    row-gap: 60px;
}

.row-gap-40 {
    row-gap: 40px;
}

.instrument-item {
    column-gap: 108px;
}

.instrument-item .title {
    font-size: 40px;
    line-height: 48px;
}

/*
span {
    color: var(--orange);
}
*/

.instrument-item .description {
    font-size: 20px;
    line-height: 28px;
    margin: 40px 0 44px 0;
}

.instrument-item img {
    width: 400px;
    height: 400px;
    animation: rotate 10s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.mobile-1 {
    display: none !important;
}

.mobile {
    display: none !important;
}

.mb-120 {
    margin-bottom: 120px;
}

.mb-80 {
    margin-bottom: 80px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.page-desk-block {
    row-gap: 40px;
    width: 520px;
}

.page-desk-block-img {
    width: 628px;
}

.pt-120 {
    padding-top: 120px;
}

.pb-120 {
    padding-bottom: 120px;
}

.pt-40 {
    padding-top: 40px;
}

.edu-block {
    border-radius: 20px;
    border: 1px solid var(--white-op-20);
    /* column-gap: 156px; */
    padding: 60px;
}

.edu-block img {
    width: 228px;
}

.edu-block .img {
    width: 40%;
}

.edu-block .content {
    width: 55%;
}

.edu-block .title,
.edu-intrument-block .title {
    color: var(--orange);
    font-size: 32px;
    margin-bottom: 32px;
}

.edu-block .description,
.edu-intrument-block .description {
    font-size: 24px;
    line-height: 32px;
    margin: 32px 0 28px 0;
}

.edu-block .sub-description,
.edu-intrument-block .sub-description {
    font-size: 16px;
    line-height: 24px;
}

.edu-intrument-block {
    column-gap: 20px;
}

.edu-intrument-block .content {
    width: 40%;
    row-gap: 156px;
}

.edu-intrument-block .img {
    width: 55%;
    row-gap: 60px;
}

.edu-intrument-block .img img {
    height: 348px;
    object-fit: cover;
    border-radius: 20px;
}

.edu-intrument-block .tag,
.experience-block .tag,
.video-block .tag {
    color: var(--grey-text);
}

.edu-intrument-block .bonuses {
    gap: 60px;
}

.bonuses .title {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 20px;
}

.bonuses .desc {
    font-size: 16px;
    line-height: 24px;
}

.experience-block .title {
    font-size: 40px;
    line-height: 48px;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.exp-card {
    height: 348px;
    border-radius: 20px;
    background-color: var(--grey-bg);
    padding: 60px;
}

.exp-card .title {
    color: var(--orange);
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 20px;
}

.exp-card .desk {
    font-size: 16px;
    line-height: 24px;
    /* display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2; */
}

.exp-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 96px;
}

.video-block .desk {
    width: 60%;
    font-size: 24px;
    line-height: 32px;
}


.video-player {
    position: relative;
    width: 100%;
    height: 718px;
}

.custom-modal .video-player {
    width: 80%;
    margin-bottom: 20px;
    height: auto;
    min-height: 300px;
}

.custom-modal .video-player video {
    width: 100%;
    min-height: 300px;
}

video {
    display: block;
    object-fit: cover;
}

.overlay {
    background: var(--dark-bg-op-50);
    z-index: 2;
}

.video-border {
    background-repeat: no-repeat;
    background-size: cover;
}

.play-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    cursor: pointer;
    z-index: 3;
}

.video-hor-gradient {
    background: linear-gradient(to left, var(--dark-bg) 0px, rgba(0, 0, 0, 0) 50px, rgba(0, 0, 0, 0) calc(100% - 50px), var(--dark-bg) 100%);
}

.video-ver-gradient {
    background: linear-gradient(to bottom, var(--dark-bg) 0px, rgba(0, 0, 0, 0) 50px, rgba(0, 0, 0, 0) calc(100% - 50px), var(--dark-bg) 100%);
}

.video-hor-gradient-grey {
    background: linear-gradient(to left, var(--grey-bg-2) 0px, rgba(0, 0, 0, 0) 50px, rgba(0, 0, 0, 0) calc(100% - 50px), var(--grey-bg-2) 100%);
}

.video-ver-gradient-grey {
    background: linear-gradient(to bottom, var(--grey-bg-2) 0px, rgba(0, 0, 0, 0) 50px, rgba(0, 0, 0, 0) calc(100% - 50px), var(--grey-bg-2) 100%);
}

.video-player.filter {
    filter: grayscale(100%)
}

#custom-video.filter {
    filter: grayscale(100%)
}

.school-block .desk {
    font-size: 24px;
    line-height: 32px;
}

.school-block .subdesk {
    margin-bottom: 36px;
    width: 87%;
}

.school-block .item:first-child {
    width: 40%;
}

.school-block .item:last-child {
    width: 50%;
}

.mt-100,
.mt-100c {
    margin-top: 100px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.category-card {
    padding: 12px;
    background-color: var(--orange-light);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    border-radius: 20px;
    height: 348px;
}

.category-card-info {
    background-color: var(--white);
    border-radius: 12px;
    padding: 6px;
    padding-left: 28px;
}

.category-card-btn {
    background-color: var(--orange);
    width: 68px;
    height: 68px;
    border-radius: 8px;
}

.category-card .title {
    color: var(--grey-bg);
    font-size: 24px;
}

.workshop h4,
.category h4 {
    margin-top: 20px;
}

.breadcrumbs {
    display: flex;
    gap: 20px;
}

.breadcrumbs a:last-child,
.breadcrumbs p:last-child {
    color: var(--white);
}

.breadcrumbs {
    color: var(--grey-text);
}

.tag-card {
    padding: 12px 20px;
    border-radius: 6px;
    background-color: var(--grey-bg);
    color: var(--white);
    text-transform: uppercase;
}

.tag-card.active {
    background-color: var(--white);
    color: var(--grey-bg);
}

.gap-8 {
    gap: 8px;
}

.news-block {
    row-gap: 60px;
}

.one-news-block {
    display: flex;
    border-bottom: 1px solid var(--grey-bg);
    padding-bottom: 60px;
    /* margin-bottom: 60px; */
}

.one-news-info {
    /* height: 396px; */
    width: 50%;
    border-radius: 20px;
    background-color: var(--grey-bg);
    padding: 60px;
}

.one-news-info .title,
.custom-modal-body .title {
    font-size: 24px;
    line-height: 32px;
}

.custom-modal-body .title {
    margin: 20px 0;
}

.one-news-info .desk {
    margin: 20px 0 28px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;

}

.one-news-info .desk,
.custom-modal-body .desk,
.post-desk {
    line-height: 24px;
    font-family: "HelveticaNeueCyr";
}

.post-desk {
    font-size: 16px;
}

.custom-modal-body pre.desk,
.post-desk {
    overflow-x: hidden;
    white-space: pre-wrap;
}

.post-video {
    width: 80%;
    max-width: 800px;
}

.post-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

.custom-modal-body .desk iframe {
    width: 80%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
}

.post-desk iframe,
.post iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
}

.one-news-block img {
    border-radius: 20px;
    object-fit: cover;
    object-position: top center;
    width: 50%;
    height: 396px;
}

.post-img {
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

.btn {
    display: none !important;
}

.load-more-btn {
    height: 68px;
    text-align: center;
    border-radius: 34px;
    border: 2px solid var(--grey-bg);
}

.loadMoreBtn {
    bottom: -68px;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg-op-80);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out, z-index 0s 0.3s;
    z-index: -1;
}

.custom-modal.show {
    visibility: visible;
    opacity: 1;
}

.custom-modal-content {
    background-color: var(--grey-bg);
    padding: 60px;
    border-radius: 20px;
    width: 60%;
    height: 80%;
    overflow-y: hidden;
}

.custom-modal-body {
    height: 100%;
    overflow-y: scroll;
}

.custom-modal-body img {
    height: 396px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

.custom-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.custom-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--grey-text);
}

.custom-modal-body::-webkit-scrollbar {
    width: 4px;
}

.custom-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--dark-bg-op-20);
    border-radius: 10px;
}

.custom-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark-bg-op-50);
}

.flex-row-reverse-c {
    flex-direction: row-reverse;
}

.pb-68 {
    padding-bottom: 68px;
}

.desk-card {
    padding-top: 40px;
    padding-right: 108px;
    border-top: 2px solid var(--orange);
    line-height: 24px;
}

.diff-block .title {
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 48px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.diff-card {
    height: 200px;
    padding: 32px;
    border-radius: 20px;
    background-color: var(--grey-bg);
}

.diff-card img {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
}

.diff-card .desk {
    font-size: 20px;
    line-height: 28px;
}

.instr-type-video-block {
    width: 608px;
    height: 472px;
}

.instr-type-video-block .play-btn {
    width: 140px;
    height: 140px;
}

.instr-type-video-block .play-btn svg {
    width: 28px;
    height: 28px;
}

.instr-type-item .info {
    width: 451px;
}

.link-btn {
    border-radius: 34px;
    border: 2px dashed var(--orange);
    padding: 8px;
    width: max-content;
    /* width: 260px; */
}

.link-btn .icon {
    width: 52px;
    height: 52px;
    background-color: var(--orange);
    border-radius: 50%;
    margin-right: 24px;
}

.instr-type-item.reverse {
    flex-direction: row-reverse;
}

.instr-type-item .title {
    font-size: 40px;
    line-height: 48px;
    margin-top: 48px;
}

.instr-type-item .desk {
    font-size: 20px;
    line-height: 28px;
    margin: 40px 0;
    /* margin: 40px 0 10px; */
}

/* .hide-txt-btn {
    font-size: 12px;
    text-align: right;
    margin-bottom: 30px;
    cursor: pointer;
} */

.notes-list {
    flex-direction: column;
}

.notes-title {
    margin-bottom: 12px;
}

.notes-desk {
    line-height: 24px;
}

.bg-grey {
    background-color: var(--grey-bg-2);
}

.instrument-desk-block {
    column-gap: 80px;
}

.instrument-desk-block img {
    width: 568px;
}

.instrument-desk-block .desk {
    width: 520px;
}

.about-cat-block {
    padding-top: 40px;
    border-top: 2px solid var(--orange);
}

.about-cat-block .desk {
    line-height: 24px;
    width: 628px;
}

.offer-block {
    width: 628px;
    padding: 40px;
    border-radius: 20px;
    background-color: var(--orange);
}

.offer-block .title {
    font-size: 24px;
    line-height: 32px;
    width: 90%;
}

.offer-block .subtitle {
    margin-top: 12px;

}

.reverse-row {
    flex-direction: row-reverse;
}

.form-btn {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color: var(--white);
    border-radius: 34px;
    padding: 26px 0;
    cursor: pointer;
}

.form-btn:hover {
    background-color: var(--orange);
    color: var(--white);
}

.form-block .desk {
    font-size: 24px;
    line-height: 32px;
    width: 30%;
}

.form-block form {
    width: 520px;
}

.form-inputc input {
    width: 95%;
    outline: none;
    background-color: transparent;
    border: none;
    color: var(--white);
    font-family: inherit;
}

.form-inputc input::placeholder {
    color: var(--white);
}

.form-inputc {
    padding: 22px 36px;
    border-radius: 34px;
    border: 2px solid var(--grey-bg);
}

.form-inputc:has(input:focus) {
    border: 2px solid var(--white);
}

.form-inputc svg path,
.form-inputc svg rect {
    fill: var(--grey-bg);
}

.form-inputc:has(input:focus) svg path,
.form-inputc:has(input:focus) svg rect {
    fill: var(--white);
}

.consult-form .subdesk {
    width: 90%;
    font-size: 12px;
    line-height: 20px;
}

.consult-form .subdesk a {
    color: var(--white);
}

.consult-slogan {
    font-family: 'Philosopher';
    font-weight: 700;
    font-size: 120px;
    line-height: 112px;
}

.consult-slogan p:nth-child(2) {
    margin-left: 123px;
}

.consult-slogan p:nth-child(3) {
    margin-left: 392px;
}

.link-notes {
    align-items: center;
}

.desktop-md {
    display: none;
}

.consult-modal {
    width: 100%;
}

.consult-modal-block {
    width: 628px;
    max-height: 90vh;
    overflow-y: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.consult-modal-content {
    background-color: var(--grey-bg);
    padding: 60px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.consult-modal-footer {
    justify-content: space-between;
    padding: 20px 60px;
    background-color: var(--grey-bg-3);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.consult-modal-content .title,
.success-modal-content .title {
    font-size: 40px;
    line-height: 48px;
    width: 60%;
}

.consult-modal-content .form-inputc {
    border-color: var(--grey-border);
}

.consult-modal-content .form-inputc svg path,
.consult-modal-content .form-inputc svg rect {
    fill: var(--grey-border);
}

.consult-modal-content .desk,
.success-modal-content .desk {
    line-height: 24px;
    margin: 28px 0 40px 0;
}

.custom-dropdown {
    display: inline-block;
}

.dropdown-btn {
    padding: 26px 36px;
    border-radius: 34px;
    border: 2px solid var(--grey-border);
    cursor: pointer;
}

.dropdown-btn .icon {
    transition: transform 0.3s ease;
}

.dropdown-menuc {
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    border: 2px solid var(--grey-border);
    border-radius: 34px;
    background-color: var(--grey-bg);
    list-style: none;
    padding: 26px 36px !important;
    row-gap: 20px;
    z-index: 1;
}

.selected-text {
    width: 95%;
}

.dropdown-itemc {
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.custom-dropdown.open .dropdown-btn .icon {
    transform: rotate(180deg);
}

.custom-dropdown.open .dropdown-menuc {
    display: flex;
}

.adres-block {
    width: 412px;
    padding-bottom: 46px;
    border-bottom: 2px solid var(--orange);
    margin-right: 128px;
}

.adres-block .desk,
.contact-block-pro .desk {
    font-size: 24px;
    line-height: 32px;
    margin-top: 24px;
}

.vk-links {
    column-gap: 88px;
}

.vk-links .title {
    font-size: 24px;
    margin-bottom: 16px;
}

.map-block {
    height: 480px;
    filter: grayscale(1);
}

.map-block:hover {
    filter: grayscale(0);
}

.contact-block {
    align-items: end;
}

.contactpro h1 span,
.contact h1 span {
    display: block;
}

.contact-block-pro {
    padding: 46px 0;
    border-top: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
}

.contact-block-pro .social-media-cont {
    margin-top: 24px;
}

.contactpro .desk:nth-child(1) {
    margin-bottom: 40px;
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg-op-80);
    /* visibility: visible; */
    visibility: hidden;
    /* opacity: 1; */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out, z-index 0s 0.3s;
    z-index: -1;
    /* z-index: 11; */
}

.success-modal.show {
    visibility: visible;
    opacity: 1;
}

.success-modal-content {
    background-color: var(--grey-bg);
    padding: 60px;
    border-radius: 20px;
    width: 628px;
    overflow: hidden;
}

.success-modal-content img {
    width: 500px;
    top: -50px;
    right: -250px;
}

.title-svg {
    flex-direction: column;
    justify-content: start;
}

.title-svg svg {
    width: 56px;
    height: 56px;
}

.default-page-content div,
.default-page-content p {
    margin-bottom: 20px;
}

.default-page-content a {
    color: var(--orange);
}

.error-msg {
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
    color: var(--orange-light);
}

.error-img {
    height: 60vh;
    object-fit: contain;
}

.pause-overlay {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 72%;
    width: 100%;
    z-index: 2;
}

.video-page,
.post-desk iframe,
.post iframe {
    width: 900px;
    height: 700px;
}

@media screen and (max-width: 1439px) {
    .content-block {
        width: 1200px;
    }

    .hero-section.instruments::after {
        background-position: 75% 0;
    }

    .page-desk-block-img {
        width: 548px;
    }

    .home-title {
        width: 45%;
    }

    .video-page,
    .post-desk iframe,
    .post iframe {
        width: 940px;
        height: 740px;
    }
}

@media screen and (max-width: 1279px) {

    /* @media screen and (max-width: 1439px) { */
    .content-block {
        width: 944px;
    }

    header {
        font-size: 18px;
    }

    .header-nav {
        column-gap: 28px;
    }

    .social-media {
        column-gap: 15px;
    }

    .social-media .item {
        width: 38px;
        height: 38px;
    }

    .social-media .item img {
        width: 15px;
    }

    .hero-section {
        /* height: 970px; */
        padding-top: 90px;
    }

    h1,
    .main-title {
        font-size: 70px;
    }

    .instrument-item {
        column-gap: 68px;
    }

    .instrument-item img {
        width: 300px;
        height: 300px;
    }

    .instrument-item .title {
        font-size: 35px;
        line-height: 43px;
    }

    footer {
        font-size: 18px;
    }

    .instrument-item .description {
        font-size: 18px;
        line-height: 26px;
    }

    .video-player {
        height: 528px;
    }
  
    .school-block .subdesk {
        width: 89%;
    }
 
    .mt-100 {
        margin-top: 90px;
    }

    .category-card {
        height: 278px;
    }

    .consult-slogan {
        font-size: 110px;
    }

    .consult-slogan p:nth-child(2) {
        margin-left: 73px;
    }

    .consult-slogan p:nth-child(3) {
        margin-left: 262px;
    }

    .instruments .page-desk-block {
        width: 400px;
    }

    .instruments .page-desk-block-img {
        width: 480px;
    }

    .diff-card {
        padding: 20px;
    }

    .diff-card .desk {
        font-size: 18px;
    }

    .link-notes {
        flex-direction: column;
        align-items: start;
    }

    .instr-type-video-block {
        width: 440px;
        height: 350px;
    }

    .instr-type-item .info {
        width: 341px;
    }

    .form-btn {
        bottom: 20px;
    }

    .instrument-desk-block img {
        width: 480px;
    }

    .offer-block {
        padding: 20px;
    }

    .desk-card {
        padding-right: 78px;
    }

    .hero-section.instruments::after {
        background-position: 55% 0;
    }

    .title-svg {
        flex-direction: row-reverse;
    }

    .instr-type-item .title {
        margin-top: 0;
        margin-right: 40px;
        width: 50%;
    }

    .video-page,
    .post-desk iframe,
    .post iframe {
        width: 810px;
        height: 630px;
    }
}

@media screen and (max-width: 1023px) {
    .content-block {
        width: 80%;
    }

    header .social-media {
        display: none !important;
    }

    .header-nav {

        /* display: grid;
        grid-template-columns: repeat(2, auto); */
        row-gap: 12px;
    }

    h1,
    .main-title,
    .consult-slogan {
        font-size: 60px;
    }

    /* .hero-section::after {
        background-position: top right;
    }
     */
    .home-title {
        width: 55%;
    }

    .home-hero-h {
        height: 572px;
    }

    .home-hero-h img {
        height: 512px;
    }

    .instrument-title {
        font-size: 14px;
    }

    .instrument-title:nth-of-type(1) {
        top: 270px;
        left: 10px;
    }

    .instrument-title:nth-of-type(2) {
        bottom: 30px;
        left: 271px;
    }

    .instrument-title:nth-of-type(3) {
        bottom: 166px;
        left: 376px;
    }

    .instrument-title:nth-of-type(4) {
        top: 231px;
        left: 492px;
    }

    .instrument-title:nth-of-type(5) {
        top: 10px;
        left: 485px;
        text-align: right;
    }

    .instrument-link {
        width: 116px;
        height: 116px;
    }

    .instrument-link:nth-of-type(1) {
        top: 330px;
        left: 11px;
    }

    .instrument-link:nth-of-type(2) {
        left: 125px;
        bottom: 11px;
    }

    .instrument-link:nth-of-type(3) {
        bottom: 126px;
        left: 230px;
    }

    .instrument-link:nth-of-type(4) {
        top: 200px;
        left: 346px;
    }

    .instrument-link:nth-of-type(5) {
        top: 71px;
        left: 469px;
    }

    .instrument-item .title {
        margin-bottom: 40px;
    }

    .desktop-1 {
        display: none !important;
    }

    .mobile-1 {
        display: block !important;
    }

    .carousel-itemc {
        margin: 0 1px;
    }

    .pt-18 {
        padding-bottom: 120px;
    }

    .edu-block {
        flex-direction: column;
        row-gap: 60px;
    }

    .mb-120 {
        margin-bottom: 80px;
    }

    .edu-block .content {
        width: 100%;
    }

    .edu-intrument-block {
        flex-direction: column;
        row-gap: 40px;
    }

    .edu-intrument-block .content {
        width: 100%;
        row-gap: 30px;
    }

    .edu-intrument-block .img {
        width: 100%;
        row-gap: 36px;
    }

    .exp-card {
        padding: 40px;
    }

    .video-player {
        height: 348px;
    }

    .play-btn {
        width: 100px;
        height: 100px;
    }

    .play-btn svg {
        width: 25px;
    }

    .school-block .item:first-child,
    .school-block .item:last-child {
        width: 100%;
    }

    .school-block {
        row-gap: 28px;
    }

    .workshop h4,
    .category h4 {
        margin-top: 0;
    }

    .category-card-info {
        padding: 4px;
        padding-left: 20px;
    }

    .category-card-btn {
        width: 52px;
        height: 52px;
    }

    .category-card-btn svg {
        width: 20px;
        height: 20px;
    }

    .category-card .title {
        font-size: 20px;
    }

    .mt-100 {
        margin-top: 105px;
    }

    .one-news-info {
        padding: 24px;
    }

    .one-news-block {
        padding-bottom: 40px;
    }

    .news-block {
        row-gap: 40px;
    }

    .custom-modal-content {
        width: 80%;
        padding: 40px;
    }

    .video-block .desk {
        width: 100%;
    }

    .desktop-lg {
        display: none;
    }

    .desktop-md {
        display: block;
    }

    .instruments .page-desk-block {
        width: 100%;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4.row-gap-grid-4 {
        row-gap: 40px;
    }

    .instrument-desk-block .desk {
        width: 100%;
    }

    .instrument-desk-block img {
        align-self: center;
    }

    .desk-card {
        padding-right: 20px;
    }

    .offer-block .title {
        font-size: 22px;
        width: 100%;
    }

    .instr-type-item.reverse {
        flex-direction: column;
    }

    .instr-type-item {
        flex-direction: column;
        row-gap: 28px;
    }

    .instr-type-item .info {
        width: 100%;
    }

    .instr-type-video-block {
        width: 492px;
        height: 380px;
    }

    .about-cat-block .desk,
    .offer-block {
        width: 50%;
    }

    .form-block {
        flex-direction: column;
        row-gap: 40px;
    }

    .form-block .desk {
        width: 520px;
    }

    .contact-block {
        flex-direction: column-reverse;
        align-items: start;
        row-gap: 40px;
    }

    .adres-block {
        margin-right: 0;
    }

    .school-block .subdesk {
        width: 100%;
    }

    .one-news-info .primary-btnc {
        padding: 18px 20px;
    }

    .notes-list {
        flex-direction: row;
    }

    .notes-title {
        margin-bottom: 0;
        margin-right: 20px;
    }

    .instr-type-item .title {
        width: auto;
    }

    .diff-card {
        padding: 28px;
    }

    .exp-card img {
        margin-bottom: 66px;
    }

    .post-img {
        height: 300px;
    }

    .video-page,
    .post-desk iframe,
    .post iframe {
        width: 620px;
        height: 480px;
    }

}

@media screen and (max-width: 767px) {
    .content-block {
        width: 91%;
    }

    header {
        font-size: 14px;
        padding: 16px 0;
    }

    /* .header-logo {
        width: 50px;
    } */
    .header-logo {
        width: 102px;
        margin-bottom: 15px;
    }

    .header-nav {
        flex-wrap: wrap;
        width: 60%;
        justify-content: end;
        column-gap: 24px;
    }

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .home-hero-h img {
        height: 320px;
        margin-bottom: 38px;
    }

    h1,
    .main-title {
        font-size: 40px;
        scroll-margin-top: 76px;
    }

    .home-hero-h {
        height: 479px;
    }

    .instrument-title {
        font-size: 12px
    }

    .instrument-title:nth-of-type(1) {
        top: 247px !important;
        left: 0 !important;
        text-align: left;
    }

    .instrument-title:nth-of-type(2) {
        bottom: 0;
        left: 80px;
    }

    .instrument-title:nth-of-type(3) {
        bottom: 146px;
        left: 236px;
    }

    .instrument-title:nth-of-type(4) {
        top: 231px;
        left: 309px;
    }

    .instrument-title:nth-of-type(5) {
        top: 80px;
        left: 280px;
    }

    .instrument-link {
        width: 72px;
        height: 72px;
        padding: 1px;
    }

    .instrument-link:nth-of-type(1) {
        top: 290px;
        left: 7px;
    }

    .instrument-link:nth-of-type(2) {
        left: 78px;
        bottom: 45px;
    }

    .instrument-link:nth-of-type(3) {
        bottom: 117px;
        left: 144px;
    }

    .instrument-link:nth-of-type(4) {
        top: 209px;
        left: 217px;
    }

    .instrument-link:nth-of-type(5) {
        top: 128px;
        left: 293px;
    }

    footer {
        font-size: 16px;
        padding: 40px 0;
    }

    .footer-item .address {
        margin: 28px 0 40px 0;
    }

    .pt-9 {
        padding-top: 40px;
    }

    .instrument-item .title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 20px;
        text-align: center;
    }

    .carousel-itemc {
        padding: 24px;
    }

    .instrument-item img {
        width: 240px;
        height: 240px;
        align-self: center;
    }

    .primary-btnc {
        padding: 18px 40px;
        width: 100%;
    }

    .arrow-right {
        width: 40px;
        height: 80px;
        padding-left: 20px;
    }

    .arrow-left {
        width: 40px;
        height: 80px;
        padding-right: 20px;
    }

    .instrument-item .description {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin: 10px 0 24px 0;
        text-align: center;
        justify-content: center;
    }

    .hero-section::after {
        transform: scaleX(-1);
        background-position: 60% 0;
    }

    .hero-section.edu::after,
    .hero-section.instruments::after {
        /* transform: scaleX(-1); */
        background-position: 10% 0;
    }

    .pt-18 {
        padding-bottom: 80px;
    }

    .flex-md-column {
        flex-direction: column !important;
    }

    .flex-md-column-reverse {
        flex-direction: column-reverse !important;
    }

    .exp-card {
        width: 242px;
        height: 380px !important;
        padding: 24px;
        margin-right: 16px;
    }

    .pt-120 {
        padding-top: 40px;
    }

    .page-desk-block {
        row-gap: 24px;
        width: 100%;
    }

    h2 {
        font-size: 20px;
    }

    h4,
    .contactpro .desk,
    .main-desk {
        font-size: 16px;
        line-height: 24px;
    }

    .mb-120 {
        margin-bottom: 40px;
    }

    .mb-60 {
        margin-bottom: 40px;
    }

    .edu-block {
        padding: 24px;
    }

    .edu-block img {
        width: 100px;
    }

    .edu-block {
        row-gap: 24px;
    }

    .edu-block .title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .edu-intrument-block .title {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .edu-block .description {
        font-size: 20px;
        line-height: 28px;
        margin: 20px 0;
    }

    .edu-intrument-block .description {
        font-size: 16px;
        line-height: 24px;
    }

    .edu-block .sub-description,
    .edu-intrument-block .sub-description {
        font-size: 14px;
        line-height: 22px;
    }

    .edu-intrument-block .img img {
        height: 268px;
        object-position: top center;
    }

    .edu-intrument-block {
        row-gap: 32px;
    }

    .edu-intrument-block .bonuses {
        flex-direction: column;
        gap: 28px;
    }

    .experience-block .title.main {
        font-size: 24px;
        line-height: 32px;
    }

    .experience-block .title {
        font-size: 20px;
        line-height: 28px;
    }

    .row-gap-60 {
        row-gap: 28px;
    }

    .video-block .desk {
        font-size: 20px;
        line-height: 28px;
    }

    .video-player {
        width: 393px;
        height: 220px;
    }

    .play-btn {
        width: 68px;
        height: 68px;
    }

    .play-btn svg,
    .instr-type-video-block .play-btn svg {
        width: 14px;
    }

    .school-block .desk {
        font-size: 20px;
        line-height: 28px;
    }

    .school-block .subdesk {
        margin-bottom: 32px;
    }

    .grid-2 {
        grid-template-columns: repeat(1, 100%);
        gap: 16px;
    }

    .mt-100 {
        margin-top: 77px;
    }

    .mt-100c {
        margin-top: 40px;
    }

    .news-block {
        row-gap: 24px;
    }

    .one-news-block img,
    .custom-modal-body img {
        height: 208px;
    }

    .one-news-info,
    .one-news-block img {
        width: 100%;
    }

    .one-news-info .desk {
        -webkit-line-clamp: 8;
    }

    .one-news-info .title,
    .custom-modal-body .title {
        font-size: 20px;
        line-height: 28px;
    }

    .one-news-block {
        padding-bottom: 24px;
        flex-direction: column;
    }

    .tag-card {
        padding: 8px 12px;
        font-size: 12px;
    }

    .custom-modal-content {
        padding: 24px;
        width: 90%;
    }

    .custom-close-btn svg {
        width: 15px;
        height: 15px;
    }

    .custom-close-btn {
        top: 8px;
        right: 8px;
    }

    .instruments .page-desk-block-img,
    .instrument-desk-block img {
        width: 95%;
    }

    .mb-80 {
        margin-bottom: 40px;
    }

    .desk-card {
        padding-right: 0;
        padding-top: 28px;
    }

    .diff-block .title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 28px;
    }

    .diff-card {
        height: 164px;
        padding: 16px;
    }

    .diff-card .desk {
        font-size: 14px;
        line-height: 22px;
    }

    .diff-card img {
        width: 28px;
        height: 28px;
        margin-bottom: 16px;
    }

    .instr-type-item .title {
        font-size: 28px;
        line-height: 36px;
        margin-top: 0;
        margin-right: 0;
    }

    .instr-type-item .desk {
        font-size: 16px;
        line-height: 24px;
        margin: 20px 0 28px 0;
        /* margin: 20px 0 10px 0; */
    }

    /* .hide-txt-btn {
        margin-bottom: 18px;
    } */

    .link-btn {
        padding: 6px;
    }

    .link-btn .icon {
        width: 40px;
        height: 40px;
        margin-right: 20px;
    }

    .instr-type-video-block {
        width: 336px;
        height: 260px;
    }

    .instr-type-video-block .play-btn {
        width: 68px;
        height: 68px;
    }

    .form-btn {
        transform: none;
        width: 100%;
        margin-top: 8px;
        padding: 18px 0;
    }

    .about-cat-block {
        padding-top: 28px;
        flex-direction: column;
        row-gap: 40px;
    }

    .about-cat-block .desk,
    .offer-block {
        width: 100%;
    }

    .offer-block {
        padding: 24px;
    }

    .offer-block .title {
        font-size: 20px;
    }

    .pb-120 {
        padding-bottom: 40px;
    }

    .consult-slogan {
        font-size: 40px;
        line-height: 40px;
    }

    .consult-slogan p:nth-child(2),
    .consult-slogan p:nth-child(3) {
        margin-left: 0;
    }

    .form-block .desk,
    .form-block form {
        width: 100%;
    }

    .form-inputc,
    .dropdown-btn {
        padding: 18px 24px;
    }

    .form-inputc input {
        width: 90%;
    }

    .consult-form.row-gap-20 {
        row-gap: 12px;
    }

    .consult-form .primary-btnc.mt-20 {
        margin-top: 12px;
    }

    .consult-form .primary-btnc.mb-20 {
        margin-bottom: 12px;
    }

    .consult-modal-block {
        width: 91%;
    }

    .consult-modal-content {
        padding: 24px;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .consult-modal-content .title,
    .success-modal-content .title {
        font-size: 24px;
        line-height: 32px;
    }

    .success-modal-content .title {
        width: 70%;
    }

    .consult-modal-content .desk {
        margin: 20px 0 28px 0;
        width: 80%;
    }

    .consult-modal-footer {
        justify-content: center;
    }

    .vk-links {
        flex-direction: column;
        row-gap: 32px;
    }

    .adres-block {
        width: 100%;
        padding-bottom: 20px;
    }

    .contactpro .desk:nth-child(1) {
        margin-bottom: 28px;
    }

    .adres-block .desk,
    .contact-block-pro .desk {
        font-size: 20px;
        line-height: 28px;
        margin-top: 20px;
    }

    .contact-block-pro {
        padding: 20px 0;
    }

    .contact-block-pro .title,
    .contact-block .title {
        font-size: 14px;
    }

    .success-modal-content {
        padding: 24px;
    }

    .success-modal-content .desk {
        margin: 20px 0 28px 0;
        font-size: 16px;
    }

    .success-modal-content img {
        width: 230px;
        top: -20px;
        right: -115px;
    }

    footer .address {
        line-height: 24px;
    }

    .exp-card img {
        width: 36px;
        height: 36px;
        margin-bottom: 28px;
    }

    .flex-row-reverse-c {
        flex-direction: column;
    }

    .exp-card .desk {
        -webkit-line-clamp: 4;
    }

    .video-page,
    .post-desk iframe,
    .post iframe {
        width: 420px;
        height: 330px;
    }

}

@media screen and (max-width: 460px) {
    .header-logo {
        width: 79px;
    }

    .home-hero-h img {
        height: 250px;
    }

    .instrument-title:nth-of-type(1) {
        top: 200px !important;
    }

    .instrument-title:nth-of-type(2) {
        left: 59px;
    }

    .instrument-title:nth-of-type(3) {
        bottom: 110px;
        left: 185px;
    }

    .instrument-title:nth-of-type(4) {
        top: 190px;
        left: 239px;
    }

    .instrument-title:nth-of-type(5) {
        top: 70px;
        left: 196px;
    }

    .instrument-link {
        width: 60px;
        height: 60px;
    }

    .instrument-link:nth-of-type(1) {
        top: 236px;
        left: 3px;
    }

    .instrument-link:nth-of-type(2) {
        left: 60px;
        bottom: 41px;
    }

    .instrument-link:nth-of-type(3) {
        bottom: 98px;
        left: 111px;
    }

    .instrument-link:nth-of-type(4) {
        top: 175px;
        left: 167px;
    }

    .instrument-link:nth-of-type(5) {
        top: 110px;
        left: 227px;
    }

    .home-hero-h {
        height: 395px;
    }

    .pt-18 {
        padding-bottom: 60px;
    }

    .primary-btnc {
        align-self: center;
        padding: 18px 20px;
    }

    .video-player {
        width: 288px;
        height: 163px;
    }

    .category-card {
        height: 182px;
    }

    .instr-type-video-block {
        width: 280px;
        height: 215px;
    }

    .form-inputc input {
        width: 89%;
    }

    .success-modal-content {
        width: 91%;
    }

    .social-media {
        display: grid;
        grid-template-columns: repeat(2, 38px);
        gap: 16px;
    }

    .carousel-itemc {
        /* text-align: center; */
    }

    .arrow-right,
    .arrow-left {
        top: 65%;
    }

    .video-page,
    .post-desk iframe,
    .post iframe {
        width: 320px;
        height: 250px;
    }

}

@media screen and (max-width: 360px) {
    .social-media-cont {
        justify-content: space-between;
        column-gap: 0;
    }

    .edu-intrument-block .img img {
        height: 155px;
    }
}

@media screen and (max-width: 340px) {
    .home-title {
        width: 60%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 { 
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
    color: #D3763A;
}

section.content-block {
    min-width: min(100%, 300px);
}

section.content-block.full {
    width: 100%;
    padding: 0 15px;
}

section.content-block.width-90 {
    width: 90%;
    max-width: 90%;
}

section.content-block.width-80 {
    width: 80%;
    max-width: 80%;
}

section.content-block.width-70 {
    width: 70%;
    max-width: 70%;
}

section.content-block.width-60 {
    width: 60%;
    max-width: 60%;
}
 
/* @media (max-width: 1300px) {
    section.content-block.full,
    section.content-block.width-90,
    section.content-block.width-80,
    section.content-block.width-70,
    section.content-block.width-60 {
        width: 60%;
        max-width: 60%;
    }
} */

@media (max-width: 700px) {
    section.content-block.full,
    section.content-block.width-90,
    section.content-block.width-80,
    section.content-block.width-70,
    section.content-block.width-60 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
    }
}

.post-desk {
    font-family: "HelveticaNeueCyr" !important;
    font-size: 16px;
    white-space: pre-wrap;
}
 
.post-desk h1 {
    font-size: 40px;
    color: white;
}

.post-desk h2 {
    font-size: 36px;
    color: #D3763A;
}

.post-desk h3 {
    font-size: 32px;
    color: white;
}

.post-desk h4 {
    font-size: 28px;
    color: #D3763A;
}

.post-desk h5 {
    font-size: 24px;
    color: white;
}

.post-desk h6 {
    font-size: 20px;
    color: #D3763A;
}

.post-desk ol,
.post-desk ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}
.post-desk ul {
    list-style-type: disc;
    list-style-position: inside;
}

.post-desk ol {
    list-style-type: decimal;
    list-style-position: inside;
}

.post-desk ol li::marker,
.post-desk ul li::marker {
    color: var(--orange);
}

.post-desk ol li,
.post-desk ul li {
    line-height: 1 !important;
}

.post-desk img {
    margin: 20px 20px 20px 0;
}

.post-desk img.alignleft {
    float: left;
}
.post-desk img.alignright {
    float: right;
}

.post-desk img.aligncenter {
    display: block;
    margin: 20px auto;
}

.post-desk .wrap__color-text ul, 
.post-desk .wrap__color-text ol {
	gap: 10px;
    margin: 0;
}
blockquote ul, 
blockquote ol {
    margin: 0 !important;
}
.post-desk ol li::marker, 
.post-desk ul li::marker {
    color: white;
}
.post-desk a {
    color: #D3763A;
    text-decoration: underline;
}

.post-desk a:hover { 
    text-decoration: none;
}

.post-desk .wrap__color-text:has(blockquote) {
    display: flex;
}
.wrap__color-text:has(blockquote) {
    display: flex;
}
.post-desk .wrap__color-text blockquote {
    padding: 0 0 0 40px;
    margin: 0;
    height: 100%;
    display: inline-flex;
}
blockquote {
    padding: 0 0 0 40px;
    margin: 0;
    height: 100%;
    display: inline-flex;
    flex-direction: column;
}

.post-desk .wrap__color-text {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    margin: 0 0 20px 0; 
    width: 100%;
}
.wrap__color-text {
    display: inline-block;
    padding: 20px;
    border-radius: 12px;
    margin: 0 0 20px 0; 
}
blockquote {
    margin: 0 0 1rem;
    padding: 0 20px 0 40px;
    position: relative; 
    border-radius: 10px;
    width: 100%;
}

blockquote:before {
    content: '';
    height: 100%;
    width: 2px;
    background: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
}


iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    height: auto !important;
    max-width: 900px;
}



@media (max-width: 550px) {
    .post-desk img.alignleft,
    .post-desk img.alignright,
    .post-desk img.aligncenter {
        display: block;
        width: 100%;
        float: unset;
        max-height: 300px;
    }    
}

/*
* Поделиться
*/

.social-share-buttons { 
    margin: 30px 0;
    padding: 20px; 
    border-radius: 10px;
    border: 1px solid #2C272B;
    background: linear-gradient(166deg, rgba(21, 16, 20, 1) 55%, rgb(211 118 58 / 15%) 100%);
}

.social-share-buttons h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #ffffff;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 150px));
    gap: 10px;
}

.share-button {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: white;
}

.share-button .icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.share-button .icon svg {
    width: 18px;
    height: 18px;
}

.whatsapp {
    background-color: #25D366;
}

.telegram {
    background-color: #0088cc;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #000000;
}
.vkontakte {
    background-color: #4C75A3;
}
.share-button.twitter .icon svg {
    width: 20px;
    height: 20px; 
}

button.share-button.copy-link {
    white-space: nowrap;
    font-size: 14px;
    background: #dd5600;
    width: fit-content;
}

@media (max-width: 1180px) { 
    button.share-button.copy-link {
        white-space: nowrap;
        font-size: 10px;
        background: #dd5600;
        width: unset;
    }

    .btn__share .btn__share-list button.share-button.copy-link {
        white-space: nowrap;
        font-size: 14px;
        background: #dd5600;
        width: unset;
    }
}

@media (max-width: 600px) { 
    
    .share-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 48%)); 
    }
}


.title-svg_new {
    display: flex;
    align-items: start;
    gap: 10px;
}

.title-svg_new p {
    margin: 0 !important;
}


.btn__share {
	position: relative;
	width: 100%;
	max-width: 200px;   
	color: #ffffff;
}

.btn__share .btn__share-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #151014;
    cursor: pointer;
    z-index: 2;
    border-radius: 34px;
    border: 2px dashed var(--orange);
    padding: 8px;
}

.btn__share .btn__share-title.active,
.btn__share .btn__share .btn__share-title:hover {
	background-color: #D3763A;
	color: white;
}
.btn__share .btn__share-title.active svg path {
    fill: white;
}
.btn__share .btn__share-title svg path {
	stroke: #D3763A;
}

.btn__share-title:hover svg path {
	stroke: #ffffff;
}

.btn__share .btn__share-list.active {
	display: flex;
} 

.btn__share .btn__share-list {
	display: none;
	position: absolute;
	bottom: 46px;
    left: 50%;
    transform: translateX(-50%);
	width: calc(100% - 10px); 
	flex-direction: column;
	background-color: white;
	z-index: 1;
	border: 1px solid #f1f1f1;
	border-radius: 10px;
}
.btn__share .btn__share-list button.share-button.copy-link {
	text-align: left;
	border: none;
	background-color: transparent;
}
.btn__share .btn__share-list .share-button {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
	padding: 10px;
	text-decoration: none;
	color: #000000;
	background: transparent !important;
}
 
.btn__share .btn__share-list .share-button svg {
	width: 18px;
	height: 18px;
	fill: #000000;
}


/*COOKIES BANNER START*/

#cookiesmodal .cookie-bumper .button {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 5px 3px;
	border: none;
	border-radius: 20px;
	padding: 14px 24px; 
    color: #fff;
	text-decoration: none;
	line-height: 20px;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer
}
 

#cookiesmodal .cookie-bumper .button:hover {
	-webkit-filter: contrast(90%);
	filter: contrast(90%)
}

#cookiesmodal .cookie-bumper .button .button__text {
	margin-left: 8px
}

#cookiesmodal .cookie-bumper .button .button__text:first-child {
	margin-left: 0
} 

#cookiesmodal .cookie-bumper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center; 
	max-width: 1200px;
	margin: 0 auto; 
	-webkit-font-smoothing: antialiased
}

#cookiesmodal .cookie-bumper__text {
    font-size: 12px;
    line-height: 1.43;
    color: #ffffff;
    margin-right: 12px;
}
#cookiesmodal .cookie-bumper__text a{
	font-size: 12px;
	line-height: 1.43; 
}
.cookie-bumper__text span.orange {
    color: #d3763a;
}

#cookiesmodal .cookie-bumper__button { 
	white-space: nowrap;  
	padding: 14px 40px; 
    border-color: #ffa600;
    border-radius: 34px; 
    cursor: pointer;
    font-size: 16px;
}

#cookiesmodal .cookie-bumper__button:nth-child(2) {
    background-color: #D3763A;
    color: white;
    border: 1px solid transparent;
    margin-right: 8px;
}
#cookiesmodal .cookie-bumper__button:nth-child(2):hover {
    background-color: white;
    color: #D3763A; 
}

#cookiesmodal .cookie-bumper__button:nth-child(3) {
    background-color: transparent;
    color: #D3763A;
    border: 1px solid #D3763A;
}
#cookiesmodal .cookie-bumper__button:nth-child(3):hover {
    background-color: #D3763A;
    color: white;
}

#cookiesmodal .cookie-bumper__button:hover { 
    background: #ffa600;
    border-color: #ffa600;
    color: white;
}

#cookiesmodal .cookie-bumper .cookie-bumper__text a {
    display: inline;
    color: #d3763a;
    text-decoration: none;
    cursor: pointer;
}
.cookie-bumper-wrap {
    width: 100%;
    max-width: 940px;
    border-radius: 24px;
    padding: 20px;
    background: #2C272B;
    position: fixed;
    bottom: 24px;
    z-index: 999999;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

@media (max-width: 960px) {
    .cookie-bumper-wrap {
        width: calc(100% - 30px);
    }    
}

@media (max-width: 790px) {
    .cookie-bumper {
        flex-wrap: wrap;
        gap: 10px;
    }
    #cookiesmodal .cookie-bumper__button:nth-child(2) { 
        margin-right: 0;
    }
}

 
 
@media screen and (max-width: 599px) {
	#cookiesmodal .cookie-bumper {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap
	}

	#cookiesmodal .cookie-bumper .cookie-bumper__text {
		margin: 0
	}
    #cookiesmodal .cookie-bumper__button { 
        padding: 14px 30px; 
    }
}



/*COOKIES BANNER END*/
ul.nostyle {
    list-style: none;
}
.form-row.agree {
    width: 100%;
}

.form-row.agree label.radio-checkbox {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.post-desk p br {
    display: contents;
}


.post-columns .line-column {
    display: flex;
    align-items: start;  
    gap: 20px;
    margin-bottom: 20px;
}
.post-columns .line-column .video {
    width: 320px;
}

.post-columns .line-column .text {
    width: calc(100% - 340px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    margin-bottom: 15px;
}
.post-columns .line-column .video {
    width: 320px;
    height: 100%;
    position: sticky;
    top: 10px;
    aspect-ratio: 9/16;
}
.post-columns .line-column .video video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 1000px) {
    .post-columns .line-column {
        flex-direction: column;
    }
        
    .post-columns .line-column .video { 
        position: static;
        top: 0;
    }
    
    
    .post-columns .line-column .video {
        width: 100%;
    }
    
    .post-columns .line-column .text {
        width: 100%;
    }
    
}

#my-video {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.post-desk h1,
.post-desk h2,
.post-desk h3,
.post-desk h4,
.post-desk h5,
.post-desk h6 {
    margin: 0;
}
.wrap__color-text {
    padding: 10px;
}
.vjs-poster img { 
    object-fit: cover;
}

blockquote:has(.wrap__color-text) {
    padding: 0 0 0 40px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 40px;
}

blockquote .wrap__color-text {
    margin-bottom: 0 !important;
}
#carousel-home {
    overflow: hidden;
    position: relative;
}