.elementor-46734 .elementor-element.elementor-element-809d678{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-9dcc454 */h2 {
    color: #2c5aa0;
    margin-bottom: 15px;
    margin-top: 0;
    text-align: center;
}

.grammar-box {
    background-color: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #2c5aa0;
}

.grammar-box p {
    margin-bottom: 8px;
}

.grammar-box p:last-child {
    margin-bottom: 0;
}

.instruction {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

.exercise-container {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.question:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.question-number {
    font-weight: bold;
    color: #2c5aa0;
    margin-right: 10px;
    min-width: 20px;
}

.question p {
    flex: 1;
    margin: 0;
    line-height: 1.5;
}

.answer-input {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 10px;
    min-width: 180px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.answer-input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 5px rgba(44, 90, 160, 0.3);
}

.answer-input.correct {
    border-color: #28a745;
    background-color: #d4edda;
}

.answer-input.incorrect {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.button-container {
    text-align: center;
    margin-top: 25px;
}

.btn {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background-color: #1e3f73;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
}

.corrections-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.corrections-section.hidden {
    display: none;
}

.correction-exercise {
    margin-bottom: 25px;
}

.correction-exercise:last-child {
    margin-bottom: 0;
}

.correction-exercise h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

.correction-list p {
    margin-bottom: 8px;
    padding: 5px 0;
}

.correction-list p:last-child {
    margin-bottom: 0;
}

.q-num {
    color: #2c5aa0;
    font-weight: bold;
    margin-right: 8px;
    min-width: 20px;
    display: inline-block;
}

.correction-list strong {
    color: #28a745;
    background-color: #d4edda;
    padding: 2px 4px;
    border-radius: 3px;
}

.instruction {
    font-size: 1em;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

.exercise-container {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.question:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.question-number {
    font-weight: bold;
    color: #2c5aa0;
    margin-right: 10px;
    min-width: 20px;
    font-size: 1em;
}

.question p {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.answer-input {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 14px;
    min-width: 180px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.answer-input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 5px rgba(44, 90, 160, 0.3);
}

.button-container {
    text-align: center;
    margin-top: 25px;
}

.btn {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background-color: #1e3f73;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}/* End custom CSS */