@charset "UTF-8";
:root {
  --font-title: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "Inter", sans-serif;
  --font-arabic: "Cairo", sans-serif;
  /* TEXT */
  --text: #1b1633;
  --muted: #5f5a80;
  --accent: #6b5bd2;
  /* STRONG VERY PERI GRADIENT */
  --bg-gradient:
    linear-gradient(
      135deg,
      #c7bfff 0%,
      #9f96ff 35%,
      #7b72e9 60%,
      #5a52c6 100%
    );
}

/* DARK MODE — VERY IMPORTANT */
[data-theme=dark] {
  --text: #f0efff;
  --muted: #b7b4e6;
  --accent: #9a8cff;
  --bg-gradient:
    linear-gradient(
      135deg,
      #2a2750 0%,
      #1e1c3a 35%,
      #14122b 65%,
      #0b0a1a 100%
    );
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--bg-gradient) !important;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.95;
}

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

a:hover {
  opacity: 0.85;
}

.site-title,
.post-title {
  color: var(--text);
}

.post-date,
.site-subtitle {
  color: var(--muted);
}

.site-footer {
  margin-top: 6rem;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .page-content {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 640px;
  }

  .site-title {
    font-size: 2.4rem;
  }

  .posts .post {
    margin-top: 1.2rem;
  }
}
/* ibm-plex-sans-regular - latin */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../assets/fonts/ibm-plex-sans-v8-latin-regular.woff2") format("woff2"), url("../assets/fonts/ibm-plex-sans-v8-latin-regular.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ibm-plex-sans-700 - latin */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("../assets/fonts/ibm-plex-sans-v8-latin-700.woff2") format("woff2"), url("../assets/fonts/ibm-plex-sans-v8-latin-700.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
::selection {
  color: white;
  background-color: brown;
}

::-moz-selection {
  color: white;
  background-color: brown;
}

.container {
  max-width: 720px;
  margin: 5rem auto;
  padding: 0 2rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.category {
  margin-top: 25px;
  margin-bottom: 10px;
}

.posts {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
}

.post {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.post-title a {
  font-family: var(--font-title);
  /* serif */
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}

.post-title a:hover {
  color: var(--accent);
}

.post-date {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.top-nav {
  text-align: center;
  margin-bottom: 2rem;
}

.top-nav a {
  font-family: var(--font-title);
  margin: 0 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.top-nav a:hover {
  text-decoration: underline;
}

/*
.site-header {
  text-align: center;
  margin-bottom: 3rem;
}*/
.site-header {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: left;
}

.site-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  margin: 0;
  /* IMPORTANT */
  line-height: 1;
  /* IMPORTANT */
  color: var(--accent);
  position: relative;
}

.site-title::after {
  content: " ✦";
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--accent-soft);
}

[data-theme=dark] .site-title {
  color: #c8c2ff;
}

.site-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.page-content {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 640px;
}

.page-content h1 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.page-content h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  opacity: 0.7;
}

#theme-toggle:hover {
  color: var(--accent);
  opacity: 1;
}

/* Arabic posts or elements */
[dir=rtl], .arabic {
  direction: rtl;
  font-family: var(--font-arabic);
  text-align: right;
  line-height: 1.8;
}

/* About page typography fix */
.page-content {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text);
}

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