/* Custom site overrides live here. */

/* كحلي: override NewsAlert purple secondary (#271e55) sitewide via theme variables */
:root {
    --dt-secondary-color: #0c2138 !important;
}

.dt_switcherdarkbtn-item,
.dt_switcherdarkbtn {
    display: none !important;
}

.widget_archive .shabwaah-archive-hidden,
.wp-block-archives-list .shabwaah-archive-hidden {
    display: none !important;
}

.shabwaah-archive-toggle,
.shabwaah-front-more-btn {
    display: block;
    width: auto;
    max-width: 180px;
    margin: 15px auto;
    padding: 8px 14px;
    border: 1px solid rgba(var(--dt-main-rgb), 0.45);
    border-radius: 999px;
    background: rgba(var(--dt-main-rgb), 0.12);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.shabwaah-archive-toggle:hover,
.shabwaah-archive-toggle:focus,
.shabwaah-front-more-btn:hover,
.shabwaah-front-more-btn:focus {
    background: rgba(var(--dt-main-rgb), 0.22);
    border-color: rgba(var(--dt-main-rgb), 0.75);
    color: #fff;
    text-decoration: none;
}

.shabwaah-front-widget-moqalat .shabwaah-front-more-btn.dt-btn,
.shabwaah-front-widget-moqalat .shabwaah-front-more-btn.dt-btn-primary {
    display: block !important;
    width: auto !important;
    max-width: 180px;
    margin: 15px auto !important;
    padding: 8px 14px !important;
    border: 1px solid rgba(var(--dt-main-rgb), 0.45) !important;
    border-radius: 999px !important;
    background: rgba(var(--dt-main-rgb), 0.12) !important;
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: inherit;
    line-height: 1;
    text-align: center;
}

.shabwaah-front-widget-archive button.shabwaah-archive-toggle,
button.shabwaah-archive-toggle {
    display: block !important;
    width: auto !important;
    max-width: 180px !important;
    margin: 15px auto !important;
    padding: 8px 14px !important;
    font-size: 1.4rem !important;
    font-weight: inherit !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-align: center;
    box-sizing: border-box;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

body.wp-custom-logo header .site--logo .site--title,
body.wp-custom-logo header .site--logo .site--description {
    display: none;
}

.dt_header-navwrapperinner .site--logo,
.dt_header--mobile .site--logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.dt_header-navwrapperinner .site--logo .custom-logo-link,
.dt_header--mobile .site--logo .custom-logo-link,
.shabwaah-legacy-banner-center .custom-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.dt_header-navwrapperinner .site--logo .custom-logo,
.dt_header--mobile .site--logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
}

.shabwaah-legacy-banner {
    background: var(--dt-black-color);
    min-height: 144px;
    padding: 8px 20px;
    border-bottom: 2px solid rgba(var(--dt-main-rgb), 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 18px;
    direction: ltr;
}

.shabwaah-legacy-banner-side {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
}

.shabwaah-legacy-logo-link {
    display: inline-flex;
    align-items: center;
}

.shabwaah-legacy-banner-side--english {
    justify-content: flex-start;
}

.shabwaah-legacy-banner-side--english .shabwaah-legacy-logo-link {
    margin-right: auto;
}

.shabwaah-legacy-banner-side--arabic {
    justify-content: flex-end;
}

.shabwaah-legacy-banner-side--arabic .shabwaah-legacy-logo-link {
    margin-left: auto;
}

.shabwaah-legacy-banner-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shabwaah-legacy-banner-center .custom-logo {
    display: block;
    width: auto;
    height: 120px;
    max-width: 155px;
    object-fit: contain;
}

.shabwaah-legacy-lion {
    display: block;
    width: auto;
    height: 120px;
    max-width: 155px;
    object-fit: contain;
}

.shabwaah-legacy-english-logo {
    display: block;
    width: auto;
    height: 136px;
    max-width: min(100%, 470px);
    object-fit: contain;
    object-position: left center;
    margin-right: auto;
}

.shabwaah-legacy-ar-image {
    display: block;
    width: auto;
    height: 136px;
    max-width: min(100%, 470px);
    object-fit: contain;
    object-position: right center;
    margin-left: auto;
    margin-right: -14px;
}

.dt_navbar-right > ul,
.dt_navbar-list-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
}

.shabwaah-social-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.shabwaah-social-list {
    margin: 0;
    padding: 0;
    border: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.shabwaah-social-list.widget,
.shabwaah-social-list.widget.widget_social {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.shabwaah-social-list.widget_social a {
    margin: 0;
}

/* Remove theme default red link underline on colored social icons. */
.shabwaah-social-list .shabwaah-social-link,
.shabwaah-social-list.widget_social a.shabwaah-social-link,
.shabwaah-social-list .shabwaah-social-link:hover,
.shabwaah-social-list .shabwaah-social-link:focus,
.shabwaah-social-list .shabwaah-social-link:active,
.shabwaah-social-list.widget_social a.shabwaah-social-link:hover,
.shabwaah-social-list.widget_social a.shabwaah-social-link:focus,
.shabwaah-social-list.widget_social a.shabwaah-social-link:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-underline-offset: 0 !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: inherit;
    outline: none;
}

.shabwaah-social-list .shabwaah-social-link::before,
.shabwaah-social-list .shabwaah-social-link::after,
.shabwaah-social-list.widget_social a.shabwaah-social-link::before,
.shabwaah-social-list.widget_social a.shabwaah-social-link::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.shabwaah-social-link {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 0;
}

.shabwaah-social-link i {
    width: 4.4rem;
    height: 4.4rem;
    line-height: 4.4rem;
    font-size: 1.8rem;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
}

.shabwaah-social-link i::after {
    content: none !important;
    display: none !important;
}

.shabwaah-social-link .fa-telegram-plane,
.shabwaah-social-link .fa-telegram {
    color: #ffffff;
    background-color: #229ed9;
    border-radius: 50%;
}

.shabwaah-social-disabled {
    cursor: default;
    opacity: 0.9;
}

/* -------------------------------------------------------------------------
   Desktop header — Row 1: full width, space-between (RTL: nav+home right,
   social+subscribe left). Row 2: centered search only.
   ------------------------------------------------------------------------- */
.shabwaah-header-menu-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
}

.header--four .dt_navbar-wrapper .dt_navbar-menu.shabwaah-header-menu-shell {
    justify-content: flex-start;
}

.shabwaah-header-rows {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0;
    row-gap: 0.65rem;
}

/* --- Row 1: navigation (inline-end / right in RTL) vs actions (inline-start / left) --- */
.shabwaah-header-row--top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    column-gap: 0;
    overflow: visible;
}

