/* Menu Barn — isolated from header, footer and homepage. */
.b40mb{width:100%;max-width:none!important;background:#f2e4d2;color:#382014;box-sizing:border-box}
.b40mb *{box-sizing:border-box}
.b40mb-hero{text-align:center;padding:45px 24px 28px;background:radial-gradient(ellipse,#fff5e4,#e8d4b5)}
.b40mb-hero h2{font:800 clamp(1.7rem,3.5vw,2.9rem)/1.15 Georgia,'Roboto Slab',serif;margin:12px auto;color:#25150e}
.b40mb-hero p{max-width:740px;margin:12px auto;font-size:1.05rem;line-height:1.6}
.b40mb-kicker,.b40mb-label{font-size:.72rem;font-weight:800;letter-spacing:.16em}
.b40mb-inner{max-width:1200px;margin:auto;padding:26px clamp(20px,5vw,68px) 75px}
.b40mb-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;gap:7px;margin:0 auto 25px}
.b40mb-tab{font:800 .79rem/1.3 Georgia,'Roboto Slab',serif;min-height:54px;color:#f9edda!important;cursor:pointer;border:3px solid #8b562e;border-radius:8px;padding:12px 5px;background:repeating-linear-gradient(0deg,#3a2215,#51311c 8px,#2d190f 11px,#674123 22px);box-shadow:inset 0 0 0 2px #24150c,0 5px 0 #1c100a;transition:transform .14s,box-shadow .14s}
.b40mb-tab:hover,.b40mb-tab[aria-selected="true"]{color:#fff2d7!important;background:linear-gradient(180deg,#956039,#61361c);border-color:#dc9e59;transform:translateY(-2px)}
.b40mb-tab:focus-visible,.b40mb-quote:focus-visible{outline:3px solid #f8aa51;outline-offset:4px}
.b40mb-panel{margin:0 0 18px}.b40mb[data-b40-ready] .b40mb-panel[hidden]{display:none!important}
.b40mb-board{background:#24150e;color:#f9edd8;border:12px ridge #83502b;box-shadow:9px 10px 0 #38201424;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:28px;align-items:center;padding:clamp(18px,3vw,38px);border-radius:5px}
.b40mb-label{color:#e4ae74;margin:0 0 10px}.b40mb-board h3{font:800 clamp(1.65rem,3.4vw,2.8rem)/1.12 Georgia,'Roboto Slab',serif;color:#f4dfba;margin:0 0 14px}
.b40mb-description{color:#edddc8;line-height:1.6;margin:0 0 20px}
.b40mb-items{list-style:none!important;padding:0!important;margin:0!important;columns:2;column-gap:24px}
.b40mb-items li{break-inside:avoid;padding:8px 0 9px 18px;position:relative;border-bottom:1px solid #916a493b;font-size:1rem;line-height:1.35}
.b40mb-items li:before{content:'✦';position:absolute;left:0;color:#d99b56}.b40mb-items li small{display:block;color:#e1bc92;font-size:.86rem;line-height:1.5;margin-top:4px}
.b40mb-board figure{margin:0;border:7px ridge #91572d;overflow:hidden;max-width:100%}.b40mb-board img{width:100%;height:360px;object-fit:cover;display:block}
.b40mb-details{margin-top:42px;padding:26px 32px;background:#ffefda;border:1px solid #c49b73;border-radius:5px}
.b40mb-details h3,.b40mb-cta h3{font:800 clamp(1.5rem,2.7vw,2.2rem)/1.2 Georgia,'Roboto Slab',serif;color:#25150e;margin:0 0 15px}
.b40mb-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px}.b40mb-detail-grid p{font-size:.95rem;line-height:1.55;margin:7px 0}
.b40mb-cta{text-align:center;margin-top:35px;padding:33px 22px;background:#e8d4b5;border:1px solid #ad7c50}.b40mb-cta p{margin:0 auto 23px;max-width:640px}
.b40mb-quote{display:inline-block;padding:16px 27px;color:#fff9ee!important;background:#85502b;text-transform:uppercase;text-decoration:none!important;font-weight:800;letter-spacing:.03em;border:2px solid #c17a43;border-radius:5px}.b40mb-quote:hover{background:#5b3019;color:#fff!important}
@media(max-width:1080px){.b40mb-tabs{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;padding:5px 2px 12px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.b40mb-tab{flex:0 0 158px;scroll-snap-align:start;font-size:.84rem}.b40mb-tabs::-webkit-scrollbar{height:6px}.b40mb-tabs::-webkit-scrollbar-thumb{background:#956039;border-radius:10px}}
@media(max-width:860px){.b40mb-board{grid-template-columns:1fr}.b40mb-board img{height:300px}.b40mb-items{columns:2}}
@media(max-width:580px){.b40mb-inner{padding:20px 18px 46px}.b40mb-tabs{gap:8px;display:flex;flex-wrap:nowrap;overflow-x:auto}.b40mb-tab{font-size:.82rem;padding:10px 7px}.b40mb-board{border-width:7px;padding:17px}.b40mb-items{columns:1}.b40mb-board img{height:230px}.b40mb-detail-grid{grid-template-columns:1fr}.b40mb-details{padding:20px}}
@media(prefers-reduced-motion:reduce){.b40mb-tab{transition:none}}

/* V2.5 — Back Forty mini burned-wood sign tabs. Keep real tab labels selectable and accessible. */
.b40mb .b40mb-tabs{grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(4px,.65vw,10px);align-items:stretch}
.b40mb .b40mb-tab{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:66px;padding:11px 14px;font-family:Georgia,'Roboto Slab',serif;font-size:clamp(.68rem,.9vw,.94rem);font-weight:900;line-height:1.12;letter-spacing:.02em;text-align:center;text-transform:uppercase;color:#fff4df!important;text-shadow:0 1px 0 rgba(45,18,6,.92),0 2px 3px rgba(20,8,2,.85);white-space:normal;overflow-wrap:anywhere;background-color:#9d5927;background-image:linear-gradient(180deg,rgba(45,18,6,.18),rgba(38,15,5,.18)),linear-gradient(180deg,rgba(255,214,154,.18),rgba(0,0,0,.14)),url('menu-tab-wood.webp');background-size:auto,auto,100% 100%;background-position:center;border:3px solid #321407;border-radius:9px;box-shadow:inset 0 0 0 1px #d89454,inset 0 4px 6px rgba(255,213,154,.16),inset 0 -6px 8px rgba(26,9,2,.42),0 4px 0 #200e07,0 8px 11px rgba(42,20,9,.32);transition:transform .18s,filter .18s,box-shadow .18s}
.b40mb .b40mb-tab::before,.b40mb .b40mb-tab::after{content:'';position:absolute;top:50%;width:8px;height:8px;z-index:1;transform:translateY(-50%);border-radius:50%;background:radial-gradient(circle at 32% 30%,#bd966f 0 10%,#5d3a25 35%,#170d09 75%);box-shadow:0 0 0 1px #7b4425;pointer-events:none}
.b40mb .b40mb-tab::before{left:3px}.b40mb .b40mb-tab::after{right:3px}
.b40mb .b40mb-tab:hover{color:#fff8ec!important;transform:translateY(-2px);filter:brightness(1.08);box-shadow:inset 0 0 0 1px #f0bf7c,inset 0 -5px 8px rgba(26,9,2,.4),0 6px 0 #200e07,0 10px 15px rgba(42,20,9,.35)}
.b40mb .b40mb-tab[aria-selected='true']{color:#fff8ea!important;text-shadow:0 1px 0 rgba(18,6,2,.96),0 2px 4px rgba(0,0,0,.9);filter:saturate(.95) brightness(.78);border-color:#e8ae6d;transform:translateY(2px);box-shadow:inset 0 0 0 2px #e7a35d,inset 0 8px 15px rgba(0,0,0,.48),0 2px 0 #190a03}
.b40mb .b40mb-tab[aria-selected='true']:hover{transform:translateY(1px);filter:saturate(.95) brightness(.83)}
.b40mb .b40mb-tab:focus-visible{outline:3px solid #f7c06a!important;outline-offset:4px}
@media(max-width:1080px){.b40mb .b40mb-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:9px;padding:5px 3px 14px}.b40mb .b40mb-tab{flex:0 0 154px;font-size:.84rem;white-space:normal}}
@media(prefers-reduced-motion:reduce){.b40mb .b40mb-tab{transition:none}}


/* V2.7 high-contrast tab labels; opaque backing ensures legibility on any woodgrain. */
.b40mb .b40mb-tab { color:#fff9ee!important; font-size:clamp(.69rem,.88vw,.92rem); }
.b40mb .b40mb-tab-label {
  position:relative;z-index:2;display:flex;align-items:center;justify-content:center;
  width:100%;min-height:36px;padding:5px 3px;
  color:#fff9ee!important;background:rgba(31,14,7,.92);
  border:1px solid rgba(238,177,103,.72);border-radius:3px;
  box-shadow:0 1px 4px rgba(0,0,0,.55);
  text-shadow:0 1px 2px #000;
  font-weight:900;line-height:1.2;
}
.b40mb .b40mb-tab:hover .b40mb-tab-label,
.b40mb .b40mb-tab[aria-selected="true"] .b40mb-tab-label {
  color:#fff!important;background:#2b1209;border-color:#f4cb8a;
}
@media(max-width:1080px){.b40mb .b40mb-tab{font-size:.9rem}}

/* V2.8 — logo-matched bright wood boards; true dark burned lettering. */
.b40mb .b40mb-tabs { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:clamp(4px,.65vw,10px); }
.b40mb .b40mb-tabs .b40mb-tab {
 background: #e8aa64 url('menu-tab-wood-readable.webp') center / 100% 100% no-repeat !important;
 color:#1c0d07 !important; text-shadow:0 1px 0 rgba(255,217,160,.58) !important;
 font:900 clamp(.68rem,.9vw,.94rem)/1.18 Georgia,'Roboto Slab',serif !important;
 letter-spacing:0 !important; min-height:70px; padding:9px 13px;
 border:3px solid #3a1a0b; box-shadow:inset 0 0 0 1px #d69857,0 4px 0 #251309,0 7px 12px #25130955;
 filter:none !important; opacity:1 !important;
}
.b40mb .b40mb-tabs .b40mb-tab .b40mb-tab-label {
 position:relative;z-index:2;display:block; padding:5px 0;
 background:rgba(246,197,132,.77);border-radius:2px;
 color:#1c0d07!important;text-shadow:0 1px 0 rgba(255,232,185,.5)!important;
 -webkit-text-fill-color:#1c0d07!important;
}
.b40mb .b40mb-tabs .b40mb-tab:hover {transform:translateY(-2px);filter:brightness(1.05)!important;}
.b40mb .b40mb-tabs .b40mb-tab[aria-selected='true'] {
 border-color:#efc078; transform:translateY(2px);filter:none!important;
 box-shadow:inset 0 0 0 2px #6b3417,inset 0 4px 9px #30140680,0 2px 0 #251309;
}
.b40mb .b40mb-tabs .b40mb-tab[aria-selected='true'] .b40mb-tab-label {
 background:rgba(255,220,156,.94);box-shadow:inset 0 0 0 1px #70432233;
}
.b40mb .b40mb-quote {background:#c78242 url('menu-tab-wood-readable.webp') center/100% 100% no-repeat!important;color:#1c0d07!important;text-shadow:0 1px 0 #f4c58b;
 border:3px solid #31180c;box-shadow:0 4px 0 #231008,0 7px 13px #2310084d;min-height:58px;font-family:Georgia,'Roboto Slab',serif;font-weight:900;}
.b40mb .b40mb-quote:hover {filter:brightness(1.05);color:#1c0d07!important;}
@media(max-width:1080px){.b40mb .b40mb-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto}.b40mb .b40mb-tabs .b40mb-tab{flex:0 0 154px}}

/* V2.9 — approved branded board for Menu Barn quote link. */
.b40mb .b40mb-quote,
.b40mb .b40mb-quote:hover,
.b40mb .b40mb-quote:focus-visible{
 background:transparent url('branded-quote-v29.webp') center / contain no-repeat!important;
 background-color:transparent!important;
 border:0!important;box-shadow:none!important;
 width:min(440px,100%);height:clamp(76px,10vw,126px);min-height:76px;
 padding:0!important;display:inline-flex;align-items:center;justify-content:center;
 color:transparent!important;-webkit-text-fill-color:transparent!important;
 font-size:0!important;line-height:0!important;text-shadow:none!important;
}
.b40mb .b40mb-quote:focus-visible{outline:3px solid #f7c06a!important;outline-offset:3px}
