/* Structured Content Component Styles */

.structured-content {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segui UI', Roboto, sans-serif;
}

.content-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
}

.content-section:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.section-header {
    position: relative;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    justify-content: flex-end;
}

.en .section-header h3 {
    align-items: flex-end;
    display: flex;
    justify-content: flex-start;
}

.section-number {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.375rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-right: 1rem;
}

.list-item {
    position: relative;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-right: 0;
}

.en .list-item {
    display: flex;
    flex-direction: row-reverse;
}

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

.bullet-point {
    width: 4px;
    height: 4px;
    background-color: #374151;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.625rem;
    position: relative;
}

.item-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    flex: 1;
    text-align: justify;
}

.section-list.ms-8 {
    margin-right: 2rem;
    margin-left: 0;
}

[dir="rtl"] .section-header h3 {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .section-list {
    padding-right: 0;
    padding-left: 1rem;
}

[dir="rtl"] .section-list.ms-8 {
    margin-right: 0;
    margin-left: 2rem;
}

[dir="rtl"] .list-item {
    flex-direction: row-reverse;
    text-align: right;
}

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

.content-section:hover .section-number {
    color: #dafc71;
    transition: color 0.3s ease;
}

.list-item:hover .bullet-point {
    background-color: #dafc71;
    transform: scale(1.3);
    transition: all 0.3s ease;
}

.list-item:hover .item-text {
    color: #1f2937;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .content-section {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .section-header h3 {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .section-number {
        font-size: 1.25rem;
    }

    .item-text {
        font-size: 0.938rem;
        line-height: 1.55;
    }

    .section-list.ms-8 {
        margin-right: 1.5rem;
    }

    [dir="rtl"] .section-list.ms-8 {
        margin-right: 0;
        margin-left: 1.5rem;
    }
}

@media (max-width: 640px) {
    .section-header h3 {
        font-size: 1.325rem;
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .section-number {
        font-size: 1.125rem;
        margin-top: 0;
    }

    .section-list.ms-8 {
        margin-right: 1rem;
    }

    [dir="rtl"] .section-header h3 {
        align-items: flex-end;
    }

    [dir="rtl"] .section-list.ms-8 {
        margin-right: 0;
        margin-left: 1rem;
    }
}

@media print {
    .structured-content {
        break-inside: avoid;
        font-size: 12pt;
    }

    .content-section {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .section-header h3 {
        font-size: 14pt;
        color: #000;
    }

    .section-number {
        color: #000;
    }

    .item-text {
        font-size: 11pt;
        color: #000;
        line-height: 1.4;
    }

    .bullet-point {
        background-color: #000;
    }
}