
/* Province-only category cards */
.province-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.province-category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 154px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.province-category-card:hover {
    transform: translateY(-3px);
    border-color: #c4b5fd;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
    color: #0f172a;
}

.province-category-card-top,
.province-category-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.province-category-card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f1f5f9;
    font-size: 24px;
}

.province-category-card-arrow {
    font-size: 22px;
    color: #64748b;
}

.province-category-card-title {
    display: block;
    margin: 16px 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.9;
}

.province-category-card-count {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.province-category-card-hint {
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 991px) {
    .province-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .province-category-grid {
        gap: 10px;
    }
    .province-category-card {
        min-height: 145px;
        padding: 14px;
        border-radius: 14px;
    }
    .province-category-card-title {
        font-size: 13px;
    }
    .province-category-card-hint {
        display: none;
    }
}

/* Compact province category statistics */
.province-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}
.province-category-card {
    min-width: 0;
    min-height: 94px;
    padding: 10px;
    gap: 4px;
    border-radius: 11px;
    box-shadow: none;
}
.province-category-card-icon {
    width: 25px;
    height: 25px;
    border-radius: 7px;
    font-size: 15px;
}
.province-category-card-arrow {
    font-size: 14px;
}
.province-category-card-title {
    margin: 2px 0;
    font-size: 11px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.province-category-card-count {
    font-size: 10px;
}
.province-category-card-hint {
    display: none;
}
@media (max-width: 991px) {
    .province-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    .province-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .province-category-card {
        min-height: 94px;
        padding: 7px;
        border-radius: 9px;
    }
    .province-category-card-title {
        font-size: 10px;
        line-height: 1.5;
    }
    .province-category-card-count {
        font-size: 9px;
    }
}

/* Progressive disclosure of province categories */
.province-category-grid.province-category-js-ready:not(.province-category-expanded) .province-category-extra {
    display: none;
}

.province-category-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.province-category-more-button {
    padding: 9px 20px;
    border: 1px solid #d8d5f2;
    border-radius: 999px;
    background: #fff;
    color: #4338ca;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.province-category-more-button:hover {
    background: #f5f3ff;
    border-color: #a5b4fc;
}

.province-category-more-button:focus-visible {
    outline: 3px solid #a5b4fc;
    outline-offset: 3px;
}


/* Province-only mobile statistics: two columns */
@media (max-width: 991.98px) {
    .local-page .local-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .local-page .local-stats > .local-stat {
        min-width: 0;
        min-height: 112px;
        padding: 10px;
        gap: 7px;
        border-radius: 13px;
    }

    .local-page .local-stats .local-stat-icon {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        font-size: 17px;
        border-radius: 9px;
    }

    .local-page .local-stats .local-stat-copy {
        min-width: 0;
    }

    .local-page .local-stats .local-stat-copy small {
        font-size: 10px;
        line-height: 1.6;
    }

    .local-page .local-stats .local-stat-copy strong {
        font-size: 20px;
    }

    .local-page .local-stats .local-stat-copy em {
        font-size: 9px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }
}
