/*
Theme Name: قالب إخباري احترافي
Theme URI: https://mrj3y.com/
Description: قالب WordPress إخباري احترافي متجاوب مع تصميم عصري
Version: 3.4
Requires at least: 5.0
Requires PHP: 8.0
Author: موقع مرجعي
Author URI: https://mrj3y.com/
Text Domain: news-theme
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-color: #0f766e;
    --secondary-color: #1565c0;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #2c2c2c;
    --text-muted: #5f6368;
    --border-color: #e8eaed;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-sm: 6px;
    --font-default: "Segoe UI", "Segoe UI Arabic", "Segoe UI Symbol", Tahoma, Arial, "Arabic UI Display", "Helvetica Neue", Helvetica, sans-serif;
    --font-size-base: 17px;
    --line-height-base: 1.7;
    --letter-spacing: 0
}

html {
    -webkit-text-size-adjust: 100%;
    /* scroll-behavior: smooth; */
    /* Disabling smooth scroll for performance debug */
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    /* Force hide horizontal overflow */
}

body {
    font-family: var(--font-default);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    letter-spacing: var(--letter-spacing);
    color: var(--text-color);
    background-color: #fff;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1;
    unicode-bidi: embed
}

* {
    font-variant-ligatures: none
}

body,
p,
div,
span,
a,
h1,
h2,
h3,
h4,
h5,
h6,
li,
td,
th,
input,
textarea,
select,
button {
    font-family: var(--font-default) !important;
    unicode-bidi: embed
}

#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before {
    font-family: dashicons !important
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    clip-path: inset(50%)
}

.mrj3y-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.mrj3y-container-fluid {
    width: 100%;
    padding: 0 15px
}

.mrj3y-main {
    padding-top: 108px;
    background: #fff;
    min-height: 60vh
}

body.home .mrj3y-main,
body.mrj3y-home .mrj3y-main {
    padding-top: 112px
}

@media (min-width:769px) {
    .mrj3y-main {
        padding-top: 108px
    }

    body.home .mrj3y-main,
    body.mrj3y-home .mrj3y-main {
        padding-top: 112px
    }
}

.mrj3y-home-sections-bar {
    position: relative;
    left: 0;
    right: 0;
    margin-top: 98px;
    margin-bottom: 10px;
    padding: 0;
    display: none;
    border: none;
    box-shadow: none
}

body.home .mrj3y-home-sections-bar,
body.mrj3y-home .mrj3y-home-sections-bar {
    display: block;
    margin-top: 97px
}

.admin-bar .mrj3y-home-sections-bar {
    margin-top: 129px
}

.mrj3y-home-sections-bar .mrj3y-container {
    background: linear-gradient(160deg, #07343b 0%, #093f47 30%, #0a4952 70%, #07343b 100%);
    border-radius: 0 0 20px 20px;
    padding: 14px 20px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none
}

.mrj3y-home-sections-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    direction: rtl
}

.mrj3y-home-section-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2)
}

.mrj3y-home-section-tab:hover {
    color: #fff;
    background: rgba(15, 118, 110, 0.6);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.4)
}

.mrj3y-home-section-tab:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px
}

@media (max-width:768px) {
    .mrj3y-home-sections-bar .mrj3y-container {
        padding: 10px 12px 12px;
        border-radius: 0 0 16px 16px
    }

    .mrj3y-home-sections-bar-inner {
        gap: 8px
    }

    .mrj3y-home-section-tab {
        padding: 8px 16px;
        font-size: 13px
    }

    body.home .mrj3y-home-sections-bar,
    body.home .mrj3y-home-sections-bar {
        margin-top: 64px
    }

    body.admin-bar .mrj3y-home-sections-bar {
        margin-top: 110px
    }
}

.mrj3y-header-wrapper {
    width: 100%;
    display: block
}

.mrj3y-header-top {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: none;
    height: 45px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

.mrj3y-header-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(10, 55, 64, 0.6) 20%, rgba(12, 79, 90, 0.95) 50%, rgba(10, 55, 64, 0.6) 80%, transparent 100%)
}

.mrj3y-header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #fff;
    gap: 20px;
    height: 100%;
    width: 100%
}

.mrj3y-follow-text {
    margin-left: 10px;
    color: #e0e0e0;
    font-size: 12px
}

.mrj3y-latest-news-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    position: relative;
    padding: 0 18px;
    border-inline: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, transparent 12%, transparent 88%, rgba(255, 255, 255, 0.03) 100%)
}

.mrj3y-latest-news-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #0c4f5a 0%, #0e6b78 50%, #0a3f47 100%);
    padding: 6px 14px 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35)
}

.mrj3y-latest-news-label i {
    color: #fde68a;
    font-size: 12px;
    filter: drop-shadow(0 0 6px rgba(253, 224, 106, 0.55));
    animation: mrj3y-ticker-live-pulse 1.8s ease-in-out infinite
}

@keyframes mrj3y-ticker-live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.65;
        transform: scale(0.92)
    }
}

.mrj3y-latest-news-label span {
    display: inline-block
}

.mrj3y-news-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
    height: 100%;
    display: block;
    width: 100%;
    direction: rtl;
    contain: paint;
}

.mrj3y-news-scroll-inner {
    display: inline-flex;
    gap: 35px;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    width: max-content;
    position: relative;
    direction: rtl;
    animation: mrj3y-scroll-news-rtl 60s linear infinite;
    animation-fill-mode: both;
    will-change: transform
}

.mrj3y-news-scroll-inner:hover {
    animation-play-state: paused
}

.mrj3y-news-scroll-item {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 45px;
    height: 45px;
    padding: 0 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
    min-width: fit-content;
    transition: color 0.2s ease
}

.mrj3y-news-scroll-item + .mrj3y-news-scroll-item::before {
    content: '•';
    margin-inline-end: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    pointer-events: none
}

.mrj3y-news-scroll-item:hover {
    color: #fde68a
}

@keyframes mrj3y-scroll-news-rtl {
    0% {
        transform: translate3d(0, 0, 0)
    }

    100% {
        transform: translate3d(50%, 0, 0)
    }
}

.mrj3y-news-scroll-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to right, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0) 100%);
    z-index: 2;
    pointer-events: none
}

.mrj3y-news-scroll-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to left, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0) 100%);
    z-index: 2;
    pointer-events: none
}

.mrj3y-header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0
}

.mrj3y-header-date i {
    font-size: 14px;
    color: var(--primary-color)
}

.mrj3y-header-social {
    display: flex;
    gap: 12px;
    align-items: center
}

.mrj3y-social-link {
    color: #fff;
    text-decoration: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.mrj3y-social-link i {
    font-size: 14px
}

.mrj3y-social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff
}

.mrj3y-header-main {
    background: #0a3740;
    background: linear-gradient(152deg, rgba(8, 46, 54, 0.52) 0%, rgba(12, 79, 90, 0.52) 50%, rgba(6, 43, 50, 0.52) 100%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.38);
    box-shadow: 0 6px 28px rgba(6, 20, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 0 0 1px rgba(56, 189, 248, 0.22), inset 0 -3px 0 rgba(56, 189, 248, 0.58);
    width: 100%;
    height: 50px;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    z-index: 999;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    transform: translateY(0)
}

.mrj3y-header-main::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 22px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(12, 79, 90, 0.2), rgba(12, 79, 90, 0))
}

.mrj3y-header-main::before {
    display: none
}

.mrj3y-header-main.header-visible {
    transform: translateY(0)
}

.mrj3y-header-main.header-hidden {
    transform: translateY(-100%)
}

.admin-bar .mrj3y-header-top {
    top: 32px !important
}

.admin-bar .mrj3y-header-main {
    top: 80px !important
}

.admin-bar .mrj3y-header-main.header-visible {
    transform: translateY(0)
}

.admin-bar .mrj3y-header-main.header-hidden {
    transform: translateY(-100%)
}

@media screen and (max-width:782px) {
    .admin-bar .mrj3y-header-top {
        display: none !important
    }

    .admin-bar .mrj3y-header-main {
        top: 46px !important
    }

    .admin-bar .mrj3y-header-main.header-visible {
        transform: translateY(0)
    }

    .admin-bar .mrj3y-header-main.header-hidden {
        transform: translateY(-100%)
    }
}

.mrj3y-header-main .mrj3y-header-inner::before {
    display: none
}

.mrj3y-header-main::after {
    display: none
}

.mrj3y-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
    gap: 28px;
    flex-wrap: wrap;
    width: 100%
}

.mrj3y-logo-wrapper {
    flex-shrink: 0;
    min-width: 0;
    margin-right: 42px
}

.mrj3y-logo {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    letter-spacing: -0.5px;
    position: relative;
    padding-right: 15px
}

.mrj3y-logo::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -17.5px;
    width: 3px;
    height: 35px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px
}

.mrj3y-logo-wrapper img {
    max-height: 50px;
    width: auto;
    display: block
}

.mrj3y-nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0
}

.mrj3y-nav {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center
}

.mrj3y-nav li {
    position: relative
}

.mrj3y-nav a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    display: block;
    position: relative;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px 14px 14px 8px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 2px 8px rgba(0, 0, 0, 0.2), -2px 0 0 rgba(0, 0, 0, 0.1)
}

.mrj3y-nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 2px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    opacity: 0
}

.mrj3y-nav li:last-child>a::before {
    display: none
}

.mrj3y-nav a:hover,
.mrj3y-nav .current-menu-item>a,
.mrj3y-nav .current_page_item>a {
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    border-right-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15) inset
}

.mrj3y-nav a:hover::before,
.mrj3y-nav .current-menu-item>a::before,
.mrj3y-nav .current_page_item>a::before {
    opacity: 1
}

.mrj3y-nav ul,
.mrj3y-nav .sub-menu,
.mrj3y-nav .children {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(8, 46, 54, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    list-style: none;
    margin: 8px 0 0 0;
    padding: 8px 6px 10px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    z-index: 1000;
    direction: rtl;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mrj3y-nav>li>ul::before,
.mrj3y-nav>li>.sub-menu::before,
.mrj3y-nav>li>.children::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(255, 255, 255, 0.14)
}

.mrj3y-nav>li>ul::after,
.mrj3y-nav>li>.sub-menu::after,
.mrj3y-nav>li>.children::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 21px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(8, 46, 54, 0.98)
}

.mrj3y-nav li:hover>ul,
.mrj3y-nav li:hover>.sub-menu,
.mrj3y-nav li:hover>.children,
.mrj3y-nav li:focus-within>ul,
.mrj3y-nav li:focus-within>.sub-menu,
.mrj3y-nav li:focus-within>.children {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mrj3y-nav ul li,
.mrj3y-nav .sub-menu li,
.mrj3y-nav .children li {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%
}

.mrj3y-nav ul a,
.mrj3y-nav .sub-menu a,
.mrj3y-nav .children a {
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    margin: 3px 6px;
    position: relative;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    transition: all 0.2s ease
}

.mrj3y-nav ul a::before,
.mrj3y-nav .sub-menu a::before,
.mrj3y-nav .children a::before {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: all 0.2s ease
}

.mrj3y-nav ul a:hover,
.mrj3y-nav .sub-menu a:hover,
.mrj3y-nav .children a:hover,
.mrj3y-nav ul .current-menu-item>a,
.mrj3y-nav .sub-menu .current-menu-item>a,
.mrj3y-nav .children .current-menu-item>a,
.mrj3y-nav ul .current_page_item>a,
.mrj3y-nav .sub-menu .current_page_item>a,
.mrj3y-nav .children .current_page_item>a {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
    padding-right: 24px
}

.mrj3y-nav ul a:hover::before,
.mrj3y-nav .sub-menu a:hover::before,
.mrj3y-nav .children a:hover::before,
.mrj3y-nav ul .current-menu-item>a::before,
.mrj3y-nav .sub-menu .current-menu-item>a::before,
.mrj3y-nav .children .current_page_item>a::before {
    opacity: 1
}

.mrj3y-nav ul ul,
.mrj3y-nav ul .sub-menu,
.mrj3y-nav .sub-menu .sub-menu,
.mrj3y-nav ul .children,
.mrj3y-nav .children .children {
    top: 0;
    right: 100%;
    margin-right: 8px;
    margin-top: 0
}

.mrj3y-nav ul ul::before,
.mrj3y-nav ul .sub-menu::before,
.mrj3y-nav .sub-menu .sub-menu::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent rgba(14, 127, 134, 0.4)
}

.mrj3y-nav li.menu-item-has-children>a::after,
.mrj3y-nav li.page_item_has_children>a::after {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 6px;
    vertical-align: middle;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.mrj3y-nav li.menu-item-has-children:hover>a::after,
.mrj3y-nav li.page_item_has_children:hover>a::after {
    transform: rotate(180deg);
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18)
}

.mrj3y-nav ul li.menu-item-has-children>a::after,
.mrj3y-nav .sub-menu li.menu-item-has-children>a::after,
.mrj3y-nav .children li.page_item_has_children>a::after {
    margin-right: 0;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
    background-size: 14px 14px
}

.mrj3y-nav ul li.menu-item-has-children:hover>a::after,
.mrj3y-nav .sub-menu li.menu-item-has-children:hover>a::after,
.mrj3y-nav .children li.page_item_has_children:hover>a::after {
    transform: rotate(-90deg)
}

.mrj3y-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0
}

@media (min-width:993px) {
    .mrj3y-header-actions-left {
        order: 3
    }

    .mrj3y-header-actions-right {
        order: 4
    }
}

@media (min-width:993px) {
    .mrj3y-dark-mode-toggle {
        background: rgba(0, 0, 0, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.4);
        border-right: 3px solid rgba(255, 255, 255, 0.55);
        width: 38px;
        height: 38px;
        border-radius: 10px 50% 50% 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #fff;
        padding: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.1) inset
    }

    .mrj3y-dark-mode-toggle i {
        font-size: 14px
    }

    .mrj3y-dark-mode-toggle:hover {
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        border-right-color: rgba(255, 255, 255, 0.7);
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15) inset
    }

    .mrj3y-dark-mode-toggle.active i.fa-moon::before {
        content: "\f186"
    }

    .mrj3y-dark-mode-toggle.active i.fa-sun::before {
        content: "\f185"
    }

    .mrj3y-search-icon-btn {
        background: rgba(0, 0, 0, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.4);
        border-left: 3px solid rgba(255, 255, 255, 0.55);
        width: 38px;
        height: 38px;
        border-radius: 10px 50% 50% 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #fff;
        padding: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.1) inset
    }

    .mrj3y-search-icon-btn i {
        font-size: 14px
    }

    .mrj3y-search-icon-btn:hover {
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        border-left-color: rgba(255, 255, 255, 0.7);
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15) inset
    }

    .mrj3y-mobile-menu-toggle {
        display: none !important
    }
}

.mrj3y-menu-icon-line {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    display: block
}

.mrj3y-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 79, 90, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.mrj3y-search-overlay.active {
    display: flex
}

.mrj3y-search-container {
    width: 100%;
    max-width: 700px;
    position: relative
}

.mrj3y-search-close {
    position: absolute;
    top: -50px;
    left: 0;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0
}

.mrj3y-search-close i {
    font-size: 18px
}

.mrj3y-search-close:hover {
    background: rgba(12, 79, 90, 0.5);
    border-color: rgba(255, 255, 255, 0.8)
}

.mrj3y-search-form-wrapper {
    background: rgba(12, 79, 90, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(12, 79, 90, 0.5);
    width: 100%;
    max-width: 800px;
    margin: 0 auto
}

.mrj3y-search-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5)
}

.mrj3y-search-input-wrapper {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(12, 79, 90, 0.5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15)
}

.mrj3y-search-field {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-family: inherit;
    background: transparent;
    color: #fff
}

.mrj3y-search-field:focus {
    outline: none
}

.mrj3y-search-field::placeholder {
    color: rgba(255, 255, 255, 0.6)
}

.mrj3y-search-submit {
    background: rgba(12, 79, 90, 0.85);
    color: #fff;
    border: none;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    border-right: 2px solid rgba(12, 79, 90, 0.5)
}

.mrj3y-search-submit:hover {
    background: rgba(12, 79, 90, 1)
}

.mrj3y-search-results {
    margin-top: 20px;
    max-height: 500px;
    overflow-y: auto;
    direction: rtl;
    padding-right: 5px
}

.mrj3y-search-results::-webkit-scrollbar {
    width: 8px
}

.mrj3y-search-results::-webkit-scrollbar-track {
    background: rgba(12, 79, 90, 0.2);
    border-radius: 4px
}

