/* EXPEDITIONS.CSS */

.expeditions-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    margin-top: 50px;
    padding: clamp(2.5rem, 4vw, 3rem) 0 clamp(2rem, 3vw, 2.5rem) 0;
    min-height: auto;
}

.expeditions-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.page-title {
    margin-bottom: 0.2rem !important;
}

.page-subtitle {
    margin-bottom: 0.3rem !important;
}

.expeditions-grid {
    display: grid;
    grid-template-columns: repeat(4, 320px);
    gap: 2rem;
    justify-content: start;
    margin-top: clamp(1.5rem, 2vw, 2rem);
}

.expedition-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.expedition-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.expedition-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.expedition-image {
    position: relative;
    width: 100%;
    aspect-ratio: 210 / 297;
    overflow: hidden;
    background: #f0f0f0;
}

.expedition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.expedition-item:hover .expedition-image img {
    transform: scale(1.02);
}

.expedition-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expedition-item:hover .expedition-overlay {
    opacity: 1;
}

.expedition-overlay i {
    font-size: 2rem;
    color: white;
}

.expedition-content {
    padding: 1.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.expedition-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #1a3009;
    font-weight: 600;
    line-height: 1.2;
}

.expedition-type {
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 0;
    margin-top: 0.1rem;
    font-weight: 500;
    line-height: 1.2;
}

.expedition-date {
    font-size: 0.85rem;
    color: #7f9b4d;
    margin-bottom: 0.5rem;
    margin-top: 0.1rem;
    font-weight: 500;
    line-height: 1.2;
}

.expedition-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    text-align: justify;
    flex-grow: 1;
}

.expedition-button {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding: 0;
    background: transparent;
    color: #7f9b4d;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    width: fit-content;
    transition: color 0.3s ease;
    align-self: flex-end;
    text-decoration: underline;
}

.expedition-item:hover .expedition-button {
    color: #6d8540;
}

@media (max-width: 1200px) {
    .expeditions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1000px;
    }
}

@media (max-width: 900px) {
    .expeditions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 700px;
    }
}

@media (max-width: 750px) {
    .expeditions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
        margin-top: clamp(1.5rem, 2vw, 2rem);
    }

    .expedition-content {
        padding: 1rem;
    }

    .expedition-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .expeditions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
        margin-top: clamp(1.5rem, 2vw, 2rem);
        padding: 0 1rem;
    }

    .hero-content {
        margin-bottom: 1.5rem;
    }

    .expedition-content {
        padding: 0.75rem;
    }

    .expedition-content h3 {
        font-size: 1rem;
    }

    .expedition-type {
        font-size: 0.85rem;
    }

    .expedition-date {
        font-size: 0.75rem;
    }

    .expedition-description {
        font-size: 0.85rem;
    }

    .expedition-button {
        font-size: 0.75rem;
    }
}