@charset "UTF-8";
/*
Theme Name: Pavaglione
Theme URI: https://them.es/starter-fse
Author: KORE
Author URI: https://www.korevolution.com/
Description: Tema by Kore Web / Communication / Marketing
Version: 1.2.7
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Text Domain: medici
*/
html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
  --wp--preset--color--contrast: #111;
  --wp--style--global--wide-size: 1360px;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

main > :not(.alignfull),
.sidebar > :not(.alignfull),
main > .wp-block-query > :not(.alignfull),
main .entry-content > :not(.alignfull),
main .entry-content .wp-block-columns.alignfull p,
.woocommerce :not(.related) > ul.products,
.sidebar .wp-block-query > :not(.alignfull),
.sidebar .entry-content > :not(.alignfull),
.sidebar .entry-content .wp-block-columns.alignfull p,
footer > .wp-block-group {
  padding-inline: var(--wp--preset--spacing--40);
}

header > .wp-block-group {
  padding-inline: 0;
}
small {
  font-size: small;
}
.koreicon {
  font-family: "Nucleo";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
}
@media (min-width: 799px) {
  .hide-on-desktop {
    display: none !important;
  }
}
@media (max-width: 798px) {
  .hide-on-mobile {
    display: none !important;
  }
}

@media (min-width: 1160px) {
  .hide-on-desktop2 {
    display: none !important;
  }
}
@media (max-width: 1159px) {
  .hide-on-mobile2 {
    display: none !important;
  }
}

.apri-modal {
  cursor: pointer;
}

.wp-block-post-content p a {
  text-decoration: underline;
}
a.wp-block-button__link {
  text-decoration: none;
}
/* ## Plugin: Magnific Popup
------------------------------------------------------- */

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  -webkit-transform: translateZ(0);
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none;
  -webkit-backface-visibility: hidden;
  transition: all 5s linear;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-inline-holder .mfp-content {
  width: auto;
  max-width: 900px;
  padding: 0;
  margin: 0 auto;
  text-align: left;
}
.pava-msg-inline {
  display: block;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-height: calc(100vh - 160px);
  overflow: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.pava-msg-inline,
.pava-msg-inline * {
  white-space: normal !important;
}
.pava-msg-inline p {
  margin: 0 0 1em;
  line-height: 1.6;
}
.pava-msg-inline li {
  margin: 0 0 0.5em 1.2em;
  line-height: 1.6;
}
.pava-msg-inline a {
  text-decoration: underline;
}
.mfp-inline-holder .mfp-preloader {
  display: none !important;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #ccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #ccc;
}

.mfp-preloader a:hover {
  color: #fff;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  position: absolute;
  text-decoration: none;
  text-align: center;
  color: #0a0a0a;
  font-style: normal;
  font-weight: 200;
  font-size: 24px;
  line-height: 15px;
  font-family: Helvetica, Arial, sans-serif;
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
  cursor: pointer !important;
}

.mfp-close:before,
.mfp-close:after,
.kr-chiudi:before,
.kr-chiudi:after,
.remove:before,
.remove:after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background-color: #0a0a0a;
  transform-origin: 50% 50%;
  opacity: 1;
  -moz-transition: -moz-transform ease 0.25s;
  -webkit-transition: -webkit-transform ease 0.25s;
  -o-transition: -o-transform ease 0.25s;
  -ms-transition: -ms-transform ease 0.25s;
  transition: transform ease 0.25s;
}

.mfp-close-outside:before,
.mfp-close-outside:after {
  background-color: #fff;
}

