        /* Setări generale */
        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 60px 20px;
            font-family: Arial, sans-serif;
        }

        /* Grid-ul pentru autosanitare */
        .dotari-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            justify-content: center;
        }

        /* Stilul cardului */
        .amb-card {
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid #f1f5f9;
        }

        .amb-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }

        /* Imaginea ambulanței */
        .amb-img-container {
            width: 100%;
            height: 220px;
            background-color: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            border-bottom: 3px solid #e53e3e; /* Linie roșie de accent */
        }

        .amb-img-container img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .amb-card:hover .amb-img-container img {
            transform: scale(1.05); /* Efect de mărire ușoară a pozei la hover */
        }

        /* Conținutul text al cardului */
        .amb-info {
            padding: 25px 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        /* Eticheta tipului de ambulanță (A1, B, C) */
        .amb-badge {
            align-self: flex-start;
            background-color: #3b82f6; /* Albastru deschis */
            color: white;
            font-size: 0.85rem;
            font-weight: bold;
            padding: 5px 12px;
            border-radius: 20px;
            margin-bottom: 12px;
            text-transform: uppercase;
        }

        /* Badge special pentru terapie intensivă mobilă (Tip C2) */
        .badge-c2 {
            background-color: #e53e3e; /* Roșu */
        }

        .amb-title {
            font-size: 1.3rem;
            color: #1a365d;
            font-weight: 800;
            margin: 0 0 10px 0;
        }

        .amb-desc {
            font-size: 0.95rem;
            color: #4a5568;
            line-height: 1.5;
            margin: 0;
        }
        /* Containerul foto - acum știe să alinieze și o imagine, și două */
.amb-img-container {
    width: 100%;
    height: 75%;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Adaugă spațiu fin între imagini dacă sunt mai multe */
    padding: 15px;
    border-bottom: 3px solid #e53e3e; /* Linie roșie de accent */
    box-sizing: border-box;
}

/* Imaginile se vor scala perfect indiferent de numărul lor */
.amb-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    flex: 1 1 0; /* Împarte spațiul în mod egal dacă sunt 2 imagini */
    min-width: 0; /* Previne forțarea layout-ului pe mobil */
    transition: transform 0.3s ease;
}

.amb-card:hover .amb-img-container img {
    transform: scale(1.03); /* Efect discret de zoom la hover */
}