/*** seo-content.css — أنماط مشتركة للأقسام الـSEO المعزّزة* (Intro,Trust row,HowTo,Author card,FAQ,Related,Final CTA)** مُستخدمة في:*   - public_site/resources.php (ملازم مجانية)*   - public_site/past-exams.php (الامتحانات السابقة)*   - public_site/blog.php*   - وأي صفحة أخرى تحتاج enhancement مشابه*/.section,.res-stage-section,.exam-stage-section,.cards-grid,.magnets-grid,.exams-grid,.related-grid,.howto-grid,.faq-list{content-visibility:auto;contain-intrinsic-size:0 600px;}.content-hero,.hero,.site-header,.nav,.resources-intro{content-visibility:visible;}.site-footer{content-visibility:auto;contain-intrinsic-size:0 400px}.resources-intro{background:#fff;padding:26px 32px;border-radius:18px;border:1px solid #f0f0f5;box-shadow:0 4px 18px rgba(0,0,0,0.04);line-height:1.95;color:#333;font-size:1rem;margin-bottom:30px;}.resources-intro p{margin:0 0 14px}.resources-intro a{color:var(--brand-blue);font-weight:700}.resources-trust-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:22px;padding-top:20px;border-top:1px dashed #f0f0f5;}.trust-item{display:flex;gap:12px;align-items:center}.trust-item i{width:44px;height:44px;background:linear-gradient(135deg,#fdf2f8,#fce7f3);color:#be185d;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0;}.trust-item strong{display:block;font-size:0.95rem;color:var(--brand-blue-dark);font-weight:800}.trust-item span{display:block;font-size:0.78rem;color:var(--text-muted);margin-top:2px}.content-section-head{text-align:center;margin-bottom:32px}.content-section-head h2{font-size:1.5rem;font-weight:800;color:var(--brand-blue-dark);margin:12px 0 8px;}.content-section-head p{color:var(--text-muted);font-size:0.95rem;max-width:580px;margin:0 auto}.howto-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;}.howto-step{background:#fff;padding:24px 22px;border-radius:14px;border:1px solid #f0f0f5;box-shadow:0 2px 10px rgba(0,0,0,0.04);position:relative;transition:transform 0.2s;}.howto-step:hover{transform:translateY(-3px)}.howto-num{position:absolute;top:-14px;right:22px;width:36px;height:36px;background:linear-gradient(135deg,#ec4899,#be185d);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.05rem;box-shadow:0 6px 14px rgba(236,72,153,0.3);}.howto-step h3{font-size:1rem;font-weight:800;color:var(--brand-blue-dark);margin:6px 0 8px}.howto-step p{font-size:0.88rem;line-height:1.7;color:#555;margin:0}.author-card{background:#fff;border-radius:18px;padding:30px 32px;border:1px solid #f0f0f5;box-shadow:0 8px 28px rgba(0,0,0,0.06);display:grid;grid-template-columns:140px 1fr;gap:28px;align-items:center;}@media (max-width:600px){.author-card{grid-template-columns:1fr;text-align:center}}.author-card-image img{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid #fdf2f8;background:#fdf2f8;padding:14px;box-shadow:0 6px 18px rgba(236,72,153,0.18);}@media (max-width:600px){.author-card-image{display:flex;justify-content:center}}.author-card-tag{display:inline-flex;align-items:center;gap:6px;background:#ecfdf5;color:#047857;padding:4px 12px;border-radius:999px;font-size:0.78rem;font-weight:700;margin-bottom:8px;}.author-card h2{font-size:1.3rem;font-weight:900;color:var(--brand-blue-dark);margin:4px 0 4px}.author-card-title{color:var(--brand-orange-dark);font-weight:700;margin:0 0 12px;font-size:0.92rem}.author-card p{line-height:1.85;color:#444;margin:0 0 16px;font-size:0.95rem}.author-card-links{display:flex;gap:10px;flex-wrap:wrap}.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}.faq-item{background:#fff;border:1px solid #f0f0f5;border-radius:14px;padding:0;overflow:hidden;transition:box-shadow 0.2s;}.faq-item[open]{box-shadow:0 6px 18px rgba(0,0,0,0.06);border-color:#fce7f3}.faq-item summary{list-style:none;padding:16px 22px;cursor:pointer;display:flex;align-items:center;gap:12px;font-weight:700;color:var(--brand-blue-dark);font-size:1rem;}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary i{width:30px;height:30px;background:#fdf2f8;color:#be185d;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:0.78rem;transition:transform 0.25s ease;flex-shrink:0;}.faq-item[open] summary i{transform:rotate(180deg);background:#be185d;color:#fff}.faq-answer{padding:0 22px 18px 70px}.faq-answer p{line-height:1.85;color:#555;margin:0;font-size:0.92rem}.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;}.related-card{background:#fff;padding:22px;border-radius:14px;border:1px solid #f0f0f5;box-shadow:0 2px 10px rgba(0,0,0,0.04);text-decoration:none;color:inherit;transition:transform 0.2s,box-shadow 0.2s;display:flex;flex-direction:column;gap:10px;}.related-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(0,0,0,0.08)}.related-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;}.related-card h3{font-size:1.05rem;font-weight:800;color:var(--brand-blue-dark);margin:4px 0 0}.related-card p{font-size:0.85rem;color:#666;line-height:1.65;margin:0;flex:1}.related-link{color:#be185d;font-weight:800;font-size:0.85rem;margin-top:6px}.final-cta{text-align:center;max-width:700px;margin:0 auto}.final-cta h2{font-size:1.5rem;font-weight:900;color:#fff;margin:0 0 12px}.final-cta p{color:rgba(255,255,255,0.92);line-height:1.85;margin:0 0 22px;font-size:0.98rem}.final-cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.btn-cta-primary,.btn-cta-secondary{padding:13px 24px;border-radius:12px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:all 0.2s;}.btn-cta-primary{background:#fff;color:#312e81;box-shadow:0 8px 22px rgba(0,0,0,0.18)}.btn-cta-primary:hover{transform:translateY(-2px)}.btn-cta-secondary{background:rgba(255,255,255,0.12);color:#fff;border:1px solid rgba(255,255,255,0.25)}.btn-cta-secondary:hover{background:rgba(255,255,255,0.2)}