        /* متغيرات CSS الأساسية */
        :root {
            --primary-color: #2c3e50;
            --background-color: #f8f9fa;
            --text-color: #333;
            --border-color: #dee2e6;
            --link-color: #3498db;
            --max-width: 1200px;
            --content-padding: 2rem;
        }

        /* تنسيقات القالب الأساسية */
        .sw-page {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* تنسيق شريط التنقل */
        .sw-breadcrumb {
            display: flex;
            gap: 0.5rem;
            padding: 1rem 0;
            margin-bottom: 2rem;
            font-size: 0.95rem;
            border-bottom: 1px solid var(--border-color);
        }

        .sw-breadcrumb a {
            color: var(--link-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .sw-breadcrumb a:hover {
            color: var(--primary-color);
        }

        .sw-breadcrumb span {
            color: var(--text-color);
        }

        /* تنسيق محتوى الصفحة */
        .sw-page-content {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            padding: var(--content-padding);
            margin-bottom: 3rem;
        }

        .sw-page-title {
            color: var(--primary-color);
            font-size: 2rem;
            line-height: 1.4;
            margin-bottom: 2rem;
            font-weight: bold;
        }

        .sw-page-body {
            line-height: 1.8;
            color: var(--text-color);
            font-size: 1.1rem;
        }

        /* تنسيق الصور داخل المحتوى */
        .sw-page-body img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
            margin: 1.5rem 0;
        }

        /* تنسيق الروابط داخل المحتوى */
        .sw-page-body a {
            color: var(--link-color);
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease;
        }

        .sw-page-body a:hover {
            border-bottom-color: var(--link-color);
        }

        /* زر العودة للأعلى */
        .sw-back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .sw-back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .sw-back-to-top:hover {
            background: #34495e;
            transform: translateY(-2px);
        }

        /* تصميم متجاوب */
        @media (max-width: 768px) {
            :root {
                --content-padding: 1.5rem;
            }

            .sw-page-title {
                font-size: 1.5rem;
            }

            .sw-page-body {
                font-size: 1rem;
            }
        }