/*
Theme Name: Notte di Qualità
Template: twentytwentyfive
Version: 1.0
Description: Tema figlio di Twenty Twenty-Five per nottediqualita.it (La Pivot, novembre 2026).
Text Domain: ndq
*/
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { text-transform: capitalize; }

/* testata */
.ndq-testata { position: sticky; top: 0; z-index: 50; background: #000; }
body.admin-bar .ndq-testata { top: 32px; }
.ndq-testata .wp-block-navigation { font-family: "Lobster Two", cursive; font-size: 20px; }
.ndq-testata .wp-block-navigation-item + .wp-block-navigation-item::before { content: "|"; color: #e64e62; margin-right: .6em; font-size: 14px; }
.ndq-testata .wp-block-navigation a:hover, .ndq-testata .current-menu-item > a { color: #e64e62 !important; }
.ndq-testata .wp-block-navigation__responsive-container.is-menu-open { background: #000 !important; color: #fff !important; }

/* contenuti convertiti da WPBakery */
.wp-block-columns.ndq-riga { margin-bottom: 30px; }
.wp-block-separator { border: 0 !important; border-top: 1px solid #e64e62 !important; opacity: 1; width: 100%; margin: 6px 0 14px; }
.ndq-html p:last-child { margin-bottom: 0; }
.wp-block-image.ndq-arrotondata img { border-radius: 12px; }
.wp-block-image.is-style-rounded img { border-radius: 9999px; }
.ndq-hero { margin-top: 0 !important; margin-bottom: 40px !important; }
.ndq-hero img { width: 100%; height: 60vh; max-height: 640px; object-fit: cover; display: block; }
.wp-block-embed iframe, .ndq-mappa iframe { width: 100%; }

/* moduli */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea { width: 100%; background: #111; color: #fff; border: 1px solid #444; padding: 10px; font: inherit; }
.wpcf7 input[type=submit] { background: #e64e62; color: #fff; border: 0; padding: 12px 30px; font-family: "Lobster Two", cursive; font-size: 18px; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: #f39720; }

/* notizie */
.ndq-griglia .wp-block-post { background: #111; padding: 0 0 18px; }
.ndq-griglia .wp-block-post > *:not(.wp-block-post-featured-image) { padding: 0 16px; }
.ndq-griglia .wp-block-post-title a { text-decoration: none; }

/* piede */
.ndq-piede { background: #e64e62; color: #fff; font-size: 13px; }
.ndq-piede a { color: #fff; font-weight: 700; text-decoration: none; }

@media (max-width: 781px) {
  .ndq-testata .wp-block-navigation-item + .wp-block-navigation-item::before { content: none; }
  h1 { font-size: 44px !important; }
}
