body {
	background-color: #ffffff !important;
	font-family: "Montserrat", sans-serif;
}
a {
	text-decoration: none !important;
}
.wp-block-button.is-style-outline
	> .wp-block-button__link:not(.has-text-color, .has-background):hover {
	background-color: var(--wp--preset--color--contrast-2, var(--wp--preset--color--contrast, transparent));
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--contrast-2, var(--wp--preset--color--contrast, currentColor));
}
.block-all {	
  max-width: 1152px;
  margin: auto;
}
.block-banner {
  display: grid;
  grid: "title picture" auto / 1fr 1fr;
  padding-bottom: 8.2rem;
  padding-top: 4.3rem;
}
.block-title{
  grid-area: title;
  align-content: center;
}
.block-img{
  grid-area: picture;
  align-content: center;
  text-align: center;
  position: relative;
}
.hero__title {
    font-weight: 900;
    font-size: 3.3rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: #f22f15;
}
.btn {
    text-transform: uppercase;
}
.btn-dark {
    color: #fff;
    background-color: #0a0f24;
    border-color: #0a0f24;
}
.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 3px solid transparent;
    padding: .8rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -o-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}
.block-experts {
  max-width: 1152px;
  margin: auto;
  display: grid;
  grid: "pictureEx textRx" auto / .4fr 1fr;
  padding: 2rem 0;
}
.block-textRx{
  grid-area: textRx;
  align-content: center;
  max-width: 570px;
}
.block-pictureEx{
  grid-area: pictureEx;
  align-content: center;
}
.experts-content__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}
.wave-content {
    position: relative;
}
.wave-content::after, .wave-content::before {
    content: '';
    width: 34.5rem;
    height: 16.75rem;
    position: absolute;
    display: block;
    right: calc(100% + 2rem);
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: url(/wp-content/uploads/2025/07/wave.svg) center / contain no-repeat;
    z-index: -1;
}
.wave-content::after {
    left: calc(100% + 2rem);
}
.block-advantages {
  max-width: 1152px;
  margin: auto;
  display: grid;
  grid: "textAd pictureAd" auto / 1fr 1fr;
  padding: 8rem 0;
}
.block-textAd{
  grid-area: textAd;
  align-content: center;
  max-width: 570px;
}
.block-pictureAd{
  grid-area: pictureAd;
  align-content: center;
}
.advantages__list {
    height: 100%;
    position: relative;
}
.advantages__item:nth-child(1) {
    left: 3.8%;
    top: 8.5%;
}
.advantages__item:nth-child(2) {
    left: 13.2%;
    top: 71%;
}
.advantages__item:nth-child(3) {
    left: 22%;
    top: 9%;
}
.advantages__item:nth-child(4) {
    top: -15%;
    left: 42%;
}
.advantages__item:nth-child(5) {
    top: 66%;
    left: 40%;
}
.advantages__item:nth-child(6) {
    top: 58%;
    left: 59%;
}
.advantages__item:nth-child(7) {
    top: -3%;
    left: 63%;
}
.advantages__item {
    position: absolute;
    left: 0;
    top: 1000px;
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    color: #f22f15;
    opacity: .9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.services {
  max-width: 1152px;
  margin: auto;
  padding: 2.5rem 0 4rem;
}
.block__title {
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #181818;
    display: inline-block;
    margin-bottom: 2.9rem;
}
.block__title--underline:hover {
    text-decoration: none;
}
.block__title--underline {
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}
.services__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(280px, auto);
    grid-gap: 0;
}
.services__item {
    background: #fff;
    padding: 32px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    text-decoration: none !important;
    border: 1px solid #dcdcdc;
    margin-right: -1px;
    margin-bottom: -1px;
}
.services__name {
    margin-top: auto;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #0a0f24;
    padding-right: 2rem;
}
.services__item--large {
    grid-column-start: 1;
    grid-column-end: 3;
}
.services-lead {
    display: flex;
    align-items: center;
    gap: 20px;
}
.services-lead__num {
    font-weight: 800;
    font-size: 96px;
    line-height: 120px;
    color: #f22f15;
}
.services-lead__text {
    font-size: 16px;
    line-height: 28px;
    color: #0a0f24;
    opacity: .9;
}

.services__image {
    width: 70px;
    max-height: 65px;
    position: absolute;
    right: 33px;
    top: 37px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .25;
    -webkit-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;
}
.services__item:hover .services__image {
    -webkit-filter: grayscale(0%) !important;
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}
.services__item:hover {
    -webkit-box-shadow: 0 0 0 4px #f22f15, 0 24px 24px rgba(242, 47, 21, .12);
    box-shadow: 0 0 0 4px #f22f15, 0 24px 24px rgba(242, 47, 21, .12);
    z-index: 1 !important;
}
a:hover {
    color: #f22f15;
}
.studio {
  max-width: 1152px;
  margin: auto;
  padding: 2.5rem 0 4rem;
}
.studio__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 2.9rem;
}
.studio-item {
  display: grid;
  grid: "vokal apparat launj" auto / 1fr 1fr 1fr;
  gap: 1rem;
}
.studio-photo__image {
    margin-bottom: 2rem;
    height: 200px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}
.studio-photo__name {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #0a0f24;
    margin-bottom: 12px;
}
.studio-photo__description {
    font-size: 16px;
    line-height: 28px;
    color: #0a0f24;
    opacity: .9;
    margin: 12px 0;
}
.partners {
    max-width: 1152px;
    margin: auto;
    padding: 5rem 0;
}
.partners-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 1px;
    background: #dcdcdc;
    border: 1px solid #dcdcdc;
    grid-auto-rows: minmax(160px, auto);
}
.fade-animate {
    opacity: 0;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
}

