/* CSS styles */
*, ::after, ::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-optical-sizing: auto;
}

/* Для современных браузеров с поддержкой variable fonts */
@supports (font-variation-settings: normal) {
    html {
        font-family: 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-optical-sizing: auto;
    }
}

body, 
input, button, textarea, select,
a, span, div, 
h1, h2, h3, h4, h5, h6,
p, li, td, th,
::placeholder, ::before, ::after {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

body {
    display: block;
    margin: 0;
    line-height: inherit;
    font-family: inherit;
    color: black;
    text-transform: uppercase;
    background-color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

p, blockquote, figure, figcaption, dl, dd {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: inherit;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

input, button, textarea, select {
    font: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
}
/* --------------------------------------------------------- */
h1 {
    font-family: Inter;
    font-size: 30px;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 36px;
    text-transform: uppercase;
}

h2 {
    font-family: Inter;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 36px;
    text-transform: uppercase;
}

p {
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Main menu -------------------------------------- */
nav {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 1);
    z-index: 50;
}

.navigation {
    width: 100%;             
    display: flex;           
    align-items: center;     
    padding-left: 40px;      
    padding-right: 40px;     
    height: 64px;            
}

ul {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
}

#main-menu {
    display: flex;
    margin-left: auto; 
}

#main-menu a {
    margin-left: 40px;
    padding: 6px 0px;
    border-bottom: 0px solid transparent;
    transition: border-bottom-width 0.1s ease;
}

#main-menu a:hover {
    border-bottom: 4px solid black;
}

#main-menu a.active {
    border-bottom: 4px solid black;
}

/* Services button--------------------------------------- */
#sevices-button {
    padding: 8px 50px 8px 30px;
    margin-left: 30px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid black;
    cursor: pointer;
}

#sevices-button:hover img {
    top: 20px;
}

#sevices-button.open-style:hover img {
    top: 16px;
}

#sevices-button img {
    position: absolute;
    height: 32px;
    width: 32px;
    top: 16px;
    right: 240px;
    transform: rotate(90deg);
    transition: all 0.2s ease;
}

/* Style button for js dopdown */
#sevices-button.open-style img{
    transform: rotate(-90deg);
}

/* Contact Us button---------------------------------- */
#contact-button {
    cursor: pointer;
    padding: 8px 30px;
    margin-left: 12px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid black;
    background-color: black;
    color: white;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#contact-button:hover {
    background-color: white;
    color: black;
}

/* Navigation panel logo */
.scale-logo {
    display: inline-block;
    width: 180px;
}

@media only screen and (max-width: 1060px) {
    .scale-logo {
        width: 160px;
    }
}


/* Sevices list menu ---------------------------------------- */
.dropdown {
    width: 100%; 
    padding-top: 64px;
    display: block;
}

.dropdown.open #sevices-list {
    position: fixed;
    display: grid;
    animation: slideDown 0.3s ease-out;
    z-index: 10;
  }

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }
}

#sevices-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 1);
}

#sevices-list h2 {
    padding: 0px 40px 10px 40px;
}

#sevices-list ul {
    padding: 40px 0px 50px 0px;
    font-size: 22px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}


#sevices-list a {
    display: block;
    padding: 10px 40px;
    transition: background-color 0.2s ease;
}


.category-1 {
    border-left: none !important;
}

/* Sevices list menu :hover */
#sevices-list a:hover {
    color: white;
    background-color: black;
    background-image: url('../images/arrow-white-services-menu.svg');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: 98.5% 50%;
}

.dropdown-services.active {
    color: white;
    background-color: black;
}

/* Home page main section--------------------------------------------------- */
#start-view {
    background-color: white;
    height: 100dvh;
    margin-top: -64px;
    padding-top: 64px;
}

#start-view h1 {
    color: white;
    font-size: 48px;
    font-style: normal;
    font-weight: 100 !important;
    line-height: normal;
    max-width: 900px;
    letter-spacing: 2px;
}

#start-view video {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.content-win {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 5;
}

.bg-win {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0
}

/* BG gradient ------------------------------------------- */
.bg-win::before,
.bg-win::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(rgba(0, 0, 0, 0.45), transparent);
    z-index: 1;
}

.bg-win::after {
    top: auto;
    bottom: 0;
    transform: rotate(180deg);
}

/* BG video container ------------------------- */
.video-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
/* ------------------------------------------- */

