/* /provinces/ hub (lg-pvh). Loads on this page only. */

.lg-pvh .lg-cover { display: none; }
.lg-pvh .lg-faq { display: none; }
.lg-pvh .lg-cols .lg-article { max-width: none; }
.lg-pvh .lg-prose > p, .lg-pvh .lg-prose > h2, .lg-pvh .lg-prose > h3, .lg-pvh .lg-prose > ul, .lg-pvh .lg-byline { max-width: var(--narrow); }
.lg-pvh .lg-prose > p:first-child { font-size: inherit; }
.lg-pvh .lg-prose h2[id] { scroll-margin-top: 16px; }
.lg-pvh .lg-head { padding-bottom: 4px; }
/* ledger.css narrows every block of an article that holds a matrix; the hub blocks run full width */
.lg-pvh .lg-prose > .pvh-hero, .lg-pvh .lg-prose > .pvh-nav, .lg-pvh .lg-prose > .pvh-filter, .lg-pvh .lg-prose > .pvh-tablewrap, .lg-pvh .lg-prose > .pvh-map, .lg-pvh .lg-prose > .pvh-tl, .lg-pvh .lg-prose > .pvh-vs, .lg-pvh .lg-prose > .pvh-faq, .lg-pvh .lg-prose > .pvh-note { max-width: none !important; }
.lg-pvh .lg-prose > .pvh-check { max-width: 880px !important; }
.lg-pvh .lg-prose > .pvh-fig { max-width: 900px !important; }
.lg-pvh .lg-prose > .pvh-fig--info { max-width: 1000px !important; }
.lg-pvh .lg-prose > .pvh-note { max-width: var(--narrow) !important; }

