/* 移动端按钮 - 仅导航栏按钮单行；内容区 CTA 允许换行 */

.item-b7ac .row_b4b8 {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
}

/* 内容区大按钮：文字不超出按钮边界 */
.last_5d71,
.video_e218,
.column_3ef4 .row_b4b8,
.box_4114 .row_b4b8,
.mask_out_b0ce .row_b4b8,
.wrapper_3a7b .row_b4b8 {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.35;
    text-align: center;
}

.item-b7ac {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .item-b7ac {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.35rem;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .item-b7ac .row_b4b8 {
        white-space: nowrap !important;
        padding: 0.45rem 0.65rem;
        font-size: 0.75rem;
        min-width: 0;
        max-width: none;
        height: auto;
        line-height: 1.2;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .item-b7ac {
        padding-left: var(--space-2);
        gap: 0.3rem;
    }
    
    .item-b7ac .row_b4b8 {
        padding: 0.4rem 0.55rem;
        font-size: 0.7rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .item-b7ac .row_b4b8 {
        padding: 0.35rem 0.45rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .motion-2963 img {
        width: 48px !important;
        height: 48px !important;
    }

    .item-b7ac .row_b4b8 {
        padding: 0.3rem 0.4rem;
        font-size: 0.625rem;
    }
}

@media (max-width: 768px) {
    .item-b7ac * {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
    }
    
    .item-b7ac {
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }
}

.item-b7ac .upper_ebb5 {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.item-b7ac .footer-5c46 {
    background-color: var(--brand-primary);
    color: white;
    border: 2px solid var(--brand-primary);
}

@media (max-width: 768px) {
    .item-b7ac .row_b4b8:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
}

/* css-noise: 07fc */
.widget-item-w8 {
  padding: 0.1rem;
  font-size: 12px;
  line-height: 1.1;
}
