/* -----------------------------------------------------------
   ARCHIVE WRAPPER
----------------------------------------------------------- */
.boats-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* -----------------------------------------------------------
   GRID
----------------------------------------------------------- */
.boat-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .boat-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .boat-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .boat-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------
   CARD
----------------------------------------------------------- */
.boat-card {
    display: block;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border-light);
}

.boat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* -----------------------------------------------------------
   IMAGE
----------------------------------------------------------- */
.boat-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.boat-card-placeholder {
    width: 100%;
    height: 200px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

/* -----------------------------------------------------------
   TITLE
----------------------------------------------------------- */
.boat-card-title {
    font-size: 18px;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

/* -----------------------------------------------------------
   DARK MODE SUPPORT
----------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
    .boat-card {
        background: #1f1f1f;
        border-color: #333;
        color: #eee;
    }

    .boat-card-title {
        color: #fff;
    }

    .boat-card-placeholder {
        background: #444;
        color: #ccc;
    }
}