body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
legend,
input,
textarea,
button,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'HarmonyOS';
    src: url('/font-family/HarmonyOS_Sans_SC_Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'HarmonyOS-light';
    src: url('/font-family/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
}

@font-face {
    font-family: 'HarmonyOS-Bold';
    src: url('/font-family/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'HarmonyOS-Regular';
    src: url('/font-family/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
}

body {
    background: #f1f1f1;
    text-align: center;
    font-family: 'HarmonyOS-Regular';
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    border: none;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    align-items: flex-start;
    /* 强制左对齐 */
    background-color: #fff !important;
}

.middle {
    position: relative;
    width: 100vw;
    /* top: -2vw; */
    margin-top: 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'HarmonyOS';
    overflow-x: hidden;
}

.partner-banner {
    position: relative;
    display: flex;
    width: 100%;
}

.partner-banner img {
    width: 100%;
}

.partner-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background: linear-gradient(180deg, rgba(16, 6, 159, 0.3) 0%, rgba(16, 6, 159, 1) 100%);
    z-index: 2;
    /* 确保在图片上方 */
    pointer-events: none;
    /* 允许点击穿透 */
}

.partner-banner p {
    position: absolute;
    font-family: 'HarmonyOS-Bold';
    font-size: calc(40 / 1920 * 100vw);
    font-weight: 700;
    line-height: calc(46.88 / 1920 * 100vw);
    color: #fff;
    z-index: 3;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.partner-content {
    width: 100%;
    padding: calc(100 / 1920 * 100vw) calc(440 / 1920 * 100vw);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: calc(25 / 1920 * 100vw);
}

.partner-content-item {
    width: calc(188 / 1920 * 100vw);
    height: calc(100 / 1920 * 100vw);
    background-color: #fff;
    box-shadow: 0px 1.67px 5px rgba(0, 0, 0, 0.25);
    border-radius: calc(15 / 1920 * 100vw);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.partner-content-item:hover {
    transform: translateY(calc(-5 / 1920 * 100vw));
}

.partner-content-item:nth-child(n+6) {
    margin-top: calc(5 / 1920 * 100vw);
}

.partner-content-item:hover .partner-content-item-back {
    display: flex;
}

.partner-content-item-back {
    width: 100%;
    height: 100%;
    background: rgba(16, 6, 159, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: calc(15 / 1920 * 100vw);
}

.partner-content-item-text {
    font-size: calc(20 / 1920 * 100vw);
    font-weight: 500;
    line-height: calc(28.96 / 1920 * 100vw);
    color: #fff;
}

.text-small {
    font-size: calc(14 / 1920 * 100vw);
    font-weight: 500;
    line-height: calc(20.27 / 1920 * 100vw);

}

.text-medium {
    font-size: calc(16 / 1920 * 100vw);
    font-weight: 500;
    line-height: 23.17px;

}

.text-Large {
    font-size: calc(20 / 1920 * 100vw);
    font-weight: 500;
    line-height: calc(28.96 / 1920 * 100vw);

}

.partner-under {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.partner-under img {
    width: 100%;
}

.partner-text {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-under h2 {
    color: #383838;
    font-size: calc(32 / 1920 * 100vw);
    font-weight: 700;
    line-height: calc(37.5 / 1920 * 100vw);
    font-family: 'HarmonyOS-Bold';
}

.partner-under p {
    font-size: calc(18 / 1920 * 100vw);
    font-weight: 400;
    line-height: calc(21.1 / 1920 * 100vw);
    color: #383838;
    font-family: 'HarmonyOS-Regular';
    margin-top: calc(40 / 1920 * 100vw);
    margin-bottom: calc(60 / 1920 * 100vw);
}

.partner-under a {
    font-size: calc(18 / 1920 * 100vw);
    font-weight: 400;
    line-height: calc(21.1 / 1920 * 100vw);
    color: #383838;
    font-family: 'HarmonyOS-Regular';
    background-color: #10069F;
    color: #fff;
    padding: calc(22 / 1920 * 100vw) calc(74 / 1920 * 100vw);
    border-radius: calc(50 / 1920 * 100vw);
}