﻿.mp學校資料3 {
    background-color: #6d9eeb;
    color: #FFFFFF;
}

.mp學校資料3 .innerShell {
    max-width: 1000px; /* 保持較大寬度，確保三部分有空間 */
    margin: 0 auto;
    padding: 2vw; /* 增加內邊距，增強空間感 */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2em; /* 三個部分之間的間距 */
}

.mp學校資料3 .link {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    flex-shrink: 1;
    flex-basis: 30%; /* 校徽和名稱佔據較小寬度 */
}

.mp學校資料3 .schoolLogo {
    max-height: 150px;
    filter: drop-shadow(0 0 0.25em #FFFFFF);
}

.mp學校資料3 .schoolName01 {
    display: block;
    font-weight: 700;
    font-size: 0.9em;
}

.mp學校資料3 .schoolName02 {
    display: block;
}

.mp學校資料3 .textInfo {
    flex-grow: 1;
    flex-basis: 30%; /* 學校資訊適當寬度 */
}

.mp學校資料3 .textInfo > div {
    padding-bottom: 1em;
}

.mp學校資料3 .textInfo .label {
    margin-right: 1em;
}

.mp學校資料3 .mapSection {
    flex-basis: 30%; /* 地圖寬度保持適當比例 */
    flex-shrink: 1;
}

.mp學校資料3 .mapSection iframe {
    max-width: 100%;
    border-radius: 8px; /* 圓角設計 */
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.3); /* 陰影提升層次感 */
}

/* 手機螢幕 (max-width: 480px) */
@media (max-width: 480px) {
    .mp學校資料3 .innerShell {
        display: block;
        padding: 1em;
    }

    .mp學校資料3 .schoolLogo {
        max-height: 100px;
    }

    .mp學校資料3 .link {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        padding: 1em;
    }

    .mp學校資料3 .textInfo {
        padding: 0 1em 1em 1em;
    }

    .mp學校資料3 .mapSection {
        padding: 0 1em 1em 1em;
    }

    .mp學校資料3 .mapSection iframe {
        height: 150px; /* 手機上地圖高度減小 */
    }

    .mp學校資料3 .copyright {
        text-align: right;
    }
}

/* 平板螢幕 (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .mp學校資料3 .innerShell {
        display: block;
        padding: 1em;
    }

    .mp學校資料3 .schoolLogo {
        max-height: 100px;
        margin-right: 1em;
    }

    .mp學校資料3 .link {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 1em;
    }

    .mp學校資料3 .textInfo {
        padding: 0 1em 1em 1em;
    }

    .mp學校資料3 .mapSection {
        padding: 0 1em 1em 1em;
    }

    .mp學校資料3 .mapSection iframe {
        height: 200px; /* 平板上地圖高度稍大 */
    }

    .mp學校資料3 .copyright {
        text-align: right;
    }
}

/* 中型螢幕 (768px to 979px) */
@media (min-width: 768px) and (max-width: 979px) {
    .mp學校資料3 .innerShell {
        max-width: 900px;
    }

    .mp學校資料3 .mapSection iframe {
        height: 200px; /* 中型螢幕地圖高度 */
    }
}

/* 大型螢幕 (980px to 1199px) */
@media (min-width: 980px) and (max-width: 1199px) {
    .mp學校資料3 .innerShell {
        max-width: 950px;
    }

    .mp學校資料3 .mapSection iframe {
        height: 200px; /* 與桌面端一致 */
    }
}

/* 超大螢幕 (1200px to 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .mp學校資料3 .innerShell {
        max-width: 1000px;
    }

    .mp學校資料3 .mapSection iframe {
        height: 200px; /* 稍大一點 */
    }
}

/* 極大螢幕 (1920px 以上) */
@media (min-width: 1920px) {
    .mp學校資料3 .innerShell {
        max-width: 1100px;
    }

    .mp學校資料3 .mapSection iframe {
        height: 200px; /* 極大螢幕稍大 */
    }
}
