


/* src/assets/css/main.css */

:root {
  --border: #000;

  --pad: 10px;
  --gap: 4px;

  --font: "neue-haas-grotesk-text";
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;

  margin: 0;

  overflow: hidden;

  font-family: var(--font);

  background: #f7f7f5;
}

body {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.layout {
  display: flex;

  width: 100vw;
  height: 100vh;

  border-left: 1px solid var(--border);
}

.column {
  flex: 1;

  min-width: 0;

  height: 100vh;

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: none;

  border-right: 1px solid var(--border);

  background: #f7f7f5;
}
.column:last-child {
  border-right: 0;
}
.column-inner {
  min-height: 100vh;

  padding: var(--pad);

  padding-top: 4px;
}

/* -------------------------------- */
/* HEADER */
/* -------------------------------- */
.col-header {
  position: fixed;

  top: 0;

  width: calc(33.333vw - 20px);

  z-index: 100;

  background: #f7f7f5;

  border-bottom: 1px solid var(--border);

  padding-top: 6px;
  padding-bottom: 6px;

}

.col-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.col-title {
  line-height: 1;
}

.col-index-toggle,
.lang-toggle {
  line-height: 1;
}

.col-title {
  margin: 0;

  font-size: 14px;
  font-weight: 500;

  letter-spacing: -0.01em;
}

.col-index-toggle {
  appearance: none;

  border: 0;
  background: transparent;

  padding: 0;
  margin: 0;

  font: inherit;
  font-size: 14px;

  cursor: pointer;

}

/* -------------------------------- */
/* PROJECTS */
/* -------------------------------- */

.projects {
  display: flex;
  flex-direction: column;

  gap: 28px;
}

.project {
  padding-top: 12px;
  padding-bottom: 12px;

  border-top: 1px solid var(--border);
}

.project:first-child {
  padding-top: 0;

  border-top: 0;
}

/* -------------------------------- */
/* CLOSED */
/* -------------------------------- */

.project-cover {
  display: block;

  margin-bottom: 10px;
}

.project-cover img {
  display: block;

  width: 100%;
  height: auto;
}
.project-closed-layout {
  display: grid;

  grid-template-columns: 50% 50%;

  gap: 0;

  align-items: start;
}
.project-closed-text {
  padding-right: 10px;
}

.project-title {
  margin: 0;
padding-top: 1px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;

  letter-spacing: -0.01em;
}

.project-excerpt {
  margin: 0;

  font-size: 10px;
  line-height: 1.28;
}
.project-excerpt p {
  margin: 0;

  font: inherit;

  line-height: inherit;

  letter-spacing: inherit;
}
.project-more {
  display: inline-block;

  margin-top: 10px;

  color: #000;

  font-size: 12px;

  text-decoration: none;
}

/* -------------------------------- */
/* OPEN */
/* -------------------------------- */

.project-open {
  padding-top: 4px;
}

.project-open-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding-bottom: 10px;
  margin-bottom: 8px;


}

.project-open-title {
  font-size: 14px;
  font-weight: 500;
}

.project-close {
  color: #000;

  font-size: 13px;

  text-decoration: none;
}

.project-open-layout {
  display: grid;
align-items: start;
grid-template-columns: 32.6% 67.4%;

  gap: 18px;

  margin-bottom: 14px;
}

.project-meta {
  padding-right: 10px;

  font-size: 13px;
  line-height: 1.35;
}

.project-text {
  width: 100%;
padding-right: 20px;
  font-size: 12px;
  line-height: 1.2;
}

.project-text p:first-child {
  margin-top: 0;
}

/* -------------------------------- */
/* GALLERY */
/* -------------------------------- */

.project-gallery-label {
  margin: 0 0 10px;
  padding-top: 10px;
  font-size: 13px;
}

.project-images {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  padding-top: 10px;

  border-top: 1px solid var(--border);
}

.project-image {
  flex: 0 0 100%;
  width: 100%;
margin: 0;
}



.project-image {
  flex: 0 0 100%;
}

.project-image img {
  display: block;

  width: 100%;
  height: auto;
}

/* -------------------------------- */
/* INDEX MODE */
/* -------------------------------- */

.column-index-view {
  display: none;

  grid-template-columns: repeat(3, 1fr);

  gap: 5px;

  padding-top: 2px;

}
.column-index-view {
  align-items: start;
}
.column-index-view.is-visible {
  display: grid;
}

.column-index-view.is-visible + .projects {
  display: none;
}

.column-index-item {
  display: block;

  overflow: hidden;
}

.column-index-item img {
  display: block;

  width: 100%;
  height: auto;
}

/* -------------------------------- */
/* PAGES */
/* -------------------------------- */

.pages {
  position: relative;

}


.pages-scroll {
  position: relative;

  display: flex;
  flex-direction: column;

  padding-top: 0;
}


.page-featured {
  position: relative;
  top: 0;

  z-index: 20;

  background: #f7f7f5;
padding-top: 10px;
  padding-bottom: 0px;

}
.page-featured .page-content-grid {
  grid-template-columns: minmax(0, 1fr) 280px;

  gap: 28px;
}

.page-featured .page-body {
  max-width: none;
}

.page-featured .page-side-text {
  max-width: 180px;
}
.page-section-divider {
  margin-top: -1px;
}

.page-section-title {
  margin: 0 0 8px;
  padding-top: 10px;



  font-size: 13px;

  text-transform: uppercase;
}



.page-block:first-child {
  padding-top: 0;

  border-top: 0;
}

.page-title {
  margin: 0 0 6px;

  font-size: 14px;
  font-weight: 500;
}


.page-body {
  font-size: 12px;
  line-height: 1.2;

  max-width: none;
}

.project-active {
  padding-top: 0;

  border-top: 0;
}
.project-active ~ .project {
  display: none;
}
.project:has(~ .project-active) {
  display: none;
}
.project-open {
  display: none;
}

.project.project-active .project-open {
  display: block;
}

.project.project-active .project-closed {
  display: none;
}
.project-preview-description {
  margin-top: 6px;

  font-size: 12px;
  line-height: 1;

  opacity: 0.9;
}


.page-content-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    180px;

  gap: 20px;

  align-items: start;
}

.page-meta-side {
  min-width: 0;
}

.page-title {
  font-size: 14px;

  line-height: 1.1;

  margin-bottom: 8px;
}

.page-meta-item {
  font-size: 10px;

  line-height: 1;

  margin: 0;
}

.page-side-text {
  margin-top: 12px;

  font-size: 11px;

  line-height: 1.3;
}

.page-cover-side {
  width: 100%;
}

.page-cover-side .page-cover {
  display: block;

  width: 100%;

  height: auto;

  cursor: pointer;
}
.project-meta-secondary {
  margin-top: 4px;

  font-size: 11px;
  line-height: 1.2;
}
.column {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.column::-webkit-scrollbar {
  display: none;
}


.pages-section-header .col-header-row {
  height: 14px;
}
.column-inner {
  min-height: 100vh;

  padding: var(--pad);

  padding-top: 42px;
}
[data-column="pages"] .column-inner {
  padding-top: 4px;
}

[data-column="pages"] .column-inner {
  min-height: 0;

  height: 100%;

  overflow: hidden;
}
.column-fogli-wrap,
.pages,
.pages-scroll-inner,
.pages-scroll {
  min-height: 0;
}
.page-content-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    180px;

  gap: 20px;

  align-items: start;
}



.pages-scroll::-webkit-scrollbar {
  display: none;
}
.page-side-text {
  font-size: 10px;
  line-height: 1.1;
}


.page-body p,
.page-side-text p {
  margin-top: 0;
  margin-bottom: 18px;
}
.page-body p:first-child,
.project-text p:first-child {
  margin-top: 0;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.96);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  position: relative;

  display: block;

  width: auto !important;
  height: auto !important;

  max-width: 90vw;
  max-height: 90vh;

  object-fit: contain;

  margin: auto;

  z-index: 10000;

  opacity: 1 !important;
}.lightbox img {
  display: block;
}

.lightbox-close {
  position: absolute;

  top: 20px;
  right: 20px;

  width: 24px;
  height: 24px;

  padding: 0;
  margin: 0;

  border: none;
  background: none;

  cursor: pointer;

  z-index: 10000;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 24px;
  height: 1px;

  background: currentColor;

  transform-origin: center;
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.lightbox-hitbox {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  cursor: pointer;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}
.gallery-image {
  cursor: pointer;
}
.page-cover {
  display: block;

  width: 100%;
    max-width: 100%;
  height: auto;

  cursor: pointer;
}
.page-cover,
.page-cover-side img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.column[data-column="pages"] .pages-scroll-inner {
  display: block;
}


.page-gallery-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
::selection {
  background: #000;
  color: #fff;
}
::-moz-selection {
  background: #000;
  color: #fff;
}
/* -------------------------------- */
/* PAGES COLUMN */
/* -------------------------------- */

[data-column="pages"] {
  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.pages {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pages-top {
  position: sticky;

  top: 42px;

  z-index: 60;

  background: #f7f7f5;
}

.pages-scroll-inner {
  width: 100%;

  position: relative;

  flex: 1;

  min-height: 0;

  overflow-y: auto;
}

.pages-scroll {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.page-block {
  width: 100%;

  padding-top: 12px;
  padding-bottom: 24px;

  box-sizing: border-box;
}

.page-block + .page-block {
  border-top: 1px solid #000;
}
.aosta-inner {
  padding-top: 42px;

  height: 100%;

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: none;
}

.page-content-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 32.6%)
    minmax(0, 1fr);

  gap: 18px;
    align-items: start;
}
.page-meta-side {
  display: flex;
  flex-direction: column;

  gap: 1px;
}
.page-meta-side {
  padding-right: 0px;
}
.page-title {
  font-size: 18px;

  line-height: 0.98;

  margin-bottom: 4px;

  letter-spacing: -0.015em;
}

.page-meta-item {
  font-size: 12px;

  line-height: 1.05;

  margin-bottom: 0;
}

.page-side-text {
  margin-top: 8px;

  max-width: 120px;

  font-size: 11px;
  line-height: 1.15;
}

.page-cover-side {
  width: 100%;
}

.page-cover {
  width: 100%;
  display: block;
  cursor: pointer;
}

.page-gallery-hidden {
  display: none;
}
/* -------------------------------- */
/* TYPO SYSTEM */
/* -------------------------------- */

/* TITOLI COLONNE */

.col-title {
  font-size: 14px;
  line-height: 1;
}

/* TITOLI PROGETTI / FOGLI */

.project-title,
.page-title {
  font-size: 12px;

  line-height: 0.95;

  letter-spacing: -0.03em;

  margin-bottom: 1px;
}

/* ARTISTA / ANNO / META */

.project-meta-secondary,
.page-meta-item,
.page-side-text {
  font-size: 12px;

  line-height: 1.15;
}

/* EXCERPT */

.project-excerpt,
.project-preview-description {
  font-size: 12px;

  line-height: 1.15;
}

/* TESTI PRINCIPALI */

.project-text,
.page-body,
.page-body p {
  font-size: 12px;

  line-height: 1.2;
}
.page-block:first-child {
  padding-top: 14px;
}
.column-index-view[data-index="pages"] {
  padding-top: 14px;
}
/* AOSTA */

.page-featured .page-body {
  font-size: 12px;

  line-height: 1.2;
}

/* SPAZIATURE META */

.page-meta-side {
  gap: 0;
}

.project-meta-secondary {
  margin-top: 2px;
}

/* CONTENT SECONDARY */

.page-side-text {
  margin-top: 0;

  max-width: none;
}

/* COVER GRID */

.page-content-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 32.6%)
    minmax(0, 1fr);

  gap: 18px;

  align-items: start;
}

