/*
Theme Name: columnist-a360
Author: columnist-a360
Version: 2.0
*/

.header_lang {
	display: none;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/inter-variablefont_opsz.ttf') format('truetype');
    font-weight: 400 700;
    font-display: swap;
}

.js .tmce-active .wp-editor-area {
    color: initial !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
li,
ol,
p,
table,
ul {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
    background-color: transparent;
    background-image: none;
}

:root {
    --main-text: #F8FAFC;
    --light-text: #E2E8F0;
    --white-text: #FFFFFF;

    --primary: #60A5FA;
    --white: #FFFFFF;

    --light-bg: #1E293B;
    --dark-bg: #020617;

    --main-transition: all 0.25s ease;

    --pagination-text: var(--main-text);
    --pagination-hover-bg: #E2E8F0;
    --pagination-hover-text: #0B1220;
    --pagination-current-bg: #111827;

    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);

    --hero-panel-bg: rgba(30, 41, 59, .55);
    --hero-panel-border: rgba(255, 255, 255, .10);

    --hero-post-bg: rgba(2, 6, 23, .55);
    --hero-post-bg-hover: rgba(2, 6, 23, .72);
    --hero-post-border: rgba(255, 255, 255, .06);
    --hero-post-border-hover: rgba(255, 255, 255, .12);

    --hero-kicker-bg: rgba(255, 255, 255, .04);
    --hero-kicker-border: rgba(255, 255, 255, .10);

    --brand-05: rgb(37 99 235 / 5%);
    --brand-10: rgb(37 99 235 / 10%);
    --brand-20: rgb(37 99 235 / 20%);
    --brand-30: rgb(37 99 235 / 30%);

    --asl-fallback-bg: #0A0E12;
}

.header_search--asl {
    --asl-bg: var(--asl-bg, var(--dark-bg));
    --asl-border: var(--asl-border, rgba(255, 255, 255, .12));
    --asl-text: var(--asl-text, var(--main-text));
    --asl-muted: var(--asl-muted, rgba(255, 255, 255, .72));
    --asl-hover: var(--asl-hover, rgba(255, 255, 255, .06));
    --asl-shadow: var(--asl-shadow, 0 14px 40px rgba(0, 0, 0, .45));

    display: flex;
    align-items: center;
}

body {
    font-family: 'Roboto';
    color: var(--main-text);
    line-height: 1.5;
    background: var(--light-bg);
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .container {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

.flex-row {
    display: flex;
    align-items: center;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    h1 {
        font-size: 3rem;
        line-height: 1;
    }

    h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
        line-height: 1;
    }
}

.light-text {
    color: var(--light-text);
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    backdrop-filter: blur(12px);
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 0.1rem 1rem;
    box-shadow: var(--shadow-sm);
    z-index: 9999;
    border-bottom: 1px solid var(--dark-bg);
}

@media (min-width: 768px) {
    .header {
        box-shadow: none;
    }
}

.header.fixed {
    position: fixed;
}

.header_content {
    position: relative;
    justify-content: space-between;
    width: 100%;
}

.header_logo {
    margin-right: auto;
}

.header_logo-title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--primary);
}

.logo {
    width: 102px;
    display: block;
    margin-top: 2px;
}

.logo .site-logo {
    width: 100%;
}

.header_logo-subtitle {
    display: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-left: 0.75rem;
    color: var(--light-text);
}

.header_menu {
    margin: 0 auto;
}

.header_menu ul {
    gap: 32px;
}

.header_menu ul li {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--light-text);
}

.header_content .button {
    margin-left: calc(1rem * calc(1 - 0));
}

.btn-icon-dark,
.close-icon,
.btn-icon-light {
    width: 1rem;
    height: 1rem;
}

.button {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--white-text);
    background: var(--primary);
    border-radius: 8px;
    height: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.button.button-light {
    background: var(--light-bg);
    color: var(--main-text);
    border: 1px solid var(--light-bg);
}

.button:hover {
    opacity: 0.8;
}

/* Language */

.language-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-dropdown .current-lang {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.language-dropdown > .current-lang span {
    display: none;
}

@media (min-width: 768px) {
    .language-dropdown .current-lang span {
        display: block;
    }
}

.language-dropdown .arrow {
    margin-left: 5px;
}

.language-dropdown .lang-options {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background: var(--light-bg);
    border: 1px solid var(--light-bg);
    border-radius: 8px;
    list-style: none;
    padding: 0;
    z-index: 999;
    min-width: 150px;
}

.language-dropdown .lang-options li {
    padding: 5px 10px;
}

.language-dropdown .lang-options li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--main-text);
    text-decoration: none;
}

.language-dropdown.open .lang-options {
    display: block;
}

