{"id":4496,"date":"2026-11-11T17:33:31","date_gmt":"2026-11-11T13:33:31","guid":{"rendered":"https:\/\/ilforno.me\/staging\/?page_id=4496"},"modified":"2026-11-14T16:16:34","modified_gmt":"2026-11-14T12:16:34","slug":"home-bg","status":"publish","type":"page","link":"https:\/\/ilforno.me\/staging\/","title":{"rendered":"home bg"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"4496\" class=\"elementor elementor-4496\">\n\t\t\t\t<div class=\"elementor-element elementor-element-03dc363 e-con-full e-flex e-con e-parent\" data-id=\"03dc363\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-54a487e elementor-widget elementor-widget-html\" data-id=\"54a487e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t\n<div id=\"ilforno-home\">\n  <style>\n    #ilforno-home {\n      --cream: #FBF4EB;\n      --red: #970A13;\n      --red-hover: #7D0710;\n      --ink: #201A17;\n      --line: #D8CEC1;\n      font-family: Arial, sans-serif;\n      color: var(--ink);\n      background: var(--cream);\n      width: 100%;\n      overflow: clip;\n    }\n\n    #ilforno-home,\n    #ilforno-home * {\n      box-sizing: border-box;\n    }\n\n    #ilforno-home h1,\n    #ilforno-home h2 {\n      font-family: Georgia, serif;\n      font-weight: 400;\n      color: var(--ink);\n      margin: 0;\n    }\n\n    #ilforno-home a {\n      text-decoration: none;\n    }\n\n    #ilforno-home button {\n      font: inherit;\n      cursor: pointer;\n    }\n\n    #ilforno-home a:focus-visible,\n    #ilforno-home button:focus-visible {\n      outline: 3px solid var(--red);\n      outline-offset: 4px;\n    }\n\n    #ilforno-home .if-container {\n      width: min(100% - 96px, 1344px);\n      margin-inline: auto;\n    }\n\n    \/* BUTTONS *\/\n\n    #ilforno-home .if-btn {\n      display: inline-flex;\n      align-items: center;\n      justify-content: center;\n      min-height: 48px;\n      padding: 13px 24px;\n      background: var(--red);\n      color: #fff !important;\n      border-radius: 4px;\n      border: 1px solid var(--red);\n      font-size: 14px;\n      transition: background .18s ease;\n    }\n\n    #ilforno-home .if-btn:hover {\n      background: var(--red-hover);\n    }\n\n    \/* HERO SECTION *\/\n\n    #ilforno-home .if-hero {\n      position: relative;\n      min-height: 620px;\n      display: flex;\n      align-items: center;\n      isolation: isolate;\n      background: var(--cream);\n    }\n\n    #ilforno-home .if-hero-image {\n      position: absolute;\n      inset: 0 0 0 37%;\n      z-index: -2;\n      overflow: hidden;\n    }\n\n    #ilforno-home .if-hero-image picture {\n      display: block;\n      width: 100%;\n      height: 100%;\n    }\n\n    #ilforno-home .if-hero-image img {\n      display: block;\n      width: 100%;\n      height: 100%;\n      object-fit: cover;\n      object-position: center;\n    }\n\n    #ilforno-home .if-hero::before {\n      content: \"\";\n      position: absolute;\n      inset: 0;\n      z-index: -1;\n      pointer-events: none;\n      background: linear-gradient(\n        90deg,\n        var(--cream) 19%,\n        rgba(251,244,235,.98) 30%,\n        rgba(251,244,235,.75) 44%,\n        transparent 69%\n      );\n    }\n\n    #ilforno-home .if-hero-content {\n      padding-block: 80px;\n      position: relative;\n      z-index: 1;\n    }\n\n    #ilforno-home .if-eyebrow {\n      font-size: 11px;\n      font-weight: 700;\n      letter-spacing: 4px;\n      margin-bottom: 25px;\n    }\n\n    #ilforno-home .if-hero h1 {\n      font-size: clamp(44px, 5.1vw, 72px);\n      line-height: 1.04;\n      max-width: 570px;\n      letter-spacing: -1.5px;\n    }\n\n    #ilforno-home .if-hero .if-btn {\n      margin-top: 54px;\n    }\n\n    \/* CATEGORY PREVIEW *\/\n\n    #ilforno-home .if-categories {\n      padding-top: 96px;\n      text-align: center;\n    }\n\n    #ilforno-home .if-categories h2 {\n      font-size: clamp(36px, 4.2vw, 60px);\n      line-height: 1.1;\n    }\n\n    #ilforno-home .if-tabs {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      flex-wrap: wrap;\n      gap: 36px;\n      margin: 30px 0 46px;\n    }\n\n    #ilforno-home .if-tablist {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      flex-wrap: wrap;\n      gap: 36px;\n    }\n\n    #ilforno-home .if-tab,\n    #ilforno-home .if-more {\n      background: transparent;\n      border: 0;\n      border-bottom: 2px solid transparent;\n      padding: 8px 2px;\n      color: var(--ink);\n      font-size: 15px;\n    }\n\n    #ilforno-home .if-tab[aria-selected=\"true\"] {\n      color: var(--red);\n      font-weight: 700;\n      border-bottom-color: var(--red);\n    }\n\n    #ilforno-home .if-more {\n      display: inline-flex;\n      align-items: center;\n      white-space: nowrap;\n    }\n\n    #ilforno-home .if-more:hover {\n      color: var(--red);\n      border-bottom-color: var(--red);\n    }\n\n    \/* RESPONSIVE CATEGORY IMAGES *\/\n\n    #ilforno-home .if-category-picture {\n      display: block;\n      width: 100%;\n      overflow: hidden;\n      background: var(--cream);\n    }\n\n    #ilforno-home .if-photo {\n      width: 100%;\n      aspect-ratio: 8 \/ 3;\n      object-fit: cover;\n      object-position: center;\n      display: block;\n    }\n\n    #ilforno-home .if-category-details {\n      display: flex;\n      align-items: center;\n      justify-content: space-between;\n      gap: 20px;\n      padding-top: 22px;\n      text-align: left;\n    }\n\n    #ilforno-home .if-category-name {\n      font-weight: 700;\n      font-size: 16px;\n    }\n\n    #ilforno-home .if-text-link {\n      color: var(--red);\n      font-weight: 600;\n      font-size: 15px;\n    }\n\n    #ilforno-home .if-text-link:hover {\n      text-decoration: underline;\n    }\n\n    \/* RESTAURANT FINDER *\/\n\n    #ilforno-home .if-restaurants {\n      padding-block: 96px;\n    }\n\n    #ilforno-home .if-restaurants-inner {\n      display: flex;\n      align-items: center;\n      justify-content: space-between;\n      gap: 24px;\n      min-height: 120px;\n    }\n\n    #ilforno-home .if-restaurants h2 {\n      font-size: clamp(34px, 3.8vw, 54px);\n    }\n\n    \/* TABLET *\/\n\n    @media (max-width: 1023px) {\n      #ilforno-home .if-container {\n        width: calc(100% - 64px);\n      }\n\n      #ilforno-home .if-hero {\n        min-height: 540px;\n      }\n\n      #ilforno-home .if-hero-image {\n        left: 30%;\n      }\n    }\n\n    \/* MOBILE *\/\n\n    @media (max-width: 767px) {\n      #ilforno-home .if-container {\n        width: calc(100% - 40px);\n      }\n\n      #ilforno-home .if-hero {\n        display: flex;\n        flex-direction: column;\n        min-height: 0;\n      }\n\n      #ilforno-home .if-hero-content {\n        width: calc(100% - 40px);\n        padding-block: 48px 32px;\n      }\n\n      #ilforno-home .if-hero h1 {\n        font-size: clamp(40px, 9vw, 44px);\n        letter-spacing: -.7px;\n      }\n\n      #ilforno-home .if-hero .if-btn {\n        margin-top: 30px;\n        width: 100%;\n      }\n\n      #ilforno-home .if-hero-image {\n        position: relative;\n        inset: auto;\n        width: 100%;\n        aspect-ratio: 4 \/ 5;\n        z-index: 0;\n        background: var(--cream);\n      }\n\n      #ilforno-home .if-hero-image img {\n        object-fit: cover;\n        object-position: center;\n      }\n\n      #ilforno-home .if-hero::before {\n        display: none;\n      }\n\n      #ilforno-home .if-categories {\n        padding-top: 56px;\n      }\n\n      #ilforno-home .if-categories h2 {\n        font-size: 36px;\n      }\n\n      #ilforno-home .if-tabs {\n        gap: 14px 24px;\n        margin: 24px 0 32px;\n      }\n\n      #ilforno-home .if-tablist {\n        gap: 14px 24px;\n      }\n\n      #ilforno-home .if-photo {\n        aspect-ratio: 4 \/ 3;\n        object-position: center;\n      }\n\n      #ilforno-home .if-restaurants {\n        padding-block: 64px;\n      }\n\n      #ilforno-home .if-restaurants-inner {\n        flex-direction: column;\n        align-items: flex-start;\n        min-height: 0;\n      }\n    }\n\n    @media (max-width: 359px) {\n      #ilforno-home .if-container {\n        width: calc(100% - 32px);\n      }\n    }\n\n    @media (prefers-reduced-motion: reduce) {\n      #ilforno-home *,\n      #ilforno-home *::before,\n      #ilforno-home *::after {\n        transition: none !important;\n      }\n    }\n  <\/style>\n\n  <!-- HOMEPAGE CONTENT ONLY -->\n  <!-- Global header and footer are managed separately -->\n\n  <main>\n\n    <!-- HERO SECTION -->\n\n    <section class=\"if-hero\" aria-labelledby=\"if-hero-title\">\n\n      <div class=\"if-container if-hero-content\">\n        <div class=\"if-eyebrow\">IL FORNO<\/div>\n\n        <h1 id=\"if-hero-title\">\n          A taste of Italy.<br>\n          A moment for you.\n        <\/h1>\n\n        <a\n          class=\"if-btn\"\n          href=\"https:\/\/ilforno.me\/staging\/menu\/\">\n          Explore the Menu\n        <\/a>\n      <\/div>\n\n      <div class=\"if-hero-image\">\n        <picture>\n\n          <source\n            media=\"(max-width: 767px)\"\n            srcset=\"https:\/\/ilforno.me\/staging\/wp-content\/uploads\/2026\/11\/ilforno-hero-mobile-seamless.webp\">\n\n          <img fetchpriority=\"high\" title=\"home bg\"\n            src=\"https:\/\/ilforno.me\/staging\/wp-content\/uploads\/2026\/11\/ilforno-hero-desktop.webp\"\n            alt=\"Freshly baked Il Forno pizza\"\n            width=\"1600\"\n            height=\"1000\"\n            fetchpriority=\"high\"\n            loading=\"eager\"\n            decoding=\"async\">\n\n        <\/picture>\n      <\/div>\n\n    <\/section>\n\n    <!-- FOOD CATEGORY SECTION -->\n\n    <section\n      class=\"if-categories if-container\"\n      aria-labelledby=\"if-category-title\">\n\n      <h2 id=\"if-category-title\">\n        Made for every craving.\n      <\/h2>\n\n      <!-- CATEGORY NAVIGATION -->\n      <!-- The menu link is outside the ARIA tablist -->\n\n      <div class=\"if-tabs\">\n\n        <div\n          class=\"if-tablist\"\n          role=\"tablist\"\n          aria-label=\"Food category previews\">\n\n          <button\n            class=\"if-tab\"\n            type=\"button\"\n            role=\"tab\"\n            id=\"if-tab-pizza\"\n            aria-controls=\"if-category-panel\"\n            aria-selected=\"false\"\n            tabindex=\"-1\"\n            data-category=\"pizza\">\n            Pizza\n          <\/button>\n\n          <button\n            class=\"if-tab\"\n            type=\"button\"\n            role=\"tab\"\n            id=\"if-tab-pasta\"\n            aria-controls=\"if-category-panel\"\n            aria-selected=\"true\"\n            tabindex=\"0\"\n            data-category=\"pasta\">\n            Pasta\n          <\/button>\n\n          <button\n            class=\"if-tab\"\n            type=\"button\"\n            role=\"tab\"\n            id=\"if-tab-baked\"\n            aria-controls=\"if-category-panel\"\n            aria-selected=\"false\"\n            tabindex=\"-1\"\n            data-category=\"baked\">\n            Baked Pasta\n          <\/button>\n\n        <\/div>\n\n        <!-- SEO-FRIENDLY DESCRIPTIVE LINK -->\n\n        <a\n          class=\"if-more\"\n          href=\"https:\/\/ilforno.me\/staging\/menu\/\">\n          Explore Full Menu\n        <\/a>\n\n      <\/div>\n\n      <!-- RESPONSIVE CATEGORY IMAGE -->\n\n      <div\n        id=\"if-category-panel\"\n        role=\"tabpanel\"\n        aria-labelledby=\"if-tab-pasta\"\n        tabindex=\"0\">\n\n        <picture class=\"if-category-picture\">\n\n          <source\n            id=\"if-category-mobile\"\n            media=\"(max-width: 767px)\"\n            srcset=\"https:\/\/ilforno.me\/staging\/wp-content\/uploads\/2026\/11\/ilforno-pasta-mobile.webp\">\n\n          <img loading=\"lazy\" title=\"home bg\"\n            class=\"if-photo\"\n            id=\"if-category-photo\"\n            src=\"https:\/\/ilforno.me\/staging\/wp-content\/uploads\/2026\/11\/ilforno-pasta-desktop.webp\"\n            alt=\"Il Forno creamy pasta with mushrooms\"\n            width=\"1400\"\n            height=\"525\"\n            loading=\"lazy\"\n            decoding=\"async\">\n\n        <\/picture>\n\n        <div class=\"if-category-details\">\n\n          <span\n            class=\"if-category-name\"\n            id=\"if-category-name\">\n            Pasta\n          <\/span>\n\n          <a\n            class=\"if-text-link\"\n            href=\"https:\/\/ilforno.me\/staging\/menu\/\">\n            View full menu \u2192\n          <\/a>\n\n        <\/div>\n\n      <\/div>\n\n    <\/section>\n\n    <!-- RESTAURANT FINDER -->\n\n    <section class=\"if-restaurants\">\n\n      <div class=\"if-container if-restaurants-inner\">\n\n        <h2>Your nearest Il Forno<\/h2>\n\n        <a\n          class=\"if-text-link\"\n          href=\"https:\/\/ilforno.me\/staging\/restaurants\/\">\n          Find a restaurant \u2192\n        <\/a>\n\n      <\/div>\n\n    <\/section>\n\n  <\/main>\n\n  <!-- CATEGORY SWITCHING SCRIPT -->\n\n  <script>\n    (function () {\n      const root = document.getElementById(\"ilforno-home\");\n\n      if (!root || root.dataset.initialized) return;\n      root.dataset.initialized = \"true\";\n\n      const base =\n        \"https:\/\/ilforno.me\/staging\/wp-content\/uploads\/2026\/11\/\";\n\n      const categories = {\n        pizza: {\n          title: \"Pizza\",\n          alt: \"Il Forno pizza with mushrooms, olives and peppers\",\n          desktop: base + \"ilforno-pizza-desktop.webp\",\n          mobile: base + \"ilforno-pizza-mobile.webp\"\n        },\n\n        pasta: {\n          title: \"Pasta\",\n          alt: \"Il Forno creamy pasta with mushrooms\",\n          desktop: base + \"ilforno-pasta-desktop.webp\",\n          mobile: base + \"ilforno-pasta-mobile.webp\"\n        },\n\n        baked: {\n          title: \"Baked Pasta\",\n          alt: \"Il Forno oven-baked pasta with golden cheese\",\n          desktop: base + \"ilforno-baked-pasta-desktop.webp\",\n          mobile: base + \"ilforno-baked-pasta-mobile.webp\"\n        }\n      };\n\n      const tabs = Array.from(\n        root.querySelectorAll(\".if-tab\")\n      );\n\n      const panel = root.querySelector(\"#if-category-panel\");\n      const photo = root.querySelector(\"#if-category-photo\");\n      const mobileSource = root.querySelector(\"#if-category-mobile\");\n      const name = root.querySelector(\"#if-category-name\");\n\n      if (!panel || !photo || !mobileSource || !name) return;\n\n      function activateTab(tab) {\n        const item = categories[tab.dataset.category];\n\n        if (!item) return;\n\n        tabs.forEach(function (other) {\n          const selected = other === tab;\n\n          other.setAttribute(\n            \"aria-selected\",\n            String(selected)\n          );\n\n          other.tabIndex = selected ? 0 : -1;\n        });\n\n        panel.setAttribute(\"aria-labelledby\", tab.id);\n\n        mobileSource.srcset = item.mobile;\n        photo.src = item.desktop;\n        photo.alt = item.alt;\n        name.textContent = item.title;\n      }\n\n      tabs.forEach(function (tab, index) {\n\n        tab.addEventListener(\"click\", function () {\n          activateTab(tab);\n        });\n\n        tab.addEventListener(\"keydown\", function (event) {\n          let next = index;\n\n          if (event.key === \"ArrowRight\") {\n            next = (index + 1) % tabs.length;\n          } else if (event.key === \"ArrowLeft\") {\n            next = (index - 1 + tabs.length) % tabs.length;\n          } else if (event.key === \"Home\") {\n            next = 0;\n          } else if (event.key === \"End\") {\n            next = tabs.length - 1;\n          } else {\n            return;\n          }\n\n          event.preventDefault();\n          activateTab(tabs[next]);\n          tabs[next].focus();\n        });\n\n      });\n\n      const initialTab = tabs.find(function (tab) {\n        return tab.getAttribute(\"aria-selected\") === \"true\";\n      }) || tabs[0];\n\n      if (initialTab) {\n        activateTab(initialTab);\n      }\n\n    })();\n  <\/script>\n\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>IL FORNO A taste of Italy. A moment for you. Explore the Menu Made for every craving. Pizza Pasta Baked Pasta Explore Full Menu Pasta View full menu \u2192 Your nearest Il Forno Find a restaurant \u2192<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-4496","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/pages\/4496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/comments?post=4496"}],"version-history":[{"count":31,"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/pages\/4496\/revisions"}],"predecessor-version":[{"id":4665,"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/pages\/4496\/revisions\/4665"}],"wp:attachment":[{"href":"https:\/\/ilforno.me\/staging\/wp-json\/wp\/v2\/media?parent=4496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}