/* Custom Fonts - Cairo for Arabic, with fallbacks */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&display=swap');

/* CSS Variables for easy theme management */
:root {
    /* Colors Palette */
    --primary-dark-blue: #1A2E44; /* Deep Navy Blue for header, footer */
    --accent-gold: #FFC107; /* Warm Gold for highlights */
    --light-grey-bg: #F0F2F5; /* Soft, warm light grey for main content background */
    --white: #FFFFFF; /* Pure white for text on dark backgrounds */
    --text-dark: #34495E; /* Dark charcoal for main body text */
    --text-light: #7F8C8D; /* Lighter grey for secondary text/references */
    --border-subtle: #DDE1E6; /* Very light grey for subtle borders */
    --hover-effect-light: rgba(255, 255, 255, 0.1); /* White tint for hover on dark */
    --hover-effect-dark: rgba(0, 0, 0, 0.05); /* Dark tint for hover on light */
    --gold-gradient: linear-gradient(to right, #D4AF37, #FFD700); /* تدرج ذهبي احترافي */
    --card-hover-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); /* ظل أكبر للبطاقات عند التحويم */


    /* Spacing System - تم تقليلها بشكل جذري لكي تتناسب مع القائمة الصغيرة جداً */
    --space-xs: 2px;   /* أصغر مسافة */
    --space-sm: 4px;   /* مسافة صغيرة */
    --space-md: 8px;   /* مسافة متوسطة */
    --space-lg: 12px;  /* مسافة كبيرة */
    --space-xl: 16px;  /* مسافة أكبر */
    --space-xxl: 24px; /* مسافة كبيرة جداً */
    --space-xxxl: 32px;/* مسافة أكبر جداً */

    /* Font Sizes - تم تقليلها بشكل كبير لتناسب القائمة */
    --font-size-base: 0.9rem;       /* 14.4px */
    --font-size-sm: 0.75rem;        /* 12px - مهم جداً للقائمة */
    --font-size-md: 0.85rem;        /* 13.6px */
    --font-size-lg: 1rem;           /* 16px */
    --font-size-xl: 1.4rem;         /* 22.4px */
    --font-size-xxl: 1.8rem;        /* 28.8px */
    --font-size-hero: 2.5rem;       /* 40px */

    /* Other Properties */
    --border-radius: 8px; /* Softer, modern rounded corners */
    --box-shadow-light: 0 3px 10px rgba(0, 0, 0, 0.06); /* Soft and subtle */
    --box-shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12); /* More pronounced */
    --transition-speed: 0.3s ease-in-out; /* Slightly slower for smoother feel */
}

/* Base Styles & Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-grey-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: right; /* Default text alignment for RTL */
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

a {
    text-decoration: none;
    color: var(--accent-gold);
    transition: color var(--transition-speed), transform var(--transition-speed);
}

a:hover {
    color: var(--primary-dark-blue);
    transform: translateY(-1px);
}

ul {
    list-style: none;
}

/* Header - Navigation Bar */
.main-header {
    background-image: url('premium_photo-1733317311165-da7283ff1809.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--white);
    padding: var(--space-md) 0;
    box-shadow: var(--box-shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.main-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between; /* للحفاظ على اللوجو يمينًا وزر القائمة يسارًا */
    align-items: center;
    flex-wrap: wrap;
    padding: var(--space-sm) var(--space-md);
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    z-index: 3;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: var(--font-size-xxl);
    margin: 0;
    color: var(--white);
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.logo-subtitle {
    display: block;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.75);
    margin-top: -2px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.7);
}

/* Navigation Menu */
.main-nav {
    position: relative;
    display: inline-block;
    z-index: 1002;
    margin-right: 0;
    margin-left: auto;
}

.menu-toggle {
    background-color: var(--accent-gold);
    border: none;
    color: var(--primary-dark-blue);
    font-size: var(--font-size-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    font-weight: 700;
    box-shadow: var(--box-shadow-light);
    position: relative;
    z-index: 1003;
    width: auto;
    min-width: 90px;
    justify-content: center;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.2); /* إضافة ظل للنص */
    letter-spacing: 0.5px; /* مسافات بين الحروف */
}

.menu-toggle:hover {
    background-color: #e6b100;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

/* Dropdown Navigation Menu */
.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + var(--space-sm));
    left: 0;
    right: auto;
    background-color: var(--primary-dark-blue);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-medium);
    z-index: 1001;
    width: max-content;
    max-width: 200px;
    min-width: 130px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out, opacity var(--transition-speed) ease-out, visibility var(--transition-speed) ease-out;
    padding: 0;
    text-align: right;
    transform-origin: top right;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu.active {
    display: flex;
    max-height: 300px;
    padding: var(--space-xs) 0;
    opacity: 1;
    visibility: visible;
}

.nav-menu li {
    width: 100%;
}

