/* .Articlecontent .single-post .row {
    flex-direction: row;
    width: 100%;
    
    } */
/* کانتینر اصلی آبی رنگ */
.news-box-container {
    background-color: #F0F7FD;
    border: 1px solid #E1EEF8;
    border-radius: 15px;
    padding: 20px;
    direction: rtl;
    /* فرض بر راست‌چین بودن سایت */
    margin-bottom: 20px;
}

/* تنظیمات ریسپانسیو و فلکس */
.news-box-container .row {
    display: flex;
    align-items: center;
}

/* --- بخش سمت راست: شناسه خبر --- */
.news-id-wrapper {
    display: flex;
    justify-content: flex-end;
    /* چسبیدن به راست */
    align-items: center;
    gap: 15px;
    position: relative;
}

/* آیکون روزنامه (دایره زرد) */
.news-id-wrapper .icon-box {
    width: 50px;
    height: 50px;
    background-color: #FFF9E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFC107;
    font-size: 24px;
    flex-shrink: 0;
}

/* متن‌های شناسه خبر */
.news-id-wrapper .text-box {
    display: flex;
    flex-direction: column;
    text-align: left;
    /* متن‌ها نسبت به هم */
}

.news-id-wrapper .text-box .label-txt {
    font-size: 13px;
    color: #6C757D;
    margin-bottom: 2px;
}

.news-id-wrapper .text-box .value-txt {
    font-size: 22px;
    font-weight: 800;
    color: #0D47A1;
    line-height: 1;
    font-family: sans-serif;
    /* فونت اعداد */
}

/* خط جداکننده وسط (فقط در دسکتاپ) */
.separator-line {
    border-left: 1px solid #CBD5E1;
}

@media (max-width: 767px) {
    .separator-line {
        border-left: none;
        border-bottom: 1px solid #CBD5E1;
        padding-bottom: 15px;
        margin-bottom: 15px;
        justify-content: center !important;
    }

    .news-id-wrapper {
        justify-content: center;
    }
}

/* --- بخش سمت چپ: لینک کوتاه --- */
.shortlink-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shortlink-wrapper .caption {
    font-size: 14px;
    color: #6C757D;
    white-space: nowrap;
}

/* کپسول سفید رنگ اینپوت */
.shortlink-box {
    background-color: #FFFFFF;
    border-radius: 50px;
    padding: 4px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* آیکون لینک (سبز رنگ) */
.shortlink-box .link-icon {
    color: #009688;
    font-size: 18px;
    padding: 0 15px;
    transform: rotate(-45deg);
    /* چرخش اختیاری برای زیبایی */
}

/* اینپوت لینک */
.shortlink-box input {
    border: none;
    background: transparent;
    flex-grow: 1;
    color: #333;
    font-size: 14px;
    font-family: monospace;
    /* فونت مناسب لینک */
    direction: ltr;
    text-align: left;
    outline: none;
    min-width: 0;
    /* جلوگیری از سرریز در موبایل */
}

/* دکمه کپی */
.btn-copy-custom {
    background-color: #0D47A1;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-copy-custom:hover {
    background-color: #08306b;
    color: white;
}

.btn-copy-custom i {
    font-size: 16px;
}

#inner-post-gallery a{
    border: none;

}
.news-info ul{
    margin-bottom: 0px !important;
    padding-right: 0px !important;
    
}
.news-info ul li{
    margin-bottom: 0px !important;
}

.meta-list {
    display: flex;
}
.meta-list a{
background: #f1f1f1;
  color: #555;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: none;
}
.es-news-tags ul {
    display: flex;
    width: 100%;
    gap: 10px;
    padding-right: 0 !important;
    padding: 5px !important;
}
.es-news-tags ul li{
    list-style-type: none !important;
    font-size: 12px;
}
.es-news-tags ul li a{
    padding: 5px !important;
    font-size: 12px;

}
/* ========================================================================= */
/* --- اصلاح و محدودسازی استایل‌های المان‌های محتوایی فقط به Articlecontent --- */
/* ========================================================================= */
.news-head h2{
    font-size: 1.5rem !important;
    text-align: justify;
    line-height: 2;
    @media screen and (max-width:768px) {
        font-size: 1rem !important;
    }
}
.Articlecontent {
    background-color: white;
    border-radius: 10px;
}

@media screen and (max-width:768px) {
    .Articlecontent {
        padding: 10px;
    }
}

