/* Bosala theme for WriteFreely — paste into Admin > Customize > Custom CSS */
:root{--b-navy:#0F172A;--b-gold:#D4AF37;--b-off:#FAFAF8;--b-gold-dk:#8a6f12}
html,body{background:var(--b-off) !important;color:var(--b-navy)}
body{font-family:"Noto Sans Arabic","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif}
h1,h2,h3,h4{color:var(--b-navy)}
a{color:var(--b-navy)}
a:hover{color:var(--b-gold-dk)}

/* header: white bar, gold underline, compass before the site name */
header{background:#fff;border-bottom:3px solid var(--b-gold);padding-bottom:.6rem}
header h1 a, header h1 a:visited{color:var(--b-navy) !important;font-weight:700;letter-spacing:.3px;text-decoration:none}
header h1 a::before{content:"";display:inline-block;width:30px;height:30px;margin-inline-end:10px;vertical-align:-8px;
  background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22 %3E%3Ccircle cx=%2232%22 cy=%2232%22 r=%2228%22 fill=%22none%22 stroke=%22%230F172A%22 stroke-width=%223%22/%3E%3Ccircle cx=%2232%22 cy=%2232%22 r=%2222%22 fill=%22none%22 stroke=%22%23D4AF37%22 stroke-width=%221.2%22/%3E%3Cpath d=%22M32 8v6M32 50v6M8 32h6M50 32h6%22 stroke=%22%230F172A%22 stroke-width=%222.5%22 stroke-linecap=%22round%22/%3E%3Cpolygon points=%2232%2C12 38%2C32 32%2C28 26%2C32%22 fill=%22%23D4AF37%22/%3E%3Cpolygon points=%2232%2C52 38%2C32 32%2C36 26%2C32%22 fill=%22%230F172A%22/%3E%3Ccircle cx=%2232%22 cy=%2232%22 r=%222.6%22 fill=%22%23FAFAF8%22 stroke=%22%230F172A%22 stroke-width=%221.5%22/%3E%3C/svg%3E") center/contain no-repeat}
header nav a, header nav a:visited{color:var(--b-navy)}
header nav a:hover{color:var(--b-gold-dk)}

/* buttons and forms */
.btn.cta, .btn.primary, a.btn.cta, input[type=submit], button.btn.cta, button.primary{
  background:var(--b-navy) !important;border-color:var(--b-navy) !important;color:var(--b-off) !important;border-radius:8px}
.btn.cta:hover, .btn.primary:hover, input[type=submit]:hover{background:#1E2E4A !important;border-color:var(--b-gold) !important}
.btn{border-radius:8px}
input:focus, textarea:focus, select:focus{outline:none;border-color:var(--b-gold) !important;box-shadow:0 0 0 2px rgba(212,175,55,.35)}

/* cards, rules, footer */
hr{border-color:#E7E2D0}
.post, .article, .content-container{color:var(--b-navy)}
footer, footer a{color:#64748b}
footer a:hover{color:var(--b-gold-dk)}
html[dir="rtl"] body, body[dir="rtl"]{direction:rtl}