.nav-menu li a {
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    display: block;
    transition: background-color var(--transition-speed), padding var(--transition-speed);
    font-weight: 400;
    white-space: nowrap;
    font-size: var(--font-size-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu li:last-child a {
    border-bottom: none;
}

.nav-menu li a:hover {
    background-color: rgba(255, 193, 7, 0.2);
    padding-right: var(--space-lg);
}

/* Style for the active navigation link */
.nav-menu li a.active-link {
    background-color: var(--accent-gold);
    color: var(--primary-dark-blue);
    font-weight: 700;
    position: relative;
    box-shadow: inset 3px 0 0 var(--primary-dark-blue);
}

.nav-menu li a.active-link:hover {
    background-color: #e6b100;
    padding-right: var(--space-md);
}

/* Main Content Area - Applies to all content pages */
.main-content {
    flex-grow: 1;
    padding: var(--space-xxl) 0;
    padding-bottom: var(--space-xxxl); /* يمكن تعديلها لزيادة المسافة قبل الفوتر */
}

/* Specific styling for verse of the day section */
.verse-of-the-day {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow-medium);
    max-width: 800px;
    margin: 0 auto var(--space-xxl) auto;
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.verse-of-the-day:hover {
    transform: translateY(-3px); /* زيادة التحويم */
    box-shadow: var(--card-hover-shadow); /* ظل أكبر عند التحويم */
}

.verse-of-the-day h2 {
    color: var(--primary-dark-blue);
    font-size: var(--font-size-xxl);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
    font-weight: 900;
    letter-spacing: 0.8px;
}

.verse-of-the-day h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: var(--gold-gradient); /* استخدام التدرج الذهبي */
    border-radius: var(--border-radius);
}

.verse-of-the-day p {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    color: var(--text-dark);
    font-weight: 600;
}

.verse-of-the-day .verse-reference {
    display: block;
    font-size: var(--font-size-md);
    color: var(--text-light);
    margin-top: var(--space-lg);
    font-weight: 400;
}

/* NEW: Style for general content pages */
.content-page {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-medium);
    max-width: 800px;
    margin: 0 auto var(--space-xxl) auto;
    border: 1px solid var(--border-subtle);
    text-align: right;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.content-page:hover {
    transform: translateY(-3px); /* زيادة التحويم */
    box-shadow: var(--card-hover-shadow); /* ظل أكبر عند التحويم */
}

.content-page h2 {
    color: var(--primary-dark-blue);
    font-size: var(--font-size-xxl);
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-sm);
    font-weight: 900;
    letter-spacing: 0.8px;
    text-align: center;
}

.content-page h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: var(--gold-gradient); /* استخدام التدرج الذهبي */
    border-radius: var(--border-radius);
}

.content-page p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.content-page h3 {
    color: var(--primary-dark-blue);
    font-size: var(--font-size-lg);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.content-page ul {
    list-style: disc inside;
    margin-right: var(--space-lg);
    margin-bottom: var(--space-md);
}

.content-page ul li {
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

/* Footer Section */
.main-footer {
    background-color: var(--primary-dark-blue);
    color: var(--white);
    text-align: center;
    padding: var(--space-xl) 0;
    margin-top: auto;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-sm);
}

/* Social Icons in Footer */
.contact-info a {
    font-size: var(--font-size-xl);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white); /* تم تغيير الخلفية إلى الأبيض */
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info a .fa-facebook-f {
    color: #3b5998 !important;
}

.contact-info a .fa-whatsapp {
    color: #25d366 !important;
}

.contact-info a .fa-envelope {
    color: #ff0000 !important; /* تم تغيير لون الإيميل إلى الأحمر */
}

.contact-info a:hover {
    background-color: var(--accent-gold); /* الخلفية الذهبية عند التحويم */
    color: var(--primary-dark-blue); /* لون الأيقونة على الخلفية الذهبية */
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}


/* NEW: Style for social icons in Contact Us page main content */
.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-social-icons a {
    font-size: var(--font-size-xl);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-dark-blue);
    color: var(--white);
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.contact-social-icons a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark-blue);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.footer-links li a {
    color: var(--accent-gold);
    font-size: var(--font-size-sm);
    font-weight: 400;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.footer-links li a:hover {
    color: #e6b100;
    transform: translateY(-1px); /* إضافة تأثير تحويم للروابط */
}

.main-footer p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--white);
}

.developer-info {
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-sm);
    color: #FFC107;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Books Grid for Old Testament Summary page */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    text-align: center;
}

.book-card {
    background-color: var(--primary-dark-blue);
    color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: var(--space-md);
    border: 2px solid var(--accent-gold);
}

.book-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow); /* ظل أكبر عند التحويم */
}

.book-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    border-radius: calc(var(--border-radius) - 1px) calc(var(--border-radius) - 1px) 0 0;
    border: none;
    object-position: center top;
}

/* Specific adjustments for images where faces might be cut off */
/* هذه الأنماط موجودة بالفعل في الكود الذي قدمته، فقط للتأكيد */
.book-card img.psalms-img {
    object-position: center 20%;
}

.book-card img.proverbs-img {
    object-position: center 30%;
}

.book-card .book-info {
    padding-top: var(--space-sm);
    width: 100%;
}

