.aa-header {
  background: var(--aa-white);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.aa-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.aa-header__inner {
  width: min(100% - 2rem, var(--aa-container));
  margin-inline: auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.aa-logo img {
  width: 210px;
  display: block;
}

.aa-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.aa-nav a {
  color: var(--aa-dark);
  text-transform: uppercase;
  font-weight: 700;
  font-size: .78rem;
  text-decoration: none;
}

.aa-nav__item {
  position: relative;
}

.aa-nav__item > a {
  display: inline-flex;
  align-items: center;
  min-height: 86px;
}

.aa-nav__item.has-children > a::after {
  content: none;
}

.aa-nav__dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  background: var(--aa-white);
  border: 1px solid var(--aa-light-grey);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
  padding: .6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
  z-index: 220;
}

.aa-nav__dropdown a {
  display: block;
  padding: .8rem 1rem;
  color: var(--aa-dark);
  white-space: nowrap;
}

.aa-nav__item:hover .aa-nav__dropdown,
.aa-nav__item:focus-within .aa-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.aa-nav__mobile-cta {
  display: none;
}

.aa-header__tools {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* LANGUAGE SWITCHER */
.aa-lang {
  display: flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 700;
}

.aa-lang-native {
  position: relative;
  min-width: 48px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.aa-lang-native ul,
.aa-lang-native .links {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.aa-lang-native ul {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 500;
}

.aa-lang-native li {
  display: none;
  margin: 0;
  padding: 0;
}

.aa-lang-native li.is-active {
  display: block;
}

.aa-lang-native.is-open li {
  display: block;
}

.aa-lang-native a {
  display: block;
  min-width: 48px;
  padding: 0 22px 0 0;
  color: var(--aa-dark);
  font-size: .78rem;
  font-weight: 700;
  line-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
}

.aa-lang-native a[hreflang="it"],
.aa-lang-native a[href*="/it"] {
  font-size: 0;
}

.aa-lang-native a[hreflang="it"]::before,
.aa-lang-native a[href*="/it"]::before {
  content: "IT";
  font-size: .78rem;
}

.aa-lang-native a[hreflang="en"],
.aa-lang-native a[href*="/en"] {
  font-size: 0;
}

.aa-lang-native a[hreflang="en"]::before,
.aa-lang-native a[href*="/en"]::before {
  content: "EN";
  font-size: .78rem;
}

.aa-lang-native::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--aa-dark);
  border-bottom: 2px solid var(--aa-dark);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 700;
}

.aa-lang-native.is-open::after {
  transform: rotate(225deg);
  top: 20px;
}

.aa-lang-native.is-open ul,
.aa-lang-native.is-open .links {
  min-width: 76px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.aa-lang-native.is-open a {
  padding: .75rem 1rem;
  line-height: 1.2;
  background: #fff;
}

.aa-lang-native.is-open a:hover {
  background: var(--aa-cream);
}

/* MENU TOGGLE */
.aa-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--aa-light-grey);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.aa-menu-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--aa-dark);
  left: 10px;
}

.aa-menu-toggle span:nth-child(1) {
  top: 14px;
}

.aa-menu-toggle span:nth-child(2) {
  top: 21px;
}

.aa-menu-toggle span:nth-child(3) {
  top: 28px;
}

.aa-menu-toggle strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* HERO SLIDER */
.aa-hero-slider {
  position: relative;
  height: clamp(520px, 42vw, 620px);
  min-height: 520px;
  overflow: hidden;
  background: var(--aa-dark);
  border-bottom: 0;
}

.aa-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}

.aa-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.aa-hero-slide picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.aa-hero-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.aa-hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .42);
}

.aa-hero-slide__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--aa-container));
  height: 100%;
  min-height: 520px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

.aa-hero-slide__content {
  max-width: 560px;
  color: #fff;
}

.aa-hero-slide h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.aa-hero-slide p {
  max-width: 500px;
  color: #fff;
  font-style: italic;
}

.aa-hero__eyebrow {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.aa-hero__actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
/* ALERT */
.aa-alert {
  background: #fff;
  padding: 2rem 0 2.2rem;
  position: relative;
  z-index: 5;
}

.aa-alert__inner {
  width: min(100% - 2rem, var(--aa-container));
  margin-inline: auto;
}

.aa-alert__card {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1.15rem 2rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .035);
}

