/*
Theme Name: La Locanda dei Duchi — Agrosector Child
Theme URI: https://www.lalocandadeiduchi.com/
Description: Child theme di Extendable ispirato al linguaggio grafico di Agrosector e adattato a La Locanda dei Duchi.
Author: La Locanda dei Duchi
Template: extendable
Version: 0.4.7
Text Domain: locanda-agrosector-child
*/

:root {
  --locanda-forest: #173e2b;
  --locanda-leaf: #7ea33b;
  --locanda-cream: #f2ecdc;
  --locanda-paper: #fffdf8;
  --locanda-earth: #aa6035;
  --locanda-ink: #253128;
  --locanda-muted: #667168;
  --locanda-line: rgb(23 62 43 / 14%);
  --locanda-radius: 1.4rem;
  --locanda-shadow: 0 22px 60px rgb(23 62 43 / 12%);
}

/* Temporary coming-soon homepage */
body.locanda-coming-soon {
  background: #15231d;
  color: #fff;
  margin: 0;
}

.locanda-coming-soon .locanda-topbar {
  position: fixed;
  z-index: 20;
}

.locanda-coming-soon__page {
  align-items: center;
  background: linear-gradient(90deg, rgb(12 27 20 / 88%), rgb(12 27 20 / 48%)), url("locanda-instagram-location.webp") center / cover no-repeat;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 90px clamp(24px, 8vw, 150px) 48px;
  position: relative;
}

.locanda-coming-soon__page::after {
  border: 1px solid rgb(255 255 255 / 22%);
  content: "";
  inset: 68px 28px 28px;
  pointer-events: none;
  position: absolute;
}

