
/* =========================================================
 * FoodNo1.com — template custom.css (FULL)
 * Version   : v20251214-1310
 * Updated   : 2025-12-14 13:10
 * Change    : + NFW33 Live Hits Billboard skin (scoped by .nfw33-billboard)
 * Notes     : Safe add-on block; does not affect other pages.
 *
 * CSS INDEX (Quick Jump)
 * [S0] Global imports / base rules (existing)
 * [S1] Membership Pro / Buttons (existing)
 * [S2] Login View + Social Login (existing)
 * [S3] Kunena Forum – Layout & Brand Colors (existing)
 * [S4] Category / Article listings & tags (existing)
 * [S5] CTA / UI utilities (existing)
 * [S7] NFW33 Live Hits Billboard (added at bottom)
 * ========================================================= */

/* Load Ingredient iPage styles globally */
@import url("/media/fno1/css/ingredient.css");
/* =========================================================
 * FoodNo1 Custom Master CSS
 * Version: v20251116-hu-fix-LOGIN-KUNENA-CATEGORIES
 * Last inspected: 2025-11-16 (Toronto)
 * ========================================================= */

/* 加入sandbox gold 顏色 20260316*/
@import url("/media/fno1/css/fno1-gold-theme-live.css");
/* 加入ingredient.css for ipage top 顏色 */
@import url("/media/fno1/css/ingredient.css");
/* 隱藏 introtext（只影響 iPage） */

/* ---------------- 1. Base typography / colors ------------- */

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #333;
  background-color: #fffdf7;
  line-height: 1.8;
}

a {
  color: #c02e00;
  text-decoration: none;
}

a:hover {
  color: #f15a22;
  text-decoration: underline;
}


/* ---------------- 2. Layout fixes (HU header) ------------- */

/* 移除 header 與內容之間多餘空隙 */
.body-innerwrapper {
  padding-top: 0 !important;
}

#sp-main-body {
  padding-top: 20px !important;
  margin-top: 0 !important;
}

/* 保證 header 在最上層 */
#sp-header,
#sp-top-bar {
  position: relative;
  z-index: 100 !important;
}


/* ---------------- 3. Article / page navigation ------------- */

.pagenav,
.pager {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 2rem 0 1rem;
  padding: 0;
}

.pagenav li,
.pager li {
  list-style: none;
}

.pagenav a,
.pager > li > a,
.pagenav a.btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #444 !important;
  font-weight: 500;
  text-decoration: none;
}

.pagenav a:hover,
.pager > li > a:hover {
  color: #c02e00 !important;
  text-decoration: underline;
}

/* 下方分頁條 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 2rem 0 1rem;
}

.pagination li {
  list-style: none;
}

.pagination a {
  background: transparent;
  color: #444;
  padding: 4px 8px;
}

.pagination a:hover {
  color: #c02e00;
}


/* ---------------- 4. Off-canvas / Mobile menu -------------- */

.sp-offcanvas-menu,
.offcanvas-menu {
  background: #ffffff !important;
  color: #333 !important;
  z-index: 9999;
}

.sp-offcanvas-menu a,
.offcanvas-menu a {
  background: none !important;
  color: #333 !important;
  padding: 10px 16px !important;
  display: block;
  border-bottom: 1px solid #f2f2f2;
}

.sp-offcanvas-menu a:hover,
.offcanvas-menu a:hover {
  background: #fff6da !important;
  color: #c02e00 !important;
}

/* Edge / overlay bug: 避免 offcanvas 遮罩阻礙點擊 */
.offcanvas-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.offcanvas-active .offcanvas-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


/* ---------------- 5. Helix login 隱藏預設登入 -------------- */

#sp-login,
.sp-login,
.helix-ultimate-sign-in-menu,
a[href*="HELIX_ULTIMATE_SIGN_IN_MENU"] {
  display: none !important;
}


/* ---------------- 6. FoodNo1 common wrappers --------------- */

.fno1-wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
}

.fno1-highlight {
  background: #fff8e5;
  border-left: 4px solid #f2b035;
  padding: 1rem;
  border-radius: 8px;
}

.fno1-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #f2b035;
  color: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}


/* ---------------- 7. Recipe section blocks ----------------- */

.fno1-recipe {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  padding: 1.25rem 1.5rem 2rem;
  margin-bottom: 2rem;
}

.fno1-recipe h3 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
  color: #c02e00;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fno1-recipe h3::before {
  content: "🍽";
  font-size: 1rem;
}

.fno1-recipe table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.fno1-recipe table th,
.fno1-recipe table td {
  border: 1px solid #eee;
  padding: 6px 10px;
}

.fno1-recipe table th {
  background: #fff6da;
}

.fno1-tags {
  margin-top: 1.2rem;
}

.fno1-tags a {
  display: inline-block;
  background: #fff6da;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 3px 4px;
  font-size: 0.85rem;
  color: #444;
}

.fno1-tags a:hover {
  background: #ffe89a;
  color: #c02e00;
}


/* ---------------- 8. CTA / buttons ------------------------- */

