/* ==========================================
   RESEARCH PAGE SPECIFIC STYLES
   ========================================== */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../img/Hands.webp');
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
    padding: 200px 20px 120px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

/* Research Section */
.research-section {
    padding: 80px 0;
    background: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--theme-2);
}

/* Categories Filter */
.categories-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    color: var(--theme-2);
    border: 1px solid var(--theme-5);
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--theme-1);
    color: var(--white);
    border-color: var(--theme-1);
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.research-card {
    background: var(--white);
    border: 1px solid var(--theme-5);
    padding: 20px 25px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.research-card:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-color: var(--theme-1);
    transform: translateY(-2px);
}

.research-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

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

.research-info h3 {
    font-family: 'Noto Serif', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--theme-0);
    margin-bottom: 5px;
    line-height: 1.4;
}

.research-info .meta {
    font-size: 12px;
    color: var(--theme-1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.research-info p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--theme-2);
    margin: 0;
}

.research-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    justify-content: flex-end;
}

.research-btn {
    padding: 10px 18px;
    background: var(--theme-1);
    color: var(--white);
    text-decoration: none;
    font-family: 'Heebo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--theme-1);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.research-btn:hover {
    background: var(--theme-0);
    border-color: var(--theme-0);
    color: var(--white);
}

.research-btn.secondary {
    background: transparent;
    color: var(--theme-1);
}

.research-btn.secondary:hover {
    background: var(--theme-1);
    color: var(--white);
}

/* ==========================================
   RESEARCH PAGE RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .page-header {
        padding: 150px 20px 100px;
        background-attachment: scroll;
    }

    .research-actions {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 120px 15px 80px;
        background-attachment: scroll;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .categories-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .research-card {
        grid-template-columns: 1fr;
        padding: 20px;
        text-align: center;
    }

    .research-icon {
        margin: 0 auto;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .research-actions {
        flex-direction: column;
        width: 100%;
    }

    .research-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   RTL SUPPORT
   ========================================== */

[dir="rtl"] .research-card {
    direction: rtl;
}

[dir="rtl"] .research-actions {
    justify-content: flex-start;
}

[dir="rtl"] .research-info .meta {
    text-align: right;
}

[dir="rtl"] .categories-filter {
    direction: rtl;
}