/* otherServices*/
.otherServices { display: flex; flex-direction: column; gap: 10px; }
.otherServices__item { background: linear-gradient(90deg, rgba(240, 243, 245, 1) 51%, rgba(240, 243, 245, 1) 100%); padding: 20px; border-radius: 26px; display: flex; flex-direction: column; gap: 20px; }
.otherServices__name { font-size: var(--low-text); font-family: RFDewi; text-transform: uppercase; }
.btn.btn--otherServices { width: fit-content; }

/* video */
.video-page__video-img, .video-page__video-img picture, .video-page__video-img img { width: 100%; border-radius: 26px; position: relative; }
.video-page__date { color: var(--font-color-light); }
.video-page__name { font-size: var(--low-text); font-family: RFDewi; text-transform: uppercase; }
.video-page__item { display: flex !important; flex-direction: column; gap: 10px; }
.video-page__video-img::before { border-radius: 100%; background-size: 100% 100%; transform: translate(-50%, -50%); content: ""; position: absolute; top: 50%; left: 50%; background: url(/assets/img/icons/play.webp); width: 60px; height: 60px; z-index: 9; cursor: pointer; }
.video-page__item:hover .video-page__video-img::before { box-shadow: 0 0 25px #5476c8 inset; }

/*articles */
@media(min-width: 1024px){.mobile{display: none !important;}}
.section__fon { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; min-height: 100%; min-width: 100%; }
.section__fon > img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width: 1024px){ .section__fon > svg {width: 200%;height: 200%;display: block;} }

