/**
 * Single Post Styles
 * ملف CSS منفصل لصفحة المقال
 */

/* Single Post Container */
.hadutta-com-single-post {
    background: transparent;
    padding: 0;
    margin-bottom: 40px;
}


/* Breadcrumb Navigation - Very Simple */
.hadutta-com-breadcrumb {
    margin: 0 0 20px 0; /* بدون فراغ أعلى - الفراغ في padding-top للـ main */
    padding: 12px 15px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(107, 142, 35, 0.2);
    border-radius: 0;
}

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

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

.hadutta-com-breadcrumb-item:hover {
    color: #1a1a2e;
}

.hadutta-com-breadcrumb-item i {
    font-size: 12px;
    color: #999;
}

.hadutta-com-breadcrumb-item:hover i {
    color: #1a1a2e;
}

.hadutta-com-breadcrumb-separator {
    color: #999;
    font-size: 12px;
    padding: 0 4px;
}

.hadutta-com-breadcrumb-separator i {
    font-size: 10px;
}

.hadutta-com-breadcrumb-current {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    background: transparent;
    border: none;
}

/* Single Post Header */
.hadutta-com-single-header {
    margin-bottom: 25px;
    margin-top: 0;
    position: relative;
}

.hadutta-com-single-title {
    font-size: 38px;
    font-weight: 700;
    color: #212121;
    margin: 0 0 20px 0;
    padding: 0 15px;
    line-height: 1.4;
    text-align: right;
    direction: rtl;
}

/* Single Post Meta - Simple & Elegant */
.hadutta-com-single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 15px 15px;
    margin: 0 15px 25px 15px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(107, 142, 35, 0.5);
    border-left: 4px solid rgba(107, 142, 35, 0.7);
    border-right: 4px solid rgba(107, 142, 35, 0.7);
    border-radius: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.hadutta-com-single-post-meta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -4px;
    right: -4px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.6), transparent);
}

.hadutta-com-single-post-meta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -4px;
    right: -4px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.6), transparent);
}

.hadutta-com-single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 14px;
}

.hadutta-com-single-meta-item i {
    color: var(--primary-color);
    font-size: 14px;
    width: 16px;
}

.hadutta-com-meta-link,
.hadutta-com-meta-text {
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.hadutta-com-meta-link:hover {
    color: var(--primary-color);
}

/* Categories Nested Design - Simple */
.hadutta-com-meta-categories {
    flex-wrap: wrap;
}

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

.hadutta-com-category-nested {
    display: inline-block;
    padding: 4px 10px;
    background: transparent;
    border: 2px solid rgba(107, 142, 35, 0.5);
    border-top: 3px solid rgba(107, 142, 35, 0.7);
    border-bottom: 3px solid rgba(107, 142, 35, 0.7);
    border-radius: 0;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    position: relative;
}

.hadutta-com-category-nested::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -3px;
    bottom: -3px;
    width: 2px;
    background: rgba(107, 142, 35, 0.6);
}

.hadutta-com-category-nested:hover {
    background: transparent;
    border-color: rgba(107, 142, 35, 0.8);
    border-top-color: rgba(107, 142, 35, 1);
    border-bottom-color: rgba(107, 142, 35, 1);
    color: #1a1a2e;
}

/* Single Post Image - Unified Size & Distinctive Design */
.hadutta-com-single-image-wrapper {
    margin: 25px 0 20px 0;
    border-radius: 0;
    overflow: hidden;
    border: none;
    border-top: 4px solid rgba(107, 142, 35, 0.5);
    border-bottom: 4px solid rgba(107, 142, 35, 0.5);
    position: relative;
    width: 100%;
    height: 450px;
    background: rgba(85, 107, 47, 0.05);
    will-change: transform;
}

.hadutta-com-single-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: auto;
    transform: translateY(0);
    will-change: transform;
}

.hadutta-com-single-image-alt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    z-index: 2;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Alt text - Show only first 4 words by default, full title on hover */
.hadutta-com-single-image-alt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    z-index: 2;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Limit to 4 words by default using JavaScript will handle this */
.hadutta-com-single-image-wrapper {
    position: relative;
}

/* On hover, show full title */
.hadutta-com-single-image-wrapper:hover .hadutta-com-single-image-alt {
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    max-height: none;
    display: block;
}

/* Single Post Content */
.hadutta-com-single-content {
    color: #333;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    padding: 25px 15px;
    background: transparent;
}

.hadutta-com-single-content p {
    margin-bottom: 20px;
}

/* Headings - Distinctive Design */
.hadutta-com-single-content h2 {
    color: #212121;
    font-size: 28px;
    font-weight: 800;
    margin: 35px 0 20px 0;
    padding: 15px 20px;
    background: rgba(85, 107, 47, 0.05);
    border: 2px solid rgba(107, 142, 35, 0.3);
    border-left: 5px solid rgba(107, 142, 35, 0.6);
    border-radius: 0;
    position: relative;
    line-height: 1.4;
}

.hadutta-com-single-content h2::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -5px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.4), transparent);
}

.hadutta-com-single-content h3 {
    color: #212121;
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 18px 0;
    padding: 12px 18px;
    background: rgba(85, 107, 47, 0.03);
    border: 2px solid rgba(107, 142, 35, 0.25);
    border-left: 4px solid rgba(107, 142, 35, 0.5);
    border-radius: 0;
    line-height: 1.4;
}

.hadutta-com-single-content h4 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    padding: 10px 15px;
    background: rgba(85, 107, 47, 0.02);
    border: 1px solid rgba(107, 142, 35, 0.2);
    border-left: 3px solid rgba(107, 142, 35, 0.4);
    border-radius: 0;
    line-height: 1.5;
}

/* Links - Distinctive Design */
.hadutta-com-single-content a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(107, 142, 35, 0.3);
    padding-bottom: 2px;
    position: relative;
}

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

.hadutta-com-single-content a:hover {
    color: #16213e;
    border-bottom-color: rgba(107, 142, 35, 0.6);
}

.hadutta-com-single-content a:hover::after {
    opacity: 1;
}

/* Lists - Distinctive Design */
.hadutta-com-single-content ul,
.hadutta-com-single-content ol {
    margin: 25px 0;
    padding: 0;
    padding-right: 30px;
    direction: rtl;
}

.hadutta-com-single-content ul {
    list-style: none;
}

