#showAnotherWorks {
    padding: 15px 30px; /* Отступы кнопки */
    border: none; /* Убираем границу */
    border-radius: 5px; /* Закругленные углы кнопки */
    background-color: #4CAF50; /* Цвет фона кнопки */
    color: white; /* Цвет текста кнопки */
    font-size: 16px; /* Размер шрифта */
    cursor: pointer; /* Указатель мыши при наведении */
    transition: transform 0.1s ease, background-color 0.1s ease; /* Плавный переход для анимации */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень для кнопки */
}

#autoLoadSentinel {
    height: 1px;
}

#showAnotherWorks.manual-needed {
    background-color: #2f8a35;
    box-shadow: 0 0 0 3px rgba(76, 180, 80, 0.89), 0 10px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(15, 23, 42, 0.65);
    transition: transform 140ms ease, background-color 160ms ease, color 160ms ease;
}

.like-btn:hover {
    background: rgba(2, 6, 23, 0.06);
}

.like-btn:active {
    transform: scale(0.98);
}

.like-btn .like-btn__icon {
    display: inline-block;
    font-size: 16px;
    transform: translateY(-0.5px);
    filter: grayscale(1);
    opacity: 0.55;
    transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.like-btn.liked {
    color: rgba(220, 38, 38, 0.95);
}

.like-btn.liked .like-btn__icon {
    filter: grayscale(0);
    opacity: 1;
}

.like-btn__count {
    font-weight: 800;
    font-size: 13px;
}

@keyframes likeBurst {
    0% { transform: scale(1); }
    45% { transform: scale(1.35) rotate(-8deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.like-btn--burst .like-btn__icon {
    animation: likeBurst 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.like-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}

.like-modal--hidden {
    display: none;
}

.like-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
}

.like-modal__dialog {
    position: relative;
    width: min(420px, calc(100% - 28px));
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.35);
}

.like-modal__text {
    font-size: 14px;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.92);
}

.like-modal__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.like-modal__btn {
    border: none;
    background: #4CAF50;
    color: white;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
}

/* Карточки презентаций */
.prst {
    width: min(740px, 100%);
    margin: 16px auto;
    padding: 14px;
    background: #e5d2d2;
    border-radius: 8px;
    border: none;
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.12);
    transition: transform 180ms ease, box-shadow 220ms ease;
}

.prst:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 64px rgba(2, 6, 23, 0.16);
}

.prst h2 {
    margin-bottom: 10px;
    color: rgba(15, 23, 42, 0.92);
    font-size: 20px;
    font-weight: 800;
}

.prst .headerDate {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.60);
    letter-spacing: 0.02em;
}

.prst h2 a {
    color: rgba(15, 23, 42, 0.92);
    text-decoration: none;
}

.prst h2 a:hover {
    text-decoration: underline;
}

.prst video,
.prst iframe {
    border-radius: 14px;
    overflow: hidden;
}

.prst > div {
    margin-top: 10px;
}

.prst div[style*="display: flex"] {
    gap: 10px;
}

.prst div[style*="display: flex"] video,
.prst div[style*="display: flex"] iframe {
    width: 50% !important;
    max-height: 220px;
    object-fit: cover;
}

.prst h3 {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.78);
}

.prst > div:last-child {
    display: none;
}

@media (max-width: 560px) {
    .prst {
        width: 100%;
        padding: 12px;
        border-radius: 16px;
    }

    .prst div[style*="display: flex"] {
        flex-direction: column;
    }

    .prst div[style*="display: flex"] img,
    .prst div[style*="display: flex"] video,
    .prst div[style*="display: flex"] iframe {
        width: 100% !important;
        max-height: 260px;
    }
}




.town-teacher {
  display: flex;
  align-items: center;
  padding: 0 3%;
  gap: 10px;
}

/* левый заголовок */
.town-teacher .left {
  margin: 0;
}

/* правый заголовок */
.town-teacher .right {
  margin: 0 0 0 auto;
  text-align: right;

  /* 🔥 ключевые фиксы */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}