/* critical css styles that will be loaded in the head via <link> */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
#ipp-layout {
  background-color: #fff;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
section,
aside,
main,
ul,
li {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
}

a {
  cursor: pointer;
}

.skip-to-content-link > a {
  background: transparent;
  height: 20px;
  left: 10px;
  top: 0;
  position: absolute;
  z-index: 0;
  color: #ffffff;
  transition: transform 0.3s;
}

.skip-to-content-link > a:focus {
  color: #323232;
  background-color: #fff;
  transform: translateY(75px);
  z-index: 1000;
}

.one-row-ellipsis {
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

/* https://stackoverflow.com/a/34559614 */
.two-row-ellipsis {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

/* HeroImage.tsx */
.overlay-gradient {
  background: linear-gradient(0deg, #ffffff 25%, rgba(249, 249, 249, 0) 80%);
}

@media (min-width: 768px) {
  .overlay-gradient {
    background: none;
  }
}

@media (min-width: 1378px) {
  .hero-container img {
    border-radius: 16px;
  }
}

/* Map/Link.tsx */
a[data-testid="map-link"] {
  display: inline;
}

/* AnimatedAward.tsx */
.partner-badge {
  .logo {
    /* override Gemini Avatar border, which is transparent -> looks weird on top of partner svg */
    > div {
      border-color: #eaeaea;
    }
  }
}
