/* Logo Link */
.logo-link {
    color: inherit;
    text-decoration: none;
}

/* Research Page Specific Styles */
.research-page {
    min-height: 100vh;
}

.research-page .container {
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.research-hero {
    margin-bottom: 4rem;
}

.hero-page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.papers-section {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 4rem;
    align-items: stretch;
}

.paper-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    flex-direction: column;
}

.paper-date {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.paper-item-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.paper-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.paper-link:hover {
    color: var(--accent-blue);
}

.paper-link:active {
    color: var(--accent-blue);
    opacity: 0.8;
}

.paper-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
}

.paper-item-description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0;
    flex-grow: 1;
}

.paper-item .cta-button {
    margin-top: 1.5rem;
    align-self: flex-start;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.back-link:hover {
    color: var(--text-light);
}

.back-link:active {
    color: var(--text-light);
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .research-page .container {
        padding: 12rem 2rem 3rem;
    }

    .research-hero {
        margin-bottom: 3rem;
    }

    .hero-page-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }

    .papers-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .paper-item-title {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .paper-item-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .paper-tags {
        gap: 0.4rem;
        margin-bottom: 0.875rem;
    }

    .tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
    }

    .back-section {
        margin-top: 2rem;
    }

    .back-link {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .research-page .container {
        padding: 10rem 1.5rem 2rem;
    }

    .research-hero {
        margin-bottom: 2.5rem;
    }

    .hero-page-title {
        font-size: 1.75rem;
        letter-spacing: -0.02em;
    }

    .papers-section {
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .paper-date {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }

    .paper-item-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .paper-item-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .paper-tags {
        gap: 0.35rem;
        margin-bottom: 0.75rem;
    }

    .tag {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
    }

    .back-link {
        font-size: 0.75rem;
        padding: 0.75rem 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .paper-link {
        padding: 0.25rem 0;
    }

    .back-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .research-page .container {
        padding: 10rem 2rem 2rem;
    }

    .research-hero {
        margin-bottom: 2rem;
    }

    .hero-page-title {
        font-size: 2rem;
    }

    .papers-section {
        gap: 2rem;
    }
}
