*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  block-size: 100%;
}

.page {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 1200px;
  block-size: 100%;
  margin: auto;
  color: #fff;
  font-family: 'Fira Sans Condensed', Arial, sans-serif;
  font-size: 18px;
  background-color: #1b1919;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
blockquote,
fieldset {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.content {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  margin: 0 auto;
  inline-size: 1140px;
}

.result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.result__video-container {
  position: relative;
  inline-size: 711px;
  block-size: 386px;
  margin-block-end: 16px;
}

.result__video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.search-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.search-form__fieldset {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  max-width: 212px;
  border: none;
  background: transparent;
  appearance: none;
}

.search-form__fieldset-title {
  font-family: 'Fira Sans Condensed', Arial, sans-serif;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.search-form__label {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  cursor: pointer;
}

.search-form__label:has(:focus-visible) {
  outline: 1px solid #fff;
  outline-offset: 1px;
}

.search-form__label-text {
  text-decoration: none;
}

.search-form__label:hover .search-form__label-text {
  text-decoration: underline;
}

.search-form__textfield {
  min-inline-size: 225px;
  min-block-size: 27px;
  background-color: transparent;
  border: none;
  border-block-start: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  appearance: none;
  font-family: 'Fira Sans Condensed', Arial, sans-serif;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.search-form__textfield:focus {
  outline: none;
}

.search-form__checkbox-list {
  display: flex;
  gap: 15px;
}

.search-form__pseudo-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 19px;
  block-size: 19px;
  border: 1px solid #fff;
}

.button {
  background-color: initial;
  border: 1px solid currentColor;
  font-family: 'Fira Sans Condensed', Arial, sans-serif;
  cursor: pointer;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.button:active {
  background-color: #545050;
}

.button:hover {
  text-decoration: underline;
}

.button:focus {
  outline: none;
}

.button:focus-visible {
  outline: 1px solid #fff;
}

.search-form__submit-button {
  align-self: flex-end;
  min-block-size: 34px;
  min-inline-size: 194px;
}

.content__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  block-size: 100%;
  inline-size: 100%;
}

.title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 75px;
  font-style: normal;
  font-weight: 700;
  line-height: 70.5px;
  text-transform: uppercase;
}

.content__accent {
  color: #545050;
}

.content__list {
  position: relative;
  overflow: auto;
  block-size: 298px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.content__list-item:not(:last-of-type) {
  margin-block-end: 30px;
}

.content__card-link {
  color: inherit;
  display: block;
  text-decoration: none;
  margin: 2px;
}

.content__card-link:active {
  background: #545050;
}

.content__card-link_current {
  background-color: #545050;
}

.content__card-link:focus {
  outline: none;
}

.content__card-link:focus-visible {
  outline: 1px solid #fff;
}

.content__card-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.content__video-card {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.content__video-card-description-container {
  color: #FFF;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.content__video-card-description {
  line-height: 16.2px;
}

.content__video-card-title {
  margin-block-end: 6px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 30px;
  font-style: normal;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content__video-card-thumbnail {
  min-inline-size: 194px;
  block-size: 103px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.more-button {
  inline-size: 100%;
  min-block-size: 34px;
}

.search-form__checkbox:checked + .search-form__pseudo-checkbox::after {
  content: '';
  margin: auto;
  min-inline-size: 15px;
  min-block-size: 15px;
  background-color: #fff;
} 