.site-content {
    padding-top: 0px !important;
}

#school-redirect-form {
    font-family: 'Roboto', Arial, sans-serif;
    box-sizing: border-box;
}

.province-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
}

.province-tab {
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #000000;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: 80px;
}

.province-tab.active,
.province-tab:hover {
    background: #cf3338;
    color: #ffffff;
    border-color: #cf3338;
}

.school-dropdowns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    line-height: 1.4;
}

.school-dropdowns select {
    flex: 1 1;
    padding: 4px 8px;
    font-size: 13px;
    line-height: 1.2;
    height: 34px;
    color: #000000;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    min-width: 140px;
    max-width: 100%;
}

.school-search {
    margin-bottom: 20px;
    line-height: 1.4;
}

.school-search input {
    width: 100%;
    font-size: 14px;
    height: 34px !important;
    color: #000000;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.school-card {
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.school-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    text-align: center;
}

.school-name {
    font-size: 16px;
    font-weight: 600;
    color: #cf3338;
    margin: 0;
}

.school-location,
.school-store {
    font-size: 13px;
    color: #333;
    margin: 0;
}

.school-location strong,
.school-store strong {
    color: #cf3338;
}

.goto-school {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: #cf3338;
    border: 1px solid #cf3338;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    line-height: 1.4;
    transition: background 0.3s, color 0.3s;
}

.goto-school:hover {
    background: #cf3338;
    color: #fff;
}

.no-results {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 768px) {
    .school-dropdowns {
        flex-direction: column;
        gap: 8px;
    }

    .school-dropdowns select,
    .school-search input {
        width: 100%;
        height: 36px;
        padding: 4px 8px;
        font-size: 14px;
        line-height: 1.2;
    }

    .province-tabs {
        justify-content: flex-start;
        gap: 4px;
        padding-bottom: 5px;
    }

    .province-tab {
        padding: 5px 8px;
        font-size: 12px;
        min-width: 70px;
    }

    .school-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
