/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0.0
*/

:root{
  --site-red:#df1017;
  --site-red-dark:#b80c12;
  --site-bg:#f5f6fa;
  --site-card:#ffffff;
  --site-text:#111111;
  --site-muted:#666666;
  --site-border:#e6e7eb;
}

body{
  background:var(--site-bg);
}

.football-page-wrap{
  max-width:1200px;
  margin:0 auto;
}

.football-breadcrumbs{
  font-size:14px;
  color:var(--site-muted);
  margin-bottom:12px;
}

.football-breadcrumbs a{
  color:var(--site-muted);
  text-decoration:none;
}

.football-card{
  background:var(--site-card);
  border:1px solid var(--site-border);
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
}

.football-red-head{
  background:linear-gradient(135deg,var(--site-red-dark),var(--site-red) 55%,#c90912);
  color:#fff;
  border-radius:14px;
}

.football-pill-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
}

.football-pill-btn,
.football-card,
button,
input[type="submit"]{
    transition: all .2s ease;
}

.football-pill-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

.football-card:hover{
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.football-match-row{
    transition: all .2s ease;
}
.football-match-row:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    border-color: #f0b2b6;
}

.football-detail-btn{
    transition: all .2s ease;
}
.football-detail-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(196,0,111,.22);
    filter: brightness(.95);
}

.football-date-submit-btn{
    min-width: 170px;
    color: #111 !important;
    font-weight: 700;
}

/* =========================
   整站统一增强版
   ========================= */

body{
  background:#f3f5f9;
  color:var(--site-text);
}

.site-main.football-page-wrap{
  max-width:1280px;
}

.site-branding .site-logo,
.site-branding .main-title,
.site-branding .site-title{
  font-weight:800;
  letter-spacing:-0.02em;
}

.football-card{
  background:#fff;
  border:1px solid #e7ebf0;
  border-radius:18px;
  box-shadow:0 4px 18px rgba(15,23,42,.035);
}

.football-red-head{
  background:linear-gradient(135deg,#c90511 0%, #e30613 58%, #d60410 100%);
  color:#fff;
  border-radius:18px;
  box-shadow:0 6px 18px rgba(212,5,16,.12);
}

.football-breadcrumbs{
  font-size:14px;
  color:#6b7280;
  margin-bottom:14px;
}

.football-breadcrumbs a{
  color:#6b7280;
  text-decoration:none;
}

.football-breadcrumbs a:hover{
  color:var(--site-red);
}

.football-pill-btn{
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  font-size:16px;
  font-weight:700;
  transition:all .2s ease;
}

.football-pill-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}

.football-date-submit-btn{
  min-width:170px;
  color:#111 !important;
  font-weight:700;
}

.football-date-submit-btn:hover{
  background:var(--site-red) !important;
  color:#fff !important;
  border-color:var(--site-red) !important;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(223,16,23,.18);
}

.football-match-row{
  transition:all .2s ease;
}

.football-match-row:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  border-color:#f0b2b6;
}

.football-detail-btn{
  transition:all .2s ease;
}

.football-detail-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(196,0,111,.22);
  filter:brightness(.96);
}

.football-news-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.football-news-card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}

.football-news-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.35;
}

.football-news-card p{
  color:#444;
}

.football-section-gap{
  margin-bottom:24px;
}

.football-seo-box{
  padding:22px 26px;
}

.football-seo-box h2{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.25;
}

.football-seo-box p{
  margin:0 0 10px;
  color:#444;
  font-size:16px;
  line-height:1.8;
}

.football-seo-box p:last-child{
  margin-bottom:0;
}

img{
  image-rendering:auto;
}

/* =========================
   首页移动端修复
   ========================= */

