/* =========================================
   Academic Module Styles (Vision, Wiki, Insights)
========================================= */

/* --- academic-vision.html --- */
.roadmap-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg, 12px);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.roadmap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.roadmap-card h3 {
    color: #111;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.roadmap-card p {
    color: #666;
}

@media (min-width: 769px) {
    .vm-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- academic-wiki.html --- */
.wiki-search-container {
    max-width: 600px;
    margin: -30px auto 3rem;
    position: relative;
    z-index: 10;
}

.wiki-search-box {
    display: flex;
    background: #fff;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.wiki-search-box input {
    flex: 1;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.wiki-search-box button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.wiki-search-box button:hover {
    background: var(--secondary-color);
}

.wiki-alphabet {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 4rem;
}

.wiki-alphabet a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.wiki-alphabet a:hover {
    background: var(--primary-color);
    color: #fff;
}

.wiki-category-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.wiki-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.wiki-category-card h3 {
    color: #222;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.wiki-category-card p.desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    min-height: 48px;
}

.wiki-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wiki-category-card ul li {
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.75rem;
}

.wiki-category-card ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wiki-category-card ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.wiki-category-card ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.trending-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 1.5rem;
}

.trending-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.trending-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.trending-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.trending-card p {
    margin-bottom: 0;
    color: #555;
}

@media(max-width: 768px) {
    .trending-card {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* --- academic-insights.html --- */
.insight-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg, 12px);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.insight-card h3 {
    color: var(--color-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.insight-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.insight-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(0, 209, 112, 0.1);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}