/* You can add global styles to this file, and also import other style files */

:root {
  --ew-blue: #1e73be;
  --ew-blue-dark: #145493;
  --ew-yellow: #f7a823;
  --ew-yellow-dark: #e0941a;
  --ew-text: #222831;
  --ew-text-muted: #5b6470;
  --ew-bg-alt: #f4f7fb;
  --ew-border: #e1e7ee;
  --ew-white: #ffffff;
  --ew-container-width: 90rem;
  --ew-font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ew-radius-sm: 0.5rem;
  --ew-radius-md: 0.75rem;
  --ew-radius-lg: 1rem;
  --ew-shadow-sm: 0 2px 8px rgb(0 0 0 / 6%);
  --ew-shadow-md: 0 8px 24px rgb(0 0 0 / 8%);
  --ew-shadow-lg: 0 12px 32px rgb(0 0 0 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--ew-font-base);
  color: var(--ew-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--ew-blue-dark);
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;

  &:hover,
  &:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--ew-shadow-md);
  }
}

.btn--primary {
  background: var(--ew-yellow);
  color: var(--ew-blue-dark);

  &:hover,
  &:focus-visible {
    background: var(--ew-yellow-dark);
  }
}

.btn--ghost {
  background: transparent;
  border-color: currentcolor;
  color: var(--ew-blue);

  &:hover,
  &:focus-visible {
    background: var(--ew-blue);
    color: var(--ew-white);
  }
}

.btn--ghost-light {
  background: transparent;
  border-color: var(--ew-white);
  color: var(--ew-white);

  &:hover,
  &:focus-visible {
    background: var(--ew-white);
    color: var(--ew-blue-dark);
  }
}

:focus-visible {
  outline: 3px solid var(--ew-yellow);
  outline-offset: 2px;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;

  &.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgb(0 0 0 / 10%);

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  &:hover img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Override per il dropdown del menu: in Angular il sottomenu veniva creato/
 * distrutto dal DOM, qui è sempre presente e viene mostrato via classe .is-open
 * (su desktop restano validi anche hover/focus-within definiti in header.css). */
.site-nav__dropdown {
  display: none;

  &.is-open {
    display: block;
  }
}

/* Stili inline del componente LocationsMap */
.locations-map {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border-radius: 0.75rem;
  overflow: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(8px);
  box-shadow: var(--ew-shadow-sm);
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--ew-container-width);
  margin-inline: auto;
  padding: 0.75rem 1rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo {
  display: block;
  height: 56px;
  width: auto;
}

@media (min-width: 64rem) {
  .site-header__logo {
    height: 72px;
  }
}

.site-header__cms-link {
  display: none;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

@media (min-width: 80rem) {
  .site-header__cms-link {
    display: inline-block;
  }

  .site-nav__item--cms {
    display: none;
  }
}

.site-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  width: 28px;
  height: 22px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;

  span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--ew-blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  &.is-open {
    span:first-child {
      transform: translateY(9.5px) rotate(45deg);
    }

    span:nth-child(2) {
      opacity: 0;
    }

    span:last-child {
      transform: translateY(-9.5px) rotate(-45deg);
    }
  }
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--ew-white);
  box-shadow: 0 12px 16px -8px rgb(0 0 0 / 12%);
  transition: max-height 0.25s ease;

  &.is-open {
    max-height: 48rem;
    overflow-y: auto;
  }
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem 1rem;
}

.site-nav__item + .site-nav__item {
  border-top: 1px solid var(--ew-border);
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 0.25rem;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  color: var(--ew-text);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;

  &:hover,
  &:focus-visible,
  &.is-active {
    color: var(--ew-blue);
  }
}