.kr-chiudi:before,
.remove:before,
.mfp-close:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mfp-close:hover:after,
.mfp-close:hover:before,
.remove:hover:after,
.remove:hover:before {
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.kr-chiudi:after,
.remove:after,
.mfp-close:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.no-touch .mfp-close:hover,
.no-touch .mfp-close:focus,
.touch .mfp-close {
  opacity: 1;
}

.no-touch .kr-chiudi:hover:before,
.no-touch .kr-chiudi:hover:after,
.no-touch .remove:hover:before,
.no-touch .remove:hover:after,
.no-touch .mfp-close:hover:before,
.no-touch .mfp-close:hover:after {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.mfp-close svg {
  width: 24px;
  height: 24px;
  top: 4px;
}

button svg {
  pointer-events: none;
}

button.mfp-close {
  border: 9px solid transparent;
  border-radius: 100%;
}

button.mfp-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: transparent !important;
  text-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close,
.mfp-inline-holder .mfp-close {
  position: absolute;
  top: 0;
  color: #0a0a0a;
  right: 6px;
  width: 36px;
  height: 36px;
}

.mfp-image-holder .mfp-close:before,
.mfp-image-holder .mfp-close:after,
.mfp-iframe-holder .mfp-close:before,
.mfp-iframe-holder .mfp-close:after,
.mfp-inline-holder .mfp-close:before,
.mfp-inline-holder .mfp-close:after {
  background-color: #0a0a0a;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after {
  border-right: 17px solid #fff;
  margin-left: 31px;
}

.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after {
  border-left: 17px solid #fff;
  margin-left: 39px;
}

.mfp-arrow-right:before {
  border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder,
.mfp-inline-holder {
  background: #ffffff54;
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content,
.mfp-inline-holder .mfp-content {
  padding-top: 0;
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close,
.mfp-inline-holder .mfp-close {
  color: #fff;
  right: -6px;
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #0a0a0a;
}

img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape),
  screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    line-height: 25px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
}

.mfp-bg {
  background: rgba(192, 192, 192, 1);
  opacity: 0.73;
}

.mfp-close.mfp-close-outside svg {
  position: relative;
  z-index: -1;
}

/* Magnific Popup Styles */

/* Framed: gray & white margin */
.kr-mfp-style-frame .mfp-container {
  background: #fff;
  padding: 0;
}

.kr-mfp-style-frame .mfp-content {
  height: 100%;
  background: #f8f8f8;
}

.kr-mfp-style-frame .mfp-close {
  background: #fff;
  border-color: #fff;
}

.kr-mfp-style-frame .mfp-close:hover {
  background: #fff;
  border-color: #fff;
}

.kr-mfp-style-frame .mfp-content > div:not(.kr-login-popup-wrap) {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
}

@media only screen and (min-width: 576px) {
  .kr-mfp-style-frame .mfp-container {
    padding: 30px;
  }

  .kr-mfp-style-frame .mfp-close {
    top: 45px;
    right: 55px;
  }
}

body.logged-in .pava-auth-cols {
  display: none;
}

body:not(.logged-in) .pava-account-wrap {
  display: none;
}

/* -------------------------------------------------------------------- */

.grecaptcha-badge {
  visibility: hidden;
}

.global-header .pava-header-nav-wrap {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.global-header .pava-header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wp--style--global--content-size);
}

.global-header .pava-header-main-row > .pava-header-nav-wrap {
  flex: 1 0 0;
  display: flex;
  justify-content: center;
}

.global-header
  .pava-header-main-row
  > .pava-header-nav-wrap
  > .wp-block-navigation {
  margin-left: auto;
  margin-right: auto;
}
header .ultima-col {
  flex-grow: 0 !important;
}

/* --- HEADER: RIDIMENSIONE DA 1150PX A 768PX --- */
@media (min-width: 768px) and (max-width: 1149.98px) {
  .global-header .pava-header-main-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 16px;
  }

  .global-header .wp-block-site-logo img.custom-logo {
    max-width: 180px !important;
    height: auto;
  }

  .global-header .pava-header-nav-wrap {
    flex: 1 1 auto;
    min-width: 0;
  }

  .global-header .pava-header-nav-wrap .wp-block-navigation > ul {
    justify-content: center;
    gap: clamp(10px, 1.6vw, 20px);
  }

  header .ultima-col {
    flex: 0 0 210px;
    max-width: 210px;
  }

  header .ultima-col .wp-block-search {
    max-width: 210px;
    width: 100%;
  }

  header .ultima-col .wp-block-search__inside-wrapper {
    width: 100%;
  }

  header .ultima-col .wp-block-search__input {
    font-size: 14px;
    padding: 8px 12px;
  }
  .pava-header-main-row
    nav.wp-block-navigation
    .wp-block-navigation-item__content {
    font-size: 0.9rem;
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 768px) {
  .global-header .wp-block-site-logo img.custom-logo {
    max-width: 150px !important;
    height: auto;
  }
}

@media (min-width: 768px) {
  .pava-header-main-row {
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .pava-header-main-row
    nav.wp-block-navigation
    .wp-block-navigation-item__content {
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 1.1;
  }

  .pava-header-main-row
    nav.wp-block-navigation
    ul.wp-block-navigation__container {
    margin: 0;
    padding: 0;
    gap: 1.2rem;
    align-items: center;
  }
}

/* --- NAV BLOCCO WP: CAMBIO BREAKPOINT MOBILE A 768PX --- */

@media (min-width: 600px) and (max-width: 1159.98px) {
  .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }

  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
}

@media (min-width: 1160px) {
  .wp-block-navigation__responsive-container-open {
    display: none !important;
  }

  .wp-block-navigation__responsive-container {
    display: block !important;
  }
}

/* --- HEADER MOBILE: ordine logo / ricerca / hamburger --- */
@media (max-width: 1159.98px) {
  .global-header .pava-header-main-row {
    display: flex;
    align-items: center;
    column-gap: 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .global-header .pava-header-main-row > .wp-block-group {
    flex: 0 0 auto;
  }

  .global-header .pava-header-main-row > .wp-block-group:first-child {
    order: 1;
  }

  .global-header .pava-header-main-row > .ultima-col {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .global-header .pava-header-main-row > .pava-header-nav-wrap {
    order: 3;
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .global-header
    .pava-header-main-row
    > .pava-header-nav-wrap
    > .wp-block-navigation {
    margin-left: 0;
    margin-right: 0;
  }

  .global-header .ultima-col .wp-block-search {
    display: none;
  }

  .global-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  .global-header > .pava-header-main-row {
    flex: 1 1 auto;
    min-width: 0;
  }

  .global-header > .pava-header-nav-wrap {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}
#ez-toc-container {
  width: 100% !important;
  border: 1px solid #d7d7d7 !important;
}
.ez-toc-title-container p {
  margin: 0.25em !important;
}
.ez-toc-title-container {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
  align-items: center !important;
}
#ez-toc-container .ez-toc-title {
  color: var(--wp--preset--color--primario) !important;
  font-size: var(--wp--preset--font-size--small) !important;
  font-weight: 500;
}
#ez-toc-container a {
  color: var(--wp--preset--color--primario) !important;
  font-size: var(--wp--preset--font-size--x-small) !important;
}
#ez-toc-container ul {
  margin: 0 0 0 0.15em !important;
}
#ez-toc-container li,
#ez-toc-container ul,
#ez-toc-container ul li,
div.ez-toc-widget-container,
div.ez-toc-widget-container li {
  list-style: disc !important;
  overflow: visible !important;
  font-size: 0.9em !important;
  padding-left: 0.7em !important;
}
.taxonomy-category.wp-block-post-terms > a:nth-of-type(n + 2),
.taxonomy-category.wp-block-post-terms > .wp-block-post-terms__separator {
  display: none !important;
}

/*timeline*/
.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  background: #78c6ca;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}
.timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 30px;
  height: 30px;
  background: #143b42;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}

.timeline-card {
  padding: 0 !important;
}

.timeline-card img {
  max-width: 500px !important;
}
.timeline-card p {
  padding: 0 20px;
}
.timeline-card a {
  margin-left: 20px;
}

.timeline-item .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  background-size: cover;
}

.timeline-img-header {
  height: 200px;
  position: relative;
  margin-bottom: 20px;
}
.timeline-img-header h2 {
  color: #ffffff;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

.date {
  background: #23af95;
  display: inline-block;
  color: #ffffff;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-card {
    float: none !important;
    width: auto !important;
    max-width: 100%;
    margin-left: 70px;
    text-align: center;
  }

  .timeline .timeline-card img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    height: auto;
    max-width: 200px !important;
  }

  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}
