* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background: #f3f4f6;
    color: #222;
    font-family: "Noto Sans TC", Microsoft JhengHei, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 400;
    letter-spacing: 0.8px;
}

li {
    text-align: left;
    margin-top: 10px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-banner {
    position: relative;
    text-align: center;
}


.main-content {
    flex: 1;
    padding: 24px 32px;
}


.tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 16px;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    transition: all .15s;
}

    .tab-btn:hover {
        color: #111827;
        background: #e5e7eb;
    }

    .tab-btn.active {
        color: #111827;
        border-bottom-color: #2563eb;
        font-weight: 600;
        background: #f9fafb;
    }

.card-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
    position: relative;
}

.card-cell {
    position: relative;
    height: 250px;
    overflow: visible;
}

@media(max-width:1024px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media(max-width:640px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.site-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 14px 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    overflow: visible;
    transition: box-shadow .15s ease, transform .15s ease;
    z-index: 1;
}
    .site-card.expanded {
        overflow: visible;
        z-index: 20;
        box-shadow: 0 10px 25px rgba(0,0,0,0.18);
        transform: translateY(-2px);
    }

.site-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-extra {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
    min-height: 150px;
}

.intro-toggle {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid #4b5563;
    background: #fff;
    cursor: pointer;
    margin-right: 8px;
}

    .intro-toggle span {
        margin-left: 4px;
    }

.intro-list {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: #374151;
}

    .intro-list.collapsed li:nth-child(n + 4) {
        display: none;
    }


    .intro-list li {
        margin-bottom: 2px;
    }

.card-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.btn-link {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #2563eb;
    color: #fff;
}

    .btn-link:hover {
        background: #1d4ed8;
    }

.footer-area {
    position: relative;
    text-align: center;
}

.all_box_01 {
    display: flex;
    justify-content: center;
    background-image: url(../images/back.png);
    min-height: 340px;
}

.text-container_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #FFF;
}

.title_big {
    font-size: 70px;
    margin: 0;
}

.title_small {
    font-size: 40px;
    margin: 0;
}

.all_box_03 {
    display: flex;
    justify-content: center;
    background-image: url(../images/back_bottom.png);
    min-height: 340px;
}

.all_box_04 {
    display: flex;
    justify-content: center;
    background-image: url(../images/back_humor.png);
    min-height: 781px;
}

.title_logo {
    position: absolute;
    top: -5%;
    left: 0%;
    z-index: 19;
}

.idea_box {
    display: flex;
    padding-top: 50px;
}

.botom_text {
    font-size: 30px;
    width: 20%;
}

.botom_text_md {
    width: 80%;
}

.botom_box {
    padding-top: 50px;
    display: flex;
}

.white_box {
    padding: 30px;
    background-color: #FFF;
    -webkit-box-shadow: rgba(98, 86, 90, 0.06) 3px 3px 0px;
    box-shadow: rgba(98, 86, 90, 0.06) 3px 3px 0px;
    border-radius: 12px;
    height: auto;
    width: 620px;
    margin-right: 20px;
    margin-bottom: 30px;
}

.top_orange {
    color: #EC662C;
    display: block;
}

.text_box {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.title_box {
    font-size: 30px;
    margin-right: 22px;
}

.text_left {
    text-align: left;
}

.box_title {
    font-size: 20px;
    color: #EC662C;
    text-align: center;
    margin-top: 30px;
    font-weight: 500;
}

.box_text {
    display: block;
    text-align: left;
    margin-top: 10px;
    font-size: 16px;
}

.main-footer {
    position: relative;
    background-color: #3A4246;
    min-height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

@media screen and (max-width: 1280.99px) {
    .all_box_01 {
        display: flex;
        justify-content: center;
        margin: 0 -15px;
        background-size: cover;
        background-position: center;
        min-height: 270px;
    }

    .all_box_03 {
        margin: 0 -15px;
        background-size: cover;
        background-position: center;
        min-height: 270px;
    }

    .all_box_04 {
        margin: 0 -15px;
        background-size: cover;
        background-position: center;
        min-height: 781px;
    }

    .botom_text_md {
        width: 70%;
    }

    .white_box {
        width: calc(100% - 50px);
        margin: 0 25px;
        margin-bottom: 30px;
    }
}