/* 偉光工程有限公司前台样式（Bootstrap 3 响应式 · 黑金商务风）
   主色 #1b1b1b / 金色 #d4af37 / 内容区白底 */

html {
    scroll-behavior: smooth;
}

body.sealife-body {
    background: #f5f6f7;
    font-family: "Helvetica Neue", Helvetica, Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    /* 框架包 body{padding-top:60px} 是给会员中心 navbar-fixed-top 预留的；
       sealife 头部为文档流布局，需归零消除顶部留白 */
    padding-top: 0;
}

/* ---- 顶部：品牌顶栏 ---- */
.sl-header {
    background: #fff;
}
.sl-topbar {
    background: #fff;
    border-bottom: 1px solid #eee;
}
/* 品牌横幅图（内页导航栏上方），高度与首页 Hero 一致，全宽裁切显示 */
.sl-banner {
    padding: 0;
    background: #141414;
    height: 470px;
    overflow: hidden;
}
.sl-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sl-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.sl-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.sl-brand:hover,
.sl-brand:focus {
    text-decoration: none;
}
.sl-brand-mark {
    width: 44px;
    height: 44px;
    background: #1b1b1b;
    color: #d4af37;
    border: 2px solid #d4af37;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}
.sl-brand-text {
    margin-left: 12px;
}
.sl-brand-text strong {
    display: block;
    color: #1b1b1b;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1.3;
}
.sl-brand-text em {
    display: block;
    font-style: normal;
    font-size: 10px;
    color: #b08d2f;
    letter-spacing: 2.5px;
}
.sl-topbar-contact {
    color: #555;
    font-size: 14px;
}
.sl-topbar-contact .fa {
    color: #d4af37;
    margin-right: 4px;
}
.sl-topbar-contact strong {
    color: #1b1b1b;
    font-size: 16px;
    letter-spacing: 1px;
}

/* ---- 顶部：主导航（吸顶） ---- */
.sl-navbar {
    background: #1b1b1b;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.sl-navbar .navbar-nav > li > a {
    color: #ccc;
    border-bottom: 2px solid transparent;
    padding-top: 15px;
    padding-bottom: 13px;
    transition: color .15s, border-color .15s;
}
.sl-navbar .navbar-nav > li > a:hover,
.sl-navbar .navbar-nav > li > a:focus,
.sl-navbar .navbar-nav > .active > a,
.sl-navbar .navbar-nav > .active > a:hover,
.sl-navbar .navbar-nav > .open > a,
.sl-navbar .navbar-nav > .open > a:hover,
.sl-navbar .navbar-nav > .open > a:focus {
    color: #d4af37;
    background: transparent;
    border-bottom-color: #d4af37;
}
.sl-navbar .eng {
    font-size: 11px;
    opacity: .55;
    margin-left: 3px;
}
.sl-navbar .navbar-brand {
    color: #d4af37;
    letter-spacing: 3px;
}
.sl-navbar .navbar-toggle .icon-bar {
    background-color: #d4af37;
}
.sl-navbar .navbar-toggle {
    border-color: #555;
}
.sl-navbar .navbar-toggle:hover,
.sl-navbar .navbar-toggle:focus {
    background-color: #2a2a2a;
}
/* 二级菜单（桌面端 hover 展开） */
@media (min-width: 768px) {
    .sl-navbar .dropdown:hover .dropdown-menu {
        display: block;
    }
}
.sl-navbar .dropdown-menu {
    background: #222;
    border: 1px solid #333;
    border-radius: 0 0 4px 4px;
}
.sl-navbar .dropdown-menu > li > a {
    color: #bbb;
}
.sl-navbar .dropdown-menu > li > a:hover,
.sl-navbar .dropdown-menu > li > a:focus {
    color: #d4af37;
    background: #2a2a2a;
}

/* ---- Hero 主视觉（首页） ---- */
.sl-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 95px 0 105px;
    background:
        radial-gradient(1100px 420px at 78% 15%, rgba(212, 175, 55, .16), transparent 62%),
        linear-gradient(135deg, #131313 0%, #221d10 62%, #2c2617 100%);
}
.sl-hero-tag {
    color: #d4af37;
    font-size: 13px;
    letter-spacing: 5px;
    margin: 0 0 16px;
}
.sl-hero-title {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 8px;
    margin: 0 0 22px;
    line-height: 1.25;
}
.sl-hero-title::after {
    content: "";
    display: block;
    width: 66px;
    height: 3px;
    background: #d4af37;
    margin-top: 22px;
}
.sl-hero-slogan {
    font-size: 18px;
    color: #cfcfcf;
    letter-spacing: 3px;
    margin: 0;
}
.sl-hero-cta {
    margin-top: 34px;
}
.sl-hero-dots {
    position: absolute;
    right: 8%;
    bottom: 30%;
}
.sl-hero-dots i {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 3px solid #d4af37;
    border-radius: 50%;
    margin: 0 7px;
    opacity: .85;
}
.sl-hero-dots i:nth-child(2) {
    opacity: .6;
}
.sl-hero-dots i:nth-child(3) {
    opacity: .4;
}
.sl-hero-dots i:nth-child(4) {
    opacity: .25;
}
.sl-hero-dots i:nth-child(5) {
    opacity: .15;
}
/* 带背景轮播的 Hero（图文版）：深色叠加保证金字可读 */
.sl-hero-photo {
    position: relative;
}
.sl-hero-photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background:
        radial-gradient(1100px 420px at 78% 15%, rgba(212, 175, 55, .18), transparent 62%),
        linear-gradient(115deg, rgba(16, 15, 11, .93) 0%, rgba(16, 15, 11, .84) 52%, rgba(24, 21, 12, .72) 100%);
}
/* 背景图轮播层（3 张自动交叉淡入，原生 JS） */
.sl-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.sl-hero-bg .item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}
.sl-hero-bg .item.active {
    opacity: 1;
}
.sl-hero-photo .container,
.sl-hero-photo .sl-hero-dots {
    position: relative;
    z-index: 2;
}