.header_lang {
    margin-left: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.icon-glob {
    width: 1rem;
    height: 1rem;
}

.globe-icon li:not(.current-lang),
.globe-icon .current-lang span {
    display: none;
}

@media (min-width: 1024px) {
    .header_logo-subtitle {
        display: inline;
    }
}

@media (min-width: 768px) {
    .icon-glob {
        margin-left: 0.25rem;
    }
}

.burger-menu {
    margin-right: calc(0.5rem * 0);
    margin-left: calc(0.5rem * calc(1 - 0));
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.burger-menu.active {
    background: var(--dark-bg);
    border-radius: 8px;
}

.burger-menu-icon {
    width: 1rem;
    height: 1rem;
}

.header_menu {
    display: none;
}

.mobile-menu-wrap {
    display: block;
}

.mobile-menu-wrap .header_menu {
    display: none;
}

.mobile-menu.active {
    top: 65px;
    position: fixed;
    left: 0;
    background: var(--light-bg);
    width: 100%;
    height: max-content;
    margin: 0;
    padding: 2rem 1rem;
    box-shadow: var(--shadow-sm);
}

.mobile-menu.active .header_menu {
    display: block;
}

.mobile-menu.active .header_menu .flex-row {
    flex-direction: column;
    align-items: flex-start;
}

.header_button.desktop-only {
    display: none;
}

.header_button.mobile-only {
    display: flex;
}

.header_button.mobile-only .button {
    margin-top: calc(1rem * calc(1 - 0));
    margin-bottom: calc(1rem * 0);
    width: 100%;
    justify-content: center;
    margin-left: unset;
}

@media (min-width: 768px) {
    .header_button.mobile-only,
    .mobile-menu-wrap {
        display: none;
    }

    .header_button.desktop-only,
    .header_menu {
        display: flex;
    }
}

/* Hero */
.hero {
    background: var(--dark-bg);
}

.hero_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 60vh;
}

.hero_content-subtitle {
    margin-bottom: 1.5rem;
    color: var(--main-text);
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--white-text);
    padding: 0.25rem 0;
}

.hero_content-title {
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero_content-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    text-align: left;
}

@media (min-width: 768px) {
    .hero_content-text {
        font-size: 1.25rem;
        line-height: 1.75rem;
        margin-bottom: 2.5rem;
    }
}

.hero_content_bottom {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top: 1.5rem;
    color: var(--light-text);
}

.hero_content-buttons .button {
    border-radius: 8px;
    gap: 0.5rem;
    min-width: 160px;
    justify-content: center;
    height: 2.5rem;
}

