.body-wrapper{
  background: #F2F2F2 !important;
}

.description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flex-container-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem; /* margine interno mobile-friendly */
}

.info {
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.top-info {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.tag {
  background-color: #4091E1;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.bottom-info {
  gap: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-wrap-style: balance;
}

.divider {
  margin: 2rem 0;
}

.info-cell {
  /*height: 300px;
  width: 450px;*/
  gap: 16px;
  border-radius: 15px;
  padding: 2em;
  display: flex;
  flex-direction: column;
  background-color: white;
  justify-content: space-between;
}
.info-cell h3{
  font-size: 2em;
  font-weight: bold;
  overflow: hidden;
}
.info-cell .ico-calendar{
  width: 25px;
}

.cell h3 {
  text-align: center;
  line-height: normal;
  font-family: gt-am-light,Helvetica Neue,Arial,sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 1em 0 .5em;
  margin: 0 0 .5rem;
  text-align: left;
  margin-bottom: 1rem;
}

.cell dt{
  font-family: gt-am-regular,Helvetica Neue,Arial,sans-serif;
  font-weight: 400;
  color: #838383;
  font-size: .95rem;
}

dl {
  font-family: gt-am-regular,Helvetica Neue,Arial,sans-serif;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .03rem;
  margin: 1em 0 .5em;
  margin: 0;
}

.flex-card {
  display: flex;
  flex-direction: column;
  gap:18px;
}

.flex-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
}

.cell.image {
  flex-basis: 28%;
  margin: 0px 1%;
  position: relative;
}

.cell.content-cell {
  flex-basis: 68%;
  margin: 0px 10%;
}

.cell.where {
  flex-basis: 38%;
  margin: 0px 1% 0px 0px;
  position: relative;
}

.cell.content {
  flex-basis: 58%;
  margin: 0px 1%;
  position: relative;
}

/*img {
width: 100%;
}*/

.connect-banner {
  position: absolute;
  left: 0;
  top: 0;
  height: 36px;
  background-color: #c8102e;
  color: #fff;
  font-family: gt-am-condensed-bold,Helvetica Neue,Arial,sans-serif;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-size: .9em;
  z-index: 1;
  pointer-events: none;
}

.center {
  text-align: center;
}

.connect-banner:after {
  content: "";
  position: absolute;
  display: inline-block;
  left: 100%;
  top: 0;
  bottom: 0;
  width: 10px;
  border-top: 36px solid #c8102e;
  border-right: 10px solid transparent;
}

.connect-banner span{
  display: block;
  padding: .5rem;
  height: 100%;
}

.connect-banner img {
  width: 18px;
  height: 17px;
  margin-right: 5px;
}

@media only screen and (max-width: 1024px) {
  .flex-container{
    display: flex;
    margin-bottom: 45px;
    flex-direction: column;
  }
  .info-cell{
    margin: 0 auto;
  }
  .info-cell>div{
    width: 100%;
    margin: 0 auto;
  }
  .content-cell{
    padding-top: 50px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .info-cell>div{
    width: 70%;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 767px) {
  .info-cell>div{
    width: 100%;
    margin: 0 auto;
  }
}

.more-info-btn {
  padding: 0.5rem 1rem;
  background-color: #c8102e;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  text-wrap: nowrap;
}

.more-info-btn:hover {
  background-color: #a10d23;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.popup-content {
  background-color: white;
  max-width: 600px;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}