.mrj3y-search-results::-webkit-scrollbar-thumb {
    background: rgba(12, 79, 90, 0.6);
    border-radius: 4px
}

.mrj3y-search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(12, 79, 90, 0.85)
}

.mrj3y-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.mrj3y-search-result-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(12, 79, 90, 0.4);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    align-items: center
}

.mrj3y-search-result-item:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(12, 79, 90, 0.65);
    box-shadow: 0 4px 15px rgba(12, 79, 90, 0.2)
}

.mrj3y-search-result-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1)
}

.mrj3y-search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.mrj3y-search-result-image.mrj3y-no-image {
    background: rgba(12, 79, 90, 0.35)
}

.mrj3y-search-result-content {
    flex: 1;
    min-width: 0
}

.mrj3y-search-result-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.mrj3y-search-result-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 8px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.mrj3y-search-result-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500
}

body.mrj3y-dark-mode .mrj3y-search-result-item {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(14, 127, 134, 0.3)
}

body.mrj3y-dark-mode .mrj3y-search-result-item:hover {
    background: rgba(40, 40, 40, 1);
    border-color: rgba(14, 127, 134, 0.5)
}

body.mrj3y-dark-mode .mrj3y-search-result-title {
    color: #fff
}

body.mrj3y-dark-mode .mrj3y-search-result-excerpt {
    color: #cccccc
}

body.mrj3y-dark-mode .mrj3y-search-result-date {
    color: #999999
}

.mrj3y-search-loading,
.mrj3y-search-no-results,
.mrj3y-search-error {
    text-align: center;
    padding: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 600
}

.mrj3y-search-loading i {
    margin-left: 10px;
    font-size: 20px
}

.mrj3y-search-more {
    margin-top: 15px;
    text-align: center;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.2)
}

.mrj3y-search-more a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 25px;
    background: rgba(12, 79, 90, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    display: inline-block
}

.mrj3y-search-more a:hover {
    background: rgba(12, 79, 90, 0.75);
    border-color: rgba(255, 255, 255, 0.6)
}

.mrj3y-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease
}

.mrj3y-mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible
}

.mrj3y-mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: rgba(8, 46, 54, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10001;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    contain: layout style
}

.mrj3y-mobile-menu-overlay.active {
    transform: translateX(0);
    pointer-events: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12)
}

.mrj3y-mobile-menu-content {
    display: flex;
    flex-direction: column;
}

.mrj3y-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    min-height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12)
}

.mrj3y-mobile-menu-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.02em
}

.mrj3y-mobile-menu-close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

.mrj3y-mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25)
}

.mrj3y-mobile-menu-close-icon {
    width: 20px;
    height: 20px;
    position: relative
}

.mrj3y-mobile-menu-close-icon::before,
.mrj3y-mobile-menu-close-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px
}

.mrj3y-mobile-menu-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg)
}

.mrj3y-mobile-menu-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg)
}

.mrj3y-mobile-search {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12)
}

.mrj3y-mobile-search-form {
    margin: 0
}

.mrj3y-mobile-search-inner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 10px 22px rgba(0, 0, 0, 0.18)
}

.mrj3y-mobile-search-inner:focus-within {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10)
}

.mrj3y-mobile-search-field {
    flex: 1;
    padding: 12px 14px 12px 16px;
    border: none;
    font-size: 15px;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.95);
    background: transparent;
    direction: rtl
}

.mrj3y-mobile-search-field::placeholder {
    color: rgba(255, 255, 255, 0.55)
}

.mrj3y-mobile-search-field:focus {
    outline: none
}

.mrj3y-mobile-search-submit {
    padding: 12px 14px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.mrj3y-mobile-search-submit:hover {
    color: #fff
}

.mrj3y-mobile-search-submit svg {
    display: block
}

.mrj3y-mobile-menu-footer {
    margin-top: 0;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mrj3y-mobile-menu-social {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset
}

.mrj3y-mobile-menu-social-label {
    margin: 0 0 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em
}

.mrj3y-mobile-menu-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.mrj3y-mobile-social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease
}

.mrj3y-mobile-social-link-icon {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: transparent;
    border: none;
    color: inherit
}

.mrj3y-mobile-social-link-icon .mrj3y-icon {
    width: 20px;
    height: 20px
}

.mrj3y-mobile-social-link-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.mrj3y-mobile-social-fb:hover,
.mrj3y-mobile-social-fb:focus-visible {
    background: rgba(24, 119, 242, 0.18);
    border-color: rgba(24, 119, 242, 0.35);
    color: #fff
}

.mrj3y-mobile-social-fb:hover .mrj3y-mobile-social-link-icon,
.mrj3y-mobile-social-fb:focus-visible .mrj3y-mobile-social-link-icon {
    background: rgba(24, 119, 242, 0.35);
    border-color: rgba(24, 119, 242, 0.45)
}

.mrj3y-mobile-social-twitter:hover,
.mrj3y-mobile-social-twitter:focus-visible {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff
}

.mrj3y-mobile-social-twitter:hover .mrj3y-mobile-social-link-icon,
.mrj3y-mobile-social-twitter:focus-visible .mrj3y-mobile-social-link-icon {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.2)
}

.mrj3y-mobile-social-telegram:hover,
.mrj3y-mobile-social-telegram:focus-visible {
    background: rgba(0, 136, 204, 0.18);
    border-color: rgba(0, 136, 204, 0.35);
    color: #fff
}

.mrj3y-mobile-social-telegram:hover .mrj3y-mobile-social-link-icon,
.mrj3y-mobile-social-telegram:focus-visible .mrj3y-mobile-social-link-icon {
    background: rgba(0, 136, 204, 0.35);
    border-color: rgba(0, 136, 204, 0.45)
}

.mrj3y-mobile-nav {
    flex: none;
    padding: 12px 0 16px;
    overflow: visible
}

.mrj3y-mobile-nav-label {
    margin: 0 20px 10px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em
}

.mrj3y-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.mrj3y-mobile-nav-list li {
    margin: 0
}

.mrj3y-mobile-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 6px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    position: relative
}

.mrj3y-mobile-nav-list a::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 235, 59, 0.85);
    box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.18);
    flex-shrink: 0;
    margin-left: 10px;
    opacity: 0.9
}

.mrj3y-mobile-nav-list a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid rgba(255, 255, 255, 0.55);
    border-left: 2px solid rgba(255, 255, 255, 0.55);
    transform: rotate(-135deg);
    opacity: 0.7
}

.mrj3y-mobile-nav-list a:hover,
.mrj3y-mobile-nav-list .current-menu-item>a {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.10) inset
}

.mrj3y-mobile-nav-list a:hover::after,
.mrj3y-mobile-nav-list .current-menu-item>a::after {
    opacity: 1
}

@media (prefers-reduced-motion:reduce) {

    .mrj3y-mobile-menu-overlay,
    .mrj3y-mobile-menu-backdrop {
        transition: none
    }
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-overlay {
    background: #1a1a1a
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-header {
    border-bottom-color: #333
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-title {
    color: #e8e8e8
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-close {
    background: #2d2d2d;
    color: #ccc
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-close:hover {
    background: #3d3d3d;
    color: #fff
}

body.mrj3y-dark-mode .mrj3y-mobile-search {
    border-bottom-color: #333
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-footer {
    border-top-color: rgba(255, 255, 255, 0.08)
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-social {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1)
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-social-label {
    color: rgba(255, 255, 255, 0.55)
}

body.mrj3y-dark-mode .mrj3y-mobile-social-link {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e8e8e8
}

body.mrj3y-dark-mode .mrj3y-mobile-social-link-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1)
}

body.mrj3y-dark-mode .mrj3y-mobile-search-inner {
    background: #2d2d2d
}

body.mrj3y-dark-mode .mrj3y-mobile-search-inner:focus-within {
    background: #333;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2)
}

body.mrj3y-dark-mode .mrj3y-mobile-search-field {
    color: #e8e8e8
}

body.mrj3y-dark-mode .mrj3y-mobile-search-field::placeholder {
    color: #777
}

body.mrj3y-dark-mode .mrj3y-mobile-search-submit {
    color: #999
}

body.mrj3y-dark-mode .mrj3y-mobile-nav-label {
    color: #888
}

body.mrj3y-dark-mode .mrj3y-mobile-nav-list a {
    color: #e0e0e0;
    border-bottom-color: #2d2d2d
}

body.mrj3y-dark-mode .mrj3y-mobile-nav-list a:hover,
body.mrj3y-dark-mode .mrj3y-mobile-nav-list .current-menu-item>a {
    background: #252525;
    color: #58c2c7
}

body.mrj3y-dark-mode .mrj3y-header-main {
    background: #1a1a1a !important;
    border-bottom-color: #333 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) !important
}

body.mrj3y-dark-mode .mrj3y-logo {
    color: #e8e8e8 !important
}

body.mrj3y-dark-mode .mrj3y-logo::after {
    background: #58c2c7 !important
}

body.mrj3y-dark-mode .mrj3y-nav a {
    color: #e0e0e0 !important
}

body.mrj3y-dark-mode .mrj3y-nav a:hover,
body.mrj3y-dark-mode .mrj3y-nav .current-menu-item>a,
body.mrj3y-dark-mode .mrj3y-nav .current_page_item>a {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important
}

body.mrj3y-dark-mode .mrj3y-nav a::before,
body.mrj3y-dark-mode .mrj3y-nav a:hover::before,
body.mrj3y-dark-mode .mrj3y-nav .current-menu-item>a::before,
body.mrj3y-dark-mode .mrj3y-nav .current_page_item>a::before {
    background: #58c2c7 !important
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-toggle,
body.mrj3y-dark-mode .mrj3y-dark-mode-toggle,
body.mrj3y-dark-mode .mrj3y-search-icon-btn {
    color: #e0e0e0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #333 !important
}

body.mrj3y-dark-mode .mrj3y-mobile-menu-toggle:hover,
body.mrj3y-dark-mode .mrj3y-dark-mode-toggle:hover,
body.mrj3y-dark-mode .mrj3y-search-icon-btn:hover {
    background: #2d2d2d !important;
    color: #fff !important
}

@media (max-width:992px) {
    body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main {
        background: #1e1e1e !important;
        background: linear-gradient(180deg, #252525 0%, #1a1a1a 100%) !important;
        border-bottom-color: #333 !important;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3) inset !important
    }

    body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle,
    body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn,
    body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: #e5e5e5 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.08) inset !important
    }

    body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle:hover,
    body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn:hover,
    body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.18) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.12) inset !important
    }
}

.mrj3y-section {
    margin-bottom: 40px;
    width: 100%;
    overflow: hidden
}

.mrj3y-section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    width: 100%;
    max-width: 100%
}

.mrj3y-section-title a {
    color: var(--dark-color);
    text-decoration: none
}

@media (max-width:768px) {
    .mrj3y-section {
        margin-bottom: 30px
    }

    .mrj3y-section-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 8px
    }
}

@media (max-width:480px) {
    .mrj3y-section {
        margin-bottom: 25px
    }

    .mrj3y-section-title {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 6px;
        border-bottom-width: 2px
    }
}

.mrj3y-featured {
    margin-bottom: 30px
}

.mrj3y-featured-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    background: #f0f0f0
}

.mrj3y-featured-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3
}

.mrj3y-featured-title a {
    color: var(--text-color);
    text-decoration: none
}

.mrj3y-featured-title a:hover {
    color: var(--primary-color)
}

.mrj3y-single-post {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow)
}

.mrj3y-single-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: #666
}

.mrj3y-single-content {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px
}

.mrj3y-single-content p {
    margin-bottom: 15px
}

.mrj3y-single-content img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    margin: 20px 0;
    display: block
}

.mrj3y-single-image-wrapper {
    aspect-ratio: 16 / 9;
    margin-bottom: 10px
}

.mrj3y-single-image-wrapper img,
.mrj3y-single-image-wrapper .mrj3y-single-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.mrj3y-single-ad-above-google-news {
    margin-top: 10px;
    margin-bottom: 10px
}

.mrj3y-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 30px 0 20px;
    margin-top: 60px;
    border-top: 3px solid #0c4f5a
}

.mrj3y-footer-categories {
    background: rgba(10, 55, 64, 0.25);
    border-bottom: 2px solid rgba(12, 79, 90, 0.45);
    padding: 20px 0;
    margin-bottom: 25px;
    overflow: hidden
}


.mrj3y-footer-category-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(12, 79, 90, 0.35);
    border: 1px solid rgba(12, 79, 90, 0.55);
    border-radius: 6px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: inline-block
}


.mrj3y-footer-category-link:hover {
    background: rgba(12, 79, 90, 0.6);
    border-color: #0c4f5a;
    color: #fff;
    box-shadow: 0 4px 12px rgba(12, 79, 90, 0.35)
}

.mrj3y-footer-quick-tools {
    padding: 24px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08)
}

.mrj3y-footer-quick-tools-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px 20px
}

.mrj3y-quick-link-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    min-width: 160px;
    justify-content: center
}

.mrj3y-quick-link-card:hover {
    background: rgba(12, 79, 90, 0.35);
    border-color: rgba(12, 79, 90, 0.6);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25)
}

.mrj3y-quick-link-icon {
    font-size: 1.5em;
    line-height: 1
}

.mrj3y-quick-link-label {
    white-space: nowrap
}

.mrj3y-footer-pages {
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.mrj3y-footer-pages-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 20px
}

.mrj3y-footer-page-link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    position: relative
}

.mrj3y-footer-page-link::after {
    content: '|';
    position: absolute;
    left: -10px;
    color: rgba(255, 255, 255, 0.3)
}

.mrj3y-footer-page-link:first-child::after {
    display: none
}

.mrj3y-footer-page-link:hover {
    color: #7cc7c9
}

.mrj3y-footer-page-link.current_page_item {
    color: #7cc7c9;
    font-weight: 700
}

.mrj3y-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1)
}

.mrj3y-footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px
}

.mrj3y-footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    width: 100%
}

.mrj3y-footer-bottom-row .mrj3y-copyright-text {
    margin: 0
}

.mrj3y-footer-menu-above-copyright {
    width: 100%;
    margin-bottom: 15px;
    display: block !important
}

.mrj3y-footer-menu-above-copyright-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 15px !important
}

.mrj3y-footer-menu-above-copyright-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important
}

.mrj3y-footer-menu-above-copyright-list a {
    color: #ccc !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: inline-block !important
}

.mrj3y-footer-menu-above-copyright-list a:hover {
    color: #7cc7c9 !important;
    background: rgba(12, 79, 90, 0.3) !important;
    border-color: rgba(12, 79, 90, 0.5) !important
}

.mrj3y-footer-menu-above-copyright-list a.current_page_item {
    color: #7cc7c9 !important;
    background: rgba(12, 79, 90, 0.4) !important;
    border-color: rgba(12, 79, 90, 0.6) !important;
    font-weight: 600 !important
}

.mrj3y-copyright-text {
    color: #999;
    font-size: 13px;
    margin: 0;
    line-height: 1.8;
    text-align: center
}

.mrj3y-copyright-text-label {
    color: #999;
    font-weight: 500
}

.mrj3y-copyright-site {
    color: #fff;
    font-weight: 700
}

.mrj3y-search-form {
    margin-bottom: 30px;
    display: flex;
    gap: 10px
}

.mrj3y-search-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px
}

.mrj3y-search-input:focus {
    outline: none;
    border-color: var(--primary-color)
}

.mrj3y-search-results {
    margin-top: 30px
}

.mrj3y-search-result {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color)
}

@media (min-width:993px) {
    .mrj3y-header-top {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        z-index: 1000 !important
    }

    .mrj3y-header-main {
        top: 43px !important
    }

    .admin-bar .mrj3y-header-main {
        top: 75px !important
    }

    .mrj3y-nav-wrapper {
        display: flex !important
    }

    .mrj3y-mobile-menu-toggle {
        display: none !important
    }

    .mrj3y-mobile-menu-overlay {
        display: none !important
    }

    .mrj3y-mobile-menu-backdrop {
        display: none !important
    }

    .mrj3y-header-inner {
        flex-wrap: nowrap;
        gap: 10px
    }

    .mrj3y-nav {
        flex-wrap: nowrap;
        gap: 2px
    }

    .mrj3y-nav a {
        font-size: 14px;
        padding: 8px 10px
    }

    .mrj3y-logo-wrapper {
        flex: 0 0 auto;
        margin-right: 10px
    }

    .mrj3y-header-actions {
        flex: 0 0 auto;
        gap: 6px
    }

    .mrj3y-nav-wrapper {
        padding: 0 4px
    }
}

