/* ============================================================
   小怪兽美术书法 全站公共主题（方案二·蓝绿清新）
   覆盖 pintuer/header/style 旧橙(#ff9600)与深灰(#383838)体系
   经 header.htm 引入，首页与所有 PC 内页统一生效
   ============================================================ */

/* ---- 基础：字体/墨色/选中色/链接 ---- */
body{font-family:'微软雅黑','Microsoft YaHei',sans-serif;color:#2C3E3E;}
::selection{background:#4F8A8B;color:#fff;}
::-moz-selection{background:#4F8A8B;color:#fff;}
a:focus,a:hover{color:#4F8A8B;transition:color .2s;}

/* ---- 主导航：白底+墨色文字+当前项蓝绿下划线（与首页一致） ---- */
.nav.nav-menu.nav-inline{font-size:0 !important;}
.nav.nav-menu.nav-inline > li > a{color:#2C3E3E !important;position:relative;padding-left:12px !important;padding-right:12px !important;font-size:18px !important;}
.nav.nav-menu.nav-inline > li > a:hover{color:#4F8A8B !important;}
.nav.nav-menu.nav-inline > li.active > a{color:#4F8A8B !important;}
.nav.nav-menu.nav-inline > li.active > a::after{content:'';position:absolute;left:12px;right:12px;bottom:0;height:2px;background:#4F8A8B;border-radius:2px;}
.nav-menu .drop-menu a{color:#2C3E3E !important;}
.nav-menu .drop-menu a:hover{background:#EAF1F0 !important;color:#4F8A8B !important;}
#pc-header .logo img{max-width:100% !important;}

/* ---- 旧主色工具类整体换色 ---- */
/* bg-yellow 旧值为橙#ff9600，统一改为蓝绿主色 */
.bg-yellow{background-color:#4F8A8B !important;}
.text-yellow{color:#4F8A8B !important;}
.border-yellow{border-color:#4F8A8B !important;}
/* bg-main 旧值为深灰#383838，改浅（footer 背景）；按钮场景另在下方统一蓝绿 */
.bg-main{background-color:#F5F8F6 !important;}

/* ---- 按钮：蓝绿实心+圆角+柔和阴影+悬停上浮 ---- */
.button{border-radius:6px;}
.button.bg-yellow,.button.bg-main{background-color:#4F8A8B !important;color:#fff !important;border:none;box-shadow:0 6px 16px rgba(79,138,139,.25);transition:all .3s;}
.button.bg-yellow:hover,.button.bg-main:hover{background-color:#3F7374 !important;transform:translateY(-2px);box-shadow:0 10px 22px rgba(79,138,139,.35);}

/* ---- 标签 tags ---- */
.tags{color:#4F8A8B !important;border:1px solid #4F8A8B !important;background:transparent !important;}
a.tags.bg-yellow{background:#4F8A8B !important;color:#fff !important;}

/* ---- 分页 ---- */
.pagination li.active a,.pagination li a:hover{background:#4F8A8B !important;color:#fff !important;border:1px solid #4F8A8B !important;}

/* ---- 标题与装饰条 ---- */
/* 通用页面主标题：每页唯一 H1，居中+蓝绿装饰条 */
.list-page-head{padding:6px 0 4px;text-align:center;}
.list-page-head h1{color:#2C3E3E;font-size:30px;margin:0 0 12px;}
.list-page-bar{display:block;width:54px;height:3px;background:#4F8A8B;margin:0 auto 18px;border-radius:2px;}
.title-l h2{color:#2C3E3E;}
.title-l h2:before{background:#4F8A8B !important;}
.channel-banner .banner-info h3:before{background:#4F8A8B !important;}
/* 无背景图栏目的兜底：蓝绿主色，保证白色标题可见（有图时图片覆盖其上） */
.channel-banner{background-color:#4F8A8B;}

/* ---- 侧栏树/导航激活 ---- */
.nav-tree li a.active,.nav-tree li.focusa a,.nav-tree li a.cur{background:#4F8A8B !important;color:#fff !important;}
.nav-tree li ul li.children a.active,.nav-tree li ul li.children a:hover{color:#4F8A8B !important;}

/* ---- 内页横向栏目 nav-x（原橙色方块） ---- */
.nav-x li a:hover{color:#4F8A8B !important;}
.nav-x li a.active{background:#4F8A8B !important;color:#fff !important;}

/* ---- 筛选/过滤 ---- */
.filter-nav ul li a:hover{color:#4F8A8B;}
.filter-nav ul li a.active{color:#fff;background:#4F8A8B;}

/* ---- 选项卡 ---- */
.tab-normal .tab .tab-nav .active a{background:#4F8A8B !important;color:#fff;}
.tab-normal .tab .tab-nav li a:hover{background:#4F8A8B !important;color:#fff;}

/* ---- 列表/卡片 hover 与正文 ---- */
.list-news:hover .button,.normal-list li:hover{background:#4F8A8B;color:#fff;}
.list-news:hover h3 a,.home-news-c:hover .news-title h2 a,.article .post a:hover,.nav-bread a:hover{color:#4F8A8B;}
.list-post-text li.dot:hover a:before{background:#4F8A8B;}
.article .post h1{color:#2C3E3E;}

/* ---- 通用浅背景 ---- */
.bg-gray{background:#F5F8F6 !important;}

/* ---- 页脚：浅色背景+深色文字 ---- */
footer{background:#F5F8F6 !important;}
footer h3,footer li,footer a,footer,footer .copyright{color:#2C3E3E !important;}

/* ---- 留言缩略图 hover 边框 ---- */
.gb-thumb:hover{border-color:#4F8A8B !important;}

/* ---- 文章列表卡片紧凑化（缩小框内留白与条目间距，2026-11-16） ---- */
.list-news{margin-bottom:14px !important;padding:12px 16px !important;box-sizing:border-box;}
.list-news .x4{width:13%;}
.list-news .media-img img{width:118px !important;height:118px !important;object-fit:cover;}
.list-news h3{font-size:19px !important;line-height:1.45 !important;margin:0 0 6px !important;}
.list-news h3 a{font-size:19px !important;font-weight:bold !important;}
.list-news .news p.text-gray{font-size:14px !important;line-height:1.55 !important;margin:0 0 8px !important;}
.list-news .news > div{margin-top:0 !important;}
.list-news .tag{margin-top:0 !important;padding:3px 10px !important;font-size:13px !important;}
.list-news .time .text-large{font-size:34px !important;line-height:1.1 !important;}
.list-news .x1{width:10%;}
.list-news .x6{width:64%;}

/* ---- 团队照片：固定适中约束框，等比缩放(contain)完整显示、自动居中，不裁剪不变形（2026-11-16） ---- */
/* 无论上传图多大、什么比例，都按正比例等比缩放进约束框，留白处白底与卡片融合 */
.team-page .teacher-card-inner .teacher-photo{width:260px !important;height:320px !important;max-width:100% !important;aspect-ratio:auto !important;margin:0 auto !important;display:block !important;padding:0 !important;background:#fff !important;}
.team-page .teacher-card-inner .teacher-photo a{display:block !important;width:100% !important;height:100% !important;background:#fff !important;}
.team-page .teacher-card-inner .teacher-photo img{position:static !important;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important;background:#fff !important;}
.team-page .founder-inner .founder-photo{flex:0 0 auto !important;width:300px !important;height:375px !important;max-width:90% !important;aspect-ratio:auto !important;margin:0 auto !important;display:block !important;padding:0 !important;background:#fff !important;}
.team-page .founder-inner .founder-photo a{display:block !important;width:100% !important;height:100% !important;background:#fff !important;}
.team-page .founder-inner .founder-photo img{position:static !important;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important;background:#fff !important;}

/* ---- 响应式：窄屏导航换行/临界宽度（与首页一致） ---- */
@media (max-width:1200px){
  .nav.nav-menu.nav-inline > li > a{line-height:52px !important;}
  .nav.nav-menu.nav-inline > li:first-child{margin-left:16px;}
}
@media (max-width:1280px){
  .nav.nav-menu.nav-inline > li > a{padding-left:5px !important;padding-right:5px !important;font-size:17px !important;}
  .nav.nav-menu.nav-inline > li.active > a::after{left:5px;right:5px;}
}

/* ---- 隐藏前台会员登录/注册入口（后台会员功能保留，需要恢复时删除本段即可） ---- */
.log-in{display:none !important;}