/* 按钮 */
.sl-btn-gold {
    background: #d4af37;
    color: #1b1b1b;
    border: 1px solid #d4af37;
    border-radius: 2px;
    padding: 12px 34px;
    font-weight: 700;
    letter-spacing: 3px;
}
.sl-btn-gold:hover,
.sl-btn-gold:focus {
    background: #c19e2e;
    border-color: #c19e2e;
    color: #1b1b1b;
}
.sl-btn-ghost {
    background: transparent;
    color: #eee;
    border: 1px solid #888;
    border-radius: 2px;
    padding: 12px 34px;
    letter-spacing: 3px;
    margin-left: 10px;
}
.sl-btn-ghost:hover,
.sl-btn-ghost:focus {
    border-color: #d4af37;
    color: #d4af37;
    background: transparent;
}
.sl-btn-outline {
    background: transparent;
    color: #b08d2f;
    border: 1px solid #d4af37;
    border-radius: 2px;
    padding: 10px 30px;
    letter-spacing: 2px;
}
.sl-btn-outline:hover,
.sl-btn-outline:focus {
    background: #d4af37;
    color: #1b1b1b;
}

/* ---- 首页通用区块 ---- */
.sl-section {
    background: #fff;
    padding: 62px 0 58px;
}
.sl-section-alt {
    background: #f7f5f0;
}
.sl-section-head {
    margin-bottom: 34px;
}
.sl-section-head h2 {
    font-size: 26px;
    margin: 0;
    padding-left: 14px;
    border-left: 4px solid #d4af37;
    line-height: 1.25;
    color: #1b1b1b;
}
.sl-section-head .eng {
    font-size: 13px;
    color: #999;
    font-weight: normal;
    margin-left: 8px;
    letter-spacing: 1px;
}
.sl-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.sl-more {
    color: #b08d2f;
    font-size: 14px;
    padding-bottom: 4px;
}
.sl-more:hover {
    color: #d4af37;
    text-decoration: none;
}
.sl-more-wrap {
    margin-top: 26px;
}

/* 關於我們 */
.sl-about-text {
    font-size: 15px;
    line-height: 2.1;
    color: #555;
    text-align: justify;
    margin: 0;
}
.sl-about-info {
    list-style: none;
    padding: 20px 24px;
    margin: 0;
    background: #faf8f3;
    border: 1px solid #eee2c4;
    border-radius: 4px;
}
.sl-about-info li {
    padding: 10px 0;
    color: #444;
    border-bottom: 1px dashed #e8ddb9;
    font-size: 14px;
}
.sl-about-info li:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}
.sl-about-info .fa {
    color: #d4af37;
    width: 22px;
    text-align: center;
}
/* 關於我們配图：金色错位边框 */
.sl-about-photo {
    position: relative;
    margin: 6px 0 6px 18px;
}
.sl-about-photo::before {
    content: "";
    position: absolute;
    top: -14px;
    left: -18px;
    right: 14px;
    bottom: 14px;
    border: 2px solid #d4af37;
    border-radius: 2px;
    z-index: 0;
}
.sl-about-photo img {
    position: relative;
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

/* 工程實拍画廊 */
.sl-gallery-item {
    display: block;
    height: 175px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid #e3e0d8;
    margin-bottom: 18px;
    position: relative;
}
.sl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s, opacity .35s;
    display: block;
}
.sl-gallery-item:hover {
    border-color: #d4af37;
}
.sl-gallery-item:hover img {
    transform: scale(1.06);
    opacity: .92;
}

/* 業務範圍 */
.sl-service-card {
    background: #fff;
    border: 1px solid #e8e6e0;
    border-top: 3px solid #d4af37;
    border-radius: 0 0 4px 4px;
    padding: 30px 18px 26px;
    text-align: center;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
    margin-bottom: 18px;
}
.sl-service-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .09);
    transform: translateY(-4px);
}
.sl-service-icon {
    display: inline-block;
    width: 66px;
    height: 66px;
    line-height: 62px;
    border-radius: 50%;
    background: #faf6ea;
    border: 1px solid #ecd9a0;
    margin-bottom: 16px;
}
.sl-service-icon .fa {
    font-size: 28px;
    color: #b08d2f;
}
.sl-service-card h3 {
    font-size: 16px;
    color: #1b1b1b;
    margin: 0 0 8px;
    letter-spacing: 1px;
}
.sl-service-card p {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.8;
}