.aa-alert__heading {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 190px;
}

.aa-alert__heading .aa-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aa-red);
  border-radius: 999px;
  color: var(--aa-red);
}

.aa-alert__label {
  color: var(--aa-red);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  font-weight: 800;
}

.aa-alert__slides {
  min-width: 0;
  color: var(--aa-dark);
  font-size: 1rem;
  line-height: 1.4;
}

.aa-alert__slide {
  display: block;
}

.aa-alert__slide[hidden] {
  display: none !important;
}

.aa-alert__slide a,
.aa-alert__slide span {
  color: var(--aa-dark);
  text-decoration: none;
}

.aa-alert__slide a:hover,
.aa-alert__slide a:focus-visible {
  color: var(--aa-red);
  text-decoration: underline;
}

.aa-alert__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  white-space: nowrap;
}

.aa-alert__controls {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.aa-alert__controls button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--aa-red);
  background: transparent;
  color: var(--aa-red);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aa-alert__controls button::before {
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-2px);
}

.aa-alert__prev::before {
  content: "‹";
}

.aa-alert__next::before {
  content: "›";
}

.aa-alert__controls button:hover,
.aa-alert__controls button:focus-visible {
  background: var(--aa-red);
  color: #fff;
}

.aa-alert__all {
  color: var(--aa-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
  font-weight: 800;
}

.aa-alert__all:hover,
.aa-alert__all:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .aa-alert__card {
    grid-template-columns: 1fr;
    gap: .9rem;
    padding: 1.2rem 1.4rem;
  }

  .aa-alert__heading {
    min-width: 0;
  }

  .aa-alert__actions {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .aa-alert {
    padding: 1.2rem 0 1.4rem;
  }

  .aa-alert__card {
    padding: 1rem 1.1rem;
  }

  .aa-alert__heading .aa-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .aa-alert__actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* QUICK INFO */
.aa-quick-info {
  background: #efe9e5;
  border-top: 1px solid rgba(0, 0, 0, .05);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.aa-quick-info__grid {
  width: min(100% - 2rem, var(--aa-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.aa-quick-info__item {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.6rem 1.5rem;
  color: var(--aa-text);
  text-decoration: none;
  border-right: 0;
}

.aa-quick-info__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  bottom: 28px;
  width: 1px;
  background: rgba(0, 0, 0, .12);
}

.aa-quick-info__label,
.aa-quick-info__value {
  display: block;
}

.aa-quick-info__label {
  color: var(--aa-muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .65rem;
  font-weight: 700;
}

.aa-quick-info__value {
  margin-top: .25rem;
  font-weight: 400;
}

/* COMMON SECTIONS */
.aa-section {
  padding: 5rem 0;
}

.aa-events {
  background: var(--aa-cream);
}

/* STRUCTURE */
.aa-structure {
  position: relative;
  background: var(--aa-white);
  overflow: hidden;
}

.aa-structure::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -65px;
  width: 1040px;
  height: 610px;
  transform: translateX(-50%);
  background: url("../images/logo-mark.svg") center top / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}

.aa-structure__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--aa-container));
  margin-inline: auto;
}

.aa-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.aa-fact {
  background: var(--aa-cream-deep);
  border-left: 4px solid var(--aa-red);
  padding: 1.4rem 1.6rem;
  min-height: 98px;
}

.aa-fact__number {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.aa-fact__label {
  margin-top: .5rem;
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--aa-muted);
}

/* GALLERY OLD GRID, kept as fallback */
.aa-gallery {
  background: var(--aa-cream);
}

.aa-gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: .75rem;
}

.aa-gallery__grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.aa-gallery__grid img:first-child {
  height: 452px;
  grid-row: span 2;
}

/* OLD CTA fallback */
.aa-cta {
  background: var(--aa-light-grey);
  padding: 5rem 0;
}

.aa-cta__inner {
  width: min(100% - 2rem, var(--aa-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.aa-cta__cards {
  display: grid;
  gap: 1rem;
}

.aa-cta__card {
  background: var(--aa-medium-grey);
  border-left: 4px solid var(--aa-red);
  padding: 1.2rem 1.5rem;
  color: #fff;
}

/* FOOTER */
.aa-footer {
  background: var(--aa-dark);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 2.5rem 0;
  font-size: .85rem;
}




/* PAGE HERO */
.aa-page-hero {
  background: var(--aa-cream);
  border-bottom: 1px solid var(--aa-light-grey);
  padding: 4.5rem 0 3.5rem;
}

.aa-page-hero h1 {
  margin: .75rem 0 0;
  color: var(--aa-red);
}

.aa-page-hero p {
  max-width: 620px;
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* AVVISI PAGE */
.aa-alerts-page {
  background: #fff;
}

.aa-alerts-list {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
}

.aa-alert-card {
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
  padding: 1.6rem 1.8rem;
}

.aa-alert-card a {
  color: var(--aa-dark);
  text-decoration: none;
}

.aa-alert-card a:hover,
.aa-alert-card a:focus-visible {
  color: var(--aa-red);
  text-decoration: underline;
}

.aa-alert-card h2,
.aa-alert-card .views-field-title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--aa-dark);
}

.aa-alert-card .views-field-field-sottotitolo {
  margin-top: .5rem;
  color: var(--aa-text);
  font-size: 1rem;
}

.aa-alert-card .views-field-created {
  margin-top: .85rem;
  color: var(--aa-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aa-alert-card .views-label-created {
  margin-right: .35rem;
}


/* EVENTI PAGE */
.aa-events-page {
  background: #fff;
}

.aa-events-filter {
  width: 100%;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
}

.aa-events-filter__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px auto;
  gap: 1rem;
  align-items: end;
}

.aa-events-filter label {
  display: block;
  margin-bottom: .35rem;
  color: var(--aa-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  font-weight: 700;
}

.aa-events-filter input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--aa-light-grey);
  padding: 0 .85rem;
  font: inherit;
  background: #fff;
}

.aa-events-filter__actions {
  display: flex;
  gap: .6rem;
}

.aa-events-filter__actions button,
.aa-events-filter__actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 1.2rem;
  background: var(--aa-red);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}

.aa-events-filter__actions a {
  background: var(--aa-dark);
}

.aa-events-filter__actions button:hover,
.aa-events-filter__actions button:focus-visible,
.aa-events-filter__actions a:hover,
.aa-events-filter__actions a:focus-visible {
  opacity: .88;
}

.aa-events-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.aa-event-view-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--aa-light-grey);
  transition: transform .2s ease, box-shadow .2s ease;
}

