.articles-custom-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust spacing between articles */
    justify-content: center;
}

.article-item-custom {
    position: relative;
    width: 100px; /* Adjust width as needed */
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: transform 0.3s ease-in-out;
}

.article-item-custom:hover {
    transform: translateY(-5px);
}

.article-image-wrapper {
    position: relative;
    overflow: hidden;
}

.article-intro-image {
    width: 50%;
    height: 200px; /* Fixed height for images */
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.article-image-wrapper:hover .article-intro-image {
    opacity: 0.8; /* Fade effect on hover */
}

.article-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for title */
    color: #fff;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}

.article-title-overlay strong {
    font-size: 0.70em; /* Adjust font size as needed */
    line-height: 1.4;
}

.article-title-no-image {
    padding: 15px;
    text-align: center;
}

.article-title-no-image a {
    color: #333;
    text-decoration: none;
}

.article-title-no-image a:hover {
    text-decoration: underline;
}
/* التنسيق المشترك */
.articles-smart-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.article-item-wrapper {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.article-item-wrapper:hover {
    transform: translateY(-5px);
}

.article-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.article-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* 1. التنسيق المستطيل (Rectangle Mode) */
.rectangle-mode .article-item-wrapper {
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rectangle-mode .article-image-container {
    height: 200px;
}

.rectangle-mode .article-overlay {
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 50px;
}

/* 2. التنسيق الدائري (Circular Mode) */
.circular-mode .article-item-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.circular-mode .article-image-container {
    height: 100%;
    border-radius: 50%;
}

.circular-mode .article-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.circular-mode .article-item-wrapper:hover .article-overlay {
    opacity: 1;
}

.circular-mode .article-item-wrapper:hover .article-img {
    opacity: 0.7;
}
/* التنسيق المشترك */
.articles-smart-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.article-item-wrapper {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.article-item-wrapper:hover {
    transform: translateY(-5px);
}

.article-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.article-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* 1. التنسيق المستطيل (Rectangle Mode) - القديم */
.rectangle-mode .article-item-wrapper {
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rectangle-mode .article-image-container {
    height: 200px;
}

.rectangle-mode .article-overlay {
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 50px;
}

/* 2. التنسيق الدائري (Circular Mode) */
.circular-mode .article-item-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.circular-mode .article-image-container {
    height: 100%;
    border-radius: 50%;
}

.circular-mode .article-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.circular-mode .article-item-wrapper:hover .article-overlay {
    opacity: 1;
}

.circular-mode .article-item-wrapper:hover .article-img {
    opacity: 0.7;
}

/* 3. التنسيق المستطيل الجديد (Featured Article Grid) */
.rectangle-mode .featured-articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    align-items: stretch; /* لضمان تساوي الارتفاعات */
}

.rectangle-mode .main-article-item {
    flex: 2; /* يأخذ مساحة أكبر */
    min-width: 300px; /* عرض أدنى للخبر الرئيسي */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.rectangle-mode .main-article-item:hover {
    transform: translateY(-5px);
}

.rectangle-mode .main-article-image-container {
    height: 350px; /* ارتفاع أكبر للخبر الرئيسي */
    position: relative;
    overflow: hidden;
}

.rectangle-mode .main-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.rectangle-mode .main-article-item:hover .main-article-img {
    opacity: 0.8;
}

.rectangle-mode .main-article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.rectangle-mode .main-article-overlay span strong {
    font-size: 1.5em;
    line-height: 1.4;
}

.rectangle-mode .side-articles-list {
    flex: 1; /* يأخذ مساحة أقل */
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 250px; /* عرض أدنى للأخبار الجانبية */
}

.rectangle-mode .side-article-item {
    flex: 1; /* لتوزيع الارتفاع بالتساوي */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.rectangle-mode .side-article-item:hover {
    transform: translateX(5px);
}

.rectangle-mode .side-article-image-container {
    height: 100%; /* الارتفاع سيتحدد بواسطة flex: 1 */
    position: relative;
    overflow: hidden;
}

.rectangle-mode .side-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.rectangle-mode .side-article-item:hover .side-article-img {
    opacity: 0.8;
}

.rectangle-mode .side-article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.rectangle-mode .side-article-overlay span strong {
    font-size: 0.9em;
    line-height: 1.2;
}

/* التجاوبية (Responsive) */
@media (max-width: 768px) {
    .rectangle-mode .featured-articles-grid {
        flex-direction: column;
    }

    .rectangle-mode .main-article-item,
    .rectangle-mode .side-articles-list {
        flex: none;
        width: 100%;
    }

    .rectangle-mode .main-article-image-container {
        height: 250px;
    }
}
/* 
   كود CSS قسري لفرض تخطيط (خبر رئيسي + أخبار جانبية)
   يستهدف الموديول المستطيل الذي لا يحتوي على كلاس circular
*/

/* 1. الحاوية الرئيسية للموديول المستطيل */
.rectangle-mode {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important; /* الخبر الرئيسي يأخذ ثلثي المساحة */
    grid-template-rows: repeat(3, 120px) !important; /* ارتفاعات محددة للأخبار الجانبية */
    gap: 15px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* 2. الخبر الرئيسي (أول عنصر) */
.rectangle-mode .article-item-wrapper:first-child {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 4 !important; /* يمتد على طول 3 صفوف */
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.rectangle-mode .article-item-wrapper:first-child .article-image-container {
    height: 100% !important;
}

.rectangle-mode .article-item-wrapper:first-child .article-overlay {
    min-height: 80px !important;
    font-size: 1.5rem !important;
}

/* 3. الأخبار الجانبية (بقية العناصر) */
.rectangle-mode .article-item-wrapper:not(:first-child) {
    grid-column: 2 / 3 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.rectangle-mode .article-item-wrapper:not(:first-child) .article-image-container {
    height: 100% !important;
}

.rectangle-mode .article-item-wrapper:not(:first-child) .article-overlay {
    min-height: 40px !important;
    font-size: 0.9rem !important;
    padding: 5px !important;
}

/* 4. إخفاء أي أخبار زائدة عن 4 (رئيسي + 3 جانبي) لضمان الشكل */
.rectangle-mode .article-item-wrapper:nth-child(n+5) {
    display: none !important;
}

/* 5. التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .rectangle-mode {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    .rectangle-mode .article-item-wrapper:first-child {
        grid-row: auto !important;
        height: 250px !important;
    }
    
    .rectangle-mode .article-item-wrapper:not(:first-child) {
        grid-column: auto !important;
        height: 150px !important;
    }
}

/* 6. ضمان عمل التنسيق الدائري كما هو */
.circular-mode {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: center !important;
}
/* ============================================================
   ✅ فقط: محاذاة الفقرات العربية بشكل مضبوط (Justify)
   ============================================================ */

/* استهدف الفقرات داخل محتوى المقالات فقط */
.article-details .article-content p,
.article-details .intro-text p,
.article-details article p {
    text-align: justify !important;
    text-justify: inter-ideograph !important; /* الأفضل للعربية */
    hyphens: none !important; /* منع كسر الكلمات العربية */
    line-height: 1.7 !important; /* تحسين القراءة */
}

/* دعم إضافي لاتجاه النص العربي */
[lang="ar"] .article-details p,
[dir="rtl"] .article-details p {
    text-align: justify !important;
    direction: rtl !important;
}

/* استثناء: لا تطبق على العناوين والروابط والأزرار */
.article-details .article-content h1,
.article-details .article-content h2,
.article-details .article-content h3,
.article-details .article-content h4,
.article-details .article-content a,
.article-details .article-content button,
.article-details .article-content .ai4u-*,
.article-details .article-content .share-* {
    text-align: inherit !important;
}
/* ✅ تنسيق تاريخ المقال المرئي */
.article-details .article-meta.visible-date {
    color: #64748b;
    font-size: 0.9rem;
    margin: 15px 0 25px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.article-details .article-meta.visible-date i {
    color: #0066cc;
    font-size: 1rem;
}
.article-details .article-meta.visible-date time,
.article-details .article-meta.visible-date span {
    display: inline-flex;
    align-items: center;
}
.article-details .article-meta.visible-date [itemprop="dateModified"] {
    color: #94a3b8;
    font-style: italic;
}

/* ✅ دعم الوضع الليلي */
@media (prefers-color-scheme: dark) {
    .article-details .article-meta.visible-date {
        color: #94a3b8;
        border-bottom-color: #334155;
    }
    .article-details .article-meta.visible-date i {
        color: #3b82f6;
    }
}
/* ==========================================
   ✅ استعادة الأناقة المفقودة (صورة، عناوين، حركة)
   ========================================== */

/* 1. ظل وأناقة الصورة الرئيسية */
.article-details figure img,
.article-details .article-main-image,
.article-content img.intro-image,
.article-content img.full-image {
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    margin: 30px auto 40px !important;
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-details figure img:hover,
.article-content img:hover {
    transform: scale(1.01) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
}

/* 2. أناقة العناوين الفرعية (h2, h3) */
.article-details .article-content h2,
.article-content h2 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 2.5em 0 1.2em !important;
    padding: 0.8em 1.2em !important;
    background: linear-gradient(135deg, #f8f9fa, #f0f4ff) !important;
    border-radius: 10px !important;
    display: inline-block !important;
    position: relative !important;
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.08) !important;
    line-height: 1.4 !important;
}
.article-details .article-content h2::after,
.article-content h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    right: 1.2em !important; /* يدعم RTL */
    width: 50px !important;
    height: 3px !important;
    background: #0066cc !important;
    border-radius: 2px !important;
}

.article-details .article-content h3,
.article-content h3 {
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 2em 0 1em !important;
    padding: 0.6em 1em !important;
    background: #f8f9fa !important;
    border-right: 5px solid #0066cc !important; /* يدعم RTL */
    border-radius: 0 8px 8px 0 !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}

/* 3. حركة ناعمة لمحتوى المقال (بدون اهتزاز CLS) */
.article-details .article-content {
    opacity: 0;
    animation: fadeInContent 0.6s ease-out forwards;
}
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* دعم الوضع الليلي للعناوين */
@media (prefers-color-scheme: dark) {
    .article-details .article-content h2,
    .article-content h2 {
        background: linear-gradient(135deg, #1e293b, #334155) !important;
        color: #f1f5f9 !important;
    }
    .article-details .article-content h2::after { background: #3b82f6 !important; }
    .article-details .article-content h3,
    .article-content h3 {
        background: #1e293b !important;
        color: #e2e8f0 !important;
        border-right-color: #3b82f6 !important;
    }
}
/* إصلاح الدوائر */
.circular-mode .article-overlay {
    opacity: 1 !important;
    background: rgba(0,0,0,0.85) !important;
    bottom: 0 !important;
    height: 45% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.circular-mode .article-overlay span strong {
    color: #fff !important;
    font-size: 1em !important;
    text-align: center !important;
}

/* إصلاح المستطيلات */
.rectangle-mode .article-overlay {
    opacity: 1 !important;
    background: rgba(0,0,0,0.8) !important;
    min-height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rectangle-mode .article-overlay span strong {
    color: #fff !important;
    font-size: 1.1em !important;
    text-align: center !important;
}
/* ==========================================
   🏥 أنماط المقالات الطبية - نسخة محسّنة للأداء
   ========================================== */

/* ✅ الجداول الطبية - مع دعم RTL/LTR */
.medical-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.medical-table thead {
  background: #f1f5f9;
}
.medical-table th,
.medical-table td {
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  text-align: right;
}
[dir="ltr"] .medical-table th,
[dir="ltr"] .medical-table td {
  text-align: left;
}
.medical-table th {
  font-weight: 700;
  color: #0f172a;
}
@media (max-width: 768px) {
  .medical-table,
  .medical-table tbody,
  .medical-table tr,
  .medical-table td {
    display: block;
    width: 100%;
  }
  .medical-table tr {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
  }
  .medical-table td {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 15px;
  }
  .medical-table td:last-child {
    border-bottom: none;
  }
  .medical-table td::before {
    content: attr(data-label);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    color: #64748b;
  }
}
@media (prefers-color-scheme: dark) {
  .medical-table {
    background: #1e293b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .medical-table thead {
    background: #334155;
  }
  .medical-table th {
    color: #f1f5f9;
  }
  .medical-table td {
    border-color: #334155;
    color: #cbd5e1;
  }
  .medical-table tr {
    border-color: #334155;
  }
  .medical-table td:last-child {
    border-bottom-color: #334155;
  }
  .medical-table td::before {
    color: #94a3b8;
  }
}

/* ✅ خطوات الإجراء - مع نص واضح */
.procedure-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  counter-reset: step;
}
.procedure-steps li {
  position: relative;
  padding: 15px 15px 15px 55px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  counter-increment: step;
  color: #0f172a;
}
[dir="rtl"] .procedure-steps li {
  padding: 15px 55px 15px 15px;
}
.procedure-steps li::before {
  content: counter(step);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #0066cc;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
[dir="rtl"] .procedure-steps li::before {
  left: auto;
  right: 15px;
}
.procedure-steps li strong {
  color: #0066cc;
  font-weight: 700;
}
@media (max-width: 768px) {
  .procedure-steps li {
    padding: 12px 12px 12px 50px;
    font-size: 15px;
  }
  [dir="rtl"] .procedure-steps li {
    padding: 12px 50px 12px 12px;
  }
  .procedure-steps li::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
    left: 12px;
  }
  [dir="rtl"] .procedure-steps li::before {
    left: auto;
    right: 12px;
  }
}
@media (prefers-color-scheme: dark) {
  .procedure-steps li {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
  }
  .procedure-steps li strong {
    color: #60a5fa;
  }
  .procedure-steps li::before {
    background: #3b82f6;
  }
}

/* ✅ بطاقات المعلومات */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.info-card:hover {
  transform: translateY(-3px);
}
.info-card strong {
  display: block;
  font-size: 1.3em;
  color: #0066cc;
  margin-bottom: 5px;
  font-weight: 700;
}
.info-card span {
  font-size: 14px;
  color: #475569;
}
@media (prefers-color-scheme: dark) {
  .info-card {
    background: #1e293b;
    border-color: #334155;
  }
  .info-card strong {
    color: #60a5fa;
  }
  .info-card span {
    color: #cbd5e1;
  }
}

/* ✅ صناديق التنبيه */
.medical-alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.6;
}
.medical-alert.info {
  background: #f0f9ff;
  border-right: 4px solid #0ea5e9;
  color: #0c4a6e;
}
[dir="rtl"] .medical-alert.info {
  border-right: none;
  border-left: 4px solid #0ea5e9;
}
.medical-alert.warning {
  background: #fffbeb;
  border-right: 4px solid #f59e0b;
  color: #78350f;
}
[dir="rtl"] .medical-alert.warning {
  border-right: none;
  border-left: 4px solid #f59e0b;
}
.medical-alert.danger {
  background: #fef2f2;
  border-right: 4px solid #ef4444;
  color: #7f1d1d;
}
[dir="rtl"] .medical-alert.danger {
  border-right: none;
  border-left: 4px solid #ef4444;
}
.medical-alert-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
@media (prefers-color-scheme: dark) {
  .medical-alert.info {
    background: #0c4a6e;
    color: #e0f2fe;
  }
  .medical-alert.warning {
    background: #78350f;
    color: #fef3c7;
  }
  .medical-alert.danger {
    background: #7f1d1d;
    color: #fecaca;
  }
}

/* ✅ بطاقة الاشتراك الاجتماعي */
.article-social-card {
  margin: 30px 0;
  padding: 22px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.article-social-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}
.article-social-card > p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.social-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.social-btn {
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
.social-btn.fb {
  background: #1877f2;
}
.social-btn.yt {
  background: #ff0000;
}
@media (prefers-color-scheme: dark) {
  .article-social-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-color: #475568;
  }
  .article-social-card h3 {
    color: #f1f5f9;
  }
  .article-social-card > p {
    color: #cbd5e1;
  }
}