.locanda-coming-soon__content {
  margin-inline: auto;
  width: 100%;
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.locanda-coming-soon__brand {
  margin: 0 auto 32px;
  width: min(460px, 100%);
}

.locanda-coming-soon__logo {
  display: block;
  filter: grayscale(1) invert(1) drop-shadow(0 2px 4px rgb(0 0 0 / 25%));
  height: auto;
  width: 100%;
}

.locanda-coming-soon__eyebrow {
  color: var(--agro-lime);
  font-family: var(--agro-heading);
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 600;
  letter-spacing: .24em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.locanda-coming-soon h1 {
  color: #fff;
  font-family: var(--agro-heading);
  font-size: clamp(64px, 11vw, 170px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .82;
  margin: 0;
  text-transform: uppercase;
}

.locanda-coming-soon__intro {
  border-left: 3px solid var(--agro-lime);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  margin: clamp(30px, 5vw, 54px) 0 0;
  max-width: 610px;
  padding-left: 22px;
}

.locanda-coming-soon__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.locanda-coming-soon__button {
  background: var(--agro-lime);
  color: #18251e;
  display: inline-flex;
  font-family: var(--agro-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 15px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.locanda-coming-soon__button:hover {
  background: #fff;
  color: #18251e;
  transform: translateY(-2px);
}

.locanda-coming-soon__social {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.locanda-coming-soon__social a {
  align-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  color: #fff;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  transition: border-color 180ms ease, color 180ms ease;
  width: 46px;
}

.locanda-coming-soon__social a:hover {
  border-color: var(--agro-lime);
  color: var(--agro-lime);
}

.locanda-coming-soon__social svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

@media (max-width: 700px) {
  .locanda-coming-soon__page {
    background-position: 58% center;
    padding: 100px 26px 40px;
  }

  .locanda-coming-soon__page::after {
    inset: 72px 12px 12px;
  }

  .locanda-coming-soon h1 {
    font-size: clamp(58px, 22vw, 92px);
    line-height: .86;
  }

  .locanda-coming-soon__intro {
    padding-left: 16px;
  }

  .locanda-coming-soon__social {
    margin-left: 0;
  }
}

html { scroll-behavior: smooth; }

body {
  background: var(--locanda-paper);
  color: var(--locanda-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body :where(h1, h2, h3, h4, .wp-block-site-title) {
  color: var(--locanda-forest);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

body :where(h1) {
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: .92;
}

body :where(h2) {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: .98;
}

.wp-site-blocks > header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: #fff;
}

.wp-site-blocks > header > .wp-block-group {
  background: linear-gradient(180deg, rgb(12 30 21 / 78%), transparent) !important;
  padding-block: 1.1rem 2.4rem !important;
}

.wp-site-blocks > header :where(a, .wp-block-site-title, svg) {
  color: #fff !important;
  fill: currentColor;
}

.wp-site-blocks > header .custom-logo { filter: brightness(0) invert(1); }

.wp-block-navigation-item__content {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-underline-offset: .45em;
}

.ext-hero-section .wp-block-cover {
  min-height: min(940px, 100svh) !important;
}

.ext-hero-section .wp-block-cover__background {
  background: linear-gradient(90deg, rgb(11 33 22 / 88%) 0%, rgb(11 33 22 / 48%) 52%, rgb(11 33 22 / 15%) 100%) !important;
  opacity: 1 !important;
}

.ext-hero-section .wp-block-cover__inner-container {
  padding-bottom: clamp(1rem, 6vh, 6rem);
}

.ext-hero-section h1 {
  max-width: 13ch;
  color: #fff !important;
  text-wrap: balance;
}

.ext-hero-section p {
  max-width: 34rem;
  color: rgb(255 255 255 / 85%);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.75;
}

.wp-block-button__link {
  border-radius: 999px !important;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 1rem 1.65rem !important;
  text-transform: uppercase;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.wp-block-button__link:hover {
  box-shadow: 0 12px 30px rgb(23 62 43 / 24%);
  transform: translateY(-2px);
}

.ext-section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem) !important;
}

body .has-tertiary-background-color {
  background-color: var(--locanda-cream) !important;
}

body .has-background-background-color {
  background-color: var(--locanda-paper) !important;
}

.ext-section-intro {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.ext-section-intro-heading,
.ext-section-intro > h2 {
  max-width: 14ch;
  text-wrap: balance;
}

.ext-section-intro-description,
.ext-section-intro > p {
  max-width: 42rem;
  color: var(--locanda-muted) !important;
  line-height: 1.75;
}

.ext-card,
.ext-grid > .wp-block-group,
#testimonianze > .wp-block-group {
  background: var(--locanda-paper);
  border: 1px solid var(--locanda-line);
  border-radius: var(--locanda-radius);
  box-shadow: var(--locanda-shadow);
  overflow: hidden;
}

.ext-card {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.ext-card-icon {
  width: 3.25rem !important;
}

/* Existing WordPress food-menu blocks remain editable and functional. */
#menu {
  position: relative;
  isolation: isolate;
}

#menu::before {
  background: radial-gradient(circle, rgb(126 163 59 / 17%) 0 2px, transparent 2.5px);
  background-size: 22px 22px;
  content: "";
  inset: 0 0 auto auto;
  height: 220px;
  opacity: .7;
  position: absolute;
  width: 280px;
  z-index: -1;
}

#menu > .is-layout-grid {
  gap: 1.25rem 2rem;
}

#menu > .is-layout-grid > .wp-block-group {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--locanda-line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.25rem 0 1.5rem;
}

#menu figure {
  flex: 0 0 6.2rem;
}

#menu figure img {
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgb(23 62 43 / 14%);
}

#menu h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
  margin: 0;
}

#menu h3:last-child {
  color: var(--locanda-earth);
  font-family: inherit;
  font-size: 1rem !important;
  white-space: nowrap;
}

#menu p {
  color: var(--locanda-muted);
  line-height: 1.65;
}

/* Keep the existing SimplyBook widget; only restyle its containing section. */
#prenota-ora {
  background: var(--locanda-forest) !important;
  color: #fff;
}

#prenota-ora :where(h2, p) {
  color: #fff !important;
}

#prenota-ora .alert-container {
  display: none;
}