.btn,
.button,
a.btn,
a.button,
.fno1-cta,
.fno1-cta-main {
  background-color: #e0bf72 !important;
  border-color: #cfa552 !important;
  color: #5a3900 !important;
  border-radius: 999px;
  padding: 8px 20px;
  border-width: 1px;
  border-style: solid;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover,
.button:hover,
a.btn:hover,
a.button:hover,
.fno1-cta:hover,
.fno1-cta-main:hover {
  background-color: #d4b05d !important;
  border-color: #bf9540 !important;
  color: #4a2e00 !important;
}


/* ---------------- 9. EngageBox / popup --------------------- */

.engagebox {
  z-index: 10001 !important;
}

.engagebox .modal-content {
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}


/* ---------------- 10. Health disclaimer block -------------- */

.fno1-health-disclaimer {
  background-color: #fff9f0;
  border: 1px solid #e0cfa0;
  border-left: 4px solid #e89a3c;
  padding: 12px 14px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.fno1-health-disclaimer-title {
  margin: 0 0 6px 0;
  font-weight: 600;
  color: #b5681a;
}


/* ---------------- 11. Footer signature block --------------- */

.fno1-footer-signature {
  background: #f8f1df;
  border-top: 1px solid #e3cda4;
  border-bottom: 1px solid #e3cda4;
  padding: 18px 12px;
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.8;
  color: #5a4528;
  font-style: normal;
  position: relative;
  overflow: hidden;
}

/* 左側金色豎線動畫 */
.fno1-footer-signature::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: linear-gradient(to bottom, #e6b34a, #c48c2b);
  opacity: 0;
  animation: fno1FadeIn 1.2s ease-out 0.2s forwards;
}

.fno1-footer-line {
  margin-left: 20px;
  opacity: 0;
  transform: translateY(6px);
  animation: fno1FadeUp 0.8s ease-out forwards;
}

/* 行逐行浮現延遲 */
.fno1-line-1 { animation-delay: 0.3s; }
.fno1-line-2 { animation-delay: 0.6s; }
.fno1-line-3 { animation-delay: 0.9s; }
.fno1-line-4 { animation-delay: 1.2s; }
.fno1-line-5 { animation-delay: 1.5s; }

.fno1-footer-highlight {
  font-weight: 600;
  color: #b06a1f;
}

/* 動畫關鍵影格 */
@keyframes fno1FadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fno1FadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 若用戶設定「減少動態」，則取消動畫 */
@media (prefers-reduced-motion: reduce) {
  .fno1-footer-signature::before,
  .fno1-footer-line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* footer 內 <p> 也跟隨動態設定 */
.fno1-footer-signature p {
  margin-left: 20px;
  opacity: 0;
  transform: translateY(6px);
  animation: fno1FadeUp 0.8s ease-out forwards;
}

.fno1-footer-signature p:nth-of-type(1) { animation-delay: 0.3s; }
.fno1-footer-signature p:nth-of-type(2) { animation-delay: 0.6s; }
.fno1-footer-signature p:nth-of-type(3) { animation-delay: 0.9s; }
.fno1-footer-signature p:nth-of-type(4) { animation-delay: 1.2s; }


/* ---------------- 12. Global footer background ------------- */

#sp-bottom,
#sp-footer,
[id*="footer"],
[id*="bottom"] .sp-copyright,
.sp-copyright {
  background: #f8f1df !important;
  border-top: 1px solid #e3cda4 !important;
  color: #5a4528 !important;
}

#sp-bottom a,
#sp-footer a,
[id*="footer"] a,
[id*="bottom"] .sp-copyright a,
.sp-copyright a {
  color: #b06a1f !important;
}

#sp-bottom a:hover,
#sp-footer a:hover,
[id*="footer"] a:hover,
[id*="bottom"] .sp-copyright a:hover,
.sp-copyright a:hover {
  color: #c02e00 !important;
}


/* ---------------- 13. Utility / spacing helpers ----------- */

.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }


/* ---------------- 14. Responsive tweaks ------------------- */

@media (max-width: 576px) {

  .fno1-recipe {
    padding: 1rem;
  }

  .pagenav,
  .pager {
    flex-direction: column;
    gap: 8px;
  }

  .pagenav a,
  .pager > li > a {
    width: 100%;
    text-align: center;
  }

  .offcanvas-menu a {
    padding: 12px !important;
  }
}


/* =========================================================
   Membership Pro / Buttons
   ========================================================= */

.osmembership .btn,
.osmembership button,
.osmembership input[type="submit"],
.osmembership .osm-btn,
.osmembership .osm-button,
.osmembership a.btn,
.osmembership a.button {
  background-color: #e0bf72 !important;
  border-color: #cfa552 !important;
  color: #5a3900 !important;
  border-radius: 999px !important;
  padding: 8px 20px !important;
  border-width: 1px !important;
  border-style: solid !important;
}

.osmembership .btn:hover,
.osmembership button:hover,
.osmembership input[type="submit"]:hover,
.osmembership .osm-btn:hover,
.osmembership .osm-button:hover,
.osmembership a.btn:hover,
.osmembership a.button:hover {
  background-color: #d4b05d !important;
  border-color: #bf9540 !important;
  color: #4a2e00 !important;
}


/* =========================================================
   Login View + Akeeba Social Login
   ========================================================= */

/* com-users Login 頁：主登入按鈕柔和灰色 */
body.com-users.view-login .btn,
body.com-users.view-login button,
body.com-users.view-login input[type="submit"],
body.com-users.view-login input[type="button"] {
  background-color: #f5f5f5 !important;
  color: #444 !important;
  border-radius: 8px !important;
  border: 1px solid #ddd !important;
  padding: 8px 18px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08) !important;
  font-weight: 500;
}

body.com-users.view-login .btn:hover,
body.com-users.view-login button:hover,
body.com-users.view-login input[type="submit"]:hover,
body.com-users.view-login input[type="button"]:hover {
  background-color: #e8e8e8 !important;
  color: #222 !important;
}

/* Akeeba Social Login: provider 橫向排版 (old markup) */
#akeeba-social-login-buttons,
.akeeba-social-login-providers {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  justify-content: flex-start !important;
}

.akeeba-social-login-provider {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fafafa !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  color: #444 !important;
  width: auto !important;
}

.akeeba-social-login-provider img {
  width: 18px !important;
  height: 18px !important;
  margin-right: 6px !important;
}

/* Akeeba Social Login – 新 class 名（保險起見） */
.akeeba-sociallogin-buttons,
.akeeba-sociallogin-buttons ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.75rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.akeeba-sociallogin-buttons li {
  margin: 0;
}

.akeeba-sociallogin-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}


