/*
Theme Name: Siddiq RUH Blog
Description: Warm Islamic Premium blog theme for the Siddiq RUH blog (goldenrod-dugong-717695.hostingersite.com/blog), matching the main app's design system - cream pages, deep green + gold accents, serif headings.
Author: Siddiq RUH
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siddiq-ruh-blog
*/

:root {
  --green-deep: #1A4032;
  --green-mid: #2D6A4F;
  --green-soft: #E8F5EE;
  --gold: #C9971A;
  --gold-light: #F5D98A;
  --gold-pale: #FBF3DC;
  --cream: #FAF6EE;
  --surface: #FFFFFF;
  --ink: #1C1C1C;
  --muted: #7A7A6A;
  --border: rgba(201, 151, 26, 0.15);
  --border-strong: rgba(201, 151, 26, 0.30);
  --text-on-dark: #FBFAF6;
  --text-muted-on-dark: rgba(251, 250, 246, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: 44px; }
h2 { font-size: 32px; margin-top: 40px; }
h3 { font-size: 24px; margin-top: 28px; }

p {
  margin: 0 0 20px;
}

a {
  color: var(--green-mid);
  text-decoration: underline;
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.site-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.site-header {
  background: var(--green-deep);
  padding: 24px;
  margin-bottom: 40px;
}

.site-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-branding a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
}

.site-nav a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-left: 20px;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(26, 64, 50, 0.08);
}

.post-card .post-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.post-card h2 {
  margin-top: 0;
  font-size: 26px;
}

.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--green-mid);
}

.post-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.post-excerpt {
  color: var(--ink);
}

.read-more {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
}

.read-more:hover {
  background: var(--gold-light);
  color: var(--green-deep);
}

.single-post-header {
  margin-bottom: 32px;
}

.single-post-header .post-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.single-post-content {
  font-size: 18px;
}

.single-post-content h2 {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.faq-section {
  background: var(--gold-pale);
  border-radius: 16px;
  padding: 28px;
  margin-top: 40px;
}

.faq-section h2 {
  margin-top: 0;
}

.site-footer {
  background: var(--green-deep);
  color: var(--text-muted-on-dark);
  text-align: center;
  padding: 40px 24px;
  margin-top: 60px;
  font-size: 14px;
}

.site-footer a {
  color: var(--gold-light);
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.pagination a {
  color: var(--green-mid);
  font-weight: 600;
  text-decoration: none;
}

.back-to-blog {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.back-to-blog:hover {
  color: var(--gold);
}
