﻿.altbah1aloula-single-post {
    background: transparent;
    padding: 0;
    margin-bottom: 40px
}

.altbah1aloula-breadcrumb {
    margin: 0 0 20px 0;
    padding: 10px 16px;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(82, 41, 51, 0.18);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03)
}

.altbah1aloula-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0
}

.altbah1aloula-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    background: transparent;
    border: none
}

.altbah1aloula-breadcrumb-item:hover {
    color: #7a3e48
}

.altbah1aloula-breadcrumb-item.altbah1aloula-breadcrumb-home i {
    font-size: 15px;
    color: #522933;
    opacity: 0.9
}

.altbah1aloula-breadcrumb-item.altbah1aloula-breadcrumb-home:hover i {
    color: #7a3e48
}

.altbah1aloula-breadcrumb-item.altbah1aloula-breadcrumb-home .altbah1aloula-breadcrumb-home-text {
    font-size: 14px
}

.altbah1aloula-breadcrumb-item i {
    font-size: 12px;
    color: #888
}

.altbah1aloula-breadcrumb-item:hover i {
    color: #7a3e48
}

.altbah1aloula-breadcrumb-separator {
    color: #bbb;
    font-size: 11px;
    padding: 0 2px;
    display: inline-flex;
    align-items: center
}

.altbah1aloula-breadcrumb-separator i {
    font-size: 10px;
    opacity: 0.8
}

.altbah1aloula-breadcrumb-current {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.altbah1aloula-single-header {
    margin-bottom: 25px
}

.altbah1aloula-single-title {
    font-size: 46px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 22px 0;
    padding: 20px 22px 20px 22px;
    line-height: 1.38;
    text-align: right;
    direction: rtl;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 1) 100%);
    border: 1px solid rgba(122, 62, 72, 0.14);
    border-right: 5px solid rgba(122, 62, 72, 0.85);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 12px rgba(122, 62, 72, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    position: relative;
}

.altbah1aloula-single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    padding: 14px 20px 12px;
    margin: 0 0 22px 0; /* Changed from 0 20px 22px 20px to prevent narrow screen overflow */
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(152deg, rgba(26, 38, 59, 0.92) 0%, rgba(82, 41, 51, 0.95) 40%, rgba(122, 62, 72, 0.88) 100%);
    /* backdrop-filter: blur(14px); */
    /* -webkit-backdrop-filter: blur(14px); */
    border: 1px solid rgba(122, 62, 72, 0.45);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 20px rgba(15, 23, 38, 0.35), 0 1px 0 rgba(255, 255, 255, 0.05) inset
}

.altbah1aloula-single-post-meta::before {
    display: none
}

.altbah1aloula-single-post-meta::after {
    display: none
}

.altbah1aloula-single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px
}

.altbah1aloula-single-meta-item .altbah1aloula-icon {
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    opacity: 0.95
}

.altbah1aloula-meta-link,
.altbah1aloula-meta-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none
}

.altbah1aloula-meta-link:hover {
    color: #fff
}

.altbah1aloula-meta-categories {
    flex-wrap: wrap
}

.altbah1aloula-categories-nested {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-right: 6px
}

.altbah1aloula-category-nested {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(122, 62, 72, 0.5);
    border: 1px solid rgba(122, 62, 72, 0.65);
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none
}

.altbah1aloula-category-nested:hover {
    background: rgba(122, 62, 72, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff
}

/* ============================================================
   الصورة البارزة — تأثير Hover/Touch احترافي بـ GPU acceleration
   ============================================================ */
.altbah1aloula-single-image-wrapper {
    margin: 0 0 10px 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: linear-gradient(145deg, #e8e8e8 0%, #f0f0f0 100%);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    /* الظل الأساسي */
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.06),
        0 10px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 4px solid rgba(122, 62, 72, 0.9);
    /* انتقال ناعم لكل التأثيرات — GPU only */
    transition:
        box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.35s ease,
        transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
    /* لا نرفع المستوى حتى يحتاجه المتصفح */
    contain: layout style
}

/* Hover على Desktop */
.altbah1aloula-single-image-wrapper:hover {
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.14),
        0 20px 50px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-right-color: rgba(122, 62, 72, 1);
    transform: translateY(-3px) scale(1.005)
}

/* Touch على موبايل */
.altbah1aloula-single-image-wrapper:active {
    transform: translateY(-1px) scale(1.002);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.1),
        0 12px 28px rgba(0, 0, 0, 0.08);
    transition-duration: 0.12s
}

/* الصورة نفسها — zoom ناعم عند hover */
.altbah1aloula-single-image-wrapper .altbah1aloula-single-image,
.altbah1aloula-single-image-wrapper img.altbah1aloula-single-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* تأثير zoom خفيف على الصورة — GPU layer */
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none
}

/* Zoom الصورة عند hover على الـ wrapper */
.altbah1aloula-single-image-wrapper:hover .altbah1aloula-single-image,
.altbah1aloula-single-image-wrapper:hover img.altbah1aloula-single-image {
    transform: scale(1.045)
}

/* Touch zoom */
.altbah1aloula-single-image-wrapper:active .altbah1aloula-single-image,
.altbah1aloula-single-image-wrapper:active img.altbah1aloula-single-image {
    transform: scale(1.02);
    transition-duration: 0.12s
}

/* طبقة overlay شفافة تظهر عند hover — shimmer احترافي */
.altbah1aloula-single-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 250% 250%;
    background-position: 200% 200%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease, background-position 0.6s ease;
    border-radius: inherit
}

.altbah1aloula-single-image-wrapper:hover::after {
    opacity: 1;
    background-position: -50% -50%
}

/* تأكد أن تاج الفئة فوق الـ overlay */
.altbah1aloula-single-image-category {
    z-index: 3
}

.altbah1aloula-single-image-category {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2
}

.altbah1aloula-single-image-category-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.82);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.altbah1aloula-single-image-category-link:hover {
    background: rgba(74, 122, 184, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3)
}

/* Dark Mode */
body.altbah1aloula-dark-mode .altbah1aloula-single-image-wrapper {
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    border-right-color: rgba(74, 122, 184, 0.7)
}

body.altbah1aloula-dark-mode .altbah1aloula-single-image-wrapper:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-right-color: rgba(74, 122, 184, 1)
}

body.altbah1aloula-dark-mode .altbah1aloula-single-image-category-link {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.15)
}

body.altbah1aloula-dark-mode .altbah1aloula-single-image-category-link:hover {
    background: rgba(74, 122, 184, 0.85)
}

/* تقليل الحركة لمن يفضل ذلك (Accessibility) */
@media (prefers-reduced-motion: reduce) {
    .altbah1aloula-single-image-wrapper,
    .altbah1aloula-single-image-wrapper .altbah1aloula-single-image,
    .altbah1aloula-single-image-wrapper img.altbah1aloula-single-image,
    .altbah1aloula-single-image-wrapper::after {
        transition: none !important;
        animation: none !important
    }
    .altbah1aloula-single-image-wrapper:hover {
        transform: none
    }
    .altbah1aloula-single-image-wrapper:hover .altbah1aloula-single-image,
    .altbah1aloula-single-image-wrapper:hover img.altbah1aloula-single-image {
        transform: none
    }
}

.altbah1aloula-single-image-alt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    z-index: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%
}

.altbah1aloula-single-image-wrapper:hover .altbah1aloula-single-image-alt {
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    max-height: none
}

.altbah1aloula-single-content {
    color: #333;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    padding: 25px 15px;
    background: transparent
}

.altbah1aloula-single-content p {
    margin-bottom: 20px
}

.altbah1aloula-single-content h2 {
    color: #212121;
    font-size: 32px;
    font-weight: 800;
    margin: 40px 0 25px 0;
    padding: 18px 25px;
    background: linear-gradient(135deg, rgba(82, 41, 51, 0.08) 0%, rgba(74, 122, 184, 0.04) 100%);
    border: 2px solid rgba(74, 122, 184, 0.3);
    border-left: 6px solid rgba(74, 122, 184, 0.8);
    border-right: 3px solid rgba(74, 122, 184, 0.2);
    border-radius: 0;
    position: relative;
    line-height: 1.4;
    box-shadow: 0 3px 8px rgba(74, 122, 184, 0.1);
    overflow: hidden
}

.altbah1aloula-single-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(74, 122, 184, 0.6), rgba(56, 189, 248, 0.7), rgba(74, 122, 184, 0.6), transparent)
}

.altbah1aloula-single-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -6px;
    right: -3px;
    height: 2px;
    background: linear-gradient(90deg, rgba(74, 122, 184, 0.3), transparent)
}

.altbah1aloula-single-content h3 {
    color: #212121;
    font-size: 27px;
    font-weight: 700;
    margin: 35px 0 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(82, 41, 51, 0.06) 0%, rgba(74, 122, 184, 0.03) 100%);
    border: 2px solid rgba(74, 122, 184, 0.25);
    border-left: 5px solid rgba(74, 122, 184, 0.6);
    border-right: 2px solid rgba(74, 122, 184, 0.15);
    border-radius: 0;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 6px rgba(74, 122, 184, 0.08)
}

