/**
 * Theme Name:     JustNews Child
 * Author:         WPCOM
 * Template:       justnews
 * Text Domain:	   justnews-child
 * Description:    JustNews Child zeyanstudio.com
 */

/* 引入父主题样式 */
@import url("../JustNews/css/style.css");

/* 修改或添加以下代码 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 标题字体（如果需要单独设置） */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.entry .entry-title {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 20px;
    margin-top: 0;
}

:root {
    --footer-background: #2d3236;
    --footer-color: #2d3236;
}

.core-footer {
    background: #2d3236;
    color: #2d3236;
    padding: 20px 0;
    font-size: 14px;
}

.core-footer .footer-menu-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.core-footer .footer-menu-list a {
    display: flex;
    gap: 5px;
    align-items: center;
}

.core-footer .footer-main {
    display: flex;
    gap: 20px;
}

.core-footer .footer-main .footer-left {
    width: 70%;
    height: 60%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: flex-end;
}

.core-footer .footer-main .icp-warp {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.core-footer .footer-main .icp-warp > div {
    display: flex;
    align-items: center;
}

.core-footer .footer-main .icp-warp img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.core-footer a {
    color: #b3c0ce;
}

.core-footer .footer-right {
    text-align: right;
    flex: 1;
}

.core-footer .footer-right img {
    max-width: 100%;
}

.core-footer .footer-right .footer-aside-box .menu li {
    list-style: none;
}

.core-footer {
    z-index: 1;
    position: relative;
}

.core-footer {
    padding: 20px 10px !important;
}

.core-footer {
    padding: 10px 20px;
}

.footer-wave {
    width: 100%;
    height: 40px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.footer-wave .editorial {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
}

.footer-wave .parallax > use {
    animation: move-forever 12s linear infinite;
}

.footer-wave .parallax > use:nth-child(1) {
    animation-delay: -2s;
}

.footer-wave .parallax > use:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 5s;
}

.footer-wave .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 3s;
}

@keyframes move-forever {
    0% {
        transform: translate(-90px, 0%);
    }
    100% {
        transform: translate(85px, 0%);
    }
}
/* 2024.11.13建议添加以下样式改进视觉效果 */
.article-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-radius: 8px;
}

.article-card:hover {
    transform: translateY(-3px);
}
/* 添加移动端响应式样式 */
@media screen and (max-width: 768px) {
    /* 调整地图容器 */
    .map-container {
        margin: 10px 0;
        padding: 0 15px;
    }
    
    #mapDiv1 {
        width: 100%;
        height: 300px;  /* 移动端稍微降低高度 */
        border-radius: 8px;  /* 添加圆角 */
    }
    
    /* 调整标注样式 */
    .tdt-label b {
        font-size: 12px;  /* 移动端字体稍小 */
        padding: 3px 6px;
    }
}
/* 添加 Safari 特定样式 */
@supports (-webkit-touch-callout: none) {
    #mapDiv1 {
        -webkit-overflow-scrolling: touch;  /* 优化滚动 */
        height: 300px;  /* Safari 特定高度 */
    }
}
