@import 'global.css';

#ask-data {
  background-color: #ffffff;
  color: #032D60;
  font-family: 'Moriston', arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}

section {
  margin: 4rem 0;
}

.grid {
  display: grid;
  min-width: 20rem;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr 20fr 1fr;
}

.container-full {
  grid-column: 2 / span 1;
}

.container-lg,
.container-med,
.container-sm {
  grid-column: 2 / span 1;
}

@media screen and (min-width: 50rem) {
  .grid {
    grid-template-columns: 1fr 10fr 1fr;
  }
  .container-full,
  .container-lg,
  .container-med,
  .container-sm {
    grid-column: 2 / span 1
  }
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.15rem;
}

section h2:first-of-type {
  margin-top: 0;
}

:has(h2+p) h2,
:has(h3+p) h3 {
  margin-bottom: 0;
}

:is(h1, h2, h3, h4, h5, h6)+p {
  margin-top: .5rem;
}

p {
  font-size: 1.125rem;
  font-weight: 500;
  /* max-width: 36em; */
}
ul {
  padding-inline-start: 1.25em;
}

li strong:first-child {
  font-weight: 600;
}

figcaption {
  font-size: clamp(.875rem, 1vw, 1rem);
  margin-top: .5rem;
  max-width: 35em;
}

/* --------------------------------- Sections -----------*/
img {
  max-width: 100%;
  width: 100%;
}
#intro {
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  background: linear-gradient(180deg, rgba(223, 249, 255, 0.00) 42.71%, #DBEEFB 100%), #FFF;
}
.intro-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: auto;
  max-width: 1600px;
}
.intro-title {
  flex: 1 1 50%;
  padding: 2em;
  box-sizing: border-box;
}
.intro-img {
  box-sizing: border-box;
  flex: 1 1 50%;
  padding: 2em 2em;
  max-width: 960px;
  text-align: center;
}
.intro-img img {
  display: inline-block;
  width: 100%;
}
@media screen and (max-width: 1200px){
  .intro-title {
    min-width: 70vw;
  }
  .intro-img {
    padding-top: 0;
  }
}

#intro h1 {
  margin-bottom: 0;
  margin-top: 0;
}
#intro h4.tags {
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0;
}

/* ---------------- */

.img-search, .img-refinement {
  flex: 1 1 50%;
  box-sizing: border-box;
  padding: 2em;
}

.img-container {
  position: relative;
  z-index: 1;
  border: 2px solid #bfc8d2;
  aspect-ratio: 1502/845;
  display: flex;
  justify-content: stretch;
  align-items: center;
}
.img-container:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 4px;
  width: 95%;
  height: 90%;
  left: 2.5%;
  bottom: 10px;
  opacity: .25;
  background-color: #000000;
  z-index: -1;
  box-shadow: 0 0 16px 8px #000000;
}
.img-search video {
  width: 100%;
  max-width: 100%;
}
.img-refinement {
  height: 100%;
}
@media screen and (max-width: 1200px){
  .img-search, .img-refinement {
    min-width: 70vw;
    max-width: 800px;
  }
}