/* ==================================================
   3NG - CONFERENCES DIRECTORY
================================================== */


/* --------------------------------------------------
   TOOLBAR
-------------------------------------------------- */

.conferences-toolbar {
    margin-bottom: 34px;
}

.conferences-toolbar .page-search {
    width: 100%;
}


/* --------------------------------------------------
   NO RESULTS
-------------------------------------------------- */

.conferences-no-results {
    margin: 0;
    padding: 26px 0;

    color: var(--text-secondary);

    font-size: 0.95rem;
    font-weight: 700;

    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}


/* --------------------------------------------------
   CONFERENCE GRID
-------------------------------------------------- */

.conference-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* --------------------------------------------------
   CONFERENCE CARD
-------------------------------------------------- */

.conference-card {
    min-height: 190px;

    padding: 22px;

    display: flex;
    align-items: center;
    gap: 22px;

    background: var(--surface-1);
    color: inherit;

    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);

    text-decoration: none;

    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease;
}

.conference-card:hover {
    background: var(--surface-2);
    border-color: var(--accent-color);

    transform: translateY(-2px);
}


/* --------------------------------------------------
   LOGO
-------------------------------------------------- */

.conference-card__logo-wrap {
    width: 112px;
    height: 112px;

    flex: 0 0 112px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.conference-card__logo {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* --------------------------------------------------
   CONTENT
-------------------------------------------------- */

.conference-card__content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.conference-card__abbreviation {
    margin-bottom: 6px;

    color: var(--accent-color);

    font-size: 0.7rem;
    font-weight: 900;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.conference-card h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: 1.2rem;
    line-height: 1.15;
}

.conference-card p {
    margin: 5px 0 0;

    color: var(--text-secondary);

    font-size: 0.76rem;
    line-height: 1.3;
}

.conference-card__team-count {
    margin-top: 14px;

    color: var(--text-secondary);

    font-size: 0.76rem;
    font-weight: 800;
}


/* --------------------------------------------------
   FILTERING
-------------------------------------------------- */

.conference-card[hidden] {
    display: none !important;
}


/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 1100px) {

    .conference-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .conference-card-grid {
        grid-template-columns: 1fr;
    }

    .conference-card {
        min-height: 160px;
    }

    .conference-card__logo-wrap {
        width: 90px;
        height: 90px;

        flex-basis: 90px;
    }

}


@media (max-width: 460px) {

    .conference-card {
        padding: 18px;

        align-items: flex-start;
        gap: 16px;
    }

    .conference-card__logo-wrap {
        width: 72px;
        height: 72px;

        flex-basis: 72px;
    }

}
