/* newfoundlandart.com design B, "Clothesline" (chosen 19 Oct 2026). Loaded after
   css/nla.css when nla_theme_b() is on (lib/nla_layout.php): it re-points nla.css's
   colour and font variables at the logo's colours (blue #1361aa, orange #f2801c,
   magenta #ca529c), so every page follows, then adds the B header, the
   clothesline homepage (nla_home_b.php), the studio-visit band and /visit. */
body.nla-b {
  --ink: #1f2a33; --muted: #55606a; --navy: #1361aa; --sea: #1361aa; --ice: #e7eff7; --fog: #ecebe4;
  --line: #d6d8d2; --red: #d9690a; --yellow: #f2801c; --blue: #1361aa; --purple: #ca529c; --mag: #ca529c; --orange: #f2801c; --orange-t: #d9690a;
  --radius: 2px; --shadow: 0 6px 16px rgba(0, 0, 0, .14);
  --serif: "Alfa Slab One", Georgia, serif; --sans: "Lora", Georgia, "Times New Roman", serif;
  background-color: var(--fog);
  background-image: radial-gradient(rgba(19, 97, 170, .06) 1px, transparent 1px); background-size: 6px 6px;
}
/* Alfa Slab One has one weight; anything asking for 600 would be faked bold. */
.nla-b h1, .nla-b h2, .nla-b h3, .nla-b .nla-sec h2, .nla-b .nla-results-head h1, .nla-b .nla-card span, .nla-b .nla-artist b, .nla-b .nla-foot h4 { font-weight: 400 !important; }
.nla-b.nla-skin h1 { font-weight: 400 !important; }
.nla-b .nla-skin h2, .nla-b.nla-skin h2, .nla-b.nla-skin h3 { font-weight: 400 !important; }