.aa-event-view-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
}

.aa-event-view-card .views-field-field-immagine img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.aa-event-view-card .views-field-title,
.aa-event-view-card .views-field-field-sottotitolo,
.aa-event-view-card .views-field-field-luogo,
.aa-event-view-card .views-field-field-data-evento,
.aa-event-view-card .views-field-field-data-evento-fine {
  padding-inline: 1.4rem;
}

.aa-event-view-card .views-field-title {
  padding-top: 1.4rem;
}

.aa-event-view-card .views-field-field-data-evento-fine {
  padding-bottom: 1.4rem;
}

.aa-event-view-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.aa-event-view-card h2 a {
  color: var(--aa-dark);
  text-decoration: none;
}

.aa-event-view-card h2 a:hover,
.aa-event-view-card h2 a:focus-visible {
  color: var(--aa-red);
  text-decoration: underline;
}

.aa-event-view-card .views-field-field-sottotitolo {
  margin-top: .5rem;
  color: var(--aa-muted);
}

.aa-event-view-card .views-field-field-luogo {
  margin-top: .5rem;
  color: var(--aa-text);
}

.aa-event-view-card .views-field-field-data-evento,
.aa-event-view-card .views-field-field-data-evento-fine {
  margin-top: .75rem;
  color: var(--aa-red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aa-event-view-card .views-label {
  margin-right: .35rem;
}

.aa-empty-state {
  max-width: 760px;
  padding: 2rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
}

@media (max-width: 1024px) {
  .aa-events-filter__grid {
    grid-template-columns: 1fr 1fr;
  }

  .aa-events-filter__item--search,
  .aa-events-filter__actions {
    grid-column: 1 / -1;
  }

  .aa-events-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .aa-events-filter__grid {
    grid-template-columns: 1fr;
  }

  .aa-events-filter__item--search,
  .aa-events-filter__actions {
    grid-column: auto;
  }

  .aa-events-filter__actions {
    flex-direction: column;
  }

  .aa-events-filter__actions button,
  .aa-events-filter__actions a {
    width: 100%;
  }

  .aa-events-list {
    grid-template-columns: 1fr;
  }
}

.aa-event-view-card__body {
  padding: 1.4rem;
}

.aa-event-view-card__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.aa-event-view-card__title a {
  color: var(--aa-dark);
  text-decoration: none;
}

.aa-event-view-card__subtitle {
  margin-top: .5rem;
  color: var(--aa-muted);
}

.aa-event-view-card__place {
  margin-top: .45rem;
  color: var(--aa-text);
}

.aa-event-view-card__date {
  margin-top: 1rem;
  padding-bottom: .25rem;
  color: var(--aa-red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* GALLERY PAGE */
.aa-gallery-page {
  background: #fff;
}

.aa-gallery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.aa-gallery-view-card {
  background: #fff;
  border: 1px solid var(--aa-light-grey);
  transition: transform .2s ease, box-shadow .2s ease;
}

.aa-gallery-view-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
}

.aa-gallery-view-card .views-field-field-immagine img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.aa-gallery-view-card .views-field-title,
.aa-gallery-view-card .views-field-field-sottotitolo,
.aa-gallery-view-card .views-field-field-luogo {
  padding-inline: 1.4rem;
}

.aa-gallery-view-card .views-field-title {
  padding-top: 1.3rem;
}

.aa-gallery-view-card .views-field-field-luogo {
  padding-bottom: 1.4rem;
}

.aa-gallery-view-card h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.aa-gallery-view-card h2 a {
  color: var(--aa-dark);
  text-decoration: none;
}

.aa-gallery-view-card h2 a:hover,
.aa-gallery-view-card h2 a:focus-visible {
  color: var(--aa-red);
  text-decoration: underline;
}

.aa-gallery-view-card .views-field-field-sottotitolo {
  margin-top: .45rem;
  color: var(--aa-muted);
}

.aa-gallery-view-card .views-field-field-luogo {
  margin-top: .45rem;
  color: var(--aa-red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .aa-gallery-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .aa-gallery-list {
    grid-template-columns: 1fr;
  }

  .aa-gallery-view-card .views-field-field-immagine img {
    height: 220px;
  }
}

/* LIGHTBOX */
.aa-lightbox[hidden] {
  display: none;
}

.aa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.aa-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .76);
}

.aa-lightbox__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: fit-content;
  max-width: calc(100vw - 3rem);
  max-height: calc(100vh - 3rem);
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.aa-lightbox__image {
  display: block;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
}

.aa-lightbox__close {
  position: absolute;
  right: -16px;
  top: -16px;
  z-index: 6;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.4rem;
  line-height: 24px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}

.aa-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 64px;
  border: 0;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.aa-lightbox__nav--prev {
  left: 8px;
}

.aa-lightbox__nav--next {
  right: 8px;
}

.aa-lightbox__nav:hover,
.aa-lightbox__nav:focus-visible,
.aa-lightbox__close:hover,
.aa-lightbox__close:focus-visible {
  background: #111;
}

.aa-lightbox__footer {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  min-height: 54px;
  padding: .85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  background: rgba(0, 0, 0, .68);
  color: #fff;
}

.aa-lightbox__title {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
}

.aa-lightbox__counter {
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  font-weight: 700;
}

.aa-lightbox__detail {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.aa-lightbox__detail:hover,
.aa-lightbox__detail:focus-visible {
  text-decoration: underline;
}

body.aa-lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .aa-lightbox__dialog {
    max-width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
    padding: 6px;
  }

  .aa-lightbox__image {
    max-width: calc(100vw - 1.75rem);
    max-height: calc(100vh - 7rem);
  }

  .aa-lightbox__close {
    right: -8px;
    top: -8px;
  }

  .aa-lightbox__nav {
    width: 36px;
    height: 52px;
    font-size: 2rem;
  }

  .aa-lightbox__nav--prev {
    left: 6px;
  }

  .aa-lightbox__nav--next {
    right: 6px;
  }

  .aa-lightbox__footer {
    left: 6px;
    right: 6px;
    bottom: 6px;
    grid-template-columns: 1fr;
    gap: .35rem;
  }
}

/* CONTENT PAGE */
.aa-content-page .field__label,
.aa-content-section .field__label,
.aa-content-page__body > .field__label,
.aa-content-page__sections > .field__label,
.aa-content-page__attachments > .field__label,
.aa-content-page__related > .field__label {
  display: none !important;
}

.aa-content-page__abstract {
  max-width: 760px;
  margin-top: 1rem;
  font-size: 1.15rem;
  line-height: 1.65;
}

.aa-content-page__abstract .field__item,
.aa-content-page__body .field__item {
  margin: 0;
}

.aa-content-page__main {
  background: #fff;
}

.aa-content-page__body {
  max-width: 900px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.aa-content-page__body p:first-child {
  margin-top: 0;
}

.aa-content-page__body p:last-child {
  margin-bottom: 0;
}

.aa-content-page__sections {
  max-width: 1080px;
  margin-top: 3.5rem;
}

.aa-content-section {
  padding: 1rem 0;
  /*border-top: 1px solid var(--aa-light-grey);*/
  /*padding: 3.75rem 0;*/
  /*border-top: 1px solid var(--aa-light-grey);*/
}

.aa-content-section:first-child {
  /*padding-top: 3rem;*/
  padding-top: 1rem;  
}

.aa-content-section h2,
.aa-content-page__map-section h2,
.aa-content-page__attachments h2,
.aa-content-page__related h2 {
  margin: 0 0 1.5rem;
  color: var(--aa-red);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  font-weight: 300;
}

.aa-content-section__body {
  max-width: 900px;
  line-height: 1.75;
}

.aa-content-section__body p:first-child {
  margin-top: 0;
}

.aa-content-section__body p:last-child {
  margin-bottom: 0;
}

.aa-content-section__gallery {
  margin-top: 2.75rem;
}

.aa-gallery-grid,
.aa-video-grid,
.aa-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 320px));
  gap: 2rem;
  justify-content: center;
  align-items: start;
}