/* -------------------------------- */
/* THIRD COLUMN LAYOUT */
/* -------------------------------- */
.column-pages-layout {
  display: grid;

  grid-template-rows:
    auto
    minmax(0, 1fr);

  height: 100%;
}
.aosta-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aosta-meta {
  padding-top: 1px;
}
.aosta-contacts {
  margin-bottom: 0;
}
.aosta-contacts p {
  margin: 0 0 6px 0;
}

.aosta-contacts p:last-child {
  margin-bottom: 0;
}

/* -------------------------------- */
/* AOSTA */
/* -------------------------------- */


.aosta-publishing {
  height: 100%;
}

.aosta-publishing .col-header {
  position: fixed;
  z-index: 80;
}



/* -------------------------------- */
/* FOGLI */
/* -------------------------------- */

.column-fogli-wrap {
  min-height: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}
.column-fogli-wrap {
  border-top: 1px solid #000;
}
.pages-section-header {
  position: sticky;

  top: 0;

  z-index: 70;

  background: #f7f7f5;

  border-bottom: 1px solid #000;

  padding-top: 10px;
  padding-bottom: 10px;
}
.pages-scroll-inner {
  overflow-x: hidden;
}

/* THIRD COLUMN SCROLLBAR */

[data-column="pages"],
[data-column="pages"] * {
scrollbar-width: none;
-ms-overflow-style: none;
}

[data-column="pages"] *::-webkit-scrollbar {
display: none;
}
.lang-toggle {
  appearance: none;

  border: 0;
  background: transparent;

  padding: 0;
  margin: 0;

  font: inherit;
  font-size: 14px;

  cursor: pointer;
}
.lang-en {
  display: none;
}

body.is-en .lang-it.has-en {
  display: none;
}

body.is-en span.lang-en {
  display: inline;
}

body.is-en div.lang-en {
  display: block;
}
.aosta-publishing,
.aosta-inner,
.page-body {
  max-width: 100%;
  overflow-x: hidden;
}
.aosta-contacts {
  margin-bottom: 0;

  font-size: 12px;
  line-height: 1.15;
}

.aosta-contacts p {
  margin-top: 0;
  margin-bottom: 6px;
}

.aosta-contacts p:last-child {
  margin-bottom: 0;
}
html,
body,
*,
a,
button,
img,
input,
textarea,
select,
label,
summary,
.gallery-image,
.project-cover,
.page-cover,
.project-more,
.col-index-toggle,
.lang-toggle {
  cursor: url("/assets/cursor.svg") 6 6, auto !important;
}
a,
button,
img,
.gallery-image,
.project-cover,
.page-cover {
  cursor:
    url("/assets/cursor.svg") 12 12,
    pointer;
}
a,
button,
[role="button"] {
  cursor: url("/assets/cursor.svg") 6 6, auto !important;
}

/* ==========================================
   MOBILE
========================================== */

.mobile-nav {
  display: none;
}



.mobile-nav-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,.15);

  opacity: 0;
  pointer-events: none;

  z-index: 10500;

  transition: opacity .25s ease;
}
/* pannello */

.mobile-nav-panel {
  position: fixed;

  inset: 0;

  width: 100vw;
  height: 100vh;

  background: #f7f7f5;

  transform: translateX(100%);

  z-index: 11000;

  transition: transform .25s ease;
}

.mobile-nav-panel.is-open {
  transform: translateX(0);
}

/* overlay */



.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  position: absolute;

  top: 20px;
  right: 10px;

  width: 24px;
  height: 24px;

  border: 0;
  background: none;

  padding: 0;
  margin: 0;

  cursor: pointer;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 24px;
  height: 1px;

  background: currentColor;
}

.mobile-nav-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.mobile-site-header {
  display: none;
}
@media (max-width: 900px) {

  html,
  body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;

    border-left: 0;
  }
  #aosta-section .col-header {
  display:none;
}

.mobile-site-header {

  display: flex;

  align-items: center;
  justify-content: space-between;

  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  height: 48px;

  padding-left: 10px;
  padding-right: 10px;

  background: #f7f7f5;

  z-index: 12000;
}

.mobile-site-header::after {
  content: "";

  position: absolute;

  left: 10px;
  right: 10px;

  bottom: 0;

  height: 1px;

  background: #000;
}

.mobile-site-title {
  font-size: 18px;
  line-height: 1;
}

.layout {
  padding-top: 48px;
}

  /* ORDINE MOBILE */

  #pages-section {
    order: 1;
  }

  #editorial-section {
    order: 2;
  }

  #curatorial-section {
    order: 3;
  }

  .column {
    width: 100%;
    height: auto;

    overflow: visible;

    border-right: 0;
    border-bottom: 0;
  }

  .column-inner {
    min-height: auto;
    padding-top:12px;
  }

  .column-pages-layout {
    display: block;
    height: auto;
  }

  .aosta-publishing,
  .aosta-inner,
  [data-column="pages"],
  [data-column="pages"] .column-inner,
  .pages-scroll-inner,
  .pages-scroll {
    height: auto;
    overflow: visible;
  }

  .aosta-inner {
    padding-top: 0;
  }

  .col-header,
  .aosta-publishing .col-header {
    position: relative !important;
    top: auto !important;

    width: 100% !important;

    padding-top: 14px;
    padding-bottom: 10px;

    background: #f7f7f5;

    z-index: 1 !important;
  }

  .col-title {
    font-size: 18px;
    line-height: 1;
  }

  .project-open-layout,
  .page-content-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
.project-meta {
  padding-top: 10px;
}
  .project-text,
  .project-meta,
  .page-meta-side,
  .page-cover-side {
    width: 100%;
    max-width: 100%;
  }

  .project-cover img,
  .page-cover {
    width: 100%;
    height: auto;
  }

  .project-closed-layout {
    display: block;
  }

  .project-closed-meta {
    margin-bottom: 12px;
  }

  .project-closed-text {
    width: 100%;
  }

  .lang-toggle {
    display: none;
  }

  .mobile-nav {
    display: block;

    position: fixed;

    top: 24px;
    right: 20px;

    z-index: 10000;
  }

  .mobile-nav-toggle {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 14px;
    height: 14px;

    padding: 0;
    margin: 0;

    border: 0;
    background: none;
  }

  .mobile-nav-toggle svg {
    display: block;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;

    gap: 2px;

    padding: 30px 20px;
  }

  .mobile-nav-links a,
  .mobile-language-toggle {
    color: #000;
    text-decoration: none;

    font-size: 34px;
    line-height: 0.95;

    letter-spacing: -0.03em;
  }
}
.mobile-site-header {
  display: none;
}

.mobile-site-header.is-visible {
  display: flex;
}

/* PATCH WORDPRESS AOSTA */

.column {
  position: relative;
}

.col-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 300;
}

.column-inner {
  padding-top: 0;
}

.projects {
  padding-top: 10px;
}

.project-cover img,
.project-image img,
.column-index-item img,
.page-cover,
.page-cover img,
.wp-post-image {
  display: block;
  width: 100%;
  height: auto;
}

.project-open {
  display: none;
}

.project.project-active .project-open {
  display: block;
}

.project.project-active .project-closed {
  display: none;
}

.project.project-active ~ .project {
  display: none;
}

.project:has(~ .project-active) {
  display: none;
}

.project-close {
  display: inline-block;
  margin-top: 10px;
}

[data-column="pages"] {
  overflow: hidden;
}

[data-column="pages"] .column-inner {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.aosta-publishing {
  flex: 0 0 auto;
}

.column-fogli-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.pages {
  height: 100%;
  min-height: 0;
}

.pages-scroll-inner {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.pages-scroll {
  padding-top: 0;
}

.lightbox-image {
  cursor: pointer;
}

@media (max-width: 900px) {
  .layout {
    padding-top: 48px;
  }

  #pages-section {
    order: 1;
  }

  #editorial-section {
    order: 2;
  }

  #curatorial-section {
    order: 3;
  }

  [data-column="pages"] .column-inner {
    height: auto;
    overflow: visible;
  }

  .aosta-publishing {
    order: 1;
  }

  .column-fogli-wrap {
    order: 2;
    overflow: visible;
  }

  .col-header,
  .aosta-publishing .col-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 500 !important;
  }

  .pages-scroll-inner {
    height: auto;
    overflow: visible;
  }
}

/* PATCH 02 — AOSTA / SCROLL / RESPONSIVE */

[data-column="pages"] {
  height: 100vh;
  overflow: hidden;
}