.Articlecontent h1,
.Articlecontent h2,
.Articlecontent h3,
.Articlecontent h4,
.Articlecontent h5,
.Articlecontent h6 {
    margin: 0px 0px 10px 0;
    color: #000;
    line-height: 1.5;
    text-align: justify;
    font-weight: 800;
}

.Articlecontent h3 {
    font-size: 1rem;
    color: var(--blue-1);
}

.Articlecontent h2 {
    font-size: 1.3rem;
}

.Articlecontent p {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.9;
    padding: 10px 0px;
    text-align: justify;   
    @media screen and (max-width:768px) {
        
    } 
}

.Articlecontent .content-main .ck-content p {
    margin: 0 !important;
}

.Articlecontent .widget-container {
    width: 100% !important;
}

.Articlecontent img,
.Articlecontent video {
    /* 1. ریسپانسیو سازی */
    border-radius: 15px !important;
    width: 100% !important;        /* عکس از عرض والد خود بزرگتر نمی‌شود */
    max-width: 100%;
    height: auto;           /* ارتفاع متناسب با عرض تغییر می‌کند (جلوگیری از دفرمه شدن) */
    
    /* 2. محدودیت ارتفاع برای زیبایی */
    max-height: 500px;      /* اگر عکس خیلی بلند بود، محدود شود */
    object-fit: cover;    /* اگر ارتفاع محدود شد، کل عکس نمایش داده شود و بریده نشود */

    /* 3. استایل ظاهری */
    border: none;
    
    /* 4. وسط‌چین کردن عکس در متن */
    display: block;
    margin: auto auto;      /* فاصله از بالا/پایین و وسط‌چین افقی */
    
    /* سایه اختیاری برای جلوه بهتر */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
}

.Articlecontent table {
    /* تغییرات اصلی برای فعال شدن گردی گوشه‌ها */
    overflow: hidden; /* جلوگیری از بیرون زدگی رنگ هدر از گوشه‌ها */
    /* margin-top: 2rem; */
    /* استایل‌های قبلی */
    font-size: 14px;
    border: 1px solid #ccc;
    width: 100% !important;
}

.Articlecontent table th {
    text-align: right !important;
padding-right: 10px;
border: 1px solid var(--color-bg-light);
}
.Articlecontent table thead tr {
    background-color: #104e9c;
    color: white;
}

.Articlecontent table thead th {
    padding: 15px;
    /* تنظیم بوردرها برای جلوگیری از دوخطی شدن در حالت separate */
    border-bottom: 1px solid #104e9c;
    text-align: right;
    font-weight: bold;
border: 1px solid #00897b;}
@media screen and (max-width:768px) {
    .Articlecontent table thead th {
        font-size: 12px;
    }
}

/* برای اینکه بوردر سمت چپ اولین ستون هدر دوتایی نشود */
/* حذف خط از آخرین ستون */

.Articlecontent table tbody td {
    padding: 12px;
border: 1px solid var(--color-bg-light);

    text-align: right;
    color: #333;
}
@media screen and (max-width:768px) {
    .Articlecontent table tbody td {
        font-size: 12px;
    }
}

/* حذف بوردر اضافی از آخرین ستون بدنه */
.Articlecontent table tbody td:last-child {
    border-right: none;
}



.Articlecontent table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.Articlecontent table tbody tr:hover {
    background-color: #f1f1f1;
}

.Articlecontent ul {
    /* margin: 0.5rem 0; */
    padding-right: 2rem;
}
.Articlecontent ul li {
    list-style-type: square ;
    margin-bottom: 0.5rem;
    color: #444;
}
.Articlecontent ul li::marker {
    color: var(--color-primary);
}

.Articlecontent ol {
    padding: 0;
}
    
/* باکس اصلی نقل قول */
.Articlecontent blockquote {
    position: relative;
    background-color: #eff6ff; /* پس‌زمینه آبی خیلی روشن */
    border-right: 5px solid #104e9c; /* نوار آبی سمت راست */
    padding: 30px 40px;
    margin: 30px 0;
    border-radius: 4px;
    direction: rtl;
    font-family: Tahoma, 'Segoe UI', sans-serif;
    overflow: hidden; /* برای جلوگیری از بیرون زدن آیکون */
    color: var(--color-text);
    text-align: justify;
    font-style: italic;
}

/* آیکون نقل قول (واترمارک) */
.Articlecontent blockquote::before {
    content: "”"; /* کاراکتر کوتیشن */
    position: absolute;
    top: 0px;
    left: 10px;
    font-size: 120px;
    color: #104e9c;
    opacity: 0.1; /* شفافیت کم */
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--color-text);
}