#button-black {
    display: block;
    position: relative;
    margin-top: 40px;
    padding: 12px 32px;
    color: white;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background-color: black;
    z-index: 8;
}

#button-black:hover {
    color: black;
    background-color: white;
}

#button-full-gallery {
    display: block;
    position: relative;
    margin-top: 40px;
    padding: 12px 32px;
    color: white;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background-color: black;
    border: 1px solid black;
    transition: color 0.2s ease, background-color 0.2s ease;
}

#button-full-gallery:hover {
    color: black;
    background-color: white;
}

#home-text, #button-black {
    transition: 0.7s ease-in-out;
    transition-property: opacity, transform, margin, line-height;
}

.hidden {
    display: block !important;
    transform: translateY(-40px);
    opacity: 0;   
}

h1.hidden {
    line-height: 40px !important;
}
button.hidden {
    margin-top: 10px !important;
}

/* Selected works----------------------------------------------------- */
.selected-works {
    display: block;
    position: relative;
    height: 100%;
    background-color: white;
}

.selected-works header {
    padding: 60px 40px;
    min-height: 300px;
}

.selected-works h1 {
    font-size: 30px;
}

.selected-works p {
    margin-top: 16px;
    font-size: 30px;
    max-width: 50%;
}

/* Gallery Homepage ----------------------------------------------------- */
.gallery-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px; 
    background-color: black;
}

.gallery-home-column-1, .gallery-home-column-2, .gallery-home-column-3 {
    display: flex;
    flex-direction: column;
    gap: 12px; 
}


.gallery-home-column-1 img, .gallery-home-column-2 img, .gallery-home-column-3 img {
    display: inline;
    object-fit: cover; 
    width: 100%; 
    height: 100%; 
    cursor: pointer;
}

.gallery-home-image {
    width: 100%; 
    height: 100%; 
}

.gallery-home-image:hover .gallery-home-info {
    opacity: 1;
}

.gallery-home-info {
    position: absolute;
    min-height: 60px;
    min-width: 120px;
    font-size: 16px;
    padding: 16px;
    background-color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-home-info h3 {
    font-weight: 700;
    color: white; 
}

.gallery-home-info p {
    max-width: 100%;
    margin: 0px !important;
    font-size: 16px;
    text-transform: none;
    font-weight: 300;
    color: white;
}

.button-section {
    padding-top: 58px;
    width: 50%;
    color: white;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.button-section a {
    display: block;
    position: relative;
    padding: 60px 0px 60px 40px;
    margin-left: 40px;
    background-color: black;
    background-image: url('../images/arrow-forward-white.svg');
    background-size: 58px;
    background-repeat: no-repeat;
    background-position: 97% 50%;
    transition: color 0.2s ease, background-image 0.2s ease;
}

.button-section a:hover {
    color: rgb(150, 150, 150);
    background-image: url('../images/arrow-forward-gray.svg');
}

/* Services-------------------------------------------------------- */

.services {
    display: block;
    background-color: white;
}

.services header {
    padding: 60px 40px;
    min-height: 300px;
}

.services h1 {
    font-size: 30px;
}

.services header p {
    margin-top: 16px;
    font-size: 30px;
    max-width: 50%;
}

/* Rows----------------------------------------------------------- */

.description {
    color: white;
    font-size: 22px !important;
}

.service-1 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-1 figure {
    overflow: hidden;
}

.service-2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-2 figure {
    overflow: hidden;
}

.service-3 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-3 figure {
    overflow: hidden;
}

.services-img {
    width: 100%;
}

.description a {
    display: inline-block;
    padding: 60px 40px 90px 40px;
    background-color: black;
    background-image: url('../images/arrow-forward-white.svg');
    background-size: 58px;
    background-repeat: no-repeat;
    background-position: 97% 92%;
    transition: color 0.2s ease, background-image 0.2s ease;
}

.description a:hover {
    color: rgb(150, 150, 150);
    background-image: url('../images/arrow-forward-gray.svg');
}

.description p {
    margin-top: 12px;
}

.service-1 a {
    margin-right: 40px;
}

.service-2 a {
    margin-left: 40px;
}

.service-3 a {
    margin-right: 40px;
}

/* FAQ Accordion---------------------------------------------------------- */

#faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

#faq {
    position: relative;
    min-height: calc(100dvh - 64px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; 
}

#faq img {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -100;
    object-fit: cover;
}

.accordion {
    width: 900px;
    margin: 60px auto 60px auto;
    border-top: 1px solid black;
    z-index: 1;
}
  
.accordion-item {
    border: 1px solid black;
    border-top: none;
    background-color: white;
}
  
.accordion-header {
    font-size: 18px;
    font-weight: 700;
    height: 60px;
    background-color: white;
    padding:10px 60px 10px 60px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 1px solid black; */
    /* margin-bottom: -1px; */
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    color: white;
    background-color: black;
}

.accordion-header:hover .arrow {
    background-image: url('../images/arrow-white-services-menu.svg');
}

.accordion-header .arrow {
    position: absolute;
    left: 92%;
    display: inline-block;
    margin-left: 8px;
    width: 32px; 
    height: 32px;
    background-image: url('../images/arrow-black-services-menu.svg');
    background-size: 32px;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}
  
.accordion-item.active .accordion-header .arrow {
    transform: rotate(90deg);
    background-image: url('../images/arrow-white-services-menu.svg');
}

.accordion-item.active .accordion-header {
    background-color: black;
    color: white;
}

.accordion-content {
    margin:0px 40px 0px 60px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

.accordion-content .mail {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700 !important;
    text-transform: lowercase;
    text-decoration: underline;
}

.accordion-content .mail:hover {
    text-decoration: none;
}

.accordion-content p {
    margin: 40px 0px 40px 0px;
    font-size: 16px;
}

.accordion-content strong {
    font-weight: 700;
    line-height: 40px;
}

.accordion-content ul {
    font-size: 16px;
    font-weight: 200;
    list-style: disc;
    padding-left: 22px;
}

.accordion-content li {
    margin-left: 0;
    padding-top: 12px;
}
  
.accordion-item.active .accordion-content {
    max-height: 2000px;
}

/* Footer------------------------------------------------------------ */

.sevices-list-footer {
      width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    background-color: rgb(255, 255, 255);
}

.sevices-list-footer h2 {
    padding: 0px 40px 10px 40px;
}

.sevices-list-footer ul {
    padding: 40px 0px 50px 0px;
    font-size: 22px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}


.sevices-list-footer a {
    display: block;
    padding: 10px 40px;
    transition: background-color 0.2s ease;
}

.sevices-list-footer a:hover {
    color: white;
    background-color: black;
    background-image: url('../images/arrow-white-services-menu.svg');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: 98.5% 50%;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, calc(33.333%));
    align-items: center;
    padding: 0px 40px;
    height: 100px;
    color: white;
    font-size: 12px;
    font-weight: 300;
    background-color: black;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    padding-top: 12px;
}
.footer-address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-style: normal;
}
.footer-address .location {
    font-size: 12px;
    text-transform: uppercase;
}

