/* ==========================================================
 * Partner Page — 动态多行 logo marquee，奇偶反向
 * ========================================================== */

.pt-page {
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 50px;
    background: #fff;
}

/* ============== 顶部标题 ============== */
.pt-head {
    text-align: center;
    margin-bottom: 36px;
}
.pt-head-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 16px;
    background: #fff1eb;
    color: #ea580c;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 14px;
}
.pt-head h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}
.pt-head p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    letter-spacing: 2px;
}

/* ============== 行容器 ============== */
.pt-rows {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 单行 */
.pt-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.pt-row:hover .pt-track {
    animation-play-state: paused;
}

/* 横向滚动轨道 */
.pt-track {
    width: max-content;
}
.pt-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    will-change: transform;
}

/* 单个 logo 卡片 */
.pt-inner a {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 120px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    transition: all .22s ease;
}
.pt-inner a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .14);
    border-color: #c7d2fe;
}
.pt-inner a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 偶数行（左→右） */
.pt-row .pt-inner {
    animation: pt-mq-left 40s linear infinite;
}
@keyframes pt-mq-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* 奇数行（右→左） */
.pt-row.pt-row-reverse .pt-inner {
    animation: pt-mq-right 40s linear infinite;
}
@keyframes pt-mq-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ============== 底部提示 ============== */
.pt-tip {
    margin-top: 40px;
    padding: 18px 0;
    text-align: center;
    border-top: 1px dashed #e2e8f0;
    font-size: 14px;
    color: #6b7280;
}
.pt-tip a { color: #ea580c; text-decoration: none; }

/* ============== 响应式 ============== */
@media (max-width: 1200px) {
    .pt-inner a { width: 170px; height: 90px; }
}
@media (max-width: 992px) {
    .pt-head h2 { font-size: 26px; }
    .pt-inner a { width: 150px; height: 84px; }
    .pt-row .pt-inner,
    .pt-row.pt-row-reverse .pt-inner { animation-duration: 35s; }
}
@media (max-width: 768px) {
    .pt-head h2 { font-size: 22px; }
    .pt-head p { font-size: 13px; }
    .pt-page { padding: 36px 0 40px; }
    .pt-inner a { width: 130px; height: 76px; }
    .pt-inner a img { max-height: 46px; }
    .pt-row .pt-inner,
    .pt-row.pt-row-reverse .pt-inner { animation-duration: 28s; }
}
@media (max-width: 480px) {
    .pt-inner a { width: 115px; height: 68px; padding: 10px; }
    .pt-inner a img { max-height: 40px; }
    .pt-rows { gap: 10px; }
    .pt-inner { gap: 10px; }
    .pt-row .pt-inner,
    .pt-row.pt-row-reverse .pt-inner { animation-duration: 22s; }
}