:root {
  --site-bg: #f8f3e9;
  --site-ink: #142338;
  --site-muted: #596273;
  --site-blue: #0e3b84;
  --site-blue-dark: #082a60;
  --site-border: #ded7ca;
  --site-card-shadow: 0 12px 30px rgba(31, 28, 21, 0.08);
  --site-font: "Trebuchet MS", "Segoe UI", Tahoma, Arial, sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--site-bg);
  color: #1f1f1f;
  font-family: var(--site-font);
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--site-blue);
}

a:hover,
a:focus {
  color: var(--site-blue-dark);
}

img {
  max-width: 100%;
  height: auto;
}

#container {
  background: #fff;
  min-height: 100vh;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

.site-header {
  padding: 0.75rem 0 0.85rem;
  border-bottom: 1px solid #e4dfd6;
}

.site-header-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-logo-link {
  flex: 0 1 44%;
  min-width: 0;
}

.site-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.site-header-slider {
  position: relative;
  flex: 0 1 52%;
  width: 52%;
  max-width: 52%;
  margin-left: auto;
  min-width: 0;
  height: 190px;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 0.45rem;
  background: #f6f3ed;
}

.site-header-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-header-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.site-header-slide a,
.site-header-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-header-slide img {
  object-fit: contain;
  background: #f6f3ed;
}

.site-nav {
  background: var(--site-blue);
  border-radius: 0.45rem;
  padding: 0.25rem 0.6rem;
}

.site-nav .navbar-brand,
.site-nav .nav-link,
.site-nav .navbar-toggler {
  color: #fff;
}

.site-nav .nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-inline: 0.85rem;
  border-radius: 0.35rem;
  font-weight: 600;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.show {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.site-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.site-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.28);
}

.site-nav .navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2);
}

@media (min-width: 992px) {
  .site-nav .navbar-nav {
    column-gap: 0.65rem;
  }
}

.site-nav .dropdown-menu {
  min-width: 16rem;
  max-width: min(92vw, 24rem);
  padding: 0.4rem;
  border: 1px solid #dce1eb;
  border-radius: 0.4rem;
  box-shadow: 0 12px 28px rgba(17, 25, 40, 0.13);
}

.site-nav .dropdown-item {
  color: #1d2330;
  border-radius: 0.25rem;
  padding: 0.5rem 0.65rem;
  line-height: 1.3;
  white-space: normal;
}

.site-nav .dropdown-group-title {
  color: #081226;
  font-weight: 700;
  padding-top: 0.55rem;
  padding-bottom: 0.4rem;
}

.site-nav .dropdown-subitem {
  color: #38465a;
  font-size: 0.95rem;
  padding-left: 1.7rem;
}

.site-nav .dropdown-item.small {
  color: #526070;
  font-size: 0.92rem;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  color: var(--site-blue-dark);
  background: #f2f5fb;
}

.site-main {
  display: block;
}

#centro,
#colonna-s {
  float: none;
  width: 100%;
  background: #fff;
}

#colonna-s {
  display: none;
}

.site-footer {
  margin-top: 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid #e4dfd6;
  text-align: center;
  color: var(--site-muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--site-ink);
  line-height: 1.25;
}

.content-header {
  max-width: 82ch;
  margin-inline: auto;
}

.theme-preset-gatka-legacy .content-header {
  max-width: none;
  margin-inline: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  text-align: left !important;
}

.content-prose {
  max-width: 78ch;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.75;
}

.content-prose p,
.content-prose li {
  color: #1f1f1f;
}

.content-prose img {
  display: block;
  max-width: min(100%, 680px);
  height: auto;
  margin: 1rem auto;
}

.home-hero,
.list-grid-item {
  border: 1px solid var(--site-border) !important;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: var(--site-card-shadow);
}

.home-hero {
  padding: clamp(0.85rem, 2vw, 1.4rem) !important;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.4fr);
  gap: 1.75rem;
  align-items: start;
}

.home-hero-legacy {
  padding: 1.75rem !important;
}

.home-hero-visual {
  margin-bottom: 0;
}

.home-hero-visual a,
.home-hero-visual button,
.list-grid-media a,
.list-grid-media button,
.gallery-tile {
  display: block;
}

