/*
Theme Name: Impastiamoci Menu Provvisorio
Theme URI: https://impastiamoci.it/
Author: HOLA! SRL
Description: Tema WordPress provvisorio per Impastiamoci, con il menu completo incorporato e senza dipendenze de plugins.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: impastiamoci-menu
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --imp-red: #ed3f33;
  --imp-red-dark: #d92f29;
  --ink: #2a2a2a;
  --muted: #888;
  --paper: #fff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body {
  color: var(--ink);
  font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--imp-red-dark); }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  z-index: 100000;
  background: #fff;
}

/* Minimal Bootstrap-3-style grid required by the archived menu markup. */
.container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; }
.row { margin-left: -15px; margin-right: -15px; }
.row::before, .row::after { content: ""; display: table; }
.row::after { clear: both; }
[class*="col-md-"] { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; }
.text-center { text-align: center; }
.white { color: #fff; }

@media (min-width: 992px) {
  .col-md-10 { float: left; width: 83.33333333%; }
  .col-md-12 { float: left; width: 100%; }
  .col-md-offset-1 { margin-left: 8.33333333%; }
}

.menu-hero-section {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 55px 0 42px;
  background-color: #ef3d31;
  background-image:
    linear-gradient(90deg, rgba(177,29,24,.20) 0 8px, transparent 8px 46px, rgba(255,112,91,.10) 46px 55px, transparent 55px 100%),
    linear-gradient(rgba(177,29,24,.18) 0 8px, transparent 8px 46px, rgba(255,112,91,.09) 46px 55px, transparent 55px 100%),
    linear-gradient(90deg, transparent 0 24%, rgba(174,23,20,.10) 24% 52%, transparent 52% 76%, rgba(255,126,107,.07) 76% 100%);
  background-size: 120px 120px, 120px 120px, 240px 240px;
  background-position: 0 0, 0 0, 0 0;
}
.menu-hero-section .container { width: 90% !important; }
.brand-logo-wrap { padding-bottom: 28px; }
.brand-logo {
  width: clamp(220px, 25vw, 360px);
  margin: 0 auto;
}
.comic-text {
  display: block;
  margin-top: -10px;
  font-family: "Tangerine", "Brush Script MT", "Segoe Script", cursive;
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
  text-align: center;
  color: #fff;
}

.section-white { background: #fff; padding: 58px 0 42px; }
.section-white > .container { width: 90% !important; }
.menu-section-title {
  clear: both;
  margin: 0 0 22px;
  padding-top: 8px;
  color: #202020;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700 !important;
  letter-spacing: 0;
}
.menu-wrapper {
  position: relative;
  float: left;
  clear: both;
  width: 100% !important;
  margin: 0 0 24px;
}
.menu-description { float: left; width: 100% !important; }
.menu-list {
  position: relative;
  float: left;
  width: 100%;
  min-height: 24px;
  line-height: 1.35;
}
.menu-list h5 {
  position: relative;
  z-index: 2;
  float: left;
  max-width: 78%;
  margin: 0;
  padding: 0 10px 1px 0;
  background: #fff;
  color: #333;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400 !important;
}
.menu-list .price {
  position: relative;
  z-index: 2;
  float: right;
  margin: 0;
  padding: 0 0 1px 10px;
  background: #fff;
  color: var(--imp-red-dark);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  white-space: nowrap;
}
.menu-dot-line {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 11px;
  height: 1px;
  border-top: 1px solid rgba(220,55,48,.85);
}
.menu-ingredients {
  float: left;
  clear: both;
  width: 100%;
  margin: 5px 0 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
}
.section-white .row::after { content: ""; display: table; clear: both; }

.image-section-second {
  clear: both;
  min-height: 470px;
  padding: 125px 0 48px;
  background: #fff;
}
.image-section-second .container { width: 90% !important; }
.footer-script-wrap { width: min(520px, 52vw); margin: 0 auto; }
.footer-script { width: 100%; margin: 0 auto; }

/* Generic WordPress fallback pages, so the theme remains usable beyond the front page. */
.site-content-fallback {
  width: min(980px, 90%);
  margin: 0 auto;
  padding: 70px 0;
}
.site-content-fallback article { margin-bottom: 45px; }
.site-content-fallback h1,
.site-content-fallback h2 { line-height: 1.2; }

@media (max-width: 991px) {
  .menu-hero-section { min-height: 330px; padding: 42px 0 34px; }
  .brand-logo { width: clamp(180px, 31vw, 290px); }
  .comic-text { font-size: 40px; }
  .section-white { padding-top: 42px; }
  .menu-section-title { font-size: 20px; margin-bottom: 18px; }
  .menu-wrapper { margin-bottom: 22px; }
  .footer-script-wrap { width: min(490px, 62vw); }
}

@media (max-width: 600px) {
  body { font-size: 13px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .row { margin-left: -8px; margin-right: -8px; }
  [class*="col-md-"] { padding-left: 8px; padding-right: 8px; }
  .menu-hero-section {
    min-height: 250px;
    padding: 28px 0 24px;
    background-size: 88px 88px, 88px 88px, 176px 176px;
  }
  .brand-logo-wrap { padding-bottom: 18px; }
  .brand-logo { width: 34vw; min-width: 125px; max-width: 190px; }
  .comic-text { font-size: 31px; margin-top: -5px; }
  .section-white { padding: 28px 0 22px; }
  .menu-section-title { margin: 0 0 14px; padding-top: 5px; font-size: 16px; }
  .menu-wrapper { margin-bottom: 17px; }
  .menu-list { min-height: 20px; }
  .menu-list h5, .menu-list .price { font-size: 12px; line-height: 1.4; }
  .menu-list h5 { max-width: 74%; padding-right: 7px; }
  .menu-list .price { padding-left: 7px; }
  .menu-dot-line { top: 9px; }
  .menu-ingredients { margin-top: 4px; font-size: 10px; line-height: 1.5; }
  .image-section-second { min-height: 300px; padding: 80px 0 30px; }
  .footer-script-wrap { width: 58vw; min-width: 190px; max-width: 300px; }
}

@media (max-width: 360px) {
  .menu-hero-section { min-height: 220px; padding-top: 24px; }
  .brand-logo { width: 36vw; min-width: 112px; }
  .section-white > .container,
  .menu-hero-section .container,
  .image-section-second .container { width: 92% !important; }
  .menu-section-title { font-size: 14px; }
  .menu-wrapper { margin-bottom: 15px; }
  .menu-list h5, .menu-list .price { font-size: 11px; }
  .menu-ingredients { font-size: 9px; }
}

@media print {
  .menu-hero-section { min-height: 250px; }
  .image-section-second { min-height: 300px; }
}
