@media (min-width: 761px) and (max-width: 980px) {
    .seoTop__content {
        width: min(1240px, calc(100% - 20px));
    }

    .brand {
        margin-right: auto;
    }

    .header-actions {
        margin-left: auto;
    }

    .site-header__inner {
        gap: 12px;
    }

    .primary-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .layout__sidebar {
        order: 2;
    }
}

@media (max-width: 760px) {
    .seoTop__content {
        width: min(calc(100% - 20px), 1180px);
    }

    .site-header__inner {
        width: min(calc(100% - 20px), 1180px);
        min-height: 64px;
        gap: 8px;
    }

    .site-footer__inner,
    .seo-text__inner {
        width: min(calc(100% - 20px), 1180px);
    }

    .page-shell,
    .mobile-menu {
        width: 100%;
    }

    .brand {
        margin-right: auto;
    }

    .brand__name {
        font-size: 20px;
    }

    .header-actions {
        margin-left: auto;
        gap: 5px;
    }

    .primary-nav {
        display: none;
    }

    .search-toggle,
    .user-toggle,
    .menu-toggle {
        width: 38px;
        min-width: 38px;
        display: inline-grid;
        place-items: center;
    }

    .theme-toggle {
        width: 38px;
        min-width: 38px;
    }

    .theme-toggle svg,
    .user-toggle svg,
    .search-toggle svg,
    .menu-toggle svg {
        width: 20px;
        height: 20px;
    }

    .user-menu-panel {
        right: -46px;
        top: calc(100% + 10px);
    }

    .header-search {
        left: 10px;
        right: 10px;
        top: 70px;
        width: auto;
        border-color: rgba(255, 255, 255, .12);
    }

    .page-heading {
        padding: 20px 10px 18px;
    }

    .page-heading h2 {
        font-size: 26px;
    }

    .layout {
        grid-template-columns: 1fr;
        padding-inline: 10px;
        padding-top: 18px;
    }

    .layout__sidebar {
        order: 2;
    }

    .broadcast-tabs {
        grid-template-columns: repeat(5, minmax(118px, 1fr));
        margin-bottom: 22px;
    }

    .broadcast-tabs .nav-link {
        min-height: 58px;
        font-size: 14px;
    }

    .sport-group__title {
        margin-left: 10px;
        font-size: 19px;
    }

    .tournament-group {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .tournament-group__title {
        min-height: 44px;
        padding: 0 12px;
    }

    .match-row {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 54px;
    }

    .match-row__time,
    .match-row__title {
        min-height: 54px;
    }

    .match-row__time {
        justify-content: center;
        border-right: 1px solid var(--border);
       
    }

    .match-row__title {
        padding: 0 12px;
        font-size: 15px;
    }

    .story-card {
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 12px;
        padding: 18px 16px;
    }

    .story-card__meta {
        grid-column: 1 / -1;
        grid-row: auto;
        align-self: auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
        padding: 0 0 10px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .story-card__date {
        flex: 0 0 auto;
        min-width: 0;
    }

    .story-card__date-value {
        font-size: 15px;
        white-space: nowrap;
    }

    .story-card__category {
        min-width: 0;
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 13px;
    }

    .story-card__category::before {
        content: "";
        width: 6px;
        height: 6px;
        display: inline-block;
        margin: 0 8px 2px 0;
        border-radius: 50%;
        background: var(--text-muted);
    }

    .story-card__category a {
        display: inline;
    }

    .story-card__body {
        grid-column: 1;
    }

    .story-card h2 {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .story-card__summary {
        font-size: 14px;
    }

    .full-text {
        font-size: 15px;
        line-height: 1.55;
    }

    .story-card__arrow {
        grid-column: 2;
        grid-row: 2;
        font-size: 26px;
    }

    .full-story,
    .static-page,
    .form-page,
    .message-box,
    .search-page,
    .profile-page,
    .pm-page,
    .stats-page,
    .comments-area,
    .add-comment {
        padding: 14px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .seo-text__inner {
        padding-bottom: 22px;
    }

    .seo-text__box {
        padding: 16px;
    }

    .site-footer__inner {
        gap: 22px;
        padding: 18px 0;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-links {
        gap: 7px;
    }

    .footer-links a {
        min-height: 36px;
        font-size: 14px;
    }
    .player__empty {
    min-height: 180px;
    padding: 18px;
    }
    
    .player-countdown__label {
        font-size: 13px;
    }
    
    .player-countdown__value,
    .player-countdown-fallback {
        font-size: 22px;
    }
    
    .player-countdown.is-soon .player-countdown__value,
    .player-countdown.is-finished .player-countdown__value {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .icon-button {
        width: 38px;
        min-width: 38px;
    }

    .broadcast-tabs {
        gap: 0;
    }

    .story-card {
        padding: 13px;
    }

    .comment {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .comment__avatar img {
        width: 38px;
        height: 38px;
    }
}
