.main {
    display: block;
}
.by-huangye-page {
    width: 1200px;
    margin: 20px auto 0;
    position: relative;
}
/* =========================================================
   三栏
========================================================= */

.by-huangye-layout {
    width: 1200px;
    display: grid;
    grid-template-columns: 280px 600px 280px;
    justify-content: space-between;
    align-items: start;
    position: relative;
}
/* =========================================================
   左侧商家黄页分类
========================================================= */

.by-huangye-sidebar {
    width: 280px;
    position: relative;
    background: #fff;
    border: 2px solid #20c057;
    z-index: 100;
}
/* =========================================================
   大分类
========================================================= */

.by-huangye-category {
    width: 276px;
    height: 68px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
    cursor: default;
    z-index: 101;
}
/*
 * 普通分类之间保持一根分隔线
 *
 * 不给每一个分类加完整 border，
 * 避免首尾出现双层线。
 */
.by-huangye-category + .by-huangye-category {
    border-top: 1px solid #f5f5f5;
}
/* =========================================================
   当前选中的分类
========================================================= */

.by-huangye-category-active {
    z-index: 500;/*
     * 当前分类本身不再使用 border，
     * 由 ::before / ::after 控制粗线。
     */
}
/*
 * 当前分类顶部粗线
 */
.by-huangye-category-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    width: 100%;
    height: 2px;
    background: #20c057;
    z-index: 520;
    pointer-events: none;
}
/*
 * 当前分类底部粗线
 *
 * 按之前要求下移 2px
 */
.by-huangye-category-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #20c057;
    z-index: 520;
    pointer-events: none;
}
/* =========================================================
   当前分类右侧连接位置
========================================================= */

/*
 * 这里不直接做绿色线。
 *
 * Mega 自己负责右侧缺口。
 */


/* =========================================================
   图标
========================================================= */

.by-huangye-category-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin-right: 8px;
    margin-left: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08c26edb;
    font-size: 25px;
    position: relative;
    z-index: 530;
}
/* =========================================================
   分类文字
========================================================= */

.by-huangye-category-info {
    min-width: 0;
    flex: 1;
    position: relative;
    z-index: 530;
}
.by-huangye-category-title {
    color: #333;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}
.by-huangye-category-desc {
    margin-top: 5px;
    color: #9da7ad;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* =========================================================
   箭头
========================================================= */

.by-huangye-category-arrow {
    width: 18px;
    flex: 0 0 18px;
    color: #dfe4e7;
    font-size: 15px;
    line-height: 1;
    text-align: right;
    position: relative;
    z-index: 530;
}
/* =========================================================
   二级分类 Mega
========================================================= */

.by-huangye-mega {
    position: absolute;
    /*
     * JS 会动态修改 top
     */
    left: 298px;
    top: 0;
    width: 850px;
    height: 504px;
    display: none;
    background: #fff;
    border-top: 2px solid #20c057;
    border-right: 2px solid #20c057;
    border-bottom: 2px solid #20c057;
    border-left: 2px solid #20c057;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .10);
    z-index: 450;
    overflow: visible;
}
/* =========================================================
   Mega 显示状态
========================================================= */

/*
 * ★ 按之前确认：
 *
 * 整个 Mega：
 * 左移 2px
 * 上移 2px
 */
.by-huangye-mega.by-huangye-mega-show {
    display: block;
    left: 276px;
    top: calc( var(--by-huangye-mega-top, 0px) + var(--by-huangye-mega-offset, -2px) );
}
/* =========================================================
   ★ 当前分类右侧缺口
========================================================= */

.by-huangye-mega::before {
    content: "";
    position: absolute;
    left: -2px;
    /*
     * 由 JS 动态计算。
     *
     * 当前触碰哪个大分类，
     * 缺口就出现在那个分类右侧。
     */
    top: var(--by-huangye-gap-top, 0px);
    width: 2px;
    height: 68px;
    background: #fff;
    z-index: 600;
    pointer-events: none;
}
/* =========================================================
   二级分类主体
========================================================= */

.by-huangye-mega-main {
    position: absolute;
    left: 0;
    top: 0;
    width: 600px;
    height: 500px;
    padding: 24px 26px 24px 30px;
    background: #fff;
}
/* =========================================================
   二级分类网格
========================================================= */

.by-huangye-mega-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 0;
}
/* =========================================================
   二级分类
========================================================= */

.by-huangye-sub-item {
    height: 46px;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
    transition: color .15s ease;
}
.by-huangye-sub-item:hover {
    color: #20c057;
}
/* =========================================================
   推荐服务
========================================================= */

.by-huangye-mega-recommend {
    position: absolute;
    top: 0;
    right: 0;
    width: 276px;
    height: 500px;
    padding: 28px 24px;
    background: #f5fcf8;
    border-left: 1px solid #e4ebe7;
}
.by-huangye-recommend-title {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    color: #444;
    font-size: 18px;
}
.by-huangye-recommend-title i {
    width: 26px;
    height: 26px;
    margin-right: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #20c057;
    border: 2px solid #20c057;
    border-radius: 4px;
    font-size: 14px;
}
.by-huangye-recommend-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.by-huangye-recommend-list li {
    padding: 13px 0;
    border-bottom: 1px solid #dfe9e3;
    color: #444;
    font-size: 14px;
    line-height: 1.65;
}
.by-huangye-recommend-list li:last-child {
    border-bottom: 0;
}
/* =========================================================
   中间主体
========================================================= */

.by-huangye-main {
    width: 600px;
}
/* =========================================================
   幻灯
========================================================= */

.by-huangye-slider {
    width: 600px;
    height: 338px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    cursor: grab;
    user-select: none;
}
.by-huangye-slider:active {
    cursor: grabbing;
}
.by-huangye-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.by-huangye-slide-link img {
    display: block;
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-drag: none;
}
.by-huangye-slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 600px;
    height: 338px;
    display: none;
}
.by-huangye-slide-active {
    display: block;
}
.by-huangye-slide img {
    width: 600px;
    height: 338px;
    display: block;
    object-fit: cover;
}
.by-huangye-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 5;
}
.by-huangye-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    cursor: pointer;
}
.by-huangye-slider-dot-active {
    background: #20c057;
}
/* =========================================================
   幻灯左右切换按钮
========================================================= */