.book-card h4 {
    color: var(--accent-gold);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.book-card p {
    color: var(--white);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

/* Media Queries للتجاوبية */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav {
        width: auto;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }

    .menu-toggle {
        margin-left: 0;
        margin-right: 0;
        order: 1;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + var(--space-sm));
        left: 0;
        right: auto;
        background-color: var(--primary-dark-blue);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow-medium);
        z-index: 1001;
        width: max-content;
        max-width: 200px;
        min-width: 130px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out, opacity var(--transition-speed) ease-out, visibility var(--transition-speed) ease-out;
        padding: 0;
        text-align: right;
        transform-origin: top right;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
        max-height: 300px;
        padding: var(--space-xs) 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu li a.active-link {
        box-shadow: inset 3px 0 0 var(--primary-dark-blue);
    }

    .nav-menu li a:hover {
        padding-right: var(--space-lg);
    }

    .logo {
        position: relative;
        left: auto;
        transform: none;
        top: auto;
        order: unset;
        margin-right: 0;
        margin-left: 0;
    }

    .logo h1 {
        font-size: var(--font-size-xl);
    }

    .logo-subtitle {
        font-size: var(--font-size-sm);
    }

    .verse-of-the-day,
    .content-page {
        padding: var(--space-lg);
    }

    .verse-of-the-day h2,
    .content-page h2 {
        font-size: var(--font-size-xl);
    }
    .verse-of-the-day p {
        font-size: var(--font-size-base);
    }

    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--space-md);
    }
    .book-card {
        background-color: var(--primary-dark-blue);
        color: var(--white);
        border: 2px solid var(--accent-gold);
    }
    .book-card img {
        height: 90px;
        /* بقية التنسيقات المتعلقة بالصور في Media Queries يمكن إكمالها هنا إذا كانت مقطوعة */
    }
}

/* NEW: Enhancements for the QA section (from index.html style block, moved here for centralization) */
/* هذه التنسيقات تم إحضارها من الكتلة <style> في index.html لدمجها هنا */

.sections-title-modern {
    text-align: center;
    color: #333;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}
.sections-title-modern::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient); /* استخدام التدرج الذهبي */
    border-radius: 5px;
}

.compact-sections-container {
    padding: 20px;
    background: linear-gradient(to bottom right, #f8f8f8, #e0e0e0);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.compact-sections-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
    border-radius: 50%;
    animation: moveGradient 15s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes moveGradient {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(100px, 50px) scale(1.1); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
}

.compact-sections-container a {
    text-decoration: none;
    color: #444;
    font-size: 1.1em;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.3s ease-out;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    z-index: 1;
}

.compact-sections-container a:hover {
    color: var(--white);
    background: var(--gold-gradient);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px) scale(1.02);
    border-color: transparent;
}

.qa-main-page-container {
    padding: 20px;
    background: linear-gradient(to bottom right, #f8f8f8, #e0e0e0);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.qa-item-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.qa-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.qa-question-link {
    text-decoration: none;
    color: #333;
    display: block;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.qa-question-link h3 {
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
    color: #0056b3;
    transition: color 0.3s ease;
}

.qa-question-link:hover h3 {
    color: #D4AF37;
}

.spiritual-insight-box-small {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.spiritual-insight-box-small .bible-verse-small,
.spiritual-insight-box-small .church-fathers-quote-small {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.spiritual-insight-box-small .bible-verse-small::before {
    content: "\f02d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.8em;
    color: #ffd700;
    opacity: 0.05;
    z-index: 0;
}

.spiritual-insight-box-small .church-fathers-quote-small::before {
    content: "\f67a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.8em;
    color: #ffd700;
    opacity: 0.05;
    z-index: 0;
}

.spiritual-insight-box-small .fas {
    color: #D4AF37;
    margin-left: 5px;
    font-size: 0.9em;
    position: relative;
    z-index: 1;
}

.spiritual-insight-box-small p {
    font-size: 0.85em;
    color: #666;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* تنسيقات عامة لصفحات الإجابات الفردية (pages/X.html) */
.spiritual-insight-box {
    background-color: #fefdfb;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    justify-content: center;
}

.spiritual-insight-box .bible-verse,
.spiritual-insight-box .church-fathers-quote {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.spiritual-insight-box .bible-verse::before {
    content: "\f02d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2.8em;
    color: #ffd700;
    opacity: 0.08;
    z-index: 0;
}

.spiritual-insight-box .church-fathers-quote::before {
    content: "\f67a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2.8em;
    color: #ffd700;
    opacity: 0.08;
    z-index: 0;
}

.spiritual-insight-box h3 {
    font-size: 1.2em;
    color: #D4AF37;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.spiritual-insight-box h3 .fas {
    margin-left: 8px;
    color: #D4AF37;
    font-size: 1.1em;
}

.spiritual-insight-box p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Media Queries للتجاوبية (لضمان أن التعديلات لا تؤثر على التجاوبية) */
@media (max-width: 768px) {
    .qa-main-page-container {
        grid-template-columns: 1fr;
    }
    .spiritual-insight-box {
        flex-direction: column;
    }
}