/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* ------------------------------------------------------------------
   Italian Sommelier - leggibilita' prima di tutto (04/10/2026).
   Colore dei link: il bordeaux del vino (#7A1F3D), contrasto ampiamente sopra 4.5:1.
   Struttura ripresa dal tema figlio di janasport.it.
   ------------------------------------------------------------------ */
.entry-content a:not(.wp-block-button__link),
.entry-summary a {
    color: #7A1F3D;
    text-decoration: underline;
    text-underline-offset: .18em;
    text-decoration-thickness: .07em;
}
.entry-content a:not(.wp-block-button__link):hover,
.entry-summary a:hover { color: #5C1530; }

/* Lettura su telefono: il motivo per cui questo sito esiste.
   Corpo piu' generoso e righe piu' arieggiate degli standard del tema. */
@media (max-width: 767px) {
    .entry-content { font-size: 1.06rem; line-height: 1.72; }
    .entry-content p { margin-bottom: 1.15em; }
}

/* Niente salti di layout mentre si legge: le immagini tengono il posto. */
.entry-content img { height: auto; }


/* Modulo di contatto del network (shortcode bl_contact_form) */
.blcf { max-width: 560px; margin: 0 auto; }
.blcf p { margin-bottom: 1rem; }
.blcf label { display: block; font-weight: 600; margin-bottom: .35rem; }
.blcf input, .blcf textarea {
    width: 100%; padding: .65rem .8rem; font: inherit;
    border: 1px solid #cfd6dc; border-radius: 8px; background: #fff;
}
.blcf input:focus, .blcf textarea:focus {
    outline: 2px solid var(--theme-palette-color-1); border-color: transparent;
}
.blcf-hp { display: none; }
.blcf-actions { text-align: center; }
.blcf button {
    background: var(--theme-palette-color-1); color: #fff; border: 0;
    border-radius: 8px; padding: .75rem 2.2rem; font-weight: 600; cursor: pointer;
}
.blcf button:hover { background: var(--theme-palette-color-2); }
.blcf-notice { max-width: 560px; margin: 0 auto 1rem; padding: .7rem 1rem; border-radius: 8px; }
.blcf-ok  { background: #e7f6ec; color: #14532d; }
.blcf-err { background: #fdeaea; color: #7f1d1d; }



/* Solo l'ULTIMA riga del footer (copyright a sx + privacy/cookie a dx),
   identica alla barra del top: fondo scuro, voci piccole maiuscole grigio
   chiaro, accento del tema su hover. La zona widget resta com'era (23/08). */
[data-footer] footer.ct-footer [data-row*="bottom"] {
    background-color: #2a1d22;
}
[data-footer] footer.ct-footer [data-row*="bottom"],
[data-footer] footer.ct-footer [data-row*="bottom"] p {
    color: #d4d6d8;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 500;
}
[data-footer] footer.ct-footer [data-row*="bottom"] a {
    color: #d4d6d8;
    text-decoration: none;
}
[data-footer] footer.ct-footer [data-row*="bottom"] a:hover {
    color: var(--theme-palette-color-2);
}

/* Domanda anti-robot: campo breve, non a tutta larghezza */
.blcf-quiz input { max-width: 6rem; }
