/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #c9a22e 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
.main-logo{
    max-height: 60px;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.02);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.hero-small {
    padding: 3rem 0;
}

.hero-small h1 {
    font-size: 2rem;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.content-section .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

/* Main Content */
.main-content {
    background: var(--white);
}

.main-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.main-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent-color);
}

.main-content h4 {
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-color);
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.intro-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Lists */
.styled-list,
.action-list,
.benefits-list {
    margin: 1rem 0 1.5rem 1.5rem;
}

.styled-list li,
.action-list li,
.benefits-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
}

.styled-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.action-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.benefits-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.steps-list {
    counter-reset: step-counter;
    margin: 1.5rem 0;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.8;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

.poker-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.poker-table thead {
    background: var(--gradient-dark);
    color: var(--white);
}

.poker-table th,
.poker-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.poker-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.poker-table tbody tr:hover {
    background-color: var(--bg-light);
}

.comparison-table {
    width: 100%;
    font-size: 0.875rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Feature Grids */
.features-grid,
.games-categories,
.tips-grid,
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card,
.category,
.tip-card,
.topic-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover,
.category:hover,
.tip-card:hover,
.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-card h4,
.category h4,
.tip-card h4,
.topic-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

/* Poker Rooms Grid */
.poker-rooms-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.room-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.room-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.room-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.room-rating {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

/* Info Boxes */
.info-box,
.checklist,
.partnership-note {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    border-radius: 4px;
}

.info-box h3,
.info-box h4,
.checklist h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.testimonial {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.author {
    color: var(--text-light);
    font-weight: 600;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin: 1rem 0;
    font-size: 1.125rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
}

/* Principles and Team */
.principles-section,
.team-values {
    margin: 2rem 0;
}

.principle {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.principle h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-widget.highlight {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
}

.sidebar-widget h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.quick-facts,
.popular-links,
.quick-nav,
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-facts li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-facts li:last-child {
    border-bottom: none;
}

.popular-links a,
.quick-nav a {
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
    display: block;
}

.popular-links a:hover,
.quick-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1rem;
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        order: -1;
    }

    .features-grid,
    .games-categories {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .room-card {
        padding: 1.5rem;
    }
    
    /* Navigation - бургер меню для планшетів */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 5rem 2rem 2rem;
        gap: 0.75rem;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-brand a {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Navigation - mobile adjustments */
    .nav-menu {
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 1rem 1.25rem;
        font-size: 1.0625rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-brand a {
        font-size: 1.375rem;
    }

    /* Hero */
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: 1.875rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        line-height: 1.6;
    }
    
    .hero-small {
        padding: 2rem 0;
    }
    
    .hero-small h1 {
        font-size: 1.625rem;
    }

    /* Content */
    .content-section {
        padding: 2rem 0;
    }
    
    .main-content h2 {
        font-size: 1.625rem;
        margin: 1.5rem 0 1rem;
    }

    .main-content h3 {
        font-size: 1.375rem;
        margin: 1.25rem 0 0.875rem;
    }
    
    .main-content h4 {
        font-size: 1.125rem;
    }
    
    .main-content p {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 1.125rem;
    }
    
    .intro-text {
        font-size: 1.0625rem;
        margin-bottom: 1.5rem;
    }

    /* Grids */
    .features-grid,
    .games-categories,
    .tips-grid,
    .topics-grid,
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .feature-card,
    .category,
    .tip-card,
    .topic-card,
    .contact-card {
        padding: 1.25rem;
    }

    /* Tables */
    .table-responsive {
        margin: 1.5rem -16px;
        padding: 0 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .poker-table {
        font-size: 0.9375rem;
        min-width: 500px;
    }

    .poker-table th,
    .poker-table td {
        padding: 0.875rem 0.625rem;
        white-space: nowrap;
    }
    
    .poker-table th {
        font-size: 0.8125rem;
    }

    /* Lists */
    .styled-list li,
    .action-list li,
    .benefits-list li {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 0.875rem;
    }
    
    .steps-list li {
        font-size: 1rem;
        padding-left: 2.75rem;
        margin-bottom: 1.125rem;
    }

    /* Buttons & CTA */
    .cta-section {
        padding: 2rem 1.25rem;
        margin: 2rem 0;
    }

    .cta-section h3 {
        font-size: 1.625rem;
        margin-bottom: 0.875rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        display: block;
    }

    /* Sidebar */
    .sidebar-widget {
        padding: 1.25rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Info boxes */
    .info-box,
    .checklist,
    .partnership-note,
    .faq-item {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    /* Room cards */
    .poker-rooms-grid {
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .room-card {
        padding: 1.25rem;
    }
    
    .room-features {
        gap: 0.375rem;
    }
    
    .badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }

    /* Navigation */
    .nav-brand a {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        padding: 4rem 1rem 2rem;
    }
    
    .nav-menu a {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Hero */
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.625rem;
        line-height: 1.25;
    }
    
    .hero-small h1 {
        font-size: 1.375rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Content */
    .content-section {
        padding: 1.5rem 0;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
        margin: 1.25rem 0 0.875rem;
    }

    .main-content h3 {
        font-size: 1.25rem;
        margin: 1rem 0 0.75rem;
    }
    
    .main-content h4 {
        font-size: 1.125rem;
    }

    /* Tables */
    .table-responsive {
        margin: 1.25rem -12px;
        padding: 0 12px;
    }
    
    .poker-table {
        font-size: 0.875rem;
        min-width: 450px;
    }

    .poker-table th,
    .poker-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .poker-table th {
        font-size: 0.75rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    /* CTA */
    .cta-section {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }

    .cta-section h3 {
        font-size: 1.375rem;
    }
    
    /* Lists */
    .styled-list,
    .action-list,
    .benefits-list {
        margin-left: 1rem;
    }
    
    .styled-list li,
    .action-list li,
    .benefits-list li {
        padding-left: 1.25rem;
        font-size: 0.9375rem;
    }
    
    .steps-list li {
        padding-left: 2.5rem;
        font-size: 0.9375rem;
    }
    
    .steps-list li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
    
    /* Cards */
    .feature-card,
    .category,
    .tip-card,
    .topic-card,
    .contact-card,
    .room-card {
        padding: 1rem;
    }
    
    /* Grids */
    .features-grid,
    .games-categories,
    .tips-grid,
    .topics-grid {
        gap: 1rem;
        margin: 1.25rem 0;
    }
    
    /* Info boxes */
    .info-box,
    .checklist,
    .partnership-note,
    .faq-item {
        padding: 1rem;
        margin: 1.25rem 0;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Print Styles */
@media print {
    header, footer, .sidebar, .cta-section {
        display: none;
    }

    .main-content {
        width: 100%;
    }

    a {
        text-decoration: underline;
    }
}
@media (max-width: 992px) {
  .content-section .container {
    display: flex;
    flex-direction: column;
  }

  /* піднімаємо sidebar вище */
  .sidebar {
    order: -1;
  }
}
/* ---- FIX mobile overflow ---- */
@media (max-width: 992px) {
  .content-section .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    overflow-x: hidden;
  }

  .main-content, 
  .sidebar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Прибираємо можливий фіксований розмір сайдбару */
  .sidebar {
    flex: 0 0 auto;
  }
}

/* Додатково захист від горизонтального скролу */
html, body {
  overflow-x: hidden !important;
}

img, iframe, table, .content-section {
  max-width: 100%;
  height: auto;
  overflow-x: hidden;
}
