.elementor-43720 .elementor-element.elementor-element-6ec274d{width:var( --container-widget-width, 101.525% );max-width:101.525%;--container-widget-width:101.525%;--container-widget-flex-grow:0;}@media(max-width:767px){.elementor-43720 .elementor-element.elementor-element-6ec274d{width:var( --container-widget-width, 317.719px );max-width:317.719px;--container-widget-width:317.719px;--container-widget-flex-grow:0;}}/* Start custom CSS for html, class: .elementor-element-6ec274d */.advising-page-container {
    max-width: 5000px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 15px;
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
    color: #333;
}

.page-header {
    
    text-align: center;
    margin-bottom: 35px;
}

.page-header h1 {
    padding-top: 35px;
    font-size: 30px;
    color: #1a365d;
    margin-bottom: 8px;
    font-weight: bold;
}

.page-header p {
    font-size: 13px;
    color: #718096;
    letter-spacing: 1px;
}

/* 上半部：兩大類別並排 */
.advising-categories {
    display: flex;
    gap: 25px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.category-card {
    flex: 1;
    min-width: 0px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background: #8963BA;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
}

.category-badge.mainland {
    background: #809848;
}

.category-badge.foreign {
    background: #E36923;
}

.category-badge.light {
    background: #89CFF0;
}

/* 老師資料區塊 */
.teacher-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.photo-placeholder {
    width: 110px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f4f8;
    flex-shrink: 0;
    border: 1px solid #cbd5e0;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-touch-callout: none; /* 停用 iOS / Safari 長按彈出選單 */
    -webkit-user-select: none;   /* 停用 Safari 選取 */
    -khtml-user-select: none;
    -moz-user-select: none;      /* 停用 Firefox 選取 */
    -ms-user-select: none;       /* 停用 IE / Edge 選取 */
    user-select: none;           /* 標準停用選取 */
    pointer-events: auto;
}

.teacher-info h3 {
    padding-top: 15px;
    margin: 0 0 4px 0;
    font-size: 25px !important;
    color: #2d3748;
}

.teacher-info h4{
    font-size: 20px !important;
}

.teacher-info .role-title {
    font-size: 15px !important;
    color: #718096;
    margin-bottom: 10px;
}

.teacher-info .email {
    font-size: 15px !important;
    color: #4a5568;
    word-break: break-all;
}

.teacher-info .email a {
    color: #3182ce;
    text-decoration: none;
}

.teacher-info .email a:hover {
    text-decoration: underline;
}

/* 社團區塊 */
.club-section h4 {
    font-size: 15px;
    color: #2d3748;
    margin-bottom: 10px;
}

.club-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.club-tag {
    background-color: #FCF6B1;
    color: #2C0703;
    border: 1px solid #D95D39;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
}

.club-tag.mainland-tag {
    background-color: #F9DAD0;
    color: #011638;
    border-color: #C42348;
}

.club-tag.foreign-tag {
    background-color: #9B97B2;
    color: #2D3047;
    border-color: #2F2963;
}

.club-tag.light-tag {
    background-color: #E07A5F;
    color: #54442B;
    border-color: #262A10;
}

.club-desc {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
}

/* 下半部：綜合輔導 */
.academic-support-section {
    background: #f7fafc;
    border-radius: 16px;
    padding: 30px 25px;
    border: 1px solid #edf2f7;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 22px;
    color: #2b6cb0;
    margin-bottom: 6px;
}

.section-title p {
    font-size: 14px;
    color: #718096;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.support-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.support-card .card-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.support-card h3 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 8px;
}

.support-card p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 10px;
    line-height: 1.5;
}

.support-card ul {
    padding-left: 18px;
    margin: 0;
}

.support-card li {
    font-size: 13px;
    color: #718096;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* 兩位老師並排排版 */
.teachers-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
    flex-wrap: wrap;
}

.teacher-profile {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

.photo-placeholder {
    width: 100px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #e2e8f0;
    flex-shrink: 0;
    border: 1px solid #cbd5e0;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role-badge {
    display: inline-block;
    background: #7B5E7B;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
    font-weight: bold;
}

.role-badge.mainland {
    background: #3C4D62;
}

.teacher-info h3 {
    margin: 2px 0 2px 0;
    font-size: 18px;
    color: #2d3748;
}

.teacher-info h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #718096;
    font-weight: normal;
}

.teacher-info .role-title {
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
}

.teacher-info .email {
    margin: 0;
    font-size: 12px;
}

.teacher-info .email a {
    color: #2b6cb0;
    text-decoration: none;
}

.teacher-info .email a:hover {
    text-decoration: underline;
}

.academic-support-section {
    background: #f8fafc;
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid #e2e8f0;
}

.light .section-title h2{
    letter-spacing: 3px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 22px;
    color: #2b6cb0;
    margin: 0 0 6px 0;
}

.section-title p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* 左右雙欄容器 */
.support-split-container {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

/* 左欄：照片區 */
.support-media-col {
    flex: 0 0 65%;           /* 固定佔用父容器 65% 寬度 */
    max-width: 65%;          /* 確保最大寬度限制在 65% */
    display: flex;
    align-items: center;   
    justify-content: center; 
}

.media-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: center; 
    align-items: center;     
}

.main-activity-photo {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 8px;
}

.photo-caption {
    font-size: 13px;
    color: #718096;
    text-align: center;
    margin: 10px 0 2px 0;
}

/* 右欄：輔導文字卡片區 */
.support-content-col {
    flex: 0 0 calc(35% - 15px);
    max-width: calc(35% - 15px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    flex: 1;
}

.support-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.support-card .card-icon {
    font-size: 24px;
}

.support-card h3 {
    font-size: 17px;
    color: #2d3748;
    margin: 0;
}

.support-card p {
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.support-card ul {
    padding-left: 18px;
    margin: 0;
}

.support-card li {
    font-size: 13px;
    color: #718096;
    margin-bottom: 6px;
    line-height: 1.4;
}

.support-card li:last-child {
    margin-bottom: 0;
}

.info-item {
    display: flex;
}

.info-icon{
    margin-right: 5px;
}

.concept-card .card-content {
    text-align: center;
}

/* RWD 手機版優化 */
@media (max-width: 768px) {
    .advising-categories {
        flex-direction: column;
    }
    .teacher-profile {
        flex-direction: column;
        text-align: center;
    }
    .photo-placeholder {
        margin: 0 auto;
    }
    .support-media-col,
    .support-content-col {
        flex: 1 1 100%;
        max-width: 100%;
    }
}/* End custom CSS */