.location {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
}

.location-pin {
    width: 22px;
    height: 22px;
}

.mail-footer {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-transform: lowercase;
    text-decoration: underline;
}

.mail-footer:hover {
    text-decoration: none;
}

.social {
    display: flex;
}

.footer-social {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-social .copyright {
    text-align: right;
}

.social img {
    height: 44px;
}

.social a {
    width: 52px;
    padding-left: 8px;
    transition: filter 0.2s ease;
}

.social a:hover {
    filter: invert(100%);
}

.scale-logo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.scale-logo-footer img {
    width: 180px;
    padding-bottom: 10px;
}

.terms_policy {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  font-weight: 300;
}

.terms_policy li::after {
  content: "|";
  margin-left: 0.5rem;
}

.terms_policy li:last-child::after {
  content: "";
}

.terms_policy a {
    font-size: 12px;
    text-decoration: underline;
}

.terms_policy a:hover {
    text-decoration: none;
}

/* Page titles-------------------------------------------------------- */
.page-title {
    background-color: white;
}

.page-title header {
    padding: 40px 40px;
    min-height: 200px;
}

.page-title h1 {
    font-size: 30px;
}

.page-title p {
    margin-top: 30px;
    font-size: 30px;
    max-width: 50%;
}

/* Gallery Base--------------------------------------------------------- */
.filter-buttons {
    margin-left: 40px;
}

.filter-buttons button {
    text-transform: uppercase;
    margin: 0px 8px 0px 0px;
    font-weight: 200;
    font-size: 18px;
}

.filter-btn {
    padding: 5px 15px;
    border: 1px solid black;
    transition: background-color 0.2s ease;
}

.filter-btn:hover {
    background-color: black;
    color: white;
}

.filter-btn.active {
    background-color: black;
    color: white;
    border-radius: 0px !important;
}

.gallery-base {
    max-width: 100%;
    margin: 6px;
}

.gallery-base .item {
    width: 33.333%;
    /* width: 50%; */
}

.gallery-base img {
    margin: 0px;
    padding: 6px;
    cursor: pointer;
}

.gallery-base video {
    margin: 0px;
    padding: 6px;
    cursor: pointer;
}

.overlay-image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/play_circle.svg');
    background-repeat: no-repeat;
    background-size: 15%;
    background-position: center;
}

