.fpm-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    font-family: "Psik Sans", sans-serif;
}

/* --- Filtros de data --- */
.fpm-data-filtros {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.fpm-select-wrap {
    position: relative;
}

.fpm-select {
    appearance: none;
    -webkit-appearance: none;
    padding: .45rem 2.2rem .45rem 1rem;
    border: 1px solid #9EC1D2;
    border-radius: 50px;
    background: transparent;
    color: #9EC1D2;
    font-size: .9rem;
    font-family: "Psik Sans", sans-serif;
    font-weight: 300;
    cursor: pointer;
    transition: all .2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239EC1D2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
}

.fpm-select:hover,
.fpm-select:focus {
    background-color: #9EC1D2;
    color: #fff;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E");
}

.fpm-select:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ccc'/%3E%3C/svg%3E");
}

.fpm-select option {
    color: #333;
    background: #fff;
}

/* --- Filtros taxonomy --- */
.fpm-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.fpm-filtro {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #9EC1D2;
    border-radius: 50px;
    text-decoration: none;
    color: #9EC1D2;
    font-size: .9rem;
    font-family: "Psik Sans", sans-serif;
    font-weight: 300;
    background: transparent;
    transition: all .2s;
}

.fpm-filtro:hover {
    background: #9EC1D2;
    color: #fff;
}

.fpm-filtro--ativo {
    background: #9EC1D2;
    color: #fff;
    border-color: #9EC1D2;
}

/* --- Lista de formações --- */
.fpm-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* --- Card individual --- */
.fpm-card {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 1.25rem;
    background: #f5f5f5;
    transition: background .2s;
}

.fpm-card:nth-child(even) {
    background: #fff;
}

.fpm-card:hover {
    background: #eef5f9;
}

@media (max-width: 768px) {
    .fpm-card { grid-template-columns: 1fr; gap: .5rem; }
    .fpm-data-filtros { flex-direction: column; align-items: center; }
    .fpm-card__data { text-align: left; white-space: normal; }
}

/* Tipo de formação */
.fpm-card__tipo {
    font-size: 20px;
    color: #9EC1D2;
    font-weight: 200;
    font-family: "Psik Sans", sans-serif;
    text-align: center;
}

/* Título */
.fpm-wrapper .fpm-card .fpm-card__titulo.elementor-heading-title {
    margin: 0 !important;
    text-align: center !important;
    line-height: 32px !important;
    font-size: 32px !important;
    font-weight: 200 !important;
    font-family: "Psik Sans", sans-serif !important;
}

.fpm-wrapper .fpm-card .fpm-card__titulo.elementor-heading-title a {
    font-size: 32px !important;
    font-weight: 200 !important;
    font-family: "Psik Sans", sans-serif !important;
    color: #5E5E5E !important;
    text-decoration: none !important;
    transition: opacity .2s !important;
}

.fpm-wrapper .fpm-card .fpm-card__titulo.elementor-heading-title a:hover {
    opacity: .75 !important;
}

/* Data */
.fpm-card__data {
    font-size: 20px;
    color: #9EC1D2;
    font-weight: 200;
    font-family: "Psik Sans", sans-serif;
    text-align: center;
    white-space: nowrap;
}

/* --- Scroll infinito --- */
.fpm-sentinela {
    text-align: center;
    padding: 2rem;
}

.fpm-loader {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: #9EC1D2;
    border-radius: 50%;
    animation: fpm-spin 0.8s linear infinite;
}

@keyframes fpm-spin {
    to { transform: rotate(360deg); }
}

/* --- Estado vazio --- */
.fpm-vazio {
    text-align: center;
    padding: 3rem;
    color: #aaa;
    font-family: "Psik Sans", sans-serif;
}

/* --- Botão arquivo --- */
.fpm-arquivo-wrap {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.fpm-arquivo-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #9EC1D2;
    border-radius: 50px;
    text-decoration: none;
    color: #9EC1D2;
    font-size: .9rem;
    font-family: "Psik Sans", sans-serif;
    font-weight: 300;
    background: transparent;
    transition: all .2s;
}

.fpm-arquivo-btn:hover {
    background: #9EC1D2;
    color: #fff;
}