/* ==========================================================================
   common_11.css — 本站专属覆盖样式（最后加载，最高优先级）
   ========================================================================== */
:root {
    --c-primary: #3b6cf6;
    --c-primary-dark: #2851d8;
    --c-accent: #ff7a45;
    --c-dark: #1c2233;
    --c-dark-2: #262d42;
    --c-text: #303342;
    --c-muted: #8a8fa3;
    --c-bg: #f4f6fb;
    --c-border: #ebedf5;
    --radius: 10px;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
}
a { transition: color .15s ease, background-color .15s ease; }
button:focus, button:active { outline: none !important; }

/* -------------------- topbar -------------------- */
#topbar {
    height: 36px;
    line-height: 36px;
    background-color: var(--c-dark);
    color: #b7bbcc;
    font-size: 12px;
}
#topbar .left-name { font-size: 12px; color: #9ca1b8; }
#topbar .links > li > a { color: #b7bbcc; }
#topbar .links > li > a:hover,
#topbar .links > li > a.color-text { color: #fff; }
#topbar .links > li > a.user-static { color: var(--c-accent); }

/* -------------------- header -------------------- */
#header {
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 12px 0 rgba(30, 40, 80, .06);
    position: sticky;
    top: 0;
    z-index: 100;
}
#header .header-inner {
    padding: 15px 0 12px;
}
#header .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#header .logo { margin: 0; flex-shrink: 0; }
#header .logo-text {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
#header .logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}
#header .logo-text span {
    font-size: 19px;
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: .5px;
}

#navbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}
#navbar a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1;
    padding: 0 16px;
    color: var(--c-text);
    border-radius: 17px;
    margin: 0 6px 8px 0;
    background-color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}
#navbar a:hover { background-color: var(--c-bg); color: var(--c-primary); }
#navbar a.active,
#navbar a.cur { background-color: var(--c-primary); color: #fff; }

#header .publish-btn {
    display: inline-flex;
    align-items: center;
    height: 38px;
    flex-shrink: 0;
    margin-left: 20px;
    padding: 0 20px;
    border-radius: 19px;
    background: linear-gradient(135deg, var(--c-accent), #ff5b26);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 6px 14px 0 rgba(255, 122, 69, .35);
}
#header .publish-btn i { margin-right: 6px; }
#header .publish-btn:hover { color: #fff; opacity: .92; }

/* -------------------- hero -------------------- */
.home-hero {
    background: linear-gradient(180deg, rgba(20, 25, 45, .55), rgba(20, 25, 45, .78)), url("../img/banner.jpg") center/cover no-repeat;
    padding: 70px 0 60px;
    text-align: center;
    color: #fff;
}
.home-hero h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: 1px;
}
.home-hero p {
    font-size: 15px;
    color: #d7dbef;
    margin-bottom: 30px;
}
.home-hero-search {
    max-width: 620px;
    margin: 0 auto;
}
.home-hero-search .input-group {
    background-color: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 30px 0 rgba(10, 15, 40, .25);
}
.home-hero-search input {
    height: 52px;
    line-height: 52px;
    border: none;
    box-shadow: none;
    padding-left: 24px;
    font-size: 15px;
}
.home-hero-search input:focus { box-shadow: none; }
.home-hero-search .input-group-btn { background-color: transparent; }
.home-hero-search button {
    height: 52px;
    padding: 0 30px;
    border: none;
    background-color: var(--c-primary);
    color: #fff;
    font-size: 15px;
    border-radius: 0 26px 26px 0;
}
.home-hero-search button:hover { background-color: var(--c-primary-dark); }
.home-hero-tags {
    margin-top: 20px;
}
.home-hero-tags a {
    display: inline-block;
    padding: 6px 18px;
    margin: 0 6px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
}
.home-hero-tags a:hover {
    background-color: var(--c-accent);
    border-color: var(--c-accent);
}

/* -------------------- ads -------------------- */
.home-ads {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px 0 rgba(30, 40, 80, .06);
}
.home-ads img { display: block; width: 100%; height: auto; }

/* -------------------- features -------------------- */
.home-features {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px 0 rgba(30, 40, 80, .06);
    margin: 24px 0 40px;
    padding: 24px 10px;
}
.feature-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex: 1;
}
.feature-item i {
    font-size: 30px;
    color: var(--c-primary);
    margin-right: 14px;
}
.feature-item h5 { margin: 0 0 4px; font-size: 15px; color: var(--c-text); }
.feature-item p { margin: 0; font-size: 12px; color: var(--c-muted); }

