/* สร้างจาก "Wolffia Plus · หน้าแรก (พรีวิว)/css/wp-breadcrumb.css" (พ.ย. 2569) — ธีม Next */
/* Wolffia Plus — shared breadcrumb (all inner pages)
   Markup:
   <nav class="wp-bc" aria-label="Breadcrumb">
     <ol>
       <li><a href="index.html">หน้าแรก</a></li>
       <li><span aria-current="page">ชื่อหน้าปัจจุบัน</span></li>
     </ol>
   </nav>
   followed directly by the page-header <section>.
   The navbar offset (--wp-nav-bottom) stays in each page's #wp-subpage-spacing block. */

:root{
  --wp-content-max:1200px;                 /* same content width as the page sections */
  --wp-gutter:clamp(20px,5vw,56px);        /* same side padding as the page sections */
  --wp-bc-gap:36px;                        /* navbar -> breadcrumb */
  --wp-bc-h1:32px;                         /* breadcrumb -> page header (eyebrow) */
  --wp-bc-link:#5F6A5C;                    /* previous pages: 5.4:1 on #F7FAF4 */
  --wp-bc-current:#1E4A2E;                 /* current page: brand dark green */
  --wp-bc-sep:#9AA595;
}
@media (max-width:1023px){:root{--wp-bc-gap:28px;--wp-bc-h1:26px;}}
@media (max-width:767px){:root{--wp-bc-gap:22px;--wp-bc-h1:22px;}}

/* nav.wp-bc beats the mobile-menu script's generic `nav{padding;min-height}` rule meant for the main navbar */
nav.wp-bc{display:block;padding:var(--wp-bc-gap) var(--wp-gutter) 0 !important;min-height:0 !important;background:none;font-size:14px;line-height:1.5;}
.wp-bc ol{max-width:var(--wp-content-max);margin:0 auto;padding:0;list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;}
.wp-bc li{display:inline-flex;align-items:center;gap:8px;min-width:0;font-weight:500;color:var(--wp-bc-link);}
.wp-bc li + li::before{content:"/";content:"/" / "";color:var(--wp-bc-sep);font-weight:400;}
.wp-bc a{display:inline-flex;align-items:center;min-height:24px;color:var(--wp-bc-link);text-decoration:none;white-space:nowrap;}
.wp-bc a:hover{color:var(--wp-bc-current);text-decoration:underline;text-underline-offset:3px;}
.wp-bc a:focus-visible{outline:3px solid #8CAA5E;outline-offset:2px;border-radius:4px;}
.wp-bc [aria-current="page"]{color:var(--wp-bc-current);font-weight:600;overflow-wrap:anywhere;}
/* page header directly under the breadcrumb */
.wp-bc + section{padding-top:var(--wp-bc-h1) !important;}
@media (max-width:767px){nav.wp-bc{font-size:13.5px;}}

/* ธีม Next: พื้นหลังหน้าย่อยให้ต่อเนื่องตั้งแต่ใต้ navbar (เหมือนพรีวิว) */
body:has(.wpn-page){background:#F7FAF4}
.wpn-page{background:#F7FAF4}