.aa-gallery-item {
  display: block;
  overflow: hidden;
  background: var(--aa-cream);
}

.aa-gallery-item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .35s ease;
}

.aa-gallery-item:hover img,
.aa-gallery-item:focus-visible img {
  transform: scale(1.04);
}

.aa-video-card {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  background: var(--aa-dark);
  color: #fff;
  text-decoration: none;
}

.aa-video-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: .82;
  transition: transform .35s ease, opacity .35s ease;
}

.aa-video-card:hover img,
.aa-video-card:focus-visible img {
  opacity: .95;
  transform: scale(1.04);
}

.aa-video-card::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--aa-red);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}

.aa-video-card span:last-child {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-weight: 700;
}

.aa-video-card__placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  background: var(--aa-dark);
  color: #fff;
  font-size: 2rem;
}

.aa-content-section__gallery--audio {
  max-width: 860px;
  margin-inline: auto;
}

.aa-audio-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
}

.aa-audio-card:first-child {
  margin-top: 0;
}

.aa-audio-card strong {
  display: block;
  margin-bottom: .75rem;
}

.aa-audio-card audio {
  width: 100%;
}

.aa-content-page__map-section,
.aa-content-page__attachments,
.aa-content-page__related {
  max-width: 1080px;
  margin-top: 1rem;/*margin-top: 3.75rem;*/
  padding-top: 1rem;/*padding-top: 3rem;*/
  /*border-top: 1px solid var(--aa-light-grey);*/
}

