.olimpiadi {
  --primary-color: #b80d0d;

  --white-color: #fff;
  --text-color: #000;
  --surface-color: #eeeeee;
}

html:has(.olimpiadi) {
  scroll-behavior: smooth;
}

.d-none {
  display: none !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

@media (min-width: 992px) {
  .d-lg-inline-flex {
    display: inline-flex !important;
  }

  .d-lg-none {
    display: none !important;
  }
}

.olimpiadi section:last-of-type {
  margin-bottom: 0;
}

.op-btn {
  flex: 0 0 auto;
  border: 1px solid;
  display: inline-flex;
  padding: 0.75em 2.5em;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.op-btn:hover {
  text-decoration: none;
}

.op-btn--primary {
  color: var(--white-color);
  background-color: var(--primary-color);
  border-color: var(--primary-color);

  transition: all 0.3s ease;
}

.op-btn--primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.hero-text {
  margin-bottom: 3.2rem;
}

.hero-text__title {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2.4rem;
}

.hero-text__inner {
  align-items: center;
  display: flex;
  gap: 2.4rem;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-color);
}

@media (min-width: 768px) {
  .hero-text__inner {
    flex-direction: row;
  }
}

.hero-text__inner p {
  font-size: 1.8rem;
  line-height: 1.5;
  /*text-wrap: balance;*/
}

.section-op-bg-image {
  position: relative;
  min-height: 50rem;
}

.section-op-bg-image__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.section-op-bg-image__content {
  max-width: 100%;
  margin: 0 auto;
  padding: 4.8rem 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .section-op-bg-image__content {
    max-width: 70%;
  }
}

.section-op-bg-image__content-header {
  background-color: var(--primary-color);
  padding: 1.6rem 2.4rem;
}

.section-op-bg-image__content-header h2 {
  color: var(--white-color);
  font-size: 3.6rem;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .section-op-bg-image__content-header h2 {
    font-size: 4.8rem;
  }
}

.section-op-bg-image__content-body {
  background-color: rgba(255, 255, 255, 0.45);
  padding: 2.4rem;
  text-align: center;
}

.section-op-bg-image__text {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
  margin-bottom: 2.4rem;
}

@media (min-width: 768px) {
  .section-op-bg-image__text {
    font-size: 3.2rem;
  }
}

.section-op-bg-gray {
  margin: 4.8rem 0;
}

.section-op-bg-gray__content {
  background-color: var(--surface-color);
  padding: 3.2rem;
}

@media (min-width: 768px) {
  .section-op-bg-gray__content {
    padding: 4.8rem;
  }
}

.section-op-bg-gray__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
  margin-bottom: 2.4rem;
}

@media (min-width: 768px) {
  .section-op-bg-gray__title {
    font-size: 3.2rem;
  }
}

.section-op-bg-gray__text {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .section-op-bg-gray__text {
    font-size: 2.4rem;
  }
}

.section-op-two-columns__content {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 4.8rem;
}

@media (min-width: 1200px) {
  .section-op-two-columns__content {
    max-width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 4.8rem;
  }

  .section-op-two-columns__content.image-left {
    grid-template-columns: 50% 50%;
    padding-right: 0;
  }

  .section-op-two-columns__content.image-left
    .section-op-two-columns__content-column:first-child {
    order: 2;
  }

  .section-op-two-columns__content
    .section-op-two-columns__content-column:has(
      .section-op-two-columns__image
    ) {
    padding: 0;
    padding-right: 12.5%;
  }

  .section-op-two-columns__content.image-left
    .section-op-two-columns__content-column:has(
      .section-op-two-columns__image
    ) {
    padding: 0;
    padding-left: 12.5%;
  }

  .section-op-two-columns__content
    .section-op-two-columns__content-column:has(.section-op-two-columns__image)
    > div {
    position: relative;
    width: 100%;
    height: 100%;
  }
}

.section-op-two-columns__content-column {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 2.4rem;
}

@media (max-width: 1199px) {
  .section-op-two-columns__content-column:not(
      :has(.section-op-two-columns__image)
    ) {
    border: 1px solid var(--primary-color);
    border-top: 0;
    order: 2;
  }
}

.section-op-two-columns__content-column:has(.section-op-two-columns__image) {
  min-height: 25rem;
}

@media (min-width: 1200px) {
  .section-op-two-columns__content-column {
    padding: 4.8rem;
  }

  .section-op-two-columns__content-column:not(
      :has(.section-op-two-columns__image)
    ) {
    border: 1px solid var(--primary-color);
    border-right: 0;
  }

  .section-op-two-columns__content.image-left
    .section-op-two-columns__content-column:not(
      :has(.section-op-two-columns__image)
    ) {
    border: 1px solid var(--primary-color);
    border-left: 0;
  }
}

.section-op-two-columns__title {
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0;
  margin-bottom: 1.6rem;
}

.section-op-two-columns__text {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

@media (min-width: 1200px) {
  .section-op-two-columns__text {
    font-size: 2.4rem;
  }
}

.section-op-two-columns__text ul {
  list-style: square;
}

.section-op-two-columns__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.location-events-portfolio {
  border-image-source: conic-gradient(#eee 0deg, #eee 0deg);
  padding: 4.8rem 0;
}

.location-events-portfolio .section-title {
  font-size: 3.2rem;
}

.location-events-portfolio__wrapper-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

@media (min-width: 768px) {
  .location-events-portfolio__wrapper-header {
    align-items: inherit;
  }
}

.location-events-portfolio__header {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 2.4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .location-events-portfolio__header {
    flex-direction: row;
  }
}

.location-events-portfolio__content {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2.4rem;
}

.preventivo-wrp h3 {
  font-weight: 700;
}