/* Useful Links Page Specific Styles */

.rid-menubar ul li a {
    font-size: 15px !important;
    margin-right: 20px !important;
}

.links-container {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: 100vh;
    padding: 60px 0;
}

.main-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #F3364F, #d12a3f);
    border-radius: 2px;
}

.links-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(243, 54, 79, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.links-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(243, 54, 79, 0.15);
}

.card-header-custom {
    background: linear-gradient(135deg, #F3364F 0%, #d12a3f 100%);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
    text-align: center;
}

.header-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.card-body-custom {
    padding: 2.5rem;
    background: white;
}

.link-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.link-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.link-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #F3364F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(243, 54, 79, 0.2);
}

.link-content {
    flex-grow: 1;
}

.link-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.link-content h4 a {
    color: #F3364F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-content h4 a:hover {
    color: #d12a3f;
    text-decoration: underline;
}

.link-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .links-container {
        padding: 30px 0;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .card-body-custom {
        padding: 1.5rem;
    }

    .link-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .link-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .link-content h4 {
        font-size: 1.1rem;
    }

    .link-content p {
        font-size: 0.9rem;
    }
}
