/* Sidebar Specific Styles */

/* Homepage sidebar: quick access + compact stats */
.quick-access-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.quick-access-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    transition: all 0.2s ease;
}
.quick-access-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(26, 171, 158, 0.08);
}
.quick-access-link i {
    color: var(--primary);
    width: 1.2em;
}
.sidebar-stats-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sidebar-stat {
    font-size: 14px;
    color: var(--muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-stat:last-child {
    border-bottom: none;
}
.sidebar-stat-num {
    font-weight: 700;
    color: var(--text);
    margin-inline-start: 0.35rem;
}

/* Special Categories */
.special-categories {
    list-style: none;
    padding: 0;
    position: relative;
}

.special-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-image: url('../images/visuals/3.png');
    background-size: 25px 25px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.018;
    z-index: 0;
    border-radius: 4px 4px 0 0;
}

.special-categories li {
    margin-bottom: 0.3rem;
}

.special-categories li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px; /* Standard link text */
    line-height: 1.4;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    border-right: 3px solid transparent;
    padding-right: 0.5rem;
    position: relative;
    z-index: 1;
}

.special-categories li a:hover {
    color: var(--primary);
    border-right-color: var(--primary);
}

/* Supporters List */
.supporters-list {
    list-style: none;
    padding: 0;
    position: relative;
}

.supporters-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background-image: url('../images/visuals/4.png');
    background-size: 20px 20px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.015;
    z-index: 0;
    border-radius: 3px 3px 0 0;
}

.supporters-list li {
    color: #666;
    font-size: 14px; /* Standard list text */
    line-height: 1.4;
    margin-bottom: 0.25rem;
    padding: 0.15rem 0;
    position: relative;
    z-index: 1;
}

/* Popular Links */
.popular-links {
    list-style: none;
    padding: 0;
    position: relative;
}

.popular-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-image: url('../images/visuals/1.png');
    background-size: 25px 25px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.018;
    z-index: 0;
    border-radius: 4px 4px 0 0;
}

.popular-links li {
    margin-bottom: 0.8rem;
}

.popular-link {
    color: #555;
    text-decoration: none;
    font-size: 15px; /* Standard link text */
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.popular-link:hover {
    color: #1AAB9E;
    border-color: #1AAB9E;
    background-color: rgba(26, 171, 158, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-img {
    width: 48px;
    height: 48px;
    margin-left: 1rem;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-link:hover .logo-img {
    transform: scale(1.1);
}

.popular-link span {
    flex: 1;
    font-size: 15px; /* Standard link text */
}

/* Martyrs Sliders */
.today-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    padding: 0.5rem;
}

.martyrs-slider-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.martyrs-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.martyrs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.martyrs-slide.active {
    display: block;
}

.martyr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.4rem;
    height: 100%;
    padding: 0.3rem;
}

.martyr-card {
    background: white;
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.martyr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.martyr-image {
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.3rem;
    border: 2px solid #1AAB9E;
}

.martyr-name {
    color: #2c3e50;
    font-weight: 500;
    font-size: 13px; /* Small text for cards */
    line-height: 1.3;
    text-align: center;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Martyrs Slider Navigation */
.martyrs-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.2rem;
    z-index: 3;
}

.martyrs-prev-btn, .martyrs-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 14px; /* Small icon */
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.martyrs-prev-btn:hover, .martyrs-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
}

/* Martyrs Slider Indicators */
.martyrs-slider-indicators {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
}

.martyrs-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #2F2D69;
}

.martyrs-indicator.active {
    background: #2F2D69;
    transform: scale(1.2);
}

.martyrs-indicator:hover {
    background: rgba(47, 45, 105, 0.7);
    transform: scale(1.1);
}

/* Featured Martyrs Slider */
.featured-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    padding: 0.5rem;
}

.featured-slider-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.featured-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.featured-slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.featured-martyr-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.featured-martyr-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: #1AAB9E;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.featured-martyr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1AAB9E;
}

.featured-martyr-card:hover::before {
    opacity: 1;
}

.featured-martyr-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1AAB9E;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.featured-martyr-card:hover .featured-martyr-image {
    transform: scale(1.05);
}

.featured-martyr-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.featured-martyr-name {
    color: #2c3e50;
    font-size: 15px; /* Standard text */
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-align: center;
}