.timeline-item .timeline-content {
  float: left;
}

.timeline-item .timeline-card {
  width: 45%;
  float: right;
  padding: 0 !important;
  text-align: center;
}

.timeline-item:nth-child(even) .timeline-card {
  float: left;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .timeline-item .timeline-card,
  .timeline-item .timeline-content {
    float: none;
    width: auto;
    max-width: 100%;
    margin-left: 70px;
  }
}

/* Scroll to top button */
.pava-scrolltop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #78c6cabf;
  color: #ffffff;
  display: grid;
  place-items: center;
  z-index: 9999;

  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;

  transition:
    opacity 0.2s ease-in-out,
    transform 0.2s ease-in-out,
    background-color 0.2s ease-in-out;
}

.pava-scrolltop i {
  font-size: 22px;
  line-height: 1;
}

.pava-scrolltop.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  text-decoration: none !important;
}

.pava-scrolltop:hover {
  background: #23af95;
  text-decoration: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .pava-scrolltop {
    transition: none;
  }
}
.wp-block-cover.is-style-pavaglione-cover-unscaled-background
  .wp-block-cover__image-background {
  object-position: center top;
}

/*ticker scrorrevole orizzontale*/

.pava-ticker {
  width: 100%;
  overflow: hidden;
  background: #d3edee;
  color: #0a0a0a;
  font-size: 1rem;
  line-height: 1.4;
  padding: 1em 0;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 !important;
}

