/* ———————————————————————————————
   TABELLE “CARD” REMONATO GRASSI
   ——————————————————————————————— */

.title{
    font:600 1.6rem/1 "Poppins",sans-serif;
    color:#8c6b4e;
    text-align:center;
    margin:.4rem 0 .6rem;
}
.card{
    margin:.4rem auto .9rem;
    max-width:650px;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(0,0,0,.1);
    overflow:hidden;
    font-family:"Poppins",sans-serif;
    padding:.4rem .5rem .6rem;
}
.card table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    font-size:.95rem;
}
.card thead th{
    background:var(--thead-bg,#8c6b4e);
    color:#fff;
    padding:.7rem .6rem;
    text-align:left;
    font-weight:600;
}
.card tbody td{padding:.7rem .6rem;border-bottom:1px solid #eee}
.card tbody tr:nth-child(even){background:#fafafa}
.card tbody tr:hover{background:#f2ebe6}
.card thead th:first-child{border-top-left-radius:12px}
.card thead th:last-child{border-top-right-radius:12px}
.card tbody tr:last-child td:first-child{border-bottom-left-radius:12px}
.card tbody tr:last-child td:last-child{border-bottom-right-radius:12px}
.logo{display:block;margin:.6rem auto .2rem;width:111px;height:58px}

/* ———————————————————————————————
   PULSANTE “CERCA”
   ——————————————————————————————— */

.search-form .search-submit,
.widget_search input[type="submit"],
.wp-block-search__button{
    border-radius:12px;
    background:var(--search-bg,#8c6b4e);
    color:#fff;
    padding:.55rem 1rem;
    font:600 .95rem/1 "Poppins",sans-serif;
    border:none;
    cursor:pointer;
    transition:background .2s ease-in-out,opacity .2s;
}
.search-form .search-submit:hover,
.widget_search input[type="submit"]:hover,
.wp-block-search__button:hover{
    opacity:.9;
}

/* ———————————————————————————————
   LINK CON SOTTOLINEATURA ANIMATA
   ——————————————————————————————— */

a{
    position:relative;
    text-decoration:none;
    color:var(--link-color,#8c6b4e);
    transition:color .2s ease-in-out;
}
a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-2px;
    width:100%;
    height:2px;
    background:currentColor;
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .25s ease-in-out;
}
/* interazione tastiera/mouse */
a:hover,
a:focus{
    color:var(--link-hover,#6b4e30);
    text-decoration:none !important;      /* ← disattiva underline del tema */
}
a:hover::after,
a:focus::after{
    transform:scaleX(1);
}
/* outline tastiera WCAG */
a:focus{
    outline:3px solid #6b4e30;
    outline-offset:3px;
}

/* riduce movimento se richiesto */
@media (prefers-reduced-motion:reduce){
    a::after{transition:none}
}

/* —— soppressione underline tema/plug-in —— */
a,
.entry-content a{
    text-decoration:none !important;
    border-bottom:none !important;
    box-shadow:none !important;    /* alcuni temi usano box-shadow per l’effetto “spesso” */
}

a:hover,
a:focus,
.entry-content a:hover,
.entry-content a:focus{
    text-decoration:none !important;
    border-bottom:none !important;
    box-shadow:none !important;
}
