/* common.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background-color: #f9f9f9;
}

.inner_banner img {
    width: 100%;
    height: auto;
    display: block;
}

.citylist-container {
    max-width: 1200px;
    margin: 0 auto;
}

.citylist {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 50px 0;
    text-align: left;
}

.citylist .tips {
    color: #999;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.province-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #ffffff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.province-name {
    font-weight: bold;
    margin-bottom: 10px;
    background-color: #0579f2;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

.city-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.city-item {
    background: #ffffff;
    font-size: 16px;
    border-radius: 4px;
    padding: 5px 10px;
    min-width: 100px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sub-city-item {
    font-size: 12px;
    background-color: #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.city-item a,
.province-name a {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.city-item a:hover,
.province-name a:hover {
    color: #800080;
}

@media (max-width: 767px) {
    .city-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .city-item,
    .sub-city-item {
        flex-basis: calc(100% / 3 - 10px);
        margin-bottom: 5px;
    }

    .city-item .sub-city-item {
        width: auto;
        min-width: unset;
    }
}

details summary.province-name {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none;
}

details[open] summary.province-name::marker {
    content: '\25BC';
    display: inline-block;
    margin-left: 5px;
}

details:not([open]) summary.province-name::marker {
    content: '\25B6';
    display: inline-block;
    margin-left: 5px;
}

details summary.province-name::after {
    content: '\25B6';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s;
}

details[open] summary.province-name::after {
    transform: rotate(90deg);
}

.city-item,
.sub-city-item {
    opacity: 1;
    transition: opacity 0.3s;
}
/* 新增或修改的部分 */
    details summary.province-name {
        display: flex;
        align-items: center;
        cursor: pointer;
        outline: none;
        padding-left: 15px; /* 增加左侧内边距以扩大点击区域 */
    }

    details summary.province-name::before {
        content: '\25B6';
        display: inline-block;
        margin-right: 10px;
        font-size: 18px;
        transition: transform 0.3s;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
    }

    details[open] summary.province-name::before {
        transform: rotate(90deg);
    }