/* LTR: keep same visual (nav block on the right, actions on the left) */
[dir='ltr'] .shabwaah-header-row--top {
    flex-direction: row-reverse;
}

.shabwaah-header-top__nav {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
}

[dir='ltr'] .shabwaah-header-top__nav {
    justify-content: flex-end;
}

.shabwaah-header-top__actions {
    flex: 0 0 auto;
    min-width: 0;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

[dir='ltr'] .shabwaah-header-top__actions {
    justify-content: flex-start;
}

.shabwaah-header-top-actions.dt_navbar-right {
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.shabwaah-header-nav-cluster {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.shabwaah-header-nav-cluster .dt_navbar-nav .dt_navbar-mainmenu > li.shabwaah-nav-row-break {
    display: none !important;
}

.shabwaah-header-nav-cluster .dt_navbar-nav {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    direction: rtl;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    column-gap: 0;
    row-gap: 0;
    box-sizing: border-box;
    overflow: visible;
    gap: 12px;
}

.shabwaah-header-nav-cluster .dt_navbar-nav .dt_home-icon,
.shabwaah-header-nav-cluster .dt_navbar-nav .shabwaah-header-home-icon {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: stretch;
    align-self: stretch;
    position: sticky;
    inset-inline-end: 0;
    z-index: 4;
    background-color: var(--dt-secondary-color, #0c2138);
    visibility: visible !important;
    opacity: 1 !important;
}

.shabwaah-header-nav-cluster .dt_navbar-nav .dt_home-icon a,
.shabwaah-header-nav-cluster .dt_navbar-nav .shabwaah-header-home-icon a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 3.2rem;
    height: 100%;
    padding: 0.7rem 0.9rem !important;
    font-size: 14px !important;
    color: #fff !important;
    background-color: var(--dt-main-color) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.shabwaah-header-nav-cluster .dt_navbar-nav .dt_navbar-mainmenu {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row;
    direction: rtl;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    column-gap: 0;
    row-gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.shabwaah-header-nav-cluster .dt_navbar-nav .dt_navbar-mainmenu > li {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    margin: 0 !important;
    white-space: nowrap;
}

.shabwaah-header-nav-cluster .dt_navbar-nav .dt_navbar-mainmenu > li > a,
.shabwaah-header-nav-cluster .dt_navbar-nav .dt_navbar-mainmenu > li > .nav-link,
.shabwaah-header-nav-cluster .dt_navbar-nav .dt_navbar-mainmenu > li > span > a {
    white-space: nowrap !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.3;
    padding: 0.45rem 4px !important;
    letter-spacing: -0.1px !important;
}

.shabwaah-header-nav-cluster .dt_navbar-nav .dt_navbar-mainmenu > li + li::before {
    content: "/" !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin-inline: 3px !important;
}

/* --- Row 2: search only, horizontally centered --- */
.shabwaah-header-row--bottom {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-top: 0.15rem;
    padding-bottom: 1.1rem;
    margin-bottom: 0.35rem;
}

.shabwaah-header-bottom__search-wrap {
    width: 100%;
    max-width: min(92%, 820px);
    margin-inline: auto;
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.shabwaah-header-search-inline {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}

.shabwaah-header-search-form {
    width: 100%;
    margin: 0;
}

.shabwaah-header-search-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    min-height: 3.35rem;
    box-sizing: border-box;
}

.shabwaah-header-search-btn {
    flex: 0 0 3.25rem;
    width: 3.25rem;
    border: 0;
    background: var(--dt-main-color);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background-color 0.2s ease, filter 0.2s ease;
}

.shabwaah-header-search-btn:hover,
.shabwaah-header-search-btn:focus {
    background: #9a0c24;
    outline: none;
}

.shabwaah-header-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0.35rem 1rem;
    font-size: 1.45rem;
    line-height: 1.3;
}

.shabwaah-header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.shabwaah-header-search-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(var(--dt-main-rgb), 0.45);
}

/* Mobile menu: single column, no forced row break. */
.dt_mobilenav-mainmenu-inner .shabwaah-nav-row-break {
    display: none !important;
}

.dt_mobilenav-mainmenu-inner .dt_navbar-mainmenu {
    display: block !important;
}

.dt_mobilenav-mainmenu-inner .dt_navbar-mainmenu > li {
    display: block !important;
}

.dt_navbar-right {
    margin-inline-start: auto;
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.dt_navbar-menu {
    position: relative;
    overflow: visible;
    max-width: 100%;
}

.dt_navbar-menus {
    overflow: visible;
    max-width: 100%;
}

.shabwaah-header-menu-shell,
.header--four .dt_navbar-wrapper .dt_navbar-menu.shabwaah-header-menu-shell {
    overflow: visible !important;
}

.dt_navbar-list-right {
    gap: 10px;
    position: relative;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    min-width: 0;
    overflow: visible;
}

.dt_navbar-list-right > li {
    margin-right: 0 !important;
    flex: 0 0 auto;
    min-width: 0;
}

.dt_navbar-search-item,
.dt_navbar-button-item {
    flex: 0 0 auto;
}

/* Top bar: hide Trending News ticker; show date/time only. */
.dt_header-topbar .dt-news-headline,
.dt_header-topbar .widget.dt-news-headline,
.dt_header-topbar .dt_heading,
.dt_header-topbar .widget.dt-weather,
.dt_header-topbar .dt-col-lg-7 {
    display: none !important;
}

.dt_header-topbar .dt-row {
    justify-content: center;
}

.dt_header-topbar .dt-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.shabwaah-topbar-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 12px;
    direction: ltr !important;
    min-height: 40px;
}

.shabwaah-topbar-actions {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 10px;
    visibility: visible !important;
    opacity: 1 !important;
}

.shabwaah-topbar-social-list {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.shabwaah-topbar-social-list .shabwaah-social-link i {
    width: 3.2rem;
    height: 3.2rem;
    line-height: 3.2rem;
    font-size: 1.4rem;
}

.shabwaah-topbar-meta {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    min-width: 0;
    direction: rtl;
    margin-left: auto;
    text-align: right;
}

.dt_header-topbar .widget.dt-current-date {
    display: inline-flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.dt_header-topbar .dt-current-date span,
.dt_header-topbar .dt-current-date .dt-time {
    white-space: nowrap;
}

.shabwaah-topbar-subscribe {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
    padding: 0.35rem 0.75rem !important;
    font-size: 12px !important;
    line-height: 1.4;
}

/* Treat small laptop widths as desktop header, not mobile. */
@media (min-width: 640px) and (max-width: 991.98px) {
    .dt_header-topbar.dt-d-lg-block.dt-d-none,
    .dt_navbar.dt-d-none.dt-d-lg-block {
        display: block !important;
    }

    .dt_mobilenav.dt-d-lg-none {
        display: none !important;
    }

    .shabwaah-topbar-inner {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .shabwaah-topbar-actions {
        display: inline-flex !important;
    }

    .shabwaah-topbar-meta {
        display: inline-flex !important;
        margin-left: auto !important;
    }
}

/* Hide Top Tags title/list; keep Latest Story ticker. */
.exclusive-tags,
.exclusive-tags-inner {
    display: none !important;
}

.exclusive-wrapper .exclusive-posts {
    width: 100%;
    display: block;
    min-height: 45px;
    overflow: hidden;
}

.exclusive-wrapper .exclusive-posts .title {
    float: right !important;
    margin: 0 0 0 5px !important;
}

.exclusive-slides {
    overflow: hidden;
    display: block;
    min-height: 45px;
}

.exclusive-posts .marquee {
    direction: ltr;
}

.exclusive-posts .marquee a {
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;
	padding: 0 20px;
}

.exclusive-posts .marquee a img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    margin-left: 15px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100%;
}

/* Header search: dropdown toggle (mobile + small screens only item). */
.shabwaah-search-item--dropdown {
    position: relative;
    flex: 0 0 4.4rem;
    width: 4.4rem;
    height: 4.4rem;
    overflow: visible;
}

.shabwaah-search-toggle {
    color: #fff;
    border: 0;
    padding: 0;
    outline-offset: 5px;
    font-size: 1.6rem;
    border-radius: 50%;
    position: relative;
    background-color: var(--dt-secondary-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    width: 4.4rem;
    height: 4.4rem;
    line-height: 4.4rem;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.shabwaah-search-toggle:hover,
.shabwaah-search-toggle:focus {
    color: rgba(255, 255, 255, 0.85);
    outline: 0.1rem dotted;
}

.shabwaah-search-toggle .icon {
    width: 1.6rem;
    height: 1.6rem;
    fill: currentColor;
}

.shabwaah-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    z-index: 1200;
    width: 300px;
    max-width: min(300px, calc(100vw - 24px));
    min-width: 0;
    padding: 10px;
    background: var(--dt-black-color);
    border: 1px solid rgba(var(--dt-main-rgb), 0.55);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-sizing: border-box;
}

[dir='rtl'] .shabwaah-search-dropdown {
    left: 0;
    right: auto;
}

html,
body {
    overflow-x: clip;
}

body.shabwaah-search-open {
    overflow-x: clip;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.dt_header,
.dt_header-navwrapper,
.dt_header-navwrapperinner,
.shabwaah-legacy-banner {
    max-width: 100%;
    overflow-x: clip;
}

.shabwaah-search-item.is-open .shabwaah-search-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.shabwaah-search-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 0;
}

.shabwaah-search-field {
    flex: 1 1 auto;
    min-width: 0;
    height: 4.2rem;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.2;
}

.shabwaah-search-field::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.shabwaah-search-field:focus {
    outline: none;
    border-color: rgba(var(--dt-main-rgb), 0.85);
    box-shadow: 0 0 0 2px rgba(var(--dt-main-rgb), 0.25);
}

.shabwaah-search-submit {
    flex: 0 0 auto;
    width: 4.2rem;
    height: 4.2rem;
    border: 0;
    border-radius: 8px;
    background: var(--dt-main-color);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.shabwaah-search-submit:hover,
.shabwaah-search-submit:focus {
    background: #9a0c24;
    outline: none;
}

/* Theme fullscreen search overlay is not used for Shabwaah header search. */
body.dt_header-search--active:not(.shabwaah-allow-fullscreen-search) {
    overflow: auto;
}

body:not(.shabwaah-allow-fullscreen-search).dt_header-search--active .search--header,
body:not(.shabwaah-allow-fullscreen-search).overlay--enabled::before {
    display: none !important;
}

.shabwaah-subscribe-item .dt-btn {
    min-width: 0;
    white-space: nowrap;
}

.dt_header .dt_mobilenav .site--logo .custom-logo {
    width: auto;
    max-width: min(100%, 220px);
    height: auto;
    max-height: 72px;
}

@media (max-width: 1199.98px) {
    .shabwaah-legacy-banner {
        min-height: 118px;
        padding: 8px 14px;
        gap: 14px;
    }

    .shabwaah-legacy-lion {
        height: 96px;
        max-width: 124px;
    }

    .shabwaah-legacy-english-logo {
        height: 102px;
        max-width: min(100%, 340px);
    }

    .shabwaah-legacy-ar-image {
        height: 102px;
        max-width: min(100%, 340px);
        margin-right: -10px;
    }

    .shabwaah-social-link i {
        width: 3.8rem;
        height: 3.8rem;
        line-height: 3.8rem;
        font-size: 1.6rem;
    }

    .shabwaah-legacy-banner-center .custom-logo {
        height: 96px;
        max-width: 124px;
    }
}

/* Section headers: title + slick arrows on one row (homepage carousels). */
.dt-section--title-five .widget-header,
.main-banner-section .widget-header,
.main-featured-section .widget-header,
.main-missed-section .widget-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    overflow: visible !important;
}

.dt-section--title-five .widget-header .widget-title,
.main-banner-section .widget-header .widget-title,
.main-featured-section .widget-header .widget-title,
.main-missed-section .widget-header .widget-title {
    flex: 0 1 auto;
    align-self: center;
    margin-bottom: 0;
}

.widget-header .slick-arrows-top {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px;
    flex: 0 0 auto;
    position: relative !important;
    width: auto !important;
    min-width: 70px;
    height: auto !important;
    margin: 0 0 0 auto !important;
}

[dir='rtl'] .widget-header .slick-arrows-top {
    margin: 0 auto 0 0 !important;
}

.widget-header .slick-arrows-top .slick-prev,
.widget-header .slick-arrows-top .slick-next {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.widget-header .slick-arrows-top .slick-prev:before,
.widget-header .slick-arrows-top .slick-next:before {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* Slick carousel arrows: vendor slick.css uses broken UTF-8; SVG masks + currentColor. */
.widget-header .slick-arrows-top .slick-prev:before,
.widget-header .slick-arrows-top .slick-next:before,
.post-carousel-banner .slick-prev:before,
.post-carousel-banner .slick-next:before,
.featured-posts-carousel.post-carousel .slick-prev:before,
.featured-posts-carousel.post-carousel .slick-next:before,
.post-carousel-missed.post-carousel .slick-prev:before,
.post-carousel-missed.post-carousel .slick-next:before,
.post-carousel .slick-prev:before,
.post-carousel .slick-next:before,
.slick-prev:before,
.slick-next:before {
    font-family: inherit !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 1 !important;
    color: var(--dt-main-color) !important;
    width: 14px;
    height: 14px;
    background-color: currentColor !important;
    background-image: none !important;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.widget-header .slick-arrows-top .slick-prev:before,
.post-carousel-banner .slick-prev:before,
.featured-posts-carousel.post-carousel .slick-prev:before,
.post-carousel-missed.post-carousel .slick-prev:before,
.post-carousel .slick-prev:before,
.slick-prev:before {
    content: "" !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}

.widget-header .slick-arrows-top .slick-next:before,
.post-carousel-banner .slick-next:before,
.featured-posts-carousel.post-carousel .slick-next:before,
.post-carousel-missed.post-carousel .slick-next:before,
.post-carousel .slick-next:before,
.slick-next:before {
    content: "" !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

[dir='rtl'] .widget-header .slick-arrows-top .slick-prev:before,
[dir='rtl'] .post-carousel-banner .slick-prev:before,
[dir='rtl'] .featured-posts-carousel.post-carousel .slick-prev:before,
[dir='rtl'] .post-carousel-missed.post-carousel .slick-prev:before,
[dir='rtl'] .post-carousel .slick-prev:before,
[dir='rtl'] .slick-prev:before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

[dir='rtl'] .widget-header .slick-arrows-top .slick-next:before,
[dir='rtl'] .post-carousel-banner .slick-next:before,
[dir='rtl'] .featured-posts-carousel.post-carousel .slick-next:before,
[dir='rtl'] .post-carousel-missed.post-carousel .slick-next:before,
[dir='rtl'] .post-carousel .slick-next:before,
[dir='rtl'] .slick-next:before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}

.widget-header .slick-arrows-top .slick-prev:hover:before,
.widget-header .slick-arrows-top .slick-next:hover:before,
.post-carousel-banner .slick-prev:hover:before,
.post-carousel-banner .slick-next:hover:before,
.featured-posts-carousel.post-carousel .slick-prev:hover:before,
.featured-posts-carousel.post-carousel .slick-next:hover:before,
.post-carousel-missed.post-carousel .slick-prev:hover:before,
.post-carousel-missed.post-carousel .slick-next:hover:before,
.slick-prev:hover:before,
.slick-next:hover:before {
    color: var(--dt-secondary-color) !important;
}

/* Footer social icons (incl. Telegram + WhatsApp). */
.dt_footer .shabwaah-footer-social {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link,
.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link:hover,
.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link:focus,
.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link:active {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: transparent !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link::before,
.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link::after {
    content: none !important;
    display: none !important;
}

.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link i {
    text-decoration: none !important;
    border: none !important;
}

.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link--telegram i {
    color: #ffffff;
    background-color: #229ed9;
    border-radius: 50%;
}

.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link--whatsapp i {
    background-color: #25d366;
}

.dt_footer .shabwaah-footer-social .shabwaah-footer-social-link--disabled {
    cursor: default;
    opacity: 0.85;
}

/* Article share buttons: isolate from theme content link styles. */
.shabwaah-share-buttons {
    clear: both;
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.shabwaah-share-buttons__title {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
}

.shabwaah-share-buttons__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-content .shabwaah-share-button,
.post-content .shabwaah-share-button:hover,
.post-content .shabwaah-share-button:focus,
.post-content .shabwaah-share-button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: none !important;
    border-bottom: none !important;
    border-radius: 999px;
    box-shadow: none !important;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.post-content .shabwaah-share-button::before,
.post-content .shabwaah-share-button::after {
    content: none !important;
    display: none !important;
}

.post-content .shabwaah-share-button:hover,
.post-content .shabwaah-share-button:focus {
    color: #ffffff;
    opacity: 0.92;
    transform: translateY(-1px);
}

.post-content .shabwaah-share-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}

.post-content .shabwaah-share-button span {
    display: inline-block;
    line-height: 1.2;
}

.post-content .shabwaah-share-button--x {
    background: #111827;
}

.post-content .shabwaah-share-button--whatsapp {
    background: #25d366;
}

.post-content .shabwaah-share-button--telegram {
    background: #229ed9;
}

.post-content .shabwaah-share-button--facebook {
    background: #1877f2;
}

@media (max-width: 575.98px) {
    .shabwaah-share-buttons {
        padding: 16px;
    }

    .shabwaah-share-buttons__list {
        gap: 8px;
    }

    .post-content .shabwaah-share-button,
    .post-content .shabwaah-share-button:hover,
    .post-content .shabwaah-share-button:focus,
    .post-content .shabwaah-share-button:active {
        width: 100%;
    }
}

/* Footer copyright: center across the full width */
.dt_footer .dt_footer-inner > .dt-row.dt-align-items-center {
    justify-content: center;
    width: 100%;
    text-align: center;
}

.dt_footer .dt_footer-inner > .dt-row.dt-align-items-center > .dt-col-md-6:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    text-align: center !important;
}

.dt_footer .dt_footer-inner .copyright {
    display: block;
    width: 100%;
    text-align: center;
}

.dt_footer .dt_footer-inner > .dt-row.dt-align-items-center > .dt-col-md-6:last-child {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    text-align: center !important;
}

/* Decorative floating shapes (triangles/squares/circles) — disabled for performance. */
.background-wrapper {
    display: none !important;
}

/* Site preloader: fully disabled (no overlay on navigation or refresh). */
#dt_preloader,
.dt_preloader,
.dt_preloader-inner,
.dt_preloader-handle,
.dt_preloader-animation,
.dt_preloader-object {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html:not(.shabwaah-search-open),
body:not(.shabwaah-search-open) {
    overflow-x: clip;
    overflow-y: auto !important;
}

/* Main banner dots: anchored at bottom only (in-flow width:100% caused red stripe). */
.main-banner-section .post-carousel-banner .slick-dots,
.main-banner-section .shabwaah-main-banner-slider .slick-dots {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 15 !important;
    /* RTL strip: 1 at the right, then 2, 3… (slider root is dir=ltr for Slick). */
    direction: rtl;
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
    list-style: none;
    overflow-x: hidden;
    box-sizing: border-box;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.main-banner-section .post-carousel-banner .slick-dots li button:before,
.main-banner-section .shabwaah-main-banner-slider .slick-dots li button:before {
    display: none !important;
    content: none !important;
}

/* -------------------------------------------------------------------------
   Front page (Frontpage template): centre carousels + left sidebar stack
   ------------------------------------------------------------------------- */
.shabwaah-front-center-col {
    width: 100%;
}

.shabwaah-banner-centered .shabwaah-banner-grid--with-sidebar {
    display: grid;
    grid-template-columns: 70% 28%;
    justify-content: space-between;
    gap: 2%;
    align-items: stretch;
}

.shabwaah-banner-centered .shabwaah-banner-grid__main,
.shabwaah-banner-centered .shabwaah-banner-grid__aside {
    min-width: 0;
}

.shabwaah-banner-centered .shabwaah-banner-grid__aside {
    align-self: stretch;
    display: flex;
}

.shabwaah-banner-centered .shabwaah-banner-grid__aside .widget {
    margin-bottom: 0;
    width: 100%;
    flex: 1 1 auto;
}

@media (min-width: 480px) and (max-width: 991.98px) {
    .shabwaah-custom-home > .dt-container-md > .dt-row {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .shabwaah-custom-home .shabwaah-front-center-col {
        flex: 1 1 auto;
        width: auto;
        max-width: 70%;
    }

    .shabwaah-custom-home .sidebar-area {
        flex: 0 0 28%;
        width: 28%;
        max-width: 28%;
    }

    .shabwaah-banner-centered .shabwaah-banner-grid--with-sidebar {
        grid-template-columns: 70% 28%;
        gap: 2%;
    }
}

.shabwaah-front-slider-section {
    margin-top: 1.75rem;
}

.shabwaah-front-slider-section:first-child {
    margin-top: 0.5rem;
}

.shabwaah-front-slider-header,
.shabwaah-front-sidebar-header,
.main-banner-section .widget-header.sl-main {
    background: linear-gradient(135deg, var(--dt-secondary-color, #0c2138) 0%, var(--dt-main-color, #b0102f) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.shabwaah-front-slider-header .widget-title,
.shabwaah-front-sidebar-header .widget-title,
.main-banner-section .widget-header.sl-main .widget-title {
    color: #fff;
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
}

.shabwaah-front-slider-header .slick-arrows-top {
    margin-inline-start: 0.5rem;
}

.shabwaah-front-empty {
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.shabwaah-front-moqalat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.shabwaah-front-moqalat-item {
    margin: 0;
    padding: 0.8rem 0;
    line-height: 1.45;
    font-size: 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shabwaah-front-moqalat-item:last-child {
    border-bottom: 0;
}

.shabwaah-front-moqalat-entry {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shabwaah-front-moqalat-avatar {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.shabwaah-front-moqalat-avatar img,
.shabwaah-front-moqalat-avatar .avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.shabwaah-front-moqalat-item a {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.shabwaah-front-moqalat-item a:hover,
.shabwaah-front-moqalat-item a:focus {
    color: var(--dt-main-color);
    text-decoration: underline;
}

.shabwaah-front-widget-moqalat {
    margin-bottom: 1.5rem;
    padding: 0;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.shabwaah-front-widget-moqalat .shabwaah-front-sidebar-header {
    margin-bottom: 0;
    border-radius: 5px 5px 0 0;
}

.shabwaah-front-widget-moqalat .widget-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding: 15px;
}

.shabwaah-more-articles {
    display: block;
    text-align: center;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    font-weight: 700;
    transition: background 0.3s;
}

.shabwaah-more-articles:hover,
.shabwaah-more-articles:focus {
    background-color: #d1122a;
    color: #fff;
}

/* Single post readability */
body.single-post .post-single .post-header .title,
body.single-post .post-single .post-header .title a,
body.single-post .post-single .post-content,
body.single-post .post-single .post-content p,
body.single-post .post-single .post-content li,
body.single-post .post-single .post-content blockquote,
body.single-post .post-single .post-content figcaption {
    font-family: "Noto Naskh Arabic", "Amiri", "Noto Sans Arabic", Tahoma, serif;
}

body.single-post .post-single .post-content {
    font-size: 2rem;
    line-height: 2;
}

body.single-post .post-single .post-content p,
body.single-post .post-single .post-content li {
    font-size: 2rem;
    line-height: 2;
    margin-bottom: 1.35em;
}

body.single-post .post-single .post-header .title,
body.single-post .post-single .post-header .title a {
    font-size: clamp(3rem, 3.4vw, 4.2rem);
    line-height: 1.35;
}

body.single-post .post-single .post-content h2,
body.single-post .post-single .post-content h3,
body.single-post .post-single .post-content h4 {
    font-family: "Noto Kufi Arabic", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, sans-serif;
    line-height: 1.5;
    margin-top: 1.6em;
    margin-bottom: 0.8em;
}

body.single-post .post-single .post-content h2 {
    font-size: 2.8rem;
}

body.single-post .post-single .post-content h3 {
    font-size: 2.4rem;
}

body.single-post .post-single .post-content h4 {
    font-size: 2.1rem;
}

@media (max-width: 767px) {
    body.single-post .post-single .post-content,
    body.single-post .post-single .post-content p,
    body.single-post .post-single .post-content li {
        font-size: 1.8rem;
        line-height: 1.9;
    }

    body.single-post .post-single .post-header .title,
    body.single-post .post-single .post-header .title a {
        font-size: 2.8rem;
    }
}

/* Main slider caption layout: category top-left, title above dots, meta below title. */
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details {
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .category-badge {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 7 !important;
    margin: 0 !important;
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title {
    position: absolute !important;
    right: 16px !important;
    left: 16px !important;
    bottom: 58px !important;
    z-index: 7 !important;
    display: block !important;
    margin: 0 !important;
    line-height: 1.45 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title a {
    display: inline !important;
    color: #fff !important;
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta {
    position: absolute !important;
    right: 16px !important;
    left: 16px !important;
    bottom: 26px !important;
    z-index: 7 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.18rem !important;
    line-height: 1.35 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta li,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta li {
    margin: 0 !important;
}

@media (max-width: 767.98px) {
    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge,
    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .category-badge {
        top: 12px !important;
        left: 12px !important;
    }

    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title {
        right: 12px !important;
        left: 12px !important;
        bottom: 56px !important;
        font-size: 1.85rem !important;
        line-height: 1.35 !important;
    }

    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta {
        right: 12px !important;
        left: 12px !important;
        bottom: 24px !important;
        font-size: 1.08rem !important;
    }
}

.shabwaah-front-widget-archive,
.shabwaah-front-widget-categories {
    margin-bottom: 1.5rem;
}

.shabwaah-front-widget-archive .widget-content ul,
.shabwaah-front-widget-categories .widget-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shabwaah-front-widget-archive .widget-content li,
.shabwaah-front-widget-categories .widget-content li {
    margin-bottom: 0.35rem;
    font-size: 1.3rem;
}

/* Homepage banner — single centered main slider (videos column removed). */
.shabwaah-banner-centered .shabwaah-banner-grid,
.shabwaah-banner-centered .shabwaah-banner-grid--centered {
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.shabwaah-banner-centered .shabwaah-banner-grid__main {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.shabwaah-banner-centered .shabwaah-banner-grid.shabwaah-banner-grid--with-sidebar {
    display: grid;
    grid-template-columns: 70% 28%;
    justify-content: space-between;
    gap: 2%;
    align-items: stretch;
}

.shabwaah-banner-centered .shabwaah-banner-grid.shabwaah-banner-grid--with-sidebar .shabwaah-banner-grid__aside {
    display: flex;
    align-self: stretch;
}

.shabwaah-banner-centered .shabwaah-banner-grid.shabwaah-banner-grid--with-sidebar .shabwaah-front-widget-moqalat {
    flex: 1 1 auto;
}

/* Main story slider (الخبر الرئيسي)
 * Slick ships `[dir=rtl] .slick-slide { float: right }` matching html[dir=rtl].
 * Our banner uses slick `rtl: false` (LTR slide math). Without overriding float, the
 * track position and RTL floats disagree → empty viewport while dots still change.
 */
.shabwaah-banner-grid__main .post-carousel-banner.shabwaah-main-banner-slider .slick-slide {
    float: left !important;
}

.shabwaah-banner-grid__main .post-carousel-banner.shabwaah-main-banner-slider .featured-post-lg,
.shabwaah-banner-grid__main .post-carousel-banner.shabwaah-main-banner-slider .shabwaah-banner-slide-details,
.shabwaah-banner-grid__main .post-carousel-banner.shabwaah-main-banner-slider .shabwaah-banner-slide-title {
    direction: rtl;
    unicode-bidi: isolate;
}

/* Main story slider (الخبر الرئيسي) — explicit viewport height avoids 0-height flex/% chain (black screen). */
.shabwaah-banner-grid__main .post-carousel-banner {
    position: relative !important;
    overflow: visible !important;
    display: block !important;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: transparent !important;
    border: none !important;
    border-radius: 5px;
    box-shadow: none !important;
}

.shabwaah-banner-grid__main .post-carousel-banner.slick-initialized .slick-list {
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 5px;
    flex: none !important;
    aspect-ratio: unset !important;
    height: clamp(260px, 56.25vw, 540px) !important;
    min-height: clamp(260px, 56.25vw, 540px) !important;
    max-height: min(85vh, 720px);
}

.shabwaah-banner-grid__main .post-carousel-banner.slick-initialized .slick-track,
.shabwaah-banner-grid__main .post-carousel-banner .slick-slide,
.shabwaah-banner-grid__main .post-carousel-banner .slick-slide > div,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg {
    height: 100% !important;
    min-height: 100% !important;
    border: none !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .slick-slide,
.shabwaah-banner-grid__main .post-carousel-banner .slick-slide > div {
    position: relative !important;
}

.shabwaah-banner-grid__main .post-carousel-banner.slick-initialized .slick-track {
    position: relative;
    z-index: 1;
    border: none !important;
    outline: none !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg {
    position: relative !important;
    display: block !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    margin: 0;
    background: transparent;
    border: none !important;
    isolation: isolate;
    border-radius: 5px;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    border: none !important;
    border-radius: 5px;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb a {
    display: block;
    width: 100%;
    height: 100%;
    border: none !important;
    border-radius: 5px;
    overflow: hidden;
}

.shabwaah-banner-grid__main .post-carousel-banner .slick-slide,
.shabwaah-banner-grid__main .post-carousel-banner.slick-initialized .slick-slide,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-img,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb img {
    visibility: visible !important;
    opacity: 1 !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-img,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    border: none !important;
    border-radius: 5px;
    background: transparent;
    image-rendering: auto;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-img.shabwaah-writer-fallback-image,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb img.shabwaah-writer-fallback-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: clamp(12px, 2vw, 26px) !important;
    background: rgba(12, 33, 56, 0.92) !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb {
    background: transparent !important;
}

/* Do not hide non-active slides with visibility — if .slick-active is missing/delayed the whole banner goes black. */

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb .inner.shabwaah-banner-slide-placeholder {
    width: 100%;
    height: 100%;
    min-height: 540px;
    background: #121218;
}

/* Disable ALL theme overlays that darken banner images */
.main-banner-section .shabwaah-main-banner-slider::after,
.main-banner-section .shabwaah-main-banner-slider::before,
.shabwaah-banner-grid__main .post-carousel-banner::after,
.shabwaah-banner-grid__main .post-carousel-banner::before,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg::after,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg::before,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb::after,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb::before,
.main-banner-section .shabwaah-main-banner-slider .featured-post-lg .details::after,
.main-banner-section .shabwaah-main-banner-slider .featured-post-lg .details::before,
.main-banner-section .shabwaah-main-banner-slider .shabwaah-banner-slide-details::after,
.main-banner-section .shabwaah-main-banner-slider .shabwaah-banner-slide-details::before,
.slick-dotted .main-banner-section .shabwaah-main-banner-slider .featured-post-lg .details::after {
    display: none !important;
    content: none !important;
    background: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

/* News title — visible on active slide only, above pagination */
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 12 !important;
    margin: 0 !important;
    padding: 15px !important;
    color: #fff !important;
    text-align: right !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8) !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%) !important;
    border: none !important;
    border-radius: 5px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title a {
    color: #fff !important;
    text-decoration: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title a:hover,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title a:focus {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Meta/category — bottom strip only, must not cover the image */
.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details,
.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details,
.slick-dotted .main-banner-section .shabwaah-main-banner-slider .featured-post-lg .details {
    position: absolute !important;
    top: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    right: auto !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    max-height: none !important;
    z-index: 11 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    text-align: left !important;
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
}

.main-banner-section .shabwaah-main-banner-slider .featured-post-lg .details a,
.main-banner-section .shabwaah-main-banner-slider .featured-post-lg .details .meta,
.main-banner-section .shabwaah-main-banner-slider .featured-post-lg .details .category-badge {
    pointer-events: auto !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge {
    display: inline-flex !important;
    margin: 0 !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    background: rgba(var(--dt-main-rgb), 0.9) !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 10px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .post-title {
    display: none !important;
}

.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta li,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta a,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge,
.shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge a {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta,
body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta {
    display: none !important;
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb a,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-img,
body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb img,
body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb,
body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb a,
body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-img,
body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .thumb img {
    display: block !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title,
body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%) !important;
}
.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta,
.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta {
    display: none !important;
}

.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .slick-dots li,
.main-banner-section .shabwaah-main-banner-slider .slick-dots li {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border: none !important;
}

.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .slick-dots li button,
.main-banner-section .shabwaah-main-banner-slider .slick-dots li button {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-flex !important;
    font-size: 16px !important;
    color: #fff !important;
    width: auto !important;
    height: auto !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 17px 11px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 6px !important;
    text-indent: 0 !important;
    cursor: pointer;
}

.main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .slick-dots li.slick-active button,
.main-banner-section .shabwaah-main-banner-slider .slick-dots li.slick-active button {
    background: var(--dt-main-color, #c41e3a) !important;
    border-color: var(--dt-main-color, #c41e3a) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .shabwaah-banner-grid__main .post-carousel-banner.slick-initialized .slick-list {
        height: clamp(220px, 62vw, 460px) !important;
        min-height: clamp(220px, 62vw, 460px) !important;
        max-height: min(70vh, 520px);
    }

    .shabwaah-banner-grid__main .post-carousel-banner.slick-initialized .slick-track,
    .shabwaah-banner-grid__main .post-carousel-banner .slick-slide,
    .shabwaah-banner-grid__main .post-carousel-banner .slick-slide > div,
    .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg,
    .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-img {
        height: 100% !important;
        min-height: 100% !important;
    }

    .shabwaah-banner-centered .shabwaah-banner-grid--with-sidebar,
    .shabwaah-banner-centered .shabwaah-banner-grid.shabwaah-banner-grid--with-sidebar {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }

    .shabwaah-banner-centered .shabwaah-banner-grid__main,
    .shabwaah-banner-centered .shabwaah-banner-grid__aside {
        width: 100% !important;
        max-width: 100% !important;
    }

    .shabwaah-banner-centered .shabwaah-banner-grid__aside {
        margin-top: 25px !important;
    }

    .main-banner-section .post-carousel-banner .slick-dots,
    .main-banner-section .shabwaah-main-banner-slider .slick-dots {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px 6px !important;
        padding: 8px 6px !important;
        overflow-x: visible;
    }

    .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .slick-dots li button,
    .main-banner-section .shabwaah-main-banner-slider .slick-dots li button {
        font-size: 13px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        padding: 10px 6px !important;
        margin: 0 !important;
    }

    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge,
    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .category-badge,
    body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge,
    body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .category-badge {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        margin: 0 !important;
        z-index: 99 !important;
    }

    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge a,
    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .category-badge a,
    body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .category-badge a,
    body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .category-badge a {
        margin: 0 !important;
        padding: 4px 8px !important;
        display: inline-flex !important;
    }

    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta,
    body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details .meta,
    body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-details .meta {
        display: none !important;
    }

    body .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title,
    body .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title {
        position: absolute !important;
        bottom: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 10px 15px !important;
        padding: 15px !important;
        z-index: 8 !important;
        box-sizing: border-box;
    }
}

@media (max-width: 479.98px) {
    .shabwaah-banner-centered .shabwaah-banner-grid {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%) !important;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .shabwaah-banner-centered .shabwaah-banner-grid__aside {
        align-self: auto;
        width: 100% !important;
        max-width: 100% !important;
    }

    .shabwaah-front-widget-moqalat .widget-content,
    .shabwaah-banner-centered .shabwaah-banner-grid__aside .widget-content {
        max-height: none;
        overflow: visible;
    }

    .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .shabwaah-banner-slide-title {
        bottom: 48px !important;
        font-size: 17px !important;
        padding: 8px 12px !important;
        left: 10px !important;
        right: 10px !important;
    }

    .main-banner-section .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details,
    .shabwaah-banner-grid__main .post-carousel-banner .featured-post-lg .details {
        top: 10px !important;
        left: 10px !important;
        right: auto !important;
        padding: 8px 10px !important;
        max-width: calc(100% - 20px) !important;
    }

/* Fix for width: 10000% overflow glitch on section title elements */
.dt-section--title-five .widget-header .widget-title::after, 
.dt-section--title-five .widget .wp-block-search__label::after, 
.dt-section--title-five .widget .wp-block-heading::after {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}}