:root {
  --bg: #41CDF3;
  --text: #000000;
  --hover: white;
  --intro-offset-y: 0px;
  --intro-offset-x: 0px;
  --intro-width: 640px;
  --intro-pos-right: -100px;
  --intro-pos-bottom: 370px;
}

html,
body {
  scroll-behavior: smooth;
  padding-top: 0;
  padding-bottom: 0;
padding-left: 8px;
padding-right: 8px;
  margin: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}


* {
  box-sizing: border-box;
}

a {
font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  margin: 0;
  text-decoration: none;
}

h1 a {
font-family: "hoefler-text", sans-serif;
  font-size: 18px;
  line-height: 22px; 
  font-weight: 400;
  color: black;
  
}

h1 a:hover,
h1 a:focus-visible {
  color: var(--hover);
}

h3 a {
   font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  color: #000;
  font-size: 10px;
  line-height: 12px;
  margin-top: 6px;
  margin-bottom: -6px;
  text-decoration: none;
}

h3 a:hover,
h3 a:focus-visible {
  color: var(--hover);
}

p {
font-family: "hoefler-text", sans-serif;
  font-size: 22px;
  line-height: 26px;
    font-weight: 400;
  margin: 0;
  text-decoration: none;
  
}

.intro-line {
  display: block;
}

h1 {
font-family: "hoefler-text", sans-serif;
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  margin: 0;
  text-decoration: none;
}

h2 {
 font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  margin: 0;
  text-decoration: none;
}

h3{
   font-family: "univers-next-pro", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  margin-top: 6px;
  margin-bottom: -6px;
  text-decoration: none;
}



span {
font-family: "hoefler-text", sans-serif;
  font-size: 22px;
  line-height: 26px;
      font-weight: 400;
  margin: 0;
  text-decoration: none;
}


/* Menu */
.menu {
  position: fixed;
  top: 71px;
  left: 14px;
  z-index: 10;
  pointer-events: none;
}

.menu__stack {
  display: flex;
  flex-direction: column;
  gap: 180px;
  transform: rotate(-45deg);
  transform-origin: top left;
  pointer-events: auto;
}

.menu__row {
  display: flex;
  flex-direction: row;
  gap: 35px;
}

.menu__link {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  pointer-events: auto;
}

.menu__link:focus-visible {
  outline: none;
  color: var(--hover);
}

.menu__link--active {
  color: var(--hover);
}

@media (hover: hover) and (pointer: fine) {
  .menu__link:hover {
    color: var(--hover);
  }
}

/*intro*/
.container--intro {
  position: relative;
}

