/* ==========================================================================
   دار المهارة - Professional Single Post Styles (Final Super-Premium 2026)
   ========================================================================== */

:root {
    --uicolor: #0d6d8b;
    --primary-text: #0f172a;
    --secondarytext: #535772;
    --Text-color: #0d1728;
    --second-text-color: #5c5e66;
    --hover-overlay: rgb(118 213 229 / 40%);
    --diver: #e5eaef;
    --font-family: "Baloo Bhaijaan 2";
    --success-color: rgb(32 120 196);
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --border: 1px solid #ebecf1;
    --container-width: 1450px;
    --container-padding--value: 30px;
    --container-padding: 0 var(--container-padding--value);
    --box-shadow-defult: var(--diver) 0px 0px 0px 1px, 0px 4px 2px -3px #09234012;
    --box-shadow-hover: 0 12px 32px 1px rgba(13, 109, 139, 0.12);
    --border-defult-hover: #e5eaef52;
    --whatsapp: #148930;
    --largeradius: 16px;
    --miniradius: 8px;
    --fsize: 15px;
    --uicolor2: #107695;
    --uicolor3: #e6f2ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family), sans-serif;
    word-break: break-word;
}

body {
    background: #fff;
    color: var(--Text-color);
    font-size: var(--fsize);
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

.container { 
    padding: var(--container-padding); 
    max-width: var(--container-width); 
    margin: 0 auto; 
    width: 100%; 
}

/* ================= الهيدر والبار الثابت التفاعلي (الكمبيوتر تحت الهيدر الرئيسي) ================= */
.YC-single-headerFixed-container {
    position: fixed;
    z-index: 998; /* أقل بدرجة واحدة من الهيدر الأساسي للموقع لمنع التداخل */
    width: 100%;
    right: 0;
    left: 0;
    background: #fff;
    color: var(--uicolor);
    box-shadow: var(--box-shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    
    /* تعديل الكمبيوتر: يظهر تحت هيدر الموقع علطول، المرجو تعديل الـ 90px حسب الارتفاع الفعلي لهيدر موقعك */
    top: 90px; 
    bottom: auto;
    transform: translateY(-50px);
    padding: 8px 0 0; 
}

.YC-single-headerFixed-container.visible-header { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

.YC-single-headerFixed-boxed { 
    display: flex; 
    width: 100%; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: nowrap; 
    gap: 15px; 
}

.YC-single-headerFixed-left { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex-shrink: 1; 
    min-width: 0; 
}

.YC-single-headerFixed-small-thumb {
    width: 45px; 
    height: 45px; 
    border-radius: var(--miniradius);
    background-size: cover; 
    background-position: center; 
    border: 1px solid var(--border-defult-hover); 
    flex-shrink: 0;
}

.YC-single-headerFixed-small-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--miniradius);
}

.YC-single-headerFixed-title { 
    display: flex; 
    flex-direction: column; 
    min-width: 0; 
}

.YC-single-headerFixed-title span { 
    font-size: 16px; 
    font-weight: 700; 
    color: var(--uicolor); 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.headerFixed-info-stats-ratings { 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    color: #ffa700; 
    font-size: 12px; 
    margin-top: 1px; 
}

.headerFixed-info-stats-ratings p { 
    color: var(--secondarytext); 
    font-size: 11px; 
    margin-right: 3px; 
    white-space: nowrap; 
}

.YC-single-headerFixed--boxs { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-shrink: 0; 
}

.YC-single-headerFixed--boxs a { 
    padding: 8px 16px; 
    border-radius: 10px; 
    font-size: 14px; 
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    color: #fff; 
    white-space: nowrap; 
}

.YC-single-headerFixed--boxs a.YC-BTN-phone { background: #0069d9; }
.YC-single-headerFixed--boxs a.YC-BTN-whatsapp { background: var(--whatsapp); margin-inline-start: 10px; }

.YC-single-scroll-bar { 
    background: var(--border-defult-hover); 
    width: 100%; 
    height: 4px; 
    margin-top: 8px; 
    position: absolute; 
    bottom: -4px; 
    left: 0;
}

.scroll-bar-width { 
    position: absolute; 
    background: var(--uicolor2); 
    height: 100%; 
    width: 0%; 
    left: 0; 
    top: 0; 
    transition: width 0.1s linear; 
}

/* ================= سيكشن الكفر العلوي الفاخر الفاتح ================= */
.YC-post-cover-post {
    padding-bottom: 50px; 
    padding-top: 50px; 
    background-color: #f8fafc; 
    background-image: 
        radial-gradient(circle at 85% 20%, rgba(13, 109, 139, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 15% 75%, rgba(16, 118, 149, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    position: relative; 
    overflow: hidden;
    margin-top: 0;
}

.YC-post-cover-post::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(13, 109, 139, 0.015) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(13, 109, 139, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.top-singular-post-cover { 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    z-index: 1; 
    position: relative; 
    gap: 40px; 
        margin-top: 56px;
}

.YC-post-context-boxed { 
    flex: 1; 
    min-width: 300px; 
}

.YC-BreadCrumb > ol { 
    display: flex; 
    flex-wrap: wrap; 
    list-style: none; 
    justify-content: right; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 15px; 
}

ol.BreadcrumbsFilters > li { 
    list-style: none; 
    align-items: center; 
    display: inline-flex; 
    gap: 8px; 
}

.YC-BreadCrumb > ol > li > a { 
    color: var(--secondarytext); 
    font-size: 14px; 
    font-weight: 400; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
}

.single-post-title h1 { 
    font-size: 42px; 
    line-height: 1.3; 
    color: var(--primary-text) !important; 
    font-weight: 800; 
    margin-bottom: 15px; 
    text-align: right; 
}

.single-post-title .sub-title { 
    font-size: 19px; 
    color: var(--uicolor) !important; 
    font-weight: 600;
    display: inline-block; 
    background: rgba(13, 109, 139, 0.06);
    padding: 4px 16px;
    border-radius: 30px;
    margin-bottom: 15px; 
    text-align: right; 
}

p.mini-content-single-posts { 
    font-size: 18px; 
    font-weight: 400; 
    color: #475569 !important; 
    line-height: 1.7; 
    text-align: right; 
}

/* ================= الهافر الفخم ثنائى وثلاثي الأبعاد لأزرار الاتصال ================= */
.YC-single-call--boxs { 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    margin-top: 30px; 
    position: relative; 
    gap: 20px; 
}

.YC-img-match-whatsapp {
    display: inline-flex; 
    align-items: center; 
    background: #32b05a; 
    border-radius: 40px; 
    padding: 2px 25px 2px 5px; 
    color: #fff; 
    text-decoration: none; 
    position: relative;
    box-shadow: 0 5px 15px rgba(50, 176, 90, 0.15); 
}

.YC-img-match-whatsapp:hover {
    transform: translateY(-5px) scale(1.03) !important;
    background: #2da151 !important;
    box-shadow: 0 15px 30px rgba(50, 176, 90, 0.35) !important;
}

.whatsapp-text-cluster { 
    display: flex; 
    flex-direction: column; 
    text-align: center; 
    margin-inline-end: 25px; 
}

.whatsapp-text-cluster .label-title { 
    font-size: 14px; 
    font-weight: 400; 
    margin: 0; 
    line-height: 1.2; 
    opacity: 0.9; 
}

.whatsapp-text-cluster .phone-num { 
    font-size: 22px; 
    font-weight: 700; 
    line-height: 1.2; 
}

.whatsapp-circle-icon-holder {
    width: 60px; 
    height: 60px; 
    background: #148930; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 32px;
    position: relative; 
    box-shadow: inset 0 0 10px rgba(0,0,0,0.15);
}

.whatsapp-circle-icon-holder::before, .whatsapp-circle-icon-holder::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    border-radius: 50%; 
    background: rgba(20, 137, 48, 0.4); 
    z-index: -1;
    animation: whatsapp-glow-ring 2s infinite ease-in-out;
}

.whatsapp-circle-icon-holder::after { animation-delay: 1s; }

@keyframes whatsapp-glow-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.YC-img-match-phone {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px;
    background: #0069d9; 
    color: #fff; 
    padding: 14px 35px; 
    border-radius: 50px;
    font-size: 24px; 
    font-weight: 700; 
    box-shadow: 0 5px 15px rgba(0, 105, 217, 0.15);
    cursor: pointer; 
    flex-direction: row-reverse;
}

.YC-img-match-phone:hover {
    transform: translateY(-5px) scale(1.03) !important;
    background: #0056b3 !important;
    box-shadow: 0 15px 30px rgba(0, 105, 217, 0.35) !important;
}

.YC-img-match-phone svg { 
    animation: phone-glow-pulse 2s infinite ease-in-out; 
}

@keyframes phone-glow-pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
    50% { transform: scale(1.1) rotate(-5deg); filter: drop-shadow(0 0 8px rgba(255,255,255,0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
}

/* ================= هافر الصور البارزة للمقال ================= */
.-single-parent-flexes--content-inner-thumb { 
    z-index: 2; 
    max-width: 580px; 
    min-width: 350px; 
    flex: 1; 
    position: relative; 
    overflow: hidden; 
    border-radius: var(--largeradius); 
}

.-single-parent-flexes--content-inner-thumb--inner, .thumbnails { 
    position: relative; 
    width: 100%; 
    border-radius: var(--largeradius); 
    overflow: hidden; 
    box-shadow: 0 12px 40px rgba(9, 35, 64, 0.06); 
    perspective: 1000px;
}

.-single-parent-flexes--content-inner-thumb--inner::after, .thumbnails::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 109, 139, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none; 
    z-index: 3; 
}

.-single-parent-flexes--content-inner-thumb--inner::before, .thumbnails::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 50%; 
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 60%, rgba(255,255,255,0) 100%);
    transform: skewX(-30deg); 
    z-index: 4; 
    pointer-events: none; 
}

.-single-parent-flexes--content-inner-thumb:hover .-single-parent-flexes--content-inner-thumb--inner,
.thumbnails:hover { 
    transform: scale(1.04) rotateX(3deg) rotateY(-3deg); 
    box-shadow: 0 30px 60px rgba(13, 109, 139, 0.18), 0 10px 20px rgba(0,0,0,0.04);
}

.-single-parent-flexes--content-inner-thumb:hover .-single-parent-flexes--content-inner-thumb--inner::before,
.thumbnails:hover::before {
    left: 200%; 
    transition: all 0.9s cubic-bezier(0.3, 1, 0.2, 1);
}

.-single-parent-flexes--content-inner-thumb:hover img, .thumbnails:hover img {
    filter: contrast(1.05) brightness(1.04);
    transform: scale(1.03);
}

.-single-parent-flexes--content-inner-thumb--inner img, .thumbnails img { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    display: block; 
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.1, 1);
}

/* ================= الخط المتقطع الجانبي والوزن الملي لسنتر النقطة ================= */
.-singular-pages-container { 
    position: relative; 
    background: #fff; 
    padding-top: 30px; 
}

.-single-post-content-boxed { 
    position: relative; 
    padding-right: 55px; 
    width: 100%;
}

.YC-single-scroll-post {
    position: absolute; 
    z-index: 1; 
    width: 2px; 
    height: 100%; 
    right: 20px; 
    border-left: 2px dashed rgba(13, 109, 139, 0.25); 
    top: 0;
}

.YC-final-check-square {
    position: absolute; 
    bottom: -24px; 
    right: -10px; 
    width: 22px; 
    height: 22px; 
    background: #fff; 
    border: 2px solid #bbc2cb; 
    border-radius: 6px; 
    z-index: 10; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.YC-final-check-square svg { color: #bbc2cb; }
.YC-final-check-square.completed { 
    border-color: #31a24c !important; 
    background: #31a24c !important; 
    box-shadow: 0 0 15px rgba(49, 162, 76, 0.5); 
    transform: scale(1.15); 
}
.YC-final-check-square.completed svg { color: #fff !important; }

/* ================= تكبير النقطة وضبط موازاتها لسطر الكلمة الأولى هندسياً بالملي ================= */
.-single-post-content h2 { 
    color: var(--uicolor); 
    font-size: 28px; 
    font-weight: 700; 
    padding: 0 !important; 
    margin: 35px 0 20px 0;
    position: relative; 
    line-height: 1.4; 
    text-align: right; 
    display: block;
}

/* تم تكبير حجم النقطة بالملي (18px) وزيادة سمك البوردر لتقطع الخط بالمسطرة دائماً */
.-single-post-content h2:before {
    z-index: 3; 
    content: ""; 
    position: absolute; 
    width: 18px; /* تكبير حجم النقطة المتوهجة */
    height: 18px; /* تكبير حجم النقطة المتوهجة */
    background: var(--uicolor); 
    right: -40px; /* وزن وتوسيط دقيق جداً ليمر الخط في منتصف النقطة تماماً */
    border-radius: 50%; 
    top: 0.7em; /* موازاة تامة وثابتة لمستوى السطر الأول للعنوان */
    transform: translateY(-50%); 
    border: 4px solid #fff; /* زيادة سمك الإطار الأبيض المحيط للحصول على تباين فخم */
    box-shadow: 0 0 0 0 rgba(13, 109, 139, 0.5); 
    animation: permanent-pulse 2.2s infinite;
}

@keyframes permanent-pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 109, 139, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(13, 109, 139, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 109, 139, 0); }
}

/* ================= تنسيق المحتوى والهافر السينمائي البارز للصور ================= */
.-single-post-content { 
    font-size: 21px; 
    line-height: 1.8; 
    color: var(--Text-color); 
    width: 100%; 
}

.-single-post-content p { 
    margin-bottom: 22px; 
    text-align: right; 
}

.-single-post-content p a { 
    color: var(--uicolor) !important; 
    font-weight: 600; 
}

.-single-post-content p a:hover { 
    text-decoration: underline; 
}

.-single-post-content ul { 
    list-style: none; 
    margin: 20px 0 25px; 
    padding-right: 10px; 
    width: 100%; 
}

.-single-post-content ul li { 
    position: relative; 
    padding-right: 30px; 
    margin-bottom: 14px; 
    font-size: 19px; 
    color: var(--second-text-color); 
    line-height: 1.7; 
    text-align: right; 
}

.-single-post-content ul li:before { 
    content: ""; 
    position: absolute; 
    right: 4px; 
    top: 12px; 
    width: 8px; 
    height: 8px; 
    background: var(--uicolor); 
    border-radius: 50%; 
}

.-single-post-content ol { 
    list-style: none; 
    counter-reset: my-counter; 
    margin: 20px 0 25px; 
    padding-right: 10px; 
    width: 100%; 
}

.-single-post-content ol li { 
    counter-increment: my-counter; 
    position: relative; 
    padding-right: 35px; 
    margin-bottom: 16px; 
    font-size: 19px; 
    color: var(--second-text-color); 
    line-height: 1.7; 
    text-align: right; 
}

.-single-post-content ol li:before { 
    content: counter(my-counter) "."; 
    color: var(--uicolor); 
    font-weight: 700; 
    font-size: 19px; 
    position: absolute; 
    right: 0; 
    top: 0; 
}

.-single-post-content blockquote { 
    background: var(--light-color); 
    border-right: 5px solid var(--uicolor2); 
    padding: 22px !important; 
    margin: 30px 0; 
    border-radius: 0 var(--miniradius) var(--miniradius) 0; 
    color: var(--secondarytext); 
    font-size: 19px; 
    line-height: 1.7; 
    text-align: right; 
}

/* هافر سينمائي فخم وجذاب جداً للصور عند التمرير بالماوس */
.-single-post-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 30px auto !important;
    border-radius: var(--largeradius) !important;
    box-shadow: 0 12px 40px rgba(9, 35, 64, 0.08) !important;
    max-height: 700px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; 
}

.-single-post-content img:hover {
    transform: scale(1.025) !important; /* تكبير دقيق فخم */
    filter: contrast(1.05) brightness(1.04) !important; /* تحسين ألوان وإضاءة الصورة تلقائياً */
    box-shadow: 0 22px 50px rgba(13, 109, 139, 0.25) !important; /* توهج ظلي بلون الهوية الفاخرة */
}

/* ================= الجداول المحدثة والمتجاوبة ================= */
.tablecontainer {
    margin: 30px 0;
    background: #fff;
    border: 1px solid var(--diver);
    border-radius: var(--largeradius);
    overflow-x: auto;
    width: 100%;
    box-shadow: var(--box-shadow-defult);
    -webkit-overflow-scrolling: touch;
}

.tablecontainer table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
}

.tablecontainer th, .tablecontainer td {
    padding: 14px 12px;
    font-size: 17px;
    white-space: nowrap;
    text-align: right;
}

.tablecontainer th {
    background: var(--hover-overlay);
    font-weight: 600;
    border-bottom: 2px solid var(--diver);
}

.tablecontainer td {
    border-top: 1px solid var(--diver);
    border-left: 1px solid var(--diver);
    color: var(--second-text-color);
}

tr:nth-child(even) { background: #fdfdfd; }

/* ================= سيكشن الأسئلة الشائعة الأكورديون المتطور لعام 2026 ================= */
.faq-section-wrapper { 
    margin: 45px 0; 
    width: 100%; 
}

.faq-title { 
    font-size: 26px; 
    font-weight: 700; 
    color: var(--uicolor); 
    margin-bottom: 25px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.faq-grid-item-card { 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    border: 1px solid rgba(13, 109, 139, 0.12); 
    border-radius: 14px; 
    margin-bottom: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02); 
    overflow: hidden; 
}

.faq-grid-item-card:hover { 
    border-color: rgba(13, 109, 139, 0.3); 
    box-shadow: 0 8px 25px rgba(13, 109, 139, 0.08); 
    transform: translateY(-2px); 
}

.faq-grid-item-card.active-card { 
    border-color: var(--uicolor); 
    background: #fff; 
    box-shadow: 0 12px 30px rgba(13, 109, 139, 0.12); 
}

.faq-trigger-btn { 
    width: 100%; 
    background: none; 
    border: none; 
    outline: none; 
    text-align: right; 
    font-size: 20px; 
    font-weight: 700; 
    color: var(--Text-color); 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 18px 22px; 
}

.faq-trigger-btn:hover { color: var(--uicolor); }
.faq-icon-holder { 
    background: var(--uicolor3); 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.faq-grid-item-card.active-card .faq-icon-holder { 
    transform: rotate(180deg); 
    background: var(--uicolor); 
    color: #fff; 
}

.faq-dropdown-content { 
    max-height: 0; 
    overflow: hidden; 
}

.faq-dropdown-content p { 
    font-size: 18px; 
    color: var(--second-text-color); 
    line-height: 1.8; 
    padding: 5px 22px 22px; 
    margin: 0; 
    border-top: 1px solid rgba(229, 234, 239, 0.5); 
}

/* ================= تصنيفات وأقسام الموقع المحدثة v3 ================= */
.site-categories-section-v3 { 
    margin: 50px 0; 
    width: 100%; 
}

.categories-clean-title { 
    font-size: 24px; 
    font-weight: 700; 
    color: var(--uicolor); 
    margin-bottom: 25px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.categories-minimal-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 18px; 
}

.category-minimal-card { 
    background: #ffffff; 
    border: 1px solid rgba(13, 109, 139, 0.12); 
    border-radius: 12px; 
    padding: 22px 20px; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    cursor: pointer; 
    position: relative; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01); 
    overflow: hidden; 
}

.category-minimal-card .card-title-text { 
    font-size: 18px; 
    font-weight: 700; 
    color: var(--Text-color); 
    position: relative; 
    padding-right: 12px; 
}

.category-minimal-card::after { 
    content: ''; 
    position: absolute; 
    right: 0; 
    bottom: 0; 
    width: 4px; 
    height: 0%; 
    background: var(--uicolor); 
}

.category-minimal-card:hover { 
    border-color: var(--uicolor); 
    background: var(--uicolor3); 
    box-shadow: 0 12px 28px rgba(13, 109, 139, 0.12); 
    transform: translateY(-3px); 
}

.category-minimal-card:hover .card-title-text { color: var(--uicolor2); }
.category-minimal-card:hover::after { height: 100%; }

/* ================= الكلمات الدلالية والوسوم المصححة ================= */
.semantic-keywords-cluster { 
    margin: 40px 0; 
    padding: 25px; 
    background: var(--light-color); 
    border: 1px solid var(--diver); 
    border-radius: var(--largeradius); 
}

.keywords-cluster-title { 
    font-size: 20px; 
    font-weight: 700; 
    color: var(--uicolor); 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.keywords-flex-box { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.keyword-search-pill { 
    background: #fff; 
    color: var(--Text-color); 
    padding: 8px 16px; 
    border-radius: 30px; 
    font-size: 15px; 
    font-weight: 500; 
    border: 1px solid rgba(13, 109, 139, 0.1); 
}

.keyword-search-pill:hover { 
    border-color: var(--uicolor); 
    background: var(--uicolor3); 
    color: var(--uicolor2); 
    transform: translateY(-2px); 
}

.post-tags-container {
    margin: 40px 0;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tags-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondarytext);
    display: inline-flex;
    align-items: center;
}

.tag-link-item { 
    background: var(--light-color); 
    color: var(--second-text-color); 
    padding: 6px 16px; 
    border-radius: 30px; 
    font-size: 15px; 
    font-weight: 500; 
    border: 1px solid var(--diver); 
}

.tag-link-item:hover { 
    background: var(--uicolor3); 
    color: var(--uicolor2); 
    border-color: rgba(13, 109, 139, 0.2); 
}

/* ================= سيكشن بوكس المشاركة المرتب عمودياً ================= */
.share-article-fluid-box {
    margin: 40px 0; 
    padding: 25px; 
    background: #fff;
    border: 1px dashed var(--uicolor); 
    border-radius: 14px;
    display: flex; 
    flex-direction: column; 
    gap: 18px; 
}

.share-section-main-title { font-size: 19px; font-weight: 700; color: var(--Text-color); }
.share-flexible-row-layout { display: flex; flex-direction: column; gap: 16px; }

.article-link-copy-container { 
    display: flex; 
    align-items: center; 
    background: var(--light-color); 
    border: 1px solid var(--diver); 
    border-radius: 8px; 
    overflow: hidden; 
}

.link-text-input { 
    padding: 10px 14px; 
    font-size: 14px; 
    color: var(--secondarytext); 
    background: none; 
    border: none; 
    outline: none; 
    width: 100%; 
    text-align: left; 
    direction: ltr; 
}

.copy-action-btn { 
    background: var(--uicolor3); 
    color: var(--uicolor2); 
    border: none; 
    padding: 10px 20px; 
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer; 
    border-inline-start: 1px solid var(--diver); 
    white-space: nowrap; 
}

.copy-action-btn:hover { 
    background: var(--uicolor); 
    color: #fff; 
}

.share-social-buttons-holder { 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.social-share-circle-btn { 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    font-size: 15px; 
    box-shadow: 0 3px 8px rgba(0,0,0,0.06); 
}

.social-share-circle-btn.fb { background: #1877F2; }
.social-share-circle-btn.tw { background: #000000; }
.social-share-circle-btn.wa { background: var(--whatsapp); }
.social-share-circle-btn.tg { background: #0088cc; }
.social-share-circle-btn.snap { background: #fffc00; color: #000; font-weight: bold; }

.social-share-circle-btn:hover { 
    transform: translateY(-3px); 
    filter: brightness(1.1); 
}

/* ================= المقالات ذات الصلة وميديا الفيديو ================= */
.-TitleContent-section { 
    margin-top: 60px; 
    margin-bottom: 30px; 
    border-bottom: 2px solid var(--diver); 
    padding-bottom: 10px; 
}

.-TitleContent-section span { 
    font-size: 28px; 
    font-weight: 700; 
    color: var(--uicolor); 
    position: relative; 
}

.-TitleContent-section span:after { 
    content: ""; 
    position: absolute; 
    width: 50px; 
    height: 3px; 
    background: var(--uicolor); 
    bottom: -12px; 
    right: 0; 
}

.-Posts-RelatedBoxes { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); 
    gap: 30px; 
    margin-bottom: 50px; 
}

.-Post-box-single-item { 
    background: #fff; 
    border-radius: var(--largeradius); 
    overflow: hidden; 
    box-shadow: var(--box-shadow-defult); 
    border: 1px solid var(--border-defult-hover); 
    display: flex; 
    flex-direction: column; 
    position: relative; 
}

.-Post-box-single-item:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--box-shadow-hover); 
    border-color: var(--uicolor3); 
}

.-Post-box-item-Thumb { 
    width: 100%; 
    height: 190px; 
    background-size: cover; 
    background-position: center; 
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

.-Post-box-single-item:hover .-Post-box-item-Thumb { transform: scale(1.05); }
.-Post-box-item-Info { padding: 22px; display: flex; flex-direction: column; flex: 1; text-align: right; }
.YC-title-post-grid a { font-size: 20px; font-weight: 700; color: var(--Text-color); line-height: 1.4; margin-bottom: 10px; }
.-P-content { font-size: 16px; color: var(--secondarytext); line-height: 1.6; margin-bottom: 15px; flex: 1; }
.YC-Post-BTN { display: flex; align-items: center; gap: 8px; color: var(--uicolor2); font-weight: 600; font-size: 15px; margin-top: auto; }
.-Post-box-single-item:hover .YC-Post-BTN { color: var(--uicolor); }

.video-wrapper-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 35px auto;
    border-radius: var(--largeradius);
    border: 6px solid var(--uicolor3);
    box-shadow: 0 15px 35px rgba(13, 109, 139, 0.15);
}

.video-wrapper-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ================= التناغم الحركي الشامل والهافرات لعام 2026 ================= */
.-Post-box-single-item,
.category-minimal-card,
.faq-grid-item-card,
.YC-img-match-whatsapp,
.YC-img-match-phone,
.faq-trigger-btn,
.social-share-circle-btn,
.tag-link-item,
.keyword-search-pill {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* ================= ميديا كويري الهاتف الموزونة فائق الاحترافية بالملي ================= */
@media only screen and (max-width: 1024px) {
    :root { --container-padding--value: 20px; }
    .-single-post-content { font-size: 20px; }
}

@media only screen and (max-width: 991px) {
    .top-singular-post-cover { flex-direction: column-reverse; align-items: stretch; gap: 30px; }
    .-single-parent-flexes--content-inner-thumb { max-width: 100%; display: flex; justify-content: center; }
    .-single-parent-flexes--content-inner-thumb--inner { max-width: 550px; }
}

@media only screen and (max-width: 768px) {
    :root { --container-padding--value: 12px; } 
    
    .YC-post-cover-post { 
        padding-top: 40px; 
        padding-bottom: 30px; 
        text-align: center !important;
    }
    
    .YC-BreadCrumb > ol, ol.BreadcrumbsFilters {
        justify-content: center !important;
        margin: 0 auto 20px !important;
    }

    .single-post-title h1 { 
        font-size: 24px !important; 
        text-align: center !important;
        line-height: 1.4 !important;
    }
    
    .single-post-title .sub-title { 
        font-size: 14px !important; 
        text-align: center !important;
        padding: 4px 12px !important;
    }
    
    p.mini-content-single-posts { 
        font-size: 15px !important; 
        text-align: center !important;
        line-height: 1.6 !important;
    }

    /* توسيط أزرار الاتصال الكبيرة في المنتصف للهاتف */
    .YC-single-call--boxs { 
        flex-direction: column !important; 
        align-items: center !important; 
        justify-content: center !important;
        width: 100% !important; 
        gap: 12px !important; 
    }
    
    .YC-img-match-whatsapp, .YC-img-match-phone { 
        width: 95% !important; 
        max-width: 340px !important;
        justify-content: center !important; 
        padding: 10px 16px !important;
    }

    .YC-img-match-phone { font-size: 18px !important; }
    .whatsapp-text-cluster .phone-num { font-size: 18px !important; }
    .whatsapp-circle-icon-holder { width: 40px !important; height: 40px !important; font-size: 20px !important; }

    .YC-img-match-whatsapp:active, .YC-img-match-phone:active {
        transform: scale(0.96) !important;
        opacity: 0.9;
    }

    /* موازاة الخط المتقطع الجانبي للهاتف وتكبير النقطة */
    .-single-post-content-boxed { padding-right: 28px; } 
    .YC-single-scroll-post { right: 12px; }
    
    .-single-post-content h2 { font-size: 22px; }
    .-single-post-content h2:before {
        right: -24px; /* موازاة دقيقة ومحكمة لتقاطع السكرول على الهاتف */
        width: 16px; /* تكبير متناسق للنقطة على شاشات الهاتف */
        height: 16px;
        top: 0.75em;
        border-width: 3px;
    }
    .YC-final-check-square { right: -8px; }

    /* ================= إصلاح شكل الاستيكي للهاتف بالملي مع إظهار العنوان كاملاً ================= */
    .YC-single-headerFixed-container {
        top: auto !important;
        bottom: 0 !important;
        transform: translateY(100%) !important;
        padding: 12px 0 !important;
        border-top: 1px solid rgba(13, 109, 139, 0.12);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08) !important;
        background: rgba(255, 255, 255, 0.95) !important; 
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    .YC-single-headerFixed-container.visible-header { transform: translateY(0) !important; }
    .YC-single-scroll-bar { display: none !important; }
    
    .YC-single-headerFixed-boxed { gap: 10px; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
    .YC-single-headerFixed-small-thumb { width: 38px; height: 38px; }
    
    /* تعديل الهاتف الفخم: جعل عنوان المقال يظهر كاملاً ويلتف لأسفل بسلاسة */
    .YC-single-headerFixed-title { max-width: 50%; flex-shrink: 1; min-width: 0; }
    .YC-single-headerFixed-title span { 
        font-size: 12.5px; 
        line-height: 1.3; 
        font-weight: 700;
        white-space: normal !important; /* السماح للنص بالالتفاف */
        overflow: visible !important; 
        text-overflow: clip !important;
        display: block;
    }
    .headerFixed-info-stats-ratings { display: none !important; }
    
    .YC-single-headerFixed--boxs { gap: 5px; flex-shrink: 0; }
    .YC-single-headerFixed--boxs a { padding: 8px 10px; font-size: 11px; border-radius: 20px; font-weight: 700; gap: 4px; }
    .YC-single-headerFixed--boxs a.YC-BTN-whatsapp { margin-inline-start: 0px; }

    /* ريسبونسيف المحتوى الداخلي العريض للهاتف */
    .tablecontainer { border-radius: 12px; margin: 25px 0px; padding: 0; }
    .tablecontainer th, .tablecontainer td { font-size: 14px; padding: 10px 6px; }
    .video-wrapper-frame { margin: 25px auto; border-width: 4px; }
    .-single-post-content img { margin: 20px auto !important; border-radius: 12px !important; max-height: 400px !important; }
    .-single-post-content img:hover { transform: none !important; }
    
    .categories-minimal-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
    .category-minimal-card { padding: 14px 10px; }
    .category-minimal-card .card-title-text { font-size: 12px; }
    
    .faq-title { font-size: 22px; }
    .faq-trigger-btn { font-size: 17px; padding: 14px; }
    .faq-dropdown-content p { font-size: 15px; padding: 5px 14px 14px; }
    .share-article-fluid-box { padding: 15px 10px; gap: 12px; }
    .share-social-buttons-holder { justify-content: center; width: 100%; gap: 8px; }
    .link-text-input { text-align: center; font-size: 12px; }
}
/* ================= الصور داخل المحتوى - علاج مشكلة الأبعاد والخروج والحدود ================= */
.-single-post-content img {
    max-width: 100% !important; /* حماية مطلقة: تمنع الصورة من الخروج عن الكونتينر نهائياً */
    height: auto !important;    /* إجبار المتصفح على حساب الارتفاع تلقائياً للحفاظ على الـ Aspect Ratio الفعلي للصورة دون تشويه */
    aspect-ratio: auto !important; /* جعل المتصفح يلتزم بنسبة أبعاد الصورة الأصلية الفريش */
    display: block !important;
    margin: 35px auto !important;
    border-radius: var(--largeradius) !important;
    
    /* إضافة حدود وظلال غاية في الشياكة للموقع */
    border: 1px solid var(--diver) !important; 
    box-shadow: 0 10px 30px rgba(9, 35, 64, 0.05) !important;
    
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; 
}

/* هافر سينمائي فخم وجذاب جداً للصور عند التمرير بالماوس */
.-single-post-content img:hover {
    transform: scale(1.015) !important; /* تكبير دقيق فخم وثابت */
    filter: contrast(1.03) brightness(1.02) !important; 
    box-shadow: 0 20px 45px rgba(13, 109, 139, 0.18) !important; /* توهج ظلي بلون الهوية الفاخرة */
}

/* تحسين ريسبونسيف الموبايل لمنع خروج الصور حتى في أصغر الشاشات */
@media only screen and (max-width: 768px) {
    .-single-post-content img {
        margin: 25px auto !important;
        border-radius: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .-single-post-content img:hover {
        transform: none !important; /* إلغاء التكبير عند اللمس بالهاتف لضمان ثبات الشاشة */
    }
}

/* ================= الحماية المطلقة للصور ضد الخروج والتشوه البصري ================= */
.-single-post-content p, 
.-single-post-content figure, 
.-single-post-content div {
    max-width: 100% !important;
}

.-single-post-content img {
    display: block !important;
    max-width: 100% !important; /* يمنع خروج الصورة نهائياً بر الشاشة */
    width: 100% !important;      /* يجبر الصورة على التمدد بداخل حدود الشاشة المتاحة فقط */
    height: auto !important;     /* يحافظ على نسبة الارتفاع الطبيعية لمنع التمطيط */
    aspect-ratio: auto !important;
    margin: 35px auto !important;
    border-radius: var(--largeradius) !important;
    border: 1px solid var(--diver) !important; 
    box-shadow: 0 10px 30px rgba(9, 35, 64, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; 
}

/* هافر سينمائي ناعم عند مرور الماوس */
.-single-post-content img:hover {
    transform: scale(1.015) !important; 
    filter: contrast(1.03) brightness(1.02) !important; 
    box-shadow: 0 20px 45px rgba(13, 109, 139, 0.18) !important; 
}

/* ================= تحسين الهافر والروابط للمقالات ذات الصلة ================= */
.-Post-box-single-item {
    position: relative;
    cursor: pointer;
}

/* جعل البوكس كاملاً يتفاعل عند الهافر لأن البوكس كله أصبح رابطاً */
.-Post-box-single-item a.-Post-box-item-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* تحسين انتقال زر (المزيد) عندما يمر الماوس على البوكس بالكامل */
.-Post-box-single-item:hover .YC-Post-BTN i {
    transform: translateX(-6px);
}

@media only screen and (max-width: 768px) {
    .-single-post-content img {
        margin: 25px auto !important;
        border-radius: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .-single-post-content img:hover {
        transform: none !important; 
    }
}


@media (min-width: 992px) {
    .YC-single-headerFixed-container {
        top: var(--main-header-height, 72px) !important;
    }
}
