.search {
  padding-bottom: 60px;
}

.search__option {
  padding: 0.3em 1em;
  font-size: 0.8em;
  cursor: pointer;
  background-color: #ccc;
}

.search__option:hover,
.search__option:focus {
  color: #fff;
  background-color: #003366;
  outline: 0 none;
}

.search__lower {
  padding-bottom: 80px;
}

.search__form {
  display: grid;
  grid-template-columns: 1fr 1fr 150px;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .search__form {
    grid-template-columns: initial;
  }
}

.search__select {
  font-size: 20px;
  font-weight: 400;
  color: #2d3039;
  opacity: 0.5;
}

.choices,
.search__select {
  color: #000;
  width: 100%;
  height: 60px;
  padding: 14px;
  margin-bottom: 0;
  background: #fff;
  /* border: 2px solid #d8d0bc; */
  border: 1px solid #a09068;
  border-radius: 10px;
  appearance: none;
  outline-color: #c38d23;
}

@media screen and (max-width: 576px) {

  .choices,
  .search__select {
    height: 50px;
    padding: 10px;
    font-size: 16px;
  }
}

@media screen and (max-width: 576px) {

  .choices::placeholder,
  .search__select::placeholder {
    font-size: 16px;
  }
}

.choices__inner {
  padding: 0;
  background-color: transparent;
  border: none;
}

.choices__list {
  left: 0;
}

.choices__item {
  word-break: normal;
}

.choices .choices__list .choices__list .choices__item--disabled {
  width: 0;
  height: 0;
  padding: 0;
  text-indent: -9999px;
}

.choices__list--single .choices__item {
  width: 400px;
  overflow: hidden;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 1200px) {
  .choices__list--single .choices__item {
    width: 350px;
  }
}

@media screen and (max-width: 1024px) {
  .choices__list--single .choices__item {
    width: 300px;
  }
}

@media (max-width: 925px) {
  .choices__list--single .choices__item {
    width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .choices__list--single .choices__item {
    width: 500px;
  }
}

@media screen and (max-width: 576px) {
  .choices__list--single .choices__item {
    width: 300px;
  }
}

@media (max-width: 360px) {
  .choices__list--single .choices__item {
    width: 200px;
  }
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  top: 104%;
  border-radius: 10px;
}

.is-open .choices__list--dropdown,
.is-open .choices__list[aria-expanded] {
  border: 1px solid #d8d0bc;
}

.search__option {
  width: 100%;
}

.hero {
  background: rgba(226, 224, 217, 0.4);
}

.hero__container--upper {
  padding-top: 50px;
}

.hero__upper {
  display: flex;
  overflow: hidden;
}

.hero__upper-left {
  width: 65%;
}

@media screen and (max-width: 1200px) {
  .hero__upper-left {
    width: 100%;
  }
}

.hero__upper-right {
  position: relative;
  width: 35%;
}

@media screen and (max-width: 1200px) {
  .hero__upper-right {
    display: none;
  }
}

.hero__title {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
}

@media screen and (max-width: 576px) {
  .hero__title {
    max-width: 80%;
    font-size: 22px;
    line-height: 130%;
  }
}

.hero__text {
  margin-bottom: 20px;
  /* font-size: 1px; */
  font-weight: 400;
  line-height: 140%;
}

.hero__speaker {
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: 400;
}

.hero__speaker-name {
  font-weight: 700;
}

.hero__link {
  display: inline-flex;
  margin-bottom: 60px;
}

@media screen and (max-width: 576px) {
  .hero__link {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px;
  }
}

.hero__picture {
  position: absolute;
  bottom: -4px;
  left: 40px;
}

.hero__picture-img {
  width: 354px;
  height: 440px;
  object-fit: contain;
}

.categories__container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding-bottom: 40px;
  padding-top: 100px;
  font-size: 22px;
}