/* Hiding standard video controls by default */
.gallery-base video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-base video::-webkit-media-controls:hover {
    opacity: 1;
}

.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* LazyLoad: opacity images as they load */
}

.lazy.loaded {
    opacity: 1;
}

.info {
    position: absolute;
    min-height: 60px;
    min-width: 120px;
    font-size: 16px;
    top: 6px;
    left: 6px;
    padding: 16px;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.info h3 {
    font-weight: 700;  
}

.info p {
    font-size: 16px;
    text-transform: none;
    font-weight: 300;
    color: black;
}

.item:hover .info {
    opacity: 1;
}

iframe {
    position: relative;
    width: 100%;
    border: 0;
    padding: 6px;
}

/* About Us --------------------------------------------------------------- */
.about-header {
    display: flex;                
    justify-content: space-between; 
    align-items: center;          
    padding: 40px;
    height: 85dvh !important;
    width: 100%;
    position: relative; 
    overflow: hidden;  
}

.about-header img {
    position: absolute;   
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;         
    object-position: 10% center; 
    z-index: -1;             
}

.about-header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.85);
}

.about-header-block-num p {
    font-size: 64px !important;
    font-weight: 700;
}
  
.about-header-block p {
    font-size: 34px;
    font-weight: 700;
}

.description-about-studio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 60px 40px 0px 40px;
    font-size: 30px;
    font-weight: 700;
}

.description-about-studio p {
    margin-top: 16px;
}

.description-about-studio h1 {
    margin-bottom: 22px;
}

.about-categories {
    display: flex;
    gap: 12px;
    margin: 60px 40px 0px 40px;
}

.about-categories-block {
    padding: 60px 40px;
    width: 33.333333%;
    border: 1px solid black;
}

.about-categories-block h2 {
    font-size: 22px;
}

.about-categories-block p {
    margin-top: 12px;
}

.description-about-studio #button-black {
    margin-top: 60px;
    width: 100%;
    border: 1px solid black;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.about-career {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.about-career h2 {
    font-size: 22px;
    margin: 0px 40px 80px 0px;
    padding: 60px 40px;
    color: white;
    background-color: black;
}

.about-career p {
    margin-top: 16px;
}

.about-career a {
    text-decoration: underline;
    text-transform: lowercase;
    font-size: 24px;
    font-weight: 400;
}

.about-career a:hover {
    text-decoration: none;
}

/* Blog --------------------------------------------------------------- */
#blog {
    display: block;
    padding-bottom: 0px;
}

#blog-mobile {
    display: block;
}

#blog-mobile .blog_article_img_left {
    width: 100%;                    
    display: grid;                    
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.blog_article_description h2 {
    font-size: 22px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: normal;
    text-transform: uppercase;
}

.blog_article_description p {
    margin-top: 12px;
    margin-bottom: 12px;
    text-transform: none !important;
}

.blog_article_description a {
    display: inline-block;
    padding: 60px 40px 60px 40px;
    border: 1px solid black;
    background-image: url('../images/arrow-forward-black.svg');
    background-size: 58px;
    background-repeat: no-repeat;
    background-position: 97% 92%;
    transition: color 0.2s ease, background-image 0.2s ease, background-color 0.2s ease;
}

.blog_article_description a:hover {
    background-color: black;
    color: rgb(150, 150, 150);
    background-image: url('../images/arrow-forward-gray.svg');
}

