 /* --- Module: News Card (Container for Content) --- */
        .news-card {
            background-color: var(--white);
            border-radius: var(--border-radius-lg);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            padding: 2rem;
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .news-card .news-main-figure img {
            width: 50%;
            float: left;
            margin-right: 20px;
            margin-bottom: 6.66666667px;
        }

        /* --- Module: Breadcrumb (آپدیت شده طبق درخواست شما) --- */
        .custom-breadcrumb {
            background-color: transparent;
            padding: 0;
            margin-bottom: 1rem;
            font-size: 0.85rem;
        }

        .custom-breadcrumb .breadcrumb-item a {
            color: var(--text-gray);
            text-decoration: none;
            font-weight: 500;
        }

        .custom-breadcrumb .breadcrumb-item a:hover {
            color: var(--kaf-blue);
        }

        .custom-breadcrumb .breadcrumb-item.active {
            color: var(--kaf-blue);
            font-weight: 700;
        }

        .custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
            color: var(--kaf-gold);
            content: "/";
            font-weight: bold;
            float: right;
            /* برای سازگاری با RTL */
            margin-left: 0.5rem;
        }

        /* --- Module: News Meta Bar (آپدیت شده - کپسولی و مدرن) --- */
        .news-header-meta {
            background-color: #F8F9FA;
            border: 1px solid #e9ecef;
            border-right: 4px solid var(--kaf-blue);
            border-radius: 50px;
            padding: 0.6rem 1.2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 1.5rem;
        }

        .news-header-meta .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            color: var(--text-light);
            font-weight: 500;
        }

        .news-header-meta .meta-item i {
            color: var(--kaf-teal);
            font-size: 1.1rem;
        }

        /* --- Module: Typography (Title & Lead) --- */
        .news-title {
            color: var(--kaf-blue);
            font-weight: 800;
            line-height: 1.6;
            margin-bottom: 1rem;
            font-size: 1.8rem;
        }

        .news-lead {
            font-size: 1.1rem;
            color: var(--text-light);
            line-height: 1.8;
            font-weight: 500;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--light);
            padding-bottom: 1rem;
        }
/* استایل باکس نقل قول (لید خبر) */
.news-lead {
    background-color: #f8f9fa; /* رنگ پس‌زمینه روشن */
    border-right: 5px solid #00b4b4; /* بردر ضخیم سمت راست مشابه تصویر */
    border-radius: 8px; /* گرد کردن گوشه‌ها */
    padding: 20px 25px;
    margin: 25px 0;
    position: relative;
}

.news-lead p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    font-weight: 500;
    text-align: justify;
    margin-bottom: 0;
    /* افزودن گیومه در صورت تمایل */
}

/* افکت اختیاری برای شبیه شدن بیشتر به نقل قول */
.news-lead p::before {
    content: "«";
    color: #00b4b4;
    margin-left: 5px;
    font-weight: bold;
}

