/* vecchia gestione player iframe custom - nu bunker */
/* player audio iframe */
/*
.player.embed-player-fixed {
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}
.player.embed-player-fixed.player-show {
  display: block;
  height: 90px;
}
.player.embed-player-fixed.player-hide {
  display: none;
  height: 0px;
}

@media screen and (max-width: 1024px) {
  .player.embed-player-fixed.player-show {
    height: 200px;
  }
}
*/

#embed-player-fixed.player-hide {
  display: none;
}
.is-expanded .playing .figure .player-btn {
  display: none !important;
}
@media screen and (min-width: 1038px) {
  .playing .figure .player-btn {
    display: none !important;
  }
}

/* fullscreen image */

.img-fullscreen-frame {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  background: black;
  transform: translateZ(0);
  z-index: 1024;
}

.fullscreen.zoom img {
  width: auto;
  height: 100%;
  object-fit: scale-down;
  margin: 0 auto;
}

.fullscreen.zoom.hasCaption img {
  margin: 0 0 0 auto;
}

.fullscreen img {
  width: 100%;
}

.is-zoomed .img-fullscreen-caption {
  z-index: 1023;
}

.img-fullscreen-caption.zoom {
  max-width: 230px;
  margin: 0 auto 0 0;
  color: white;
}

figure.fullscreen {
  padding-top: 0 !important;
}

.fullscreen.zoom {
  display: flex;
  align-items: center;
  height: 100%;
}

.img-fullscreen-wrapper:focus {
  outline: 0px;
}

.img-fullscreen-wrapper.init {
  cursor: pointer;
}

.topn .dropdown-menu.inverted-color {
  margin-right: -15px !important;
}

.is-zoomed .main-col {
  z-index: auto;
}

/* gestione didascalia immagine full screen */
.is-zoomed figure.fullscreen.zoom.hasCaption {
  flex-direction: column;
  align-content: center;
}

.is-zoomed figure.fullscreen.zoom.hasCaption img {
  width: 100%;
  height: auto;
  object-fit: scale-down;
  flex-grow: 1;
  align-self: flex-end;
  min-height: 1px;
}

.is-zoomed figure.fullscreen.zoom.hasCaption figcaption {
  width: 100%;
  height: auto;
  max-width: none;
  align-self: flex-start;
  padding: 20px;
}

@media (min-width: 1024px) {
  .is-zoomed figure.fullscreen.zoom.hasCaption {
    flex-direction: row;
    flex-wrap: no-wrap;
  }
  .is-zoomed figure.fullscreen.zoom.hasCaption img {
    flex-grow: 0;
    width: 80%;
    height: auto;
    align-self: center;
  }

  .is-zoomed figure.fullscreen.zoom.hasCaption figcaption {
    width: 20%;
    align-self: center;
  }
}

.openday {
  background-color: #ef4e63;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 5px;
  border-radius: 4px;
  color: #fff;
}
.openday a,
.openday .icon,
.openday a:hover {
  color: #fff;
}

/* aggiornamento logo sole */
.topn-link img {
  height: 24px;
}

.topn-link {
  line-height: 32px;
}

@media (min-width: 768px) {
  /* rimuove linea sbarrata da titolo Prossimi eventi */
  .scard-title--noline:after {
    display: none;
  }
}

@media (min-width: 768px) {
  .is-menu-open .main-menu {
    max-height: 650px;
  }
}

