/* =====================================================================
   LOOP PR & Marketing — 新增元件樣式
   (沿用原有模板的字體、顏色及效果，只為新增功能補充樣式)
   ===================================================================== */
:root {
    --loop-pink: #EE3D8A;
    --loop-grey: #666566;
    --loop-brown: #a98d89;
    --loop-dark: #202020;
}
.loop-ui { --theme-color1: #EE3D8A; }

/* ---------- 首頁 Banner ---------- */
.banner-section .banner-slider .banner-slide .outer-box .content-box .banner-title {
    font-size: 80px;
    position: relative;
    color: var(--theme-color-light);
    font-weight: 700;
    font-family: var(--title-font);
    text-transform: uppercase;
    line-height: 100px;
    margin-bottom: 31px;
}
@media (max-width: 1399.98px) {
    .banner-section .banner-slider .banner-slide .outer-box .content-box .banner-title { font-size: 58px; line-height: 70px; }
}
@media (max-width: 767.98px) {
    .banner-section .banner-slider .banner-slide .outer-box .content-box .banner-title { font-size: 36px; line-height: 46px; }
}
@media (max-width: 575.98px) {
    .banner-section .banner-slider .banner-slide .outer-box .content-box .banner-title { font-size: 30px; line-height: 45px; }
}
.banner-section .banner-slider .banner-slide .outer-box .content-box .banner-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 26px;
    margin: 0;
    color: #fff;
}
.banner-section .banner-slider .banner-slide .banner-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 92px;
    background: #000;
    pointer-events: none;
}

/* ---------- 選單 / 語言切換 ---------- */
@media (min-width: 1200px) {
    .header-style-one .header-lower .main-menu .navigation > li { margin-right: 24px; }
}
.header-style-one .header-lower .outer-box .lang-switch { margin-right: 18px; margin-left: 18px; }
.header-style-one .header-lower .outer-box .lang-switch a {
    font-family: var(--title-font);
    color: #EE3D8A;
    font-size: 16px;
    letter-spacing: .5px;
    white-space: nowrap;
}
.header-style-one .header-lower .outer-box .lang-switch a:hover { color: #666566; }
.header-style-one .header-lower .outer-box .btn .theme-btn { white-space: nowrap; }
@media (max-width: 575.98px) { .header-style-one .header-lower .outer-box .lang-switch { display: none; } }
.mobile-menu .mobile-lang-switch { padding: 14px 25px; border-top: 1px solid rgba(238, 61, 138, .2); }
.mobile-menu .mobile-lang-switch a { color: #EE3D8A; font-family: var(--title-font); }
.lang-zh .banner-section .banner-slider .banner-slide .outer-box .content-box .banner-title,
.lang-zh .banner-section .banner-slider .banner-slide .outer-box .content-box h1 { letter-spacing: 2px; }

/* ---------- WhatsApp 浮動按鈕 ---------- */
.whatsapp-float {
    position: fixed;
    right: 38px;
    bottom: 104px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    font-size: 30px;
    line-height: 54px;
    text-align: center;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
    transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(37, 211, 102, .6); }
.whatsapp-float::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: loop-wa-pulse 2s infinite;
}
@keyframes loop-wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 575.98px) { .whatsapp-float { right: 13px; bottom: 100px; } }

