    @font-face {
        font-family: "IRANSansWeb_FaNum";
        src: url("/fonts/IRANSansWeb(FaNum).eot");
        /* IE9 Compat Modes */
        src: url("/fonts/IRANSansWeb(FaNum).eot?#iefix") format("embedded-opentype"),
            /* IE6-IE8 */
            url("/fonts/IRANSansWeb(FaNum).ttf") format("truetype"),
            /* Safari, Android, iOS */
            url("/fonts/IRANSansWeb(FaNum).woff") format("woff"),
            /* Modern Browsers */
            url("/fonts/IRANSansWeb(FaNum).woff2") format("woff2");
        /* Modern Browsers */
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: "IRANSansWeb_FaNum_Light";
        src: url("/fonts/IRANSansWeb(FaNum)_Light.eot");
        /* IE9 Compat Modes */
        src: url("/fonts/IRANSansWeb(FaNum)_Light.eot?#iefix") format("embedded-opentype"),
            /* IE6-IE8 */
            url("/fonts/IRANSansWeb(FaNum)_Light.ttf") format("truetype"),
            /* Safari, Android, iOS */
            url("/fonts/IRANSansWeb(FaNum)_Light.woff") format("woff"),
            /* Modern Browsers */
            url("/fonts/IRANSansWeb(FaNum)_Light.woff2") format("woff2");
        /* Modern Browsers */
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: "IRANSansWeb_FaNum_Medium";
        src: url("/fonts/IRANSansWeb(FaNum)_Medium.eot");
        /* IE9 Compat Modes */
        src: url("/fonts/IRANSansWeb(FaNum)_Medium.eot?#iefix") format("embedded-opentype"),
            /* IE6-IE8 */
            url("/fonts/IRANSansWeb(FaNum)_Medium.ttf") format("truetype"),
            /* Safari, Android, iOS */
            url("/fonts/IRANSansWeb(FaNum)_Medium.woff") format("woff"),
            /* Modern Browsers */
            url("/fonts/IRANSansWeb(FaNum)_Medium.woff2") format("woff2");
        /* Modern Browsers */
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: "IRANSansWeb_FaNum_Bold";
        src: url("../Fonts/IRANSansWeb(FaNum)_Bold.eot");
        /* IE9 Compat Modes */
        src: url("../Fonts/IRANSansWeb(FaNum)_Bold.eot?#iefix") format("embedded-opentype"),
            /* IE6-IE8 */
            url("../Fonts/IRANSansWeb(FaNum)_Bold.ttf") format("truetype"),
            /* Safari, Android, iOS */
            url("../Fonts/IRANSansWeb(FaNum)_Bold.woff") format("woff"),
            /* Modern Browsers */
            url("../Fonts/IRANSansWeb(FaNum)_Bold.woff2") format("woff2");
        /* Modern Browsers */
        font-weight: normal;
        font-style: normal;
    }

/* Justify all text in Elementor */
.elementor-widget-container p,
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h5,
.elementor-widget-container h6,
.elementor-widget-container ul,
.elementor-widget-container ol,
.elementor-widget-container li,
.elementor-text-editor p,
.elementor-text-editor h1,
.elementor-text-editor h2,
.elementor-text-editor h3,
.elementor-text-editor h4,
.elementor-text-editor h5,
.elementor-text-editor h6,
.elementor-text-editor ul,
.elementor-text-editor ol,
.elementor-text-editor li {
    text-align: justify !important;
    text-justify: inter-word !important;
}
.news-ticker {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: var(--border-radius, 5px);
    background-color: var(--background-color, #d90000);
    position: relative;
}

.news-ticker-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--right-box-bg, #333);
    width: var(--right-box-width, 100px);
    height: 100%;
}

.news-ticker-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    margin-right: var(--space-between, 10px); /* فاصله بین باکس راست و متن */
}

.news-ticker-items {
    display: flex;
    align-items: center;
    animation: tickerRightToLeft var(--animation-duration) linear infinite;
    white-space: nowrap;
    animation-play-state: running;
}

.news-ticker-wrapper:hover .news-ticker-items {
    animation-play-state: paused;
}

/* انیمیشن‌ها */
@keyframes tickerRightToLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes tickerLeftToRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.right-text {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}
.news-ticker-wrapper {
    display: flex;
    animation: tickerRightToLeft var(--animation-duration) linear infinite;
    white-space: nowrap;
    animation-play-state: running; /* به طور پیش‌فرض در حال اجراست */
}

/* موقع هاور شدن موس روی نوشته ها */
.news-ticker-wrapper:hover {
    animation-play-state: paused;
}

/* جهت‌های مختلف */
.news-ticker-right_to_left .news-ticker-wrapper {
    animation-name: tickerRightToLeft;
}

.news-ticker-left_to_right .news-ticker-wrapper {
    animation-name: tickerLeftToRight;
}

.news-ticker-top_to_bottom .news-ticker-wrapper {
    flex-direction: column;
    animation-name: tickerTopToBottom;
}

.news-ticker-bottom_to_top .news-ticker-wrapper {
    flex-direction: column;
    animation-name: tickerBottomToTop;
}