/* 最新到貨卡片（复用内页 sl-card，加强 hover） */
.sl-card {
    display: block;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    height: 100%;
    transition: box-shadow .2s, border-color .2s;
}
.sl-card:hover {
    border-color: #d4af37;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
    text-decoration: none;
}
.sl-card .caption p {
    margin: 4px 0;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sl-card-placeholder {
    height: 120px;
    line-height: 120px;
    font-size: 28px;
    color: #ccc;
    background: #fafafa;
}

/* 聯絡我們（深色区块） */
.sl-contact {
    background:
        radial-gradient(900px 300px at 20% 0%, rgba(212, 175, 55, .1), transparent 60%),
        linear-gradient(135deg, #161616 0%, #241f12 100%);
    color: #ddd;
    padding: 62px 0 65px;
}
.sl-contact .sl-section-head h2 {
    color: #fff;
}
.sl-contact-item {
    text-align: center;
    padding: 18px 12px;
}
.sl-contact-item .fa {
    font-size: 30px;
    color: #d4af37;
    margin-bottom: 14px;
}
.sl-contact-item h3 {
    font-size: 16px;
    color: #fff;
    letter-spacing: 3px;
    margin: 0 0 10px;
}
.sl-contact-item p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}
.sl-contact-item strong {
    color: #d4af37;
    font-size: 22px;
    letter-spacing: 2px;
}
.sl-contact-cta {
    margin-top: 34px;
}

/* ---- 内页：主体内容盒 ---- */
.sl-main {
    padding: 15px 0 30px;
}
.sl-content-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px 15px;
}
.sl-breadcrumb {
    margin: 0 0 10px;
    padding-left: 0;
    background: transparent;
}
.sl-page-title {
    margin-top: 5px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4af37;
    font-size: 22px;
}
.sl-page-title .eng,
.sl-section-title .eng {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 6px;
}
.sl-section-title {
    font-size: 20px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 6px;
}

/* ---- 正文（抓取内容）响应式处理 ---- */
.page-content {
    overflow-x: hidden;
    word-wrap: break-word;
}
.page-content img {
    max-width: 100%;
    height: auto;
}
.page-content table {
    max-width: 100%;
    table-layout: auto;
}
/* 宽表格（水质参数记录等）小屏横向滚动 */
@media (max-width: 767px) {
    .page-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .page-content table {
        min-width: 480px;
    }
    .sl-page-title {
        font-size: 18px;
    }
}

/* ---- 图集（thickbox 缩略图） ---- */
.page-content a.thickbox {
    display: inline-block;
    margin: 4px;
    padding: 4px;
    border: 1px solid #bcbab9;
    border-radius: 2px;
    background: #fff;
    text-align: center;
    font-size: 12px;
    vertical-align: top;
}
.page-content a.thickbox img {
    margin-bottom: 2px;
}

/* ---- 參考連接（相關連結）logo 卡片网格 ---- */
.page-content .sl-link-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
}
.page-content .sl-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin: 16px 0 8px;
}
.page-content .sl-link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 14px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.page-content .sl-link-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
.page-content .sl-link-card:hover,
.page-content .sl-link-card:focus {
    border-color: #d4af37;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
@media (max-width: 767px) {
    .page-content .sl-link-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .page-content .sl-link-card {
        height: 96px;
        padding: 10px;
    }
}

/* ---- 過往記録 ---- */
.sl-year-panel .panel-heading {
    font-size: 16px;
}
.sl-season-btn {
    margin-bottom: 8px;
    white-space: normal;
}

/* ---- 底部 ---- */
.sl-footer {
    background: #141414;
    color: #9a9a9a;
    padding: 46px 0 0;
    font-size: 13px;
}
.sl-footer h4 {
    color: #fff;
    font-size: 15px;
    letter-spacing: 3px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    position: relative;
}
.sl-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    background: #d4af37;
}
.sl-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 17px;
    letter-spacing: 3px;
}
.sl-footer-brand em {
    display: block;
    color: #d4af37;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 2px;
    margin: 5px 0 12px;
}
.sl-footer-brand p {
    margin: 0;
    line-height: 1.9;
}
.sl-footer p {
    margin: 5px 0;
    line-height: 1.85;
}
.sl-footer .fa {
    color: #d4af37;
    width: 18px;
    text-align: center;
    margin-right: 2px;
}
.sl-footer ul.sl-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sl-footer ul.sl-footer-nav li a {
    display: block;
    color: #9a9a9a;
    padding: 4px 0;
}
.sl-footer a {
    color: #9a9a9a;
}
.sl-footer a:hover,
.sl-footer a:focus {
    color: #d4af37;
    text-decoration: none;
}
.sl-footer-eng {
    color: #777;
    font-size: 12px;
}
.sl-footer-map {
    color: #d4af37 !important;
}
.sl-footer-bottom {
    border-top: 1px solid #262626;
    margin-top: 38px;
    padding: 16px 0;
    color: #666;
    font-size: 12px;
}

/* ---- 灯箱 ---- */
.sl-lightbox-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 9999;
    display: none;
    text-align: center;
}
.sl-lightbox-mask.active {
    display: block;
}
.sl-lightbox-mask img {
    max-width: 92%;
    max-height: 90%;
    margin-top: 2%;
    border: 4px solid #fff;
    border-radius: 2px;
}
.sl-lightbox-caption {
    color: #fff;
    margin-top: 8px;
    font-size: 14px;
    padding: 0 15px;
}

