/* ============================================================
   tail3-tw.asp — RWD Footer Styles
   加入到 26_default.css 或獨立引用皆可
   ============================================================ */

/* ---------- Footer 外層 ---------- */
.site-footer {
    background-color: #000;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 16px 16px;
}

/* ---------- 導覽連結列 ---------- */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 2px;
    text-align: center;
}

.footer-link {
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
    padding: 4px 2px;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-sep {
    color: #666;
    font-size: 13px;
    padding: 0 2px;
    user-select: none;
}

/* 社群圖示前的分隔線在小螢幕上隱藏，避免換行後孤立 */
.footer-sep--social {
    display: none;
}

@media (min-width: 600px) {
    .footer-sep--social {
        display: inline;
    }
}

/* ---------- 社群圖示 ---------- */
.footer-social {
    color: #fff;
    font-size: 22px;
    line-height: 1;
    padding: 4px 5px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.footer-social:hover {
    color: #aaa;
}

/* ---------- 分隔線 ---------- */
.footer-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 14px auto;
    width: 80%;
}

/* ---------- 公司資訊列 ---------- */
.footer-info {
    display: flex;
    flex-direction: column;	
    align-items: center;
    gap: 10px;
    text-align: center;
}

/* 平板以上：Logo 與文字並排 */
@media (min-width: 600px) {
    .footer-info {
        flex-direction: row;
        align-items: flex-start;
		justify-content: center; 
        text-align: left;
        gap: 16px;
    }
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    width: 87px;
    height: 24px;
    display: block;
}



.footer-copyright,
.footer-address {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #ccc;
    line-height: 1.7;
}

.footer-copyright em {
    font-style: normal;
}

#ver {
    color: #888;
    font-size: 11px;
}

.footer-email {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-email:hover {
    color: #fff;
}

/* ---------- 手機版微調（< 480px）---------- */
@media (max-width: 479px) {
    .footer-link,
    .footer-sep {
        font-size: 12px;
    }

    .footer-social {
        font-size: 20px;
    }

    .footer-divider {
        width: 90%;
    }
}
