.template {
    position: relative;
    color: #FFFFFF;
    margin-top: -110px;
    background: #1A1A1A;
    margin-bottom: 0;
}

.template__breadcrumbs {
    position: relative;
    padding: 110px 0 0;
    z-index: 1;
}

.template__breadcrumbs ol {
    display: flex;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    list-style: none;
    padding: 0 40px;
    margin-bottom: 134px;
    cursor: default;
}

.template__breadcrumbs a {
    transition: all .3s ease-in-out;
}

.template__breadcrumbs a:after {
    content: '/';
    color: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
}

.template__breadcrumbs a:hover {
    color: rgba(255,255, 255, 1);
}

.template-banner {
    height: calc(100svh + 110px);
    position: relative;
    overflow: hidden;
    background: #212121;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.template-banner__main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 2;
    padding-bottom: 58px;
}

.template-banner__link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    text-transform: none;
    background: conic-gradient(from 73deg at 15.02% 100%, rgba(255, 255, 255, 0.05) 0deg, rgba(48, 48, 48, 0.05) 360deg);
    border: 1px solid rgba(239, 239, 239, 0.1);
    padding: 12px;
}

.template-banner__title {
    font-family: 'Jost';
    font-size: 40px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.template-banner__img {
    position: relative;
    width: 65%;
    margin: 0 auto;
    z-index: 1;
    aspect-ratio: var(--desktop-aspect-ratio, auto);
}

.template-banner__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.template-banner__info {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 14px;
    z-index: 2;
}

.template-banner__info p {
    max-width: 375px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
}

.template-banner__tags {
    max-width: 310px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
}

.template-banner__tags li {
    position: relative;
    text-transform: uppercase;
    background: conic-gradient(from 73deg at 15.02% 100%, rgba(255, 255, 255, 0.05) 0deg, rgba(48, 48, 48, 0.05) 360deg);
    border: 1px solid rgba(27, 27, 27, 0.1);
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.1), inset 0px 4px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-size: 12px;
    padding: 15.5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.template-banner__tags li:hover {
    background: rgba(27, 27, 27, 0.05);
    transform: translateY(-2px);
}

.template-banner__tags li::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-100%) skewX(-20deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.template-banner__tags li:hover::after {
    transform: translateX(300%) skewX(-20deg);
}

.template-about {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    background: #212121;
    border-radius: 30px;
    padding: 70px 80px;
    margin: 20px;
    overflow: hidden;
}

.template-about__title {
    position: relative;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.template-about__title h2 {
    font-size: 20px;
    font-weight: 700;
}

.template-about__title span {
    position: absolute;
    top: -77px;
    left: -44px;
    font-family: 'Jost';
    color: rgba(255, 255, 255, 0.03);
    font-size: 150px;
    white-space: nowrap;
    pointer-events: none;
}

.template-about__info {
    max-width: 685px;
}

.template-about__info h3 {
    font-family: 'Jost';
    font-size: 40px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 30px;
}

.template-about__info h3 + h3 {
    margin-top: 0;
    margin-bottom: 30px;
}

.template-about__info h3:has(+ h3) {
    margin-bottom: 0;
}

.template-about__info h4 {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
}

.template-about__info p {
    max-width: 415px;
    font-size: 14px;
    margin-bottom: 40px;
}

.template-about__info p:last-child {
    margin: 0;
}

.template-about__details {
    max-width: 415px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-size: 14px;
    padding-top: 70px;
}

.template-about__details--mobile {
    display: none;
}

.template-about__details-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.template-about__details-block h4 {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.template-about__details-block ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
    list-style: none;
}

.template-photos {
    background: var(--bg-color, #1C2448);
    border-radius: 30px;
    padding: 60px;
    margin: 20px;
    overflow: hidden;
}

.template-photos__swiper {
    overflow: hidden;
}

.template-photos__slide {
    width: auto !important;
    height: 400px;
}

.template-photos__img {
    height: 100%;
    width: auto;
    max-width: none;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

.template-reels {
    background: #212121;
    border-radius: 30px;
    padding: 120px;
    margin: 20px;
    overflow: hidden;
    position: relative;
}

.body--light .template-reels {
    background: #FFFFFF !important;
}

.template-reels__video {
    width: 100%;
    aspect-ratio: 0.5;
    border-radius: 16px;
    overflow: hidden;
}

.template-reels__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-reels__nav {
    display: none;
}

.template-reels .template-reels__button--prev,
.template-reels .template-reels__button--next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.template-reels .template-reels__button--prev {
    left: 15px;
}

.template-reels .template-reels__button--next {
    right: 15px;
}

.template-reels .template-reels__button--prev.swiper-button-disabled,
.template-reels .template-reels__button--next.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}

.template-steps {
    display: flex;
    gap: 20px;
    margin: 20px;
}

.template-steps__content {
    width: calc(50% - 10px);
    background: #212121;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	overflow: hidden;
}

.template-content__inner {
    padding: 80px;
}

.template-content__inner h5 {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin-top: 0;
    margin-bottom: 8px;
}
.template-content__inner h3 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
}
.template-content__inner h3:has(+ h3) { margin-bottom: 0; }
.template-content__inner h3 + h3 { margin-top: 0; }
.template-content__inner p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 60px;
}
.template-content__inner p:last-child { margin-bottom: 0; }

.template-steps__title {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.template-text-block {
    max-width: 415px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 60px;
}

.template-text-block:last-child {
    margin-bottom: 0;
}

.template-text-block h3 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.template-text-block p {
    font-size: 14px;
    margin: 0;
}

.template-steps__block-bottom {
    display: block;
    width: 101%;
    height: auto;
    border-radius: 0 0 30px 30px;
}

.template-steps__img {
    width: calc(50% - 10px);
    aspect-ratio: 1.25;
    border-radius: 30px;
    overflow: hidden;
}

.template-steps__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.template-tech-list {
    display: flex;
    gap: 25px;
    list-style: none;
}

.template-tech-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    font-size: 10px;
    text-transform: uppercase;
    cursor: default;
}

.template-tech-list li img {
    transition: transform 0.25s ease;
    will-change: transform;
}

.template-tech-list li:hover img {
    transform: scale(1.08);
}

.template-two-cols {
    display: flex;
    gap: 20px;
    margin: 20px;
    align-items: stretch;
}

.template-two-cols__item {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
}

.template-two-cols__item--image img,
.template-two-cols__item--image-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.template-two-cols__item--image {
    aspect-ratio: 1.25;
}

.template-two-cols__item--image-square {
    aspect-ratio: 1.2;
}

.template-two-cols__item--text {
    background: #212121;
}

.body--light .template-two-cols__item--text {
	background: #F7F5F1;
}

.template-two-cols__item--stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.template-two-cols__stack-item {
    border-radius: 30px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.template-two-cols__stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.template-full-image {
    margin: 20px;
    border-radius: 30px;
    overflow: hidden;
}

.template-full-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.swiper {
    overflow: hidden;
}

@media (max-width: 1750px) {
    .template-banner__tags {
        max-width: 380px;
    }
}

@media (max-width: 1650px) {
    .template-banner__img {
        width: 58%;
    }
    .template-about__title span {
        font-size: 130px;
        top: -60px;
    }
}

@media (max-width: 1440px) {
    .template-reels__nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
    }
    .template-banner__tags {
        max-width: 340px;
    }
    .template-banner__img {
        width: 50%;
    }
    .template-about__title span {
        font-size: 100px;
        top: -40px;
        left: -34px;
    }
    .template-about__info h3 {
        font-size: 32px;
    }
    .template-reels__pagination {
        display: none;
    }
}

@media (max-width: 1250px) {
    .template-banner__tags {
        max-width: 300px;
    }
}

@media (max-width: 1024px) {
    .template-banner {
        height: auto;
        flex-direction: column;
    }
    .template-banner__main {
        order: 1;
        padding-bottom: 20px;
    }
    .template-banner__img {
        order: 2;
        width: calc(100% + 120px);
        margin-left: -60px;
        margin-right: -60px;
    }
    .template-banner__info {
        position: relative;
        order: 3;
        left: auto;
        bottom: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 60px 30px;
    }
    .template-banner__info p {
        max-width: 45%;
        margin: 0;
    }
    .template-banner__tags {
        max-width: 350px;
        justify-content: flex-end;
    }
    .template-steps {
        gap: 20px;
    }
    .template-content__inner {
        padding: 40px 30px;
    }
    .template-text-block {
        max-width: 100%;
    }
    .template-text-block h3 {
        font-size: 18px;
    }
    .template-about {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }
    .template-about__info h3 {
        font-size: 24px;
    }
    .template-about__info p {
        max-width: 100%;
    }
    .template-about__title span {
        font-size: 70px;
        top: -35px;
        left: -20px;
    }
    .template-about__details {
        max-width: 100%;
        padding-top: 0;
    }
    .template-tech-list li img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .template {
        margin-top: -85px;
        margin-bottom: 70px;
    }
    .template-banner__img {
        aspect-ratio: var(--mobile-aspect-ratio, auto);
    }
    .template__breadcrumbs {
        padding: 85px 20px 0;
    }
    .template__breadcrumbs ol {
        padding: 0;
        margin-bottom: 65px;
    }
    .template-banner__main {
        padding-bottom: 46px;
    }
    .template-banner__title {
        font-size: 24px;
        order: 1;
    }
    .template-banner__link {
        order: 2;
    }
    .template-banner__info {
        position: relative;
        flex-direction: column;
        padding: 60px 15px;
        text-align: center;
    }
    .template-banner__info p {
        max-width: none;
    }
    .template-banner__tags {
        justify-content: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: none;
        width: 100%;
    }
    .template-banner__tags li {
        padding: 11px 12px;
        font-size: 10px;
        height: 42px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .template-about {
        margin: 0 0 10px;
        padding: 70px 10px 80px;
    }
    .template-about__title h2 {
        font-size: 18px;
        font-weight: 500;
    }
    .template-about__title span {
        font-size: 45px;
        top: -20px;
        left: 0;
    }
    .template-about__title {
        margin-bottom: 45px;
    }
    .template-about__details--desktop {
        display: none;
    }
    .template-about__details--mobile {
        display: flex;
		background: #212121;
		color: #ffffff;
        border-radius: 30px;
        padding: 70px 15px 80px;
        margin: 0 0 10px;
        max-width: none;
    }
    .template-photos {
        padding: 40px 20px;
        margin: 10px 0;
        border-radius: 20px;
    }
    .template-photos__slide {
        height: 220px;
    }
    .template-photos__img {
        border-radius: 10px;
    }
    .template-reels {
        padding: 70px 75px;
        margin: 10px 0;
    }
    .template-reels .template-reels__button--prev {
        left: 10px;
    }
    .template-reels .template-reels__button--next {
        right: 10px;
    }
    .template-reels__nav {
        display: flex;
        justify-content: center;
        margin-top: 35px;
    }
    .template-reels__pagination {
        display: flex;
        justify-content: center;
        gap: 4px;
    }
    .template-reels__pagination .swiper-pagination-bullet {
        width: 20px;
        height: 4px;
        border-radius: 1px;
        background: rgba(255, 255, 255, 0.2);
        opacity: 1;
        margin: 0 !important;
    }
    .template-reels__pagination .swiper-pagination-bullet-active {
        width: 40px;
        background: #FFFFFF;
    }
    .template-steps {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }
    .template-steps__content {
        width: 100%;
    }
    .template-content__inner {
        padding: 70px 15px;
    }
    .template-text-block {
        max-width: none;
    }
    .template-text-block h3 {
        font-size: 18px;
        font-weight: 600;
    }
    .template-steps__img {
        width: 100%;
        aspect-ratio: 2/1.5;
    }
    .template-full-image {
        margin: 10px 0;
    }
    .template-two-cols {
        flex-direction: column;
        gap: 10px;
        margin: 10px 0;
    }
    .template-two-cols__item {
        border-radius: 30px;
    }
    .template-two-cols__item--image,
    .template-two-cols__item--image-square {
        order: 1;
    }
    .template-two-cols__item--text {
        order: 2;
    }
    .template-two-cols__item--text h3 {
        font-size: 18px;
    }
    .template-two-cols__item--stack {
        gap: 10px;
        flex-direction: row;
        order: 2;
    }
    .template-two-cols__stack-item {
        aspect-ratio: 1.05;
    }
    .template-tech-list {
        gap: 15px;
    }
    .template-tech-list li {
        gap: 10px;
        font-size: 10px;
    }
    .template-tech-list li img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 400px) {
    .template-about__title span {
        font-size: 30px;
        top: -15px;
    }
    .template-about__title h2 {
        font-size: 14px;
    }
}