.partners-list__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #fff;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-transition: -webkit-box-shadow .25s ease;
    -o-transition: box-shadow .25s ease;
    transition: box-shadow .25s ease;
    transition: box-shadow .25s ease, -webkit-box-shadow .25s ease;
}
.partners-list__logotype {
    width: 96px;
    height: 96px;
    -o-object-fit: contain;
    object-fit: contain;
    display: block;
    opacity: .4;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
.partners-list__item:hover {
    -webkit-box-shadow: 0 24px 24px rgba(242, 47, 21, .12);
    box-shadow: 0 24px 24px rgba(242, 47, 21, .12);
}
.partners-list__item:hover .partners-list__logotype {
    opacity: 1;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}
.content-block {
    max-width: 1152px;
    margin: 5.2rem auto;
}
.header-callme {
    font-weight: 700;
    text-transform: uppercase;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	font-size: 1.25rem;
}
.header-callme img {
    vertical-align: sub;
}
.icon-dialog, .icon-facebook {
    width: 1em;
    height: 1em;
    fill: initial;
}
.hero-image__lead {
    max-width: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    pointer-events: none;
}
.about-hero__logo {
    max-width: 24rem;
    width: 100%;
}
.wp-block-latest-posts__featured-image img {
    max-height: 128px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-bottom: 1.5rem;
    -webkit-transition: opacity .25s ease;
    -o-transition: opacity .25s ease;
    transition: opacity .25s ease;
    aspect-ratio: 2 / 1;
}
.wp-block-latest-posts.wp-block-latest-posts__list li a {
    clear: both;
    overflow-wrap: break-word;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #0a0f24;
}
.portfolio li .wp-block-latest-posts__featured-image img {
	max-height: 600px;
}
.footer-colum {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0;
}
.footer-links {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
}
.footer-bottom {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0;
}
.footer-links__item {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: #0a0f24;
    display: block;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.footer-contacts__item {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: #0a0f24;
    display: block;
}
#form {
	position: relative;
    display: inline-block;
    border-radius: 0px;
	width: 100%;
}
#form:before {
	content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0px;
    background: #dcdcdc;
    z-index: 1; 
}
.form-block {
	background-color: #ffffff;
    padding: 12px;
    border-radius: 0px;
	z-index: 2;
    position: relative;
}
.wpcf7-form-control {
	background-color: #ffffff;
	border: none;
	border-bottom: 1px solid #dcdcdc;
	width: 100%;
}
.wpcf7-submit {
	color: #fff;
    background-color: #0a0f24;
}
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
    background-color: #f22f15;
    color: var(--wp--preset--color--base);
    border-color: #f22f15;
}
@media screen and (max-width: 790px) {
	.header-callme {
    	display: none;
	}
	.block-banner {
    	grid: "picture" auto "title" 1fr / 1fr;
		padding: 2rem 0.5rem;
	}
	.hero__title {
        font-size: 24px;
        text-align: center;
    }
	.btn-dark {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
	.block-experts {
    	grid: "pictureEx" auto "textRx" 1fr / 1fr;
		padding: 2rem 0.5rem;
	}
	.block-pictureEx {
    	justify-self: center;
	}
	.wave-content::after {
    	display: none;
	}
	.block-advantages {
    	grid: "textAd" 1fr "pictureAd" 1fr / 1fr;
		gap: 65px;
        padding: 2rem 0.5rem;
	}
	.services-lead {
    	flex-direction: column;
	}
	.services__list {
        grid-auto-rows: minmax(220px, auto);
    }
	.services__list {
        grid-template-columns: repeat(1, 1fr);
    }
	.services__item--large {
        grid-column-start: 1;
        grid-column-end: 1;
    }
	.services {
    	padding: 2rem 0.5rem;
	}
	.studio {
    	padding: 2rem 0.5rem;
	}
	.studio-item {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 1rem;
        padding: 0 1rem;
        /* Убираем grid */
        grid: none;
    }

    .studio-photo__item {
        flex: 0 0 calc(100vw - 2rem); /* Ширина одного слайда — почти весь экран */
        min-width: 100%;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Убираем текстовые блоки, если они мешают — можно оставить, но адаптировать */
    .studio-photo__name,
    .studio-photo__description {
        font-size: 1.1rem;
        margin-top: 0.5rem;
		padding: 4px;
    }
	.studio-item::-webkit-scrollbar {
        height: 6px;
    }

    .studio-item::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }

    .studio-item::-webkit-scrollbar-track {
        background-color: #f0f0f0;
    }
	.partners {
    	padding: 2rem 0.5rem;
	}
	.partners-list {
        grid-template-columns: repeat(2, 1fr);
    }
	.content-block {
    	padding: 2rem 0.5rem;
		margin: auto;
	}
	.footer-colum {
    	grid-template-columns: repeat(1, 1fr);
	}
	.footer-links {
    	grid-template-columns: repeat(2, 1fr);
	}
	.footer-bottom {
		display: grid;
    	grid-template-columns: repeat(1, 1fr);
    	grid-gap: 0;
	}
	.wp-container-core-group-is-layout-edbfaf1b {
        grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr));
    }
}

@media screen (min-width: 791px) and (max-width: 991px) {
    .services__list {
        grid-template-columns: repeat(2, 1fr);
    }
	.partners-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