.aa-content-page__map {
  height: 420px;
  margin-top: 1rem;
}

.aa-attachments-grid {
  display: grid;
  gap: 1rem;
  max-width: 860px;
}

.aa-attachment-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
  color: var(--aa-dark);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.aa-attachment-card:hover,
.aa-attachment-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.aa-attachment-card__icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  background: var(--aa-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.aa-attachment-card--pdf .aa-attachment-card__icon {
  background: var(--aa-red);
}

.aa-attachment-card--doc .aa-attachment-card__icon,
.aa-attachment-card--docx .aa-attachment-card__icon,
.aa-attachment-card--odt .aa-attachment-card__icon {
  background: #2d5f9a;
}

.aa-attachment-card--xls .aa-attachment-card__icon,
.aa-attachment-card--xlsx .aa-attachment-card__icon,
.aa-attachment-card--ods .aa-attachment-card__icon {
  background: #247245;
}

.aa-attachment-card--ppt .aa-attachment-card__icon,
.aa-attachment-card--pptx .aa-attachment-card__icon,
.aa-attachment-card--odp .aa-attachment-card__icon {
  background: #b84f27;
}

.aa-attachment-card__text strong,
.aa-attachment-card__text small {
  display: block;
}

.aa-attachment-card__text small {
  margin-top: .25rem;
  color: var(--aa-muted);
}

.aa-related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--aa-light-grey);
  color: var(--aa-dark);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.aa-related-card:hover,