.Articlecontent a {
    transition: color 0.3s;
    text-decoration: none;      /* حذف خط زیرین پیش‌فرض مرورگر */
    border-bottom: 1px dotted blue ; /* نقطه‌چین همرنگ متن */
    padding: 0px;
    color: var(--text-links);             /* رنگ اصلی لینک */
    transition: all 0.1s ease;  /* انیمیشن نرم برای تغییر حالت */
}

.Articlecontent a:hover {
    color: var(--hover-text-links);
    background-color: rgba(13, 110, 253, 0.1);
}

/* --- جلوگیری از تداخل استایل‌های عمومی a و img با بخش گالری و کلمات کلیدی --- */
.Articlecontent .es-post-gallery img {
    width: 100% !important;
    height: 150px;
    max-height: none;
    box-shadow: none;
    margin: 0;
    object-fit: cover;
}
.Articlecontent .es-post-gallery .video-entry img.video-img {
    height: 250px !important;
}
.Articlecontent .es-post-gallery a {
    border-bottom: none;
    background-color: transparent;
}
.Articlecontent .es-post-gallery a:hover {
    background-color: transparent;
}
.Articlecontent .meta-list a {
    border-bottom: none;
}


/* ========================================================================= */
/* --- پایان کدهای Articlecontent (سایر کلاس‌ها به صورت استاندارد در روت) --- */
/* ========================================================================= */

.fa.fa-newspaper-o{
    color: #8b95c6;
}

.meta-list {
    margin: 1rem 0rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.meta-list a:hover{
    background-color: var(--blue-1);
    color: var(--blue-light);
}

.single-post .single-post-head .news-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    /* margin-top: 1.1rem; */
    border-bottom: 1px solid var(--color-bg-light);
    padding: 10px;
    @media screen and (max-width:768px) {
        gap: 0;
        
    }
}

.single-post .single-post-head .news-info ul li {
    margin-inline-end: 10px;
    display: flex;
    align-items: center;
}

.single-post .single-post-head .news-info ul li i {
    color: #8b95c6;
    font-size: 18px;
    margin-left: 10px;
}

.single-post .single-post-head .news-tools ul {
    display: flex;
}

.single-post .single-post-head .news-tools ul li {
    margin-left: 10px;
}

.single-post .single-post-head .news-tools a {
    color: #007bff;
    border-bottom: 1px dashed #007bff;
}

.single-post .single-post-head .news-tools i {
    font-size: 1.7em;
    color: #00366c;
    transition: .3s;
}

.single-post .es-post-content .es-post-header {
    margin-bottom: 15px;
}

.single-post .es-post-content .news-head h3 {
    font-weight: 600;
    font-size: 16px;
    color: #004e88;
    line-height: 28px;
}

.single-post .es-post-content .news-head h2 {
    font-weight: 700;
    font-size: 22px;
    color: #000;
    line-height: 1.7;
    margin-bottom: 5px;
    text-align: justify;
}

.single-post .es-post-content .news-lead p {
    border-radius: 15px;
    margin: 30px 0;
    background: #eff3f6;
    padding: 10px 15px;
    text-align: justify;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #000;
}

.single-post .es-post-content .news-content .news-img {
    float: left;
    width: 100%;
    margin: 0 30px 15px 0;
}

.single-post .es-post-content .news-content .news-img #photo-face-tag {
    /* border: 1px solid rgba(79, 185, 179, 0.3); */
    border-radius: 10px;
    /* padding: 10px; */
    text-align: center;
    background-color: rgba(79, 185, 179, 0.03);
}

.single-post .es-post-content .news-content .news-long {
    text-align: justify;
}


.single-post .es-post-content .news-content .news-img img {
    border: 0;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    border-radius: 10px;
}

.single-post .es-post-content .extra-meta li {
    display: flex;
    align-items: center;
}

.single-post .es-post-content .extra-meta li i {
    color: #dc3545;
    font-size: 25px;
    margin-left: 10px;
}


.single-post .es-post-content .shorturl-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.single-post .es-post-content .shorturl-wrap .input-group {
    display: flex;
    flex-direction: row-reverse;
    border: 1px solid rgba(79, 185, 179, 0.3);
    width: auto;
    border-radius: 5px;
}

