.ebpt3-points-section {
    width: 100%;
    background: var(--ebpt3-white);

    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-xl);
}

.ebpt3-points-container {
    width: calc(100vw - 2em);
    max-width: var(--ebpt3-container-width);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-xl);
}


/* تنسيق العنوان */
.ebpt3-points-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--ebpt3-space-sm);
}

.ebpt3-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--ebpt3-secondary);
}

.ebpt3-title-highlight {
    color: var(--ebpt3-primary);
}

/* الخط السفلي الأنيق للعنوان  */
.ebpt3-underline {
    width: 80px;
    height: 2px;
    background-color: var(--ebpt3-secondary);
    position: relative;
}

/* شبكة البطاقات (الـ Grid) */
.ebpt3-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--ebpt3-space-lg);
    align-items: stretch;
    justify-content: center;
    max-width: var(--ebpt3-container-width);
    width: calc(100vw - 2em);
    margin-inline: auto;
    /* لتوسيط القسم في منتصف الشاشة */
    width: 100%;
}

/* استجابة الشاشات الصغيرة (Mobile & Tablet) */
@media (max-width: 1024px) {
    .ebpt3-points-grid {
        grid-template-columns: 1fr 1fr ;
    }
}

@media (max-width: 600px) {
    .ebpt3-points-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ebpt3-points-grid {
        grid-template-columns: 1fr;
    }
}

/* تنسيق البطاقة الأساسية */
.ebpt3-point-card {
    display: flex;
    gap: var(--ebpt3-space-sm);
    padding: var(--ebpt3-space-md);
    background-color: var(--ebpt3-white);
    border: 1px solid var(--ebpt3-primary);
    border-radius: var(--ebpt3-br-md);
    box-shadow: var(--ebpt3-shadow-card);
}

/* دائرة الرقم */
.ebpt3-point-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: var(--ebpt3-space-xl);
    height: var(--ebpt3-space-xl);

    border-radius: var(--ebpt3-br-lg);
    color: var(--ebpt3-white);

    font-size: var(--ebpt3-fs-lg);
    font-weight: 800;
    flex-shrink: 0;
}

/* محتوى البطاقة */
.ebpt3-point-content {
    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-md);
    width: 100%;
}

/* رأس المحتوى (العنوان والوصف) */
.ebpt3-point-header-text {
    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-xs);
}

.ebpt3-point-title-wrapper {

    color: var(--ebpt3-dark);
    font-size: var(--ebpt3-fs-lg);
    font-weight: 800;
}


/* القائمة النقطية (Bullets) */
.ebpt3-point-list {
    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-sm);
    list-style: none;
    padding: 0;
}

.ebpt3-point-list-item {
    display: flex;
    align-items: center;
    gap: var(--ebpt3-space-sm);
    color: var(--ebpt3-dark);
    font-size: var(--ebpt3-fs-base);
}

.ebpt3-point-list-item::before {
    content: "";
    display: block;
    width: var(--ebpt3-space-xs);
    height: var(--ebpt3-space-xs);
    border-radius: var(--ebpt3-br-lg);
}


/* === الفئات المساعدة للألوان (Modifiers) === */

/* ألوان الخلفية لأرقام البطاقات */
.bg-secondary {
    background-color: var(--ebpt3-secondary);
}

.bg-primary {
    background-color: var(--ebpt3-primary);
}



/* ألوان النقاط (Bullets) لكل بطاقة */
.list-secondary .ebpt3-point-list-item::before {
    background-color: var(--ebpt3-dark);
}

.list-primary .ebpt3-point-list-item::before {
    background-color: var(--ebpt3-primary);
}