/*
Theme Name: Sakina
Theme URI: https://sakina.fun/
Author: Sakina
Author URI: https://sakina.fun/
Description: سكينة - محتوى الوعي والتحول الداخلي بالعربية. Thème WordPress RTL premium pour le bien-être et la conscience intérieure.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sakina
Tags: rtl, arabic, blog, custom-menu, custom-logo, featured-images, translation-ready

سكينة - محتوى الوعي والتحول الداخلي بالعربية
*/

/* ============================================
   DESIGN SYSTEM - CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary Colors */
    --midnight-blue: 210 65% 11%;
    --off-white: 38 20% 96%;
    --gold: 45 65% 52%;
    --dark-gray: 0 0% 18%;

    /* Pillar Colors */
    --azure-blue: 210 60% 55%;
    --sage-green: 140 20% 55%;
    --mystic-purple: 260 30% 55%;
    --soft-orange: 30 55% 55%;
    --soft-pink: 350 25% 70%;

    /* Semantic Colors */
    --background: var(--off-white);
    --foreground: var(--dark-gray);
    --primary: var(--midnight-blue);
    --accent: var(--gold);
    --card: 0 0% 100%;
    --border: 38 15% 85%;
    --muted: 38 15% 90%;
    --muted-foreground: 0 0% 40%;

    /* Spacing */
    --section-padding: 5rem 1rem;
    --container-max: 80rem;

    /* Radius */
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-feature-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    overflow-x: clip;
    background: hsl(var(--off-white));
    color: hsl(var(--dark-gray));
    margin: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    text-wrap: balance;
    line-height: 1.25;
}

* {
    text-align: right;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

input, button, textarea, select {
    font-family: inherit;
    font-size: 100%;
    color: inherit;
}

button {
    cursor: pointer;
    background: transparent;
    border: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sakina-heading {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sakina-quote {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.25rem;
    line-height: 2;
}

.arabic-tagline {
    font-family: 'Amiri', serif;
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--gold));
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.sakina-section {
    padding: 5rem 1rem;
}

.sakina-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
}

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

.text-right {
    text-align: right;
}

/* ============================================
   NAVIGATION / HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: hsl(var(--midnight-blue));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-normal);
}

.site-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.site-logo .logo-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--gold));
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.site-logo .logo-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 0.65rem;
    color: hsl(var(--off-white));
    opacity: 0.7;
    letter-spacing: 0.02em;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation .nav-menu,
.main-navigation .menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-menu li a,
.main-navigation .menu li a {
    color: hsl(var(--off-white));
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.main-navigation .nav-menu li a:hover,
.main-navigation .nav-menu li a:focus,
.main-navigation .menu li a:hover,
.main-navigation .menu li a:focus {
    color: hsl(var(--gold));
}

.main-navigation .nav-menu li.current-menu-item > a,
.main-navigation .nav-menu li.current_page_item > a,
.main-navigation .menu li.current-menu-item > a,
.main-navigation .menu li.current_page_item > a {
    color: hsl(var(--gold));
}

.main-navigation .nav-menu li.current-menu-item > a::after,
.main-navigation .nav-menu li.current_page_item > a::after,
.main-navigation .menu li.current-menu-item > a::after,
.main-navigation .menu li.current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    left: 0;
    height: 2px;
    background-color: hsl(var(--gold));
    border-radius: 1px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: hsl(var(--off-white));
    transition: all var(--transition-normal);
    border-radius: 1px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: hsl(var(--midnight-blue));
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        hsla(var(--midnight-blue), 0.7) 0%,
        hsla(var(--midnight-blue), 0.5) 50%,
        hsla(var(--midnight-blue), 0.8) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-subtitle {
    font-family: 'Amiri', serif;
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--gold));
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Hero Newsletter Form */
.hero-newsletter {
    max-width: 32rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.hero-newsletter .newsletter-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.hero-newsletter .newsletter-label svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--gold));
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-fast);
    text-align: right;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
    border-color: hsl(var(--gold));
    box-shadow: 0 0 0 2px hsla(var(--gold), 0.3);
}

.newsletter-form button[type="submit"],
.newsletter-form .newsletter-btn {
    padding: 0.75rem 1.5rem;
    background-color: hsl(var(--gold));
    color: hsl(var(--midnight-blue));
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.newsletter-form button[type="submit"]:hover,
.newsletter-form .newsletter-btn:hover {
    background-color: hsl(45, 65%, 45%);
    transform: translateY(-1px);
}

/* ============================================
   PILLARS SECTION
   ============================================ */
.pillars-section {
    padding: 5rem 1rem;
    background-color: hsl(var(--off-white));
}

.pillars-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pillars-section .section-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--dark-gray));
    margin-bottom: 1rem;
    text-align: center;
}

.pillars-section .section-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

.pillar-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: white;
    transition: all var(--transition-normal);
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.pillar-card.pillar-full {
    grid-column: 1 / -1;
}

.pillar-card .pillar-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.pillar-card .pillar-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.pillar-card .pillar-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: right;
}