.by-huangye-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, background-color .2s ease;
}
.by-huangye-slider:hover .by-huangye-slider-arrow {
    opacity: 1;
}
.by-huangye-slider-arrow:hover {
    background: rgba(0, 0, 0, .38);
}
.by-huangye-slider-arrow-prev {
    left: 12px;
}
.by-huangye-slider-arrow-next {
    right: 12px;
}
.by-huangye-slider-arrow i {
    display: block;
}
/* =========================================================
   二维码区域
========================================================= */

.by-huangye-qrcode-box {
    width: 600px;
    height: 130px;
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e5e5e5;
    background: #fff;
}
.by-huangye-qrcode-item {
    padding: 0 20px 0 22px;
    display: flex;
    align-items: center;
}
.by-huangye-qrcode-item + .by-huangye-qrcode-item {
    border-left: 1px solid #f5f5f5;
}
.by-huangye-qrcode-text {
    min-width: 0;
    flex: 1;
}
.by-huangye-qrcode-title {
    margin-bottom: 6px;
    color: #41b834;
    font-size: 17px;
}
.by-huangye-qrcode-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
}
.by-huangye-qrcode-image {
    width: 90px;
    height: 90px;
    margin-left: 10px;
    flex: 0 0 90px;
}
.by-huangye-qrcode-image img {
    width: 90px;
    height: 90px;
    display: block;
    object-fit: contain;
}
/* =========================================================
   右侧
========================================================= */

.by-huangye-right {
    width: 280px;
}
/* =========================================================
   管理 / 发布
========================================================= */

.by-huangye-action-top {
    width: 280px;
    height: 72px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    border: 1px solid #e5e5e5;
    background: #fff;
}
.by-huangye-action-top-divider {
    width: 1px;
    height: 28px;
    margin-top: 27px;
    background: #e5e5e5;
}
.by-huangye-action {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #444;
    font-size: 14px;
}
.by-huangye-action-icon {
    font-size: 24px;
}
.by-huangye-action-manage .by-huangye-action-icon {
    color: #ff7e84;
}
.by-huangye-action-publish .by-huangye-action-icon {
    color: #55d2bd;
}
/* =========================================================
   收藏 / 历史 / 沟通
========================================================= */

.by-huangye-action-grid {
    width: 280px;
    height: 92px;
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e5e5e5;
    background: #fff;
}
.by-huangye-small-action {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #444;
    font-size: 12px;
}
.by-huangye-small-action-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
}
.by-huangye-small-action:nth-child(1) .by-huangye-small-action-icon {
    background: #ff9678;
}
.by-huangye-small-action:nth-child(2) .by-huangye-small-action-icon {
    background: #70b9ee;
}
.by-huangye-small-action:nth-child(3) .by-huangye-small-action-icon {
    background: #a9dc54;
}
.by-huangye-small-action:nth-child(2) .by-huangye-small-action-icon i, .by-huangye-small-action:nth-child(3) .by-huangye-small-action-icon i {
    transform: translateY(-1px);
}
/* =========================================================
   固定广告位
========================================================= */

