/*
 * RTU Blue Category Homepage Styles
 * Applies blue theme and category grid layout for homepage
 */

.rtu-category-hero {
    background: linear-gradient(135deg, #0b5fff 0%, #00c2ff 100%);
    color: #ffffff;
    padding: 80px 24px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 48px;
}

.rtu-category-hero h1 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 16px;
}

.rtu-category-hero p {
    color: #e8f0ff;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.rtu-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 0 48px 0;
}

.rtu-category-card {
    background: #ffffff;
    border: 1px solid #d0e0ff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 16px rgba(11, 95, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.rtu-category-card:hover {
    transform: translateY(-6px);
    border-color: #0b5fff;
    box-shadow: 0 12px 32px rgba(11, 95, 255, 0.18);
}

.rtu-category-card h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.rtu-category-card h2 a {
    color: #0b5fff;
    text-decoration: none;
}

.rtu-category-card h2 a:hover {
    color: #0047cc;
}

.rtu-category-card .category-count {
    background: #e7f0ff;
    color: #0b5fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.rtu-category-card .category-description {
    color: #4a6080;
    font-size: 14px;
    margin-top: 8px;
}

.rtu-category-hero .cta-button {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 32px;
    background: #ffffff;
    color: #0b5fff;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
}

.rtu-category-hero .cta-button:hover {
    background: #e7f0ff;
    color: #0047cc;
}

@media (max-width: 782px) {
    .rtu-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rtu-category-hero {
        padding: 48px 16px;
    }
}
