.header-carri .txt {
  max-width: 860px;
  margin: 0 auto;
}

.header-carri .txt > *:last-child {
  margin-bottom: 0;
}

.header-carro-single .carro-bread {
  margin-top: 12rem;
  margin-bottom: 2rem;
}

.header-carro-single h1 {
  margin-top: 0;
}

.carri-archive {
  padding-top: 2rem;
}

.carri-grid {
  row-gap: 2rem;
}

.carri-col {
  display: flex;
}

.carro-card {
  width: 100%;
  background: #fefefe;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(14, 14, 14, 0.08);
  display: flex;
  flex-direction: column;
}

.carro-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #f4efe8;
}

.carro-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carro-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  min-width: 3rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: #e6007e;
  color: #fefefe;
  font-weight: 700;
  text-align: center;
}

.carro-card__number img,
.votazione-card__number img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carro-card__number-image {
  padding: 0;
  background: transparent;
  min-width: auto;
  width: 4.8rem;
  height: 4.8rem;
}

.carro-card__placeholder {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e0e0e;
  font-weight: 600;
}

.carro-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
}

.carro-card__body h2 {
  margin: 0;
}

.carro-card__body h2 a {
  color: #0e0e0e;
  text-decoration: none;
}

.carro-card__group {
  margin: 0;
  color: #e6007e;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.carro-card__excerpt {
  color: #0e0e0e;
}

.carro-card__cta {
  margin: auto 0 0;
}

.carro-card__detail-link {
  margin: 0;
  text-align: center;
}

.carro-card__detail-link a {
  color: #0e0e0e;
  font-size: 1.4rem;
  text-decoration: underline;
}

.votazioni-page .row {
  row-gap: 2rem;
}

.votazioni-layout {
  display: block;
}

.votazioni-form-wrap {
  position: sticky;
  top: 9rem;
}

.votazioni-form-card {
  padding: 1.5rem;
  border-radius: 2rem;
  background: #fefefe;
  box-shadow: 0 24px 50px rgba(14, 14, 14, 0.08);
}

.votazioni-form-card h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.votazioni-helper {
  margin-top: 0;
}

.votazioni-selected {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-radius: 1.4rem;
  background: #fff7e6;
}

.votazioni-selected__eyebrow {
  margin: 0 0 0.35rem;
  color: #e6007e;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.votazioni-selected h3 {
  margin: 0;
  font-size: 2.2rem;
}

.votazioni-selected p:last-child {
  margin-bottom: 0;
}

.votazioni-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.votazioni-list legend {
  margin-bottom: 1rem;
  font-size: 3.2rem;
  font-weight: 600;
}

.votazioni-list__cards {
  display: grid;
  gap: 1rem;
}

.votazione-card {
  position: relative;
  display: grid;
  grid-template-columns: 11.2rem 1fr;
  gap: 1rem;
  width: 100%;
  padding: 0.8rem;
  border: 2px solid transparent;
  border-radius: 1.6rem;
  background: #fefefe;
  box-shadow: 0 16px 32px rgba(14, 14, 14, 0.08);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.votazione-card:hover {
  transform: translateY(-2px);
  border-color: #e6007e;
}

.votazione-card.is-selected {
  border-color: #e6007e;
  box-shadow: 0 22px 40px rgba(230, 0, 126, 0.14);
}

.votazione-card:has(.votazione-card__radio:focus-visible) {
  border-color: #e6007e;
  outline: none;
}

.votazione-card__radio {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}

.votazione-card__media {
  position: relative;
  display: block;
  aspect-ratio: 0.92 / 1.12;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #f4efe8;
}

.votazione-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.votazione-card__number {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  min-width: 2.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: #0e0e0e;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.votazione-card__number-image {
  padding: 0;
  background: transparent;
  min-width: auto;
  width: 3.6rem;
  height: 3.6rem;
}

.votazione-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.votazione-card__group {
  color: #e6007e;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.votazione-card__title {
  margin-top: 0.25rem;
  color: #0e0e0e;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.votazione-card__excerpt {
  margin-top: 0.4rem;
  color: #3b3b3b;
  font-size: 1.4rem;
  line-height: 1.35;
}

.votazione-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: #e6007e;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.votazione-card.is-selected .votazione-card__action {
  background: #0e0e0e;
}