/* =========================================================
   Kunena Forum – Layout & Brand Colors
   ========================================================= */

body.com-kunena #kunena {
  max-width: 1040px;
  margin: 0 auto 40px;
  padding: 0 10px;
}

body.com-kunena .kblock {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  margin-bottom: 18px;
  border: 1px solid #f0e4d0;
}

body.com-kunena .kheader {
  background-color: #fff6da;
  color: #5a4528;
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px solid #f0e4d0;
}

body.com-kunena .kbody {
  background-color: #ffffff;
}

body.com-kunena table tr:nth-child(even) {
  background-color: #fffaf0;
}

body.com-kunena table tr:nth-child(odd) {
  background-color: #ffffff;
}

body.com-kunena a {
  color: #c02e00;
}

body.com-kunena a:hover {
  color: #f15a22;
}

/* Stats 區 */
body.com-kunena .kstats {
  background-color: #fffdf7;
  border-radius: 8px;
  border: 1px solid #f0e4d0;
  padding: 10px 14px;
}

/************************************************************
 * FoodNo1 Kunena 顏色重設（淺金 + 深啡）
 * 2025-11-16
 ************************************************************/

/* 品牌色：可以之後微調這兩個值 */
:root {
  --fno1-gold: #f0c46a;   /* 淺金色 */
  --fno1-brown: #8a4b1a; /* 深啡色 */
}

/* 只影響 Kunena 區域 */
#kunena a,
#kunena .nav-link,
#kunena .klink {
  color: var(--fno1-brown);
}

#kunena a:hover,
#kunena a:focus,
#kunena .nav-link:hover,
#kunena .nav-link:focus {
  color: var(--fno1-gold);
  text-decoration: none;
}

/* 主要按鈕／「發帖」之類，改回啡金色 */
#kunena .btn-primary,
#kunena .btn-success,
#kunena .kbutton,
#kunena .kbutton-primary,
#kunena .pagination .page-item.active .page-link,
#kunena .badge-primary {
  background-color: var(--fno1-brown);
  border-color: var(--fno1-brown);
  color: #fff;
}

#kunena .btn-primary:hover,
#kunena .btn-success:hover,
#kunena .kbutton:hover,
#kunena .kbutton-primary:hover,
#kunena .pagination .page-item.active .page-link:hover {
  background-color: #653613;   /* 更深一級啡 */
  border-color: #653613;
  color: #fff;
}

/* 分頁、tag、一些 badge 的邊框／label 色調整 */
#kunena .badge,
#kunena .kbadge {
  background-color: var(--fno1-gold);
  color: #472300;
}

#kunena .pagination .page-link {
  border-color: #e6d4ac;
}

#kunena .pagination .page-link:hover {
  border-color: var(--fno1-brown);
}

/* 區塊標題加少少對比，避免「全白好平」 */
#kunena .kblock > .kheader,
#kunena .kblock > .kheader .ktitle {
  background-color: #f8f1e2;
  border-bottom: 1px solid #e0c9a0;
  color: #472300;
}


/* =========================================================
   FoodNo1 Gold System Utilities
   ========================================================= */

/* 1. 主要金棕按鈕（深底白字） */
.btn-gold,
.button-gold {
  background-color: #7F691A;
  color: #FFFFFF;
  border-radius: 999px;
  border: 1px solid #7F691A;
}

.btn-gold:hover,
.button-gold:hover {
  background-color: #4A3E15;
  border-color: #4A3E15;
  color: #FFFFFF;
}

/* 2. 膠囊式 Tag（淺底深字） */
.tag-gold,
.badge-gold {
  background-color: #F7E7C3;
  color: #7F691A;
  border-radius: 999px;
  border: 1px solid #D8C49A;
}

/* 3. 文字金棕色（連結／標題） */
.text-gold {
  color: #7F691A;
}

a.link-gold,
a.link-gold:link,
a.link-gold:visited {
  color: #A68A4F;
}

a.link-gold:hover {
  color: #7F691A;
}


/* =========================================================
   Category Listings & Article Tags (Gold Scheme)
   ========================================================= */

/* Joomla 主分類列表（例：湯水館分類頁） */
.categories-list .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.categories-list .category > a {
  flex: 1 1 auto;
  min-width: 0;
}

/* 主分類右邊的數字膠囊：深金底 + 白字 */
.categories-list .badge,
.categories-list span.badge {
  background-color: #7F691A !important;
  color: #FFFFFF !important;
  border-radius: 999px;
  border: 1px solid #7F691A;
  min-width: 2.4em;
  text-align: center;
  padding: 2px 10px;
  font-weight: 600;
  flex: 0 0 auto;
}

/* 子分類列表（cat-children，下級分類） */
.cat-children ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-children ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 2px 0;
}

.cat-children ul li > a {
  flex: 1 1 auto;
  min-width: 0;
}

/* 子分類數字膠囊，一樣使用深金底 + 白字 */
.cat-children .badge,
.cat-children .badge-info,
.cat-children .label-info {
  background-color: #7F691A !important;
  color: #FFFFFF !important;
  border-radius: 999px;
  border: 1px solid #7F691A;
  min-width: 2.4em;
  text-align: center;
  padding: 2px 10px;
  font-weight: 600;
  flex: 0 0 auto;
}

/* 文章 Tag 膠囊：淺金底＋深金字 */
.tags span.label,
.tags a.label,
.tagspopular ul li a,
.tag-category,
.tag-list .badge {
  background-color: #F7E7C3 !important;
  color: #7F691A !important;
  border-radius: 999px !important;
  border: 1px solid #D8C49A !important;
  padding: 4px 10px;
  display: inline-block;
  margin: 2px 4px;
}