/* -------------------- homepage sections -------------------- */
#index_index .home-section { margin-bottom: 40px; }
#index_index .home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
#index_index .home-section-head h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text);
    margin: 0;
}
#index_index .home-section-head h3 i {
    color: var(--c-primary);
    margin-right: 8px;
}
#index_index .home-section-more {
    font-size: 13px;
    color: var(--c-muted);
}
#index_index .home-section-more:hover { color: var(--c-primary); }

#index_index .home-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 0;
    list-style: none;
}
#index_index .home-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 14px 0 rgba(30, 40, 80, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}
#index_index .home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px 0 rgba(30, 40, 80, .14);
}
#index_index .home-card a { display: block; color: inherit; }
#index_index .home-card-img {
    width: 100%;
    padding-top: 72%;
    position: relative;
    background-color: #eef0f7;
}
#index_index .home-card-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
#index_index .home-card-body { padding: 12px 14px 14px; }
#index_index .home-card-title {
    font-size: 14px;
    color: var(--c-text);
    margin-bottom: 8px;
}
#index_index .home-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--c-muted);
}
#index_index .home-card-column {
    color: var(--c-primary);
    background-color: rgba(59, 108, 246, .08);
    padding: 2px 8px;
    border-radius: 10px;
}

/* -------------------- footer -------------------- */
#footer {
    margin-top: 20px;
    background-color: var(--c-dark);
    color: #a9adc2;
}
#footer .footer-inner {
    display: flex;
    justify-content: space-between;
    padding: 44px 0 30px;
    flex-wrap: wrap;
}
#footer .footer-col {
    width: 22%;
    min-width: 200px;
    margin-bottom: 20px;
}
#footer .footer-col.footer-brand { width: 30%; }
#footer .footer-col h4 { color: #fff; font-size: 18px; margin: 0 0 12px; }
#footer .footer-col h5 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 16px;
    font-weight: 600;
}
#footer .footer-col p { font-size: 13px; line-height: 22px; color: #9498ad; }
#footer .footer-links { list-style: none; padding: 0; margin: 0; }
#footer .footer-links li { margin-bottom: 10px; }
#footer .footer-links a,
#footer .footer-nav a {
    color: #9498ad;
    font-size: 13px;
}
#footer .footer-links a:hover,
#footer .footer-nav a:hover { color: #fff; }
#footer .footer-nav { display: flex; flex-direction: column; }
#footer .footer-nav a { margin-bottom: 10px; }
#footer .footer-tip {
    background-color: var(--c-dark-2);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12px !important;
    line-height: 20px !important;
}
#footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 16px 0;
}
#footer .footer-bottom .copyright {
    text-align: center;
    color: #767a91;
    font-size: 12px;
    margin: 0;
}
#footer .footer-bottom .copyright a { color: #9498ad; }
#footer .footer-bottom .copyright a:hover { color: #fff; }

#main { min-height: 500px; }
#content.info-content { width: 100%; }

/* -------------------- 关于我们 -------------------- */
.about .panel-header {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}
.about .panel-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about .left-panel { width: 50%; }
.about .left-panel img { width: 100%; height: auto; }
.about .right-panel { width: 40%; }
.about .right-panel h3 { margin-bottom: 20px; }
.about .right-panel p { line-height: 30px; }

/* -------------------- 会员中心 -------------------- */
#user_index #content { width: 850px; }

/* -------------------- toolbar -------------------- */
#toolbar {
    display: none;
    width: auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
}
#toolbar > a { background-color: var(--c-primary); }
#toolbar > a > i { color: #fff; }

.breadcrumb { background-color: #fff; }

/* -------------------- 登录注册 -------------------- */
.wall {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("../img/user/login_bg.jpg");
    padding-top: 100px;
}
.login, .register, .forget {
    width: 600px;
    margin-top: 0;
}

/* -------------------- 筛选 / 分页 -------------------- */
.filter dl dd a:hover, .filter dl dd a.active { background-color: var(--c-primary); }
.filter .search-filter button { background-color: var(--c-primary); }
.btn-danger,
.pagination li.active a,
.pagination li.active a:hover,
.pagination li a:hover {
    background-color: var(--c-primary);
    border-color: var(--c-primary);
}
.show-number { background: var(--c-primary); }

/* -------------------- 响应式 -------------------- */
@media (max-width: 1024px) {
    #index_index .home-card-grid { grid-template-columns: repeat(3, 1fr); }
    .home-features { flex-wrap: wrap; }
    .feature-item { width: 50%; margin-bottom: 16px; }
}
@media (max-width: 768px) {
    #index_index .home-card-grid { grid-template-columns: repeat(2, 1fr); }
    #footer .footer-col { width: 45%; }
    #footer .footer-col.footer-brand { width: 100%; }
}
