
/* =============================
   Sessão: Experiências Praia XXX
   ============================= */

.exp-praia {
    padding: 60px 0 80px;
    /* background: #FFF; */
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 60%);
}

.exp-praia .site-aligner {
    max-width: 1200px;
}

.exp-head {
    margin-bottom: 32px;
}

.exp-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.exp-subtitle {
    margin: 0;
    /* max-width: 640px; */
    color: #4a5568;
    text-align: center;
}

/* Filtros (ícones) */

.exp-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.exp-filter-button {
    border: none;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 10px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 35px rgba(15, 35, 95, 0.1);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.exp-filter-button .exp-filter-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf2ff;
    color: var(--cor-primaria);
    font-size: 18px;
}

.exp-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
}

.exp-filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 35, 95, 0.15);
}

.exp-filter-button.is-active {
    /* background: var(--cor-primaria); */
    background: var(--cor-cat, var(--cor-primaria));
    box-shadow: 0 16px 40px rgba(15, 35, 95, 0.35);
}

.exp-filter-button.is-active .exp-filter-icon {
    background: #ffffff;
    /* color: var(--cor-primaria); */
    color: color-mix(in oklab, var(--cor-cat, var(--cor-primaria)), #333 50%) ;
}

.exp-filter-button.is-active .exp-filter-label {
    color: #ffffff;
}

/* Área de posts */

.exp-posts-outer {
    position: relative;
    min-height: 120px;
}

.exp-posts-wrap {
    opacity: 1;
    transition: opacity .2s ease;
}

.exp-praia.is-loading .exp-posts-wrap {
    opacity: .35;
}

/* Loader */

.exp-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.exp-praia.is-loading .exp-loader {
    opacity: 1;
}

.exp-loader-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cor-primaria);
    animation: exp-bounce 0.9s infinite alternate;
}

.exp-loader-dot:nth-child(2) {
    animation-delay: .15s;
}

.exp-loader-dot:nth-child(3) {
    animation-delay: .30s;
}

@keyframes exp-bounce {
    from {
        transform: translateY(0);
        opacity: .5;
    }

    to {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Cards dos posts */

.exp-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.exp-post-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 35, 95, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.exp-post-thumb img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.exp-post-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exp-post-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #4a6fff;
    font-weight: 600;
}

.exp-post-title {
    font-size: 16px;
    margin: 0;
}

.exp-post-title a {
    color: #111827;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.exp-post-title a:hover {
    text-decoration: underline;
}

.exp-post-excerpt {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden
}

.exp-post-link {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--cor-primaria);
}

.exp-post-link i {
    margin-left: 6px;
}

.exp-posts-empty {
    margin: 10px 0 0;
    font-size: 14px;
    color: #4b5563;
}

.btn-category-exp-loadmore-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
}

button.btn-category-exp-loadmore{
    border: none;
    background: var(--cor-primaria);
    border-radius: var(--radius);
    padding: 14px 10px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 35px rgba(15, 35, 95, 0.1);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    color: #fff;
    font-size: 16px;
    margin-top: 25px;
}

button.btn-category-exp-loadmore:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 35, 95, 0.15);
}

/* Responsivo */

@media (max-width: 992px) {
    .exp-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .exp-praia {
        padding: 40px 0 50px;
    }

    .exp-title {
        font-size: 5.3vw;
    }

    .exp-subtitle {
        font-size: 14px;
    }

    .exp-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exp-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .exp-post-thumb img{
        height: 150px;
    }
}