.single-post .es-post-content .shorturl-wrap .input-group #shorturlitem {
    padding: 8px;
    border-radius: 5px 0 0 5px;
    text-align: left;
    min-width: 50px;
    width: auto;
    max-width: 200px;
    border: none;
}

.single-post .es-post-content .shorturl-wrap .input-group .btn-shorturl-wrap {
    background: #003366;
    border-radius: 0 5px 5px 0;
    color: white;
    width: 120px;
    border: none;
}

.single-post .es-post-content .es-meta-wrap .post-title {
    margin-left: 10px;
}

t .single-post .es-post-content .es-meta-wrap ul {
    display: flex;
    padding: 0;
    margin: 15px 0;
}

.single-post .es-post-content .es-meta-wrap ul li {
    position: relative;
    margin: 0 0 5px 5px;
}

.single-post .es-post-content .es-meta-wrap ul li a {
    padding: 10px 15px;
    background: #f2f2f2;
    font-size: 14px;
    text-decoration: none;
    color: #007bff;
    border-bottom: 1px dashed #007bff;
    border-radius: 10px;
}

.single-post .es-post-content .es-meta-wrap .meta-list {
    display: flex;
    align-items: center;
}

.es-post-gallery {
    background-color: white;
    margin-top: 3rem !important;
  padding-top: 2rem;
  border-top: 1px solid var(--color-bg-light);
}

.es-post-gallery .post-title h2 {
    font-size: 16px;
    line-height: 28px;
}

.es-post-gallery .inner-post-gallery {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.jg-entry.jg-entry-visible {
 border-radius: 15px;   
}
/* تنظیمات کلی گالری برای هم‌راستایی */
.justified-gallery > a {
/* position: relative; */
overflow: hidden;
display: block;
}

/* 1. هم‌اندازه کردن تصاویر ویدیو */
.video-entry .video-thumb-wrapper {
position: relative;
width: 100%;
height: 100%;
}

.video-entry img.video-img {
width: 100%;
height: 250px !important; /* ارتفاع ثابت برای همه ویدیوها */
object-fit: cover; /* تصویر برش می‌خورد تا دفرمه نشود */
display: block;
opacity: 0.8; /* کمی تاریک‌تر برای دیده شدن دکمه پلی */
transition: 0.3s;
}

/* افکت هاور روی ویدیو */
.video-entry:hover img.video-img {
opacity: 1;
transform: scale(1.05); /* کمی زوم هنگام موس */
}

/* 2. استایل دکمه پلی (وسط‌چین دقیق) */
.play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); /* تکنیک دقیق وسط‌چین */
font-size: 40px; /* سایز آیکون */
color: white;
background: rgba(0, 0, 0, 0.5); /* پس‌زمینه شیشه‌ای دایره‌ای */
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none; /* کلیک از روی آیکون رد شود */
border: 2px solid white;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.video-entry:hover .play-icon {
background: rgba(255, 0, 0, 0.8); /* تغییر رنگ هنگام هاور (مثلا قرمز) */
border-color: rgba(255, 0, 0, 0.8);
}

.es-post-gallery .inner-post-gallery .inner-video video {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}
.jg-entry.jg-entry-visible{
    border-radius: 10px;

}
.es-post-gallery .inner-post-gallery img {
    padding: 5px;
    border-radius: 15px;
    left: 0;
    top: 0;
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.4s ease;    
    font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
    overflow: hidden;
    transition: 0.3s all !important;
    transform: scale(1.1);    

}.es-post-gallery .inner-post-gallery img:hover{
    transform: scale(1.2);    
}

.es-post-gallery .post-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 5px;
}

.es-post-gallery .post-title i {
    color: #8b95c6;
    font-size: 25px;
    margin-bottom: 5px;    
}

.image-entry {
    width: 176px;
    height: 117px;
    margin-left: 0px !important;
    margin-top: 0px !important;
}

.content-main .user-comments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  background: #eff3fb;
  padding: 5px 10px 10px 0px;
  border-radius: 20px;
}
.title-logo img {
  width: 30px;
}
.add-comment-btn{
    font-size: 15px;
    font-weight: 500;
}
.title-text {
  font-size: 14px;
  color: var(--color-text);
}
.content-main .user-comments .about-info .title-logo.title-blog-logo::before {
    width: 16px;
    height: 12px;
}

