@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Noto+Naskh+Arabic:wght@400;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&family=Noto+Kufi+Arabic:wght@400;600;700&display=swap");
/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 0.875rem;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited {
  color: rgb(8.9993518068%, 33.8251498947%, 66.0986874088%);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 1.125rem;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 0.9375rem;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(24.6666666667%, 24.6666666667%, 24.6666666667%);
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: rgb(96.9803921569%, 96.9803921569%, 96.9803921569%);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(93.9803921569%, 93.9803921569%, 93.9803921569%);
  border: 1px solid rgb(86.9803921569%, 86.9803921569%, 86.9803921569%);
  border-bottom-color: rgb(78.9803921569%, 78.9803921569%, 78.9803921569%);
}
table td {
  border: 1px solid #e8e8e8;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 1.625rem;
  font-weight: 300;
  line-height: 3.375rem;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
}

.site-nav {
  float: right;
  line-height: 3.375rem;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 1.125rem;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 0.9375rem;
  color: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 2rem;
}

.post-list-heading {
  font-size: 1.75rem;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 0.875rem;
  color: #828282;
}

.post-link {
  display: block;
  font-size: 1.5rem;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 2.625rem;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 2.25rem;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 2rem;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 1.75rem;
  }
}
.post-content h3 {
  font-size: 1.625rem;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 1.375rem;
  }
}
.post-content h4 {
  font-size: 1.25rem;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 1.125rem;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.hero-roles span {
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--toggle-background);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

/* Mobile */
@media screen and (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }
  .hero-image {
    order: -1;
  }
  .hero-image img {
    max-width: 320px;
  }
}
.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1rem;
  margin: 0;
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}
.card h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.05rem;
}

.tags {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tags li {
  margin: 0;
  font-size: 0.8rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  color: #666;
}

.post-lead {
  font-size: 1.1rem;
  color: #555;
  margin: 0.25rem 0 0.5rem;
}

.post-cover {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}

.page-images img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 0 0 1rem;
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header-controls .site-nav {
  position: relative;
}

:root {
  --background-color: #ffffff;
  --text-color: #222222;
  --link-color: #0066cc;
  --border-color: #dddddd;
  --toggle-background: #f2f2f2;
}

html[data-theme=dark] {
  --background-color: #121212;
  --text-color: #eeeeee;
  --link-color: #66b3ff;
  --border-color: #444444;
  --toggle-background: #242424;
}

html,
body {
  background-color: var(--background-color);
  color: var(--text-color);
}

a {
  color: var(--link-color);
}

.site-header,
.site-footer {
  background-color: var(--background-color);
  color: var(--text-color);
}

.page-content,
.post-content {
  background-color: var(--background-color);
  color: var(--text-color);
}

.site-header {
  border-top-color: var(--border-color);
  border-bottom-color: var(--border-color);
}

.site-footer {
  border-top-color: var(--border-color);
}

.site-title,
.page-link,
.footer-heading {
  color: var(--text-color) !important;
}

.theme-toggle {
  border: 1px solid var(--border-color);
  background: var(--toggle-background);
  color: var(--text-color);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  opacity: 0.8;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
}

/* Reader tools (text size + reading aids) */
:root {
  --reader-scale: 1;
}

html {
  font-size: calc(100% * var(--reader-scale));
}

.reader-tools {
  position: relative;
}

.reader-tools-toggle {
  border: 1px solid var(--border-color);
  background: var(--toggle-background);
  color: var(--text-color);
  border-radius: 999px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reader-tools-toggle:hover {
  opacity: 0.8;
}

.reader-tools-toggle:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
}

.reader-tools-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  z-index: 20;
  min-width: 220px;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 14px;
}

.reader-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}

.reader-tools-label {
  font-size: 13px;
  color: var(--text-color);
}

.reader-tools-buttons {
  display: flex;
  gap: 6px;
}

.reader-tools-buttons button {
  border: 1px solid var(--border-color);
  background: var(--toggle-background);
  color: var(--text-color);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 13px;
  cursor: pointer;
}

.reader-tools-buttons button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.reader-tools-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-color);
  cursor: pointer;
  width: 100%;
}

.reading-relaxed .post-content,
.reading-relaxed .page-content {
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.reading-relaxed .post-content p,
.reading-relaxed .page-content p {
  margin-bottom: 1.4em;
}

.reading-underline-links a {
  text-decoration: underline;
}

/* Hide the cover image at the top of a post (reader-tools option). */
.reading-hide-cover .post-cover {
  display: none;
}

/* Reader tools: the reading font is applied through --reader-font (defaulted per
   region in assets/main.scss and overridden by the font <select>); the reading
   width and focus mode are class toggles on <html>. Logical properties keep
   these correct in RTL. */
.reader-tools-value {
  margin-inline-start: 6px;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.reader-font-select {
  max-width: 160px;
  padding: 4px 6px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--toggle-background);
  color: var(--text-color);
  font: inherit;
  font-size: 13px;
}

.reader-tools-buttons button[aria-pressed=true] {
  border-color: var(--link-color);
  color: var(--link-color);
}

/* Full-page reading: widen the article column to the whole viewport instead of
   minima's 800px measure. Scoped to .page-content so the docked header/footer
   bars keep their centered width. */
.reading-wide .page-content .wrapper {
  max-width: none;
}

/* Focus mode (distraction-free): drop the docked header/footer so only the
   article remains. The header element itself stays (shrunk to zero height) so
   its fixed-positioned progress line and exit control stay usable. */
.reading-focus .site-header {
  min-height: 0;
  border: 0;
}

.reading-focus .site-header .wrapper {
  display: none;
}

.reading-focus .site-footer {
  display: none;
}

/* Reading progress line + focus-mode exit control (see _includes/header.html). */
.reading-progress {
  display: none;
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 2000;
}

.reading-focus .reading-progress {
  display: block;
}

.reading-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--link-color);
}