/* ---------- header ---------- */
.nla-b .nla-bar { background: var(--navy); }
.nla-b .nla-bar b { color: #ffd2a8 !important; }
.nla-b .nla-head { background: #f7f6f1; border-bottom: 6px solid var(--navy); }
.nla-b .nla-head .nla-wrap { gap: 14px; min-height: 74px; white-space: nowrap; }
.nla-b .nla-logo img { height: 52px; }
.nla-b .nla-nav { flex-shrink: 0; flex-wrap: nowrap; white-space: nowrap; }
.nla-b .nla-nav > * { flex-shrink: 0; }
.nla-b .nla-nav > a, .nla-b .nla-dd > button { font: 600 15px/1 var(--sans); color: var(--navy); padding: 10px 9px; border-radius: 2px; }
.nla-b .nla-nav > a.nlb-new { color: var(--mag); display: inline-flex; align-items: center; gap: 6px; }
.nla-b .nla-nav > a.nlb-new::before, .nlb-row a.nlb-new::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.nla-b .nla-nav > a.nlb-visit-link { color: var(--orange-t); }
.nla-b .nla-search { max-width: 250px; min-width: 150px; }
.nla-b .nla-search input { display: block; margin: 0; border: 2px solid var(--navy); border-radius: 0; background: #fff; height: 42px; padding-right: 48px; font-family: var(--sans); }
.nla-b .nla-search button { margin: 0; right: 0; top: 0; width: 42px; height: 42px; border-radius: 0; background: var(--orange-t); }
.nla-b .nla-icons a, .nla-b .nla-acct > button { color: var(--navy); }
.nla-b .nlb-cart { display: inline-flex; align-items: center; gap: 6px; }
.nla-b .nla-dd-menu { border-radius: 2px; border: 2px solid var(--navy); }
.nla-b .nla-burger { color: var(--navy); }
/* phones: a single line of the main links under the header */
.nlb-row { display: none; }
@media (max-width: 1180px) { .nla-b .nla-search { max-width: 190px; } .nla-b .nla-logo img { height: 44px; } }
@media (max-width: 1060px) { .nla-b .nla-nav a.nlb-map { display: none; } }
@media (max-width: 960px) {
  .nla-b .nla-search { max-width: none; }
  .nlb-row { display: flex; gap: 2px; padding: 6px 12px 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; background: #f7f6f1; }
  .nlb-row::-webkit-scrollbar { display: none; }
  .nlb-row a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; color: var(--navy); font: 600 14px var(--sans); text-decoration: none; }
  .nlb-row a.nlb-new { background: var(--mag); color: #fff; border-radius: 999px; padding: 0 14px; }
  .nla-b .nla-head.menu .nla-nav { white-space: normal; }
}
@media (max-width: 560px) {
  .nla-b .nla-logo img { height: 40px; }
  .nla-b .nla-head .nla-wrap { min-height: 0; }
}

/* ---------- shared pieces in B colours ---------- */
.nla-b .nla-sec h2, .nla-b .nla-results-head h1 { color: var(--navy); }
.nla-b .nla-tile { border: 0; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .08); }
.nla-b .nla-tile .im { background: #f3f1ea; }
.nla-b .nla-tile .pr b { color: var(--orange-t); }
.nla-b .nla-filters, .nla-b .nla-empty { border-radius: 2px; }
.nla-b .nla-filters a.on { background: var(--navy); }
.nla-b .nla-active a { border-radius: 2px; }
.nla-b .nla-loadmore { border-radius: 0; border-width: 2px; }
.nla-b .nla-trust { background: var(--navy); }
.nla-b .nla-trust b { color: #ffd2a8; }

/* ---------- homepage (nla_home_b.php) ---------- */
.nlb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.nlb-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 30px 0 0; }
.nlb-hero h1 { font: 400 clamp(32px, 5vw, 54px)/1.05 var(--serif); color: var(--navy); margin: 0; }
.nlb-hero h1 span { color: var(--orange-t); }
.nlb-hero p { margin: 12px 0 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; max-width: 720px; }
.nlb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; background: var(--navy); color: #fff !important;
  font: 600 16px var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.nlb-btn:hover { background: #0d4e8c; }
.nlb-btn.orange { background: var(--orange-t); }
.nlb-btn.orange:hover { background: #b9590a; }
.nlb-btn.light { background: #fff; color: var(--navy) !important; }
@media (max-width: 560px) { .nlb-hero .hide-sm { display: none; } }

/* the clothesline */
.nlb-line { position: relative; margin: 14px 0 0; padding: 34px 0 0; overflow: hidden; }
.nlb-line .pegs { padding-bottom: 6px; }
.nlb-line svg.rope { position: absolute; left: 0; top: 0; width: 100%; height: 90px; }
.nlb-line .pegs { position: relative; display: flex; justify-content: space-around; align-items: flex-start; gap: 14px; padding: 0 3%; }
.nlb-peg { position: relative; display: block; text-decoration: none; color: var(--ink); flex: 0 1 auto; transform-origin: top center; }
.nlb-peg::before, .nlb-peg::after { content: ""; position: absolute; top: -13px; width: 8px; height: 25px; background: #c9a77a; border-radius: 2px; z-index: 1; }
.nlb-peg::before { left: 20%; } .nlb-peg::after { right: 20%; }
.nlb-peg .ph { background: #fff; padding: 7px; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); transition: transform .25s; }
.nlb-peg:hover .ph { transform: translateY(4px); }
.nlb-peg img { display: block; height: 100%; width: auto; max-width: none; }
.nlb-peg .cap { width: 0; min-width: 100%; font-size: 14px; font-style: italic; margin-top: 7px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nlb-peg .cap b { font-style: normal; color: var(--orange-t); font-weight: 600; }
.nlb-peg:nth-child(1) { transform: rotate(-3deg); } .nlb-peg:nth-child(2) { transform: rotate(1.5deg); margin-top: 18px; }
.nlb-peg:nth-child(3) { transform: rotate(-.5deg); margin-top: 28px; } .nlb-peg:nth-child(4) { transform: rotate(2deg); margin-top: 18px; }
.nlb-peg:nth-child(5) { transform: rotate(3.5deg); }
.nlb-peg .ph { height: 190px; }
.nlb-peg .ph > img { height: 176px; }
@media (max-width: 900px) { .nlb-peg:nth-child(n+4) { display: none; } .nlb-peg .ph { height: 150px; } .nlb-peg .ph > img { height: 136px; } }
@media (max-width: 520px) {
  .nlb-line .pegs { gap: 6px; padding: 0 2%; }
  .nlb-peg .ph { height: 112px; padding: 5px; } .nlb-peg .ph > img { height: 102px; }
  .nlb-peg .cap { font-size: 12px; } .nlb-peg .cap b { display: none; }
}

.nlb-search { display: flex; max-width: 640px; margin: 22px 0 0; border: 2px solid var(--navy); background: #fff; }
.nlb-search input { flex: 1; min-width: 0; height: 50px; border: 0; padding: 0 14px; font: 16px var(--sans); background: transparent; color: var(--ink); }
.nlb-search input:focus { outline: none; }
.nlb-search button { width: 56px; border: 0; background: var(--orange-t); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.nlb-sec { padding: 40px 0 0; }
.nlb-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nlb-sec h2 { font: 400 clamp(24px, 2.6vw, 30px)/1.15 var(--serif); color: var(--navy); margin: 0; }
.nlb-sec .sub { margin: 4px 0 14px; font-style: italic; color: var(--muted); font-size: 15px; }
.nlb-sec .more { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* quilt patches */
.nlb-quilt { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 2px dashed var(--navy); padding: 5px; gap: 5px; background: #fff; }
.nlb-patch { display: block; min-height: 96px; padding: 14px; text-decoration: none; color: #fff !important; outline: 1px dashed rgba(255, 255, 255, .6); outline-offset: -7px; }
.nlb-patch b { display: block; font: 400 18px/1.1 var(--serif); }
.nlb-patch small { display: block; font-size: 13px; margin-top: 6px; }
.nlb-patch.p0 { background: #1361aa repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 6px, transparent 6px 12px); }
.nlb-patch.p1 { background-color: #d9690a; background-image: radial-gradient(rgba(255,255,255,.22) 2px, transparent 2px); background-size: 12px 12px; }
.nlb-patch.p2 { background-color: #ca529c; background-image: linear-gradient(90deg, rgba(255,255,255,.12) 50%, transparent 50%), linear-gradient(rgba(255,255,255,.12) 50%, transparent 50%); background-size: 16px 16px; }
.nlb-patch:hover { filter: brightness(1.08); }
@media (max-width: 900px) { .nlb-quilt { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nlb-quilt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; } .nlb-patch { min-height: 72px; padding: 12px; } .nlb-patch b { font-size: 16px; } }

/* favourites in wooden frames + places list */
.nlb-split { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }
.nlb-frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 16px; }
.nlb-frame { display: block; text-decoration: none; color: var(--ink); }
.nlb-frame .fr { border: 10px solid #6b5844; box-shadow: inset 0 0 0 3px #e3d4bd, 0 5px 12px rgba(0, 0, 0, .15); background: #e3d4bd; padding: 4px; }
.nlb-frame img { width: 100%; height: 160px; object-fit: cover; display: block; }
.nlb-frame .t { font-weight: 600; font-size: 15.5px; margin-top: 9px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nlb-frame .p { font-size: 14px; color: var(--orange-t); }
.nlb-bay { padding: 18px 20px; background: #fff; border-left: 6px solid var(--mag); box-shadow: 0 3px 10px rgba(0, 0, 0, .08); }
.nlb-bay h2 { font-size: 22px; color: var(--mag); }
.nlb-bay ul { list-style: none; margin: 8px 0 0; padding: 0; }
.nlb-bay li { border-bottom: 1px dotted #9aa39a; }
.nlb-bay li a { display: flex; justify-content: space-between; align-items: center; min-height: 42px; text-decoration: none; color: var(--ink); font-size: 15px; gap: 10px; }
.nlb-bay li a small { font-style: italic; color: var(--muted); font-size: 13px; }
.nlb-bay .all { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--navy); }
@media (max-width: 960px) { .nlb-split { grid-template-columns: 1fr; } .nlb-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } .nlb-frame img { height: 130px; } .nlb-frame .fr { border-width: 8px; } }

.nlb-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; margin-top: 14px; }
.nlb-rail > * { scroll-snap-align: start; }
@media (max-width: 560px) { .nlb-rail { grid-auto-columns: 46%; } }

/* ---------- studio-visit band (footer of every page) ---------- */
.nlb-visit { background: var(--mag); color: #fff; margin-top: 44px; }
.nlb-visit .nlb-wrap { display: flex; align-items: center; gap: 34px; padding: 28px 20px; }
.nlb-visit h2 { font: 400 clamp(22px, 2.4vw, 28px)/1.15 var(--serif); margin: 0 0 6px; color: #fff; }
.nlb-visit p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 660px; color: #fff; }
.nlb-visit .acts { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nlb-visit .acts a.story { color: #fff; font-weight: 600; }
.nla-b .nla-foot { margin-top: 0; background: #0d3d6b; }
@media (max-width: 760px) { .nlb-visit .nlb-wrap { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ---------- /visit ---------- */
.nlb-book { max-width: 640px; margin: 0 auto; padding: 26px 20px 10px; }
.nlb-book h1 { font: 400 clamp(30px, 4vw, 40px)/1.1 var(--serif) !important; color: var(--navy) !important; margin: 0 0 10px; }
.nlb-book .lead { font-size: 16px; line-height: 1.6; margin: 0; }
.nlb-book fieldset { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.nlb-book legend { font: 400 18px var(--serif); color: var(--navy); padding: 0; margin-bottom: 10px; }
.nlb-book legend small { font: italic 13px var(--sans); color: var(--muted); }
.nlb-why { display: grid; gap: 8px; }
.nlb-why label { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 14px; background: #fff; border: 2px solid #c9cfd6; cursor: pointer; }
.nlb-why label:has(input:checked) { border-color: var(--navy); }
.nlb-why input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; flex-shrink: 0; }
.nlb-why b { display: block; font-size: 15px; } .nlb-why small { display: block; font-size: 13px; color: var(--muted); font-style: italic; }
.nlb-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.nlb-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nlb-pick { position: relative; }
.nlb-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nlb-pick span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--navy); background: #fff; color: var(--navy);
  font: 600 14px/1.2 var(--sans); cursor: pointer; text-align: center; padding: 4px; }
.nlb-days .nlb-pick span { min-height: 62px; }
.nlb-pick span small { font-weight: 400; font-size: 12px; }
.nlb-pick input:checked + span { background: var(--navy); color: #fff; }
.nlb-pick input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.nlb-pick input:disabled + span { border-color: #c9cfd6; color: #9aa3ab; text-decoration: line-through; cursor: not-allowed; }
.nlb-pick.hide { display: none; }
.nlb-book .fld { display: block; font-weight: 600; font-size: 14px; margin-top: 14px; }
.nlb-book .fld small { font-weight: 400; font-style: italic; color: var(--muted); }
.nlb-book .fld input, .nlb-book .fld textarea { display: block; width: 100%; margin-top: 6px; border: 2px solid var(--navy); border-radius: 0; padding: 0 12px; font: 16px var(--sans); background: #fff; color: var(--ink); height: 48px; }
.nlb-book .fld textarea { height: auto; padding: 10px 12px; resize: vertical; }
.nlb-book .go { width: 100%; margin-top: 20px; min-height: 56px; font-size: 17px; }
.nlb-book .fine { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); font-style: italic; text-align: center; }
.nlb-book .err { background: #fdecea; border-left: 5px solid #c0392b; padding: 12px 14px; margin: 16px 0 0; }
.nlb-book .ok { background: #fff; border: 2px dashed var(--navy); padding: 22px; margin: 22px 0 0; }
.nlb-book .ok h2 { font: 400 24px var(--serif); color: var(--navy); margin: 0 0 8px; }
.nlb-book .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nlb-book .hours { margin: 26px 0 10px; padding-top: 16px; border-top: 2px dashed var(--navy); font-size: 14px; line-height: 1.7; }
