@charset "UTF-8";
/*
 * 八卦寮站台補充樣式（2026-11-10）
 * custom.css 為版型原檔（public_html_template/css/custom.css），不在這裡改；
 * 本檔只補版型沒有、但沿用 t07 框架元件需要的規則。
 */

/* 首頁「關於八卦寮」背景（版型原為 inline style） */
.home-about-bg {
	background-image: url('../images/main/demo-elearning-02.png');
	background-position: -10% top !important;
}

/* 聯絡我們：地圖（容器固定高度 h-550px／md-h-450px／sm-h-350px，iframe 填滿） */
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* 聯絡我們：資訊卡疊在地圖右下（crafto demo-elearning-contact）；手機改為地圖下方 */
.contact-card a:not(.btn) { word-break: break-word; }
@media (max-width: 767px) {
	.contact-card { margin-top: -40px; margin-left: 15px; margin-right: 15px; }
}

/* 聯絡我們：表單（contact-form-style-03 底線欄位）；custom.css（real-estate 示範）把 style-03 上移 -100px，這裡不需要 */
form.contact-form.contact-form-style-03 { margin-top: 0; }
.contact-form .form-control { padding-right: 35px; }
.contact-form .form-control::placeholder { color: #8a8a8a; opacity: 1; }
.contact-form .form-control:focus { border-bottom: 2px solid var(--base-color) !important; box-shadow: none; }
.contact-form .form-control.is-invalid { border-bottom-color: #c0392b !important; }
.contact-form .invalid-feedback { color: #b02a1f; font-size: 15px; }
.contact-form .text-danger { color: #b02a1f !important; }
/* 陷阱欄位：移出畫面（不用 display:none，避免部分機器人跳過） */
.contact-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
#contact-result:focus { outline: 2px solid var(--base-color); outline-offset: 2px; }

/* 內文編輯器內容：還原 Bootstrap／版型清掉的清單樣式（取自 t07 custom.css） */
.custom_content ul,
.custom_content ul.list-unstyled,
.custom_content ul.nav,
.custom_content ul.navbar-nav { list-style-type: disc !important; padding-left: 40px !important; margin-left: 0 !important; margin-bottom: 1rem !important; display: block !important; }
.custom_content ol,
.custom_content ol.list-unstyled { list-style-type: decimal !important; padding-left: 40px !important; margin-left: 0 !important; margin-bottom: 1rem !important; display: block !important; }
.custom_content li,
.custom_content ul li,
.custom_content ol li { display: list-item !important; list-style: inherit !important; margin-bottom: 0.5rem !important; }
.custom_content ul li::before,
.custom_content ol li::before { content: none !important; }
.custom_content ul ul { list-style-type: circle !important; }
.custom_content ul ul ul { list-style-type: square !important; }
.custom_content ol ol { list-style-type: lower-alpha !important; }
.custom_content ol ol ol { list-style-type: lower-roman !important; }
.custom_content img { max-width: 100%; height: auto; }
.custom_content iframe { max-width: 100%; }

/* 網站導覽：清單縮排 */
.a11y-sitemap ul { padding-left: 1.5rem; }
.a11y-sitemap ul ul { margin-top: .25rem; }

/* 關於我們（單頁靜態，crafto demo-elearning-about／testimonial 版面） */
.about-label { display: inline-flex; align-items: center; }
.about-label-icon { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; background: var(--base-color); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-right: 15px; }
.about-goals .col { padding: 0 30px 10px; border-right: 1px solid var(--extra-medium-gray, #e4e4e4); }
.about-goals .col:last-child { border-right: 0; }
@media (max-width: 991px) { .about-goals .col { border-right: 0; margin-bottom: 35px; } }
.about-goal-icon { position: relative; width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 50%; background: var(--very-light-gray, #f7f7f7); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--base-color); }
.about-float { display: inline-flex; align-items: center; padding-right: 30px !important; }
@media (max-width: 767px) { .about-float { position: relative !important; left: 0 !important; bottom: 0 !important; margin-top: -30px; } }
.about-list { list-style: disc; padding-left: 1.25rem; margin-bottom: 0; }
.about-list li { margin-bottom: 4px; }
.about-career .col { margin: 0 -1px -1px 0; }
.about-career-box { position: relative; height: 100%; min-height: 170px; padding: 55px 25px 25px; background: #fff; border: 1px solid var(--extra-medium-gray, #e4e4e4); transition: background .3s ease, color .3s ease; }
.about-career-box i { display: block; font-size: 34px; color: var(--dark-gray); margin-bottom: 12px; }
.about-career-year { position: absolute; top: 18px; right: 22px; font-weight: 600; font-size: 15px; color: var(--dark-gray); }
.about-career-text { display: block; font-size: 17px; line-height: 26px; font-weight: 500; color: var(--dark-gray); }
.about-career-box:hover { background: var(--dark-gray); }
.about-career-box:hover i, .about-career-box:hover .about-career-year, .about-career-box:hover .about-career-text { color: #fff; }
.about-vision { background: var(--very-light-gray, #f7f7f7); border-left: 4px solid var(--base-color); }
.accordion-style-05 .accordion-header a { display: block; }
/* 未來發展：手風琴展開後較長，左側圖片在桌機跟著捲動，避免左右落差 */
@media (min-width: 992px) { .about-sticky { position: sticky; top: 110px; } }
@media (max-width: 991px) {
	.about-page img.border-radius-6px { max-height: 420px; object-fit: cover; }
}
/* 首頁「相關連結」圖片列（swiper，可左右滑動） */
.home-link-item { height: 120px; padding: 15px; transition: transform .3s ease; }
.home-link-item:hover, .home-link-item:focus-visible { transform: translateY(-4px); }
.home-link-item img { max-height: 90px; max-width: 100%; width: auto; object-fit: contain; }
.home-links-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--extra-medium-gray, #e4e4e4); background: #fff; color: var(--dark-gray); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.home-links-nav:hover, .home-links-nav:focus-visible { background: var(--base-color); border-color: var(--base-color); color: #fff; }
.home-links-nav.swiper-button-disabled { opacity: .35; cursor: default; }