.sources__title { font-family: RFDewi; text-transform: uppercase; font-size: var(--title-third); }
.check { min-width: 32px; width: 32px; height: 32px; background-color: var(--gray-color); display: flex; align-items: center; justify-content: center; border-radius: 100%; }
.check.check--white { background-color: var(--white-color); }
.arrow { min-width: 40px; width: 40px; height: 40px; border-radius: 100%; background-color: var(--gray-color); display: flex; flex-direction: row; align-items: center; justify-content: center; cursor: pointer; transition: 0.1s ease; }
.arrow-parent:hover .arrow, .arrow:hover {background-color: var(--accent-color);}
.arrow-parent:hover .arrow path, .arrow:hover path {fill: var(--white-color);}
.arrow-parent:focus .arrow, .arrow:focus {box-shadow: 1px 2px #423b3b96 inset}
.arrow.arrow--orange path {fill: var(--white-color);}
.arrow.arrow--orange {background-color: var(--accent-color);}
.btn.btn--arrow > span {width: 100%;text-align: center;}
.btn.btn--arrow {display: flex;flex-direction: row;align-items: center;justify-content: center;gap: 10px;width: 100%;padding:5px 5px 5px 16px;}
.btn.btn--white {background-color: var(--white-color);}
.btn.btn--arrow span {width: 100%;text-align: center;}
.btn.btn--arrow:hover span {color:var(--accent-color);}
.btn.btn--arrow:hover .arrow {background-color:var(--font-color);}
.btn.btn--arrow:hover .arrow.arrow-orange {background-color:var(--font-color);}
.btn.btn--arrow:hover path {fill:var(--white-color);}
.btn.btn--opacity {color: var(--white-color);background-color: #FFFFFF26;}
.btn.btn--opacity:hover {color: var(--font-color)}
.btn.btn--white { margin-top: auto; background-color: var(--white-color); }
.mainpage__title { font-size: var(--title-top); color: var(--white-color); font-family: 'RFDewi'; text-transform: uppercase; margin: 0; }
.articles__item { position: relative; background-color: var(--gray-color); border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; justify-content: space-between; min-height: 300px; }
.articles__decor svg { width: 305px; height: 376px; /* background-color: rebeccapurple; */ transform: rotate(210deg); }
.articles__decor { position: absolute; top: 0; right: 0; z-index: 1 !important; width: 100%; height: 100%; }
.articles__item > * { z-index: 2; }
.articles__name { font-size: var(--low-text); font-family: RFDewi; text-transform: uppercase; }
.articles__topcaption { padding: 6px 10px; border-radius: 16px; display: block; background-color: var(--white-color); width: fit-content; font-family: RFDewi; text-transform: uppercase; font-size: var(--small-btn); }
.articles__date { color: var(--font-color-light); }
.articles__item .btn { margin-top: 0; }
.articles .swiper .swiper-wrapper { align-items: stretch; }
.articles .swiper .swiper-slide { height: unset; box-sizing: border-box; }
.section.section--articles .btn { width: fit-content; }
.section.section--blue, .section--gradient { position: relative;}
.section.section--blue, .section.section--gradient { background: var(--back-color2); padding: 50px 10px; border-radius: 30px; }
.middleForm__socials-list.socials.socials--transparent .socials__item path { fill: var(--white-color); }
.middleForm__socials-list.socials.socials--transparent .socials__item { background-color: var(--transparent); }
.middleForm .socials__item { cursor: pointer; transition: 0.1s ease; width: 48px; min-width: 48px; height: 48px; display: flex; flex-direction: row; align-items: center; justify-content: center; background-color: var(--white-color); border-radius: 100%; }
.middleForm__socials-list.socials.socials--transparent .socials__item:hover { background-color: var(--accent-color); }
.middleForm__socials { display: flex; flex-direction: column; gap: 10px; }
.middleForm__socials::before { content: ""; background: linear-gradient(90deg, rgba(0, 5, 8, 0) 0%, rgb(255 255 255 / 26%) 49%, rgb(255 255 255 / 0%) 100%); width: 100%; height: 1px; position: absolute; top: -15px; left: 0; }
.middleForm__socials { display: flex; flex-direction: column; gap: 10px; position: relative; margin-top: 30px; }
.middleForm__socials-caption { color: var(--white-color); opacity: 0.8; }
.popup__content, .popup__content form, .form__bottom { display: flex; flex-direction: column; gap: 20px; }
.form__agree { display: flex; flex-direction: row; align-items: flex-start; gap: 20px; }
.form__agree p { font-size: var(--small-text); }
.popup__body .form__agree p { color: var(--font-color); }
.form__agree p { color: var(--white-color); }
.articlePage .checkbox { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.articlePage .checkbox + label { position: relative; display: inline-flex; align-items: center; cursor: pointer; user-select: none; gap: 10px; }
.checkbox + label::before { content: ''; display: inline-block; width: 20px; height: 20px; flex-shrink: 0; background: #fff; border: 2px solid #ccc; border-radius: 4px; transition: all 0.2s ease; }
.articlePage .checkbox + label::after { content: '✓'; position: absolute; left: 5px; top: 50%; transform: translateY(-50%) scale(0); font-size: 14px; font-weight: bold; color: var(--white-color); transition: all 0.2s ease; }
.articlePage .checkbox:checked + label::before { background: var(--accent-color); border-color: var(--accent-color); }
.articlePage .checkbox:checked + label::after { transform: translateY(-50%) scale(1); }
.articlePage .checkbox:disabled + label { opacity: 0.5; cursor: not-allowed; }
.articlePage .checkbox:not(:disabled) + label:hover::before { border-color: var(--accent-color); }
.articlePage .checkbox:focus + label::before { box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.3); }
.socials { display: flex; flex-direction: row; align-items: center; gap: 10px; width: 100%; }
.socials__item:hover { background-color: var(--accent-color); }
.socials__item:hover path{ fill: var(--white-color); }

/* articlesPage */
.articlesPage__list { display: flex; flex-direction: column; gap: 20px; }
.articlesPage__item { display: flex; flex-direction: column; gap: 10px; background-color: var(--gray-color); border-radius: 26px; padding-bottom: 20px; }
.articlesPage__itempic, .articlesPage__itempic img { width: 100%; border-radius: 26px; }
.articlesPage__date { padding: 0 20px; color: var(--font-color-light); }
.articlesPage__name { font-family: 'RFDewi'; padding: 0 20px; text-transform: uppercase; }
.articlesPage__description { padding: 0 20px; }
.filter input, .selector, .filter__panell { background-color: var(--gray-color); border-radius: 10px; padding: 20px; border: navajowhite; width: 100%; box-sizing: border-box; font-size: 14px; }
.selector__btn, .selector__btn span { display: flex; flex-direction: row; align-items: center; color: var(--font-color-light); justify-content: space-between; cursor: pointer; }
.selector__btn svg { transform: rotate(90deg); transition: 0.3s ease; }
.selector__btn svg path { fill: var(--font-color); }
.selector__list { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.selector__option { cursor: pointer; transition: 0.3s ease; }
.selector__option:hover { color: var(--accent-color); }
.selector.active .selector__hidden { max-height: 500px; }
.selector__hidden { max-height: 0; transition: 0.3s ease-in-out; overflow: hidden; }
.filter__search input { padding-right: 60px; }
.filter__search { position: relative; }
.filter__search svg { position: absolute; top: 50%; right: 20px; transform: translatey(-50%); }
.filter__panel { padding: 20px; background-color: var(--gray-color); display: flex; flex-direction: row; align-items: center; gap: 10px; border-radius: 10px; }
.filter__result { font-family: RFDewi; text-transform: uppercase; }
.filter__clear { font-family: RFDewi; text-transform: uppercase; color: var(--font-color-light); cursor: pointer; }
.filter__clear:hover { color: var(--accent-color); }
.filter__caption { margin-right: auto; }
.filter__caption { margin-right: auto; color: var(--font-color-light); }
input::placeholder{ color: var(--font-color-light) }
.articlePage .mainpage__detailes { display: flex; flex-direction: column; gap: 20px; }
.articlePage .author { background-color: var(--transparent); }
.articlePage .author picture, .articlePage .author picture img { width: 80px; height: 80px; object-fit: cover; object-position: top; border-radius: 10px; }
.articlePage .author { background-color: var(--transparent); display: flex; flex-direction: row; align-items: flex-start; gap: 20px; width: 100%; position: relative; box-sizing: border-box; box-shadow: 0px 0px 10px 2px #ffffff1a inset; background-color: #9cc0e22b; }
.articlePage .author::before { content: ''; position: absolute; inset: -1px; border-radius: 26px; padding: 1px; background: linear-gradient(239deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.2) 19%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.1) 73%, rgba(255, 255, 255, 0.2) 87%, rgba(255, 255, 255, 1) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.articlePage .mainpage__authorblock { background-color: var(--transparent); width: 100%; border-radius: 26px; padding: 5px; }
.articlePage .author__name { font-size: var(--title-second); text-transform: uppercase; color: var(--white-color); font-family: RFDewi; }
.articlePage .author__exp, .articlePage .author__role { display: flex; flex-direction: row; align-items: center; color: var(--white-color); gap: 10px;}
.author__inner .author__role {color: var(--font-color); font-size: 10px;}
.articlePage .mainpage__rating-name { font-family: RFDewi; color: var(--white-color); text-transform: uppercase; display: flex; flex-direction: row; align-items: center; gap: 10px; }
.articlePage .mainpage__rating-count { color: var(--white-color); font-family: RFDewi; margin-right: 10px; }
.articlePage .mainpage__rating-item { display: flex; flex-direction: row; align-items: center; gap: 20px; justify-content: space-between; padding: 0 20px; }
.articlePage .mainpage__rating-score { display: flex; flex-direction: row; align-items: center; }
.articlePage .mainpage__rating-name > svg { width: 40px; height: 40px; }
.articlePage .mainpage__author-rating { padding: 20px 0; display: flex; flex-direction: column; gap: 15px; }
.articlePage .mainpage__rating-score svg path { fill: var(--white-color); }
.articlePage .mainpage__desc {line-height: 1.5;}
.articlePage .mainpage__bage { border-radius: 8px; padding: 6px 10px; background-color: var(--transparent); color: var(--white-color); text-transform: uppercase; font-family: RFDewi; font-size: var(--small-text); width: fit-content; }
.articlePage .mainpage__description, .mainpage__detail span { color: var(--white-color); }
.articlePage .mainpage__description { display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: 26px; background-color: var(--transparent);  width: 100%;}
.articlePage .mainpage__detail { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.articlePage .mainpage__bottomblock { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; position: relative; }
.articlePage .mainpage__bottomblock::before { content: ""; background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 26%) 49%, rgba(60, 143, 206, 0) 100%); width: 100%; height: 1px; position: absolute; top: -25px; left: 0; }
.articlePage .mainpage { display: flex; flex-direction: column; gap: 20px; }
.articlePage .mainpage__detail-caption { display: flex; flex-direction: initial; color: #ffffffad; gap: 5px; align-items: center;}
.articlePage .mainpage__decor { display: none; }
.articleSidebar .articleSidebar__item:last-child {
    display: none;
}
.articlesPage {
    display: flex;
    flex-direction: column;
}
.articlesPage__more {
    margin: auto;
    width: fit-content;
    margin-top: 40px;
}

/* main area */
.article__text h2 { font-size: var(--title-second); font-family: RFDewi; text-transform: uppercase; margin: 40px 0 20px 0; line-height: 1.5;}
.article__text h3 { font-size: var(--title-third); font-family: RFDewi; text-transform: uppercase; line-height: 1.5;}
.article__text h4 { font-size: var(--small-title); font-family: RFDewi; text-transform: uppercase; line-height: 1.5;}
.article__text p { margin-bottom: 10px; line-height: 1.5;}
.article__text ol li::before, .authorsAndSources ol li::before { content: counter(item); background-color: var(--white-color); width: 28px; height: 28px; display: flex; flex-direction: row; align-items: center; justify-content: center; border-radius: 8px; font-family: RFDewi; position: absolute; top: 0; left: 0; transform: translatex(-100%); }
.article__text ul {margin-block-start: 1em; margin-block-end: 1em; padding-inline-start: 40px; list-style-type: disc;}
.article__text ol li, .article__text ul li, .authorsAndSources ol li { line-height: 1.5; counter-increment: item; padding-left: 10px; position: relative; list-style-type: disc;}
.article__text ol, .authorsAndSources ol {padding-inline-start: 40px; list-style: none; counter-reset: item; }
.article__text blockquote { border-left: 4px transparent solid; border-color: var(--accent-color); padding-left: 20px; margin: 20px 0; }
.article__text li::marker { color: var(--accent-color); }
.article__more { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; margin: auto; font-family: RFDewi; font-size: var(--small-text); text-transform: uppercase; cursor: pointer; margin-top: 10px; margin-bottom: 30px; }
.article__more .more { margin: 0; }
.article__more:hover { color: var(--accent-color); }
.article__more:hover path{ fill: var(--accent-color); }
.article__text h2:first-child { margin-top: 0; line-height: 1.5;}
.article__text picture img { width: 100%; height: 100%; object-fit: cover; min-width: 100%; border-radius: 26px; }
.article__text picture { border-radius: 26px; overflow: hidden; width: 100%; display: flex; align-items: center; justify-content: center; }
.mainPage .section.section--article.section--gray { padding: 70px 10px 10px 10px; }
.section.section--article .container { display: flex; flex-direction: column; gap: 30px; }
.articleNavigation { width: 100%; padding: 10px; background-color: var(--white-color); border-radius: 26px; box-sizing: border-box; }
.section.section--article.section--gray { padding: 20px 0; }
.articleNavigation__btn { padding: 8px 8px 8px 14px; background-color: var(--gray-color); border-radius: 18px; width: 100%; box-sizing: border-box; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; font-size: var(--small-text); font-family: 'RFDewi'; text-transform: uppercase; }
.articleNavigation__list { margin: 0; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.articleNavigation__item { list-style: none; display: flex; flex-direction: row; align-items: center; gap: 10px; }
.active.articleNavigation .articleNavigation__hidden { max-height: 900px; }
.articleNavigation__hidden { max-height: 0; overflow: hidden; transition: 0.5s ease-in-out; }
.mainPage .article__text.active { max-height: 9999px; }
.mainPage .article__text { max-height: 700px; overflow: hidden; transition: 0.8s ease-in-out; }
.article__text table { line-height: 1.5; padding: 10px; background-color: var(--white-color); border-radius: 26px; margin-bottom: 40px;}
.article__text th { background-color: var(--gray-color); border-radius: 26px; padding: 20px; font-family: 'RFDewi'; font-size: var(--small-text); text-transform: uppercase;}
.article__text tr:last-child td { border-bottom: none; }
.article__text td { padding: 20px; border-bottom: 1px #f2f5f7 solid; }

.authorsAndSources { margin-top: 20px; border-radius: 30px; background-color: var(--white-color);display: flex; flex-direction: column; gap: 30px;}
.sources__title { display: block;font-family: RFDewi; text-transform: uppercase; font-size: var(--title-third); margin-bottom: 20px;}
.article__text ol li::before, .authorsAndSources ol li::before { background-color: var(--gray-color); }
.sources ol { display: flex; flex-direction: column; gap: 15px; padding-left: 30px; }
.author__top.mobile { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.author__caption, .author__date { padding: 6px 10px; border-radius: 8px; background-color: var(--white-color); font-family: RFDewi; text-transform: uppercase; font-size: var(--small-text); }
.author__inner { display: flex; flex-direction: row; align-items: flex-start; gap: 20px; }
.author { background-color: var(--gray-color); display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px; }
.author__image, .author__image img { width: 80px; height: 80px; border-radius: 10px; }
.author__detailes { display: flex; flex-direction: column; gap: 10px; }
.author__fio { font-size: var(--small-text); text-transform: uppercase; font-family: RFDewi; }
.author__name { display: flex; flex-direction: column; gap: 10px; }
.authors { display: flex; flex-direction: column; gap: 10px; }
.author__role { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.section.section--article .container { display: flex; flex-direction: column; gap: 30px; }
.section.section--article .container { flex-direction: column-reverse; }

.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 60px; position: relative; }
.filters::after { content: ""; background: linear-gradient(90deg, rgba(0, 5, 8, 0) 0%, rgba(60, 143, 206, 0.26) 49%, rgba(60, 143, 206, 0) 100%); width: 100%; height: 1px; position: absolute; bottom: -20px; left: 0; }

/* sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar__bage { padding: 6px 10px; background-color: var(--gray-color); border-radius: 8px; font-size: var(--small-btn); font-family: RFDewi; text-transform: uppercase; white-space: nowrap; }
.sidebar__bages { display: flex; flex-direction: row; align-items: center; gap: 5px; flex-wrap: wrap; }
.sidebar__item { padding: 20px; border-radius: 26px; background-color: var(--white-color); display: flex; flex-direction: column; gap: 0px; }
.sidebar__item.sidebar__item--blue { background-color: var(--back-color3); position: relative; align-items: center; }
.sidebar__title { font-size: var(--title-third); text-transform: uppercase; color: var(--white-color); font-family: RFDewi; text-align: center; }
.sidebar__subtitle { color: var(--white-color); text-align: center; }
.sidebar__item.sidebar__item--blue { background: var(--back-color); position: relative; padding: 40px 20px 0px 20px; }
.sidebar__item.sidebar__item--blue > * { max-width: 400px; }
.sidebar__decor svg:last-child { position: absolute; top: 16%; right: -27%; width: 75%; transform: rotate(173deg); z-index: 1 !important; }
.sidebar__decor svg:first-child { position: absolute; top: 11%; left: -36%; width: 75%; transform: rotate(325deg); z-index: 1 !important; }
.sidebar__decor { z-index: 1 !important; }
.sidebar__item.sidebar__item--blue > * { z-index: 2; }
.sidebar__image img { min-height: 100%; width: 100%; object-fit: cover; height: 100%; }
.sidebar__image { margin-top: auto; max-width: 300px; }
.sidebar__subtitle, p.sidebar__title, .sidebar .btn { margin-bottom: 25px; }
.sidebar__item:first-child { gap: 20px; }
