/* ============================================
   CRUISE LINES INDEX PAGE
   Liste des compagnies de croisières
   ============================================ */

.cruise-lines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cruise-line-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.cruise-line-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cruise-line-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cruise-line-card-header {
    height: 150px;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cruise-line-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cruise-line-icon {
    font-size: 64px;
    color: #cbd5e0;
}

.cruise-line-card-content {
    padding: 1.5rem;
}

.cruise-line-card-content h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    color: #2d3748;
    font-weight: 600;
}

/* Badges de catégorie */
.cruise-line-card .badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cruise-line-card .badge-luxury {
    background: #fef5e7;
    color: #d4af37;
}

.cruise-line-card .badge-premium {
    background: #edf2f7;
    color: #667eea;
}

.cruise-line-card .badge-contemporary {
    background: #ebf8ff;
    color: #4299e1;
}

.cruise-line-card .badge-river {
    background: #f0fff4;
    color: #48bb78;
}

.cruise-line-card .badge-expedition {
    background: #fffaf0;
    color: #ed8936;
}

.cruise-line-card-content p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    body:has(.cruise-lines-grid) .user-account-bar {
        top: 143px;
    }

    body:has(.cruise-lines-grid) .user-account-bar.sticky-scrolled {
        top: 15px;
    }

    body:has(.cruise-lines-grid) .share-bar {
        top: -9px;
    }

    body:has(.cruise-lines-grid) .share-bar.sticky-scrolled {
        top: -138px;
    }

    body:has(.cruise-lines-grid) h1 {
        margin-top: 50px;
    }

    .cruise-lines-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