/* ---- 响应式（小屏） ---- */
@media (max-width: 767px) {
    /* 顶栏 */
    .sl-topbar-inner {
        padding: 10px 0;
    }
    .sl-banner {
        height: 299px;
        padding: 0;
    }
    .sl-brand-mark {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: 20px;
    }
    .sl-brand-text {
        margin-left: 10px;
    }
    .sl-brand-text strong {
        font-size: 15px;
        letter-spacing: 1px;
    }
    .sl-brand-text em {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    /* Hero */
    .sl-hero {
        padding: 52px 0 58px;
    }
    .sl-hero-tag {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }
    .sl-hero-title {
        font-size: 29px;
        letter-spacing: 4px;
        margin-bottom: 16px;
    }
    .sl-hero-title::after {
        margin-top: 14px;
        width: 52px;
    }
    .sl-hero-slogan {
        font-size: 15px;
        letter-spacing: 2px;
    }
    .sl-hero-cta {
        margin-top: 26px;
    }
    .sl-hero-cta .btn {
        padding: 10px 22px;
        letter-spacing: 2px;
    }
    .sl-btn-ghost {
        margin-left: 8px;
    }
    .sl-hero-dots {
        display: none;
    }

    /* 区块 */
    .sl-section {
        padding: 42px 0 40px;
    }
    .sl-section-head {
        margin-bottom: 24px;
    }
    .sl-section-head h2 {
        font-size: 21px;
    }

    /* 業務範圍：两列时收窄卡片 */
    .sl-service-card {
        padding: 20px 8px 18px;
        margin-bottom: 14px;
    }
    .sl-service-icon {
        width: 54px;
        height: 54px;
        line-height: 51px;
        margin-bottom: 10px;
    }
    .sl-service-icon .fa {
        font-size: 22px;
    }
    .sl-service-card h3 {
        font-size: 13px;
        letter-spacing: 0;
    }
    .sl-service-card p {
        display: none;
    }

    /* 聯絡我們 */
    .sl-contact {
        padding: 42px 0 46px;
    }
    .sl-contact-item {
        padding: 14px 6px 20px;
    }
    .sl-contact-item strong {
        font-size: 19px;
    }

    /* 關於我們 */
    .sl-about-photo {
        margin: 8px 0 18px 14px;
    }
    .sl-about-photo::before {
        top: -10px;
        left: -14px;
        right: 10px;
        bottom: 10px;
    }

    /* 工程實拍 */
    .sl-gallery-item {
        height: 130px;
        margin-bottom: 14px;
    }

    /* 页脚 */
    .sl-footer {
        padding-top: 34px;
    }
    .sl-footer h4 {
        margin-top: 18px;
    }
    .sl-footer h4:first-child {
        margin-top: 0;
    }
    .sl-footer-brand {
        margin-bottom: 6px;
    }
}

/* WhatsApp 一键联络浮动按钮 */
.sl-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sl-whatsapp:hover,
.sl-whatsapp:focus {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}
.sl-whatsapp .fa {
    font-size: 30px;
    line-height: 56px;
}
.sl-whatsapp::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    z-index: -1;
    animation: sl-wa-pulse 2s ease-out infinite;
}
@keyframes sl-wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}
.sl-whatsapp-tip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    padding: 9px 14px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.sl-whatsapp-tip::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -5px;
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.75);
}
.sl-whatsapp:hover .sl-whatsapp-tip {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 767px) {
    .sl-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4);
    }
    .sl-whatsapp .fa {
        font-size: 26px;
        line-height: 48px;
    }
    .sl-whatsapp-tip {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sl-whatsapp::before {
        animation: none;
    }
}

/* ============================================================
   魚缸工程（work）重排组件：hero / 概要卡 / 画廊 / 时间轴 / 数据表
   ============================================================ */
/* ---- 主视觉 Hero ---- */
.sl-work-hero {
    position: relative;
    margin: 4px 0 6px;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
}
.page-content .sl-work-hero a.thickbox {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    text-align: left;
    line-height: 0;
}
.page-content .sl-work-hero a.thickbox img {
    margin: 0;
}
.page-content .sl-work-hero-img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.sl-work-hero-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.62));
    pointer-events: none;
}
.sl-work-hero-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    padding: 0 16px;
    text-align: center;
}
.sl-work-hero-kicker {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
    color: #d4af37;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.sl-work-hero-sub {
    margin: 0;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.sl-work-hero-cap {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 3px;
}

/* ---- 区块标题间距 ---- */
.page-content .sl-section-title {
    margin: 34px 0 14px;
}
.sl-work-hero + .sl-section-title {
    margin-top: 26px;
}

/* ---- 规格卡 / 测试工具卡网格 ---- */
.sl-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}
.sl-spec-item {
    background: #fff;
    border: 1px solid #ece9e1;
    border-left: 3px solid #d4af37;
    border-radius: 4px;
    padding: 12px 14px;
}
.sl-spec-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.sl-spec-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 3px;
    border: 1px solid #d4af37;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    color: #b8912b;
}
.sl-spec-label {
    font-size: 12px;
    color: #8a8a8a;
}
.sl-spec-val {
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1b;
    line-height: 1.55;
}