@media (max-width:992px) {
    .mrj3y-header-top {
        display: none !important
    }

    .mrj3y-nav-wrapper {
        display: none !important
    }

    .mrj3y-mobile-menu-toggle {
        display: flex !important
    }

    .mrj3y-main {
        padding-top: 64px
    }

    body.home .mrj3y-main,
    body.mrj3y-home .mrj3y-main {
        padding-top: 0
    }

    /* ألوان/ظل الهيدر: dynamic-css + critical-css (تجنب تغيّر اللون عند تحميل style.css) */
    .mrj3y-header-wrapper .mrj3y-header-main {
        margin: 0 !important;
        height: 64px !important;
        min-height: 64px !important;
        padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left) !important;
        overflow: visible !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main::before {
        display: none !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main::after {
        display: none !important; /* Removed shadow spacer gap */
        height: 0 !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main.header-visible {
        transform: translateY(0) !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main.header-hidden {
        transform: translateY(-100%) !important
    }

    .admin-bar .mrj3y-header-wrapper .mrj3y-header-main {
        top: 32px !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-container {
        padding: 0 16px !important;
        height: 100% !important;
        max-width: none !important;
        width: 100% !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-inner {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 24px !important;
        align-items: center !important;
        justify-items: center !important;
        height: 100% !important;
        width: 100% !important;
        direction: rtl !important;
        padding: 0 !important;
        margin: 0 !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-actions-right {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        display: flex !important;
        align-items: center !important;
        gap: 24px !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-logo-wrapper {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
        transform: translateX(30px) !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-logo {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #fff !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-logo-wrapper img,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-logo-image {
        max-height: 36px !important;
        max-width: 120px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-actions-left {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        padding-inline-end: 10px !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-right: 3px solid rgba(255, 255, 255, 0.55) !important;
        border-radius: 10px 50% 50% 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        background: rgba(0, 0, 0, 0.2) !important;
        color: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.1) inset !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle:hover {
        background: rgba(0, 0, 0, 0.3) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15) inset !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-left: 3px solid rgba(255, 255, 255, 0.55) !important;
        border-radius: 50% 10px 10px 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        background: rgba(0, 0, 0, 0.2) !important;
        color: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.1) inset !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle {
        flex-direction: column !important;
        gap: 4px !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn:hover,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle:hover {
        background: rgba(0, 0, 0, 0.3) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15) inset !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle i,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn i {
        font-size: 16px !important;
        color: inherit !important
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle .mrj3y-menu-icon-line {
        width: 14px !important;
        height: 2px !important;
        background: currentColor !important;
        border-radius: 1px !important;
        display: block !important
    }
}

@media (max-width:768px) {
    .admin-bar .mrj3y-header-main {
        top: 46px !important
    }

    .mrj3y-latest-news-label {
        font-size: 11px;
        padding: 3px 10px
    }


    .mrj3y-follow-text {
        display: none
    }

    .mrj3y-featured-title {
        font-size: 24px
    }


    .mrj3y-footer-quick-tools {
        padding: 18px 0
    }

    .mrj3y-footer-quick-tools-inner {
        gap: 12px 14px
    }

    .mrj3y-quick-link-card {
        padding: 12px 18px;
        font-size: 14px;
        min-width: 140px
    }


    .mrj3y-footer-category-link {
        font-size: 12px;
        padding: 6px 12px
    }

    .mrj3y-footer-pages-inner {
        gap: 8px 15px
    }

    .mrj3y-footer-page-link {
        font-size: 12px;
        padding: 4px 8px
    }

    .mrj3y-copyright-text {
        font-size: 11px
    }

    .mrj3y-mobile-menu-overlay {
        width: 100%;
        max-width: 100%
    }

    .mrj3y-section-title {
        font-size: 20px
    }
}

@media (max-width:480px) {
    .mrj3y-header-top {
        height: 45px
    }

    .mrj3y-header-top-inner {
        font-size: 11px
    }

    .mrj3y-header-date span {
        display: none
    }

    .mrj3y-social-link {
        width: 26px;
        height: 26px
    }

    .mrj3y-social-link i {
        font-size: 11px
    }

    .mrj3y-news-scroll-item {
        line-height: 45px;
        font-size: 11px;
        padding: 0 6px;
        min-width: fit-content
    }

    .mrj3y-news-scroll-inner {
        gap: 15px;
        animation-duration: 40s;
        direction: rtl
    }

    .mrj3y-news-scroll-container {
        direction: rtl
    }

    .mrj3y-latest-news-label {
        font-size: 10px;
        padding: 3px 8px
    }

    .mrj3y-latest-news-label i {
        font-size: 9px
    }

    .mrj3y-grid,

    .mrj3y-featured-image {
        height: 240px;
        object-fit: contain;
        object-position: center
    }

    .mrj3y-featured-title {
        font-size: 20px
    }

    .mrj3y-single-post {
        padding: 20px
    }

    .mrj3y-search-form-wrapper {
        padding: 25px 20px
    }

    .mrj3y-search-title {
        font-size: 24px;
        margin-bottom: 20px
    }

    .mrj3y-search-input-wrapper {
        flex-direction: column;
        gap: 0
    }

    .mrj3y-search-field {
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 0
    }

    .mrj3y-search-submit {
        padding: 15px 25px;
        font-size: 16px;
        border-right: none;
        border-top: 2px solid rgba(14, 127, 134, 0.3);
        border-radius: 0 0 10px 10px
    }

    .mrj3y-search-results {
        max-height: 400px
    }

    .mrj3y-search-result-item {
        flex-direction: column;
        gap: 12px;
        padding: 12px
    }

    .mrj3y-search-result-image {
        width: 100%;
        height: 150px
    }

    .mrj3y-search-result-title {
        font-size: 16px
    }

    .mrj3y-search-result-excerpt {
        font-size: 13px
    }

    .mrj3y-mobile-menu-header {
        padding: 14px 16px
    }

    .mrj3y-mobile-nav-list a {
        padding: 12px 16px;
        font-size: 15px
    }

    .mrj3y-section-title {
        font-size: 17px
    }

    .mrj3y-home-section .mrj3y-section-title {
        font-size: 27px
    }

    .mrj3y-latest-news-section .mrj3y-section-title {
        font-size: 27px
    }

    .mrj3y-footer-quick-tools {
        padding: 14px 0
    }

    .mrj3y-footer-quick-tools-inner {
        gap: 10px 12px
    }

    .mrj3y-quick-link-card {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 120px
    }

    .mrj3y-footer-categories {
        padding: 15px 0
    }


    .mrj3y-footer-category-link {
        font-size: 11px;
        padding: 5px 10px
    }

    .mrj3y-footer-pages {
        padding: 15px 0
    }

    .mrj3y-footer-pages-inner {
        gap: 6px 12px
    }

    .mrj3y-footer-page-link {
        font-size: 11px;
        padding: 3px 6px
    }

    .mrj3y-footer-menu-above-copyright-list {
        gap: 5px 8px !important
    }

    .mrj3y-footer-menu-above-copyright-list a {
        font-size: 11px !important;
        padding: 4px 8px !important
    }

    .mrj3y-copyright-text {
        font-size: 10px;
        line-height: 1.6
    }

}

.mrj3y-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color)
}

.mrj3y-nav-previous a,
.mrj3y-nav-next a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500
}

.mrj3y-nav-previous a:hover,
.mrj3y-nav-next a:hover {
    color: var(--dark-color)
}

.mrj3y-category-page-header {
    margin-bottom: 8px;
    padding: 8px;
    background: linear-gradient(152deg, rgba(8, 46, 54, 0.85) 0%, rgba(10, 55, 64, 0.9) 40%, rgba(12, 79, 90, 0.75) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(12, 79, 90, 0.5);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(30, 5, 15, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden
}

.mrj3y-category-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 79, 90, 0.25) 0%, transparent 50%, rgba(10, 55, 64, 0.2) 100%);
    pointer-events: none
}

.mrj3y-category-page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(12, 79, 90, 0.2) 0%, transparent 70%);
    pointer-events: none
}

.mrj3y-category-page-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(12, 79, 90, 0.4);
    position: relative;
    z-index: 1;
    letter-spacing: 1px
}

.mrj3y-category-page-description {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3)
}

.mrj3y-category-subcategories {
    margin-bottom: 15px;
    padding: 20px;
    background: linear-gradient(152deg, rgba(8, 46, 54, 0.88) 0%, rgba(10, 55, 64, 0.92) 50%, rgba(12, 79, 90, 0.8) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(12, 79, 90, 0.55);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(30, 5, 15, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden
}

.mrj3y-category-subcategories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 79, 90, 0.25) 0%, transparent 50%, rgba(10, 55, 64, 0.2) 100%);
    pointer-events: none;
    z-index: 0
}

.mrj3y-category-subcategories::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0
}

.mrj3y-subcategories-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(14, 127, 134, 0.5);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(14, 127, 134, 0.4);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px
}

.mrj3y-subcategories-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(49, 154, 163, 0.9), transparent);
    box-shadow: 0 0 10px rgba(49, 154, 163, 0.6)
}

.mrj3y-subcategories-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1
}

.mrj3y-subcategories-list li {
    margin: 0;
    padding: 0
}

.mrj3y-subcategory-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(7, 52, 59, 0.8) 0%, rgba(31, 79, 122, 0.7) 100%);
    border: 2px solid rgba(14, 127, 134, 0.4);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden
}

.mrj3y-subcategory-link:hover {
    background: linear-gradient(135deg, rgba(14, 127, 134, 0.7) 0%, rgba(49, 154, 163, 0.6) 100%);
    border-color: rgba(49, 154, 163, 0.8);
    color: #fff;
    box-shadow: 0 6px 20px rgba(14, 127, 134, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3)
}

.mrj3y-subcategory-count {
    color: #ffeb3b;
    font-size: 13px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 235, 59, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5)
}

.mrj3y-category-posts-wrapper {
    margin-bottom: 8px
}

.mrj3y-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.mrj3y-category-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important
}

.mrj3y-category-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important
}

.mrj3y-category-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important
}

.mrj3y-category-grid-5 {
    grid-template-columns: repeat(5, 1fr) !important
}

.mrj3y-home-section {
    margin-bottom: 15px;
    padding: 20px 0 24px;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    scroll-margin-top: 120px
}

.mrj3y-home-section:first-of-type {
    margin-top: 0
}

.mrj3y-home-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0
}

.mrj3y-home-section .mrj3y-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    margin-right: 0;
    padding: 12px 20px 12px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #0f766e;
    border-radius: 6px 0 0 6px;
    text-shadow: none;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06)
}

.mrj3y-home-section .mrj3y-section-title a {
    color: #1a1a1a;
    text-decoration: none
}

.mrj3y-home-section .mrj3y-section-title a:hover {
    color: #0f766e
}

.mrj3y-section-title-sep {
    color: #999;
    margin: 0 6px;
    font-weight: 400
}

.mrj3y-home-row-two {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px;
    margin-bottom: 15px;
    width: 100%
}

.mrj3y-home-row-two .mrj3y-home-section {
    margin-bottom: 0
}


@media (max-width:992px) {
    .mrj3y-home-row-two {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 15px
    }


}

@media (min-width:993px) {
    .mrj3y-home-row-two {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important
    }
}

.mrj3y-title-style-default {}

.mrj3y-title-style-box {
    padding: 14px 24px !important;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%) !important;
    border: 2px solid #e0e0e0 !important;
    border-right: 5px solid #0f766e !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important
}

.mrj3y-title-style-accent {
    padding: 10px 0 10px 20px !important;
    background: transparent !important;
    border: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-bottom: 3px solid #0f766e !important;
    border-right: 5px solid #0f766e !important
}

.mrj3y-home-section .mrj3y-category-post-number {
    display: none !important
}

.mrj3y-latest-news-section {
    margin-bottom: 15px
}

body.home .mrj3y-main .mrj3y-container>section.mrj3y-latest-news-section:first-child,
body.mrj3y-home .mrj3y-main .mrj3y-container>section.mrj3y-latest-news-section:first-child {
    margin-top: 0
}

.mrj3y-latest-news-title-wrapper {
    margin: 16px 0 16px
}

.mrj3y-latest-news-main-title {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    direction: rtl
}

.mrj3y-latest-news-main-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.95), rgba(15, 118, 110, 0.25), transparent);
    border-radius: 1px
}

.mrj3y-title-text {
    font-weight: 800;
    color: inherit;
    text-decoration: none
}

.mrj3y-latest-news-main-title a.mrj3y-title-text:hover {
    color: #0f766e
}

.mrj3y-title-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f766e 0%, #0d5f66 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.22);
    transform: none
}

.mrj3y-title-icon i {
    font-size: 16px
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1)
    }
}

@media (max-width:1024px) {
    .mrj3y-latest-news-main-title {
        font-size: 17px
    }

    .mrj3y-title-icon {
        width: 34px;
        height: 34px;
        min-width: 34px
    }
}

@media (max-width:768px) {
    .mrj3y-latest-news-title-wrapper {
        margin: 14px 0 12px
    }

    .mrj3y-latest-news-main-title {
        font-size: 16px;
        gap: 10px
    }

    .mrj3y-title-icon {
        width: 32px;
        height: 32px;
        min-width: 32px
    }
}

@media (max-width:480px) {
    .mrj3y-latest-news-title-wrapper {
        margin: 12px 0 10px
    }

    .mrj3y-latest-news-main-title {
        font-size: 15px;
        gap: 10px
    }

    .mrj3y-title-icon {
        width: 30px;
        height: 30px;
        min-width: 30px
    }
}


@media (max-width:992px) {
}

@media (max-width:768px) {
}

@media (max-width:480px) {
}

@media (max-width:768px) {

    .mrj3y-latest-news-section .mrj3y-category-post {
        border-radius: 14px;
        overflow: hidden;
        border: 2px solid rgba(12, 79, 90, 0.35);
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.07);
        transition: border-color 0.25s ease, box-shadow 0.25s ease
    }

    .mrj3y-latest-news-section .mrj3y-category-post:hover {
        border-color: rgba(12, 79, 90, 0.6);
        box-shadow: 0 4px 16px rgba(12, 79, 90, 0.15)
    }

    .mrj3y-latest-news-section .mrj3y-category-post-link {
        display: flex !important;
        flex-direction: column !important;
        border: none;
        box-shadow: none
    }

    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 0 !important;
        padding-bottom: 72% !important;
        border-radius: 0
    }

    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper .mrj3y-category-post-image,
    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper .mrj3y-no-image {
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover;
        position: absolute;
        inset: 0
    }

    .mrj3y-latest-news-section .mrj3y-category-post-content {
        padding: 10px 12px 12px
    }

    .mrj3y-latest-news-section .mrj3y-category-post-title {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
        -webkit-line-clamp: 2
    }
}

.mrj3y-latest-news-section .mrj3y-category-post-content {
    padding: 10px 14px 12px;
    min-height: 0
}

.mrj3y-latest-news-section .mrj3y-category-post-title {
    -webkit-line-clamp: 2;
    margin: 0
}

.mrj3y-latest-news-section .mrj3y-category-posts-wrapper {
    padding: 0;
    margin: 0;
    width: 100%
}

.mrj3y-latest-news-section .mrj3y-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    width: 100%
}

.mrj3y-category-post {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(12, 79, 90, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mrj3y-category-post::before {
    display: none
}

.mrj3y-category-post:hover {
    border-color: rgba(12, 79, 90, 0.6);
    box-shadow: 0 4px 16px rgba(12, 79, 90, 0.15)
}

.mrj3y-category-post-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1
}

.mrj3y-category-post-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: linear-gradient(152deg, #0a3f47 0%, #0c4f5a 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(30, 5, 15, 0.4)
}

.mrj3y-category-post-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    background: #f5f5f5
}

.mrj3y-category-post-image-wrapper .mrj3y-category-post-image,
.mrj3y-category-post-image-wrapper .mrj3y-no-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.mrj3y-category-post-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative
}

.mrj3y-category-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: top
}

.mrj3y-category-post-image-link.mrj3y-no-image {
    background: linear-gradient(135deg, rgba(12, 79, 90, 0.1) 0%, rgba(0, 0, 0, 0.06) 100%)
}

.mrj3y-category-post-image-wrapper .mrj3y-no-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #f0f0f0 0%, #e8e8e8 100%);
    color: #888
}

.mrj3y-no-image-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    text-align: center
}

.mrj3y-no-image-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #aaa;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08)
}

