/**
 * Archive Download Module
 * 分类页下载横幅模块 — 主题配色：白背景 + #2b271b 深棕文字 + #f5c12e 金色点缀
 */

.archive-dl-module {
    --adl-bg: #ffffff;
    --adl-bg-soft: #fffcf1;
    --adl-text-dark: #2b271b;
    --adl-text-muted: #6d6453;
    --adl-primary: #f5c12e;
    --adl-primary-dark: #d9a815;
    --adl-primary-soft: #fff6d1;
    --adl-border-soft: #ece8d9;

    position: relative;
    background-color: var(--adl-bg-soft);
    background-image: linear-gradient(135deg, #fffdf5 0%, #fff6d1 100%);
    border-bottom: 1px solid var(--adl-border-soft);
    overflow: hidden;
}

/* 背景装饰光斑 */
.archive-dl-module .archive-dl-bg {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(245, 193, 46, 0.18) 0%, rgba(245, 193, 46, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.archive-dl-module .container {
    position: relative;
    z-index: 2;
}

.archive-dl-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    flex-wrap: wrap;
}

/* 左侧图标 */
.archive-dl-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--adl-primary) 0%, var(--adl-primary-dark) 100%);
    color: #fff;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(245, 193, 46, 0.35);
}

/* 中间内容 */
.archive-dl-content {
    flex: 1 1 280px;
    min-width: 0;
}

.archive-dl-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--adl-text-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.archive-dl-desc {
    font-size: 14px;
    color: var(--adl-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 右侧按钮 */
.archive-dl-action {
    flex: 0 0 auto;
}

.archive-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--adl-text-dark);
    background: linear-gradient(135deg, var(--adl-primary) 0%, var(--adl-primary-dark) 100%);
    color: #2b271b;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(245, 193, 46, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.archive-dl-btn:hover,
.archive-dl-btn:focus {
    color: #2b271b;
    background: linear-gradient(135deg, var(--adl-primary-dark) 0%, var(--adl-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(245, 193, 46, 0.45);
}

/* 响应式适配 */
@media (max-width: 767.98px) {
    .archive-dl-inner {
        gap: 16px;
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .archive-dl-icon {
        width: 52px;
        height: 52px;
        font-size: 26px;
        border-radius: 14px;
    }

    .archive-dl-title {
        font-size: 18px;
    }

    .archive-dl-desc {
        font-size: 13px;
    }

    .archive-dl-action {
        width: 100%;
    }

    .archive-dl-btn {
        width: 100%;
    }
}