.aa-related-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
}

.aa-related-card img,
.aa-related-card__placeholder {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--aa-cream);
}

.aa-related-card__placeholder {
  display: grid;
  place-items: center;
}

.aa-related-card__placeholder img {
  width: 120px;
  height: auto;
  opacity: .16;
}

.aa-related-card strong {
  display: block;
  padding: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.25;
}

@media (max-width: 1024px) {
  .aa-gallery-grid,
  .aa-video-grid,
  .aa-related-grid {
    grid-template-columns: repeat(2, minmax(220px, 320px));
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .aa-content-section {
    padding: 3rem 0;
  }

  .aa-gallery-grid,
  .aa-video-grid,
  .aa-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .aa-gallery-item img {
    height: auto;
  }

  .aa-content-page__map {
    height: 320px;
  }

  .aa-attachment-card {
    align-items: flex-start;
  }
}

/* VIDEO LIGHTBOX */
.aa-video-lightbox[hidden] {
  display: none;
}

.aa-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
}

.aa-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
}

.aa-video-lightbox__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100% - 2rem, 980px);
  transform: translate(-50%, -50%);
  background: #000;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.aa-video-lightbox__close {
  position: absolute;
  right: -16px;
  top: -16px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.4rem;
  line-height: 24px;
  cursor: pointer;
}

.aa-video-lightbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.aa-video-lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* EVENT DETAIL */
.aa-event-detail__hero {
  background: var(--aa-cream);
}

.aa-event-detail__subtitle {
  max-width: 720px;
  margin-top: 1rem;
  font-size: 1.15rem;
}

.aa-event-detail__main {
  background: #fff;
}

.aa-event-detail__grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.aa-event-detail__side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1rem;
}

.aa-event-detail__info {
  padding: 1.2rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
}

.aa-event-detail__info span {
  display: block;
  margin-bottom: .4rem;
  color: var(--aa-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  font-weight: 700;
}

.aa-event-detail__info strong {
  display: block;
  color: var(--aa-dark);
  line-height: 1.35;
}

.aa-event-detail__image {
  margin: 0 0 2rem;
}

.aa-event-detail__image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.aa-event-detail__text {
  max-width: 860px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.aa-event-detail__cta {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .aa-event-detail__grid {
    grid-template-columns: 1fr;
  }

  .aa-event-detail__side {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .aa-event-detail__side {
    grid-template-columns: 1fr;
  }

  .aa-event-detail__image img {
    max-height: none;
  }
}

/* BREADCRUMB */
#block-albergotti-theme-breadcrumbs {
  background: #fff;
  border-bottom: 1px solid var(--aa-light-grey);
}

#block-albergotti-theme-breadcrumbs nav {
  width: min(100% - 2rem, var(--aa-container));
  margin-inline: auto;
}

#block-albergotti-theme-breadcrumbs ol {
  margin: 0;
  padding: .85rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

#block-albergotti-theme-breadcrumbs li {
  color: var(--aa-muted);
}

#block-albergotti-theme-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: .45rem;
  color: var(--aa-muted);
}

#block-albergotti-theme-breadcrumbs a {
  color: var(--aa-red);
  text-decoration: none;
}

#block-albergotti-theme-breadcrumbs a:hover,
#block-albergotti-theme-breadcrumbs a:focus-visible {
  text-decoration: underline;
}

.aa-gallery-view-card__body {
  padding: 24px 26px;
}

.aa-gallery-view-card__image {
  display: block;
  height: 250px;
  overflow: hidden;
  background: #f4f1ee;
}

