/* 公共样式文件 - 正澳心水论坛 */

/* 重置样式 */
p {
    margin: 0;
}

/* 通用wysiwyg编辑器样式 */
.wysiwyg {
    border: 1px solid #dddddd;
    padding: 4px;
    font: 12px Tahoma, Verdana;
}

/* 底部样式 - 现代化设计 */
.footer-enhanced {
    background: #f5c87b;
    color: #000000;
    border-top: 1px solid rgba(255,215,140,0.2);
    /*box-shadow: 0 -10px 25px -12px rgba(0,0,0,0.3);*/
    width: 100%;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.8rem 2rem;
}

.statements-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.8rem;
}

.statement-item {
    background: rgba(255,255,255,0.03);
    border-left: 4px solid #e9b35f;
    padding: 0.9rem 1.2rem;
    border-radius: 1rem 0.75rem 0.75rem 1rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(2px);
}

.statement-item:hover {
    background: rgba(255,255,240,0.08);
    border-left-color: #f5c87b;
    transform: translateX(3px);
}

.statement-title {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.statement-title::before {
    content: "•";
    font-size: 1.3rem;
    color: #e9b35f;
    font-weight: bold;
}

.statement-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #000000;
    text-align: justify;
}

.highlight-domain {
    color: #ffffff;
    font-weight: 600;
    background: rgba(0,0,0,0.25);
    padding: 0.1rem 0.4rem;
    border-radius: 8px;
    display: inline-block;
    font-family: monospace;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.info-card {
    background: linear-gradient(115deg, #f0d6ac87 0%, #ff990069 100%);
    border-radius: 1.5rem;
    padding: 1.3rem 1.5rem;
    margin-bottom: 1.8rem;
    text-align: center;
    border: 1px solid rgb(112 112 112 / 25%);
    backdrop-filter: blur(3px);
}

.info-card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.info-card .forum-slogan {
    font-weight: 500;
    color: #000000;
    font-size: 0.95rem;
}

.easy-memory {
    font-size: 1rem;
    margin: 0.5rem 0 0.2rem;
    word-break: break-word;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.7rem;
    color: #000000;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.4rem;
    margin-top: 0.2rem;
}

.copyright {
    opacity: 0.7;
}

.badge-links {
    display: flex;
    gap: 1.2rem;
}

.badge-links a {
    color: #b9ced9;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.7rem;
}

.badge-links a:hover {
    color: #f5c87b;
    text-decoration: underline;
}

/* 回到顶部按钮 */
.bar-top-FZdsN {
    bottom: 20px;
    right: 6px;
    height: 56px;
    border-radius: 6px;
    box-shadow: 0 4px 6px 0 rgb(184 208 255 / 30%);
    transition: all .4s ease;
    cursor: pointer;
    background-size: cover;
    background-image: url(/skin/3c9300f26504de0b3cabadacefb461c5.png);
}

.bar-bQ14J {
    position: fixed;
    z-index: 98;
    width: 56px;
}

/* 表格链接样式 */
.table-link a {
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.table-link td {
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.table-link a font {
    line-height: 35px;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 15px;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.carousel-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    transition: background 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: rgba(255,255,255,1);
}

/* 响应式设计 */
@media (max-width: 640px) {
    .footer-container {
        padding: 1.8rem 1rem 1.5rem;
    }
    
    .statement-item {
        padding: 0.7rem 1rem;
    }
    
    .statement-title {
        font-size: 0.95rem;
    }
    
    .statement-text {
        font-size: 0.8rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }
    
    .highlight-domain {
        font-size: 0.9rem;
    }
}

@media (min-width: 1600px) {
    .footer-container {
        padding: 3rem 2rem 2rem;
    }
}

/* 焦点优化 */
a:focus-visible, .statement-item:focus-within {
    outline: 2px solid #e9b35f;
    outline-offset: 2px;
    border-radius: 0.5rem;
}
