/* Import de la police Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    padding: 2rem;
}

/* Couleurs par continent */
.card-france     { background-color: #f7f7ff; border-left: 5px solid #007bff; }
.card-afrique    { background-color: #fffaf0; border-left: 5px solid #d4a017; }
.card-ameriques  { background-color: #f0f8f8; border-left: 5px solid #28a745; }
.card-asie       { background-color: #fff0f5; border-left: 5px solid #dc3545; }
.card-europe     { background-color: #f7f7f7; border-left: 5px solid #6c757d; }
.card-oceanie    { background-color: #e6f7ff; border-left: 5px solid #17a2b8; }
.card-disparus   { background-color: #eee;    border-left: 5px solid #343a40; }

/* Carte principale */
.card-stamp {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
    padding: 1rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-stamp:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Contenu encadré */
.card-stamp-content {
    width: 100%;
    color: #333;
    flex-grow: 1;
}

.card-stamp-frame {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Titre avec miniature */
.card-stamp-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.card-stamp-miniature {
    width: auto;
    height: 40px;
    max-width: 60px;
    object-fit: cover; /* Affiche l’image entière sans la rogner */
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    flex-shrink: 0;
}


/* Titres et paragraphes */
.card-stamp-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.card-stamp-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    color: #555;
    margin-bottom: 0.75rem;
}

    .card-stamp-frame {
        padding: 0.75rem;
    }

    .card-stamp-title-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .card-stamp-miniature {
        width: 32px;
        height: 32px;
    }

    .card-stamp h2 {
        font-size: 1.1rem;
    }

    .card-stamp p {
        font-size: 0.85rem;
    }