.hadutta-com-single-content ul li {
    position: relative;
    padding: 12px 3px 12px 40px; /* 3px padding-right for text spacing */
    margin-bottom: 10px;
    background: rgba(85, 107, 47, 0.03);
    border: 1px solid rgba(107, 142, 35, 0.2);
    border-right: 4px solid rgba(107, 142, 35, 0.5);
    border-radius: 0;
    line-height: 1.7;
    color: #333;
}

.hadutta-com-single-content ul li::before {
    content: '▸';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 142, 35, 0.8);
    font-size: 18px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 142, 35, 0.1);
    border: 1px solid rgba(107, 142, 35, 0.3);
    border-radius: 0;
}

.hadutta-com-single-content ul li:hover {
    background: rgba(85, 107, 47, 0.05);
    border-right-color: rgba(107, 142, 35, 0.7);
}

.hadutta-com-single-content ul li:hover::before {
    background: rgba(107, 142, 35, 0.2);
    border-color: rgba(107, 142, 35, 0.5);
}

/* Numbered Lists - Distinctive Design */
.hadutta-com-single-content ol {
    list-style: none;
    counter-reset: hadutta-com-counter;
}

.hadutta-com-single-content ol li {
    position: relative;
    padding: 12px 3px 12px 50px; /* 3px padding-right for text spacing */
    margin-bottom: 10px;
    background: rgba(85, 107, 47, 0.03);
    border: 1px solid rgba(107, 142, 35, 0.2);
    border-right: 4px solid rgba(107, 142, 35, 0.5);
    border-radius: 0;
    line-height: 1.7;
    color: #333;
    counter-increment: hadutta-com-counter;
}

.hadutta-com-single-content ol li::before {
    content: counter(hadutta-com-counter);
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: rgba(107, 142, 35, 0.8);
    font-size: 14px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(107, 142, 35, 0.9);
    border-radius: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hadutta-com-single-content ol li:hover {
    background: rgba(85, 107, 47, 0.05);
    border-right-color: rgba(107, 142, 35, 0.7);
}

.hadutta-com-single-content ol li:hover::before {
    background: rgba(107, 142, 35, 1);
    border-color: rgba(107, 142, 35, 1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Nested Lists */
.hadutta-com-single-content ul ul,
.hadutta-com-single-content ol ol,
.hadutta-com-single-content ul ol,
.hadutta-com-single-content ol ul {
    margin: 10px 0;
    padding-right: 30px;
}

.hadutta-com-single-content ul ul li,
.hadutta-com-single-content ol ol li {
    background: rgba(85, 107, 47, 0.02);
    border-right-width: 3px;
    padding-right: 38px; /* 35px + 3px spacing */
}

.hadutta-com-single-content ul ul li::before {
    font-size: 16px;
    width: 18px;
    height: 18px;
    right: -22px;
}

.hadutta-com-single-content ol ol li::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
    right: -30px;
}

/* Blockquote - Distinctive Design */
.hadutta-com-single-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: rgba(85, 107, 47, 0.05);
    border: 2px solid rgba(107, 142, 35, 0.3);
    border-right: 5px solid rgba(107, 142, 35, 0.7);
    border-left: 2px solid rgba(107, 142, 35, 0.3);
    border-radius: 0;
    position: relative;
    direction: rtl;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    font-size: 18px;
}

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

.hadutta-com-single-content blockquote::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, rgba(107, 142, 35, 0.7), rgba(107, 142, 35, 0.5), rgba(107, 142, 35, 0.7));
}

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

.hadutta-com-single-content blockquote p:last-child {
    margin-bottom: 0;
}

.hadutta-com-single-content blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 15px;
    font-style: normal;
    color: rgba(107, 142, 35, 0.8);
    font-weight: 600;
    text-align: left;
    direction: ltr;
}

.hadutta-com-single-content blockquote cite::before {
    content: '— ';
}

/* Code and Pre - Distinctive Design */
.hadutta-com-single-content code {
    background: rgba(85, 107, 47, 0.08);
    border: 1px solid rgba(107, 142, 35, 0.2);
    border-radius: 0;
    padding: 3px 8px;
    font-size: 15px;
    color: #1a1a2e;
    font-family: 'Courier New', monospace;
}

.hadutta-com-single-content pre {
    margin: 25px 0;
    padding: 20px;
    background: rgba(85, 107, 47, 0.05);
    border: 2px solid rgba(107, 142, 35, 0.3);
    border-right: 4px solid rgba(107, 142, 35, 0.5);
    border-radius: 0;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
}

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

/* Table - Distinctive Design */
.hadutta-com-single-content table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(107, 142, 35, 0.3);
    border-radius: 0;
    overflow: hidden;
}

.hadutta-com-single-content table th {
    background: rgba(85, 107, 47, 0.1);
    border: 1px solid rgba(107, 142, 35, 0.3);
    padding: 12px 15px;
    text-align: right;
    font-weight: 700;
    color: #212121;
    border-bottom: 3px solid rgba(107, 142, 35, 0.5);
}

.hadutta-com-single-content table td {
    border: 1px solid rgba(107, 142, 35, 0.2);
    padding: 10px 15px;
    text-align: right;
    color: #333;
}

.hadutta-com-single-content table tr:nth-child(even) {
    background: rgba(85, 107, 47, 0.02);
}

.hadutta-com-single-content table tr:hover {
    background: rgba(85, 107, 47, 0.05);
}

/* Images inside content - Unified size and prevent layout issues */
.hadutta-com-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(107, 142, 35, 0.2) !important;
    display: block !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
}

