/*
Theme Name: Wamda Lite
Author: Wamda
Version: 1.0
*/

body {
    font-family: 'Tajawal', sans-serif;
    background: #accad8;
    color: #45575f;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
}


.site-title {
    font-size: 22px;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #0073aa;
}

.post {
    margin-bottom: 30px;
}

.post-title {
    font-size: 20px;
    margin-bottom: 10px;
}


footer {
    border-top: 1px solid #eee;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    background: #fff;
    margin-top: 25px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* تابلت */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* جوال */
@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* كرت المقال */
.post-card {
    background: #ecf2f5;
    color: #437a93;
    padding: 10px 10px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* عنوان المقال */
.post-title {
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

/* المشاهدات */
.post-views {
    font-size: 13px;
    opacity: 0.9;
}

.archive-description {
    font-size: 14px;
    color: #666;
    margin: 10px 0 20px;
    line-height: 1.6;
}



.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 10px;
    background: #eee;
    border-radius: 6px;
    font-size: 14px;
}

.pagination .current {
    background: #7b97a4;
    color: #fff;
}

.breadcrumb {
    font-size: 18px;
    color: #1e2025;
    margin-bottom: 15px;
    font-weight: 500;
}

.breadcrumb a {
    color: #0073aa;
}

.breadcrumb a:hover {
    text-decoration: underline;
}




.post-main-title {
    font-size: 30px;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
}

.post-content {
    font-size: 17px;
    line-height: 2;
}

/* ضبط اقرأ ايضا */
.wmdh-ra {
    margin-top: 25px;
}


.post-content p {
    font-size: 20px;
    line-height: 2.0;
    margin-bottom: 18px;
    font-weight: 500;
}


@media (max-width: 600px) {
    .post-content p {
        font-size: 16px;
        line-height: 2;
            font-weight: 500;

    }
}

header {
    text-align: center;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    margin-bottom: 20px;
}



.site-logo img {
    height: 60px;
    width: auto;
}


.breadcrumb {
    text-align: center;
}





@media (max-width: 1024px) {
    .container {
        margin: 15px;
    }
}

.post-views-single {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
    text-align: center;
}


.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.menu {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.menu li a {
    text-decoration: none;
    color: #2f4f58;
    font-weight: bold;
    font-size: 14px;
}

.menu li a:hover {
    opacity: 0.7;
}

/* البحث */
.nav-search input {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 13px;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/tajawal.woff2') format('woff2');
    font-display: swap;
}


.error-404 {
    text-align: center;
    padding: 50px 0;
}

.error-title {
    font-size: 50px;
    margin-bottom: 10px;
}

.error-text {
    font-size: 18px;
    margin-bottom: 20px;
}

.error-home {
    display: inline-block;
    padding: 8px 15px;
    background: #2f4f58;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 20px;
}

.error-home:hover {
    opacity: 0.8;
}

.error-search input {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}