/*------------------------------------------------------------------
 * KSA Hosting - shufytheme layout fixes (2026-11-09)
 * Scoped styles only. Nothing here targets body/html globally.
 *------------------------------------------------------------------*/

/* Blog banner shown above the footer (was a pasted full HTML page with
   a global body{} rule and a fixed 728px width). Now scoped + responsive. */
.ksa-blog-banner {
    width: 100%;
    max-width: 728px;
    min-height: 120px;
    margin: 20px auto;
    padding: 16px 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #117c46 0%, #0b4d2b 100%);
    border: 2px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    overflow: hidden;
    position: relative;
}
.ksa-blog-banner__text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.ksa-blog-banner__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.ksa-blog-banner__subtitle {
    font-size: 15px;
    font-weight: 400;
    margin-top: 8px;
    color: #e0e0e0;
    opacity: 0.9;
}
.ksa-blog-banner__icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 140px;
    line-height: 1;
    color: #fff;
    opacity: 0.07;
    z-index: 1;
    pointer-events: none;
}
.ksa-blog-banner__btn,
.ksa-blog-banner__btn:visited {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    background: linear-gradient(to bottom, #d4af37, #c49f27);
    color: #0b4d2b;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.ksa-blog-banner__btn:hover,
.ksa-blog-banner__btn:focus {
    color: #0b4d2b;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #eac54f, #d4af37);
}
@media (max-width: 767.98px) {
    .ksa-blog-banner {
        width: auto;
        margin: 20px 16px;
        padding: 18px 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .ksa-blog-banner__title {
        font-size: 22px;
    }
    .ksa-blog-banner__subtitle {
        font-size: 14px;
    }
    .ksa-blog-banner__btn {
        align-self: center;
        padding: 10px 22px;
        font-size: 15px;
    }
    .ksa-blog-banner__icon {
        font-size: 100px;
    }
}