/* ---- 魚缸實景 画廊 ---- */
.sl-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.sl-photo-card {
    margin: 0;
    background: #fff;
    border: 1px solid #e5e2da;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.sl-photo-card:hover,
.sl-photo-card:focus-within {
    border-color: #d4af37;
    transform: translateY(-2px);
}
.page-content .sl-photo-card a.thickbox {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    text-align: left;
    line-height: 0;
}
.page-content .sl-photo-card a.thickbox img {
    margin: 0;
}
.page-content .sl-photo-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.sl-photo-card figcaption {
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: #555;
}

/* ---- 魚缸日記 时间轴 ---- */
.sl-timeline {
    position: relative;
    padding-left: 96px;
    margin: 6px 0 4px;
}
.sl-timeline::before {
    content: "";
    position: absolute;
    left: 80px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e7e3d8;
}
.sl-tl-item {
    position: relative;
    margin-bottom: 18px;
}
.sl-tl-item:last-child {
    margin-bottom: 0;
}
.sl-tl-day {
    position: absolute;
    left: -96px;
    top: 0;
    width: 64px;
    padding: 4px 0;
    background: #d4af37;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    border-radius: 12px;
}
.sl-tl-item::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 5px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 0 1px #d4af37;
}
.sl-tl-note {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}
.sl-tl-note strong {
    color: #1b1b1b;
}
.sl-tl-event + .sl-tl-event {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #eee;
}
.sl-tl-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    max-width: 560px;
    margin-top: 8px;
}
.page-content .sl-tl-photos a.thickbox {
    display: block;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e2da;
    border-radius: 3px;
    background: #fff;
    text-align: left;
    line-height: 0;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.page-content .sl-tl-photos a.thickbox:hover {
    border-color: #d4af37;
}
.page-content .sl-tl-photos a.thickbox img {
    display: block;
    width: 100%;
    height: 84px;
    margin: 0;
    object-fit: cover;
}

/* ---- 水質記錄 数据表 ---- */
/* 覆盖 BS3 .table-responsive 在 ≥768px 变 visible 的默认行为 */
.page-content .sl-data-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e5e2da;
    border-radius: 4px;
    margin: 0 0 6px;
}
.page-content .sl-data-table {
    width: 100%;
    min-width: 820px;
    margin-bottom: 0;
    background: #fff;
    border-collapse: collapse;
    font-size: 13px;
}
.sl-data-table th,
.sl-data-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
    white-space: nowrap;
}
.sl-data-table thead th {
    background: #26262a;
    color: #d4af37;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-bottom: none;
}
.sl-data-table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    text-align: left;
    font-weight: 600;
    color: #1b1b1b;
    box-shadow: inset -1px 0 0 #e5e2da;
}
.sl-data-table tbody tr:last-child th,
.sl-data-table tbody tr:last-child td {
    border-bottom: none;
}
.sl-data-table tbody tr:nth-child(even) th,
.sl-data-table tbody tr:nth-child(even) td {
    background: #faf9f6;
}
.sl-data-table tbody tr:hover th,
.sl-data-table tbody tr:hover td {
    background: #fdf7e6;
}

/* ---- 生物與添加 卡片 ---- */
.sl-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.sl-info-card {
    background: #fff;
    border: 1px solid #e5e2da;
    border-top: 3px solid #d4af37;
    border-radius: 4px;
    padding: 16px 18px;
}
.sl-info-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1b1b1b;
}
.sl-info-card h3 .eng {
    margin-left: 6px;
    font-size: 12px;
    font-weight: normal;
    color: #999;
}
.sl-info-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #444;
}

/* ---- 键盘焦点可见 ---- */
.page-content .sl-work-hero a.thickbox:focus,
.page-content .sl-photo-card a.thickbox:focus,
.page-content .sl-tl-photos a.thickbox:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* ---- 移动端 ---- */
@media (max-width: 767px) {
    .page-content .sl-work-hero-img {
        height: 230px;
    }
    .sl-work-hero-kicker {
        font-size: 20px;
    }
    .sl-work-hero-sub {
        font-size: 13px;
    }
    .page-content .sl-section-title {
        margin: 26px 0 12px;
        font-size: 18px;
    }
    .sl-photo-grid {
        grid-template-columns: 1fr;
    }
    .sl-timeline {
        padding-left: 62px;
    }
    .sl-timeline::before {
        left: 50px;
    }
    .sl-tl-day {
        left: -62px;
        width: 46px;
        font-size: 11px;
        padding: 3px 0;
    }
    .sl-tl-item::before {
        left: -18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sl-photo-card,
    .page-content .sl-tl-photos a.thickbox {
        transition: none;
    }
    .sl-photo-card:hover,
    .sl-photo-card:focus-within {
        transform: none;
    }
}

/* ============================================================
   复古复刻（sealife.com.hk）主题覆盖
   参考站：黑底白字 / 顶部横幅整图 / 右侧灰调手风琴导航 / 灰白黑配色
   ============================================================ */

/* ---- 全局 ---- */
body.sealife-body {
    background: #000;
    color: #fff;
    font-family: "微軟正黑體", "Microsoft JhengHei", "標楷體", "DFKai-SB", "新細明體", "PMingLiU", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.sealife-body a {
    color: #fff;
}
body.sealife-body a:hover,
body.sealife-body a:focus {
    color: #cfcfcf;
}

/* ---- 顶部横幅（全站统一，整图点击回首页） ---- */
.sl-header {
    background: #000;
}
.sl-banner {
    display: block;
    background: #000;
    height: auto;
    overflow: visible;
    text-align: center;
}
.sl-banner img {
    display: block;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 767px) {
    .sl-banner {
        height: auto;
    }
}

/* ---- 主内容区 ---- */
.sl-main {
    padding: 18px 0 40px;
}
.sl-content-box {
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 0;
    padding: 22px 18px;
    color: #fff;
}
.sl-breadcrumb {
    margin-bottom: 12px;
}
.sl-breadcrumb a {
    color: #fff;
}
.sl-breadcrumb a:hover,
.sl-breadcrumb a:focus {
    color: #cfcfcf;
}
.sl-breadcrumb > li + li:before {
    content: ">\00a0";
    color: #666;
}
.sl-breadcrumb > .active {
    color: #aaa;
}
.sl-page-title {
    color: #fff;
    border-bottom-color: #606060;
}
.sl-page-title .eng,
.sl-section-title .eng {
    color: #888;
}
.sl-section-title {
    color: #fff;
    border-bottom-color: #606060;
}

/* ---- 正文（爬取内容） ---- */
.page-content {
    color: #fff;
}
.page-content a {
    color: #fff;
}
.page-content a:hover,
.page-content a:focus {
    color: #cfcfcf;
}
.page-content table {
    color: #fff;
    border-color: #555;
}
.page-content table td,
.page-content table th {
    border-color: #555;
    padding: 4px 8px;
}
.page-content a.thickbox {
    background: #111;
    border-color: #444;
}
.page-content a.thickbox:hover {
    border-color: #888;
}
.page-content .sl-link-title {
    color: #fff;
}
.page-content .sl-link-card {
    background: #0d0d0d;
    border-color: #333;
}
.page-content .sl-link-card:hover,
.page-content .sl-link-card:focus {
    border-color: #888;
    box-shadow: none;
    transform: none;
}

/* ---- 右侧手风琴导航 ---- */
.sl-sidebar {
    margin-bottom: 26px;
}
.sl-sidebar-toggle {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: #606060;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: left;
}
.sl-sidebar-toggle:hover,
.sl-sidebar-toggle:focus {
    background: #4a4a4a;
    color: #fff;
}
.sl-sidebar-toggle .fa {
    margin-right: 6px;
}
.sl-nav-accordion {
    margin: 0;
}
.sl-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sl-nav-group {
    margin: 0;
}
.sl-nav-head {
    display: block;
    margin: 0;
    padding: 7px 6px 7px 31px;
    background: #606060;
    color: #fff;
    font-family: Verdana, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 1px;
    position: relative;
}
.sl-nav-head::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    width: 0;
    height: 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 8px solid #fff;
    transition: transform .15s ease;
}
.sl-nav-head .eng {
    display: block;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: .75;
}
/* 直接链接（無子項） */
a.sl-nav-head.sl-nav-link {
    color: #fff;
    text-decoration: none;
}
a.sl-nav-head.sl-nav-link:hover,
a.sl-nav-head.sl-nav-link:focus {
    background: #4a4a4a;
    color: #fff;
    text-decoration: none;
}
/* 有子項的分组标题条（点击/悬停展开） */
.sl-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-decoration: none;
}
.sl-nav-toggle:hover,
.sl-nav-toggle:focus {
    color: #fff;
    text-decoration: none;
}
.sl-nav-group.open > .sl-nav-head::before {
    transform: rotate(90deg);
}
.sl-nav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}
.sl-nav-sub li {
    margin: 0;
}
.sl-nav-sub li a {
    display: block;
    background: #e9e9e9;
    color: #000;
    font-size: 12px;
    line-height: 17px;
    padding: 5px 0 5px 8px;
    font-family: Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
}
.sl-nav-sub li a:visited {
    color: #000;
}
.sl-nav-sub li a:hover,
.sl-nav-sub li a:focus {
    background: #000;
    color: #fff;
    text-decoration: none;
}
.sl-nav-group.open > .sl-nav-sub {
    display: block;
}
@media (min-width: 768px) {
    .sl-nav-accordion {
        display: block;
    }
    .sl-sidebar-toggle {
        display: none !important;
    }
    .sl-nav-group:hover > .sl-nav-sub {
        display: block;
    }
}
@media (max-width: 767px) {
    .sl-nav-accordion {
        display: none;
    }
    .sl-nav-accordion.open-nav {
        display: block;
    }
}