.image-modal-trigger,
.gallery-tile {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.image-modal-trigger:focus-visible,
.gallery-tile:focus-visible {
  outline: 3px solid rgba(14, 59, 132, 0.35);
  outline-offset: 3px;
}

.home-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 450px;
  object-fit: cover;
  object-position: center 36%;
  border: 1px solid #d4cbbb;
  border-radius: 0.35rem;
}

.home-hero-copy h1 {
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: 0;
}

.legacy-home-subtitle {
  color: var(--site-muted);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-hero-copy .content-prose {
  max-width: none;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.site-builder-public-render .site-builder-region {
  margin: 0;
  padding: 0;
}

.site-builder-public-render .site-builder-region__inner {
  max-width: none;
  padding: 0;
}

.theme-preset-gatka-legacy .site-builder-region__inner,
.theme-preset-gatka-legacy .public-page-hero > .container,
.theme-preset-gatka-legacy .public-page-content > .container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.theme-preset-gatka-legacy .public-page-hero .row {
  justify-content: flex-start !important;
}

.theme-preset-gatka-legacy .public-page-hero [class*="col-"] {
  text-align: left !important;
}

.site-builder-public-render .site-builder-block {
  margin: 0 0 1.25rem;
}

.theme-preset-gatka-legacy .site-builder-page-title {
  max-width: none;
  margin: 0 0 1.2rem;
  text-align: left;
}

.theme-preset-gatka-legacy .site-builder-page-title .public-page-title {
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: 0;
}

.theme-preset-gatka-legacy .site-builder-page-title .lead {
  color: var(--site-muted) !important;
  font-size: 1.25rem;
  font-weight: 700;
}

.theme-preset-gatka-legacy.public-scope-text .site-builder-page-title {
  max-width: none;
  margin: 0 0 1rem;
}

.theme-preset-gatka-legacy .site-builder-block--main_image,
.theme-preset-gatka-legacy .site-builder-context-list,
.theme-preset-gatka-legacy .site-builder-gallery {
  border: 1px solid var(--site-border);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: var(--site-card-shadow);
  padding: 1.5rem;
}

.theme-preset-gatka-legacy.public-scope-text .site-builder-block--main_image,
.theme-preset-gatka-legacy .content-detail .home-hero {
  border-color: #d4cbbb;
  background: #f8f3e9;
  box-shadow: none;
}

.theme-preset-gatka-legacy .site-builder-block--page_body {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.theme-preset-gatka-legacy .site-builder-main-image {
  margin: 0;
}

.theme-preset-gatka-legacy .site-builder-main-image img {
  display: block;
  width: auto;
  max-width: min(100%, 760px);
  max-height: 460px;
  margin: 0 auto;
  border: 1px solid #d4cbbb;
  border-radius: 0.35rem;
  object-fit: contain;
}

.theme-preset-gatka-legacy .site-builder-page-body {
  max-width: 78ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.theme-preset-gatka-legacy.public-scope-text .site-builder-page-body,
.theme-preset-gatka-legacy .content-detail .content-prose {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.theme-preset-gatka-legacy.public-scope-text .site-builder-main-image figcaption,
.theme-preset-gatka-legacy .content-detail .home-hero figcaption {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.theme-preset-gatka-legacy .site-builder-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 280px));
  gap: 1rem;
  justify-content: start;
}

.theme-preset-gatka-legacy .site-builder-editorial-card {
  height: 100%;
  border: 1px solid var(--site-border);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: var(--site-card-shadow);
  overflow: hidden;
}

.theme-preset-gatka-legacy .site-builder-editorial-card__body {
  padding: 1rem;
}

.theme-preset-gatka-legacy .site-builder-editorial-card__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid #d4cbbb;
}

.theme-preset-gatka-legacy .site-builder-editorial-card__badge {
  color: var(--site-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.theme-preset-gatka-legacy .site-builder-editorial-card__title {
  font-size: 1.25rem;
  line-height: 1.25;
}

.theme-preset-gatka-legacy .site-builder-editorial-card__title a {
  color: var(--site-ink);
  text-decoration: none;
}

.theme-preset-gatka-legacy .site-builder-editorial-card__title a:hover,
.theme-preset-gatka-legacy .site-builder-editorial-card__title a:focus {
  color: var(--site-blue);
}

.list-grid-item {
  padding: clamp(0.85rem, 1.8vw, 1.15rem) !important;
}

.list-grid-media {
  width: 100%;
  height: auto;
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.list-grid-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #d4cbbb;
  border-radius: 0.35rem;
}

.content-card .list-grid-media {
  display: flex;
  justify-content: center;
  background: #f7f4ee;
  border: 1px solid #d4cbbb;
  border-radius: 0.35rem;
  padding: clamp(0.45rem, 1.5vw, 0.85rem);
}

.content-card .list-grid-media img {
  width: auto;
  max-width: min(100%, 760px);
  max-height: 420px;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0.25rem;
}

.list-grid-copy {
  max-width: 78ch;
  margin-inline: 0;
}

.leggi_tutto a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

#titolo_cat {
  --bs-breadcrumb-divider-color: #7f8793;
  color: var(--site-muted);
  font-size: 0.95rem;
}

#bread {
  color: #7f8793;
}

.public-breadcrumb-container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.public-breadcrumb-bar > .container.px-5 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

#colonna_gallery {
  width: 100%;
  margin-top: 1.25rem;
}

.theme-preset-gatka-legacy .site-builder-gallery-grid,
.theme-preset-gatka-legacy .public-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  align-items: start;
}

