/**
 * Theme Name:  fintech
 * Description: Короткое описание темы
 *
 * Author:      VIVITEK


 * Version:     1.0
 */

html {
  margin-top: 0 !important;
}
.contacts {
    margin-bottom: 120px;
    z-index: 1;
    position: relative;
}

.wrapper_full {
  display: flex;
  flex-direction: column;
}
.wrapper_full .main {
  flex: 1 0 auto; /* Это заставляет контент расширяться, но не сжиматься */
}
.wrapper_full .footer {
  flex-shrink: 0; /* Предотвращает сжатие футера */
}

.error-404 {
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}
 
.error-404:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 40px 40px, 80px 80px;
    z-index: -1;
    animation: star-field 60s linear infinite;
    opacity: 0.3;
}

@keyframes star-field {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error-404__content {
    background-color: rgba(255, 255, 255, .05);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-404__digits {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.error-404__digit {
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
    color: #fff;
    text-shadow: none;
    position: relative;
    animation: none;
}

.error-404__digit:nth-child(1),
.error-404__digit:nth-child(2),
.error-404__digit:nth-child(3) {
    animation-delay: 0;
}

@keyframes digit-combined {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.error-404__title {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.error-404__text {
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-404__button {
    display: inline-block;
    background-color: #eb4247;
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.error-404__button:hover {
    background-color: #f55358;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(235, 66, 71, 0.3);
}

.error-404__button:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.error-404__button:hover:before {
    transform: scale(1);
    opacity: 1;
}

.error-404__button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(235, 66, 71, 0.3);
}

/* Адаптивные стили (Mobile First) */
@media (min-width: 576px) {
    .error-404__digit {
        font-size: 140px;
    }
    
    .error-404__title {
        font-size: 32px;
    }
    
    .error-404__content {
        padding: 40px 30px;
    }
}

@media (min-width: 768px) {
    .error-404__digit {
        font-size: 180px;
    }
    
    .error-404__content {
        padding: 50px 40px;
    }
    
    .error-404__title {
        font-size: 36px;
    }
}

/* Стили для стандартных страниц */
.page {
    padding: 100px 0 60px;
    color: #fff;
}

.page__content {
    background-color: rgba(255, 255, 255, .05);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page__thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.page__image {
    width: 100%;
    height: auto;
    display: block;
}

.page__header {
    margin-bottom: 30px;
    text-align: center;
}

.page__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page__text {
    font-size: 16px;
    line-height: 1.6;
}

.page__text h2, 
.page__text h3, 
.page__text h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page__text h2 {
    font-size: 28px;
}

.page__text h3 {
    font-size: 24px;
}

.page__text h4 {
    font-size: 20px;
}

.page__text p {
    margin-bottom: 15px;
}

.page__text ul, 
.page__text ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page__text li {
    margin-bottom: 8px;
}

.page__text a {
    color: #eb4247;
    text-decoration: none;
    transition: color 0.3s;
}

.page__text a:hover {
    color: #f55358;
    text-decoration: underline;
}

.page__text img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.page__comments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .header__top-social-list {
        margin-right: 0 !important;
    }
}

/* Адаптивные стили для страниц */
@media (max-width: 768px) {
    .page {
        padding: 80px 0 40px;
    }

    .page__content {
        padding: 30px 20px;
    }

    .page__title {
        font-size: 28px;
    }

    .page__text h2 {
        font-size: 24px;
    }

    .page__text h3 {
        font-size: 20px;
    }

    .page__text h4 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .page {
        padding: 60px 0 30px;
    }

    .page__content {
        padding: 20px 15px;
    }

    .page__title {
        font-size: 24px;
    }
}

/* Стили для кнопки "Показать еще" */
.news__load-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.news__load-more-btn {
    display: inline-block;
    background-color: #eb4247;
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.news__load-more-btn:hover {
    background-color: #f55358;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(235, 66, 71, 0.3);
}

.news__load-more-btn:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.news__load-more-btn:hover:before {
    transform: scale(1);
    opacity: 1;
}

.news__load-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(235, 66, 71, 0.3);
}

.news__load-more-btn.loading {
    background-color: #cccccc;
    cursor: wait;
}

.news__item {

}
.news__item .news__item-image {
    aspect-ratio: 740 / 500;
    object-fit: cover;
    object-position: center;
}

.news__item .news__item-body {
    flex: 1;
}


.breadcrumbs .breadcrumb_last {
    color: #fff;
}

.article__right .news__item .news__item-wrapper {
    flex-direction: column;
} 
