.acv-eat-wrapper {
    width: 100%;
}

/* FILTRO CATEGORIA */

/* Tabs più carine, full width, sfondo navy di base */
.acv-eat-tabs-wrap {
    margin-bottom: 24px;
    padding: 10px 16px;
    background: #001f3f; /* navy default */
    border-radius: 999px;
    border: 1px solid #00132a;
    width: 100%;
}

.acv-eat-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    justify-content: center;
}

.acv-eat-tabs::-webkit-scrollbar {
    height: 6px;
}

.acv-eat-tabs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.acv-eat-tab {
    cursor: pointer;
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    background: transparent;
    color: #ffd700; /* giallo default */
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.acv-eat-tab:hover {
    background: rgba(255, 215, 0, 0.12);
}

.acv-eat-tab.active {
    background: #ffd700;
    color: #001f3f;
    border-color: #ffd700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Selettore a tendina: barra intera, contenuto centrato, sfondo navy */
.acv-eat-filter-select {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: #001f3f;
    border-radius: 999px;
    border: 1px solid #00132a;
    width: 100%;
    box-sizing: border-box;
}

.acv-eat-filter-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffd700;
    line-height: 1;
}

.acv-eat-select {
    min-width: 220px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    line-height: 1.3;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%);
    background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.acv-eat-select:focus {
    border-color: #222;
}

/* GRID COLONNE */
.acv-eat-posts {
    display: grid;
    gap: 20px;
    margin-top: 4px;
}

.acv-eat-posts.acv-eat-cols-1 {
    grid-template-columns: 1fr;
}

.acv-eat-posts.acv-eat-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.acv-eat-posts.acv-eat-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.acv-eat-posts.acv-eat-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .acv-eat-posts.acv-eat-cols-2,
    .acv-eat-posts.acv-eat-cols-3,
    .acv-eat-posts.acv-eat-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .acv-eat-filter-select {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .acv-eat-posts {
        grid-template-columns: 1fr !important;
    }
}

/* CARD ARTICOLO */
.acv-eat-post-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.acv-eat-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.acv-eat-thumb-placeholder {
    width: 100%;
    padding-top: 56.25%;
    background: #ddd;
}

.acv-eat-post-content {
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.acv-eat-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.acv-eat-title a {
    text-decoration: none;
    color: inherit;
}

.acv-eat-title a:hover {
    text-decoration: underline;
}

.acv-eat-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.acv-eat-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Bottone "Leggi" sotto l'articolo */
.acv-eat-read-more-wrap {
    margin-top: 8px;
}

.acv-eat-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #222;
    color: #222;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.acv-eat-read-more:hover {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Pulsante "Carica altro" centrale e ben visibile */
.acv-eat-load-more-wrapper {
    margin-top: 28px;
    text-align: center;
}

.acv-eat-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border-radius: 999px;
    background: #222;
    border: 1px solid #222;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.05s;
}

.acv-eat-load-more:hover {
    background: #000;
    border-color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.acv-eat-load-more:active {
    transform: translateY(1px);
}

.acv-eat-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Align label "Categoria" and select (with "Tutte") perfectly on the same line */
.acv-eat-filter-select {
    align-items: center;
    justify-content: center;
}

.acv-eat-filter-label {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.acv-eat-select {
    vertical-align: middle;
}