.featured-view-link {
    color: #1AAB9E;
    text-decoration: none;
    font-size: 14px; /* Standard button text */
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.3rem 0.8rem;
    border: 1px solid #1AAB9E;
    border-radius: 4px;
    background: transparent;
}

.featured-view-link:hover {
    color: white;
    background: #1AAB9E;
    transform: translateY(-1px);
}

/* Featured Slider Navigation */
.featured-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.3rem;
    z-index: 3;
    pointer-events: none;
}

.featured-prev-btn, .featured-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 16px; /* Standard icon */
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.featured-prev-btn:hover, .featured-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Featured Slider Indicators */
.featured-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.8rem;
    padding: 0.3rem 0;
}

.featured-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.featured-indicator.active {
    background: #2F2D69;
    transform: scale(1.3);
    border-color: #1AAB9E;
}

.featured-indicator:hover {
    background: rgba(47, 45, 105, 0.6);
    transform: scale(1.2);
}

/* Resistance Martyrs Slider */
.resistance-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    padding: 0.5rem;
}

.resistance-slider-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.resistance-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.resistance-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.resistance-slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.resistance-martyr-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.resistance-martyr-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: #1AAB9E;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.resistance-martyr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1AAB9E;
}

.resistance-martyr-card:hover::before {
    opacity: 1;
}

.resistance-martyr-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1AAB9E;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.resistance-martyr-card:hover .resistance-martyr-image {
    transform: scale(1.05);
}

.resistance-martyr-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.resistance-martyr-name {
    color: #2c3e50;
    font-size: 15px; /* Standard text */
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-align: center;
}

.resistance-view-link {
    color: #1AAB9E;
    text-decoration: none;
    font-size: 14px; /* Standard button text */
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.3rem 0.8rem;
    border: 1px solid #1AAB9E;
    border-radius: 4px;
    background: transparent;
}

.resistance-view-link:hover {
    color: white;
    background: #1AAB9E;
    transform: translateY(-1px);
}

/* Resistance Slider Controls در main.css؛ دکمه‌ها کنار اندیکاتورها */
.resistance-prev-btn, .resistance-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 16px; /* Standard icon */
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.resistance-prev-btn:hover, .resistance-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Resistance Slider Indicators */
.resistance-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.8rem;
    padding: 0.3rem 0;
}

.resistance-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resistance-indicator.active {
    background: #2F2D69;
    transform: scale(1.3);
    border-color: #1AAB9E;
}

.resistance-indicator:hover {
    background: rgba(47, 45, 105, 0.6);
    transform: scale(1.2);
}

/* Commanders Slider */
.commanders-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.commanders-slider-container {
    position: relative;
    width: 100%;
}

.commanders-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.commanders-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.commanders-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.commander-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.commander-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: #1AAB9E;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.commander-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1AAB9E;
}

.commander-card:hover::before {
    opacity: 1;
}

.commander-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1AAB9E;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.commander-card:hover .commander-image {
    transform: scale(1.05);
}

.commander-info {
    flex: 1;
    min-width: 0;
}

.commander-name {
    color: #2c3e50;
    font-size: 15px; /* Standard text */
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    line-height: 1.3;
}

.commander-title {
    color: #666;
    font-size: 13px; /* Small text */
    margin: 0;
    font-weight: 400;
}

/* Commanders Slider Controls در main.css تعریف شده؛ دکمه‌ها کنار اندیکاتورها */
.commanders-prev-btn, .commanders-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px; /* Standard icon */
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.commanders-prev-btn:hover, .commanders-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Commanders Slider Indicators */
.commanders-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.commanders-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.commanders-indicator.active {
    background: #2F2D69;
    transform: scale(1.3);
    border-color: #1AAB9E;
}

.commanders-indicator:hover {
    background: rgba(47, 45, 105, 0.6);
    transform: scale(1.2);
}

/* Today Widget Sliders (تولد شهدای امروز / سالگرد شهادت امروز) — استایل مثل فرماندهان، هر سطر یک شهید، دو سطر در هر اسلاید */
.today-widget-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.today-widget-slider-container {
    position: relative;
    width: 100%;
}

.today-widget-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.today-widget-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.today-widget-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.today-widget-slider .commander-card {
    width: 100%;
}