/* ---- 首页区块 ---- */
.sl-section {
    background: #000;
}
.sl-section-alt {
    background: #0b0b0b;
}
.sl-section-head h2 {
    color: #fff;
    border-left-color: #606060;
}
.sl-section-head .eng {
    color: #888;
}
.sl-more {
    color: #ccc;
}
.sl-more:hover,
.sl-more:focus {
    color: #fff;
    text-decoration: none;
}
.sl-about-text {
    color: #ccc;
}
.sl-about-info {
    background: #101010;
    border-color: #333;
}
.sl-about-info li {
    color: #ddd;
    border-bottom-color: #2a2a2a;
}
.sl-about-info .fa {
    color: #fff;
}
.sl-about-photo::before {
    border-color: #606060;
}
.sl-gallery-item {
    border-color: #333;
}
.sl-gallery-item:hover {
    border-color: #888;
}
.sl-service-card {
    background: #0d0d0d;
    border-color: #2c2c2c;
    border-top-color: #606060;
}
.sl-service-icon {
    background: #161616;
    border-color: #444;
}
.sl-service-icon .fa {
    color: #fff;
}
.sl-service-card h3 {
    color: #fff;
}
.sl-service-card p {
    color: #999;
}
.sl-card {
    background: #0d0d0d;
    border-color: #333;
}
.sl-card:hover {
    border-color: #888;
    box-shadow: none;
}
.sl-card .caption p {
    color: #ddd;
}
.sl-card-placeholder {
    background: #151515;
    color: #666;
}
.sl-contact {
    background: #050505;
    color: #ccc;
}
.sl-contact .sl-section-head h2 {
    color: #fff;
}
.sl-contact-item .fa {
    color: #fff;
}
.sl-contact-item h3 {
    color: #fff;
}
.sl-contact-item p {
    color: #bbb;
}
.sl-contact-item strong {
    color: #fff;
}

/* ---- 按钮 ---- */
.sl-btn-gold {
    background: #606060;
    border-color: #606060;
    color: #fff;
}
.sl-btn-gold:hover,
.sl-btn-gold:focus {
    background: #000;
    border-color: #888;
    color: #fff;
}
.sl-btn-ghost {
    color: #fff;
    border-color: #888;
}
.sl-btn-ghost:hover,
.sl-btn-ghost:focus {
    border-color: #fff;
    color: #fff;
    background: transparent;
}
.sl-btn-outline {
    color: #fff;
    border-color: #888;
}
.sl-btn-outline:hover,
.sl-btn-outline:focus {
    background: #606060;
    border-color: #606060;
    color: #fff;
}