.pillar-card .pillar-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    text-align: right;
}

/* Pillar colors */
.pillar-dispenza { background-color: hsl(var(--azure-blue)); }
.pillar-tolle { background-color: hsl(var(--sage-green)); }
.pillar-zeland { background-color: hsl(var(--mystic-purple)); }
.pillar-neuro { background-color: hsl(var(--soft-orange)); }
.pillar-eastern { background-color: hsl(var(--soft-pink)); }

/* ============================================
   RECENT POSTS / ARTICLES SECTION
   ============================================ */
.recent-posts-section {
    padding: 5rem 1rem;
    background-color: hsl(var(--off-white));
}

.recent-posts-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.recent-posts-section .section-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--dark-gray));
    margin-bottom: 1rem;
    text-align: center;
}

.recent-posts-section .section-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

/* Article Card */
.article-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.article-card .card-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.article-card .card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.article-card .card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-full);
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: all var(--transition-fast);
}

.category-badge.cat-dispenza { background-color: hsl(var(--azure-blue)); }
.category-badge.cat-tolle { background-color: hsl(var(--sage-green)); }
.category-badge.cat-zeland { background-color: hsl(var(--mystic-purple)); }
.category-badge.cat-neuro { background-color: hsl(var(--soft-orange)); }
.category-badge.cat-eastern { background-color: hsl(var(--soft-pink)); }
.category-badge.cat-default { background-color: hsl(var(--midnight-blue)); }

.reading-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.reading-time svg {
    width: 1rem;
    height: 1rem;
}

.article-card .card-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--dark-gray));
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-card .card-title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.article-card .card-title a:hover {
    color: hsl(var(--gold));
}

.article-card .card-excerpt {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

.article-card .read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--gold));
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: gap var(--transition-fast);
}

.article-card .read-more-link:hover {
    gap: 0.75rem;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
    padding: 5rem 1rem;
    background-color: hsl(var(--midnight-blue));
    text-align: center;
}

.quote-section .quote-content {
    max-width: 48rem;
    margin: 0 auto;
}

.quote-section blockquote {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.75rem;
    line-height: 2.2;
    color: hsl(var(--gold));
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.quote-section blockquote::before {
    content: '"';
    font-family: 'Amiri', serif;
    font-size: 5rem;
    color: hsla(var(--gold), 0.3);
    position: absolute;
    top: -1rem;
    right: 0;
    line-height: 1;
}

.quote-section .quote-author {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.quote-section .quote-author span {
    color: hsl(var(--gold));
    font-weight: 600;
}

/* ============================================
   NEWSLETTER CTA SECTION
   ============================================ */
.newsletter-cta-section {
    padding: 5rem 1rem;
    background: linear-gradient(
        180deg,
        hsl(var(--off-white)) 0%,
        hsl(38, 20%, 93%) 100%
    );
    text-align: center;
}

.newsletter-cta-section .cta-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--dark-gray));
    margin-bottom: 1rem;
    text-align: center;
}

.newsletter-cta-section .cta-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.newsletter-cta-box {
    max-width: 32rem;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.newsletter-cta-box .box-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: hsl(var(--dark-gray));
    margin-bottom: 1rem;
    font-size: 1.125rem;
    text-align: center;
}

.newsletter-cta-box .box-label svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--gold));
}

.newsletter-cta-box .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-cta-box .newsletter-form input[type="email"] {
    background: hsl(var(--off-white));
    border: 1px solid hsl(var(--border));
    color: hsl(var(--dark-gray));
    padding: 0.875rem 1rem;
}

.newsletter-cta-box .newsletter-form input[type="email"]::placeholder {
    color: hsl(var(--muted-foreground));
}

.newsletter-cta-box .newsletter-form button[type="submit"],
.newsletter-cta-box .newsletter-form .newsletter-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1.05rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: hsl(var(--midnight-blue));
    color: hsl(var(--off-white));
    padding: 4rem 2rem 0;
}

.footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Footer Logo & About */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-about .footer-logo img {
    height: 50px;
    width: auto;
}

.footer-about .footer-logo-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--gold));
}

.footer-about .footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--off-white));
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: hsl(var(--gold));
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Footer Quick Links */
.footer-links .footer-col-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--gold));
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: hsl(var(--gold));
    transform: translateX(-4px);
}

/* Footer Newsletter */
.footer-newsletter .footer-col-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--gold));
    margin-bottom: 1rem;
}

.footer-newsletter .footer-newsletter-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom .legal-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-bottom .legal-links a:hover {
    color: hsl(var(--gold));
}

/* ============================================
   SINGLE POST / ARTICLE
   ============================================ */
.single-post-header {
    background-color: hsl(var(--midnight-blue));
    padding: 6rem 2rem 4rem;
    color: white;
    text-align: center;
}

.single-post-header .post-category {
    margin-bottom: 1rem;
}