.today-widget-slider .commander-name {
    white-space: normal;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ویجت امروز: دکمه‌ها کنار دایره‌ها (همان commanders-slider-controls در main) */
.today-widget-slider-controls.commanders-slider-controls .today-widget-slider-indicators {
    flex: 1;
    margin-top: 0;
}

/* Non-Iranian Martyrs Slider */
.non-iranian-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.non-iranian-martyrs-slider-container {
    position: relative;
    width: 100%;
}

.non-iranian-martyrs-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.non-iranian-martyrs-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.non-iranian-martyrs-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.non-iranian-martyr-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.non-iranian-martyr-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: #2F2D69;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.non-iranian-martyr-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #2F2D69;
}

.non-iranian-martyr-card:hover::before {
    opacity: 1;
}

.non-iranian-martyr-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2F2D69;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.non-iranian-martyr-card:hover .non-iranian-martyr-image {
    transform: scale(1.05);
}

.non-iranian-martyr-info {
    flex: 1;
    min-width: 0;
}

.non-iranian-martyr-name {
    color: #2c3e50;
    font-size: 15px; /* Standard text */
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    line-height: 1.3;
}

.non-iranian-martyr-title {
    color: #7f8c8d;
    font-size: 13px; /* Small text */
    margin: 0 0 0.1rem 0;
    font-weight: 400;
}

.non-iranian-martyr-country {
    color: #2F2D69;
    font-size: 14px; /* Standard text */
    margin: 0;
    font-weight: 500;
}

/* Non-Iranian Martyrs Slider Navigation */
.non-iranian-martyrs-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 3;
    pointer-events: none;
}

