@media (max-width: 900px) {
    .em-leaderboard-row {
        grid-template-columns: 48px 1fr;
    }

    .em-leaderboard-main,
    .em-leaderboard-details {
        grid-column: 2;
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .em-event-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .em-event-image img {
        width: 100%;
        height: 180px;
    }

    .em-event-action {
        justify-self: start;
    }

    .em-event-info {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .em-event-info h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    #main-content {
        padding-top: 16px !important;
    }

    #main-content .entry-content {
        padding: 0 16px;
    }

    .entry-content h1 {
        font-size: 26px;
    }

    .entry-content h2,
    .em-activities h2,
    .em-connections h2,
    .em-event-assignment h2 {
        font-size: 24px;
    }

    .em-activity-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .em-table {
        display: block;
        overflow-x: auto;
    }

    .et-l--header img {
        max-height: 32px;
    }

    .em-account-menu {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding: 10px 0 0;
    }

    .em-auth-card {
        padding: 22px 18px !important;
    }

    .em-auth-card h2 {
        font-size: 22px;
    }
}