/*
Theme Name: L'Italia a Tavola
Description: Astra child theme for the BASIC website.
Template: astra
Version: 1.0.0
Text Domain: italia
*/

:root { --it-paper: #fffdf8; --it-cream: #f5f1e8; --it-ink: #28271f; --it-rust: #b14d32; --it-olive: #48533b; --it-line: #ded8cb; }
body { margin: 0; background: var(--it-paper); color: var(--it-ink); font-family: Arial, sans-serif; }
a { color: var(--it-rust); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--it-rust); outline-offset: 5px; }
.it-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.it-skip { position: fixed; left: 15px; top: -80px; z-index: 1000; padding: 12px; background: white; }
.it-skip:focus { top: 10px; }
.it-topline { padding: 9px 20px; text-align: center; background: var(--it-olive); color: white; font-size: 10px; letter-spacing: .15em; }
.it-header { background: var(--it-paper); border-bottom: 1px solid var(--it-line); }
.it-nav { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.it-brand { display: flex; align-items: center; gap: 12px; color: #894329; text-decoration: none; }
.it-brand img { width: 80px; height: 80px; object-fit: contain; }
.it-brand strong { font: 24px Georgia, serif; }
.it-brand small { display: block; font-size: 8px; letter-spacing: .22em; margin-top: 3px; }
.it-menu { display: flex; gap: 23px; list-style: none; margin: 0; padding: 0; align-items: center; }
.it-menu a { font-size: 12px; font-weight: 600; color: var(--it-ink); text-decoration: none; }
.it-menu .current-menu-item > a, .it-menu a:hover { color: var(--it-rust); }
.it-menu li:last-child a { display: inline-block; padding: 13px 18px; background: var(--it-rust); color: white; }
.it-toggle { display: none; background: transparent; border: 1px solid var(--it-line); color: var(--it-ink); padding: 12px; font-size: 13px; }
.it-language { font-size: 11px; display: flex; gap: 10px; }
.it-footer { padding: 60px 0 26px; background: #26281f; color: #d2d1c7; }
.it-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 35px; }
.it-footer h2 { font: 26px Georgia, serif; color: #f0d0a5; margin: 0 0 15px; }
.it-footer h3 { color: #f0d0a5; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.it-footer p { font-size: 13px; line-height: 1.8; max-width: 320px; }
.it-footer ul { list-style: none; padding: 0; margin: 0; }
.it-footer li { margin: 10px 0; }
.it-footer a { color: #e7e4d9; text-decoration: none; font-size: 12px; }
.it-copyright { margin-top: 35px; padding-top: 20px; border-top: 1px solid #48493e; font-size: 11px; }
.it-preview { background: #ede7db; padding: 10px 20px; font-size: 11px; text-align: center; color: #575144; }

/* Elementor widgets remain editable; these classes carry the shared design. */
.elementor .it-section { padding: 85px max(24px, calc((100vw - 1160px) / 2)); }
.elementor .it-section > .elementor-container { gap: 35px; }
.elementor .it-section .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }
.elementor .it-section > .elementor-container > .elementor-column > .elementor-element-populated { padding: 0; align-content: center; }
.elementor .it-section .elementor-heading-title { font: 500 clamp(34px, 4vw, 52px)/1.12 Georgia, serif; color: var(--it-ink); letter-spacing: -.035em; }
.elementor .it-section .elementor-widget-text-editor { font: 15px/1.9 Arial, sans-serif; color: #666258; }
.elementor .it-section .it-eyebrow .elementor-heading-title { font: 700 11px/1.5 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--it-rust); }
.elementor .it-section .elementor-button { padding: 17px 24px; border-radius: 0; background: var(--it-rust); color: white; font: 600 11px/1.3 Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.elementor .it-section .elementor-button:hover { background: #913b25; }
.elementor .it-section img { width: 100%; height: 360px; object-fit: cover; }
.elementor .it-cream { background: var(--it-cream); }
.elementor .it-hero { min-height: 640px; display: flex; align-items: center; background: linear-gradient(90deg, #16180ed9, #16180e44), url("assets/pasta.jpg") center / cover; }
.elementor .it-hero > .elementor-container { width: 100%; }
.elementor .it-hero .elementor-heading-title { color: white; font-size: clamp(52px, 6.8vw, 88px); line-height: 1.03; max-width: 720px; }
.elementor .it-hero .elementor-heading-title em { color: #f0c181; }
.elementor .it-hero .elementor-widget-text-editor { color: #f1eee7; max-width: 475px; }
.elementor .it-hero .it-eyebrow .elementor-heading-title { color: #f0c181; }
.elementor .it-strip { padding-block: 23px; background: var(--it-rust); text-align: center; }
.elementor .it-strip .elementor-heading-title { color: white; font: italic 21px Georgia, serif; letter-spacing: 0; }
.elementor .it-card img { height: 290px; }
.elementor .it-barstardo img { height: 340px; object-fit: contain; mix-blend-mode: multiply; }
.elementor .it-card .elementor-heading-title { font-size: 31px; }
.elementor .it-card .elementor-widget-text-editor { font-size: 14px; }
.elementor .it-dark { background: var(--it-olive); }
.elementor .it-dark .elementor-heading-title { color: white; }
.elementor .it-dark .elementor-widget-text-editor { color: #e0e2d9; }
.elementor .it-dark .it-eyebrow .elementor-heading-title { color: #f0c181; }
.elementor .it-notice { padding: 24px; border: 1px solid var(--it-line); background: var(--it-cream); }
.elementor .it-notice .elementor-heading-title { font-size: 24px; }
.it-reservation-pending { border-left: 3px solid var(--it-rust); padding: 18px 22px; background: var(--it-cream); color: var(--it-ink); font-size: 14px; line-height: 1.8; }
.it-articles { padding-block: 70px; min-height: 50vh; }
.it-articles h1 { font: 50px Georgia, serif; }
.it-articles article { padding: 25px 0; border-bottom: 1px solid var(--it-line); }
.it-articles h2 { font: 30px Georgia, serif; }

@media (max-width: 1000px) {
  .it-nav { flex-wrap: wrap; padding-block: 10px; gap: 12px; }
  .it-toggle { display: inline-block; margin-left: auto; }
  .it-navigation { display: none; width: 100%; }
  .it-navigation.is-open { display: block; }
  .it-menu { align-items: stretch; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .it-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--it-line); }
  .it-menu li:last-child a { display: block; margin-top: 12px; }
}
@media (max-width: 767px) {
  .elementor .it-section { padding: 55px 22px; }
  .elementor .it-section > .elementor-container { gap: 28px; }
  .elementor .it-strip { padding-block: 20px; }
  .elementor .it-hero { min-height: 560px; }
  .elementor .it-section img { height: 280px; }
  .it-footer-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