.single-post-header .post-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    max-width: 48rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.single-post-header .post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.post-content-area {
    max-width: 48rem;
    margin: -3rem auto 4rem;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.post-content-area .post-thumbnail {
    margin: 0 -3rem 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.post-content-area .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content-area .entry-content {
    font-size: 1.1rem;
    line-height: 2;
    color: hsl(var(--dark-gray));
}

.post-content-area .entry-content p {
    margin-bottom: 1.5rem;
    text-align: right;
}

.post-content-area .entry-content h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: hsl(var(--midnight-blue));
}

.post-content-area .entry-content h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: hsl(var(--midnight-blue));
}

.post-content-area .entry-content blockquote {
    border-right: 4px solid hsl(var(--gold));
    padding: 1rem 1.5rem 1rem 0;
    margin: 1.5rem 0;
    background: hsla(var(--gold), 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.post-content-area .entry-content ul,
.post-content-area .entry-content ol {
    padding-right: 2rem;
    margin-bottom: 1.5rem;
}

.post-content-area .entry-content ul {
    list-style-type: disc;
}

.post-content-area .entry-content ol {
    list-style-type: decimal;
}

.post-content-area .entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.post-content-area .entry-content img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.post-content-area .entry-content a {
    color: hsl(var(--gold));
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-content-area .entry-content a:hover {
    color: hsl(45, 65%, 40%);
}

/* ============================================
   ARCHIVE / BLOG PAGE
   ============================================ */
.archive-header {
    background-color: hsl(var(--midnight-blue));
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.archive-header .archive-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-align: center;
}

.archive-header .archive-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.archive-content {
    padding: 4rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-header-section {
    background-color: hsl(var(--midnight-blue));
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.page-header-section .page-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

.page-content-area {
    max-width: 56rem;
    margin: 3rem auto 4rem;
    padding: 0 2rem;
}

.page-content-area .entry-content {
    font-size: 1.1rem;
    line-height: 2;
    color: hsl(var(--dark-gray));
}

.page-content-area .entry-content p {
    margin-bottom: 1.5rem;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--off-white));
    text-align: center;
    padding: 4rem 2rem;
}

.error-404-content .error-number {
    font-family: 'Tajawal', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    color: hsl(var(--gold));
    line-height: 1;
    margin-bottom: 1rem;
    text-align: center;
}

.error-404-content .error-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--dark-gray));
    margin-bottom: 1rem;
    text-align: center;
}

.error-404-content .error-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    text-align: center;
}

.error-404-content .back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: hsl(var(--gold));
    color: hsl(var(--midnight-blue));
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.error-404-content .back-home-btn:hover {
    background-color: hsl(45, 65%, 45%);
    transform: translateY(-2px);
}

/* ============================================
   SEARCH
   ============================================ */
.search-form-container {
    background-color: hsl(var(--midnight-blue));
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.search-form-container .search-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.search-form-wrapper {
    max-width: 32rem;
    margin: 0 auto;
}

.search-form-wrapper .search-form {
    display: flex;
    gap: 0.75rem;
}

.search-form-wrapper .search-field {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    text-align: right;
}

.search-form-wrapper .search-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form-wrapper .search-submit {
    padding: 0.875rem 1.5rem;
    background-color: hsl(var(--gold));
    color: hsl(var(--midnight-blue));
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.search-form-wrapper .search-submit:hover {
    background-color: hsl(45, 65%, 45%);
}

.search-results-area {
    padding: 4rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-align: center;
}

.pagination a {
    background: white;
    color: hsl(var(--dark-gray));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination a:hover {
    background: hsl(var(--gold));
    color: hsl(var(--midnight-blue));
}

.pagination .current {
    background: hsl(var(--midnight-blue));
    color: white;
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.5rem;
    text-align: center;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
}

.comments-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: hsl(var(--off-white));
    border-radius: var(--radius);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-content p {
    margin-bottom: 0.5rem;
}

.comment-respond .comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.comment-respond .comment-form input,
.comment-respond .comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--off-white));
    margin-bottom: 1rem;
    text-align: right;
}

.comment-respond .comment-form .submit {
    padding: 0.75rem 2rem;
    background-color: hsl(var(--gold));
    color: hsl(var(--midnight-blue));
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.comment-respond .comment-form .submit:hover {
    background-color: hsl(45, 65%, 45%);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-card.pillar-full {
        grid-column: 1 / -1;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.75rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .sakina-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .pillars-section .section-title,
    .recent-posts-section .section-title {
        font-size: 3.75rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .main-navigation .nav-menu,
    .main-navigation .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: hsl(var(--midnight-blue));
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navigation .nav-menu.active,
    .main-navigation .menu.active {
        display: flex;
    }

    .main-navigation .nav-menu li a,
    .main-navigation .menu li a {
        padding: 0.75rem 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .pillars-section .section-title,
    .recent-posts-section .section-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .post-content-area {
        margin: -2rem 1rem 3rem;
        padding: 2rem 1.5rem;
    }

    .post-content-area .post-thumbnail {
        margin: 0 -1.5rem 1.5rem;
    }

    .single-post-header .post-title {
        font-size: 1.75rem;
    }

    .quote-section blockquote {
        font-size: 1.35rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