[data-column="pages"] .column-inner {
  height: 100vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.aosta-publishing {
  flex: 0 0 auto;
  min-height: auto;
}

.aosta-inner {
  padding-top: 42px;
  padding-bottom: 12px;
}

.column-fogli-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.pages {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.pages-scroll-inner {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 16px;
}

.projects {
  padding-bottom: 18px;
}

.project:last-child {
  margin-bottom: 18px;
}

.project-images {
  width: 100%;
}

.project-image,
.project-image img {
  width: 100%;
  max-width: 100%;
}

.page-gallery-hidden {
  display: none;
}

.lightbox-image {
  cursor: pointer;
}

/* evita testi troppo larghi in mobile nei progetti aperti */
@media (max-width: 900px) {
  .project-open-layout {
    grid-template-columns: 32.6% 67.4%;
    gap: 18px;
  }

  .project-meta {
    max-width: none;
  }

  .project-text {
    max-width: none;
  }

  [data-column="pages"],
  [data-column="pages"] .column-inner {
    height: auto;
    overflow: visible;
  }

  .aosta-inner {
    padding-top: 16px;
  }

  .column-fogli-wrap,
  .pages,
  .pages-scroll-inner {
    height: auto;
    overflow: visible;
  }

  .projects {
    padding-bottom: 24px;
  }

  .project:last-child,
  .page-block:last-child {
    margin-bottom: 24px;
  }
}
/* CURSORE AOSTA */

html,
body,
a,
button,
img,
.project-cover,
.gallery-image,
.page-cover,
.project-more,
.project-close,
.col-index-toggle,
.lang-toggle {
  cursor: url("../cursor.svg") 6 6, auto;
}

/* PATCH 03 */

body.admin-bar .layout {
  height: calc(100vh - 32px);
}

body.admin-bar .column,
body.admin-bar [data-column="pages"],
body.admin-bar [data-column="pages"] .column-inner {
  height: calc(100vh - 32px);
}

body.admin-bar .col-header {
  top: 0;
}

.column-index-view {
  display: grid;
}

.column-index-view:not(.is-visible) {
  display: none;
}

.projects.is-hidden,
.pages-scroll-inner.is-hidden {
  display: none !important;
}

.column[data-column="editorial"] .column-index-view,
.column[data-column="curatorial"] .column-index-view,
.column[data-column="pages"] .column-index-view {
  display: grid;
}

.column[data-column="editorial"] .projects,
.column[data-column="curatorial"] .projects {
  display: none;
}

.column[data-column="editorial"].show-list .column-index-view,
.column[data-column="curatorial"].show-list .column-index-view {
  display: none;
}

.column[data-column="editorial"].show-list .projects,
.column[data-column="curatorial"].show-list .projects {
  display: flex;
}

.column[data-column="pages"] .pages-scroll-inner {
  display: none;
}

.column[data-column="pages"].show-list .column-index-view {
  display: none;
}

.column[data-column="pages"].show-list .pages-scroll-inner {
  display: block;
}

.lang-en {
  display: none;
}

body.is-en .lang-it.has-en {
  display: none;
}

body.is-en .lang-en {
  display: inline;
}

body.is-en div.lang-en {
  display: block;
}

@media (max-width: 782px) {
  body.admin-bar .layout {
    height: auto;
  }

  body.admin-bar .column,
  body.admin-bar [data-column="pages"],
  body.admin-bar [data-column="pages"] .column-inner {
    height: auto;
  }
}

/* PATCH 04 — RIPRISTINO LOGICA CORRETTA */

/* di default: progetti estesi visibili */
.column[data-column="editorial"] .projects,
.column[data-column="curatorial"] .projects {
  display: flex !important;
}

/* di default: index nascosto */
.column[data-column="editorial"] .column-index-view,
.column[data-column="curatorial"] .column-index-view {
  display: none !important;
}

/* quando apro index */
.column[data-column="editorial"].show-index .projects,
.column[data-column="curatorial"].show-index .projects {
  display: none !important;
}

.column[data-column="editorial"].show-index .column-index-view,
.column[data-column="curatorial"].show-index .column-index-view {
  display: grid !important;
}

/* terza colonna: Aosta sopra, Fogli subito sotto */
[data-column="pages"] .column-inner {
  padding-top: 0 !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.aosta-publishing {
  flex: 0 0 auto;
  width: 100%;
}

.aosta-publishing .col-header {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
}

.aosta-inner {
  padding-top: 10px !important;
  padding-bottom: 18px;
}

.column-fogli-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid #000;
}

.column-fogli-wrap .pages {
  height: 100%;
  min-height: 0;
}

.pages-scroll-inner {
  height: 100%;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  display: block !important;
}

/* Fogli index nascosto di default */
[data-column="pages"] .column-index-view {
  display: none !important;
}

/* quando apro index fogli */
[data-column="pages"].show-index .column-index-view {
  display: grid !important;
}

[data-column="pages"].show-index .pages-scroll-inner {
  display: none !important;
}

/* lingua */
.lang-en {
  display: none;
}

body.is-en .lang-it.has-en {
  display: none !important;
}

body.is-en .lang-en {
  display: inline;
}

body.is-en div.lang-en {
  display: block;
}

/* bottone lingua sempre visibile */
.lang-toggle {
  display: inline-block !important;
}

/* margine finale sicurezza */
.projects,
.pages-scroll {
  padding-bottom: 24px;
}

.project:last-child,
.page-block:last-child {
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  [data-column="pages"] .column-inner {
    height: auto;
    overflow: visible;
  }

  .column-fogli-wrap,
  .pages,
  .pages-scroll-inner {
    height: auto;
    overflow: visible !important;
  }

  .aosta-publishing .col-header,
  .col-header {
    position: sticky !important;
    top: 0 !important;
  }
}

/* PATCH 05 — FOGLI DEFAULT INDEX */

[data-column="pages"] .column-index-view {
  display: grid !important;
}

[data-column="pages"] .pages-scroll-inner {
  display: none !important;
}

[data-column="pages"].show-index .column-index-view {
  display: none !important;
}

[data-column="pages"].show-index .pages-scroll-inner {
  display: block !important;
}

/* PATCH 06 — TERZA COLONNA DESKTOP */

@media (min-width: 901px) {

  [data-column="pages"] {
    height: 100vh !important;
    overflow: hidden !important;
  }

  [data-column="pages"] .column-inner {
    height: 100vh !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding-top: 0 !important;
  }

  .aosta-publishing {
    flex: 0 0 auto !important;
    max-height: 42vh !important;
    overflow-y: auto !important;
    border-bottom: 1px solid #000;
  }

  .aosta-publishing .col-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 50 !important;
  }

  .aosta-inner {
    padding-top: 10px !important;
    padding-bottom: 16px !important;
  }

  .column-fogli-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .column-fogli-wrap .pages {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .pages-section-header {
    flex: 0 0 auto !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 60 !important;
  }

  [data-column="pages"] .column-index-view {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 24px !important;
  }

  [data-column="pages"] .pages-scroll-inner {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 24px !important;
  }
}

/* PATCH 07 — MOBILE INDEX / SCROLL OFFSET / AOSTA TITLE */

/* sicurezza sotto header sticky */
.project,
.column-index-item,
.page-block {
  scroll-margin-top: 38px;
}

/* mobile: Aosta sempre visibile in testa */
@media (max-width: 900px) {
  #aosta-section .col-header,
  .aosta-publishing .col-header {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 800 !important;
    background: #f7f7f5;
  }

  .aosta-publishing {
    order: 1 !important;
  }

  .column-fogli-wrap {
    order: 999 !important;
  }

  /* mobile: index aperto di default */
  .column[data-column="editorial"] .projects,
  .column[data-column="curatorial"] .projects {
    display: none !important;
  }

  .column[data-column="editorial"] .column-index-view,
  .column[data-column="curatorial"] .column-index-view,
  .column[data-column="pages"] .column-index-view {
    display: grid !important;
  }

  /* quando apro lista da mobile */
  .column[data-column="editorial"].show-list-mobile .column-index-view,
  .column[data-column="curatorial"].show-list-mobile .column-index-view,
  .column[data-column="pages"].show-list-mobile .column-index-view {
    display: none !important;
  }

  .column[data-column="editorial"].show-list-mobile .projects,
  .column[data-column="curatorial"].show-list-mobile .projects {
    display: flex !important;
  }

  .column[data-column="pages"].show-list-mobile .pages-scroll-inner {
    display: block !important;
  }

  .column[data-column="pages"]:not(.show-list-mobile) .pages-scroll-inner {
    display: none !important;
  }

  /* mobile: mostra solo 6 index item finché non clicco More */
  .column-index-view .column-index-item:nth-of-type(n+7) {
    display: none;
  }

  .column-index-view.show-all-index .column-index-item {
    display: block;
  }

  .index-more-button {
    display: block;
    grid-column: 1 / -1;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 8px 0 0;
    margin: 0;
    font: inherit;
    text-align: left;
  }
}

/* PATCH 08 — DESKTOP SPACING + MOBILE NAV */

/* Desktop: distanza cover/filetto superiore */
@media (min-width: 901px) {
  .projects {
    padding-top: 10px !important;
  }

  .column-index-view {
    padding-top: 10px !important;
  }

  .pages-scroll {
    padding-top: 10px !important;
  }

  .page-block:first-child {
    padding-top: 10px !important;
  }
}

/* Filetti uniformi */
.col-header,
.pages-section-header,
.project,
.page-block,
.column-fogli-wrap {
  border-color: #000 !important;
}

.col-header,
.pages-section-header {
  border-bottom-width: 0.75px !important;
}

.project,
.page-block,
.column-fogli-wrap {
  border-top-width: 0.75px !important;
}

/* MOBILE — niente index, solo liste */
@media (max-width: 900px) {

  .column-index-view {
    display: none !important;
  }

  .projects,
  .pages-scroll-inner {
    display: block !important;
  }

  .column[data-column="editorial"] .projects,
  .column[data-column="curatorial"] .projects {
    display: flex !important;
  }

  [data-column="pages"] .pages-scroll-inner {
    display: block !important;
  }

  /* ordine mobile */
  #pages-section {
    order: 1;
  }

  #editorial-section {
    order: 2;
  }

  #curatorial-section {
    order: 3;
  }

  .aosta-publishing {
    order: 1;
  }

  .column-fogli-wrap {
    order: 4 !important;
  }

  /* Aosta fisso in testa */
  #aosta-section .col-header,
  .aosta-publishing .col-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 13000 !important;
    display: flex !important;
    background: #f7f7f5 !important;
    border-bottom: 0.75px solid #000 !important;
  }

  /* titoli sezioni mobile */
  .col-header,
  .pages-section-header {
    position: sticky !important;
    top: 48px !important;
    z-index: 900 !important;
    background: #f7f7f5 !important;
    border-top: 0.75px solid #000 !important;
    border-bottom: 0.75px solid #000 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  #aosta-section .col-header {
    top: 0 !important;
    border-top: 0 !important;
  }

  .layout {
    padding-top: 0 !important;
  }

  .column-inner {
    padding-top: 0 !important;
  }

  .aosta-inner {
    padding-top: 10px !important;
  }

  /* nascondo i vecchi bottoni index mobile */
  .col-index-toggle {
    display: none !important;
  }

  /* hamburger principale */
  .mobile-site-header {
    display: flex !important;
    height: 48px;
    position: sticky;
    top: 0;
    z-index: 14000;
    background: #f7f7f5;
    border-bottom: 0.75px solid #000;
  }

  .mobile-site-title {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-nav-toggle {
    display: flex !important;
  }

  .mobile-nav-panel {
    background: #f7f7f5;
  }

  .mobile-nav-links {
    padding: 60px 20px 20px !important;
    gap: 4px !important;
  }

  .mobile-nav-links a {
    font-size: 32px !important;
    line-height: 0.95 !important;
    letter-spacing: -0.03em;
    color: #000;
    text-decoration: none;
  }

  .mobile-nav-close {
    width: 24px !important;
    height: 24px !important;
    top: 20px !important;
    right: 12px !important;
  }

  .mobile-nav-close::before,
  .mobile-nav-close::after {
    width: 24px !important;
    height: 1px !important;
  }

  .project:last-child,
  .page-block:last-child {
    margin-bottom: 28px !important;
  }
}

/* PATCH 09 — MOBILE DEFINITIVO */

/* Mobile: niente index, sempre progetti in colonna */
@media (max-width: 900px) {

  .column-index-view {
    display: none !important;
  }

  .projects {
    display: flex !important;
  }

  [data-column="pages"] .pages-scroll-inner {
    display: block !important;
  }

  [data-column="pages"] .column-index-view {
    display: none !important;
  }

  /* scompone la terza colonna: Aosta resta sopra, Fogli va in coda */
  #pages-section,
  #pages-section .column-inner {
    display: contents !important;
  }

  .aosta-publishing {
    order: 1 !important;
    width: 100% !important;
  }

  #editorial-section {
    order: 2 !important;
  }

  #curatorial-section {
    order: 3 !important;
  }

  .column-fogli-wrap {
    order: 4 !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
  }

  /* una sola scritta Aosta Publishing: resta solo quella nella barra mobile */
  #aosta-section .col-header {
    display: none !important;
  }

  .aosta-inner {
    padding-top: 16px !important;
  }

  /* nasconde Aosta Publishing dietro la tendina quando menu aperto */
  body.mobile-nav-open .mobile-site-header {
    display: none !important;
  }

  .mobile-nav-panel.is-open {
    display: block !important;
  }

  .mobile-nav-links {
    padding-top: 72px !important;
  }

  .mobile-nav-links a {
    font-size: 32px !important;
    line-height: 0.95 !important;
  }

  /* filetti uniformi */
  .col-header,
  .pages-section-header {
    border-top: 0.75px solid #000 !important;
    border-bottom: 0.75px solid #000 !important;
  }

  .pages-section-header {
    position: relative !important;
    top: auto !important;
  }

  .project,
  .page-block {
    border-top: 0.75px solid #000 !important;
  }

  /* niente pulsanti index nelle sezioni mobile */
  .col-index-toggle {
    display: none !important;
  }
}