/* Tag 滑過時稍微加深字色 */
.tags a.label:hover,
.tagspopular ul li a:hover,
.tag-category:hover {
  color: #4A3E15 !important;
}
/* ===== Category view: 點擊數 badge（深金土系｜只針對 Hits 欄） =====
 * Updated: 2025-12-14 13:10
 * Note   : 避免影響其他 badge（例如 featured / 系統標籤）
 */
body.com-content.view-category td.list-hits .badge,
body.com-content.view-category td.list-hits span.badge{
  background-color: #6b5312 !important;   /* 深金（土） */
  color: #FFFFFF !important;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;           /* 數字視覺更穩定 */
  max-width: max-content;
  line-height: 1.1;
}

/* hover：微亮，不轉紅 */
body.com-content.view-category tr:hover td.list-hits .badge,
body.com-content.view-category tr:hover td.list-hits span.badge{
  background-color: #8a6a16 !important;
}

/* ===== 下級分類：名稱在左，數字膠囊靠右 ===== */

/* 取消 li 的 flex（之前那段如果有，這裡會蓋過去） */
.cat-children ul li {
  display: block;
  padding: 2px 0;
}

/* ===== Category view: 表頭與標題字色（去除橙紅，改土系深金） =====
 * Updated: 2025-12-14 13:10
 */
body.com-content.view-category table thead th,
body.com-content.view-category table thead th a,
body.com-content.view-category table thead th span{
  color: #6b5312 !important;
  font-weight: 700;
}
body.com-content.view-category table thead th a:hover{
  color: #8a6a16 !important;
  text-decoration: none;
}

/* 文章標題連結（Category List） */
body.com-content.view-category table tbody th.list-title a,
body.com-content.view-category table tbody td a{
  color: #6b5312 !important;
  font-weight: 650;
}
body.com-content.view-category table tbody th.list-title a:hover,
body.com-content.view-category table tbody td a:hover{
  color: #8a6a16 !important;
  text-decoration: underline;
}

/* 修正：避免 Hits badge 被 table/flex 拉成「長條」 */
body.com-content.view-category td.list-hits{
  white-space: nowrap;
}

/* 由 <a> 來負責左右兩端對齊 */
.cat-children ul li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

/* 右側數字膠囊固定寬度，不被文字擠壓 */
.cat-children ul li .badge,
.cat-children ul li .badge-info,
.cat-children ul li .label-info {
  flex: 0 0 auto;
  min-width: 2.4em;
  text-align: center;
}
/* Hide featured badge in article view */
.badge.bg-danger.featured-article-badge {
    display: none !important;
}

/* Hide featured badge in category/blog layouts */
.badge-featured,
.badge.bg-danger.badge-featured,
.article-header .badge.bg-danger,
.sp-page-title .badge.bg-danger {
    display: none !important;
}
/* orange-red button 主按鈕金啡色 */
/* =========================================
   FoodNo1 CTA 按鈕主色（金啡色）
   只改「看食譜..」、「加載更多湯水」等掣
   ========================================= */

/* 一般按鈕（看食譜.. 等） */
a.btn-primary.jt-readmore,
button.btn-primary.jt-readmore,
a.btn-info,
button.btn-info,
a.load-more-btn,
button.load-more-btn {
    background-color: #A68B5B !important; /* 金啡 */
    border-color: #A68B5B !important;
    color: #ffffff !important;            /* 字白色 */
}

/* Hover 效果（滑鼠移上去） */
a.btn-primary.jt-readmore:hover,
button.btn-primary.jt-readmore:hover,
a.btn-info:hover,
button.btn-info:hover,
a.load-more-btn:hover,
button.load-more-btn:hover {
    background-color: #8A744D !important; /* 金啡稍深 */
    border-color: #8A744D !important;
    color: #ffffff !important;
}
/* 移除文章最頂部因 JCE 自動加入的空白段落 */
.item-page > p:empty,
.item-page > p:empty:before,
.item-page > p > br {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* =========================================================
 * [S7] FEATURE: NFW33 Live Hits Billboard
 * Page Class : nfw33-billboard   (Menu Item -> Page Class)
 * Version    : v1.0
 * Updated   : 2025-12-14 13:10
 * ========================================================= */

.nfw33-billboard ul.category{
  list-style: none;
  margin: 0;
  padding: 20px 16px;
  background: #0f1115;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  counter-reset: nfwRank;
}

/* each row */
.nfw33-billboard ul.category > li{
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 6px;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}

.nfw33-billboard ul.category > li:last-child{
  border-bottom: none;
}

/* rank number */
.nfw33-billboard ul.category > li::before{
  counter-increment: nfwRank;
  content: counter(nfwRank) ".";
  font-weight: 700;
  color: #ff4d4d;
  font-size: 15px;
  text-align: right;
  opacity: .95;
}

/* title link */
.nfw33-billboard ul.category > li a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: .2px;
  position: relative;
}

/* dotted leader */
.nfw33-billboard ul.category > li a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:4px;
  height:1px;
  background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  opacity:.5;
  pointer-events:none;
}

/* hits badge (selector safety across templates) */
.nfw33-billboard .hits,
.nfw33-billboard .list-hits,
.nfw33-billboard dd.hits,
.nfw33-billboard span.hits{
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.88);
  font-weight: 700;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 4px 10px;
  border-radius: 999px;
}

/* hide meta */
.nfw33-billboard time,
.nfw33-billboard .list-date,
.nfw33-billboard .list-author{
  display:block !important;
  margin: 0 0 14px 0;
  padding: 14px 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
}

