html {
    font-size: 100px;
}
body, div, a, p, ul, li, h1, h2, h3, h4, h5, h6, video {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial;
    font-size: 0.22rem;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    outline: none;
}

:root {
    --public-header-m-height: 0.85rem;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.w100 {
    width: 100%;
}
.d {
    display: block;
}
.hide, .show-m {
    display: none;
}

.nav {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 9999;
}

.nav img {
  width: 100%;
  height: 1.45rem;
}

.a-row {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 14rem;
  margin: 0 auto;
}

.a-row-z {
    display:block;
}

.a-row-k {
    display:none;
}

.row-1 {
  top: 28%;         /* 第一行距离顶部 20% 的位置（相对于图片高度） */
}

.row-2 {
  top: 60%;         /* 第二行距离顶部 50% */
}

.anchor-btn {
    font-size: 0.22rem;
    color: #ffffff;
    transition: all 0.2s;
}

.anchor-btn:hover {
    text-shadow: 0 0 0.05rem currentColor; /* 模拟加粗 */
    text-decoration: underline;
    text-decoration-color: white;
    text-underline-offset: 0.06rem;   
}

.container {
    max-width: 13.65rem;
    margin: 0 auto;
    padding-top: 0.26rem;
    display: flex;
    flex-direction: column;
}

.card {
    margin-top: 0.54rem;
    scroll-margin-top: 1.7rem;
}

.title {
    display: flex;
    justify-content: space-between;
}

.title p {
    font-size: 0.36rem;
    color: #cc3300;
    font-family: 'Arial Narrow Bold', Arial, sans-serif;
    font-weight: bold;
}

.more {
    width: 1.8rem;
    height: 0.2rem;
    background: url(../img/mayday2026_03.png) 0 0/100% 100% no-repeat;
}

.news-card {
    display: flex;
    justify-content: space-between;
    margin-top: 0.37rem;
}

.reverse {
    flex-direction: row-reverse;
}

.img-news {
    position: relative;
}

.img-news image {
    width: 6.7rem;
    height: auto;
}

.img-title {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 0.66rem;
    background: rgba(0, 0, 0, 0.5);

}

.img-title span {
    color: #ffffff;
    font-size: 0.2rem;
    line-height: 0.66rem;
    padding-left: 0.23rem;
    overflow-x: hidden;
}

.other-news {
    width: 6.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news {
    height: 1.7rem;
    border: 0.01rem solid #f95242;
}

.news-title {
    font-size: 0.2rem;
    color: #ff6600;
    font-weight: bold;
    padding-left: 0.25rem;
    padding-top: 0.3rem;
    padding-right: 0.4rem;
}

.news-title a {
    color:#ff6600;
}

.news-intro {
    font-size: 0.16rem;
    margin-left: 0.23rem;
    margin-top: 0.27rem;
    margin-right: 0.43rem;
    line-height: 0.24rem;
    height:0.72rem;
    overflow-y: hidden;
}

#backToTop {
    position: fixed;
    bottom: 1.8rem;
    right: 0.3rem;
    width: 0.82rem;
    height: 0.85rem;
    background: url(../img/mayday2026_05.png);
    background-size: cover;
    border: none;
    transition: all 0.25s ease;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    z-index: 999;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* 调整小屏幕下的按钮大小 */
@media (max-width: 1600px) {
    .a-row {
        width:80%;
    }
    #backToTop{
        right: 0;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 13.333333333333334vw;
        scroll-padding-top: 0.6rem;
    }
    body {
        font-size: 0.3rem;
    }

    .show-m {
        display: block;
    }
    .show-pc {
        display: none;
    }
    .container {
        max-width: 6.8rem;
    }
    .news-card {
        flex-direction: column;
        gap: 0.2rem;
    }

    .organizations {
        flex-direction: column;
        align-items: flex-end;
    }

    .img-news {
        position: relative;
    }

    .img-title {
        height: 1rem;
    }

    .img-title span {
        font-size: 0.34rem;
        line-height: 1rem;
    }

    .title p{
        font-size: 0.4rem;
    }

    .more {
        width: 2rem;
        height: 0.3rem;
    }

    .other-news {
        width: 6.8rem;
        margin-top:0.2rem;
    }

    .news {
        height: auto;
        margin-top:0.2rem;
    }

    .news-title {
        font-size: 0.3rem;
    }

    .news-intro {
        font-size: 0.26rem;
        line-height: 0.3rem;
        margin-bottom: 0.3rem;
        height:0.9rem
    }
}