.kadence-child .two-columns-layout {
  display: grid;
  grid-template-columns: 2fr 6fr;
  gap: 90px;
}

.inline-image {
  display: flex;
  align-items: center;
}
.inline-image img {
  margin-right: 15px;
}

/* I miei voti */
.my-votes-wrapper form {
  display: grid;
  gap: 15px;
}
.my-votes-wrapper .voto-item {
  font-size: 15px;
  background: var(--global-palette9);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.my-votes-wrapper .voto-item-inner {
  display: flex;
  gap: 15px;
}
.my-votes-wrapper .voto-item figure {
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
  border-radius: 10px;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}
.my-votes-wrapper .voto-item figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.my-votes-wrapper .voto-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
}
.my-votes-wrapper .voto-item-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.my-votes-wrapper .voto-item-footer .button {
  padding: 10px 20px;
}
.my-votes-wrapper.votes-exist + div:has(.pum-trigger) {
  display: none;
}

/* star rating */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}
.star-rating input {
  display: none !important;
}
.star-rating label {
  width: 26px;
  height: 25px;
}
.star-rating label svg {
  width: 26px;
  height: 25px;
  color: var(--global-palette6); /* default gray */
  opacity: 0.5;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-flex;
}
.star-rating input:checked ~ label svg,
.star-rating label:hover svg,
.star-rating label:hover ~ label svg{
  color: var(--global-palette1);
  opacity: 1;
}

/* Already submitted message */
/* .sacrilege-form-submitted #vota-i-sacrilegi {
  display: none;
}
.principle-form-submitted #vota-i-principi {
  display: none;
} */

@media (max-width: 1024px) {
  .kadence-child .two-columns-layout {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
  }
  .my-votes-wrapper .voto-item,
  .my-votes-wrapper .voto-item-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .kadence-child .two-columns-layout {
    grid-template-columns: 1fr;
  }

  .my-votes-wrapper .voto-item h3 {
    line-height: 1.2;
  }
}