@charset "UTF-8";
/* 交通信息页面样式 */

/* 主内容区 */
.traffic-section {
    padding: 0.6rem 0 1.2rem;
}

/* 页面标题 */
.traffic-title {
    font-size: 0.48rem;
    font-weight: bold;
    color: #084ED0;
    margin-bottom: 0.7rem;
}

/* 左右布局容器 */
.traffic-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* 左侧信息区 */
.traffic-info {
    flex: 0 0 40%;
    max-width: 40%;
}

/* 信息块 */
.info-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.4rem;
}

.info-block:last-child {
    margin-bottom: 0;
}

/* 图标区域 */
.info-icon {
    flex-shrink: 0;
    margin-right: 0.3rem;
}

.info-icon img {
    width: 0.51rem;
    height: auto;
    display: block;
}

/* 信息内容区 */
.info-content {
    flex: 1;
}

.info-content .info-title {
    font-size: 0.22rem;
    font-weight: bold;
    color: #3D3D3D;
    margin-bottom: 0.1rem;
}

.info-content p {
    font-size: 0.16rem;
    color: rgba(61, 61, 61, 0.76);
    line-height: 0.3rem;
    margin: 0;
}

/* 右侧地图区 */
.traffic-map {
    flex: 1;
}

/* 地图容器 - 带装饰边框 */
.map-wrapper {
    position: relative;
    /* padding: 0.15rem; */
}

/* 右上角装饰线 */
.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0.05rem;
    left: 0.04rem;
    width: 100%;
    height: 100%;
    border-radius:0.18rem;
    pointer-events: none;
    background-color: #084ED0;
    z-index: -1;
}

.map-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式适配 - 1199px */
@media screen and (max-width: 1199px) {
    .traffic-title {
        font-size: 0.36rem;
    }

    .traffic-container {
        gap: 0.5rem;
    }

    .info-icon {
        width: 0.7rem;
        margin-right: 0.2rem;
    }

    .info-icon img {
        width: 0.48rem;
    }

    .info-title {
        font-size: 0.24rem;
    }

    .info-content p {
        font-size: 0.18rem;
    }
}

/* 响应式适配 - 768px */
@media screen and (max-width: 768px) {
    .traffic-section {
        padding: 0.4rem 0 0.6rem;
    }

    .traffic-title {
        font-size: 0.28rem;
        margin-bottom: 0.4rem;
    }

    .traffic-container {
        flex-direction: column;
        gap: 0.1rem;
    }

    .traffic-info {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: 1;
    }

    .traffic-map {
        width: 100%;
        margin-bottom: 0.4rem;
        order: 0;
    }

    .info-block {
        margin-bottom: 0.4rem;
    }

    .info-icon {
        width: 0.6rem;
        margin-right: 0.15rem;
    }

    .info-icon img {
        width: 0.4rem;
    }

    .info-title {
        font-size: 0.22rem;
    }

    .info-content p {
        font-size: 0.16rem;
    }
}

/* 响应式适配 - 481px */
@media screen and (max-width: 481px) {
    .traffic-section {
        padding: 0.3rem 0 0.5rem;
    }

    .traffic-title {
        font-size: 0.24rem;
    }

    .info-block {
        margin-bottom: 0.35rem;
    }

    .info-icon {
        width: 0.5rem;
        margin-right: 0.12rem;
    }

    .info-icon img {
        width: 0.36rem;
    }

    .info-title {
        font-size: 0.2rem;
        margin-bottom: 0.1rem;
    }

    .info-content p {
        font-size: 0.14rem;
    }

    .map-wrapper::before,
    .map-wrapper::after {
        border-width: 0.03rem;
    }
}

@media screen and (max-width:1025px) {
    .info-content p{
        font-size: .18rem;
        line-height: 1.85;
    }
}