/* --- 金融友善服務專區頁面樣式 --- */
.friendly-services-container {
    width: 100%;
    margin: 0 auto;
    font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;
}

.page-title {
    font-size: 2em;
    color: #c2242d;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

/* --- 連結網格佈局 --- */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.link-card {
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    border-color: #c2242d;
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.link-card h2 {
    font-size: 1.3em;
    color: #c2242d;
    margin: 0 0 10px 0;
    flex-grow: 1; /* 讓標題填滿空間，使下方文字對齊 */
}

.link-card p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* --- 響應式調整 --- */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.6em;
    }
    .link-card h2 {
        font-size: 1.1em;
    }
}