#prenota-ora iframe {
  border-radius: var(--locanda-radius);
  box-shadow: 0 24px 60px rgb(0 0 0 / 25%);
}

#testimonianze > .wp-block-group {
  max-width: 880px;
}

#chi-siamo {
  background-color: var(--locanda-cream) !important;
}

.wp-site-blocks > footer {
  background: var(--locanda-forest);
  color: rgb(255 255 255 / 76%);
}

.wp-site-blocks > footer :where(a, h2, h3, h4, .wp-block-site-title) {
  color: #fff;
}

@media (max-width: 781px) {
  .wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--locanda-forest) !important;
    color: #fff !important;
  }

  .ext-hero-section .wp-block-cover__background {
    background: linear-gradient(0deg, rgb(11 33 22 / 92%) 0%, rgb(11 33 22 / 30%) 100%) !important;
  }

  #menu figure {
    flex-basis: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Agrosector-inspired design layer — v0.2. */
:root {
  --agro-dark: #252a2a;
  --agro-deep: #1c2020;
  --agro-lime: #b4cb32;
  --agro-lime-dark: #92a922;
  --agro-cream: #f4f1e8;
  --agro-white: #fff;
  --agro-ink: #222726;
  --agro-muted: #6d7471;
  --agro-line: #dfe2d7;
  --agro-heading: "Oswald", "Arial Narrow", Impact, sans-serif;
  --agro-body: "Roboto", Arial, sans-serif;
}

body {
  background: var(--agro-white);
  color: var(--agro-ink);
  font-family: var(--agro-body);
  font-size: 17px;
  line-height: 1.7;
}

body :where(h1, h2, h3, h4, h5, .wp-block-site-title) {
  color: var(--agro-dark);
  font-family: var(--agro-heading);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.04;
}

body :where(h1, h2) {
  text-transform: uppercase;
  text-wrap: balance;
}

body h1 { font-size: clamp(4.2rem, 11vw, 10rem); }
body h2 { font-size: clamp(3rem, 6.5vw, 6.2rem); }
body h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }

.wp-site-blocks > header {
  color: var(--agro-dark);
  inset: 18px 0 auto;
}

.wp-site-blocks > header > .wp-block-group {
  background: var(--agro-white) !important;
  box-shadow: 0 12px 35px rgb(0 0 0 / 12%);
  margin-inline: auto;
  max-width: 1240px;
  min-height: 74px;
  padding: .7rem clamp(1rem, 3vw, 2.2rem) !important;
}

.wp-site-blocks > header :where(a, .wp-block-site-title, svg) {
  color: var(--agro-dark) !important;
}

.wp-site-blocks > header .custom-logo {
  filter: none;
  max-height: 52px;
  width: auto;
}

.wp-block-navigation-item__content {
  font-family: var(--agro-heading);
  font-size: .86rem;
  letter-spacing: .055em;
  position: relative;
}

.wp-block-navigation-item__content::after {
  background: var(--agro-lime);
  bottom: -.45rem;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.wp-block-navigation-item__content:hover::after,
.current-menu-item > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}

.ext-hero-section {
  background: var(--agro-dark);
}

.ext-hero-section .wp-block-cover {
  min-height: min(920px, 100svh) !important;
}

.ext-hero-section .wp-block-cover__image-background {
  filter: saturate(.82) contrast(1.04);
}

.ext-hero-section .wp-block-cover__background {
  background: linear-gradient(90deg, rgb(21 31 27 / 82%) 0%, rgb(21 31 27 / 45%) 54%, rgb(21 31 27 / 24%) 100%) !important;
}

.ext-hero-section .wp-block-cover__inner-container {
  padding-bottom: clamp(4rem, 10vh, 8rem);
  padding-top: 8rem;
}

.ext-hero-section .wp-block-columns {
  align-items: end !important;
  gap: clamp(2rem, 6vw, 7rem);
}

.ext-hero-section h1 {
  color: var(--agro-white) !important;
  max-width: 8.5ch;
  text-shadow: 0 3px 25px rgb(0 0 0 / 18%);
}

