.hou-recipe-reader,.hou-recipe-index,.hou-recipe-grid-wrap{--hou-orange:#ff711a;--hou-dark:#151515;--hou-muted:#666;--hou-bg:#f7f7f5;--hou-border:#e7e2dc;font-family:inherit;box-sizing:border-box}.hou-recipe-reader *,.hou-recipe-index *,.hou-recipe-grid-wrap *{box-sizing:border-box}.hou-recipe-reader-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:28px 30px;border-radius:22px;background:linear-gradient(135deg,#171717,#332014);color:#fff;margin:0 0 22px}.hou-recipe-reader-hero h1{font-size:34px!important;line-height:1.25!important;margin:0 0 8px!important;color:#fff!important}.hou-recipe-reader-hero p{font-size:17px!important;line-height:1.7!important;margin:0!important;color:rgba(255,255,255,.78)!important}.hou-recipe-reader-count{background:rgba(255,113,26,.18);border:1px solid rgba(255,113,26,.4);color:#fff;border-radius:999px;padding:9px 14px;white-space:nowrap}.hou-recipe-reader-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}.hou-recipe-sidebar{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid var(--hou-border);border-radius:20px;padding:14px;box-shadow:0 12px 30px rgba(0,0,0,.06)}.hou-recipe-search-wrap{margin-bottom:12px}.hou-recipe-search{width:100%;border:1px solid var(--hou-border)!important;border-radius:13px!important;padding:12px 13px!important;font-size:15px!important;outline:none!important}.hou-recipe-mobile-select-wrap{display:none}.hou-recipe-group{border:1px solid #eee;border-radius:14px;margin-bottom:10px;background:#fafafa;overflow:hidden}.hou-recipe-group summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;font-weight:800;color:#222}.hou-recipe-group summary em{font-style:normal;color:var(--hou-orange);font-size:13px}.hou-recipe-list{padding:0 8px 10px}.hou-recipe-item{display:flex;gap:10px;align-items:flex-start;text-decoration:none!important;color:#333!important;padding:9px;border-radius:11px;font-size:15px;line-height:1.45}.hou-recipe-item b{color:#999;font-weight:700;font-size:12px;min-width:22px;padding-top:2px}.hou-recipe-item:hover,.hou-recipe-item.is-active{background:#fff1e8;color:#111!important}.hou-recipe-item.is-active b{color:var(--hou-orange)}.hou-recipe-content{background:#fff;border:1px solid var(--hou-border);border-radius:22px;padding:28px;min-height:650px;box-shadow:0 12px 30px rgba(0,0,0,.05)}.hou-recipe-article-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #eee;padding-bottom:16px;margin-bottom:16px}.hou-recipe-kicker{color:var(--hou-orange);font-weight:800;font-size:14px;margin-bottom:6px}.hou-recipe-title{font-size:32px!important;line-height:1.3!important;margin:0!important;color:#151515!important;font-weight:900}.hou-recipe-open-link{display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none!important;background:var(--hou-orange);color:#fff!important;border-radius:999px;padding:10px 14px;font-weight:800;font-size:14px}.hou-recipe-article-meta,.hou-recipe-tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.hou-recipe-article-meta span,.hou-recipe-tags span{display:inline-flex;border-radius:999px;background:#fff4ec;color:#a84300;border:1px solid #ffd7bf;padding:6px 10px;font-size:14px;font-weight:700}.hou-recipe-featured{margin:0 0 22px!important}.hou-recipe-featured img{width:100%;height:auto;border-radius:18px;display:block}.hou-recipe-section{padding:20px 0;border-top:1px solid #efefef}.hou-recipe-section-title{font-size:23px!important;line-height:1.35!important;margin:0 0 12px!important;color:#ff711a!important;font-weight:900}.hou-recipe-section-body{font-size:18px;line-height:1.85;color:#252525}.hou-recipe-section-body p{font-size:18px!important;line-height:1.85!important;margin:0 0 10px!important}.hou-recipe-empty{padding:40px;text-align:center;color:#777;background:#fff;border:1px solid var(--hou-border);border-radius:18px}.hou-recipe-back-home{display:inline-flex;margin:0 0 10px;color:#ff711a!important;background:rgba(255,113,26,.12);border:1px solid rgba(255,113,26,.35);border-radius:999px;padding:7px 12px;text-decoration:none!important;font-size:14px;font-weight:800}.hou-recipe-single-details{margin-top:24px;background:#fff;border:1px solid #e7e2dc;border-radius:20px;padding:22px;box-shadow:0 10px 24px rgba(0,0,0,.04)}

/* 食譜大全：飛書式左右欄 */
.hou-recipe-index-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start}.hou-recipe-index-sidebar{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid var(--hou-border);border-radius:20px;padding:16px;box-shadow:0 12px 30px rgba(0,0,0,.06)}.hou-recipe-index-side-title{font-size:22px;font-weight:900;color:#151515;margin:0 0 14px;padding:0 2px}.hou-recipe-index-tree{display:grid;gap:10px}.hou-recipe-tree-all,.hou-recipe-tree-children a{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none!important;color:#333!important;border-radius:12px;padding:9px 10px;font-size:15px;line-height:1.45}.hou-recipe-tree-all:hover,.hou-recipe-tree-children a:hover,.hou-recipe-tree-all.is-active,.hou-recipe-tree-children a.is-active{background:#fff1e8;color:#111!important}.hou-recipe-tree-group{border:1px solid #eee;border-radius:15px;background:#fafafa;overflow:hidden}.hou-recipe-tree-group summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px;font-size:18px;font-weight:900;color:#222}.hou-recipe-tree-group summary::-webkit-details-marker{display:none}.hou-recipe-tree-group summary:before{content:'▸';color:#ff711a;font-size:13px;margin-right:3px}.hou-recipe-tree-group[open] summary:before{content:'▾'}.hou-recipe-tree-group summary span{flex:1}.hou-recipe-tree-group summary em{font-style:normal;color:#ff711a;font-size:13px;background:#fff;padding:3px 8px;border-radius:999px}.hou-recipe-tree-children{padding:0 8px 10px}.hou-recipe-tree-children a span{color:#ff711a;font-weight:800}.hou-recipe-index-main{min-width:0;background:#fff;border:1px solid var(--hou-border);border-radius:22px;padding:22px;box-shadow:0 12px 30px rgba(0,0,0,.05)}.hou-recipe-index-main-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-bottom:1px solid #eee;padding-bottom:16px;margin-bottom:18px}.hou-recipe-index-current-title{font-size:30px;font-weight:900;line-height:1.3;color:#151515}.hou-recipe-index-current-sub{font-size:15px;line-height:1.6;color:#777}

/* 瀑布流卡片 */
.hou-recipe-masonry-grid{column-count:3;column-gap:20px}.hou-recipe-masonry-card{display:inline-block;width:100%;break-inside:avoid;page-break-inside:avoid;background:#fff;border:1px solid var(--hou-border);border-radius:20px;overflow:hidden;margin:0 0 20px;box-shadow:0 10px 24px rgba(0,0,0,.05)}.hou-recipe-masonry-img{display:block;background:#171717;color:#fff!important;text-decoration:none!important;min-height:160px}.hou-recipe-masonry-img img{width:100%;height:auto;display:block}.hou-recipe-masonry-img span{display:flex;min-height:220px;align-items:center;justify-content:center;letter-spacing:2px}.hou-recipe-masonry-body{padding:16px}.hou-recipe-card-title{font-size:20px!important;line-height:1.35!important;margin:0 0 8px!important;font-weight:900}.hou-recipe-card-title a{color:#151515!important;text-decoration:none!important}.hou-recipe-masonry-body p{font-size:15px!important;line-height:1.65!important;color:#666!important;margin:0!important}.hou-recipe-pagination{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:26px 0 4px;break-inside:avoid}.hou-recipe-pagination .page-numbers{padding:8px 12px;border:1px solid var(--hou-border);border-radius:10px;text-decoration:none!important;color:#222!important;background:#fff}.hou-recipe-pagination .current{background:var(--hou-orange);border-color:var(--hou-orange);color:#fff!important}

/* 舊 grid shortcode 也沿用瀑布流 */
.hou-recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hou-recipe-grid-card{background:#fff;border:1px solid var(--hou-border);border-radius:20px;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.05)}.hou-recipe-grid-img{display:block;background:#171717;aspect-ratio:4/3;color:#fff!important;text-decoration:none!important}.hou-recipe-grid-img img{width:100%;height:100%;object-fit:cover;display:block}.hou-recipe-grid-img span{display:flex;height:100%;align-items:center;justify-content:center;letter-spacing:2px}.hou-recipe-grid-body{padding:16px}.hou-recipe-grid-body h2{font-size:20px!important;line-height:1.35!important;margin:0 0 8px!important}.hou-recipe-grid-body h2 a{color:#151515!important;text-decoration:none!important}.hou-recipe-grid-body p{font-size:15px!important;line-height:1.65!important;color:#666!important;margin:0!important}

@media(max-width:1180px){.hou-recipe-masonry-grid{column-count:2}.hou-recipe-index-layout{grid-template-columns:280px minmax(0,1fr)}}@media(max-width:1024px){.hou-recipe-reader-layout,.hou-recipe-index-layout{grid-template-columns:1fr}.hou-recipe-sidebar,.hou-recipe-index-sidebar{position:relative;top:auto;max-height:none}.hou-recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.hou-recipe-reader-hero{padding:22px 18px;border-radius:18px;display:block}.hou-recipe-reader-hero h1{font-size:28px!important}.hou-recipe-reader-layout{gap:14px}.hou-recipe-sidebar{padding:12px;border-radius:18px}.hou-recipe-menu{max-height:360px;overflow:auto}.hou-recipe-mobile-select-wrap{display:block;margin-bottom:12px}.hou-recipe-mobile-select{width:100%;border:1px solid var(--hou-border)!important;border-radius:13px!important;padding:12px!important;font-size:15px!important;background:#fff}.hou-recipe-content{padding:18px;border-radius:18px}.hou-recipe-article-head{display:block}.hou-recipe-open-link{margin-top:12px}.hou-recipe-title{font-size:26px!important}.hou-recipe-grid{grid-template-columns:1fr}.hou-recipe-section-body,.hou-recipe-section-body p{font-size:17px!important}.hou-recipe-index-main{padding:16px;border-radius:18px}.hou-recipe-index-main-head{display:block}.hou-recipe-index-current-title{font-size:25px}.hou-recipe-masonry-grid{column-count:1}.hou-recipe-index-sidebar{padding:12px;border-radius:18px}.hou-recipe-tree-group summary{font-size:17px}}

/* v1.0.3：熱門 / 最新頁籤與食譜單篇微調 */
.hou-recipe-sort-tabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 18px;border-bottom:1px solid #eee;padding-bottom:14px}.hou-recipe-sort-tabs a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid var(--hou-border);background:#fff;color:#222!important;border-radius:999px;padding:9px 18px;font-size:16px;font-weight:900;line-height:1}.hou-recipe-sort-tabs a:hover,.hou-recipe-sort-tabs a.is-active{background:var(--hou-orange);border-color:var(--hou-orange);color:#fff!important}.hou-recipe-masonry-card .hou-recipe-tags{margin:8px 0 10px;gap:6px}.hou-recipe-masonry-card .hou-recipe-tags span{font-size:12px;padding:4px 8px;background:#fff4ec;color:#a84300;border-color:#ffd7bf}.hou-recipe-single-details .hou-recipe-tags{margin-bottom:18px}.hou-recipe-section-title{display:block!important;background:transparent!important;border:0!important;padding:0!important}.hou-recipe-show-sidebar .sidebar,.hou-recipe-show-sidebar #sidebar,.hou-recipe-show-sidebar .widget-area{display:block!important}

/* v1.0.5：單篇文章標題、底部標籤、食譜小工具側邊欄、麵包屑修正 */
.hou-recipe-main-h2{
  font-size:30px!important;
  line-height:1.35!important;
  margin:0 0 18px!important;
  color:#151515!important;
  font-weight:900!important;
  letter-spacing:.6px!important;
}
.hou-recipe-article-head .hou-recipe-main-h2{margin-bottom:0!important;}
.hou-recipe-single-main .hou-recipe-main-h2{margin-top:0!important;}
.hou-recipe-tags-bottom{
  margin-top:22px!important;
  padding-top:18px!important;
  border-top:1px solid #eeeeee!important;
}
.hou-recipe-tags-random span{
  border:0!important;
  font-size:14px!important;
  font-weight:900!important;
  padding:7px 12px!important;
  box-shadow:0 6px 14px rgba(0,0,0,.05);
}
.hou-recipe-tag-color-1{background:#fff1e8!important;color:#c24d00!important;}
.hou-recipe-tag-color-2{background:#eaf5ff!important;color:#1269a8!important;}
.hou-recipe-tag-color-3{background:#f0f8ea!important;color:#3c7a20!important;}
.hou-recipe-tag-color-4{background:#fff6d8!important;color:#946500!important;}
.hou-recipe-tag-color-5{background:#f6ecff!important;color:#7a35b6!important;}
.hou-recipe-tag-color-6{background:#eafff8!important;color:#08765d!important;}
.hou-recipe-tag-color-7{background:#ffeef3!important;color:#b92955!important;}
.hou-recipe-tag-color-8{background:#f2f2f2!important;color:#333!important;}
.hou-recipe-single-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;}
.hou-recipe-single-has-widget-sidebar .hou-recipe-single-inner{grid-template-columns:minmax(0,1fr) 300px;}
.hou-recipe-inline-sidebar{border-left:1px solid #eee;padding-left:20px;position:sticky;top:20px;}
.hou-recipe-widget{background:#fafafa;border:1px solid #eee;border-radius:16px;padding:16px;margin:0 0 16px;}
.hou-recipe-widget-title{font-size:18px;font-weight:900;margin:0 0 10px;color:#151515;}
.hou-recipe-widget ul{margin:0;padding-left:18px;}
.hou-recipe-widget a{color:#ff711a!important;text-decoration:none!important;}
[data-hou-recipe-breadcrumb-patched="1"] a{color:#666!important;text-decoration:none!important;}
[data-hou-recipe-breadcrumb-patched="1"] a:hover{color:#ff711a!important;}
[data-hou-recipe-breadcrumb-patched="1"] .hou-recipe-bc-current{color:#333;font-weight:700;}
[data-hou-recipe-breadcrumb-patched="1"] .hou-recipe-bc-sep{color:#aaa;}
@media(max-width:1024px){
  .hou-recipe-single-has-widget-sidebar .hou-recipe-single-inner{grid-template-columns:1fr;}
  .hou-recipe-inline-sidebar{position:relative;top:auto;border-left:0;border-top:1px solid #eee;padding-left:0;padding-top:20px;}
}

/* v1.0.6：CSV 匯入圖片正文區塊 */
.hou-recipe-body-content{
  margin:0 0 22px!important;
}
.hou-recipe-body-content .hou-recipe-import-image,
.hou-recipe-body-content figure{
  margin:0 0 18px!important;
}
.hou-recipe-body-content img,
.hou-recipe-import-image img{
  max-width:100%!important;
  height:auto!important;
  display:block!important;
  border-radius:18px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.06)!important;
}
.hou-recipe-teaching-image img{border:1px solid #ececec!important;}
.hou-recipe-final-image img{border:1px solid #f4d5c2!important;}


/* v1.0.8：修正無圖片匯入時，右側仍要顯示食譜文字卡片 */
.hou-recipe-masonry-img span{
  min-height:180px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(135deg,#fff1e8,#fff8f3)!important;
  color:#ff711a!important;
  font-weight:900!important;
  letter-spacing:1.5px!important;
  font-size:18px!important;
}
.hou-recipe-masonry-card.no-thumb .hou-recipe-masonry-body,
.hou-recipe-masonry-card:not(:has(img)) .hou-recipe-masonry-body{
  border-top:1px solid #f2e5dc;
}