.altbah1aloula-single-content h3::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -5px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(74, 122, 184, 0.4), rgba(56, 189, 248, 0.5), rgba(74, 122, 184, 0.4), transparent)
}

.altbah1aloula-single-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -5px;
    right: -2px;
    height: 1px;
    background: linear-gradient(90deg, rgba(74, 122, 184, 0.2), transparent)
}

.altbah1aloula-single-content h4 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 18px 0;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(82, 41, 51, 0.04) 0%, rgba(74, 122, 184, 0.02) 100%);
    border: 1px solid rgba(74, 122, 184, 0.2);
    border-left: 4px solid rgba(74, 122, 184, 0.5);
    border-right: 1px solid rgba(74, 122, 184, 0.1);
    border-radius: 0;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 1px 4px rgba(74, 122, 184, 0.06)
}

.altbah1aloula-single-content h4::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -4px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 122, 184, 0.3), rgba(56, 189, 248, 0.4), rgba(74, 122, 184, 0.3), transparent)
}

.altbah1aloula-single-content h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -4px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(74, 122, 184, 0.15), transparent)
}

.altbah1aloula-single-content a {
    color: #4a7ab8;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(74, 122, 184, 0.3);
    padding-bottom: 3px;
    position: relative;
    background: linear-gradient(90deg, rgba(74, 122, 184, 0.05) 0%, transparent 100%);
    border-radius: 0;
    transition: none
}

.altbah1aloula-single-content a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(74, 122, 184, 0.4), rgba(56, 189, 248, 0.5), rgba(74, 122, 184, 0.4));
    opacity: 0.7;
    pointer-events: none
}

.altbah1aloula-single-content a::after {
    content: '↗';
    font-size: 14px;
    margin-right: 6px;
    opacity: 0.6;
    position: relative;
    top: -1px
}

.altbah1aloula-single-content a:hover {
    color: #7a3e48;
    border-bottom-color: rgba(74, 122, 184, 0.6);
    background: linear-gradient(90deg, rgba(74, 122, 184, 0.08) 0%, rgba(56, 189, 248, 0.04) 100%)
}

.altbah1aloula-single-content a:hover::before {
    opacity: 1;
    height: 2px;
    bottom: -3px
}

.altbah1aloula-single-content a:hover::after {
    opacity: 1;
    color: #7a3e48
}

.altbah1aloula-single-content ul,
.altbah1aloula-single-content ol {
    margin: 25px 0;
    padding: 0;
    padding-right: 20px;
    direction: rtl
}

.altbah1aloula-single-content ul {
    list-style: none
}

.altbah1aloula-single-content ul li {
    position: relative;
    padding: 8px 8px 8px 30px;
    margin-bottom: 8px;
    line-height: 1.7;
    color: #333;
    border-bottom: 1px solid rgba(74, 122, 184, 0.1)
}

.altbah1aloula-single-content ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    top: 8px;
    color: #4a7ab8;
    font-size: 20px;
    font-weight: bold;
    line-height: 1
}

.altbah1aloula-single-content ul li:hover {
    background: rgba(74, 122, 184, 0.02);
    border-bottom-color: rgba(74, 122, 184, 0.2)
}

.altbah1aloula-single-content ul li:hover::before {
    color: #7a3e48
}

.altbah1aloula-single-content ol {
    list-style: none;
    counter-reset: altbah1aloula-counter
}

.altbah1aloula-single-content ol li {
    position: relative;
    padding: 8px 8px 8px 35px;
    margin-bottom: 8px;
    line-height: 1.7;
    color: #333;
    border-bottom: 1px solid rgba(74, 122, 184, 0.1);
    counter-increment: altbah1aloula-counter
}

.altbah1aloula-single-content ol li::before {
    content: counter(altbah1aloula-counter) '.';
    position: absolute;
    right: 0;
    top: 8px;
    color: #4a7ab8;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    width: 24px;
    text-align: center
}

.altbah1aloula-single-content ol li:hover {
    background: rgba(74, 122, 184, 0.02);
    border-bottom-color: rgba(74, 122, 184, 0.2)
}

.altbah1aloula-single-content ol li:hover::before {
    color: #7a3e48
}

.altbah1aloula-single-content ul ul,
.altbah1aloula-single-content ol ol,
.altbah1aloula-single-content ul ol,
.altbah1aloula-single-content ol ul {
    margin: 10px 0;
    padding-right: 25px
}

.altbah1aloula-single-content ul ul li,
.altbah1aloula-single-content ol ol li {
    padding-left: 25px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(74, 122, 184, 0.08)
}

.altbah1aloula-single-content ul ul li::before {
    content: '◦';
    font-size: 16px;
    color: #7a3e48;
    right: 0;
    top: 8px;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none
}

.altbah1aloula-single-content ol ol li::before {
    content: counter(altbah1aloula-counter, lower-alpha) '.';
    font-size: 14px;
    color: #7a3e48;
    font-weight: 500;
    right: 0;
    top: 8px;
    width: 20px;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none
}

.altbah1aloula-single-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: rgba(82, 41, 51, 0.05);
    border: 2px solid rgba(74, 122, 184, 0.3);
    border-right: 5px solid rgba(74, 122, 184, 0.7);
    border-left: 2px solid rgba(74, 122, 184, 0.3);
    border-radius: 0;
    position: relative;
    direction: rtl;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    font-size: 18px
}

.altbah1aloula-single-content blockquote::before {
    content: '"';
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 60px;
    line-height: 1;
    color: rgba(74, 122, 184, 0.3);
    font-family: Georgia, serif;
    font-weight: bold
}

.altbah1aloula-single-content blockquote::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, rgba(74, 122, 184, 0.7), rgba(74, 122, 184, 0.5), rgba(74, 122, 184, 0.7))
}

.altbah1aloula-single-content blockquote p {
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1
}

.altbah1aloula-single-content blockquote p:last-child {
    margin-bottom: 0
}

.altbah1aloula-single-content blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 15px;
    font-style: normal;
    color: rgba(74, 122, 184, 0.8);
    font-weight: 600;
    text-align: left;
    direction: ltr
}

.altbah1aloula-single-content blockquote cite::before {
    content: '— '
}

.altbah1aloula-single-content code {
    background: rgba(82, 41, 51, 0.08);
    border: 1px solid rgba(74, 122, 184, 0.2);
    border-radius: 0;
    padding: 3px 8px;
    font-size: 15px;
    color: #4a7ab8;
    font-family: 'Courier New', monospace
}

.altbah1aloula-single-content pre {
    margin: 25px 0;
    padding: 20px;
    background: rgba(82, 41, 51, 0.05);
    border: 2px solid rgba(74, 122, 184, 0.3);
    border-right: 4px solid rgba(74, 122, 184, 0.5);
    border-radius: 0;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    line-height: 1.6;
    font-size: 14px;
    color: #333
}

.altbah1aloula-single-content pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit
}

.altbah1aloula-single-content table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(74, 122, 184, 0.3);
    border-radius: 0;
    overflow: hidden
}

.altbah1aloula-single-content table th {
    background: rgba(82, 41, 51, 0.1);
    border: 1px solid rgba(74, 122, 184, 0.3);
    padding: 12px 15px;
    text-align: right;
    font-weight: 700;
    color: #212121;
    border-bottom: 3px solid rgba(74, 122, 184, 0.5)
}

.altbah1aloula-single-content table td {
    border: 1px solid rgba(74, 122, 184, 0.2);
    padding: 10px 15px;
    text-align: right;
    color: #333
}

.altbah1aloula-single-content table tr:nth-child(even) {
    background: rgba(82, 41, 51, 0.02)
}

.altbah1aloula-single-content table tr:hover {
    background: rgba(82, 41, 51, 0.05)
}

.altbah1aloula-single-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 2px solid rgba(74, 122, 184, 0.2) !important;
    display: block !important;
    object-fit: contain !important;
    box-sizing: border-box !important
}

.altbah1aloula-single-content figure,
.altbah1aloula-single-content .wp-block-image,
.altbah1aloula-single-content .wp-caption {
    max-width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important
}

.altbah1aloula-single-content figure img,
.altbah1aloula-single-content .wp-block-image img,
.altbah1aloula-single-content .wp-caption img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block !important
}


.altbah1aloula-article-google-news-bar {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 32px;
    padding: 20px 24px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.94);
    /* -webkit-backdrop-filter: blur(12px); */
    /* backdrop-filter: blur(12px); */
    border: 2px solid rgba(66, 133, 244, 0.45);
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(66, 133, 244, 0.12), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    position: relative;
    z-index: 10
}

.altbah1aloula-article-google-news-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-size: 17px;
    font-weight: 700
}

.altbah1aloula-article-google-news-link:hover {
    color: #0d47a1 !important
}

