#main-header .logo_container a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

#main-header #logo {
  width: min(330px, 28vw);
  max-width: 330px;
  max-height: 58px !important;
  height: auto !important;
  object-fit: contain;
}

.et-fixed-header #logo {
  width: min(285px, 25vw);
  max-height: 48px !important;
}

.curatec-hero-section.et_pb_section {
  padding: 0 !important;
  background: #fff !important;
}

.curatec-hero {
  display: block;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 36 / 13;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
}

.curatec-hero:focus-visible {
  outline: 3px solid #da593d;
  outline-offset: -3px;
}

.curatec-hero picture,
.curatec-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 981px) and (max-width: 1199px) {
  #main-header #logo {
    width: min(240px, 24vw);
    max-height: 48px !important;
  }
}

@media (max-width: 980px) {
  #main-header #logo,
  .et-fixed-header #logo {
    width: min(72vw, 300px);
    max-width: 300px;
    max-height: 50px !important;
  }

  .curatec-hero-section,
  .curatec-hero {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .curatec-hero {
    height: auto !important;
    aspect-ratio: 36 / 13;
  }

  .curatec-hero img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }

  .curatec-hero-section + .et_pb_section_1 .et_pb_row_0 {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 767px) {
  .curatec-hero {
    aspect-ratio: 39 / 56;
  }
}

@media (max-width: 479px) {
  #main-header #logo,
  .et-fixed-header #logo {
    width: min(56vw, 220px);
    max-height: 46px !important;
  }

  .et_pb_blog_grid .et_pb_image_container {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .et_pb_blog_grid .et_pb_image_container img {
    width: 100%;
  }
}
