/**
 * Flag Card Component Styles
 * Side-by-side image and text promotional cards
 */

.flag-card {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.flag-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.flag-card-image-container {
    position: relative;
    flex: 0 0 300px;
    min-height: 250px;
    background-color: #4f2723;
    overflow: hidden;
}

.flag-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.flag-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.flag-card-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flag-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333333;
}

.flag-card-dates {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4f2723;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flag-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 1rem;
}

.flag-card-description p {
    margin-bottom: 0.75rem;
}

.flag-card-description p:last-child {
    margin-bottom: 0;
}

.flag-card-exclusions {
    font-size: 0.875rem;
    font-style: italic;
    color: #777777;
    margin-top: 0.5rem;
}

.flag-card-button {
    display: inline-block;
    background-color: #4f2723;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.flag-card-button:hover {
    background-color: #3d1f1a;
    color: #ffffff;
}

.flag-card-button:visited {
    color: #ffffff;
}

.flag-card-button:active,
.flag-card-button:focus {
    color: #ffffff;
}

/* Responsive layout */
@media screen and (max-width: 968px) {
    .flag-card {
        flex-direction: column;
    }

    .flag-card-image-container {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .flag-card-content {
        padding: 1.5rem;
    }

    .flag-card-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .flag-card-image-container {
        flex: 0 0 150px;
        min-height: 150px;
    }

    .flag-card-content {
        padding: 1rem;
    }

    .flag-card-title {
        font-size: 1.25rem;
    }

    .flag-card-description {
        font-size: 0.875rem;
    }
}

/* Container for multiple flag cards */
.flag-cards-container {
    margin-bottom: 2rem;
}