.content-main .info-comments {
    list-style-type: none;
    padding-right: 0;
}

.content-main .info-comments .all-response {
    background: #FCFCFD;
    display: flex;
    padding: 12px 18px;
    flex-direction: column;
    gap: 18px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.content-main .comments-box .name-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-main .comments-box .dateText {
    color: var(--gray-700);
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
}

.content-main .comments-box ul {
    margin-bottom: 0;
    padding: 0;
    list-style-type: none;
}

.content-main .comments-box .name-box .control-input .img-user {
    max-width: 16px;
}

.content-main .comments-box .name-box .control-input .img-user img {
    width: 50px;
    height: 50px;
}

.content-main .comments-box .name-box .control-input {
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-main .comments-box .name-box .control-input .img-user {
    display: flex;
}

.content-main .comments-box .name-box .control-input .userName {
    color: var(--gray-900);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 12px;
}

.content-main .comments-box .name-box .user-title {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 16px;
    line-height: 2.4;
}

.content-main .comments-box .text-user {
    color: var(--gray-700);
    text-align: justify;
    line-height: 2.4;
}

.content-main .comments-box .Response .res-user {
    border: none;
    background: transparent;

}

.content-main .comments-box .Response .res-user .res-icon-1 {
    font-size: 18px;
    color: #98A2B3;

}

.content-main .comments-box .Response .res-user .res-icon-2 {
    font-size: 16px;
    color: #98A2B3;

}

.content-main .comments-box .Response .res-user span {
    color: var(--gray-700);
    font-size: 12px;
    margin: 0 12px 0 12px;
    line-height: 16px;
    font-weight: 300;
}

.content-main .comments-box .Response .res-user {
    display: flex;
}

.content-main .comments-box .Response-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.content-main .comments-box .Response-box .answering-btn {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-main .comments-box .Response-box .answering-btn i {
    font-size: 18px;
    color: var(--blue-1);


}


.content-main .comments-box .Response-box .answering-btn .replay {
    color: var(--blue-1);
    line-height: 18px;
}

.content-main .comments-box.answer-box .Response-box {
    justify-content: end;

}

.content-main .comments-box.answer-box {
    list-style-type: none;
    margin-right: 12px;
}

.content-main .comments-box .Response .res-user[aria-expanded="false"] .res-icon-2 {
    transform: rotate(-90deg);
    transition: 0.5s all;
}


.content-main .comments-box .Response .res-user[aria-expanded="true"] .res-icon-2 {
    transition: 0.5s all;
    transform: rotate(90deg);
}

.content-main .comments-box .Response-box .answering-btn[aria-expanded="false"] {
    color: var(--blue-1);
}

.content-main .comments-box .Response-box .answering-btn[aria-expanded="true"] .res-icon-1 {
    color: var(--blue-5);
}

.content-main .comments-box .Response-box .answering-btn[aria-expanded="true"] .replay {
    color: var(--blue-5);
}

.content-main .user-comments .title-logo {
    color: var(--color-text-muted);
}

.content-main .user-comments .base-btn {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 12px 16px;
    gap: 12px;
    font-size: 18px;
    background-color: var(--blue-1);
    color: var(--white);
}

.content-main .users-box .input-form {
    display: flex;
    position: relative;
    width: 100%;
    @media screen and (max-width:768px) {
        display: flex;
  position: relative;
  width: 100%;
  align-items: center;
  justify-content: right;
  flex-wrap: wrap;
    }
}

.content-main .users-box .input-form .control-input {
    display: flex;
    padding: 0 42px 0 10px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    background: #FCFCFD;
    min-height: 45px;
    outline: none;
    width: 100%;
    font-size: 16px;
    font-weight: 300;
    line-height: 2.6;
}

.user-comments-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.content-main .users-box .user-info-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}


.content-main .users-box .input-form .control-input::placeholder {
    color: #667085;
    text-align: right;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;

}
.input-form textarea{
    border: 2px solid var(--blue-light) !important;
}
.content-main .users-box .input-form .users-icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 12px;
}

.content-main .users-box .input-form .users-icon i {
    font-size: 18px;
    color: #98A2B3;
}


.content-main .users-box .input-form.description .control-input {
    padding: 12px 16px;
    margin-bottom: 18px;
}

.content-main .users-box .content-main .users-box .description .des-user::placeholder {
    font-size: 16px;
}

.content-main .users-box .content-main .users-box.m-comment {
    margin-right: 12px;
}

.content-main .users-box .btn {
    display: flex;
    justify-content: flex-end;
    @media screen and (max-width:768px) {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;

    }
}

.content-main .users-box .btn .base-btn:hover {
    background-color: var(--kaf-teal);

}

.content-main .users-box .btn .base-btn {
    background-color: var(--hover-text-links);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: 10px;
    width: 140px;
    font-size: 14px;
    transition: all 0.3s;
}

.content-main .users-box .form-select {
    background: none;
    border: none;
    padding: 0;
}

.content-main .users-box .refresh-button {
    background: none;
    border: none;
}

.content-main .users-box .input-control {
    display: flex;
    padding: 0 42px 0 10px;
    border-radius: 8px;
    border: 1px solid #F2F4F7;
    background: #FCFCFD;
    min-height: 45px;
    font-size: 16px;
    font-weight: 300;
    line-height: 2.6;
    @media screen and (max-width:768px) {
        padding: 0 !important;
    }
}

@media only screen and (min-width: 0px) and (max-width: 640px) {
    .Articlecontent .single-post .single-post-head .news-info ul {
        flex-wrap: wrap;
    }
}








/* استایل‌های عمومی برای دسکتاپ (نمایش آیکون، برچسب و مقدار) */
.single-post-head .news-info ul li {
    display: inline-block;
    /* margin-right: 15px; */
    font-size: 12px;
    color: gray;
}

.single-post-head .news-info ul li i {
    margin-left: 5px;
}

.single-post-head .news-info .label {
    display: inline;
    /* نمایش برچسب در حالت عادی */
}

.single-post-head .news-info .value {
    display: inline;
    /* نمایش مقدار در حالت عادی */
}


/* ---------------------------------------------------- */
/* استایل ریسپانسیو برای موبایل (فقط مقدار و آیکون نمایش داده شود) */
@media (max-width: 767px) {

    /* 1. لیست اصلی را به صورت افقی در می‌آوریم */
    .single-post-head .news-info ul {
        display: flex;
        justify-content: space-around;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    /* 2. آیکون‌ها را به صورت عمودی مرتب می‌کنیم */
    .single-post-head .news-info ul li i {
        display: block;
        margin: 0 0 5px 0;
        text-align: center;
    }

    /* 3. برچسب‌ها (Label) را کاملاً مخفی می‌کنیم */
    .single-post-head .news-info .label {
        display: none !important;
    }

    /* 4. مقادیر (Value) را نمایش می‌دهیم و مطمئن می‌شویم متن آن‌ها شکسته نشود (یا برای نمایش زیر آیکون تنظیم شوند) */
    .single-post-head .news-info .value {
        display: block;
        /* نمایش مقدار در یک خط مجزا زیر آیکون */
        text-align: center;
        font-size: 0.9em;
        /* کمی کوچک‌تر کردن اندازه فونت برای جا شدن */
    }

    /* 5. تنظیمات نهایی برای آیتم‌های لیست */
    .single-post-head .news-info ul li {
        display: block;
        text-align: center;
        margin: 0 2px;
        padding: 5px 0;
    }
}




.news-wrapper {
    background-color: #ebf6ff;
    /* رنگ پس‌زمینه دقیق */
    border-radius: 18px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 980px;
    height: 90px;
    /* ارتفاع ثابت برای شباهت بیشتر */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

/* --- بخش راست: شناسه خبر --- */
.right-panel {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

/* دایره سفید آیکون */
.icon-circle {
    width: 52px;
    height: 52px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.icon-circle i {
    font-size: 26px;
    color: #fbc02d;
    /* زرد */
}

.id-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    /* متن‌ها سمت راست تراز شوند */
}

.label-id {
    font-size: 13px;
    color: #607d8b;
    margin-bottom: 2px;
}

.value-id {
    font-size: 24px;
    font-weight: 800;
    color: #0d47a1;
    /* آبی تیره */
    line-height: 1;
    letter-spacing: 1px;
}

/* --- خط جداکننده --- */
/* .vertical-divider {
    width: 1px;
    height: 60%;
    background-color: #cfd8dc;
    margin: 0 30px;
} */

/* --- بخش چپ: لینک کوتاه --- */
.left-panel {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 15px;
}

.label-link {
    font-size: 14px;
    color: #607d8b;
    white-space: nowrap;
}

/* کادر سفید ورودی */
.white-input-box {
    background-color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    width: 100%;
    max-width: 480px;
    height: 48px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* آیکون لینک (سبز) */
.link-icon-green {
    font-size: 22px;
    color: #00897b;
    margin: 0 15px 0 10px;
    transform: rotate(-45deg);
    /* چرخش مطابق تصویر */
}

/* اینپوت آدرس */
.url-text-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    color: #37474f;
    flex-grow: 1;
    direction: ltr;
    text-align: left;
    /* متن لینک سمت چپ باشد */
    margin-right: 5px;
}

/* دکمه کپی (آبی) */
.btn-copy {
    background-color: #0d47a1;
    color: #fff;
    border: none;
    border-radius: 40px;
    height: 40px;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-copy:hover {
    background-color: #1565c0;
}

.btn-copy i {
    font-size: 16px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .news-wrapper {
        flex-direction: column-reverse;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .vertical-divider {
        display: none;
    }

    .right-panel,
    .left-panel {
        width: 100%;
        justify-content: center;
    }

    .left-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .label-link {
        text-align: right;
        margin-bottom: 5px;
    }
}





.news-shortlink-wrapper {
    background-color: var(--blue-light);
    border-radius: 15px; /* گوشه‌های گرد کلی */
    margin: 10px 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 89, 207, 0.05); /* سایه بسیار محو آبی */
    overflow: hidden;
}

/* بخش سمت راست: شناسه خبر */
.news-id-section {
    position: relative;
    height: 100%;
    min-height: 70px;
    flex-direction: row-reverse;
    gap: 10px;
}

.news-id-section .label {
    font-size: 0.8rem;
    color: var(--light-2);
    margin-bottom: 2px;
}

.news-id-section .value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hover-text-links); /* رنگ آبی پررنگ برای عدد */
    letter-spacing: 1px;
}

.news-id-section .icon-circle {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.news-id-section .icon-circle i {
    /* color: var(--news-icon-yellow); */
    font-size: 22px;
    color: var(--color-accent);
}

/* خط جداکننده عمودی */
.divider-vertical {
    position: absolute;
    right: 25%; /* تنظیم محل قرارگیری بر اساس گرید بوت استرپ */
    top: 15%;
    bottom: 15%;
    width: 1px;
    background-color: #cbd5e1; /* رنگ خط خاکستری ملایم */
    z-index: 2;
}

/* بخش سمت چپ: لینک کوتاه */
.short-link-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.short-link-section .label-link {
    color: var(--light-2);
    font-size: 0.9rem;
    font-weight: 500;
}

/* باکس سفید داخلی (Input Pill) */
.input-pill {
    background-color: var(--white);
    border-radius: 50rem; /* کپسولی کامل */
    padding: 4px; /* فاصله داخلی برای دکمه */
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02); /* بوردر بسیار محو داخلی */
    border:1px solid rgba(13, 72, 161, 0);
    transition: all 0.3s;

}
.input-pill:hover{
     border:1px solid rgba(13, 71, 161, 0.3);
}

/* آیکون لینک */
.input-pill .link-icon {
    color: var(--kaf-teal); /* رنگ سبز کله غازی */
    font-size: 18px;
    transform: rotate(-90deg); /* چرخش برای زیبایی */
}

/* اینپوت متن لینک */
.input-pill .link-text {
    direction: ltr;
    text-align: left;
    color: var(--blue-4);
    font-size: 0.95rem;
}

/* دکمه کپی */
.btn-copy-custom {
    background-color: var(--hover-text-links); /* آبی اصلی */
    color: var(--white);
    border-radius: 50rem;
    padding: 8px 24px;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 89, 207, 0.2);
}

.btn-copy-custom:hover {
    background-color: var(--kaf-teal); /* آبی تیره‌تر در هاور */
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 89, 207, 0.3);
}

.btn-copy-custom:active {
    transform: translateY(0);
}

/* ریسپانسیو */
@media (max-width: 767.98px) {
    .divider-vertical {
        display: none; /* حذف خط جداکننده در موبایل */
    }
    
    .news-id-section {
        border-bottom: 1px solid #e2e8f0; /* خط افقی در موبایل */
        margin-bottom: 10px;
    }
    
    .news-shortlink-wrapper {
        border-radius: 12px;
    }
    
    /* تنظیم مجدد گرید برای موبایل */
    .divider-vertical { right: auto; }
}