.pvh-t-open { --t: var(--teal); --tb: var(--teal-bg); }
.pvh-t-crown { --t: var(--sage); --tb: var(--sage-bg); }
.pvh-t-lottery { --t: var(--mustard); --tb: var(--mustard-bg); }
.pvh-muted { color: var(--ink-3); }
.pvh-eyebrow { margin: 0 0 8px; font: 700 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pvh-code { display: inline-block; min-width: 30px; margin-right: 8px; padding: 1px 5px; font: 700 11.5px/1.5 var(--sans); letter-spacing: .06em; text-align: center; background: var(--ink); color: #fff; border-radius: 2px; vertical-align: 2px; }
.pvh-badge { display: inline-block; margin: 0; padding: 2px 8px; font: 700 11.5px/1.5 var(--sans); letter-spacing: .04em; color: var(--t); background: var(--tb); border-left: 3px solid var(--t); white-space: nowrap; }
.pvh-note { font-size: 13.5px; color: var(--ink-3); max-width: var(--narrow); margin: 8px 0 0; }

/* hero */
.pvh-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin: 6px 0 18px; padding: 22px 24px; background: var(--paper-2); border-top: 3px solid var(--ink); }
.pvh-answer { margin: 0 0 16px; font: 400 18.5px/1.55 var(--serif); }
.lg-prose .pvh-stats, .lg-prose .pvh-tl, .lg-prose .pvh-legend, .lg-prose .pvh-res, .lg-prose .pvh-nav ul { padding-left: 0; }
.pvh-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pvh-stats li { margin: 0; padding: 8px 9px; background: var(--card); border: 1px solid var(--rule); }
.pvh-stats b { display: block; font: 600 24px/1.1 var(--serif); white-space: nowrap; color: var(--teal-2); }
.pvh-stats span { display: block; font-size: 12px; line-height: 1.35; color: var(--ink-2); margin-top: 3px; }
.pvh-pick { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.pvh-pick__b { font: 700 13.5px var(--sans); padding: 8px 0; background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-bottom: 3px solid var(--t); border-radius: 2px; cursor: pointer; }
.pvh-pick__b:hover { border-color: var(--ink); border-bottom-color: var(--t); }
.pvh-pick__b[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); border-bottom-color: var(--t); }
.pvh-card { background: var(--card); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 18px 10px; }
.pvh-card__h { margin: 8px 0 8px !important; padding: 0 !important; border: 0 !important; font: 600 22px/1.2 var(--serif) !important; }
.pvh-card__dl { margin: 0; }
.pvh-card__dl > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--rule-2); font-size: 14.5px; line-height: 1.45; }
.pvh-card__dl dt { font: 700 11px/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pvh-card__dl dd { margin: 0; }
.pvh-card__go { margin: 8px 0 4px; font-weight: 700; }

/* in-page nav */
.pvh-nav { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); margin: 0 0 8px; }
.pvh-nav ul { list-style: none; margin: 0; padding: 8px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pvh-nav li { margin: 0; flex: none; }
.pvh-nav a { display: block; padding: 5px 12px; font: 600 13.5px var(--sans); color: var(--ink); text-decoration: none; border: 1px solid var(--rule); border-radius: 20px; background: var(--card); }
.pvh-nav a:hover { border-color: var(--ink); color: var(--teal-2); }

/* comparison table */
.pvh-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.pvh-filter button { font: 600 13.5px var(--sans); padding: 6px 12px; background: var(--card); border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; color: var(--ink); }
.pvh-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pvh-tablewrap { overflow-x: auto; border-top: 3px solid var(--ink); }
.lg-prose .pvh-table, .lg-prose .pvh-vs__t { margin: 0; font-size: 14.5px; background: var(--card); }
.lg-prose .pvh-table th, .lg-prose .pvh-table td { padding: 10px 10px; vertical-align: middle; }
.lg-prose .pvh-table thead th { font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .07em; background: var(--paper); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.pvh-table tbody th { font: 600 16.5px/1.25 var(--serif); white-space: nowrap; }
.pvh-table tbody th a { color: var(--ink); text-decoration: none; }
.pvh-table tbody th a:hover { color: var(--teal-2); text-decoration: underline; }
.pvh-table tbody tr:hover, .pvh-table tbody tr.is-current { background: #fbf8f0; }
.pvh-table tbody tr.is-current th { box-shadow: inset 4px 0 0 var(--mustard); }
.pvh-table tr[hidden] { display: none; }
.pvh-table .pvh-num { text-align: center; font-size: 16px; }
.pvh-table td[data-label="Regulator"] { min-width: 120px; }
.pvh-table .pvh-badge { white-space: normal; }
.pvh-table abbr { text-decoration: none; border-bottom: 1px dotted var(--ink-3); cursor: help; }
.pvh-table small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.pvh-table td a[href^="tel:"] { font-weight: 700; white-space: nowrap; }
.pvh-go a { font: 700 13px var(--sans); white-space: nowrap; }
.pvh-go a::after { content: " \203A"; }

/* map */
.pvh-map { margin: 14px 0 6px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center; }
.pvh-map__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(4, 86px); gap: 6px; padding: 16px; background: var(--card) url("img/map-texture.webp") center / cover; border: 1px solid var(--rule); }
.pvh-tile { display: flex; flex-direction: column; justify-content: space-between; padding: 8px 9px; background: var(--tb); border: 1px solid var(--t); border-top-width: 4px; color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.pvh-tile:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.pvh-tile__c { font: 700 19px/1 var(--sans); letter-spacing: .03em; }
.pvh-tile__name { font-size: 11.5px; line-height: 1.2; color: var(--ink-2); }
.pvh-tile__n { font: 700 11px var(--sans); color: var(--t); text-transform: uppercase; letter-spacing: .05em; }
.pvh-legend { list-style: none; margin: 0; padding: 0; }
.pvh-legend li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; font-size: 14.5px; }
.pvh-legend i { width: 18px; height: 18px; background: var(--tb); border: 2px solid var(--t); }
.pvh-legend span { font: 600 24px var(--serif); }
.pvh-map .pvh-note { grid-column: 1 / -1; }

/* figures */
.pvh-fig { margin: 22px 0 8px; max-width: 900px; }
.pvh-fig--info { max-width: 1000px; }
.pvh-fig picture { display: block; }
.pvh-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: var(--paper-2); }
.pvh-fig figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

/* timeline */
.pvh-tl { list-style: none; margin: 16px 0 18px; padding: 0 0 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.lg-prose .pvh-tl li { margin: 0; padding: 12px 14px 14px; border-bottom: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2); position: relative; background: var(--card); }
.lg-prose .pvh-tl li:nth-child(4n) { border-right: 0; }
.pvh-tl time { display: block; font: 600 19px var(--serif); margin-bottom: 4px; }
.pvh-tl p { margin: 6px 0 0 !important; font-size: 14px; line-height: 1.42; color: var(--ink-2); }
.pvh-tl .is-key { background: var(--teal-bg); }
.pvh-tl .is-key time { color: var(--teal-2); }
.pvh-tl .is-key::before { content: "Key date"; position: absolute; top: 12px; right: 12px; font: 700 10px var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-2); }
.pvh-code--ca { background: var(--rust); }

