

/* ===================== */
/* DISTRIBUCIÓ GENERAL */
/* ===================== */
.modelEquip {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    padding-top: 0;
        padding-bottom: 0;

    flex-wrap: wrap;
    justify-content: center;
}

/* ===================== */
/* FOTO GRAN ESQUERRA (60%) */
/* ===================== */
.model1 {
    flex: 1 1 60%;
    max-width: 60%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.ApartatX4 {
    width: 100%;
    position: relative;
    border-radius: 12px;
}

.fotoGran {

}

.plantillaFoto {
    width: 100%;
    min-height: 60vh;
    display: block;
    border-radius: 12px;
    object-fit: contain; /* 🔁 Mostra la imatge sencera */
}

.text-over-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fbfdfd;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}


/* Títol sota la imatge */
.model1 h3 {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    color: #003366;
      -webkit-text-stroke: 0.7px rgb(26, 70, 104); /* línea fina alrededor */

}

/* ===================== */
/* BLOCS DRETA (40%) */
/* ===================== */
.model2 {
    flex: 1 1 35%;
    max-width: 35%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Agrupació de dos blocs per fila */
.Apartat {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Cada bloc funcional */
.MedioA {
    flex: 1;
    background-color: #ffffff;
    border: 2px solid #a7b8cb;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.MedioA:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.MedioA button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s;
    width: 100%;
}

.MedioA button:hover {
    background-color: #001f4d;
}

.MedioA img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 0.5rem;
}

/* Porteros Especial */
.logosPorters {
    display: flex;
    justify-content: flex-end; /* Alinea a la dreta */
    gap: 1rem;
    margin-top: 0.5rem;
    width: 100%;
}

.logoPorter1 {
    height: 5rem;
    width: 5rem;
}
.logoPorter2 {
    height: 4rem;
    width: 4rem;
}
.h3SenseMargin {
    margin: 0;
}

.text-over-image img.logoPorter2 {
    height: 4rem;       /* més petit */
    width: auto;        /* manté proporcions */
    margin-left: 0.5rem;
    vertical-align: middle;
    display: inline-block;
}


.titol-noticies {
    color: #003366;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.titol-noticies {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

