.table__item img {
            max-width: 100%;
        }
        .teachers-list {
            font-family: 'Montserrat';
            padding: 170px 90px 40px;
            background-color: #6dcdfd;
        }
        .teachers-list h1 {
            font-size: 40px;
            text-align: center;
            color: #ffffff;
        }
        .teachers-list__table {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1160px;
            margin: 40px auto;
        }
        .table__item {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background-color: #ffffff;
            border-radius: 30px;
            padding: 20px;
        }
        .item-header {
            display: flex;
            gap: 30px;
            margin-bottom: 30px;
        }
        .photo {
            width: 60px;
            height: 60px;
            background-color: black;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .name {
            font-size: 20px;
            font-weight: bold;
        }
        .link {
            width: 32px;
        }
        .item-content {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 30px;
        }
        .block-header {
            font-size: 20px;
            font-weight: 600;
        }
        .join-button {
            background-color: #3e86ea;
            padding: 10px;
            border-radius: 30px;
            text-transform: uppercase;
            text-align: center;
            color: #ffffff;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .join-button:hover {
            background-color: #fc70c9;
        }
        .more-link {
            color: black !important;
            text-decoration: none;
            border-bottom: 1px solid;
            display: block;
            text-align: center;
            width: fit-content;
            margin: 10px auto 0;
        }
        .filter {
            margin-top: 20px;
            max-width: 1160px;
            margin: 0 auto;
        }
        .filter h2 {
            color: #ffffff;
        }
        .categories {
            margin-top: 10px;
            display: flex;
            gap: 10px;
        }
        .category-item {
            padding: 10px;
        }
        .link {
            width: 70px;
        }
        .big-photo {
            width: 300px;
            height: 300px;
        }
        .main-info-big {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .join-button-big {
            max-width: 300px;
            margin: 0 auto;
        }