.ext-hero-section h1::before {
  color: var(--agro-lime);
  content: "LA LOCANDA DEI DUCHI";
  display: block;
  font-family: var(--agro-body);
  font-size: clamp(.75rem, 1.2vw, .95rem);
  font-weight: 800;
  letter-spacing: .22em;
  margin-bottom: 1.2rem;
  text-shadow: none;
}

.ext-hero-section p {
  border-left: 4px solid var(--agro-lime);
  color: rgb(255 255 255 / 88%);
  padding-left: 1.5rem;
}

.wp-block-button__link {
  background: var(--agro-lime) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--agro-deep) !important;
  font-family: var(--agro-heading);
  font-size: .88rem;
  font-weight: 600;
  padding: .95rem 1.8rem !important;
}

.wp-block-button__link:hover {
  background: var(--agro-dark) !important;
  color: var(--agro-white) !important;
}

.ext-section { padding-block: clamp(5rem, 9vw, 9rem) !important; }
body .has-tertiary-background-color { background: var(--agro-cream) !important; }
body .has-background-background-color { background: var(--agro-white) !important; }

.ext-section-intro::before {
  background: var(--agro-lime);
  content: "";
  display: block;
  height: 5px;
  margin-bottom: 1.35rem;
  width: 52px;
}

.ext-section-intro-description,
.ext-section-intro > p {
  color: var(--agro-muted) !important;
  font-size: 1rem !important;
}

.ext-card,
.ext-grid > .wp-block-group {
  background: var(--agro-white);
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--agro-line);
  box-shadow: none;
  padding: clamp(2rem, 4vw, 3.25rem);
  position: relative;
}

.ext-card::before,
.ext-grid > .wp-block-group::before {
  background: var(--agro-lime);
  content: "";
  height: 5px;
  inset: 0 0 auto;
  position: absolute;
}

.ext-card:last-child,
.ext-grid > .wp-block-group:last-child { border-right: 0; }

.ext-card-icon {
  filter: invert(70%) sepia(79%) saturate(439%) hue-rotate(26deg) brightness(91%);
  height: 54px !important;
  width: 54px !important;
}

.ext-card h3 { text-transform: uppercase; }
.ext-card p { color: var(--agro-muted); font-size: .96rem; }

#menu {
  background: var(--agro-white) !important;
  overflow: hidden;
}

#menu::before {
  background: none;
  color: rgb(37 42 42 / 4%);
  content: "MENU";
  font-family: var(--agro-heading);
  font-size: clamp(12rem, 26vw, 28rem);
  font-weight: 700;
  height: auto;
  line-height: .7;
  opacity: 1;
  right: -2vw;
  top: 4rem;
  width: auto;
}

#menu > .is-layout-grid { gap: 0 clamp(2rem, 5vw, 5rem); }

#menu > .is-layout-grid > .wp-block-group {
  border-bottom: 1px solid var(--agro-line);
  padding: 1.55rem 0;
}

#menu > .is-layout-grid > .wp-block-group > .wp-block-group {
  padding: 0 !important;
}

#menu .is-nowrap {
  align-items: center;
  gap: 1.25rem;
}

#menu figure {
  flex: 0 0 108px;
  height: 88px;
  margin: 0 !important;
}

#menu figure img {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  height: 88px;
  object-fit: cover;
  width: 108px;
}

#menu h3 {
  font-family: var(--agro-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem) !important;
  text-transform: uppercase;
}

#menu h3:last-child {
  color: var(--agro-lime-dark);
  font-family: var(--agro-heading);
}

#menu p {
  color: var(--agro-muted);
  font-size: .92rem;
}

#prenota-ora {
  background: var(--agro-dark) !important;
  overflow: hidden;
  position: relative;
}

#prenota-ora::before {
  color: rgb(255 255 255 / 3%);
  content: "PRENOTA";
  font-family: var(--agro-heading);
  font-size: clamp(10rem, 22vw, 24rem);
  font-weight: 700;
  line-height: .7;
  position: absolute;
  right: -3vw;
  top: 4rem;
}

