﻿@charset "utf-8";

#Main {
    padding: 2.5rem 0 4.5rem;
}

/* Hero Section */
.MySiteMapHero {
    position: relative;
    margin-bottom: 3.5rem;
    padding: 2.5rem 2.5rem 3rem;
    background:
        linear-gradient(135deg, rgba(14, 94, 135, 0.12), rgba(101, 194, 242, 0.06)),
        linear-gradient(180deg, #ffffff, #f6fbfe);
    border: 1px solid rgba(14, 94, 135, 0.12);
    border-radius: 1.5rem;
    box-shadow: 0 1.25rem 2.75rem rgba(14, 94, 135, 0.08);
}

.MySiteMapHero::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 10rem;
    height: 10rem;
    background: radial-gradient(circle, rgba(101, 194, 242, 0.28) 0%, rgba(101, 194, 242, 0) 72%);
    pointer-events: none;
}

.MySiteMapIntro {
    position: relative;
    z-index: 1;
    max-width: 52rem;
}

.MySiteMapEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0;
    color: #445f72;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.MySiteMapEyebrow::before {
    content: "";
    display: block;
    width: 1.5rem;
    height: 2px;
    background: #fc5d8a;
}

.MySiteMapIntro h2 {
    margin: 0 0 1rem;
    color: #12344c;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

#Content .MySiteMapIntro p {
    margin-bottom: 2rem;
    color: #445f72;
    font-size: 1.0625rem;
    line-height: 1.8;
    text-align: left;
}

.MySiteMapQuickLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#Content .MySiteMapQuickLinks a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #0e5e87;
    font-size: 1rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(14, 94, 135, 0.14);
    border-radius: 999rem;
    box-shadow: 0 0.5rem 1rem rgba(18, 52, 76, 0.05);
    transition: all 0.3s ease;
}

#Content .MySiteMapQuickLinks a:hover {
    color: #ffffff;
    background: #0e5e87;
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(14, 94, 135, 0.2);
}

/* Sections Grid */
.MySiteMapSections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 2.5rem;
}

/* Group Container */
.SiteMapGroup {
    display: flex;
    flex-direction: column;
}

.GroupTitle {
    position: relative;
    margin: 0 0 1.5rem;
    padding-bottom: 0.85rem;
    color: #fc5d8a;
    font-size: 1.625rem;
    font-weight: 700;
}

.GroupTitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 3px;
    background: rgba(252, 93, 138, 0.3);
    border-radius: 2px;
}

.GroupTitle a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.GroupTitle a::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.875rem;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.GroupTitle a:hover::after {
    transform: translateX(3px);
    opacity: 1;
}

.GroupTitle:hover {
    color: #0689ca;
}

/* Links List */
.GroupLinks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.GroupLinks > li {
    margin-bottom: 0.85rem;
}

.GroupLinks a {
    display: inline-block;
    color: #545454;
    font-size: 1.0625rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.GroupLinks a:hover {
    color: #34abe6;
    padding-left: 0.5rem;
}

/* Sub Level Styling */
.HasSubLevel {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: rgba(14, 94, 135, 0.03);
    border-radius: 1rem;
    border-left: 4px solid rgba(101, 194, 242, 0.3);
}

.SubTitle {
    display: block;
    margin-bottom: 0.85rem;
    color: #12344c;
    font-size: 1rem;
    font-weight: 700;
}

.SubLinks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.SubLinks li {
    margin-bottom: 0.65rem;
}

.SubLinks a {
    color: #666;
    font-size: 0.95rem;
}

/* 遵守 .ai 規範的共用斷點（使用 em 以符合桌面優先 RWD 規範） */

/* 平板尺寸 ( 約 976px) */
@media only screen and (max-width: 61em) {
    .MySiteMapHero {
        padding: 2rem;
        margin-bottom: 2.5rem;
    }
    .MySiteMapIntro h2 {
        font-size: 2.125rem;
    }
    .MySiteMapSections {
        gap: 2.5rem;
    }
}

/* 手機尺寸 ( 約 768px) */
@media only screen and (max-width: 47.999375em) {
    #Main {
        padding: 1.5rem 1.5em 3rem;
        box-sizing: border-box;
    }
    
    .MySiteMapHero {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 1rem;
    }
    
    .MySiteMapIntro h2 {
        font-size: 1.875rem;
    }
    
    #Content .MySiteMapIntro p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .MySiteMapQuickLinks {
        gap: 0.75rem;
    }
    
    #Content .MySiteMapQuickLinks a {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
        justify-content: center;
    }

    .MySiteMapSections {
        grid-template-columns: 1fr; /* 切換為單欄 */
        gap: 3rem;
    }
    
    .GroupTitle {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .GroupLinks a {
        font-size: 1rem;
    }
    
    .HasSubLevel {
        padding: 1rem;
    }
}
