.elementor-2207 .elementor-element.elementor-element-8539d43{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:59px;--padding-left:0px;--padding-right:0px;}.elementor-2207 .elementor-element.elementor-element-8539d43:not(.elementor-motion-effects-element-type-background), .elementor-2207 .elementor-element.elementor-element-8539d43 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-widget-image-gallery .gallery-item .gallery-caption{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-item{padding:0 0px 0px 0;}.elementor-2207 .elementor-element.elementor-element-82195fa .gallery{margin:0 -0px -0px 0;}.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-item img{border-radius:20px 20px 20px 20px;}.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-item .gallery-caption{text-align:center;}.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-item{padding:0 15px 15px 0;}.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery{margin:0 -15px -15px 0;}.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-item img{border-radius:20px 20px 20px 20px;}.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-item .gallery-caption{text-align:center;}/* Start custom CSS for image-gallery, class: .elementor-element-82195fa *//* 1. Contentor da Grelha - Forçar alinhamento no topo */
.elementor-2207 .elementor-element.elementor-element-82195fa .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    align-items: stretch; /* Garante que os cartões da mesma linha têm a mesma altura */
}

/* 2. O Cartão */
.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-item {
    flex: 0 1 calc(33.333% - 25px);
    margin: 0 !important;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 3. A FOTO - O segredo para acabar com a "escada" */
.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-icon {
    width: 100%;
    height: 220px; /* Altura fixa para alinhar todos os cartões */
    overflow: hidden;
    background: #f8f9fa; /* Fundo neutro caso a imagem demore a carregar */
}

.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* Corta as bordas da foto mas NÃO deforma as pessoas */
    object-position: center 20%; /* Foca um pouco mais acima do centro (onde costumam estar as caras) */
}

/* 4. A Legenda */
.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-caption {
    padding: 15px !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    flex-grow: 1; /* Faz o fundo branco preencher o cartão até ao fim */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 5. O Prémio */
.elementor-2207 .elementor-element.elementor-element-82195fa .gallery-caption strong {
    display: block;
    color: #dfb326;
    margin-top: 5px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .elementor-2207 .elementor-element.elementor-element-82195fa .gallery-item {
        flex: 0 1 calc(50% - 20px); /* 2 colunas no tablet */
    }
    .elementor-2207 .elementor-element.elementor-element-82195fa .gallery-icon { height: 180px; }
}
@media (max-width: 480px) {
    .elementor-2207 .elementor-element.elementor-element-82195fa .gallery-item { flex: 0 1 100%; }
}/* End custom CSS */
/* Start custom CSS for image-gallery, class: .elementor-element-4fd73b0 *//* 1. Contentor da Grelha - Forçar alinhamento no topo */
.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    align-items: stretch; /* Garante que os cartões da mesma linha têm a mesma altura */
}

/* 2. O Cartão */
.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-item {
    flex: 0 1 calc(33.333% - 25px);
    margin: 0 !important;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 3. A FOTO - O segredo para acabar com a "escada" */
.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-icon {
    width: 100%;
    height: 220px; /* Altura fixa para alinhar todos os cartões */
    overflow: hidden;
    background: #f8f9fa; /* Fundo neutro caso a imagem demore a carregar */
}

.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* Corta as bordas da foto mas NÃO deforma as pessoas */
    object-position: center 20%; /* Foca um pouco mais acima do centro (onde costumam estar as caras) */
}

/* 4. A Legenda */
.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-caption {
    padding: 15px !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    flex-grow: 1; /* Faz o fundo branco preencher o cartão até ao fim */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 5. O Prémio */
.elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-caption strong {
    display: block;
    color: #dfb326;
    margin-top: 5px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-item {
        flex: 0 1 calc(50% - 20px); /* 2 colunas no tablet */
    }
    .elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-icon { height: 180px; }
}
@media (max-width: 480px) {
    .elementor-2207 .elementor-element.elementor-element-4fd73b0 .gallery-item { flex: 0 1 100%; }
}/* End custom CSS */