#prenota-ora iframe {
  background: var(--agro-white);
  border: 8px solid var(--agro-white);
  border-radius: 0;
  box-shadow: 24px 24px 0 var(--agro-lime);
}

#testimonianze > .wp-block-group {
  background: var(--agro-cream);
  border: 0;
  border-left: 7px solid var(--agro-lime);
  border-radius: 0;
  box-shadow: none;
}

#chi-siamo {
  background: var(--agro-lime) !important;
  overflow: hidden;
  position: relative;
}

#chi-siamo::before {
  color: rgb(255 255 255 / 13%);
  content: "LOCANDA";
  font-family: var(--agro-heading);
  font-size: clamp(10rem, 25vw, 26rem);
  font-weight: 700;
  line-height: .8;
  position: absolute;
  right: -2rem;
  top: 0;
}

#chi-siamo :where(h2, p) {
  color: var(--agro-deep) !important;
  position: relative;
}

.wp-site-blocks > footer { background: var(--agro-deep); }

@media (max-width: 900px) {
  .wp-site-blocks > header { inset: 0 0 auto; }
  .wp-site-blocks > header > .wp-block-group { max-width: none; }

  .ext-card,
  .ext-grid > .wp-block-group {
    border-bottom: 1px solid var(--agro-line);
    border-right: 0;
  }
}

@media (max-width: 781px) {
  body h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  body h2 { font-size: clamp(2.7rem, 13vw, 4.5rem); }

  .wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--agro-dark) !important;
  }

  .wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open :where(a, svg) {
    color: var(--agro-white) !important;
  }

  .ext-hero-section .wp-block-cover { min-height: 820px !important; }

  #menu figure {
    flex-basis: 78px;
    height: 72px;
  }

  #menu figure img {
    height: 72px;
    width: 78px;
  }
}

/* v0.2.1 — hero/header correction for the actual Italian content. */
.wp-site-blocks {
  gap: 0 !important;
  padding-top: 0 !important;
}

.wp-site-blocks > main,
.wp-site-blocks > main > :first-child,
.wp-site-blocks > main .ext-hero-section {
  margin-block-start: 0 !important;
}

.wp-site-blocks > header {
  inset: 18px 0 auto !important;
  margin: 0 !important;
  position: fixed !important;
  width: 100%;
}

