/* 
 * Components CSS for keywordDomainName template
 * Contains styles for specific components and UI elements
 */

/* Article Content Styles */
#text-807443401 {
    max-width: 100%;
}

#text-807443401 h1 {
    text-align: center;
}

#text-807443401 h2 {
    text-align: left;
    color: #3bdaff;
}

#text-807443401 p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word; /* 允许长单词在必要时换行 */
    word-break: keep-all; /* 防止单词被截断 */
    hyphens: none; /* 禁用连字符 */
    white-space: pre-wrap; /* 保留空格并允许换行 */
    -webkit-hyphens: none;
    -ms-hyphens: none;
    box-sizing: border-box; /* 确保padding不会增加元素宽度 */
    text-align: left;
    text-wrap: pretty; /* 更美观的文本换行 */
}

#text-807443401 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    #text-807443401 p {
        font-size: 14px;
        line-height: 1.4;
    }
    img:is([sizes="auto" i], [sizes^="auto," i]) {
        contain-intrinsic-size: 3000px 1500px
    }
}

/* Image Components */
#image_1420601275 {
    width: 100%;
}

#image_912600835 {
    width: 100%;
}

/* Header Button Animation */
.header-button a {
    background-image: repeating-linear-gradient(to right, #bd0f11, #f3e160);
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    background-size: 200% auto;
    background-position: 0 100%;
    animation: 2s infinite gradient;
    color: #ffffff !important;
}

@keyframes gradient {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Download Button Styles */
body .btn-red-pt {
    background: #fa5656;
    color: #FFF;
    display: inline-flex;
}

.box-get {
    text-align: center;
}

.box-get-coupon:hover {
    background: #fa5656;
    color: #FFF;
}

.box-get-coupon {
    background: #FFF;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    border: 2px dashed #fa5656;
    border-radius: 5px;
    -webkit-transition: ease all .4s;
    -o-transition: ease all .4s;
    transition: ease all .4s;
}

/* 导航栏样式 */
.header-wrapper {
    transition: background-color 0.3s, box-shadow 0.3s;
}

.header-main {
    height: 90px;
    z-index: 10;
}

.header-bottom {
    min-height: 40px;
    z-index: 9;
}

.header-top {
    min-height: 30px;
    z-index: 11;
}

/* 按钮样式 */
.button {
    margin-bottom: 1em;
    margin-right: 1em;
    display: inline-block;
}

.button.is-outline {
    border: 2px solid currentColor;
    background-color: transparent;
}

.button.primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.button.secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.button.success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: #fff;
}

.button.alert {
    background-color: var(--alert-color);
    border-color: var(--alert-color);
    color: #fff;
}

/* 表单样式 */
input[type='email'], 
input[type='search'], 
input[type='number'], 
input[type='url'], 
input[type='tel'], 
input[type='text'], 
textarea {
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 0 0.75em;
    height: 2.507em;
    font-size: 0.97em;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    background-color: #fff;
    color: #333;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    transition: color 0.3s, border 0.3s, background 0.3s, opacity 0.3s;
}

textarea {
    padding-top: 0.7em;
    min-height: 120px;
}

/* 卡片样式 */
.box {
    width: 100%;
    position: relative;
    margin: 0 auto;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.box-shadow {
    box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.box-shadow-2 {
    box-shadow: 0 3px 6px -4px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.box-shadow-3 {
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.22);
}

.box-shadow-4 {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.1);
}

.box-shadow-5 {
    box-shadow: 0 19px 38px rgba(0,0,0,0.3), 0 15px 12px rgba(0,0,0,0.22);
}

/* 图片组件样式 */
#image_1420601275,
#image_912600835 {
    width: 100%;
}