.blog_article_img_left {
    width: 100%;                     
    display: grid;                    
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog_article_img_left .blog_article_description {
    margin-right: 40px;
}

.blog_article_img_right {
    width: 100%;                     
    display: grid;                    
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
}

.blog_article_img_right .blog_article_description {
    margin-left: 40px;
}

.blog-post {
    margin-bottom: 120px;
}

.blog-post p {
    font-size: 20px;
    text-transform: none !important;
    margin: 0px 40px 40px 40px;
}

.blog-post h1 {
    margin: 40px 40px;
    font-size: 30px;
    font-weight: 700 !important;
}

.blog-post h2 {
    margin: 60px 40px 40px 40px;
    font-size: 28px;
    font-weight: 500 !important;
}

.blog-post h3 {
    margin: 0px 40px;
    font-size: 22px;
    font-weight: 700;
}

.blog-post ol, .blog-post ul {
    font-size: 20px;
    line-height: normal;
    text-transform: none !important;
    margin: 0px 40px 30px 40px;
    font-weight: 200;
}

.blog-post ol li {
    counter-increment: my-counter; /* Увеличиваем значение счетчика для каждого элемента списка */
    margin-bottom: 14px;
    margin-left: 30px;
}

.blog-post ol li:before {
    content: counter(my-counter) ". "; /* Отображаем значение счетчика и точку */
    margin-right: 5px; 
    margin-left: -30px;
}

.blog-post ul li {
    list-style-type: disc; /* Устанавливаем тип маркера (в данном случае, точки) */
    margin-bottom: 14px;
    margin-left: 24px; 
}

.blog-post #button-black {
    border: 1px solid black;
    width: 50%;
    margin: 60px auto auto 0px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.blog-post #button-full-gallery {
    width: 50%;
    margin: auto 0px auto auto;
    padding: 0;
}

.blog-post #button-full-gallery a {
    display: block;
    height: 100%;
    width: 100%;
    padding: 12px 32px;
}

.blog-post strong {
    font-weight: 500;
}

.blog-post-img {
    width: 100%;
    height: 50dvh;
    object-fit: cover;
}

.blog-post-content {
    padding: 0px 150px;
}

.blog-post-content figure {
    margin: auto auto 60px auto;
    text-align: center; 
}

.blog-post-content figure img {
  display: inline-block;
  max-width: 100%;
}

/* Styles for magnificPopup------------------------------------------ */
.mfp-img {
    padding: 10px !important;
}

.mfp-bg {
    background-color: white !important;
    opacity: 1 !important;
    
}

.mfp-figure:after {
    box-shadow: none !important;
    display: none !important;
}

.mfp-close {
    font-size: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 40px !important;
    height: 40px !important;
    color: black !important;
    top: 20px !important;
    right: 20px !important;
    opacity: 1 !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    border: 1px solid black !important;
    background-image: url('../images/close.svg') !important;
    background-color: rgba(255, 255, 255, 0.7)!important;
    background-repeat: no-repeat !important;
    background-size: 39px !important;
}

.mfp-close:hover {
    background-color: black !important;
    transition: background-color 0.3s ease;
    background-image: url('../images/close-white.svg') !important;
}


/* Opening animations */
.mfp-fade.mfp-bg,
.mfp-fade.mfp-wrap {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mfp-fade.mfp-ready.mfp-bg,
.mfp-fade.mfp-ready.mfp-wrap {
    opacity: 1;
}

/* Animations when closing */
.mfp-fade.mfp-bg.mfp-removing,
.mfp-fade.mfp-wrap.mfp-removing {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Lazy Load: hidden "alt" of images when download  */
img:not([src]):not([srcset]) {
    visibility: hidden;
  }

/* To Top button --------------------------------------------- */
#toTopBtn {
    height: 46px;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    outline: none;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.1s ease;
}

#toTopBtn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#toTopBtn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

#toTopBtn img {
    width: 70px;
    padding-left: 4px;
    transform: rotate(-90deg);
}

/* Mobile menu -------------------------------------------- */

/* Styles for the mobile menu open button */
.menu-button {
    display: none;
    height: 42px;
    width: 42px;
    background-image: url('../images/menu.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 56px;
    cursor: pointer;
    position: fixed;
    top: 11px;
    right: 16px;
    z-index: 100;
}

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    min-height: 100%;
    background-color: white;
    transition: right 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center; /* Align center horizontally */
    justify-content: center; /* Center Vertical Alignment */
    z-index: 150;
}
  
  /* Menu Item Styles */
  .mobile-menu a {
    display: block;
    color: black;
    font-size: 22px;
    font-weight: 700;
    margin: 22px;
    text-align: center; /* Center text alignment */
}
  
.mobile-menu a:hover {
    text-decoration: underline;
}

.mobile-menu-link.active {
    text-decoration: underline;
}

.mobile-menu-container {
    display: block;
    max-height: 100dvh;
    padding: 20px;
    overflow-y: auto;
    text-align: center;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For IE и Edge */
}

.mobile-menu-container::-webkit-scrollbar {
    display: none; /* For WebKit-browser (Chrome, Safari) */
}