.altbah1aloula-article-google-news-icon {
    display: inline-flex;
    flex-shrink: 0
}

.altbah1aloula-article-google-news-icon svg {
    display: block;
    width: 32px;
    height: 32px
}

.altbah1aloula-article-google-news-text {
    letter-spacing: 0.01em
}

@media (max-width:768px) {
    .altbah1aloula-article-google-news-bar {
        padding: 16px 20px;
        margin-bottom: 28px
    }

    .altbah1aloula-article-google-news-link {
        font-size: 15px;
        gap: 12px
    }

    .altbah1aloula-article-google-news-icon svg {
        width: 28px;
        height: 28px
    }
}

.altbah1aloula-follow-inline-row {
    position: relative;
    z-index: 10;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 0 0 32px 0;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none
}

.altbah1aloula-follow-inline-cell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none
}

.altbah1aloula-follow-inline-label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase
}

.altbah1aloula-follow-inline-fb-btn,
.altbah1aloula-follow-inline-tw-btn,
.altbah1aloula-follow-inline-tg-btn,
.altbah1aloula-follow-inline-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    min-height: 52px
}

.altbah1aloula-follow-inline-fb-btn {
    background: linear-gradient(145deg, #1877f2 0%, #0d5bbf 100%);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.25)
}

.altbah1aloula-follow-inline-fb-btn:hover {
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4);
    color: #fff !important
}

.altbah1aloula-follow-inline-tw-btn {
    background: linear-gradient(145deg, #0f0f0f 0%, #000 100%);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2)
}

.altbah1aloula-follow-inline-tw-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: #fff !important
}

.altbah1aloula-follow-inline-tg-btn {
    background: linear-gradient(145deg, #229ED9 0%, #1a7fb3 100%);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3)
}

.altbah1aloula-follow-inline-tg-btn:hover {
    box-shadow: 0 8px 24px rgba(34, 158, 217, 0.45);
    color: #fff !important
}

.altbah1aloula-follow-inline-google-btn {
    background: linear-gradient(145deg, #fff 0%, #f0f4fc 100%);
    color: #1a1a2e !important;
    border-color: rgba(66, 133, 244, 0.35)
}

.altbah1aloula-follow-inline-google-btn:hover {
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.25);
    color: #1a1a2e !important;
    border-color: rgba(66, 133, 244, 0.5)
}

.altbah1aloula-follow-inline-fb-btn .altbah1aloula-icon,
.altbah1aloula-follow-inline-tw-btn .altbah1aloula-icon,
.altbah1aloula-follow-inline-tg-btn .altbah1aloula-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0
}

.altbah1aloula-follow-google-icon {
    display: inline-flex;
    line-height: 1;
    flex-shrink: 0
}

.altbah1aloula-follow-google-icon svg {
    display: block;
    width: 22px;
    height: 22px
}

.altbah1aloula-follow-fb-widget {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center
}

.altbah1aloula-follow-fb-widget iframe {
    max-width: 100%
}

@media (max-width:600px) {
    .altbah1aloula-follow-inline-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 28px
    }

    .altbah1aloula-follow-inline-fb-btn,
    .altbah1aloula-follow-inline-tw-btn,
    .altbah1aloula-follow-inline-tg-btn,
    .altbah1aloula-follow-inline-google-btn {
        padding: 12px 18px;
        font-size: 14px;
        min-height: 48px
    }
}

.altbah1aloula-google-news-wrap {
    margin: 36px 0 32px 0;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 10
}

.altbah1aloula-google-news-button {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 28px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4fc 50%, #e8f0fe 100%) !important;
    border: 1px solid rgba(66, 133, 244, 0.25) !important;
    border-radius: 24px !important;
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    direction: rtl;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(66, 133, 244, 0.08) !important;
    cursor: pointer !important;
    box-sizing: border-box !important
}

.altbah1aloula-google-news-button:hover {
    background: linear-gradient(135deg, #eef4fc 0%, #e3edfc 50%, #d6e6fc 100%) !important;
    border-color: rgba(66, 133, 244, 0.4) !important;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.12), 0 0 0 1px rgba(66, 133, 244, 0.15) !important;
    color: #1a1a2e !important
}

.altbah1aloula-goog.altbah1aloula-news-scroll-inner {
    display: inline-flex;
    gap: 35px;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    width: max-content;
    position: relative;
    direction: rtl
}

.altbah1aloula-google-news-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.altbah1aloula-google-news-icon {
    width: 32px !important;
    height: 32px !important;
    display: block !important
}

.altbah1aloula-google-news-text {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important
}

/* Share box: التنسيقات في style.css */

.altbah1aloula-single-tags {
    margin: 25px 0;
    padding: 0;
    background: transparent
}

.altbah1aloula-single-tags strong {
    color: #333;
    font-size: 15px;
    margin-left: 10px;
    display: inline-block
}

.altbah1aloula-tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background: transparent;
    border: 2px solid rgba(74, 122, 184, 0.5);
    border-left: 3px solid rgba(74, 122, 184, 0.7);
    border-right: 3px solid rgba(74, 122, 184, 0.7);
    border-radius: 0;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    position: relative
}

.altbah1aloula-tag::before {
    content: '';
    position: absolute;
    left: -3px;
    top: -2px;
    bottom: -2px;
    width: 2px;
    background: rgba(74, 122, 184, 0.4)
}

.altbah1aloula-tag:hover {
    background: transparent;
    border-color: rgba(74, 122, 184, 0.8);
    border-left-color: rgba(74, 122, 184, 1);
    border-right-color: rgba(74, 122, 184, 1);
    color: #4a7ab8
}

.altbah1aloula-latest-category-posts {
    margin: 30px 0;
    padding: 20px;
    background: #152238;
    background: linear-gradient(152deg, #0c1929 0%, #522933 32%, #7a3e48 55%, #7a3e48 78%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25)
}

.altbah1aloula-latest-category-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.25);
    position: relative
}

.altbah1aloula-latest-category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.85) 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2)
}

.altbah1aloula-latest-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0
}

.altbah1aloula-latest-category-item {
    margin: 0;
    padding: 0;
    position: relative
}

.altbah1aloula-latest-category-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%)
}

.altbah1aloula-latest-category-item:last-child::after {
    display: none
}

.altbah1aloula-latest-category-link {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.7;
    padding: 15px 0;
    padding-right: 25px;
    position: relative
}

.altbah1aloula-latest-category-link::before {
    content: '▸';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 800
}

.altbah1aloula-latest-category-link:hover {
    color: #fff;
    padding-right: 30px;
    background: rgba(255, 255, 255, 0.08)
}

.altbah1aloula-latest-category-link:hover::before {
    color: #fff
}

.altbah1aloula-category-posts-grid {
    margin: 30px 0;
    padding: 0 10px
}

.altbah1aloula-category-grid-section-title {
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 28px 0 18px 0;
    padding: 14px 20px 14px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 250, 250, 0.99) 100%);
    border: 1px solid rgba(122, 62, 72, 0.22);
    border-right: none;
    border-radius: 0 12px 12px 0;
    position: relative;
    text-align: right;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    width: 100%;
    margin-right: 0;
    box-sizing: border-box
}

.altbah1aloula-category-grid-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #7a3e48, #522933);
    border-radius: 0 12px 12px 0
}

.altbah1aloula-category-grid-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(122, 62, 72, 0.3))
}

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

.altbah1aloula-category-grid-item {
    margin: 0;
    padding: 0
}

.altbah1aloula-category-grid-link {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(122, 62, 72, 0.35);
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    position: relative
}

.altbah1aloula-category-grid-link:hover {
    border-color: rgba(122, 62, 72, 0.6);
    background: rgba(255, 255, 255, 0.08)
}

.altbah1aloula-category-grid-image-wrapper {
    width: 100%;
    height: 180px;
    min-height: 180px;
    overflow: hidden;
    background: #e8e8e8;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    display: block
}

.altbah1aloula-category-posts-grid .altbah1aloula-category-grid-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    min-height: 180px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    vertical-align: top
}

.altbah1aloula-category-grid-image-wrapper img.altbah1aloula-category-grid-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 180px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important
}

.altbah1aloula-category-grid-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(82, 41, 51, 0.1) 0%, rgba(82, 41, 51, 0.15) 50%, rgba(82, 41, 51, 0.1) 100%);
    display: block
}

.altbah1aloula-category-grid-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2
}

.altbah1aloula-category-grid-content {
    padding: 10px;
    min-height: 80px;
    display: flex;
    align-items: center
}

.altbah1aloula-category-grid-title {
    color: #212121;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(122, 62, 72, 0.25);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none
}

.altbah1aloula-category-grid-link:hover .altbah1aloula-category-grid-title {
    color: #7a3e48;
    text-shadow: 0 2px 6px rgba(122, 62, 72, 0.35);
    border-bottom-color: rgba(122, 62, 72, 0.6)
}

.altbah1aloula-category-grid-meta {
    display: none
}

