/* Open Sans - основной шрифт */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans.regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans.extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: rgb(32 9 34);
}
/* === HEADINGS (H1-H6) === */
h1, h2, h3, h4, h5, h6 {
    color: rgb(203 188 213);
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    padding: 15px 0;
}

/* Desktop sizes */
h1, h1.section-title {
    font-size: 42px;
    padding: 5px 0;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

/* Mobile sizes */
@media (max-width: 767px) {
    h1 {
        font-size: 26px;
        padding: 0;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 21px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    h5 {
        font-size: 18px;
    }
    
    h6 {
        font-size: 16px;
    }
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

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

/* Open Sans Regular для контента в main (p, a, list, buttons) */
.main-content,
.main-content *,
main,
main * {
    font-family: 'Open Sans', sans-serif !important;
}

p, li, ul, ol, .section-description, .info-text-block {
    font-weight: 400;
    color: rgb(239 239 239);
}

p {
    margin: 10px 0;
}

.main-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .main-content {
        padding-top: 100px;
        padding-right: 30px;
    }
}

/* === HEADER === */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 10px 15px;
    display: flex;
}

@media (min-width: 768px) {
    .site-header {
        padding-left: 20px;
        padding-right: 40px;
    }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 10px;

}

@media (max-width: 767px) {
    .header-logo-section {
        width: 100%;
    }
    .header-logo-section a {
        margin: 0 auto;
        display: block;
      
    }
}

@media (min-width: 768px) {
    .header-logo-section {
        gap: 25px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 45px;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile: Fixed buttons at bottom */
@media (max-width: 767px) {
    .header-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        gap: 20px;
        z-index: 1000;
        background: #361039;
        padding: 10px;
        justify-content: center;
    }
    
    .header-buttons .btn {
        width: 50%;
        flex: 1;
        border-radius: 0 !important;
        padding: 10px 10px !important;
        font-size: 20px !important;
        margin: 0;
    }
    
    .header-buttons .btn-secondary {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.hamburger-menu {
    width: 25px;
    height: 40px;
}

.logo-image {
    max-height: 40px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-image {
        max-height: 50px;
    }
}

/* === SIDEBAR === */
/* Inter для навигации */
.sidebar,
.sidebar *,
aside,
aside * {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}

.aside span,
.aside ul li a span,
.sidebar-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: rgb(136 123 143);
    font-size: 14px;
}

.aside ul li a::before{
    content:'';
    background-image: url("/assets/img/grape.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 30px;
    position: absolute;
    left: 10px;
    top: 7px;
    transform: rotate(22deg);
}

.sidebar {
    z-index: 0;
    background-color: rgb(32 9 34);
    border-right: 2px solid #361039;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px;
}

.sidebar-item {
    border-bottom: 4px solid transparent;
    background: #361039;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding-right: 40px;
}

/* Hero Section in Sidebar */
.hero-section-sidebar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 300px;
    background-image: url('../img/bg-mob.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 30px 10px;
    border-radius: 12px;
    margin-top: 10px;
}

.hero-section-sidebar .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 100%;
    background: rgb(16 11 7 / 78%);
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-section-sidebar .hero-subtitle {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-section-sidebar .hero-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-family: 'Open Sans', sans-serif;
    white-space: normal;
    min-width: 0;
    max-width: 100%;
}

.hero-section-sidebar .hero-bonus {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-section-sidebar .hero-btn {
    display: inline-block;
    padding: 10px 10px;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: #FFF1D2;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: fit-content;
    -webkit-text-stroke: 1px rgba(114, 80, 52, 0.4);
    text-shadow: 1px 1px 2px rgb(0 0 0), 1px 1px 1px rgb(0 0 0);
}

.hero-section-sidebar .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Когда sidebar свернут (collapsed), убираем padding справа */
.sidebar.collapsed {
    max-width: 70px;
    transition: all .3s ease-in-out;
}

.sidebar.collapsed .sidebar-link {
    padding-right: 0;
}

.sidebar-icon {
    min-width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Иконки внутри sidebar должны использовать цвет из переменной */
.sidebar-icon path {
    fill: var(--side_nav_text);
}

.sidebar-text {
    display: block;
    align-items: center;
    padding: 10px 0 5px;
    padding-right: 10px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* === SECTIONS === */
/* Open Sans Regular для hero (кроме заголовка) */
.hero-section *:not(.hero-title),
.hero-content *:not(.hero-title) {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400;
}

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 350px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 2px;
    background: linear-gradient(70deg,
                #43002e 22.28%,
                transparent 100%), url('../img/bgpattern.png'),
                #43002e;
    background-size: contain, 270px 106px;
    padding: 0 15px;
}

/* Декоративные картинки в правом углу hero */
.hero-decor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 45%;
    max-width: 420px;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px 20px 0 0;
}

@keyframes hero-decor-enter {
    from {
        opacity: 0;
        transform: translateY(80%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-decor-enter-small {
    from {
        opacity: 0;
        transform: translateY(80%) rotate(316deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(316deg);
    }
}

.hero-decor-img {
    position: absolute;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0;
    animation-duration: 0.7s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.hero-decor-img--large {
    width: clamp(140px, 55vw, 320px);
    height: auto;
    right: 0;
    bottom: 0;
    z-index: 1;
    animation-name: hero-decor-enter;
    animation-delay: 0.1s;
}

.hero-decor-img--small {
    width: clamp(80px, 28vw, 180px);
    height: auto;
    right: 65%;
    bottom: 45%;
    z-index: 0;
    animation-name: hero-decor-enter-small;
    animation-delay: 0.25s;
}

@media (max-width: 767px){
    .hero-section {
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: flex-end;
        min-height: 420px;
    }
    .hero-decor {
        width: 100%;
        max-width:100%;
        padding: 10px 10px 0 0;
    }
    .hero-decor-img--large {
        width: clamp(170px, 36vw, 362px);
        bottom: 240px;
    }
    .hero-decor-img--small {
        width: clamp(75px, 65vw, 110px);
        right: 62%;
        bottom: 60%;
    }

    .info-text-block {
        padding: 0 15px;
    }

}

@media (min-width: 768px) {
    .hero-section {
        min-height: 350px;
        padding: 20px 30px;
        align-items: top center;
    }
}

.hero-content {
    max-width: 550px;
    width: 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.hero-content p,
.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .hero-bonus {
    white-space: normal;
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 767px){
    .hero-content {
        text-align: center;
        background: none;
        position: relative;
        padding-bottom: 30px;
    }
    .btn-cta {
        margin: 0 auto;
    }
}
@media (min-width: 768px) {
    .hero-content {
        padding: 20px;
        max-width: 550px;
        left: 0;
        right: auto;
    }
}

/* RTL - keep hero-content on the left side */
[dir="rtl"] .hero-content {
    left: 0;
    right: auto;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgb(15 41 63), 1px 1px 1px rgb(15 41 63);
    white-space: normal;
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 18px;
    }
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-family: 'Open Sans', sans-serif !important;
    padding-bottom: 5px;
    background: linear-gradient(to top, #ff5050, #FFEE5A), linear-gradient(to top, #ffd57f 0%, #ffe7b7 100%);
    margin-bottom: 10px;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    white-space: normal;
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
}

@media (max-width:767px) {
    .hero-title {
        font-size: 29px;
        font-weight: 800;
        line-height: 1.1;
    }
    .custom-button {
        padding: 5px 20px;
    }
}


/* Header buttons: frame via ::after — secondary-large-frame */

.header-actions a {
    background: rgb(80 36 84);
    color: #f2f2f2;
    border: 2px solid #64346a;
    border-radius: 2px;
    padding: 10px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    line-height: 120%;
    letter-spacing: 0%;
    transition: all 0.3s ease;

}
@media (max-width: 767px){
    .header-actions a {
        min-width: 45%;
    }
}

.section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .section {
        padding-top: 20px;
    }
    .logo-image {
        max-height: 40px;
        width: auto;
        margin-left: -30px;
    }
}

.section-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .section-container {
        padding: 0 30px;
    }
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    color: rgb(203 188 213);
    margin-bottom: 10px;
}

.section-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(239 239 239);
    margin-bottom: 30px;
    text-align: left;
    max-width: 100%;
}

@media (min-width: 768px) {
    .section-description {
        font-size: 18px;
        line-height: 1.8;
    }
}

/* === FOOTER === */
.site-footer {
    background-color: #361039;
    border: 2px solid #361039;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 20px 0;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 50px 40px;
    }
}


.footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    padding: 30px 0;
    border-bottom: 1px solid var(--text_color);
}


.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-logo-link {
    display: block;
}

.footer-logo {
    max-width: 108px;
}

@media (min-width: 768px) {
    .footer-logo {
        max-width: 155px;
    }
}

.footer-text {
    color: #868686;
    font-size: 14px;
    line-height: 1.2;
}

.footer-text p {
    margin-bottom: 25px;
    text-align: center;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

/* Кнопки в header с background-image */
.header-buttons .btn {
    position: relative;
    padding: 5px 10px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    background-color: transparent;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 2px rgb(0 0 0), 1px 1px 1px rgb(0 0 0);
    font-size: 22px;
    font-weight: 800;
    color: #FFF1D2;
}

.header-buttons .btn_secondary {
    background-image: url("../img/small.png");
}

.header-buttons .btn_cta {
    background-image: url("../img/hero-bg-btn.png");
}

@media (min-width: 768px) {
    .header-buttons .btn {
        padding: 10px 25px;
        font-size: 20px;
    }
}

.btn-secondary {
    background-color: var(--secondary);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    font-style: normal;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: #FFF1D2;
    -webkit-text-stroke: 1px rgba(114, 80, 52, 0.4);
    text-shadow: 
        0px 0.5px 2px rgba(0, 0, 0, 0.4),
        0px 1px 0px rgba(0, 0, 0, 0.3);
}

/* Убираем background-color для кнопок в header */
.header-buttons .btn-secondary,
.header-buttons .btn-cta {
    background-color: transparent;
}

.btn-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FFF1D2;
    overflow-wrap: anywhere;
    white-space: normal;
    max-width: 100%;
    font-style: normal;
    background-image: url('../img/hero-bg-btn.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 3px;
    position: relative;
    z-index: 2;
    -webkit-text-stroke: 1px rgba(114, 80, 52, 0.4);
    text-shadow: 1px 1px 2px rgb(0 0 0), 1px 1px 1px rgb(0 0 0);
}

/* === INFO TEXT BLOCK === */
.info-text-block {
    padding: 20px;
    margin: 0px 0;
    position: relative;
    background-color: rgb(32 9 34);
    border: 2px solid #361039;
    text-align: left;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .info-text-block {
        margin-top: 20px;
        padding: 20px;
    }
}

/* Unordered Lists (ul) */
.info-text-block ul,
.info-text-block ol {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    list-style: none;
    background: #361039;
    padding: 20px 35px 15px 35px;
}

@media (min-width: 768px) {
    .info-text-block ul {
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 30px;
    }
}

.info-text-block ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.info-text-block ul li:last-child {
    margin-bottom: 0;
}

.info-text-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #450c88, #ff6b1a);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 146, 59, 0.5);
}

@media (min-width: 768px) {
    .info-text-block ul li {
        padding-left: 35px;
        margin-bottom: 15px;
    }
    
    .info-text-block ul li::before {
        width: 10px;
        height: 10px;
        top: 9px;
    }
}

/* Ordered Lists (ol) */
.info-text-block ol {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
    counter-reset: ordered-counter;
}

@media (min-width: 768px) {
     .info-text-block ol {
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 30px;
    }
}

.info-text-block ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    counter-increment: ordered-counter;
}

.info-text-block ol li:last-child {
    margin-bottom: 0;
}

.info-text-block ol li::before {
    content: counter(ordered-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #450c88, #ff6b1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 146, 59, 0.4);
}

@media (min-width: 768px) {
     .info-text-block ol li {
        padding-left: 45px;
        margin-bottom: 15px;
    }
    
    .info-text-block ol li::before {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
}

/* === LINKS (GLOBAL) === */
a {
    color: #fff;
    font-style: normal;
    text-decoration: underline;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
}

a:active {
    color: #fff;
}

a:visited {
    color: #fff;
}

/* Remove text-decoration from buttons and navigation links */
.header-buttons a,
.header-buttons .btn,
.btn-cta,
.btn-secondary,
.custom-button,
.hero-btn,
.sidebar-link,
.aside a,
nav a,
button a {
    text-decoration: none !important;
}

.header-buttons a:hover,
.header-buttons .btn:hover,
.btn-cta:hover,
.btn-secondary:hover,
.custom-button:hover,
.hero-btn:hover,
.aside a:hover,
nav a:hover,
button a:hover {
    text-decoration: none !important;
}

.sidebar-link:hover {
    background: rgba(255, 146, 59, 0.05);
   
    text-decoration: none !important;
}

/* === SCROLLBAR STYLES === */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #100B07;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 146, 59, 0.3);
    border-radius: 6px;
    border: 2px solid #100B07;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 146, 59, 0.5);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 146, 59, 0.3) #100B07;
}

/* === SEMANTIC REPLACEMENT CLASSES === */
/* Replaced complex Tailwind classes with semantic ones */

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

@media (min-width: 640px) {
    .footer-bottom-content {
        flex-direction: row;
        text-align: left;
        gap: 50px;
    }
}

/* === UTILITY CLASSES === */
.overflow-hidden {
    overflow-x: hidden;
}

.relative {
    position: relative;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.gap-10 {
    gap: 10px;
}

.w-full {
    width: 100%;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

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

.text-white {
    color: white;
}

.font-bold {
    font-weight: bold;
}

.custom-button {
    background: #55B400;
    padding: 15px 35px;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width:767px){
    .custom-button {
        background: #55B400;
        padding: 10px 35px;
        font-size: 15px;
    }
}

/* Header gradient and bottom border (images on top of gradient) */
header.site-header {
    background:#361039;
    padding-bottom: 12px;
    z-index: 3;
  }

.lexical-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 25px 0;
}

.lexical-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    white-space: nowrap;
}

.lexical-table p {
    margin: 0;
 }

.lexical-table-cell {
    border: 1px solid #370f39!important;
}

@media (max-width: 768px) {
    .lexical-table td,
    .lexical-table th {
        padding: 6px;
        font-size: 14px;
    }
}

/* ========================================================================
   RTL SUPPORT
   ======================================================================== */

/* Section description RTL */
[dir="rtl"] .section-description {
    text-align: right;
}

/* Info text block RTL */
[dir="rtl"] .info-text-block {
    text-align: right;
}

[dir="rtl"] .info-text-paragraph {
    text-align: right;
}

[dir="rtl"] .info-text-block ul li {
    padding-left: 0;
    padding-right: 30px;
}

@media (min-width: 768px) {
    [dir="rtl"] .info-text-block ul li {
        padding-right: 35px;
        padding-left: 0;
    }
}

[dir="rtl"] .info-text-block ul li::before {
    left: auto;
    right: 0;
}

/* Ordered Lists RTL */

[dir="rtl"] .info-text-block ol li {
    padding-left: 0;
    padding-right: 40px;
}

@media (min-width: 768px) {
    [dir="rtl"] .info-text-block ol li {
        padding-right: 45px;
        padding-left: 0;
    }
}

[dir="rtl"] .info-text-block ol li::before {
    left: auto;
    right: 0;
}
/* RTL-блоке */
[dir="rtl"] [style*="text-align: left"] {
    text-align: inherit !important;
}

[dir="rtl"] .hero-decor{
    position: absolute;
    top: 0;
    left: 30px;
    bottom: 0;
    right: auto;
    width: 45%;
    max-width: 420px;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 0 20px 20px;
}



/* --- Slots Block Styles --- */
.slots-wrapper {
  margin: 30px 0;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  align-items: start;
}
.slot-card {
  text-align: center;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1;
}
.slot-image {
  border-radius: 6px;
  overflow: hidden;
}
.slot-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
}
.slot-name {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: calc(100% - 16px);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  background: #450C88;
  color: #FFFFFF;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
}
.slot-card:hover .slot-name{
  opacity: 1;
}
.slot-card:hover::before {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
}
@media (max-width: 600px) {
  .slots-grid {
    gap: 10px;
  }
  .slot-name {
    font-size: 12px;
  }
}