.wp-site-blocks > header > .wp-block-group {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ext-hero-section .wp-block-cover {
  min-height: min(900px, 100svh) !important;
}

.ext-hero-section h1 {
  font-size: clamp(3.7rem, 5.6vw, 6.8rem) !important;
  hyphens: none !important;
  line-height: .98 !important;
  max-width: 12ch !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.ext-hero-section .wp-block-column:first-child {
  flex-basis: 62% !important;
}

.ext-hero-section .wp-block-column:last-child {
  flex-basis: 38% !important;
}

@media (max-width: 781px) {
  .wp-site-blocks > header {
    inset: 0 0 auto !important;
  }

  .ext-hero-section .wp-block-cover {
    min-height: 760px !important;
  }

  .ext-hero-section h1 {
    font-size: clamp(3.15rem, 14vw, 5.2rem) !important;
    max-width: 11ch !important;
  }
}

/* v0.3 — two-tier fixed header matching the supplied reference. */
.locanda-topbar {
  background: #625b55;
  color: #fff;
  font-family: var(--agro-body);
  font-size: 13px;
  height: 34px;
  inset: 0 0 auto;
  position: fixed;
  z-index: 70;
}

.locanda-topbar__inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding-inline: 18px;
}

.locanda-topbar__contacts {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.locanda-topbar a,
.locanda-topbar span {
  color: inherit;
  text-decoration: none;
}

.locanda-topbar__contacts span[aria-hidden="true"] {
  color: #d8d5d2;
  margin-right: .4rem;
}

.locanda-topbar__booking {
  font-family: var(--agro-heading);
  font-weight: 500;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.locanda-topbar__social {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.locanda-topbar__social a {
  align-items: center;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  transition: color 180ms ease, transform 180ms ease;
  width: 26px;
}

.locanda-topbar__social a:hover {
  color: var(--agro-lime);
  transform: translateY(-1px);
}

.locanda-topbar__social svg {
  fill: currentColor;
  height: 17px;
  width: 17px;
}

.wp-site-blocks > header {
  background: #fff;
  box-shadow: 0 4px 18px rgb(0 0 0 / 7%);
  inset: 34px 0 auto !important;
  min-height: 103px;
}

.wp-site-blocks > header > .wp-block-group {
  align-items: center;
  background: #fff !important;
  box-shadow: none;
  margin: 0 auto;
  max-width: none;
  min-height: 103px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2)) !important;
  padding-block: 1rem !important;
}

.wp-site-blocks > header .wp-block-site-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -.015em;
  white-space: nowrap;
}

.wp-site-blocks > header .custom-logo {
  max-height: 58px;
}

.wp-block-navigation {
  gap: clamp(1.25rem, 2.7vw, 2.8rem) !important;
}

.wp-block-navigation-item__content {
  color: #777 !important;
  font-family: var(--agro-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.wp-block-navigation-item__content:hover,
.current-menu-item > .wp-block-navigation-item__content {
  color: var(--agro-lime-dark) !important;
}

.home .ext-hero-section {
  background: #fff;
  padding-top: 137px;
}

.home .ext-hero-section .wp-block-cover {
  background-image: url("locanda-instagram-location.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: calc(100svh - 137px) !important;
  position: relative;
}

.home .ext-hero-section .wp-block-cover__image-background {
  opacity: 0 !important;
}

.home .ext-hero-section .wp-block-cover::after {
  background: #fff;
  clip-path: polygon(0 0, 4% 30%, 8% 10%, 12% 36%, 17% 8%, 22% 30%, 27% 12%, 32% 38%, 38% 8%, 44% 32%, 50% 12%, 57% 36%, 63% 10%, 69% 30%, 76% 8%, 83% 34%, 90% 10%, 95% 30%, 100% 0);
  content: "";
  height: 12px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 4;
}

.ext-hero-section .wp-block-cover__background {
  background: linear-gradient(90deg, rgb(28 51 43 / 64%), rgb(71 122 110 / 26%)) !important;
}

.ext-hero-section .wp-block-cover__inner-container {
  padding-block: clamp(5rem, 11vh, 8rem);
}

.ext-hero-section .wp-block-columns {
  align-items: center !important;
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  text-align: center;
}

.ext-hero-section .wp-block-column:first-child {
  flex-basis: auto !important;
  width: 100%;
}

.ext-hero-section .wp-block-column:last-child {
  display: none;
}

.ext-hero-section h1 {
  font-size: clamp(6rem, 14vw, 13.5rem) !important;
  hyphens: none !important;
  line-height: .88 !important;
  margin-inline: auto;
  max-width: none !important;
  overflow-wrap: normal !important;
  text-align: center;
  white-space: nowrap;
}

.ext-hero-section h1::before {
  color: #fff;
  content: "CUCINA ITALIANA, OSPITALITÀ AUTENTICA";
  font-family: var(--agro-heading);
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 2rem;
}

.ext-hero-section h1::after {
  color: #fff;
  content: "⌁⌁⌁";
  font-family: Arial, sans-serif;
  font-size: 2rem;
  letter-spacing: .25em;
  margin-left: 1.5rem;
  vertical-align: middle;
}

.ext-hero-section .wp-block-buttons {
  justify-content: center !important;
  margin-top: 2.5rem;
}

.ext-hero-section .wp-block-button__link {
  min-width: 150px;
}

.wp-site-blocks > main {
  padding-top: 137px;
}

.home .wp-site-blocks > main {
  padding-top: 0;
}

body.admin-bar .locanda-topbar { top: 32px; }
body.admin-bar .wp-site-blocks > header { top: 66px !important; }

@media (max-width: 781px) {
  .locanda-topbar {
    height: 32px;
  }

  .locanda-topbar__contacts > :nth-child(n+2) {
    display: none;
  }

  .locanda-topbar__booking {
    font-size: 11px;
  }

  .locanda-topbar__social {
    gap: .5rem;
  }

  .wp-site-blocks > header {
    inset: 32px 0 auto !important;
    min-height: 78px;
  }

  .wp-site-blocks > header > .wp-block-group {
    min-height: 78px;
    padding-inline: 18px !important;
  }

  .home .ext-hero-section {
    padding-top: 110px;
  }

  .home .ext-hero-section .wp-block-cover {
    min-height: calc(100svh - 110px) !important;
  }

  .ext-hero-section h1 {
    font-size: clamp(4.25rem, 20vw, 7rem) !important;
    white-space: normal;
  }

  .ext-hero-section h1::before {
    font-size: .9rem;
    letter-spacing: .04em;
  }

  .ext-hero-section h1::after {
    display: none;
  }

  .wp-site-blocks > main {
    padding-top: 110px;
  }

  .home .wp-site-blocks > main {
    padding-top: 0;
  }

  body.admin-bar .locanda-topbar { top: 46px; }
  body.admin-bar .wp-site-blocks > header { top: 78px !important; }
}

/* Permanent brand mark in the main site's WordPress logo blocks. */
.locanda-site-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.locanda-site-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

.wp-site-blocks > header .locanda-site-logo img {
  width: 140px;
  max-height: none;
  filter: none;
}

.wp-site-blocks > header:has(.locanda-site-logo) .wp-block-site-title {
  display: none;
}

.wp-site-blocks > footer .locanda-site-logo img {
  filter: grayscale(1) invert(1);
}

@media (max-width: 781px) {
  .wp-site-blocks > header .locanda-site-logo img {
    width: 100px;
  }
}
/* Fit the coming-soon content to the available viewport, including padding. */
.locanda-coming-soon__page {
  box-sizing: border-box;
  min-height: 100svh;
  padding: 58px clamp(24px, 8vw, 150px) 24px;
}

.locanda-coming-soon__page::after {
  inset: 46px 20px 16px;
}

.locanda-coming-soon__brand {
  width: min(420px, 42svh, 100%);
  margin: 0 auto clamp(8px, 1.5svh, 16px);
}

.locanda-coming-soon__eyebrow {
  margin-bottom: clamp(10px, 1.8svh, 18px);
}

.locanda-coming-soon h1 {
  font-size: clamp(48px, min(9vw, 14svh), 126px);
  line-height: 1;
}

.locanda-coming-soon__intro {
  font-size: clamp(16px, 2.2svh, 20px);
  line-height: 1.4;
  margin-top: clamp(14px, 2.5svh, 24px);
}

.locanda-coming-soon__actions {
  gap: 10px;
  margin-top: clamp(14px, 2.5svh, 24px);
}

.locanda-coming-soon__button {
  padding: 12px 20px;
}

@media (max-width: 700px) {
  .locanda-coming-soon__page {
    padding: 52px 26px 20px;
  }

  .locanda-coming-soon__page::after {
    inset: 42px 12px 10px;
  }

  .locanda-coming-soon__brand {
    width: min(340px, 34svh, 100%);
  }

  .locanda-coming-soon h1 {
    font-size: clamp(42px, min(17vw, 10svh), 84px);
    line-height: 1;
  }

  .locanda-coming-soon__eyebrow {
    font-size: 12px;
    letter-spacing: .16em;
  }

  .locanda-coming-soon__button {
    font-size: 12px;
    padding: 11px 14px;
  }
}
/* Raise the logo toward the top frame on full-height desktop screens. */
@media (min-width: 701px) and (min-height: 760px) {
  .locanda-coming-soon__brand {
    transform: translateY(-75px);
  }
}