/* انیمیشن ها */
@keyframes tickerRightToLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes tickerLeftToRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes tickerTopToBottom {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes tickerBottomToTop {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}
/* استایل باکس خبری */
.news-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* استایل عنوان */
.news-box-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

/* استایل لینک آرشیو */
.archive-link {
    text-align: center;
    margin-bottom: 20px;
}

.archive-link a {
    font-size: 18px;
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

.archive-link a:hover {
    text-decoration: underline;
}

/* استایل استایل 1 برای لینک آرشیو */
.archive-link.style1 a {
    font-size: 18px;
    color: #ff5722;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* استایل استایل 2 برای لینک آرشیو */
.archive-link.style2 a {
    font-size: 18px;
    color: #4caf50;
    background-color: #f1f1f1;
    padding: 8px 16px;
    border-radius: 5px;
    display: inline-block;
}

.archive-link.style2 a:hover {
    background-color: #388e3c;
}
/* خبر اصلی */
.main-news {
    display: flex;
    flex-direction: column;
}

.main-news-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.main-news-content {
    padding: 15px 0;
}

.main-news-title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.main-news-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.main-news-lead {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* اخبار کوچک */
.related-news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-news-item:hover {
    transform: translateY(-5px);
}

.related-news-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-news-content {
    padding: 10px;
}

.related-news-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.related-news-lead {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .related-news {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .related-news {
        grid-template-columns: 1fr;
    }
}
/*باکس یادداشت */
.widget-daily-notes {
    font-family: 'IranSans', sans-serif;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--box-background-color, #fafafa);
}

.daily-notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.daily-notes-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.archive-link {
    font-size: 14px;
    background: #0073aa;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.archive-link:hover {
    background: #005f8d;
}

.daily-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.daily-note-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.daily-note-item:hover {
    transform: translateY(-5px);
}

.note-thumb {
    margin-bottom: 10px;
}

.note-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.note-title {
    margin: 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.note-meta {
    font-size: 13px;
    color: #777;
}

.note-meta .date,
.note-meta .author,
.note-meta .comments {
    display: block;
    margin: 5px 0;
}

.note-meta .comments {
    color: #0073aa;
}

@media screen and (max-width: 768px) {
    .daily-notes-header h2 {
        font-size: 20px;
    }

    .archive-link {
        font-size: 12px;
        padding: 4px 8px;
    }

    .daily-note-item {
        padding: 12px;
    }

    .note-title {
        font-size: 14px;
    }

    .note-meta {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .daily-notes-header h2 {
        font-size: 18px;
    }

    .archive-link {
        font-size: 10px;
        padding: 3px 6px;
    }

    .daily-note-item {
        padding: 10px;
    }

    .note-title {
        font-size: 12px;
    }

    .note-meta {
        font-size: 10px;
    }
}
.widget-daily-notes .note-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.widget-daily-notes .note-thumb img[data-shape="circle"] {
    border-radius: 50%;
}

.widget-daily-notes .note-thumb img[data-shape="square"] {
    border-radius: 0;
}
/*بخش داغ*/
.widget-hot-news {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.hot-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.hot-news-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.hot-news-header a {
    font-size: 14px;
    background-color: #0073aa;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
}

.hot-news-header a:hover {
    background-color: #005f8f;
}

.hot-news-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hot-news-image {
    flex: 1;
    max-width: 30%;
    margin-right: 20px;
}

.hot-news-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.hot-news-image h4 {
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.hot-news-list {
    flex: 2;
    max-width: 65%;
}

.hot-news-list ul {
    list-style: none;
    padding: 0;
}

.hot-news-list li {
    margin-bottom: 10px;
}

.hot-news-list a {
    font-size: 16px;
    color: #0073aa;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.hot-news-list a:hover {
    color: #005f8f;
    border-bottom: 2px solid #005f8f;
}
.news-tabs-widget {
    padding: 20px;
    border-radius: 10px;
}

.news-tabs-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 0;
}

.news-tabs-nav li {
    font-weight: bold;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.news-tabs-nav li.active {
    border-bottom: 2px solid #2967ca;
    color: #2967ca;
}

.news-tab-content {
    display: none;
}

.news-tab-content.active {
    display: block;
}

.news-tab-content ul {
    padding: 0;
    list-style: none;
}

.news-tab-content li {
    margin-bottom: 10px;
}

.news-tab-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.news-tab-content a:hover span::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background-color: #2967ca;
    transition: width 0.3s ease;
}

.news-tab-content a .thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}
/* استایل ویجت تب‌بندی ایسنا */
.custom-tabs {
  font-family: inherit;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  direction: rtl;
}

.tabs-widget-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  color: #333;
}

.tab-titles {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 20px;
  background: #f4f4f4;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #000;
}

.tab:hover {
  background: #ddd;
}

.tab.active {
  background: #0073aa;
  color: white;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.isna-tab-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.isna-featured {
  flex: 1 1 calc(50% - 10px);
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.isna-featured a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 10px;
}

.isna-featured img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
  object-fit: cover;
}

.isna-featured h4 {
  font-size: 16px;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #222;
}

.isna-featured p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.isna-text {
  flex: 1 1 100%;
  border-top: 1px dashed #ccc;
  margin-top: 10px;
  padding-top: 10px;
}

.isna-text a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.isna-text a:hover {
  color: #0073aa;
}
/*اسلایدر شماره دار */
.numbered-slider {
    direction: rtl; /* برای فارسی */
    font-family: inherit;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.numbered-slider .slide {
    display: none;
    margin-bottom: 30px;
    position: relative;
}

.slider-nav {
    text-align: center;
    margin-top: 15px;
}

.slider-nav-item {
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: #eee;
    transition: all 0.3s ease;
    color: #000000;
}

.slider-nav-item.active {
    color: white;
    background-color: #d00;
    border-bottom: 2px solid #a00;
}

.slide-img-wrapper {
    float: right;
    margin-left: 20px;
    width: 120px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: auto;
    display: block;
}

.slide h3 {
    margin-bottom: 10px;
    font-weight: bold;
}

.slide p {
    margin-top: 0;
    color: #333;
}

/* خط زیر عنوان */
.custom-separator {
    position: relative;
    height: 2px;
    background-color: #ddd;
    margin: 20px 0;
    clear: both;
    z-index: 1;
}

/* تصویر بیفته روی خط */
.slide-img-wrapper {
    margin-top: -30px;
}

.widget-title-separator {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin: 20px 0 30px;
}

.post-title-separator {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 15px 0;
}
/*اخبار نوبری */
.featured-news-box {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
  direction: rtl;
  font-family: 'IRANSans', sans-serif;
}

.featured-news-box .widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-news-box .widget-header h2 {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin: 0;
}

.featured-news-box .archive-link {
  font-size: 14px;
  color: #ed1c24;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-news-box .archive-link:hover {
  color: #af1018;
}

.featured-news-box .news-box-item {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 15px;
}

.featured-news-box .news-box-image img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.featured-news-box .news-box-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: #333;
  margin: 0 0 8px;
}

.featured-news-box .news-box-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-news-box .news-box-title a:hover {
  color: #ed1c24;
}

.featured-news-box .news-box-date {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.featured-news-box .news-box-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}
/*باکس لید و تصویر نوبر */
.naz-news-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.naz-widget-header {
    text-align: center;
    width: 100%;
}

.naz-news-box-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.naz-archive-link {
    font-size: 16px;
    color: #0073e6;
}

.naz-news-box-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.naz-news-box-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.naz-news-box-image-large {
    width: 100%;
    position: relative;
    margin-bottom: 15px;
}

.naz-news-box-image-large a {
    position: relative;
}

.naz-news-box-image-large img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.naz-news-box-image-large .naz-news-box-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.naz-news-box-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.naz-news-box-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.naz-news-box-excerpt {
    font-size: 14px;
    color: #555;
}

.naz-news-box-subheadline {
    font-size: 16px;
    color: #999;
    margin-bottom: 10px;
}

.naz-news-box-item a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .naz-news-box-container {
        flex-direction: column;
    }

    .naz-news-box-image-large {
        width: 100%;
        height: 200px;
    }
}
/* روز شمار */
.countdown-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.countdown-thumbnail {
    flex: 0 0 80px;
}

.countdown-thumbnail img {
    max-width: 100%;
    border-radius: 5px;
}

.countdown-text {
    flex: 1;
}

.countdown-text h4 {
    font-size: 18px;
    margin: 0 0 10px;
}

.countdown-text p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.countdown-publish-date {
    color: #888;
}

.countdown-due-date {
    font-weight: bold;
    color: #e74c3c;
}
/*اخبار هات */
.hot-news-ranking {
  margin: 20px 0;
  font-family: 'IRANSans';
  direction: rtl;
}

.hot-item {
  margin-bottom: 15px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 8px;
}

.hot-item h4 {
  margin: 0 0 5px 0;
  font-size: 15px;
}

.progress-bar {
  height: 6px;
  background: #ff4b2b;
  border-radius: 3px;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

.count {
  font-size: 12px;
  color: #555;
}
/*پربازدید */
.hot-news-box {
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
}
.hot-news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}
.hot-news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.tab-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background-color: #eee;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.tab-btn.active {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.hot-news-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hot-news-box ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}
.hot-news-box ul li a {
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}
.hot-news-box ul li a:hover {
    color: #0073aa;
}
/*گالری عکس */
.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.gallery-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    align-items: stretch; /* برای جلوگیری از تغییر ارتفاع */
}

.gallery-slide {
    flex: 0 0 auto;
    width: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    display: flex; /* از flex برای پرکردن فضای عمودی استفاده می‌کنیم */
    justify-content: center; /* برای تراز کردن تصویر */
}

.gallery-slide img {
    width: 100%;
    height: 150px !important;
    object-fit: cover; /* تصاویر را به‌طور مناسب در فضای خود قرار می‌دهیم */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
}

/* دکمه‌های قبلی و بعدی اسلایدر */
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.gallery-prev { left: 0; }
.gallery-next { right: 0; }

.gallery-prev:hover,
.gallery-next:hover {
    background: #005a8c;
}

/* رسپانسیو برای موبایل و تبلت */

/* موبایل */
@media (max-width: 767px) {
    .gallery-carousel {
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
        overflow-x: scroll; /* اضافه کردن اسکرول افقی */
    }

    .gallery-slide {
        width: 150px; /* کوچک‌تر کردن سایز تصاویر */
        height: 150px; /* تنظیم ارتفاع تصاویر */
        margin-bottom: 10px;
    }

    .gallery-prev, .gallery-next {
        padding: 6px 10px;
        font-size: 18px;
    }

    /* حذف سایه در موبایل */
    .gallery-slide {
        box-shadow: none;
    }
}

/* تبلت */
@media (min-width: 768px) and (max-width: 1024px) {
    .gallery-carousel {
        flex-direction: row;
        gap: 15px;
        padding: 0 20px;
        overflow-x: scroll; /* اضافه کردن اسکرول افقی */
    }

    .gallery-slide {
        width: 180px; /* سایز تصویر در تبلت */
        height: 180px; /* تنظیم ارتفاع تصویر */
    }

    .gallery-prev, .gallery-next {
        padding: 8px 12px;
        font-size: 20px;
    }
}

/* دسکتاپ */
@media (min-width: 1025px) {
    .gallery-carousel {
        flex-direction: row;
        gap: 20px;
        padding: 0 40px;
    }

    .gallery-slide {
        width: 220px;
        height: 220px; /* تنظیم ارتفاع تصویر */
    }

    .gallery-prev, .gallery-next {
        padding: 10px 15px;
        font-size: 22px;
    }
}
/*تیکر 2 */

.news-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.news-ticker {
    display: flex;
    animation: scroll-left linear infinite;
}.news-ticker-separator {
    margin: 0 10px;
    color: #fff;
    font-weight: bold;
}
.news-ticker-item {
    display: inline-block;
}
.news-ticker-wrapper {
    display: flex;
    align-items: center;
}


.news-ticker ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.news-ticker li {
    margin-right: 50px;
    padding: 0 10px;
}

.news-ticker a {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.news-ticker a:hover {
    color: #005a8c;
}

/* انیمیشن حرکت به چپ */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* انیمیشن حرکت به راست */
@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* انیمیشن حرکت به بالا */
@keyframes scroll-up {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* انیمیشن حرکت به پایین */
@keyframes scroll-down {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.scroll-left {
    animation: scroll-left linear infinite;
}

.scroll-right {
    animation: scroll-right linear infinite;
}

.scroll-up {
    animation: scroll-up linear infinite;
}

.scroll-down {
    animation: scroll-down linear infinite;
}

.read-more-btn a {
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
}

.read-more-btn a:hover {
    background-color: #005a8c;
}

/* استایل رسپانسیو */
@media screen and (max-width: 768px) {
    .news-ticker-wrapper {
        padding: 5px 0;
    }

    .news-ticker {
        font-size: 14px;
    }

    .news-ticker ul {
        gap: 20px;
    }
}
.news-ticker-separator {
    margin: 0 10px;
    color: #fff;
    font-weight: bold;
}
.news-ticker-item {
    display: inline-block;
}
.news-ticker-wrapper {
    display: flex;
    align-items: center;
}
.news-ticker-separator i {
    font-size: 20px;  /* اندازه آیکن */
    color: #fff;      /* رنگ آیکن */
    margin: 0 10px;   /* فاصله بین آیکن و متن */
}
/*خبرهای مرتبط */
.related-posts-widget {
    margin-top: 30px;
}

.related-title {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-post-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: box-shadow 0.3s;
}

.related-post-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.related-post-card .thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.related-post-info {
    padding: 10px;
}

.related-post-info .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.related-post-info .title:hover {
    color: #0073aa;
}

.related-post-info .meta {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}
/* اشتراک خبر */
/* فایل: assets/css/share-buttons.css */
/* استایل پایه برای ویجت */
.elementor-widget-post_share_buttons .share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-family: fontawesome, Shabnam, Tahoma, sans-serif !important
}

/* حالت عمودی */
.elementor-widget-post_share_buttons .share-buttons.vertical {
  flex-direction: column;
}

/* حالت شناور پایه */
.elementor-widget-post_share_buttons .share-buttons.floating {
  position: fixed;
  z-index: 9999;
  flex-direction: column;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* موقعیت چپ برای حالت شناور */
.elementor-widget-post_share_buttons .share-buttons.floating.left {
  left: 20px;
}

/* موقعیت راست برای حالت شناور */
.elementor-widget-post_share_buttons .share-buttons.floating.right {
  right: 70px;
}

/* استایل دکمه‌ها */
.elementor-widget-post_share_buttons .share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  color: #fff;
  background-color: #3a3a3a;
}

/* استایل هاور دکمه‌ها */
.elementor-widget-post_share_buttons .share-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* استایل آیکون‌ها */
.elementor-widget-post_share_buttons .share-buttons a i {
  margin-left: 8px;
  font-size: 18px;
}

/* استایل متن دکمه */
.elementor-widget-post_share_buttons .share-buttons a span {
  font-size: 14px;
  font-weight: 500;
}

/* استایل‌های خاص برای هر شبکه اجتماعی */
.elementor-widget-post_share_buttons .share-buttons a.telegram {
  background-color: #0088cc;
}

.elementor-widget-post_share_buttons .share-buttons a.whatsapp {
  background-color: #25D366;
}

.elementor-widget-post_share_buttons .share-buttons a.twitter {
  background-color: #1DA1F2;
}

.elementor-widget-post_share_buttons .share-buttons a.linkedin {
  background-color: #0077B5;
}

.elementor-widget-post_share_buttons .share-buttons a.facebook {
  background-color: #4267B2;
}

.elementor-widget-post_share_buttons .share-buttons a.pinterest {
  background-color: #E60023;
}

.elementor-widget-post_share_buttons .share-buttons a.email {
  background-color: #EA4335;
}

/* استایل دکمه چاپ */
.elementor-widget-post_share_buttons .share-buttons a.print-button {
  background-color: #6c757d;
}

/* استایل دکمه کپی لینک */
.elementor-widget-post_share_buttons .share-buttons a.shortlink-button {
  background-color: #6f42c1;
}

/* رسپانسیو برای موبایل */
@media (max-width: 767px) {
  .elementor-widget-post_share_buttons .share-buttons.floating {
    position: static;
    flex-direction: row;
    transform: none;
    top: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 15px 0;
  }
  /* جلوگیری از نمایش آیکون‌های تکراری */
  .elementor-widget-post_share_buttons .share-buttons a:before,
  .elementor-widget-post_share_buttons .share-buttons a:after {
      display: none !important;
  }

  .elementor-widget-post_share_buttons .share-buttons a i {
      margin-left: 0;
      margin-right: 8px;
  }

  /* اگر از آیکون‌های المنتور استفاده می‌کنید */
  .elementor-widget-post_share_buttons .share-buttons a .elementor-icon {
      display: none;
  }
  .elementor-widget-post_share_buttons .share-buttons {
    justify-content: center;
  }
}
/*رنگ آیکن دسته بندی */
/* تغییر رنگ آیکن‌ها در دسته‌بندی اختصاصی */
.elementor-widget-news-assistant .elementor-icon {
    color: #8A2BE2; /* رنگ بنفش */
}

/* برای حالت هاور (hover) */
.elementor-widget-news-assistant .elementor-icon:hover {
    color: #6A0DAD; /* رنگ بنفش تیره‌تر در هاور */
}
.share-button {
       display: flex !important;
       align-items: center !important;
       justify-content: center !important;
       text-align: center !important;
   }
   .share-button i {
       line-height: 1 !important;
       width: 100% !important;
       height: 100% !important;
       display: flex !important;
       align-items: center !important;
       justify-content: center !important;
   }
   /* در فایل CSS پلاگین */
   .elementor-widget-post_share_buttons .share-button {
       display: flex !important;
       align-items: center !important;
       justify-content: center !important;
       text-align: center !important;
   }

   .elementor-widget-post_share_buttons .share-button i {
       line-height: 1 !important;
       width: 100% !important;
       height: 100% !important;
       display: flex !important;
       align-items: center !important;
       justify-content: center !important;
   }

       /* استایل مخصوص چاپ برای المنتور */
       @media print {


           /* نمایش فقط محتوای اصلی */
           .elementor-page .elementor-element.elementor-post-content,
           .elementor-page .elementor-widget-theme-post-content,
           .elementor-page .elementor-widget-container > article,
           .elementor-page .elementor-inner-section .elementor-container {
               visibility: visible !important;
               display: block !important;
               width: 100% !important;
               max-width: 100% !important;
               margin: 0 !important;
               padding: 0 !important;
               position: absolute !important;
               left: 0 !important;
               top: 0 !important;
               background: white !important;
               color: black !important;
           }

           /* مخفی کردن هدر و فوتر المنتور */
           .elementor-location-header,
           .elementor-location-footer,
           .elementor-top-section,
           .elementor-section.elementor-section-boxed > .elementor-container,.custom-comments,.related-posts-widget,
           .elementor-widget-container .elementor-heading-title,
           footer.elementor-footer,
           header.elementor-header {
               display: none !important;
               visibility: hidden !important;
               height: 0 !important;
               padding: 0 !important;
               margin: 0 !important;
           }

           /* مخفی کردن ویجت‌های اشتراک‌گذاری */
           .elementor-widget-post_share_buttons {
               display: none !important;
           }

           /* بهینه‌سازی متن‌ها */
           .elementor-page .elementor-element p,
           .elementor-page .elementor-element h1,
           .elementor-page .elementor-element h2,
           .elementor-page .elementor-element h3 {
               color: #000 !important;
               background: none !important;
           }

           /* جلوگیری از قطع شدن عناصر */
           .elementor-page .elementor-column {
               page-break-inside: avoid !important;
           }
       }
/*آرشیو */
.archive-posts-widget {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.archive-post-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.archive-post-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.archive-post-thumb img {
    width: 100%;
    display: block;
}

.archive-post-content {
    padding: 16px;
}

.archive-post-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.archive-post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.excerpt {
    font-size: 14px;
    color: #555;
}
.archive-post-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.professional-news-slider-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.professional-news-slider-container body {
    background-color: #f5f5f5;
    padding: 20px;
}

.professional-news-slider-container .container {
    max-width: 1200px;
    margin: 0 auto;
}

.professional-news-slider-container .news-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-bottom: 30px;
}

.professional-news-slider-container .news-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.professional-news-slider-container .news-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .professional-news-slider-container .news-slide {
        flex-direction: row;
    }
}

.professional-news-slider-container .news-image {
    position: relative;
    overflow: hidden;
}

.professional-news-slider-container .news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e11d48;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
}

.professional-news-slider-container .news-date {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.professional-news-slider-container .news-date svg {
    margin-left: 5px;
}

.professional-news-slider-container .news-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #1e293b;
}

.professional-news-slider-container .news-excerpt {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 15px;
}

.professional-news-slider-container .news-read-more {
    display: inline-flex;
    align-items: center;
    color: #0284c7;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.professional-news-slider-container .news-read-more:hover {
    color: #0369a1;
}

.professional-news-slider-container .news-read-more svg {
    margin-right: 5px;
    transition: transform 0.2s ease;
}

.professional-news-slider-container .news-read-more:hover svg {
    transform: translateX(-3px);
}

.professional-news-slider-container .slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
}

.professional-news-slider-container .slider-dots {
    display: flex;
    gap: 8px;
}

.professional-news-slider-container .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.professional-news-slider-container .slider-dot.active {
    background-color: #0284c7;
    transform: scale(1.3);
}

.professional-news-slider-container .slider-arrows {
    display: flex;
    gap: 10px;
}

.professional-news-slider-container .slider-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.professional-news-slider-container .slider-arrow:hover {
    background-color: #e2e8f0;
}

.professional-news-slider-container .slider-arrow svg {
    width: 20px;
    height: 20px;
    color: #64748b;
}

.professional-news-slider-container .news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.85rem;
    color: #64748b;
}

.professional-news-slider-container .news-author {
    display: flex;
    align-items: center;
}

.professional-news-slider-container .news-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 8px;
}

.professional-news-slider-container .news-stats {
    display: flex;
    gap: 15px;
}

.professional-news-slider-container .news-stat {
    display: flex;
    align-items: center;
}

.professional-news-slider-container .news-stat svg {
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

.professional-news-slider-container .latest-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.professional-news-slider-container .latest-news-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.professional-news-slider-container .latest-news-title svg {
    margin-left: 8px;
    color: #e11d48;
}

.professional-news-slider-container .latest-news-tabs {
    display: flex;
    gap: 15px;
}

.professional-news-slider-container .latest-news-tab {
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.professional-news-slider-container .latest-news-tab.active {
    color: #0284c7;
    border-bottom: 2px solid #0284c7;
    font-weight: 500;
}

.professional-news-slider-container .latest-news-tab:hover:not(.active) {
    color: #334155;
}

.professional-news-slider-container .breaking-news {
    background-color: #fef2f2;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin-bottom: 20px;
}

.professional-news-slider-container .breaking-news-label {
    background-color: #e11d48;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    margin-left: 15px;
    white-space: nowrap;
}

.professional-news-slider-container .breaking-news-content {
    overflow: hidden;
    white-space: nowrap;
}

.professional-news-slider-container .breaking-news-items {
    display: inline-block;
    animation: scrollText 20s linear infinite;
    white-space: nowrap;
}

.professional-news-slider-container .breaking-news-item {
    display: inline-block;
    margin-left: 30px;
    color: #991b1b;
    font-weight: 500;
    text-decoration: none;
}

.professional-news-slider-container .breaking-news-item:last-child {
    margin-left: 0;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* استایل اصلی اسلایدر */
.harika-video-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    font-family: 'Yekan', 'Tanha', 'IRANSans', sans-serif;
    direction: rtl;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.harika-video-slide {
    position: relative;
    transition: all 0.3s ease;
}

/* استایل کانتینر ویدیو */
.harika-video-container {
    position: relative;
    padding-bottom: 56.25%; /* نسبت 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

/* استایل iframe ویدیو */
.harika-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* استایل بخش اطلاعات ویدیو */
.harika-video-info {
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.harika-video-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.5;
}

.harika-video-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #777;
}

.harika-video-date {
    margin-left: 15px;
}

.harika-video-views {
    display: flex;
    align-items: center;
}

.harika-video-views i {
    margin-left: 5px;
}

/* استایل ناوبری اسلایدر */
.harika-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
}

.harika-slider-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0 15px;
}

.harika-slider-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* استایل نقاط راهنما */
.harika-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.harika-slider-dots li {
    margin: 0 5px;
}

.harika-slider-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    font-size: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.harika-slider-dots li.slick-active button {
    background: #fff;
    transform: scale(1.2);
}

/* استایل ریسپانسیو */
@media (max-width: 768px) {
    .harika-video-title {
        font-size: 16px;
    }

    .harika-slider-nav button {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
}
/* استایل اصلی */
.avg-video-gallery {
    direction: rtl;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

/* ویدیوی اصلی */
.avg-main-video {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.avg-main-video iframe,
.avg-main-video video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* نسبت‌های تصویر */
.avg-ratio-16by9 {
    padding-bottom: 56.25%; /* 16:9 */
}

.avg-ratio-4by3 {
    padding-bottom: 75%; /* 4:3 */
}

.avg-ratio-1by1 {
    padding-bottom: 100%; /* 1:1 */
}

.avg-ratio-16by9,
.avg-ratio-4by3,
.avg-ratio-1by1 {
    position: relative;
    height: 0;
    overflow: hidden;
}

.avg-ratio-16by9 iframe,
.avg-ratio-4by3 iframe,
.avg-ratio-1by1 iframe,
.avg-ratio-16by9 video,
.avg-ratio-4by3 video,
.avg-ratio-1by1 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* گالری ویدیوها */
.avg-gallery-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.avg-gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.avg-gallery-item:hover {
    transform: translateY(-5px);
}

.avg-gallery-video {
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.avg-gallery-video img,
.avg-gallery-video video {
    width: 100%;
    height: auto;
    display: block;
}

.avg-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.avg-video-title {
    font-size: 14px;
    margin: 10px 0 0;
    line-height: 1.4;
    text-align: right;
    padding: 0 5px;
    color: #333;
}

/* ستون‌بندی */
.avg-columns-2 .avg-gallery-item {
    width: 50%;
}

.avg-columns-3 .avg-gallery-item {
    width: 33.333%;
}

.avg-columns-4 .avg-gallery-item {
    width: 25%;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .avg-columns-4 .avg-gallery-item {
        width: 33.333%;
    }
}

@media (max-width: 768px) {
    .avg-columns-3 .avg-gallery-item,
    .avg-columns-4 .avg-gallery-item {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .avg-gallery-item {
        width: 100% !important;
    }
}
.tags-badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
}

.tags-horizontal {
    flex-direction: row;
}

.tags-vertical {
    flex-direction: column;
}

.tag-badge {
    padding: 6px 12px;
    font-size: 0.95rem;
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tag-badge:hover {
    background-color: #e0e0e0;
    color: #000;
}

.tags-widget-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}
.tags-badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
}

.tags-horizontal {
    flex-direction: row;
}

.tags-vertical {
    flex-direction: column;
}

.tag-badge, .tag-badge-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tags-widget-title {
    font-weight: bold;
    margin-bottom: 10px;
}
/* استایل اصلی */
.avg-video-gallery {
    direction: rtl;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* هدر بخش */
.avg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.avg-section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.avg-archive-link {
    text-decoration: none;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.avg-archive-link:hover {
    color: #d62a2a;
}

.avg-archive-link i {
    margin-left: 5px;
}

/* محتوای اصلی */
.avg-content {
    display: flex;
    gap: 20px;
}

/* ستون ویدیوی اصلی */
.avg-main-col {
    flex: 1;
}

.avg-main-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* نسبت 16:9 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.avg-main-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ستون گالری ویدیوها */
.avg-gallery-col {
    width: 205px;
    display: flex;
    flex-direction: column;
}

.avg-gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avg-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.avg-gallery-item.active {
    border: 2px solid #d62a2a;
}

.avg-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* نسبت 16:9 */
    overflow: hidden;
}

.avg-thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avg-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avg-video-title {
    margin: 0;
    padding: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    text-align: right;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .avg-content {
        flex-direction: column;
    }

    .avg-gallery-col {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .avg-gallery-item {
        width: calc(50% - 8px);
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .avg-gallery-item {
        width: 100%;
    }

    .avg-section-title {
        font-size: 18px;
    }
}
.harika-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.harika-news-item {
  display: flex;
  gap: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;
}
.harika-news-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.harika-thumb {
  width: 150px;
  min-height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.harika-content {
  flex-grow: 1;
}
.harika-content .title {
  font-size: 18px;
  margin: 0 0 5px;
}
.harika-content .title a {
  text-decoration: none;
  color: #333;
}
.harika-content .lead {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}
.meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #999;
}
.meta i {
  margin-left: 4px;
}
.meta .cat {
  background: #0073aa;
  color: #fff;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
}
.harika-news-widget-title {
  font-size: 22px;
  margin-bottom: 20px;
}
.harika-news-loadmore {
  text-align: center;
  margin-top: 15px;
}
.harika-news-loadmore button {
  padding: 10px 25px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.harika-news-loadmore button:hover {
  background: #005c8e;
}
@media(max-width: 768px) {
  .harika-news-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .harika-thumb {
    width: 100%;
    height: 180px;
  }
}
/* فایل استایل ویجت آخرین اخبار حرفه‌ای */

.harika-news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}

.harika-news-item {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.harika-news-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.harika-thumb {
  width: 35%;
  background-size: cover;
  background-position: center;
  min-height: 200px;
}

.harika-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.harika-content .meta.cat {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.harika-content .title {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.4;
}

.harika-content .title a {
  color: #222;
  text-decoration: none;
}

.harika-content .lead {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.harika-content .meta {
  font-size: 12px;
  color: #999;
  display: flex;
  gap: 15px;
  align-items: center;
}

.harika-content .meta i {
  margin-left: 4px;
  vertical-align: middle;
}

.harika-news-pagination {
  text-align: center;
  margin-top: 30px;
}

.harika-news-pagination ul {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.harika-news-pagination li {
  background: #f2f2f2;
  padding: 8px 14px;
  border-radius: 6px;
}

.harika-news-pagination li a,
.harika-news-pagination li span {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.harika-news-pagination .current {
  background: #0073aa;
  color: #fff;
}

.harika-news-loadmore {
  text-align: center;
  margin-top: 20px;
}

.harika-news-loadmore .btn-more-posts {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.harika-news-loadmore .btn-more-posts:hover {
  background: #005a87;
}

/* Responsive */
@media (max-width: 768px) {
  .harika-news-item {
    flex-direction: column;
  }

  .harika-thumb {
    width: 100%;
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .harika-content {
    padding: 16px;
  }
  .harika-content .title {
    font-size: 16px;
  }
  .harika-content .lead {
    font-size: 13px;
  }
}
/* Professional News Widget Styles */
.professional-news-container {
    width: 100%;
}

.professional-news-item {
    display: flex;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.professional-news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.professional-news-inner {
    display: flex;
    width: 100%;
}

.professional-news-inner.type1 {
    flex-direction: row;
}

.professional-news-inner.type2 {
    flex-direction: row-reverse;
}

.professional-news-image {
    flex-shrink: 0;
}

.professional-news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.professional-news-image a:hover img {
    opacity: 0.9;
}

.professional-news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.professional-news-category a {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.professional-news-category a:hover {
    opacity: 0.8;
}

.professional-news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.professional-news-title a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.professional-news-lead {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.professional-news-meta {
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
}

.professional-news-meta i {
    margin-left: 5px;
}

.professional-news-archive-btn-container {
    text-align: center;
    margin-top: 30px;
}

.professional-news-archive-btn {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.professional-news-archive-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .professional-news-inner {
        flex-direction: column !important;
    }

    .professional-news-image {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .professional-news-meta {
        flex-wrap: wrap;
    }

    .professional-news-meta span {
        margin-bottom: 5px;
    }
}
.pakdast-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pakdast-news-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pakdast-news-title {
    order: 1;
    margin-bottom: 0;
}

.pakdast-media-player {
    order: 2;
    margin: 5px 0 10px 0;
}

.pakdast-news-content {
    order: 3;
}

.pakdast-news-meta {
    order: 4;
}
.pakdast-news-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pakdast-news-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.pakdast-news-title a {
    color: inherit;
    text-decoration: none;
}

.pakdast-news-title a:hover {
    color: #4CAF50;
}

.pakdast-news-content {
    margin-bottom: 10px;
    line-height: 1.6;
}

.pakdast-news-meta {
    font-size: 13px;
    color: #777;
}

.pakdast-archive-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pakdast-archive-link:hover {
    background-color: #45a049;
}

.pakdast-no-news {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 4px;
    text-align: center;
}

/* حالت تاریک */
.elementor-panel-dark-mode .pakdast-news-item {
    background-color: #2a2a2a;
    border-color: #444;
}
.elementor-panel-dark-mode .cnh-main-header  {
    background-color: #2c3e50 !important;
}
.elementor-panel-dark-mode .pakdast-news-title,
.elementor-panel-dark-mode .pakdast-news-content {
    color: #eee;
}

.elementor-panel-dark-mode .pakdast-news-meta {
    color: #aaa;
}
.pakdast-media-player {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.pakdast-media-player video,
.pakdast-media-player audio {
    width: 100%;
    max-width: 100%;
}

.pakdast-media-player .wp-video {
    width: 100% !important;
}

.pakdast-media-player .mejs-container {
    border-radius: 8px;
}
.pakdast-media-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pakdast-btn {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 14px;
}
.pakdast-media-buttons img {
    transition: transform 0.2s;
}
.pakdast-media-buttons img:hover {
    transform: scale(1.1);
}
/* استایل اصلی گالری */
.advanced-gallery {
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    line-height: 1.6;
    background: #333333;
    border-radius: 5px;
}

/* هدر گالری */
.gallery-header {
    margin-bottom: 30px;
}

.gallery-title {
    font-size: 28px;
    margin: 0 0 5px 0;
    font-weight: 700;
    color: #333;
}

.gallery-subtitle {
    font-size: 16px;
    margin: 0;
    color: #777;
}

/* تصویر اصلی */
.gallery-main {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-image {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 1;
}

.main-info {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
}

.main-title {
    font-size: 24px;
    margin: 10px 0;
    line-height: 1.4;
    color: #fff;
}

.main-excerpt {
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
    color: rgba(255,255,255,0.9);
}

/* تصاویر کوچک */
.gallery-thumbnails {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.thumb-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.thumb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thumb-bg {
    position: relative;
    background-size: cover;
    background-position: center;
}

.thumb-info {
    padding: 15px;
}

.thumb-title {
    font-size: 16px;
    margin: 10px 0 5px;
    line-height: 1.4;
    color: #333;
}

/* آیکن‌ها */
.photo-icon-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.photo-icon {
    color: #fff;
}

.main-image .photo-icon-wrapper {
    width: 50px;
    height: 50px;
}

/* دکمه آرشیو */
.gallery-footer {
    text-align: center;
    margin-top: 30px;
}

.archive-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.archive-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.4);
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 24px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-image {
        padding: 20px;
    }

    .main-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .advanced-gallery {
        padding: 15px;
    }

    .gallery-thumbnails {
        grid-template-columns: 1fr;
    }

    .archive-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* برای آیکن دوربین */
.photo-icon {
    color: #ffffff; /* رنگ سفید */
}

/* برای آیکن لینک خارجی */
.title-external-icon {
    color: rgba(255,255,255,0.7);
}

/* حالت hover */
.thumb-card:hover .photo-icon,
.main-image-link:hover .photo-icon {
    color: #3498db; /* رنگ آبی */
}

.main-title-link:hover .title-external-icon {
    color: #ffffff;
    opacity: 1;
}
/* استایل‌های پایه هدر */
.cnh-header-wrapper {
    direction: rtl;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    background: #fff;
}

.cnh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cnh-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* استایل نوار بالا */
.cnh-top-bar {
    background: #2c3e50;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cnh-top-menu-col {
    flex: 1;
}

.cnh-top-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.cnh-top-menu li {
    margin-left: 20px;
    position: relative;
}

.cnh-top-menu li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
}

.cnh-top-menu li a:hover {
    color: #f39c12;
}

.cnh-date-time-col {
    margin-right: auto;
}

.cnh-date-time {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cnh-date-time span {
    display: flex;
    align-items: center;
}

.cnh-date-time span:before {
    margin-left: 5px;
    font-family: fontawesome, Shabnam, Tahoma, sans-serif !important;
    font-weight: 900;
}

.cnh-date:before {
    content: "\f073";
}

.cnh-time:before {
    content: "\f017";
}

/* استایل بخش اصلی هدر */
.cnh-main-header {
    padding: 15px 0;
    position: relative;
}

.cnh-logo-col {
    flex: 0 0 300px;
}

.cnh-logo-col img {
    max-height: 63px;
    width: auto;
    transition: all 0.3s ease;
}

.cnh-ad-col {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.cnh-advertisement {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 5px;
    border: 1px solid #eee;
}

.cnh-advertisement img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.cnh-tools-col {
    flex: 0 0 250px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

/* استایل شبکه‌های اجتماعی */
.cnh-social-icons {
    display: flex;
}

.cnh-social-icons a {
    width: 32px;
    height: 32px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cnh-social-icons a:hover {
    background: #ffaa7f91;
    color: #fff;
    transform: translateY(-3px);
}

/* استایل جستجو */
.cnh-search-col {
    position: relative;
}

.cnh-search-toggle {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.cnh-search-toggle:hover {
    color: #e74c3c;
}

.cnh-search-form-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 300px;
}

.cnh-search-toggle.active + .cnh-search-form-wrapper {
    opacity: 1;
    visibility: visible;
}

.cnh-search-form {
    position: relative;
}

.cnh-search-form input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
}

.cnh-search-form input:focus {
    border-color: #e74c3c;
}

.cnh-search-form button {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
}

.cnh-search-form button:hover {
    color: #ffffff;
}

/* استایل منوی اصلی */
.cnh-main-menu-col {
    width: 100%;
    margin-top: 15px;
}

.cnh-main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    position: relative;
}

.cnh-main-menu > li {
    position: relative;
    margin: 0 5px;
}

.cnh-main-menu > li > a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 4px;
}

.cnh-main-menu > li > a:hover,
.cnh-main-menu > li.current-menu-item > a {
    color: #e74c3c;
    background: #f9f9f9;
}

/* منوی آبشاری */
.cnh-main-menu li ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    padding: 10px 0;
    border-top: 2px solid #e74c3c;
}

.cnh-main-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
}

.cnh-main-menu li ul li a {
    padding: 8px 20px;
    display: block;
    color: #555;
    transition: all 0.3s ease;
    font-size: 13px;
}

.cnh-main-menu li ul li a:hover {
    background: #f5f5f5;
    color: #e74c3c;
    padding-right: 25px;
}

/* استایل هدر چسبان */
.sticky-header .cnh-main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    padding: 10px 0;
    z-index: 9999;
}

.sticky-header .cnh-logo-col img {
    max-height: 40px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* رسپانسیو برای تبلت */
@media (max-width: 991px) {
    .cnh-logo-col {
        flex: 0 0 150px;
    }

    .cnh-ad-col {
        order: 3;
        flex: 0 0 100%;
        margin-top: 15px;
        padding: 0;
    }

    .cnh-tools-col {
        flex: 0 0 calc(100% - 170px);
    }

    .cnh-main-menu > li > a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* رسپانسیو برای موبایل */
@media (max-width: 767px) {
    .cnh-top-bar {
        padding: 10px 0;
    }

    .cnh-top-menu {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 5px;
    }

    .cnh-top-menu li {
        margin-left: 10px;
        margin-right: 10px;
    }

    .cnh-date-time {
        display: none;
    }

    .cnh-logo-col {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .cnh-tools-col {
        flex: 0 0 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .cnh-main-menu {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 5px;
    }

    .cnh-main-menu > li {
        margin: 0 3px;
    }

    .cnh-main-menu > li > a {
        padding: 6px 10px;
        font-size: 12px;
    }

    .cnh-search-form-wrapper {
        left: 50%;
        transform: translateX(-50%);
    }

    .cnh-social-icons {
        display: none;
    }
}

/* پشتیبانی از حالت تاریک */
@media (prefers-color-scheme: dark) {
    .cnh-header-wrapper,
    .cnh-main-menu li ul {
        background: #222;
    }

    .cnh-main-menu > li > a {
        color: #eee;
    }

    .cnh-main-menu > li > a:hover,
    .cnh-main-menu > li.current-menu-item > a {
        color: #e74c3c;
        background: #333;
    }

    .cnh-main-menu li ul li a {
        color: #ddd;
    }

    .cnh-main-menu li ul li a:hover {
        background: #444;
    }

    .cnh-search-form input {
        background: #333;
        border-color: #444;
        color: #fff;
    }

    .cnh-advertisement {
        background: #333;
        border-color: #444;
    }
}
/* استایل‌های پایه */
.anf-footer-wrapper {
    font-family: inherit;
    direction: rtl;
    background: #2c3e50;
    color: #fff;
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.anf-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.anf-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

/* استایل بخش بالای فوتر */
.anf-footer-top {
    padding: 50px 0 30px;
}

.anf-widget {
    flex: 0 0 calc(20% - 30px);
    margin-bottom: 30px;
}

.anf-widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    color: #fff;
}

.anf-widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #e74c3c;
}

.anf-widget-content {
    font-size: 14px;
    line-height: 1.8;
}

/* استایل منوها */
.anf-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.anf-footer-menu li {
    margin-bottom: 10px;
}

.anf-footer-menu li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-right: 15px;
}

.anf-footer-menu li a:hover {
    color: #f39c12;
    padding-right: 20px;
}

.anf-footer-menu li a:before {
    content: '\f105';
    font-family: fontawesome, Shabnam, Tahoma, sans-serif !important;
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.anf-footer-menu li a:hover:before {
    opacity: 1;
    right: -5px;
}

/* استایل درباره ما */
.anf-about-content {
    text-align: justify;
}

/* استایل بخش مجوزها */
.anf-license-widget {
    position: relative;
}

.anf-license-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.anf-license-images img {
    max-height: 150px;
    width: auto;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.anf-license-images img:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.anf-license-code {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.anf-license-code iframe {
    max-width: 100%;
    border: none;
}

/* رسپانسیو برای مجوزها */
@media (max-width: 767px) {
    .anf-license-images {
        justify-content: center;
    }

    .anf-license-code {
        overflow-x: auto;
    }
}
/* استایل شبکه‌های اجتماعی */
.anf-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.anf-social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 16px;
}

.anf-social-icons a:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}

/* استایل کپی رایت */
.anf-copyright {
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.anf-copyright .anf-row {
    justify-content: space-between;
    align-items: center;
}

.anf-copyright a {
    color: #f39c12;
    text-decoration: none;
}

.anf-copyright a:hover {
        color: #fff;
}

/* رسپانسیو برای تبلت */
@media (max-width: 991px) {
    .anf-widget {
        flex: 0 0 calc(50% - 20px);
    }
}

/* رسپانسیو برای موبایل */
@media (max-width: 767px) {
    .anf-widget {
        flex: 0 0 100%;
    }

    .anf-footer-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .anf-footer-menu li {
        margin-bottom: 0;
    }

    .anf-copyright .anf-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* افکت‌های ویژه */
.anf-footer-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
}

.anf-footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

/* پشتیبانی از حالت تاریک */
@media (prefers-color-scheme: dark) {
    .anf-footer-wrapper {
        background: #1a1a1a;
    }

    .anf-copyright {
        background: rgba(0, 0, 0, 0.4);
    }
}
/* استایل پایه سوییچ دارک مود */
.dms-container {
    display: inline-block;
    transition: all 0.3s ease;
}

.dms-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dms-switcher .dms-icon {
    transition: all 0.3s ease;
}

.dms-switcher .dms-text {
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* استایل حالت تگل */
.dms-switcher[data-style="toggle"] {
    padding: 5px;
    border-radius: 30px;
    min-width: 60px;
    position: relative;
}

.dms-switcher[data-style="toggle"] .dms-icon {
    position: relative;
    z-index: 2;
}

.dms-switcher[data-style="toggle"] .dms-text {
    position: relative;
    z-index: 2;
}

.dms-switcher[data-style="toggle"]:after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    width: calc(50% - 2px);
    background: #fff;
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 1;
}

.dark-mode .dms-switcher[data-style="toggle"]:after {
    right: calc(50% + 2px);
}

/* رسپانسیو */
@media (max-width: 767px) {
    .dms-switcher {
        padding: 5px 10px !important;
    }

    .dms-switcher .dms-text {
        font-size: 12px;
    }
}
html.dark-mode body {
    background-color: #121212 !important;
    color: #f1f1f1 !important;
}

html.dark-mode a {
    color: #d8d8d8 !important
}
html.dark-mode .news-tabs-widget  {
    background: linear-gradient(135deg, #303030, #000000) !important;
}
html.dark-mode .numbered-slider {
        background: #000000 !important;
}
html.dark-mode .custom-tabs {
        background: #000000 !important;
}
html.dark-mode .tabs-widget-title {
        color: #ffffff !important;
}
html.dark-mode .elementor-2253 .elementor-element.elementor-element-fb1395a .gallery-title {
        color: #ffffff !important;
}
html.dark-mode #honar-ticker-e458fe6 {
        background: #121212 !important;
}
html.dark-mode .cnh-header-wrapper {
        background: #2c3e50 !important;
}
html.dark-mode .pakdast-news-item {
        background: #121212 !important;
}
html.dark-mode .gallery-widget-wrapper {
        background-color: #121212 !important;
}
html.dark-mode .avg-video-gallery {
        background: #121212 !important;
}
html.dark-mode .avg-section-title {
        color: #fff !important;
}
html.dark-mode .note-title a {
        color: #fff !important;
}
html.dark-mode .daily-note-item {
    border: 1px solid #8c8c8c  !important;
    background: #323232 !important;}

html.dark-mode .gallery-header h2 {
        color: #fff !important;
}
html.dark-mode .editor-choice-item {
        background: #353535 !important;
}
html.dark-mode .featured-news-box {
            background-color: #000000 !important;
}
html.dark-mode .widget-hot-news {
            background-color: #000000 !important;
}
html.dark-mode .cnh-main-header  {
    background-color: #2c3e50 !important;
}
/*******************relatdPostsSec***************/
.reltdPostsSec {
  padding: 20px 15px;
  margin-top: 20px;
}
.reltdPostsTtl {
  justify-content: space-between;
  margin-bottom: 25px;
}
.reltdPostsTtl,
.reltdPostsTtl h3,
.reltdPostsTtl a {
  display: flex;
  align-items: center;
}
.reltdPostsTtl h3 {
  justify-content: start;
}
.reltdPostsTtl h3 img {
  margin-left: 5px;
  width: 17px;
  height: 14px;
  display: block;
}
.reltdPostsTtl h3 i {
  margin-right: 8px;
  font-size: 16px;
  font-family: "IRANSans_Medium";
  color: var(--primary-color);
}
.reltdPostsTtl a {
  padding: 2px 5px;
  color: var(--dark-color);
}
.reltdPostsTtl a i {
  font-size: 14px;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}
.reltdPostsTtl a span {
  font-size: 13px;
  margin-left: 8px;
  font-family: "IRANSans_Light";
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}
.reltdPostsTtl a:hover span {
  color: #ffb81c;
}
.reltdPostsTtl a:hover i {
  transform: translateX(-2px);
  -webkit-transform: translateX(-2px);
  -moz-transform: translateX(-2px);
  -ms-transform: translateX(-2px);
  -o-transform: translateX(-2px);
  color: #ffb81c;
}
.reltdPostsSec .relatedSldr .swiper-container {
  position: relative;
  width: 100%;
}
.reltdPostsSec .relatedSldr .swiper-wrapper {
  align-items: center;
}
.reltdPostsSec .relatedSldr .swiper-slide {
  width: 185px;
  margin: 8px;
  display: block;
  transition: all 0.6s;
  background-color: #fff;
  box-shadow: 0px 4px 1px 0px rgba(227, 231, 235, 0.4);
  border-radius: 8px;
  -webkit-transition: all 0.6s linear;
  -moz-transition: all 0.6s linear;
  -ms-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.reltdPostsSec .relatedSldr .swiper-slide img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.reltdPostsSec .relatedSldr .swiper-slide h2 {
  font-size: 13px;
  font-family: "IRANSans_Medium";
  text-align: right;
  color: var(--dark-color);
  margin: 10px;
}
.reltdPostsSec .relatedSldr .swiper-slide:hover {
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}
.reltdPostsSec .relatedSldr .swiper-button-prev,
.reltdPostsSec .relatedSldr .swiper-button-next {
  width: 40px;
  height: 40px;
  background: #b4b4b48a;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.reltdPostsSec .relatedSldr .swiper-button-prev:after,
.reltdPostsSec .relatedSldr .swiper-button-next:after {
  font-size: 17px;
  color: #fff;
}

/***********************othrNewsSec************/
/* در فایل style.css پوسته یا در بخش ظاهر > سفارشی‌سازی > CSS اضافی */
.news-portal-widget.news-widget {
    font-family: inherit !important;
}

.elementor-widget-widgets_post_sidebar .news-widget {
    font-family: inherit;
}
/****پادکست مدرن ****/
/* Modern Podcast Widget Styles */
.modern-podcast-widget {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.modern-podcast-widget .podcast-title {
    text-align: right;
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.modern-podcast-widget .podcast-title:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 100px;
    height: 2px;
    background: #4e54c8;
}

.modern-podcast-widget .podcast-list {
    display: grid;
    grid-gap: 20px;
}

.modern-podcast-widget .podcast-item {
    transition: all 0.3s ease;
}

.modern-podcast-widget .podcast-item:hover {
    transform: translateY(-5px);
}

.modern-podcast-widget .podcast-player {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-podcast-widget .podcast-player:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modern-podcast-widget .podcast-item-title {
    color: #444;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: right;
}

.modern-podcast-widget .audio-container {
    width: 100%;
    margin-bottom: 15px;
}

.modern-podcast-widget audio {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modern-podcast-widget audio::-webkit-media-controls-panel {
    background: linear-gradient(to right, #f5f7fa, #e4e8eb);
    border-radius: 8px;
}

.modern-podcast-widget .podcast-share-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;
}

.modern-podcast-widget .share-label {
    color: #666;
    font-size: 14px;
    margin-left: 10px;
}

.modern-podcast-widget .share-icons {
    display: flex;
    gap: 10px;
}

.modern-podcast-widget .share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.modern-podcast-widget .share-icon:hover {
    transform: scale(1.1);
}

.modern-podcast-widget .share-icon.facebook {
    background: #3b5998;
}

.modern-podcast-widget .share-icon.twitter {
    background: #1da1f2;
}

.modern-podcast-widget .share-icon.linkedin {
    background: #0077b5;
}

.modern-podcast-widget .share-icon.telegram {
    background: #0088cc;
}

.modern-podcast-widget .share-icon.whatsapp {
    background: #25d366;
}

.modern-podcast-widget .podcast-archive-link {
    text-align: left;
    margin-top: 25px;
}

.modern-podcast-widget .podcast-archive-link a {
    display: inline-flex;
    align-items: center;
    color: #4e54c8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modern-podcast-widget .podcast-archive-link a:hover {
    color: #8f94fb;
}

.modern-podcast-widget .podcast-archive-link i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.modern-podcast-widget .podcast-archive-link a:hover i {
    transform: translateX(-5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .modern-podcast-widget .podcast-title {
        font-size: 20px;
    }

    .modern-podcast-widget .podcast-item-title {
        font-size: 16px;
    }

    .modern-podcast-widget .podcast-share-buttons {
        flex-direction: column;
        align-items: flex-end;
    }

    .modern-podcast-widget .share-label {
        margin-bottom: 8px;
        margin-left: 0;
    }
}
/*گالری ویدیو مدرن****/
/* Modern Video Gallery Widget Styles */
.modern-video-gallery-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* استایل هدر بخش */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.archive-link a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #4e54c8;
    font-size: 14px;
    transition: all 0.3s ease;
}

.archive-link a:hover {
    color: #8f94fb;
}

.archive-link i {
    margin-right: 8px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.archive-link a:hover i {
    transform: translateX(-5px);
}

.video-gallery-container {
    display: grid;
    grid-gap: 20px;
}

/* استایل برای حالت گرید */
.grid-layout.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-layout.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-layout.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* استایل برای حالت میزونری */
.masonry-layout {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: masonry;
}

/* استایل آیتم ویدیو */
.video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-post-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.video-item:hover .video-item-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4e54c8;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    border: none;
    padding: 0;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    z-index: 2;
}

.video-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.video-title a {
    color: white;
    text-decoration: none;
}

.video-title a:hover {
    text-decoration: none;
}

.video-category {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.video-category a {
    color: inherit;
    text-decoration: none;
    margin-left: 5px;
}

.video-category a:hover {
    text-decoration: underline;
}

/* استایل مودال */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    background: #000;
    padding: 20px;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* نسبت 16:9 */
    height: 0;
    overflow: hidden;
}

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

/* استایل رسپانسیو */
@media (max-width: 1024px) {
    .grid-layout.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-link {
        margin-top: 10px;
    }

    .grid-layout.columns-3,
    .grid-layout.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-modal-content {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .grid-layout.columns-2,
    .grid-layout.columns-3,
    .grid-layout.columns-4 {
        grid-template-columns: 1fr;
    }

    .video-info {
        padding: 10px;
    }

    .video-title {
        font-size: 14px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
/*آرشیو */
.archive-posts-grid {
    display: grid;
    gap: 30px;
}

.archive-posts-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.archive-posts-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.archive-posts-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.archive-post-item {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.archive-post-item:hover {
    transform: translateY(-5px);
}
.archive-post-thumbnail img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}
.archive-post-title {
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
}
.archive-post-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.pagination .page-numbers:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.pagination .current {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
  font-weight: bold;
}

.pagination .next,
.pagination .prev {
  font-weight: bold;
  color: #0073aa;
}
/*سربرگ پیشرفته*/
/* در فایل style.css پلاگین خود این کدها را اضافه کنید */
.advanced-header-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* سبک ۱ - خط زیر عنوان */
.header-style-style1 .advanced-header-title {
    position: relative;
    padding-bottom: 10px;
}

.header-style-style1 .advanced-header-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: #3366ff;
}

/* سبک ۲ - پس‌زمینه رنگی */
.header-style-style2 {
    padding: 15px 20px;
    border-radius: 5px;
    background-color: #3366ff;
    color: #fff;
}

.header-style-style2 .advanced-header-title {
    color: inherit;
}

/* سبک ۳ - حاشیه دور عنوان */
.header-style-style3 .advanced-header-title {
    padding: 10px 20px;
    border: 2px solid #3366ff;
    border-radius: 5px;
    display: inline-block;
}

/* سبک ۴ - عنوان با آیکون */
.header-style-style4 .advanced-header-title {
    position: relative;
    padding-right: 30px;
}

.header-style-style4 .advanced-header-title:before {
    content: '\f005';
    font-family: fontawesome, Shabnam, Tahoma, sans-serif !important;
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3366ff;
}

/* سبک ۵ - عنوان با دکمه */
.header-style-style5 {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.archive-link {
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.header-style-style2 .archive-link {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}
/* سبک ۶ - عنوان با خط چین */
.header-style-style6 .advanced-header-title {
    border-bottom: 2px dashed #3366ff;
    padding-bottom: 10px;
    display: inline-block;
}

/* سبک ۷ - عنوان دو خطی */
.header-style-style7 .advanced-header-title {
    position: relative;
    padding-right: 30px;
    display: inline-block;
}

.header-style-style7 .advanced-header-title:before,
.header-style-style7 .advanced-header-title:after {
    content: "";
    position: absolute;
    right: 0;
    height: 2px;
    background-color: #3366ff;
}

.header-style-style7 .advanced-header-title:before {
    top: 0;
    width: 100%;
}

.header-style-style7 .advanced-header-title:after {
    bottom: 0;
    width: 70%;
}

/* سبک ۸ - عنوان با سایه متن */
.header-style-style8 .advanced-header-title {
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    color: #333;
}

/* سبک ۹ - عنوان با پس‌زمینه تصویری */
.header-style-style9 {
    position: relative;
    overflow: hidden;
    padding: 30px;
    color: #fff;
}

.header-style-style9 .advanced-header-title {
    position: relative;
    z-index: 2;
}

.header-style-style9:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

/* سبک ۱۰ - عنوان با انحنا */
.header-style-style10 {
    background-color: #3366ff;
    color: #fff;
    padding: 15px 30px;
    position: relative;
    border-radius: 15px 0 15px 0;
}

.header-style-style10:after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-color: #1a4fd9;
    transform: rotate(45deg);
    z-index: -1;
}
/* سبک ۱۱ - سبک خبری با تاریخ */
.header-style-style11 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-style-style11 .header-date {
    background: #3366ff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
}

/* سبک ۱۲ - سبک مدرن با گرادیان */
.header-style-style12 {
    background: linear-gradient(90deg, #3366ff 0%, #00ccff 100%);
    color: white;
    padding: 15px 25px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

/* سبک ۱۳ - سبک مینیمال با خط نازک */
.header-style-style13 .advanced-header-title {
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-weight: 300;
    letter-spacing: 1px;
}

/* سبک ۱۴ - سبک مجله‌ای با دسته‌بندی */
.header-style-style14 .header-category {
    display: inline-block;
    background: #f5f5f5;
    padding: 3px 10px;
    font-size: 0.7em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* سبک ۱۵ - سبک خلاقانه با شکل هندسی */
.header-style-style15 {
    position: relative;
    padding: 15px 30px 15px 50px;
}

.header-style-style15:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: #3366ff;
    clip-path: polygon(0 0, 100% 20%, 100% 80%, 0% 100%);
}

/* سبک ۱۶ - سبک وایدجت با آیکون */
.header-style-style16 {
    border-right: 5px solid #3366ff;
    padding-right: 15px;
}

.header-style-style16 .header-icon {
    margin-left: 10px;
    color: #3366ff;
}

/* سبک ۱۷ - سبک تبلیغاتی هایلایت شده */
.header-style-style17 {
    background: #fff8e6;
    border: 1px solid #ffd166;
    padding: 15px;
    position: relative;
}

.header-style-style17:before {
    content: "!";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffd166;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* سبک ۱۸ - سبک دو رنگ اسپلیت */
.header-style-style18 .advanced-header-title {
    background: linear-gradient(to right, #3366ff 50%, #333 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.header-style-style18:hover .advanced-header-title {
    background-position: left bottom;
}

/* سبک ۱۹ - سبک سه بعدی با سایه */
.header-style-style19 .advanced-header-title {
    text-shadow: 1px 1px 0px #ccc,
                 2px 2px 0px #bbb,
                 3px 3px 0px #aaa,
                 4px 4px 5px rgba(0,0,0,0.1);
    transform: perspective(500px) rotateX(10deg);
}

/* سبک ۲۰ - سبک ویدئویی با آیکون پلی */
.header-style-style20 {
    position: relative;
    padding-right: 50px;
}

.header-style-style20 .play-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #3366ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*جستجوی پیشرفته */
/* استایل پایه برای فرم جستجو */
.advanced-search-form {
    display: flex;
    width: 100%;
    transition: all 0.3s ease;
    font-family: fontawesome, Shabnam, Tahoma, sans-serif !important
}

/* طرح‌بندی‌های مختلف */
.advanced-search-form.search-layout-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 15px;
}

.advanced-search-form.search-layout-vertical {
    flex-direction: column;
    gap: 15px;
}

.advanced-search-form.search-layout-inline {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

/* استایل فیلدهای ورودی */
.advanced-search-form .search-field,
.advanced-search-form .search-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: fontawesome, Shabnam, Tahoma, sans-serif !important;
}

.advanced-search-form .search-field:focus,
.advanced-search-form .search-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* استایل دکمه جستجو */
.advanced-search-form .search-submit {
    padding: 12px 25px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.advanced-search-form .search-submit:hover {
    background-color: #005177;
}

/* استایل مخصوص طرح‌بندی اینلاین */
.advanced-search-form.search-layout-inline .search-field-wrapper {
    flex: 1;
    margin: 0 5px;
}

.advanced-search-form.search-layout-inline .search-submit {
    margin-left: 5px;
}

/* استایل مخصوص طرح‌بندی عمودی */
.advanced-search-form.search-layout-vertical .search-field-wrapper {
    width: 100%;
}

/* استایل مخصوص طرح‌بندی افقی */
.advanced-search-form.search-layout-horizontal .search-field-wrapper {
    flex: 1;
    min-width: 150px;
}

/* استایل ریسپانسیو */
@media (max-width: 768px) {
    .advanced-search-form.search-layout-horizontal {
        flex-direction: column;
    }

    .advanced-search-form.search-layout-horizontal .search-field-wrapper,
    .advanced-search-form.search-layout-inline .search-field-wrapper {
        width: 100%;
        margin: 5px 0;
    }

    .advanced-search-form.search-layout-inline {
        flex-direction: column;
    }

    .advanced-search-form.search-layout-inline .search-submit {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* استایل مخصوص RTL (راست به چپ) */
.rtl .advanced-search-form.search-layout-inline .search-submit {
    margin-left: 0;
    margin-right: 5px;
}

.rtl .advanced-search-form.search-layout-inline .search-field-wrapper {
    margin: 0 5px;
}

/* انیمیشن هنگام فوکوس */
@keyframes searchFieldPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 115, 170, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 115, 170, 0); }
}

.advanced-search-form .search-field:focus,
.advanced-search-form .search-select:focus {
    animation: searchFieldPulse 1.5s infinite;
}

/* استایل مدرن با گرادیانت */
.advanced-search-form.modern-style .search-submit {
    background: linear-gradient(135deg, #0073aa 0%, #00a0d2 100%);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.advanced-search-form.modern-style .search-submit:hover {
    background: linear-gradient(135deg, #005177 0%, #0073aa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* استایل مینیمال */
.advanced-search-form.minimal-style .search-field,
.advanced-search-form.minimal-style .search-select {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
}

.advanced-search-form.minimal-style .search-submit {
    background-color: transparent;
    color: #0073aa;
    border: 2px solid #0073aa;
}

.advanced-search-form.minimal-style .search-submit:hover {
    background-color: #0073aa;
    color: #fff;
}

/* استایل دارک مود */
.advanced-search-form.dark-style {
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
}

.advanced-search-form.dark-style .search-field,
.advanced-search-form.dark-style .search-select {
    background-color: #333;
    border-color: #444;
    color: #fff;
}

.advanced-search-form.dark-style .search-submit {
    background-color: #444;
    color: #fff;
}

.advanced-search-form.dark-style .search-submit:hover {
    background-color: #555;
}
.search-highlight {
    background-color: #fffbcc;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: bold;
}

.search-results-count {
    margin-bottom: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
}

.search-debug {
    display: none; /* بعد از تست می‌توانید غیرفعال کنید */
}
/*اعضاء تیم */
/* استایل پایه */
.team-members-container {
    display: grid;
    gap: 30px;
    margin: 0 auto;
}

.team-members-container.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.team-members-container.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.team-members-container.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.team-members-container.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.team-member-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member-image {
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.team-member-info {
    padding: 20px;
    text-align: center;
}

.team-member-name {
    margin: 0 0 10px;
    font-weight: 600;
}

.team-member-position {
    color: #777;
    margin-bottom: 15px;
    font-size: 14px;
}

.team-member-bio {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link.telegram { background-color: #0088cc; }
.social-link.instagram { background-color: #e4405f; }
.social-link.twitter { background-color: #1da1f2; }
.social-link.linkedin { background-color: #0077b5; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* سبک 1 - کارتی */
.layout-style1 .team-member-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.layout-style1 .team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.layout-style1 .team-member-image img {
    border-radius: 10px 10px 0 0;
}

/* سبک 2 - مدرن */
.layout-style2 .team-member-card {
    border: none;
    background: none;
    box-shadow: none;
}

.layout-style2 .team-member-image {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.layout-style2 .team-member-info {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* سبک 3 - کلاسیک */
.layout-style3 .team-member-card {
    border: 1px solid #eee;
    text-align: left;
}

.layout-style3 .team-member-info {
    padding: 20px;
    text-align: left;
}

.layout-style3 .team-member-social {
    justify-content: flex-start;
}

/* سبک 4 - مینیمال */
.layout-style4 .team-member-card {
    background: none;
    box-shadow: none;
    border: none;
    text-align: center;
}

.layout-style4 .team-member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
}

.layout-style4 .team-member-name {
    margin-top: 15px;
}

.layout-style4 .team-member-position {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .team-members-container.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-members-container.columns-3,
    .team-members-container.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-members-container {
        grid-template-columns: 1fr !important;
    }
}
/*خبرفوری */
/* استایل پایه */
.breaking-news-container {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sticky-breaking-news {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
}

.position-top {
    top: 0;
}

.position-bottom {
    bottom: 0;
}

.breaking-news-icon {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.breaking-news-label {
    font-weight: bold;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    white-space: nowrap;
}

.breaking-news-content {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.breaking-news-item {
    display: flex;
    align-items: center;
    width: 100%;
}

.breaking-news-text {
    margin-right: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.breaking-news-time,
.breaking-news-date {
    font-size: 0.85em;
    opacity: 0.9;
    white-space: nowrap;
    margin-right: 15px;
}

.breaking-news-slider {
    width: 100%;
    overflow: hidden;
}

.breaking-news-slide {
    display: flex;
    align-items: center;
    width: 100%;
}

.breaking-news-controls {
    display: flex;
    margin-right: 15px;
}

.breaking-news-prev,
.breaking-news-next {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breaking-news-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0 5px;
    font-size: 16px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* سبک 1 - کلاسیک */
.breaking-news-container.style1 {
    background-color: #d9534f;
    color: white;
    border-bottom: 2px solid #c9302c;
}

.breaking-news-container.style1 .breaking-news-label {
    background-color: #c9302c;
}

/* سبک 2 - مدرن */
.breaking-news-container.style2 {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.breaking-news-container.style2 .breaking-news-label {
    background-color: rgba(255, 255, 255, 0.2);
}

/* سبک 3 - مینیمال */
.breaking-news-container.style3 {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.breaking-news-container.style3 .breaking-news-label {
    background-color: #e9ecef;
    color: #495057;
}

/* سبک 4 - اضطراری */
.breaking-news-container.style4 {
    background-color: #ffc107;
    color: #212529;
    animation: flashWarning 2s infinite;
}

.breaking-news-container.style4 .breaking-news-label {
    background-color: #ff9800;
    color: white;
}

@keyframes flashWarning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* سبک 5 - حرفه‌ای */
.breaking-news-container.style5 {
    background-color: #343a40;
    color: white;
    border-top: 3px solid #007bff;
}

.breaking-news-container.style5 .breaking-news-label {
    background-color: #007bff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em;
}

/* سبک 6 - روزنامه‌ای */
.breaking-news-container.style6 {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    font-family: "Times New Roman", Times, serif;
}

.breaking-news-container.style6 .breaking-news-label {
    background-color: #000;
    color: #fff;
    font-style: italic;
}

/* سبک 7 - تاریک */
.breaking-news-container.style7 {
    background-color: #212529;
    color: #fff;
    border-bottom: 1px solid #495057;
}

.breaking-news-container.style7 .breaking-news-label {
    background-color: #495057;
}

/* سبک 8 - گرادیانت */
.breaking-news-container.style8 {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.breaking-news-container.style8 .breaking-news-label {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .breaking-news-container {
        flex-wrap: wrap;
        padding: 10px;
    }

    .breaking-news-icon {
        margin-left: 0;
        margin-bottom: 5px;
        width: 100%;
        justify-content: center;
    }

    .breaking-news-label {
        margin: 0 0 5px 0;
        width: 100%;
        text-align: center;
    }

    .breaking-news-content {
        width: 100%;
    }

    .breaking-news-item {
        flex-direction: column;
        text-align: center;
    }

    .breaking-news-text {
        margin: 0 0 5px 0;
        text-align: center;
    }

    .breaking-news-time,
    .breaking-news-date {
        margin: 0 5px;
    }

    .breaking-news-controls {
        margin: 10px 0 0 0;
        width: 100%;
        justify-content: center;
    }
}

/* استایل برای حالت مارکی */
.breaking-news-marquee .breaking-news-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
/*خبر با سبک مختلف */
/* سبک 1 - کارتی مدرن */
.layout-style1 .news-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
}

.layout-style1 .news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.layout-style1 .news-thumbnail {
    height: 200px;
    overflow: hidden;
}

.layout-style1 .news-thumbnail img {
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.layout-style1 .news-card:hover .news-thumbnail img {
    transform: scale(1.1);
}

/* سبک 2 - اینفوگرافیک */
.layout-style2 .news-card {
    border-left: 5px solid #0073aa;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
    overflow: visible;
}

.layout-style2 .news-card::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: #0073aa;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.layout-style2 .news-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* سبک 3 - هولوگرافیک */
.layout-style3 .news-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    overflow: hidden;
    transition: all 0.5s ease;
}

.layout-style3 .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.layout-style3 .news-thumbnail {
    height: 180px;
    overflow: hidden;
}

.layout-style3 .news-thumbnail img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: all 0.8s ease;
}

.layout-style3 .news-card:hover .news-thumbnail img {
    filter: brightness(1);
    transform: scale(1.05);
}

/* سبک 4 - شیشه‌ای (Glassmorphism) */
.layout-style4 .news-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    color: #fff;
    overflow: hidden;
}

.layout-style4 .news-title a,
.layout-style4 .news-subtitle,
.layout-style4 .news-lead,
.layout-style4 .news-date {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.layout-style4 .news-thumbnail {
    position: relative;
}

.layout-style4 .news-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

/* سبک 5 - نئومورفیک */
.layout-style5 .news-card {
    border-radius: 15px;
    background: #f0f0f0;
    box-shadow:  8px 8px 16px #d9d9d9,
                -8px -8px 16px #ffffff;
    transition: all 0.3s ease;
}

.layout-style5 .news-card:hover {
    box-shadow:  4px 4px 8px #d9d9d9,
                -4px -4px 8px #ffffff;
    transform: translateY(2px);
}

.layout-style5 .news-thumbnail {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

/* استایل‌های دسته‌بندی */
.news-category {
    position: absolute;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    background: #0073aa;
    color: #fff;
}

/* موقعیت‌های مختلف دسته‌بندی */
.category-position-top_left {
    top: 15px;
    left: 15px;
}

.category-position-top_right {
    top: 15px;
    right: 15px;
}

.category-position-bottom_left {
    bottom: 15px;
    left: 15px;
}

.category-position-bottom_right {
    bottom: 15px;
    right: 15px;
}

.category-position-above_title {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 10px;
    display: inline-block;
}

.category-position-below_title {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 10px;
    display: inline-block;
}

/* انواع استایل دسته‌بندی */
.category-style-badge {
    border-radius: 20px;
    padding: 3px 12px;
}

.category-style-label {
    border-radius: 0;
    clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
    padding-right: 15px;
}

.category-style-border {
    background: transparent !important;
    border: 2px solid currentColor;
    padding: 1px 10px;
}

.category-style-background {
    background: rgba(0,0,0,0.7) !important;
    color: #fff !important;
}
/*سوالات پیشرفته */
/* استایل‌های پایه برای تمام سبک‌ها */
.advanced-faq-widget {
    font-family: 'Vazir', Tahoma, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    direction: rtl;
}

.advanced-faq-widget .faq-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.advanced-faq-widget .faq-question {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.advanced-faq-widget .faq-toggle-icon {
    font-weight: bold;
    transition: transform 0.3s ease;
}

.advanced-faq-widget .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.advanced-faq-widget .faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
}

.advanced-faq-widget .faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

/* سبک آکاردئون (پیش‌فرض) */
.advanced-faq-widget.faq-style-accordion .faq-item {
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.advanced-faq-widget.faq-style-accordion .faq-question {
    padding: 15px 20px;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
}

.advanced-faq-widget.faq-style-accordion .faq-item.active .faq-question {
    background-color: #e9ecef;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.advanced-faq-widget.faq-style-accordion .faq-answer {
    padding: 0 20px;
    background-color: #fff;
}

.advanced-faq-widget.faq-style-accordion .faq-item.active .faq-answer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

/* سبک تگل */
.advanced-faq-widget.faq-style-toggle .faq-item {
    margin-bottom: 5px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.advanced-faq-widget.faq-style-toggle .faq-question {
    padding: 12px 20px;
    background-color: #fff;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.advanced-faq-widget.faq-style-toggle .faq-question:hover {
    background-color: #f7fafc;
}

.advanced-faq-widget.faq-style-toggle .faq-item.active .faq-question {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.advanced-faq-widget.faq-style-toggle .faq-answer {
    background-color: #fff;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
}

.advanced-faq-widget.faq-style-toggle .faq-item.active .faq-answer {
    padding: 15px 20px;
}

/* سبک کارت‌ها */
.advanced-faq-widget.faq-style-cards .faq-item {
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.advanced-faq-widget.faq-style-cards .faq-question {
    padding: 20px;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
}

.advanced-faq-widget.faq-style-cards .faq-question:hover {
    background-color: #f8f9fa;
}

.advanced-faq-widget.faq-style-cards .faq-item.active .faq-question {
    background-color: #f8f9fa;
}

.advanced-faq-widget.faq-style-cards .faq-answer {
    padding: 0 20px;
    color: #4a5568;
}

.advanced-faq-widget.faq-style-cards .faq-item.active .faq-answer {
    padding: 0 20px 20px;
}

/* سبک مینیمال */
.advanced-faq-widget.faq-style-minimal .faq-item {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0;
}

.advanced-faq-widget.faq-style-minimal .faq-question {
    padding: 15px 0;
    background: none;
    color: #333;
    font-weight: 500;
}

.advanced-faq-widget.faq-style-minimal .faq-toggle-icon {
    color: #666;
}

.advanced-faq-widget.faq-style-minimal .faq-answer {
    padding: 0;
    color: #666;
}

.advanced-faq-widget.faq-style-minimal .faq-item.active .faq-answer {
    padding: 10px 0 20px;
}

/* سبک مدرن */
.advanced-faq-widget.faq-style-modern .faq-item {
    margin-bottom: 15px;
    border-radius: 0;
    border-left: 4px solid #4f46e5;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.advanced-faq-widget.faq-style-modern .faq-question {
    padding: 18px 20px;
    color: #1a202c;
    font-weight: 600;
}

.advanced-faq-widget.faq-style-modern .faq-question:hover {
    background-color: #f8fafc;
}

.advanced-faq-widget.faq-style-modern .faq-toggle-icon {
    color: #4f46e5;
}

.advanced-faq-widget.faq-style-modern .faq-item.active .faq-question {
    background-color: #f8fafc;
}

.advanced-faq-widget.faq-style-modern .faq-answer {
    padding: 0 20px;
    color: #4a5568;
}

.advanced-faq-widget.faq-style-modern .faq-item.active .faq-answer {
    padding: 0 20px 20px;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .advanced-faq-widget .faq-question {
        padding: 15px;
        font-size: 16px;
    }

    .advanced-faq-widget .faq-item.active .faq-answer {
        padding: 15px !important;
    }

    .advanced-faq-widget.faq-style-cards .faq-item,
    .advanced-faq-widget.faq-style-modern .faq-item {
        margin-bottom: 15px;
    }
}
/*تبلیغات پیشرفته */
/* استایل‌های پایه برای تمام انواع تبلیغات */
.custom-ad-container {
    width: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* استایل‌های عمومی برای انواع تبلیغات */
.ad-text-style {
    padding: 20px;
    transition: all 0.3s ease;
}

.ad-text-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.ad-text-content {
    line-height: 1.6;
}

.ad-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.ad-image:hover {
    transform: scale(1.02);
}

.ad-code-content {
    width: 100%;
    overflow: hidden;
}

/* استایل‌های بنر حرفه‌ای */
.ad-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    min-height: 200px;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.banner-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    z-index: 1;
    object-fit: cover;
}

.banner-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.banner-subtitle {
    margin-bottom: 20px;
    font-size: 16px;
}

.banner-button {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.banner-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* استایل‌های خاص برای تبلیغات متنی */
/* سبک ۱ - مدرن با سایه */
.ad-text-style-style1 {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.ad-text-style-style1 .ad-text-title {
    color: #333;
    font-size: 22px;
}

.ad-text-style-style1 .ad-text-content {
    color: #666;
}

/* سبک ۲ - ویبرانت */
.ad-text-style-style2 {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    border-radius: 8px;
}

.ad-text-style-style2 .ad-text-title {
    color: #fff;
    font-size: 24px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.ad-text-style-style2 .ad-text-content {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* سبک ۳ - مینیمال */
.ad-text-style-style3 {
    background: #f9f9f9;
    border: 1px solid #eee;
    color: #333;
}

.ad-text-style-style3 .ad-text-title {
    font-size: 20px;
    color: #222;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* سبک ۴ - تاریک مدرن */
.ad-text-style-style4 {
    background: #2c3e50;
    color: #ecf0f1;
    border-radius: 4px;
}

.ad-text-style-style4 .ad-text-title {
    color: #ecf0f1;
    font-size: 22px;
}

.ad-text-style-style4 .ad-text-content {
    color: #bdc3c7;
}

/* سبک ۵ - خلاقانه */
.ad-text-style-style5 {
    background: #fff;
    border-left: 5px solid #3498db;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.ad-text-style-style5 .ad-text-title {
    color: #3498db;
    font-size: 22px;
}

.ad-text-style-style5 .ad-text-content {
    color: #555;
}

/* استایل‌های خاص برای بنرهای حرفه‌ای */
/* سبک ۱ - گرادیان */
.banner-style1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
}

.banner-style1 .banner-button {
    background: #fff;
    color: #764ba2;
}

.banner-style1 .banner-button:hover {
    background: rgba(255,255,255,0.9);
}

/* سبک ۲ - حاشیه دار */
.banner-style2 {
    background: #fff;
    border: 3px dashed #3498db;
    color: #333;
}

.banner-style2 .banner-title {
    color: #3498db;
}

.banner-style2 .banner-button {
    background: #3498db;
    color: #fff;
    border-radius: 0;
}

/* سبک ۳ - مدرن */
.banner-style3 {
    background: #f8f9fa;
    color: #333;
    border-left: 5px solid #ff6b6b;
}

.banner-style3 .banner-title {
    color: #ff6b6b;
}

.banner-style3 .banner-button {
    background: #ff6b6b;
    color: #fff;
    border-radius: 30px;
}

/* رسپانسیو برای دستگاه‌های مختلف */
@media (max-width: 768px) {
    .ad-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .banner-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .banner-image {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .ad-text-style {
        padding: 15px;
    }

    .ad-text-title {
        font-size: 18px;
    }
}
/* استایل اصلی کانتینر تبلیغات */
.custom-ad-container {
    width: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* تبلیغات متنی */
.ad-text-style {
    padding: 20px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ad-text-title {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

.ad-text-content {
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

/* بنرهای حرفه‌ای */
.ad-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 200px;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-title,
.banner-subtitle {
    text-align: center;
    width: 100%;
}

/* تصاویر */
.ad-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* دکمه‌ها */
.banner-button {
    margin: 0 auto;
}

/* استایل‌های خاص برای حالت‌های مختلف */
.ad-text-style-style1,
.ad-text-style-style2,
.ad-text-style-style3,
.ad-text-style-style4,
.ad-text-style-style5 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-style1,
.banner-style2,
.banner-style3 {
    text-align: center;
}

/* برای تبلیغات کد */
.ad-code-content {
    width: 100%;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .ad-banner {
        padding: 20px;
    }

    .banner-content {
        padding: 0 15px;
    }
}
/*دیدگاه */
/* استایل پایه - تم تاریک مدرن */
.custom-comments {
    font-family: inherit;
    --primary-color: #2c7be5;
    --secondary-color: #00d97e;
    --dark-color: #12263f;
    --light-color: #f9fafd;
    --gray-color: #95aac9;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* عنوان بخش */
.custom-comments::before {
    content: "نظرات کاربران";
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* حالت‌های مختلف نمایش */
.custom-comments[data-display-mode="list"] .comment-card {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.custom-comments[data-display-mode="card"] .comment-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.custom-comments[data-display-mode="inline"] .comment-card {
    display: inline-block;
    margin: 0 10px 15px 0;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--secondary-color);
}

/* استایل کارت دیدگاه */
.comment-card {
    position: relative;
    transition: var(--transition);
}

.comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

/* هدر دیدگاه */
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 15px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-meta {
    flex-grow: 1;
}

.comment-author {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.comment-author::after {
    content: "نویسنده";
    display: inline-block;
    font-size: 0.7rem;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    margin-right: 8px;
    vertical-align: middle;
}

.comment-date {
    color: var(--gray-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.comment-date::before {
    content: "🕒";
    margin-left: 5px;
}

/* محتوای دیدگاه */
.comment-content {
    padding: 15px 0;
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark-color);
    font-size: 1rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

/* دکمه پاسخ */
.comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 2px 10px rgba(44, 123, 229, 0.3);
}

.comment-reply-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.4);
}

.comment-reply-link::before {
    margin-left: 5px;
}

/* فرم دیدگاه */
.comment-form {
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 3px solid var(--primary-color);
}

.comment-form-title {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.comment-form-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.comment-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--light-color);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.1);
}

.comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(44, 123, 229, 0.3);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.4);
}

/* دیدگاه‌های تودرتو */
.comment-card .comment-card {
    margin-top: 25px;
    margin-right: 40px;
    position: relative;
}

.comment-card .comment-card::before {
    content: "";
    position: absolute;
    right: -30px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

/* پیام عدم وجود دیدگاه */
.no-comments {
    text-align: center;
    padding: 30px;
    color: var(--gray-color);
    font-size: 1.1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.no-comments::before {
    content: "💬";
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

/* افکت‌های ویژه */
.comment-card:nth-child(odd) {
    border-left-color: var(--primary-color);
}

.comment-card:nth-child(even) {
    border-left-color: var(--secondary-color);
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .custom-comments {
        padding: 20px;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-avatar {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .custom-comments[data-display-mode="inline"] .comment-card {
        display: block;
        margin-right: 0;
    }

    .comment-card .comment-card {
        margin-right: 20px;
    }

    .comment-card .comment-card::before {
        right: -15px;
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.comment-card {
    animation: fadeIn 0.5s ease forwards;
}

.comment-card:nth-child(1) { animation-delay: 0.1s; }
.comment-card:nth-child(2) { animation-delay: 0.2s; }
.comment-card:nth-child(3) { animation-delay: 0.3s; }
.comment-card:nth-child(4) { animation-delay: 0.4s; }
.comment-card:nth-child(5) { animation-delay: 0.5s; }
/*مرتبط */
/* استایل‌های پایه */
.related-news-container {
    --primary-color: #2c7be5;
    --secondary-color: #00d97e;
    --dark-color: #12263f;
    --light-color: #f9fafd;
    --gray-color: #95aac9;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 40px;
}

.related-news-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 700;
}

.related-news-title:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.related-news-grid {
    display: grid;
    gap: 20px;
}

.related-news-item {
    transition: var(--transition);
}

.related-news-item:hover {
    transform: translateY(-5px);
}

.related-news-item-thumbnail {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.related-news-item-thumbnail img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.related-news-item:hover .related-news-item-thumbnail img {
    transform: scale(1.05);
}

.related-news-item-title {
    margin: 15px 0 10px;
    font-weight: 600;
    line-height: 1.4;
}

.related-news-item-title a {
    color: inherit;
    text-decoration: none;
}

.related-news-item-date {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.related-news-item-date i {
    margin-left: 5px;
}

.related-news-item-excerpt {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* سبک 1: کارتی مدرن */
.related-news-container.layout-style1 .related-news-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.related-news-container.layout-style1 .related-news-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.related-news-container.layout-style1 .related-news-item-content {
    padding: 20px;
}

/* سبک 2: لیستی */
.related-news-container.layout-style2 .related-news-grid {
    grid-template-columns: 1fr;
}

.related-news-container.layout-style2 .related-news-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.related-news-container.layout-style2 .related-news-item-thumbnail {
    flex: 0 0 120px;
    height: 80px;
}

.related-news-container.layout-style2 .related-news-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* سبک 3: مجله‌ای */
.related-news-container.layout-style3 .related-news-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-news-container.layout-style3 .related-news-item {
    position: relative;
}

.related-news-container.layout-style3 .related-news-item-thumbnail {
    height: 200px;
}

.related-news-container.layout-style3 .related-news-item-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.related-news-container.layout-style3 .related-news-item-content {
    position: relative;
    background: white;
    margin: -40px 20px 0;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* سبک 4: تایم‌لاین */
.related-news-container.layout-style4 .related-news-grid {
    grid-template-columns: 1fr;
    position: relative;
    padding-right: 30px;
}

.related-news-container.layout-style4 .related-news-grid:before {
    content: '';
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.related-news-container.layout-style4 .related-news-item {
    position: relative;
    padding-right: 50px;
}

.related-news-container.layout-style4 .related-news-item:before {
    content: '';
    position: absolute;
    right: 10px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid var(--primary-color);
}

.related-news-container.layout-style4 .related-news-item-date {
    position: relative;
    padding: 5px 10px;
    background: var(--primary-color);
    color: white;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* سبک 5: مینیمال */
.related-news-container.layout-style5 .related-news-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.related-news-container.layout-style5 .related-news-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px;
    transition: var(--transition);
}

.related-news-container.layout-style5 .related-news-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-news-container.layout-style5 .related-news-item-title {
    font-size: 1rem;
    margin: 10px 0 5px;
}

.related-news-container.layout-style5 .related-news-item-date {
    font-size: 0.75rem;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .related-news-container.layout-style1 .related-news-grid,
    .related-news-container.layout-style3 .related-news-grid,
    .related-news-container.layout-style5 .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-news-container.layout-style2 .related-news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-news-container.layout-style2 .related-news-item-thumbnail {
        flex: 0 0 100%;
        width: 100%;
    }

    .related-news-container.layout-style4 .related-news-grid {
        padding-right: 20px;
    }

    .related-news-container.layout-style4 .related-news-item {
        padding-right: 30px;
    }
}

@media (max-width: 480px) {
    .related-news-container.layout-style1 .related-news-grid,
    .related-news-container.layout-style3 .related-news-grid,
    .related-news-container.layout-style5 .related-news-grid {
        grid-template-columns: 1fr;
    }
}
/*روتیتر */
// در فایل CSS یا با wp_add_inline_style
.post-header-preset-style-1 {
    /* سبک روزنامه‌ای */
    border: 1px solid #e0e0e0;
    padding: 20px;
    background: #f9f9f9;
}
.post-header-preset-style-1 .post-pre-title {
    font-size: 16px;
    color: #777;
    font-weight: bold;
}
.post-header-preset-style-1 .post-main-title {
    font-size: 28px;
    color: #222;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 10px;
}
.post-header-preset-style-1 .post-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

/* سبک مدرن */
.post-header-preset-style-2 {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 10px;
}
.post-header-preset-style-2 .post-main-title {
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 15px;
}
.post-header-preset-style-2 .post-lead {
    font-size: 18px;
    color: #333;
    font-weight: 300;
}

/* سبک مینیمال */
.post-header-preset-style-3 {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.post-header-preset-style-3 .post-main-title {
    font-size: 24px;
    color: #000;
    font-weight: 400;
}
.post-header-preset-style-3 .post-lead {
    font-size: 16px;
    color: #666;
}
.post-header-preset-style-4 {
    background: #fff;
    padding: 25px;
    border-left: 5px solid #d32f2f;
}
.post-header-preset-style-4 .post-pre-title {
    font-size: 14px;
    color: #d32f2f;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.post-header-preset-style-4 .post-main-title {
    font-size: 32px;
    color: #222;
    margin: 10px 0;
    line-height: 1.3;
}
.post-header-preset-style-4 .post-lead {
    font-size: 18px;
    color: #555;
    font-weight: 300;
}
.post-header-preset-style-5 {
    background: #1a1a1a;
    padding: 30px;
    color: #fff;
}
.post-header-preset-style-5 .post-pre-title {
    color: #a0a0a0;
    font-size: 15px;
}
.post-header-preset-style-5 .post-main-title {
    color: #fff;
    font-size: 36px;
    margin: 15px 0;
}
.post-header-preset-style-5 .post-lead {
    color: #e0e0e0;
    font-size: 17px;
}
.post-header-preset-style-6 {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.post-header-preset-style-6 .post-main-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}
.post-header-preset-style-6 .post-lead {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}
.post-header-preset-style-7 {
    padding: 20px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    margin: 20px 0;
}
.post-header-preset-style-7 .post-pre-title {
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}
.post-header-preset-style-7 .post-main-title {
    font-size: 26px;
    color: #222;
}
.post-header-preset-style-7 .post-lead {
    color: #555;
    margin-top: 10px;
}
.post-header-preset-style-8 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    color: #fff;
    border-radius: 10px;
}
.post-header-preset-style-8 .post-pre-title {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}
.post-header-preset-style-8 .post-main-title {
    font-size: 34px;
    color: #fff;
    margin: 15px 0;
}
.post-header-preset-style-8 .post-lead {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
}
/* استایل پایه - مشترک بین تمام استایل‌ها */
.featured-news-box {
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* استایل 1: کلاسیک */
.featured-news-box.style-1 {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff !important;
}

.featured-news-box.style-1 .news-box-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.featured-news-box.style-1 .news-box-image-large {
    flex: 0 0 40%;
    margin-left: 20px;
}

.featured-news-box.style-1 .news-box-title {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

/* استایل 2: مدرن */
.featured-news-box.style-2 {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #fff !important;
}

.featured-news-box.style-2 .news-box-container {
    display: grid;
    gap: 20px;
}

.featured-news-box.style-2 .news-box-item {
    transition: transform 0.3s ease;
}

.featured-news-box.style-2 .news-box-item:hover {
    transform: translateY(-5px);
}

.featured-news-box.style-2 .news-box-image-large img {
    border-radius: 8px 8px 0 0;
}

/* استایل 3: شبکه‌ای */
.featured-news-box.style-3 .news-box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.featured-news-box.style-3 .news-box-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.featured-news-box.style-3 .news-box-content {
    padding: 15px;
}

/* استایل 4: کارتی */
.featured-news-box.style-4 .news-box-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    display: flex;
}

.featured-news-box.style-4 .news-box-image-large {
    flex: 0 0 120px;
    margin-left: 15px;
}

.featured-news-box.style-4 .news-box-title {
    font-size: 16px;
    color: #444;
}

/* استایل 5: مینیمال */
.featured-news-box.style-5 {
    background: transparent !important;
    border: none !important;
}

.featured-news-box.style-5 .news-box-title {
    font-weight: 300;
    color: #333;
    font-size: 20px;
}

.featured-news-box.style-5 .news-box-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* استایل 6: تاریکی */
.featured-news-box.style-6 {
    background: #222 !important;
    color: #eee;
    padding: 20px;
    border-radius: 8px;
}

.featured-news-box.style-6 .news-box-title a {
    color: #fff;
}

.featured-news-box.style-6 .news-box-excerpt {
    color: #bbb;
}

.featured-news-box.style-6 .archive-link {
    color: #4fc3f7 !important;
}

/* استایل 7: روشن */
.featured-news-box.style-7 {
    background: #f9f9f9 !important;
    border: 1px solid #eee;
    padding: 20px;
}

.featured-news-box.style-7 .news-box-title a {
    color: #2196F3;
}

.featured-news-box.style-7 .news-box-item {
    padding: 15px;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 6px;
}

/* استایل 8: حاشیه‌دار */
.featured-news-box.style-8 .news-box-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.featured-news-box.style-8 .news-box-item:hover {
    border-color: #2196F3;
}

.featured-news-box.style-8 .news-box-image-large {
    margin-bottom: 15px;
}

/* استایل 9: گرادیان */
.featured-news-box.style-9 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff;
    padding: 25px;
    border-radius: 12px;
}

.featured-news-box.style-9 .news-box-title a {
    color: #fff;
}

.featured-news-box.style-9 .news-box-excerpt {
    color: rgba(255,255,255,0.8);
}

.featured-news-box.style-9 .archive-link {
    color: #fff !important;
    text-decoration: underline;
}

/* استایل 10: ویژه */
.featured-news-box.style-10 {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-news-box.style-10::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
}

.featured-news-box.style-10 .news-box-container {
    position: relative;
    z-index: 2;
}

.featured-news-box.style-10 .news-box-item {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.featured-news-box.style-10 .news-box-title a {
    color: #333;
    font-weight: 600;
}

/* استایل‌های مشترک */
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.archive-link {
    font-size: 13px;
    text-decoration: none;
}

.news-box-image-large img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.news-box-image-large:hover img {
    transform: scale(1.02);
}

.news-box-subheadline {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.news-box-excerpt {
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}
/* افکت‌های هایور تصویر */
.featured-news-box .news-box-image-large img {
    transition: all 0.3s ease;
}

/* افکت بزرگنمایی */
.featured-news-box .news-box-image-large.zoom-in:hover img {
    transform: scale(1.05);
}

/* افکت چرخش */
.featured-news-box .news-box-image-large.rotate:hover img {
    transform: rotate(2deg);
}

/* افکت سیاه و سفید */
.featured-news-box .news-box-image-large.grayscale img {
    filter: grayscale(100%);
}
.featured-news-box .news-box-image-large.grayscale:hover img {
    filter: grayscale(0%);
}
/*پست اینفو */
/* استایل پایه برای تمام حالت‌ها */
.post-info-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.post-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* سبک 1 - افقی با جداکننده */
.post-info-box-style-1 {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.post-info-box-style-1 .post-info-item {
    position: relative;
    padding: 0 15px;
}

.post-info-box-style-1 .post-info-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #ddd;
}

/* سبک 2 - عمودی با آیکن‌های بزرگ */
.post-info-box-style-2 {
    flex-direction: column;
    align-items: flex-start;
}

.post-info-box-style-2 .post-info-item {
    font-size: 1.1em;
}

.post-info-box-style-2 .post-info-item i {
    font-size: 1.3em;
    width: 25px;
    text-align: center;
}

/* سبک 3 - کارتی با پس‌زمینه */
.post-info-box-style-3 {
    gap: 10px;
}

.post-info-box-style-3 .post-info-item {
    background-color: rgba(0,0,0,0.05);
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.post-info-box-style-3 .post-info-item:hover {
    background-color: rgba(0,0,0,0.1);
}

/* سبک 4 - ساده بدون آیکن */
.post-info-box-style-4 {
    gap: 15px;
}

.post-info-box-style-4 .post-info-item i {
    display: none;
}

.post-info-box-style-4 .post-info-item {
    font-size: 0.9em;
    opacity: 0.8;
}
/*گزارش و گفتگو */
/* استایل اصلی */
.report-discussion-container {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.report-discussion-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* استایل عنوان */
.report-title {
    font-weight: 700;
    line-height: 1.4;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 10px;
}

.report-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    transition: all 0.3s ease;
}

.report-discussion-container:hover .report-title:after {
    width: 100px;
}

/* استایل دسته‌بندی */
.report-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.report-category:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.report-discussion-container:hover .report-category:before {
    opacity: 1;
}

/* استایل تصویر */
.report-thumbnail {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.report-thumbnail img {
    transition: all 0.5s ease;
    object-fit: cover;
}

.report-thumbnail-circle img {
    border-radius: 50%;
}

.report-thumbnail-rounded img {
    border-radius: 10px;
}

.report-discussion-container:hover .report-thumbnail img {
    transform: scale(1.05);
}

/* استایل متا */
.report-meta {
    font-size: 13px;
    color: #777;
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.report-meta i {
    margin-left: 5px;
    font-size: 14px;
}

/* استایل خلاصه */
.report-excerpt {
    line-height: 1.8;
    color: #555;
    margin: 15px 0;
}

/* افکت‌های مدرن */
.report-discussion-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.report-discussion-container:hover:before {
    opacity: 1;
}

/* رسپانسیو */
@media (max-width: 767px) {
    .report-title {
        font-size: 18px !important;
    }

    .report-excerpt {
        font-size: 14px !important;
    }

    .report-meta {
        flex-wrap: wrap;
    }

    .report-meta > span {
        margin-bottom: 5px;
    }
}
/*سبک استایل جدید تیکر اول */
/* سبک 1 - خط زیر عنوان */
.honar-header-style1 {
    border-bottom: 2px solid #d10a11;
    padding-bottom: 5px;
}

/* سبک 2 - پس‌زمینه رنگی */
.honar-header-style2 {
    background-color: #d10a11;
    color: #fff;
    padding: 10px 15px;
}

/* سبک 3 - حاشیه دور عنوان */
.honar-header-style3 {
    border: 2px solid #d10a11;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 4px;
}

/* سبک 4 - عنوان با آیکون */
.honar-header-style4 .honar-ticker-icon {
    display: inline-block;
    margin-left: 10px;
    font-size: 20px;
    color: #d10a11;
}

/* سبک 5 - عنوان با دکمه */
.honar-header-style5::after {
    content: 'مشاهده همه';
    background-color: #d10a11;
    color: #fff;
    padding: 3px 10px;
    margin-right: 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* سبک 6 - عنوان با خط چین */
.honar-header-style6 {
    border-bottom: 2px dashed #d10a11;
    padding-bottom: 5px;
}

/* سبک 7 - عنوان دو خطی */
.honar-header-style7 .honar-ticker-title::after {
    content: '\Aآخرین رویدادها';
    white-space: pre;
    font-size: 12px;
    display: block;
    color: #888;
}

/* سبک 8 - عنوان با سایه متن */
.honar-header-style8 {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* سبک 9 - عنوان با پس‌زمینه تصویری */
.honar-header-style9 {
    background: url('https://via.placeholder.com/500x80') center center/cover no-repeat;
    color: #fff;
    padding: 12px 20px;
}

/* سبک 10 - عنوان با انحنا */
.honar-header-style10 {
    background-color: #d10a11;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
}

/* سبک 11 - سبک خبری با تاریخ */
.honar-header-style11::after {
    content: attr(data-date);
    margin-right: 10px;
    color: #777;
    font-size: 13px;
}

/* سبک 12 - گرادیان مدرن */
.honar-header-style12 {
    background: linear-gradient(90deg, #d10a11 0%, #f06595 100%);
    color: white;
    padding: 10px 20px;
}

/* سبک 13 - مینیمال خط نازک */
.honar-header-style13 {
    border-bottom: 1px solid #ccc;
    font-weight: 400;
    color: #333;
    padding-bottom: 5px;
}

/* سبک 14 - مجله‌ای با دسته‌بندی */
.honar-header-style14::before {
    content: 'دسته‌بندی: اخبار';
    font-size: 11px;
    color: #555;
    margin-left: 10px;
    display: inline-block;
}

/* سبک 15 - خلاقانه با شکل هندسی */
.honar-header-style15 {
    position: relative;
    padding-left: 20px;
}

.honar-header-style15::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #d10a11;
    transform: rotate(45deg);
}

/* سبک 16 - وایدجت با آیکون */
.honar-header-style16 .honar-ticker-icon {
    background: #d10a11;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

/* سبک 17 - تبلیغاتی هایلایت شده */
.honar-header-style17 {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border: 1px solid #ffeeba;
}

/* سبک 18 - دو رنگ اسپلیت */
.honar-header-style18 {
    display: flex;
    background: linear-gradient(to right, #d10a11 50%, #ffffff 50%);
    color: #000;
    padding: 10px 0;
}

.honar-header-style18 .honar-ticker-title {
    padding: 0 20px;
    flex: 1;
}

/* سبک 19 - سه بعدی با سایه */
.honar-header-style19 {
    background: #d10a11;
    color: white;
    padding: 12px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* سبک 20 - ویدئویی با آیکون پلی */
.honar-header-style20::before {
    content: '\25B6'; /* آیکون پلی */
    color: #d10a11;
    font-size: 16px;
    margin-left: 8px;
    display: inline-block;
}
/*هدر*/
/* ==================== عمومی ==================== */
.cnh-header-wrapper {
    font-family: inherit;
    width: 100%;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
}

.cnh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cnh-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

/* ==================== استایل 1 (کلاسیک) ==================== */
.cnh-header-style1 .cnh-top-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cnh-header-style1 .cnh-main-header {
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ==================== استایل 2 (مدرن) ==================== */
.cnh-header-style2 .cnh-top-bar {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.cnh-header-style2 .cnh-main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cnh-header-style2 .cnh-main-menu > li > a {
    padding: 10px 20px;
    border-radius: 4px;
}

/* ==================== استایل 3 (فشرده) ==================== */
.cnh-header-style3 .cnh-top-bar {
    display: none;
}

.cnh-header-style3 .cnh-main-header {
    padding: 10px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.cnh-header-style3 .cnh-main-menu > li > a {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* ==================== منوها ==================== */
.cnh-top-menu-col,
.cnh-main-menu-col {
    width: 100%;
}

.cnh-top-menu,
.cnh-main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.cnh-top-menu {
    justify-content: flex-start;
    font-size: 0.85em;
}

.cnh-main-menu {
    justify-content: center;
    margin-top: 15px;
}

.cnh-top-menu > li > a,
.cnh-main-menu > li > a {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* تراز منوها */
.cnh-menu-align-right .cnh-main-menu {
    justify-content: flex-end;
}

.cnh-menu-align-left .cnh-main-menu {
    justify-content: flex-start;
}

.cnh-menu-align-center .cnh-main-menu {
    justify-content: center;
}

/* ==================== لوگو ==================== */
.cnh-logo-col {
    flex: 0 0 auto;
}

.cnh-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== ابزارها (جستجو و شبکه‌های اجتماعی) ==================== */
.cnh-tools-col {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* جستجو */
.cnh-search-col {
    position: relative;
}

.cnh-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    color: inherit;
}

.cnh-search-form-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    min-width: 250px;
    z-index: 100;
}

.cnh-search-form {
    position: relative;
    display: flex;
}

.cnh-search-form input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-family: inherit;
}

.cnh-search-form button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
}

/* استایل‌های مختلف جستجو */
.cnh-search-style-full .cnh-search-form {
    display: flex;
    width: 100%;
}

.cnh-search-style-icon .cnh-search-form-wrapper {
    display: none;
}

.cnh-search-style-icon .cnh-search-form-wrapper.active {
    display: block;
}

.cnh-search-style-expand .cnh-search-form {
    width: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cnh-search-style-expand .cnh-search-form:hover,
.cnh-search-style-expand .cnh-search-form:focus-within {
    width: 200px;
}

/* شبکه‌های اجتماعی */
.cnh-social-icons {
    display: flex;
    gap: 10px;
}

.cnh-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    background-color: #555;
    transition: all 0.3s ease;
}

.cnh-social-icons a:hover {
    transform: translateY(-2px);
}

/* ==================== تبلیغات ==================== */
.cnh-ad-col {
    flex: 1;
    text-align: center;
}

.cnh-advertisement {
    padding: 10px;
}

.cnh-advertisement img {
    max-width: 100%;
    height: auto;
}

/* ==================== تاریخ و ساعت ==================== */
.cnh-date-time-col {
    margin-right: auto;
}

.cnh-date-time {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
}

/* ==================== واکنش‌گرا ==================== */
@media (max-width: 992px) {
    .cnh-row {
        flex-direction: column;
        gap: 15px;
    }

    .cnh-logo-col,
    .cnh-ad-col,
    .cnh-tools-col {
        width: 100%;
        text-align: center;
    }

    .cnh-main-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cnh-date-time-col {
        margin-right: 0;
        order: -1;
        width: 100%;
        text-align: center;
    }

    .cnh-tools-col {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cnh-main-menu > li > a {
        padding: 8px 10px;
        font-size: 0.85em;
    }

    .cnh-social-icons {
        display: none;
    }
}
/*سبک استایل های برچسب */
/* استایل پایه */
.advanced-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* انواع چیدمان */
.advanced-tags-container.layout-flex {
    display: flex;
    flex-wrap: wrap;
}

.advanced-tags-container.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.advanced-tags-container.layout-inline {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* استایل عمومی تگ‌ها */
.advanced-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.advanced-tag-icon {
    display: inline-flex;
    align-items: center;
    transition: inherit;
}

.advanced-tag-text {
    transition: inherit;
}

/* پیش‌تنظیم‌های استایل */
.advanced-tags-container.style-style-1 .advanced-tag {
    background-color: #4b6cb7;
    color: #fff;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.advanced-tags-container.style-style-2 .advanced-tag {
    background: transparent;
    color: #333;
    border: 1px solid #e0e0e0;
}

.advanced-tags-container.style-style-3 .advanced-tag {
    background: #fff;
    color: #333;
    border: 2px solid #4b6cb7;
}

.advanced-tags-container.style-style-4 .advanced-tag {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    border: none;
}

.advanced-tags-container.style-style-5 .advanced-tag {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
}

/* حالت هاور */
.advanced-tag:hover {
    transform: translateY(-2px);
}

.advanced-tags-container.style-style-1 .advanced-tag:hover {
    background-color: #3a5aa0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advanced-tags-container.style-style-2 .advanced-tag:hover {
    background: #f5f5f5;
}

.advanced-tags-container.style-style-3 .advanced-tag:hover {
    background: #4b6cb7;
    color: #fff;
}

.advanced-tags-container.style-style-4 .advanced-tag:hover {
    opacity: 0.9;
}

.advanced-tags-container.style-style-5 .advanced-tag:hover {
    background: rgba(255,255,255,0.3);
}

/* حالت رسپانسیو */
@media (max-width: 767px) {
    .advanced-tags-container.layout-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .advanced-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
}
.news-caption h2{
	color:#fff;
}