/* offshore vs provincial */
.pvh-vs { margin: 14px 0 10px; }
.pvh-vs__bar { display: flex; height: 16px; border: 1px solid var(--ink); }
.pvh-vs__lic { background: var(--teal); }
.pvh-vs__off { background: var(--rust); }
.pvh-vs__rest { background: var(--rule); }
.pvh-vs__cap { margin: 8px 0 14px; font-size: 14.5px; max-width: var(--narrow); }
.pvh-ok { color: var(--teal-2); }
.pvh-bad { color: var(--rust); }
.lg-prose .pvh-vs__t th, .lg-prose .pvh-vs__t td { padding: 11px 12px; vertical-align: top; }
.lg-prose .pvh-vs__t thead th { font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .07em; background: var(--paper); border-bottom: 1px solid var(--ink); }
.lg-prose .pvh-vs__t thead th.pvh-ok { color: var(--teal-2); }
.lg-prose .pvh-vs__t thead th.pvh-bad { color: var(--rust); }
.pvh-vs__t tbody th { font: 600 15.5px var(--serif); width: 22%; }
.pvh-vs__t td:nth-child(2) { background: #f1f7f5; border-left: 3px solid var(--teal); }
.pvh-vs__t td:nth-child(3) { background: #fbf1ec; border-left: 3px solid var(--rust); }

/* licence check */
.pvh-check { margin: 14px 0 12px; padding: 16px 18px; background: var(--card); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); max-width: 880px; }
.pvh-check__f { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.pvh-check__f label span { display: block; font: 600 13.5px var(--sans); margin-bottom: 4px; }
.pvh-check__f input, .pvh-check__f select { width: 100%; font: 400 16px var(--sans); padding: 9px 10px; border: 1px solid var(--ink-3); border-radius: 2px; background: #fff; color: var(--ink); }
.pvh-check__out { margin-top: 12px; font-size: 15px; }
.pvh-check__out p { margin: 0 0 6px; }
.pvh-res { list-style: none; margin: 0; padding: 0; }
.pvh-res li { margin: 0; padding: 10px 0; border-top: 1px solid var(--rule-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.pvh-res b { font: 600 17px var(--serif); }
.pvh-res small { display: block; color: var(--ink-3); font-size: 12.5px; }
.pvh-res .pvh-v { grid-column: 1 / -1; font-size: 14.5px; line-height: 1.45; }
.pvh-v--ok { color: var(--teal-2); }
.pvh-v--no { color: var(--rust); }

/* FAQ */
.pvh-faq { margin: 48px 0 0; }
.pvh-faq__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 3px double var(--ink); padding-top: 16px; margin-bottom: 14px; }
.lg-prose .pvh-faq__head h2 { margin: 0; padding: 0; border: 0; font: 600 30px/1.2 var(--serif); }
.pvh-faq__all { font: 700 13.5px var(--sans); background: none; border: 0; color: var(--teal-2); text-decoration: underline; cursor: pointer; padding: 0; white-space: nowrap; }
.pvh-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; align-items: start; }
.pvh-faq__i { background: var(--card); border: 1px solid var(--rule); }
.pvh-faq__i[open] { border-color: var(--ink); }
.pvh-faq__i summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; gap: 10px; align-items: center; padding: 12px 14px; }
.pvh-faq__i summary::-webkit-details-marker { display: none; }
.pvh-faq__i summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); justify-self: center; margin-top: -4px; transition: transform .15s; }
.pvh-faq__i[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.pvh-faq__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); font: 700 12px var(--sans); color: var(--ink-2); }
.pvh-faq__i[open] .pvh-faq__n { background: var(--ink); color: #fff; }
.pvh-faq__q { font: 600 17px/1.3 var(--serif); }
.pvh-faq__a { padding: 0 16px 10px 50px; font-size: 15px; color: var(--ink-2); }
.pvh-faq__a p { margin: 0 0 8px; }

@media (max-width: 980px) {
	.pvh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pvh-hero { grid-template-columns: 1fr; gap: 18px; }
	.pvh-map { grid-template-columns: 1fr; }
	.pvh-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lg-prose .pvh-tl li:nth-child(4n) { border-right: 1px solid var(--rule-2); }
	.lg-prose .pvh-tl li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 720px) {
	.pvh-hero { padding: 16px 14px; margin-left: -16px; margin-right: -16px; }
	.pvh-answer { font-size: 17px; }
	.pvh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pvh-stats li:last-child { grid-column: 1 / -1; }
	.pvh-card { box-shadow: 4px 4px 0 var(--ink); padding: 12px 14px 8px; }
	.pvh-card__dl > div { grid-template-columns: 1fr; gap: 0; }
	.pvh-tablewrap { border-top: 0; overflow: visible; }
	.lg-prose .pvh-table, .lg-prose .pvh-table tbody { display: block; background: none; }
	.pvh-table thead { display: none; }
	.pvh-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin: 0 0 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--ink); }
	.lg-prose .pvh-table tbody th, .lg-prose .pvh-table tbody td { display: block; padding: 5px 0; border: 0; text-align: left; }
	.pvh-table tbody th { grid-column: 1 / -1; white-space: normal; font-size: 18px; }
	.pvh-table tbody td::before { content: attr(data-label); display: block; font: 700 10.5px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
	.pvh-table td[data-label="Market"], .pvh-table td[data-label="Provincial site"] { grid-column: 1 / -1; }
	.pvh-table .pvh-num { text-align: left; }
	.pvh-table .pvh-go { grid-column: 1 / -1; }
	.pvh-table td[data-label="Licensed private sites"]:has(.pvh-muted) { display: none !important; }
	.pvh-map__grid { grid-template-rows: repeat(4, 62px); gap: 4px; padding: 8px; margin: 0 -8px; }
	.pvh-tile { padding: 5px 4px; border-top-width: 3px; align-items: center; justify-content: center; text-align: center; }
	.pvh-tile__c { font-size: 14px; }
	.pvh-tile__name { display: none; }
	.pvh-tile__n { font-size: 9px; letter-spacing: 0; }
	.pvh-tl { grid-template-columns: 1fr; }
	.lg-prose .pvh-tl li { border-right: 0 !important; }
	.lg-prose .pvh-vs__t, .lg-prose .pvh-vs__t tbody { display: block; background: none; }
	.pvh-vs__t thead { display: none; }
	.pvh-vs__t tr { display: block; margin: 0 0 10px; border: 1px solid var(--rule); background: var(--card); }
	.lg-prose .pvh-vs__t th, .lg-prose .pvh-vs__t td { display: block; width: auto; border-bottom: 0; }
	.pvh-vs__t td::before { content: attr(data-label); display: block; font: 700 10.5px var(--sans); letter-spacing: .07em; text-transform: uppercase; }
	.pvh-vs__t td:nth-child(2)::before { color: var(--teal-2); }
	.pvh-vs__t td:nth-child(3)::before { color: var(--rust); }
	.pvh-check { box-shadow: 4px 4px 0 var(--ink); padding: 14px; }
	.pvh-check__f { grid-template-columns: 1fr; }
	.pvh-faq__grid { grid-template-columns: 1fr; }
	.lg-prose .pvh-faq__head h2 { font-size: 25px; }
	.pvh-faq__a { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.pvh-tile, .pvh-faq__i summary::after { transition: none; }
}
