/* LNCG visual refresh requested by the office, 2026-11-27.
   Scope: public-site typography and hero-slider palette only. */
:root {
  --lncg-navy: #2b4d69;
  --lncg-navy-deep: #1c354d;
  --lncg-gold: #e1c078;
  --lncg-gold-strong: #d09a2d;
  --lncg-gold-hover: #b78022;
}

body,
button,
input,
select,
textarea {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.brand span,
.site-header nav a,
.header-action,
.hero-slide h1,
.hero-slide h2,
.hero-slide .button {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.site-header {
  background: color-mix(in srgb, var(--lncg-navy) 96%, transparent);
}

.brand small,
.hero-slide .eyebrow {
  color: var(--lncg-gold);
}

.language-switch a.is-active {
  background: var(--lncg-gold);
  color: var(--lncg-navy-deep);
}

.header-action {
  border-color: var(--lncg-gold);
}

.hero-slider {
  background: var(--lncg-navy-deep);
}

@media (min-width: 1101px) {
  .hero-slide {
    background-color: var(--lncg-navy);
    background-image:
      linear-gradient(90deg, rgba(28, 53, 77, .9) 0%, rgba(43, 77, 105, .74) 43%, rgba(43, 77, 105, .26) 72%, rgba(28, 53, 77, .06) 100%),
      var(--dipiu-photo) !important;
  }
}

.hero-slide h1,
.hero-slide h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700;
  letter-spacing: -.018em;
}

.hero-slide .lead {
  color: #f3f0e9;
}

.hero-actions .primary,
.site-header nav .mobile-contact {
  background: var(--lncg-gold-strong);
  color: #fff;
}

.hero-actions .primary:hover,
.hero-actions .primary:focus-visible,
.site-header nav .mobile-contact:hover,
.site-header nav .mobile-contact:focus-visible {
  background: var(--lncg-gold-hover);
}

.slider-controls {
  border-color: rgba(213, 181, 111, .48);
  background: rgba(28, 53, 77, .9);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--lncg-gold-strong);
}

.slider-dots button.is-active {
  border-color: var(--lncg-gold);
  background: var(--lncg-gold);
}

.team-grid article {
  border-color: #dfcfb1;
  background: linear-gradient(145deg, #fffefb 0%, #f7f0e4 100%);
  box-shadow: 0 7px 18px rgba(57, 43, 23, .07);
}

.team-grid article.team-card--leadership {
  border-color: #c99b48;
  background: linear-gradient(145deg, #fff8e7 0%, #ecd8aa 100%);
  box-shadow: 0 9px 22px rgba(95, 68, 24, .12);
}

.team-grid article.team-card--leadership span {
  color: #7a5318;
}

html[lang="en"] .team-grid article:nth-child(13),
html[lang="it"] .team-grid article:nth-child(13) {
  order: -3;
}

html[lang="en"] .team-grid article:nth-child(12),
html[lang="it"] .team-grid article:nth-child(12) {
  order: -2;
}

html[lang="en"] .team-grid article:nth-child(11),
html[lang="it"] .team-grid article:nth-child(11) {
  order: -1;
}

html[lang="en"] .team-grid article:nth-child(n+11),
html[lang="it"] .team-grid article:nth-child(n+11) {
  border-color: #c99b48;
  background: linear-gradient(145deg, #fff8e7 0%, #ecd8aa 100%);
  box-shadow: 0 9px 22px rgba(95, 68, 24, .12);
}

@media (max-width: 1100px) {
  .hero-slide {
    background-color: var(--lncg-navy) !important;
  }

  .hero-slide .hero-copy {
    background: linear-gradient(0deg, rgba(28, 53, 77, .98) 0%, rgba(43, 77, 105, .91) 68%, rgba(43, 77, 105, 0) 100%);
  }

  .slider-dots button {
    border-color: var(--lncg-navy-deep);
  }
}