.sart-ellipsis {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .sart-ellipsis {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .longform-cover-overlay {
    padding: 0px;
  }
  .longform-cover-scroll {
    display: none;
  }
}

.btn-not-pay {
  opacity: 0.25;
}
/* 
.asubtitle h2:before,
#apoints-container:before {
  content: '';
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 0;
} */

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* per test nuovi caroselli */
.swiper {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  display: flex;
  position: relative;
  width: 100%;
}

.swiper-wrapper .swiper-slide {
  display: flex;
  flex-shrink: 0;
  position: relative;
}
.s24salute .rel--playlist .hpill {
  width: auto !important;
}

.il-body .sticky-header,
.il-body .arec-title,
.il-body .arec-info {
  background-color: #ffffff;
}

.sd-body .sticky-header,
.sd-body .arec-title,
.sd-body .arec-info {
  background-color: #ffffff;
}

.artgallery-nav.carousel,
.books-carousel-wrapper,
.gallery-carousel-wrapper,
.partner24-carousel-wrapper,
.video-serie-carousel-wrapper {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .swiper-slide.scrolling-item .aprev {
    width: 100%;
  }
  .swiper-wrapper {
  }
}

.filter-list-wrapper.carousel-wrapper .swiper-slide {
  padding-left: 0px;
  padding-right: 0px;
}

.gallery-carousel-wrapper .swiper-slide {
  background-color: #242424;
}

.swiper-container-fade .swiper-slide-active.swiper-slide--last {
  z-index: 200;
}

.swiper {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  display: flex;
  position: relative;
  width: 100%;
}

.swiper-wrapper .swiper-slide {
  display: flex;
  flex-shrink: 0;
  position: relative;
}
.dossier-carousel-wrapper .swiper-slide,
.gallery-carousel-wrapper .swiper-slide,
.filter-list-wrapper.carousel-wrapper .swiper-slide,
.partner24-carousel-wrapper .swiper-slide,
.video-serie-carousel-wrapper .swiper-slide {
  display: block;
}

.rel--playlist .playlist-top .carousel-nav .carousel-btn--next.slick-disabled {
  display: none !important;
}

.gallery-carousel-lf-wrapper .carousel-slide {
  width: 100%;
}
.gallery-carousel-lf-wrapper .swiper-container {
  overflow: hidden;
}

.slick-dots .swiper-pagination-bullet-active button {
  background: #0f0f0f;
}

.minibio-more.hidden {
  visibility: hidden;
}

.testimonials-custom {
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.testimonial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.header-info h4 {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin: 0 0 5px 0;
}

.sub-info {
  font-size: 16px;
  color: #555;
  margin: 0 0 15px 0;
}

.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 0;
}

.image-container img {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonial-content {
  background-color: #cce8f6;
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amount {
  color: #000000;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 15px 0;
}

.quote {
  font-size: 17px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .testimonial-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .amount {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .testimonial-list {
    grid-template-columns: 1fr;
  }

  .image-container {
    height: 250px;
  }

  .header-info h4 {
    font-size: 20px;
  }
}

.title-f {
  font-size: 32px !important;
  line-height: 48px !important;
  color: #000f55;
}

.blue-link {
  color: #0a5278;
  font-weight: bold;
  text-decoration: none !important;
}

.review-block {
  padding: 40px 20px;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.review-item {
  background-color: #cce8f6;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.review-item h3 {
  font-size: 22px;
  color: #333;
  margin-top: 0;
  margin-bottom: 25px;
  font-weight: 700;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 30px;
}

.video-container video {
  width: 100%;
  height: 100%;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  background-color: #0a5278;
  color: #ffffff;
  text-decoration: none !important;
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.3s;
}

.btn-register:hover {
  background-color: #046392;
  color: #ffffff;
}
.btn-register:hover .btn-icon {
  background-color: #046392;
  color: #ffffff;
}

.btn-text {
  color: #ffffff;
  padding: 12px 25px;
  font-weight: bold;
  font-size: 16px;
}

.btn-icon {
  background-color: #0a5278;
  color: #ffffff;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .review-block {
    gap: 20px;
  }

  .review-item {
    padding: 20px;
  }
}

@media (max-width: 550px) {
  .review-block {
    grid-template-columns: 1fr;
  }

  .review-item h3 {
    font-size: 18px;
  }
}

.form-container {
  max-width: 500px;
  margin: 20px auto;
  background-color: #2e2d2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

.form-header {
  background-color: #0a5278;
  color: #ffffff;
  text-align: center;
  padding: 25px 15px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.form-body {
  padding: 30px 25px;
}

.input-group {
  margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  color: #333;
  box-sizing: border-box;
  background-color: #fff;
}

.phone-row {
  display: flex;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 25px;
  align-items: center;
  padding-left: 10px;
  overflow: hidden;
}

.country-select {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  border-right: 1px solid #eee;
  cursor: pointer;
  min-width: 80px;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
}

.phone-code {
  font-size: 15px;
  font-weight: bold;
  color: #444;
}

.phone-row input {
  border: none;
  margin-bottom: 0;
}

.submit-button {
  width: 100%;
  background: #0a5278;
  color: #ffffff;
  padding: 18px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.submit-button:hover {
  filter: brightness(1.1);
}

@media (max-width: 480px) {
  .form-container {
    margin: 10px;
  }

  .form-header {
    font-size: 22px;
  }

  .submit-button {
    font-size: 17px;
  }
}

.form-block {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #0a5278;
  border-radius: 10px;
  padding: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.form-block h3 {
  color: #000000;
  font-size: 24px;
  text-align: center;
}

.form-block p {
  text-align: center;
}

.official-block {
  border: 5px solid #0a358c50;
  background-color: #0a5278;
  padding: 25px 30px;
  max-width: 800px;
  margin: 20px auto;
  text-align: left;
}

.official-block h3 {
  color: #ffffff;
  font-size: 24px;
  margin: 0 0 15px 0;
  font-weight: 800;
}

.official-block p {
  color: #ffffff;
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
}

.official-block p span {
  font-weight: 900 !important;
  text-decoration: underline;
  color: #b8c3ce;
}

@media (max-width: 768px) {
  .official-block {
    max-width: 90%;
    padding: 20px;
    border-width: 4px;
  }

  .official-block h3 {
    font-size: 22px;
  }

  .official-block p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .official-block {
    padding: 15px;
    border-width: 3px;
    margin: 10px;
  }

  .official-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .official-block p {
    font-size: 16px;
  }
}

.comments-wrapperr {
  max-width: 680px;
  margin: 20px auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
}

.comments-header {
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #ebedf0;
  padding-bottom: 12px;
  margin-bottom: 20px;
  color: #1c1e21;
}

.comment {
  display: flex;
  margin-bottom: 12px;
  gap: 10px;
  margin-bottom: 30px !important;
}

@media (max-width: 768px) {
  .form-block {
    padding: 10px;
  }
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #ffffff;
  font-size: 14px;
  flex-shrink: 0;
  background-color: #ced0d4;
}

.avatar-1 {
  background-color: #f56a00;
}

.avatar-2 {
  background-color: #7265e6;
}

.avatar-3 {
  background-color: #ffbf00;
}

.avatar-bbc {
  background-color: #bb1919;
  font-size: 10px;
}

.comment-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.comment-bubble {
  background-color: #f0f2f5;
  padding: 12px 12px !important;
  border-radius: 18px;
  display: inline-block;
  max-width: 100%;
}

.name {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #050505;
  margin-bottom: 2px;
}

.text {
  font-size: 14px;
  line-height: 1.35;
  color: #050505;
  margin: 0;
  word-wrap: break-word;
}

.comment-footer {
  font-size: 12px;
  color: #65676b;
  margin-top: 4px;
  padding-left: 12px;
}

.comment-footer span {
  cursor: pointer;
  font-weight: 600;
}

.comment-footer span:hover {
  text-decoration: underline;
}

.verified-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #1877f2;
  color: #fff;
  border-radius: 50%;
  font-size: 8px;
  text-align: center;
  line-height: 12px;
  margin-left: 4px;
  vertical-align: middle;
}

.verified-icon::after {
  content: "✓";
}

.replies {
  margin-left: 48px;
  margin-top: 4px;
  border-left: 2px solid #ebedf0;
  padding-left: 10px;
}

.comment-group {
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .comments-wrapper {
    padding: 10px;
  }

  .avatar {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .replies {
    margin-left: 32px;
  }

  .text {
    font-size: 13px;
  }

  .name {
    font-size: 12px;
  }

  .h1 {
    font-size: 29px !important;
  }

  .title-f {
    font-size: 29px !important;
  }
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
}
