/* Общие стили */
body {
    font-family: 'Tektur', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
  }

  .container {
    width: 90%;
    display: flex;
    justify-content: center;
  }

  .header {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
  }

  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }

  .menu li {
    margin-right: 20px;
  }

  .menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }

  .btn {
    background-color: red;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
  }

  /* Главная часть */
  .main {
    padding-top: 122px;
    padding-buttom: 100px;
    padding-left: 138px;
    padding-right: 138px;
  }

  .page-title {
    font-size: 74px;
    line-height: 102.3%;
    margin-top: 80px;
    margin-bottom: 90px;
    font-family:Lozung Caps;
    color: #181D27;
  }

  .layout {
    display: flex;
    gap: 20px;
  }

  /* Секция фильтров */
  .filters {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
  }

  .filters_title {
    text-transform: uppercase;
    line-height: 57px;
    font-weight: 500;
    font-size: 20px;
    font-family: Tektur;
    color: #363A41;

  }


  .filters h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .filter_plate {
    margin-bottom: 10px;
    font-size: 0.9rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    width: 250px;
  }

  .filter_plate span {
    margin-bottom: 30px;
  }

  .filter_plate label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }

  .filter_caption {
    font-family: Tektur;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: #363A41;
  }

  .form-select {
    background-color: rgba(19, 24, 34, 0.029999999329447746) !important;
    border-radius: 5px;
    color: rgba(19, 24, 34, 0.4000000059604645) !important;
    text-align: left;
    vertical-align: text-top;
    font-size: 14px;
    font-family: Tektur;
    line-height: 18.2px;
    outline: none;
    border: none;
    padding: 10px;
    font-weight: 500;
    text-transform: uppercase;
  }

.checkbox {
  /*position: absolute;*/
  z-index: -1;
  opacity: 0;
}

.checkbox+label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.checkbox+label::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #adb5bd;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.checkbox:checked+label::before {
  	border-color: rgba(200.00000327825546, 0, 1.0000000591389835, 1);
	background-color:rgba(200.00000327825546, 0, 1.0000000591389835, 1);
}

/* стили при наведении курсора на checkbox */
.checkbox:not(:disabled):not(:checked)+label:hover::before {
  border-color: rgba(250.00000327825546, 0, 1.0000000591389835, 0.5);
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.checkbox:not(:disabled):active+label::before {
  background-color: rgba(250.00000327825546, 0, 1.0000000591389835, 0.5);
  border-color: #b3d7ff;
}
/* стили для чекбокса, находящегося в фокусе */
.checkbox:focus+label::before {
  box-shadow: 0 0 0 0.2rem rgba(150.00000327825546, 0, 1.0000000591389835, 0.3);
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.checkbox:focus:not(:checked)+label::before {
  border-color: #80bdff;
}
/* стили для чекбокса, находящегося в состоянии disabled */
.checkbox:disabled+label::before {
  background-color: #e9ecef;
}

section {
  padding: 20px;
  min-width: 80%;
}

.search_container {
  width: 100%;
  display: flex;
  margin-top: 15px;
  margin-bottom: 15px;
}

.search_icon_block {
    background-color: #181D27;
    width: 60px;
    height: 100%;
}

.search_icon {
    height: 38px;
    margin-left: 13px;
    margin-right: 20px;
    margin-top: 10px;
}

.search_block {
    border: 1px solid #363A4129;
    background: #FFFFFF;
    border-radius: 5px;
    display: flex;
    width: 100%;
    margin-right: 10px;
}

.search {
    border: none;
	width: 100%;
	font-family:Tektur;
	text-align:left;
	font-size:16px;
	color:rgba(24.000000469386578, 29.000000171363354, 39.00000147521496, 0.699999988079071);
    font-weight: 500;
    text-indent: 30px;
    line-height: 22.93px;
    letter-spacing: -0.01em;
}

.search:focus-visible {
	outline: unset;
}

.sort_container {
	width: calc((100% - 250px)/3);
	background-color:rgba(255, 255, 255, 1);
	border-radius: 5px;
	padding-left: 10px;
	padding-right: 10px;

}

.search_sort {
	width: 100%;
	color:rgba(24.000000469386578, 29.000000171363354, 39.00000147521496, 0.699999988079071);
	font-family:Tektur;
	text-align:left;
	font-size:16px;
    line-height: 133.3%;
    font-weight: 500;
	background-color:transparent;
	height: 60px;
	border-style: unset;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.search_sort:not([multiple]) {
  padding-right: 1.2em;
  background-repeat: no-repeat;
  background-position: calc(100% - 0.25em) 1.6em;
  background-size: 0.65em auto;
  background-image: url("../../../../main/static/main/imgs/light/arrow.png");
}

.search_sort:focus-visible {
	outline: unset;
}

  /* Карточки курсов */
  .courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 3;
  }

  .course-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    padding-bottom: 10px;
  }

  .course-card:hover {
    transform: translateY(-5px);
  }

  .course-img {
    width: 100%;
    height: 218px;
    object-fit: cover;
  }

  .course-content {
    padding: 15px;
  }

  .course-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .course-content p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    word-wrap: break-word;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 55px;
    margin-bottom: 10px;
  }

  .course-footer {
    padding-top: 15px;
  }

  .course-footer .price {
    color: white;
    background-color: #C80001;
    border-radius: 50px;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    gap: 10px;
    font-family: Tektur;
    font-weight: 600;
    font-size: 13px;
    line-height: 22.53px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .course-footer .free_price {
    color: white;
    background-color: #30A9DE;
    border-radius: 50px;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    gap: 10px;
    font-family: Tektur;
    font-weight: 600;
    font-size: 13px;
    line-height: 22.53px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .course-footer .duration {
    background-color: #E8EBF0;
    border-radius: 50px;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    gap: 10px;
    font-family: Tektur;
    font-weight: 600;
    font-size: 13px;
    line-height: 22.53px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: 10px;
  }

  /* Тег проверено */
  .tag {
    display: flex;
    align-items: center;
    position: absolute;
    background-color: white;
    padding: 10px;
    border-radius: 50px;
    font-family: Tektur;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #181D27;
    text-transform: uppercase;
    z-index: 999;
    margin-left: 15px;
    margin-top: 25px;
  }

  .green_circle {
    content: " ";
    border-radius: 60px;
    background-color: #09CF88;
    margin-right: 5px;
    margin-top: 1px;
    width: 10px;
    height: 10px;
    display: inline-block;
  }
