/* Sea Kayak Paddler adverts (skp-adverts plugin). Loaded only on pages that print an advert. Borrows the skp theme's
   colour variables when present, with the same values as fallbacks. */
.skp-ad [hidden], .skp-ad[hidden] { display: none !important; }
.skp-ad .skp-ad-link { display: block; line-height: 0; text-decoration: none; }
.skp-ad .skp-ad-img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.skp-ad .skp-ad-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skp-ad .skp-ad-link:focus-visible { outline: 3px solid var(--skp-blue, #134584); outline-offset: 3px; }
.skp-ad-label { margin: 0 0 6px; font-size: 12px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--skp-muted, #7A7A7A); }

/* In-article: centred in the article column, never wider than it, a little air above and below. */
.skp-ad--article { display: block; clear: both; max-width: 100%; margin: 28px auto; text-align: center; }
.skp-ad--article .skp-ad-label { text-align: center; }

/* Sidebar: the same box as the theme's .skp-widget (blue heading band, white body). */
.skp-ad--sidebar .skp-ad-label { background: var(--skp-blue, #134584); color: #fff; margin: 0; padding: 5px 15px; font-size: 13px; border-top-right-radius: 9px; }
.skp-ad--sidebar .skp-ad-body { background: #fff; padding: 12px; border-top: 1px solid var(--skp-line, #E0E0E0); }

/* Home page tile (1.1.0): an article card from the theme (.skp-card) carrying an advert, so the theme's own card rules
   give it the size, shape, photo crop and alternating colour. This file prints BEFORE the theme's style.css on block
   templates, so every rule here is one class more specific than the theme rule it changes. */
.skp-grid > .skp-card[data-skp-ad-spare][hidden] { display: none !important; }
.skp-grid .skp-card--ad .skp-ad-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* "Advert" where the category pill sits: the pill's size and shape, outlined rather than filled, so it reads as a label
   and never as a category (UK CAP code: an advert must be obviously identifiable). */
.skp-grid .skp-card--ad .skp-meta .skp-tag--ad { background: transparent; color: var(--skp-blue, #134584); box-shadow: inset 0 0 0 1.5px currentColor; font-weight: 700; letter-spacing: .04em; }
.skp-grid .skp-card--ad:nth-child(even) .skp-meta .skp-tag--ad { background: transparent; color: #fff; }
.skp-grid .skp-card--ad .skp-meta .skp-tag--ad:hover { background: transparent; }