.mrj3y-no-image-icon svg {
    width: 28px;
    height: 28px;
    display: block
}

.mrj3y-no-image-text {
    font-size: 13px;
    font-weight: 500;
    color: #777;
    line-height: 1.4;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.mrj3y-category-post-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    line-height: 1.2;
    white-space: nowrap
}

.mrj3y-category-post-content {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    min-height: 72px
}

.mrj3y-category-post-content::before {
    display: none
}

.mrj3y-category-post-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em;
    text-decoration: none;
    border-bottom: 2px solid transparent
}

.mrj3y-category-post-link:hover .mrj3y-category-post-title {
    color: #0c4f5a;
    border-bottom-color: #0c4f5a
}

@media (max-width:992px) {

    .mrj3y-category-grid,
    .mrj3y-latest-news-section .mrj3y-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px
    }

    .mrj3y-category-page-title {
        font-size: 29px
    }
}

@media (max-width:768px) {
    .mrj3y-category-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin: 0;
        padding: 0;
        width: 100%
    }

    .mrj3y-category-post-title {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.6em * 3)
    }

    .mrj3y-latest-news-section {
        padding: 0;
        margin: 0;
        width: 100%
    }

    .mrj3y-latest-news-section .mrj3y-category-posts-wrapper {
        padding: 0;
        margin: 0;
        width: 100%
    }

    .mrj3y-latest-news-section .mrj3y-category-grid {
        margin: 0;
        padding: 0;
        width: 100%;
        grid-template-columns: 1fr !important;
        gap: 10px
    }

    .mrj3y-latest-news-section .mrj3y-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px
    }

    .mrj3y-latest-news-section .mrj3y-category-post {
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
        border: 2px solid rgba(12, 79, 90, 0.35);
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.07);
        transition: border-color 0.25s ease, box-shadow 0.25s ease
    }

    .mrj3y-latest-news-section .mrj3y-category-post:hover {
        border-color: rgba(12, 79, 90, 0.6);
        box-shadow: 0 4px 16px rgba(12, 79, 90, 0.15)
    }

    .mrj3y-latest-news-section .mrj3y-category-post-link {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
        background: transparent
    }

    .mrj3y-latest-news-section .mrj3y-category-post-link::before {
        display: none
    }

    .mrj3y-latest-news-section .mrj3y-category-post-link:hover {
        border: none;
        box-shadow: none
    }

    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper {
        order: 0;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 0;
        min-height: 0;
        max-height: none;
        padding-bottom: 72% !important;
        aspect-ratio: auto;
        border-radius: 0;
        border: none;
        box-shadow: none;
        margin: 0
    }

    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper .mrj3y-category-post-image,
    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper .mrj3y-no-image {
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover;
        position: absolute;
        inset: 0
    }

    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper .mrj3y-category-post-date {
        bottom: 6px;
        right: 6px;
        padding: 3px 6px;
        font-size: 10px
    }

    .mrj3y-latest-news-section .mrj3y-category-post-number {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 10px
    }

    .mrj3y-latest-news-section .mrj3y-category-post-content {
        flex: none;
        padding: 10px 12px 12px;
        min-height: 0;
        justify-content: flex-start;
        align-items: stretch;
        text-align: right;
        display: block
    }

    .mrj3y-latest-news-section .mrj3y-category-post-title {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        padding: 0
    }

    .mrj3y-category-post-image-wrapper {
        height: 0;
        padding-bottom: 55%;
        min-height: 0
    }

    .mrj3y-mobile-columns-1 {
        grid-template-columns: repeat(1, 1fr) !important
    }

    .mrj3y-mobile-columns-2 {
        grid-template-columns: repeat(2, 1fr) !important
    }

    .mrj3y-latest-news-section .mrj3y-category-post-title {
        font-size: 15px;
        -webkit-line-clamp: 2;
        min-height: 0
    }

    .mrj3y-category-post-title {
        font-size: 15px;
        -webkit-line-clamp: 3;
        min-height: 4.05em
    }

    .mrj3y-category-page-title {
        font-size: 25px
    }

    .mrj3y-category-page-description {
        font-size: 14px
    }

    .mrj3y-category-subcategories {
        padding: 15px;
        margin-bottom: 12px
    }

    .mrj3y-subcategories-title {
        font-size: 22px;
        margin-bottom: 12px;
        padding-bottom: 10px
    }

    .mrj3y-subcategories-list {
        gap: 10px
    }

    .mrj3y-subcategory-link {
        font-size: 14px;
        padding: 10px 14px
    }

    .mrj3y-subcategory-count {
        font-size: 12px;
        padding: 2px 6px
    }
}

@media (max-width:480px) {
    .mrj3y-category-subcategories {
        padding: 12px;
        margin-bottom: 10px
    }

    .mrj3y-subcategories-title {
        font-size: 20px;
        margin-bottom: 10px;
        padding-bottom: 8px
    }

    .mrj3y-subcategories-list {
        gap: 8px
    }

    .mrj3y-subcategory-link {
        font-size: 13px;
        padding: 8px 12px
    }

    .mrj3y-subcategory-count {
        font-size: 11px;
        padding: 2px 5px
    }

    .mrj3y-category-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin: 0;
        padding: 0;
        width: 100%
    }

    .mrj3y-category-post-title {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .mrj3y-latest-news-section {
        padding: 0;
        margin: 0;
        width: 100%
    }

    .mrj3y-latest-news-section .mrj3y-category-posts-wrapper {
        padding: 0;
        margin: 0;
        width: 100%
    }

    .mrj3y-latest-news-section .mrj3y-category-grid {
        margin: 0;
        padding: 0;
        width: 100%;
        grid-template-columns: 1fr !important;
        gap: 16px
    }

    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper {
        height: 0;
        padding-bottom: calc(55% - 20px)
    }

    .mrj3y-home-section .mrj3y-section-title {
        font-size: 27px
    }

    .mrj3y-latest-news-section .mrj3y-category-post-content,
    .mrj3y-category-post-content {
        padding: 14px 16px
    }

    .mrj3y-latest-news-section .mrj3y-category-post-title,
    .mrj3y-category-post-title {
        font-size: 14px;
        -webkit-line-clamp: 3;
        min-height: 3.78em
    }

    .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper,
    .mrj3y-category-post-image-wrapper {
        height: 0;
        padding-bottom: calc(55% - 20px)
    }
}

.mrj3y-search-header {
    margin-bottom: 30px
}

.mrj3y-search-header span {
    color: var(--primary-color)
}

.mrj3y-search-form-wrapper {
    margin-bottom: 30px
}

.mrj3y-read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500
}

.mrj3y-read-more:hover {
    color: var(--dark-color)
}

.mrj3y-no-results,
.mrj3y-no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #666
}

.mrj3y-search-suggestions {
    margin-top: 30px;
    text-align: right
}

.mrj3y-search-suggestions h3 {
    margin-bottom: 15px;
    color: var(--dark-color)
}

.mrj3y-search-suggestions ul {
    list-style: none;
    padding: 0
}

.mrj3y-search-suggestions li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color)
}

.mrj3y-page-links {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border-color)
}

.mrj3y-page-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px
}

.mrj3y-page-links a:hover {
    background: var(--primary-color);
    color: #fff
}

.mrj3y-pagination-wrapper {
    width: 100%;
    margin: 30px 0;
    padding: 0
}

.mrj3y-pagination {
    width: 100%;
    background: linear-gradient(135deg, rgba(13, 95, 102, 0.5) 0%, rgba(7, 52, 59, 0.7) 50%, rgba(31, 79, 122, 0.5) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    overflow: hidden
}

.mrj3y-pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 127, 134, 0.15) 0%, transparent 50%, rgba(9, 63, 71, 0.15) 100%);
    pointer-events: none;
    z-index: 0
}

.mrj3y-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    margin: 0;
    color: #fff;
    text-decoration: none;
    background: rgba(7, 52, 59, 0.5);
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    min-width: 44px;
    height: 44px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1)
}

.mrj3y-pagination .page-numbers:hover {
    background: rgba(14, 127, 134, 0.6);
    border-color: rgba(14, 127, 134, 0.6);
    color: #fff;
    box-shadow: 0 4px 12px rgba(14, 127, 134, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15)
}

.mrj3y-pagination .page-numbers.current {
    background: linear-gradient(135deg, rgba(14, 127, 134, 0.8) 0%, rgba(9, 63, 71, 0.8) 100%);
    border-color: rgba(14, 127, 134, 0.8);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 127, 134, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 700
}

.mrj3y-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: default;
    color: rgba(255, 255, 255, 0.6)
}

.mrj3y-pagination .page-numbers.dots:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.6)
}

.mrj3y-pagination .page-numbers i {
    font-size: 12px;
    margin: 0 4px
}

@media (max-width:768px) {
    .mrj3y-pagination {
        padding: 12px 15px;
        gap: 6px
    }

    .mrj3y-pagination .page-numbers {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 40px;
        height: 40px
    }
}

@media (max-width:480px) {
    .mrj3y-pagination {
        padding: 10px 12px;
        gap: 4px
    }

    .mrj3y-pagination .page-numbers {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 36px;
        height: 36px
    }

    .mrj3y-pagination .page-numbers.prev,
    .mrj3y-pagination .page-numbers.next {
        font-size: 11px;
        padding: 6px 8px
    }
}

.mrj3y-text-center {
    text-align: center
}

.mrj3y-mt-20 {
    margin-top: 20px
}

.mrj3y-mb-20 {
    margin-bottom: 20px
}

.mrj3y-hidden {
    display: none
}

.mrj3y-404-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px
}

.mrj3y-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto
}

.mrj3y-404-title {
    font-size: 120px;
    font-weight: 900;
    color: rgba(14, 127, 134, 0.3);
    line-height: 1;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1)
}

.mrj3y-404-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #212121;
    margin: 0 0 15px 0
}

.mrj3y-404-description {
    font-size: 18px;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6
}

.mrj3y-404-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px
}

.mrj3y-404-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(13, 95, 102, 0.6) 0%, rgba(7, 52, 59, 0.8) 50%, rgba(31, 79, 122, 0.6) 100%);
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-radius: 0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    direction: rtl
}

.mrj3y-404-button:hover {
    background: linear-gradient(135deg, rgba(13, 95, 102, 0.8) 0%, rgba(7, 52, 59, 1) 50%, rgba(31, 79, 122, 0.8) 100%);
    border-color: rgba(14, 127, 134, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2)
}

.mrj3y-404-button i {
    font-size: 18px
}

.mrj3y-404-search {
    margin-top: 40px;
    padding: 30px;
    background: rgba(13, 95, 102, 0.03);
    border: 2px solid rgba(14, 127, 134, 0.2);
    border-radius: 0
}

.mrj3y-404-search h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0
}

.mrj3y-404-search .search-form {
    display: flex;
    gap: 10px;
    direction: rtl
}

.mrj3y-404-search .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-radius: 0;
    font-size: 16px;
    direction: rtl
}

.mrj3y-404-search .search-submit {
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(13, 95, 102, 0.6) 0%, rgba(7, 52, 59, 0.8) 50%, rgba(31, 79, 122, 0.6) 100%);
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-radius: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer
}

.mrj3y-404-search .search-submit:hover {
    background: linear-gradient(135deg, rgba(13, 95, 102, 0.8) 0%, rgba(7, 52, 59, 1) 50%, rgba(31, 79, 122, 0.8) 100%)
}

.mrj3y-author-meta {
    margin-top: 15px;
    padding: 15px;
    background: rgba(13, 95, 102, 0.03);
    border: 1px solid rgba(14, 127, 134, 0.2);
    border-radius: 0;
    display: inline-block
}

.mrj3y-author-posts-count {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.mrj3y-author-posts-count i {
    color: rgba(14, 127, 134, 0.7)
}

@media (max-width:768px) {
    .mrj3y-404-title {
        font-size: 80px
    }

    .mrj3y-404-subtitle {
        font-size: 24px
    }

    .mrj3y-404-description {
        font-size: 16px
    }

    .mrj3y-404-actions {
        flex-direction: column
    }

    .mrj3y-404-button {
        width: 100%;
        justify-content: center
    }
}

body.mrj3y-dark-mode {
    background: #1a1a1a;
    color: #e0e0e0
}

body.mrj3y-dark-mode .mrj3y-main {
    background: #1a1a1a
}

body.mrj3y-dark-mode .mrj3y-home-section {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(28, 28, 28, 0.5);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2)
}

body.mrj3y-dark-mode .mrj3y-container {
    background: transparent
}

body.mrj3y-dark-mode .mrj3y-single-post,
body.mrj3y-dark-mode .mrj3y-category-post,
body.mrj3y-dark-mode .mrj3y-category-grid-link {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(14, 127, 134, 0.4)
}

body.mrj3y-dark-mode .mrj3y-single-title,
body.mrj3y-dark-mode .mrj3y-category-post-title,
body.mrj3y-dark-mode .mrj3y-category-grid-title,
body.mrj3y-dark-mode h1,
body.mrj3y-dark-mode h2,
body.mrj3y-dark-mode h3,
body.mrj3y-dark-mode h4 {
    color: #e0e0e0
}

body.mrj3y-dark-mode .mrj3y-single-content,
body.mrj3y-dark-mode .mrj3y-category-page-description,
body.mrj3y-dark-mode p {
    color: #d0d0d0
}

body.mrj3y-dark-mode .mrj3y-breadcrumb,
body.mrj3y-dark-mode .mrj3y-single-post-meta,
body.mrj3y-dark-mode .mrj3y-share-article-section {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(14, 127, 134, 0.3)
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-item,
body.mrj3y-dark-mode .mrj3y-meta-item,
body.mrj3y-dark-mode .mrj3y-meta-text {
    color: #d0d0d0
}

body.mrj3y-dark-mode .mrj3y-footer {
    background: #0f0f0f;
    border-top-color: rgba(12, 79, 90, 0.65)
}

body.mrj3y-dark-mode .mrj3y-category-page-header {
    background: linear-gradient(152deg, rgba(8, 46, 54, 0.9) 0%, rgba(10, 55, 64, 0.92) 100%);
    border-color: rgba(12, 79, 90, 0.5)
}

body.mrj3y-dark-mode .mrj3y-category-page-title {
    color: #e0e0e0
}

body.mrj3y-dark-mode .mrj3y-pagination-wrapper {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(12, 79, 90, 0.5)
}

body.mrj3y-dark-mode .mrj3y-pagination a,
body.mrj3y-dark-mode .mrj3y-pagination span {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(12, 79, 90, 0.4);
    color: #d0d0d0
}

body.mrj3y-dark-mode .mrj3y-pagination a:hover {
    background: rgba(12, 79, 90, 0.4);
    color: #fff
}

.mrj3y-scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0
}

.mrj3y-scroll-to-top.show {
    display: flex;
    opacity: 1
}

.mrj3y-scroll-to-top:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.15)
}

.mrj3y-scroll-to-top-icon {
    width: 24px;
    height: 24px;
    color: #5f6368
}

.mrj3y-scroll-to-top:hover .mrj3y-scroll-to-top-icon {
    color: #1a73e8
}

body.mrj3y-dark-mode .mrj3y-scroll-to-top {
    background: #303134;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2)
}

body.mrj3y-dark-mode .mrj3y-scroll-to-top:hover {
    background: #3c4043;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3)
}

body.mrj3y-dark-mode .mrj3y-scroll-to-top-icon {
    color: #e8eaed
}

body.mrj3y-dark-mode .mrj3y-scroll-to-top:hover .mrj3y-scroll-to-top-icon {
    color: #8ab4f8
}

@media (max-width:768px) {
    .mrj3y-scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 20px
    }

    .mrj3y-scroll-to-top-icon {
        width: 20px;
        height: 20px
    }
}

@media (max-width:480px) {
    .mrj3y-scroll-to-top {
        width: 44px;
        height: 44px;
        bottom: 15px;
        left: 15px
    }

    .mrj3y-scroll-to-top-icon {
        width: 18px;
        height: 18px
    }
}


@media (max-width:768px) {
    .mrj3y-main {
        padding-bottom: 90px
    }
}

.mrj3y-before-content-ad,
.mrj3y-after-content-ad {
    margin: 22px 0;
    text-align: center;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: block;
    min-height: 100px;
    min-width: 320px;
    width: 100%
}

.mrj3y-before-content-ad {
    margin-top: 12px;
    margin-bottom: 12px;
    border: none
}

.mrj3y-after-content-ad {
    margin-top: 12px;
    margin-bottom: 12px;
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 1
}