.aa-gallery-view-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aa-gallery-view-card__title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
}

.aa-gallery-view-card__title a {
  color: inherit;
  text-decoration: none;
}

.aa-gallery-view-card__subtitle {
  margin-bottom: 12px;
  color: #5f5652;
  font-size: 16px;
}

.aa-gallery-view-card__place {
  color: #cf2e1d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.aa-map-home__map,
.aa-map-home .aa-leaflet-map,
#aa-home-map {
  min-height: 400px;
  height: 400px;
}

.aa-event-card__placeholder {
  width: 100%;
  height: 220px;
  display: grid;
  place-items: center;
  background: #efe9e5;
}

.aa-event-card__placeholder img {
  width: 130px;
  height: auto;
  opacity: .22;
}

.aa-event-view-card__image {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #efe9e5;
}

.aa-event-view-card__image > img,
.aa-event-view-card__image .field-content img,
.aa-event-view-card__image .image-style-thumbnail,
.aa-event-view-card__image picture,
.aa-event-view-card__image picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aa-event-view-card__image .aa-event-card__placeholder {
  height: 100%;
}

.aa-events-archive-tabs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 0 0 2rem;
}

.aa-events-archive-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
  color: var(--aa-dark);
  text-decoration: none;
  font-weight: 800;
}

.aa-events-archive-tabs a:hover,
.aa-events-archive-tabs a:focus-visible {
  color: var(--aa-red);
}

.aa-events-archive-year {
  margin-top: 3rem;
}

.aa-events-archive-year:first-of-type {
  margin-top: 0;
}

.aa-events-archive-year h2 {
  margin: 0 0 1.5rem;
  color: var(--aa-red);
  font-size: 2rem;
  font-weight: 300;
}

.aa-events-archive-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0 0 2rem;
  padding: .75rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
}

.aa-events-archive-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1.2rem;
  background: #fff;
  color: var(--aa-dark);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--aa-light-grey);
}

.aa-events-archive-tabs a.is-active,
.aa-events-archive-tabs a:hover,
.aa-events-archive-tabs a:focus-visible {
  background: var(--aa-red);
  border-color: var(--aa-red);
  color: #fff;
}

.aa-events-archive-year {
  margin-top: 3rem;
}

.aa-events-archive-year:first-of-type {
  margin-top: 0;
}

.aa-events-archive-year h2 {
  margin: 0 0 1.5rem;
  color: var(--aa-red);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
}


.aa-events-filter__grid {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) minmax(180px, 1fr) minmax(150px, .8fr) minmax(150px, .8fr) auto;
  gap: 1rem;
  align-items: end;
}

.aa-events-filter__item input,
.aa-events-filter__item select {
  width: 100%;
  height: 56px;
  padding: 0 1rem;
  border: 1px solid var(--aa-light-grey);
  background: #fff;
  font: inherit;
}

.aa-events-filter__actions {
  display: flex;
  gap: .75rem;
  align-items: end;
}

.aa-events-filter__actions button,
.aa-events-filter__actions a {
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .aa-events-filter__grid {
    grid-template-columns: 1fr 1fr;
  }

  .aa-events-filter__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .aa-events-filter__grid {
    grid-template-columns: 1fr;
  }
}

.aa-events-filter__item input[type="date"] {
  min-width: 190px;
  padding-right: 2.75rem;
  font-size: 1rem;
}

.aa-events-filter__item input[type="date"]::-webkit-calendar-picker-indicator {
  width: 24px;
  height: 24px;
  margin-right: .25rem;
  cursor: pointer;
}

.aa-notice-detail .aa-event-detail__main {
  min-height: auto;
}

.aa-notice-detail .aa-event-detail__content {
  max-width: 760px;
}

.aa-notice-detail .aa-event-detail__grid {
  align-items: flex-start;
}

.aa-content-page__map-section .aa-content-page__map,
.aa-content-page__map-section .aa-leaflet-map,
.aa-content-page__map-section .leaflet-container {
  min-height: 420px !important;
  height: 420px !important;
}



body:has(.user-login-form) #block-albergotti-theme-primary-local-tasks {
  max-width: 560px;
  margin: 3rem auto 0;
}

body:has(.user-login-form) #block-albergotti-theme-primary-local-tasks ul {
  display: flex;
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