.pava-ticker__track {
  display: flex;
  width: max-content;
  animation: pava-ticker-scroll 80s linear infinite;
  animation-direction: reverse;
}

.pava-ticker:hover .pava-ticker__track {
  animation-play-state: paused;
}

.pava-ticker__item {
  white-space: nowrap;
  padding-right: 3rem;
}

@keyframes pava-ticker-scroll {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* ticker scorrevole verticale  */
:root {
  --pava-callout-h: 28px;
}

/* wrapper */
.pava-callout {
  position: relative;
  height: var(--pava-callout-h);
  overflow: hidden;
  background: transparent;
  color: #143b42;
}

/* lista che si muove */
.pava-callout__list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;

  will-change: transform;
  transform: translate3d(0, 0, 0);

  /* totale ciclo: 9s = 3 messaggi x 3s (2.4s pausa + 0.6s scatto circa) */
  animation: pava-news-3 9s ease infinite;
}

.pava-callout:hover .pava-callout__list {
  animation-play-state: paused;
}

/* singola riga */
.pava-callout__item {
  height: var(--pava-callout-h);
  line-height: var(--pava-callout-h);
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;

  padding: 0 1rem;
  box-sizing: border-box;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3 messaggi: 0, -1, -2 righe + reset invisibile */
@keyframes pava-news-3 {
  0%,
  22% {
    transform: translate3d(0, 0, 0);
  }
  30%,
  55% {
    transform: translate3d(0, calc(-1 * var(--pava-callout-h)), 0);
  }
  63%,
  88% {
    transform: translate3d(0, calc(-2 * var(--pava-callout-h)), 0);
  }
  92% {
    transform: translate3d(0, calc(-3 * var(--pava-callout-h)), 0);
  } /* “esce” */
  92.01%,
  100% {
    transform: translate3d(0, 0, 0);
  } /* reset istantaneo */
}
.wp-block-post-excerpt__excerpt {
  padding: 0.5em 1.3em !important;
}
@media (max-width: 798px) {
  .columns-2-mobile.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }

  .columns-2-mobile.wp-block-columns > .wp-block-column {
    flex: 0 0 41% !important;
    max-width: 41%;
    display: flex;
    flex-direction: column;
    align-self: stretch !important;
  }

  .columns-2-mobile.wp-block-columns > .wp-block-column > .wp-block-group {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
}
.giustifica {
  text-align: justify !important;
}
.centro {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-content: space-around;
  align-items: center;
}
.cerchio {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}
.largo100 {
  width: 100% !important;
}
.wp-block-navigation .wp-block-navigation-item.evidenza {
  padding: 0.6em 1.5em!important;
  box-sizing: border-box;
  box-shadow: rgba(149, 157, 165, 0.2) 0 2px 5px;
  border-radius: 100px;
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
  align-content: center !important;
  justify-content: space-between !important;
}
.wp-block-navigation .wp-block-navigation-item.evidenza a{
  padding: 0!important;
}
.wp-block-navigation .wp-block-navigation-item.evidenza.ordina {
  background-color: #21aa91!important;
  color: var(--wp--preset--color--base)!important;
}
.wp-block-navigation .wp-block-navigation-item.evidenza.dermo {
  background-color: #eb308a!important;
  color: var(--wp--preset--color--base)!important;
}
.wp-block-navigation .wp-block-navigation-item.evidenza:hover,
.wp-block-navigation
  .wp-block-navigation-item.evidenza
  .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--base) !important;
}