.news-lead p::after {
    content: "»";
    color: #00b4b4;
    margin-right: 5px;
    font-weight: bold;
}
      
        .news-main-image {
            float: left;
            width: 50%;
            margin: 12px 20px 12px 0;
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .news-main-image img {
            width: 100%;
            height: 350px;
            /* ارتفاع کنترل شده */
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .news-main-image:hover img {
            transform: scale(1.05);
        }

        /* استایل کپشن روی عکس */
        .image-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: #fff !important;
            padding: 20px 10px 10px;
            font-size: 0.8rem;
            text-align: center;
            margin: 0;
        }

        /* یک پاک‌کننده فلوت برای اینکه محتوای بعدی به مشکل نخورد */
        .news-content::after {
            content: "";
            display: table;
            clear: both;
        }

        /* ریسپانسیو برای موبایل: در گوشی عکس تمام‌عرض شود */
        @media (max-width: 768px) {
            .news-main-image {
                float: none;
                width: 100%;
                margin: 0 0 1.5rem 0;
            }
        }

        .image-caption {
            font-size: 0.85rem;
            color: var(--text-gray);
            margin-top: 0.5rem;
            text-align: center;
            font-style: italic;
        }

        /* --- Module: News Body Content --- */
        .news-content {
            font-size: 1rem;
            line-height: 2.2;
            color: var(--text);
            text-align: justify;
        }

        .news-content p {
            margin-bottom: 1.5rem;
        }

        .news-content strong {
            color: var(--kaf-blue);
        }

        /* تصاویر داخل متن (آپدیت شده طبق درخواست شما با افکت هاور) */
        .news-content img {
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            margin: 12px 0;
            cursor: zoom-in;
            max-width: 100%;
            height: auto;
        }

        .news-content img:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        /* --- Table Styles --- */
        .news-content table {
            width: 100%;
            margin: 1.5rem 0;
            border-collapse: separate;
            border-spacing: 0;
            border-radius: var(--border-radius-sm);
            overflow: hidden;
            border: 1px solid var(--light);
        }

        .news-content table thead {
            background-color: var(--kaf-blue);
            color: var(--white);
        }

        .news-content table th,
        .news-content table td {
            padding: 12px 15px;
            text-align: right;
            border-bottom: 1px solid var(--light);
        }

        .news-content table tbody tr:nth-child(even) {
            background-color: rgba(239, 243, 251, 0.5);
        }

        /* --- List Styles --- */
        .news-content ul,
        .news-content ol {
            margin-bottom: 1.5rem;
            padding-right: 2rem;
        }

        .news-content ul li {
            list-style: none;
            position: relative;
            margin-bottom: 0.5rem;
        }

        .news-content ul li::before {
            content: "■";
            color: var(--kaf-gold);
            font-size: 1.2rem;
            position: absolute;
            right: -1.5rem;
            top: -3px;
            line-height: 1;
        }

        .news-content ol li::marker {
            color: var(--kaf-blue);
            font-weight: bold;
        }

        /* --- Blockquote --- */
        .news-content blockquote {
            background: #f9f9f9;
            border-right: 5px solid var(--kaf-teal);
            padding: 1.5rem 2rem;
            margin: 2rem 0;
            border-radius: 8px 0 0 8px;
            font-style: italic;
            color: #555;
            position: relative;
        }

        .news-content blockquote::before {
            content: '\201C';
            font-size: 4rem;
            color: var(--light);
            position: absolute;
            top: -10px;
            left: 20px;
            font-family: serif;
        }

        /* --- Inline Links --- */
        .news-content a {
            color: var(--kaf-blue);
            border-bottom: 1px dashed var(--kaf-gold);
            padding-bottom: 1px;
        }

        .news-content a:hover {
            background-color: var(--kaf-gold);
            color: var(--black);
            border-bottom: none;
            text-decoration: none;
        }

        /* --- Gallery Section --- */
        .gallery-section {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--light);
        }

        .gallery-title {
            font-size: 1.2rem;
            color: var(--text-light);
            margin-bottom: 1rem;
            border-right: 4px solid var(--kaf-gold);
            padding-right: 10px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }

        .gallery-item {
            border-radius: var(--border-radius-sm);
            overflow: hidden;
            position: relative;
            aspect-ratio: 1/1;
            cursor: pointer;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }
.gallery-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light);
}

.gallery-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem; /* کمی فاصله بیشتر */
    border-right: 4px solid var(--kaf-gold);
    padding-right: 10px;
    display: flex;
    align-items: center;
}

.gallery-grid {
    display: grid;
    /* تنظیم تعداد ستون‌ها: در موبایل 2 عدد و در دسکتاپ تا 4 عدد */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 15px;
}

.gallery-item {
    /* مهم: طبق تصویر دوم گوشه‌ها باید گرد باشند */
    border-radius: 12px; 
    overflow: hidden;
    position: relative;
    /* اگر می‌خواهید تصاویر کاملاً مربع باشند این خط را نگه دارید، 
       در غیر این صورت می‌توانید حذف کنید تا ارتفاع آزاد باشد */
    aspect-ratio: 16/9; 
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* سایه ملایم برای جذابیت بیشتر */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
        /* --- Tags --- */
        .news-tags {
            margin-top: 2rem;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .news-tag {
            background-color: var(--light);
            color: var(--text-light);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            transition: all 0.3s;
        }

        .news-tag:hover {
            background-color: var(--kaf-blue);
            color: var(--white);
        }

        /* --- Sidebar Styles --- */
        .sidebar-widget {
            background: var(--white);
            border-radius: var(--border-radius-lg);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
        }

        .widget-title {
            font-size: 1.1rem;
            font-weight: bold;
            color: var(--kaf-blue);
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--kaf-gold);
            display: inline-block;}