﻿/* ========== 活動快報區塊 ========== */
.local-features { font-family: 'Noto Sans TC', sans-serif; }
.local-features .local-section-title,
.local-features .local-feature-content h3 { font-family: 'Noto Serif TC', serif; }
.local-features {
    padding: 5rem 0 4rem;
    background-color: #ffffff;
}

/* --- 標題區 --- */
.local-section-header {
    margin-bottom: 2.5rem;
}

.local-section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: #c0392b;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.local-section-title {

    font-size: 2rem;
    font-weight: 700;
    color: #2c1810;
    margin: 0 0 1rem 0;
    letter-spacing: 0.02em;
}

    .local-section-title span {
        font-weight: 300;
        color: #888;
        font-size: 1.5rem;
    }

.local-section-line {
    width: 48px;
    height: 3px;
    background-color: #c0392b;
}

/* --- 選單 --- */
.local-nav {
    margin-bottom: 2.5rem;
}

    .local-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 0;
        border-bottom: 1px solid #e8e0d8;
    }

        .local-nav ul li a {
            display: block;
            padding: 0.8rem 1.8rem;
            font-size: 0.95rem;
            font-family: 'Noto Sans TC', sans-serif;
            color: #888;
            text-decoration: none;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: all 0.25s ease;
            letter-spacing: 0.05em;
        }

            .local-nav ul li a:hover {
                color: #2c1810;
            }

            .local-nav ul li a.active {
                color: #c0392b;
                border-bottom-color: #c0392b;
                font-weight: 500;
            }

/* --- 輪播容器 --- */
.local-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.local-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 0.5rem 0 1rem;
}

/* --- 卡片 Grid --- */
.local-features-grid {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

    .local-features-grid.no-transition {
        transition: none;
    }

/* --- 單張卡片 --- */
.local-feature {
    flex: 0 0 calc(25% - 1.125rem);
    background: #ffffff; /* 內卡片白色 */
    border: 1px solid #e5e5e5; /* 外框線 */
    padding: 10px; /* 外框留白 */
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .local-feature:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        border-color: #dddddd;
    }

/* 卡片圖片 */
.local-feature-img {
    width: 100%;
    aspect-ratio: 4 / 4;
    overflow: hidden;
    background: #eaeaea; /* 比原本再深一點 */
}

    .local-feature-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: none; /* 關掉動畫 */
        display: block;
    }

/* 卡片內容 */
.local-feature-content {
    padding: 0.5rem 0rem 0rem;
}

.local-feature-category {
    font-size: 0.75rem;
    color: #F28738;

    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.local-feature-content h3 {

    font-size: 1rem;
    /*font-weight: 600;*/
    color: #2c1810;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.local-feature:hover .local-feature-content h3 {
    color: #c0392b;
}
.local-feature-content p:not(.local-feature-category),
.local-feature-date {
    font-size: 0.78rem;
    color: #aaa;

    margin: 0;
}


/* --- 箭頭 --- */
.local-arrow {
    flex: 0 0 auto;
    background: none;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

    .local-arrow:hover {
        border-color: #c0392b;
        color: #c0392b;
    }

/* --- 查看更多按鈕 --- */
.local-more-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

.local-more-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid #c0392b;
    color: #c0392b;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 4px;
}

    .local-more-btn:hover {
        background: #c0392b;
        color: #fff;
    }

/* ========== 響應式 ========== */
@media (max-width: 1024px) {
    .local-feature {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .local-features {
        padding: 3rem 0;
    }

    .local-section-title {
        font-size: 1.5rem;
    }

        .local-section-title span {
            font-size: 1.1rem;
        }

    .local-feature {
        flex: 0 0 100%;
    }

    .local-nav ul li a {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .local-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {
    .local-arrow {
        display: none;
    }
}
@media (max-width: 480px) {
    .local-nav ul {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .local-nav ul::-webkit-scrollbar {
            display: none;
        }

        .local-nav ul li a {
            white-space: nowrap;
        }
}