.hero_content-buttons {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Footer */
.footer {
    padding-top: 4rem;
    padding-bottom: 2rem;
    background: var(--light-bg);
}

.footer_bottom-content {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.footer_bottom-copyright {
    color: var(--light-text);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.footer_top-content {
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer_nav-col .flex-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer_top-content > div {
    flex: 1;
}

.footer_bottom-content {
    justify-content: space-between;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.footer_logo {
    max-width: 102px;
}

.footer_logo-text {
    max-width: 17rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.footer_nav-title {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

.footer_nav li {
    color: var(--light-text);
}

.footer_bottom-content {
    color: var(--light-text);
    font-size: 0.875rem;
    line-height: 1.25rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer_bottom-nav .flex-row {
    gap: 1rem;
}

.email-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer_contact-item.flex-row {
    align-items: unset;
    gap: 0.5rem;
    color: var(--light-text);
}

.social-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--primary);
}

.social-icon svg:hover {
    fill: var(--primary);
    opacity: 0.8;
}

.footer_socials.flex-row {
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer_top-content {
        flex-direction: row;
    }

    .footer_bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* hover */
.header_menu li:hover,
.footer_nav li:hover,
.footer_contact-item:hover span {
    color: var(--primary);
    cursor: pointer;
}

/* Section why-choose-us */

.section-box {
    padding-bottom: 60px;
    background: var(--dark-bg);
    overflow: auto;
}

/* .section-box.white-bg {
    background: #fff;
} */

.box-title {
    text-align: left;
    margin-bottom: 1rem;
}

.box-text {
    text-align: center;
    margin: 0 auto 4rem;
    color: var(--light-text);
    text-align: left;
}

.box-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.box-card-item {
    flex: 1 1 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--light-bg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.box-card-item:hover {
    box-shadow: var(--shadow-hover);
}

.box-bg {
    background: var(--light-bg);
}

@media (min-width: 768px) {
    .box-card-item {
        flex: 1 1 calc(50% - 2rem);
    }
}

@media (min-width: 1024px) {
    .box-card-item {
        flex: 1 1 calc(33.333% - 2rem);
    }
}

.item-icon {
    border-radius: 8px;
    background: var(--brand-10);
    margin-bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-text {
    color: var(--light-text);
}

.item-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 0.75rem;
}

/* bet-sport */

.bet-sport .item-title {
    font-weight: 500;
    font-size: 1.125rem;
}

.bet-sport .sport-item-icon {
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin-bottom: 0.75rem;
}

.bet-sport .box-card-item {
    text-align: center;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .bet-sport .box-card-item {
        max-width: 280px;
    }
}

/* Numbers */

.num-section .box-card-item {
    background: var(--light-bg);
    text-align: center;
    border: unset;
}

.num-section .item-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 2.5rem;
}

@media (min-width: 1024px) {
    .num-section .box-card-item {
        flex: 1 1 calc(24% - 2rem);
    }
}

.num-section .box-title {
    margin-bottom: 4rem;
}

/* Bootom banner */

.bottom-banner {
    background-color: var(--brand-05);
}

.box-banner {
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    align-items: stretch;
    gap: 2rem;
    background: var(--white);
}

.left-box {
    padding: 3rem;
    flex: 1 50%;
    border-radius: 8px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .left-box {
        border-top-right-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
    }
}

.left-box-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .left-box-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.left-box-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    max-width: 460px;
}

.bottom-banner-buttons {
    justify-content: flex-start;
}

.bottom-banner-buttons .button {
    border-radius: 8px;
    min-width: 100%;
}

@media (min-width: 553px) {
    .bottom-banner-buttons .button {
        min-width: 200px;
    }
}

.right-box {
    display: none;
    flex: 1 50%;
    padding: 3rem;
    position: relative;
    background: linear-gradient(to right, rgb(37 99 235 / 0.8), #2563eb);
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

@media (min-width: 1024px) {
    .right-box {
        display: block;
    }
}

.right-box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.right-box-title {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.right-box-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 1.5rem;
}

.right-box-icons {
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.right-box-icon {
    padding: 1rem;
    background-color: #fff3;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
}

.right-box-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--white-text);
}

.circle {
    position: absolute;
    background-color: #ffffff1a;
    width: 10rem;
    height: 10rem;
}

.top-circle {
    top: 0;
    right: 0;
    border-bottom-left-radius: 9999px;
}

.bottom-circle {
    left: 0;
    bottom: 0;
    border-top-right-radius: 9999px;
}

/* Chapter section */
.chapter-section .box-content,
.container_faq {
    max-width: 60rem;
    margin: 0 auto;
}

.page_bet .chapter-section .box-content {
    max-width: 56rem;
}

.chapter-section .box-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chapter-section .box-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 2rem;
}

.chapter-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.chapter-item {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.chapter-box-cards .box-card-item {
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--border-light);
}

@media (min-width: 1024px) {
    .chapter-box-cards .box-card-item {
        flex: 1 1 calc(50% - 2rem);
    }
}

.chapter-icon {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.chapter-box-cards .item-text {
    color: var(--main-text);
}

.page_bet .chapter-item {
    font-size: unset;
    line-height: unset;
}

/* Home banner */

.banners {
    background: var(--brand-10);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem auto;
    text-align: center;
}

.second-banner {
    background: linear-gradient(
            to right,
            var(--brand-20),
            rgb(37 99 235 / 1%)
    );
}

.banner-title {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin: 0 auto 1.5rem;
    font-weight: 400;
}

.second-banner .banner-text {
    max-width: 42rem;
}

.banner-buttons .button {
    min-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 553px) {
    .banner-buttons {
        margin: 0 auto;
        width: max-content;
    }

    .banner-buttons .button {
        min-width: max-content;
    }
}

.animation-opacity-btn {
    animation: fadePulse 2s infinite;
}

@keyframes fadePulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Table */
.table-box {
}

.table-title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1.5rem;
}

.comparison-table {
    border-collapse: collapse;
    width: 100%;
    text-indent: 0;
    border-color: inherit;
}

.overflow-x-auto {
    overflow-x: auto;
}

.comparison-table thead tr {
    background: var(--brand-10);
}

.comparison-table thead th {
    font-weight: 700;
    padding: 1rem;
    border: 1px solid var(--border-light);
}

.comparison-table tbody tr {
    background: var(--light-bg);
}

.comparison-table tbody td {
    font-weight: 500;
    border: 1px solid var(--border-light);
    padding: 1rem;
}

.comparison-table .text-green-500 {
    color: rgb(34 197 94 / var(--tw-text-opacity, 1));
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table .text-amber-500 {
    color: rgb(245 158 11 / var(--tw-text-opacity, 1));
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table .text-left {
    text-align: left;
}

.comparison-table .text-center {
    text-align: center;
}

.comparison-table .text-primary {
    color: var(--primary);
}

.comparison-table .text-light {
    font-weight: 400;
}

.steps-box {
    margin: 3rem auto;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.step-number {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 0;
}

.step-num-bg {
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    min-width: 3rem;
    width: max-content;
    height: 3rem;
    padding: 0;
    line-height: 0;
}

.step-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-text {
    color: var(--light-text);
}

.chapter-box-cards-scnd {
    margin-bottom: 3rem;
}

.chapter-box-cards-scnd .chapter-box-cards .box-card-item {
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .chapter-box-cards-scnd .chapter-box-cards .box-card-item {
        flex: 1 1 calc(33% - 2rem);
    }
}

.text-yellow-500 {
    color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}

.text-blue-500 {
    color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}

.text-purple-500 {
    color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}

.text-red-500 {
    color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}

.text-amber-500 {
    color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.text-green-500 {
    color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}

.chapter-box-cards-scnd .chapter-icon svg {
    width: 2rem;
    height: 2rem;
}

/* reviews */
.reviews {
    margin-bottom: 3rem;
}

.reviews .box-card-item:hover {
    box-shadow: unset;
}

.review-top-content {
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.review-initial {
    background-color: var(--brand-20);
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
}

.review-name {
    font-weight: 700;
}

.review-country {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--light-text);
    font-weight: 400;
}

.review-description {
    font-style: italic;
}

.star-icon svg {
    margin-top: 0.75rem;
    height: 1rem;
    width: auto;
}

/* Reasons */
.reasons,
.statistic-num {
    margin-bottom: 3rem;
}

.reasons-item-row {
    gap: 0.75rem;
}

.reasons-items {
    row-gap: 1rem;
    column-gap: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .reasons-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.reasons-item-row svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* *Statistic */

.chapter-section .num-section .box-cards {
    gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 740px) {
    .chapter-section .num-section .box-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.chapter-section .num-section .box-card-item {
    border: 1px solid var(--border-light);
    background: var(--white);
}

.chapter-section .num-section .box-card-item:hover {
    box-shadow: unset;
}

/* Authors */
.authors {
    border-top: 1px solid var(--dark-bg);
    padding-top: 2rem;
}

.list-disc {
    list-style: disc;
    padding-left: 1.25rem;
}

.authors .review-initial {
    width: 4rem;
    height: 4rem;
}

.date-authors {
    font-size: 0.75rem;
    line-height: 1rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

.authors .box-cards {
    gap: 0;
}

.authors .review-top-content {
    margin-bottom: 0;
}

.authors-description {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top: 1rem;
}

.authors-description h4 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.list-disc > * + * {
    margin-top: 0.25rem;
}

/* FAQ */
.faq-sections {
    max-width: 48rem;
    margin: 0 auto;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.faq-title {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title p {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.faq-title h2 {
    margin-bottom: 1rem;
}

.toggle-icon svg {
    display: inline-block;
    transition: transform 0.3s ease;
    width: 1rem;
    height: 1rem;
}

.faq-item.active .toggle-icon svg {
    transform: rotate(180deg);
}

.faq-item {
    border-bottom: 1px solid var(--dark-bg);
}

.faq-question {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.75rem;
    cursor: pointer;
}

.faq-question:hover {
    text-decoration: underline;
}

.faq-answer {
    padding-bottom: 1rem;
    font-size: .875rem;
    line-height: 1.25rem;
}

/* Download App Section */
.app-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: var(--light-bg);
}

.app-section p {
    color: var(--light-text);
}

.app-section .subtitle {
    color: var(--primary);
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    padding: .25rem .75rem;
    background: var(--white-text);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
}

.rounded-full {
    background: var(--primary);
    border-radius: 8px;
    width: .5rem;
    height: .5rem;
    margin-right: .5rem;
}

.left-box-app h2 {
    margin-bottom: 1.5rem;
}

.left-box-app p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 2rem;
}

.app-section .hero_content-buttons .button {
    border-radius: 8px;
    height: 2.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.app-section .hero_content-buttons {
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.check-box.flex-row {
    align-items: flex-start;
    gap: .75rem;
}

.app-section-flex.flex-row {
    flex-direction: column;
}

.app-section-flex.flex-row > div {
    flex: 1;
}

.check-box svg {
    stroke: var(--primary);
}

.check-box h4 {
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.check-box p {
    font-size: unset;
    line-height: unset;
}

@media (min-width: 1024px) {
    .app-section-flex.flex-row {
        flex-direction: row;
    }
}

/* Install app */
.install-app-section .number {
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: var(--white-text);
    font-weight: 700;
    margin-bottom: 1rem;
}

.install-app-section .box-text.light-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

/* Opinion */
.opinion-section .box-title {
    margin-bottom: 4rem;
}

/* Slider */

.slider-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    max-width: 56rem;
}

.box-cards.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    flex-wrap: unset;
}

.box-card-item.slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 2rem;
    position: relative;

    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.box-card-item.slide.active {
    display: block;
    opacity: 1;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: .5rem;
}

.slider-nav button {
    background: transparent;
    border: 1px solid var(--border-light);
    cursor: pointer;
    border-radius: 8px;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    white-space: nowrap;
    width: 2.5rem;
    height: 2.5rem;
}

.slider-dots {
    text-align: center;
    margin-top: 10px;
}

.slider-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--brand-30);
    border-radius: 8px;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: var(--primary);
}

.slider-wrapper .item-text {
    color: #09090b;
    line-height: 1.625;
    font-style: italic;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.slider-wrapper .review-name {
    font-weight: 600;
}

@media (min-width: 1024px) {
    .box-card-item.slide {
        padding: 3rem;
    }
}

@media (min-width: 768px) {
    .slider-wrapper .item-text {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.top-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--brand-20);
}

.header_menu a.active {
    color: var(--primary);
}

.content_content h1 {
    margin-bottom: 40px;
}

.content_content h2 {
    margin-bottom: 30px;
}

.content_content h3,
.content_content h4,
.content_content h5 {
    margin-bottom: 24px;
}

.content_content p {
    margin-bottom: 20px;
}

.content_content p img {
    margin-bottom: 30px;
}

.content_content table,
.content_content hr {
    margin: 30px 0;
}

.content_content table td,
.content_content table th {
    padding: 5px 10px;
    border: 1px solid var(--white-text);
}

.content_content table td a,
.content_content table th a {
    color: var(--primary);
    text-decoration: underline;
}

.content_content table td a:hover,
.content_content table th a:hover {
    text-decoration: none;
}

.content_content ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 30px;
}

.content_content ul li {
    margin-bottom: 0.5em;
}

.content_content ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 30px;
}

.content_content ol li {
    margin-bottom: 0.5em;
}

.content_content p a[href^="http"] {
    color: var(--white-text) !important;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    background: var(--primary);
    border-radius: 8px;
    height: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.content_content p a[href^="http"]:hover {
    opacity: 0.9;
}

.page--default .section-box .content_content,
.page--single .section-box .content_content {
    margin-top: 100px;
}

.page-thumbnail {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 14px;
}

.page-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-header {
    margin-bottom: 24px;
}

.page-title {
    margin: 0 0 10px;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgba(226, 232, 240, .65);
}

.page-category {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
}

.page-category::after {
    content: "•";
    margin-left: 10px;
    color: rgba(226, 232, 240, .4);
    font-weight: 400;
}

.page-category:hover {
    text-decoration: underline;
    opacity: 1;
}

.page-date {
    color: rgba(226, 232, 240, .6);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

.article-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.article-body {
    padding: 18px;
    background: var(--dark-bg);
}

.article-title {
    font-size: 20px;
    margin: 0 0 10px;
    line-height: 1.3;
}

.article-excerpt {
    line-height: 1.6;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: var(--pagination-text);
}

.pagination .page-numbers:hover {
    background: var(--pagination-hover-bg);
    color: var(--pagination-hover-text);
}

.pagination .current {
    background: var(--pagination-current-bg);
    color: var(--white-text);
}

.sidebar-inner {
    padding: 18px;
}

.sidebar-widget + .sidebar-widget {
    margin-top: 14px;
}

.sidebar-title {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.5rem;
    margin-bottom: 10px;
}

.sidebar-widget ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-top: 10px;
}

.sidebar-widget li + li {
    margin-top: 6px;
}

.sidebar-widget a:hover {
    opacity: 0.85;
}

.page--articles .articles-grid {
    margin-top: 0;
}

.page--articles .articles-layout {
    padding-top: 3rem;
    padding-bottom: 6rem;
    background: var(--dark-bg);
}

.articles-layout__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch; /* sidebar будет тянуться по высоте */
}

@media (min-width: 1024px) {
    .articles-layout__grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 32px;
    }
}

/* Sidebar */
.articles-layout__sidebar {
    background: var(--light-bg);
    border: 1px solid var(--dark-bg);
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .articles-layout__sidebar {
        position: sticky;
        top: 120px;
        align-self: start;
        height: max-content;
    }
}

.sidebar-inner {
    padding: 0;
}

.faq-sections--in-layout {
    max-width: 100%;
    margin: 0;
    border-top: 1px solid var(--dark-bg);
}

.faq-sections--in-layout.white-bg {
    background: transparent;
}

/* Editorial header tweaks */
.header--editorial .header_content {
    gap: 16px;
}

.header_brand {
    gap: 12px;
    min-width: 220px;
}

.header_menu--desktop {
    flex: 1;
    display: none;
    justify-content: center;
}

.header_actions--desktop {
    display: none;
    gap: 12px;
    margin-left: auto;
}

@media (min-width: 768px) {
    .header_menu--desktop {
        display: flex;
    }

    .header_actions--desktop {
        display: flex;
        align-items: center;
    }
}

/* Lang dropdown (clean) */
.language-dropdown .current-lang {
    border: 1px solid var(--primary);
    background: var(--light-bg);
    border-radius: 8px;
    padding: 0 10px;
    height: 2.5rem;
}

.language-dropdown .lang-label {
    display: none;
}

@media (min-width: 1024px) {
    .language-dropdown .lang-label {
        display: inline;
    }
}

.lang-options {
    margin-top: 8px;
    border: 1px solid var(--dark-bg);
}

/* Mobile menu content */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
    top: 65px;
    position: fixed;
    left: 0;
    background: var(--light-bg);
    width: 100%;
    padding: 1.25rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header_menu--mobile .flex-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.header_search--mobile {
    width: 100%;
    margin-top: 14px;
}

.header_search--mobile .header_search-input {
    width: 100%;
}

.pll-flag {
    width: 16px;
    height: 11px;
    display: inline-block;
    object-fit: cover;
    border-radius: 2px;
}

.language-dropdown .lang-flag {
    display: inline-flex;
    align-items: center;
}

.language-dropdown .current-lang {
    gap: 8px;
}

/* Universal: any ASL instance */
.header_search--asl [id^="ajaxsearchlite"],
.header_search--asl [id^="ajaxsearchlite"] *,
[id^="ajaxsearchliteres"],
[id^="ajaxsearchliteres"] * {
    box-sizing: border-box !important;
}

.header_search--asl .asl_w_container,
.header_search--asl [id^="ajaxsearchlite"] {
    min-width: 280px;
}

.header_search--asl [id^="ajaxsearchlite"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox {
    height: 40px !important;
    border-radius: 10px !important;
    background: var(--asl-bg) !important;
    border: 1px solid var(--asl-border) !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .proinput {
    height: 40px !important;
    margin: 0 !important;
    padding: 0 8px 0 12px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .proinput input {
    margin: 0 !important;
    line-height: 40px !important;
}

.header_search--asl [id^="ajaxsearchlite"] input.orig {
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.header_search--asl [id^="ajaxsearchlite"] input.autocomplete {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--asl-muted) !important;
    opacity: .18 !important;
    margin-top: 0 !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    height: 40px !important;
    line-height: 40px !important;
    width: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.header_search--asl [id^="ajaxsearchlite"] input.orig::placeholder {
    color: var(--asl-muted) !important;
    opacity: .85 !important;
    line-height: 40px !important;
}

.header_search--asl [id^="ajaxsearchlite"] input:-webkit-autofill,
.header_search--asl [id^="ajaxsearchlite"] input:-webkit-autofill:hover,
.header_search--asl [id^="ajaxsearchlite"] input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--asl-text) !important;
    transition: background-color 999999s ease-out 0s !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .promagnifier,
.header_search--asl [id^="ajaxsearchlite"] .probox .proclose,
.header_search--asl [id^="ajaxsearchlite"] .probox .proloading,
.header_search--asl [id^="ajaxsearchlite"] .probox .prosettings {
    margin: 0 !important;
    padding: 10px !important;
    background: transparent !important;
    width: auto;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .promagnifier svg,
.header_search--asl [id^="ajaxsearchlite"] .probox .prosettings svg {
    width: 18px !important;
    height: 18px !important;
    fill: var(--main-text) !important;
    display: block !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .proclose svg {
    width: 16px !important;
    height: 16px !important;
    fill: var(--asl-muted) !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    position: static !important;
    margin: 0 !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .promagnifier:hover svg,
.header_search--asl [id^="ajaxsearchlite"] .probox .proclose:hover svg {
    fill: var(--asl-text) !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .promagnifier .innericon,
.header_search--asl [id^="ajaxsearchlite"] .probox .proclose svg,
.header_search--asl [id^="ajaxsearchlite"] .probox .proloading .asl_loader {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .proloading {
    display: none !important;
}

.header_search--asl [id^="ajaxsearchlite"].asl-loading .probox .proloading {
    display: flex !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .proloading .asl_loader {
    width: 18px !important;
    height: 18px !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .proloading .asl_simple-circle {
    border-width: 2px !important;
    border-color: rgba(255, 255, 255, .7) !important;
    border-right-color: transparent !important;
}

.header_search--asl [id^="ajaxsearchlite"] .probox .proloading[style*="display: block"],
.header_search--asl [id^="ajaxsearchlite"] .probox .proloading[style*="display:block"] {
    display: none !important;
}

.header_search--asl [id^="ajaxsearchlite"] .prosettings {
    display: none !important;
}

/* Results dropdown (any instance) */
[id^="ajaxsearchliteres"] {
    background: var(--dark-bg) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 14px !important;
    box-shadow: var(--asl-shadow) !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[id^="ajaxsearchliteres"] .results,
[id^="ajaxsearchliteres"] .resdrg {
    background: transparent !important;
}

[id^="ajaxsearchliteres"] .results .item {
    background: transparent !important;
    border: 0 !important;
    padding: 10px 12px !important;
}

[id^="ajaxsearchliteres"] .results .item + .item {
    border-top: 1px solid var(--light-bg) !important;
}

[id^="ajaxsearchliteres"] .results .item:hover {
    background: rgba(255, 255, 255, .06) !important;
}

[id^="ajaxsearchliteres"] .results .item .asl_image {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    margin: 0 10px 0 0 !important;
    object-fit: cover !important;
    border: var(--light-bg) !important;
}

[id^="ajaxsearchliteres"] .results .item h3 {
    margin: 0 !important;
    line-height: 1.25 !important;
    display: block !important;
}

[id^="ajaxsearchliteres"] .results .item a.asl_res_url {
    color: var(--main-text) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

[id^="ajaxsearchliteres"] .results .item .asl_desc {
    color: var(--light-text) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-top: 6px !important;
}

[id^="ajaxsearchliteres"] .results .asl_nores {
    background: transparent !important;
    color: var(--asl-muted) !important;
    padding: 14px 12px !important;
}

[id^="ajaxsearchliteres"] .results {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .25) transparent;
}

[id^="ajaxsearchliteres"] .results::-webkit-scrollbar {
    width: 10px;
}

[id^="ajaxsearchliteres"] .results::-webkit-scrollbar-track {
    background: transparent;
}

[id^="ajaxsearchliteres"] .results::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

[id^="ajaxsearchliteres"] .results:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .28);
    background-clip: padding-box;
}

@media (max-width: 1024px) {
    .header_search--asl .asl_w_container,
    .header_search--asl [id^="ajaxsearchlite"] {
        width: 100%;
        min-width: 100%;
    }
}

/* Hide settings + ghost/autocomplete (any instance) */
div.asl_r.asl_w.vertical .results .item::after,
.header_search--asl [id^="ajaxsearchlite"] .probox .prosettings,
.header_search--asl [id^="ajaxsearchlite"] input.autocomplete {
    display: none !important;
}

.footer--editorial .footer_top-content--editorial {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer--editorial .footer_logo-content--editorial {
    max-width: 360px;
}

.footer--editorial .footer_menus--editorial {
    display: flex;
    gap: 32px;
    flex: 1;
    flex-wrap: wrap;
}

.footer--editorial .footer_nav-col--editorial {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer--editorial .footer_nav-block {
    min-width: 180px;
}

.footer--editorial .footer_nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer--editorial .footer_contacts--editorial {
    min-width: 220px;
}

.footer--editorial .footer_socials--editorial {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer--editorial .footer_bottom-content--editorial {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    margin-top: 24px;
    border-top: 1px solid var(--dark-bg);
    flex-wrap: wrap;
}

.footer--editorial .footer_bottom-list {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* HERO (Editorial masthead) */
.hero.hero--editorial {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.hero.hero--editorial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 420px at 12% 18%, rgba(96, 165, 250, .18), transparent 55%),
    radial-gradient(700px 380px at 92% 30%, rgba(96, 165, 250, .12), transparent 60%),
    linear-gradient(to bottom, rgba(255, 255, 255, .03), transparent 55%);
    pointer-events: none;
}

.hero_masthead {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 58vh;
}

@media (min-width: 1024px) {
    .hero_masthead {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        align-items: center;
        gap: 36px;
        min-height: 62vh;
    }
}

.hero_left {
    max-width: 860px;
}

.hero_kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--main-text);
    font-size: 0.75rem;
    line-height: 1rem;
    margin-bottom: 18px;
    background: var(--hero-kicker-bg);
    border: 1px solid var(--hero-kicker-border);
}

.hero_kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, .18);
}

.hero_title {
    margin-bottom: 14px;
    text-align: left;
    letter-spacing: -0.03em;
}

.hero_lead {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--light-text);
    max-width: 52rem;
    margin-bottom: 22px;
}

@media (min-width: 768px) {
    .hero_lead {
        font-size: 1.25rem;
    }
}

.hero_actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero_actions .button {
    min-width: 170px;
    justify-content: center;
}

.hero_note {
    margin-top: 16px;
    color: var(--light-text);
    font-size: 0.875rem;
    line-height: 1.25rem;
    max-width: 46rem;
}

.hero_right {
    position: relative;
}

.hero_panel {
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    background: var(--hero-panel-bg);
    border: 1px solid var(--hero-panel-border);
}

.hero_panel-head {
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.hero_panel-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero_panel-sub {
    color: rgba(226, 232, 240, .70);
    font-size: 0.875rem;
}

.hero_posts {
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero_post {
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    background: var(--hero-post-bg);
    border: 1px solid var(--hero-post-border);
    transition: var(--main-transition);
}

.hero_post:hover {
    background: var(--hero-post-bg-hover);
    border-color: var(--hero-post-border-hover);
    transform: translateY(-1px);
}

.hero_post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(226, 232, 240, .66);
    font-size: 0.75rem;
    line-height: 1rem;
    margin-bottom: 6px;
}

.hero_post-title {
    font-weight: 700;
    line-height: 1.25;
}

.hero_post--empty {
    opacity: .7;
}

.hero_decor {
    position: absolute;
    right: -80px;
    top: -70px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, .35), rgba(96, 165, 250, .06) 60%, transparent 70%);
    filter: blur(0px);
    pointer-events: none;
}

.hero_post-category {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 0.65rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.9;
}

/* Meta row: category + date */
.hero_post-category,
.hero_post-meta {
    display: inline-flex;
    align-items: center;
}

.hero_post-category {
    margin-right: 10px;
    font-size: 0.65rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.9;
}

/* точка-разделитель */
.hero_post-category::after {
    content: "•";
    margin-left: 10px;
    color: var(--main-text);
    font-weight: 400;
}

/* дата */
.hero_post-date {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--main-text);
}

/* make sure old hero styles don't fight this one */
.hero.hero--editorial .hero_content,
.hero.hero--editorial .hero_content-title,
.hero.hero--editorial .hero_content-text,
.hero.hero--editorial .hero_content-buttons,
.hero.hero--editorial .hero_content-subtitle,
.hero.hero--editorial .hero_content_bottom {
    all: unset;
}

@media (min-width: 1024px) {
    .hero_masthead.no-latest {
        grid-template-columns: 1fr;
        min-height: 56vh;
    }

    .hero_masthead.no-latest .hero_left {
        max-width: 100%;
    }

    .hero_masthead.no-latest .hero_actions .button {
        min-width: 200px;
    }
}

/* HERO: Archive variant (compact) */
.hero.hero--archive .hero_masthead {
    min-height: auto;
    padding-top: 5.25rem;
    padding-bottom: 2.25rem;
    gap: 18px;
}

@media (min-width: 1024px) {
    .hero.hero--archive .hero_masthead {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        padding-bottom: 2.75rem;
    }
}

.hero.hero--archive .hero_left {
    max-width: 980px;
}

.hero.hero--archive .hero_title {
    margin-bottom: 10px;
}

.hero_kicker-count {
    margin-left: 10px;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .06);
    color: rgba(226, 232, 240, .85);
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.page--category-archive .articles-layout__sidebar {
    margin-top: 20px;
}

/* BLOG PAGE polish */
.page--blog .blog-list {
    padding-top: 0;
}

.page--blog .articles-grid {
    margin-top: 24px;
    margin-bottom: 0;
}

.page--blog .article-card {
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(2, 6, 23, .35);
    transition: var(--main-transition);
}

.page--blog .article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .12);
    background: rgba(2, 6, 23, .55);
}

.page--blog .article-body {
    background: transparent;
    padding: 16px 16px 18px;
}

.page--blog .article-title {
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.9;
}

.article-category:hover {
    opacity: 1;
    text-decoration: underline;
}


.page--blog .article-excerpt {
    color: rgba(226, 232, 240, .78);
    font-size: 0.95rem;
}

.page--blog .pagination {
    margin-top: 28px;
}

.page--blog .blog-empty {
    margin-top: 24px;
    color: rgba(226, 232, 240, .78);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    line-height: 1rem;
}

.article-category {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
}

.article-date {
    color: rgba(226, 232, 240, .6);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    line-height: 1rem;
}

.article-category {
    display: inline-flex;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.9;
}

.article-category:hover {
    opacity: 1;
    text-decoration: underline;
}

.article-sep {
    color: rgba(226, 232, 240, .4);
    font-weight: 400;
    line-height: 1;
}

.article-date {
    color: rgba(226, 232, 240, .6);
}

.breadcrumbs {
    font-size: 0.75rem;
    line-height: 1rem;
    margin-bottom: 12px;
    color: rgba(226, 232, 240, .65);
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .breadcrumb_last {
    color: rgba(226, 232, 240, .85);
    font-weight: 500;
}

.page--author .hero_lead {
    max-width: 720px;
}

.page--author .article-card {
    border-radius: 14px;
}

.page--author .hero_kicker {
    margin-bottom: 14px;
}

.single-article {
    background: var(--dark-bg);
    padding-bottom: 80px;
}

.article-hero {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.article-hero h1 {
    max-width: 900px;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.article-anchors {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 20px 24px;
    max-width: 900px;
    backdrop-filter: blur(6px);
}

.article-anchors ul {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-anchors li {
    line-height: 1.4;
}

.article-anchors a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--light-text);
    transition: var(--main-transition);
}

.article-anchors a::before {
    content: "—";
    color: var(--primary);
    font-weight: 700;
    transition: var(--main-transition);
}

.article-anchors a:hover {
    color: var(--white-text);
    transform: translateX(4px);
}

.article-anchors a:hover::before {
    transform: translateX(4px);
}

.article-body {
    padding-top: 3rem;
}

.article-content {
    max-width: 900px;
}

.article-content h2,
.article-content h3 {
    scroll-margin-top: 120px;
}

.article-content h2 {
    margin-top: 60px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.article-content h3 {
    margin-top: 40px;
    opacity: 0.9;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light-text);
}

.article-content img {
    border-radius: 14px;
    margin: 30px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    line-height: 1rem;
}

.article-category {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
}

.article-category:hover {
    text-decoration: underline;
}

.article-date,
.article-author {
    color: rgba(226, 232, 240, .6);
}

.article-sep {
    color: rgba(226, 232, 240, .4);
}

.article-title {
    margin-bottom: 28px;
}

.article-featured {
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 16px;
}

.article-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-author__top {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-author__avatar {
    flex: 0 0 140px;
}

.hero-author__avatar img {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .1);
}

.hero-author__info {
    flex: 1;
    min-width: 280px;
}

.hero-author__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.hero-author__socials a {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: 0.25s ease;
}

.hero-author__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    align-items: center;
}

.hero-author__socials a {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    color: rgba(226, 232, 240, .85);
    padding: 0;
    background: none;
    border: none;
    position: relative;
    transition: 0.2s ease;
}

.hero-author__socials a:not(:last-child)::after {
    content: "•";
    margin-left: 8px;
    color: rgba(255, 255, 255, .35);
}

.hero-author__socials a:hover {
    color: var(--primary);
}


@media (max-width: 768px) {
    .hero-author__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-author__avatar {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {

    .article-hero {
        padding-top: 6rem;
    }

    .article-anchors {
        padding: 16px;
    }

    .article-content p {
        font-size: 1rem;
    }
}

/* AUTHOR TABS: better UI */
.author-tabs-wrap {
    margin-top: 8px;
}

.author-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .author-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.author-tab {
    height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, .92);

    cursor: pointer;
    transition: var(--main-transition);
    position: relative;
    overflow: hidden;
}

.author-tab:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
    transform: translateY(-1px);
}

.author-tab.is-active {
    background: linear-gradient(90deg, rgba(96, 165, 250, .22), rgba(96, 165, 250, .08));
    border-color: rgba(96, 165, 250, .40);
    color: var(--white-text);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}

.author-tab.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    height: 2px;
    border-radius: 2px;
    background: rgba(96, 165, 250, .75);
}

.author-tabs-panel {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(2, 6, 23, .35);
    padding: 22px;
}

@media (max-width: 768px) {
    .author-tabs-panel {
        padding: 16px;
    }
}

.author-tabpanel {
    display: none;
}

.author-tabpanel.is-active {
    display: block;
}

/* Panel head */
.author-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.author-panel-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
    line-height: 1.6;
}

.author-panel-sub {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: .9;
}

/* Richtext typography (fix “text vomit”) */
.author-richtext {
    max-width: 900px;
}

.author-richtext--compact {
    max-width: 100%;
}

.author-richtext p {
    margin: 0 0 16px;
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.85;
}

.author-richtext h2,
.author-richtext h3,
.author-richtext h4 {
    margin: 26px 0 14px;
    color: var(--main-text);
    letter-spacing: -0.02em;
}

.author-richtext ul,
.author-richtext ol {
    margin: 0 0 18px;
    padding-left: 1.25rem;
}

.author-richtext li + li {
    margin-top: 8px;
}

.author-richtext a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.author-richtext a:hover {
    opacity: .9;
}

/* Divider */
.author-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 18px 0 18px;
}

/* Publications grid prettier */
.author-pubs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1024px) {
    .author-pubs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .author-pubs-grid {
        grid-template-columns: 1fr;
    }
}

.author-pub-card {
    display: block;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(2, 6, 23, .55);
    transition: var(--main-transition);
}

.author-pub-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .16);
    background: rgba(2, 6, 23, .72);
}

.author-pub-meta {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgba(226, 232, 240, .60);
    margin-bottom: 10px;
}

.author-pub-title {
    font-weight: 800;
    line-height: 1.3;
    color: var(--main-text);
    margin-bottom: 10px;
}

.author-pub-more {
    font-size: 0.875rem;
    color: rgba(226, 232, 240, .80);
}

.author-pub-card:hover .author-pub-more {
    color: var(--primary);
}

/* Articles in tab: reduce nested padding */
.author-articles-wrap .articles-layout.page--blog {
    padding-top: 0;
}

.author-articles-wrap .articles-layout__grid {
    padding-top: 0;
}

/* Author: Certificates */
.author-certs-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1024px) {
    .author-certs-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .author-certs-grid {
        grid-template-columns:1fr;
    }
}

.author-cert-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(2, 6, 23, .55);
    transition: var(--main-transition);
}

.author-cert-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .16);
    background: rgba(2, 6, 23, .72);
}

.author-cert-title {
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
}

.author-cert-meta {
    font-size: .75rem;
    line-height: 1rem;
    color: rgba(226, 232, 240, .60);
    margin-bottom: 10px;
}

.author-cert-sep {
    margin: 0 8px;
    color: rgba(226, 232, 240, .35);
}

.author-cert-note {
    color: rgba(226, 232, 240, .78);
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.author-cert-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.author-cert-link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.author-cert-link:hover {
    opacity: .9;
}

.author-extpubs {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 640px) {
    .author-extpubs {
        grid-template-columns:1fr;
    }
}

.author-extpub-card {
    display: block;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--hero-post-border);
    background: var(--hero-post-bg);
    transition: var(--main-transition);
}

.author-extpub-card:hover {
    transform: translateY(-2px);
    border-color: var(--hero-post-border-hover);
    background: var(--hero-post-bg-hover);
}

.author-extpub-meta {
    font-size: .75rem;
    line-height: 1rem;
    color: var(--light-text);
    opacity: .6;
    margin-bottom: 10px;
}

.author-extpub-sep {
    margin: 0 8px;
    color: var(--light-text);
    opacity: .35;
}

.author-extpub-title {
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--main-text);
}

.author-extpub-desc {
    color: var(--light-text);
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.author-extpub-more {
    font-size: .875rem;
    color: var(--light-text);
}

.author-extpub-card:hover .author-extpub-more {
    color: var(--primary);
}

.author-card-thumb{
    width: 100%;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;

    background: var(--light-bg);
    border: 1px solid var(--dark-bg);

    display: flex;
    align-items: center;
    justify-content: center;
}

.author-card-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-card-thumb__pdf{
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
}

.author-pub-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.author-pub-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 2.5rem;
    padding: 0 14px;
    border-radius: 12px;

    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;

    color: var(--main-text);
    background: var(--hero-post-bg);
    border: 1px solid var(--hero-post-border);

    transition: var(--main-transition);
    text-decoration: none;
}

.author-pub-btn:hover{
    background: var(--hero-post-bg-hover);
    border-color: var(--hero-post-border-hover);
    transform: translateY(-1px);
}

.author-pub-btn.is-primary{
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white-text);
}

.author-pub-btn.is-primary:hover{
    opacity: .9;
    transform: translateY(-1px);
}