.mobile-header-services {
    display: block;
    position: relative;
    margin: 10px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
}

.mobile-header-services.active {
    text-decoration: underline !important;
}

.mobile-header-services:hover {
    text-decoration: underline !important;
}

.mobile-header-services .arrow {
    display: inline-block;
    position: absolute;
    margin-left: 6px;
    width: 32px; 
    height: 32px;
    background-image: url('../images/arrow-services-mobile-menu.svg');
    background-size: 32px;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.mobile-item-services.active .mobile-header-services .arrow {
    transform: rotate(-180deg);
}

.mobile-content-services a {
    font-size: 18px;
    font-weight: 300;
    margin: 12px 0px;
    padding: 9px 0px;
    transition: background-color 0.3s ease;
}

.mobile-content-services a:hover {
    text-decoration: none;
    color: white;
    background-color: black;
}

.mobile-content-services li {
    text-align: center;
    margin: 16px 0px;
    font-size: 18px;
    padding-bottom: 12px;
    /* border-bottom: 1px solid black; */
}

.mobile-item-services.active .mobile-header-services {
    text-decoration: none;
}

.services-details.active {
    color: white;
    background-color: black;
}

#mobile-contact {
    display: inline-block !important;
    font-size: 18px !important;
    font-weight: 700;
    color: #fff !important;
    border: 1px solid black;
    background-color: black;
    padding: 6px 26px;
    margin: 40px 0px !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

/* Styles for the mobile menu close button */
.close-button {
    width: 40px;
    height: 40px;
    position: absolute;
    background-image: url('../images/close.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 39px;
    border: 1px solid black;
    top: 11px;
    right: 16px;
    cursor: pointer;
    color: black;
    z-index: 200;
}

/* Services list (Mobile ver.) ---------------------------  */

.mobile-item-services {
    position: relative;
    border: none;
}
  
.mobile-content-services {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Animation for smooth height transition */
}
  
.mobile-item-services.active .mobile-content-services {
    max-height: 1200px; /* Maximum height, choose according to your needs */
}

/* ------------------------------------------------------------------ */

/* ---------------------- services_details -------------------- */

.services_details {
    display: flex;
    flex-wrap: wrap;
    margin: 0px 40px 0px 40px !important;
}

.services_details p {
    margin-bottom: 22px;
}

.services_details h2 {
    font-size: 28px;
    font-weight: 500 !important;
    margin: 20px 40px 20px 0px;
}

.services_details strong {
    font-weight: 600 !important;
}

.services_details a {
    font-size: 22px !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-transform: none;
}

.services_details a:hover {
    text-decoration: none;
}

.services_details .column {
    flex: 1;
    width: 50% !important;
}

.services_details .column p {
    font-size: 22px !important;
    margin-right: 40px !important;
    margin-bottom: 40px !important;
}

.services_details .column ol {
    line-height: 1.4;
    font-size: 22px !important;
    margin-right: 40px !important;
    margin-bottom: 40px !important;
}

.services_details ol li {
    counter-increment: my-counter; 
    font-weight: 200 !important;
    margin-bottom: 14px;
    margin-left: 30px;
}

.services_details ol li:before {
    content: counter(my-counter) ". ";
    font-size: 22px;
    margin-right: 5px; 
    margin-left: -30px;
}

.services_details ul {
    line-height: 1.4;
    margin-left: 24px;
    margin-right: 40px;
    margin-bottom: 40px;
}

.services_details ul li {
    font-size: 22px !important;
    font-weight: 200 !important;
    list-style-type: disc; 
    margin-bottom: 14px; 
}

.services_details_buttons {
    margin: 40px 40px 100px 40px;
}

.services_details_buttons #button-black {
    border: 1px solid black;
    width: 50%;
    margin: 10px auto auto 0px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.services_details_buttons #button-full-gallery {
    width: 50%;
    margin: auto 0px auto auto;
    padding: 0;
}

.services_details_buttons #button-full-gallery a {
    display: block;
    height: 100%;
    width: 100%;
    padding: 12px 32px;
}

/* Services list column render description ---------------------------  */

.services_details .column figure {
    position: relative;
    margin-bottom: 10px;
}

.services_details .column iframe {
    padding: 0 !important;
}

.services_details .column figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 24px 32px;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 300;
    text-transform: capitalize;
}

.services_details .column strong {
    text-transform:uppercase;
}
/* --------------------------------------------------------  */
