@charset "UTF-8";
:root {
  --black: #111111;
  --red: #C9212B;
  --silver-grey: #818C99;
  --light-grey: rgba(167, 167, 201, 0.15);
  --light-grey2: rgba(167, 167, 201, 0.25);
  --light-grey100: rgb(242, 242, 247);
  --card: rgb(255, 255, 255);
  --header-color: #ffffff;
  --visited-title-color: #111111;
  --combo-bg: #ffffff;
  --combo-color: #111111;
  --pill-bg: #111111;
  --pill-color: #ffffff;
  --pill-bg-default: rgba(167, 167, 201, 0.1490196078);
  --pill-color-default: #111111;
  --custom-input-field: rgba(17, 17, 17, 0.02);
  --custom-search-color: rgba(167, 167, 201, 0.15);
}

:root[data-theme=dark] {
  --black: #ffffff;
  --red: #C9212B;
  --silver-grey: #797979;
  --light-grey: rgba(255, 255, 255, 0.06);
  --light-grey2: rgba(255, 255, 255, 0.16);
  --light-grey100: rgb(31, 31, 31);
  --card: rgb(28, 28, 28);
  --header-color: #1c1c1c;
  --visited-title-color: #ffffff;
  --combo-bg: rgba(255, 255, 255, 0.0588235294);
  --combo-color: #ffffff;
  --pill-bg: #ffffff;
  --pill-color: #111111;
  --pill-bg-default: rgba(255, 255, 255, 0.0588235294);
  --pill-color-default: #ffffff;
  --custom-input-field: rgba(255, 255, 255, 0.03);
  --custom-search-color: rgba(255, 255, 255, 0.06);
}

.section {
  max-width: 752px;
  margin: auto;
  padding-top: 100px;
}
@media screen and (max-width: 768px) {
  .section {
    padding-top: 60px;
  }
}
.section__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 24px;
}
.section__header h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--black);
  margin: 0;
}
.section__link {
  font-size: 15px;
  line-height: 20px;
  color: var(--silver-grey);
  text-decoration: none;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;
}
@media screen and (max-width: 768px) {
  .section__link span {
    display: none;
  }
}
.section__link:hover {
  color: var(--black);
}
.section__link:hover svg path {
  stroke: var(--black) !important;
}

.header {
  padding: 12px 0px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header.active {
  -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
  background: var(--card);
  z-index: 100;
}
.header__logo {
  width: 350px;
}
.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 976px) {
  .header__menu {
    display: none;
  }
}
.header__menu .menu__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__menu .menu__link {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.header__menu .menu__link:hover {
  opacity: 92%;
}
.header__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  width: 350px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.header__login {
  padding: 12px 24px;
  background: var(--pill-bg);
  color: var(--pill-color);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}
.header__login:hover {
  opacity: 92% !important;
  background: var(--pill-color-default) !important;
}
@media screen and (max-width: 768px) {
  .header__login {
    padding: 12px;
    font-size: 0;
    gap: 0;
  }
}
.header__register {
  padding: 12px 24px;
  background: var(--light-grey);
  color: var(--black);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
}
.header__register:hover {
  background: rgba(167, 167, 201, 0.25);
}
.header__change-theme {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 12px;
  background: var(--light-grey);
  border-radius: 12px;
  text-decoration: none;
}
.header__change-theme:hover {
  background: rgba(167, 167, 201, 0.25);
}
@media screen and (max-width: 976px) {
  .header__change-theme {
    display: none;
  }
}
.header__hamburger {
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 12px;
  background: var(--light-grey);
  border-radius: 12px;
  text-decoration: none;
}
.header__hamburger:hover {
  background: rgba(167, 167, 201, 0.25);
}
@media screen and (max-width: 976px) {
  .header__hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
  padding: 16px;
  right: 38px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.02);
  z-index: 99;
}
.mobile-menu.active {
  display: block;
}
.mobile-menu ul {
  list-style-type: none;
  margin-right: 0;
  margin-left: 0;
  margin: 0;
  padding: 0;
}
.mobile-menu ul li {
  margin-bottom: 12px;
  padding-top: 12px;
}
.mobile-menu ul li:first-child {
  padding-top: 0;
}
.mobile-menu ul li:last-child {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid var(--light-grey);
}
.mobile-menu ul li a {
  font-size: 15px;
  line-height: 20px;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}