.mrj3y-before-content-ad ins,
.mrj3y-before-content-ad iframe,
.mrj3y-before-content-ad div,
.mrj3y-after-content-ad ins,
.mrj3y-after-content-ad iframe,
.mrj3y-after-content-ad div {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important
}

.mrj3y-before-content-ad script,
.mrj3y-after-content-ad script {
    display: block !important
}

body.mrj3y-ads-hidden .mrj3y-before-content-ad,
body.mrj3y-ads-hidden .mrj3y-after-content-ad,
body.mrj3y-ads-hidden .mrj3y-inpost-ad,

body.mrj3y-ads-hidden ins.adsbygoogle,
body.mrj3y-ads-hidden iframe[src*="ads"],
body.mrj3y-ads-hidden .adsbygoogle {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important
}

@media (max-width:768px) {

    .mrj3y-before-content-ad,
    .mrj3y-after-content-ad {
        margin: 10px 0;
        padding: 10px;
        min-height: 80px;
        border-top: 3px solid #0e7f86;
        border-bottom: 3px solid #1976d2
    }

    .mrj3y-after-content-ad {
        border-top: 3px solid #388e3c;
        border-bottom: 3px solid #f57c00
    }
}

body.mrj3y-dark-mode .mrj3y-latest-news-main-title {
    color: #e0e0e0 !important;
    background: rgba(40, 40, 40, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    border-left-color: #0f766e !important
}

body.mrj3y-dark-mode .mrj3y-title-text {
    color: #e0e0e0 !important
}

body.mrj3y-dark-mode .mrj3y-title-icon {
    background: #0f766e !important;
    color: #fff !important
}

body.mrj3y-dark-mode .mrj3y-latest-news-section .mrj3y-category-post,
body.mrj3y-dark-mode .mrj3y-home-section .mrj3y-category-post,
body.mrj3y-dark-mode .mrj3y-category-post {
    background: rgba(35, 35, 35, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important
}

body.mrj3y-dark-mode .mrj3y-latest-news-section .mrj3y-category-post:hover,
body.mrj3y-dark-mode .mrj3y-home-section .mrj3y-category-post:hover,
body.mrj3y-dark-mode .mrj3y-category-post:hover {
    border-color: rgba(15, 118, 110, 0.6) !important;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.25) !important
}

body.mrj3y-dark-mode .mrj3y-category-post-link {
    color: #e0e0e0 !important
}

body.mrj3y-dark-mode .mrj3y-category-post-content {
    background: rgba(35, 35, 35, 0.95) !important
}

body.mrj3y-dark-mode .mrj3y-latest-news-section .mrj3y-category-post-title,
body.mrj3y-dark-mode .mrj3y-home-section .mrj3y-category-post-title,
body.mrj3y-dark-mode .mrj3y-category-post-title {
    color: #e8e8e8 !important
}

body.mrj3y-dark-mode .mrj3y-category-post-link:hover .mrj3y-category-post-title {
    color: #58c2c7 !important
}

body.mrj3y-dark-mode .mrj3y-category-post-image-wrapper {
    background: rgba(25, 25, 25, 0.9) !important
}

body.mrj3y-dark-mode .mrj3y-category-post-image-wrapper .mrj3y-no-image {
    background: linear-gradient(160deg, rgba(40, 40, 40, 0.95) 0%, rgba(30, 30, 30, 0.98) 100%) !important
}

body.mrj3y-dark-mode .mrj3y-no-image-icon {
    background: rgba(60, 60, 60, 0.9) !important;
    color: #888 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important
}

body.mrj3y-dark-mode .mrj3y-no-image-text {
    color: #b0b0b0 !important
}

body.mrj3y-dark-mode .mrj3y-category-post-date {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important
}

body.mrj3y-dark-mode .mrj3y-category-post-number {
    background: rgba(15, 118, 110, 0.95) !important;
    color: #fff !important
}

body.mrj3y-dark-mode .mrj3y-home-section .mrj3y-section-title {
    color: #e8e8e8 !important;
    background: rgba(40, 40, 40, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    border-left-color: #0f766e !important;
    text-shadow: none !important
}

body.mrj3y-dark-mode .mrj3y-home-section .mrj3y-section-title a {
    color: #e8e8e8 !important
}

body.mrj3y-dark-mode .mrj3y-home-section .mrj3y-section-title a:hover {
    color: #58c2c7 !important
}


body.mrj3y-dark-mode .mrj3y-before-content-ad,
body.mrj3y-dark-mode .mrj3y-after-content-ad {
    background: rgba(35, 35, 35, 0.9) !important;
    border-color: rgba(15, 118, 110, 0.4) !important
}

.mrj3y-page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0e7f86 0%, #1f4f7a 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px
}

.mrj3y-page-header .mrj3y-page-title {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -1px
}

.mrj3y-page-header .mrj3y-page-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95
}

.mrj3y-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 30px 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #0e7f86;
    display: flex;
    align-items: center;
    gap: 12px
}

.mrj3y-section-icon {
    font-size: 32px;
    display: inline-block
}

.mrj3y-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0
}

.mrj3y-value-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid #0e7f86
}

.mrj3y-value-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12)
}

.mrj3y-value-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 15px;
    display: block
}

.mrj3y-value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 15px 0 10px 0
}

.mrj3y-value-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6
}

.mrj3y-achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0
}

.mrj3y-achievement-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #0e7f86
}

.mrj3y-achievement-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #0e7f86;
    margin-bottom: 8px
}

.mrj3y-achievement-label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px
}

.mrj3y-achievement-desc {
    display: block;
    font-size: 13px;
    color: #999
}

.mrj3y-about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px
}

.mrj3y-about-main {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08)
}

.mrj3y-about-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px
}

.mrj3y-widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0e7f86
}

.mrj3y-widget-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.mrj3y-widget-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8
}

.mrj3y-widget-list li:last-child {
    border-bottom: none
}

.mrj3y-widget-list a {
    color: #0e7f86;
    text-decoration: none;
    font-size: 15px
}

.mrj3y-widget-list a:hover {
    color: #1f4f7a
}

.mrj3y-contact-info {
    font-size: 15px;
    color: #666;
    line-height: 1.8
}

.mrj3y-contact-info strong {
    color: #1a1a1a;
    display: block;
    margin-top: 12px;
    margin-bottom: 5px
}

.mrj3y-contact-info a {
    color: #0e7f86;
    text-decoration: none
}

.mrj3y-contact-info a:hover {
    color: #1f4f7a
}

.mrj3y-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.mrj3y-social-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0e7f86 0%, #1f4f7a 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none
}

.mrj3y-social-btn:hover {
    box-shadow: 0 4px 12px rgba(14, 127, 134, 0.3)
}

.mrj3y-contact-map {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08)
}

.mrj3y-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1)
}

.mrj3y-map-container iframe {
    display: block;
    width: 100%;
    min-height: 400px
}

@media (max-width:1024px) {
    .mrj3y-about-grid {
        grid-template-columns: 1fr
    }

    .mrj3y-values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
    }
}

@media (max-width:768px) {
    .mrj3y-page-header {
        padding: 30px 20px
    }

    .mrj3y-page-header .mrj3y-page-title {
        font-size: 28px
    }

    .mrj3y-page-header .mrj3y-page-subtitle {
        font-size: 15px
    }

    .mrj3y-section-title {
        font-size: 22px
    }

    .mrj3y-values-grid,
    .mrj3y-achievements-list {
        grid-template-columns: 1fr
    }

    .mrj3y-about-main,
    .mrj3y-about-widget,
    .mrj3y-contact-map {
        padding: 20px
    }

    .mrj3y-contact-map iframe {
        min-height: 300px
    }
}

/* Share Box â€” ØªØµÙ…ÙŠÙ… Ù…ØªÙ…Ø§Ø³Ùƒ Ù…Ù…ÙŠØ²: ÙØ§ØµÙ„ 10px Ø£Ø¹Ù„Ù‰/Ø£Ø³ÙÙ„ØŒ Ø­ÙˆØ§Ù ÙˆÙØ§ØµÙ„ ÙˆØ§Ø¶Ø­ */
.mrj3y-share-article-section {
    margin: 10px 0;
    padding: 10px 0;
    direction: rtl;
    border-top: 1px solid rgba(92, 15, 31, 0.18);
    border-bottom: 1px solid rgba(92, 15, 31, 0.18);
    background: linear-gradient(180deg, rgba(92, 15, 31, 0.03) 0%, transparent 8px, transparent calc(100% - 8px), rgba(92, 15, 31, 0.03) 100%);
}

body.mrj3y-dark-mode .mrj3y-share-article-section {
    border-top-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 8px, transparent calc(100% - 8px), rgba(255, 255, 255, 0.03) 100%);
}