/* ---- 過往記録 ---- */
.sl-year-panel {
    background: #0d0d0d;
    border-color: #333;
}
.sl-year-panel .panel-heading {
    background: #606060;
    border-color: #606060;
    color: #fff;
}
.sl-year-panel .panel-heading strong {
    color: #fff;
}
.sl-year-panel .panel-body {
    background: transparent;
}
.sl-season-btn {
    background: #1c1c1c;
    border-color: #444;
    color: #ddd;
}
.sl-season-btn:hover,
.sl-season-btn:focus {
    background: #606060;
    border-color: #606060;
    color: #fff;
}

/* ---- 分页 ---- */
.sl-pager .pagination > li > a,
.sl-pager .pagination > li > span {
    background: #111;
    border-color: #333;
    color: #fff;
}
.sl-pager .pagination > li > a:hover,
.sl-pager .pagination > li > span:hover,
.sl-pager .pagination > li > a:focus,
.sl-pager .pagination > li > span:focus {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}
.sl-pager .pagination > .active > a,
.sl-pager .pagination > .active > a:hover,
.sl-pager .pagination > .active > a:focus,
.sl-pager .pagination > .active > span,
.sl-pager .pagination > .active > span:hover,
.sl-pager .pagination > .active > span:focus {
    background: #606060;
    border-color: #606060;
    color: #fff;
}

/* ---- 魚缸工程（work）深度组件 ---- */
.sl-work-hero-kicker {
    color: #fff;
}
.sl-spec-item {
    background: #0d0d0d;
    border-color: #333;
    border-left-color: #606060;
}
.sl-spec-no {
    border-color: #606060;
    color: #ddd;
}
.sl-spec-label {
    color: #999;
}
.sl-spec-val {
    color: #fff;
}
.sl-photo-card {
    background: #0d0d0d;
    border-color: #333;
}
.sl-photo-card:hover,
.sl-photo-card:focus-within {
    border-color: #888;
    transform: none;
    box-shadow: none;
}
.sl-photo-card figcaption {
    color: #ccc;
}
.sl-timeline::before {
    background: #444;
}
.sl-tl-day {
    background: #606060;
}
.sl-tl-item::before {
    background: #606060;
    border-color: #000;
    box-shadow: 0 0 0 1px #606060;
}
.sl-tl-note {
    color: #ddd;
}
.sl-tl-note strong {
    color: #fff;
}
.sl-tl-event + .sl-tl-event {
    border-top-color: #333;
}
.page-content .sl-tl-photos a.thickbox {
    background: #111;
    border-color: #333;
}
.page-content .sl-tl-photos a.thickbox:hover {
    border-color: #888;
}
.page-content .sl-data-wrap {
    border-color: #333;
}
.page-content .sl-data-table {
    background: #0d0d0d;
}
.sl-data-table th,
.sl-data-table td {
    border-bottom-color: #333;
}
.sl-data-table thead th {
    background: #26262a;
    color: #fff;
}
.sl-data-table tbody th {
    background: #0d0d0d;
    color: #fff;
    box-shadow: inset -1px 0 0 #333;
}
.sl-data-table tbody tr:nth-child(even) th,
.sl-data-table tbody tr:nth-child(even) td {
    background: #121212;
}
.sl-data-table tbody tr:hover th,
.sl-data-table tbody tr:hover td {
    background: #1a1a1a;
}
.sl-info-card {
    background: #0d0d0d;
    border-color: #333;
    border-top-color: #606060;
}
.sl-info-card h3 {
    color: #fff;
}
.sl-info-card h3 .eng {
    color: #888;
}
.sl-info-card p {
    color: #ccc;
}
.page-content .sl-work-hero a.thickbox:focus,
.page-content .sl-photo-card a.thickbox:focus,
.page-content .sl-tl-photos a.thickbox:focus {
    outline-color: #888;
}

/* ---- 页脚 ---- */
.sl-footer {
    background: #000;
    border-top: 1px solid #1c1c1c;
    color: #9a9a9a;
}
.sl-footer h4 {
    color: #fff;
}
.sl-footer h4::after {
    background: #606060;
}
.sl-footer-brand strong {
    color: #fff;
}
.sl-footer-brand em {
    color: #aaa;
}
body.sealife-body .sl-footer a {
    color: #9a9a9a;
}
body.sealife-body .sl-footer a:hover,
body.sealife-body .sl-footer a:focus {
    color: #fff;
    text-decoration: none;
}
.sl-footer .fa {
    color: #888;
}
.sl-footer-map {
    color: #ccc !important;
}
.sl-footer-eng {
    color: #777;
}
.sl-footer-bottom {
    border-top-color: #1c1c1c;
    color: #666;
}

/* ============================================================
   参考站首页「视觉一比一」终版对齐（追加覆盖，优先于上面全部）
   ============================================================ */

