/* =========================================================
   WooSpax - Static Pages
========================================================= */

.ws-page {
    padding: 45px 0 70px;
    background: #f8f8f8;
    min-height: 60vh;
}

.ws-page .ws-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------------------------------------------------
   Page Card
--------------------------------------------------------- */

.ws-page-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */

.ws-page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.ws-page-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.4;
    font-weight: 800;
    color: var(--ws-heading, #111);
}

/* ---------------------------------------------------------
   Content
--------------------------------------------------------- */

.ws-page-content {
    font-size: 16px;
    line-height: 2;
    color: #444;
}

.ws-page-content > *:first-child {
    margin-top: 0;
}

.ws-page-content > *:last-child {
    margin-bottom: 0;
}

/* العناوين */

.ws-page-content h2 {
    margin: 35px 0 15px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 750;
    color: var(--ws-heading, #111);
}

.ws-page-content h3 {
    margin: 28px 0 12px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--ws-heading, #111);
}

.ws-page-content h4 {
    margin: 24px 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ws-heading, #111);
}

/* الفقرات */

.ws-page-content p {
    margin: 0 0 18px;
}

/* الروابط */

.ws-page-content a {
    color: var(--ws-primary, #111);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ws-page-content a:hover {
    opacity: .75;
}

/* القوائم */

.ws-page-content ul,
.ws-page-content ol {
    margin: 0 0 22px;
    padding-right: 25px;
}

.ws-page-content li {
    margin-bottom: 8px;
}

/* الاقتباس */

.ws-page-content blockquote {
    margin: 25px 0;
    padding: 18px 22px;
    border-right: 4px solid var(--ws-primary, #111);
    background: #f7f7f7;
    border-radius: 8px;
}

/* الصور */

.ws-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* الجداول */

.ws-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.ws-page-content th,
.ws-page-content td {
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    text-align: right;
}

.ws-page-content th {
    background: #f7f7f7;
    font-weight: 700;
}

/* ---------------------------------------------------------
   Gutenberg
--------------------------------------------------------- */

.ws-page-content .wp-block-heading {
    color: var(--ws-heading, #111);
}

.ws-page-content .wp-block-image {
    margin: 25px 0;
}

.ws-page-content .wp-block-list {
    padding-right: 25px;
}

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 767px) {

    .ws-page {
        padding: 25px 0 45px;
    }

    .ws-page .ws-container {
        padding: 0 14px;
    }

    .ws-page-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .ws-page-header {
        margin-bottom: 22px;
        padding-bottom: 16px;
    }

    .ws-page-title {
        font-size: 25px;
    }

    .ws-page-content {
        font-size: 15px;
        line-height: 1.9;
    }

    .ws-page-content h2 {
        font-size: 21px;
        margin-top: 28px;
    }

    .ws-page-content h3 {
        font-size: 18px;
        margin-top: 23px;
    }

    .ws-page-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}