.has-dropdown > .site-nav__link::after {
  content: '';
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.has-dropdown > .site-nav__link[aria-expanded='true']::after {
  transform: rotate(-135deg);
}

.site-nav__dropdown {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.site-nav__dropdown-item + .site-nav__dropdown-item {
  border-top: 1px solid var(--ew-border);
}

.site-nav__dropdown-link {
  display: block;
  padding: 0.6rem 0.25rem 0.6rem 1.25rem;
  color: var(--ew-text-muted);
  text-decoration: none;
  font-size: 0.9rem;

  &:hover,
  &:focus-visible {
    color: var(--ew-blue);
  }
}

@media (min-width: 64rem) {
  .site-header__toggle {
    display: none;
  }

  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    flex: 1;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem 1.25rem;
    padding: 0;
  }

  .site-nav__item {
    position: relative;
  }

  .site-nav__item + .site-nav__item {
    border-top: 0;
  }

  .site-nav__link {
    width: auto;
    padding: 0.5rem 0.25rem;
    font-size: 0.95rem;
    position: relative;

    &::after {
      content: '';
      position: absolute;
      left: 0.25rem;
      right: 0.25rem;
      bottom: 0;
      height: 2px;
      border-radius: 2px;
      background: var(--ew-yellow);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
    }

    &:hover::after,
    &:focus-visible::after,
    &.is-active::after {
      transform: scaleX(1);
    }
  }

  .has-dropdown > .site-nav__link::after {
    content: '';
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 0;
    background: none;
    border-right: 2px solid currentcolor;
    border-bottom: 2px solid currentcolor;
    transform: rotate(45deg);
    transform-origin: center;
    transition: none;
  }

  .site-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 16rem;
    margin: 0;
    padding: 0.5rem 0;
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.5rem;
    box-shadow: 0 12px 24px -8px rgb(0 0 0 / 16%);
  }

  .has-dropdown > .site-nav__link[aria-expanded='true'] + .site-nav__dropdown {
    display: block;
  }

  .site-nav__dropdown-item + .site-nav__dropdown-item {
    border-top: 0;
  }

  .site-nav__dropdown-link {
    padding: 0.55rem 1.25rem;
  }
}
.site-footer {
  background: var(--ew-blue-dark);
  color: var(--ew-white);
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
  max-width: var(--ew-container-width);
  margin-inline: auto;
  padding: 3rem 1rem 2rem;
}

.site-footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.site-footer__heading {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--ew-yellow);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 85%);
}

.site-footer__list--links li + li {
  margin-top: 0.4rem;
}

.site-footer__list--links a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease, transform 0.15s ease;

  &:hover,
  &:focus-visible {
    text-decoration: underline;
    color: var(--ew-yellow);
    transform: translateX(2px);
  }
}

.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 15%);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 70%);

  p {
    margin: 0;
  }
}

