.main-flex-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 240px;
}

.project-detail__text_justified {
  font-size: 16px;
  line-height: 1.75;
  color: #414141;
  margin-bottom: 75px;
  text-align: justify;
}

.service-detail__text_justified {
  font-size: 16px;
  line-height: 1.75;
  color: #414141;
  margin-bottom: 104px;
  text-align: justify;
}

.project-detail__navigation-link-text_plain {
  position: relative;
  z-index: 2;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 1em;
}


.simple_link {
	text-decoration: underline;
}

@media only screen and (max-width: 767px) {
    .main-flex-wrapper {
        gap: 120px;
    }
}

.our-team {
    margin-bottom: 120px;
}

@media only screen and (max-width: 767px) {
    .our-team {
        margin-bottom: 60px;
    }
}

.contact-block__btn {
    color: currentColor;
    font-family: inherit;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
    vertical-align: top;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Sofia Sans Condensed", sans-serif;;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1.4;
    font-weight: normal;
    font-weight: 500;
}

@media only screen and (max-width: 991px) {
    .contact-block__btn--map {
        margin-bottom: 50px;
    }
}

.contact-block__btn:after {
    position: absolute;
    bottom: 2px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: opacity 0.3s;
    opacity: 0;
}

.contact-block__btn:hover {
    color: #000000;
}

.contact-block__btn:hover:after {
    opacity: 1;
}

.contact-block__btn_active {
    color: #000000;
}

.contact-block__btn_active:after {
    opacity: 1;
}

.contact-block__btn_inverted:after {
    opacity: 1;
}

.contact-block__btn_inverted:hover:after {
    opacity: 0;
}

.contact-block__btn:after {
    height: 2px;
}

.footer-default__extra-infomation {
    margin-bottom: 80px;
    line-height: 30px;
    color: black;
	text-align: justify;
    /* font-size: 16px; */
}

@media only screen and (max-width: 767px) {
    .footer-default__extra-infomation {
        margin-bottom: 40px;
        gap: 40px;
		text-align: justify;
    }
}

/* Custom Checkbox Styles */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox__input {
    display: none;
}

.custom-checkbox__box {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #c9c9c9;
    border-radius: 2px;
    margin-right: 12px;
    margin-top: 3px;
    background-color: transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-checkbox__box::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 3px;
    height: 7px;
    border: solid #666;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-checkbox__input:checked + .custom-checkbox__box {
    border-color: #666;
}

.custom-checkbox__input:checked + .custom-checkbox__box::after {
    opacity: 1;
}

.custom-checkbox__text {
    font-size: 12px;
    line-height: 24px;
    color: #999;
    font-family: inherit;
}

.custom-checkbox__link {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s;
}

.custom-checkbox__link:hover {
    color: #000;
}

.header__margin {
    height: 170px;
    width: 100%;
}

.secondary-page__margin {
    margin-top: 180px;
    margin-bottom: 120px;
}

.secondary-page__margin_projects {
    margin-top: 20px;
    margin-bottom: 120px;
}

@media only screen and (max-width: 767px) {
    .secondary-page__margin {
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

.listing-block.masonry {
    margin-bottom: -58px;
}

.error-block__icon {
    margin-bottom: 60px;
}

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

@media only screen and (max-width: 767px) {
    .mb-120-m60 {
        margin-bottom: 60px;
    }
}

/* WebP Background Support */
.no-webp .zoom-counter__card {
    background-image: url("../img/years.jpg");
}
.webp .zoom-counter__card {
    background-image: url("../img/years.webp");
}

.no-webp .studio-posts {
    background-image: url("../img/dot-gray.jpg");
}
.webp .studio-posts {
    background-image: url("../img/dot-gray.webp");
}


/* Project header pagination */
.main-slide__pagination {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.main-slide__pagination-arrow {
    transition: 0.35s ease;
}

.main-slide__pagination-arrow:hover {
    opacity: 0.7;
}

.main-slide__pagination-link {
    color: white;
    text-decoration: none;
}

.main-slide__pagination-link:hover {
    text-decoration: none;
}

.main-slide__anchor {
    display: block;
    text-decoration: none;
    color: white;
    transition: 0.35s ease;
}

.main-slide__anchor:hover {
    text-decoration: none;
    color: white;
    opacity: 0.7;
}