.non-iranian-martyrs-prev-btn, .non-iranian-martyrs-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-size: 18px; /* Standard icon */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.non-iranian-martyrs-prev-btn:hover, .non-iranian-martyrs-next-btn:hover {
    background: rgba(26, 171, 158, 0.9);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Non-Iranian Martyrs Slider Indicators */
.non-iranian-martyrs-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.non-iranian-martyrs-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.non-iranian-martyrs-indicator.active {
    background: #2F2D69;
    border-color: #1AAB9E;
    transform: scale(1.2);
}

/* Responsive Design for Sidebar */
@media (max-width: 1024px) {
    .sidebar {
        flex: 0 0 250px;
        min-width: 200px;
    }
    
    .sidebar-section h3 {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    .sidebar-section > *:not(h3):first-of-type {
        padding-top: 1.2rem;
    }
    .sidebar-section > *:not(h3) {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .sidebar-section > *:not(h3):last-of-type {
        padding-bottom: 1.2rem;
    }
    
    .special-categories li a {
        font-size: 14px; /* Standard link */
    }
    
    .supporters-list li {
        font-size: 13px; /* Small text */
    }
    
    .popular-link {
        font-size: 14px; /* Standard link */
        padding: 0.6rem 0.8rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        margin-left: 0.8rem;
    }
    
    .popular-link span {
        font-size: 14px; /* Standard link */
    }
}

@media (max-width: 768px) {
    .sidebar {
        flex: 1;
        min-width: auto;
        width: 100%;
    }
    
    .sidebar-right {
        width: 100%;
    }
    
    .sidebar-section h3 {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }
    .sidebar-section > *:not(h3):first-of-type {
        padding-top: 1rem;
    }
    .sidebar-section > *:not(h3) {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .sidebar-section > *:not(h3):last-of-type {
        padding-bottom: 1rem;
    }
    
    .special-categories li a {
        font-size: 13px; /* Standard link */
    }
    
    .supporters-list li {
        font-size: 12px; /* Small text */
    }
    
    .popular-link {
        font-size: 13px; /* Standard link */
        padding: 0.6rem 0.8rem;
    }
    
    .popular-link span {
        font-size: 13px; /* Standard link */
    }
    
    /* Martyrs Slider Responsive */
    .martyrs-slider-container {
        height: 240px;
    }
    
    .martyr-grid {
        gap: 0.2rem;
        padding: 0.1rem;
    }
    
    .martyr-card {
        padding: 0.2rem;
    }
    
    .martyr-name {
        font-size: 16px;
    }
    
    .martyrs-prev-btn, .martyrs-next-btn {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
    
    .martyrs-indicator {
        width: 6px;
        height: 6px;
    }
    
    .featured-slider-container {
        height: 160px;
    }
    
    .featured-martyr-card {
        max-width: 200px;
        padding: 0.8rem;
    }
    
    .featured-martyr-image {
        width: 60px;
        height: 60px;
    }
    
    .featured-martyr-name {
        font-size: 23px;
    }
    
    .featured-view-link {
        font-size: 19px;
        padding: 0.25rem 0.6rem;
    }
    
    /* Resistance Slider Responsive */
    .resistance-slider-container {
        height: 160px;
    }
    
    .resistance-martyr-card {
        max-width: 200px;
        padding: 0.8rem;
    }
    
    .resistance-martyr-image {
        width: 60px;
        height: 60px;
    }
    
    .resistance-martyr-name {
        font-size: 23px;
    }
    
    .resistance-view-link {
        font-size: 19px;
        padding: 0.25rem 0.6rem;
    }
    
    .commander-card {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .commander-image {
        width: 40px;
        height: 40px;
    }
    
    .commander-name {
        font-size: 21px;
    }
    
    .commander-title {
        font-size: 18px;
    }
    
    .commanders-prev-btn, .commanders-next-btn {
        width: 25px;
        height: 25px;
        font-size: 20px;
    }
    
    .commanders-indicator {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    /* Martyrs Slider Extra Small Screens */
    .martyrs-slider-container {
        height: 200px;
    }
    
    .martyr-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.2rem;
        padding: 0.15rem;
    }
    
    .martyr-card {
        padding: 0.15rem;
    }
    
    .martyr-image {
        height: 50%;
    }
    
    .martyr-name {
        font-size: 15px;
        height: 50%;
    }
    
    .martyrs-prev-btn, .martyrs-next-btn {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }
    
    .martyrs-indicator {
        width: 5px;
        height: 5px;
    }
    
    .commander-card {
        padding: 0.6rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .commander-image {
        width: 35px;
        height: 35px;
    }
    
    .commander-name {
        font-size: 13px; /* Small text */
    }
    
    .commander-title {
        font-size: 12px; /* Very small text */
    }
    
    .commanders-slider-controls {
        padding: 0 0.2rem;
    }
    
    .commanders-prev-btn, .commanders-next-btn {
        width: 20px;
        height: 20px;
        font-size: 18px;
    }
}

/* ویجت ثبت‌نام راویان و خادم الشهدا */
.sidebar-register-widget .sidebar-register-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sidebar-register-widget .sidebar-register-links li {
    margin: 0;
}

.sidebar-register-widget .sidebar-register-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-register-widget .sidebar-register-link::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 4px 0 0 4px;
}

[dir="rtl"] .sidebar-register-widget .sidebar-register-link::before {
    border-radius: 0 4px 4px 0;
}

.sidebar-register-widget .sidebar-register-link:hover {
    color: var(--primary);
    border-color: rgba(26, 171, 158, 0.35);
    background: rgba(26, 171, 158, 0.06);
    box-shadow: 0 4px 12px rgba(26, 171, 158, 0.12);
    transform: translateY(-1px);
}

.sidebar-register-widget .sidebar-register-link:hover::before {
    opacity: 1;
}

.sidebar-register-widget .sidebar-register-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(26, 171, 158, 0.15) 0%, rgba(26, 171, 158, 0.08) 100%);
    color: var(--primary);
    transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-register-widget .sidebar-register-link:hover .sidebar-register-icon {
    background: linear-gradient(135deg, rgba(26, 171, 158, 0.25) 0%, rgba(26, 171, 158, 0.15) 100%);
    transform: scale(1.05);
}

.sidebar-register-widget .sidebar-register-icon i {
    font-size: 1rem;
}

.sidebar-register-widget .sidebar-register-text {
    flex: 1;
    line-height: 1.35;
}

.sidebar-register-widget .sidebar-register-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sidebar-register-widget .sidebar-register-link:hover .sidebar-register-arrow {
    color: var(--primary);
    opacity: 1;
    transform: translateX(-3px);
}

[dir="rtl"] .sidebar-register-widget .sidebar-register-link:hover .sidebar-register-arrow {
    transform: translateX(3px);
}
