/*
Theme Name: SportLib - المكتبة الرياضية والأكاديمية
Theme URI: https://example.com/sportlib
Author: Kaddour El Djoudi
Author URI: https://example.com
Description: قالب ووردبريس عربي (RTL) احترافي وسريع للمكتبات الرقمية والمجلات الأكاديمية والرياضية، يدعم الكتب والرسائل الجامعية وبنك الامتحانات، مع شريط أدوات القارئ وتخصيص كامل عبر Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sportlib
Tags: rtl-language-support, blog, education, custom-colors, custom-logo, custom-menu, featured-images, theme-options
*/

:root {
    --sl-primary: #0d47a1;
    --sl-primary-dark: #082f6e;
    --sl-accent: #00897b;
    --sl-bg: #f4f6f9;
    --sl-surface: #ffffff;
    --sl-text: #1e293b;
    --sl-text-muted: #64748b;
    --sl-border: #e2e8f0;
    --sl-font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    --sl-font-size: 16px;
    --sl-radius: 10px;
    --sl-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    --sl-transition: all 0.25s ease;
}

[data-theme="dark"] {
    --sl-bg: #0f172a;
    --sl-surface: #1e293b;
    --sl-text: #f1f5f9;
    --sl-text-muted: #94a3b8;
    --sl-border: #334155;
    --sl-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: var(--sl-font-size);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    font-family: var(--sl-font-family);
    background-color: var(--sl-bg);
    color: var(--sl-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--sl-primary);
    text-decoration: none;
    transition: var(--sl-transition);
}

a:hover {
    color: var(--sl-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sl-container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 16px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