/* mobile */
@media (max-width:640px){
  .nfw33-billboard ul.category > li{
    grid-template-columns: 42px 1fr;
    grid-template-areas:
      "rank title"
      "rank hits";
  }
  .nfw33-billboard ul.category > li::before{ grid-area: rank; }
  .nfw33-billboard ul.category > li a{ grid-area: title; }
  .nfw33-billboard .hits,
  .nfw33-billboard .list-hits{
    grid-area: hits;
    justify-self: start;
    margin-top: 6px;
  }
}
/* nfw-hero-img -20251215-1350 */
.nfw-hero .nfw-hero-img img{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  float:none !important;
}
/* nfw33 page class 先會用到-20251215-1455 */
body.nfw33 .nfw-loadmore-bar{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  margin:24px 0 8px;
}
body.nfw33 .nfw-loadmore-btn{
  padding:12px 18px;
  border-radius:999px;
  border:0;
  cursor:pointer;
}
body.nfw33 .nfw-loadmore-status{
  opacity:.75;
  font-size:14px;
}
/* 解決「太貼底下模組」+ Button 可點（全站通用，唔係單一文章）-20251215-1730 */
.nfw-loadmore-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  margin:24px 0 48px; /* 底下留多啲氣位 */
}

.nfw-loadmore-btn{
  padding:10px 16px;
  border:1px solid #222;
  background:#fff;
  border-radius:6px;
  cursor:pointer;
}

.nfw-loadmore-btn[disabled]{
  opacity:.5;
  cursor:not-allowed;
}

.nfw-loadmore-stat{
  font-size:14px;
  opacity:.8;
}
.nfw-loadmore-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  margin:26px 0 70px;   /* 下方留多啲空位 */
  position:relative;
  z-index:5;
}
.nfw-loadmore-btn{
  padding:10px 16px;
  border:1px solid #222;
  background:#fff;
  border-radius:999px;
  cursor:pointer;
}
.nfw-loadmore-btn[disabled]{ opacity:.55; cursor:not-allowed; }
/* Ai-Chatbot 更改頂部標題列顏色 */
.ai-chatbot-header { background-color: #f1c40f !important; } 
/* 更改開始對話按鈕顏色 */
.ai-chatbot-button { background-color: #f1c40f !important; }
/* 更改對話氣泡顏色 */
.ai-chatbot-message-user { background-color: #f1c40f !important; }

.ipage-hidden{
  display:none !important;
}
/* 隱藏  iPage imported readmore） */
.item-page hr#system-readmore{
  display:none !important;
}
/* category blog / blog list: hide iPage intro placeholder + readmore */
.view-category .items-row .ipage-hidden,
.view-category .blog-item .ipage-hidden,
.view-category .item-content .ipage-hidden,
.view-category .introtext .ipage-hidden,
.blog .ipage-hidden,
.blog-category .ipage-hidden {
  display: none !important;
}

/* if placeholder text still renders as plain text */
.view-category .items-row p:first-of-type,
.view-category .blog-item p:first-of-type,
.view-category .item-content p:first-of-type,
.blog .item-content p:first-of-type,
.blog-category .item-content p:first-of-type {
  display: none !important;
}

/* hide readmore hr in category/blog cards */
.view-category hr#system-readmore,
.blog hr#system-readmore,
.blog-category hr#system-readmore {
  display: none !important;
}

/* hide readmore link in category/blog cards */
.view-category .readmore,
.view-category p.readmore,
.blog .readmore,
.blog p.readmore,
.blog-category .readmore,
.blog-category p.readmore {
  display: none !important;
}
/* ===  Membership Pro -MP 綠色背景 FINAL REMOVE === */
body div#restricted_info{
  background:#fffdf7 !important;
  background-color:#fffdf7 !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
  height:auto !important;
}
/* ==================================
HU template - light gold polish
append bottom only
================================== */

