/*!
 * LVYIN 绿茵竞技体育企业模板 — 内页样式
 * 覆盖：内页横幅 / 双栏布局 / 侧栏组件 / 列表卡片 / 分页 /
 *       详情页 / 标签 / 搜索 / 404 / 响应式
 */

/* ---------------- 内页横幅 ---------------- */
.ae-banner { position: relative; padding: 66px 0 58px; background: var(--ae-grad-ink); color: #fff; overflow: hidden; }
.ae-banner::after { content: ""; position: absolute; right: -60px; top: -90px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); pointer-events: none; }
.ae-banner-tag { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 2.8px; color: var(--ae-glow); text-transform: uppercase; }
.ae-banner h1 { color: #fff; font-size: 34px; }
.ae-banner-sub { margin: 12px 0 0; max-width: 700px; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.ae-crumb { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.ae-crumb a { color: rgba(255, 255, 255, .75); }
.ae-crumb a:hover { color: var(--ae-glow); }
.ae-crumb i { margin: 0 8px; font-style: normal; opacity: .5; }

/* ---------------- 双栏布局 ---------------- */
.ae-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding-top: 46px; padding-bottom: 72px; align-items: start; }
.ae-layout.is-right { grid-template-columns: 1fr 300px; }
.ae-layout.is-right .ae-main { order: 1; }
.ae-layout.is-right .ae-side { order: 2; }
.ae-main { min-width: 0; }

/* ---------------- 侧栏组件 ---------------- */
.ae-widget { background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); margin-bottom: 22px; overflow: hidden; }
.ae-widget-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--ae-line); background: var(--ae-paper); }
.ae-widget-head h2 { font-size: 16.5px; }
.ae-widget-head small { font-size: 10.5px; letter-spacing: 1.6px; color: var(--ae-muted); text-transform: uppercase; }
.ae-widget-body { padding: 18px 20px; }
.ae-widget-body.is-flush { padding: 8px 20px 16px; }
.ae-cats li a { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-weight: 600; color: var(--ae-ink-2); border-bottom: 1px solid var(--ae-line); }
.ae-cats li:last-child a { border-bottom: 0; }
.ae-cats li a span { color: var(--ae-muted); transition: transform .25s var(--ae-ease); }
.ae-cats li a:hover { background: var(--ae-brand-soft); color: var(--ae-brand-deep); }
.ae-cats li.is-active a { background: var(--ae-brand-soft); color: var(--ae-brand-deep); border-left: 3px solid var(--ae-brand); }
.ae-cats li.is-active a span { color: var(--ae-brand); }
.ae-hotlist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--ae-line); }
.ae-hotlist li:last-child { border-bottom: 0; }
.ae-hotlist em { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 5px; background: var(--ae-paper); color: var(--ae-muted); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.ae-hotlist li:nth-child(1) em { background: var(--ae-grad-accent); color: #fff; }
.ae-hotlist li:nth-child(2) em, .ae-hotlist li:nth-child(3) em { background: var(--ae-grad-brand); color: #fff; }
.ae-hotlist a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.6; }
.ae-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.ae-chip { padding: 5px 13px; border: 1px solid var(--ae-line-2); border-radius: 999px; font-size: 12.5px; color: var(--ae-ink-2); background: var(--ae-white); }
.ae-chip:hover, .ae-chip.is-active { border-color: var(--ae-brand); background: var(--ae-brand); color: #fff; }
.ae-side-contact { background: var(--ae-grad-brand); border: 0; color: #fff; }
.ae-side-contact h2 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.ae-side-contact p { font-size: 13px; color: rgba(255, 255, 255, .85); }
.ae-side-contact .ae-tel { display: flex; flex-direction: column; margin: 12px 0 16px; line-height: 1.25; }
.ae-side-contact .ae-tel small { font-size: 11.5px; color: rgba(255, 255, 255, .8); }
.ae-side-contact .ae-tel strong { font-size: 21px; }
.ae-side-contact .ae-btn-sunset { background: #fff; color: var(--ae-brand-deep) !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.ae-list-head { margin-bottom: 22px; }
.ae-list-head h2 { font-size: 23px; }
.ae-list-head h2 span { color: var(--ae-brand); }
.ae-list-head p { margin: 8px 0 0; color: var(--ae-muted); font-size: 13.5px; }

/* ---------------- 列表卡片 ---------------- */
.ae-posts { display: flex; flex-direction: column; gap: 18px; }
.ae-post { display: grid; grid-template-columns: 232px 1fr; gap: 20px; background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); overflow: hidden; transition: transform .25s var(--ae-ease), box-shadow .25s var(--ae-ease); }
.ae-post:hover { transform: translateY(-3px); box-shadow: var(--ae-shadow); }
.ae-post-media { position: relative; display: block; overflow: hidden; }
.ae-post-media img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; transition: transform .6s var(--ae-ease); }
.ae-post:hover .ae-post-media img { transform: scale(1.05); }
.ae-post-num { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(15, 20, 32, .72); color: var(--ae-glow); font-size: 12px; font-weight: 700; backdrop-filter: blur(3px); }
.ae-post-body { padding: 18px 22px 18px 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ae-post-cat { align-self: flex-start; margin-bottom: 8px; padding: 3px 11px; border-radius: 999px; background: var(--ae-brand-soft); color: var(--ae-brand-deep); font-size: 12px; font-weight: 700; }
.ae-post-body h3 { font-size: 18px; line-height: 1.5; }
.ae-post-body h3 a:hover { color: var(--ae-brand); }
.ae-post-body > p { margin: 8px 0 0; color: var(--ae-muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ae-post-meta { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; color: var(--ae-muted); flex-wrap: wrap; }
.ae-post-meta i { font-style: normal; opacity: .5; }
.ae-post-more { margin-left: auto; color: var(--ae-brand); font-weight: 600; }
.ae-post-more:hover { color: var(--ae-brand-deep); }

/* ---------------- 分页 ---------------- */
.ae-page-num, .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; list-style: none; padding: 0; }
.ae-page-num li, .pagination li { display: inline-block; }
.ae-page-num a, .pagination a, .pagination span { display: inline-block; min-width: 38px; padding: 8px 13px; border: 1px solid var(--ae-line-2); border-radius: var(--ae-radius); background: var(--ae-white); color: var(--ae-ink-2); font-size: 14px; text-align: center; }
.ae-page-num a:hover, .pagination a:hover { border-color: var(--ae-brand); color: var(--ae-brand); }
.ae-page-num .active a, .pagination .active a, .pagination .active, .ae-page-num .current, .pagination .current { background: var(--ae-grad-brand); border-color: var(--ae-brand); color: #fff !important; }

/* ---------------- 详情页 ---------------- */
.ae-article { background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 34px 38px 30px; }
.ae-article-cat { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border-radius: 999px; background: var(--ae-brand-soft); color: var(--ae-brand-deep); font-size: 13px; font-weight: 700; }
.ae-article h1 { font-size: 28px; line-height: 1.45; }
.ae-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 18px; padding: 12px 0; border-top: 1px dashed var(--ae-line); border-bottom: 1px dashed var(--ae-line); font-size: 13px; color: var(--ae-muted); }
.ae-article-meta em { font-style: normal; color: var(--ae-accent); font-weight: 700; }
.ae-abstract { margin-bottom: 22px; padding: 14px 18px; border-left: 3px solid var(--ae-brand); background: var(--ae-paper); border-radius: 0 var(--ae-radius) var(--ae-radius) 0; font-size: 14px; color: var(--ae-text); }
.ae-abstract strong { color: var(--ae-brand-deep); }
.ae-content { font-size: 15.5px; line-height: 1.95; color: #2A3242; }
.ae-content p { margin: 0 0 16px; }
.ae-content h2 { font-size: 21px; margin: 30px 0 14px; padding-left: 13px; border-left: 4px solid var(--ae-accent); }
.ae-content h3 { font-size: 18.5px; margin: 26px 0 12px; color: var(--ae-brand-deep); }
.ae-content img { width: 100%; max-width: 820px; margin: 18px auto; border-radius: var(--ae-radius-lg); box-shadow: var(--ae-shadow-sm); }
.ae-content figure { margin: 20px auto; max-width: 820px; }
.ae-content figure img { margin: 0; }
.ae-content figcaption { margin-top: 8px; font-size: 13px; color: var(--ae-muted); text-align: center; }
.ae-content ul, .ae-content ol { margin: 0 0 16px; padding-left: 2px; }
.ae-content ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.ae-content ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--ae-brand); opacity: .65; }
.ae-content ol { list-style: decimal; padding-left: 24px; }
.ae-content ol li { margin-bottom: 8px; }
.ae-content blockquote { margin: 18px 0; padding: 14px 20px; background: var(--ae-brand-soft); border-left: 4px solid var(--ae-brand); border-radius: 0 var(--ae-radius) var(--ae-radius) 0; color: var(--ae-ink-2); }
.ae-content a { color: var(--ae-brand); text-decoration: underline; text-underline-offset: 3px; }
.ae-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.ae-content th, .ae-content td { border: 1px solid var(--ae-line); padding: 9px 12px; text-align: left; }
.ae-content th { background: var(--ae-paper); }
.ae-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; padding-top: 18px; border-top: 1px dashed var(--ae-line); }
.ae-detail-tags .ae-chip::before { content: "#"; margin-right: 3px; opacity: .6; }

/* 上下篇 */
.ae-neighbor { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.ae-neighbor a { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); transition: border-color .25s var(--ae-ease); }
.ae-neighbor a:hover { border-color: var(--ae-brand); }
.ae-neighbor span { font-size: 12.5px; color: var(--ae-muted); }
.ae-neighbor strong { font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ae-neighbor .next { text-align: right; }

/* 相关推荐 */
.ae-related { margin-top: 30px; }
.ae-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.ae-related-head h2 { font-size: 21px; }
.ae-related-head h2 small { margin-left: 8px; font-size: 11px; letter-spacing: 1.6px; color: var(--ae-muted); text-transform: uppercase; }
.ae-related-head a { color: var(--ae-brand); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.ae-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ae-related-grid .ae-post { grid-template-columns: 120px 1fr; }
.ae-related-grid .ae-post-media img { min-height: 92px; }
.ae-related-grid .ae-post-body { padding: 14px 16px 14px 0; }
.ae-related-grid .ae-post-body h3 { font-size: 15px; }
.ae-related-grid .ae-post-body > p { display: none; }

/* ---------------- 标签页 ---------------- */
.ae-tag-panel { background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 28px 30px; margin-bottom: 26px; }
.ae-tag-panel h2 { font-size: 20px; margin-bottom: 6px; }
.ae-tag-panel h2 small { margin-left: 8px; font-size: 11px; letter-spacing: 1.6px; color: var(--ae-muted); text-transform: uppercase; }
.ae-tag-panel .ae-tip { margin-bottom: 18px; color: var(--ae-muted); font-size: 13.5px; }
.ae-tag-big { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 18px; margin: 0 10px 10px 0; border: 1px solid var(--ae-line-2); border-radius: var(--ae-radius-lg); background: var(--ae-paper); }
.ae-tag-big:hover { border-color: var(--ae-brand); background: var(--ae-brand-soft); }
.ae-tag-big strong { font-size: 15px; color: var(--ae-ink); }
.ae-tag-big em { font-style: normal; font-size: 11.5px; color: var(--ae-muted); }

/* ---------------- 搜索页 ---------------- */
.ae-search-panel { background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 26px 28px; margin-bottom: 26px; }
.ae-search-form { display: flex; gap: 12px; }
.ae-search-form input { flex: 1; border: 1px solid var(--ae-line-2); border-radius: var(--ae-radius); padding: 12px 16px; font-size: 15px; outline: none; background: var(--ae-paper); color: var(--ae-text); }
.ae-search-form input:focus { border-color: var(--ae-brand); background: var(--ae-white); }
.ae-search-hint { margin: 12px 0 0; font-size: 12.5px; color: var(--ae-muted); }
.ae-empty { padding: 56px 20px; text-align: center; background: var(--ae-white); border: 1px dashed var(--ae-line-2); border-radius: var(--ae-radius-lg); }
.ae-empty strong { display: block; font-size: 19px; color: var(--ae-ink); margin-bottom: 8px; }
.ae-empty p { color: var(--ae-muted); margin-bottom: 18px; }

/* ---------------- 404 ---------------- */
.ae-404-wrap { min-height: 62vh; display: flex; align-items: center; justify-content: center; padding: 60px 22px; text-align: center; }
.ae-404-code { font-size: 110px; font-weight: 800; line-height: 1; background: var(--ae-grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ae-404-title { font-size: 24px; margin: 14px 0 8px; }
.ae-404-desc { color: var(--ae-muted); max-width: 560px; margin: 0 auto 24px; }
.ae-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ae-404-recommend { margin-top: 34px; text-align: left; max-width: 640px; margin-left: auto; margin-right: auto; background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 22px 26px; }
.ae-404-recommend h2 { font-size: 17px; margin-bottom: 12px; }
.ae-404-recommend li { padding: 8px 0; border-bottom: 1px dashed var(--ae-line); }
.ae-404-recommend li:last-child { border-bottom: 0; }

/* ---------------- 栏目 SEO 文案块 ---------------- */
.ae-cat-seo { margin-top: 26px; background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 24px 28px; }
.ae-cat-seo h2 { font-size: 18px; margin-bottom: 10px; }
.ae-cat-seo p { color: var(--ae-muted); font-size: 13.5px; margin-bottom: 8px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
    .ae-layout, .ae-layout.is-right { grid-template-columns: 1fr; }
    .ae-layout.is-right .ae-main { order: 1; }
    .ae-layout.is-right .ae-side { order: 2; }
    .ae-banner h1 { font-size: 28px; }
    .ae-article { padding: 26px 24px; }
    .ae-article h1 { font-size: 23px; }
}
@media (max-width: 767px) {
    .ae-banner { padding: 44px 0 38px; }
    .ae-banner h1 { font-size: 23px; }
    .ae-post { grid-template-columns: 116px 1fr; }
    .ae-post-media img { min-height: 96px; }
    .ae-post-body { padding: 14px 14px 14px 0; }
    .ae-post-body h3 { font-size: 15.5px; }
    .ae-post-body > p { display: none; }
    .ae-neighbor { grid-template-columns: 1fr; }
    .ae-related-grid { grid-template-columns: 1fr; }
    .ae-search-form { flex-direction: column; }
    .ae-404-code { font-size: 76px; }
}

/* ---- 单页栏目（公司简介/联系我们） ---- */
.ae-page-article { background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 34px 38px; box-shadow: var(--ae-shadow-sm); }
.ae-page-title { font-size: 24px; margin: 0 0 12px; color: var(--ae-ink); }
.ae-page-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--ae-muted); padding-bottom: 16px; border-bottom: 1px dashed var(--ae-line); margin-bottom: 20px; }
.ae-page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--ae-line); }
@media (max-width: 767px) { .ae-page-article { padding: 22px 18px; } .ae-page-title { font-size: 20px; } }
.pagination .disabled, .ae-page-num .disabled { opacity: .55; pointer-events: none; }