/* Prevent images from breaking layout */
.hadutta-com-single-content figure,
.hadutta-com-single-content .wp-block-image,
.hadutta-com-single-content .wp-caption {
    max-width: 100% !important;
    width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

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

/* Google News Follow Button */
.hadutta-com-google-news-follow {
    margin: 40px 0 30px 0;
    padding: 0;
    width: 100%;
}

.hadutta-com-google-news-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: #fff;
    border: 2px solid rgba(66, 133, 244, 0.3);
    border-radius: 0;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    direction: rtl;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hadutta-com-google-news-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.hadutta-com-google-news-text {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.hadutta-com-google-news-button:hover {
    background: rgba(66, 133, 244, 0.05);
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Share Article Section - Like Image */
.hadutta-com-share-article-section {
    margin: 40px 0;
    padding: 0;
}

.hadutta-com-share-article-title {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0;
    text-align: right;
    direction: rtl;
}

.hadutta-com-share-article-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    direction: rtl;
}

.hadutta-com-share-article-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid rgba(107, 142, 35, 0.3);
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    direction: rtl;
    min-width: 140px;
    font-family: inherit;
}

.hadutta-com-share-article-btn i {
    font-size: 20px;
    display: inline-block;
    line-height: 1;
    flex-shrink: 0;
}

.hadutta-com-share-article-btn span {
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.hadutta-com-share-article-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Facebook Button */
.hadutta-com-share-fb {
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877f2;
}

.hadutta-com-share-fb i {
    color: #1877f2;
}

.hadutta-com-share-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.hadutta-com-share-fb:hover i,
.hadutta-com-share-fb:hover span {
    color: #fff;
}

/* Twitter Button */
.hadutta-com-share-twitter {
    border-color: rgba(0, 0, 0, 0.4);
    color: #000;
}

.hadutta-com-share-twitter i {
    color: #000;
}

.hadutta-com-share-twitter:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.hadutta-com-share-twitter:hover i,
.hadutta-com-share-twitter:hover span {
    color: #fff;
}

/* WhatsApp Button */
.hadutta-com-share-whatsapp {
    border-color: rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.hadutta-com-share-whatsapp i {
    color: #25d366;
}

.hadutta-com-share-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.hadutta-com-share-whatsapp:hover i,
.hadutta-com-share-whatsapp:hover span {
    color: #fff;
}

/* Telegram Button */
.hadutta-com-share-telegram {
    border-color: rgba(37, 150, 190, 0.4);
    color: #2596be;
}

.hadutta-com-share-telegram i {
    color: #2596be;
}

.hadutta-com-share-telegram:hover {
    background: #2596be;
    border-color: #2596be;
    color: #fff;
}

.hadutta-com-share-telegram:hover i,
.hadutta-com-share-telegram:hover span {
    color: #fff;
}

/* Copy Link Button */
.hadutta-com-share-copy {
    border-color: rgba(139, 92, 246, 0.4);
    color: #8b5cf6;
}

.hadutta-com-share-copy i {
    color: #8b5cf6;
}

.hadutta-com-share-copy:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
}

.hadutta-com-share-copy:hover i,
.hadutta-com-share-copy:hover span {
    color: #fff;
}

/* Responsive Share Article */
@media (max-width: 768px) {
    .hadutta-com-share-article-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .hadutta-com-share-article-buttons {
        gap: 10px;
    }
    
    .hadutta-com-share-article-btn {
        padding: 10px 16px;
        min-width: 120px;
        font-size: 14px;
    }
    
    .hadutta-com-share-article-btn i {
        font-size: 18px;
    }
    
    .hadutta-com-share-article-btn span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hadutta-com-share-article-section {
        margin: 30px 0;
    }
    
    .hadutta-com-share-article-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .hadutta-com-share-article-buttons {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .hadutta-com-share-article-btn {
        padding: 10px 14px;
        min-width: calc(50% - 4px);
        font-size: 13px;
    }
    
    .hadutta-com-share-article-btn i {
        font-size: 16px;
    }
    
    .hadutta-com-share-article-btn span {
        font-size: 13px;
    }
}

/* Single Post Tags */
.hadutta-com-single-tags {
    margin: 25px 0;
    padding: 0;
    background: transparent;
}

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

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

.hadutta-com-tag::before {
    content: '';
    position: absolute;
    left: -3px;
    top: -2px;
    bottom: -2px;
    width: 2px;
    background: rgba(107, 142, 35, 0.4);
}

.hadutta-com-tag:hover {
    background: transparent;
    border-color: rgba(107, 142, 35, 0.8);
    border-left-color: rgba(107, 142, 35, 1);
    border-right-color: rgba(107, 142, 35, 1);
    color: #1a1a2e;
}


/* Latest Category Posts - Enhanced Design with Glassmorphism Separator */
.hadutta-com-latest-category-posts {
    margin: 30px 0;
    padding: 20px;
    background: rgba(85, 107, 47, 0.03);
    border: 1px solid rgba(107, 142, 35, 0.2);
    border-radius: 0;
}

.hadutta-com-latest-category-title {
    color: #333;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(107, 142, 35, 0.3);
    position: relative;
}

.hadutta-com-latest-category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(107, 142, 35, 0.8) 0%, 
        rgba(120, 160, 60, 0.9) 50%, 
        rgba(107, 142, 35, 0.8) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(107, 142, 35, 0.4);
}

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

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

.hadutta-com-latest-category-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(107, 142, 35, 0.3) 10%, 
        rgba(120, 160, 60, 0.5) 50%, 
        rgba(107, 142, 35, 0.3) 90%, 
        transparent 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(107, 142, 35, 0.2);
}

.hadutta-com-latest-category-item:last-child::after {
    display: none;
}

.hadutta-com-latest-category-link {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.7;
    padding: 15px 0;
    padding-right: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.hadutta-com-latest-category-link::before {
    content: '▸';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 142, 35, 0.6);
    font-size: 14px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.hadutta-com-latest-category-link:hover {
    color: #1a1a2e;
    padding-right: 30px;
    background: rgba(107, 142, 35, 0.05);
}

.hadutta-com-latest-category-link:hover::before {
    color: #1a1a2e;
    right: -5px;
    transform: translateY(-50%) scale(1.2);
}

/* Category Posts Grid - 3 columns, 6 posts */
.hadutta-com-category-posts-grid {
    margin: 30px 10px;
}

.hadutta-com-category-grid-section-title {
    color: #333;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(107, 142, 35, 0.4);
    position: relative;
    text-align: center;
}

.hadutta-com-category-grid-section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.8), transparent);
}

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

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