.content--intro-block {
  position: absolute;
  right: calc(var(--intro-pos-right) + var(--intro-offset-x));
  bottom: calc(var(--intro-pos-bottom) + var(--intro-offset-y));
  width: var(--intro-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: rotate(-45deg);
  transform-origin: bottom right;
  text-align: center;
}

.container--intro .content--intro {
  text-align: inherit;
  width: 100%;
}

.lang-switch {
  display: inline-flex;
  gap: 12px;
}

.lang-switch__button {
  border: 0;
  background: transparent;
  color: var(--text);
font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  padding: 4px 8px;
  cursor: pointer;
  text-transform: uppercase;
}

.lang-switch__button:hover,
.lang-switch__button:focus-visible {
  outline: none;
  color: var(--hover);
}

/* Sezioni */
.container {
  min-height: 100vh;
  height: auto;
  scroll-snap-align: start;
}

.container:focus {
  outline: none;
}

.container:not(.container--intro) {
  padding-top: 240px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.grid-12 > * {
  min-width: 0;
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.col-3 h1 {
  margin-top: 7px;
}

.section-gap {
  margin-top: 50px;
}

/* open call */
.opencall-container {
  place-items: stretch;
  text-align: left;
  padding-right: 0;
}

.opencall-item {
font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
  margin: 0;
  width: 100%;
}

.opencall-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  text-align: left;
  width: 100%;
  justify-items: stretch;
}

.opencall-item--left {
  text-align: left;
  justify-self: start;
}

.opencall-item--right {
  text-align: right;
  justify-self: end;
  overflow-wrap: break-word;
}

.opencall-row > .opencall-item:nth-of-type(2),
.opencall-row > .opencall-item:nth-of-type(3) {
  text-align: center;
}

.opencall-link {
font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
}

.opencall-break {
  display: inline;
  font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
}

.opencall-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* keep FOCUS label and text on one line without changing their styles */
.focus-inline h2,
.focus-inline h1 {
  display: inline;
  margin: 0;
}

.focus-inline h1 {
  margin-left: 6px;
}

.opencall-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  grid-column: 1 / -1;
  margin-top: 24px;
  text-align: center;
}

.button-link {
  color: var(--text);
  text-decoration: underline;
}

.button-link:hover,
.button-link:focus-visible {
  outline: none;
  color: var(--hover);
}

/* program */
.program-grid {
  --program-columns: 12;
  --program-sessions-per-row: 5;
  row-gap: 30px;
  column-gap: 12px;
  align-items: start;
  grid-template-columns: repeat(var(--program-columns, 12), minmax(0, 1fr));
  box-sizing: border-box;
  position: relative;
}

.program-legend {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.program-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.program-legend-label {
  font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
}

.program-cell {
  display: flex;
  flex-direction: column;
}

.program-session {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 12px;
  align-content: start;
  color: var(--text);
}

.program-session:focus-visible {
  outline: none;
  color: var(--hover);
}

.program-year,
.program-month,
.program-day {
font-family: "univers-next-pro", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
}

.program-day {
  display: block;
  grid-column: 1;
}

.program-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.program-mode--online {
  font-size: 0;
  background-color: currentColor;
  -webkit-mask-image: url("svg/online.svg");
  mask-image: url("svg/online.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.program-mode--offline {
  font-size: 0;
  background-color: currentColor;
  -webkit-mask-image: url("svg/ofline.svg");
  mask-image: url("svg/ofline.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.program-session--active,
.program-session--active .program-speaker,
.program-session--active .program-title,
.program-session--active .program-day {
  color: var(--hover);
}

.program-session--active .program-mode {
  color: var(--hover);
}

.program-month--active {
  color: var(--hover);
}

.program-speaker {
font-family: "univers-next-pro", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
  margin-top: 0;
}

.program-title {
font-family: "hoefler-text", sans-serif;
  font-size: 14px;
  line-height: 16px;
}

.program-text {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: -2px;
}

.program-empty {
  visibility: hidden;
}

.program-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(var(--program-columns, 12), minmax(0, 1fr));
  column-gap: 12px;
  margin-top: -10px;
}

.program-detail[hidden] {
  display: none;
}

.program-detail-time {
font-family: "univers-next-pro", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  margin-top: 3px;
  text-transform: uppercase;
  grid-column: 3 / span 1;
}

.program-detail-text {
  font-family: "hoefler-text", sans-serif;
  font-size: 18px;
  line-height: 22px;
  grid-column: 4 / -3;
}


/*footer*/
.footer {
  margin-top: 200px;
  padding-bottom: 16px;
}

.footer h1 {
    font-size: 14px;
  line-height: 16px;
}

.colophon-page .colophon-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 30px;
}

.colophon-page .colophon-logos img {
  height: 25px;
  max-height: 25px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .program-grid {
    --program-columns: 10;
    --program-sessions-per-row: 4;
  }
    .program-detail-text {
  font-family: "hoefler-text", sans-serif;
  font-size: 18px;
  line-height: 22px;
  grid-column: 4 / -1;
}
}

@media (max-width: 1024px) {
  .program-grid {
    --program-columns: 8;
    --program-sessions-per-row: 3;
  }

  .program-detail-text {
  font-family: "hoefler-text", sans-serif;
  font-size: 18px;
  line-height: 22px;
  grid-column: 4 / -1;
}
}

@media (max-width: 930px) {
  .opencall-break {
    display: block;
  }
}

@media (max-width: 580px) {
  .opencall-break {
    display: inline;
  }
}

@media (max-width: 700px) {
  .program-grid {
    --program-columns: 12;
    --program-sessions-per-row: 2;
  }

    .program-detail-text {
  font-family: "hoefler-text", sans-serif;
  font-size: 20px;
  line-height: 24px;
  grid-column: 4 / -1;
}

  .program-year-cell {
    grid-column: 1 / span 2;
  }

  .program-legend {
    position: static;
    grid-column: 8 / span 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
  }

  .program-month-cell {
    grid-column: 1 / span 2;
  }

  .program-session,
  .program-cell.program-empty.col-2 {
    grid-column: span 5;
  }

  .footer .col-1 {
    display: none;
  }

  .footer .grid-12 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer .col-3,
  .footer .col-2 {
    grid-column: auto / span 1;
  }

}





@media (max-width: 580px) {
  .col-6 {
    grid-column: span 12;
  }

  .opencall-details {
    row-gap: 22px;
  }

  .colophon-page .colophon-logos {
    justify-content: space-between;
    width: 100%;
  }

  .footer .col-1 {
    display: none;
  }

  .footer .grid-12 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .footer .col-3,
  .footer .col-2 {
    grid-column: 1 / -1;
  }

  .program-grid {
    --program-columns: 8;
    --program-sessions-per-row: 1;
  }

  .program-year-cell {
    grid-column: 1 / span 1;
  }

  .program-year-cell.program-empty {
    display: none;
  }

  .program-month-cell {
    grid-column: 1 / span 1;
  }

  .program-session,
  .program-cell.program-empty.col-2 {
    grid-column: 2 / -1;
  }

  .program-session {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: 12px;
  }

  .program-day {
    grid-column: 1 / span 2;
  }

  .program-mode {
    grid-column: 4 / span 1;
    justify-self: start;
  }

  .program-detail-time {
    grid-column: 2 / -1;
  }

  .program-detail-text {
    grid-column: 2 / -1;
  }

  .program-detail {
    row-gap: 8px;
    margin-top: -10px;
  }

  .program-legend {
    position: static;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    grid-column: 5 / span 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    z-index: 1;
  }

  .program-grid {
    padding-right: 0;
  }

  .program-legend {
    grid-column: 5 / span 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    z-index: 1;
    margin-bottom: 12px;
  }


  .container--intro {
    overflow: hidden;
    position: relative;
  }

  .content--intro-block {
    position: static;
    transform: none;
    width: max-content;
  }

  .container--intro .content--intro {
    position: absolute;
    left: 50px;
    bottom: calc(55px + var(--intro-offset-y));
    width: max-content;
    transform: rotate(-45deg);
    transform-origin: bottom left;
    text-align: left;
  }

  .container--intro .intro-line {
    transform: translateX(var(--line-offset, 0px));
  }


  .lang-switch {
    position: absolute;
    left: -9px;
    top: 350px;
    transform: rotate(-45deg);
    transform-origin: top left;
    margin: 0;
  }

  .opencall-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }

  .opencall-center {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .opencall-row > .opencall-item:nth-of-type(2) {
    text-align: right;
  }

  .opencall-row > .opencall-item:nth-of-type(3) {
    text-align: left;
  }

  .opencall-row > .opencall-item:nth-of-type(4) {
    text-align: right;
  }

  .opencall-links {
    margin-bottom: 10px;
  }

  .colophon-page .grid-12 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .colophon-page .colophon-title,
  .colophon-page .colophon-intro {
    grid-column: 1 / span 8;
    text-align: left;
    margin-bottom: 12px;
    margin-top: -12px;
  }

  .colophon-page .colophon-stack {
    grid-column: 2 / span 6;
    text-align: left;
    margin-top: -12px;
  }

}

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