 @font-face { font-family: "Jameel Noori Nastaleeq"; src: url("../fonts/JameelNooriNastaleeq.49311a4efbd6.woff2") format("woff2"); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: "Amiri"; src: url("../fonts/Amiri-Regular.1c0e70957ef4.woff2") format("woff2"); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: "Amiri"; src: url("../fonts/Amiri-Bold.da9a4725fbd3.woff2") format("woff2"); font-weight: bold; font-style: normal; font-display: swap; } :root { --teal: #1e3a6e; --teal-dark: #101f42; --gold: #b8892f; --gold-light: #e7b96a; --purple: #6d28d9; --purple-light: #8b5cf6; --blue: #1d4ed8; --blue-light: #3b82f6; --orange: #c2410c; --orange-light: #f97316; --green: #15803d; --red: #b91c1c; --cream: #fbf6ec; --cream-2: #f4ecda; --ink: #2a2016; --ink-soft: #55483a; --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); --radius: 16px; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } body { font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif; background: var(--cream); color: var(--ink); direction: rtl; line-height: 2; font-size: 19px; overflow-x: hidden; } .quran { font-family: "Amiri", serif; direction: rtl; } a { color: inherit; text-decoration: none; } img { max-width: 100%; } header.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, var(--teal-dark), var(--teal) 55%, #2b4d8c); color: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18); } .header-inner { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; white-space: nowrap; } .brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(231, 185, 106, 0.35); } nav.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } nav.main-nav a { padding: 9px 16px; border-radius: 999px; font-size: 16px; font-weight: 600; transition: background 0.2s, transform 0.15s; white-space: nowrap; } nav.main-nav a:hover { background: rgba(255, 255, 255, 0.16); } nav.main-nav a.active { background: #fff; color: var(--teal-dark); } .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; } .hamburger span { width: 26px; height: 3px; background: #fff; border-radius: 2px; } main { max-width: 1180px; margin: 0 auto; padding: 28px 20px 70px; min-height: 60vh; } .page { display: none; animation: fadeIn 0.35s ease; } .page.active { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } .page-title { font-size: 30px; font-weight: 700; margin: 6px 0 6px; color: var(--teal-dark); } .page-sub { color: var(--ink-soft); margin-bottom: 26px; font-size: 17px; } .hero { text-align: center; padding: 50px 16px 34px; border-radius: var(--radius); background: radial-gradient(circle at 30% 20%, rgba(184, 137, 47, 0.18), transparent 60%), radial-gradient(circle at 80% 0%, rgba(15, 118, 110, 0.16), transparent 55%), var(--cream-2); margin-bottom: 40px; } .hero h1 { font-size: 40px; margin: 0 0 10px; color: var(--teal-dark); } .hero p { font-size: 19px; color: var(--ink-soft); max-width: 640px; margin: 0 auto; } .card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; } .big-card { border-radius: var(--radius); padding: 28px 22px; color: #fff; box-shadow: var(--card-shadow); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; } .big-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18); } .big-card .icon { font-size: 40px; position: absolute; top: 18px; left: 18px; opacity: 0.35; } .big-card h3 { font-size: 22px; margin: 0 0 6px; } .big-card p { font-size: 15px; margin: 0; opacity: 0.92; } .card-syllabus { background: linear-gradient(135deg, var(--blue), var(--blue-light)); } .card-articles { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); } .card-qa { background: linear-gradient(135deg, var(--purple), var(--purple-light)); } .card-mcq { background: linear-gradient(135deg, var(--orange), var(--orange-light)); } .home-note { margin-top: 40px; background: var(--cream-2); border-radius: var(--radius); padding: 20px 24px; border-right: 5px solid var(--gold); color: var(--ink-soft); } .syllabus-list { display: flex; flex-direction: column; gap: 14px; } .syllabus-item { background: #fff; border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--card-shadow); border-right: 5px solid var(--gold); transition: transform 0.15s, box-shadow 0.15s; } .syllabus-item:hover { transform: translateX(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12); } .syllabus-num { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18); } .syllabus-item:nth-child(-n + 5) .syllabus-num { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); } .syllabus-item:nth-child(-n + 5) { border-right-color: var(--teal); } .syllabus-item:nth-child(n + 6):nth-child(-n + 10) .syllabus-num { background: linear-gradient(135deg, var(--purple), var(--purple-light)); } .syllabus-item:nth-child(n + 6):nth-child(-n + 10) { border-right-color: var(--purple); } .syllabus-item:nth-child(n + 11) .syllabus-num { background: linear-gradient(135deg, var(--orange), var(--orange-light)); } .syllabus-item:nth-child(n + 11) { border-right-color: var(--orange); } .syllabus-title { flex: 1 1 auto; font-size: 19px; font-weight: 600; color: var(--ink); } .syllabus-actions { display: flex; gap: 8px; flex-wrap: wrap; } .pill { font-size: 13px; padding: 7px 13px; border-radius: 999px; font-weight: 600; white-space: nowrap; transition: opacity 0.15s; } .pill:hover { opacity: 0.85; } .pill-article { background: #e5eaf6; color: var(--teal-dark); } .pill-qa { background: #ede4fb; color: var(--purple); } .pill-mcq { background: #fde3d1; color: var(--orange); } .topic-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; } .topic-sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 10px; position: sticky; top: 90px; max-height: 78vh; overflow-y: auto; } .topic-sidebar button { display: block; width: 100%; text-align: right; background: none; border: none; padding: 11px 14px; border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink); cursor: pointer; margin-bottom: 3px; transition: background 0.15s; } .topic-sidebar button:hover { background: var(--cream-2); } .topic-sidebar button.active { background: var(--teal); color: #fff; font-weight: 700; } .topic-select-mobile { display: none; width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--teal); font-family: inherit; font-size: 16px; background: #fff; color: var(--ink); margin-bottom: 18px; } .content-pane { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 30px 34px; min-height: 400px; } .content-pane h2.article-title { color: var(--teal-dark); font-size: 26px; margin-top: 0; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 3px solid var(--gold-light); } .article-body h3 { color: var(--teal-dark); font-size: 21px; margin: 30px 0 14px; padding-right: 16px; border-right: 5px solid var(--teal); position: relative; } .article-body h3::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-left: 10px; vertical-align: middle; } .article-body h3:nth-of-type(5n + 1) { border-right-color: var(--teal); color: var(--teal-dark); } .article-body h3:nth-of-type(5n + 1)::before { background: var(--teal); } .article-body h3:nth-of-type(5n + 2) { border-right-color: var(--purple); color: var(--purple); } .article-body h3:nth-of-type(5n + 2)::before { background: var(--purple); } .article-body h3:nth-of-type(5n + 3) { border-right-color: var(--orange); color: #9a3412; } .article-body h3:nth-of-type(5n + 3)::before { background: var(--orange); } .article-body h3:nth-of-type(5n + 4) { border-right-color: var(--blue); color: var(--blue); } .article-body h3:nth-of-type(5n + 4)::before { background: var(--blue); } .article-body h3:nth-of-type(5n + 5) { border-right-color: var(--gold); color: #7a5210; } .article-body h3:nth-of-type(5n + 5)::before { background: var(--gold); } .article-body p { text-align: justify; margin: 0 0 16px; color: var(--ink); } .article-body p.lead { font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--teal-dark), var(--teal) 70%, #2b4d8c); padding: 18px 20px; border-radius: 12px; border-right: 5px solid var(--gold-light); box-shadow: var(--card-shadow); } .quote-box { background: linear-gradient(135deg, #fbf3e3, #f7ead0); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); border-radius: 10px; padding: 18px 20px; margin: 22px 0; text-align: center; position: relative; } .quote-box::before { content: "❝"; display: block; font-size: 26px; color: var(--gold); opacity: 0.55; margin-bottom: 2px; font-family: Georgia, serif; } .quote-box .arabic { font-family: "Amiri", serif; font-size: 24px; color: var(--ink); margin-bottom: 10px; line-height: 2.1; } .quote-box .translation { font-style: italic; color: var(--ink-soft); margin-bottom: 8px; font-size: 17px; } .quote-box .ref { color: var(--gold); font-weight: 700; font-size: 15px; } .qa-toolbar { display: flex; justify-content: flex-end; margin-bottom: 14px; } .qa-toolbar button { background: var(--purple); color: #fff; border: none; padding: 8px 16px; border-radius: 999px; font-family: inherit; font-size: 14px; cursor: pointer; font-weight: 600; } .qa-item { border: 1px solid #eee1f5; border-radius: 12px; margin-bottom: 12px; overflow: hidden; } .qa-question { background: #f6effc; padding: 14px 18px; font-weight: 700; color: var(--purple); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; } .qa-question .arrow { transition: transform 0.2s; flex: 0 0 auto; font-size: 14px; } .qa-item.open .qa-question .arrow { transform: rotate(180deg); } .qa-answer { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; text-align: justify; color: var(--ink); } .qa-item.open .qa-answer { padding: 16px 18px 18px; max-height: 1200px; } .mcq-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; } .mcq-score { background: var(--cream-2); padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--orange); } .mcq-toolbar button { background: var(--orange); color: #fff; border: none; padding: 8px 16px; border-radius: 999px; font-family: inherit; font-size: 14px; cursor: pointer; font-weight: 600; } .mcq-card { border: 1px solid #fbe3cf; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; background: #fffaf4; } .mcq-q { font-weight: 700; font-size: 18px; margin-bottom: 14px; color: var(--ink); } .mcq-q .qnum { color: var(--orange); margin-left: 6px; } .mcq-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .mcq-opt { background: #fff; border: 2px solid #f0dcc7; border-radius: 10px; padding: 10px 14px; cursor: pointer; font-family: inherit; font-size: 15px; text-align: right; transition: background 0.15s, border-color 0.15s; color: var(--ink); } .mcq-opt:hover { border-color: var(--orange-light); } .mcq-opt.correct { background: #e7f6e9; border-color: var(--green); color: var(--green); font-weight: 700; } .mcq-opt.wrong { background: #fbe7e7; border-color: var(--red); color: var(--red); font-weight: 700; } .mcq-opt[disabled] { cursor: default; } .mcq-answer-line { margin-top: 10px; font-size: 14px; color: var(--green); font-weight: 700; display: none; } .mcq-card.answered .mcq-answer-line { display: block; } footer.site-footer { text-align: center; padding: 30px 20px 26px; color: var(--ink-soft); font-size: 14px; border-top: 1px solid #e6dcc6; background: var(--cream-2); } .footer-inner { max-width: 780px; margin: 0 auto; } .footer-credit { font-size: 15px; line-height: 1.9; margin-bottom: 14px; color: var(--ink); } .footer-credit a { color: var(--teal-dark); font-weight: 700; border-bottom: 1px dotted var(--teal); } .footer-credit a:hover { color: var(--gold); border-bottom-color: var(--gold); } .footer-links { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13.5px; } .footer-links a { color: var(--ink-soft); font-weight: 600; padding: 3px 4px; } .footer-links a:hover { color: var(--teal-dark); } .footer-links .sep { color: #cbbfa0; } .footer-copy { font-size: 13px; color: #8a7a63; padding-top: 10px; border-top: 1px solid #e6dcc6; } @media (max-width: 640px) { .footer-credit { font-size: 14px; } .footer-links { gap: 5px; font-size: 13px; } } @media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } .topic-layout { grid-template-columns: 1fr; } .topic-sidebar { display: none; } .topic-select-mobile { display: block; } .content-pane { padding: 22px 18px; } } @media (max-width: 640px) { body { font-size: 17px; } nav.main-nav { position: fixed; top: 60px; right: 0; left: 0; background: var(--teal-dark); flex-direction: column; align-items: stretch; padding: 10px 16px; gap: 2px; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; } nav.main-nav.open { max-height: 400px; padding-bottom: 16px; } nav.main-nav a { padding: 12px 14px; border-radius: 8px; } .hamburger { display: flex; } .card-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } .mcq-options { grid-template-columns: 1fr; } .syllabus-item { flex-wrap: wrap; } } [hidden] { display: none !important; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } .skip-link { position: fixed; top: -100px; right: 16px; z-index: 1000; background: white; color: var(--teal-dark); padding: 10px 18px; border: 2px solid var(--gold); } .skip-link:focus { top: 8px; } :focus-visible { outline: 3px solid #a76014; outline-offset: 4px; } h1[tabindex], h2[tabindex] { scroll-margin-top: 100px; } .route-notice:empty { display: none; } .route-notice { padding: 12px 20px; background: #fff4d6; border-inline-start: 4px solid var(--gold); } .content-pane { min-width: 0; } .article-body, .panel-body { line-height: 2.35; } .article-body p, .panel-body p { text-align: start; margin: 0 0 1em; } .article-body h3 { font-size: 24px; margin: 1.5em 0 .5em; color: var(--teal-dark); } .panel-body h4 { font-size: 21px; margin: 1.2em 0 .5em; color: var(--teal-dark); } .core-reading { max-width: 820px; margin-inline: auto; } .lesson-kicker, .edition-note, .review-date { color: var(--ink-soft); font-size: 15px; } .lesson-kicker { margin: 0 0 8px; } .edition-note { text-align: center; margin-top: 24px; } .reading-toolbar, .lesson-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; } .reading-toolbar button, .lesson-nav a { font: inherit; font-size: 15px; line-height: 2; padding: 7px 16px; border: 1px solid #b7c4d9; border-radius: 8px; background: #f2f5fa; color: var(--teal-dark); cursor: pointer; text-decoration: none; } .reading-toolbar button[aria-pressed="true"] { background: #e4efdf; border-color: #5b8050; } .study-panel { margin: 12px 0; border: 1px solid #d4dcea; border-radius: 10px; background: #fff; overflow: visible; } .study-panel > summary { cursor: pointer; font-size: 17px; font-weight: bold; padding: 12px 18px; color: var(--teal-dark); background: #f2f5fa; border-radius: 10px; list-style-position: inside; line-height: 2.25; } .study-panel[open] > summary { border-radius: 10px 10px 0 0; border-bottom: 1px solid #d4dcea; } .panel-body { padding: 20px 22px; overflow-wrap: anywhere; font-size: 18px; } .panel-body > :last-child { margin-bottom: 0; } .panel-body ul, .panel-body ol { padding-inline-start: 25px; } .panel-body li { margin-bottom: 10px; } .inline-source { margin: -4px 0 20px; border: 0; background: transparent; } .inline-source > summary { display: inline-block; font-size: 13px; font-weight: normal; padding: 2px 10px; background: #edf1f7; border: 1px solid #d2dbea; } .inline-source[open] > summary { border-radius: 8px; } .inline-source > .panel-body { padding: 12px 14px; background: #f8fafc; border-radius: 8px; margin-top: 6px; } .source-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; } .source-links a, .references a { color: #174785; text-decoration: underline; text-underline-offset: 5px; } .references li { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #e5e9f1; } .references p { font-size: 15px; margin-top: 9px; } .source-kind { display: block; color: #526374; font-size: 13px; margin-bottom: 6px; } .table-wrap { width: 100%; overflow-x: auto; } .study-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 2.15; } .study-table th, .study-table td { padding: 12px 14px; text-align: start; vertical-align: top; border: 1px solid #dce3ee; min-width: 90px; } .study-table th { background: #eaf0f8; color: var(--teal-dark); } .study-table tbody tr:nth-child(even) { background: #fafbfd; } .example-label, .completion-label { color: #386134; font-size: 14px; } .practice-note { font-size: 16px; color: #45556e; padding: 12px 16px; background: #f2f5fa; border-radius: 10px; } .topic-sidebar .topic-link { display: block; padding: 13px 16px; font-size: 16px; line-height: 2.1; text-decoration: none; border-radius: 9px; color: var(--ink); } .topic-sidebar .topic-link:hover { background: #eaf0f8; } .topic-sidebar .topic-link.active { color: white; background: var(--teal); } .syllabus-description { flex: 1 1 300px; min-width: 0; } .syllabus-description h3 { margin: 0; font-size: 21px; } .syllabus-description .study-panel { margin: 10px 0 0; } .search-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 24px; } .search-toolbar label { font-size: 16px; } .search-toolbar input { flex: 1; min-width: 200px; max-width: 500px; font: inherit; font-size: 16px; line-height: 2; padding: 10px 16px; border: 1px solid #a5b4cb; border-radius: 9px; background: white; } #searchCount { font-size: 14px; color: var(--ink-soft); } .mobile-topic-label { display: none; } fieldset.mcq-card { margin-inline: 0; min-width: 0; padding: 20px; border: 1px solid #d1daea; } legend.mcq-q { max-width: 100%; padding-inline: 8px; font-size: 18px; line-height: 2.2; } .mcq-opt { white-space: normal; line-height: 2.2; } .mcq-opt:disabled { opacity: 1; cursor: default; } .mcq-feedback { margin-top: 18px; padding: 16px; background: #f6f9f3; border-inline-start: 4px solid #6c8a53; border-radius: 8px; font-size: 16px; } .mcq-feedback p { margin: 0 0 8px; } .answer-status { font-weight: bold; } .large-reading .article-body p, .large-reading .panel-body { font-size: 22px; line-height: 2.5; } .latin-term { font-family: system-ui, sans-serif; font-size: .85em; } .quran { font-size: 1.15em; } @media (max-width: 900px) { .mobile-topic-label { display: block; margin-bottom: 8px; font-size: 15px; } } @media (max-width: 640px) { .panel-body { padding: 14px; font-size: 17px; } .study-panel > summary { padding: 10px 12px; font-size: 16px; } .study-table th, .study-table td { padding: 8px; font-size: 14px; } .reading-toolbar button, .lesson-nav a { padding: 7px 12px; font-size: 14px; } fieldset.mcq-card { padding: 14px; } legend.mcq-q { font-size: 17px; } .source-links { font-size: 13px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } } @media print { @page { margin: 18mm; } body { background: white; color: black; font-size: 13pt; } .site-header, .site-footer, .topic-sidebar, .topic-select-mobile, .mobile-topic-label, .reading-toolbar, .lesson-nav, .skip-link, .inline-source { display: none !important; } main { max-width: none; padding: 0; margin: 0; } .page:not(.active) { display: none !important; } .topic-layout { display: block; } .content-pane { padding: 0; box-shadow: none; border: 0; } .study-panel { break-inside: auto; } .study-panel:not([open]) { display: none; } .study-panel > summary { background: white; } .reading-block p, .panel-body p { orphans: 3; widows: 3; } h2, h3, h4, summary { break-after: avoid; } .references a { color: black; } .mcq-card { break-inside: avoid; } } :root{--teal:#155e63;--teal-dark:#123d46;--gold:#a77928;--purple:#654494;--blue:#245b99;--orange:#a84b29;--cream:#f4f7f8;--cream-2:#edf3f4;--ink:#263b46;--ink-soft:#526773;--card-shadow:0 8px 28px rgba(25,59,70,.07);--radius:20px} body{font-size:21px;line-height:2.25;background:radial-gradient(ellipse at top right,#eaf4f1,transparent 55%),var(--cream)} button,input,select{font-family:inherit}button,a,summary{touch-action:manipulation}button{min-height:46px}header.site-header{background:#123d46;box-shadow:0 4px 24px #123d461a}.header-inner{max-width:1280px;padding:16px 24px;flex-wrap:wrap}.brand{font-size:25px;font-weight:400}.brand .dot{background:#e2bd71;box-shadow:0 0 0 5px #e2bd7120}nav.main-nav a{font-size:18px;padding:8px 16px;font-weight:400}main{max-width:1240px;padding-top:32px}.hero{position:relative;padding:36px 36px 0;background:linear-gradient(145deg,#fff 35%,#eef7f3);border:1px solid #d9e6e4;box-shadow:var(--card-shadow);overflow:hidden;margin-bottom:32px}.hero-emblem{display:flex;align-items:center;justify-content:center;width:66px;height:66px;border-radius:20px;margin:0 auto 18px;background:#155e63;color:#f6dfa9;box-shadow:0 8px 18px #155e631c}.line-icon{width:26px;height:26px;flex-shrink:0;vertical-align:middle}.hero-emblem .line-icon{width:42px;height:42px}.hero h1{font-size:clamp(34px,4vw,50px);font-weight:400;line-height:1.9;margin-bottom:16px}.hero h1 span{color:#9a6821}.hero p.hero-description{max-width:700px;font-size:22px;line-height:2.15;color:#46616b}.hero-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:24px 0 30px}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:10px 28px;border-radius:12px;font-size:21px;min-height:54px;border:1px solid #155e63;transition:background .18s,box-shadow .18s}.primary-action{background:#155e63;color:#fff;box-shadow:0 4px 14px #155e6320}.secondary-action{background:#fff;color:#155e63}.primary-action:hover{background:#123d46}.secondary-action:hover{background:#e7f2ef}.course-stats{display:grid;grid-template-columns:repeat(3,1fr);max-width:850px;margin:0 auto;padding:22px 12px;background:#ffffffa8;border-top:1px solid #d9e6e4;gap:18px}.course-stats div{display:flex;flex-direction:column;align-items:center;gap:8px}.course-stats strong{font-family:system-ui,sans-serif;font-size:30px;line-height:1.25;color:#155e63;font-weight:650}.course-stats span{font-size:19px;color:#526773}.card-grid{gap:20px}.big-card{background:#fff;color:var(--ink);border:1px solid #dce5e8;min-height:260px;padding:26px 24px;justify-content:flex-start;overflow:visible;box-shadow:var(--card-shadow);border-top:4px solid var(--accent)}.card-syllabus{--accent:#245b99;--tint:#edf3fc}.card-articles{--accent:#155e63;--tint:#eaf5f1}.card-qa{--accent:#654494;--tint:#f2edf8}.card-mcq{--accent:#a84b29;--tint:#fcf1e9}.card-symbol{display:flex;align-items:center;justify-content:center;background:var(--tint);color:var(--accent);border-radius:14px;width:50px;height:50px;margin-bottom:16px}.big-card h3{color:var(--accent);font-size:25px;line-height:2;font-weight:400;margin-bottom:10px}.big-card p{font-size:18px;line-height:2.1;opacity:1;color:#526773;margin-bottom:20px}.card-arrow{margin-top:auto;color:var(--accent);font-family:system-ui,sans-serif;font-size:24px;align-self:flex-end;line-height:1}.big-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px #123d4615;border-color:var(--accent)}.page-title{font-size:34px;font-weight:400}.page-sub{font-size:20px;margin-top:4px}.content-pane{border:1px solid #dce5e8;padding:32px 36px}.content-pane h2.article-title{font-size:31px;font-weight:400;border-bottom:1px solid #c8dedb;padding-bottom:20px;line-height:2}.article-body,.panel-body{line-height:2.35}.article-body h3{font-size:27px;font-weight:400;padding:8px 18px;background:#f5f8fa;border-radius:10px;border-inline-start-width:4px;margin-top:38px}.article-body h3::before{display:none}.article-body p{font-size:21px;margin-bottom:22px}.important-point{color:#155e63;background:#eef7f3;padding:0 3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.reading-block:nth-of-type(3n) .important-point{color:#654494;background:#f5f0fa}.reading-block:nth-of-type(3n + 1) .important-point{color:#245b99;background:#eef4fc}.quran,[lang="ar"]{font-family:"Amiri",serif;font-size:1.2em;line-height:2;color:#155e63}.study-panel{border-radius:12px;border-color:#d6e3e5;margin:16px 0}.study-panel>summary{font-size:20px;font-weight:400;padding:12px 20px;background:#edf4f5;color:#123d46;line-height:2.2;border-radius:12px;min-height:48px}.study-panel>summary:hover{background:#e4eff0}.panel-body{font-size:21px;padding:22px}.qa-item>summary{background:#f3eff8;color:#583b80}.qa-item>summary:hover{background:#ece5f4}.inline-source{border:0;margin:4px 0 24px;background:transparent}.inline-source>summary{display:list-item;width:fit-content;padding:4px 16px;min-height:44px;border:1px solid #d1e2df;font-size:18px;background:#edf6f2;color:#155e63;font-weight:400}.inline-source>.panel-body{margin-top:10px;background:#f7faf9;border:1px solid #dce9e4;padding:16px 20px;border-radius:12px}.source-links{font-size:18px;gap:8px}.source-links a{color:#245b99;overflow-wrap:anywhere;line-height:2}.reference-entry+.reference-entry{margin-top:14px;padding-top:14px;border-top:1px solid #dce9e4}.reference-detail{font-size:17px;color:#526773;line-height:2.1;margin-top:8px!important}.topic-sidebar{border:1px solid #dce5e8;top:110px}.topic-sidebar .topic-link{font-size:18px;line-height:2.1;padding:12px 14px;margin-bottom:4px}.topic-sidebar .topic-link.active{background:#155e63;box-shadow:0 4px 12px #155e6315}.lesson-nav a,.pill,.qa-toolbar button,.mcq-toolbar button{border-radius:10px;font-weight:400;padding:8px 18px;font-size:18px;line-height:2;min-height:46px;transition:background .18s,box-shadow .18s}.lesson-nav a{background:#edf4f5;color:#155e63;border:1px solid #c9dcdf}.lesson-nav a:hover{background:#dfecef}.qa-toolbar button{background:#654494}.qa-toolbar button:hover{background:#51347a}.mcq-toolbar button{background:#a84b29}.mcq-toolbar button:hover{background:#8b3c20}.syllabus-item{border:1px solid #dce5e8;border-inline-start:4px solid #155e63}.syllabus-description h3{font-size:25px;font-weight:400}.syllabus-num{font-family:system-ui,sans-serif;font-size:18px}.pill{font-size:17px}.mcq-opt{font-size:20px;border-width:1px;border-color:#cfdee2;border-radius:12px;padding:12px 16px;line-height:2.2}.mcq-opt:hover:not(:disabled){background:#f1f7f8;border-color:#155e63;box-shadow:0 3px 10px #155e630d}fieldset.mcq-card{background:#fdfefe;border:1px solid #dce5e8;border-radius:16px;padding:22px;margin-bottom:28px}legend.mcq-q{font-size:22px;font-weight:400;color:#123d46;line-height:2.2}.mcq-feedback{font-size:20px;line-height:2.2;background:#eef7f1;border-color:#287246}.mcq-score{font-size:18px;background:#f8efe7;color:#92401f;font-weight:400}.search-toolbar{padding:18px;background:#fff;border:1px solid #dce5e8;border-radius:16px}.search-toolbar input{font-size:20px;border-color:#cadade;min-width:0}.search-toolbar label,#searchCount{font-size:18px}.topic-question{border-inline-start:3px solid #a77928;background:#fbf6e9;color:#704d18;border-radius:12px;padding:14px 20px;font-size:21px;line-height:2.25;margin:0 0 24px}.topic-question .question-label{display:block;color:#8b6122;font-size:18px;margin-bottom:4px}.syllabus-question{font-size:18px;color:#526773;line-height:2.2;margin:10px 0}.site-footer{font-family:system-ui,sans-serif;background:#eaf0f2!important;font-size:14px;line-height:1.7}.footer-copy{color:#526773}.footer-credit{font-size:14px}.lesson-kicker{font-size:18px;color:#526773}.page,.content-pane,.hero,.big-card{overflow-wrap:break-word} @media(max-width:1050px){.header-inner{justify-content:center}.brand{white-space:normal;text-align:center}.card-grid{grid-template-columns:repeat(2,1fr)}} @media(max-width:640px){main{padding:20px 14px 44px}.header-inner{justify-content:space-between;padding:12px 16px;flex-wrap:nowrap}.brand{font-size:20px;text-align:start;line-height:1.8}.hero{padding:26px 18px 0}.hero h1{font-size:34px;line-height:2}.hero p.hero-description{font-size:20px}.course-stats{gap:8px;padding:20px 0}.course-stats span{font-size:16px;line-height:2}.course-stats strong{font-size:25px}.hero-actions{gap:10px}.primary-action,.secondary-action{font-size:20px;padding:8px 22px}.card-grid{grid-template-columns:1fr;gap:16px}.big-card{min-height:220px}.content-pane{padding:22px 16px}.content-pane h2.article-title{font-size:27px}.article-body h3{font-size:25px;padding:8px 12px}.article-body p,.panel-body{font-size:20px;line-height:2.4}.study-panel>summary{font-size:19px;padding:12px 14px}.inline-source>summary{font-size:18px;padding:3px 14px}.topic-question{font-size:20px;padding:12px 16px}.panel-body{padding:16px}.mcq-opt{font-size:19px}.page-title{font-size:30px}.page-sub{font-size:19px}.syllabus-item{padding:16px;gap:12px}.syllabus-num{width:36px;height:36px}.syllabus-description{flex-basis:100%}.search-toolbar{gap:10px;padding:14px}.search-toolbar input{flex-basis:100%;width:100%}.hamburger{padding:10px;min-width:44px}nav.main-nav{top:78px;padding:0 16px}nav.main-nav.open{padding:10px 16px;max-height:75vh;overflow-y:auto}.source-links{font-size:17px}.reference-detail{font-size:16px}} @media(prefers-reduced-motion:reduce){.page{animation:none}.big-card:hover{transform:none}} @media print{.hero,.content-pane{box-shadow:none;background:white}.important-point{background:none;color:black}.topic-question{background:white;color:black}.article-body h3{background:white;color:black}} .quran, .quote-box .arabic, .quote-box .quran { font-family: "Amiri", serif; font-weight: 700; color: #086447; } .important-point { font-weight: 700; color: #155e63; } .exam-keywords .keyword, .exam-keywords .keyword-label { font-weight: 700; } .exam-keywords .keyword-label { color: #123d46; } .keyword-color-0 { color: #234e95; } .keyword-color-1 { color: #773482; } .keyword-color-2 { color: #8c302a; } .keyword-color-3 { color: #795218; } @media print { .quran, .important-point, .exam-keywords .keyword, .exam-keywords .keyword-label { font-weight: 700; print-color-adjust: exact; -webkit-print-color-adjust: exact; } } .loading-lesson{padding:1rem;min-height:12rem}.loading-lesson button{font:inherit;padding:.4rem 1rem;margin:.5rem;border:1px solid #b9c7cd;border-radius:.5rem;cursor:pointer}.loading-message{color:#365c6e} :root{--teal:#096b62;--teal-dark:#152f4a;--gold:#94621e;--gold-light:#f0d6a4;--purple:#5d4b84;--purple-light:#756494;--blue:#245b8b;--blue-light:#4279a8;--orange:#9d4b31;--orange-light:#bb6b50;--green:#176943;--red:#a82d34;--cream:#f6f8fa;--cream-2:#ecf1f5;--ink:#203447;--ink-soft:#516273;--card-shadow:0 6px 22px rgba(21,47,74,.07)} body{background:#f6f8fa;color:#203447}header.site-header,footer{background:#152f4a;color:#fff}.brand{color:#fff}.brand .dot{background:#f0d6a4}nav.main-nav a{color:#f4f7fb}nav.main-nav a.active,nav.main-nav a:hover{background:#244a67;color:#fff} .hero{background:linear-gradient(135deg,#fff 40%,#eef6f4);border-color:#d5e3e4}.hero h1,.page-title,.article-title{color:#152f4a}.hero h1 span{color:#94621e}.hero p.hero-description{color:#516273}.hero-emblem{background:#096b62;color:#f0d6a4} .primary-action{background:#096b62;border-color:#096b62;color:#fff}.primary-action:hover{background:#07584f}.secondary-action{background:#fff;border-color:#096b62;color:#07584f}.secondary-action:hover{background:#e9f4f1}.course-stats{background:#f5f9f8;border-color:#d5e3e4}.course-stats strong{color:#096b62}.course-stats span{color:#516273} .card-syllabus{--accent:#245b8b;--tint:#edf3fa}.card-articles{--accent:#096b62;--tint:#eaf5f1}.card-qa{--accent:#5d4b84;--tint:#f2eff7}.card-mcq{--accent:#9d4b31;--tint:#fcf0eb}.big-card,.content-pane,.sidebar,.study-panel,.mcq-card{background:#fff;border-color:#d4dfe7;color:#203447}.big-card p,.page-sub,.lesson-kicker,.reference-detail{color:#516273} .article-body h3,.panel-body h4{background:#edf3f7;color:#152f4a;border-inline-start-color:#096b62}.important-point{color:#07584f;background:#eef7f3}.topic-question{background:#fff8ec;color:#574019;border-color:#e4c992}.question-label{color:#805317}.study-panel>summary{background:#edf3f7;color:#152f4a}.study-panel[open]>summary{background:#e6f1ee;color:#07584f;border-color:#d4dfe7} .inline-source>summary{background:#edf3fa;color:#245b8b;border-color:#c9d8e7}.inline-source>.panel-body{background:#f6f9fc}.source-links a{color:#245b8b;text-decoration:underline;text-underline-offset:.2em}.quran,.quote-box .arabic,.quote-box .quran{color:#80512a;font-weight:700}.keyword-color-0{color:#245b8b}.keyword-color-1{color:#5d4b84}.keyword-color-2{color:#98303b}.keyword-color-3{color:#805317} .topic-link{color:#203447}.topic-link.active{background:#e6f1ee;color:#07584f;border-color:#9fc6bc}.reading-toolbar button,.lesson-nav a{background:#edf3f7;color:#152f4a;border-color:#c6d6e1}.reading-toolbar button:hover,.lesson-nav a:hover{background:#e6f1ee;border-color:#096b62} .mcq-opt{background:#f9fbfc;border-color:#c5d3df;color:#203447}.mcq-opt:hover{background:#edf3f7;border-color:#245b8b}.mcq-opt.correct{background:#e6f4ec;border-color:#176943;color:#135535}.mcq-opt.wrong{background:#fcecef;border-color:#a82d34;color:#8f2630}.mcq-feedback{background:#f2f7fa;color:#203447}.route-notice{background:#fff8ec;color:#574019;border-color:#94621e}input,select{background:#fff;color:#203447;border-color:#b7c9d6}:focus-visible{outline:3px solid #94621e;outline-offset:4px}footer p,footer a,footer .footer-note{color:#edf3fa}footer a:hover{color:#f0d6a4} @media print{body,.content-pane,.article-body h3,.study-panel>summary{background:#fff;color:#111;box-shadow:none}.topic-question{background:#fff;color:#111}} 