.mrj3y-share-box {
    background: #fff;
    border: 2px solid rgba(92, 15, 31, 0.2);
    border-radius: 20px;
    padding: 24px 28px 28px;
    box-shadow: 0 2px 16px rgba(92, 15, 31, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

body.mrj3y-dark-mode .mrj3y-share-box {
    background: rgba(28, 28, 28, 0.98);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.mrj3y-share-box-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(92, 15, 31, 0.25);
    border-radius: 0 0 2px 0;
    text-align: right;
    letter-spacing: -0.02em;
}

body.mrj3y-dark-mode .mrj3y-share-box-title {
    color: #f0f0f0;
    border-bottom-color: rgba(198, 40, 40, 0.45);
}

.mrj3y-share-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mrj3y-share-box-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    font-family: inherit;
    direction: rtl;
    min-height: 50px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mrj3y-share-box-btn span {
    color: inherit;
}

.mrj3y-share-box-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.mrj3y-share-box-icon svg,
.mrj3y-share-box-icon .mrj3y-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.mrj3y-share-box-label {
    white-space: nowrap;
}

/* Ø£Ù„ÙˆØ§Ù† Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ù…Ø´Ø§Ø±ÙƒØ© â€” Ù…ØªÙ…Ø§Ø³ÙƒØ© Ù…Ø¹ Ø­Ø¯ÙˆØ¯ Ø®ÙÙŠÙØ© */
.mrj3y-share-box-btn.mrj3y-share-fb {
    background: linear-gradient(160deg, #1877F2 0%, #0d5bbf 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.mrj3y-share-box-btn.mrj3y-share-fb:hover {
    background: #0d5bbf;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.mrj3y-share-box-btn.mrj3y-share-twitter {
    background: linear-gradient(160deg, #0f0f0f 0%, #000 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.mrj3y-share-box-btn.mrj3y-share-twitter:hover {
    background: #000;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.mrj3y-share-box-btn.mrj3y-share-whatsapp {
    background: linear-gradient(160deg, #25D366 0%, #1da851 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.mrj3y-share-box-btn.mrj3y-share-whatsapp:hover {
    background: #1da851;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.mrj3y-share-box-btn.mrj3y-share-telegram {
    background: linear-gradient(160deg, #229ED9 0%, #1a7fb3 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.mrj3y-share-box-btn.mrj3y-share-telegram:hover {
    background: #1a7fb3;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.mrj3y-share-box-btn.mrj3y-share-copy {
    background: linear-gradient(160deg, #0c4f5a 0%, #0a3f47 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.mrj3y-share-box-btn.mrj3y-share-copy:hover {
    background: #0a3f47;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Ø²Ø± Ø£Ø¶Ù ØªØ¹Ù„ÙŠÙ‚ Ø§Ù„Ø¢Ù† â€” Ù…Ù…ÙŠØ² Ø®ÙÙŠÙ ÙŠÙØªØ­ ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„ØªØ¹Ù„ÙŠÙ‚ */
.mrj3y-share-box-btn.mrj3y-share-add-comment {
    background: transparent;
    color: #0c4f5a;
    border: 2px solid rgba(92, 15, 31, 0.45);
    box-shadow: none;
}

.mrj3y-share-box-btn.mrj3y-share-add-comment:hover {
    background: rgba(92, 15, 31, 0.08);
    color: #0a3f47;
    border-color: rgba(92, 15, 31, 0.6);
}

body.mrj3y-dark-mode .mrj3y-share-box-btn.mrj3y-share-add-comment {
    background: transparent;
    color: #e8a0a0;
    border-color: rgba(255, 255, 255, 0.25);
}

body.mrj3y-dark-mode .mrj3y-share-box-btn.mrj3y-share-add-comment:hover {
    background: rgba(198, 40, 40, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Dark mode Ø£Ø²Ø±Ø§Ø± */
body.mrj3y-dark-mode .mrj3y-share-box-btn.mrj3y-share-fb {
    background: linear-gradient(160deg, #1a6ed4 0%, #0d5bbf 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

body.mrj3y-dark-mode .mrj3y-share-box-btn.mrj3y-share-twitter {
    background: linear-gradient(160deg, #1a1a1a 0%, #000 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

body.mrj3y-dark-mode .mrj3y-share-box-btn.mrj3y-share-whatsapp {
    background: linear-gradient(160deg, #1da851 0%, #128C7E 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

body.mrj3y-dark-mode .mrj3y-share-box-btn.mrj3y-share-telegram {
    background: linear-gradient(160deg, #1a7fb3 0%, #229ED9 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

body.mrj3y-dark-mode .mrj3y-share-box-btn.mrj3y-share-copy {
    background: linear-gradient(160deg, #0d5f66 0%, #0c4f5a 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .mrj3y-share-article-section {
        margin: 10px 0;
        padding: 10px 0;
    }

    .mrj3y-share-box {
        padding: 20px 18px 22px;
        border-radius: 18px;
        border-width: 2px;
    }

    .mrj3y-share-box-title {
        font-size: 1.1rem;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .mrj3y-share-box-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mrj3y-share-box-btn {
        padding: 11px 12px;
        font-size: 14px;
        min-height: 46px;
    }

    .mrj3y-share-box-icon svg,
    .mrj3y-share-box-icon .mrj3y-icon {
        width: 20px;
        height: 20px;
    }
}

/* --- تعديلات ارتفاع صور الصفحة الرئيسية حسب طلبك --- */
@media (min-width: 769px) {

    body.home .mrj3y-category-post-image-wrapper,
    body.home .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper,
    body.home-page .mrj3y-category-post-image-wrapper,
    body.home-page .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper {
        padding-bottom: calc(75% - 50px) !important;
    }
}

@media (max-width: 768px) {

    body.home .mrj3y-category-post-image-wrapper,
    body.home .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper,
    body.home-page .mrj3y-category-post-image-wrapper,
    body.home-page .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper {
        padding-bottom: calc(55% - 30px) !important;
    }
}

@media (max-width: 480px) {

    body.home .mrj3y-category-post-image-wrapper,
    body.home .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper,
    body.home-page .mrj3y-category-post-image-wrapper,
    body.home-page .mrj3y-latest-news-section .mrj3y-category-post-image-wrapper {
        padding-bottom: calc(55% - 30px) !important;
    }
}

/* Category page: compact title + sibling/subcategory cards */
.mrj3y-category-mini-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #0b2b3d;
    background: linear-gradient(140deg, rgba(12, 79, 90, 0.10) 0%, rgba(15, 118, 110, 0.06) 100%);
    border: 1px solid rgba(12, 79, 90, 0.22);
    border-right: 4px solid #0c4f5a;
    border-radius: 999px;
}

.mrj3y-category-subcategories {
    margin: 18px 0 24px;
    padding: 14px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fbfc 100%);
    border: 1px solid rgba(12, 79, 90, 0.14);
    border-right: 5px solid #0c4f5a;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(2, 12, 27, 0.05);
}

.mrj3y-subcategories-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: #0b2b3d;
}

.mrj3y-subcat-group {
    margin-bottom: 12px;
}

.mrj3y-subcat-group:last-child {
    margin-bottom: 0;
}

.mrj3y-subcat-group-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0e5f66;
}

.mrj3y-subcategories-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mrj3y-subcategory-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(12, 79, 90, 0.18);
    border-right: 4px solid #0f766e;
    background: #fff;
    color: #0b2b3d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.mrj3y-subcategory-link:hover {
    transform: translateY(-1px);
    border-color: rgba(12, 79, 90, 0.35);
    box-shadow: 0 8px 18px rgba(10, 55, 64, 0.12);
}

.mrj3y-subcategory-count {
    color: #0c4f5a;
    font-weight: 800;
    opacity: .82;
}

body.mrj3y-dark-mode .mrj3y-category-subcategories {
    background: linear-gradient(145deg, #0d1f26 0%, #112a34 100%);
    border-color: rgba(123, 221, 215, 0.22);
}

body.mrj3y-dark-mode .mrj3y-subcategories-title,
body.mrj3y-dark-mode .mrj3y-subcat-group-label,
body.mrj3y-dark-mode .mrj3y-subcategory-link {
    color: #d9f6f4;
}

body.mrj3y-dark-mode .mrj3y-subcategory-link {
    background: rgba(14, 39, 48, 0.95);
    border-color: rgba(123, 221, 215, 0.24);
}

/* Category page breadcrumb style */
.mrj3y-category-page .mrj3y-breadcrumb {
    margin: 6px 0 16px;
    padding: 10px 14px;
    background: linear-gradient(145deg, #ffffff 0%, #f3fbfc 100%);
    border: 1px solid rgba(12, 79, 90, 0.16);
    border-right: 5px solid #0c4f5a;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(2, 12, 27, 0.05);
}

.mrj3y-category-page .mrj3y-breadcrumb-inner {
    gap: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.mrj3y-category-page .mrj3y-breadcrumb-item,
.mrj3y-category-page .mrj3y-breadcrumb-current {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.mrj3y-category-page .mrj3y-breadcrumb-item {
    color: #0b2b3d;
    background: rgba(12, 79, 90, 0.08);
    border: 1px solid rgba(12, 79, 90, 0.14);
    text-decoration: none;
    transition: all .2s ease;
}

.mrj3y-category-page .mrj3y-breadcrumb-item:hover {
    background: rgba(12, 79, 90, 0.16);
    border-color: rgba(12, 79, 90, 0.26);
}

.mrj3y-category-page .mrj3y-breadcrumb-current {
    color: #ffffff;
    background: linear-gradient(140deg, #0a3f47 0%, #0c4f5a 100%);
    border: 1px solid rgba(12, 79, 90, 0.3);
}

.mrj3y-category-page .mrj3y-breadcrumb-separator {
    color: rgba(12, 79, 90, 0.65);
    display: inline-flex;
    align-items: center;
}

.mrj3y-category-page .mrj3y-breadcrumb-separator .mrj3y-icon {
    width: 11px;
    height: 11px;
}

body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-breadcrumb {
    background: linear-gradient(145deg, #0d1f26 0%, #112a34 100%);
    border-color: rgba(123, 221, 215, 0.25);
}

body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-breadcrumb-item {
    color: #d9f6f4;
    background: rgba(123, 221, 215, 0.09);
    border-color: rgba(123, 221, 215, 0.22);
}

body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-breadcrumb-item:hover {
    background: rgba(123, 221, 215, 0.16);
}

body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-breadcrumb-current {
    color: #0d1f26;
    background: linear-gradient(140deg, #7bddd7 0%, #5ec9c2 100%);
    border-color: rgba(123, 221, 215, 0.35);
}

body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-breadcrumb-separator {
    color: rgba(217, 246, 244, 0.75);
}

@media (max-width: 768px) {
    .mrj3y-category-page .mrj3y-breadcrumb {
        padding: 9px 10px;
        border-radius: 10px;
    }

    .mrj3y-category-page .mrj3y-breadcrumb-item,
    .mrj3y-category-page .mrj3y-breadcrumb-current {
        font-size: 11px;
        padding: 5px 8px;
    }
}

/* Category page header + top categories */
.mrj3y-category-page-header {
    margin: 10px 0 16px;
    padding: 12px 14px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fbfc 100%);
    border: 1px solid rgba(12, 79, 90, 0.14);
    border-right: 5px solid #0c4f5a;
    border-radius: 12px;
}

.mrj3y-category-page-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.3;
    color: #0b2b3d;
}

.mrj3y-category-page-description {
    margin: 8px 0 0;
    font-size: 14px;
    color: #355463;
}

.mrj3y-top-categories-block {
    margin: 16px 0 20px;
    padding: 14px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fbfc 100%);
    border: 1px solid rgba(12, 79, 90, 0.14);
    border-right: 5px solid #0f766e;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(2, 12, 27, 0.05);
}

.mrj3y-top-categories-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    color: #0b2b3d;
}

.mrj3y-top-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mrj3y-top-category-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid rgba(12, 79, 90, 0.16);
    border-right: 4px solid #0c4f5a;
    border-radius: 10px;
    color: #0b2b3d;
    text-decoration: none;
    transition: all .22s ease;
}

.mrj3y-top-category-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(12, 79, 90, 0.3);
    box-shadow: 0 8px 16px rgba(10, 55, 64, 0.11);
}

.mrj3y-top-category-chip.is-current {
    border-right-color: #0f766e;
    background: linear-gradient(140deg, rgba(12, 79, 90, 0.12) 0%, rgba(15, 118, 110, 0.1) 100%);
}

.mrj3y-top-category-name {
    font-size: 13px;
    font-weight: 700;
}

.mrj3y-top-category-count {
    min-width: 26px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #0c4f5a;
    background: rgba(12, 79, 90, 0.1);
}

body.mrj3y-dark-mode .mrj3y-category-page-header,
body.mrj3y-dark-mode .mrj3y-top-categories-block {
    background: linear-gradient(145deg, #0d1f26 0%, #112a34 100%);
    border-color: rgba(123, 221, 215, 0.22);
}

body.mrj3y-dark-mode .mrj3y-category-page-title,
body.mrj3y-dark-mode .mrj3y-category-page-description,
body.mrj3y-dark-mode .mrj3y-top-categories-title {
    color: #d9f6f4;
}

body.mrj3y-dark-mode .mrj3y-top-category-chip {
    background: rgba(14, 39, 48, 0.95);
    color: #d9f6f4;
    border-color: rgba(123, 221, 215, 0.24);
}

body.mrj3y-dark-mode .mrj3y-top-category-count {
    color: #d9f6f4;
    background: rgba(123, 221, 215, 0.16);
}

@media (max-width: 900px) {
    .mrj3y-top-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .mrj3y-category-page-title {
        font-size: 23px;
    }

    .mrj3y-top-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* صفحة التصنيف — موبايل/تابلت صغير: شرائط أفقية بسيطة بحواف مميزة */
@media (max-width: 768px) {
    .mrj3y-category-page .mrj3y-top-categories-block {
        margin: 12px 0 18px;
        padding: 12px 12px 14px;
        border-radius: 16px;
        border: 1px solid rgba(12, 79, 90, 0.16);
        border-right: 5px solid #0f766e;
        background: linear-gradient(165deg, #ffffff 0%, #f0f9fa 100%);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 8px 28px rgba(2, 12, 27, 0.08);
    }

    .mrj3y-category-page .mrj3y-top-categories-title {
        margin: 0 0 10px;
        padding: 0 0 10px;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 0.02em;
        border-bottom: 1px solid rgba(12, 79, 90, 0.12);
    }

    .mrj3y-category-page .mrj3y-top-categories-grid {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding: 6px 4px 8px;
        margin: 0 -4px;
        scrollbar-width: thin;
        scrollbar-color: rgba(12, 79, 90, 0.35) transparent;
    }

    .mrj3y-category-page .mrj3y-top-categories-grid::-webkit-scrollbar {
        height: 5px;
    }

    .mrj3y-category-page .mrj3y-top-categories-grid::-webkit-scrollbar-thumb {
        background: rgba(12, 79, 90, 0.3);
        border-radius: 10px;
    }

    .mrj3y-category-page .mrj3y-top-category-chip {
        flex: 0 0 auto;
        scroll-snap-align: start;
        min-height: 44px;
        padding: 10px 16px;
        white-space: nowrap;
        border-radius: 12px;
        border: 1px solid rgba(12, 79, 90, 0.2);
        border-right: 3px solid #0c4f5a;
        box-shadow: 0 2px 10px rgba(2, 12, 27, 0.07);
        touch-action: pan-x;
    }

    .mrj3y-category-page .mrj3y-category-subcategories {
        margin: 14px 0 22px;
        padding: 12px 12px 14px;
        border-radius: 16px;
        border: 1px solid rgba(12, 79, 90, 0.16);
        border-right: 5px solid #0c4f5a;
        background: linear-gradient(165deg, #ffffff 0%, #f4fbfc 100%);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 8px 28px rgba(2, 12, 27, 0.08);
    }

    .mrj3y-category-page .mrj3y-subcategories-title {
        margin: 0 0 10px;
        padding: 0 0 10px;
        font-size: 14px;
        font-weight: 800;
        border-bottom: 1px solid rgba(12, 79, 90, 0.12);
    }

    .mrj3y-category-page .mrj3y-subcat-group {
        margin-bottom: 14px;
    }

    .mrj3y-category-page .mrj3y-subcat-group:last-child {
        margin-bottom: 0;
    }

    .mrj3y-category-page .mrj3y-subcat-group-label {
        margin: 0 0 6px;
        font-size: 11px;
        font-weight: 800;
        color: #0e5f66;
        opacity: 0.95;
    }

    .mrj3y-category-page .mrj3y-subcategories-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding: 4px 2px 8px;
        margin: 0 -2px;
        scrollbar-width: thin;
        scrollbar-color: rgba(12, 79, 90, 0.35) transparent;
    }

    .mrj3y-category-page .mrj3y-subcategories-list::-webkit-scrollbar {
        height: 5px;
    }

    .mrj3y-category-page .mrj3y-subcategories-list::-webkit-scrollbar-thumb {
        background: rgba(12, 79, 90, 0.3);
        border-radius: 10px;
    }

    .mrj3y-category-page .mrj3y-subcategories-list li {
        flex: 0 0 auto;
    }

    .mrj3y-category-page .mrj3y-subcategory-link {
        scroll-snap-align: start;
        min-height: 42px;
        padding: 10px 16px;
        white-space: nowrap;
        border-radius: 12px;
        border: 1px solid rgba(12, 79, 90, 0.2);
        border-right: 3px solid #0f766e;
        box-shadow: 0 2px 8px rgba(2, 12, 27, 0.06);
        touch-action: pan-x;
    }

    .mrj3y-category-page .mrj3y-subcategory-link-sibling {
        border-right-color: #0c4f5a;
    }

    body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-top-categories-block,
    body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-category-subcategories {
        background: linear-gradient(165deg, #0f2229 0%, #0d1b22 100%);
        border-color: rgba(123, 221, 215, 0.22);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.05) inset,
            0 10px 32px rgba(0, 0, 0, 0.35);
    }

    body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-top-categories-title,
    body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-subcategories-title {
        border-bottom-color: rgba(123, 221, 215, 0.15);
    }
}

@media (max-width: 480px) {

    .mrj3y-category-page .mrj3y-top-categories-block,
    .mrj3y-category-page .mrj3y-category-subcategories {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(12, 79, 90, 0.1);
        border-right: 5px solid #0f766e;
        border-bottom: 1px solid rgba(12, 79, 90, 0.08);
        box-shadow: 0 8px 26px rgba(2, 12, 27, 0.09);
    }

    .mrj3y-category-page .mrj3y-category-subcategories {
        border-right-color: #0c4f5a;
    }

    body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-top-categories-block,
    body.mrj3y-dark-mode .mrj3y-category-page .mrj3y-category-subcategories {
        border-top-color: rgba(123, 221, 215, 0.12);
        border-bottom-color: rgba(123, 221, 215, 0.1);
        border-right-color: rgba(123, 221, 215, 0.45);
    }
}

/* ------------------------------------------------------------
   Home Sections Bar (Mobile/Tablet/Desktop) -> شريط أفقي سكرول
   بدلاً من التكدّس تحت بعض بسبب flex-wrap.
   ------------------------------------------------------------ */
.mrj3y-home-sections-bar-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    direction: rtl;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    max-width: 100%;
    padding: 4px 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.mrj3y-home-sections-bar-inner::-webkit-scrollbar {
    height: 6px;
}

.mrj3y-home-sections-bar-inner::-webkit-scrollbar-track {
    background: transparent;
}

.mrj3y-home-sections-bar-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
}

.mrj3y-home-section-tab {
    flex: 0 0 auto !important;
    white-space: nowrap;
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .mrj3y-home-sections-bar-inner {
        gap: 8px;
        justify-content: flex-start;
    }
}

/* Mobile (صفّين تحت بعض بدل سطر واحد) */
@media (max-width: 480px) {
    .mrj3y-home-sections-bar-inner {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        align-items: center;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        gap: 0 !important;
        /* يمنع تعارض gap الأساسي مع row/column-gap */
        /* إظهار صفّين فقط (منع ظهور صف ثالث عند كثرة الأقسام) */
        max-height: 110px;
        scroll-snap-type: none;
        padding: 6px 6px;
        row-gap: 10px;
        column-gap: 8px;
    }

    .mrj3y-home-section-tab {
        justify-self: center;
        scroll-snap-align: unset;
        flex: initial;
        width: auto;
        max-width: 100%;
    }
}

/* مقالات هامة لك — متناسقة مع لوحة القالب (تيل / فيروزي) */
.mrj3y-important-posts-single {
    margin: 26px 0 22px;
    clear: both;
}

.mrj3y-imp {
    position: relative;
    padding: 10px 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(12, 79, 90, 0.14);
    background: linear-gradient(165deg, #fafcfd 0%, #ffffff 52%, #f0f7f8 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.75) inset,
        0 1px 3px rgba(12, 79, 90, 0.06);
}

.mrj3y-imp::before {
    content: '';
    position: absolute;
    top: 0;
    right: 14px;
    left: 14px;
    height: 3px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, #0c4f5a 0%, #0f766e 45%, #7dd3fc 100%);
    opacity: 0.98;
    pointer-events: none;
}

.mrj3y-imp::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 79, 90, 0.1) 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.mrj3y-imp-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.mrj3y-imp-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0c4f5a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.mrj3y-imp-title-accent {
    width: 4px;
    height: 1.25em;
    border-radius: 4px;
    background: linear-gradient(180deg, #0c4f5a 0%, #0f766e 100%);
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(12, 79, 90, 0.18);
}

.mrj3y-imp-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    color: #0c4f5a;
    background: linear-gradient(135deg, rgba(12, 79, 90, 0.08) 0%, rgba(15, 118, 110, 0.06) 100%);
    border: 1px solid rgba(12, 79, 90, 0.22);
    letter-spacing: 0.02em;
}

.mrj3y-imp-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mrj3y-imp-card {
    margin: 0;
    min-width: 0;
}

.mrj3y-imp-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(12, 79, 90, 0.12);
    border-right: 3px solid #0c4f5a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(12, 79, 90, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mrj3y-imp-card-link:hover {
    border-color: rgba(12, 79, 90, 0.22);
    border-right-color: #0f766e;
    box-shadow: 0 2px 14px rgba(12, 79, 90, 0.1);
}

.mrj3y-imp-media {
    position: relative;
    width: 100%;
    padding: 8px; /* Distinctive space around image */
    background: #f8fafc;
    overflow: hidden;
}

.mrj3y-imp-media::after {
    display: none; /* Removed gradient to keep it clean with padding */
}

.mrj3y-imp-img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px; /* Rounded corners for the image itself */
    display: block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.mrj3y-imp-img-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #dbecef 0%, #cffafe 100%);
}

.mrj3y-imp-num {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #0c4f5a;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 7px;
    border: 1px solid rgba(12, 79, 90, 0.22);
    box-shadow: 0 1px 2px rgba(12, 79, 90, 0.08);
    z-index: 2;
}

.mrj3y-imp-cat {
    position: absolute;
    bottom: 6px;
    right: 6px;
    left: auto;
    max-width: calc(100% - 16px);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    color: #0c4f5a;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 79, 90, 0.18);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.mrj3y-imp-body {
    padding: 10px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.mrj3y-imp-heading {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #082e36;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mrj3y-imp-time {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: rtl;
    font-size: 10px;
    font-weight: 600;
    color: #0f766e;
}

.mrj3y-imp-time::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0c4f5a, #7dd3fc);
    box-shadow: 0 0 0 2px rgba(12, 79, 90, 0.12);
}

body.mrj3y-dark-mode .mrj3y-imp {
    border-color: rgba(125, 211, 252, 0.22);
    background: linear-gradient(165deg, #152a32 0%, #0f1f26 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

body.mrj3y-dark-mode .mrj3y-imp::after {
    background: radial-gradient(circle, rgba(125, 211, 252, 0.12) 0%, transparent 72%);
}

body.mrj3y-dark-mode .mrj3y-imp-title {
    color: #e8f8fc;
}

body.mrj3y-dark-mode .mrj3y-imp-pill {
    color: #7dd3fc;
    background: rgba(12, 79, 90, 0.35);
    border-color: rgba(125, 211, 252, 0.28);
}

body.mrj3y-dark-mode .mrj3y-imp-card-link {
    background: #1a2e36;
    border-color: rgba(125, 211, 252, 0.15);
    border-right-color: #0f766e;
    box-shadow: none;
}

body.mrj3y-dark-mode .mrj3y-imp-card-link:hover {
    border-color: rgba(125, 211, 252, 0.28);
    border-right-color: #7dd3fc;
    box-shadow: 0 2px 16px rgba(12, 79, 90, 0.35);
}

body.mrj3y-dark-mode .mrj3y-imp-media {
    background: #0f1a1f;
}

body.mrj3y-dark-mode .mrj3y-imp-img-fallback {
    background: linear-gradient(135deg, #0c4f5a 0%, #082e36 100%);
}

body.mrj3y-dark-mode .mrj3y-imp-num {
    color: #7dd3fc;
    background: rgba(15, 26, 31, 0.94);
    border-color: rgba(125, 211, 252, 0.25);
}

body.mrj3y-dark-mode .mrj3y-imp-cat {
    color: #bae6fd;
    background: rgba(15, 26, 31, 0.92);
    border-color: rgba(125, 211, 252, 0.22);
}

body.mrj3y-dark-mode .mrj3y-imp-heading {
    color: #f1f5f9;
}

body.mrj3y-dark-mode .mrj3y-imp-time {
    color: #7dd3fc;
}

@media (max-width: 992px) {
    .mrj3y-imp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .mrj3y-imp {
        padding: 8px 8px 10px;
    }

    .mrj3y-imp-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mrj3y-imp-title {
        font-size: 1.05rem;
    }
}

/* تعليقات أسفل تحميل المقال التالي — إطار واضح */
.mrj3y-single-comments-after-autoload {
    margin-top: 28px;
    padding: 20px 18px 24px;
    border-radius: 16px;
    border: 1px solid rgba(12, 79, 90, 0.14);
    border-right: 5px solid #0f766e;
    background: linear-gradient(165deg, #fafcfd 0%, #f0f7f8 100%);
    box-shadow: 0 10px 32px rgba(2, 12, 27, 0.06);
}

body.mrj3y-dark-mode .mrj3y-single-comments-after-autoload {
    background: linear-gradient(165deg, #152a32 0%, #0f1f26 100%);
    border-color: rgba(123, 221, 215, 0.2);
    border-right-color: rgba(123, 221, 215, 0.45);
}

/* حقوق النشر — موقع مرجعي */
.mrj3y-copyright-text .mrj3y-copyright-symbol,
.mrj3y-copyright-text .mrj3y-copyright-year {
    margin-left: 4px;
    margin-right: 4px;
}

.mrj3y-copyright-site-link {
    margin-right: 6px;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.mrj3y-copyright-site-link:hover,
.mrj3y-copyright-site-link:focus-visible {
    color: var(--primary-color, #0f766e);
    border-bottom-color: currentColor;
}

/* الصفحة الرئيسية — إطار 3px + فراغ يمين/يسار 5px فقط، ثم ملء المنطقة (بدون شرائط رمادية عريضة) */
body.home .mrj3y-category-post-image-wrapper,
body.home-page .mrj3y-category-post-image-wrapper {
    border: 3px solid var(--primary-color, #0f766e);
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    background: #eceff1;
}

body.home .mrj3y-category-post-image-wrapper .mrj3y-category-post-image:not(.mrj3y-no-image),
body.home-page .mrj3y-category-post-image-wrapper .mrj3y-category-post-image:not(.mrj3y-no-image) {
    object-fit: cover !important;
    object-position: center !important;
}

/* placeholder «لا توجد صورة» بنفس الهامش 5px أفقياً */
body.home .mrj3y-category-post-image-wrapper .mrj3y-no-image,
body.home-page .mrj3y-category-post-image-wrapper .mrj3y-no-image {
    left: 5px !important;
    right: 5px !important;
    width: auto !important;
}

body.mrj3y-dark-mode.home .mrj3y-category-post-image-wrapper,
body.mrj3y-dark-mode.home-page .mrj3y-category-post-image-wrapper {
    background: #1e293b;
    border-color: #58c2c7;
}

/* الصفحة الرئيسية — الموبايل: كان المحتوى منزاحاً للأسفل (+50px تحت الهيدر)، ثم إزاحة للأعلى 100px */
@media (max-width: 768px) {

    body.home .mrj3y-main,
    body.home-page .mrj3y-main {
        padding-top: calc(108px + 50px - 100px);
    }
}

.mrj3y-google-hint-prominent {
    font-size: 11px;
    color: #4285f4;
    background: rgba(66, 133, 244, 0.05);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 5px auto 25px;
    border: 1px solid rgba(66, 133, 244, 0.1);
    font-weight: 700;
}

body.mrj3y-dark-mode .mrj3y-google-hint-prominent {
    background: rgba(66, 133, 244, 0.1);
    color: #60a5fa;
}

/* ==================== HEADER IMPROVEMENTS (2026) ==================== */
/* غمق اللون + شفافية — ديسكتوب أزرار مستديرة — موبايل مربع تقريباً، حافة 3px، فراغ رأسي 3px */

.mrj3y-header-main {
    background: linear-gradient(152deg, rgba(4, 28, 34, 0.94) 0%, rgba(8, 42, 50, 0.97) 50%, rgba(3, 22, 28, 0.94) 100%) !important;
    backdrop-filter: blur(4px) !important;
    border-bottom: 1px solid rgba(45, 212, 191, 0.25) !important;
    /* ظل خارجي + خط ضوء علوي داخلي بسيط (زجاجي) */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.mrj3y-header-top {
    background: linear-gradient(135deg, #0a161b 0%, #1a2a32 100%) !important;
}

/* زيادة المسافة بين الأزرار */
.mrj3y-header-actions,
.mrj3y-header-actions-left,
.mrj3y-header-actions-right {
    gap: 10px !important;
}

/* تحسين الأزرار — ديسكتوب: حواف دائرية أوضح */
.mrj3y-dark-mode-toggle,
.mrj3y-search-icon-btn,
.mrj3y-mobile-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
    border: 2px solid rgba(163, 230, 214, 0.35) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    /* عمق بسيط: لمعان علوي + خط داخل رفيع يتناغم مع الهيدر */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mrj3y-dark-mode-toggle:hover,
.mrj3y-search-icon-btn:hover,
.mrj3y-mobile-menu-toggle:hover {
    background: rgba(163, 230, 214, 0.18) !important;
    border-color: #5eead4 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
}

/* موبايل — أزرار بزوايا دائرية أوضح (شكل ناعم حديث) */
@media (max-width: 992px) {
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-inner {
        height: 100% !important;
        align-items: center !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-actions,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-actions-left,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-actions-right {
        gap: 0 !important;
        height: 100% !important;
        align-self: stretch !important;
        align-items: center !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-header-actions-left {
        gap: 15px !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 14px !important;
        padding: 0 !important;
        margin: 3px 0 !important;
        flex-shrink: 0 !important;
        align-self: center !important;
        transition: none !important;
        animation: none !important;
        -webkit-tap-highlight-color: transparent !important;
        border: none !important;
        border-inline-start: 1px solid rgba(255, 255, 255, 0.12) !important;
        background: linear-gradient(165deg,
                rgba(255, 255, 255, 0.12) 0%,
                rgba(0, 0, 0, 0.22) 42%,
                rgba(0, 0, 0, 0.34) 100%) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.26),
            inset 0 -1px 0 rgba(0, 0, 0, 0.32),
            inset 0 0 0 1px rgba(255, 255, 255, 0.11),
            0 0 0 1px rgba(45, 212, 191, 0.16),
            0 2px 10px rgba(0, 0, 0, 0.28) !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle:first-child,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn:first-child,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle:first-child {
        border-inline-start: none !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle:hover,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn:hover,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle:hover {
        transform: none !important;
        transition: none !important;
        background: linear-gradient(165deg,
                rgba(94, 234, 212, 0.2) 0%,
                rgba(15, 118, 110, 0.22) 45%,
                rgba(0, 0, 0, 0.3) 100%) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.28),
            inset 0 0 0 1px rgba(255, 255, 255, 0.14),
            0 0 0 1px rgba(94, 234, 212, 0.34),
            0 2px 10px rgba(0, 0, 0, 0.28) !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle:focus-visible,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn:focus-visible,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle:focus-visible {
        outline: 2px solid rgba(94, 234, 212, 0.75) !important;
        outline-offset: 1px !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    /* خطوط قائمة بشكل «حبات» مستديرة بالكامل */
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-menu-icon-line {
        display: block !important;
        width: 20px !important;
        height: 3px !important;
        border-radius: 9999px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        box-shadow: none !important;
        flex-shrink: 0 !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-menu-icon-line:nth-child(2) {
        width: 15px !important;
        opacity: 0.92 !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle:hover .mrj3y-menu-icon-line {
        background: rgba(255, 255, 255, 1) !important;
    }

    .mrj3y-header-main {
        background: linear-gradient(180deg, rgba(6, 32, 38, 0.96) 0%, rgba(4, 24, 30, 0.98) 100%) !important;
    }
}

body.mrj3y-dark-mode .mrj3y-header-main {
    background: linear-gradient(152deg, rgba(12, 22, 26, 0.96) 0%, rgba(20, 32, 38, 0.98) 100%) !important;
    border-bottom-color: rgba(103, 232, 249, 0.3) !important;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 600px) {
    .mrj3y-google-hint-prominent {
        margin-bottom: 20px;
        font-size: 10px;
    }

    }

.mrj3y-meta-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 8px;
    object-fit: cover;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mrj3y-dark-mode .mrj3y-meta-avatar {
    border-color: rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   Opinion Articles Section - تصميم قسم مقالات الرأي المميز
   ========================================================================== */
.mrj3y-opinion-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 50px 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.mrj3y-opinion-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mrj3y-latest-news-title-wrapper {
    position: relative;
    z-index: 1;
}

.mrj3y-latest-news-main-title {
    color: #f1f5f9;
}

.mrj3y-opinion-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.mrj3y-opinion-grid>* {
    flex: 1 1 calc(25% - 30px);
    min-width: 250px;
    max-width: 320px;
}

.mrj3y-opinion-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 65px 25px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    display: block;
    backdrop-filter: blur(10px);
}

.mrj3y-opinion-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(45, 212, 191, 0.08);
    font-family: serif;
    line-height: 1;
}

.mrj3y-opinion-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(45, 212, 191, 0.35);
}

.mrj3y-opinion-author-wrapper {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mrj3y-opinion-author-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    transition: all 0.4s ease;
}

.mrj3y-dark-mode .mrj3y-opinion-author-img {
    border-color: #1e293b;
}

.mrj3y-opinion-card:hover .mrj3y-opinion-author-img {
    transform: scale(1.1);
    border-color: #2dd4bf;
    box-shadow: 0 0 25px rgba(45, 212, 191, 0.3);
}

.mrj3y-opinion-author-name {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.mrj3y-dark-mode .mrj3y-opinion-author-name {
    color: #f1f5f9;
}

.mrj3y-opinion-post-title {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mrj3y-dark-mode .mrj3y-opinion-post-title {
    color: #94a3b8;
}

.mrj3y-opinion-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Opinion Articles - تصميم قالب مقال الرأي الفاخر (داخل المقال)
   ========================================================================== */

/* تنسيق المقال عندما يكون "مقال رأي" */
.mrj3y-single-post.mrj3y-is-opinion {
    background: linear-gradient(to bottom, rgba(79, 70, 229, 0.03), transparent);
    border-radius: 20px;
    padding-top: 40px;
}

.mrj3y-is-opinion .mrj3y-single-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.mrj3y-is-opinion .mrj3y-single-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    color: var(--mrj3y-primary, #1e293b);
    margin-bottom: 25px;
    font-family: 'Tajawal', sans-serif;
}

/* إبراز الكاتب في مقال الرأي */
.mrj3y-is-opinion .mrj3y-author-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.mrj3y-is-opinion .mrj3y-meta-avatar {
    width: 120px;
    height: 120px;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mrj3y-is-opinion .mrj3y-meta-avatar:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--mrj3y-secondary, #4f46e5);
}

.mrj3y-is-opinion .mrj3y-meta-link {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--mrj3y-secondary, #4f46e5);
    text-decoration: none;
}

/* محتوى مقال الرأي */
.mrj3y-is-opinion .mrj3y-single-content {
    font-size: 1.3rem;
    line-height: 1.9;
    max-width: 850px;
    margin: 0 auto;
    color: #334155;
    position: relative;
}

/* الوضع الليلي لمقال الرأي */
.mrj3y-dark-mode .mrj3y-single-post.mrj3y-is-opinion {
    background: linear-gradient(to bottom, rgba(129, 140, 248, 0.05), transparent);
}

.mrj3y-dark-mode .mrj3y-is-opinion .mrj3y-single-title {
    color: #f1f5f9;
}

.mrj3y-dark-mode .mrj3y-is-opinion .mrj3y-meta-avatar {
    border-color: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mrj3y-dark-mode .mrj3y-is-opinion .mrj3y-single-content {
    color: #cbd5e1;
}

/* أيقونة اقتباس ضخمة في الخلفية لمقالات الرأي */
.mrj3y-is-opinion .mrj3y-single-header::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    font-size: 250px;
    font-family: serif;
    color: rgba(79, 70, 229, 0.04);
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

/* ==========================================================================
   Opinion Category Archive - تصميم صفحة قسم مقالات الرأي
   ========================================================================== */
.mrj3y-opinion-archive-layout .mrj3y-category-grid {
    gap: 40px;
    padding-top: 40px;
}

.mrj3y-opinion-archive-layout .mrj3y-category-post {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 25px;
    transition: all 0.3s ease;
    text-align: center;
}

.mrj3y-opinion-archive-layout .mrj3y-category-post-image-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mrj3y-category-author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mrj3y-opinion-archive-layout .mrj3y-category-post:hover .mrj3y-category-author-img {
    transform: scale(1.1);
}

.mrj3y-opinion-archive-layout .mrj3y-category-post-content {
    padding: 0;
}

.mrj3y-post-author-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--mrj3y-secondary, #4f46e5);
    margin-bottom: 8px;
}

.mrj3y-opinion-archive-layout .mrj3y-category-post-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1e293b;
    margin: 0;
}

.mrj3y-opinion-archive-layout .mrj3y-category-post-date {
    display: none;
}

.mrj3y-dark-mode .mrj3y-opinion-archive-layout .mrj3y-category-post-image-wrapper {
    border-color: #1e293b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.mrj3y-dark-mode .mrj3y-opinion-archive-layout .mrj3y-category-post {
    border-color: rgba(255, 255, 255, 0.05);
}

.mrj3y-dark-mode .mrj3y-opinion-archive-layout .mrj3y-category-post-title {
    color: #f1f5f9;
}

/* ==========================================================================
   Opinion Section & Archive - تصغير صور الكُتّاب لتظهر كأيقونات
   ========================================================================== */

/* الصفحة الرئيسية */
.mrj3y-opinion-author-wrapper {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 15px !important;
    padding: 3px !important;
}

.mrj3y-opinion-card {
    padding: 25px 15px !important;
}

.mrj3y-opinion-author-name {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
}

.mrj3y-opinion-post-title {
    font-size: 1.15rem !important;
}

/* صفحة القسم (Archive) */
.mrj3y-opinion-archive-layout .mrj3y-category-post-image-wrapper {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 15px !important;
    border-width: 2px !important;
}

.mrj3y-opinion-archive-layout .mrj3y-category-post-title {
    font-size: 1.2rem !important;
}

.mrj3y-post-author-name {
    font-size: 1rem !important;
}

/* تحسين شكل المقال من الداخل أيضاً */
.mrj3y-is-opinion .mrj3y-meta-avatar {
    width: 80px !important;
    height: 80px !important;
}

/* تحسين ظهور اسم الكاتب في كروت الرأي */
.mrj3y-opinion-author-name {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #4f46e5 !important;
    /* لون أزرق إنديجو مميز */
    margin: 10px 0 8px 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.mrj3y-dark-mode .mrj3y-opinion-author-name {
    color: #818cf8 !important;
    /* لون فاتح للوضع الليلي */
}

/* تنسيق إضافي لضمان ثبات الكارت */
.mrj3y-opinion-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.mrj3y-opinion-post-title {
    margin-top: 5px !important;
    color: #1e293b !important;
}

.mrj3y-dark-mode .mrj3y-opinion-post-title {
    color: #f1f5f9 !important;
}

/* إصلاح تداخل الاسم مع الصورة في كروت الرأي */
.mrj3y-opinion-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    padding: 20px 15px !important;
    position: relative !important;
    overflow: visible !important;
    height: 100% !important;
}

.mrj3y-opinion-author-wrapper {
    position: relative !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
}

.mrj3y-opinion-author-name {
    position: relative !important;
    display: block !important;
    z-index: 5 !important;
    margin: 5px 0 10px 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #4f46e5 !important;
    width: 100% !important;
    line-height: 1.2 !important;
}

.mrj3y-opinion-post-title {
    position: relative !important;
    z-index: 4 !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
}

.mrj3y-opinion-label {
    margin-top: auto !important;
    padding-top: 15px !important;
    display: inline-block !important;
}

/* تحسين بوكس بيانات الكاتب في مقال الرأي للجوال */
@media (max-width: 768px) {
    .mrj3y-is-opinion .mrj3y-single-post-meta {
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px 15px !important;
        background: rgba(79, 70, 229, 0.05) !important;
        /* خلفية خفيفة مميزة */
        border-radius: 15px !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }

    .mrj3y-is-opinion .mrj3y-meta-avatar {
        width: 65px !important;
        height: 65px !important;
        margin-bottom: 12px !important;
        margin-left: 0 !important;
        border-width: 2px !important;
    }

    .mrj3y-is-opinion .mrj3y-meta-author-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .mrj3y-is-opinion .mrj3y-meta-name {
        font-size: 16px !important;
        font-weight: 800 !important;
        margin-bottom: 5px !important;
    }

    .mrj3y-is-opinion .mrj3y-meta-date {
        font-size: 13px !important;
        opacity: 0.8 !important;
    }
}

.mrj3y-dark-mode .mrj3y-is-opinion .mrj3y-single-post-meta {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* تصميم الإطار الفخم حول الصفحة كاملة */
.mrj3y-main>.mrj3y-container {
    background: #fff;
    border: 1px solid rgba(79, 70, 229, 0.15);
    /* حواف بلون الإنديجو الخفيف */
    border-top: none; 
    /* شريط علوي محذوف بناء على طلب المستخدم */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    padding: 15px 40px 40px 40px; /* Reduced top padding */
    margin-top: 0; /* Deleted top margin */
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

body.mrj3y-dark-mode .mrj3y-main>.mrj3y-container {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* تنسيق الجوال للإطار */
@media (max-width: 768px) {
    .mrj3y-main>.mrj3y-container {
        padding: 0 15px 15px 15px; /* Removed top padding on mobile */
        margin-top: 0;
        margin-bottom: 20px;
        border-width: 0 1px 1px 1px;
        border-radius: 0;
    }
}

/* تحسين تنسيق العناوين والمساحات داخل الإطار */
.mrj3y-category-page-header,
.mrj3y-author-page-header {
    margin-top: -10px;
    margin-bottom: 30px;
}

.mrj3y-section-title {
    margin-top: 20px;
}

/* تأثير التوهج الخفيف للخلفية */
body {
    background-color: #f8fafc;
    /* لون خلفية ناعم جداً خلف الإطار */
}

body.mrj3y-dark-mode {
    background-color: #0f172a;
}

/* Single Article Meta Premium Style */


}
}

/* --- Final Cleanup: Remove Header Lines, Blue Glows, and Sections Bar Background --- */

/* 1. Remove the gradient line below the header ticker */
.mrj3y-header-top::after {
    display: none !important;
    height: 0 !important;
}

/* 2. Remove ALL blue lines, inset glows, and borders from the main header — Desktop */
.mrj3y-header-wrapper .mrj3y-header-main,
.mrj3y-header-main {
    border-bottom: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* 3. Disable all pseudo-element lines — Desktop */
.mrj3y-header-wrapper .mrj3y-header-main::after,
.mrj3y-header-wrapper .mrj3y-header-main::before,
.mrj3y-header-main::after,
.mrj3y-header-main::before,
.mrj3y-header-inner::before,
.mrj3y-header-main .mrj3y-header-inner::before {
    display: none !important;
    height: 0 !important;
    background: none !important;
    content: none !important;
}

/* 4. Override the mobile-specific styles (max-width:992px) that re-enable blue lines */
@media (max-width: 992px) {
    .mrj3y-header-wrapper .mrj3y-header-main {
        border-bottom: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main::after,
    .mrj3y-header-wrapper .mrj3y-header-main::before {
        display: none !important;
        height: 0 !important;
        background: none !important;
        content: none !important;
    }
}

/* 5. Dark mode — remove blue lines too */
body.mrj3y-dark-mode .mrj3y-header-main,
body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main {
    border-bottom: none !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main::after,
body.mrj3y-dark-mode .mrj3y-header-wrapper .mrj3y-header-main::before,
body.mrj3y-dark-mode .mrj3y-header-main::after,
body.mrj3y-dark-mode .mrj3y-header-main::before {
    display: none !important;
    content: none !important;
}

/* 3. Remove the dark background, shadow, and borders from the Home Sections Bar */
.mrj3y-home-sections-bar .mrj3y-container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* 4. Style the Tabs to look good on the new transparent background */
.mrj3y-home-section-tab {
    background: #0a3740 !important;
    /* Solid dark color for tabs */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.mrj3y-home-section-tab:hover {
    background: #0f766e !important;
}

/* 5. Re-adjust Gaps globally for all pages */
.mrj3y-main {
    padding-top: 110px !important;
    /* 95px Header + 15px Gap */
}

body.home .mrj3y-home-sections-bar,
body.mrj3y-home .mrj3y-home-sections-bar {
    margin-top: 110px !important;
}

@media (max-width: 768px) {
    .mrj3y-main {
        padding-top: 74px !important;
        /* 64px Header + 10px Gap */
    }

    body.home .mrj3y-home-sections-bar,
    body.mrj3y-home .mrj3y-home-sections-bar {
        margin-top: 74px !important;
    }
}

/* Admin Bar Adjustments */
.admin-bar.home .mrj3y-home-sections-bar {
    margin-top: 137px !important;
}

@media (max-width: 768px) {
    .admin-bar.home .mrj3y-home-sections-bar {
        margin-top: 120px !important;
    }
}

/* Custom Archive/Tag Title Styles - Requested by User */
.mrj3y-new-cat-title,
.mrj3y-category-post-title {
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
}

@media (max-width: 768px) {

    .mrj3y-new-cat-title,
    .mrj3y-category-post-title {
        font-size: 0.95rem !important;
    }
}

/* Ultra-Minimalist Modern Tags - Boxed Container */
.mrj3y-tags-container {
    margin: 35px 0 !important;
    padding: 20px !important;
    background: #fcfdfe !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
}

.mrj3y-tags-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mrj3y-tags-title::before {
    opacity: 0.85 !important;
}

.mrj3y-tags-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-height: 120px;
    /* Fully show 3 rows */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mrj3y-tags-list.is-expanded {
    max-height: 1200px;
}

/* Fade-out effect for unexpanded list */
.mrj3y-tags-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    /* Reduced to avoid masking 3rd row */
    background: linear-gradient(to top, #fcfdfe 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 1;
    z-index: 2;
}

body.mrj3y-dark-mode .mrj3y-tags-list::after {
    background: linear-gradient(to top, #161616 0%, transparent 100%);
}

.mrj3y-tags-list.is-expanded::after {
    opacity: 0;
}

/* Full Width Modern Button */
.mrj3y-tags-more-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
    padding: 8px 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    border-bottom: 2px solid #e2e8f0 !important;
    /* Visual weight at bottom */
}

.mrj3y-tags-more-btn:hover {
    background: #f8fafc !important;
    color: #e53935 !important;
    border-color: #cbd5e1 !important;
    border-bottom-color: #e53935 !important;
    transform: translateY(1px);
}

.mrj3y-tags-more-btn::after {
    content: '';
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.35s ease;
    opacity: 0.7;
}

.mrj3y-tags-list.is-expanded + .mrj3y-tags-more-btn::after {
    transform: rotate(225deg);
}

body.mrj3y-dark-mode .mrj3y-tags-more-btn {
    background: #1e293b !important;
    border-color: #334155 !important;
    border-bottom-color: #475569 !important;
    color: #94a3b8 !important;
}

body.mrj3y-dark-mode .mrj3y-tags-more-btn:hover {
    background: #243049 !important;
    color: #f87171 !important;
    border-bottom-color: #f87171 !important;
}

.mrj3y-tag-item {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 16px !important;
    border-radius: 2px !important;
    /* Minimalist Box Shape */
    border: 1px solid #e2e8f0 !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    letter-spacing: 0.3px !important;
}

.mrj3y-tag-item::before {
    display: none !important;
    /* Icons removed */
}

.mrj3y-tag-item:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 768px) {
    .mrj3y-tags-container {
        margin: 25px -15px !important;
        /* Edge-to-Edge */
        padding: 15px !important;
        background: #f8fafc !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
    }

    .mrj3y-tags-title {
        display: none !important;
        /* Extra simple for mobile */
    }

    .mrj3y-tags-list {
        gap: 6px !important;
    }

    .mrj3y-tag-item {
        padding: 5px 12px !important;
        font-size: 10.5px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        /* Boxy for Mobile */
        box-shadow: none !important;
    }
}

/* Dark Mode Integration */
body.mrj3y-dark-mode .mrj3y-tag-item {
    background: #1e293b !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.mrj3y-dark-mode .mrj3y-tag-item:hover {
    background: #334155 !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.mrj3y-dark-mode .mrj3y-tags-container {
    background: #0f172a !important;
    border-color: #1e293b !important;
}

/* --- ????? ????? ?????? ?? ???????? --- */
@media (max-width: 992px) {

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle {
        border: 2px solid #ffffff !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.25), inset 0 0 4px rgba(255, 255, 255, 0.1) !important;
        width: 42px !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-dark-mode-toggle:hover,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-search-icon-btn:hover,
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5) !important;
        transform: scale(1.05);
    }

    /* ??? ?????? ??????? ????? ????? ?????? ?????? */
    .mrj3y-header-wrapper .mrj3y-header-main .mrj3y-mobile-menu-toggle .mrj3y-menu-icon-line {
        background-color: #ffffff !important;
        height: 3px !important;
        width: 18px !important;
    }
}

/* --- Compact & Simple Related News --- */
.mrj3y-inline-related-news {
    margin: 20px 0;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(var(--mrj3y-accent-rgb, 45, 212, 191), 0.05) 0%, var(--mrj3y-surface-alt, #d4e8e6) 100%);
    border: 1px solid rgba(var(--mrj3y-brand-rgb, 6, 58, 66), 0.14);
    border-right: 4px solid var(--mrj3y-accent, #2dd4bf);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(var(--mrj3y-brand-rgb, 6, 58, 66), 0.06);
}

/* dark inline-related: mrj3y-theme-tokens-css.php */

.mrj3y-inline-related-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--mrj3y-post-title, #021a1f);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(var(--mrj3y-brand-rgb, 6, 58, 66), 0.12);
}

body.mrj3y-dark-mode .mrj3y-inline-related-title {
    border-bottom-color: #262626;
}

.mrj3y-inline-related-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--mrj3y-accent, #2dd4bf);
    border-radius: 50%;
    animation: inline-pulse 2s infinite;
}

@keyframes inline-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--mrj3y-accent-rgb, 45, 212, 191), 0.45);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(var(--mrj3y-accent-rgb, 45, 212, 191), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--mrj3y-accent-rgb, 45, 212, 191), 0);
    }
}

.mrj3y-inline-related-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mrj3y-inline-related-item {
    margin-bottom: 6px;
    /* Compressed gap */
    border-bottom: none;
}

.mrj3y-inline-related-link,
.mrj3y-inline-related-item a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-decoration: none;
    padding: 12px 12px;
    /* Adjusted padding */
    border: 1px solid #f1f5f9;
    border-right: 3px solid #f1f5f9;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* For absolute positioning of meta */
    overflow: hidden;
}

.mrj3y-inline-related-link:hover,
.mrj3y-inline-related-item:hover a {
    border-color: rgba(var(--mrj3y-brand-rgb, 6, 58, 66), 0.22);
    border-right-color: var(--mrj3y-accent, #2dd4bf);
    background: var(--mrj3y-surface, #e8f2f1);
    transform: translateX(-3px);
}

.mrj3y-inline-related-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--mrj3y-surface, #e8f2f1) 0%, var(--mrj3y-surface-alt, #d4e8e6) 100%);
    color: var(--mrj3y-accent, #2dd4bf);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    border: 1px solid rgba(var(--mrj3y-brand-rgb, 6, 58, 66), 0.2);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

body.mrj3y-dark-mode .mrj3y-inline-related-icon {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
    border-color: #333;
    color: var(--mrj3y-accent, #2dd4bf);
}

.mrj3y-inline-related-info {
    display: flex;
    flex-direction: column;
}

.mrj3y-inline-related-text {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--mrj3y-post-title, #021a1f);
    transition: color 0.2s;
    padding-left: 0;
}

body.mrj3y-dark-mode .mrj3y-inline-related-text {
    color: #cbd5e0;
}

.mrj3y-inline-related-meta {
    position: static;
    background: #f1f5f9;
    color: #718096;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #e2e8f0;
}

body.mrj3y-dark-mode .mrj3y-inline-related-meta {
    background: #2d3748;
    color: #a0aec0;
    border-color: #4a5568;
}

.mrj3y-inline-related-meta::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    opacity: 0.75;
}

.mrj3y-inline-related-link:hover .mrj3y-inline-related-text,
.mrj3y-inline-related-item:hover .mrj3y-inline-related-text {
    color: var(--mrj3y-post-meta-link, var(--mrj3y-brand, #063a42));
}

.mrj3y-inline-related-link:hover .mrj3y-inline-related-meta,
.mrj3y-inline-related-item:hover .mrj3y-inline-related-meta {
    background: var(--mrj3y-accent, #2dd4bf);
    color: var(--mrj3y-on-dark, #ecfdfb);
    border-color: var(--mrj3y-accent, #2dd4bf);
}

@media (max-width: 768px) {
    .mrj3y-inline-related-news {
        padding: 10px;
        margin: 15px 0;
    }

    .mrj3y-inline-related-title {
        font-size: 15px;
    }

    .mrj3y-inline-related-text {
        font-size: 14px;
    }
}

/* --- Connected Sections Connector (Google News & Related News) --- */
.mrj3y-new-wrap {
    margin-bottom: 10px !important;
    display: block;
}

.mrj3y-inline-related-news {
    margin-top: 0 !important;
    position: relative;
    border-top: none;
}

/* Decorative Connector "Stitch" */
.mrj3y-inline-related-news::before {
    content: '';
    position: absolute;
    top: -11px;
    right: 40px;
    width: 16px;
    height: 12px;
    border: 2px solid #e2e8f0;
    border-bottom: none;
    border-top: none;
    background: repeating-linear-gradient(0deg, #e2e8f0, #e2e8f0 2px, transparent 2px, transparent 4px);
    z-index: 5;
    border-radius: 2px;
}

body.mrj3y-dark-mode .mrj3y-inline-related-news::before {
    background: repeating-linear-gradient(0deg, #2d2d2d, #2d2d2d 2px, transparent 2px, transparent 4px);
    border-color: #2d2d2d;
}

/* Subtle line behind the stitch */
.mrj3y-inline-related-news::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 47px;
    width: 2px;
    height: 10px;
    background: #f1f5f9;
    z-index: 1;
}

body.mrj3y-dark-mode .mrj3y-inline-related-news::after {
    background: #1a1a1a;
}

/* --- Custom Header Adjustments --- */
@media (min-width: 1200px) {
    /* توسيع الهيدر بمقدار 150 بكسل */
    .mrj3y-header-main .mrj3y-container {
        max-width: 1350px !important;
        margin: 0 auto;
    }
    
    /* زيادة الفراغ بين الأقسام بشكل مريح مع السماح للقوائم الفرعية بالظهور */
    .mrj3y-nav {
        gap: 12px !important; 
        flex-wrap: wrap !important; /* ضروري لعدم قص القوائم الفرعية المنسدلة */
    }
    
    /* ضمان عدم تداخل القائمة مع اللوجو أو الزراير */
    .mrj3y-nav-wrapper {
        flex: 1;
        justify-content: center;
        margin: 0 5px !important; /* تقليل الفراغ بين القائمة والزراير */
        min-width: 0; /* ضروري لعمل overflow بشكل صحيح داخل الـ flex */
    }
    
    /* ضمان بقاء اللوجو والزراير في أماكنهم الصحيحة */
    .mrj3y-logo-wrapper, 
    .mrj3y-header-actions {
        flex-shrink: 0;
    }
}