/* 大湾区房产网 暖色主题层 —— 由 2026-11-01 迁移自 Custom CSS (post 3575) */

/* 优烨楼盘详情统一样式 */
.yy-section{margin:22px 0}.yy-info{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:16px;line-height:1.8}.yy-badges{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}.yy-badges span{background:#FFF3E6;color:#A8121E;border:1px solid #F0DFCF;border-radius:999px;padding:6px 10px;font-size:13px}.yy-table{width:100%;border-collapse:collapse;margin:12px 0}.yy-table th,.yy-table td{border:1px solid #e5e7eb;padding:9px;text-align:left}.yy-table th{background:#f1f5f9}.yy-list li{margin:8px 0}.yy-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.yy-gallery-item{position:relative;display:block;overflow:hidden;border-radius:10px;background:#2E1A14}.yy-gallery-item img{width:100%;height:180px!important;object-fit:cover;display:block}.yy-gallery-item span{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.82));font-size:13px}.yy-gallery-pack{margin:12px 0}.yy-gallery-pack summary{list-style:none;cursor:pointer;position:relative;display:block;max-width:520px;border-radius:14px;overflow:hidden;background:#2E1A14}.yy-gallery-pack summary::-webkit-details-marker{display:none}.yy-gallery-pack summary img{width:100%;height:260px!important;object-fit:cover;display:block}.yy-gallery-pack summary span{position:absolute;left:0;right:0;bottom:0;padding:14px 16px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.82));font-weight:700}.yy-gallery-pack[open] summary{margin-bottom:14px}.yy-note{font-size:13px;color:#7A6255;background:#f8fafc;padding:12px;border-left:4px solid #E3C48E}.yy-cta{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:16px;margin-top:18px}
/* 优烨最新资讯统一样式 */
.yy-news-hero{background:linear-gradient(135deg,#8E0F19,#A8121E 55%,#C8102E);color:#fff;border-radius:18px;padding:34px 28px;margin:10px 0 26px;box-shadow:0 12px 30px rgba(168,18,30,.22),inset 0 -3px 0 rgba(212,162,76,.8)}.yy-news-hero h1{margin:0 0 10px;color:#FFF6EC;font-size:30px}.yy-news-hero p{margin:0;color:#FFE9D6;font-size:16px;line-height:1.7}.yy-news-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin:22px 0 30px}.yy-news-card{display:block;background:#fff;border:1px solid #F0DFCF;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 6px 18px rgba(168,18,30,.06);transition:.22s}.yy-news-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(168,18,30,.14);border-color:#E3C48E}.yy-news-img{height:185px;background-size:cover;background-position:center;background-color:#FBE3D6}.yy-news-placeholder{display:flex;align-items:center;justify-content:center;color:#FFF6EC;font-weight:700;background:linear-gradient(135deg,#A8121E,#C8102E 60%,#D4A24C);letter-spacing:.5px}.yy-news-body{padding:18px}.yy-news-card h3{margin:0 0 10px;color:#A8121E;font-size:18px;line-height:1.45}.yy-news-date{color:#7A6255;font-size:13px;margin-bottom:10px}.yy-news-card p{color:#5A4A42;line-height:1.7;margin:0 0 12px;font-size:14px}.yy-news-more{color:#C8102E;font-weight:700;font-size:14px}.yy-news-bottom{background:#FFF6EC;border:1px solid #F0DFCF;border-radius:14px;padding:20px;color:#5A4A42;margin-top:18px}


/* ============ 暖色调（喜庆）主题层 ============ */
/* 覆盖 Astra 全局调色板：冷蓝 → 中国红 / 暖褐 / 奶油底 */
:root{
  --ast-global-color-0:#C8102E !important;  /* 主色 中国红 */
  --ast-global-color-1:#A8121E !important;  /* 次主色 枣红 */
  --ast-global-color-2:#3B2F2A !important;  /* 标题 暖深褐 */
  --ast-global-color-3:#5A4A42 !important;  /* 正文 */
  --ast-global-color-4:#FFFFFF !important;
  --ast-global-color-5:#FFF6EC !important;  /* 浅色区块底 奶油 */
  --ast-global-color-6:#8C6A4F !important;
  --ast-global-color-7:#EADCCC !important;  /* 边框 暖米 */
  --ast-global-color-8:#2E1A14 !important;  /* 深底 枣褐 */
}
body,.ast-separate-container{background-color:#FFFCF7 !important}
body{color:#5A4A42}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-title,.site-title{color:#3B2F2A}
a,a:visited{color:#C8102E}
a:hover,a:focus{color:#A8121E}
/* 顶部导航：喜庆但不刺眼 */
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item.current-menu-item > a{color:#C8102E}
.ast-primary-header-bar,.ast-below-header-bar{background-color:#FFFCF7}
/* 按钮统一暖红 */
button,.ast-button,.wp-block-button__link,input[type=submit],
.yy-lead-btn,.yy-cta a{
  background-image:none !important;
  background-color:#C8102E !important;
  border-color:#C8102E !important;
  color:#fff !important;
}
button:hover,.ast-button:hover,.wp-block-button__link:hover,input[type=submit]:hover{
  background-color:#A8121E !important;border-color:#A8121E !important
}
/* 楼盘卡片、标签、表格：去掉冷蓝 */
.yy-badges span{background:#FFF3E6 !important;color:#A8121E !important;border-color:#EBC9B4 !important}
.yy-info,.yy-intro-card{background:#FFF8F0 !important;border-color:#EADCCC !important}
.yy-table th{background:#FDF1E3 !important;color:#3B2F2A !important}
.yy-table th,.yy-table td{border-color:#EADCCC !important}
.yy-note{color:#8C6A4F !important}
.yl-card,.yy-recent-post{border-color:#EADCCC !important;background:#fff !important}
.yl-card h3,.yy-recent-post h3{color:#A8121E !important}
/* 页脚 */
.yy-compliance-footer{background:#2E1A14 !important;color:#E8DCCF !important;border-top-color:rgba(200,16,46,.25) !important}
.yy-compliance-footer strong{color:#FFE9D6 !important}
.yy-compliance-footer span{color:#B9A594 !important}
/* 侧栏 / 小工具标题 */
.widget-title,.widget .wp-block-heading{color:#A8121E}
/* 搜索框与 AI 顾问也走暖色 */
.yyS-box{border-color:#EBC9B4 !important;box-shadow:0 10px 30px rgba(200,16,46,.12) !important}
.yyS-box:focus-within{border-color:#C8102E !important;box-shadow:0 12px 34px rgba(200,16,46,.2) !important}
.yyS-btn{background:linear-gradient(135deg,#C8102E,#A8121E) !important}
.yyS-item:hover{background:#FFF3E6 !important}
.yyS-name{color:#A8121E !important}
#yyChatFab{background:linear-gradient(135deg,#C8102E,#A8121E) !important;box-shadow:0 10px 28px rgba(200,16,46,.34) !important}
.yyChatHead{background:linear-gradient(135deg,#C8102E,#A8121E) !important}
.yyChatBody{background:#FFFCF7 !important}
.yyMsg.me{background:#C8102E !important}
.yyMsg.bot{border-color:#EADCCC !important}
.yyCard{border-color:#FBE3D6 !important;border-left-color:#C8102E !important}
.yyCard b{color:#A8121E !important}
.yyChatFoot textarea{border-color:#EADCCC !important}
.yyChatFoot button{background:#C8102E !important}
.yyQuick button{border-color:#EBC9B4 !important;color:#A8121E !important}
/* 表单 */
input[type=text],input[type=tel],input[type=search],input[type=email],select,textarea{border-color:#EADCCC !important}
input:focus,select:focus,textarea:focus{border-color:#C8102E !important;outline-color:#C8102E}
/* 阅读进度 / 面包屑等次要元素 */
.ast-breadcrumbs,.ast-breadcrumbs a{color:#8C6A4F}
/* 分页 */
.page-numbers.current,.page-numbers:hover{background-color:#C8102E !important;border-color:#C8102E !important;color:#fff !important}
/* 列表页楼盘卡的价格高亮 */
.yl-price,.yl-card .price{color:#C8102E !important}


/* ============ 首页大图暖化：冷蓝天空 → 暖调 ============ */
/* 这张横幅原片是冷蓝天空+水面，面积太大压住红色，加暖滤镜和暖渐变 */
.hero-banner{position:relative;overflow:hidden;border-radius:16px;box-shadow:0 14px 38px rgba(200,16,46,.14)}
.hero-banner img{
  filter: sepia(.30) saturate(1.18) hue-rotate(-8deg) brightness(1.04) contrast(1.02);
  display:block;
}
.hero-banner::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(155deg,rgba(200,16,46,.14) 0%,rgba(255,146,58,.20) 55%,rgba(168,18,30,.18) 100%);
  mix-blend-mode:multiply;
  pointer-events:none;
  border-radius:inherit;
}
/* 搜索框文字也去掉冷灰 */
.yyS-in{color:#3B2F2A !important}
.yyS-in::placeholder{color:#A98C77 !important;opacity:1}
.yyS-tip{color:#8C6A4F !important}
.yyS-tip a{color:#A8121E !important}
/* 站内其它大图轻微暖化，避免和红色打架（列表卡片图不处理，保持真实） */
.entry-content figure.wp-block-image.size-full:not(.hero-banner) img{
  filter: sepia(.10) saturate(1.05);
}


/* ============ 加一层喜庆：金调点缀 + 提亮 ============ */
:root{
  --yy-gold:#D4A24C;
  --yy-gold-light:#F2D08A;
  --yy-red-deep:#A8121E;
  --yy-red-bright:#D81B2E;
}
/* 横幅再暖一点、再亮一点，压住照片里的冷灰 */
.hero-banner img{
  filter: sepia(.22) saturate(1.32) hue-rotate(-10deg) brightness(1.06) contrast(1.04) !important;
}
.hero-banner::after{
  background:linear-gradient(150deg,rgba(216,27,46,.20) 0%,rgba(255,170,64,.28) 52%,rgba(168,18,30,.24) 100%) !important;
}
/* 章节标题：金色竖条，喜庆但不吵 */
.entry-content h2,.entry-content h3{position:relative;padding-left:14px}
.entry-content h2::before,.entry-content h3::before{
  content:'';position:absolute;left:0;top:.28em;bottom:.28em;width:4px;border-radius:2px;
  background:linear-gradient(180deg,var(--yy-gold),var(--yy-red-deep));
}
/* 首页搜索区：深色块上加一道金线 */
.yy-hero-shell{border-bottom:2px solid rgba(212,162,76,.55)}
/* 标签、价格、徽章用金色描边 */
.yy-badges span{border-color:#E3C48E !important;background:#FFF6E2 !important;color:#A8121E !important}
.yy-card b,.yyS-name{color:#A8121E !important}
.yl-card:hover{box-shadow:0 10px 26px rgba(200,16,46,.14);border-color:#E3C48E !important}
.yl-card .price,.yl-price{color:#C8102E !important;font-weight:700}
/* 按钮：加金色描边，红得更亮 */
.ast-button,.wp-block-button__link,.yyS-btn,#yyChatFab,.yyChatFoot button{
  box-shadow:inset 0 0 0 1px rgba(242,208,138,.55) !important;
}
.ast-button:hover,.wp-block-button__link:hover,.yyS-btn:hover{
  background-color:var(--yy-red-bright) !important;border-color:var(--yy-gold) !important;
}
/* 页脚：金色细线收口 */
.yy-compliance-footer{border-top:2px solid rgba(212,162,76,.45) !important}
/* 链接悬停加金色下划线 */
.entry-content a:hover{text-decoration-color:var(--yy-gold)}


/* ============ 修复：楼盘页横幅被 flex 拉满整页 ============ */
body.single-loupan .ast-container{display:block !important}
body.single-loupan .lp-hero{align-self:flex-start}


/* ============ 列表页/文章页加喜庆层次 ============ */
/* 页面底：奶油米色，别再是冷白 */
body,body.page,body.single,body.archive,body.single-loupan{background-color:#FFF8F0 !important}
.ast-separate-container,.site-content,.ast-container{background-color:transparent !important}
.ast-separate-container .ast-article-post,.ast-separate-container .ast-article-single{background-color:#FFFCF7 !important}
/* 列表卡片：白卡 + 暖边 + 金色顶线 */
.yl-card{border:1px solid #F0DFCF !important;border-radius:12px !important;background:#fff !important;
  box-shadow:0 6px 18px rgba(168,18,30,.07) !important;position:relative;overflow:hidden}
.yl-card::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,#C8102E,#D4A24C);z-index:2}
.yl-card:hover{box-shadow:0 12px 26px rgba(200,16,46,.16) !important;border-color:#E3C48E !important}
.yl-card h4,.yl-card h3{color:#A8121E !important}
/* 片区标题：金色竖条 + 红字 */
.yl-district h3{position:relative;padding-left:14px;color:#A8121E !important}
.yl-district h3::before{content:'';position:absolute;left:0;top:.25em;bottom:.25em;width:4px;border-radius:2px;
  background:linear-gradient(180deg,#D4A24C,#A8121E)}
/* 列表页顶部搜索区：暖底 */
.yl-search-box,.yl-toolbar{background:#FFF3E6 !important;border-color:#F0DFCF !important}
/* 文章页：标题下的金色细线，正文区块暖底 */
.single-post .entry-title,.page .entry-title{color:#A8121E !important}
.entry-content h2,.entry-content h3{color:#A8121E !important}
.single-post .entry-content{font-size:17px;line-height:2}
.single-post .entry-content ul,.single-post .entry-content ol{background:#FFFAF3;border-left:3px solid #E3C48E;padding:12px 18px 12px 32px;border-radius:8px}
.single-post .entry-content table{width:100%;border-collapse:collapse;border:1px solid #F0DFCF;border-radius:8px;overflow:hidden;font-size:14.5px;margin:16px 0;line-height:1.7}.single-post .entry-content table th{background:#FFF3E6 !important;color:#A8121E !important;font-weight:700;padding:9px 10px;border-bottom:1px solid #EADCCC}.single-post .entry-content table td{padding:9px 10px;border-bottom:1px solid #F5E8DC;color:#3B2F2A;vertical-align:top}.single-post .entry-content table td:first-child{font-weight:600;color:#2E1A14}.single-post .entry-content table tbody tr:nth-child(even){background:#FFFBF6}.single-post .entry-content table tbody tr:last-child td{border-bottom:0}
/* 预约页表单卡片 */
.youye-lead-form,.yy-lead-box{background:linear-gradient(180deg,#FFFAF3,#FFF3E6) !important;border-color:#F0DFCF !important}
/* 页头也吃掉一点暖色 */
.ast-primary-header-bar{background-color:#FFFCF7 !important;border-bottom:1px solid #F5E4D3 !important}


/* ============ 每页顶部加红金标题带（喜庆色块） ============ */
/* 页面/文章/归档的标题改成一个红金渐变条，让每页进门就有色 */
body.page .entry-header,
body.single-post .entry-header,
body.archive .page-header,
body.blog .page-header{
  background:linear-gradient(135deg,#A8121E 0%,#C8102E 55%,#D4A24C 100%) !important;
  border-radius:14px;
  padding:22px 26px;
  margin:6px 0 24px;
  box-shadow:0 10px 26px rgba(168,18,30,.18);
  position:relative;
  overflow:hidden;
}
body.page .entry-header::after,
body.single-post .entry-header::after{
  content:'';position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.16),transparent 70%);
}
body.page .entry-title,
body.single-post .entry-title,
body.archive .page-title,
body.blog .page-title{
  color:#fff !important;
  font-size:30px !important;
  margin:0 !important;
  letter-spacing:.5px;
  text-shadow:0 1px 2px rgba(0,0,0,.12);
}
body.single-post .entry-meta, body.page .entry-meta, body.single-post .posted-on{color:#FFE9D6 !important}
body.single-post .entry-meta a, body.page .entry-meta a{color:#FFE9D6 !important}
body.single-post .entry-header .cat-links a{color:#FFE9D6 !important}
/* 楼盘详情页顶部横幅已经自带红金，此处不重复 */
body.single-loupan .entry-header{display:none}


/* ============ 文章页：暖底阅读区 + 红金装饰 ============ */
.single-post .ast-article-single{background:#FFFAF3 !important;border:1px solid #F5E4D3;border-radius:14px}
.single-post .entry-content{color:#4A3B32}
.single-post .entry-content h2,.single-post .entry-content h3{
  border-bottom:2px solid #F0DFCF;padding-bottom:8px;margin-top:1.6em;
}
.single-post .entry-content h2::after,.single-post .entry-content h3::after{
  content:'';display:block;width:52px;height:3px;margin-top:-2px;
  background:linear-gradient(90deg,#C8102E,#D4A24C);border-radius:2px;
}
/* 文章末尾的行动块：红金实色块，补足喜庆感 */
.single-post .entry-content .yy-cta{
  background:linear-gradient(135deg,#A8121E,#C8102E 60%,#D4A24C) !important;
  color:#fff !important;border:0 !important;border-radius:14px;padding:22px;
  box-shadow:0 10px 26px rgba(168,18,30,.2);text-align:center;font-size:17px;line-height:1.9;
}
.single-post .entry-content .yy-cta a,.single-post .entry-content .yy-cta strong{color:#FFE9D6 !important}
/* 表格与提示条 */
.single-post .entry-content .yy-note{background:#FFF3E6;border-left:3px solid #D4A24C;padding:12px 14px;border-radius:8px}


/* ============ 手机端首屏微调 ============ */
@media (max-width:480px){
  /* 首屏副标题别挤成两行 */
  .yy-hero-sub{letter-spacing:.4px !important;font-size:13.5px !important;line-height:1.5}
  .yy-hero{padding:24px 14px 22px !important}
  /* 搜索框圆角与边距 */
  .yyS-box{border-width:2px}
  .yyS-btn{padding:11px 18px;font-size:15.5px}
  /* 列表卡片双列更紧凑 */
  .yl-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr)) !important;gap:10px !important}
  .yl-card img{height:110px !important}
  /* 详情页横幅高度与标题字号 */
  .lp-hero h1{font-size:24px !important;line-height:1.3}
  .lp-hero{padding:24px 14px !important}
  /* 页面标题带在手机上收窄 */
  body.page .entry-header,body.single-post .entry-header{padding:16px 18px;border-radius:12px}
  body.page .entry-title,body.single-post .entry-title{font-size:22px !important}
}


/* ============ 防止搜索框在窄屏溢出 ============ */
.yy-hero,.yyS-wrap{box-sizing:border-box;max-width:100% !important;width:100%}
.yyS-wrap{width:auto;margin-left:auto;margin-right:auto}
.yyS-box{width:100%;box-sizing:border-box;max-width:100%}
.yyS-in{flex:1 1 0 !important;width:0 !important;min-width:0;text-overflow:ellipsis}
.yyS-btn{flex:0 0 auto}
@media(max-width:520px){
  .yyS-wrap{max-width:100% !important}
  .yyS-box{padding:4px}
  .yyS-in{padding:10px 14px}
  .yyS-btn{padding:10px 16px;font-size:15px;border-radius:999px}
}

@media(max-width:520px){
  .yy-hero{padding-left:14px !important;padding-right:14px !important}
  .yyS-in{width:auto !important;flex:1 1 0 !important}
}

/* 首页：去掉多余的"首页"红带，避免与首屏深红块重复 */
body.home .entry-header{display:none !important}

/* 手机端汉堡菜单按钮：别再是"红底红图标"的无字红块 */
.menu-toggle.main-header-menu-toggle{background:#FFF6EC !important;border:1px solid #EFDCC8 !important;border-radius:10px !important;padding:0}
.menu-toggle.main-header-menu-toggle svg,.menu-toggle.main-header-menu-toggle svg path{fill:#C8102E !important}
.menu-toggle.main-header-menu-toggle:hover{background:#FFF0E0 !important}

/* ============ 首屏：文字与搜索框套进大桥图里 ============ */
.yy-hero{
  background-size:cover !important;background-position:50% 46% !important;background-repeat:no-repeat !important;
  min-height:0 !important;
  display:flex;flex-direction:column;justify-content:center;
}
.yy-hero-sub{color:#FFE9D6 !important;text-shadow:0 1px 3px rgba(46,26,20,.55)}
.yy-hero-title,.yy-hero p:nth-of-type(2){text-shadow:0 2px 8px rgba(46,26,20,.5)}
.yy-hero .yyS-box{box-shadow:0 14px 34px rgba(46,26,20,.30) !important}
@media(min-width:768px){.yy-hero{background-position:50% 52% !important;padding:52px 24px 48px !important}}
@media(max-width:520px){.yy-hero{background-position:50% 40% !important;padding:30px 14px 28px !important}}
/* 首屏热门词在深色底上要能读 */
.yy-hero .yyS-tip{color:#FFE9D6 !important;text-shadow:0 1px 3px rgba(46,26,20,.6)}
.yy-hero .yyS-tip a{color:#FFD79A !important}
/* 首屏搜索框在最上层 */
.yy-hero .yyS-wrap{position:relative;z-index:3}
/* 首屏背景改在 CSS 里给（inline 的 background-image 会被 kses 吃掉） */
/* 照片层 + 暖色蒙层（分成伪元素，照片细节才保得住） */
.yy-hero{
  position:relative;overflow:hidden;background-color:#2E1A14 !important;
  background-image:none !important;
}
.yy-hero::before{
  content:'';position:absolute;inset:0;z-index:0;
  background:url("/wp-content/uploads/2026/11/hero-warm-202611.jpg") center 52%/cover no-repeat;
  filter:sepia(.30) saturate(1.25) contrast(1.06) brightness(.95);
}
.yy-hero::after{
  content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(46,26,20,.34) 0%,rgba(168,18,30,.16) 45%,rgba(46,26,20,.58) 100%);
}
.yy-hero > *{position:relative;z-index:2}
@media(max-width:520px){.yy-hero::before{background-position:center 44%}}
/* ================= 方案 A：导航条红底白字 ================= */
/* 顶部导航：中国红渐变 + 金色细线 */
.ast-primary-header-bar{
  background:linear-gradient(135deg,#8E0F19 0%,#A8121E 42%,#C8102E 100%) !important;
  border-bottom:3px solid #D4A24C !important;
  box-shadow:0 6px 20px rgba(46,26,20,.18) !important;
}
.ast-primary-header-bar .ast-builder-grid-row,
.ast-primary-header-bar .site-header-primary-section-left,
.ast-primary-header-bar .site-header-primary-section-right{background:transparent !important}
/* 站名白字 + 金线 */
.site-title,.site-title a,.ast-site-title-wrap a{color:#FFF6EC !important;letter-spacing:.5px}
.site-title a:hover{color:#FFD79A !important}
.site-description{color:#F3C9A8 !important}
/* 菜单项：白字，当前页金色底划线 */
.main-header-menu > .menu-item > a,
.main-header-menu > .menu-item > .menu-link{color:#FFF6EC !important}
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item > a:focus,
.main-header-menu > .menu-item.current-menu-item > a{
  color:#FFD79A !important;
  background:rgba(255,255,255,.10) !important;
  box-shadow:inset 0 -3px 0 #D4A24C;
}
/* 下拉菜单回到浅底深字，红底上再套红底会糊 */
.main-header-menu .sub-menu{background:#FFFCF7 !important;border-top:3px solid #D4A24C !important;box-shadow:0 14px 30px rgba(46,26,20,.18) !important}
.main-header-menu .sub-menu a{color:#5A4A42 !important}
.main-header-menu .sub-menu a:hover{color:#C8102E !important;background:#FFF3E6 !important}
/* 手机端：红导航 + 白汉堡图标 */
.menu-toggle.main-header-menu-toggle{
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,214,150,.55) !important;
  border-radius:10px !important;padding:0
}
.menu-toggle.main-header-menu-toggle svg,
.menu-toggle.main-header-menu-toggle svg path{fill:#FFF6EC !important}
.menu-toggle.main-header-menu-toggle:hover{background:rgba(255,255,255,.24) !important}

/* ================= 方案 B：标题金色描边 / 底纹 ================= */
/* 正文标题：红字 + 金色描边 + 红金渐变下划线 */
.entry-content h2,.entry-content h3{
  color:#A8121E !important;
  border-bottom:0 !important;
  padding-bottom:10px !important;
  position:relative;
  text-shadow:0 1px 0 rgba(255,246,236,.6), 0 0 1px rgba(212,162,76,.45);
  -webkit-text-stroke:.3px rgba(212,162,76,.55);
  paint-order:stroke fill;
}
.entry-content h2::after,.entry-content h3::after{
  content:'';position:absolute;left:0;bottom:0;width:100%;height:3px;margin:0;
  border-radius:2px;
  background:linear-gradient(90deg,#C8102E 0%,#D4A24C 55%,rgba(212,162,76,0) 100%);
}
/* 正文标题前的金色小方块（替代原来的竖条） */
.entry-content h2::before,.entry-content h3::before{
  content:'';display:inline-block;width:10px;height:10px;margin-right:9px;vertical-align:middle;
  background:linear-gradient(135deg,#F0C87A,#C8102E);transform:rotate(45deg);border-radius:2px;
}
/* 页面标题带：白字加金色描边 + 金线收口 */
body.page .entry-header,
body.single-post .entry-header,
body.archive .page-header,
body.blog .page-header{
  box-shadow:0 10px 26px rgba(168,18,30,.18), inset 0 -3px 0 rgba(212,162,76,.85) !important;
}
body.page .entry-title,body.single-post .entry-title,
body.archive .page-title,body.blog .page-title{
  color:#FFF6EC !important;
  text-shadow:0 2px 6px rgba(46,26,20,.28), 0 0 12px rgba(212,162,76,.35);
  -webkit-text-stroke:.4px rgba(212,162,76,.7);
  paint-order:stroke fill;
}
/* 楼盘卡片标题 / 片区标题的金色点缀已在旧层，这里补描边 */
.yl-card h3,.yl-card h4,.yl-district h3{
  -webkit-text-stroke:.25px rgba(212,162,76,.5);
  paint-order:stroke fill;
}
/* 楼盘详情页横幅标题 */
body.single-loupan .lp-hero h1{
  text-shadow:0 2px 10px rgba(46,26,20,.35), 0 0 14px rgba(212,162,76,.4);
  -webkit-text-stroke:.4px rgba(212,162,76,.55);
  paint-order:stroke fill;
}

/* ================= 方案 B 加强：金色底纹（高亮带） ================= */
/* 正文标题：金色高亮底纹 + 更明显的金色描边 */
.entry-content h2,.entry-content h3{
  display:table;
  padding:2px 4px 10px !important;
  -webkit-text-stroke:.55px rgba(212,162,76,.85);
  paint-order:stroke fill;
  text-shadow:0 1px 0 rgba(255,246,236,.55);
  background:linear-gradient(180deg,rgba(255,255,255,0) 58%,rgba(240,200,122,.60) 58%,rgba(240,200,122,.60) 88%,rgba(255,255,255,0) 88%);
  background-repeat:no-repeat;
}
.entry-content h2:first-line,.entry-content h3:first-line{background:transparent}
/* 下划线更粗一点、金红过渡更清楚 */
.entry-content h2::after,.entry-content h3::after{
  content:'';position:absolute;left:4px;right:0;bottom:0;height:3px;margin:0;
  border-radius:2px;
  background:linear-gradient(90deg,#C8102E 0%,#D4A24C 50%,rgba(212,162,76,.35) 100%);
}
/* 区块标题右侧的金色装饰线（列表页/首页分区） */
.yy-sec-head h2,.yl-district h3{
  display:table;
  -webkit-text-stroke:.5px rgba(212,162,76,.8);
  paint-order:stroke fill;
  background:linear-gradient(180deg,rgba(255,255,255,0) 58%,rgba(240,200,122,.5) 58%,rgba(240,200,122,.5) 88%,rgba(255,255,255,0) 88%);
  background-repeat:no-repeat;
  padding:2px 4px 6px !important;
}
/* 标题带上的白字：金色外发光再亮一档 */
body.page .entry-title,body.single-post .entry-title,
body.archive .page-title,body.blog .page-title,
body.single-loupan .lp-hero h1{
  -webkit-text-stroke:.6px rgba(255,214,150,.9);
  paint-order:stroke fill;
  text-shadow:0 2px 8px rgba(46,26,20,.35), 0 0 16px rgba(212,162,76,.45);
}

/* ================= 金色细调（最终档） ================= */
/* 标题下划线改成金主红尾，金色更明确 */
.entry-content h2::after,.entry-content h3::after{
  background:linear-gradient(90deg,#F0C87A 0%,#D4A24C 42%,#C8102E 100%) !important;
  height:3px !important;
}
/* 首屏大标题：白字金描边，压在图上也更有喜气 */
.yy-hero p:nth-of-type(2){
  -webkit-text-stroke:.5px rgba(255,214,150,.55);
  paint-order:stroke fill;
  text-shadow:0 3px 10px rgba(46,26,20,.45), 0 0 18px rgba(212,162,76,.30) !important;
}
/* 列表/文章页的 h2 也统一金色下划线 */
.single-post .entry-content h2,.single-post .entry-content h3{border-bottom:0 !important}

/* 卡片小字加深，米底上不再灰得发飘 */
.yl-card .meta,.yl-card p.meta,.yl-shell .meta{color:#6B564A !important;font-size:13.5px !important}
.yl-card .yl-meta,.yl-card .yl-sub{color:#6B564A !important}

/* 首页分区标题已有自己的红条，别再叠我们的下划线（双线局促） */
body.home .entry-content h2::after,
body.home .entry-content h3::after{content:none !important;display:none !important}
body.home .entry-content h2,
body.home .entry-content h3{background:none !important;-webkit-text-stroke:0 !important;padding-bottom:6px !important}
/* 只有文章页用金色高亮底纹，读起来更清楚 */
body.home .entry-content h2::before,
body.home .entry-content h3::before{content:none !important;display:none !important}

/* ============ 手机端安全区：底部别被系统栏压住 ============ */
@media(max-width:768px){
  html,body{padding-bottom:calc(56px + env(safe-area-inset-bottom, 0px)) !important}
  .site-footer,.ast-small-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom, 0px)) !important}
  /* 问小景悬浮按钮：抬到安全区上方 */
  #yyChatBtn,.yy-chat-fab,.yyChat-fab,body > div[style*="99998"]{bottom:calc(14px + env(safe-area-inset-bottom, 0px)) !important}
}
/* 窄屏搜索框字号略收，提示语不再被截断 */
@media(max-width:400px){
  .yyS-in{font-size:15px !important}
  .yyS-btn{padding:10px 14px !important;font-size:14.5px !important}
}

/* 悬浮按钮本体：抬到安全区上方（选择器按 id 直接命中） */
@media(max-width:768px){
  #yyChatFab{bottom:calc(14px + env(safe-area-inset-bottom, 0px)) !important}
  #yyChatBox{bottom:calc(8px + env(safe-area-inset-bottom, 0px)) !important}
}

/* 手机端悬浮按钮收成小圆点，别压住正文；桌面保持带字胶囊 */
@media(max-width:520px){
  #yyChatFab{width:52px;height:52px;padding:0 !important;justify-content:center;border-radius:50% !important;
    box-shadow:0 6px 18px rgba(168,18,30,.32) !important}
  #yyChatFab .yyFabIcon{font-size:21px;line-height:1}
  #yyChatFab .yyFabTxt{display:none}
}

/* 手机端：分区标题右侧那条装饰红横线在窄屏会挤到边缘，直接收掉 */
@media(max-width:520px){
  body.home .entry-content div[style*="align-items:flex-end"]{align-items:flex-start !important;flex-wrap:wrap !important}
  body.home .entry-content div[style*="align-items:flex-end"] > div:last-child:not(:first-child){display:none !important}
  /* 分区之间的留白收一点，减少松散感 */
  body.home .entry-content section{margin-top:22px !important;margin-bottom:22px !important}
}