.votazione-card__actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

.votazione-card__action-detail {
  background: #f3f3f3;
  color: #0e0e0e;
  text-decoration: none;
}

.votazione-card.is-selected .votazione-card__action-detail {
  background: #f3f3f3;
  color: #0e0e0e;
}

.carri-empty {
  padding: 3rem 2rem;
  border-radius: 2rem;
  background: #f4efe8;
  text-align: center;
}

.carro-box {
  height: 100%;
  padding: 2rem;
  border-radius: 2rem;
  background: #fefefe;
  box-shadow: 0 24px 50px rgba(14, 14, 14, 0.08);
}

.carro-box h2 {
  margin-top: 0;
}

.carro-box-vote-link {
  background: #fff7e6;
}

.carro-box-vote-link-top {
  background: linear-gradient(135deg, #fff4d8 0%, #fff7e6 100%);
}

.carro-box-vote-link__content {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.carro-box-vote-link__eyebrow {
  margin: 0 0 0.5rem;
  color: #e6007e;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carro-box-vote-link__cta {
  margin: 0;
}

.carro-story__row {
  align-items: stretch;
  row-gap: 2rem;
}

.carro-story__content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 56rem;
}

.carro-story__content h2 {
  margin: 0;
  color: #009fe3;
}

.carro-story__text {
  max-width: none;
}

.carro-story__text p {
  max-width: none;
}

.carro-story__media {
  height: 100%;
}

.carro-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 2rem;
  overflow: hidden;
  background: #f4efe8;
  cursor: zoom-in;
  box-shadow: 0 24px 50px rgba(14, 14, 14, 0.1);
}

.carro-image-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carro-story__media .carro-image-button {
  min-height: 28rem;
  height: 100%;
}

.carro-image-button__label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.82);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.carro-audio-inline {
  padding: 1.25rem;
  border-radius: 1.6rem;
  background: #f4efe8;
}

.carro-audio-inline__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 1rem;
}

.carro-audio-inline__head h3 {
  margin: 0;
  font-size: 2rem;
}

.carro-audio-inline__icon {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e6007e;
  color: #fff;
}

.carro-audio-player {
  width: 100%;
}

.carro-audio-meta {
  margin: 0.35rem 0 0;
  color: #5a5a5a;
}

.carro-gallery h2 {
  margin-bottom: 1.5rem;
}

.carro-gallery__grid {
  row-gap: 0.4rem;
}

.carro-gallery-item {
  margin: 0 0 1.5rem;
}

.carro-gallery-item .carro-image-button {
  border-radius: 1.75rem;
  box-shadow: none;
}

.carro-gallery-item .carro-image-button img {
  aspect-ratio: 4 / 3;
}

.carro-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.carro-viewer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
}

.carro-viewer__dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 110rem);
  margin: 4vh auto;
  padding: 1.5rem;
}

.carro-viewer__dialog img {
  display: block;
  width: 100%;
  max-height: 88vh;
  margin: 0 auto;
  border-radius: 2rem;
  object-fit: contain;
}

.carro-viewer__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  width: 4rem;
  height: 4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.82);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

body.carro-viewer-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .votazioni-form-wrap {
    position: static;
  }

  .votazioni-form-card {
    padding: 1.2rem;
  }

  .votazione-card {
    grid-template-columns: 9.2rem 1fr;
  }

  .header-carro-single .carro-bread {
    margin-top: 10rem;
  }

  .carro-box-vote-link__content {
    gap: 1rem;
  }

  .carro-story__content {
    gap: 1.25rem;
    max-width: none;
  }

  .carro-story__media .carro-image-button {
    min-height: 0;
  }

  .carro-audio-inline {
    padding: 1rem;
  }

  .carro-card__body {
    padding: 1.35rem 1.35rem 1.5rem;
  }

  .carro-viewer__dialog {
    width: 96vw;
    margin: 7vh auto;
    padding: 0.75rem;
  }
}

@media (min-width: 992px) {
  .carro-card-archive {
    max-width: 44rem;
    margin: 0 auto;
  }

  .carro-box-vote-link__content {
    grid-template-columns: 1fr auto;
  }
}