/* ---- 980 定宽壳（PC 端与参考站一致；窄屏 100% 自适应） ---- */
@media (min-width: 768px) {
    .sealife-body .container {
        width: 1280px;
        max-width: 100%;
    }
}
.sl-main {
    padding: 10px 0 30px;
}
.sl-shell {
    width: 1280px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
.sl-main-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.sl-content-col {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
}
.sl-sidebar {
    order: 2;
    flex: 0 0 190px;
    margin: 0 0 26px 20px;
}
@media (max-width: 767px) {
    .sl-shell {
        padding: 0 15px;
    }
    .sl-sidebar {
        order: 1;
        flex: 0 0 100%;
        margin: 0 0 16px;
    }
    .sl-content-col {
        order: 2;
        flex: 0 0 100%;
    }
}

/* ---- 正文基础（参考站 td：12px、白色、微軟正黑體栈） ---- */
.sl-content-box {
    border: 1px solid #f3f2f2;
    padding: 18px 16px;
    font-size: 12px;
}
.sl-content-box a {
    color: #fff;
    text-decoration: none;
}
.sl-content-box a:hover,
.sl-content-box a:focus {
    color: #fff;
    text-decoration: underline;
}
/* 菜单区链接悬停不下划线（参考站的菜单规则晚于全局 a:hover 生效） */
.sl-sidebar a:hover,
.sl-sidebar a:focus {
    text-decoration: none;
}

/* ---- 手风琴终版：字体 / 组间距 / 绿色箭头图标 ---- */
.sl-nav-group {
    margin: 13px 0 0;
}
.sl-nav-head {
    font-family: "微軟正黑體", "Microsoft JhengHei", "標楷體", "DFKai-SB", "新細明體", "PMingLiU", sans-serif;
    font-size: 13px;
    font-weight: 700;
    background: #606060 url(/assets/img/sealife/arrowstop.gif) no-repeat 8px 6px;
}
.sl-nav-head::before {
    display: none;
}
.sl-nav-head .eng {
    font-family: Arial, Helvetica, sans-serif;
}
.sl-nav-sub li {
    padding-bottom: 2px;
}
.sl-nav-sub li a {
    font-family: "微軟正黑體", "Microsoft JhengHei", "標楷體", "DFKai-SB", "新細明體", "PMingLiU", sans-serif;
}

/* ---- 首页：宣传块 + 联络卡 + 8 格相册 ---- */
.sl-home-toplink {
    margin: 0 0 8px;
}
.sl-block-icon {
    display: block;
    margin: 0 0 6px;
}
.sl-home-promo {
    display: flex;
    align-items: flex-start;
    margin: 0 0 22px;
}
.sl-home-promo-main {
    flex: 0 0 640px;
    min-width: 0;
}
.sl-home-slogans {
    list-style: none;
    margin: 8px 0 10px;
    padding: 0;
}
.sl-home-slogans li {
    font-family: "華康古印體", "HuaKangGuYinTi", "微軟正黑體", "Microsoft JhengHei", "標楷體", "DFKai-SB", "新細明體", "PMingLiU", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.75;
    padding: 2px 0;
}
.sl-home-promo-photos {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.sl-home-promo-photos a.thickbox {
    display: block;
    padding: 3px;
    border: 1px solid #bcbab9;
    background: #fff;
    line-height: 0;
}
.sl-home-promo-photos img {
    max-height: 130px;
    width: auto;
}
.sl-home-side {
    flex: 1 1 0;
    min-width: 0;
    margin-left: 20px;
    padding: 12px 14px;
    border: 1px solid #888;
    background: #0a0a0a;
}
.sl-home-side h3 {
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #333;
    font-size: 14px;
    letter-spacing: 2px;
    color: #fff;
}
.sl-home-side h3 .eng {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #999;
    margin-left: 4px;
}
.sl-home-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #ddd;
}
.sl-home-contact li {
    padding: 5px 0;
    border-bottom: 1px dashed #2c2c2c;
    line-height: 1.6;
}
.sl-home-contact li:last-child {
    border-bottom: 0;
}
.sl-home-contact .fa {
    width: 18px;
    text-align: center;
    margin-right: 4px;
    color: #888;
}
.sl-home-grid {
    margin-top: 4px;
}
.sl-home-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.sl-home-card {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - 30px) / 4);
    height: 0;
    padding-bottom: calc((100% - 30px) / 4);
    border: 1px solid #bcbab9;
    background: #111;
    overflow: hidden;
}
.sl-home-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sl-home-card:hover {
    border-color: #fff;
    text-decoration: none;
}
.sl-home-card .sl-home-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    padding: 3px 6px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sl-home-ph {
    display: block;
    height: 100%;
}
.sl-home-empty {
    color: #ccc;
}

/* ---- 最新到貨列表：紧凑网格（消除大间距留白，与首页相册同风格） ---- */
.sl-list-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}
.sl-list-card {
    display: block;
    flex: 0 0 calc((100% - 42px) / 4);
    background: #0d0d0d;
    border: 1px solid #333;
}
.sl-list-card:hover,
.sl-list-card:focus {
    border-color: #888;
    text-decoration: none;
}
.sl-list-img {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 64%;
    overflow: hidden;
    background: #111;
}
.sl-list-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sl-list-ph {
    display: block;
    height: 100%;
}
.sl-list-cap {
    display: block;
    padding: 7px 8px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sl-list-card:hover .sl-list-cap,
.sl-list-card:focus .sl-list-cap {
    color: #fff;
}
@media (max-width: 767px) {
    .sl-home-promo {
        flex-wrap: wrap;
    }
    .sl-home-promo-main {
        flex: 0 0 100%;
        width: 100%;
    }
    .sl-home-side {
        flex: 0 0 100%;
        margin: 14px 0 0;
    }
    .sl-home-slogans li {
        font-size: 16px;
    }
    .sl-home-card {
        flex-basis: calc((100% - 10px) / 2);
        padding-bottom: calc((100% - 10px) / 2);
    }
    .sl-home-promo-photos {
        flex-wrap: wrap;
    }
    .sl-home-promo-photos a.thickbox {
        max-width: calc(50% - 5px);
        box-sizing: border-box;
    }
    .sl-home-promo-photos img {
        max-height: none;
        width: 100%;
        height: auto;
    }
@media (max-width: 767px) {
    .sl-list-cards {
        gap: 12px;
    }
    .sl-list-card {
        flex-basis: calc((100% - 12px) / 2);
    }
    .sl-list-cap {
        font-size: 11px;
        padding: 6px 6px;
    }
}
}