@media (max-width: 900px){
  .home-hero-grid,
  .home-dual-grid,
  .home-live-grid,
  .home-news-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px){
  .home-hero-grid .football-red-head{
    min-height: auto !important;
    padding: 22px 20px !important;
  }

  .home-hero-grid h1{
    font-size: 34px !important;
    line-height: 1.18 !important;
    word-break: break-word;
  }

  .home-hero-grid p{
    font-size: 16px !important;
    line-height: 1.75 !important;
  }

  .home-hero-grid .football-pill-btn{
    width: 100% !important;
    justify-content: center !important;
  }

  .home-dual-grid .football-card{
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .football-red-head div[style*="font-size:26px"]{
    font-size: 22px !important;
  }
}

/* =========================
   首页重构版
   ========================= */

.home-page{ padding:22px 15px 44px; }
.home-hero-grid{ display:grid; grid-template-columns:minmax(0,2fr) minmax(320px,1fr); gap:22px; margin-bottom:24px; }
.home-hero-main{ padding:32px 34px; min-height:330px; display:flex; flex-direction:column; justify-content:center; }
.home-hero-kicker,.home-seo-kicker{ font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--site-red); margin-bottom:10px; }
.home-hero-main .home-hero-kicker{ color:#fff; opacity:.92; margin-bottom:12px; }
.home-hero-title{ margin:0 0 16px; font-size:44px; line-height:1.12; color:#fff; font-weight:800; }
.home-hero-desc{ margin:0; font-size:19px; line-height:1.7; color:#fff; opacity:.96; }
.home-hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.football-pill-btn.is-dark{ background:#111 !important; color:#fff !important; }
.home-hero-side{ padding:24px; display:flex; flex-direction:column; justify-content:space-between; }
.home-panel-title{ margin:0 0 14px; font-size:24px; line-height:1.2; }
.home-league-list,.home-links-wrap{ display:flex; flex-direction:column; gap:12px; }
.home-side-link{ justify-content:flex-start !important; background:#f7f8fb !important; color:#111 !important; border:1px solid #eceff3 !important; min-height:48px; font-size:16px; }
.home-side-bottom{ margin-top:22px; padding-top:18px; border-top:1px solid #eceff3; }
.home-side-label{ font-size:14px; color:#666; margin-bottom:10px; }
.home-side-quick-links{ display:flex; flex-wrap:wrap; gap:12px; }
.home-side-quick-links a{ color:var(--site-red); font-weight:800; text-decoration:none; }
.home-section-box{ padding:0; overflow:hidden; }
.home-section-head{ padding:13px 18px; border-radius:0; }
.home-section-title{ font-size:26px; font-weight:800; }
.home-section-body{ padding:22px; }
.home-live-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.home-live-card{ padding:20px; }
.home-live-meta,.home-list-meta,.home-news-date{ font-size:13px; color:#666; margin-bottom:10px; }
.home-live-name{ font-size:20px; font-weight:800; line-height:1.45; min-height:58px; }
.home-live-status{ margin-top:14px; color:var(--site-red); font-weight:800; }
.home-dual-grid{ display:grid; grid-template-columns:1.3fr .9fr; gap:22px; margin-bottom:24px; }
.home-list-wrap{ display:flex; flex-direction:column; gap:14px; }
.home-list-item{ padding:18px; display:flex; justify-content:space-between; gap:18px; align-items:center; }
.home-list-title{ font-size:18px; font-weight:800; line-height:1.45; }
.home-inline-btn{ background:#f7f8fb !important; color:#111 !important; border:1px solid #eceff3 !important; min-width:120px; }
.home-result-card{ padding:18px; }
.home-results-btn{ margin-top:4px; align-self:flex-start; min-width:170px; }
.home-news-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
.home-news-thumb{ display:block; }
.home-news-thumb img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.home-news-body{ padding:18px; display:flex; flex-direction:column; flex:1; }
.home-news-title{ margin:0 0 10px; font-size:22px; line-height:1.35; min-height:60px; }
.home-news-title a{ text-decoration:none; color:#111; }
.home-news-excerpt{ font-size:15px; color:#444; line-height:1.7; }
.home-seo-title{ margin:0 0 12px; font-size:28px; line-height:1.25; }
.home-links-box{ padding:20px 24px; }

@media (max-width: 900px){
  .home-hero-grid,.home-dual-grid{ grid-template-columns:1fr; }
  .home-live-grid{ grid-template-columns:1fr; }
  .home-news-grid{ grid-template-columns:repeat(2, 1fr); }
}

@media (max-width: 768px){
  .home-page{ padding:16px 12px 30px; }
  .home-hero-grid{ grid-template-columns:1fr; gap:16px; }
  .home-hero-main{ min-height:auto; padding:22px 20px; }
  .home-hero-title{ font-size:34px; line-height:1.18; word-break:break-word; }
  .home-hero-desc{ font-size:16px; line-height:1.75; }
  .home-hero-actions{ flex-direction:column; }
  .home-hero-actions .football-pill-btn{ width:100%; justify-content:center; }
  .home-hero-side{ padding:20px; }
  .home-section-title{ font-size:22px; }
  .home-section-body{ padding:16px; }
  .home-live-grid{ grid-template-columns:1fr; }
  .home-live-card{ padding:18px; }
  .home-live-name{ font-size:18px; min-height:auto; }
  .home-dual-grid{ grid-template-columns:1fr; }
  .home-list-item{ flex-direction:column; align-items:flex-start; }
  .home-inline-btn,.home-results-btn{ width:100%; justify-content:center; }
  .home-news-grid{ grid-template-columns:1fr; }
  .home-news-title{ min-height:auto; font-size:20px; }
  .home-links-wrap{ gap:10px; }
}

/* ===== 修复手机端横向溢出 ===== */
html, body{ overflow-x:hidden; }

body.page-template-page-results,
body.page-template-page-results .site,
body.page-template-page-results .site-content,
body.page-template-page-results .inside-article,
body.page-template-page-results .entry-content{ overflow-x:hidden; }

body.page-template-page-results *{ box-sizing:border-box; }

.bdhq-results-page{ width:100%; max-width:1100px; margin:0 auto; padding:0 10px 24px; overflow-x:hidden; }
.bdhq-league-group,.bdhq-match-list,.bdhq-match-item,.bdhq-match-row{ width:100%; max-width:100%; }
.bdhq-match-row > *{ min-width:0; }
.bdhq-team{ min-width:0; }
.bdhq-team-name{ min-width:0; word-break:break-word; }
img{ max-width:100%; height:auto; }

/* =========================
   News Page 响应式
   ========================= */

body.page-template-page-news .bdhq-featured-card{ grid-template-columns:360px minmax(0,1fr); margin-bottom:14px; }
body.page-template-page-news .bdhq-featured-thumb{ height:220px; min-height:220px; }
body.page-template-page-news .bdhq-featured-thumb img{ width:100%; height:220px; object-fit:cover; display:block; }
body.page-template-page-news .bdhq-featured-content{ padding:14px 16px 12px; }
body.page-template-page-news .bdhq-featured-title{ margin:0 0 8px; font-size:23px; line-height:1.22; }
body.page-template-page-news .bdhq-featured-excerpt{ font-size:15px; line-height:1.65; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
body.page-template-page-news .bdhq-news-list{ gap:12px; }
body.page-template-page-news .bdhq-news-item{ grid-template-columns:280px minmax(0,1fr); }
body.page-template-page-news .bdhq-news-thumb{ height:170px; min-height:170px; }
body.page-template-page-news .bdhq-news-thumb img{ width:100%; height:170px; object-fit:cover; display:block; }
body.page-template-page-news .bdhq-news-content{ padding:14px 16px 12px; }
body.page-template-page-news .bdhq-news-title{ margin:0 0 8px; font-size:20px; line-height:1.28; }
body.page-template-page-news .bdhq-news-meta{ margin-bottom:8px; }
body.page-template-page-news .bdhq-news-excerpt{ font-size:15px; line-height:1.68; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

@media (max-width: 768px){
    body.page-template-page-news .bdhq-featured-card{ grid-template-columns:1fr; margin-bottom:12px; }
    body.page-template-page-news .bdhq-featured-thumb,
    body.page-template-page-news .bdhq-featured-thumb img{ height:210px; min-height:210px; }
    body.page-template-page-news .bdhq-featured-content{ padding:12px 12px 10px; }
    body.page-template-page-news .bdhq-featured-title{ font-size:20px; margin-bottom:8px; }
    body.page-template-page-news .bdhq-featured-excerpt{ font-size:14px; line-height:1.6; -webkit-line-clamp:2; }
    body.page-template-page-news .bdhq-news-list{ gap:10px; }
    body.page-template-page-news .bdhq-news-item{ grid-template-columns:92px minmax(0,1fr); border-radius:10px; }
    body.page-template-page-news .bdhq-news-thumb,
    body.page-template-page-news .bdhq-news-thumb img{ height:86px; min-height:86px; }
    body.page-template-page-news .bdhq-news-content{ padding:8px 10px 8px; }
    body.page-template-page-news .bdhq-news-title{ font-size:15px; line-height:1.38; margin-bottom:4px; }
    body.page-template-page-news .bdhq-news-meta{ font-size:11px; gap:6px; margin-bottom:4px; }
    body.page-template-page-news .bdhq-news-excerpt{ display:-webkit-box !important; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:12px; line-height:1.45; color:#555; margin-top:2px; }
}

/* =========================
   单篇文章页
   ========================= */

.single-post .single-bdhq-wrap{ max-width: 1240px; }
.single-post .single-bdhq-layout{ grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
.single-post .single-bdhq-article{ padding: 26px 28px; border-radius: 14px; box-shadow: 0 1px 6px rgba(0,0,0,.04); background: #fff; }
.single-post .single-bdhq-breadcrumb{ font-size: 14px; color: #6b7280; margin-bottom: 14px; }
.single-post .single-bdhq-breadcrumb a{ color: #111827; text-decoration: none; font-weight: 700; }
.single-post .single-bdhq-title{ font-size: 32px; line-height: 1.22; font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; max-width: 900px; color: #111827; }
.single-post .single-bdhq-meta{ font-size: 14px; color: #6b7280; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.single-post .single-bdhq-cover{ margin-bottom: 20px; }
.single-post .single-bdhq-cover img{ width: 100%; height: auto; display: block; border-radius: 16px; object-fit: cover; }
.single-post .single-bdhq-intro{ max-width: 900px; font-size: 18px; line-height: 1.95; font-weight: 600; color: #111827; margin-bottom: 20px; }
.single-post .single-bdhq-content{ max-width: 900px; font-size: 18px; line-height: 1.95; color: #111827; }
.single-post .single-bdhq-content p{ margin: 0 0 18px; }
.single-post .single-bdhq-content h2{ font-size: 28px; line-height: 1.35; font-weight: 800; margin-top: 32px; margin-bottom: 12px; max-width: 900px; color: #111827; }
.single-post .single-bdhq-content h3{ font-size: 22px; line-height: 1.4; font-weight: 700; margin-top: 24px; margin-bottom: 10px; max-width: 900px; color: #111827; }
.single-post .single-bdhq-content ul,.single-post .single-bdhq-content ol{ margin: 0 0 20px 24px; padding: 0; }
.single-post .single-bdhq-content li{ margin-bottom: 10px; }
.single-post .single-bdhq-content img{ width: 100%; height: auto; display: block; border-radius: 14px; margin: 20px 0 10px; object-fit: cover; }
.single-post .single-bdhq-content a{ color: #2563eb; text-decoration: underline; }
.single-post .single-bdhq-section-title{ margin-top: 28px; margin-bottom: 16px; background: linear-gradient(135deg,#d90012,#b8000f); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.single-post .single-bdhq-related-body h3{ font-size: 18px; line-height: 1.45; font-weight: 700; }
.single-post .single-bdhq-side-link{ font-size: 15px; line-height: 1.45; font-weight: 700; }
.single-post .single-bdhq-side-title{ font-size: 18px; font-weight: 800; }
.single-post .single-bdhq-info-box,.single-post .single-bdhq-prediction-box,.single-post .single-bdhq-tip-box{ max-width: 900px; padding: 16px 18px; border-radius: 14px; margin: 20px 0 24px; }
.single-post .single-bdhq-info-box{ background: #f3f5f9; border: 1px solid #e5e7eb; }
.single-post .single-bdhq-prediction-box{ background: linear-gradient(135deg,#fff6f6,#ffffff); border: 1px solid #fecaca; }
.single-post .single-bdhq-prediction-box h3{ font-size: 22px; margin-bottom: 10px; font-weight: 800; color: #111827; }
.single-post .single-bdhq-prediction-box p{ font-size: 17px; line-height: 1.8; margin-bottom: 8px; }
.single-post .single-bdhq-prediction-box strong{ color: #b91c1c; }
.single-post .single-bdhq-tip-box{ background: #fff8db; border: 1px solid #fcd34d; font-size: 17px; line-height: 1.85; }
.single-post .single-bdhq-tags{ margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.single-post .single-bdhq-tags a{ display: inline-block; background: #f3f4f6; color: #374151; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.single-post .single-bdhq-match-card{ padding: 18px; border-radius: 16px; margin-bottom: 22px; background: linear-gradient(135deg,#cf1020,#111111); color: #fff; }

@media (max-width: 768px){
    .single-post .single-bdhq-article{ padding: 18px 14px; }
    .single-post .single-bdhq-title{ font-size: 26px; line-height: 1.25; }
    .single-post .single-bdhq-content{ font-size: 17px; line-height: 1.9; }
    .single-post .single-bdhq-content h2{ font-size: 23px; }
    .single-post .single-bdhq-content h3{ font-size: 19px; }
}

/* =========================
   新闻列表文字
   ========================= */

.bdhq-featured-title{ font-size: 20px !important; line-height: 1.28 !important; font-weight: 800 !important; }
.bdhq-featured-excerpt{ font-size: 14px !important; line-height: 1.7 !important; color: #4b5563 !important; }
.bdhq-news-title{ font-size: 17px !important; line-height: 1.35 !important; font-weight: 800 !important; }
.bdhq-news-excerpt{ font-size: 14px !important; line-height: 1.65 !important; color: #4b5563 !important; }
.bdhq-hot-link{ font-size: 15px !important; line-height: 1.4 !important; font-weight: 700 !important; }
.bdhq-news-meta{ font-size: 13px !important; }
.bdhq-section-title h2{ font-size: 18px !important; }
.bdhq-featured-thumb,.bdhq-news-thumb{ overflow: hidden; background: #eef2f7; }
.bdhq-featured-thumb img,.bdhq-news-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px){
    .bdhq-featured-title{ font-size: 18px !important; }
    .bdhq-news-title{ font-size: 15px !important; }
    .bdhq-news-excerpt{ font-size: 12px !important; }
}

/* =========================
   体育门户菜单样式
   ========================= */

/* 顶部导航栏深色背景 */
.site-header {
    background: linear-gradient(135deg, #c90012 0%, #d90012 60%, #b8000f 100%) !important;
    border-bottom: 3px solid #f5c518 !important;
    box-shadow: 0 2px 16px rgba(180,0,0,.35) !important;
}

.inside-header {
    background: transparent !important;
}

/* Logo加越南国旗 */
.site-title a::before {
    content: "🇻🇳 ";
    font-size: 18px;
}

/* Logo白色 */
.site-title a,
.site-title a:visited,
.site-branding .site-title a {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.2) !important;
}

/* 菜单字体白色 */
.main-navigation a,
.main-navigation .main-nav ul li a,
.main-navigation .menu > li > a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.15) !important;
}

/* hover白色半透明背景 */
.main-navigation a:hover,
.main-navigation .main-nav ul li a:hover,
.main-navigation .menu > li > a:hover {
    color: #f5c518 !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 6px !important;
}

/* 当前页面金色高亮 */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #f5c518 !important;
    border-bottom: 2px solid #f5c518 !important;
}

/* 红点 */
.main-navigation ul.menu > li:first-child > a::before {
    content: "● ";
    color: #f5c518;
    font-size: 9px;
    vertical-align: middle;
}

.menu-toggle {
    color: #ffffff !important;
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul,
    .main-navigation .menu,
    .main-navigation {
        background: #b8000f !important;
    }
    .main-navigation .main-nav ul li a,
    .main-navigation .menu > li > a {
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    }
}

/* Logo 白色 */
.site-title a,
.site-title a:visited,
.site-branding .site-title a {
    color: #ffffff !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
}

/* 菜单项白色大写 */
.main-navigation a,
.main-navigation .main-nav ul li a,
.main-navigation .menu > li > a,
.inside-navigation a {
    color: #e2e8f0 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 10px 14px !important;
    transition: all .2s ease !important;
}

/* hover 变红 */
.main-navigation a:hover,
.main-navigation .main-nav ul li a:hover,
.main-navigation .menu > li > a:hover,
.inside-navigation a:hover {
    color: #ff4444 !important;
    background: rgba(255,255,255,0.07) !important;
    border-radius: 6px !important;
}

/* 当前页面高亮 */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #ff4444 !important;
    border-bottom: 2px solid #d90012 !important;
}

/* 第一个菜单项（Trực tiếp）加红点 */
.main-navigation ul.menu > li:first-child > a::before {
    content: "● ";
    color: #ff4444;
    font-size: 9px;
    vertical-align: middle;
}

/* 取消旧的下划线动画 */
.main-navigation .main-nav ul li a::after,
.main-navigation .menu > li > a::after,
.inside-navigation a::after {
    display: none !important;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    color: #ffffff !important;
    background: transparent !important;
    border-color: rgba(255,255,255,0.25) !important;
}

/* 手机端下拉菜单 */
@media (max-width: 768px) {
    .main-navigation .main-nav ul,
    .main-navigation .menu,
    .main-navigation {
        background: #807777 !important;
    }

    .main-navigation .main-nav ul li a,
    .main-navigation .menu > li > a {
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
        padding: 12px 16px !important;
    }
}
/* 菜单导航条背景改红色 */
.navigation-branding,
.site-navigation,
.main-navigation,
.nav-primary,
#site-navigation,
.inside-navigation {
    background: #807777 !important;
}

/* 菜单字体白色加粗 */
.main-navigation a,
.main-navigation .main-nav ul li a,
.main-navigation .menu > li > a {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 16px !important;
}

/* hover金色 */
.main-navigation a:hover,
.main-navigation .menu > li > a:hover {
    color: #f5c518 !important;
    background: rgba(0,0,0,0.15) !important;
    border-radius: 6px !important;
}

/* 当前页面金色 */
.main-navigation .current-menu-item > a {
    color: #f5c518 !important;
    border-bottom: 2px solid #f5c518 !important;
}

/* 手机汉堡按钮白色 */
.menu-toggle {
    color: #ffffff !important;
    background: rgba(0,0,0,0.2) !important;
    border-color: rgba(255,255,255,0.3) !important;
    border-radius: 6px !important;
}
/* ===== 修复手机端侧边栏竖排文字溢出 ===== */
@media (max-width: 768px) {
    .widget-area,
    .sidebar,
    #secondary,
    .widget,
    .wp-block-widget-area {
        display: none !important;
    }

    .site-content,
    .content-area,
    #primary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        overflow: hidden !important;
    }

    body {
        overflow-x: hidden !important;
    }
}
/* 隐藏评论输入表单 */
#respond,
.comment-respond {
    display: none !important;
}

/* 隐藏评论区中文标题 */
#comments .comments-title {
    display: none !important;
}

/* 评论区整体样式 */
#comments {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}

.comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.comment-body {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 15px;
    color: #111;
}

.comment-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 8px 0 0 !important;
}

.comment-metadata {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}

.comment-metadata a {
    color: #9ca3af !important;
    text-decoration: none !important;
}
/* =====================
   下拉菜单样式
   ===================== */

/* 父级有子菜单时显示箭头 */
.main-navigation .menu > li.menu-item-has-children > a::after {
    content: " ▾";
    font-size: 10px;
    opacity: 0.7;
}

/* 子菜单容器 */
.main-navigation .menu > li > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #1a1a1a;
    border-top: 3px solid #d90012;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    z-index: 9999;
    padding: 6px 0;
}

/* 父级相对定位 */
.main-navigation .menu > li {
    position: relative;
}

/* hover显示下拉 */
.main-navigation .menu > li:hover > ul.sub-menu {
    display: block;
}

/* 子菜单项 */
.main-navigation .menu > li > ul.sub-menu > li > a {
    display: block !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    transition: all .15s !important;
    background: transparent !important;
}

.main-navigation .menu > li > ul.sub-menu > li:last-child > a {
    border-bottom: none !important;
}

/* 子菜单hover */
.main-navigation .menu > li > ul.sub-menu > li > a:hover {
    background: rgba(217,0,18,.3) !important;
    color: #fff !important;
    padding-left: 22px !important;
}

/* 当前页面高亮 */
.main-navigation .menu > li > ul.sub-menu > li.current-menu-item > a {
    color: #f5c518 !important;
    background: rgba(217,0,18,.15) !important;
}

/* 手机端 */
@media (max-width: 768px) {
    .main-navigation .menu > li > ul.sub-menu {
        display: none !important;
        position: static !important;
        box-shadow: none !important;
        border-top: none !important;
        border-left: 3px solid #d90012 !important;
        border-radius: 0 !important;
        background: rgba(0,0,0,.2) !important;
        padding: 0 !important;
        margin-left: 16px !important;
        min-width: 0 !important;
    }
    .main-navigation .menu > li.menu-item-has-children.open > ul.sub-menu {
        display: block !important;
    }
    .main-navigation .menu > li > ul.sub-menu > li > a {
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(255,255,255,.08) !important;
    }
}
/* tag页分页修复 */
.bdhq-tag-pagination ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.bdhq-tag-pagination ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}