body:has(.user-login-form) #block-albergotti-theme-primary-local-tasks a {
  display: inline-flex;
  padding: .75rem 1rem;
  background: var(--aa-cream);
  color: var(--aa-dark);
  text-decoration: none;
  font-weight: 700;
  border-left: 4px solid var(--aa-red);
}

body:has(.user-login-form) #block-albergotti-theme-primary-local-tasks a.is-active {
  background: var(--aa-red);
  color: #fff;
}

#block-albergotti-theme-content .user-login-form {
  max-width: 560px;
  margin: 1rem auto 5rem;
  padding: 2.5rem;
  background: var(--aa-cream);
  border-left: 4px solid var(--aa-red);
}

.aa-login-form__intro h1 {
  margin: 0 0 .75rem;
  color: var(--aa-red);
  font-weight: 300;
}

.aa-login-form__intro p {
  margin: 0 0 2rem;
}

.user-login-form .form-item {
  margin-bottom: 1.25rem;
}

.user-login-form label {
  display: block;
  margin-bottom: .4rem;
  color: var(--aa-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 700;
}

.user-login-form input[type="text"],
.user-login-form input[type="password"] {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--aa-light-grey);
  background: #fff;
}

.user-login-form input[type="submit"] {
  min-height: 52px;
  border: 0;
  padding: 0 1.6rem;
  background: var(--aa-red);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  cursor: pointer;
}

/* ==========================================
   TOP BAR
========================================== */

.aa-topbar {
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.aa-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 46px;
}

.aa-topbar img {
  display: block;
  height: 28px;
  width: auto;
}

/* ==========================================
   FOOTER
========================================== */

.aa-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.aa-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.aa-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.aa-footer-nav a,
.aa-footer-nav button {
  color: #fff;
  text-align: left;
}

/* Partner footer */

.aa-footer__partners {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .1rem;
}

.aa-footer__partner {
  display: flex;
  align-items: center;
}

.aa-footer__partner img {
  display: block;
  height: 65px;
  width: auto;
}

.aa-footer__partner--zetema {
  margin-left: 0;
}

.aa-footer__partner--zetema img {
  width: auto !important;
}

.aa-footer__partners-separator {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, .7);
  flex: 0 0 1px;
}

/* Responsive footer */

@media (max-width: 900px) {
  .aa-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .aa-footer__brand {
    align-items: center;
    text-align: center;
  }

  .aa-footer__partners {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .9rem;
    width: 100%;
    margin-top: 1rem;
  }

  .aa-footer__partners-separator {
    display: none;
  }

  .aa-footer__partner img {
    height: 55px;
  }
}

.aa-error-page {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.aa-error-page__code {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: .85;
  color: rgba(199, 49, 28, .12);
  font-weight: 800;
  letter-spacing: -.05em;
}

.aa-error-page__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}


.aa-maintenance-page {
  min-height: 100vh;
  background: #f4f1ee;
  padding: clamp(2rem, 5vw, 4rem);
}

.aa-maintenance-page__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.aa-maintenance-page__logo {
  display: block;
  width: 260px;
  height: auto;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.aa-maintenance-card {
  position: relative;
  max-width: 860px;
  padding: clamp(2.5rem, 6vw, 5rem);
  background: rgba(255,255,255,.35);
  border-bottom: 1px solid #d8d2ca;
}

.aa-maintenance-card__code {
  position: absolute;
  left: clamp(2rem, 5vw, 4rem);
  top: clamp(2rem, 5vw, 4rem);
  z-index: 0;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: .8;
  font-weight: 800;
  letter-spacing: -.06em;
  color: rgba(199, 49, 28, .10);
}

.aa-maintenance-card .aa-section-label,
.aa-maintenance-card h1,
.aa-maintenance-card p {
  position: relative;
  z-index: 1;
}

.aa-maintenance-card h1 {
  max-width: 680px;
  margin: 1.5rem 0;
  color: #c7311c;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .95;
  font-weight: 300;
}

.aa-maintenance-card p {
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .aa-maintenance-page__logo {
    width: 220px;
  }

  .aa-maintenance-card {
    padding: 2rem;
  }

  .aa-maintenance-card__code {
    position: static;
    margin-bottom: 1rem;
    font-size: 5rem;
  }
}