.hadutta-com-category-grid-link {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(107, 142, 35, 0.3);
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.hadutta-com-category-grid-link:hover {
    border-color: rgba(107, 142, 35, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.hadutta-com-category-grid-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(85, 107, 47, 0.1);
    position: relative;
    padding: 5px;
    box-sizing: border-box;
}

.hadutta-com-category-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hadutta-com-category-grid-image.loaded {
    opacity: 1;
}

.hadutta-com-category-grid-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(85, 107, 47, 0.1) 0%, rgba(85, 107, 47, 0.15) 50%, rgba(85, 107, 47, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    display: block;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.hadutta-com-category-grid-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    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;
}

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

.hadutta-com-category-grid-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 48px;
}

.hadutta-com-category-grid-link:hover .hadutta-com-category-grid-title {
    color: #1a1a2e;
}

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

@media (max-width: 768px) {
    .hadutta-com-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hadutta-com-category-grid-image-wrapper {
        height: 180px;
    }
    
    .hadutta-com-category-grid-title {
        font-size: 15px;
        height: 45px;
    }
}


/* Related Posts */
.hadutta-com-related-posts {
    margin: 40px 0;
}

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


/* Responsive */
@media (max-width: 992px) {
    .hadutta-com-single-title {
        font-size: 32px;
    }
    
    .hadutta-com-related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* تحسين العنوان للموبايل - فراغات شمال ويمين */
    .hadutta-com-single-title {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.3;
        margin: 0 15px 20px 15px;
        padding: 0;
        color: #212121;
        text-align: right;
        letter-spacing: -0.5px;
    }
    
    /* تحسين معلومات المقال للموبايل - بدون فراغ شمال ويمين */
    .hadutta-com-single-post-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 15px 15px;
        margin: 0 0 20px 0;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(107, 142, 35, 0.3);
        border-right: 4px solid rgba(107, 142, 35, 0.5);
        border-left: 4px solid rgba(107, 142, 35, 0.5);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
        border-radius: 0;
    }
    
    .hadutta-com-single-meta-item {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(107, 142, 35, 0.1);
    }
    
    .hadutta-com-single-meta-item:last-child {
        border-bottom: none;
    }
    
    .hadutta-com-single-meta-item i {
        font-size: 15px;
        width: 18px;
        margin-left: 8px;
    }
    
    /* الصورة مع تأثير Parallax للموبايل */
    .hadutta-com-single-image-wrapper {
        width: 100%;
        height: 320px;
        margin: 0 0 20px 0;
        padding: 0;
        border: none;
        border-top: 4px solid rgba(107, 142, 35, 0.5);
        border-bottom: 4px solid rgba(107, 142, 35, 0.5);
        position: relative;
        overflow: hidden;
        background: rgba(85, 107, 47, 0.05);
        will-change: transform;
    }
    
    .hadutta-com-single-image {
        width: 100%;
        height: 120%;
        object-fit: cover;
        object-position: center;
        display: block;
        transform: translateY(0);
        transition: transform 0.1s ease-out;
        will-change: transform;
    }
    
    .hadutta-com-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%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* تحسين محتوى المقال للموبايل */
    .hadutta-com-single-content {
        padding: 20px 20px !important;
        font-size: 17px !important;
        line-height: 1.85 !important;
        color: #333 !important;
        margin: 0 !important;
        background: transparent !important;
    }
    
    .hadutta-com-single-content p {
        margin-bottom: 18px !important;
        text-align: right !important;
        color: #333 !important;
    }
    
    /* العناوين - بعرض الصفحة كاملة للموبايل */
    .hadutta-com-single-content h2 {
        font-size: 24px !important;
        font-weight: 800 !important;
        padding: 15px 20px !important;
        margin: 30px -20px 18px -20px !important; /* Negative margin لتمتد بعرض الصفحة */
        background: rgba(85, 107, 47, 0.05) !important;
        border: 2px solid rgba(107, 142, 35, 0.3) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 5px solid rgba(107, 142, 35, 0.6) !important;
        border-radius: 0 !important;
        position: relative !important;
        line-height: 1.4 !important;
        color: #212121 !important;
        width: calc(100% + 40px) !important; /* عرض كامل مع تعويض padding */
        box-sizing: border-box !important;
    }
    
    .hadutta-com-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(107, 142, 35, 0.4), transparent) !important;
    }
    
    .hadutta-com-single-content h3 {
        font-size: 21px !important;
        font-weight: 700 !important;
        padding: 12px 20px !important;
        margin: 25px -20px 15px -20px !important; /* Negative margin لتمتد بعرض الصفحة */
        background: rgba(85, 107, 47, 0.03) !important;
        border: 2px solid rgba(107, 142, 35, 0.25) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 4px solid rgba(107, 142, 35, 0.5) !important;
        border-radius: 0 !important;
        line-height: 1.4 !important;
        color: #212121 !important;
        width: calc(100% + 40px) !important; /* عرض كامل مع تعويض padding */
        box-sizing: border-box !important;
    }
    
    .hadutta-com-single-content h4 {
        font-size: 19px !important;
        font-weight: 700 !important;
        padding: 10px 20px !important;
        margin: 20px -20px 12px -20px !important; /* Negative margin لتمتد بعرض الصفحة */
        background: rgba(85, 107, 47, 0.02) !important;
        border: 1px solid rgba(107, 142, 35, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 3px solid rgba(107, 142, 35, 0.4) !important;
        border-radius: 0 !important;
        line-height: 1.5 !important;
        color: #333 !important;
        width: calc(100% + 40px) !important; /* عرض كامل مع تعويض padding */
        box-sizing: border-box !important;
    }
    
    /* الروابط */
    .hadutta-com-single-content a {
        color: #1a1a2e !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border-bottom: 2px solid rgba(107, 142, 35, 0.3) !important;
        padding-bottom: 2px !important;
        position: relative !important;
    }
    
    .hadutta-com-single-content a::after {
        content: '↗' !important;
        font-size: 14px !important;
        margin-right: 4px !important;
        opacity: 0.6 !important;
    }
    
    .hadutta-com-single-content a:hover {
        color: #16213e !important;
        border-bottom-color: rgba(107, 142, 35, 0.6) !important;
    }
    
    /* القوائم */
    .hadutta-com-single-content ul,
    .hadutta-com-single-content ol {
        margin: 25px 0 !important;
        padding: 0 !important;
        padding-right: 30px !important;
        direction: rtl !important;
    }
    
    .hadutta-com-single-content ul {
        list-style: none !important;
    }
    
    .hadutta-com-single-content ul li {
        position: relative !important;
        padding: 12px 3px 12px 40px !important; /* 3px padding-right for text spacing */
        margin-bottom: 10px !important;
        background: rgba(85, 107, 47, 0.03) !important;
        border: 1px solid rgba(107, 142, 35, 0.2) !important;
        border-right: 4px solid rgba(107, 142, 35, 0.5) !important;
        border-radius: 0 !important;
        line-height: 1.7 !important;
        color: #333 !important;
    }
    
    .hadutta-com-single-content ul li::before {
        content: '▸' !important;
        position: absolute !important;
        right: -25px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: rgba(107, 142, 35, 0.8) !important;
        font-size: 18px !important;
        font-weight: bold !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(107, 142, 35, 0.1) !important;
        border: 1px solid rgba(107, 142, 35, 0.3) !important;
        border-radius: 0 !important;
    }
    
    .hadutta-com-single-content ol {
        list-style: none !important;
        counter-reset: hadutta-com-counter !important;
    }
    
    .hadutta-com-single-content ol li {
        position: relative !important;
        padding: 12px 3px 12px 50px !important; /* 3px padding-right for text spacing */
        margin-bottom: 10px !important;
        background: rgba(85, 107, 47, 0.03) !important;
        border: 1px solid rgba(107, 142, 35, 0.2) !important;
        border-right: 4px solid rgba(107, 142, 35, 0.5) !important;
        border-radius: 0 !important;
        line-height: 1.7 !important;
        color: #333 !important;
        counter-increment: hadutta-com-counter !important;
    }
    
    .hadutta-com-single-content ol li::before {
        content: counter(hadutta-com-counter) !important;
        position: absolute !important;
        right: -35px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #fff !important;
        background: rgba(107, 142, 35, 0.8) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        width: 28px !important;
        height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid rgba(107, 142, 35, 0.9) !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Blockquote */
    .hadutta-com-single-content blockquote {
        margin: 30px 0 !important;
        padding: 20px 25px !important;
        background: rgba(85, 107, 47, 0.05) !important;
        border: 2px solid rgba(107, 142, 35, 0.3) !important;
        border-right: 5px solid rgba(107, 142, 35, 0.7) !important;
        border-left: 2px solid rgba(107, 142, 35, 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;
    }
    
    .hadutta-com-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(107, 142, 35, 0.3) !important;
        font-family: Georgia, serif !important;
        font-weight: bold !important;
    }
    
    /* Code */
    .hadutta-com-single-content code {
        background: rgba(85, 107, 47, 0.08) !important;
        border: 1px solid rgba(107, 142, 35, 0.2) !important;
        border-radius: 0 !important;
        padding: 3px 8px !important;
        font-size: 15px !important;
        color: #1a1a2e !important;
        font-family: 'Courier New', monospace !important;
    }
    
    .hadutta-com-single-content pre {
        margin: 25px 0 !important;
        padding: 20px !important;
        background: rgba(85, 107, 47, 0.05) !important;
        border: 2px solid rgba(107, 142, 35, 0.3) !important;
        border-right: 4px solid rgba(107, 142, 35, 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;
    }
    
    .hadutta-com-single-content pre code {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        color: inherit !important;
    }
    
    /* Tables - بعرض الصفحة كاملة للموبايل */
    .hadutta-com-single-content table {
        width: calc(100% + 40px) !important; /* عرض كامل مع تعويض padding */
        margin: 25px -20px !important; /* Negative margin لتمتد بعرض الصفحة */
        border-collapse: collapse !important;
        background: rgba(255, 255, 255, 0.5) !important;
        border: 2px solid rgba(107, 142, 35, 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;
    }
    
    .hadutta-com-single-content table thead,
    .hadutta-com-single-content table tbody,
    .hadutta-com-single-content table tr {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
    }
    
    .hadutta-com-single-content table th {
        background: rgba(85, 107, 47, 0.1) !important;
        border: 1px solid rgba(107, 142, 35, 0.3) !important;
        padding: 12px 15px !important;
        text-align: right !important;
        font-weight: 700 !important;
        color: #212121 !important;
        border-bottom: 3px solid rgba(107, 142, 35, 0.5) !important;
    }
    
    .hadutta-com-single-content table td {
        border: 1px solid rgba(107, 142, 35, 0.2) !important;
        padding: 10px 15px !important;
        text-align: right !important;
        color: #333 !important;
    }
    
    .hadutta-com-single-content table tr:nth-child(even) {
        background: rgba(85, 107, 47, 0.02) !important;
    }
    
    /* Images - حجم موحد للموبايل */
    .hadutta-com-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(107, 142, 35, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
    }
    
    /* منع الصور من كسر التخطيط - الموبايل */
    .hadutta-com-single-content figure,
    .hadutta-com-single-content .wp-block-image,
    .hadutta-com-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hadutta-com-single-content figure img,
    .hadutta-com-single-content .wp-block-image img,
    .hadutta-com-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    /* تحسين Breadcrumb للموبايل */
    .hadutta-com-breadcrumb {
        margin: 0 0 18px 0 !important; /* بدون فراغ أعلى - الفراغ في padding-top للـ main */
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: none !important;
        border-bottom: 2px solid rgba(107, 142, 35, 0.25) !important;
        border-top: 2px solid rgba(107, 142, 35, 0.25) !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    }
    
    .hadutta-com-breadcrumb-inner {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        direction: rtl !important;
    }
    
    .hadutta-com-breadcrumb-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: #666 !important;
        text-decoration: none !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        padding: 4px 0 !important;
        transition: color 0.2s ease !important;
    }
    
    .hadutta-com-breadcrumb-item:hover {
        color: #1a1a2e !important;
    }
    
    .hadutta-com-breadcrumb-item i {
        font-size: 11px !important;
        color: #999 !important;
    }
    
    .hadutta-com-breadcrumb-item:hover i {
        color: #1a1a2e !important;
    }
    
    .hadutta-com-breadcrumb-separator {
        color: #ccc !important;
        font-size: 11px !important;
        padding: 0 4px !important;
    }
    
    .hadutta-com-breadcrumb-separator i {
        font-size: 9px !important;
    }
    
    .hadutta-com-breadcrumb-current {
        color: #212121 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 4px 0 !important;
    }
    
    /* تحسين أقسام المشاركة والمحتوى المرتبط */
    .hadutta-com-share-article-section,
    .hadutta-com-google-news-follow,
    .hadutta-com-latest-category-posts,
    .hadutta-com-category-posts-grid {
        margin: 30px 20px;
    }
    
    /* Google News Button - Mobile Professional Design */
    .hadutta-com-google-news-follow {
        margin: 30px 5px !important; /* 5px left and right margin */
        padding: 0;
    }
    
    .hadutta-com-google-news-button {
        padding: 14px 20px;
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid rgba(66, 133, 244, 0.4);
        box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    
    .hadutta-com-google-news-icon {
        width: 28px;
        height: 28px;
    }
    
    .hadutta-com-google-news-text {
        font-size: 16px;
        font-weight: 700;
    }
    
    .hadutta-com-google-news-button:hover {
        background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(66, 133, 244, 0.05) 100%);
        border-color: rgba(66, 133, 244, 0.6);
        box-shadow: 0 6px 18px rgba(66, 133, 244, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
        transform: translateY(-1px);
    }
    
    .hadutta-com-share-article-title,
    .hadutta-com-latest-category-title,
    .hadutta-com-category-grid-section-title {
        font-size: 19px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    /* تحسين أخبار ذات صلة في الموبايل */
    .hadutta-com-latest-category-title {
        font-weight: 800 !important;
    }
    
    .hadutta-com-latest-category-link {
        font-weight: 800 !important;
    }
    
    .hadutta-com-share-article-buttons {
        gap: 10px;
    }
    
    .hadutta-com-share-article-btn {
        padding: 11px 16px;
        font-size: 14px;
        min-width: 130px;
    }
    
    .hadutta-com-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hadutta-com-post-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    /* تحسين العنوان للشاشات الصغيرة */
    .hadutta-com-single-title {
        font-size: 22px;
        font-weight: 800;
        line-height: 1.35;
        margin: 0 15px 18px 15px;
        padding: 0;
        color: #212121;
        text-align: right;
        letter-spacing: -0.3px;
    }
    
    /* تحسين معلومات المقال للشاشات الصغيرة - بدون فراغ شمال ويمين */
    .hadutta-com-single-post-meta {
        padding: 12px 12px;
        margin: 0 0 18px 0;
        gap: 6px;
    }
    
    .hadutta-com-single-meta-item {
        padding: 6px 0;
        font-size: 13px;
    }
    
    .hadutta-com-single-meta-item i {
        font-size: 14px;
        width: 16px;
        margin-left: 6px;
    }
    
    /* الصورة مع تأثير Parallax للشاشات الصغيرة */
    .hadutta-com-single-image-wrapper {
        width: 100%;
        height: 280px;
        margin: 0 0 18px 0;
        border-top: 3px solid rgba(107, 142, 35, 0.5);
        border-bottom: 3px solid rgba(107, 142, 35, 0.5);
    }
    
    .hadutta-com-single-image {
        width: 100%;
        height: 115%;
        object-fit: cover;
        object-position: center;
    }
    
    .hadutta-com-single-image-alt {
        padding: 12px 15px;
        font-size: 14px;
        font-weight: 700;
    }
    
    /* تحسين محتوى المقال للشاشات الصغيرة */
    .hadutta-com-single-content {
        padding: 18px 15px !important;
        font-size: 16px !important;
        line-height: 1.8 !important;
        color: #333 !important;
    }
    
    .hadutta-com-single-content p {
        margin-bottom: 16px !important;
        text-align: right !important;
        color: #333 !important;
    }
    
    /* العناوين - بعرض الصفحة كاملة للشاشات الصغيرة */
    .hadutta-com-single-content h2 {
        font-size: 21px !important;
        padding: 12px 20px !important;
        margin: 25px -15px 15px -15px !important; /* Negative margin لتمتد بعرض الصفحة */
        background: rgba(85, 107, 47, 0.05) !important;
        border: 2px solid rgba(107, 142, 35, 0.3) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 5px solid rgba(107, 142, 35, 0.6) !important;
        color: #212121 !important;
        width: calc(100% + 30px) !important; /* عرض كامل مع تعويض padding */
        box-sizing: border-box !important;
    }
    
    .hadutta-com-single-content h3 {
        font-size: 19px !important;
        padding: 10px 20px !important;
        margin: 20px -15px 12px -15px !important; /* Negative margin لتمتد بعرض الصفحة */
        background: rgba(85, 107, 47, 0.03) !important;
        border: 2px solid rgba(107, 142, 35, 0.25) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 4px solid rgba(107, 142, 35, 0.5) !important;
        color: #212121 !important;
        width: calc(100% + 30px) !important; /* عرض كامل مع تعويض padding */
        box-sizing: border-box !important;
    }
    
    .hadutta-com-single-content h4 {
        font-size: 17px !important;
        padding: 8px 20px !important;
        margin: 18px -15px 10px -15px !important; /* Negative margin لتمتد بعرض الصفحة */
        background: rgba(85, 107, 47, 0.02) !important;
        border: 1px solid rgba(107, 142, 35, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 3px solid rgba(107, 142, 35, 0.4) !important;
        color: #333 !important;
        width: calc(100% + 30px) !important; /* عرض كامل مع تعويض padding */
        box-sizing: border-box !important;
    }
    
    /* الروابط للشاشات الصغيرة */
    .hadutta-com-single-content a {
        color: #1a1a2e !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border-bottom: 2px solid rgba(107, 142, 35, 0.3) !important;
        font-size: 16px !important;
    }
    
    /* القوائم للشاشات الصغيرة */
    .hadutta-com-single-content ul,
    .hadutta-com-single-content ol {
        padding-right: 18px !important;
        margin: 20px 0 !important;
    }
    
    .hadutta-com-single-content ul li,
    .hadutta-com-single-content ol li {
        font-size: 15px !important;
    }
    
    /* Blockquote للشاشات الصغيرة */
    .hadutta-com-single-content blockquote {
        padding: 15px 18px !important;
        font-size: 16px !important;
        margin: 25px 0 !important;
    }
    
    /* Code للشاشات الصغيرة */
    .hadutta-com-single-content code {
        font-size: 14px !important;
    }
    
    .hadutta-com-single-content pre {
        padding: 14px !important;
        font-size: 13px !important;
        margin: 20px 0 !important;
    }
    
    /* Tables للشاشات الصغيرة - بعرض الصفحة كاملة */
    .hadutta-com-single-content table {
        width: calc(100% + 30px) !important; /* عرض كامل مع تعويض padding */
        margin: 20px -15px !important; /* Negative margin لتمتد بعرض الصفحة */
        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;
    }
    
    .hadutta-com-single-content table thead,
    .hadutta-com-single-content table tbody,
    .hadutta-com-single-content table tr {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
    }
    
    .hadutta-com-single-content table th,
    .hadutta-com-single-content table td {
        padding: 8px 12px !important;
    }
    
    /* Images للشاشات الصغيرة - حجم موحد */
    .hadutta-com-single-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        border: 2px solid rgba(107, 142, 35, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
    }
    
    /* منع الصور من كسر التخطيط - الشاشات الصغيرة */
    .hadutta-com-single-content figure,
    .hadutta-com-single-content .wp-block-image,
    .hadutta-com-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hadutta-com-single-content figure img,
    .hadutta-com-single-content .wp-block-image img,
    .hadutta-com-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    /* تحسين Breadcrumb للشاشات الصغيرة */
    .hadutta-com-breadcrumb {
        margin: 0 0 15px 0 !important; /* بدون فراغ أعلى - الفراغ في padding-top للـ main */
        padding: 10px 12px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-bottom: 2px solid rgba(107, 142, 35, 0.25) !important;
        border-top: 2px solid rgba(107, 142, 35, 0.25) !important;
    }
    
    .hadutta-com-breadcrumb-inner {
        gap: 5px !important;
    }
    
    .hadutta-com-breadcrumb-item {
        font-size: 12px !important;
        gap: 4px !important;
    }
    
    /* تحسين أخبار ذات صلة في الموبايل الصغير */
    .hadutta-com-latest-category-title {
        font-weight: 800 !important;
    }
    
    .hadutta-com-latest-category-link {
        font-weight: 800 !important;
    }
    
    .hadutta-com-breadcrumb-item i {
        font-size: 10px !important;
    }
    
    .hadutta-com-breadcrumb-separator {
        font-size: 10px !important;
        padding: 0 3px !important;
    }
    
    .hadutta-com-breadcrumb-current {
        font-size: 12px !important;
    }
    
    /* تحسين الأقسام للشاشات الصغيرة */
    .hadutta-com-share-article-section,
    .hadutta-com-google-news-follow,
    .hadutta-com-latest-category-posts,
    .hadutta-com-category-posts-grid {
        margin: 25px 15px;
    }
    
    /* Google News Button - Small Mobile Professional Design */
    .hadutta-com-google-news-follow {
        margin: 25px 5px !important; /* 5px left and right margin */
        padding: 0;
    }
    
    .hadutta-com-google-news-button {
        padding: 12px 18px;
        border-radius: 10px;
        gap: 10px;
    }
    
    .hadutta-com-google-news-icon {
        width: 26px;
        height: 26px;
    }
    
    .hadutta-com-google-news-text {
        font-size: 15px;
    }
    
    .hadutta-com-share-article-title,
    .hadutta-com-latest-category-title,
    .hadutta-com-category-grid-section-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .hadutta-com-share-article-btn {
        padding: 10px 14px;
        font-size: 13px;
        min-width: calc(50% - 5px);
    }
    
    /* تحسين القوائم للشاشات الصغيرة */
    .hadutta-com-single-content ul,
    .hadutta-com-single-content ol {
        padding-right: 18px;
        margin: 20px 0;
    }
    
    .hadutta-com-single-content ul li {
        padding: 10px 3px 10px 28px; /* 3px padding-right for text spacing */
        margin-bottom: 8px;
        font-size: 15px;
        line-height: 1.7;
    }
    
    .hadutta-com-single-content ul li::before {
        right: -16px;
        width: 15px;
        height: 15px;
        font-size: 13px;
    }
    
    .hadutta-com-single-content ol li {
        padding: 10px 3px 10px 38px; /* 3px padding-right for text spacing */
        margin-bottom: 8px;
        font-size: 15px;
        line-height: 1.7;
    }
    
    .hadutta-com-single-content ol li::before {
        right: -26px;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    /* تحسين الاقتباسات للشاشات الصغيرة */
    .hadutta-com-single-content blockquote {
        padding: 15px 18px;
        font-size: 16px;
        margin: 25px 0;
        line-height: 1.75;
    }
    
    .hadutta-com-single-content blockquote::before {
        font-size: 45px;
        right: 12px;
        top: 8px;
    }
    
    /* تحسين الكود للشاشات الصغيرة */
    .hadutta-com-single-content pre {
        padding: 14px;
        font-size: 13px;
        margin: 20px 0;
        overflow-x: auto;
    }
    
    .hadutta-com-single-content code {
        font-size: 14px;
        padding: 2px 6px;
    }
    
    /* تحسين الجداول للشاشات الصغيرة - بعرض الصفحة كاملة */
    .hadutta-com-single-content table {
        width: calc(100% + 30px) !important; /* عرض كامل مع تعويض padding */
        margin: 20px -15px !important; /* Negative margin لتمتد بعرض الصفحة */
        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;
    }
    
    .hadutta-com-single-content table thead,
    .hadutta-com-single-content table tbody,
    .hadutta-com-single-content table tr {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
    }
    
    .hadutta-com-single-content table th,
    .hadutta-com-single-content table td {
        padding: 8px 12px !important;
        min-width: 80px !important;
    }
    
    /* تحسين الروابط للشاشات الصغيرة */
    .hadutta-com-single-content a {
        font-size: 16px;
        border-bottom-width: 2px;
    }
    
    /* تحسين الصور داخل المحتوى - حجم موحد */
    .hadutta-com-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(107, 142, 35, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
    }
    
    /* منع الصور من كسر التخطيط */
    .hadutta-com-single-content figure,
    .hadutta-com-single-content .wp-block-image,
    .hadutta-com-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hadutta-com-single-content figure img,
    .hadutta-com-single-content .wp-block-image img,
    .hadutta-com-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    .hadutta-com-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* تحسين شبكة المقالات المرتبطة */
    .hadutta-com-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hadutta-com-category-grid-image-wrapper {
        height: 200px;
    }
    
    .hadutta-com-category-grid-title {
        font-size: 15px;
        height: auto;
        min-height: 44px;
    }
}

/* Dark Mode Styles for Single Post */
body.hadutta-com-dark-mode .hadutta-com-single-title {
    color: #ffffff !important;
}

body.hadutta-com-dark-mode .hadutta-com-breadcrumb-item {
    color: #e0e0e0 !important;
}

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

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

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

body.hadutta-com-dark-mode .hadutta-com-breadcrumb-separator {
    color: #b0b0b0 !important;
}

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

body.hadutta-com-dark-mode .hadutta-com-breadcrumb-current {
    color: #ffffff !important;
}

body.hadutta-com-dark-mode .hadutta-com-meta-item {
    color: #999999 !important;
}

body.hadutta-com-dark-mode .hadutta-com-meta-text {
    color: #999999 !important;
}

body.hadutta-com-dark-mode .hadutta-com-meta-icon {
    color: #888888 !important;
}

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

body.hadutta-com-dark-mode .hadutta-com-meta-link {
    color: #999999 !important;
}

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

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

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

body.hadutta-com-dark-mode .hadutta-com-category-nested {
    color: #999999 !important;
}

body.hadutta-com-dark-mode .hadutta-com-category-nested:hover {
    color: #cccccc !important;
}

/* Dark Mode for Lists */
body.hadutta-com-dark-mode .hadutta-com-single-content ul li,
body.hadutta-com-dark-mode .hadutta-com-single-content ol li {
    color: #d0d0d0 !important;
    background: rgba(30, 30, 30, 0.4) !important;
    border-color: rgba(107, 142, 35, 0.3) !important;
}

body.hadutta-com-dark-mode .hadutta-com-single-content ul li::before {
    color: #ffffff !important;
    background: rgba(107, 142, 35, 0.3) !important;
    border-color: rgba(107, 142, 35, 0.5) !important;
}

body.hadutta-com-dark-mode .hadutta-com-single-content ol li::before {
    color: #ffffff !important;
    background: rgba(107, 142, 35, 0.3) !important;
    border-color: rgba(107, 142, 35, 0.5) !important;
}

body.hadutta-com-dark-mode .hadutta-com-single-content ul li:hover,
body.hadutta-com-dark-mode .hadutta-com-single-content ol li:hover {
    background: rgba(30, 30, 30, 0.6) !important;
    border-right-color: rgba(107, 142, 35, 0.6) !important;
}

body.hadutta-com-dark-mode .hadutta-com-single-content ul li:hover::before,
body.hadutta-com-dark-mode .hadutta-com-single-content ol li:hover::before {
    background: rgba(107, 142, 35, 0.5) !important;
    border-color: rgba(107, 142, 35, 0.7) !important;
}

body.hadutta-com-dark-mode .hadutta-com-single-content ul ul li,
body.hadutta-com-dark-mode .hadutta-com-single-content ol ol li {
    background: rgba(30, 30, 30, 0.3) !important;
    border-color: rgba(107, 142, 35, 0.25) !important;
}

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

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

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

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

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

/* Dark Mode - Mobile Content Styles - Must override !important rules */
@media (max-width: 768px) {
    body.hadutta-com-dark-mode .hadutta-com-single-content {
        color: #e5e5e5 !important;
        background: transparent !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content p {
        color: #e5e5e5 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content * {
        color: inherit;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content h2 {
        color: #ffffff !important;
        background: rgba(107, 142, 35, 0.2) !important;
        border-color: rgba(107, 142, 35, 0.5) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content h3 {
        color: #f5f5f5 !important;
        background: rgba(107, 142, 35, 0.15) !important;
        border-color: rgba(107, 142, 35, 0.4) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content h4 {
        color: #f0f0f0 !important;
        background: rgba(107, 142, 35, 0.12) !important;
        border-color: rgba(107, 142, 35, 0.35) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content a {
        color: #ff6b6b !important;
        border-bottom-color: rgba(255, 107, 107, 0.5) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content a:hover {
        color: #ff8787 !important;
        border-bottom-color: rgba(255, 135, 135, 0.7) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content code {
        color: #ff6b6b !important;
        background: rgba(107, 142, 35, 0.25) !important;
        border-color: rgba(107, 142, 35, 0.4) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content pre {
        background: rgba(107, 142, 35, 0.2) !important;
        border-color: rgba(107, 142, 35, 0.5) !important;
        color: #e5e5e5 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content pre code {
        color: #e5e5e5 !important;
        background: transparent !important;
        border: none !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content blockquote {
        background: rgba(107, 142, 35, 0.2) !important;
        border-color: rgba(107, 142, 35, 0.5) !important;
        color: #e5e5e5 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content blockquote p {
        color: #e5e5e5 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content blockquote cite {
        color: rgba(255, 107, 107, 0.9) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content table {
        background: rgba(255, 255, 255, 0.03) !important;
        border-color: rgba(107, 142, 35, 0.5) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content table th {
        background: rgba(107, 142, 35, 0.25) !important;
        border-color: rgba(107, 142, 35, 0.5) !important;
        color: #ffffff !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content table td {
        border-color: rgba(107, 142, 35, 0.4) !important;
        color: #e5e5e5 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content table tr:nth-child(even) {
        background: rgba(107, 142, 35, 0.1) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content table tr:hover {
        background: rgba(107, 142, 35, 0.2) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content img {
        border-color: rgba(107, 142, 35, 0.4) !important;
        opacity: 0.95;
    }
    
    /* Breadcrumb Dark Mode Mobile */
    body.hadutta-com-dark-mode .hadutta-com-breadcrumb {
        background: rgba(30, 30, 30, 0.8) !important;
        border-color: rgba(107, 142, 35, 0.4) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-breadcrumb-item {
        color: #e0e0e0 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-breadcrumb-current {
        color: #ffffff !important;
    }
    
    /* Meta Dark Mode Mobile */
    body.hadutta-com-dark-mode .hadutta-com-single-post-meta {
        background: rgba(30, 30, 30, 0.8) !important;
        border-color: rgba(107, 142, 35, 0.4) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-meta-item {
        border-color: rgba(107, 142, 35, 0.2) !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-meta-link,
    body.hadutta-com-dark-mode .hadutta-com-meta-text {
        color: #e0e0e0 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-meta-link:hover {
        color: #ffffff !important;
    }
}

@media (max-width: 480px) {
    body.hadutta-com-dark-mode .hadutta-com-single-content {
        color: #e0e0e0 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content p {
        color: #e0e0e0 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content h2 {
        color: #ffffff !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content h3 {
        color: #f5f5f5 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content h4 {
        color: #f0f0f0 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content a {
        color: #ff6b6b !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content code {
        color: #ff6b6b !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content pre {
        color: #e0e0e0 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content blockquote {
        color: #e0e0e0 !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content table th {
        color: #ffffff !important;
    }
    
    body.hadutta-com-dark-mode .hadutta-com-single-content table td {
        color: #e0e0e0 !important;
    }
}

