/* 首页专用样式。Discuz 页头、导航和页脚由 common 模板提供。 */
.px-home { width: 1200px; margin: 0 auto; padding: 18px 0 32px; color: #333; }
.px-home, .px-home * { box-sizing: border-box; }
.px-home a { color: inherit; text-decoration: none; }
.px-home a:hover { color: #f60; }

.px-home-banner { width: 100%; margin: 0 0 18px; }
.px-home-banner .index_tq1 { max-width: 100%; }
.px-home-banner img { max-width: 100%; height: auto; }

.px-home-slider { margin: 0 0 18px; background: #fff; }
.px-home-slider[hidden] { display: none; }
.px-home-slider-heading { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; padding-bottom: 7px; border-bottom: 1px solid #eee; }
.px-home-slider-heading h2 { position: relative; margin: 0; padding-bottom: 2px; color: #333; font-size: 19px; font-weight: 700; }
.px-home-slider-heading h2:after { position: absolute; right: 0; bottom: -8px; left: 0; height: 3px; background: #f60; content: ""; }
.px-home-slider-heading span { color: #999; font-size: 12px; }
.px-home-slider-window { position: relative; overflow: hidden; width: 100%; aspect-ratio: 2 / 1; background: #eee8df; }
.px-home-slider-slides, .px-home-slider-slide { position: absolute; inset: 0; }
.px-home-slider-slide { opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.px-home-slider-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.px-home-slider-slide > a, .px-home-slider-slide > div { position: absolute; inset: 0; display: block; color: #fff; }
.px-home-slider-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.px-home-slider-caption { position: absolute; right: 0; bottom: 0; left: 0; overflow: hidden; padding: 13px 100px 13px 16px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: 17px; font-weight: 700; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.px-home-slider-arrow { position: absolute; z-index: 2; top: 50%; display: flex; width: 34px; height: 46px; align-items: center; justify-content: center; transform: translateY(-50%); border: 0; border-radius: 2px; background: rgba(0,0,0,.28); color: #fff; cursor: pointer; font-size: 30px; line-height: 1; opacity: 0; transition: opacity .15s ease; }
.px-home-slider-window:hover .px-home-slider-arrow, .px-home-slider-arrow:focus { opacity: 1; }
.px-home-slider-prev { left: 10px; }
.px-home-slider-next { right: 10px; }
.px-home-slider-dots { position: absolute; z-index: 3; right: 14px; bottom: 15px; display: flex; gap: 8px; }
.px-home-slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.72); cursor: pointer; }
.px-home-slider-dot.is-active { background: #f60; }
@media (prefers-reduced-motion: reduce) { .px-home-slider-slide { transition: none; } }

.px-home-layout { display: flex; align-items: flex-start; gap: 20px; width: 1200px; margin: 0 auto; }
.px-home-left { position: sticky; top: 12px; align-self: flex-start; flex: 0 0 100px; width: 100px; }
.px-home-center { flex: 0 0 720px; width: 720px; min-width: 0; }
.px-home-right { flex: 0 0 340px; width: 340px; }
.px-home-channel-nav { overflow: hidden; background: #f7f7f7; }
.px-home-channel-nav a { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 5px; color: #555; font-size: 15px; transition: background-color .15s ease, color .15s ease; }
.px-home-channel-nav a:hover { background: #fff0dd; color: #f60; }
.px-home-channel-nav a.is-active { min-height: 46px; background: #ff9000; color: #fff; font-size: 17px; font-weight: 700; }
.px-home-feed { overflow: hidden; background: #fff; }
.px-home-feed-head { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 6px 10px 0; border-bottom: 1px solid #eee; }
.px-home-feed-head > div { display: flex; align-items: baseline; gap: 12px; }
.px-home-feed-head h1 { margin: 0; color: #333; font-size: 20px; font-weight: 700; }
.px-home-feed-head span { color: #999; font-size: 12px; }
.px-home-publish { display: inline-block; padding: 7px 13px; border-radius: 3px; background: #f60; color: #fff !important; font-size: 13px; }
.px-home-publish:hover { background: #d95d00; }
.px-home-demo-note { margin: 12px 0 0; padding: 8px 10px; border: 1px solid #f4e4c7; background: #fffaf0; color: #888; font-size: 12px; }
.px-home-demo-note span { margin-right: 6px; padding: 2px 5px; border-radius: 2px; background: #f4a340; color: #fff; }
.px-home-feed-list { padding-top: 3px; }
.px-home-story { display: flex; gap: 16px; min-height: 130px; padding: 14px 0; border-bottom: 1px solid #e9e9e9; }
.px-home-thumb { position: relative; display: flex; flex: 0 0 144px; width: 144px; height: 96px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #e5e5e5; color: #fff; text-align: center; }
.px-home-photo { display: block; background: #f3f3f3; }
.px-home-photo img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .2s ease; }
.px-home-photo.is-loading img { opacity: 0; }
.px-home-thumb:before, .px-home-thumb:after { position: absolute; border: 1px solid rgba(255,255,255,.38); content: ""; transform: rotate(-18deg); }
.px-home-thumb:before { top: -20px; right: -8px; width: 95px; height: 140px; }
.px-home-thumb:after { bottom: -44px; left: -20px; width: 150px; height: 88px; border-radius: 50%; }
.px-home-thumb span, .px-home-thumb b { position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.px-home-thumb span { margin-bottom: 5px; font-size: 12px; }
.px-home-thumb b { font-size: 17px; }
.px-thumb-life { background: linear-gradient(135deg, #d4a25e, #a76b3d); }
.px-thumb-house { background: linear-gradient(135deg, #d28c4b, #98583b); }
.px-thumb-job { background: linear-gradient(135deg, #e2ae63, #b96b42); }
.px-thumb-food { background: linear-gradient(135deg, #d88755, #9e5145); }
.px-home-story-main { display: flex; min-width: 0; flex: 1; flex-direction: column; justify-content: space-between; }
.px-home-story-title { display: flex; align-items: flex-start; gap: 6px; }
.px-home-story-title h2 { margin: 0; color: #333; font-size: 18px; font-weight: 700; line-height: 30px; }
.px-home-story-title h2:hover { color: #f60; }
.px-home-demo-tag { flex: 0 0 auto; margin-top: 4px; padding: 1px 4px; border: 1px solid #e8b978; border-radius: 2px; color: #bc792a; font-size: 10px; line-height: 1.4; }
.px-home-story-desc { overflow: hidden; max-height: 36px; margin: 4px 0 8px; color: #888; font-size: 12px; line-height: 1.6; }
.px-home-story-meta { display: flex; align-items: center; gap: 10px; padding-right: 18px; color: #999; font-size: 14px; line-height: 24px; white-space: nowrap; }
.px-home-author { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #777; font-size: 12px; line-height: 24px; }
.px-home-story-meta time { color: #aaa; font-size: 14px; }
.px-home-story-noimage { min-height: 112px; padding-left: 0; }
.px-home-story-noimage .px-home-story-main { min-height: 82px; }
.px-home-feed-foot { padding: 18px 0 8px; color: #aaa; font-size: 12px; text-align: center; }
.px-home-feed-status { padding: 16px 0 0; color: #999; font-size: 13px; text-align: center; }
.px-home-feed-status.is-loading { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 9px; padding: 14px 0; border-top: 1px solid #eee; color: #a66c28; }
.px-home-feed-status.is-loading:before { width: 18px; height: 18px; border: 3px solid #f4dfc7; border-top-color: #f60; border-radius: 50%; content: ""; animation: px-home-spin .75s linear infinite; }
@keyframes px-home-spin { to { transform: rotate(360deg); } }
.px-home-feed-foot button { padding: 7px 22px; border: 1px solid #e6c59a; border-radius: 3px; background: #fffaf0; color: #a66c28; cursor: pointer; font: inherit; }
.px-home-feed-foot button:hover:not(:disabled) { border-color: #f60; color: #f60; }
.px-home-feed-foot button:disabled { color: #aaa; cursor: default; }
.px-home-feed-retry { padding: 6px 14px; border: 1px solid #e6c59a; border-radius: 3px; background: #fffaf0; color: #a66c28; cursor: pointer; font: inherit; }
.px-home-feed-retry:hover { border-color: #f60; color: #f60; }
.px-home-hot { margin-bottom: 14px; padding: 16px 16px 12px; background: #f7f7f7; }
.px-home-hot h2 { display: flex; align-items: center; margin: 0 0 8px; color: #444; font-size: 17px; font-weight: 500; }
.px-home-hot h2 i { width: 4px; height: 18px; margin-right: 10px; background: #f60; }
.px-home-hot h2 span { margin-left: auto; color: #c49a6c; font-size: 10px; }
.px-home-hot ol { margin: 0; padding: 0; list-style: none; }
.px-home-hot li { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; color: #555; font-size: 13px; line-height: 1.55; }
.px-home-hot li > div { min-width: 0; flex: 1; }
.px-home-hot li a, .px-home-hot li div > span { overflow: hidden; color: #555; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.px-home-hot li a:hover { color: #f60; }
.px-home-hot li small { display: block; margin-top: 3px; color: #aaa; font-size: 11px; line-height: 1.4; }
.px-home-hot-empty { color: #999 !important; }
.hot-dot { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #e8aa54; }
.hot-red { background: #e57945; }
.hot-orange { background: #f1b176; }
.hot-blue { background: #d8a967; }
.hot-green { background: #c59b64; }
.px-home-hot-more { display: block; margin-top: 6px; padding-top: 10px; border-top: 1px solid #e8e8e8; color: #888 !important; font-size: 12px; text-align: right; }
.px-home-hot-more span { color: #ed7625; font-size: 18px; vertical-align: -1px; }
.px-home-right-service { padding: 16px; background: #f7f7f7; }
.px-home-right-service h2 { margin: 0 0 12px; padding-left: 10px; border-left: 4px solid #f60; color: #444; font-size: 17px; font-weight: 600; }
.px-home-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.px-home-service-item { display: flex; min-width: 0; min-height: 69px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 7px 2px; border: 1px solid #f0ece6; border-radius: 3px; background: #fff; color: #555 !important; font-size: 12px; line-height: 1.25; text-align: center; }
.px-home-service-item[href]:hover, .px-home-service-item[href]:focus { border-color: #f6c28e; background: #fff9f2; color: #ed6c00 !important; outline-color: #f90; }
.px-home-service-item[aria-disabled="true"] { cursor: default; }
.px-home-service-icon { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: #fff2e4; color: #ed812c; }
.px-home-service-icon svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.px-home-service-name { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 1239px) { .px-home { width: 1200px; } }

/* Site contact and reporting information sits in the portal's right rail. */
.px-home-side-site { margin: 14px 0; padding: 15px 16px; background: #f7f7f7; color: #888; }
.px-home-side-logo { display: block; margin: 0 0 12px; padding-bottom: 11px; border-bottom: 1px solid #e6e6e6; text-align: center; }
.px-home-side-logo img { display: inline-block; width: 100%; max-width: 278px; height: auto; }
.px-home-side-links { display: flex; flex-wrap: wrap; gap: 0; padding: 0 0 12px; border-bottom: 1px solid #e6e6e6; }
.px-home-side-links a { color: #777; font-size: 12px; line-height: 1.6; }
.px-home-side-links a:hover { color: #f60; }
.px-home-side-links a:not(:last-child)::after { content: "|"; margin: 0 8px; color: #c8c8c8; }
.px-home-side-contact { padding-top: 9px; }
.px-home-side-contact p { margin: 5px 0; color: #888; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.px-home-side-contact a { color: #888; }
.px-home-side-badges { display: grid; gap: 6px; margin-top: 3px; padding-top: 0; border-top: 0; }
.px-home-side-badges a { color: #777; }
.px-home-side-security { display: flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.45; }
.px-home-side-security:hover { color: #f60; }
.px-home-side-security img { flex: 0 0 22px; width: 22px; height: 22px; object-fit: contain; }
.px-home-side-security strong { color: #666; font-weight: 600; }
.px-home-side-license { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 7px; align-items: baseline; font-size: 11px; line-height: 1.5; }
.px-home-side-license > span { color: #999; }
.px-home-side-license a { color: #666; }
.px-home-side-license em { display: inline-block; margin-left: 4px; color: #c47a38; font-size: 10px; font-style: normal; white-space: nowrap; }
.px-home-side-report { margin: 14px 0; padding: 16px; background: #f7f7f7; }
.px-home-side-report h2 { margin: 0 0 9px; padding-left: 10px; border-left: 4px solid #f60; color: #444; font-size: 17px; font-weight: 600; }
.px-home-side-report p { margin: 0 0 10px; color: #999; font-size: 12px; line-height: 1.7; }
.px-home-side-report a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid #e6e6e6; color: #777; font-size: 12px; line-height: 1.55; }
.px-home-side-report a:hover { color: #f60; }
.px-home-side-report a span { flex: 0 0 auto; color: #f60; font-size: 17px; line-height: 14px; }
