/* تنسيقات خاصة بصفحة المقالات */

/* الهيرو */
.articles-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.articles-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.1)" d="M50,10 C67.5,10 82,24.5 82,42 C82,59.5 67.5,74 50,74 C32.5,74 18,59.5 18,42 C18,24.5 32.5,10 50,10 Z"/></svg>');
    background-repeat: no-repeat;
}

.articles-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.articles-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat .label {
    font-size: 1rem;
    opacity: 0.9;
}

/* شريط البحث والتصفية */
.articles-filter {
    background: var(--white);
    padding: 40px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.search-bar {
    max-width: 1000px;
    margin: 0 auto 30px;
}

.search-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 5px 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.search-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.search-input i {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-left: 10px;
}

.search-input input {
    flex: 1;
    border: none;
    padding: 15px 10px;
    font-size: 1rem;
    background: transparent;
    text-align: right;
}

.search-input input:focus {
    outline: none;
}

.btn-clear {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.btn-clear:hover {
    color: var(--primary-color);
}

.search-advanced {
    background: var(--secondary-color);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 15px;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.advanced-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.advanced-options select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
}

.btn-toggle-advanced {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px auto;
    transition: var(--transition);
}

.btn-toggle-advanced:hover {
    color: var(--primary-dark);
}

/* الفئات الرئيسية */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto 25px;
}

.category-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.category-card.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 2rem;
}

/* التصفية الفرعية */
.sub-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.filter-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
}

.tags-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tag.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-length select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* قائمة المقالات */
.articles-list {
    padding: 60px 20px;
    background: var(--secondary-color);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.list-header h2 {
    color: var(--primary-color);
}

.view-options {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 5px;
    border-radius: var(--radius-sm);
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.view-btn:hover {
    color: var(--primary-color);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
}

/* نمط Grid للمقالات */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-badge.spiritual {
    background: #dbeafe;
    color: #1e40af;
}

.category-badge.health {
    background: #dcfce7;
    color: #166534;
}

.category-badge.family {
    background: #fef3c7;
    color: #92400e;
}

.category-badge.fiqh {
    background: #ede9fe;
    color: #5b21b6;
}

.category-badge.quran {
    background: #fce7f3;
    color: #9d174d;
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-light);
}

.article-stats {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* نمط List للمقالات */
.articles-list-view {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.article-list-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.article-list-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
}

.list-item-image {
    width: 200px;
    height: 150px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.list-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.list-item-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.list-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* الترحيل */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.page-number:hover {
    background: var(--secondary-color);
}

.page-number.active {
    background: var(--primary-color);
    color: white;
}

/* المقال المميز */
.featured-article {
    background: var(--white);
    padding: 80px 20px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.featured-header h2 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.featured-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.read-time {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.featured-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-details .article-title {
    font-size: 1.8rem;
}

.featured-details .article-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* كتّاب المقالات */
.article-authors {
    background: var(--secondary-color);
    padding: 60px 20px;
}

.article-authors h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.authors-slider {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    flex: 1;
}

.author-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.author-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.author-name-large {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.author-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-stat .number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.author-stat .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* مقالات مقترحة */
.suggested-articles {
    background: var(--white);
    padding: 60px 20px;
}

.suggested-articles h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.suggested-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.suggested-card {
    background: var(--secondary-color);
    border-radius: var(--radius);
    padding: 25px;
    transition: var(--transition);
    cursor: pointer;
}

.suggested-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.suggested-card:hover * {
    color: white;
}

.suggested-category {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.8;
}

.suggested-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.suggested-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* المدونة المباشرة */
.live-blog {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 20px;
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.live-header h2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.live-posts {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 30px;
    padding-right: 10px;
}

.live-post {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.post-content {
    line-height: 1.6;
}

.live-input {
    display: flex;
    gap: 15px;
}

.live-input textarea {
    flex: 1;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    resize: vertical;
    min-height: 60px;
}

.live-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* الاقتباسات اليومية */
.daily-quotes {
    background: var(--white);
    padding: 60px 20px;
}

.daily-quotes h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.quote-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius);
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-left: 5px solid var(--primary-color);
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
}

.quote-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.btn-icon:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* الإحصائيات */
.articles-stats {
    background: var(--secondary-color);
    padding: 60px 20px;
}

.articles-stats h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stats-chart {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

/* النشرة الإخبارية */
.newsletter-section {
    background: var(--white);
    padding: 60px 20px;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    color: white;
}

.newsletter-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-content p {
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.newsletter-image {
    position: relative;
    overflow: hidden;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* نموذج المقال */
.article-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    background: var(--white);
    border-radius: var(--radius);
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.article-full-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-full-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-full-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.article-full-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-full-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 20px 0;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.article-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 1024px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-card {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        height: 95vh;
    }
}

@media (max-width: 768px) {
    .articles-hero h1 {
        font-size: 2.2rem;
    }
    
    .sub-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-list-item {
        flex-direction: column;
    }
    
    .list-item-image {
        width: 100%;
        height: 200px;
    }
    
    .authors-slider {
        flex-direction: column;
    }
    
    .quote-card {
        padding: 30px 20px;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .newsletter-content {
        padding: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pagination {
        flex-direction: column;
    }
    
    .modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
}