/*--------------------------------------------------------------
# Tariffs Section Styles
--------------------------------------------------------------*/
.hidden {
    display: none !important;
}

/* Основные стили для секции тарифов */
section#content {
    margin-bottom: 150px !important;
    padding-top: 30px !important;
    padding-bottom: 140px !important;
}

section#content .tariffs .row {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    height: auto;
    margin-left: -10px;
    margin-right: -10px;
}

section#content .tariffs .row > * {
    padding-left: 10px;
    padding-right: 10px;
}

.js_search.slyle_input {
    width: 100%;
}

/* Иконки для таблицы сравнения тарифов */
.check-circle,
.error-circle {
    width: 28px;
    height: 28px;
    border-radius: 100%;
    background-image: url(../i/icon/check-circle.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.error-circle {
    background-image: url(../i/icon/error-circle.svg);
}

.circle_star {
    position: relative;
}

.circle_star:after {
    content: "*";
    display: inline-block;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.05em;
    color: #c44d4b;
    position: absolute;
    right: -10px;
    top: -5px;
}

/* Иконки для списков в карточках тарифов */
.tariffs-item__ul li {
    background-image: url(../i/icon/plus.svg);
}

.tariffs-item__ul .check {
    background-image: url(../i/icon/check.svg);
}

/* Стили для секции сравнения функционала */
.function {
    padding-bottom: 140px !important;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/*--------------------------------------------------------------
# Konsultacii
--------------------------------------------------------------*/
a.but {
    background: #4C5475;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    margin: 10px 5px;
    padding: 5px 10px;
}

.pageData h1,.pageData  h2,.pageData  h3,.pageData h4,.pageData h5,.pageData h6 {
    clear: both;
}


.etap {
    width: 19.5%;
    display: inline-block;
    vertical-align: top;
    padding: 5px;
    margin: 5px 0 10px 0;
    text-align: center;
}
.etap p {
    font-size: 14px;
    line-height: 1.6em;
}




.catalog-box{max-width:380px;max-height:250px;float:left;margin-right:10px;margin-top:10px;line-height:0;overflow:hidden;position:relative}
.catalog-box img{width:380px;height:300px;display:block;position:relative;}
.catalog-box .catalog-title{position:absolute;bottom:0;left:0;width:300px;height:76px;background:rgba(14,14,25,0.9);color:#fff;font-size:18px;font-weight:800;padding:0 0 0 20px;line-height:73px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:opacity .4s ease-in-out;-moz-transition:opacity .4s ease-in-out;-ms-transition:opacity .4s ease-in-out;transition:opacity .4s ease-in-out}
.catalog-box .catalog-title span{display:inline-block;vertical-align:middle;line-height:1}
.catalog-box .catalog-title:before{content:"";display:block;width:0;height:0;border-top:76px solid transparent;border-left:80px solid rgba(14,14,25,0.9);position:absolute;top:0;right:-80px}
.catalog-box .catalog-content{background:#d95626;position:absolute;bottom:-100%;left:0;width:100%;padding:0 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:bottom .4s ease-in-out;-moz-transition:bottom .4s ease-in-out;-ms-transition:bottom .4s ease-in-out;transition:bottom .4s ease-in-out}
.catalog-box .catalog-content h2,.catalog-box .catalog-content p{color:#fff;text-align:center}
.catalog-box .catalog-content h2{font-size:18px;line-height:18px;font-weight:800;margin-top:23px}
.catalog-box .catalog-content p{font-size:14px;line-height:20px;margin-top:12px}
.catalog-box .catalog-content a{margin:0 auto 25px;display:block;width:154px;height:34px;background:url(/image/catalog-btn.jpg) no-repeat;text-decoration:none;text-transform:uppercase;font-size:12px;line-height:34px;font-weight:bold;color:#111;padding-right:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}
.catalog-box:hover .catalog-title{opacity:0}
.catalog-box:hover .catalog-content{bottom:0}


.prices div.spoiler-head:hover{background:#2c272d;color:#fff}
.prices div.spoiler-body {font-weight:normal;padding: 0;}
.price-rows .price-btn{font-size:14px;text-align:center;height:44px;line-height:44px;cursor:pointer;background:#C5C5C5  ;color:#2c272d;-webkit-transition:all .2s;-moz-transition:all .2s;-ms-transition:all .2s;transition:all .2s}
.price-rows .price-btn:hover,.price-rows .price-btn.active{background:#2c272d;color:#fff}
.prices .price-content table{width:100%;border-collapse:collapse}
.prices .price-content table tr{border-bottom:1px solid #dfdfdf;border-right:1px solid #dfdfdf;}
.prices .price-content table tr th{background:#f6f6f6; height: 50px;border-left:1px solid #dfdfdf;}
.prices .price-content table tr td, .prices .price-content table tr th{min-height:44px;padding:5px 15px}
.prices .price-content table tr td:last-child, .prices .price-content table tr th:last-child{padding:0;max-width:140px}
.prices .price-content table tr td:last-child div, .prices .price-content table tr th:last-child div{float:right;text-align:right;color:#fff;height:44px;line-height:44px;width:140px;background:#dc6640;padding-right:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;position:relative}
.prices .price-content table tr td:last-child div:before, .prices .price-content table tr th:last-child div:before{content:"";width:0;height:0;border-top:44px solid transparent;border-right:20px solid #dc6640;position:absolute;top:0;left:-20px}
.prices .price-content table tr td.first, .prices .price-content table tr th.first{max-width:250px;color:#2c272d;font-weight:800 !important;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf}

.adv_element{
    margin-top: -7px;
    top: 120px;
    left: 90px;
    position: absolute;
    background: #fff;
    width: 260px;
    z-index: 100000;
    display: block;
    border-radius: 3px;
    -webkit-filter: drop-shadow(0 2px 16px rgba(0, 0, 0, .13));
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, .13));
    font-size: 14px;
    padding: 10px;
    opacity: 0.8;
}
.market-yourself .adv_description{
    color: #fff;
}

/* Индикаторы загрузки для статистики */
.radio-button.loading {
    position: relative;
}

.radio-button.loading span::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.loading-text {
    opacity: 0.5;
}

/* Блокировка кнопок во время загрузки */
.statistics__filter input[type=radio]:disabled + span {
    opacity: 0.6;
    cursor: not-allowed;
}

/*--------------------------------------------------------------
# Video Styles
--------------------------------------------------------------*/
.video-page-item__img:after {
    background-image: url('/i/icon/play.svg');
}

.video-page-item__img.no-preview,
.videos-item__img.no-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
}

.video-page-item__img.no-preview::before,
.videos-item__img.no-preview::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    width: calc(100% - 30px);
    box-sizing: border-box;
    z-index: 1;
}

/* Fallback для браузеров без поддержки aspect-ratio */
@supports not (aspect-ratio: 4 / 3) {
    .video-page-item__img.no-preview,
    .videos-item__img.no-preview {
        padding-bottom: 75%; /* 3/4 = 75% */
        height: 0;
    }
}

/*--------------------------------------------------------------
# Blocked Section (Tariff Block)
--------------------------------------------------------------*/
section#blocked {
    width: 100%;
    min-height: 50vh !important;
    height: auto !important;
    aspect-ratio: 1280 / 601;
    background-image: url("/i/stat-block1.jfif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 30px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Fallback для старых браузеров без поддержки aspect-ratio */
@supports not (aspect-ratio: 1280 / 601) {
    section#blocked::before {
        content: '';
        width: 1px;
        margin-left: -1px;
        float: left;
        height: 0;
        padding-top: 46.95%; /* 601/1280 = 46.95% */
    }
    section#blocked::after {
        content: '';
        display: table;
        clear: both;
    }
}