/* ====================================
HOMEPAGE LAYOUT
==================================== */

.sudanads-homepage {

    padding:0 14px 90px;

    box-sizing:border-box;

}

/* Remove Astra header separator line */
.site-primary-header-wrap {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Force remove any header divider */
.site-primary-header-wrap,
.ast-builder-grid-row,
.site-header-section,
.site-header {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ====================================
HERO
==================================== */

.hero-section {

    padding:22px 16px 18px;

    text-align:center;

}

/* ====================================
HERO TITLE
==================================== */

.hero-title {

    margin:8px auto 0 !important;

    color:#111827 !important;

    font-size:28px !important;

    font-weight:900 !important;

    line-height:1.5 !important;

    text-align:center !important;

}

/* ====================================
SECTION
==================================== */

.sa-home-section {

    margin-bottom:8px;

}

/* ====================================
SECTION HEADER
==================================== */

.home-section-header {

    display:flex;

    align-items:center;

    justify-content:flex-start;

    text-align:right;

    direction:rtl;

    margin-bottom:4px;

}

/* ====================================
SECTION TITLE
==================================== */

.home-section-title {

    margin:0;

    width:100%;

    text-align:right;

    direction:rtl;

    font-size:28px;

    font-weight:900;

    line-height:1.25;

    color:#111827;

}

/* ====================================
FEATURED TITLE
==================================== */

.sa-home-featured .home-section-title {

    color:#111827;

}

/* ====================================
RECENT TITLE
==================================== */

.sa-home-recent .home-section-title {

    color:#111827;

}

/* ====================================
EMPTY STATE
==================================== */

.empty-state {

    background:#ffffff;

    border:2px dashed #d1d5db;

    border-radius:22px;

    padding:32px 18px;

    text-align:center;

    color:#6b7280;

    font-size:15px;

    font-weight:700;

}

/* ====================================
REMOVE EMPTY SPACERS
==================================== */

.sudanads-homepage p:empty {

    display:none;

}

.sudanads-homepage .wp-block-spacer {

    display:none;

}

/* ====================================
TABLET
==================================== */

@media(max-width:992px) {

    .home-section-title {

        font-size:26px;

    }

}

/* ====================================
MOBILE
==================================== */

@media(max-width:768px) {

    .sudanads-homepage {

        padding:0 12px 110px;

    }

    .hero-section {

        padding:20px 12px 16px;

    }

    .hero-title {

        font-size:22px !important;

        line-height:1.3 !important;

    }

    .sa-home-section {

        margin-bottom:6px;

    }

    .home-section-header {

        margin-bottom:4px;

    }

    .home-section-title {

        font-size:22px;

        line-height:1.3;

    }

    .empty-state {

        border-radius:18px;

        padding:26px 16px;

        font-size:14px;

    }

}

/* ====================================
CONTACT SECTION
==================================== */

.sudanads-contact-box{

    max-width:620px;

    margin:28px auto 12px;

    padding:30px 22px;

    background:#ffffff;

    border:1px solid #edf1ed;

    border-radius:24px;

    text-align:center;

    box-shadow:
    0 4px 14px rgba(0,0,0,.05);

}

/* ====================================
CONTACT TITLE
==================================== */

.contact-title{

    margin:0 0 10px;

    font-size:30px;

    font-weight:900;

    line-height:1.3;

    color:#111827;

}

/* ====================================
CONTACT TEXT
==================================== */

.contact-text{

    max-width:460px;

    margin:0 auto 22px;

    font-size:16px;

    line-height:1.8;

    color:#6b7280;

}

/* ====================================
CONTACT BUTTONS
==================================== */

.contact-buttons{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;

}

/* ====================================
CONTACT BUTTON
==================================== */

.contact-btn{

    min-width:170px;

    height:54px;

    padding:0 22px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    border-radius:16px;

    text-decoration:none !important;

    font-size:15px;

    font-weight:800;

    transition:.18s ease;

}

/* ====================================
WHATSAPP
==================================== */

.contact-btn.whatsapp{

    background:#16a34a;

    color:#ffffff;

    box-shadow:
    0 6px 14px rgba(22,163,74,.18);

}

/* ====================================
EMAIL
==================================== */

.contact-btn.email{

    background:#f3f4f6;

    color:#111827;

}

/* ====================================
BUTTON HOVER
==================================== */

.contact-btn:hover{

    transform:translateY(-2px);

}

/* ====================================
MOBILE
==================================== */

@media(max-width:768px){

    .sudanads-contact-box{

        margin:24px auto 10px;

        padding:24px 18px;

        border-radius:20px;

    }

    .contact-title{

        font-size:25px;

    }

    .contact-text{

        font-size:15px;

        margin-bottom:20px;

    }

    .contact-buttons{

        flex-direction:column;

    }

    .contact-btn{

        width:100%;

        min-width:100%;

    }

}

/* ====================================
REMOVE FOOTER
==================================== */

footer,
.site-footer,
.ast-footer-overlay,
.ast-footer-copyright,
.footer-adv,
.footer-widget-area{

    display:none !important;

}

/* ====================================
REMOVE EXTRA SPACE UNDER CONTACT
==================================== */

.sudanads-contact-box{

    margin-bottom:0 !important;

}

/* ====================================
REMOVE BOTTOM PAGE SPACE
==================================== */

.site-content,
.ast-container,
.entry-content{

    padding-bottom:0 !important;

    margin-bottom:0 !important;

}

/* ====================================
LAST SECTION NO EXTRA SPACE
==================================== */

.sa-home-section:last-child{

    margin-bottom:0 !important;

}

/* ====================================
BODY EXTRA SPACE FIX
==================================== */

body.home{

    padding-bottom:110px !important;

}