.h1 {
  font-size: fluid(36px, 48px, 375, 1440);
}

.h2 {
  font-size: fluid(30px, 40px, 375, 1440);
}

.h3 {
  font-size: fluid(24px, 32px, 375, 1440);
}

.h4 {
  font-size: fluid(21px, 28px, 375, 1440);
}

.h5 {
  font-size: fluid(18px, 24px, 375, 1440);
}

.h6 {
  font-size: fluid(15px, 20px, 375, 1440);
}

:root {
  --primary-color: #19A1E3;
  --grey: #F4F3F6;
  --text: #626262;
  --orange: #F3410E;
  --font-family-title: KinderJoy, sans-serif;
  --font-family-base: Roboto, sans-serif;
}

.countries {
  position: relative;
  z-index: 1;
}
.countries .note {
  text-align: center;
  color: var(--text);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 767px) {
  .countries .swiper-wrapper {
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .countries .swiper-slide {
    width: 50%;
    padding: 0;
  }
}
.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  z-index: 1;
  position: relative;
  justify-content: center;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .countries-list {
    gap: 20px;
  }
}

.block-content-country-list > .image {
  display: block;
  margin-top: -8.125rem;
}
@media (max-width: 767px) {
  .block-content-country-list > .image {
    display: none;
  }
}
.block-content-country-list .image-mobile, .block-content-country-list .image-mobile-top {
  display: none;
}
@media (max-width: 767px) {
  .block-content-country-list .image-mobile, .block-content-country-list .image-mobile-top {
    display: block;
  }
}
@media (max-width: 767px) {
  .block-content-country-list .image-mobile-top {
    margin-bottom: 40px;
  }
}

.p-country {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 5rem;
  width: 100%;
}
@media (max-width: 767px) {
  .p-country {
    max-width: 100%;
    width: calc(50% - 20px);
    padding-bottom: 31px;
  }
}
.p-country--content {
  max-width: 88px;
  width: 100%;
}
.p-country .image {
  width: 100%;
  margin-bottom: 0.5rem;
}
@media (max-width: 767px) {
  .p-country .image {
    margin: 0 auto 6px;
    width: 60px;
  }
}
.p-country .title {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: bold;
  overflow-wrap: break-word;
  word-break: normal;
}
@media (max-width: 767px) {
  .p-country .title {
    font-weight: 600;
  }
}

.p-country-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6); /* overlay scuro */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s; /* per animazione */
}
.p-country-modal.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.p-country-modal h2 {
  margin: 0;
  text-transform: uppercase;
}
.p-country-modal__body .header-modal {
  padding: 1.125rem 5.5rem;
  color: #FFF;
}
@media (max-width: 767px) {
  .p-country-modal__body .header-modal {
    padding: 18px 23px;
  }
}
.p-country-modal__body .header-modal .title {
  font-family: var(--font-family-base);
  font-size: 2.125rem;
  font-weight: bold;
}
@media (max-width: 767px) {
  .p-country-modal__body .header-modal .title {
    font-size: 20px;
  }
}
.p-country-modal__body .content-modal {
  padding: 0.875rem 5.5rem 6.25rem;
  background-color: #FFF;
  color: var(--text);
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal {
    padding: 20px 23px;
  }
}
.p-country-modal__body .content-modal .row-modal {
  border-bottom: 1px solid rgba(98, 98, 98, 0.4);
  padding-bottom: 1.25rem;
  margin-top: 1.25rem;
  display: flex;
  width: 100%;
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal {
    padding-bottom: 12px;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal .align-right-mobile {
    text-align: right;
    justify-content: flex-end;
  }
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal.two-row {
    display: block;
  }
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal.two-row .title {
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal.two-row .title, .p-country-modal__body .content-modal .row-modal.two-row .text {
    width: 100%;
    text-align: left;
  }
}
.p-country-modal__body .content-modal .row-modal:last-child {
  border-bottom: none;
}
.p-country-modal__body .content-modal .row-modal .title {
  display: block;
  width: 10.625rem;
  font-weight: bold;
  font-size: 1.25rem;
  font-family: "Roboto", sans-serif;
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal .title {
    font-size: 18px;
    width: 100%;
    margin-bottom: 6px;
  }
}
.p-country-modal__body .content-modal .row-modal .text {
  width: calc(100% - 10.625rem);
  font-size: 0.9375rem;
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal .text {
    width: 100%;
    text-align: left;
    font-size: 14px;
  }
}
.p-country-modal__body .content-modal .row-modal .text.color-primary {
  color: var(--primary-color);
  font-weight: bold;
}
.p-country-modal__body .content-modal .row-modal .text.font-big {
  font-size: 1.25rem;
  font-weight: normal;
}
@media (max-width: 767px) {
  .p-country-modal__body .content-modal .row-modal .text.font-big {
    font-size: 21px;
  }
}
.p-country-modal__body .content-modal .row-modal .text a {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: var(--primary-color);
  padding-bottom: 1rem;
}
.p-country-modal__body .content-modal .row-modal .text a:before {
  content: "";
  background-image: url("../../../images/icon-link.svg");
  width: 0.4375rem;
  height: 0.625rem;
  background-size: contain;
  background-repeat: no-repeat;
  padding-right: 0.3125rem;
}
.p-country-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
}
.p-country-modal__content {
  position: relative;
  width: 46%;
}
@media (max-width: 767px) {
  .p-country-modal__content {
    width: 90%;
  }
}
.p-country-modal__content-inner {
  position: relative;
  background: var(--primary-color);
  border-radius: 2.375rem;
  border: 0.6875rem solid var(--primary-color);
  width: 100%;
  z-index: 10;
  overflow: hidden;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.16);
}
@media (max-width: 767px) {
  .p-country-modal__content-inner {
    border: 4px solid var(--primary-color);
  }
}
.p-country-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  color: #FFF;
  font-size: 1.9375rem;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 2rem;
  border: 2px solid #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: unset;
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .p-country-modal__close {
    width: 24px;
    height: 24px;
    top: 15px;
    right: 15px;
    font-size: 24px;
  }
}
.p-country-modal .image-ball {
  position: absolute;
  bottom: -13.75rem;
  right: -23%;
  width: 22.3125rem;
  z-index: 11;
}
@media (max-width: 767px) {
  .p-country-modal .image-ball {
    bottom: -160px;
    right: -30px;
    width: 200px;
  }
}