/* ---------- 分頁 ---------- */
.loop-pagination { margin-top: 50px; }
.loop-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.loop-pagination li a, .loop-pagination li span {
    display: inline-block;
    min-width: 44px; height: 44px; line-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(238, 61, 138, .42);
    color: #666566;
    text-align: center;
    font-family: var(--title-font);
    transition: all .3s ease;
}
.loop-pagination li a:hover, .loop-pagination li.active span { background: #EE3D8A; border-color: #EE3D8A; color: #fff; }
.loop-pagination li.dots span { border-color: transparent; }

/* ---------- 共用 ---------- */
.loop-section { position: relative; padding: 120px 0 90px; }
.loop-section.grey { background-color: rgba(238, 238, 238, .37); }
.loop-section.dark { background: #202020; }
.loop-lead { line-height: 33px; font-size: 18px; color: #666566; }
.loop-content { color: #666566; font-size: 16px; line-height: 30px; }
.loop-content h2, .loop-content h3, .loop-content h4 { color: #EE3D8A; text-transform: uppercase; margin: 30px 0 15px; }
.loop-content h2 { font-size: 30px; line-height: 40px; }
.loop-content h3 { font-size: 24px; line-height: 32px; }
.loop-content h4 { font-size: 20px; line-height: 28px; }
.loop-content ul { list-style: none; padding: 0; margin: 0 0 20px; }
.loop-content ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.loop-content ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 2px; background: #EE3D8A; }
.loop-content ol { padding-left: 20px; }
.loop-content a { color: #EE3D8A; text-decoration: underline; }
.loop-content img { max-width: 100%; height: auto; }
.loop-content p { margin-bottom: 18px; }
.loop-content table { width: 100%; margin-bottom: 20px; border-collapse: collapse; }
.loop-content table td, .loop-content table th { border: 1px solid #eee; padding: 10px; }
.loop-content blockquote { border-left: 3px solid #EE3D8A; padding: 10px 20px; background: #f7f7f7; font-style: italic; }
.sec-title .sec-desc { color: #666566; font-size: 18px; line-height: 30px; margin-top: 15px; max-width: 760px; }
.sec-title.text-center .sec-desc { margin-left: auto; margin-right: auto; }
.theme-btn.btn-outline { background: transparent; color: #EE3D8A; border: 1px solid #EE3D8A; }
.theme-btn.btn-outline:hover { color: #fff; }

/* ---------- 服務卡片 ---------- */
.service-block .inner-box { display: flex; flex-direction: column; max-height: none; }
.service-block .inner-box .content-box { flex: 1 1 auto; display: flex; flex-direction: column; }
.service-block .inner-box .content-box .title a { color: inherit; }
.service-block .service-actions { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.service-block .service-actions a {
    font-family: var(--title-font);
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid #EE3D8A;
    color: #EE3D8A;
    transition: all .3s ease;
}
.service-block .service-actions a.primary, .service-block .service-actions a:hover { background: #EE3D8A; color: #fff; }
.service-block .service-actions a.primary:hover { background: #666566; border-color: #666566; }

/* ---------- 服務流程 ---------- */
.loop-process .step {
    position: relative;
    background: #fff;
    border: 1px solid rgba(238, 61, 138, .42);
    padding: 40px 28px 30px;
    height: 100%;
    transition: all .3s ease;
}
.loop-process .step:hover { border-color: #EE3D8A; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); transform: translateY(-4px); }
.loop-process .step .num { font-family: var(--title-font); font-size: 54px; line-height: 1; font-weight: 700; color: rgba(238, 61, 138, .2); margin-bottom: 14px; }
.loop-process .step h3 { font-size: 24px; color: #EE3D8A; text-transform: uppercase; margin-bottom: 12px; }
.loop-process .step p { color: #666566; margin: 0; line-height: 26px; }
.loop-process .col-step { margin-bottom: 30px; }
@media (min-width: 992px) {
    .loop-process .col-step:not(:last-child) .step::after {
        content: "\f105";
        font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome";
        font-weight: 900;
        position: absolute; right: -22px; top: 50%;
        transform: translateY(-50%);
        color: #EE3D8A; font-size: 22px; z-index: 2;
    }
}

/* ---------- 核心優勢 / 團隊 ---------- */
.loop-feature {
    background: #fff;
    border: 1px solid rgba(238, 61, 138, .42);
    padding: 34px 28px;
    height: 100%;
    text-align: left;
    transition: all .3s ease;
}
.loop-feature:hover { background: #EE3D8A; border-color: #EE3D8A; }
.loop-feature .icon { width: 60px; height: 60px; line-height: 60px; text-align: center; font-size: 26px; background: rgba(238, 61, 138, .1); color: #EE3D8A; margin-bottom: 20px; transition: all .3s ease; }
.loop-feature h3 { font-size: 22px; line-height: 30px; text-transform: uppercase; color: #EE3D8A; margin-bottom: 6px; transition: color .3s ease; }
.loop-feature .role { display: block; font-size: 14px; color: #a98d89; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.loop-feature p { color: #666566; margin: 0; line-height: 26px; transition: color .3s ease; }
.loop-feature:hover .icon { background: #fff; }
.loop-feature:hover h3, .loop-feature:hover p, .loop-feature:hover .role { color: #fff; }
.loop-feature .photo { margin: -34px -28px 24px; overflow: hidden; }
.loop-feature .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.loop-feature:hover .photo img { transform: scale(1.06); }
.loop-grid-gap > [class*="col-"] { margin-bottom: 30px; }

/* ---------- 公司故事 ---------- */
.loop-story .image { position: relative; }
.loop-story .image img { width: 100%; object-fit: cover; }
.loop-story .image::before { content: ""; position: absolute; left: -18px; top: -18px; width: 60%; height: 60%; border: 2px solid rgba(238, 61, 138, .44); z-index: -1; }
.loop-story .loop-content { margin-top: 20px; }

/* ---------- 案例篩選 ---------- */
.project-filter-bar { margin-bottom: 40px; }
.project-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 24px; }
.project-cats li a {
    display: inline-block;
    padding: 8px 22px;
    font-family: var(--title-font);
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 1px solid rgba(238, 61, 138, .42);
    color: #666566;
    transition: all .3s ease;
}
.project-cats li a:hover, .project-cats li.active a { background: #EE3D8A; border-color: #EE3D8A; color: #fff; }
.project-search { max-width: 520px; margin: 0 auto 20px; position: relative; }
.project-search input {
    width: 100%; height: 50px;
    border: 1px solid rgba(238, 61, 138, .42);
    padding: 0 56px 0 20px;
    color: #666566; outline: none;
}
.project-search input:focus { border-color: #EE3D8A; }
.project-search button { position: absolute; right: 0; top: 0; width: 50px; height: 50px; background: #EE3D8A; color: #fff; border: 0; }
.project-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.project-tags a, .tag-chip {
    display: inline-block;
    font-size: 13px;
    padding: 2px 12px;
    border-radius: 20px;
    background: #f3f3f3;
    color: #666566;
    transition: all .3s ease;
}
.project-tags a:hover, .project-tags a.active, a.tag-chip:hover { background: #EE3D8A; color: #fff; }
.project-filter-status { text-align: center; color: #666566; margin-bottom: 20px; }
.project-filter-status a { color: #EE3D8A; margin-left: 8px; }
.projects_list_item .item-meta {
    position: absolute; left: 0; right: 0; bottom: 14px;
    text-align: center; color: #fff; font-size: 13px;
    text-transform: uppercase; letter-spacing: .5px;
    pointer-events: none;
}
.projects_list_item > a { display: block; }
.projects_list_item h2.item-title { font-size: var(--h5-font-size); line-height: var(--line-height-heading-small); color: #fff; font-weight: var(--h5-font-weight); }
.loop-empty { text-align: center; padding: 60px 0; color: #666566; }

/* ---------- 案例詳情 ---------- */
.project-info-box { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 30px 0; padding: 24px 30px; border-left: 3px solid #EE3D8A; background: #f7f7f7; }
.project-info-box .info { min-width: 140px; }
.project-info-box .info span { display: block; font-size: 13px; color: #a98d89; text-transform: uppercase; letter-spacing: .5px; }
.project-info-box .info strong, .project-info-box .info a { font-family: var(--title-font); font-size: 18px; color: #202020; font-weight: 500; }
.project-info-box .info a:hover { color: #EE3D8A; }
.case-cards { margin: 40px 0 10px; }
.case-card { height: 100%; border: 1px solid rgba(238, 61, 138, .42); padding: 30px; background: #fff; }
.case-card .case-icon { font-size: 26px; color: #EE3D8A; margin-bottom: 12px; }
.case-card h2 { font-size: 22px; line-height: 30px; color: #EE3D8A; text-transform: uppercase; margin-bottom: 12px; }
.case-card .loop-content { font-size: 15px; line-height: 26px; }
.project-gallery { margin-top: 30px; }
.project-gallery a { display: block; overflow: hidden; margin-bottom: 20px; }
.project-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.project-gallery a:hover img { transform: scale(1.05); }
.project-details__content-left { color: #666566; line-height: 30px; }
.project-details__content-left img { max-width: 100%; height: auto; }

/* ---------- Blog ---------- */
.loop-blog-card { height: 100%; background: #fff; box-shadow: 0 3px 13px rgba(0, 0, 0, .1), 0 1px 33px rgba(0, 0, 0, .06); display: flex; flex-direction: column; transition: all .3s ease; }
.loop-blog-card:hover { transform: translateY(-5px); }
.loop-blog-card .image { display: block; overflow: hidden; }
.loop-blog-card .image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.loop-blog-card:hover .image img { transform: scale(1.06); }
.loop-blog-card .body { padding: 26px 26px 30px; flex: 1 1 auto; display: flex; flex-direction: column; border-top: 3px solid #EE3D8A; }
.loop-blog-card .meta { font-size: 13px; color: #a98d89; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.loop-blog-card .meta a { color: #EE3D8A; }
.loop-blog-card h2, .loop-blog-card h3 { font-size: 22px; line-height: 30px; margin-bottom: 12px; text-transform: uppercase; }
.loop-blog-card h2 a, .loop-blog-card h3 a { color: #202020; }
.loop-blog-card h2 a:hover, .loop-blog-card h3 a:hover { color: #EE3D8A; }
.loop-blog-card p { color: #666566; line-height: 26px; margin-bottom: 18px; }
.loop-blog-card .more { margin-top: auto; font-family: var(--title-font); text-transform: uppercase; color: #EE3D8A; letter-spacing: .5px; }
.loop-blog-card .more i { margin-left: 6px; transition: margin .3s ease; }
.loop-blog-card:hover .more i { margin-left: 12px; }
.blog-details__meta li span { font-size: 15px; color: #777; font-weight: 500; }
.blog-details__meta li i { color: #EE3D8A; margin-right: 6px; }
.blog-details__title { color: #202020; }
.blog-details__date { background-color: #EE3D8A; }
.loop-sidebar .sidebar__single { background: #f7f7f7; padding: 30px; margin-bottom: 30px; }
.loop-sidebar .sidebar__title { font-size: 22px; text-transform: uppercase; margin-bottom: 20px; color: #202020; position: relative; padding-left: 12px; }
.loop-sidebar .sidebar__title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: #EE3D8A; }
.loop-sidebar ul { list-style: none; padding: 0; margin: 0; }
.loop-sidebar .cat-list li + li { border-top: 1px solid #e8e8e8; }
.loop-sidebar .cat-list li a { display: flex; justify-content: space-between; padding: 10px 0; color: #666566; }
.loop-sidebar .cat-list li a:hover, .loop-sidebar .cat-list li.active a { color: #EE3D8A; }
.loop-sidebar .post-list li { display: flex; gap: 14px; align-items: center; }
.loop-sidebar .post-list li + li { margin-top: 18px; }
.loop-sidebar .post-list img { width: 80px; height: 64px; object-fit: cover; flex: 0 0 80px; }
.loop-sidebar .post-list h3 { font-size: 16px; line-height: 22px; margin: 0 0 4px; text-transform: none; }
.loop-sidebar .post-list h3 a { color: #202020; }
.loop-sidebar .post-list h3 a:hover { color: #EE3D8A; }
.loop-sidebar .post-list span { font-size: 12px; color: #a98d89; }
.loop-sidebar .sidebar-search { position: relative; }
.loop-sidebar .sidebar-search input { width: 100%; height: 50px; border: 1px solid #e3e3e3; padding: 0 56px 0 16px; outline: none; }
.loop-sidebar .sidebar-search button { position: absolute; right: 0; top: 0; width: 50px; height: 50px; border: 0; background: #EE3D8A; color: #fff; }
.loop-share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #eee; flex-wrap: wrap; }
.loop-share span { font-family: var(--title-font); text-transform: uppercase; color: #202020; margin-right: 6px; }
.loop-share a { width: 40px; height: 40px; line-height: 40px; text-align: center; border: 1px solid rgba(238, 61, 138, .42); color: #EE3D8A; transition: all .3s ease; }
.loop-share a:hover { background: #EE3D8A; color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; }
.post-nav a { flex: 1; padding: 18px 20px; border: 1px solid #eee; color: #202020; font-family: var(--title-font); transition: all .3s ease; }
.post-nav a small { display: block; color: #a98d89; font-family: var(--text-font); text-transform: uppercase; font-size: 12px; }
.post-nav a:hover { border-color: #EE3D8A; color: #EE3D8A; }
.post-nav a.next { text-align: right; }

/* ---------- 搜尋 / 404 ---------- */
.search-result { padding: 24px 0; border-bottom: 1px solid #eee; }
.search-result .type { font-size: 12px; text-transform: uppercase; color: #fff; background: #EE3D8A; padding: 2px 10px; display: inline-block; margin-bottom: 8px; }
.search-result h2 { font-size: 24px; line-height: 32px; margin-bottom: 8px; text-transform: none; }
.search-result h2 a { color: #202020; }
.search-result h2 a:hover { color: #EE3D8A; }
.search-result p { color: #666566; margin: 0; }
.loop-404 { text-align: center; padding: 60px 0 120px; }
.loop-404 .code { font-family: var(--title-font); font-size: 160px; line-height: 1; font-weight: 700; color: #EE3D8A; }

/* ---------- 表單 ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
