/* psychonautwiki.sbs — supplemental styles for injected blocks.
   The compiled source CSS only ships utilities the original used; these
   classes are ours. */

/* Featured 900x130 ad row at the top of every content area */
.mp-ad-row { margin: 14px 0 20px; text-align: center; }
.mp-ad-row img { max-width: 100%; height: auto; display: inline-block; }

/* Banner rail above the footer */
.banner-rail { margin: 26px 0 10px; padding: 14px 18px 6px; border: 1px solid #a2a9b1; border-radius: 2px; background: #f8f9fa; }
.banner-rail .rail-title { font-size: 15px !important; margin: 0 0 10px; color: #54595d; text-transform: uppercase; letter-spacing: .04em; }
.banner-rail .banner-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.banner-rail .banner-cell { display: inline-block; line-height: 0; }
.banner-rail .banner-cell img { border: 0; }
.xmr-note { font-size: 12.5px; color: #54595d; margin: 8px 0 8px; text-align: center; }

/* Sponsored-markets sidebar portlet */
.mp-ad-portlet { margin-bottom: 14px; }
.mp-ad-portlet h3 { padding-bottom: .2em; margin: 0; font-size: 0.8em; color: #54595d; letter-spacing: .04em; text-transform: uppercase; }
.mp-mkt-list { list-style: none; margin: 6px 0 0; padding: 0; column-count: 2; column-gap: 10px; }
.mp-mkt-list li { margin: 0 0 4px; break-inside: avoid; font-size: 0.86em; }
.mp-side-banners { list-style: none; margin: 12px 0 0; padding: 0; }
.mp-side-banners li { margin: 0 0 10px; text-align: center; }
.mp-side-banners img { max-width: 100%; height: auto; }

/* Force visibility in the static build (source animates wrappers via JS) */
.mp-ad-row, .banner-rail, .mp-ad-portlet, #mw-panel, .vector-menu .body, #mw-content-text, #footer {
  opacity: 1 !important; transform: none !important; visibility: visible !important;
}

/* Client-side search input */
.mp-input { border: 1px solid #a2a9b1; border-radius: 2px; background: #fff; color: #202122; font-family: inherit; }

@media screen and (max-width: 768px) {
  .mp-mkt-list { column-count: 1; }
  .banner-rail .banner-grid { gap: 8px; }
}
