:root {
--brand: #02485d;
--brand-dark: #013444;
--accent: #e8a33d;
--bg: #f4f5f6;
--surface: #ffffff;
--text: #1f2a30;
--muted: #5d6b73;
--line: #e2e6e9;
--radius: 10px;
--gap: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", "Noto Naskh Arabic", Arial, sans-serif;
font-size: 17px;
line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; color: var(--brand-dark); }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.small { font-size: .85rem; color: var(--muted); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; } .site-header { background: var(--brand); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 52px; width: auto; }
.search input {
width: 100%; max-width: 280px; border: 0; border-radius: 999px;
padding: 8px 14px; font: inherit; font-size: .9rem;
}
.main-nav { background: var(--brand-dark); }
.main-nav ul {
list-style: none; margin: 0; padding: 0; display: flex; gap: 4px;
overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a {
display: block; white-space: nowrap; color: #fff; padding: 10px 12px; font-size: .92rem;
}
.main-nav li.current a, .main-nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; } .layout { display: grid; grid-template-columns: 1fr; gap: 24px; padding-top: 16px; padding-bottom: 32px; }
.content, .sidebar .widget {
background: var(--surface); border-radius: var(--radius); padding: 18px;
box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.content-full { grid-column: 1 / -1; }
@media (min-width: 960px) {
.layout { grid-template-columns: minmax(0, 1fr) 320px; }
.content { padding: 28px; }
} .breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb .sep { margin: 0 6px; } .entry-content img { border-radius: var(--radius); margin: 0 auto 12px; }
.entry-content a[href*="://"]:not([href*="xn--ogbjns1eeh"]) { color: var(--muted); font-size: .85rem; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; margin: 0 0 1em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.entry-content th { background: #f0f4f6; }
.entry-content .faq h3 { margin-top: 1em; }
.entry-tags a, .also-in a, .chips a {
display: inline-block; background: #eef3f5; color: var(--brand-dark); border-radius: 999px;
padding: 4px 12px; margin: 0 0 6px 6px; font-size: .88rem;
}
.also-in { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; } .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .content-full .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-small { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); }
.card:hover { text-decoration: none; border-color: var(--brand); }
.card-img { display: block; aspect-ratio: 1 / 1; background: #eef1f3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-title { display: block; padding: 8px 10px; font-size: .9rem; line-height: 1.5; }
.grid-small .card-title { font-size: .8rem; padding: 6px 8px; }
.related { margin-top: 24px; }
.more { text-align: center; }
.button {
display: inline-block; background: var(--brand); color: #fff; border-radius: 999px; padding: 8px 20px;
}
.button:hover { background: var(--brand-dark); text-decoration: none; } .term-intro { color: var(--text); margin-bottom: 16px; }
.term-long { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.home-hero { margin-bottom: 8px; }
.home-section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--line); margin-bottom: 12px; }
.section-head h2 { margin: 0 0 6px; }
.section-head h2 a { color: var(--brand-dark); }
.see-all { font-size: .9rem; white-space: nowrap; } .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0; }
.pagination .page-numbers { padding: 6px 12px; border-radius: 6px; background: #eef3f5; }
.pagination .current { background: var(--brand); color: #fff; } .sidebar { display: flex; flex-direction: column; gap: 16px; }
.widget-title { font-weight: 700; color: var(--brand-dark); margin-bottom: 10px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text); }
.cat-list span { color: var(--muted); font-size: .85rem; } .ad { margin: 16px 0; min-height: 90px; text-align: center; }
.ad-side { min-height: 250px; } .site-footer { background: var(--brand-dark); color: #d6e2e7; padding: 28px 0 16px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0 0 12px; padding: 0; columns: 2; }
.site-footer .small { color: #a9bfc8; }
.copyright { text-align: center; margin: 16px 0 0; color: #a9bfc8; font-size: .85rem; }
.dim { direction: ltr; unicode-bidi: isolate; white-space: nowrap; display: inline-block; }