.theme-toggle-mobile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  cursor: pointer;
}

.header__hamburger svg {
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.icon-close {
  display: none;
}

.header__hamburger.active .icon-burger {
  display: none;
}

.header__hamburger.active .icon-close {
  display: inline;
}

.search h1 {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  color: var(--black);
  text-align: center;
  margin-top: 0;
}
.search__img {
  text-align: center;
  margin-bottom: 36px;
}
.search__img svg {
  border-radius: 16px;
  -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
}
.search__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--custom-input-field);
  gap: 12px;
  border: 1px solid var(--light-grey);
  border-radius: 16px;
  padding: 16px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 36px;
}
.search__input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 17px;
  line-height: 24px;
  color: var(--black);
  width: 100%;
}
.search__input::-webkit-input-placeholder {
  color: var(--silver-grey);
}
.search__input::-moz-placeholder {
  color: var(--silver-grey);
}
.search__input:-ms-input-placeholder {
  color: var(--silver-grey);
}
.search__input::-ms-input-placeholder {
  color: var(--silver-grey);
}
.search__input::placeholder {
  color: var(--silver-grey);
}

.cards {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 16px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media screen and (max-width: 768px) {
  .cards {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.cards__item {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
  padding: 8px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  cursor: pointer;
}
.cards:has(.cards__item:hover) .cards__item {
  -webkit-box-shadow: none;
          box-shadow: none;
  background: transparent;
}
.cards:has(.cards__item:hover) .cards__item:hover {
  -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
  -webkit-transition: -webkit-box-shadow 0.3s ease;
  transition: -webkit-box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
  background: var(--card);
}
.cards__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 2px;
}
.cards__title {
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--black);
}
.cards__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: var(--silver-grey);
}

.table__item {
  padding: 16px 0;
  border-top: 1px solid var(--light-grey);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
.table__item:last-of-type {
  border-bottom: 1px solid var(--light-grey);
}
@media screen and (max-width: 768px) {
  .table__item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse;
            flex-flow: row-reverse;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.table__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
}
@media screen and (max-width: 768px) {
  .table__content {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .table__users {
    width: 36px;
    height: 36px;
  }
}
.table__title {
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--black);
}
@media screen and (max-width: 768px) {
  .table__title {
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
  }
}
.table__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: var(--silver-grey);
}

.user-avatars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.user-avatars img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: -5px;
}
@media screen and (max-width: 768px) {
  .user-avatars img {
    display: none;
  }
  .user-avatars img:last-child {
    width: 36px;
    height: 36px;
    display: block;
  }
}

.tag-pill {
  display: inline-block; /* или block */
}

.tag-pill:not(:last-child)::after {
  content: "·";
  margin-left: 4px;
  margin-right: 4px;
}

.tag-pill::first-letter {
  text-transform: uppercase;
}

.footer {
  margin-top: 100px;
  background: var(--custom-input-field);
  border-top: 1px solid var(--light-grey);
  padding: 24px 0;
}
.footer__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
}
.footer__left span {
  font-size: 15px;
  line-height: 20px;
  color: var(--black);
  font-weight: 500;
}
.footer__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 36px;
}
@media screen and (max-width: 768px) {
  .footer__right {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
}
.footer__text {
  font-size: 15px;
  line-height: 20px;
  color: var(--black);
  font-weight: 500;
}
.footer__link {
  font-size: 15px;
  line-height: 20px;
  color: var(--black);
  font-weight: 500;
  cursor: pointer;
}
.footer__link:hover {
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  .footer__link {
    display: none;
  }
}

.footer-mobile {
  display: none;
}
@media screen and (max-width: 768px) {
  .footer-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
  }
}
.footer-mobile__link {
  font-size: 15px;
  line-height: 20px;
  color: var(--black);
  font-weight: 500;
  cursor: pointer;
}
.footer-mobile__link:hover {
  opacity: 0.8;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--pill-color);
}

.container {
  padding: 0 36px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  max-width: 1920px;
}
@media screen and (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

a {
  text-decoration: none; /* убирает подчёркивание */
  color: inherit; /* берёт цвет текста родителя */
}

.logo {
  display: none;
}

:root[data-theme=light] .logo--light {
  display: block;
}

:root[data-theme=dark] .logo--dark {
  display: block;
}