@media screen and (max-width: 576px) {
  .categories__container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.categories__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.categories__text {
  font-weight: 600;
}

.categories__item {
  padding: 12px 20px;
  font-weight: 600;
  color: #a9915a;
  border: 2px solid #dca63d;
  border-radius: 34px;
}

.search-output {
  height: auto;
  opacity: 1;
  transition: 0.3s all ease;
}

.search-output--hidden {
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease;
}

.demo,
.callback {
  background-color: #f3f2ef;
}

.demo--bottom-offset,
.callback--bottom-offset {
  margin-bottom: 100px;
}

@media screen and (max-width: 576px) {

  .demo--bottom-offset,
  .callback--bottom-offset {
    margin-bottom: 60px;
  }
}

.demo__container,
.callback__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* @media screen and (max-width: 576px) {

  .demo__container,
  .callback__container {
    padding-top: 60px;
    padding-bottom: 60px;
  }
} */

.demo__upper {
  padding-bottom: 30px;
}

.demo__title {
  width: 80%;
  font-size: 32px
}

@media screen and (max-width: 768px) {
  .demo__title {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .demo__title {
    font-size: 22px;
    line-height: 130%;
  }
}

.demo__lower {
  display: flex;
}

.demo__lower-left {
  padding-right: 20px;
}

@media screen and (max-width: 768px) {
  .demo__lower-left {
    padding-right: 0;
  }
}

.demo__text {
  margin-bottom: 10px;
  line-height: 140%;
}

@media screen and (max-width: 576px) {
  .demo__text {
    font-size: 16px;
  }
}

.demo__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.demo__list-item {
  position: relative;
  padding-left: 16px;
  font-size: 18px;
}

@media screen and (max-width: 576px) {
  .demo__list-item {
    font-size: 16px;
  }
}

.demo__list-item::before {
  position: absolute;
  left: 0;
  top: 50%;
  content: '-';
  color: #000;
  transform: translateY(-50%);
}

.demo__link {
  display: inline-flex;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .demo__picture {
    display: none;
  }
}

.demo__picture-img {
  width: 400px;
  height: 272px;
  object-fit: contain;
}

.callback__upper {
  display: flex;
}

.callback__upper-left {
  width: 60%;
  padding-top: 30px;
  padding-right: 20px;
}

@media screen and (max-width: 992px) {
  .callback__upper-left {
    width: 50%;
    padding-top: 0;
  }
}

@media screen and (max-width: 576px) {
  .callback__upper-left {
    width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }
}

.callback__title {
  width: 80%;
  margin-bottom: 30px;
  font-size: 32px;
}

@media screen and (max-width: 992px) {
  .callback__title {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .callback__title {
    font-size: 22px;
  }
}

.callback__text {
  width: 85%;
  line-height: 130%;
}

@media screen and (max-width: 992px) {
  .callback__text {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .callback__text {
    font-size: 16px;
  }
}

.callback__upper-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
}

@media screen and (max-width: 992px) {
  .callback__upper-right {
    width: 50%;
  }
}

@media screen and (max-width: 576px) {
  .callback__upper-right {
    display: none;
  }
}

.callback__picture-img {
  width: 344px;
  height: 244px;
  object-fit: contain;
}

.callback__lower {
  padding-top: 30px;
}

@media screen and (max-width: 576px) {
  .callback__lower {
    padding-top: 0;
  }
}

.callback__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  opacity: 1;
  margin-bottom: 20px;
  transition: 0.2 opacity ease;
}

.callback__form--partially-opaque {
  opacity: 0.5;
  transition: 0.2 opacity ease;
}

.callback__input {
  padding: 12px 24px;
  border: 1px solid #a09068;
  border-radius: 8px;
}

.callback__input::placeholder {
  color: #a19679;
}

.callback__submit-text {
  font-size: 26px;
  font-weight: 500;
}

@media screen and (max-width: 576px) {
  .callback__submit-text {
    font-size: 22px;
  }
}

.callback__policy {
  font-size: 14px;
  line-height: 130%;
  color: #5a5b5e;
}

@media screen and (max-width: 576px) {
  .callback__policy {
    text-align: center;
  }
}

.callback__policy-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}