@charset "utf-8";
/* =========================
   页面特定样式
   ========================= */

/* 主内容区域 */
main {
    text-align: center;
    line-height: 1.8; /* 使用相对单位 */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

main:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 图片样式 */
.pic {
    max-width: 80%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 10px auto;
    padding-left: 10px; /* 添加左内边距，与边框分开 */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pic:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 左对齐内容 */
.left {
    text-align: left;  
    margin-top: 20px;
}

/* 内边距容器 */
.padding {
    padding: 20px;
}

/* 添加虚线边框的方块 */
.add-square {
    padding: 20px;
    border: 1px dashed #CECECE; /* 使用 1px dashed */
    border-radius: 10px;
    margin-bottom: 20px; /* 添加下外边距，分隔内容 */
    background-color: #fff; /* 增加背景色，提升可读性 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.add-square:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 向下的箭头样式 */
.triangle {
    display: block;
    margin: 20px auto; /* 增加上下外边距，居中显示 */
    width: 0;
    height: 0;
    border-width: 20px;
    border-style: solid;
    border-color: #E15F49 transparent transparent transparent;
}

/* 高亮文本 */
.highlighted-text {
    color: #30A3FC;
    font-weight: bold;
    text-align: center;
    display: block;
    border-radius: 5px;
    padding: 10px;
    background-color: #f0f8ff;
    transition: background-color 0.3s ease;
}

.highlighted-text:hover {
    background-color: #e0f0ff;
}

/* section 标题 */
.section-title {
    text-align: center;
    display: block;
    font-size: 1.5em;
    color: #00518E;
}

/* 响应式调整 */
@media (max-width: 700px) {
    .pic {
        max-width: 90%; /* 在小屏幕下增加图片宽度 */
    }

    .add-square {
        padding: 15px;
        border-radius: 8px;
    }

    .triangle {
        border-width: 15px;
    }

    main {
        padding: 15px;
    }

    .left {
        margin-top: 15px;
    }

    .highlighted-text {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.2em;
    }
}
#police {
    width: 25px;
    height: auto;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: px;
    bottom: 5.px;
}
