/* ============================================
   دار وردة للنشر والتوزيع - Main Stylesheet
   ============================================ */

:root {
	--ward-navy: #101a4a;
	--ward-navy-dark: #0a1030;
	--ward-navy-light: #1b2a6b;
	--ward-gold: #c9a24b;
	--ward-gold-light: #e0c07a;
	--ward-text: #2b2f45;
	--ward-text-light: #6b7089;
	--ward-bg-light: #f7f7fb;
	--ward-white: #ffffff;
	--ward-radius: 14px;
	--ward-font: 'Cairo', 'Tajawal', sans-serif;
}

* { box-sizing: border-box; }

body {
	font-family: var(--ward-font);
	color: var(--ward-text);
	background: var(--ward-white);
	margin: 0;
	direction: rtl;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--ward-font); font-weight: 800; margin: 0; }

.ward-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ===== Buttons ===== */
.ward-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	transition: all .25s ease;
	white-space: nowrap;
}
.ward-btn-gold { background: var(--ward-gold); color: var(--ward-navy); }
.ward-btn-gold:hover { background: var(--ward-gold-light); }
.ward-btn-gold-outline { border: 2px solid var(--ward-gold); color: var(--ward-navy); background: transparent; }
.ward-btn-gold-outline:hover { background: var(--ward-gold); }
.ward-btn-gold-sm { background: var(--ward-gold); color: var(--ward-navy); padding: 9px 18px; font-size: 13px; border-radius: 6px; }
.ward-btn-outline { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.ward-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ward-btn-navy { background: var(--ward-navy); color: #fff; }
.ward-btn-navy:hover { background: var(--ward-navy-light); }
.ward-btn-navy-sm { background: var(--ward-navy); color: #fff; padding: 9px 18px; font-size: 13px; border-radius: 6px; width: 100%; text-align: center; }
.ward-btn-navy-sm:hover { background: var(--ward-navy-light); }

/* ===== Section heads ===== */
.ward-section-head { text-align: center; margin-bottom: 40px; }
.ward-section-head-start { text-align: right; margin-bottom: 30px; }
.ward-section-head-light .ward-eyebrow,
.ward-eyebrow-gold { color: var(--ward-gold); }
.ward-eyebrow {
	display: inline-block;
	color: var(--ward-navy);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 8px;
}
.ward-section-title { font-size: 34px; color: var(--ward-navy); }
.ward-section-title-light { color: #fff; }
.ward-section-title-center { text-align: center; margin-bottom: 40px; }

/* ===== Top bar ===== */
.ward-topbar { background: var(--ward-navy-dark); color: #cfd3ea; font-size: 13px; padding: 8px 0; }
.ward-topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.ward-social-icons { display: flex; gap: 10px; }
.ward-social-icon {
	width: 26px; height: 26px; border-radius: 50%;
	background: rgba(255,255,255,.08);
	display: inline-flex; align-items: center; justify-content: center;
	transition: background .2s ease;
}
.ward-social-icon:hover { background: var(--ward-gold); }

/* ===== Header ===== */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(16,26,74,.06); position: sticky; top: 0; z-index: 999; }
.ward-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; }
.site-branding img { max-height: 56px; }
.primary-menu { display: flex; gap: 26px; }
.primary-menu > li > a { font-weight: 600; color: var(--ward-navy); font-size: 15px; padding: 8px 0; }
.primary-menu > li > a:hover { color: var(--ward-gold); }
.ward-header-actions { display: flex; align-items: center; gap: 16px; }
.ward-account-link { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ward-navy); font-size: 14px; }
.ward-search-toggle, .ward-mobile-toggle { background: none; border: none; cursor: pointer; color: var(--ward-navy); }
.ward-mobile-toggle { display: none; flex-direction: column; gap: 4px; }
.ward-mobile-toggle span { width: 22px; height: 2px; background: var(--ward-navy); }
.ward-search-panel { display: none; padding: 14px 0; border-top: 1px solid #eee; }
.ward-search-panel.active { display: block; }

/* ===== Footer ===== */
.site-footer { background: var(--ward-navy-dark); color: #b9bdda; padding-top: 60px; }
.ward-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ward-footer-brand p { font-size: 14px; line-height: 1.9; margin-top: 14px; color: #9ba0c4; }
.ward-footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.ward-footer-col ul li { margin-bottom: 10px; }
.ward-footer-col ul li a { font-size: 14px; color: #9ba0c4; }
.ward-footer-col ul li a:hover { color: var(--ward-gold); }
.ward-contact-list { margin: 16px 0; }
.ward-contact-list li { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 10px; color: #9ba0c4; }
.ward-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 13px; color: #7d81a3; }
.ward-footer-legal { display: flex; gap: 18px; }
.ward-footer-legal a:hover { color: var(--ward-gold); }

/* ===== Basic post layout ===== */
.ward-post-card { margin-bottom: 40px; }
.ward-post-card h2 { font-size: 22px; margin: 14px 0 8px; }
.ward-page-title { font-size: 30px; color: var(--ward-navy); margin: 30px 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.primary-menu { display: none; }
	.ward-mobile-toggle { display: flex; }
	.ward-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.ward-footer-top { grid-template-columns: 1fr; }
	.ward-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
