.bridge-clubs-filters {
    margin-bottom: 20px;
}

.bridge-clubs-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.bridge-filter-item {
    display: flex;
    flex-direction: column;
}

.bridge-filter-item label {
    font-weight: bold;
    margin-bottom: 4px;
}

#club-clear-filters {
color: #0B4F6C;
text-decoration: underline;
}

.acf-map {
    width: 100%;
    height: 420px;
    border: 1px solid var(--base);
    margin-bottom: 20px;
}

.marker-info {
    font-size: 14px;
    line-height: 1.3;
}

.marker-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
}

.marker-line {
    margin: 2px 0;
}

.bridge-clubs-table {
    width: 100%;
    border-collapse: collapse;
}

.bridge-clubs-table th {
    background: var(--base);
    text-align: left;
    padding: 10px;
}

.bridge-clubs-table td {
    padding: 10px;
    border-bottom: 1px solid var(--base);
    cursor: pointer;
}

.bridge-clubs-table tr:hover {
    background: var(--base);
}

@media (max-width: 900px) {
    .bridge-clubs-table th,
    .bridge-clubs-table td {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 700px) {

    .bridge-clubs-table thead {
        display: none; /* hide header on small screens */
    }

    .bridge-clubs-table,
    .bridge-clubs-table tbody,
    .bridge-clubs-table tr,
    .bridge-clubs-table td {
        display: block;
        width: 100%;
    }

    .bridge-clubs-table tr {
        background: white;
        border: 1px solid var(--base);
        border-radius: 6px;
        padding: 12px;
        margin-bottom: 14px;
    }

    .bridge-clubs-table td {
        border-right:none;
        border-bottom: none;
        padding: 4px 0;
        line-height:1.5;
    }

    .bridge-clubs-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 2px;
        color: var(--accent);
    }
}

@media (max-width: 600px) {
    .bridge-clubs-filter-row {
        flex-direction: column;
        align-items: stretch;
    }
}