.focus-exit {
  display: none;
  position: fixed;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 2000;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--background-color);
  color: var(--text-color);
  font-size: 13px;
  cursor: pointer;
}

.reading-focus .focus-exit {
  display: inline-flex;
}

.focus-exit:hover {
  opacity: 0.85;
}

.focus-exit:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
}

/* Contact form (Firestore) — see content/common/_includes/contact_form.html.
   Selectors are scoped under .contact-form so they beat minima's own
   .page-content / .post-content element rules. */
.contact-form {
  max-width: 640px;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--background-color);
}

.contact-form .contact-form-heading {
  margin-top: 0;
}

.contact-form .contact-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-form .contact-form-field {
  margin-bottom: 18px;
}

.contact-form .contact-form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form .contact-form-field input,
.contact-form .contact-form-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--toggle-background);
  color: var(--text-color);
  font: inherit;
}

.contact-form .contact-form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .contact-form-field input:focus-visible,
.contact-form .contact-form-field textarea:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 1px;
}

.contact-form .contact-form-field-error {
  display: block;
  min-height: 1.2em;
  margin-top: 4px;
  color: #c0392b;
  font-size: 0.85rem;
}

.contact-form .contact-form-field input[aria-invalid=true],
.contact-form .contact-form-field textarea[aria-invalid=true] {
  border-color: #c0392b;
}

/* Honeypot: off-screen rather than display:none, since some bots skip hidden
   inputs but still fill invisible ones. */
.contact-form .contact-form-honeypot {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .contact-form-actions {
  margin: 0;
}

.contact-form .contact-form-submit {
  padding: 12px 22px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--text-color);
  color: var(--background-color);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-form .contact-form-submit:hover:not(:disabled) {
  opacity: 0.85;
}

.contact-form .contact-form-submit:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
}

.contact-form .contact-form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form .contact-form-status {
  min-height: 1.2em;
  margin: 16px 0 0;
  font-size: 0.95rem;
}

.contact-form .contact-form-noscript {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.contact-form .contact-form-status[data-state=success] {
  color: #1e7a3c;
}

.contact-form .contact-form-status[data-state=error] {
  color: #c0392b;
}

.contact-form .contact-form-status[data-state=notice] {
  color: #8a6d1f;
}

html[data-theme=dark] .contact-form .contact-form-field-error,
html[data-theme=dark] .contact-form .contact-form-field input[aria-invalid=true],
html[data-theme=dark] .contact-form .contact-form-field textarea[aria-invalid=true],
html[data-theme=dark] .contact-form .contact-form-status[data-state=error] {
  color: #ff8a8a;
  border-color: #ff8a8a;
}

html[data-theme=dark] .contact-form .contact-form-status[data-state=success] {
  color: #7bd88f;
}

html[data-theme=dark] .contact-form .contact-form-status[data-state=notice] {
  color: #e0c070;
}

/* ---------------------------------------------------------------------------
   404 page (content/common/404.html) — shared by every regional site.
   Uses the theme CSS variables (see :root / html[data-theme="dark"] above),
   so it follows the reader's light/dark choice and works in LTR and RTL.
   --------------------------------------------------------------------------- */
.not-found {
  max-width: 620px;
  margin: 8vh auto;
  text-align: center;
}

.not-found-code {
  margin: 0;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--link-color);
}

.not-found-title {
  margin: 0.5rem 0 1rem;
  font-size: 2rem;
}

.not-found-message {
  margin-bottom: 2rem;
  color: var(--text-color);
  opacity: 0.85;
}

.not-found-home-link {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--text-color);
  color: var(--background-color);
  font-weight: 600;
  text-decoration: none;
}

.not-found-home-link:hover {
  opacity: 0.85;
}

.not-found-home-link:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
}

.not-found-links {
  margin-top: 3rem;
}

.not-found-links-label {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.not-found-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-found-links li {
  margin: 0;
}

.not-found-links a {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--toggle-background);
  text-decoration: none;
}

/* ---------------------------------------------------------------------------
   Docked header + footer — pinned to the viewport so they stay visible while
   the page scrolls, matching the Flutter app. minima already makes `body` a
   flex column with `min-height: 100vh` and gives `.page-content` `flex: 1`, so
   short pages still push the footer down; `sticky` keeps the header/footer in
   normal flow (their space is reserved, so no compensating padding is needed)
   while pinning them to the top/bottom of the viewport.
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 1000;
  /* Slim docked bar — the footer markup is a single line (see _includes/footer.html). */
  padding: 10px 0;
}

/* Minimal footer line (content/common/_includes/footer.html): the author name
   and the "Developed by …" credit, centered on one line. */
.footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-color);
  opacity: 0.8;
}

.footer-sep {
  opacity: 0.6;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--link-color);
  text-decoration: underline;
}

.footer-credit .company-suffix {
  font-size: 0.68em;
  vertical-align: super;
  line-height: 0;
}

html {
  direction: rtl;
}

.wrapper {
  text-align: right;
}

blockquote {
  border-left: 0;
  padding-left: 0;
  border-right: 4px solid #e8e8e8;
  padding-right: 15px;
}

pre,
code {
  direction: ltr;
  text-align: left;
}

:root {
  --reader-font: 'Cairo', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--reader-font);
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6,
.site-title {
  font-family: "Cairo", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
}

.post-content p,
.page-content p {
  margin-bottom: 1.3em;
}

/*# sourceMappingURL=main.css.map */