﻿/* footer-v23.css
   全站頁尾修正版：移除頁尾出版社區塊，只保留標準資訊頁尾。
   適用於 audiolist/search/detail/player 等所有使用 controls/footer.ascx 的頁面。
*/

.syf-v23,
.syf-v23 * {
    box-sizing: border-box;
}

.syf-v23 {
    width: 100%;
    margin: 0;
    padding: 0;
    clear: both;
    color: #d6e3f0;
    font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
    line-height: 1.65;
}

.syf-v23 a {
    color: #d6e3f0 !important;
    text-decoration: none;
}

.syf-v23 a:hover {
    color: #ffffff !important;
}

.syf-v23-main {
    background: #07345d;
    color: #d6e3f0;
    padding: 46px 0 22px;
}

.syf-v23-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.syf-v23-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.55fr;
    gap: 34px;
    align-items: start;
}

.syf-v23 h2,
.syf-v23 h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.35;
}

.syf-v23 h2 {
    font-size: 24px;
}

.syf-v23 h3 {
    font-size: 20px;
}

.syf-v23 p {
    margin: 0 0 8px;
    color: #d6e3f0;
    font-size: 16px;
}

.syf-v23 section a {
    display: block;
    margin: 7px 0;
    font-size: 16px;
}

.syf-v23-brand p {
    max-width: 410px;
}

.syf-v23-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: #ff8500;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(255, 133, 0, .26);
}

.syf-v23-social {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.syf-v23-social span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.syf-v23-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: #bdd0e1;
    font-size: 15px;
}

.syf-v23-bottom nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.syf-v23-bottom a {
    font-size: 15px;
}

.syf-v23-gotop {
    position: fixed;
    right: 22px;
    bottom: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(7, 52, 93, .18);
    background: rgba(255,255,255,.94);
    color: #07345d;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(7, 52, 93, .18);
}

.syf-v23-gotop:hover {
    background: #fff7ee;
    color: #ff7a00;
}

/* 防止舊版 footer / publisher 類別殘留造成裸露 */
.sy-site-footer .sy-footer-publishers,
.syf-v22-publishers,
.sy-footer-publishers {
    display: none !important;
}

@media (max-width: 980px) {
    .syf-v23-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .syf-v23-main {
        padding: 34px 0 20px;
    }

    .syf-v23-inner {
        width: min(100% - 28px, 1180px);
    }

    .syf-v23-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .syf-v23-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .syf-v23-gotop {
        width: 42px;
        height: 42px;
        right: 14px;
        bottom: 14px;
        font-size: 20px;
    }
}
