/* =============================================
   Learning Isn't Linear - Papers Page Styles
   ============================================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ==================== HEADER (same as product/contact pages) ==================== */
header {
    background: #222;
    padding: 8px 0;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.logo-container img {
    height: 38px;
    width: auto;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: #0077cc;
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-bottom: 1px solid #eee;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    color: #222;
}

/* ==================== REPOSITORY / PAPER CARDS ==================== */
.repository-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}

.repository-container h2 {
    color: #222;
    font-size: 22px;
    border-bottom: 2px solid #0077cc;
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.paper-card {
    background: white;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paper-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.paper-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.paper-title:hover {
    color: #0077cc;
}

.paper-meta {
    font-size: 14px;
    color: #666;
}

.action-group {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-download {
    background-color: #f0f7ff;
    color: #0077cc;
}

.btn-download:hover {
    background-color: #0077cc;
    color: white;
}

.btn-link {
    background-color: #f5f5f5;
    color: #555;
}

.btn-link:hover {
    background-color: #e5e5e5;
    color: #222;
}

/* ==================== FOOTER ==================== */
footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 25px 20px;
    margin-top: 60px;
}

.footer-nav {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-nav a {
    color: #aaa;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #0077cc;
}