/* Стили для рамки с правилами */
    .rules-container {
        border: 2px solid #427e66;
        border-radius: 12px;
        padding: 25px;
        margin: 30px 0;
        background-color: #f9f9f9;
        box-shadow: 0 4px 12px rgba(66, 126, 102, 0.1);
    }

    .rules-title {
        color: #427e66;
        font-size: 24px;
        margin-top: 0;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
    }

    /* Увеличенные заголовки h3 без жирности */
    .rules-text h3 {
        color: #242a33;
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 22px;
        font-weight: normal;
    }

    /* Уменьшенный основной текст под h3 */
    .rules-text p {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 15px;
        text-indent: 0;
        margin-left: 0;
        padding-left: 0;
    }

    .rules-text ul, .rules-text ol {
        padding-left: 20px;
        margin-bottom: 20px;
        font-size: 16px;
    }

    .rules-text li {
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .rules-text a {
        color: #0066cc;
        text-decoration: underline;
    }

    .rules-text a:hover {
        color: #004499;
    }

    /* Стили для FAQ */
    .faq-list {
        margin: 20px 0;
    }

    .faq-item {
        border-bottom: 1px solid #e0e0e0;
        padding: 15px 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-item:hover {
        background-color: rgba(66, 126, 102, 0.05);
    }

    .container-faq .faq-question h3 {
        color: #242a33;
        margin: 0 0 10px 0;
        font-size: 20px;
        font-weight: normal;
        position: relative;
        padding-right: 30px;
    }

    .container-faq .faq-question h3:after {
        content: '+';
        position: absolute;
        right: 0;
        top: 0;
        font-size: 24px;
        color: #427e66;
        transition: transform 0.3s ease;
    }

    .faq-item.active .faq-question h3:after {
        content: '−';
    }

    .faq-answer {
        display: none;
        padding: 15px 0;
        font-size: 16px;
        line-height: 1.6;
        color: #333;
        margin-top: 10px;
    }

    .faq-item.active .faq-answer {
        display: block;
    }

    .faq-text {
        padding: 15px 20px;
        background-color: #fff;
        border-radius: 8px;
        border: 1px solid #e8e8e8;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .container-faq .faq-text p,
    .container-faq .formatted-text p {
        margin-bottom: 15px;
        text-indent: 0;
    }

    .faq-text p:last-child {
        margin-bottom: 0;
    }

    .faq-text ul, .faq-text ol {
        padding-left: 25px;
        margin-bottom: 15px;
    }

    .faq-text li {
        margin-bottom: 8px;
        line-height: 1.5;
        padding-left: 0;
    }

    /* Стили для таблицы (если будет нужна) */
    .rules-table-container {
        overflow-x: auto;
        margin: 20px 0;
    }

    .delivery-table {
        border: 1px solid #ddd;
        margin: 15px 0;
        font-size: 14px;
        border-collapse: collapse;
        width: 100%;
        min-width: 600px;
        table-layout: fixed;
    }
    
    .delivery-table .col-narrow {
        width: 20%;
        min-width: 120px;
        max-width: 200px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .delivery-table .col-wide {
        width: 60%;
        min-width: 300px;
    }
    
    th, td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
        vertical-align: top;
        font-size: 14px;
    }
    
    th {
        background-color: #f5f5f5;
        font-weight: bold;
        text-align: center;
    }
    
    tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    
    tr:hover {
        background-color: #f0f0f0;
    }

    /* Выравнивание для центральных элементов */
    .center-content {
        text-align: center;
        margin: 20px 0;
    }
    
    .card-accept-list img {
        height: 40px;
        margin: 0 10px;
        vertical-align: middle;
    }

    /* Адаптивность для мобильных устройств */
    @media (max-width: 768px) {
        .rules-container {
            padding: 15px;
            margin: 20px 0;
            border-radius: 8px;
        }
        
        .rules-title {
            font-size: 20px;
        }
        
        .rules-text h3 {
            font-size: 18px;
        }
        
        .rules-text p {
            font-size: 14px;
        }
        
        .rules-text ul, .rules-text ol {
            font-size: 14px;
        }
        
        /* Адаптивность для FAQ */
        .faq-question h3 {
            font-size: 18px;
            padding-right: 25px;
        }
        
        .faq-answer {
            font-size: 15px;
            padding: 10px 0;
        }
        
        .faq-text {
            padding: 12px 15px;
        }
        
        .rules-table-container {
            overflow-x: auto;
            margin: 15px 0;
        }
        
        .delivery-table {
            min-width: 600px;
            font-size: 14px;
        }
        
        .delivery-table .col-narrow {
            width: 20%;
            min-width: 100px;
        }
        
        .delivery-table .col-wide {
            width: 60%;
            min-width: 280px;
        }
        
        td, th {
            padding: 8px;
            font-size: 14px;
        }
    }

    @media (min-width: 769px) {
        .rules-container {
            max-width: 100%;
            margin: 30px auto;
        }
        
        .rules-table-container {
            overflow-x: auto;
            margin: 20px 0;
        }
    }