/* 1) breadcrumb 灰底 -> light gold */
.breadcrumb,
.mod-breadcrumbs,
.breadcrumbs,
nav[aria-label="breadcrumb"] {
  background: #f3e3b7 !important;
  border: 1px solid #e2cc94 !important;
  color: #7a4c00 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.breadcrumb a,
.mod-breadcrumbs a,
.breadcrumbs a,
nav[aria-label="breadcrumb"] a {
  color: #8a5a00 !important;
}

/* 2) 左上橙色圓形 edit / action button -> light gold */
a.btn,
button.btn,
.btn-primary,
.btn-warning,
.btn-info,
.btn-edit,
.btn-floating,
.toolbar .btn,
[class*="edit"],
[class*="pencil"] {
  background: #e6c27a !important;
  border-color: #d7b061 !important;
  color: #6a4300 !important;
  box-shadow: none !important;
}

a.btn:hover,
button.btn:hover,
.btn-primary:hover,
.btn-warning:hover,
.btn-info:hover,
.btn-edit:hover,
.btn-floating:hover,
.toolbar .btn:hover {
  background: #dcb564 !important;
  border-color: #cfa552 !important;
  color: #5a3900 !important;
}

/* 3) 右上 user/profile 區塊 -> light gold */
.header-right .btn,
.header-right .dropdown-toggle,
.header-right .login,
.header-right .user,
.header-right .profile,
.header-right .profile-box,
.header-right .userbox,
.topbar .dropdown-toggle,
.topbar .user-menu,
.topbar .profile-menu {
  background: #f5e7c3 !important;
  border: 1px solid #e2cc94 !important;
  color: #6a4300 !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

/* 4) 藍色 user icon -> gold/brown */
.fa-user,
.fa-user-circle,
.fa-user-o,
.fa-user-plus,
.icon-user,
.glyphicon-user {
  color: #8a5a00 !important;
}

/* ==================================
FoodNo1 HU FINAL HARMONY OVERRIDE
Version: 20260420-1450
Notes: unified earth-gold polish for site-wide HU template
================================== */

/* Breadcrumb */
.breadcrumb,
.mod-breadcrumbs,
.breadcrumbs,
nav[aria-label="breadcrumb"] {
  background: #f4e7c4 !important;
  border: 1px solid #e2c98d !important;
  color: #7a5200 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.breadcrumb a,
.mod-breadcrumbs a,
.breadcrumbs a,
nav[aria-label="breadcrumb"] a {
  color: #8a5a00 !important;
}

/* Unified site buttons */
.btn,
.button,
a.btn,
a.button,
.fno1-cta,
.fno1-cta-main {
  background-color: #e0bf72 !important;
  border-color: #cfa552 !important;
  color: #5a3900 !important;
  border-radius: 999px;
  padding: 8px 20px;
  border-width: 1px;
  border-style: solid;
  transition: background 0.25s, border-color 0.25s;
}

.btn:hover,
.button:hover,
a.btn:hover,
a.button:hover,
.fno1-cta:hover,
.fno1-cta-main:hover {
  background-color: #d4b05d !important;
  border-color: #bf9540 !important;
  color: #4a2e00 !important;
}

/* Header / profile / user trigger */
.header-right .btn,
.header-right .dropdown-toggle,
.header-right .login,
.header-right .user,
.header-right .profile,
.header-right .profile-box,
.header-right .userbox,
.topbar .dropdown-toggle,
.topbar .user-menu,
.topbar .profile-menu {
  background: #f5e7c3 !important;
  border: 1px solid #e2cc94 !important;
  color: #6a4300 !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

/* User icon harmony */
.fa-user,
.fa-user-circle,
.fa-user-o,
.fa-user-plus,
.icon-user,
.glyphicon-user {
  color: #8a5a00 !important;
}

/* Android / mobile tighter side spacing */
@media (max-width: 480px) {
  #sp-main-body > .container,
  #sp-main-body > .container-fluid,
  .container,
  .container-fluid {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  #sp-main-body > .container,
  #sp-main-body > .container-fluid,
  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
/* =========================================================
   FoodNo1 Header Account UI R1
   Desktop: fixed「我的帳戶」
   Mobile: fixed account icon
   ========================================================= */

/* Common account button */
.sp-profile-wrapper {
    position: relative;
    flex: 0 0 auto;
}

.sp-profile-wrapper .sp-sign-in {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #e4d3a0;
    border-radius: 12px;
    background: #fffaf0;
    color: #a85b00 !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-sizing: border-box;
}

.sp-profile-wrapper .sp-sign-in:hover,
.sp-profile-wrapper .sp-sign-in:focus {
    border-color: #d8b55c;
    background: #fff4d5;
    color: #884800 !important;
}

/* Dropdown always opens inward, not outside screen */
.sp-profile-wrapper .sp-profile-dropdown {
    left: auto !important;
    right: 0 !important;
    min-width: 155px !important;
    max-width: 220px;
    z-index: 10050 !important;
}

/* =========================================================
   Large desktop
   ========================================================= */

@media (min-width: 1200px) {
    .header-modules .sp-profile-wrapper .sp-sign-in {
        width: 112px;
        min-width: 112px;
        max-width: 112px;
    }

    /* Hide actual username but keep stable account label */
    .header-modules .sp-profile-wrapper .user-text {
        display: inline-block !important;
        width: auto;
        overflow: hidden;
        font-size: 0 !important;
        line-height: 1;
    }

    .header-modules .sp-profile-wrapper .user-text::after {
        content: "我的帳戶";
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
    }
}

/* =========================================================
   Smaller desktop / tablet
   Keep compact so main menu does not break into two lines
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-modules .sp-profile-wrapper .sp-sign-in {
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .header-modules .sp-profile-wrapper .user-text {
        display: none !important;
    }

    .header-modules .sp-profile-wrapper .arrow-icon {
        font-size: 10px;
    }
}

/* =========================================================
   Mobile off-canvas
   Fixed icon width; prevent clipping at far right
   ========================================================= */

@media (max-width: 991.98px) {
    .offcanvas-menu .sp-profile-wrapper {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        flex: 0 0 48px !important;
        margin-left: 8px;
        margin-right: 0;
    }

    .offcanvas-menu .sp-profile-wrapper .sp-sign-in {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 48px;
        padding: 0 !important;
        gap: 3px;
        overflow: visible;
    }

    .offcanvas-menu .sp-profile-wrapper .user-text {
        display: none !important;
    }

    .offcanvas-menu .sp-profile-wrapper .sp-sign-in .fa-user-circle {
        font-size: 16px;
    }

    .offcanvas-menu .sp-profile-wrapper .arrow-icon {
        font-size: 10px;
    }

    .offcanvas-menu .sp-profile-wrapper .sp-profile-dropdown {
        left: auto !important;
        right: 0 !important;
        top: calc(100% + 4px) !important;
        min-width: 155px !important;
    }
}
/* MealChat promotional banner */
a:has(img[src*="mcban2026082301.webp"]) {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

img[src*="mcban2026082301.webp"] {
    display: inline-block !important;
    width: 380px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}
/* FoodNo1 desktop top menu — remove dropdown arrows to save horizontal space */
.sp-megamenu-parent > li.sp-has-child > a::after,
.sp-megamenu-parent > li.sp-has-child > span::after {
    content: none !important;
    display: none !important;
    margin: 0 !important;
}
/* =========================================================
   FoodNo1 Offcanvas COMPACT SPACING FINAL
   Safe spacing only — Helix native open/close geometry retained
   ========================================================= */
@media (max-width: 991.98px) {

  /* 1. Logo + X 最頂一行：拿走 Bootstrap p-3 / pt-4 大 padding */
  .offcanvas-menu > .d-flex.align-items-center.justify-content-between.p-3.pt-4 {
      padding: 5px 12px !important;
      margin: 0 !important;
      min-height: 52px !important;
  }

  /* 2. Logo 下方不要再額外推低內容 */
  .offcanvas-menu > .offcanvas-inner {
      top: 0 !important;
      margin-top: 0 !important;
      padding-top: 0 !important;
  }

  /* 3. Search + Login icon 那一行下面原本 mb-3 太大 */
  .offcanvas-menu .header-modules.mb-3 {
      margin-top: 0 !important;
      margin-bottom: 4px !important;
      padding: 0 !important;
      gap: 6px !important;
      align-items: center !important;
  }

  /* 4. Header modules 自己不要上下 padding */
  .offcanvas-menu .header-modules .sp-module {
      margin: 0 !important;
      padding: 0 !important;
      min-height: 0 !important;
  }

  /* 5. Login/person icon 被全站 menu link CSS 撐高，壓返細 */
  .offcanvas-menu .header-modules .sp-sign-in {
      padding: 6px 10px !important;
      margin: 0 !important;
      min-height: 38px !important;
      line-height: 26px !important;
      border-bottom: 0 !important;
  }

  /* 6. Search row 亦不要上下留白 */
  .offcanvas-menu .header-modules input,
  .offcanvas-menu .header-modules form {
      margin-top: 0 !important;
      margin-bottom: 0 !important;
  }
}

/* =========================================================
   FoodNo1 3Meals Hub FINAL v2.0 — WOW front-door layout
   2026-09-08 Toronto
   Asset: /images/fno1/3meals-deco-69k.webp
   ========================================================= */
.fno1-3mhub-final{
  --hub-cream:#fffaf0;
  --hub-paper:#fffdf8;
  --hub-gold:#d7a52c;
  --hub-gold2:#efcf75;
  --hub-brown:#5a3308;
  --hub-text:#2f2a23;
  --hub-muted:#746b5f;
  --hub-line:#eadfca;
  --hub-shadow:0 10px 28px rgba(88,61,20,.11);
  max-width:1080px;
  margin:0 auto;
  padding:8px 10px 14px;
  color:var(--hub-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",Arial,sans-serif;
}
.fno1-3mhub-final *{box-sizing:border-box}
.fno1-3mhub-final a{color:inherit!important;text-decoration:none!important}
.fno1-3mhub-final .hub-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* HERO — uses the actual supplied FoodNo1 3Meals artwork */
.fno1-3mhub-final .hub-hero{
  position:relative;
  overflow:hidden;
  border:1px solid #e5d1aa;
  border-radius:22px;
  box-shadow:var(--hub-shadow);
  background:#f7edd4;
}
.fno1-3mhub-final .hub-hero-img{
  display:block;
  width:100%;
  height:340px;
  object-fit:cover;
  object-position:center 53%;
}
.fno1-3mhub-final .hub-mobile-label{display:none}

/* 3M stars — slightly overlap the hero like the approved WOW mockup */
.fno1-3mhub-final .core-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding:0 12px;
  margin-top:-22px;
  position:relative;
  z-index:3;
}
.fno1-3mhub-final .core-card{
  min-width:0;
  min-height:198px;
  border:1px solid rgba(224,202,160,.96);
  border-radius:18px;
  padding:16px 10px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(86,61,24,.12);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  background-color:rgba(255,253,247,.94);
  background-image:linear-gradient(rgba(255,253,247,.86),rgba(255,250,240,.93)),url('/images/fno1/3meals-deco-69k.webp');
  background-repeat:no-repeat;
  background-size:auto,225%;
}
.fno1-3mhub-final .core-mealchat{background-position:center,8% 100%}
.fno1-3mhub-final .core-match{background-position:center,50% 100%}
.fno1-3mhub-final .core-balance{background-position:center,92% 100%}
.fno1-3mhub-final .core-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(86,61,24,.17);border-color:#d9b657}
.fno1-3mhub-final .core-card:focus-visible,.fno1-3mhub-final .tool-card:focus-visible{outline:3px solid rgba(215,165,44,.34);outline-offset:2px}
.fno1-3mhub-final .core-icon{width:88px;height:88px;display:flex;align-items:center;justify-content:center;margin-bottom:5px}
.fno1-3mhub-final .core-icon img{width:84px;height:84px;object-fit:contain;background:transparent!important;border-radius:0!important;box-shadow:none!important}
.fno1-3mhub-final .core-icon svg{width:64px;height:64px;display:block}
.fno1-3mhub-final .core-name{font-size:17px;font-weight:850;line-height:1.2;color:#352617}
.fno1-3mhub-final .core-en{margin-top:2px;font-size:12px;font-weight:750;color:#5e574f}
.fno1-3mhub-final .core-desc{margin-top:7px;font-size:12px;line-height:1.3;color:#695946;min-height:31px}
.fno1-3mhub-final .go{position:absolute;right:10px;bottom:10px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f3df9e;color:#9b6500;font-size:21px;font-weight:900;box-shadow:0 2px 7px rgba(118,78,8,.12)}

/* HUB TOOLS — launcher, not forum table */
.fno1-3mhub-final .section-title{margin:22px 3px 10px;color:#713d08;font-size:20px;font-weight:850;letter-spacing:.01em}
.fno1-3mhub-final .section-title small{display:block;margin-top:1px;color:#aa8652;font-size:9px;font-weight:700;letter-spacing:.22em;text-transform:uppercase}
.fno1-3mhub-final .tools-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.fno1-3mhub-final .tool-card{
  min-height:118px;
  background:#fffdf9;
  border:1px solid var(--hub-line);
  border-radius:15px;
  padding:13px 8px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
  position:relative;
  box-shadow:0 5px 16px rgba(92,66,26,.065);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.fno1-3mhub-final .tool-card:hover{transform:translateY(-2px);box-shadow:0 10px 23px rgba(92,66,26,.12);border-color:#dfbd70}
.fno1-3mhub-final .tool-icon{width:42px;height:42px;border-radius:13px;background:#fff1c8;display:flex;align-items:center;justify-content:center;color:#d58d06}
.fno1-3mhub-final .tool-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fno1-3mhub-final .tool-name{display:block;font-size:14px;font-weight:850;color:#44321e}
.fno1-3mhub-final .tool-desc{display:block;margin-top:4px;font-size:10.5px;line-height:1.25;color:#7a7064}
.fno1-3mhub-final .tool-go{position:absolute;right:8px;bottom:6px;color:#c88713;font-size:21px;font-weight:850}

/* Small FoodNo1 atmosphere finish; no fake topics/search content */
.fno1-3mhub-final .hub-finish{
  margin-top:15px;
  min-height:66px;
  border:1px solid #ead7b3;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:10px 16px;
  color:#704313;
  font-size:12px;
  background-image:linear-gradient(90deg,rgba(255,250,237,.87),rgba(255,250,237,.70),rgba(255,250,237,.88)),url('/images/fno1/3meals-deco-69k.webp');
  background-size:auto,150%;
  background-position:center,center 88%;
  box-shadow:0 4px 14px rgba(92,66,26,.05);
}
.fno1-3mhub-final .hub-finish strong{color:#603507}

@media(max-width:640px){
  .fno1-3mhub-final{padding:4px 4px 10px}
  .fno1-3mhub-final .hub-hero{border-radius:14px}
  .fno1-3mhub-final .hub-hero-img{height:122px;object-position:center 88%;transform:scale(1.03)}
  .fno1-3mhub-final .hub-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,250,239,.12),rgba(255,250,239,.03),rgba(255,250,239,.14));pointer-events:none}
  .fno1-3mhub-final .hub-mobile-label{display:block;position:absolute;z-index:2;left:10px;top:10px;padding:7px 10px;border-radius:10px;background:rgba(255,253,247,.88);box-shadow:0 3px 10px rgba(72,48,16,.10);color:#593108;line-height:1.05}
  .fno1-3mhub-final .hub-mobile-label strong{display:block;font-size:22px;font-weight:900;letter-spacing:.03em}
  .fno1-3mhub-final .hub-mobile-label small{display:block;margin-top:4px;font-size:10.5px;font-weight:800;color:#875d23}

  .fno1-3mhub-final .core-grid{gap:6px;padding:0 3px;margin-top:-8px}
  .fno1-3mhub-final .core-card{min-height:148px;border-radius:13px;padding:8px 3px 7px;background-size:auto,300%}
  .fno1-3mhub-final .core-icon{width:62px;height:62px;margin-bottom:2px}
  .fno1-3mhub-final .core-icon img{width:61px;height:61px}
  .fno1-3mhub-final .core-icon svg{width:48px;height:48px}
  .fno1-3mhub-final .core-name{font-size:12.3px}.fno1-3mhub-final .core-en{font-size:9.4px}
  .fno1-3mhub-final .core-desc{font-size:8.9px;margin-top:4px;min-height:22px}.fno1-3mhub-final .go{width:20px;height:20px;right:4px;bottom:4px;font-size:13px}

  .fno1-3mhub-final .section-title{font-size:15px;margin:12px 2px 7px}
  .fno1-3mhub-final .section-title small{display:none}
  .fno1-3mhub-final .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .fno1-3mhub-final .tool-card{min-height:62px;padding:7px 8px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:7px}
  .fno1-3mhub-final .tool-icon{width:30px;height:30px;flex:0 0 30px;border-radius:9px}.fno1-3mhub-final .tool-icon svg{width:18px;height:18px}
  .fno1-3mhub-final .tool-name{font-size:12px}.fno1-3mhub-final .tool-desc{font-size:8.8px}.fno1-3mhub-final .tool-copy{padding-right:12px}
  .fno1-3mhub-final .tool-go{right:7px;bottom:auto;top:50%;transform:translateY(-50%);font-size:18px}
  .fno1-3mhub-final .tool-login{grid-column:1/-1}
  .fno1-3mhub-final .hub-finish{display:none}
}

/* Mobile offcanvas: preserve Helix native geometry; only highlight 3Meals Hub link. */
@media(max-width:991.98px){
  .offcanvas-menu ul.menu > li:has(a[href*="3meals"]) { margin:4px 0 7px!important; }
  .offcanvas-menu ul.menu > li > a[href*="3meals"] {
    display:flex!important;align-items:center!important;min-height:46px!important;padding:9px 13px!important;
    border:1px solid #dfbd70!important;border-radius:11px!important;background:linear-gradient(90deg,#fff8df,#f5e2a9)!important;
    color:#65420e!important;font-weight:700!important;
  }
  .offcanvas-menu ul.menu > li > a[href*="3meals"]::after{content:"›"!important;margin-left:auto!important;font-size:23px!important;color:#b37a13!important}
}
/* FoodNo1 - Mobile Offcanvas search/login overflow fix */
@media (max-width: 991.98px) {

    .offcanvas-menu .offcanvas-inner .sp-module {
        max-width: 100%;
        box-sizing: border-box;
    }

    .offcanvas-menu input,
    .offcanvas-menu .form-control {
        max-width: 100%;
        box-sizing: border-box;
    }

    .offcanvas-menu .row {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
/* FoodNo1 Mobile Offcanvas - KEEP */
body .offcanvas-menu.border-menu {
    background: #f7f3de !important;
}


/* =========================================================
   FoodNo1 LIVE Mobile Offcanvas CLEAN
   Date: 2026-09-26
   Status: QA CANDIDATE
   Action:
   - Helix native offcanvas geometry restored
   - light-gold offcanvas background retained
   - safe compact spacing retained
   - search/login containment retained
   - page/article overflow clipping workaround removed
   ========================================================= */