@media (max-width:992px) {
    .altbah1aloula-category-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .altbah1aloula-category-grid-title {
        font-size: 14px;
        line-height: 1.4;
        padding: 6px 10px;
        margin-bottom: 6px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(122, 62, 72, 0.2);
        border-radius: 0;
        box-shadow: none
    }
}

@media (max-width:768px) {
    .altbah1aloula-category-posts-grid {
    margin: 24px 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
        border-left: 1px solid rgba(122, 62, 72, 0.2);
        border-right: 1px solid rgba(122, 62, 72, 0.2)
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 90px;
        padding: 0;
        border-radius: 12px;
        border: 1px solid rgba(122, 62, 72, 0.25);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        overflow: hidden;
        position: relative;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.97) 0%, rgba(253, 250, 250, 0.99) 100%)
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, rgba(122, 62, 72, 0.95), rgba(74, 12, 24, 0.9));
        border-radius: 0 12px 12px 0;
        z-index: 1
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link:hover {
        border-color: rgba(122, 62, 72, 0.5);
        box-shadow: 0 4px 20px rgba(122, 62, 72, 0.2)
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link:hover::before {
        width: 5px;
        box-shadow: 0 0 12px rgba(122, 62, 72, 0.45)
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-image-wrapper {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
        height: 70px;
        min-height: 70px;
        max-height: 70px;
        flex-shrink: 0;
        border-radius: 12px;
        border: 2px solid rgba(122, 62, 72, 0.35);
        overflow: hidden;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08)
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-image-wrapper img,
    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-image-wrapper .altbah1aloula-category-grid-image {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
        max-width: 70px !important;
        max-height: 70px !important;
        object-fit: cover !important;
        display: block !important
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-date {
        display: none
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-content {
        flex: 1;
        min-width: 0;
        padding: 10px 14px 10px 12px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        text-align: right
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-title {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        margin: 0 0 6px 0;
        padding: 0;
        border: none;
        border-bottom: none;
        color: #1a1a1a
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link:hover .altbah1aloula-category-grid-title {
        color: #7a3e48
    }

    .altbah1aloula-category-grid-meta {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #666;
        margin-top: 4px
    }

    .altbah1aloula-category-grid-date-text {
        color: #888;
        font-weight: 500
    }

    .altbah1aloula-category-grid-cat {
        display: inline-block;
        background: linear-gradient(135deg, rgba(122, 62, 72, 0.2), rgba(82, 41, 51, 0.15));
        color: #7a3e48;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 6px;
        border: 1px solid rgba(122, 62, 72, 0.35)
    }
}

@media (max-width:768px) {
    .altbah1aloula-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .altbah1aloula-category-grid-image-wrapper {
        height: 160px
    }

    .altbah1aloula-category-grid-title {
        font-size: 14px;
        line-height: 1.4;
        padding: 4px 0;
        margin-bottom: 6px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(74, 122, 184, 0.15);
        border-radius: 0;
        box-shadow: none
    }
}

.altbah1aloula-related-posts {
    margin: 40px 0
}

.altbah1aloula-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px
}

@media (max-width:992px) {
    .altbah1aloula-single-title {
        font-size: 34px
    }

    .altbah1aloula-related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px
    }
}

@media (max-width:768px) {
    .altbah1aloula-single-image-wrapper {
        margin: 0 0 10px 0;
        border-radius: 12px;
        border-right-width: 3px
    }

    .altbah1aloula-single-image-category {
        top: 10px;
        right: 10px
    }

    .altbah1aloula-single-image-category-link {
        padding: 5px 12px;
        font-size: 12px
    }

    .altbah1aloula-single-title {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.35;
        margin: 0 0 18px 0;
        padding: 16px 18px 16px 18px;
        color: #1a1a1a;
        text-align: right;
        letter-spacing: -0.3px;
        border-right-width: 4px;
        border-radius: 0 8px 8px 0;
    }

    .altbah1aloula-single-post-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 16px 12px;
        margin: 0 0 20px 0
    }

    .altbah1aloula-single-meta-item {
        width: 100%;
        justify-content: flex-start;
        padding: 6px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08)
    }

    .altbah1aloula-single-meta-item:last-child {
        border-bottom: none
    }

    .altbah1aloula-single-meta-item .altbah1aloula-icon {
        width: 18px;
        height: 18px;
        margin-left: 8px
    }

    .altbah1aloula-single-image-alt {
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 700;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%)
    }

    .altbah1aloula-single-content {
        padding: 20px 20px !important;
        font-size: 17px !important;
        line-height: 1.85 !important;
        color: #333 !important;
        margin: 0 !important;
        background: transparent !important
    }

    .altbah1aloula-single-content p {
        margin-bottom: 18px !important;
        text-align: right !important;
        color: #333 !important
    }

    .altbah1aloula-single-content h2 {
        font-size: 26px !important;
        font-weight: 800 !important;
        padding: 15px 20px !important;
        margin: 30px 0 18px 0 !important;
        background: rgba(82, 41, 51, 0.05) !important;
        border: 2px solid rgba(74, 122, 184, 0.3) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 5px solid rgba(74, 122, 184, 0.6) !important;
        border-radius: 0 !important;
        position: relative !important;
        line-height: 1.4 !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content h2::before {
        content: '' !important;
        position: absolute !important;
        top: -2px !important;
        left: 0 !important;
        right: 0 !important;
        height: 2px !important;
        background: linear-gradient(90deg, transparent, rgba(74, 122, 184, 0.4), transparent) !important
    }

    .altbah1aloula-single-content h3 {
        font-size: 23px !important;
        font-weight: 700 !important;
        padding: 12px 20px !important;
        margin: 25px 0 15px 0 !important;
        background: rgba(82, 41, 51, 0.03) !important;
        border: 2px solid rgba(74, 122, 184, 0.25) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 4px solid rgba(74, 122, 184, 0.5) !important;
        border-radius: 0 !important;
        line-height: 1.4 !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content h4 {
        font-size: 19px !important;
        font-weight: 700 !important;
        padding: 10px 20px !important;
        margin: 20px 0 12px 0 !important;
        background: rgba(82, 41, 51, 0.02) !important;
        border: 1px solid rgba(74, 122, 184, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 3px solid rgba(74, 122, 184, 0.4) !important;
        border-radius: 0 !important;
        line-height: 1.5 !important;
        color: #333 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content a {
        color: #4a7ab8 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border-bottom: 2px solid rgba(74, 122, 184, 0.3) !important;
        padding-bottom: 2px !important;
        position: relative !important
    }

    .altbah1aloula-single-content a::after {
        content: '↗' !important;
        font-size: 14px !important;
        margin-right: 4px !important;
        opacity: 0.6 !important
    }

    .altbah1aloula-single-content a:hover {
        color: #7a3e48 !important;
        border-bottom-color: rgba(74, 122, 184, 0.6) !important
    }

    .altbah1aloula-single-content ul,
    .altbah1aloula-single-content ol {
        margin: 25px 0 !important;
        padding: 0 !important;
        padding-right: 30px !important;
        direction: rtl !important
    }

    .altbah1aloula-single-content ul {
        list-style: none !important
    }

    .altbah1aloula-single-content ul li {
        position: relative !important;
        padding: 6px 6px 6px 25px !important;
        margin-bottom: 6px !important;
        line-height: 1.6 !important;
        color: #333 !important;
        border-bottom: 1px solid rgba(74, 122, 184, 0.1) !important
    }

    .altbah1aloula-single-content ul li::before {
        content: '•' !important;
        position: absolute !important;
        right: 0 !important;
        top: 6px !important;
        color: #4a7ab8 !important;
        font-size: 18px !important;
        font-weight: bold !important;
        line-height: 1 !important
    }

    .altbah1aloula-single-content ol {
        list-style: none !important;
        counter-reset: altbah1aloula-counter !important
    }

    .altbah1aloula-single-content ol li {
        position: relative !important;
        padding: 6px 6px 6px 30px !important;
        margin-bottom: 6px !important;
        line-height: 1.6 !important;
        color: #333 !important;
        border-bottom: 1px solid rgba(74, 122, 184, 0.1) !important;
        counter-increment: altbah1aloula-counter !important
    }

    .altbah1aloula-single-content ol li::before {
        content: counter(altbah1aloula-counter) '.' !important;
        position: absolute !important;
        right: 0 !important;
        top: 6px !important;
        color: #4a7ab8 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        width: 22px !important;
        text-align: center !important
    }

    .altbah1aloula-single-content blockquote {
        margin: 30px 0 !important;
        padding: 20px 25px !important;
        background: rgba(82, 41, 51, 0.05) !important;
        border: 2px solid rgba(74, 122, 184, 0.3) !important;
        border-right: 5px solid rgba(74, 122, 184, 0.7) !important;
        border-left: 2px solid rgba(74, 122, 184, 0.3) !important;
        border-radius: 0 !important;
        position: relative !important;
        direction: rtl !important;
        font-style: italic !important;
        color: #444 !important;
        line-height: 1.8 !important;
        font-size: 18px !important
    }

    .altbah1aloula-single-content blockquote::before {
        content: '"' !important;
        position: absolute !important;
        right: 15px !important;
        top: 10px !important;
        font-size: 60px !important;
        line-height: 1 !important;
        color: rgba(74, 122, 184, 0.3) !important;
        font-family: Georgia, serif !important;
        font-weight: bold !important
    }

    .altbah1aloula-single-content code {
        background: rgba(82, 41, 51, 0.08) !important;
        border: 1px solid rgba(74, 122, 184, 0.2) !important;
        border-radius: 0 !important;
        padding: 3px 8px !important;
        font-size: 15px !important;
        color: #4a7ab8 !important;
        font-family: 'Courier New', monospace !important
    }

    .altbah1aloula-single-content pre {
        margin: 25px 0 !important;
        padding: 20px !important;
        background: rgba(82, 41, 51, 0.05) !important;
        border: 2px solid rgba(74, 122, 184, 0.3) !important;
        border-right: 4px solid rgba(74, 122, 184, 0.5) !important;
        border-radius: 0 !important;
        overflow-x: auto !important;
        direction: ltr !important;
        text-align: left !important;
        line-height: 1.6 !important;
        font-size: 14px !important;
        color: #333 !important
    }

    .altbah1aloula-single-content pre code {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        color: inherit !important
    }

    .altbah1aloula-single-content table {
        width: 100% !important;
        margin: 25px 0 !important;
        border-collapse: collapse !important;
        background: rgba(255, 255, 255, 0.5) !important;
        border: 2px solid rgba(74, 122, 184, 0.3) !important;
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content table thead,
    .altbah1aloula-single-content table tbody,
    .altbah1aloula-single-content table tr {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important
    }

    .altbah1aloula-single-content table th {
        background: rgba(82, 41, 51, 0.1) !important;
        border: 1px solid rgba(74, 122, 184, 0.3) !important;
        padding: 12px 15px !important;
        text-align: right !important;
        font-weight: 700 !important;
        color: #212121 !important;
        border-bottom: 3px solid rgba(74, 122, 184, 0.5) !important
    }

    .altbah1aloula-single-content table td {
        border: 1px solid rgba(74, 122, 184, 0.2) !important;
        padding: 10px 15px !important;
        text-align: right !important;
        color: #333 !important
    }

    .altbah1aloula-single-content table tr:nth-child(even) {
        background: rgba(82, 41, 51, 0.02) !important
    }

    .altbah1aloula-single-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: 2px solid rgba(74, 122, 184, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content figure,
    .altbah1aloula-single-content .wp-block-image,
    .altbah1aloula-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content figure img,
    .altbah1aloula-single-content .wp-block-image img,
    .altbah1aloula-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important
    }

    .altbah1aloula-breadcrumb {
        margin: 0 0 18px 0 !important;
        padding: 10px 14px !important;
        min-height: 40px !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(74, 122, 184, 0.12) !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important
    }

    .altbah1aloula-breadcrumb-inner {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        direction: rtl !important;
        min-height: 20px !important
    }

    .altbah1aloula-breadcrumb-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: #555 !important;
        text-decoration: none !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        padding: 0 !important;
        transition: color 0.2s ease !important
    }

    .altbah1aloula-breadcrumb-item:hover {
        color: #4a7ab8 !important
    }

    .altbah1aloula-breadcrumb-item i {
        font-size: 11px !important;
        color: #999 !important
    }

    .altbah1aloula-breadcrumb-item:hover i {
        color: #4a7ab8 !important
    }

    .altbah1aloula-breadcrumb-separator {
        color: #ccc !important;
        font-size: 11px !important;
        padding: 0 4px !important
    }

    .altbah1aloula-breadcrumb-separator i {
        font-size: 9px !important
    }

    .altbah1aloula-breadcrumb-current {
        color: #212121 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 4px 0 !important
    }

    .altbah1aloula-share-article-section {
        margin: 10px 20px;
        padding: 10px 0
    }

    .altbah1aloula-latest-category-posts {
        margin: 24px 0;
        padding: 0 14px 20px 14px;
        width: 100%;
        box-sizing: border-box;
        background: linear-gradient(152deg, #0c1929 0%, #522933 32%, #7a3e48 55%, #7a3e48 78%, #0f172a 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        position: relative;
        overflow: hidden
    }

    .altbah1aloula-latest-category-posts::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
        border-radius: 0 4px 4px 0
    }

    .altbah1aloula-latest-category-posts .altbah1aloula-latest-category-title {
        margin: 0 0 16px 0;
        padding: 14px 0 12px 0;
        border-bottom: 3px solid rgba(255, 255, 255, 0.25);
        border-radius: 0;
        position: relative;
        color: #fff
    }

    .altbah1aloula-latest-category-posts .altbah1aloula-latest-category-title::after {
        display: block;
        content: '';
        position: absolute;
        bottom: -3px;
        right: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.85));
        border-radius: 0 2px 2px 0
    }

    .altbah1aloula-latest-category-posts .altbah1aloula-latest-category-link {
        transition: none;
        padding: 12px 28px 12px 0;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.95)
    }

    .altbah1aloula-latest-category-posts .altbah1aloula-latest-category-link:hover {
        padding-right: 28px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff
    }

    .altbah1aloula-latest-category-posts .altbah1aloula-latest-category-link::before {
        transition: none;
        color: rgba(255, 255, 255, 0.7)
    }

    .altbah1aloula-latest-category-posts .altbah1aloula-latest-category-link:hover::before {
        right: 0;
        transform: translateY(-50%);
        color: #fff
    }

    .altbah1aloula-latest-category-posts .altbah1aloula-latest-category-item::after {
        right: 14px;
        left: 14px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent)
    }

    .altbah1aloula-category-posts-grid {
        margin: 24px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box
    }

    .altbah1aloula-google-news-wrap {
        margin: 28px 0 !important
    }

    .altbah1aloula-google-news-button {
        padding: 16px 22px !important;
        font-size: 17px !important;
        border-radius: 20px !important
    }

    .altbah1aloula-google-news-icon {
        width: 28px !important;
        height: 28px !important
    }

    .altbah1aloula-share-box-title,
    .altbah1aloula-latest-category-title {
        font-size: 19px;
        margin-bottom: 15px;
        padding-bottom: 10px
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-section-title {
        font-size: 1.05rem;
        margin: 24px 0 16px 0;
        width: 100%;
        padding: 12px 20px 12px 24px;
        border-radius: 0 10px 10px 0
    }

    .altbah1aloula-latest-category-title {
        font-weight: 800 !important
    }

    .altbah1aloula-latest-category-link {
        font-weight: 800 !important
    }

    .altbah1aloula-share-box-grid {
        gap: 10px
    }

    .altbah1aloula-share-box-btn {
        padding: 11px 16px;
        font-size: 14px
    }

    .altbah1aloula-category-grid-title {
        font-size: 14px;
        line-height: 1.4;
        padding: 6px 10px;
        margin-bottom: 6px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(74, 122, 184, 0.15);
        border-radius: 0;
        box-shadow: none
    }

    .altbah1aloula-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px
    }

    .altbah1aloula-post-navigation {
        flex-direction: column;
        gap: 15px
    }
}

