:root {
    --aarg-font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --aarg-font-body: Georgia, 'Times New Roman', Times, serif; /* خط كلاسيكي للقراءة */
}

/* الكارت الأساسي - نظيف وبسيط */
.aarg-card-modern {
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0; /* حدود ناعمة جداً */
    border-top: 5px solid var(--aarg-accent); /* لمسة لونية في الأعلى فقط */
    border-radius: 4px; /* حواف شبه حادة مثل المثال */
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    font-family: var(--aarg-font-body);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); /* ظل خفيف جداً */
}

/* الهيدر والعناوين */
.aarg-header-modern {
    text-align: center;
    margin-bottom: 40px;
}

.aarg-title {
    font-family: var(--aarg-font-heading);
    font-size: 2.4em;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.aarg-desc {
    color: #666;
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* شبكة المعلومات (Prep, Cook) - كبيرة وواضحة */
.aarg-meta-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.meta-item {
    text-align: center;
}

.meta-item span {
    display: block;
    font-family: var(--aarg-font-heading);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 5px;
    font-weight: 600;
}

.meta-item strong {
    font-family: var(--aarg-font-heading);
    font-size: 2.2em; /* أرقام كبيرة جداً */
    font-weight: 400; /* خط رفيع وأنيق */
    color: var(--aarg-accent);
    line-height: 1;
}

/* عناوين الأقسام (Ingredients) مع الخط الجانبي */
.aarg-section-title {
    font-family: var(--aarg-font-heading);
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.aarg-section-title:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    margin-left: 15px; /* مسافة للخط */
}
/* دعم العربية RTL */
body.rtl .aarg-section-title:after { margin-left: 0; margin-right: 15px; }


/* قائمة المكونات (Checklist) - تصميم مطابق للمثال */
.aarg-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important;
}

.aarg-checklist li {
    padding: 8px 0;
    border-bottom: 1px dotted #eee; /* خط منقط خفيف */
    font-size: 1.05em;
    display: flex;
    align-items: baseline;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.checkbox-container input { display: none; }

/* المربع المخصص */
.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc; /* إطار رمادي */
    border-radius: 2px; /* حواف حادة قليلاً */
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}
body.rtl .checkmark { margin-right: 0; margin-left: 15px; }

.checkbox-container:hover .checkmark { border-color: var(--aarg-accent); }

.checkbox-container input:checked ~ .checkmark {
    background: var(--aarg-accent);
    border-color: var(--aarg-accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}
.checkbox-container input:checked ~ .checkmark:after { display: block; }

.ing-text {
    line-height: 1.5;
}
.checkbox-container input:checked ~ .ing-text {
    color: #aaa;
    text-decoration: line-through;
}

/* التعليمات (Instructions) - أرقام دائرية */
.aarg-instructions {
    list-style: none !important;
    padding: 0 !important;
    counter-reset: aarg-step;
}

.aarg-instructions li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.1em;
}
body.rtl .aarg-instructions li { padding-left: 0; padding-right: 50px; }

.aarg-instructions li::before {
    counter-increment: aarg-step;
    content: counter(aarg-step);
    position: absolute;
    left: 0; top: 0;
    width: 30px; height: 30px;
    background: #000; /* لون أسود كلاسيكي */
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border-radius: 50%;
    font-family: var(--aarg-font-heading);
}
body.rtl .aarg-instructions li::before { left: auto; right: 0; }

/* الفوتر والطباعة */
.aarg-footer {
    text-align: center;
    margin-top: 50px;
    border-top: 3px double #eee; /* خط مزدوج كلاسيكي */
    padding-top: 30px;
}

.aarg-actions {
    display: inline-flex;
    gap: 15px;
    align-items: center;
}

.aarg-btn-print {
    background: transparent;
    border: 1px solid #ccc;
    padding: 8px 20px;
    font-family: var(--aarg-font-heading);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aarg-btn-print:hover { background: #000; color: #fff; border-color: #000; }

/* طباعة */
@media print {
    body * { visibility: hidden; }
    .aarg-card-modern, .aarg-card-modern * { visibility: visible; }
    .aarg-card-modern {
        position: absolute; left: 0; top: 0; width: 100%;
        border: none; box-shadow: none; padding: 0;
    }
    .aarg-footer, .aarg-btn-print { display: none !important; }
}
