/*
Theme Name: Magis
Theme URI: https://magis.example
Author: Magis
Description: Tema custom Magis costruito con blocchi ACF.
Version: 0.1.0
Text Domain: magis
*/

:root {
  --magis-color-ink: #17202a;
  --magis-color-paper: #ffffff;
  --magis-color-muted: #66717d;
  --magis-color-accent: #1f6f8b;
  --magis-container: 1352px;
  --magis-gutter: 80px;
  --magis-radius: 0;
  --magis-font-body: 'Ubuntu', Arial, Helvetica, sans-serif;
  --magis-font-heading: 'Ubuntu', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--magis-color-paper);
  color: var(--magis-color-ink);
  font-family: var(--magis-font-body);
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
:where(form button:not([type]), form button[type="submit"], form input[type="submit"], form input[type="image"], button:not([type])[form], button[type="submit"][form], input[type="submit"][form], input[type="image"][form]):disabled { cursor: not-allowed; opacity: .65; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.magis-container {
  width: min(100% - (2 * var(--magis-gutter)), var(--magis-container));
  margin-inline: auto;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.site-main { min-height: 50vh; }
.casa-content-gradient { background: linear-gradient(0deg, #AEDDF9 10.61%, #ABD9F6 68.71%, #003570 100%); }
.offers-listing-page-background,
.hero-illustrated-page-background,
.central-page-gradient-background,
.homepage-gradient-container--offers,
.homepage-gradient-container--content {
  background-color: #ACDAF7;
  background-image: url('/wp-content/uploads/2026/10/bg_sfumatura.png');
  background-position: top center;
  background-repeat: repeat-x;
}
.central-page-gradient-background .card-hub-offers,
.central-page-gradient-background .casa-benefits-shell,
.central-page-gradient-background .casa-faq,
.central-page-gradient-background .conventions-carousel,
.central-page-gradient-background .energy-plus-pillars,
.central-page-gradient-background .energy-plus-news,
.central-page-gradient-background .assistance-guides,
.central-page-gradient-background .about-intro,
.central-page-gradient-background .related-links {
	background: transparent !important;
}
@media (max-width: 767px) {
	body.page-casa .central-page-gradient-background { padding-bottom: 56px; }
}
.hero-illustrated-page-background .environment-impact,
.hero-illustrated-page-background .supported-projects,
.hero-illustrated-page-background .business-consultation,
.hero-illustrated-page-background .business-ppa,
.hero-illustrated-page-background .condominio-benefits,
.hero-illustrated-page-background .partner-logos,
.hero-illustrated-page-background .condominio-solutions-banner,
.hero-illustrated-page-background .casa-faq,
.hero-illustrated-page-background .message-banner--layout-xl:not(.message-banner-teleriscaldamento),
.hero-illustrated-page-background .message-banner--layout-xl:not(.message-banner-teleriscaldamento):not(.message-banner-transition) .message-banner__inner {
	background: transparent !important;
}
.homepage-gradient-container:has(.message-banner) { padding-bottom: 124px; }
.homepage-gradient-container:has(.message-banner) .message-banner { margin-bottom: 0; }
@media (min-width: 1101px) {
	.homepage-gradient-container:has(.message-banner) { padding-bottom: 109px; }
}
.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px 0 10px;
  border-bottom: 0;
  color: #fff;
}
.site-header--solid {
  position: relative;
  border-bottom: 1px solid #e5e8eb;
  color: inherit;
}
.site-header--search { position: relative; background: #022b65; }
.site-header__inner, .site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__inner { position: relative; z-index: 2; }
.site-brand { display: inline-flex; align-items: center; min-width: 228px; color: inherit; font-family: var(--magis-font-heading); font-weight: 500; text-decoration: none; }
.site-brand__logo { display: block; width: 176.58px; height: 42.96px; }
.site-navigation { flex: 1 1 auto; position: relative; z-index: 2; }
.site-navigation__list { display: flex; flex-wrap: nowrap; justify-content: center; gap: 40px; margin: 0; padding: 0; }
.site-navigation__trigger { position: relative; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.magis-menu-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 3px; padding: 2px 5px; background: linear-gradient(269.3deg, #1072b5 0%, #891e66 97.537%); color: #f8fbff; font-family: var(--magis-font-body); font-size: 10px; font-weight: 700; line-height: 12px; text-transform: uppercase; white-space: nowrap; }
.site-navigation__trigger > .magis-menu-badge { position: absolute; right: 0; bottom: calc(100% - 3px); }
.magis-mega-menu__level-three .magis-menu-badge, .magis-mobile-menu__detail-link .magis-menu-badge, .magis-mobile-menu__cta .magis-menu-badge { margin-left: 8px; }
.site-navigation__accent { color: #19b2fc; }
button.site-navigation__trigger[aria-expanded="true"]::after { position: absolute; right: 0; bottom: -24px; width: 100%; height: 4px; background: #19b2fc; content: ''; }
.site-navigation .menu-item:nth-child(4) a { color: #19b2fc; }
.site-header__actions { display: flex; align-items: center; gap: 24px; min-width: 269px; padding: 10px 0 10px 10px; }
.site-header__icon-button, .site-header__client-button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: #fff; color: #1d4289; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; text-decoration: none; }
.site-header__icon-button { width: 56px; height: 56px; cursor: pointer; }
.site-header__icon-button img, .site-header__client-button img { display: block; width: 24px; height: 24px; }
.site-header__client-button { height: 56px; gap: 10px; padding: 4px 24px; white-space: nowrap; }
.site-header__mobile-menu { display: none; }
.site-footer { margin-top: 0; background: #022b65; color: #fff; }
.site-footer > .magis-container { width: min(100% - 232px, 1280px); padding: 48px 0 80px; }
.site-footer__header { display: flex; align-items: center; justify-content: space-between; min-height: 43px; }
.site-footer__logo { display: block; width: 176.58px; height: 42.96px; }
.site-footer__logo img { display: block; width: 100%; height: 100%; }
.site-footer__social { display: flex; align-items: center; gap: 24px; }
.site-footer__social a { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; }
.site-footer__social img { display: block; max-width: 100%; max-height: 100%; }
.site-footer__menus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 47px; }
.site-footer__menu { min-width: 0; }
.site-footer__menu h2 { margin: 0 0 24px; color: #fff; font-family: var(--magis-font-heading); font-size: 24px; font-weight: 400; line-height: 32px; }
.site-footer__menu ul { margin: 0; padding: 0; list-style: none; }
.site-footer__menu li { font-size: 18px; line-height: 30px; white-space: pre-line; }
.site-footer__menu a { color: #fff; text-decoration: none; }
.site-footer__menu a:hover, .site-footer__menu a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 24px; margin-top: 44px; }
.site-footer__contact { min-width: 0; }
.site-footer__help { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 23px; }
.site-footer__phone { display: inline-flex; align-items: center; gap: 7px; color: #35a8e0; font-size: 24px; font-weight: 700; line-height: normal; text-decoration: none; }
.site-footer__phone img { width: 24px; height: 24px; }
.site-footer__hours { max-width: 220px; margin: 7px 0 0; font-size: 12px; line-height: normal; }
.site-footer__portal { align-self: start; display: block; width: 212.82px; height: 48px; grid-column: 2; justify-self: start; }
.site-footer__portal img { display: block; width: 100%; height: 100%; }
.site-footer__app { width: 320px; grid-column: 4; justify-self: start; }
.site-footer__app-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 23px; }
.site-footer__app-description { margin: 0; font-family: 'Inter', Arial, sans-serif; font-size: 12px; line-height: normal; }
.site-footer__stores { display: flex; gap: 10px; margin-top: 8px; }
.site-footer__store { display: block; width: 115.3px; height: 38.4px; }
.site-footer__store img { display: block; width: 100%; height: 100%; }
.site-footer__bottom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 24px; margin-top: 38px; }
.site-footer__company { grid-column: span 3; white-space: pre-line; }
.site-footer__company, .site-footer__carbon { color: #fff; font-size: 16px; line-height: 22px; }
.site-footer__company p, .site-footer__carbon p { margin: 0; }
.site-footer__carbon { grid-column: 4; min-width: 0; width: 320px; }
.site-footer__carbon a { color: #5eff89; text-decoration: underline; text-underline-offset: 2px; }
.entry-content { padding-block: 48px; }
.site-main--full .entry-content { padding-block: 0; }

.site-header:not(.site-header--solid) .site-brand,
.site-header:not(.site-header--solid) .site-navigation__trigger { color: #fff; }
.site-header:not(.site-header--solid) .site-navigation__trigger:hover,
.site-header:not(.site-header--solid) .site-navigation__trigger:focus-visible { color: #19b2fc; }
.site-header.is-scrolled {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  padding-block: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: #022b65;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
  color: #fff;
  transition: background-color .2s ease, padding .2s ease, box-shadow .2s ease, transform .25s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled .site-brand,
.site-header.is-scrolled .site-navigation a { color: #fff; }
.magis-mega-menu { position: absolute; z-index: 1; top: 0; right: 0; left: 0; min-height: 0; overflow: hidden; background: rgba(2, 43, 101, .9); backdrop-filter: blur(15px); opacity: 0; pointer-events: none; transform: translateY(-18px); transition: opacity .22s ease-out, transform .3s cubic-bezier(.16, 1, .3, 1); }
.magis-mega-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.magis-mobile-menu { display: none; }
.magis-mega-menu__content { padding-top: 146px; padding-bottom: 48px; }
.magis-mega-menu__heading { display: flex; align-items: center; justify-content: space-between; }
.magis-mega-menu__title { margin: 0; color: #fff; font-family: var(--magis-font-heading); font-size: 32px; font-weight: 500; line-height: 1.15; }
.magis-mega-menu__close { border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; font-size: 30px; font-weight: 300; line-height: 1; }
.magis-mega-menu__body { display: flex; align-items: flex-start; margin-top: 10px; color: #fff; }
.magis-mega-menu__intro { width: 280px; padding-top: 3px; color: inherit; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 300; text-decoration: none; }
.magis-mega-menu__intro.is-visible { display: flex; flex: 0 0 314px; align-items: center; gap: 10px; width: 314px; white-space: nowrap; }
.magis-mega-menu__levels { display: flex; align-items: flex-start; margin-left: 145px; }
.magis-mega-menu__level-two { display: flex; width: 205px; flex-direction: column; gap: 16px; }
.magis-mega-menu__level-two[hidden] { display: none; }
.magis-mega-menu__group { display: contents; }
.magis-mega-menu__group[hidden], .magis-mega-menu__intro[hidden] { display: none; }
.magis-mega-menu__level-two-item { display: inline-flex; align-items: center; gap: 8px; width: max-content; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; line-height: 32px; text-align: left; text-decoration: none; }
.magis-mega-menu__level-two-item:not(.is-leaf)::after { color: #19b2fc; content: '\203A'; font-size: 24px; font-weight: 400; line-height: 1; }
.magis-mega-menu__level-two-item.is-leaf { font-weight: 300; }
.magis-mega-menu__level-two-item.is-active { font-weight: 700; }
.magis-mega-menu__level-two-item.is-active .magis-mega-menu__level-two-label { text-decoration: underline; text-underline-offset: 3px; }
.magis-mega-menu__body.is-about-section .magis-mega-menu__level-two-item.is-leaf { font-weight: 400; }
.magis-mega-menu__body.is-about-section .magis-mega-menu__level-two-item.is-active { font-weight: 500; }
.magis-mega-menu__body.is-about-section .magis-mega-menu__level-two-item.is-active .magis-mega-menu__level-two-label { text-decoration: none; }
.magis-mega-menu__body.is-about-section .magis-mega-menu__level-two-item:not(.is-leaf)::after { width: 24px; height: 24px; flex: 0 0 24px; background: url('assets/images/mega-menu-chevron-right.svg') center / 7.41px 12px no-repeat; content: ''; font-size: 0; }
.magis-mega-menu__level-two-item.is-disabled { opacity: .3; cursor: not-allowed; }
.magis-mega-menu__level-three { display: flex; width: 287px; flex-direction: column; gap: 28px; margin-left: 140px; }
.magis-mega-menu__level-three.has-columns { width: 590px; }
.magis-mega-menu__level-three a { color: #fff; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 300; line-height: 21px; text-decoration: none; }
.magis-mega-menu__body.is-about-section { margin-top: 3px; }
.magis-mega-menu__body.is-about-section .magis-mega-menu__intro { font-weight: 500; }
.magis-mega-menu__body.is-about-section .magis-mega-menu__level-three { padding-top: 9px; }
.magis-mega-menu__level-three-separator { align-self: flex-start; width: min(531px, 100%); border-top: 1px solid rgba(255, 255, 255, .7); margin: -13px 0 -14px; }
.magis-mega-menu__level-three-columns { display: grid; width: 100%; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); column-gap: 16px; row-gap: 28px; }
.magis-mega-menu__body.has-news-cards .magis-mega-menu__intro.is-visible { flex-basis: 314px; }
.magis-mega-menu__levels.has-news-cards { min-width: 0; flex: 1; margin-left: 133px; padding-top: 6px; }
.magis-mega-menu__level-three.has-news-cards { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-left: 0; }
.magis-mega-menu__news-card { box-sizing: border-box; display: flex; min-width: 0; min-height: 0; flex-direction: column; align-items: flex-start; gap: 16px; border-radius: 21px; padding: 24px; background: #fff; color: #1d4289 !important; text-decoration: none !important; }
.magis-mega-menu__news-card:focus-visible { outline: 3px solid #19b2fc; outline-offset: 3px; }
.magis-mega-menu__news-category { align-self: flex-start; border-radius: 100px; padding: 5px 11px; background: #d0edff; color: #022b65; font-family: var(--magis-font-body); font-size: 13px; font-weight: 400; line-height: 17px; }
.magis-mega-menu__news-title { width: 100%; flex: 1; color: #1d4289; font-family: var(--magis-font-body); font-size: 24px; font-weight: 400; line-height: 32px; }
.magis-mega-menu__news-arrow { width: 35px; height: 35px; align-self: flex-end; margin-top: auto; }
.magis-mega-menu__data { display: none; }
.magis-search-overlay { position: absolute; z-index: 3; top: 0; right: 0; left: 0; min-height: 553px; overflow: hidden; background: #022b65; opacity: 0; pointer-events: none; transform: translateY(-18px); transition: opacity .22s ease-out, transform .3s cubic-bezier(.16, 1, .3, 1); }
.magis-search-overlay.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.magis-search-overlay__content { position: relative; z-index: 1; padding-top: 30px; }
.magis-search-overlay__heading { display: flex; height: 76px; justify-content: flex-end; align-items: center; }
.magis-search-overlay__brand { display: inline-flex; margin-right: auto; }
.magis-search-overlay__brand img { display: block; width: 176.58px; height: 42.96px; }
.magis-search-overlay__close { width: 40px; height: 40px; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; font-size: 36px; font-weight: 300; line-height: 1; }
.magis-search-overlay__form { position: relative; width: min(100%, 888px); height: 67px; margin: 115px auto 0; }
.magis-search-overlay__form::after { position: absolute; right: 0; bottom: 0; left: 0; border-bottom: 1px solid #fff; content: ''; }
.magis-search-overlay__form input { width: 100%; height: 50px; border: 0; padding: 0 160px 0 0; background: transparent; color: #fff; font-family: var(--magis-font-heading); font-size: 32px; font-weight: 400; line-height: 39px; outline: 0; }
.magis-search-overlay__form input::placeholder { color: rgba(255, 255, 255, .6); }
.magis-search-overlay__form button { position: absolute; z-index: 1; top: -3px; right: 0; display: inline-flex; height: 56px; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 4px 24px; background: #fff; color: #1d4289; cursor: pointer; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; }
.magis-search-overlay__form button img { width: 24px; height: 24px; }
.magis-search-overlay__frequent { width: min(100%, 888px); margin: 24px auto 0; color: #fff; font-family: var(--magis-font-heading); }
.magis-search-overlay__frequent p { margin: 0 0 16px; font-size: 18px; font-weight: 400; line-height: 23px; }
.magis-search-overlay__frequent > div { display: flex; flex-wrap: wrap; gap: 24px; }
.magis-search-overlay__frequent button { min-height: 56px; border: 2px solid #fff; border-radius: 999px; padding: 4px 24px; background: transparent; color: #fff; cursor: pointer; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; }
.magis-search-overlay__frequent button::first-letter { text-transform: uppercase; }
.magis-search-overlay__frequent button:hover, .magis-search-overlay__frequent button:focus-visible { background: #fff; color: #1d4289; }
.search-results { background: #f5f7fa; color: #1d4289; }
.search-results__content { padding: 72px 0 96px; }
.search-results__breadcrumbs { display: flex; gap: 8px; align-items: center; margin: 0 0 56px; font-size: 14px; line-height: 26px; }
.search-results__breadcrumbs a { color: inherit; }
.search-results__title { margin: 0; font-family: var(--magis-font-heading); font-size: 88px; font-weight: 500; line-height: 1; }
.search-results__form { display: flex; align-items: center; gap: 24px; width: min(100%, 779px); margin: 104px 0 106px auto; }
.search-results__form input { min-width: 0; flex: 1; border: 0; border-bottom: 1px solid #1d4289; padding: 0 0 11px; background: transparent; color: #1d4289; font-family: var(--magis-font-heading); font-size: 32px; font-weight: 500; line-height: 39px; outline: 0; }
.search-results__cancel { display: inline-flex; height: 56px; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 4px 24px; background: #1d4289; color: #fff; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; text-decoration: none; }
.search-results__count { margin: 0 0 24px; font-size: 24px; line-height: 32px; }
.search-results__count strong { font-weight: 700; }
.search-results__list { margin: 0; padding: 0; list-style: none; }
.search-results__item { border-bottom: 1px solid #1d4289; padding: 20px 44px 20px 0; }
.search-results__type { display: block; margin-bottom: 16px; font-size: 18px; font-weight: 700; line-height: 23px; }
.search-results__item a { color: #1d4289; font-family: var(--magis-font-heading); font-size: 32px; font-weight: 500; line-height: 1; text-decoration: none; }
.search-results__item a:hover, .search-results__item a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.search-results__empty { font-size: 24px; line-height: 32px; }
.search-results__pagination { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-top: 64px; font-size: 18px; line-height: 23px; }
.search-results__pagination a { display: inline-flex; height: 56px; align-items: center; border: 2px solid #1d4289; border-radius: 999px; padding: 4px 24px; color: #1d4289; font-family: var(--magis-font-heading); font-weight: 500; text-decoration: none; }
@media (min-width: 768px) and (max-width: 1599px) {
  :root { --magis-gutter: 24px; }
  .site-header__inner { width: min(100% - 48px, var(--magis-container)); }
}
@media (min-width: 768px) and (max-width: 1399px) {
  .site-brand { min-width: 180px; }
  .site-navigation__list { gap: 16px; }
  .site-navigation__trigger { font-size: 16px; }
  .site-header__actions { min-width: 220px; gap: 12px; }
  .site-header__client-button { padding-inline: 16px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .site-navigation__list { gap: 24px; }
}
@media (min-width: 768px) and (max-width: 1149px) {
  .magis-mega-menu__body { flex-direction: column; gap: 24px; }
  .magis-mega-menu__intro { width: auto; }
  .magis-mega-menu__intro.is-visible { flex: 0 1 auto; width: auto; white-space: normal; }
  .magis-mega-menu__levels { width: 100%; gap: 48px; margin-left: 0; }
  .magis-mega-menu__level-three { margin-left: 0; }
  .magis-mega-menu__level-three.has-columns { width: min(590px, calc(100vw - 420px)); }
}
@media (min-width: 1150px) and (max-width: 1199px) {
  .magis-mega-menu__body.has-news-cards { flex-direction: column; gap: 24px; }
  .magis-mega-menu__body.has-news-cards .magis-mega-menu__intro.is-visible { flex: 0 1 auto; width: auto; white-space: normal; }
  .magis-mega-menu__levels.has-news-cards { width: 100%; margin-left: 0; }
}
@media (max-width: 767px) {
  .site-header { padding-top: 40px; }
  :root { --magis-gutter: 24px; }
  .homepage-gradient-container--offers { background-position: center -22px; }
  .homepage-gradient-container--content { background-position: center -450px; }
  .homepage-gradient-container:has(.message-banner) { padding-bottom: 80px; }
  .site-footer > .magis-container { width: calc(100% - 32px); padding: 36px 0 64px; }
  .site-header__inner { width: calc(100% - 32px); align-items: center; flex-direction: row; }
  .site-footer__header { gap: 16px; }
  .site-footer__logo { width: 131px; height: 32px; }
  .site-footer__menus { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 38px; row-gap: 24px; margin-top: 48px; }
  .site-footer__menu { width: 100%; }
  .site-footer__menu h2 { margin-bottom: 14px; font-size: 18px; line-height: 23px; }
  .site-footer__menu ul { display: flex; flex-direction: column; gap: 8px; }
  .site-footer__menu li { font-size: 14px; line-height: normal; }
  .site-footer__services { display: flex; flex-direction: column; gap: 0; margin-top: 28px; }
  .site-footer__contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; width: 100%; margin-bottom: 60px; }
  .site-footer__help { grid-column: 1; grid-row: 1; margin: 0; font-size: 16px; font-weight: 400; line-height: 24px; }
  .site-footer__phone { grid-column: 2; grid-row: 1; gap: 7px; font-size: 24px; }
  .site-footer__hours { grid-column: 2; grid-row: 2; max-width: none; margin-top: 0; }
  .site-footer__portal, .site-footer__app { justify-self: start; }
  .site-footer__portal, .site-footer__app, .site-footer__company, .site-footer__carbon { grid-column: auto; }
  .site-footer__portal { width: 176px; height: 40px; margin-bottom: 32px; }
  .site-footer__app { width: auto; }
  .site-footer__stores { gap: 14px; margin-top: 14px; }
  .site-footer__store { width: 165px; height: 55px; }
  .site-footer__bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 32px; margin: 48px 0 0 6px; }
  .site-footer__company { font-family: 'Inter', Arial, sans-serif; font-size: 14px; line-height: 24px; }
  .site-footer__carbon { width: 100%; min-width: 0; font-size: 16px; line-height: 24px; }
  .site-navigation, .site-header__actions { display: none; }
  .site-brand { min-width: 0; }
  .site-brand__logo { width: 131.66px; height: 32.03px; }
  .site-header__mobile-menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 10px; background: #fff; color: #022b65; cursor: pointer; }
  .site-header__mobile-menu img { display: block; width: 24px; height: 24px; }
  .magis-mega-menu { position: fixed; min-height: 100svh; overflow-y: auto; }
  .magis-mega-menu__content { padding-top: 120px; padding-bottom: 48px; }
  .magis-mega-menu__body { flex-direction: column; gap: 28px; }
  .magis-mega-menu__levels { width: 100%; flex-direction: column; gap: 28px; margin-left: 0; }
  .magis-mega-menu__level-two, .magis-mega-menu__level-three { width: 100%; margin-left: 0; }
  .magis-mega-menu__level-three.has-columns { width: 100%; }
  .magis-mega-menu__levels.has-news-cards { width: 100%; margin-left: 0; }
  .magis-mega-menu__level-three.has-news-cards { grid-template-columns: 1fr; }
  .magis-mega-menu__level-three-columns { grid-auto-flow: row; grid-template-columns: 1fr; grid-template-rows: none; }
  .magis-mega-menu__level-two-item { width: 100%; justify-content: space-between; min-height: 44px; }
  .magis-search-overlay { position: fixed; min-height: 100svh; overflow-y: auto; }
  .magis-search-overlay__content { padding-top: 30px; padding-bottom: 48px; }
  .magis-search-overlay__heading { height: 44px; }
  .magis-search-overlay__form { height: 60px; margin-top: 60px; }
  .magis-search-overlay__form input { font-size: 26px; line-height: 32px; }
  .magis-search-overlay__frequent > div { gap: 12px; }
  .search-results__content { padding-block: 40px 64px; }
  .search-results__breadcrumbs { margin-bottom: 40px; }
  .search-results__title { font-size: 52px; }
  .search-results__form { width: 100%; margin-block: 64px; gap: 12px; }
  .search-results__form input { font-size: 26px; line-height: 32px; }
  .search-results__cancel { height: 48px; padding-inline: 18px; }
  .search-results__item { padding-right: 0; }
  .search-results__item a { font-size: 26px; line-height: 32px; }
  .search-results__pagination { justify-content: space-between; margin-top: 40px; }
  body.magis-mobile-menu-open { overflow: hidden; }
  body.magis-mobile-menu-open .site-header.is-menu-open { position: fixed; z-index: 100; inset: 0; padding: 0; background: #022b65; transform: none; transition: none; }
  body.magis-mobile-menu-open .site-header.is-menu-open .site-header__inner { visibility: hidden; }
  .magis-mega-menu { position: fixed; z-index: 30; inset: 0; height: 100vh; height: 100dvh; min-height: 0; overflow-x: hidden; overflow-y: auto; background: #022b65; backdrop-filter: none; transform: none; }
  .magis-mega-menu.is-open { transform: none; }
  .magis-mega-menu__content { display: none; }
  .magis-mobile-menu { display: block; width: 100%; min-height: 100%; padding: 40px 16px max(32px, env(safe-area-inset-bottom)); color: #fff; }
  .magis-mobile-menu__header { display: flex; height: 44px; align-items: center; justify-content: space-between; }
  .magis-mobile-menu__brand { display: inline-flex; align-items: center; }
  .magis-mobile-menu__brand img { display: block; width: 131.66px; height: 32.03px; }
  .magis-mobile-menu__close { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; padding: 10px; background: #fff; cursor: pointer; }
  .magis-mobile-menu__close img { display: block; width: 24px; height: 24px; }
  .magis-mobile-menu__root[hidden], .magis-mobile-menu__subview[hidden] { display: none; }
  .magis-mobile-menu__root { margin-top: 52px; }
  .magis-mobile-menu__actions { display: flex; align-items: center; justify-content: space-between; }
  .magis-mobile-menu__search { width: 44px; height: 44px; padding: 10px; }
  .magis-mobile-menu__client { width: 158px; height: 44px; gap: 4px; padding: 4px 16px; font-size: 18px; }
  .magis-mobile-menu__navigation { margin-top: 48px; }
  .magis-mobile-menu__sections { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
  .magis-mobile-menu__section { display: flex; width: 100%; align-items: center; gap: 10px; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; font-family: var(--magis-font-heading); font-size: 32px; font-weight: 400; line-height: 1.15; text-align: left; text-decoration: none; }
  .magis-mobile-menu__section .magis-menu-badge { flex: 0 0 auto; transform: translateY(-8px); }
  .magis-mobile-menu__subview { margin-top: 52px; }
  .magis-mobile-menu__back { display: inline-flex; min-height: 26px; align-items: center; gap: 4px; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; line-height: 26px; }
  .magis-mobile-menu__back img { display: block; width: 24px; height: 24px; filter: brightness(0) invert(1); }
  .magis-mobile-menu__content { display: flex; flex-direction: column; margin-top: 20px; }
  .magis-mobile-menu__title { margin: 0; color: #fff; font-family: var(--magis-font-heading); font-size: 32px; font-weight: 400; line-height: 1.2; }
  .magis-mobile-menu__cta { display: block; margin-top: 24px; color: #fff; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 700; line-height: 23px; text-decoration: none; }
  .magis-mobile-menu__links { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
  .magis-mobile-menu__link { display: flex; width: 100%; min-height: 32px; align-items: center; justify-content: space-between; gap: 8px; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; line-height: 23px; text-align: left; text-decoration: none; }
  .magis-mobile-menu__link.has-children { justify-content: flex-start; gap: 8px; }
  .magis-mobile-menu__chevron { display: block; width: 24px; height: 24px; flex: 0 0 24px; transform: rotate(-90deg); background: #19b2fc; mask: url('assets/images/condominio-form-chevron.svg') center / 24px 24px no-repeat; }
  .magis-mobile-menu__detail-heading { display: flex; flex-direction: column; gap: 8px; }
  .magis-mobile-menu__parent-title { margin: 0; color: #fff; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 400; line-height: 23px; }
  .magis-mobile-menu__detail-link { color: #fff; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 300; letter-spacing: -.198px; line-height: 21px; text-decoration: none; }
  .magis-mobile-menu__links--detail { gap: 20px; margin-top: 24px; }
  .magis-mobile-menu__detail-heading + .magis-mobile-menu__cta { margin-top: 24px; }
  .magis-mobile-menu__content:has(.magis-mobile-menu__detail-heading) { margin-top: 18px; }
}
/* Keep informational list icons consistent across offer insight blocks. */
section.approfondimenti-luce-casa ul > li > img,
section.approfondimenti-gas-casa ul > li > img,
section.approfondimenti-luce-gas-casa ul > li > img,
section.approfondimenti-luce-azienda ul > li > img,
section.approfondimenti-gas-azienda ul > li > img,
section.approfondimenti-luce-gas-azienda ul > li > img {
	display: block;
	width: 24px;
	height: 24px;
	min-width: 24px;
	flex: 0 0 24px;
	object-fit: contain;
}

@media (max-width: 360px) {
	body.page-id-670 .site-footer__menus { column-gap: 16px; }
	body.page-id-670 .site-footer__stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	body.page-id-670 .site-footer__store { width: 100%; height: auto; aspect-ratio: 3 / 1; }
	body.page-id-712 .site-footer__menus { column-gap: 16px; }
	body.page-id-712 .site-footer__app { width: 100%; }
	body.page-id-712 .site-footer__stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	body.page-id-712 .site-footer__store { width: 100%; height: auto; aspect-ratio: 3 / 1; }
	body.page-id-817 .site-footer__menus { column-gap: 16px; }
	body.page-id-817 .site-footer__app { width: 100%; }
	body.page-id-817 .site-footer__stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	body.page-id-817 .site-footer__store { width: 100%; height: auto; aspect-ratio: 3 / 1; }
	body.page-id-832 .site-footer__menus { column-gap: 16px; }
	body.page-id-832 .site-footer__app { width: 100%; }
	body.page-id-832 .site-footer__stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	body.page-id-832 .site-footer__store { width: 100%; height: auto; aspect-ratio: 3 / 1; }
	body.post-type-archive-guide .site-footer__menus { column-gap: 16px; }
	body.post-type-archive-guide .site-footer__app { width: 100%; }
	body.post-type-archive-guide .site-footer__stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	body.post-type-archive-guide .site-footer__store { width: 100%; height: auto; aspect-ratio: 3 / 1; }
}