@media (max-width:480px) {
    .altbah1aloula-single-title {
        font-size: 21px;
        font-weight: 800;
        line-height: 1.38;
        margin: 0 0 16px 0;
        padding: 14px 16px;
        color: #1a1a1a;
        text-align: right;
        letter-spacing: -0.2px;
        border-right-width: 4px;
        border-radius: 0 8px 8px 0;
    }

    .altbah1aloula-single-post-meta {
        padding: 12px 14px 10px;
        margin: 0 0 18px 0;
        gap: 8px
    }

    .altbah1aloula-single-meta-item {
        padding: 5px 0;
        font-size: 12px
    }

    .altbah1aloula-single-meta-item .altbah1aloula-icon {
        width: 16px;
        height: 16px;
        margin-left: 6px
    }

    .altbah1aloula-single-image-alt {
        padding: 12px 15px;
        font-size: 14px;
        font-weight: 700
    }

    .altbah1aloula-single-content {
        padding: 18px 15px !important;
        font-size: 16px !important;
        line-height: 1.8 !important;
        color: #333 !important
    }

    .altbah1aloula-single-content p {
        margin-bottom: 16px !important;
        text-align: right !important;
        color: #333 !important
    }

    .altbah1aloula-single-content h2 {
        font-size: 23px !important;
        padding: 12px 20px !important;
        margin: 25px 0 15px 0 !important;
        background: rgba(82, 41, 51, 0.05) !important;
        border: 2px solid rgba(74, 122, 184, 0.3) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 5px solid rgba(74, 122, 184, 0.6) !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content h3 {
        font-size: 21px !important;
        padding: 10px 20px !important;
        margin: 20px 0 12px 0 !important;
        background: rgba(82, 41, 51, 0.03) !important;
        border: 2px solid rgba(74, 122, 184, 0.25) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 4px solid rgba(74, 122, 184, 0.5) !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content h4 {
        font-size: 17px !important;
        padding: 8px 20px !important;
        margin: 18px 0 10px 0 !important;
        background: rgba(82, 41, 51, 0.02) !important;
        border: 1px solid rgba(74, 122, 184, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 3px solid rgba(74, 122, 184, 0.4) !important;
        color: #333 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content a {
        color: #4a7ab8 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border-bottom: 2px solid rgba(74, 122, 184, 0.3) !important;
        font-size: 16px !important
    }

    .altbah1aloula-single-content ul,
    .altbah1aloula-single-content ol {
        padding-right: 18px !important;
        margin: 20px 0 !important
    }

    .altbah1aloula-single-content ul li,
    .altbah1aloula-single-content ol li {
        padding: 6px 6px 6px 25px !important;
        margin-bottom: 6px !important;
        font-size: 16px !important;
        line-height: 1.6 !important
    }

    .altbah1aloula-single-content ul li::before {
        right: 0 !important;
        font-size: 18px !important;
        top: 6px !important
    }

    .altbah1aloula-single-content ol li {
        padding: 6px 6px 6px 30px !important
    }

    .altbah1aloula-single-content ol li::before {
        right: 0 !important;
        font-size: 15px !important;
        width: 22px !important;
        top: 6px !important
    }

    .altbah1aloula-single-content blockquote {
        padding: 15px 18px !important;
        font-size: 16px !important;
        margin: 25px 0 !important
    }

    .altbah1aloula-single-content code {
        font-size: 14px !important
    }

    .altbah1aloula-single-content pre {
        padding: 14px !important;
        font-size: 13px !important;
        margin: 20px 0 !important
    }

    .altbah1aloula-single-content table {
        width: 100% !important;
        margin: 20px 0 !important;
        font-size: 14px !important;
        border-left: none !important;
        border-right: none !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content table thead,
    .altbah1aloula-single-content table tbody,
    .altbah1aloula-single-content table tr {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important
    }

    .altbah1aloula-single-content table th,
    .altbah1aloula-single-content table td {
        padding: 8px 12px !important
    }

    .altbah1aloula-single-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        border: 2px solid rgba(74, 122, 184, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content figure,
    .altbah1aloula-single-content .wp-block-image,
    .altbah1aloula-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content figure img,
    .altbah1aloula-single-content .wp-block-image img,
    .altbah1aloula-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important
    }

    .altbah1aloula-breadcrumb {
        margin: 0 0 14px 0 !important;
        padding: 8px 12px !important;
        min-height: 38px !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-breadcrumb-inner {
        gap: 5px !important
    }

    .altbah1aloula-breadcrumb-item {
        font-size: 12px !important;
        gap: 4px !important
    }

    .altbah1aloula-latest-category-title {
        font-weight: 800 !important
    }

    .altbah1aloula-latest-category-link {
        font-weight: 800 !important
    }

    .altbah1aloula-breadcrumb-item i {
        font-size: 10px !important
    }

    .altbah1aloula-breadcrumb-separator {
        font-size: 10px !important;
        padding: 0 3px !important
    }

    .altbah1aloula-breadcrumb-current {
        font-size: 12px !important
    }

    .altbah1aloula-share-article-section {
        margin: 10px 15px;
        padding: 10px 0
    }
    .altbah1aloula-google-news-wrap {
        margin: 25px 15px
    }

    .altbah1aloula-latest-category-posts {
        margin: 20px 0;
        padding: 0 12px 18px 12px;
        width: 100%;
        box-sizing: border-box;
        background: linear-gradient(152deg, #0c1929 0%, #522933 32%, #7a3e48 55%, #7a3e48 78%, #0f172a 100%);
        border: 1px solid rgba(255, 255, 255, 0.1)
    }

    .altbah1aloula-category-posts-grid {
        margin: 20px 0;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
        border-left: 1px solid rgba(74, 122, 184, 0.15);
        border-right: 1px solid rgba(74, 122, 184, 0.15)
    }

    .altbah1aloula-google-news-wrap {
        margin: 24px 0 !important
    }

    .altbah1aloula-google-news-button {
        padding: 14px 20px !important;
        font-size: 16px !important;
        border-radius: 18px !important
    }

    .altbah1aloula-google-news-icon {
        width: 26px !important;
        height: 26px !important
    }

    .altbah1aloula-share-box-title,
    .altbah1aloula-latest-category-title {
        font-size: 17px;
        margin-bottom: 12px
    }

    .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-section-title {
        font-size: 1rem;
        margin: 20px 0 14px 0;
        width: 100%;
        padding: 11px 18px 11px 22px;
        border-radius: 0 8px 8px 0
    }

    .altbah1aloula-share-box-btn {
        padding: 10px 14px;
        font-size: 13px
    }

    .altbah1aloula-single-content ul,
    .altbah1aloula-single-content ol {
        padding-right: 15px;
        margin: 20px 0
    }

    .altbah1aloula-single-content ul li {
        padding: 6px 6px 6px 25px;
        margin-bottom: 6px;
        font-size: 15px;
        line-height: 1.6
    }

    .altbah1aloula-single-content ul li::before {
        right: 0;
        font-size: 18px;
        top: 6px
    }

    .altbah1aloula-single-content ol li {
        padding: 6px 6px 6px 30px;
        margin-bottom: 6px;
        font-size: 15px;
        line-height: 1.6
    }

    .altbah1aloula-single-content ol li::before {
        right: 0;
        font-size: 14px;
        width: 20px;
        top: 6px
    }

    .altbah1aloula-single-content blockquote {
        padding: 15px 18px;
        font-size: 16px;
        margin: 25px 0;
        line-height: 1.75
    }

    .altbah1aloula-single-content blockquote::before {
        font-size: 45px;
        right: 12px;
        top: 8px
    }

    .altbah1aloula-single-content pre {
        padding: 14px;
        font-size: 13px;
        margin: 20px 0;
        overflow-x: auto
    }

    .altbah1aloula-single-content code {
        font-size: 14px;
        padding: 2px 6px
    }

    .altbah1aloula-single-content table {
        width: 100% !important;
        margin: 20px 0 !important;
        font-size: 14px !important;
        border-left: none !important;
        border-right: none !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content table thead,
    .altbah1aloula-single-content table tbody,
    .altbah1aloula-single-content table tr {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important
    }

    .altbah1aloula-single-content table th,
    .altbah1aloula-single-content table td {
        padding: 8px 12px !important;
        min-width: 80px !important
    }

    .altbah1aloula-single-content a {
        font-size: 16px;
        border-bottom-width: 2px
    }

    .altbah1aloula-single-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: 2px solid rgba(74, 122, 184, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content figure,
    .altbah1aloula-single-content .wp-block-image,
    .altbah1aloula-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important
    }

    .altbah1aloula-single-content figure img,
    .altbah1aloula-single-content .wp-block-image img,
    .altbah1aloula-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important
    }

    .altbah1aloula-related-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .altbah1aloula-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .altbah1aloula-category-grid-image-wrapper {
        height: 160px
    }

    .altbah1aloula-category-grid-title {
        font-size: 13px;
        line-height: 1.3;
        padding: 5px 8px;
        margin-bottom: 5px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(74, 122, 184, 0.15);
        border-radius: 0;
        box-shadow: none
    }
}

body.altbah1aloula-dark-mode .altbah1aloula-single-title {
    color: #f0f0f0 !important;
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.98) 0%, rgba(28, 28, 28, 1) 100%) !important;
    border-color: rgba(122, 62, 72, 0.5) !important;
    border-right-color: rgba(74, 122, 184, 0.85) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
}

body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-item {
    color: #e0e0e0 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-item:hover {
    color: #ffffff !important
}

body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-item i {
    color: #b0b0b0 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-item:hover i {
    color: #ffffff !important
}

body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-separator {
    color: #b0b0b0 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-separator i {
    color: #b0b0b0 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-current {
    color: #ffffff !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-item {
    color: #999999 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-text {
    color: #999999 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-icon {
    color: #888888 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-category-item {
    color: #999999 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-link {
    color: #999999 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-link:hover {
    color: #cccccc !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-category-item {
    color: #999999 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-meta-category-item:hover {
    color: #cccccc !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-nested {
    color: #999999 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-nested:hover {
    background: rgba(122, 62, 72, 0.9) !important;
    color: #fff !important
}

body.altbah1aloula-dark-mode .altbah1aloula-single-content ul li,
body.altbah1aloula-dark-mode .altbah1aloula-single-content ol li {
    color: #d0d0d0 !important;
    border-bottom-color: rgba(74, 122, 184, 0.2) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-single-content ul li::before {
    color: #ff6b6b !important
}

body.altbah1aloula-dark-mode .altbah1aloula-single-content ol li::before {
    color: #ff6b6b !important
}

body.altbah1aloula-dark-mode .altbah1aloula-single-content ul li:hover,
body.altbah1aloula-dark-mode .altbah1aloula-single-content ol li:hover {
    background: rgba(74, 122, 184, 0.05) !important;
    border-bottom-color: rgba(74, 122, 184, 0.3) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-single-content ul li:hover::before,
body.altbah1aloula-dark-mode .altbah1aloula-single-content ol li:hover::before {
    color: #ff8787 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-single-content ul ul li,
body.altbah1aloula-dark-mode .altbah1aloula-single-content ol ol li {
    color: #c0c0c0 !important;
    border-bottom-color: rgba(74, 122, 184, 0.15) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-title {
    color: #ffffff !important
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-link {
    color: #ffffff !important
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-link:hover {
    color: #ff6b6b !important
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-link::before {
    color: #ffffff !important
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-link:hover::before {
    color: #ff6b6b !important
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-posts {
    background: rgba(38, 38, 38, 0.85) !important;
    border: 1px solid rgba(74, 122, 184, 0.35) !important;
    border-radius: 8px
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-title {
    border-bottom-color: rgba(74, 122, 184, 0.5) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-title::after {
    background: linear-gradient(90deg, rgba(74, 122, 184, 0.7), rgba(56, 189, 248, 0.8), rgba(74, 122, 184, 0.7)) !important;
    box-shadow: 0 2px 8px rgba(74, 122, 184, 0.3)
}

body.altbah1aloula-dark-mode .altbah1aloula-latest-category-item::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), rgba(74, 122, 184, 0.25), rgba(255, 255, 255, 0.12), transparent) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2)
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid {
    background: rgba(28, 28, 28, 0.6) !important;
    border-color: rgba(122, 62, 72, 0.4) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-section-title {
    color: #f5f5f5 !important;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.98), rgba(35, 35, 35, 0.99)) !important;
    border-color: rgba(122, 62, 72, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3)
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-section-title::before {
    background: linear-gradient(180deg, #7a3e48, #522933) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.98), rgba(36, 36, 36, 0.99)) !important;
    border-color: rgba(122, 62, 72, 0.5) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link:hover {
    border-color: rgba(122, 62, 72, 0.65) !important;
    box-shadow: 0 4px 20px rgba(122, 62, 72, 0.25) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-content,
body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-title {
    color: #f0f0f0 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link:hover .altbah1aloula-category-grid-title {
    color: #94a3b8 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-meta,
body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-date-text {
    color: #b0b0b0 !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-date {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5)
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-cat {
    background: rgba(122, 62, 72, 0.4) !important;
    color: #94a3b8 !important;
    border-color: rgba(122, 62, 72, 0.55) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-image-wrapper {
    border-color: rgba(122, 62, 72, 0.45) !important
}

body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-image-placeholder {
    background: rgba(50, 50, 50, 0.8) !important
}

@media (max-width:768px) {
    body.altbah1aloula-dark-mode .altbah1aloula-single-content {
        color: #e5e5e5 !important;
        background: transparent !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content p {
        color: #e5e5e5 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content * {
        color: inherit
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content h2 {
        color: #ffffff !important;
        background: rgba(74, 122, 184, 0.2) !important;
        border-color: rgba(74, 122, 184, 0.5) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content h3 {
        color: #f5f5f5 !important;
        background: rgba(74, 122, 184, 0.15) !important;
        border-color: rgba(74, 122, 184, 0.4) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content h4 {
        color: #f0f0f0 !important;
        background: rgba(74, 122, 184, 0.12) !important;
        border-color: rgba(74, 122, 184, 0.35) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content a {
        color: #ff6b6b !important;
        border-bottom-color: rgba(255, 107, 107, 0.5) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content a:hover {
        color: #ff8787 !important;
        border-bottom-color: rgba(255, 135, 135, 0.7) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content code {
        color: #ff6b6b !important;
        background: rgba(74, 122, 184, 0.25) !important;
        border-color: rgba(74, 122, 184, 0.4) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content pre {
        background: rgba(74, 122, 184, 0.2) !important;
        border-color: rgba(74, 122, 184, 0.5) !important;
        color: #e5e5e5 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content pre code {
        color: #e5e5e5 !important;
        background: transparent !important;
        border: none !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content blockquote {
        background: rgba(74, 122, 184, 0.2) !important;
        border-color: rgba(74, 122, 184, 0.5) !important;
        color: #e5e5e5 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content blockquote p {
        color: #e5e5e5 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content blockquote cite {
        color: rgba(255, 107, 107, 0.9) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content table {
        background: rgba(255, 255, 255, 0.03) !important;
        border-color: rgba(74, 122, 184, 0.5) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content table th {
        background: rgba(74, 122, 184, 0.25) !important;
        border-color: rgba(74, 122, 184, 0.5) !important;
        color: #ffffff !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content table td {
        border-color: rgba(74, 122, 184, 0.4) !important;
        color: #e5e5e5 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content table tr:nth-child(even) {
        background: rgba(74, 122, 184, 0.1) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content table tr:hover {
        background: rgba(74, 122, 184, 0.2) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content img {
        border-color: rgba(74, 122, 184, 0.4) !important;
        opacity: 0.95
    }

    body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb {
        background: rgba(30, 30, 30, 0.8) !important;
        border-color: rgba(74, 122, 184, 0.4) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-item {
        color: #e0e0e0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-breadcrumb-current {
        color: #ffffff !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-post-meta {
        background: linear-gradient(152deg, rgba(26, 38, 59, 0.75) 0%, rgba(82, 41, 51, 0.8) 100%) !important;
        border-color: rgba(122, 62, 72, 0.4) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-meta-item,
    body.altbah1aloula-dark-mode .altbah1aloula-meta-link,
    body.altbah1aloula-dark-mode .altbah1aloula-meta-text {
        color: rgba(255, 255, 255, 0.92) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-nested {
        background: rgba(122, 62, 72, 0.45) !important;
        border-color: rgba(122, 62, 72, 0.55) !important;
        color: #fff !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-meta-link:hover {
        color: #ffffff !important
    }
}

@media (max-width:480px) {
    body.altbah1aloula-dark-mode .altbah1aloula-single-content {
        color: #e0e0e0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content p {
        color: #e0e0e0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content h2 {
        color: #ffffff !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content h3 {
        color: #f5f5f5 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content h4 {
        color: #f0f0f0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content a {
        color: #ff6b6b !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content code {
        color: #ff6b6b !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content pre {
        color: #e0e0e0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content blockquote {
        color: #e0e0e0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content table th {
        color: #ffffff !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-single-content table td {
        color: #e0e0e0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-section-title {
        color: #f5f5f5 !important;
        background: linear-gradient(135deg, rgba(38, 38, 38, 0.98), rgba(42, 42, 42, 0.98)) !important;
        border-color: rgba(74, 122, 184, 0.4) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-title {
        color: #f0f0f0 !important;
        border-bottom-color: rgba(74, 122, 184, 0.3) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-grid-link:hover .altbah1aloula-category-grid-title {
        color: #7dd3fc !important;
        border-bottom-color: rgba(74, 122, 184, 0.6) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-grid-meta,
    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-meta {
        color: #b0b0b0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-grid-date-text,
    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-date-text {
        color: #a0a0a0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-grid-cat,
    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-cat {
        background: rgba(74, 122, 184, 0.25) !important;
        color: #7dd3fc !important;
        border-color: rgba(74, 122, 184, 0.4) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-grid-section-title::before {
        background: linear-gradient(180deg, #e65100, #7a3e48) !important
    }
}

@media (max-width:768px) {
    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid {
        border-left-color: rgba(74, 122, 184, 0.3) !important;
        border-right-color: rgba(74, 122, 184, 0.3) !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-title {
        color: #f0f0f0 !important
    }

    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid .altbah1aloula-category-grid-link:hover .altbah1aloula-category-grid-title {
        color: #7dd3fc !important
    }
}

@media (max-width:480px) {
    body.altbah1aloula-dark-mode .altbah1aloula-category-posts-grid {
        border-left-color: rgba(74, 122, 184, 0.3) !important;
        border-right-color: rgba(74, 122, 184, 0.3) !important
    }
}

.altbah1aloula-single-post {
    position: relative
}

.altbah1aloula-read-progress-sentinel {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    min-height: 4px;
    pointer-events: none;
    opacity: 0;
    z-index: 0
}

.altbah1aloula-auto-loaded-posts {
    margin-top: 0
}

.altbah1aloula-auto-loaded-post {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(74, 122, 184, 0.2)
}

body.altbah1aloula-dark-mode .altbah1aloula-auto-loaded-post {
    border-top-color: rgba(74, 122, 184, 0.3)
}

.altbah1aloula-comments-section {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 2px solid rgba(74, 122, 184, 0.2)
}

.altbah1aloula-add-comment-wrap {
    display: none
}

.altbah1aloula-btn-add-comment {
    display: none
}

.altbah1aloula-open-comment-modal {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #7a3e48;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none
}

.altbah1aloula-btn-add-comment:hover,
.altbah1aloula-open-comment-modal:hover {
    background: #7a3e48;
    color: #fff
}

.altbah1aloula-comment-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease
}

.altbah1aloula-comment-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}

.altbah1aloula-comment-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer
}

.altbah1aloula-comment-modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    padding: 24px 28px;
    animation: altbah1aloula-modal-in 0.25s ease
}
@keyframes altbah1aloula-modal-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.altbah1aloula-comment-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px
}

.altbah1aloula-comment-modal-close:hover {
    color: #7a3e48;
    background: rgba(90, 130, 190, 0.08)
}

.altbah1aloula-comment-modal-title {
    margin: 0 0 8px;
    padding-left: 36px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a
}

.altbah1aloula-comment-modal-note {
    margin: 0 0 20px;
    padding-left: 36px;
    font-size: 13px;
    color: #666
}

.altbah1aloula-comment-form .altbah1aloula-form-group {
    margin-bottom: 16px
}

.altbah1aloula-comment-form-actions {
    margin: 20px 0 0
}

body.altbah1aloula-dark-mode .altbah1aloula-comment-modal-box {
    background: #2a2a2a
}

body.altbah1aloula-dark-mode .altbah1aloula-comment-modal-title {
    color: #f0f0f0
}

body.altbah1aloula-dark-mode .altbah1aloula-comment-modal-note {
    color: #b0b0b0
}

body.altbah1aloula-dark-mode .altbah1aloula-comment-modal-close {
    color: #ccc
}

body.altbah1aloula-dark-mode .altbah1aloula-comment-modal-close:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15)
}

@media (max-width: 768px) {
    .altbah1aloula-single-content a,
    .altbah1aloula-related-item,
    .altbah1aloula-tag-post-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.06);
    }
}





/* ——— صندوق الكاتب — تصميم حصري (v3) ——— */
.altbah1aloula-author-box {
    margin: 40px 0;
    direction: rtl;
    background: #fff;
    border: 1px solid #eeecee;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.altbah1aloula-author-box-inner {
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    gap: 20px;
}

.altbah1aloula-author-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 18px;
    flex-wrap: wrap;
    gap: 15px;
}

.altbah1aloula-author-box-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.altbah1aloula-author-box-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, rgba(122,62,72,0.08), rgba(122,62,72,0.02));
    border: 1px solid rgba(122,62,72,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a3e48;
}

.altbah1aloula-author-box-icon svg {
    width: 50px;
    height: 50px;
}

.altbah1aloula-author-box:hover .altbah1aloula-author-box-icon {
    background: #7a3e48;
    color: #fff;
    box-shadow: 0 8px 20px rgba(122,62,72,0.2);
}

.altbah1aloula-author-box-name-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.altbah1aloula-author-box-name {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
}

.altbah1aloula-author-box-name a {
    color: inherit;
    text-decoration: none;
}

.altbah1aloula-author-box-name a:hover { color: #7a3e48; }

/* تحرير بواسطة: قبل الاسم بشكل صغير ومميز */
.altbah1aloula-author-box-badge {
    font-size: 11px;
    font-weight: 700;
    color: #7a3e48;
    background: linear-gradient(135deg, rgba(122,62,72,0.08) 0%, rgba(122,62,72,0.04) 100%);
    padding: 5px 12px 5px 10px;
    border-radius: 8px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(122,62,72,0.12);
    border-inline-start: 3px solid #7a3e48;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 1px 3px rgba(122,62,72,0.06);
    align-self: flex-start;
    text-transform: uppercase;
    opacity: 0.95;
}
.altbah1aloula-author-box-badge::before {
    content: '';
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background: #7a3e48;
    border-radius: 50%;
    opacity: 0.7;
}

.altbah1aloula-author-box-body {
    display: flex;
    flex-direction: column;
}

.altbah1aloula-author-box-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0;
    text-align: right;
}

.altbah1aloula-author-box-bio p { margin: 0 0 10px 0; }
.altbah1aloula-author-box-bio p:last-child { margin-bottom: 0; }

.altbah1aloula-author-box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.altbah1aloula-author-box-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.altbah1aloula-author-box-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
}

.altbah1aloula-author-box-social-link:hover { opacity: 0.85; }
.altbah1aloula-author-box-social-link .altbah1aloula-icon { width: 14px; height: 14px; }
.altbah1aloula-author-box-social-x-twitter { background: #000; }
.altbah1aloula-author-box-social-facebook-f { background: #1877f2; }
.altbah1aloula-author-box-social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.altbah1aloula-author-box-social-linkedin-in { background: #0077b5; }
.altbah1aloula-author-box-social-youtube { background: #ff0000; }

.altbah1aloula-author-box-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.altbah1aloula-author-box-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    color: #7a3e48;
}

.altbah1aloula-author-box-email-btn:hover {
    background: #7a3e48;
    color: #fff;
    border-color: #7a3e48;
}

.altbah1aloula-author-box-link {
    font-size: 13px;
    font-weight: 800;
    color: #7a3e48;
    text-decoration: none;
    background: rgba(122,62,72,0.06);
    padding: 10px 20px;
    border-radius: 12px;
}

.altbah1aloula-author-box-link:hover {
    background: #7a3e48;
    color: #fff;
    box-shadow: 0 4px 12px rgba(122,62,72,0.15);
}

/* Dark Mode support for Author Box v3 */
body.altbah1aloula-dark-mode .altbah1aloula-author-box {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.altbah1aloula-dark-mode .altbah1aloula-author-box-header { border-bottom-color: #2a2a2a; }
body.altbah1aloula-dark-mode .altbah1aloula-author-box-name { color: #eee; }
body.altbah1aloula-dark-mode .altbah1aloula-author-box-badge {
    background: linear-gradient(135deg, rgba(122,62,72,0.25) 0%, rgba(122,62,72,0.12) 100%);
    border-color: rgba(90,130,190,0.35);
    border-inline-start-color: #7a3e48;
    color: #ff6b8a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
body.altbah1aloula-dark-mode .altbah1aloula-author-box-badge::before { background: #ff6b8a; }
body.altbah1aloula-dark-mode .altbah1aloula-author-box-bio { color: #bbb; }
body.altbah1aloula-dark-mode .altbah1aloula-author-box-email-btn { background: #222; border-color: #333; color: #ff4d6d; }
body.altbah1aloula-dark-mode .altbah1aloula-author-box-link { background: rgba(122,62,72,0.15); color: #ff4d6d; }

/* ——— صندوق الكاتب في الموبايل: حواف ولمس بصرية أفضل ——— */
@media (max-width: 600px) {
    .altbah1aloula-author-box {
        margin: 28px 0;
        border-radius: 14px;
        border-width: 1px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }
    .altbah1aloula-author-box-inner {
        padding: 20px 18px;
        gap: 18px;
    }
    .altbah1aloula-author-box-header {
        flex-direction: row;
        align-items: center;
        padding-bottom: 16px;
        gap: 14px;
        border-bottom-width: 1px;
    }
    .altbah1aloula-author-box-main {
        gap: 14px;
    }
    .altbah1aloula-author-box-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .altbah1aloula-author-box-icon svg {
        width: 42px;
        height: 42px;
    }
    /* تحرير بواسطة: فوق الاسم بشكل صغير ومميز في الموبايل */
    .altbah1aloula-author-box-name-block {
        gap: 6px;
        min-width: 0;
    }
    .altbah1aloula-author-box-badge {
        font-size: 10px;
        padding: 4px 10px 4px 8px;
        border-radius: 6px;
        border-inline-start-width: 2px;
        letter-spacing: 0.03em;
    }
    .altbah1aloula-author-box-badge::before {
        width: 2px;
        height: 2px;
        inset-inline-end: 6px;
    }
    .altbah1aloula-author-box-name {
        font-size: 20px;
        line-height: 1.2;
    }
    .altbah1aloula-author-box-body {
        padding-top: 2px;
    }
    .altbah1aloula-author-box-bio {
        font-size: 15px;
        line-height: 1.75;
        padding-inline: 0;
    }
    .altbah1aloula-author-box-bio p { margin: 0 0 8px 0; }
    .altbah1aloula-author-box-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(0,0,0,0.06);
    }
    .altbah1aloula-author-box-social {
        gap: 10px;
    }
    .altbah1aloula-author-box-social-link {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .altbah1aloula-author-box-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    .altbah1aloula-author-box-email-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .altbah1aloula-author-box-link {
        font-size: 14px;
        padding: 12px 18px;
        border-radius: 10px;
        text-align: center;
    }
}

body.altbah1aloula-dark-mode .altbah1aloula-author-box-name-block { color: inherit; }
@media (max-width: 600px) {
    body.altbah1aloula-dark-mode .altbah1aloula-author-box-footer { border-top-color: #2a2a2a; }
}


