/*
 * 水城黄页 modern skin — loaded after the original stylesheets (see modoer_header.htm).
 * Only colours, type, spacing and decoration change here: the fixed column widths of the
 * original 960px layout are left alone, so no horizontal padding/border is added to the
 * floated columns (#list_left 738px + #list_right 210px, .ix* blocks ...).
 * Remove the <link> to this file to go back to the original look.
 */
:root {
    --yp-brand: #f08a00;        /* logo orange */
    --yp-brand-dark: #c86f00;
    --yp-brand-soft: #fff4e5;
    --yp-nav: #1f3a5f;          /* deep navy */
    --yp-nav-dark: #172c48;
    --yp-ink: #1f2937;
    --yp-text: #374151;
    --yp-muted: #6b7280;
    --yp-line: #e5e7eb;
    --yp-line-soft: #f0f1f3;
    --yp-bg: #f4f5f7;
    --yp-link: #1f4f82;
    --yp-accent: #c2410c;       /* prices, scores, highlights */
    --yp-radius: 8px;
    --yp-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .04);
    --yp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
html { overflow-x: hidden; }
body { background: var(--yp-bg); color: var(--yp-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, input, select, button, textarea { font-family: var(--yp-font); }
body { font-size: 13px; line-height: 1.6; }
/* the old rule split English words anywhere ("Kitch-ener"); wrap normally, break only very long strings */
* { word-break: normal; overflow-wrap: anywhere; }
a { color: var(--yp-link); transition: color .15s; }
a:hover { color: var(--yp-brand-dark); }
*:focus { outline-color: var(--yp-brand); }
h1, h2, h3 { color: var(--yp-ink); }
::selection { background: #ffe2b8; }

.font_1 { color: var(--yp-accent); }
.font_2 { color: var(--yp-brand-dark); }
.font_3, .font_4 { color: var(--yp-muted); }
.font_5 { color: var(--yp-link); }
.xsplit { color: #d1d5db; margin: 0 2px; }

/* ---------- form controls ---------- */
.t_input, .f_input, textarea, select,
input[type="text"], input[type="password"], input[type="email"], input[type="number"] {
    border: 1px solid #d1d5db; border-radius: 6px; background: #fff; color: var(--yp-ink);
    transition: border-color .15s, box-shadow .15s;
}
.t_input, input[type="text"], input[type="password"], input[type="email"], input[type="number"] { padding: 3px 6px; }
.t_input:focus, .f_input:focus, textarea:focus, select:focus,
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="number"]:focus {
    border-color: var(--yp-brand); box-shadow: 0 0 0 3px rgba(240, 138, 0, .15); outline: none;
}
button, .button, .btn, .btn2 {
    background: #fff; color: var(--yp-ink); border: 1px solid #d1d5db; border-radius: 6px;
    padding: 5px 14px; line-height: 1.4; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
button:hover, .button:hover, .btn:hover, .btn2:hover { background: #f9fafb; border-color: #9ca3af; color: var(--yp-ink); }
button[type="submit"], button.button, .btn {
    background: var(--yp-brand); border-color: var(--yp-brand); color: #fff; font-weight: 600;
}
button[type="submit"]:hover, button.button:hover, .btn:hover { background: var(--yp-brand-dark); border-color: var(--yp-brand-dark); color: #fff; }

/* ---------- top utility bar ---------- */
#gtop { background: #fff; border-bottom: 1px solid var(--yp-line); padding: 0; filter: none; }
#gtop .maintop { line-height: 32px; font-size: 12px; color: var(--yp-muted); }
#gtop a { color: var(--yp-muted); }
#gtop a:hover { color: var(--yp-brand-dark); }

/* ---------- header ---------- */
#header { margin-bottom: 18px; }
#header::before {               /* full-width white band behind the 960px header */
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%;
    width: 100vw; margin-left: -50vw; background: #fff; box-shadow: 0 1px 0 var(--yp-line);
}
.header-main { margin-top: 0; padding: 12px 0 10px; min-height: 58px; }
.header-main .logo { margin-top: 2px; }
.header-main .nav_citys { margin-top: 14px; }
.header-main .nav_citys .cityname {
    background: var(--yp-brand-soft); border: 1px solid #fbd9a6; border-radius: 16px; color: var(--yp-ink);
    font-size: 13px; padding: 3px 28px 3px 12px; filter: none;
}
.header-main .nav_citys .select-box { border-top-color: var(--yp-brand); }
.header-main-qrcode { margin-top: 14px; }
.header-main-qrcode > a { color: var(--yp-muted); }
.header-mobileweb-qrcode { border-color: var(--yp-line); border-radius: var(--yp-radius); box-shadow: 0 8px 24px rgba(16, 24, 40, .12); padding: 6px; }
.header-main .charmenu { line-height: 24px; margin-top: 4px; }
.header-main .charmenu a { color: var(--yp-link); }
.header-main .mainlogin { border-left-color: var(--yp-line); }
.header-main .mainlogin .t_input { padding: 2px 6px; }
.header-main .mainlogin button { padding: 2px 10px; }
.mainuser-face img { border-radius: 50%; border-color: var(--yp-line); }
.mainuser-operation { color: var(--yp-muted); }

/* main navigation */
.header-bar { position: relative; z-index: 0; height: 44px; background: none; filter: none; font-size: 15px; }
.header-bar::before {           /* full-width navy band */
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%;
    width: 100vw; margin-left: -50vw; background: var(--yp-nav);
}
.header-itemcate { height: 44px; background: var(--yp-brand); }
.header-itemcate .itemcate-select { line-height: 44px; margin-left: 0; }
.header-itemcate .itemcate-select a { font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.header-itemcate .select-box { top: 15px; }
.header-menu li { height: 44px; line-height: 44px; }
.header-menu li a { font-size: 15px; color: #dbe5f1; padding: 0 16px; transition: background .15s, color .15s; }
.header-menu li a:hover, .header-menu .current, .header-menu .current a {
    color: #fff; background: var(--yp-nav-dark); box-shadow: inset 0 -3px 0 var(--yp-brand);
}
.header-menu li .select-box { top: 19px; }
.header-menu-more { background: var(--yp-nav); border-radius: 0 0 var(--yp-radius) var(--yp-radius); box-shadow: 0 8px 24px rgba(16, 24, 40, .18); }
.header-menu-more li a:hover { background: var(--yp-nav-dark); }

/* category flyout */
.itemcate-root-list li { background: #fff; filter: none; }
.itemcate-root-list li a { border-color: var(--yp-line); color: var(--yp-ink); }
.itemcate-root-list li a:hover, .header-itemcate-list li .selected { background: var(--yp-brand-soft); color: var(--yp-brand-dark); }
.itemcate-sub-list { border-color: var(--yp-line); box-shadow: 0 8px 24px rgba(16, 24, 40, .12); }
.itemcate-sub-list li a { background: none; padding-left: 0; }

/* search row */
.header-submain { height: 52px; background: #fff; border: 0; filter: none; }
.header-search { top: 9px; line-height: 32px; }
.header-search .search-select {
    box-sizing: border-box; height: 36px; line-height: 32px; border: 2px solid var(--yp-brand); border-right: 0;
    border-radius: 20px 0 0 20px; color: var(--yp-ink); background: #fff;
}
.header-search .select-box { top: 15px; border-top-color: var(--yp-muted); }
.header-search .input {
    height: 36px; line-height: 32px; border: 2px solid var(--yp-brand); border-left: 0; border-right: 0;
    border-radius: 0; padding: 0 8px; box-sizing: border-box; font-size: 14px; box-shadow: none;
}
.header-search .input:focus { box-shadow: none; }
.header-search .sobtn {
    /* sits right after the 65px type selector + 257px input */
    box-sizing: border-box; width: 60px; height: 36px; top: 0; left: 322px; right: auto; border: 0; border-radius: 0 20px 20px 0; padding: 0;
    background: var(--yp-brand); color: #fff; font-size: 14px; font-weight: 600;
}
.header-search .sobtn:hover { background: var(--yp-brand-dark); color: #fff; }
.header-search-types { border-color: var(--yp-line); border-radius: 0 0 6px 6px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12); }
.header-search-types li a:hover { background: var(--yp-brand-soft); }
.header-operation { line-height: 52px; }

/* dropdowns */
.dropdown-menu, .comm-dropdown-city {
    background: #fff; border: 1px solid var(--yp-line); border-radius: var(--yp-radius); box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
}
.comm-dropdown-city li a:hover, .comm-dropdown-city li.current a { color: var(--yp-brand-dark); }

/* ---------- page body ---------- */
.link_path { margin: 0 0 14px; font-size: 13px; color: var(--yp-muted); }
.link_path a { color: var(--yp-muted); }
.link_path a:hover { color: var(--yp-brand-dark); }
.link_path em, .link_path em a { font-size: 13px; }

/* panels become white cards */
.mainrail, .rail-border-1, .rail-border-2, .rail-border-3, .rail-border-4,
.list-filter, .g-list-category, .category, #list_right, .ix_right_body, .subrail {
    background: #fff !important; border: 1px solid var(--yp-line) !important; border-radius: var(--yp-radius);
    box-shadow: var(--yp-shadow); filter: none;
}
.mainrail { margin-bottom: 14px; }
#list_right { overflow: hidden; }
#list_right .mainrail { border: 0 !important; box-shadow: none; border-radius: 0; margin: 0; border-bottom: 1px solid var(--yp-line-soft) !important; }

/* panel headings: clean, no gradients */
.rail-h-1, .rail-h-2, .rail-h-3, .rail-h-4, .ix_foo .ix_title, .ix_right_body h2 {
    color: var(--yp-ink) !important; font-size: 15px; font-weight: 600;
}
.rail-h-1, .rail-h-2, .rail-h-3 { padding: 10px 14px 9px; }
.rail-h-bg-1, .rail-h-bg-2, .rail-h-bg-3, .rail-h-bg-4, .rail-h-bg-5 { background: #fff !important; filter: none; }
.rail-h-bm-1, .rail-h-bm-2, .rail-h-bm-3, .rail-h-bm-4, .rail-h-border-1 { border-bottom: 1px solid var(--yp-line-soft) !important; }
.rail-h-1::before, .rail-h-2::before, .rail-h-3::before, .ix_foo .ix_title::before {
    content: ""; display: inline-block; width: 4px; height: 15px; margin-right: 8px; vertical-align: -2px;
    background: var(--yp-brand); border-radius: 2px;
}
.ix_foo .ix_title { height: 40px; line-height: 40px; border-bottom: 1px solid var(--yp-line-soft); background: #fff; }
.ix_foo .ix_title .icomoon { color: var(--yp-brand); }
.ix_left1_more, .mainrail em { font-size: 12px; }
.ix_left1_more { line-height: 40px; }
.ix_left1_more a, .mainrail em a { color: var(--yp-muted); }
.ix_left1_more a:hover, .mainrail em a:hover { color: var(--yp-brand-dark); }
.ix_right_body h2 a { color: var(--yp-ink); }
.ix_tab .selected a { color: var(--yp-brand-dark); border-bottom: 2px solid var(--yp-brand); }
.mainrail em .selected { background: var(--yp-brand); color: #fff; border-radius: 12px; }
.rail-list li { color: var(--yp-muted); }
.rail-list li.th { background: #f9fafb; border-bottom-color: var(--yp-line); border-bottom-style: solid; }
.rail-pic li { border-bottom: 1px solid var(--yp-line-soft); }
.rail-list img, .rail-pic li .pic img, .rail-thumb-s li div, .rail-thumb-n li div, .rail-faces li img { border-color: var(--yp-line); border-radius: 6px; }

/* homepage blocks */
.ix1_right .operation a {
    background: var(--yp-brand); color: #fff; border: 0; border-radius: var(--yp-radius); font-weight: 600; box-shadow: none; filter: none;
}
.ix1_right .operation a:hover { background: var(--yp-brand-dark); color: #fff; }
.ix1_right .ann { border-color: var(--yp-line); border-radius: var(--yp-radius); background: #fff; box-shadow: var(--yp-shadow); }
.ix1_center .hl h2 a { color: var(--yp-ink); }
.ix1_center .hl3 li div, .ix_grouplist .gicon img { border-color: var(--yp-line); border-radius: 6px; }
.ix_review .feed { background: var(--yp-brand-soft); border-radius: 6px; }
.ix_review .feed h3, .ix_review .feed h3 a { color: var(--yp-ink); }
.ix_review .member img { border-radius: 50%; }

/* ---------- listing page ---------- */
.list-filter { margin-bottom: 14px; }
.list-filter-item dl { border-bottom: 1px solid var(--yp-line-soft); padding: 4px 0; }
.list-filter-item dt { color: var(--yp-muted); font-weight: 600; }
.list-filter-item dd ul li { margin: 3px 4px; }
.list-filter-item dd ul li a { display: inline-block; padding: 1px 8px; border-radius: 12px; color: var(--yp-text); }
.list-filter-item dd ul li a:hover { background: var(--yp-brand-soft); color: var(--yp-brand-dark); }
.list-filter-item dd ul li .selected a { background: var(--yp-brand); color: #fff; }
.cate .selected a, .category .selected a, .g-list-category .selected a, .subrail .selected a { color: var(--yp-brand-dark); }

.itemlist { border-bottom: 1px solid var(--yp-line-soft); padding: 14px 0 10px; transition: background .15s; }
.itemlist:hover { background: #fafbfc; }
.itemlist .item .info h3 a { color: var(--yp-ink); font-weight: 600; }
.itemlist .item .info h3 a:hover { color: var(--yp-brand-dark); }
.itemlist .pic div { border: 1px solid var(--yp-line); border-radius: 6px; background: #f9fafb; overflow: hidden; }
.custom_field_list td { color: var(--yp-text); font-size: 13px; }
.custom_field_list td a { font-size: 13px; }
.itemlist .item .stat li { color: var(--yp-muted); }

/* ---------- detail page ---------- */
.post .title { border-bottom: 1px solid var(--yp-line-soft); }
.post .title h1 { color: var(--yp-ink); font-size: 18px; font-weight: 600; }

/* ---------- pagination ---------- */
.multipage { margin: 16px 0 8px; }
.multipage a, .multipage span { display: inline-block; min-width: 30px; height: 30px; line-height: 30px; padding: 0 8px; margin: 0 2px;
    border-radius: 6px; font-size: 13px; text-align: center; box-sizing: border-box; }
.multipage .p_num, .multipage .p_redirect { background: #fff; border: 1px solid var(--yp-line); color: var(--yp-text); }
.multipage .p_num:hover, .multipage .p_redirect:hover { border-color: var(--yp-brand); color: var(--yp-brand-dark); }
.multipage .p_curpage { background: var(--yp-brand); border: 1px solid var(--yp-brand); color: #fff; font-weight: 600; }
.multipage .p_info { color: var(--yp-muted); }

/* ---------- footer ---------- */
#footer { position: relative; z-index: 0; margin-top: 32px; padding: 6px 0 22px; color: #9fb0c6; }
#footer::before {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%;
    width: 100vw; margin-left: -50vw; background: var(--yp-nav);
}
#footer .links { border: 0; background: none; height: auto; line-height: 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
#footer .links a { color: #dbe5f1; }
#footer .links a:hover { color: #fff; }
#footer div { color: #9fb0c6; line-height: 1.7; }
#footer div a { color: #dbe5f1; }
#footer .version { color: #9fb0c6; }
#footer .product a { color: #fff; font-weight: 600; }
