/* ==========================================================================
   The dark green help band (sw2, card #1155, Jay 18 Nov; moved here from main's stone-family-below.css with main's OK,
   18 Nov 13:1x, "#1155 part 3: A"). One shared style for every band:
   - the stone product pages (main's stone family layout, .swp-sf): the band by ZIP (C) and the high end band (#1139,
     UX Block "Product - Samples band (high end)", three across);
   - the box beams page: UX Block "Box beams - Help band" ([section class="swp-sf-band swp-hb"], four across).
   Printed at the end of the page (inc/features/help-band.php, on pages that print a band), not render-blocking.
   The selectors keep the specificity they had in stone-family-below.css (.swp-sf .swp-sf-band = 0,2,0), so the stone
   pages look as before, except card #1155's change: every band pill button at 90% of its old size (font + padding +
   height) and ending with "›" (added here, so the blocks' words stay as they are).
   ========================================================================== */

/* ---------- the band (both kinds) ---------- */
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) { position: relative; margin: 0; padding: 0; background: #2f3f2e; box-shadow: 0 0 0 100vmax #2f3f2e; clip-path: inset(0 -100vmax); color: #fff; }
.swp-sf .swp-sf-band__v[hidden] { display: none; }
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb), :is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) :is(h1, h2, h3, p) { color: #fff; }
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .row { max-width: 1100px; margin: 0 auto; padding: 40px 0; } /* #1138: centred in a ~1100px row */
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .col { padding-bottom: 0; }
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__eb { margin: 0 0 6px; font-size: 12.5px; line-height: 1.4; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #d8c7a6; }
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) h3 { margin: 0 0 6px; font: 700 28px/1.2 Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: 0; text-transform: none; }
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) p { margin: 0; font-size: 16px; line-height: 1.5; }
/* #1155: the pill at 90% (was 16px text, 0 24px, 46px tall) and a "›" after its words */
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__btn { display: inline-flex; align-items: center; gap: 0.4em; width: auto; margin: 0; padding: 0 21.6px; min-height: 41.4px; border: 0; border-radius: 999px; background: #d8c7a6; color: #2f3f2e; font-size: 14.4px; font-weight: 700; letter-spacing: normal; text-transform: none; box-shadow: none; }
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__btn::after { content: "\203A" / ""; font-size: 1.15em; line-height: 1; } /* "›", not read aloud */
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__btn:hover, :is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__btn:focus-visible { background: #e6d9bf; color: #2f3f2e; }
@media (max-width: 549px) {
	:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__c { text-align: left !important; }
	:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) h3 { font-size: 24px; }
}

/* ---------- the items band: three across (#1139, stone) or four across (#1155, box beams) ----------
   Each column ([col class="swp-sf-band__i swp-sf-band__i--ask|trade|samples|plans"]): the title (h3, 20px bold), one
   line (15px), its own tan button; thin light dividers between. Three across: an icon in a soft tan circle (CSS).
   Phones: stacked rows. */
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .row:is(.swp-sf-band__row--3, .swp-sf-band__row--4) { padding: 30px 0; }
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) > .swp-sf-band__i { padding: 0 24px 0 30px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) > .swp-sf-band__i:first-child { border-left: 0; padding-left: 15px; }
:is(.swp-sf, .swp-hb) .swp-sf-band__i > .col-inner { position: relative; padding-left: 48px; }
:is(.swp-sf, .swp-hb) .swp-sf-band__i > .col-inner::before { content: ""; position: absolute; left: 0; top: -5px; width: 34px; height: 34px; border-radius: 50%; background: rgba(216, 199, 166, 0.16) no-repeat center / 16px 16px; }
.swp-hb .swp-sf-band__row--4 > .swp-sf-band__i > .col-inner { padding-left: 0; } /* four across: no icons (Jay's mock) */
.swp-hb .swp-sf-band__row--4 > .swp-sf-band__i > .col-inner::before { display: none; }
:is(.swp-sf, .swp-hb) .swp-sf-band__i--ask > .col-inner::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8c7a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
:is(.swp-sf, .swp-hb) .swp-sf-band__i--trade > .col-inner::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8c7a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V8l7-5 7 5v13'/%3E%3Cpath d='M10 21v-5h4v5'/%3E%3C/svg%3E"); }
:is(.swp-sf, .swp-hb) .swp-sf-band__i--samples > .col-inner::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8c7a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z'/%3E%3Cpath d='M12 22V12M3.3 7l8.7 5 8.7-5'/%3E%3C/svg%3E"); }
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) .swp-sf-band__t { margin: 0; }
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) h3 { margin: 0 0 3px; font-size: 20px; line-height: 1.2; white-space: nowrap; }
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) p { font-size: 15px; line-height: 1.45; white-space: nowrap; }
/* #1155: 90% (was 14.5px, 0 18px, 36px tall) */
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) .swp-sf-band__btn { min-height: 32.4px; margin: 12px 0 0; padding: 0 16.2px; font-size: 13.05px; white-space: nowrap; }
/* four across (box beams): the full 1240px row */
.swp-sf-band.swp-hb .row.swp-sf-band__row--4 { max-width: 1240px; }
@media (max-width: 1099px) {
	:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) :is(h3, p) { white-space: normal; text-wrap: balance; }
}
/* four across: two by two on tablets (never one card alone on a row) */
@media (max-width: 1099px) and (min-width: 850px) {
	.swp-hb .swp-sf-band__row--4 > .swp-sf-band__i { flex-basis: 50%; max-width: 50%; }
	.swp-hb .swp-sf-band__row--4 > .swp-sf-band__i:nth-child(odd) { border-left: 0; padding-left: 15px; }
	.swp-hb .swp-sf-band__row--4 > .swp-sf-band__i:nth-child(n+3) { margin-top: 24px; }
}
@media (max-width: 849px) {
	:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .row:is(.swp-sf-band__row--3, .swp-sf-band__row--4) { padding: 8px 0; }
	:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) > .swp-sf-band__i,
	:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) > .swp-sf-band__i:first-child { flex-basis: 100%; max-width: 100%; margin-top: 0; padding: 18px 15px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
	:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) > .swp-sf-band__i:first-child { border-top: 0; }
	:is(.swp-sf, .swp-hb) :is(.swp-sf-band__row--3, .swp-sf-band__row--4) .swp-sf-band__btn { margin-top: 10px; }
}