.site-footer__legal {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;

  a {
    color: inherit;
    text-decoration: underline;

    &:hover,
    &:focus-visible {
      color: var(--ew-yellow);
    }
  }
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .site-footer__inner {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
body.page-annunci {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .required-mark {
    color: var(--ew-blue);
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  
    &:disabled {
      cursor: not-allowed;
      opacity: 0.6;
      transform: none;
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .btn--ghost {
    background: transparent;
    border-color: currentcolor;
    color: var(--ew-blue);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-blue);
      color: var(--ew-white);
    }
  }
  
  .form-success,
  .form-error {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ew-border);
    font-weight: 600;
  }
  
  .form-success {
    background: var(--ew-bg-alt);
    color: var(--ew-text);
  }
  
  .form-error {
    background: rgb(220 38 38 / 8%);
    border-color: rgb(220 38 38 / 35%);
    color: #b42318;
  }
  
  .contact-form {
    display: grid;
    gap: 1.1rem;
    margin-top: 0;
  }
  
  .contact-form__row {
    display: grid;
    gap: 1.1rem;
  }
  
  .contact-form__field {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--ew-text);
  
    input,
    select,
    textarea {
      width: 100%;
      box-sizing: border-box;
      font: inherit;
      font-weight: 400;
      padding: 0.65rem 0.85rem;
      border: 1px solid var(--ew-border);
      border-radius: 0.5rem;
      color: var(--ew-text);
      background: var(--ew-white);
  
      &:focus-visible {
        outline: none;
        border-color: var(--ew-blue);
      }
    }
  
    textarea {
      resize: vertical;
    }
  }
  
  .contact-form__hint {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ew-text-muted);
  }
  
  @media (min-width: 48rem) {
    .contact-form__row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* ── Layout lista annunci + sidebar filtri ─────────────────────────── */
  
  .annunci__layout {
    display: grid;
    gap: 2rem;
  }
  
  .annunci__sidebar {
    background: var(--ew-bg-alt);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    align-self: start;
  }
  
  .annunci-filters {
    display: grid;
    gap: 1.1rem;
  }
  
  .annunci-filters__title {
    margin: 0;
    font-size: 1.15rem;
  }
  
  .annunci-filters__subtitle {
    margin: 0.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ew-border);
    font-size: 1rem;
    color: var(--ew-blue-dark);
  }
  
  .annunci-filters__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .annunci__count {
    color: var(--ew-text-muted);
    margin-top: 0;
  }
  
  .annunci__empty {
    color: var(--ew-text-muted);
  }
  
  .annunci-list {
    display: grid;
    gap: 1.25rem;
  }
  
  .annuncio-card {
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: var(--ew-white);
  }
  
  .annuncio-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
  
    a {
      text-decoration: none;
      color: var(--ew-blue-dark);
  
      &:hover {
        text-decoration: underline;
      }
    }
  }
  
  .annuncio-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
  
    li {
      background: var(--ew-bg-alt);
      border: 1px solid var(--ew-border);
      border-radius: 999px;
      padding: 0.2rem 0.7rem;
      color: var(--ew-text-muted);
    }
  }
  
  .annuncio-card__summary {
    color: var(--ew-text-muted);
    margin: 0 0 0.75rem;
  }
  
  .annuncio-card__link {
    font-weight: 600;
    text-decoration: none;
    color: var(--ew-blue);
  
    &:hover {
      text-decoration: underline;
    }
  }
  
  @media (min-width: 64rem) {
    .annunci__layout {
      grid-template-columns: 18rem 1fr;
    }

    .annunci-filters .contact-form__row {
      grid-template-columns: 1fr;
    }
  }

  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }

  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;

    h2 {
      margin-top: 0;
    }

    p {
      color: rgb(255 255 255 / 85%);
    }
  }

  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
}
body.page-annuncio-dettaglio {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .required-mark {
    color: var(--ew-blue);
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  
    &:disabled {
      cursor: not-allowed;
      opacity: 0.6;
      transform: none;
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .form-success,
  .form-error {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ew-border);
    font-weight: 600;
  }
  
  .form-success {
    background: var(--ew-white);
    color: var(--ew-text);
  }
  
  .form-error {
    background: rgb(220 38 38 / 8%);
    border-color: rgb(220 38 38 / 35%);
    color: #b42318;
  }
  
  .contact-form {
    display: grid;
    gap: 1.1rem;
    margin-top: 2rem;
  }
  
  .contact-form__row {
    display: grid;
    gap: 1.1rem;
  }
  
  .contact-form__field {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--ew-text);
  
    input,
    select,
    textarea {
      font: inherit;
      font-weight: 400;
      padding: 0.65rem 0.85rem;
      border: 1px solid var(--ew-border);
      border-radius: 0.5rem;
      color: var(--ew-text);
      background: var(--ew-white);
  
      &:focus-visible {
        outline: none;
        border-color: var(--ew-blue);
      }
    }
  
    textarea {
      resize: vertical;
    }
  }
  
  .contact-form__field--file {
    input {
      padding: 0.45rem;
    }
  }
  
  .contact-form__hint {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ew-text-muted);
  }
  
  .contact-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ew-text-muted);
  
    input {
      margin-top: 0.2rem;
    }
  
    a {
      color: var(--ew-blue);
      font-weight: 600;
      text-decoration: underline;
    }
  }
  
  @media (min-width: 48rem) {
    .contact-form__row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* ── Dettaglio annuncio ─────────────────────────────────────────────── */
  
  .annuncio-dettaglio__back {
    margin: 0 0 1rem;

    a {
      color: var(--ew-white);
      text-decoration: none;
      font-weight: 600;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  .annuncio-dettaglio__category {
    margin: 0 0 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    color: var(--ew-yellow);
  }

  .annuncio-dettaglio__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    font-size: 0.9rem;

    li {
      background: rgb(255 255 255 / 15%);
      border-radius: 999px;
      padding: 0.25rem 0.85rem;
    }
  }

  .annuncio-dettaglio__hero-actions {
    margin-top: 1.75rem;
  }

  .annuncio-dettaglio__description {
    color: var(--ew-text);
    line-height: 1.7;
  }

  .annuncio-dettaglio__layout {
    display: grid;
    gap: 2rem;
    align-items: start;
  }

  .annuncio-dettaglio__cta {
    margin-top: 2rem;
  }

  .annuncio-dettaglio__card {
    background: var(--ew-bg-alt);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;

    h2 {
      margin-top: 0;
      font-size: 1.15rem;
    }
  }

  .annuncio-dettaglio__facts {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.5rem;
  }

  .annuncio-dettaglio__fact {
    display: grid;
    gap: 0.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--ew-border);

    &:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    dt {
      font-size: 0.8rem;
      color: var(--ew-text-muted);
    }

    dd {
      margin: 0;
      font-weight: 600;
      color: var(--ew-text);
    }
  }

  .annuncio-dettaglio__card-cta {
    display: block;
    text-align: center;
  }

  @media (min-width: 64rem) {
    .annuncio-dettaglio__layout {
      grid-template-columns: 1fr 20rem;
    }

    .annuncio-dettaglio__sidebar {
      position: sticky;
      top: 6rem;
    }
  }
}
body.page-apprendistato-professionalizzante {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 64rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-bilancio-competenze {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead,
    .check-list {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .check-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 36rem;
    text-align: left;
  
    li {
      position: relative;
      padding-left: 1.75rem;
      color: var(--ew-text);
  
      &::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 64rem) {
    .cards {
      grid-template-columns: repeat(4, 1fr);
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-chi-siamo {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .btn--ghost-light {
    background: transparent;
    border-color: var(--ew-white);
    color: var(--ew-white);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-white);
      color: var(--ew-blue-dark);
    }
  }
  
  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }

  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .value-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgb(0 0 0 / 8%);
    }

    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }

    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }

  .value-card__image {
    border-radius: 0.6rem;
    overflow: hidden;
    margin: -0.5rem -0.5rem 1rem;
    aspect-ratio: 16 / 10;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
  }

  .value-card:hover .value-card__image img {
    transform: scale(1.05);
  }

  .value-card__link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--ew-blue);
    text-decoration: none;

    &:hover,
    &:focus-visible {
      text-decoration: underline;
    }
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .gallery__item {
    aspect-ratio: 4 / 3;
  }

  .office-list {
    list-style: none;
    margin: 1.25rem auto 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 42rem;
  
    li {
      color: var(--ew-text);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }

    .gallery {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  @media (min-width: 64rem) {
    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-cms-login,
body.page-cms-annunci {
  .cms {
    min-height: 100vh;
    padding: 1.5rem;
    background: var(--ew-bg-alt);
  }
  
  .btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .btn--ghost {
    background: transparent;
    border-color: currentcolor;
    color: var(--ew-blue);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-blue);
      color: var(--ew-white);
    }
  }
  
  .btn--danger {
    background: transparent;
    border-color: #b42318;
    color: #b42318;
  
    &:hover,
    &:focus-visible {
      background: #b42318;
      color: var(--ew-white);
    }
  }
  
  .form-error {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(220 38 38 / 35%);
    background: rgb(220 38 38 / 8%);
    color: #b42318;
    font-weight: 600;
  }
  
  .required-mark {
    color: var(--ew-blue);
  }
  
  .contact-form {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.5rem;
  }
  
  .contact-form__row {
    display: grid;
    gap: 1.1rem;
  }
  
  .contact-form__field {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--ew-text);
  
    input,
    select,
    textarea {
      font: inherit;
      font-weight: 400;
      padding: 0.65rem 0.85rem;
      border: 1px solid var(--ew-border);
      border-radius: 0.5rem;
      color: var(--ew-text);
      background: var(--ew-white);
  
      &:focus-visible {
        outline: none;
        border-color: var(--ew-blue);
      }
    }
  
    textarea {
      resize: vertical;
    }
  }
  
  .contact-form__hint {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ew-text-muted);
  }
  
  .contact-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ew-text-muted);
  
    input {
      margin-top: 0.2rem;
    }
  }
  
  @media (min-width: 48rem) {
    .contact-form__row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* ── Login ──────────────────────────────────────────────────────────── */
  
  .cms-login {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cms-login__box {
    width: 100%;
    max-width: 24rem;
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
  }
  
  .cms-login__logo {
    margin-bottom: 1rem;
  }
  
  /* ── Layout admin ───────────────────────────────────────────────────── */
  
  .cms-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cms-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    color: var(--ew-blue-dark);
  
    img {
      height: 2.5rem;
      width: auto;
    }
  }
  
  .cms-nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .cms-nav__user {
    font-weight: 600;
    color: var(--ew-text-muted);
  }
  
  .cms-jobs__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .cms-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    overflow: hidden;
  
    th,
    td {
      text-align: left;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--ew-border);
    }
  
    th {
      background: var(--ew-bg-alt);
      font-weight: 700;
      color: var(--ew-blue-dark);
    }
  
    tr:last-child td {
      border-bottom: none;
    }
  }
  
  .cms-table__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  
    form {
      margin: 0;
    }
  }
  
  .cms-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .cms-badge--active {
    background: rgb(34 197 94 / 15%);
    color: #15803d;
  }
  
  .cms-badge--inactive {
    background: rgb(100 116 139 / 15%);
    color: #475569;
  }

  .cms-badge--expired {
    background: rgb(244 63 94 / 15%);
    color: #be123c;
  }

  .cms-job-form {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
    padding: 2rem;
    max-width: 48rem;
    margin-inline: auto;
  }

  /* ── Filtri di ricerca ──────────────────────────────────────────────── */

  .cms-filters {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .cms-filters__field {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ew-text);

    input,
    select {
      font: inherit;
      font-weight: 400;
      padding: 0.6rem 0.75rem;
      border: 1px solid var(--ew-border);
      border-radius: 0.5rem;
      color: var(--ew-text);
      background: var(--ew-white);

      &:focus-visible {
        outline: none;
        border-color: var(--ew-blue);
      }
    }
  }

  .cms-filters__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  @media (min-width: 56rem) {
    .cms-filters {
      grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
      align-items: end;
    }

    .cms-filters__field--grow {
      grid-column: span 1;
    }
  }

  /* ── Modale "Nuovo annuncio" ────────────────────────────────────────── */

  .cms-modal[hidden] {
    display: none;
  }

  .cms-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }

  .cms-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 55%);
  }

  .cms-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 48rem;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    background: var(--ew-white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgb(15 23 42 / 25%);
  }

  .cms-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;

    h2 {
      margin: 0;
    }
  }

  .cms-modal__close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ew-text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;

    &:hover,
    &:focus-visible {
      background: var(--ew-bg-alt);
      color: var(--ew-text);
    }
  }

  .cms-job-form--modal {
    margin: 0;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: none;
  }
}

