@charset "UTF-8";
.teachers_section h2 {
  text-align: center; }

.teachers_section .teachers_wrap {
  margin-top: 45px; }

.teachers_item {
  background-color: var(--wp--preset--color--beige-background);
  background-image: linear-gradient(90deg, rgba(254, 146, 56, 0.4) 0.03%, rgba(254, 146, 56, 0) 78.62%);
  display: flex;
  gap: 40px;
  padding: 15px;
  margin-bottom: 20px; }
  @media screen and (max-width: 575px) {
    .teachers_item {
      background-image: linear-gradient(181deg, rgba(254, 146, 56, 0.4) 0.03%, rgba(254, 146, 56, 0) 78.62%); } }
  @media screen and (max-width: 575px) and (max-width: 575px) {
    .teachers_item {
      background: #fe9238;
      background: linear-gradient(0deg, rgba(254, 146, 56, 0.4) 0%, #f8f5f2 30%, rgba(248, 245, 242, 0.4) 40%, rgba(254, 146, 56, 0.4) 100%); } }
  @media screen and (max-width: 992px) {
    .teachers_item {
      flex-direction: column; } }
  @media screen and (max-width: 768px) {
    .teachers_item {
      padding: 15px; } }
  .teachers_item .teachers_item_img {
    max-width: 633px;
    width: 100%; }
    @media screen and (max-width: 992px) {
      .teachers_item .teachers_item_img {
        max-width: 100%; } }
  .teachers_item p {
    color: var(--wp--preset--color--black-text); }
  .teachers_item h5 {
    margin-top: 15px;
    margin-bottom: 30px; }
    @media screen and (max-width: 992px) {
      .teachers_item h5 {
        margin-top: 15px;
        margin-bottom: 15px; } }
  .teachers_item .teachers_item_text {
    max-width: 416px;
    width: 100%; }
    @media screen and (max-width: 992px) {
      .teachers_item .teachers_item_text {
        max-width: 100%; } }
  .teachers_item img {
    border-radius: 10px;
    width: 100%; }

.teachers_item.teachers_item .wp-block-image img {
  height: 100%; }

.teachers_item_img {
  position: relative; }
  .teachers_item_img .teacher_badge {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 8px 12px;
    border-radius: 100px;
    background-color: #fff; }
    @media screen and (max-width: 575px) {
      .teachers_item_img .teacher_badge {
        padding: 4px 10px;
        top: 8px;
        left: 8px;
        bottom: auto; } }
    .teachers_item_img .teacher_badge p {
      font-weight: 400;
      font-size: 15px;
      line-height: 20.25px;
      letter-spacing: 0%;
      margin-bottom: 0; }
      @media screen and (max-width: 575px) {
        .teachers_item_img .teacher_badge p {
          font-size: 11px; } }

@media screen and (max-width: 575px) {
  .teachers_item.teachers_item_bg {
    background: #fe9238;
    background: linear-gradient(0deg, rgba(254, 146, 56, 0.4) 0%, #f8f5f2 24%, #f8f5f2 84%, rgba(254, 146, 56, 0.4) 100%); } }

.directions-list {
  max-width: 100%;
  -webkit-column-gap: 30px;
     -moz-column-gap: 30px;
          column-gap: 30px; }
  @media screen and (min-width: 768px) {
    .directions-list {
      -webkit-columns: 2;
         -moz-columns: 2;
              columns: 2; } }

/* На мобільних (до 768px) приховуємо елементи після третього */
@media (max-width: 768px) {
  .directions-list li:nth-child(n+4) {
    display: none; }
  .toggle-btn {
    display: block; } }

/* На десктопі весь список видно і кнопка ховається */
@media (min-width: 769px) {
  .btn-tr-arrow {
    display: none; } }

.btn-tr-arrow {
  margin-top: 20px; }
  .btn-tr-arrow:hover {
    background-color: #fff4df; }
  .btn-tr-arrow.active p {
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.7025 9.30627C11.4438 9.56199 11.026 9.56455 10.7642 9.31394L10.7563 9.30627L6.49844 5.09687L2.24059 9.30627C1.98192 9.562 1.56414 9.56455 1.30229 9.31394L1.2944 9.30627C1.03573 9.05054 1.03314 8.63752 1.28664 8.37864L1.2944 8.37085L6.02534 3.69373C6.28401 3.43801 6.70179 3.43545 6.96364 3.68606L6.97153 3.69373L11.7025 8.37084C11.9638 8.62915 11.9638 9.04796 11.7025 9.30627Z' fill='%23514229'/%3E%3C/svg%3E%0A"); }
  .btn-tr-arrow p {
    margin-inline: auto;
    font-weight: 600;
    font-size: 14px;
    line-height: 135%;
    letter-spacing: 0%;
    color: #514229;
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 0;
    padding-right: 22px;
    background-position: center right;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.29752 3.69373C1.55619 3.43801 1.97397 3.43545 2.23583 3.68606L2.24371 3.69373L6.50156 7.90313L10.7594 3.69373C11.0181 3.43801 11.4359 3.43545 11.6977 3.68606L11.7056 3.69373C11.9643 3.94946 11.9669 4.36249 11.7134 4.62136L11.7056 4.62916L6.97466 9.30627C6.71599 9.562 6.29821 9.56455 6.03635 9.31394L6.02847 9.30627L1.29752 4.62916C1.03624 4.37085 1.03624 3.95204 1.29752 3.69373Z' fill='%23514229'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat; }

.teachers_item .wp-block-reiki-product .wp-block-buttons.is-content-justification-center {
  justify-content: flex-start; }

.teachers_item .price {
  font-weight: var(--wp--preset--color--black-text); }