.by-huangye-fixed-aid {
    width: 280px;
    height: 490px;
    margin-top: 15px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: #fff;
}
.by-huangye-fixed-aid-title {
    width: 100%;
    height: 55px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}
.by-huangye-fixed-aid-content a {
    display: block;
    width: 100%;
    height: 100%;
}
.by-huangye-fixed-aid-content img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.by-huangye-aid {
    width: 100%;
    height: 250px;
    overflow: hidden;
}
.by-huangye-aid-link {
    display: block;
    width: 100%;
    height: 100%;
}
.by-huangye-aid-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}
.by-huangye-fixed-aid-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.by-huangye-fixed-aid-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}
/* =========================================================
   幻灯下两个并列图片广告位
========================================================= */

.by-huangye-aid-row {
    width: 600px;
    height: 186px;
    margin-top: 15px;
    display: grid;
    grid-template-columns: 300px 300px;
}
.by-huangye-aid-item {
    display: block;
    width: 300px;
    height: 186px;
    overflow: hidden;
    background: #f5f5f5;
}
.by-huangye-aid-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.by-service-page {
    width: 1200px;
    max-width: 1200px;
    margin: 20px auto 0 auto;
}
/* =====================================================
   主模块
   ===================================================== */

.by-service-module {
    background: #fff;
    box-shadow: 0 0 0 1px #f1f1f1;
}
/* =====================================================
   分类导航
   ===================================================== */

.by-service-category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 62px;
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #edf0ef;
    margin-top: 2px;
}
/* =====================================================
   分类导航项目
   ===================================================== */

.by-service-category-nav-item {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s ease;
}
.by-service-category-nav-item:hover {
    color: #00b578;
}
/* =====================================================
   当前分类
   ===================================================== */

.by-service-category-nav-item.active {
    color: #222;
    font-weight: 600;
}
/* =====================================================
   当前分类绿色下划线
   ===================================================== */

.by-service-category-nav-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
    background: #00b578;
    transition: width .15s ease;
}
.by-service-category-nav-item.active::after {
    width: 74px;
}
/* =====================================================
   分类内容
   ===================================================== */

.by-service-category-list {
    padding: 20px 22px
}
/* =====================================================
   分类
   ===================================================== */

.by-service-category {
    scroll-margin-top: 88px;
    padding-bottom: 33px;
}
/* =====================================================
   分类标题
   ===================================================== */

.by-service-category-head {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.by-service-category-title {
    display: flex;
    align-items: center;
}
.by-service-category-title-icon {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-left: 3px;
    background: none;
    color: #0cb400;
    font-size: 18px;
}
.by-service-category-title strong {
    color: #222;
    font-size: 17px;
    font-weight: 600;
}
.by-service-category-title span {
    margin-left: 10px;
    color: #aaa;
    font-size: 12px;
    transform: translateY(1px);
}
/* =====================================================
   商家列表
   ===================================================== */

.by-service-business-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
/* =====================================================
   商家
   ===================================================== */

.by-service-business {
    border: 1px solid #ededed;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease;
}
.by-service-business:hover {
    border-color: #00b578;
    background: #fff;
}
/* =====================================================
   商家链接
   ===================================================== */

.by-service-business-link {
    position: relative;
    display: block;
    padding: 21px 48px 23px 21px;
    color: #333;
}
/* =====================================================
   商家标题
   ===================================================== */

.by-service-business-title {
    display: flex;
    align-items: center;
    min-width: 0;
}
.by-service-business-title strong {
    width: 303px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    transition: color .15s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.by-service-business:hover .by-service-business-title strong {
    color: #00b578;
}
/* =====================================================
   商家服务
   ===================================================== */

.by-service-business-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 15px;
}
.by-service-business-service {
    padding: 0;
    background: none;
    color: #777;
    font-size: 12px;
}
.by-service-business-service + .by-service-business-service::before {
    content: "·";
    margin: 0 10px;
    color: #ccc;
}
/* =====================================================
   商家信息
   ===================================================== */

.by-service-business-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
    color: #555;
    font-size: 13px;
}
.by-service-business-info span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.by-service-business-info span i {
    margin-right: 6px;
    color: #999;
}
/* =====================================================
   商家右侧箭头
   ===================================================== */