body.cms-modal-open {
  overflow: hidden;
}
body.page-contatti {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead {
      margin-inline: auto;
    }
  
    .contact-form,
    .form-success {
      text-align: left;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .contact-grid,
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .contact-card,
  .office-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
    }
  }
  
  .contact-card__icon,
  .office-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--ew-bg-alt);
    color: var(--ew-blue);
    margin-bottom: 0.85rem;
  
    svg {
      width: 1.4rem;
      height: 1.4rem;
    }
  }
  
  .plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
  
    a {
      color: var(--ew-blue);
      font-weight: 600;
      text-decoration: none;
  
      &:hover,
      &:focus-visible {
        text-decoration: underline;
      }
    }
  }
  
  .plain-list--icons li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  
  .plain-list__icon {
    display: inline-flex;
    flex: none;
    color: var(--ew-blue);
  
    svg {
      width: 1.1rem;
      height: 1.1rem;
    }
  }
  
  .plain-list__tag {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--ew-bg-alt);
    color: var(--ew-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  
  .locations-map-wrapper {
    margin-top: 2rem;
    height: 24rem;
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  
    &:disabled {
      cursor: not-allowed;
      opacity: 0.6;
      transform: none;
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .contact-form {
    display: grid;
    gap: 1.1rem;
    margin-top: 2rem;
  }
  
  .contact-form__row {
    display: grid;
    gap: 1.1rem;
  }
  
  .required-mark {
    color: var(--ew-blue);
  }
  
  .contact-form__hint {
    font-size: 0.85rem;
    font-weight: 400;
    color: #b42318;
  }
  
  .contact-form__field {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--ew-text);
  
    input,
    textarea {
      font: inherit;
      font-weight: 400;
      padding: 0.65rem 0.85rem;
      border: 1px solid var(--ew-border);
      border-radius: 0.5rem;
      color: var(--ew-text);
      background: var(--ew-white);
  
      &:focus-visible {
        border-color: var(--ew-blue);
      }
    }
  
    textarea {
      resize: vertical;
    }
  }
  
  .contact-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--ew-text-muted);
  
    input {
      margin-top: 0.2rem;
    }
  }
  
  .form-success,
  .form-error {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ew-border);
    font-weight: 600;
  }
  
  .form-success {
    background: var(--ew-bg-alt);
    color: var(--ew-text);
  }
  
  .form-error {
    background: rgb(220 38 38 / 8%);
    border-color: rgb(220 38 38 / 35%);
    color: #b42318;
  
    a {
      color: inherit;
      text-decoration: underline;
    }
  }
  
  @media (min-width: 48rem) {
    .contact-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .contact-form__row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-contratto-apprendistato {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }

  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }

  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }

  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 64rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-cookie-policy {
  .legal-page {
    padding: 120px 20px 60px;
    background-color: #f9f9f9;
    min-height: 80vh;
  
    &__container {
      max-width: 800px;
      margin: 0 auto;
      background: #fff;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  
      h1 {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 10px;
      }
  
      h2 {
        font-size: 1.5rem;
        color: #0056b3;
        margin-top: 30px;
        margin-bottom: 15px;
      }
  
      p, li {
        line-height: 1.6;
        color: #555;
        margin-bottom: 15px;
      }
  
      ul {
        padding-left: 20px;
        margin-bottom: 20px;
      }
    }
  
    &__actions {
      margin-top: 40px;
      border-top: 1px solid #eee;
      padding-top: 20px;
  
      .btn-back {
        display: inline-block;
        padding: 10px 20px;
        background-color: #0056b3;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.3s;
  
        &:hover {
          background-color: #004494;
        }
      }
    }
  }
}
body.page-manda-il-tuo-cv {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .required-mark {
    color: var(--ew-blue);
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  
    &:disabled {
      cursor: not-allowed;
      opacity: 0.6;
      transform: none;
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .form-success,
  .form-error {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ew-border);
    font-weight: 600;
  }
  
  .form-success {
    background: var(--ew-bg-alt);
    color: var(--ew-text);
  }
  
  .form-error {
    background: rgb(220 38 38 / 8%);
    border-color: rgb(220 38 38 / 35%);
    color: #b42318;
  }
  
  .contact-form {
    display: grid;
    gap: 1.1rem;
    margin-top: 2rem;
  }
  
  .contact-form__section-title {
    margin: 1rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ew-border);
    color: var(--ew-blue-dark);
    font-size: 1.25rem;
  
    &:first-child {
      margin-top: 0;
      padding-top: 0;
      border-top: none;
    }
  }
  
  .contact-form__row {
    display: grid;
    gap: 1.1rem;
  }
  
  .contact-form__field {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--ew-text);
  
    input,
    select,
    textarea {
      font: inherit;
      font-weight: 400;
      padding: 0.65rem 0.85rem;
      border: 1px solid var(--ew-border);
      border-radius: 0.5rem;
      color: var(--ew-text);
      background: var(--ew-white);
  
      &:focus-visible {
        outline: none;
        border-color: var(--ew-blue);
      }
    }
  
    textarea {
      resize: vertical;
    }
  }
  
  .contact-form__field--file {
    input {
      padding: 0.45rem;
    }
  }
  
  .contact-form__hint {
    font-size: 0.85rem;
    font-weight: 400;
    color: #b42318;
  }
  
  .contact-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ew-text-muted);
  
    input {
      margin-top: 0.2rem;
    }
  
    a {
      color: var(--ew-blue);
      font-weight: 600;
      text-decoration: underline;
    }
  }
  
  @media (min-width: 48rem) {
    .contact-form__row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-formazione-dipendenti {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .advantage-list {
    list-style: none;
    margin: 1.5rem auto 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    max-width: 32rem;
  
    li {
      position: relative;
      padding: 0.85rem 1.25rem 0.85rem 2.5rem;
      background: var(--ew-bg-alt);
      border-radius: 0.6rem;
      color: var(--ew-text);
      font-weight: 600;
      text-align: left;
  
      &::before {
        content: '✓';
        position: absolute;
        left: 1rem;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 64rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-home {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section[id] {
    scroll-margin-top: 5.5rem;
  }

  @media (min-width: 64rem) {
    .section[id] {
      scroll-margin-top: 7rem;
    }
  }

  .page-index {
    display: none;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hero {
    background: linear-gradient(135deg, #eef2f8 0%, #f6f8fb 40%, #ffffff 75%);
    color: var(--ew-text);
    overflow: hidden;
    position: relative;
  }

  .hero__wave {
    display: block;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4rem;
    line-height: 0;
  }

  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem 5rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--ew-blue-dark);
    font-weight: 800;
  }

  .hero__highlight {
    color: var(--ew-yellow-dark);
  }

  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 0 1.75rem;
    color: var(--ew-text-muted);
  }

  .hero__search {
    display: grid;
    gap: 0.75rem;
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: var(--ew-radius-lg);
    box-shadow: var(--ew-shadow-lg);
    padding: 0.75rem;
  }

  .hero__search-field {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--ew-radius-md);
    color: var(--ew-text-muted);

    input {
      flex: 1;
      border: 0;
      background: none;
      font: inherit;
      color: var(--ew-text);
      outline: none;

      &::placeholder {
        color: var(--ew-text-muted);
      }
    }
  }

  .hero__search-icon {
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
    color: var(--ew-text-muted);
  }

  .hero__search-submit {
    text-align: center;
  }

  .hero__gallery {
    display: none;
  }

  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .btn--ghost {
    background: transparent;
    border-color: currentcolor;
    color: var(--ew-blue);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-blue);
      color: var(--ew-white);
    }
  }
  
  .btn--ghost-light {
    background: transparent;
    border-color: var(--ew-white);
    color: var(--ew-white);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-white);
      color: var(--ew-blue-dark);
    }
  }
  
  .pillars,
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .pillar-card,
  .policy-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
    }
  }
  
  .pillar-card__link,
  .policy-card__link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--ew-blue);
    font-weight: 600;
    text-decoration: none;
  
    &:hover,
    &:focus-visible {
      text-decoration: underline;
    }
  }
  
  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }

  .check-list {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
  
    li {
      position: relative;
      padding-left: 1.75rem;
      color: var(--ew-text);
  
      &::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .pillars {
      grid-template-columns: repeat(3, 1fr);
    }

    .cards {
      grid-template-columns: repeat(3, 1fr);
    }

    .hero__search {
      grid-template-columns: 1fr 1fr auto;
      align-items: center;
    }

    .hero__search-field {
      border-right: 1px solid var(--ew-border);
    }

    .hero__search-field:last-of-type {
      border-right: 0;
    }
  }

  @media (min-width: 64rem) {
    .hero__inner {
      grid-template-columns: 1.1fr 1fr;
    }

    .hero__gallery {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 1.25rem;
      height: 26rem;
    }

    .hero__gallery-item {
      border-radius: var(--ew-radius-lg);
      box-shadow: var(--ew-shadow-lg);
      overflow: hidden;

      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .hero__gallery-item--main {
      grid-row: 1 / 3;
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }

    .section__inner--reverse > :first-child {
      grid-column: 2;
      grid-row: 1;
    }

    .section__inner--reverse > .section-image {
      grid-column: 1;
      grid-row: 1;
    }

    .page-index {
      display: block;
      position: fixed;
      top: 50%;
      right: 1.25rem;
      transform: translateY(-50%);
      z-index: 50;
    }

    .page-index ul {
      list-style: none;
      margin: 0;
      padding: 0.75rem;
      display: grid;
      gap: 0.5rem;
      background: var(--ew-white);
      border: 1px solid var(--ew-border);
      border-radius: 1rem;
      box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
    }

    .page-index__link {
      display: block;
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
      color: var(--ew-text-muted);
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
      transition: background-color 0.15s ease, color 0.15s ease;

      &:hover,
      &:focus-visible {
        background: var(--ew-bg-alt);
        color: var(--ew-blue-dark);
      }

      &.is-active {
        background: var(--ew-blue);
        color: var(--ew-white);
      }
    }
  }
}
body.page-not-found {
  .legal-page {
    padding: 120px 20px 60px;
    background-color: #f9f9f9;
    min-height: 80vh;
    display: flex;
    align-items: center;

    &__container {
      max-width: 800px;
      margin: 0 auto;
      background: #fff;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      text-align: center;

      h1 {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 10px;
      }

      p {
        line-height: 1.6;
        color: #555;
        margin-bottom: 15px;
      }
    }

    &__actions {
      margin-top: 40px;
      border-top: 1px solid #eee;
      padding-top: 20px;
      display: flex;
      justify-content: center;

      .btn-back {
        display: inline-block;
        padding: 10px 20px;
        background-color: #0056b3;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.3s;

        &:hover {
          background-color: #004494;
        }
      }
    }
  }
}
body.page-par-gol {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead,
    .check-list {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }

  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }

  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0;
    color: inherit;
  }
  
  .check-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 36rem;
    text-align: left;
  
    li {
      position: relative;
      padding-left: 1.75rem;
      color: var(--ew-text);
  
      &::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .course-grid {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
  }
  
  .course-tag {
    display: block;
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.6rem;
    padding: 0.85rem 1.25rem;
    color: var(--ew-text);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
      border-color: var(--ew-blue);
      color: var(--ew-blue);
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .course-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 64rem) {
    .course-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-privacy-policy {
  .legal-page {
    padding: 120px 20px 60px;
    background-color: #f9f9f9;
    min-height: 80vh;
  
    &__container {
      max-width: 800px;
      margin: 0 auto;
      background: #fff;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  
      h1 {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 10px;
      }
  
      h2 {
        font-size: 1.5rem;
        color: #0056b3;
        margin-top: 30px;
        margin-bottom: 15px;
      }
  
      p, li {
        line-height: 1.6;
        color: #555;
        margin-bottom: 15px;
      }
  
      ul {
        padding-left: 20px;
        margin-bottom: 20px;
      }
    }
  
    &__actions {
      margin-top: 40px;
      border-top: 1px solid #eee;
      padding-top: 20px;
  
      .btn-back {
        display: inline-block;
        padding: 10px 20px;
        background-color: #0056b3;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.3s;
  
        &:hover {
          background-color: #004494;
        }
      }
    }
  }
}
body.page-progettazione-bandi {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead,
    .check-list {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .check-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 36rem;
    text-align: left;
  
    li {
      position: relative;
      padding-left: 1.75rem;
      color: var(--ew-text);
  
      &::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 64rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-ricerca-selezione-personale {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead,
    .check-list {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .check-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 36rem;
    text-align: left;
  
    li {
      position: relative;
      padding-left: 1.75rem;
      color: var(--ew-text);
  
      &::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 64rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }

    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-servizio-orientamento-professionale {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 64rem) {
    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-tirocinio-extracurricolare-aziende {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead,
    .check-list {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .check-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 36rem;
    text-align: left;
  
    li {
      position: relative;
      padding-left: 1.75rem;
      color: var(--ew-text);
  
      &::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  @media (min-width: 64rem) {
    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
body.page-tirocinio-extracurricolare {
  .section__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3rem 1rem;
  }
  
  .section__inner--narrow {
    max-width: 48rem;
    text-align: center;
  
    .section__lead,
    .check-list,
    .step-list {
      margin-inline: auto;
    }
  }
  
  .section__lead {
    color: var(--ew-text-muted);
    font-size: 1.05rem;
    max-width: 60ch;
  }
  
  .section__lead--centered {
    margin-inline: auto;
    text-align: center;
  }
  
  .section--alt {
    background: var(--ew-bg-alt);
  }

  .section__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
  }

  .section__inner--split .section-image {
    min-height: 14rem;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--ew-blue) 0%, var(--ew-blue-dark) 100%);
    color: var(--ew-white);
  }
  
  .hero__inner {
    max-width: var(--ew-container-width);
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    color: rgb(255 255 255 / 90%);
  }
  
  .check-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 36rem;
    text-align: left;
  
    li {
      position: relative;
      padding-left: 1.75rem;
      color: var(--ew-text);
  
      &::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--ew-yellow-dark);
        font-weight: 700;
      }
    }
  }
  
  .step-list {
    list-style: none;
    counter-reset: step;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    max-width: 36rem;
    text-align: left;
  
    li {
      position: relative;
      padding: 0.85rem 1.25rem 0.85rem 3rem;
      background: var(--ew-white);
      border: 1px solid var(--ew-border);
      border-radius: 0.6rem;
      color: var(--ew-text);
      font-weight: 600;
      counter-increment: step;
  
      &::before {
        content: counter(step);
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        display: grid;
        place-items: center;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        background: var(--ew-yellow);
        color: var(--ew-blue-dark);
        font-size: 0.85rem;
      }
    }
  }
  
  .cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .offering-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
    text-align: left;
  
    h3 {
      margin-top: 0;
      color: var(--ew-blue-dark);
    }
  
    p {
      color: var(--ew-text-muted);
      margin-bottom: 0;
    }
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  
    &:hover,
    &:focus-visible {
      transform: translateY(-2px);
    }
  }
  
  .btn--primary {
    background: var(--ew-yellow);
    color: var(--ew-blue-dark);
  
    &:hover,
    &:focus-visible {
      background: var(--ew-yellow-dark);
    }
  }
  
  .cta {
    background: var(--ew-blue-dark);
    color: var(--ew-white);
  }
  
  .cta__inner {
    max-width: 48rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
    text-align: center;
  
    h2 {
      margin-top: 0;
    }
  
    p {
      color: rgb(255 255 255 / 85%);
    }
  }
  
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 48rem) {
    .cards {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 64rem) {
    .section__inner--split {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