.theme-preset-gatka-legacy .site-builder-gallery-item {
  margin: 0;
}

.theme-preset-gatka-legacy .public-gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.theme-preset-gatka-legacy .public-gallery-thumb:focus-visible {
  outline: 3px solid rgba(14, 59, 132, 0.35);
  outline-offset: 3px;
}

.theme-preset-gatka-legacy .public-gallery-thumb__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid #d4cbbb;
  border-radius: 0.35rem;
  transition: transform 160ms ease;
}

.theme-preset-gatka-legacy .public-gallery-thumb:hover .public-gallery-thumb__img,
.theme-preset-gatka-legacy .public-gallery-thumb:focus-visible .public-gallery-thumb__img {
  transform: scale(1.025);
}

.gallery-tile {
  overflow: hidden;
  border: 1px solid #dde2ec;
  border-radius: 0.45rem;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 25, 40, 0.07);
}

.gallery-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 160ms ease;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.03);
}

.image-modal .modal-body,
.gallery-modal .modal-body {
  background: #111;
}

.image-modal .modal-body img,
.gallery-modal .carousel-item img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.gallery-modal .carousel-caption {
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.gallery-modal .carousel-caption p {
  margin: 0;
}

.public-share {
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #ece6dc;
  text-align: center;
}

.public-share__label {
  margin: 0 0 0.65rem;
  color: var(--site-muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.public-share__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--site-blue);
  border-radius: 0.35rem;
  color: var(--site-blue);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.public-share__link:hover,
.public-share__link:focus {
  color: #fff;
  background: var(--site-blue);
  border-color: var(--site-blue);
}

.home-section-title {
  color: var(--site-muted);
  font-weight: 600;
}

.content-prose .home-section-title {
  margin-top: 1.35rem;
  margin-bottom: 0.75rem;
}

.pager-wrap {
  margin: 1.35rem 0 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ece6dc;
}

.pager-total {
  margin-bottom: 0.65rem;
  text-align: center;
  color: var(--site-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.pager-wrap .page-link {
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #d7deec;
  border-radius: 0.4rem !important;
  color: var(--site-blue);
  font-weight: 700;
}

.pager-wrap .page-link:hover,
.pager-wrap .page-link:focus {
  color: #fff;
  background: var(--site-blue);
  border-color: var(--site-blue);
}

.pager-wrap .page-item.active .page-link {
  color: #fff;
  background: var(--site-blue);
  border-color: var(--site-blue);
}

.theme-preset-gatka-legacy {
  --bs-primary: var(--site-blue);
  --bs-primary-rgb: 14, 59, 132;
  --bs-link-color: var(--site-blue);
  --bs-link-hover-color: var(--site-blue-dark);
}

.theme-preset-gatka-legacy .btn-primary,
.theme-preset-gatka-legacy .btn-check:checked + .btn-outline-primary,
.theme-preset-gatka-legacy .btn-outline-primary:hover,
.theme-preset-gatka-legacy .btn-outline-primary:focus,
.theme-preset-gatka-legacy .btn-outline-primary:active,
.theme-preset-gatka-legacy .btn-outline-primary.active,
.theme-preset-gatka-legacy .show > .btn-outline-primary.dropdown-toggle {
  color: #fff !important;
  background-color: var(--site-blue) !important;
  border-color: var(--site-blue) !important;
}

.theme-preset-gatka-legacy .btn-primary:hover,
.theme-preset-gatka-legacy .btn-primary:focus,
.theme-preset-gatka-legacy .btn-primary:active,
.theme-preset-gatka-legacy .btn-primary.active,
.theme-preset-gatka-legacy .show > .btn-primary.dropdown-toggle {
  color: #fff !important;
  background-color: var(--site-blue-dark) !important;
  border-color: var(--site-blue-dark) !important;
}

.theme-preset-gatka-legacy .btn-outline-primary {
  color: var(--site-blue) !important;
  border-color: var(--site-blue) !important;
}

.theme-preset-gatka-legacy .btn-outline-primary:hover,
.theme-preset-gatka-legacy .btn-outline-primary:focus,
.theme-preset-gatka-legacy .btn-outline-primary:active,
.theme-preset-gatka-legacy .btn-outline-primary.active {
  box-shadow: 0 0 0 0.2rem rgba(14, 59, 132, 0.18) !important;
}

.theme-preset-gatka-legacy .public-pagination .page-link,
.theme-preset-gatka-legacy .pagination .page-link {
  color: var(--site-blue);
  border-color: #d7deec;
}

.theme-preset-gatka-legacy .public-pagination .page-item:not(.disabled) .page-link:hover,
.theme-preset-gatka-legacy .public-pagination .page-item:not(.disabled) .page-link:focus,
.theme-preset-gatka-legacy .pagination .page-item:not(.disabled) .page-link:hover,
.theme-preset-gatka-legacy .pagination .page-item:not(.disabled) .page-link:focus,
.theme-preset-gatka-legacy .public-pagination .page-item.active .page-link,
.theme-preset-gatka-legacy .pagination .page-item.active .page-link {
  color: #fff;
  background-color: var(--site-blue);
  border-color: var(--site-blue);
}

@media (max-width: 991.98px) {
  #container {
    max-width: 100%;
    padding-inline: 0.75rem;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: center;
  }

  .site-logo-link {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-inline: auto;
  }

  .site-logo {
    max-height: 150px;
    margin-inline: auto;
  }

  .site-header-slider {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
    height: 150px;
  }

  .site-nav .navbar-nav {
    padding-top: 0.4rem;
  }

  .site-nav .dropdown-menu {
    padding: 0.35rem;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.22);
  }

  .site-nav .dropdown-item {
    padding-block: 0.6rem;
  }

  .home-hero-grid {
    display: block;
  }

  .home-hero-legacy {
    padding: 1rem !important;
  }

  .home-hero-visual {
    margin-bottom: 1rem;
  }

  .home-hero-copy h1,
  .theme-preset-gatka-legacy .site-builder-page-title .public-page-title {
    font-size: 2rem;
  }

  .legacy-home-subtitle,
  .theme-preset-gatka-legacy .site-builder-page-title .lead {
    font-size: 1.15rem;
  }

  .home-hero-visual img {
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }

  .theme-preset-gatka-legacy .site-builder-block--main_image,
  .theme-preset-gatka-legacy .site-builder-context-list,
  .theme-preset-gatka-legacy .site-builder-gallery {
    padding: 1rem;
  }

  .public-breadcrumb-container,
  .public-breadcrumb-bar > .container.px-5,
  .theme-preset-gatka-legacy .content-header,
  .theme-preset-gatka-legacy .site-builder-region__inner,
  .theme-preset-gatka-legacy .public-page-hero > .container,
  .theme-preset-gatka-legacy .public-page-content > .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .list-grid-media {
    margin-bottom: 1rem;
  }

  .content-card .list-grid-media img {
    max-height: 320px;
  }
}

@media (max-width: 430px) {
  .site-header-inner {
    align-items: center;
  }

  .site-header-slider {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  #container {
    padding-inline: 0.5rem;
  }

  .theme-preset-gatka-legacy .site-builder-card-grid {
    grid-template-columns: 1fr;
  }
}