.by-service-business-arrow {
    position: absolute;
    top: 50%;
    right: 19px;
    transform: translateY(-50%);
    color: #c4c9c7;
    font-size: 15px;
    transition: color .15s ease, transform .15s ease;
}
.by-service-business:hover .by-service-business-arrow {
    color: #00b578;
    transform: translate(3px, -50%);
}
/* =====================================================
   空分类
   ===================================================== */

.by-service-business-empty {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    text-align: center;
}
.by-service-business-empty-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.by-service-business-empty-title {
    color: #888;
    font-size: 13px;
    line-height: 20px;
}
/* =====================================================
   发布按钮
   ===================================================== */

.by-service-business-empty-button {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    padding: 0 15px;
    border: 1px solid #00b578;
    border-radius: 5px;
    background: #fff;
    color: #00b578;
    font-size: 13px;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.by-service-business-empty-button i {
    margin-right: 5px;
    font-size: 13px;
}
.by-service-business-empty-button:hover {
    background: #00b578;
    border-color: #00b578;
    color: #fff;
}
/* =====================================================
   最后一个分类
   ===================================================== */

.by-service-category:last-child {
    padding-bottom: 10px;
}
/* =========================================================
           商家黄页底部提醒
        ========================================================= */

.by-huangye-footer-notice {
    width: 1200px;
    margin: 20px auto 30px;
    background: #fff;
    box-shadow: 0 0 0 1px #f1f1f1;
    overflow: hidden;
    color: #444;
}
/* =========================================================
           三个提醒区域
        ========================================================= */

.by-huangye-notice-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 34px;
}
/* =========================================================
           单个提醒
        ========================================================= */

.by-huangye-notice-item {
    display: flex;
    min-height: 150px;
    padding: 0 28px;
    box-sizing: border-box;
}
.by-huangye-notice-item:first-child {
    padding-left: 0;
}
.by-huangye-notice-item:last-child {
    padding-right: 0;
}
.by-huangye-notice-item + .by-huangye-notice-item {
    border-left: 1px solid #eeeeee;
}
/* =========================================================
           提醒图标
        ========================================================= */

.by-huangye-notice-item-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin-right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0faf4;
    color: #20c057;
    font-size: 18px;
}
/* =========================================================
           提醒内容
        ========================================================= */

.by-huangye-notice-item-body {
    flex: 1;
    min-width: 0;
}
.by-huangye-notice-item-body h4 {
    margin: 2px 0 10px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: #333;
}
.by-huangye-notice-item-body p {
    margin: 0 0 9px;
    font-size: 13px;
    line-height: 1.8;
    color: #777;
}
.by-huangye-notice-item-body p:last-child {
    margin-bottom: 0;
}
.by-huangye-notice-item-body strong {
    color: #555;
    font-weight: 500;
}
/* =========================================================
           底部合作区域
        ========================================================= */

.by-huangye-notice-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 15px 34px;
    background: #fafafa;
    border-top: 1px solid #eeeeee;
}
/* =========================================================
           联系方式
        ========================================================= */

.by-huangye-notice-contact {
    display: flex;
    align-items: center;
}
.by-huangye-notice-contact-label {
    margin-right: 20px;
    font-size: 14px;
    color: #666;
}
.by-huangye-notice-email {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}
.by-huangye-notice-email i {
    margin-right: 7px;
    color: #20c057;
    font-size: 16px;
}
/* =========================================================
           FAQ 按钮
        ========================================================= */

.by-huangye-notice-faq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 38px;
    padding: 0 18px;
    border: 1px solid #20c057;
    border-radius: 4px;
    background: #fff;
    color: #20c057;
    font-size: 12px;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.by-huangye-notice-faq i {
    margin-left: 8px;
    font-size: 12px;
}
.by-huangye-notice-faq:hover {
    background: #20c057;
    border-color: #20c057;
    color: #fff;
}
	
.by-huangye-business-empty {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #fff;
    border-radius: 6px;
    grid-column: 1 / -1;
}

.by-huangye-business-empty-title {
    margin-right: 30px;
    font-size: 14px;
    line-height: 38px;
    color: #999;
}

.by-huangye-business-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    box-sizing: border-box;
    border: 0;
    border-radius: 5px;
    background: #20c057;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.by-huangye-business-empty-btn i {
    margin-right: 5px;
    font-size: 14px;
}

.by-huangye-business-empty-btn:hover {
    background: #1eaf50;
    border-color: #1eaf50;
    color: #fff;
    text-decoration: none;
}