/* ---------- #1159 (Jay 18 Nov, mock "Band: 2 buttons + 2 links"): "Have plans?" and "For the trade" are text links ----------
   The specialist and samples boxes keep their pills; "Upload Your Plans" (a "+" before it, opens the plans drawer) and
   "For the Trade" (a new-tab icon after it; the button opens in a new tab: target="_blank" in the UX Blocks) become bold
   15px light tan links, underlined. Tan #e9dfc4 on the band #2f3f2e is 8.4:1. The link box is as tall as the pills
   (inline-flex, centred), so the text lines up with the buttons next to it. The icons come from CSS: the "+" is not read
   aloud, the new-tab icon reads "(opens in a new tab)". */
:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__btn:focus-visible { outline: 2px solid #e9dfc4; outline-offset: 3px; } /* the pills too: the theme's sage ring hardly shows on the band */
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__i--plans, .swp-sf-band__i--trade) .swp-sf-band__btn { gap: 8px; padding: 0 2px; border-radius: 0; background: transparent; color: #e9dfc4; font-size: 15px; text-decoration: underline; text-decoration-color: rgba(233, 223, 196, 0.6); text-decoration-thickness: 1px; text-underline-offset: 4px; }
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__i--plans, .swp-sf-band__i--trade) .swp-sf-band__btn:is(:hover, :focus-visible) { background: transparent; color: #fff; text-decoration-color: #fff; }
:is(.swp-sf, .swp-hb) :is(.swp-sf-band__i--plans, .swp-sf-band__i--trade) .swp-sf-band__btn:focus-visible { outline: 2px solid #e9dfc4; outline-offset: 3px; border-radius: 2px; }
:is(.swp-sf, .swp-hb) .swp-sf-band__i--plans .swp-sf-band__btn { order: 0; }
:is(.swp-sf, .swp-hb) .swp-sf-band__i--plans .swp-sf-band__btn::before { content: "+" / ""; order: -1; font-size: 1.25em; font-weight: 400; line-height: 1; text-decoration: none; }
:is(.swp-sf, .swp-hb) .swp-sf-band__i--plans .swp-sf-band__btn::after { content: none; }
:is(.swp-sf, .swp-hb) .swp-sf-band__i--trade .swp-sf-band__btn::after { content: "" / "(opens in a new tab)"; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- #1165 (Jay 18 Nov, B): on phones every band clickable keeps its 90% look but gets a 44px tall tap area ----------
   An invisible hit area (a pseudo-element of the link itself, so a tap on it is a tap on the link) reaches 6px above and
   below the 32.4px pill / link box: 44.4px. It takes no space, so nothing moves and the rows don't grow. The pills and
   "For the Trade" use ::before (free there); "Upload Your Plans" uses ::after (its ::before is the "+"). */
@media (max-width: 849px) {
	:is(.swp-sf .swp-sf-band, .swp-sf-band.swp-hb) .swp-sf-band__btn { position: relative; }
	:is(.swp-sf, .swp-hb) .swp-sf-band__i:not(.swp-sf-band__i--plans) .swp-sf-band__btn::before,
	:is(.swp-sf, .swp-hb) .swp-sf-band__i--plans .swp-sf-band__btn::after { content: "" / ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; margin-top: -22px; background: none; -webkit-mask: none; mask: none; }
}