/* PATCH 10 — MOBILE REFINEMENT */

/* padding uniforme mobile */
@media (max-width: 900px) {

  .column-inner,
  .aosta-inner,
  .projects,
  .pages,
  .pages-scroll,
  .pages-scroll-inner,
  .column-fogli-wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .pages-section-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .column-fogli-wrap .column-index-view,
  .column-fogli-wrap .pages-scroll-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-content-grid,
  .project-closed-layout,
  .project-open-layout {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* evita doppio filetto su Aosta */
  .mobile-site-header {
    border-bottom: 0.75px solid #000 !important;
  }

  .aosta-publishing {
    border-top: 0 !important;
  }

  .aosta-publishing::before,
  .aosta-publishing::after,
  #aosta-section::before,
  #aosta-section::after {
    display: none !important;
    content: none !important;
  }

  .aosta-inner {
    border-top: 0 !important;
  }

  /* header mobile fermo */
  .mobile-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 14000 !important;
    background: #f7f7f5 !important;
  }

  /* X tendina visibile */
  .mobile-nav-close {
    display: block !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 28px !important;
    height: 28px !important;
    z-index: 15000 !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-nav-close::before,
  .mobile-nav-close::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 28px !important;
    height: 1px !important;
    background: #000 !important;
    transform-origin: center !important;
  }

  .mobile-nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .mobile-nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .mobile-nav-panel {
    z-index: 14500 !important;
  }

  .mobile-nav-overlay {
    z-index: 14400 !important;
  }
}

/* PATCH 11 — MOBILE ALIGNMENT */

@media (max-width:900px){

  /* ------------------ */
  /* AOSTA CONTENT      */
  /* ------------------ */

  .aosta-inner .page-content,
  .aosta-content,
  .aosta-grid {
    display:grid !important;
    grid-template-columns: 34% 1fr !important;
    gap:16px !important;
    align-items:start !important;
  }

  .aosta-inner .page-content > :first-child,
  .aosta-content-left {
    min-width:0 !important;
    word-break:break-word !important;
    overflow-wrap:anywhere !important;
  }

  .aosta-inner .page-content > :last-child,
  .aosta-content-right {
    padding-top:4px !important;
  }

  /* ------------------ */
  /* FILETTI DOPPI      */
  /* ------------------ */

  .aosta-publishing {
    border-bottom:0 !important;
  }

  .aosta-publishing .col-header {
    border-bottom:0.75px solid #000 !important;
  }

  .aosta-inner {
    border-top:0 !important;
  }

  .column-fogli-wrap {
    border-top:0 !important;
  }

  .column-fogli-wrap .pages-section-header {
    border-top:0.75px solid #000 !important;
  }

  /* ------------------ */
  /* FOGLI              */
  /* ------------------ */

  .column-fogli-wrap {
    padding-bottom:24px !important;
  }

  .column-fogli-wrap .column-index-view,
  .column-fogli-wrap .pages-scroll-inner,
  .column-fogli-wrap .pages {
    padding-bottom:24px !important;
  }

  /* ------------------ */
  /* PADDING UNIFORME   */
  /* ------------------ */

  .aosta-inner,
  .projects,
  .page-block,
  .column-fogli-wrap {
    padding-left:20px !important;
    padding-right:20px !important;
  }

}

/* PATCH 12 — AOSTA MOBILE */

@media (max-width:900px){

  #aosta-section .project-open-layout{
    display:grid !important;
    grid-template-columns:34% 1fr !important;
    gap:18px !important;
    align-items:start !important;
  }

  #aosta-section .project-meta{
    padding-top:0 !important;
    padding-right:12px !important;
    font-size:13px !important;
    line-height:1.25 !important;

    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  #aosta-section .project-text{
    padding-right:0 !important;
    margin-top:0 !important;
  }

  #aosta-section .project-text p:first-child{
    margin-top:0 !important;
  }

  .aosta-contacts a{
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

}

@media (max-width:900px){

  .column-fogli-wrap{
    padding-bottom:20px !important;
  }

  .column-fogli-wrap .pages-scroll-inner{
    padding-bottom:20px !important;
  }

}

/* EDIZIONI — GUIDE PROPORZIONALI COVER */

.column[data-column="editorial"] .projects {
  position: relative;
}

.column[data-column="editorial"].has-editorial-guides .project-cover {
  width: var(--book-cover-width, 100%) !important;
}

.column[data-column="editorial"].has-active-project .editorial-guides {
  display: none !important;
}

.column[data-column="editorial"].has-active-project .project-cover {
  width: 100% !important;
}

/* FUGA — OVERRIDE FINALE DESCRIZIONE E META */

.fuga-description {
  font-size: 13px;
  line-height: 1.18;
  margin: 6px 0 28px;
  max-width: 96%;
}

.fuga-description p {
  margin: 0;
}

.fuga-items {
  padding-top: 0 !important;
}

.fuga-meta {
  display: block !important;
  grid-template-columns: none !important;
  margin-bottom: 10px !important;
}

.fuga-number,
.fuga-artist,
.fuga-date {
  display: block !important;
}

.fuga-artist,
.fuga-date {
  padding-left: 24px;
}

.fuga-date {
  margin-top: 0 !important;
}

@media (max-width: 900px) {

  .fuga-description {
    font-size: 12px;
    margin: 8px 0 24px;
    max-width: 98%;
  }

  .fuga-artist,
  .fuga-date {
    padding-left: 22px;
  }

}

/* COLONNE — OVERRIDE FINALE SPAZI DESCRIZIONI */

.fuga-description,
.fogli-description {
  display: grid !important;
  grid-template-columns: 32.6% minmax(0, 1fr);
  column-gap: 18px;
}

.fuga-description p,
.fogli-description p {
  grid-column: 2;
  margin: 0;
}

.fogli-description {
  font-size: 13px;
  line-height: 1.18;
  margin: 6px 0 24px;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: 0 !important;
  opacity: 0;
  transform: translateY(-14px);
}

@media (min-width: 901px) {

  .column[data-column="editorial"] .project-closed-layout,
  .column[data-column="curatorial"] .project-closed-layout,
  .column[data-column="editorial"] .project-open-layout,
  .column[data-column="curatorial"] .project-open-layout {
    display: grid !important;
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-meta {
    display: block !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: block !important;
  }

}

@media (max-width: 900px) {

  .fuga-description,
  .fogli-description {
    grid-template-columns: 32.6% minmax(0, 1fr);
    column-gap: 18px;
  }

  .fogli-description {
    font-size: 12px;
    margin: 8px 0 22px;
  }

}

/* FOGLI — CASSETTO AOSTA / PROGETTI SPECIALI COME EDIZIONI */

[data-column="pages"] .aosta-inner {
  display: block !important;
  max-height: 70vh;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 760ms cubic-bezier(0.22, 1.12, 0.32, 1),
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.22, 1.12, 0.32, 1);
  will-change: max-height, opacity, transform;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: 0 !important;
  opacity: 0;
  transform: translateY(-14px);
}

@media (min-width: 901px) {

  .column[data-column="curatorial"] .project-closed-layout,
  .column[data-column="curatorial"] .project-open-layout {
    display: grid !important;
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project-closed-text,
  .column[data-column="editorial"] .project-closed-text {
    padding-right: 0 !important;
  }

}

/* FOGLI — CASSETTO AOSTA / PROGETTI SPECIALI COME EDIZIONI */

[data-column="pages"] .aosta-inner {
  display: block !important;
  max-height: 70vh;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 760ms cubic-bezier(0.22, 1.12, 0.32, 1),
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.22, 1.12, 0.32, 1);
  will-change: max-height, opacity, transform;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: 0 !important;
  opacity: 0;
  transform: translateY(-14px);
}