.wp-block-navigation .wp-block-navigation-item.evidenza.ordina::before {
  content: "\ea38";
  display: inline-block;
  font: normal normal normal 16px / 1 "Nucleo";
  speak: none;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  padding-right: 10px;
  color: var(--wp--preset--color--base);
}
.wp-block-navigation .wp-block-navigation-item.evidenza.dermo::before {
  content: "\f330";
  display: inline-block;
  font: normal normal normal 16px / 1 "Nucleo";
  speak: none;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  padding-right: 10px;
  color: var(--wp--preset--color--base);
}
.wp-block-navigation .wp-block-navigation-item.evidenza.bacheca::before {
  content: "\ee19";
  display: inline-block;
  font: normal normal normal 16px / 1 "Nucleo";
  speak: none;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  padding-right: 10px;
}

/* ==========================================================
   STEPS: card + frecce desktop
   ========================================================== */

.pava-steps__arrows--desktop,
.pava-steps__arrows--mobile {
  display: none !important;
}

.pava-steps {
  --pava-steps-gap: clamp(22px, 3.5vw, 56px);
  --pava-arrow-w: clamp(70px, 8vw, 120px);
  --pava-arrow-down-w: 46px;
  --pava-arrow-right-url: url("assets/images/icons/freccia-dx.svg");
  --pava-arrow-down-url: url("assets/images/icons/freccia-giu.svg");
}

.pava-steps__cards {
  gap: var(--pava-steps-gap);
}

.pava-steps__cards > .wp-block-column {
  position: relative;
}

/* ---------- DESKTOP: freccia tra le colonne ---------- */
@media (min-width: 769px) {
  .pava-steps__cards > .wp-block-column:not(:last-child)::after {
    content: "";
    position: absolute;

    right: calc(-1 * var(--pava-steps-gap) / 2);
    top: 50%;
    transform: translate(50%, -50%);

    width: var(--pava-arrow-w);
    height: calc(var(--pava-arrow-w) * 0.35);

    background-image: var(--pava-arrow-right-url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    pointer-events: none;
    opacity: 0.85;
    z-index: 3;
  }
}

/* ---------- MOBILE: freccia sotto ogni card ---------- */
@media (max-width: 768px) {
  .pava-steps__cards {
    row-gap: var(--wp--preset--spacing--30);
  }

  .pava-steps__cards > .wp-block-column:not(:last-child) {
    padding-bottom: calc(65px + 18px);
  }
  .pava-steps__cards > .wp-block-column:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);

    width: var(--pava-arrow-down-w);
    height: 65px;

    background-image: var(--pava-arrow-down-url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    pointer-events: none;
    opacity: 0.9;
    z-index: 3;
  }
}