@media (min-width: 901px) {

  .column[data-column="curatorial"] .project-closed-layout,
  .column[data-column="curatorial"] .project-open-layout {
    display: grid !important;
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project-closed-text,
  .column[data-column="editorial"] .project-closed-text {
    padding-right: 0 !important;
  }

}

/* COLONNE — OVERRIDE FINALE SPAZI DESCRIZIONI */

.fuga-description,
.fogli-description {
  display: grid !important;
  grid-template-columns: 32.6% minmax(0, 1fr);
  column-gap: 18px;
}

.fuga-description p,
.fogli-description p {
  grid-column: 2;
  margin: 0;
}

.fogli-description {
  font-size: 13px;
  line-height: 1.18;
  margin: 6px 0 24px;
}

[data-column="pages"].show-index .aosta-inner {
  display: none !important;
}

@media (min-width: 901px) {

  .column[data-column="editorial"] .project-closed-layout,
  .column[data-column="curatorial"] .project-closed-layout,
  .column[data-column="editorial"] .project-open-layout,
  .column[data-column="curatorial"] .project-open-layout {
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-meta {
    display: block !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: block !important;
  }

}

@media (max-width: 900px) {

  .fuga-description,
  .fogli-description {
    grid-template-columns: 32.6% minmax(0, 1fr);
    column-gap: 18px;
  }

  .fogli-description {
    font-size: 12px;
    margin: 8px 0 22px;
  }

}

/* COLONNE — OVERRIDE FINALE SPAZI DESCRIZIONI */

.fuga-description,
.fogli-description {
  display: grid !important;
  grid-template-columns: 32.6% minmax(0, 1fr);
  column-gap: 18px;
}

.fuga-description p,
.fogli-description p {
  grid-column: 2;
  margin: 0;
}

.fogli-description {
  font-size: 13px;
  line-height: 1.18;
  margin: 6px 0 24px;
}

[data-column="pages"].show-index .aosta-inner {
  display: none !important;
}

@media (min-width: 901px) {

  .column[data-column="editorial"] .project-closed-layout,
  .column[data-column="curatorial"] .project-closed-layout,
  .column[data-column="editorial"] .project-open-layout,
  .column[data-column="curatorial"] .project-open-layout {
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-meta {
    display: block !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: block !important;
  }

}

@media (max-width: 900px) {

  .fuga-description,
  .fogli-description {
    grid-template-columns: 32.6% minmax(0, 1fr);
    column-gap: 18px;
  }

  .fogli-description {
    font-size: 12px;
    margin: 8px 0 22px;
  }

}

/* FUGA — DESCRIZIONE E META A RIENTRO */

.fuga-description {
  font-size: 13px;
  line-height: 1.18;
  margin: 6px 0 28px;
  max-width: 96%;
}

.fuga-description p {
  margin: 0;
}

.fuga-items {
  padding-top: 0 !important;
}

.fuga-meta {
  display: block !important;
  margin-bottom: 10px !important;
}

.fuga-number,
.fuga-artist,
.fuga-date {
  display: block;
}

.fuga-artist,
.fuga-date {
  padding-left: 24px;
}

.fuga-date {
  margin-top: 0 !important;
}

@media (max-width: 900px) {

  .fuga-description {
    font-size: 12px;
    margin: 8px 0 24px;
    max-width: 98%;
  }

  .fuga-artist,
  .fuga-date {
    padding-left: 22px;
  }

}

.column[data-column="editorial"].has-active-project .editorial-guides {
  display: none !important;
}

.column[data-column="editorial"].has-active-project .project-cover {
  width: 100% !important;
}

.column[data-column="editorial"].has-active-project .editorial-guides {
  display: none !important;
}

.column[data-column="editorial"].has-active-project .project-cover {
  width: 100% !important;
}

.column[data-column="editorial"] .editorial-guide[data-cm="10"]::after {
  content: "10";
  position: absolute;
  top: 100%;
  left: 1px;
  color: #ff0000;
  font-size: 8px;
  line-height: 1;
  transform: translateY(2px);
}

.editorial-guides {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms linear;
}

.editorial-guides.is-visible {
  opacity: 1;
}

.editorial-guide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-left: 0.5px solid #ff0000;
  transform: translate3d(0, 0, 0);
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  transition-delay: var(--editorial-guide-delay, 0s);
  will-change: transform;
}

.editorial-guides.is-animated .editorial-guide {
  transform: translate3d(var(--editorial-guide-x, 0px), 0, 0);
}

.column[data-column="editorial"] .editorial-guide::before {
  content: attr(data-cm);
  position: absolute;
  top: 0;
  left: 1px;
  color: #ff0000;
  font-size: 8px;
  line-height: 1;
  transform: translateY(2px);
}

.editorial-guide-zero-label {
  position: absolute;
  left: 1px;
  color: #ff0000;
  font-size: 8px;
  line-height: 1;
  pointer-events: none;
}

.editorial-guide-zero-label-top {
  top: 0;
  transform: translateY(2px);
}

.editorial-guide-zero-label-bottom {
  top: 100%;
  transform: translateY(2px);
}

.column[data-column="editorial"] .project {
  position: relative;
  z-index: 1;
}

.column[data-column="editorial"] .project-cover {
  transform-origin: left top;
}

/* PATCH 13 — FIX MIRATO AOSTA DESKTOP + FOGLI MOBILE */

/* 1. Desktop: Aosta non deve mai avere scroll interno */
@media (min-width: 901px) {

  .aosta-publishing {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
  }

  .aosta-inner {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  #aosta-section .project-open-layout {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  #aosta-section .project-meta,
  #aosta-section .project-text {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* 2. Mobile: Fogli allineato agli altri titoli e filetti */
@media (max-width: 900px) {

  .column-fogli-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 10px !important;
  }

  .column-fogli-wrap .pages {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .column-fogli-wrap .pages-section-header {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-top: 0.75px solid #000 !important;
    border-bottom: 0.75px solid #000 !important;
  }

  .column-fogli-wrap .pages-section-header .col-title {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .column-fogli-wrap .column-index-view,
  .column-fogli-wrap .pages-scroll-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* PATCH 14 — FOGLI FILETTI MOBILE */

@media (max-width: 900px) {

  .column-fogli-wrap .pages-section-header {
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .column-fogli-wrap .pages-section-header .col-header-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

/* PATCH 14 — FOGLI FILETTI MOBILE */

@media (max-width: 900px) {

  .column-fogli-wrap .pages-section-header {
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .column-fogli-wrap .pages-section-header .col-header-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

/* PATCH 15 — AOSTA FILETTO MOBILE */

@media (max-width: 900px) {

  .mobile-site-header {
    margin-left: 10px !important;
    margin-right: 10px !important;
    width: auto !important;
  }

  .mobile-site-header .col-header-row,
  .mobile-site-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

/* PATCH 15 — AOSTA FILETTO MOBILE */

@media (max-width: 900px) {

  .mobile-site-header {
    margin-left: 10px !important;
    margin-right: 10px !important;
    width: auto !important;
  }

  .mobile-site-header .col-header-row,
  .mobile-site-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

/* PATCH 16 — FILETTO AOSTA MOBILE DEFINITIVO */

@media (max-width: 900px) {

  .mobile-site-header,
  .aosta-publishing,
  #aosta-section,
  #aosta-section .col-header,
  .aosta-inner {
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  .mobile-site-header {
    position: sticky !important;
    top: 0 !important;
  }

  .mobile-site-header::after {
    content: "" !important;
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 0 !important;
    height: 0.75px !important;
    background: #000 !important;
  }

}

/* PATCH 18 — AOSTA FILETTO PIÙ LARGO */

@media (max-width:900px){

  .mobile-site-header::after{
    left:0px !important;
    right:0px !important;
  }

}

/* LINK AOSTA */

#aosta-section a,
.aosta-publishing a,
.aosta-contacts a,
.project-text a {
  color: #000 !important;
  text-decoration: underline !important;
}

#aosta-section a:visited,
.aosta-publishing a:visited,
.aosta-contacts a:visited,
.project-text a:visited {
  color: #000 !important;
}

#aosta-section a:hover,
.aosta-publishing a:hover,
.aosta-contacts a:hover,
.project-text a:hover {
  color: #000 !important;
}


/* PATCH 19 — ALLINEAMENTO CONTENT SECONDARY */

#aosta-section .page-side-text {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

#aosta-section .project-meta {
  padding-left: 0 !important;
}

#aosta-section .aosta-contacts,
#aosta-section .page-side-text {
  text-indent: 0 !important;
}


/* PATCH 21 — AOSTA INNER ALIGN */

@media (max-width:900px){

  #aosta-section .aosta-inner{
    padding-left:10px !important;
    padding-right:10px !important;
  }

}

/* CURSORE CUSTOM */

html,
body,
* {
  cursor: url("../cursor.svg") 6 6, auto !important;
}

a,
button,
.project-cover,
.project-more,
.project-close,
.gallery-image,
.page-cover,
.mobile-nav-toggle,
.mobile-nav-close,
.col-index-toggle {
  cursor: url("../cursor.svg") 6 6, pointer !important;
}

/* CURSOR CUSTOM */

html,
body,
* {
  cursor: url("../cursor.svg") 6 6, auto !important;
}

a,
button,
.project-cover,
.project-more,
.project-close,
.gallery-image,
.page-cover,
.mobile-nav-toggle,
.mobile-nav-close,
.col-index-toggle {
  cursor: url("../cursor.svg") 6 6, pointer !important;
}

/* CURSOR CUSTOM FORCE */

html,
body,
*,
*::before,
*::after,
img,
figure,
svg,
picture,
.project-cover,
.project-cover *,
.project-image,
.project-image *,
.gallery-image,
.page-cover,
.page-cover *,
.column-index-item,
.column-index-item *,
.lightbox,
.lightbox *,
.lightbox-image,
.lightbox-hitbox,
.lightbox-close,
a,
a *,
button,
button * {
  cursor: url("../cursor.svg") 6 6, auto !important;
}

a,
button,
.project-cover,
.project-more,
.project-close,
.gallery-image,
.page-cover,
.column-index-item,
.lightbox-image,
.lightbox-hitbox,
.lightbox-close,
.mobile-nav-toggle,
.mobile-nav-close,
.col-index-toggle {
  cursor: url("../cursor.svg") 6 6, pointer !important;
}

/* PATCH 24 — FILETTI FOGLI DESKTOP UNICI */

@media (min-width: 901px) {

  .column-fogli-wrap,
  .column-fogli-wrap .pages,
  .column-fogli-wrap .pages-scroll-inner {
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  .column-fogli-wrap .pages-section-header {
    border-top: 0,75px solid #000 !important;
    border-bottom: 0.75px solid #000 !important;
  }

}

/* PATCH 26 — SPESSORE FILETTI FOGLI DESKTOP */

@media (min-width: 901px) {

  .column-fogli-wrap {
    border-top: 0px solid #000 !important;
  }

  .pages-section-header {
    border-bottom: 0.5px solid #000 !important;
  }

}
/* NO TAP HIGHLIGHT MOBILE */

* {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
img,
.project-cover,
.project-image,
.gallery-image,
.project-more,
.project-close,
.mobile-nav-toggle,
.mobile-nav-close {
  -webkit-tap-highlight-color: transparent;
}
img,
.project-image,
.gallery-image,
.project-cover {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
/* PATCH 27 — CLOSE MOBILE ALLINEATO A FINE BODY */

@media (max-width: 900px) {

  .project.project-active .project-open-layout {
    display: grid !important;
    grid-template-columns: 32.6% 67.4% !important;
    column-gap: 18px !important;
    align-items: start !important;
  }

  .project.project-active .project-meta {
    display: contents !important;
  }

  .project.project-active .project-meta .project-title,
  .project.project-active .project-meta .project-meta-secondary,
  .project.project-active .project-meta .project-excerpt {
    grid-column: 1 !important;
  }

  .project.project-active .project-text {
    grid-column: 2 !important;
    grid-row: 1 / span 20 !important;
  }

  .project.project-active .project-close {
    grid-column: 2 !important;
    grid-row: 21 !important;
    justify-self: start !important;
    align-self: start !important;
    margin-top: 10px !important;
    display: inline-block !important;
  }

}

/* PATCH 28 — RIPRISTINO CLOSE MOBILE IN COLONNA SINISTRA */

@media (max-width: 900px) {

  .project.project-active .project-open-layout {
    display: grid !important;
    grid-template-columns: 32.6% 67.4% !important;
    column-gap: 18px !important;
    align-items: stretch !important;
  }

  .project.project-active .project-meta {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  .project.project-active .project-text {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .project.project-active .project-close {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
    display: inline-block !important;
  }

}

/* PATCH 29 — ALLINEA BODY A EXCERPT IN MOBILE */

@media (max-width: 900px) {

  .project-text {
    padding-top: 10px !important;
  }

}

/* PATCH 30 — RIPRISTINA STATO PROGETTI MOBILE */

@media (max-width: 900px) {

  .column[data-column="editorial"].show-index .projects,
  .column[data-column="curatorial"].show-index .projects {
    display: none !important;
  }

  .column[data-column="editorial"].show-index .column-index-view,
  .column[data-column="curatorial"].show-index .column-index-view {
    display: grid !important;
  }

  .column[data-column="editorial"]:not(.show-index) .column-index-view,
  .column[data-column="curatorial"]:not(.show-index) .column-index-view {
    display: none !important;
  }

  .column[data-column="editorial"]:not(.show-index) .projects,
  .column[data-column="curatorial"]:not(.show-index) .projects {
    display: flex !important;
  }

  .project:not(.project-active) .project-open {
    display: none !important;
  }

  .project.project-active .project-open {
    display: block !important;
  }

  .project.project-active .project-closed {
    display: none !important;
  }

  .project.project-active ~ .project,
  .project:has(~ .project-active) {
    display: none !important;
  }

}

/* PATCH 31 — SPAZIO FILETTO/COVER E PROGETTO APERTO MOBILE */

@media (max-width: 900px) {

  .column[data-column="editorial"] .column-index-view,
  .column[data-column="curatorial"] .column-index-view,
  .column[data-column="pages"] .column-index-view {
    padding-top: 10px !important;
  }

  .column[data-column="editorial"] .projects,
  .column[data-column="curatorial"] .projects,
  .column[data-column="pages"] .pages-scroll-inner {
    padding-top: 10px !important;
  }

  .project.project-active {
    border-top: 0 !important;
    padding-top: 0 !important;
  }

}

/* PROVA FUGA — QUATTRO COLONNE */

@font-face {
  font-family: "Emily Dickinson";
  src: url("../fonts/Emily-Dickinson.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@media (min-width: 901px) {

  .layout {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .column {
    width: auto !important;
    border-right: 1px solid var(--border) !important;
  }

  .column:last-child {
    border-right: 0 !important;
  }

  .col-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
  }

  .col-title {
    max-width: 100%;
    font-size: clamp(30px, 4.1vw, 68px) !important;
    line-height: 0.88 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }

  .col-header-row {
    align-items: flex-start !important;
  }

  .col-title,
  .col-title span {
    display: block;
    white-space: nowrap;
  }

  .col-title:not(.col-title-two-lines) {
    font-size: clamp(27px, 3.9vw, 62px) !important;
  }

  .projects,
  .pages-scroll-inner {
    padding-top: 4px !important;
  }

  [data-column="curatorial"] .column-index-view,
  [data-column="curatorial"].show-index .column-index-view {
    display: none !important;
  }

  [data-column="curatorial"] .projects,
  [data-column="curatorial"].show-index .projects {
    display: flex !important;
  }

  [data-column="curatorial"] .project:not(.project-active) .project-closed-layout {
    display: block !important;
  }

  [data-column="curatorial"] .project:not(.project-active) .project-closed-meta,
  [data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  [data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: none !important;
  }

  [data-column="curatorial"] .project:not(.project-active) .project-closed-text {
    display: block !important;
    
  }

  [data-column="curatorial"] .project:not(.project-active) .project-more {
    display: inline-block !important;
  }

}

.fuga-column {
  min-height: 100vh;
}

.fuga-items {
  padding-top: 4px;
}

.fuga-item {
  display: block;
  padding: 0 0 34px;
}

.fuga-meta {
  display: grid;
  grid-template-columns: 32.6% 1fr;
  column-gap: 18px;
  font-size: 12px;
  line-height: 1.08;
}

.fuga-artist {
  margin: 0;
  font: inherit;
}

.fuga-date {
  margin-top: 2px;
}

.fuga-excerpt {
  font-family: "Emily Dickinson", serif;
  font-size: clamp(25px, 2.45vw, 40px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  margin-top: 4px;
}

@media (max-width: 900px) {

  #fuga-section {
    order: 5 !important;
  }

  .mobile-nav-links a {
    overflow-wrap: anywhere;
  }

  .fuga-header {
    position: sticky !important;
    top: 0 !important;
  }

  .fuga-items {
    padding-top: 12px;
  }

  .fuga-item {
    display: block;
    padding-bottom: 28px;
  }

  .fuga-meta {
    grid-template-columns: 32.6% 67.4%;
    column-gap: 18px;
  }

  .fuga-meta {
    font-size: 11px;
  }

  .fuga-excerpt {
    font-size: 29px;
    line-height: 0.9;
  }

}

/* PROVA FUGA — RIFINITURE CAMPI / EPIGRAFE / FOGLI */

.fuga-meta {
  grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr) !important;
  margin-bottom: 8px;
}

.fuga-number {
  font-size: inherit;
  line-height: inherit;
}

.fuga-excerpt {
  max-width: 96%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  text-align-last: center;
}

.fuga-excerpt p {
  margin: 0;
}

.fuga-excerpt p + p {
  margin-top: 0.45em;
}

.column-fogli-wrap {
  border-top: 0 !important;
}

.column-fogli-wrap .pages-section-header {
  border-top: 0 !important;
  border-bottom: 0.75px solid #000 !important;
}

@media (max-width: 900px) {

  .fuga-meta {
    grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr) !important;
    margin-bottom: 7px;
  }

  .fuga-excerpt {
    max-width: 98%;
  }

  .column-fogli-wrap,
  .column-fogli-wrap .pages-section-header {
    border-top: 0 !important;
  }

  .column-fogli-wrap .pages-section-header {
    border-bottom: 0.75px solid #000 !important;
  }

}

/* EDIZIONI — OVERRIDE FINALE GUIDE COVER */

.column[data-column="editorial"] .projects {
  position: relative !important;
}

.column[data-column="editorial"].has-editorial-guides .project-cover {
  width: var(--book-cover-width, 100%) !important;
}

.column[data-column="editorial"].has-active-project .editorial-guides {
  display: none !important;
}

.column[data-column="editorial"].has-active-project .project-cover {
  width: 100% !important;
}

/* FUGA — OVERRIDE FINALE DESCRIZIONE E META */

.fuga-description {
  font-size: 13px;
  line-height: 1.18;
  margin: 6px 0 28px;
  max-width: 96%;
}

.fuga-description p {
  margin: 0;
}

.fuga-items {
  padding-top: 0 !important;
}

.fuga-meta {
  display: block !important;
  grid-template-columns: none !important;
  margin-bottom: 10px !important;
}

.fuga-number,
.fuga-artist,
.fuga-date {
  display: block !important;
}

.fuga-artist,
.fuga-date {
  padding-left: 24px;
}

.fuga-date {
  margin-top: 0 !important;
}

@media (max-width: 900px) {

  .fuga-description {
    font-size: 12px;
    margin: 8px 0 24px;
    max-width: 98%;
  }

  .fuga-artist,
  .fuga-date {
    padding-left: 22px;
  }

}

/* COLONNE — OVERRIDE FINALE SPAZI DESCRIZIONI */

.fuga-description,
.fogli-description {
  display: grid !important;
  grid-template-columns: 32.6% minmax(0, 1fr);
  column-gap: 18px;
}

.fuga-description p,
.fogli-description p {
  grid-column: 2;
  margin: 0;
}

.fogli-description {
  font-size: 13px;
  line-height: 1.18;
  margin: 6px 0 24px;
}

[data-column="pages"].show-index .aosta-inner {
  display: none !important;
}

@media (min-width: 901px) {

  .column[data-column="editorial"] .project-closed-layout,
  .column[data-column="curatorial"] .project-closed-layout,
  .column[data-column="editorial"] .project-open-layout,
  .column[data-column="curatorial"] .project-open-layout {
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-meta {
    display: block !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: block !important;
  }

}

@media (max-width: 900px) {

  .fuga-description,
  .fogli-description {
    grid-template-columns: 32.6% minmax(0, 1fr);
    column-gap: 18px;
  }

  .fogli-description {
    font-size: 12px;
    margin: 8px 0 22px;
  }

}

/* FOGLI — OVERRIDE ULTIMO CASSETTO AOSTA */

[data-column="pages"] .aosta-inner {
  display: block !important;
  max-height: 70vh;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 760ms cubic-bezier(0.22, 1.12, 0.32, 1),
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.22, 1.12, 0.32, 1);
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: 0 !important;
  opacity: 0;
  transform: translateY(-14px);
}

/* PROGETTI SPECIALI — OVERRIDE ULTIMO COME EDIZIONI */

@media (min-width: 901px) {

  .column[data-column="curatorial"] .project-closed-layout,
  .column[data-column="curatorial"] .project-open-layout {
    display: grid !important;
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-meta,
  .column[data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: block !important;
  }

  .column[data-column="curatorial"] .project-closed-text {
    padding-right: 0 !important;
  }

}

/* ULTIMO — PROGETTI SPECIALI / FOGLI TENDINA / LIGHTBOX */

@media (min-width: 901px) {

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-text {
    display: grid !important;
    grid-template-columns: 32.6% minmax(0, 1fr);
    column-gap: 18px;
    padding-right: 0 !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: block !important;
    margin: 0 !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-more {
    grid-column: 2;
  }

}

.column-fogli-wrap .pages-section-header .col-title {
  cursor: pointer;
}

[data-column="pages"] .aosta-inner {
  display: block !important;
  max-height: 900px;
  overflow: hidden;
  opacity: 1;
  transform: none !important;
  padding-top: 10px !important;
  padding-bottom: 18px !important;
  margin-bottom: 0 !important;
  transition:
    max-height 900ms cubic-bezier(0.77, 0, 0.175, 1),
    padding-top 900ms cubic-bezier(0.77, 0, 0.175, 1),
    padding-bottom 900ms cubic-bezier(0.77, 0, 0.175, 1),
    margin-bottom 900ms cubic-bezier(0.77, 0, 0.175, 1);
  will-change: max-height, padding, margin;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.lightbox {
  background: transparent !important;
}

.lightbox-close {
  position: fixed !important;
  width: 24px !important;
  height: 24px !important;
  background: #fff !important;
  border: 0.75px solid #000 !important;
  z-index: 11000 !important;
}

.lightbox-close::before,
.lightbox-close::after {
  width: 16px !important;
}

/* ULTIMO — TENDINA LINEARE / PROGETTI SPECIALI / LIGHTBOX */

.column-fogli-wrap {
  position: relative;
  z-index: 3;
  background: #f7f7f5;
}

[data-column="pages"] .aosta-inner {
  display: block !important;
  max-height: 900px;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  transition:
    max-height 1150ms linear,
    padding-top 1150ms linear,
    padding-bottom 1150ms linear,
    margin-bottom 1150ms linear !important;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: 0 !important;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

@media (min-width: 901px) {

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-layout {
    display: grid !important;
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-meta,
  .column[data-column="curatorial"] .project:not(.project-active) .project-closed-text {
    display: block !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-excerpt,
  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    display: block !important;
    margin: 0 !important;
  }

  .column[data-column="curatorial"] .project:not(.project-active) .project-preview-description {
    margin-top: 10px !important;
  }

}

/* ULTIMO — TENDINA LINEARE COSTANTE / NUMERI GUIDE */

[data-column="pages"] .aosta-inner {
  display: block !important;
  max-height: 900px;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  transition-property: max-height, padding-top, padding-bottom, margin-bottom !important;
  transition-duration: 1400ms !important;
  transition-timing-function: linear !important;
  transition-delay: 0ms !important;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: 0 !important;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.column[data-column="editorial"] .editorial-guide::after {
  content: attr(data-cm);
  position: absolute;
  top: 100%;
  left: 1px;
  color: #ff0000;
  font-size: 8px;
  line-height: 1;
  transform: translateY(2px);
}

/* ULTIMO — TENDINA REALE / FILETTI */

[data-column="pages"] .aosta-inner {
  display: block !important;
  height: auto;
  max-height: none !important;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  transition-property: height, padding-top, padding-bottom, margin-bottom !important;
  transition-duration: 1500ms !important;
  transition-timing-function: linear !important;
  transition-delay: 0ms !important;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.column-fogli-wrap .pages-section-header {
  padding-bottom: 0 !important;
  border-top: 0 !important;
  border-bottom: 0.75px solid #000 !important;
}

.column-fogli-wrap .pages-section-header .col-header-row {
  align-items: flex-end !important;
}

.column[data-column="editorial"] .project:first-of-type {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* ULTIMO — CORREZIONI FOGLI / TENDINA / EDIZIONI */

[data-column="pages"] .aosta-inner {
  display: block !important;
  height: auto;
  max-height: none !important;
  overflow: hidden !important;
  opacity: 1 !important;
  transform: none !important;
  transition-property: height !important;
  transition-duration: 1050ms !important;
  transition-timing-function: linear !important;
  transition-delay: 0ms !important;
}

[data-column="pages"].show-index .aosta-inner {
  display: block !important;
  height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  opacity: 1 !important;
  transform: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.column-fogli-wrap .pages-section-header {
  position: sticky;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.column-fogli-wrap .pages-section-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.04em;
  left: 0;
  height: 0.75px;
  background: #000;
  pointer-events: none;
}

.column-fogli-wrap .pages-section-header .col-header-row {
  align-items: flex-end !important;
}

.column-fogli-wrap .pages-section-header .col-title {
  line-height: 0.86 !important;
}

.column[data-column="editorial"] .editorial-guides + .project {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* ULTIMO — FOGLI VISIBILE / INDEX SEMPRE IN CIMA */

.column-fogli-wrap .pages-section-header {
  min-height: clamp(58px, 4.9vw, 92px) !important;
  overflow: visible !important;
}

.column-fogli-wrap .pages-section-header .col-header-row {
  min-height: inherit !important;
  overflow: visible !important;
}

.column-fogli-wrap .pages-section-header .col-title {
  display: block !important;
  overflow: visible !important;
  line-height: 0.9 !important;
}

.column-fogli-wrap .pages-section-header .col-index-toggle {
  align-self: flex-end !important;
}

.column-fogli-wrap .pages-section-header::after {
  bottom: 0 !important;
}

/* ULTIMO — RITMO FOGLI E CLOSE PROGETTI */

@media (min-width: 901px) {

  .column-fogli-wrap .pages-section-header {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 6px !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header .col-header-row {
    min-height: 0 !important;
    align-items: flex-end !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header .col-title {
    display: block !important;
    line-height: 0.88 !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header::after {
    bottom: 0 !important;
  }

  .column-fogli-wrap .pages-scroll-inner {
    padding-top: 10px !important;
  }

  .column-fogli-wrap .page-block {
    padding-top: 10px !important;
  }

  .column-fogli-wrap .page-block:first-child {
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  .project.project-active .project-meta .project-close {
    display: none !important;
  }

}

@media (max-width: 900px) {

  .project.project-active .project-close {
    display: inline-block !important;
    margin-top: auto !important;
    padding-top: 10px !important;
  }

}

/* ULTIMO — FOGLI NON TAGLIATO */

@media (min-width: 901px) {

  .column-fogli-wrap .pages-section-header {
    min-height: calc(clamp(27px, 3.9vw, 62px) * 0.88 + 6px) !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header .col-header-row {
    min-height: calc(clamp(27px, 3.9vw, 62px) * 0.88) !important;
    height: auto !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header .col-title {
    line-height: 0.88 !important;
    overflow: visible !important;
  }

}

/* ULTIMO — SPAZIATURA STANDARD 10PX */

@media (min-width: 901px) {

  .column[data-column="editorial"] .column-index-view,
  .column[data-column="curatorial"] .column-index-view,
  .column[data-column="pages"] .column-index-view,
  .column[data-column="editorial"] .projects,
  .column[data-column="curatorial"] .projects,
  .column-fogli-wrap .pages-scroll-inner,
  .fuga-items {
    padding-top: 10px !important;
  }

  .column-fogli-wrap .pages-scroll {
    padding-top: 0 !important;
  }

  .column[data-column="editorial"] .project,
  .column[data-column="curatorial"] .project,
  .column-fogli-wrap .page-block {
    padding-top: 10px !important;
  }

  .column[data-column="editorial"] .project:first-of-type,
  .column[data-column="curatorial"] .project:first-of-type,
  .column[data-column="editorial"] .project.project-active,
  .column[data-column="curatorial"] .project.project-active,
  .column-fogli-wrap .page-block:first-child {
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  .column[data-column="editorial"] .editorial-guides + .project {
    padding-top: 0 !important;
    border-top: 0 !important;
  }

}

/* ULTIMO — FOGLI TOP E MOBILE INDEX ORIZZONTALE */

@media (min-width: 901px) {

  .column-fogli-wrap .pages-section-header {
    min-height: calc(10px + clamp(27px, 3.9vw, 62px) * 0.88 + 6px) !important;
    padding-top: 10px !important;
    padding-bottom: 6px !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header .col-header-row {
    min-height: calc(clamp(27px, 3.9vw, 62px) * 0.88) !important;
    align-items: flex-start !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header .col-index-toggle {
    align-self: flex-start !important;
    padding-top: 0 !important;
  }

  .column-fogli-wrap .pages-section-header .col-title {
    line-height: 0.88 !important;
  }

}

@media (max-width: 900px) {

  .mobile-site-header {
    height: auto !important;
    min-height: calc(10px + clamp(40px, 15vw, 64px) * 0.88 * 2 + 8px) !important;
    align-items: flex-start !important;
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }

  .layout {
    padding-top: calc(10px + clamp(40px, 15vw, 64px) * 0.88 * 2 + 8px) !important;
  }

  .col-header,
  .pages-section-header {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }

  .col-title,
  .pages-section-header .col-title,
  .mobile-site-title {
    font-size: clamp(40px, 15vw, 64px) !important;
    line-height: 0.88 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }

  .col-title span {
    display: block;
    white-space: nowrap;
  }

  .col-index-toggle {
    display: none !important;
  }

  .column[data-column="editorial"] .column-index-view,
  .column[data-column="curatorial"] .column-index-view,
  .column[data-column="pages"] .column-index-view,
  .column[data-column="editorial"].show-index .column-index-view,
  .column[data-column="curatorial"].show-index .column-index-view,
  .column[data-column="pages"].show-index .column-index-view {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .column-index-view .column-index-item,
  .column-index-view .column-index-item:nth-of-type(n+7),
  .column-index-view.show-all-index .column-index-item {
    display: block !important;
    flex: 0 0 min(68vw, 260px) !important;
    width: min(68vw, 260px) !important;
    scroll-snap-align: start;
  }

  .column-index-view .column-index-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .index-more-button {
    display: none !important;
  }

  .column[data-column="editorial"].show-index .projects,
  .column[data-column="curatorial"].show-index .projects {
    display: none !important;
  }

  .column[data-column="editorial"]:not(.show-index) .column-index-view,
  .column[data-column="curatorial"]:not(.show-index) .column-index-view {
    display: none !important;
  }

}

/* ULTIMO — PROVA GUIDE ALTEZZA / FIX MOBILE AOSTA FOGLI */

@media (min-width: 901px) {

  .column[data-column="editorial"] .projects {
    position: relative !important;
  }

  .column[data-column="editorial"].has-editorial-height-guides .editorial-height-guides {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: var(--editorial-height-guide-base, 100%);
    z-index: 2;
    pointer-events: none;
  }

  .column[data-column="editorial"].has-editorial-height-guides .editorial-height-guide {
    position: absolute;
    right: 0;
    left: 0;
    height: 0;
    border-top: 0.5px solid #ff0000;
  }

  .column[data-column="editorial"].has-editorial-height-guides .editorial-height-guide::after {
    content: attr(data-cm);
    position: absolute;
    top: 1px;
    left: 1px;
    color: #ff0000;
    font-size: 8px;
    line-height: 1;
  }

  .column[data-column="editorial"].has-editorial-height-guides .project-cover img {
    height: var(--book-cover-height, auto) !important;
    object-fit: fill !important;
  }

  .column[data-column="editorial"].has-active-project .editorial-height-guides {
    display: none !important;
  }

  .column[data-column="editorial"].has-active-project .project-cover img {
    height: auto !important;
    object-fit: initial !important;
  }

}

@media (max-width: 900px) {

  #aosta-section .aosta-inner,
  #aosta-section .page-featured,
  #aosta-section .page-content-grid,
  #aosta-section .page-body,
  #aosta-section .project-open-layout,
  #aosta-section .project-meta,
  #aosta-section .project-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #aosta-section .page-featured {
    padding-top: 10px !important;
    padding-bottom: 18px !important;
  }

  #aosta-section .page-body {
    font-size: 13px !important;
    line-height: 1.18 !important;
  }

  #aosta-section .project-text {
    font-size: 13px !important;
    line-height: 1.18 !important;
    padding-top: 10px !important;
    padding-right: 0 !important;
  }

  .column-fogli-wrap .column-index-view,
  .column[data-column="pages"] .column-index-view,
  .column[data-column="pages"].show-index .column-index-view {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .column[data-column="editorial"] .column-index-view,
  .column[data-column="curatorial"] .column-index-view,
  .column[data-column="pages"] .column-index-view {
    scroll-snap-type: none !important;
    scroll-padding-left: 0 !important;
  }

  .column-index-view .column-index-item {
    scroll-snap-align: none !important;
  }

  .column-fogli-wrap .column-index-view .column-index-item:first-child,
  .column[data-column="pages"] .column-index-view .column-index-item:first-child {
    margin-left: 0 !important;
  }

}

/* ULTIMO — ALTEZZE SOLO MOBILE / AOSTA RHYTHM */

@media (min-width: 901px) {

  .column[data-column="editorial"] .editorial-height-guides {
    display: none !important;
  }

  .column[data-column="editorial"] .project-cover img {
    height: auto !important;
    object-fit: initial !important;
  }

}

@media (max-width: 900px) {

  .column[data-column="editorial"].has-editorial-height-guides .editorial-height-guides {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    height: var(--editorial-height-guide-base, 100%);
    z-index: 2;
    pointer-events: none;
  }

  .column[data-column="editorial"].has-editorial-height-guides .editorial-height-guide {
    position: absolute;
    right: 0;
    left: 0;
    height: 0;
    border-top: 0.5px solid #ff0000;
  }

  .column[data-column="editorial"].has-editorial-height-guides .editorial-height-guide::after {
    content: attr(data-cm);
    position: absolute;
    top: 1px;
    left: 1px;
    color: #ff0000;
    font-size: 8px;
    line-height: 1;
  }

  .column[data-column="editorial"].has-editorial-height-guides .project-cover img {
    height: var(--book-cover-height, auto) !important;
    object-fit: fill !important;
  }

  #aosta-section .aosta-inner {
    padding-top: 10px !important;
  }

  #aosta-section .project-open-layout {
    padding-top: 0 !important;
  }

  #aosta-section .project-meta,
  #aosta-section .project-text {
    padding-top: 0 !important;
  }

}

/* ULTIMO — MOBILE: SOLO GUIDE ALTEZZA / AOSTA DUE COLONNE */

@media (max-width: 900px) {

  .column[data-column="editorial"] .editorial-guides {
    display: none !important;
  }

  #aosta-section .project-open-layout {
    display: grid !important;
    grid-template-columns: 32.6% minmax(0, 1fr) !important;
    column-gap: 18px !important;
    padding-top: 0 !important;
    align-items: start !important;
  }

  #aosta-section .project-meta {
    grid-column: 1 !important;
    display: block !important;
    padding-top: 0 !important;
  }

  #aosta-section .project-text {
    grid-column: 2 !important;
    display: block !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
  }

}

/* ULTIMO — FIX MOBILE GUIDE / FOGLI FILETTO / AOSTA GAP */

@media (max-width: 900px) {

  .layout {
    padding-top: 10px !important;
  }

  .column-fogli-wrap .pages-section-header {
    border-top: 0.75px solid #000 !important;
  }

  .column[data-column="editorial"] .column-index-view {
    position: relative !important;
  }

  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .editorial-height-guides {
    display: block !important;
    position: absolute !important;
    top: 10px !important;
    right: auto !important;
    left: 0 !important;
    width: min(68vw, 260px) !important;
    height: var(--editorial-height-guide-base, 100%) !important;
    z-index: 4 !important;
    pointer-events: none !important;
  }

  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .editorial-height-guide {
    position: absolute !important;
    right: 0 !important;
    left: 0 !important;
    height: 0 !important;
    border-top: 0.5px solid #ff0000 !important;
  }

  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .editorial-height-guide::after {
    content: attr(data-cm);
    position: absolute;
    top: 1px;
    left: 1px;
    color: #ff0000;
    font-size: 8px;
    line-height: 1;
  }

  .column[data-column="editorial"].has-editorial-height-guides .column-index-item img {
    height: var(--book-cover-height, auto) !important;
    object-fit: fill !important;
  }

  #aosta-section .aosta-inner {
    padding-top: 0 !important;
  }

}

/* ULTIMO — MOBILE FOGLI RITMO / COVER NON STRETCH */

@media (max-width: 900px) {

  .column-fogli-wrap .pages-section-header {
    min-height: auto !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 8px !important;
    border-top: 0.75px solid #000 !important;
    border-bottom: 0.75px solid #000 !important;
    overflow: visible !important;
  }

  .column-fogli-wrap .pages-section-header .col-header-row {
    min-height: 0 !important;
    height: auto !important;
    align-items: flex-start !important;
  }

  .column-fogli-wrap .pages-section-header .col-title {
    line-height: 0.9 !important;
  }

  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .column-index-item {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .column-index-item img {
    width: auto !important;
    max-width: none !important;
    height: var(--book-cover-height, auto) !important;
    object-fit: contain !important;
  }

}

/* ULTIMO — RIMUOVI GRIGLIE MOBILE / LIGHTBOX DENTRO SCHERMO */

.lightbox-image {
  max-width: calc(100vw - 58px) !important;
  max-height: calc(100vh - 24px) !important;
}

.lightbox-close {
  box-sizing: border-box !important;
}

@media (min-width: 901px) {

  .lightbox-image {
    width: auto !important;
    height: calc(100vh / 1.171875) !important;
    max-width: calc(100vw - 58px) !important;
    max-height: calc(100vh / 1.171875) !important;
    object-fit: contain !important;
  }

}

@media (max-width: 900px) {

  .column[data-column="editorial"] .editorial-height-guides,
  .column[data-column="editorial"].has-editorial-height-guides .editorial-height-guides,
  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .editorial-height-guides {
    display: none !important;
  }

  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .column-index-item {
    flex: 0 0 min(68vw, 260px) !important;
    width: min(68vw, 260px) !important;
  }

  .column[data-column="editorial"] .column-index-view .column-index-item img,
  .column[data-column="editorial"].has-editorial-height-guides .column-index-view .column-index-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

}

/* ULTIMO — NEWSLETTER MODAL */

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
}

.newsletter-modal.is-open {
  display: flex;
}

.newsletter-form {
  width: min(300px, calc(100vw - 16px));
  border: 1px solid #000;
  background: #fff;
  padding: 8px;
  font: inherit;
  color: #000;
}

.newsletter-form-header,
.newsletter-form-row-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: baseline;
}

.newsletter-form-header {
  margin-bottom: 8px;
}

.newsletter-form-row + .newsletter-form-row {
  margin-top: 8px;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #000;
  outline: 0;
  appearance: none;
}

.newsletter-form input::placeholder {
  color: #777;
  opacity: 1;
}

.newsletter-close,
.newsletter-form input[type="submit"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #000;
  appearance: none;
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (max-width: 900px) {

  .newsletter-form {
    width: calc(100vw - 16px);
    padding: 8px;
  }

}

/* ULTIMO — HIDE CURATORIAL INDEX SCROLLBAR */

.column[data-column="curatorial"] .column-index-view {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.column[data-column="curatorial"] .column-index-view::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* ULTIMO — NOTE 04/06 */

@media (min-width: 901px) {

  .column-fogli-wrap .column-index-view,
  .column[data-column="pages"] .column-index-view {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: var(--pages-index-row-unit, 2px) !important;
    grid-auto-flow: dense !important;
    align-items: start !important;
    justify-items: stretch !important;
    place-items: start stretch !important;
    gap: 10px !important;
    row-gap: 10px !important;
  }

  .column-fogli-wrap .column-index-view .column-index-item,
  .column[data-column="pages"] .column-index-view .column-index-item {
    display: block !important;
    align-self: start !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .column-fogli-wrap .column-index-view .column-index-item img,
  .column[data-column="pages"] .column-index-view .column-index-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .column-fogli-wrap .column-index-view .column-index-item + .column-index-item,
  .column[data-column="pages"] .column-index-view .column-index-item + .column-index-item {
    margin-top: 0 !important;
  }

  .column[data-column="pages"].show-index .column-index-view {
    display: none !important;
  }

  .column[data-column="pages"].show-index .pages-scroll-inner {
    display: block !important;
  }

}

.column[data-column="editorial"].has-editorial-guides .editorial-guides::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-left: 0.5px solid #ff0000;
}

.column[data-column="editorial"].has-editorial-guides .editorial-guides::after {
  content: "0";
  position: absolute;
  top: 100%;
  left: 1px;
  color: #ff0000;
  font-size: 8px;
  line-height: 1;
  transform: translateY(2px);
}

.fuga-excerpt {
  letter-spacing: 7px !important;
  -webkit-text-stroke: 2px black;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: black;
}

@media (max-width: 900px) {

  .mobile-site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 30px;
    align-items: center;
  }

  .mobile-site-header .mobile-lang-toggle.lang-toggle {
    display: block !important;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #000;
    font: inherit;
    line-height: 1;
    cursor: pointer;
  }

  .column[data-column="editorial"] .column-index-view,
  .column[data-column="editorial"].show-index .column-index-view {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .column[data-column="editorial"] .column-index-view::-webkit-scrollbar,
  .column[data-column="editorial"].show-index .column-index-view::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  .column[data-column="pages"] .column-index-view,
  .column[data-column="pages"].show-index .column-index-view,
  .column-fogli-wrap .column-index-view {
    padding-left: 10px !important;
    padding-right: calc(100vw - min(68vw, 260px) + 10px) !important;
    scroll-padding-left: 10px !important;
    scroll-snap-type: x proximity !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .column[data-column="pages"] .column-index-view .column-index-item,
  .column[data-column="pages"].show-index .column-index-view .column-index-item,
  .column-fogli-wrap .column-index-view .column-index-item {
    scroll-snap-align: start !important;
  }

  .fuga-items {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .column[data-column="editorial"] .column-index-view,
  .column[data-column="curatorial"] .column-index-view,
  .column[data-column="pages"] .column-index-view,
  .fuga-items {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .column[data-column="editorial"] .column-index-view::-webkit-scrollbar,
  .column[data-column="curatorial"] .column-index-view::-webkit-scrollbar,
  .column[data-column="pages"] .column-index-view::-webkit-scrollbar,
  .fuga-items::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  .fuga-item {
    flex: 0 0 min(82vw, 320px) !important;
    width: min(82vw, 320px) !important;
    order: var(--fuga-sort-order, 0) !important;
    padding-bottom: 0 !important;
    scroll-snap-align: start;
  }

}

/* 05/10/2026 — FILETTI STRUTTURALI UNIFORMI
 * I divisori verticali delle colonne sono il riferimento: 1px.
 * Fogli usa un solo vero border; il vecchio pseudo-elemento causava
 * un filetto diverso su desktop e si sommava al border su mobile.
 */

:root {
  --structural-rule-width: 1px;
}

.layout {
  border-left-width: var(--structural-rule-width) !important;
}

.column:not(:last-child) {
  border-right-width: var(--structural-rule-width) !important;
}

.col-header,
.column-fogli-wrap .pages-section-header {
  border-bottom: var(--structural-rule-width) solid var(--border) !important;
}

.project,
.page-block {
  border-top-width: var(--structural-rule-width) !important;
}

.column-fogli-wrap .pages-section-header::after,
.mobile-site-header::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {

  .mobile-site-header {
    border-bottom: var(--structural-rule-width) solid var(--border) !important;
  }

  .col-header,
  .column-fogli-wrap .pages-section-header {
    border-top: var(--structural-rule-width) solid var(--border) !important;
  }

  #aosta-section .col-header {
    border-top: 0 !important;
  }

}

/* 02/11/2026 — GERARCHIA TESTI EDIZIONI / PROGETTI SPECIALI
 * Corpi e anteprime chiuse: Text 500 normal / italic richiesto.
 * Estratti nello stato aperto ed Extra: 55/56, 400.
 * Per un vero i500 il kit Adobe deve includere Text 66 Medium Italic.
 * Titoli e metadati restano invariati; Fuga resta Emily Dickinson.
 */

.project .project-text {
  font-family: neue-haas-grotesk-text, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.project .project-text em,
.project .project-text i {
  font-family: neue-haas-grotesk-text, sans-serif;
  font-weight: 500;
  font-style: italic;
}

.project .project-excerpt,
.project .project-preview-description,
.project .project-extra {
  font-family: neue-haas-grotesk-text, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.project .project-excerpt em,
.project .project-excerpt i,
.project .project-preview-description em,
.project .project-preview-description i,
.project .project-extra em,
.project .project-extra i {
  font-family: neue-haas-grotesk-text, sans-serif;
  font-weight: 400;
  font-style: italic;
}

.project .project-closed .project-excerpt,
.project .project-closed .project-preview-description {
  font-family: neue-haas-grotesk-text, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.project .project-closed .project-excerpt em,
.project .project-closed .project-excerpt i,
.project .project-closed .project-preview-description em,
.project .project-closed .project-preview-description i {
  font-family: neue-haas-grotesk-text, sans-serif;
  font-weight: 500;
  font-style: italic;
}

.project .project-extra-after-body {
  margin-top: 1em;
}

.fuga-item .fuga-excerpt {
  font-family: "Emily Dickinson", serif;
  font-weight: 400;
}

/* 03/11/2026 — ALLINEAMENTO CARD / TRACKING / RITMO
 * Il testo chiuso sale alla quota del titolo quando l'estratto non esiste.
 * Se l'estratto esiste, titolo ed estratto restano allineati e il testo segue.
 */

.project-closed-layout .project-closed-meta,
.project-closed-layout .project-closed-text {
  align-self: start;
}

.project-closed-layout .project-title {
  padding-top: 0 !important;
}

body:not(.is-en) .column[data-column="editorial"] .project:not(.project-active) .project-closed-layout.no-excerpt-it .project-preview-description,
body:not(.is-en) .column[data-column="curatorial"] .project:not(.project-active) .project-closed-layout.no-excerpt-it .project-preview-description,
body.is-en .column[data-column="editorial"] .project:not(.project-active) .project-closed-layout.no-excerpt-en .project-preview-description,
body.is-en .column[data-column="curatorial"] .project:not(.project-active) .project-closed-layout.no-excerpt-en .project-preview-description {
  margin-top: 0 !important;
}

/* 12px di padding del progetto + 8px di gap = 20px, metà dei 40px precedenti. */
.column[data-column="editorial"] .projects,
.column[data-column="curatorial"] .projects {
  row-gap: 8px;
}

/* Le intestazioni richieste mantengono lo stesso tracking su desktop e mobile. */
.col-header .col-title,
.mobile-site-title {
  letter-spacing: -0.03em !important;
}

/* Testi Fuga composti con Emily Dickinson. */
.fuga-item .fuga-excerpt {
  letter-spacing: 2px !important;
}

/* Fogli aperto: l'header Aosta conserva il filetto; il contenitore non ne
 * sovrappone un secondo quando il cassetto Aosta è chiuso. */
.column-fogli-wrap .pages-section-header::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 901px) {
  .column[data-column="pages"].show-index .aosta-publishing {
    border-bottom: 0 !important;
  }
}
