/* Plasma Near Me theme */
:root {
  --pnm-theme-accent: #b3122e;
  --pnm-theme-fg: #1c1d21;
  --pnm-theme-muted: #5d6169;
  --pnm-theme-bg: #f7f7f8;
  --pnm-theme-card: #ffffff;
  --pnm-theme-line: #e2e3e7;
  --pnmt-plasma: #f2b33d;
  --pnmt-max: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --pnm-theme-accent: #ff5d73;
    --pnm-theme-fg: #ececee;
    --pnm-theme-muted: #a3a7af;
    --pnm-theme-bg: #111214;
    --pnm-theme-card: #1a1b1f;
    --pnm-theme-line: #2d2f34;
  }
  .pnm-btn--primary, .pnm-badge--bonus, .pnm-tabs a[aria-current] { color: #111 !important; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pnm-theme-bg); color: var(--pnm-theme-fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--pnm-theme-accent); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: .3em 0 .4em; }
h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; left: 8px; top: 8px; padding: 8px 12px; background: var(--pnm-theme-card); z-index: 9999; }
.pnmt-wrap { max-width: var(--pnmt-max); margin: 0 auto; padding: 0 16px; }

/* header */
.pnmt-header { background: var(--pnm-theme-card); border-bottom: 1px solid var(--pnm-theme-line); position: sticky; top: 0; z-index: 1000; }
.admin-bar .pnmt-header { top: 32px; }
.pnmt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.pnmt-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--pnm-theme-fg); text-decoration: none; }
.pnmt-drop { flex: none; }
.pnmt-nav { display: flex; align-items: center; gap: 18px; }
.pnmt-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.pnmt-nav a { color: var(--pnm-theme-fg); text-decoration: none; font-size: .97rem; }
.pnmt-nav a:hover, .pnmt-nav .current-menu-item > a { color: var(--pnm-theme-accent); }
.pnmt-nav .sub-menu { display: none; position: absolute; background: var(--pnm-theme-card); border: 1px solid var(--pnm-theme-line); border-radius: 10px; padding: 8px 12px; flex-direction: column; gap: 6px; }
.pnmt-nav li { position: relative; }
.pnmt-nav li:hover > .sub-menu, .pnmt-nav li:focus-within > .sub-menu { display: flex; }
.pnmt-nav a.pnm-btn--primary { color: #fff; }
.pnmt-account { display: flex; gap: 8px; align-items: center; }
.pnmt-langs { display: flex; gap: 8px; font-size: .88rem; }
.pnmt-langs .current-lang a { font-weight: 700; }
.pnmt-menu-toggle { display: none; background: none; border: 1px solid var(--pnm-theme-line); border-radius: 8px; font-size: 1.3rem; padding: 4px 10px; color: var(--pnm-theme-fg); cursor: pointer; }

/* hero */
.pnmt-hero { background: linear-gradient(180deg, var(--pnm-theme-card), var(--pnm-theme-bg)); padding: 44px 0 20px; border-bottom: 1px solid var(--pnm-theme-line); }
.pnmt-lead { font-size: 1.12rem; color: var(--pnm-theme-muted); max-width: 640px; }
.pnmt-hero .pnm-searchbox { max-width: 760px; margin-top: 18px; }
.pnmt-section { margin: 34px 0; }

/* blog */
.pnmt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-top: 18px; padding-bottom: 40px; }
.pnmt-layout:not(:has(.pnmt-sidebar)) { grid-template-columns: minmax(0, 1fr); }
.pnmt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pnmt-card { background: var(--pnm-theme-card); border: 1px solid var(--pnm-theme-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pnmt-card__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pnmt-card__body { padding: 14px 16px; }
.pnmt-card__title { margin: 0 0 4px; font-size: 1.1rem; }
.pnmt-card__title a { color: var(--pnm-theme-fg); text-decoration: none; }
.pnmt-card__title a:hover { color: var(--pnm-theme-accent); }
.pnmt-article { max-width: 760px; padding-bottom: 40px; }
.pnmt-article--page { max-width: none; padding-top: 12px; }
.pnmt-content { font-size: 1.05rem; }
.pnmt-content h2 { margin-top: 1.8em; }
.pnmt-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.pnmt-content th, .pnmt-content td { border: 1px solid var(--pnm-theme-line); padding: 8px 10px; text-align: left; }
.pnmt-content blockquote { border-left: 4px solid var(--pnmt-plasma); margin: 1.2em 0; padding: 4px 16px; color: var(--pnm-theme-muted); }
.pnmt-hero-img { margin: 12px 0 20px; }
.pnmt-hero-img img { border-radius: 12px; }
.pnmt-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 2px 10px; border: 1px solid var(--pnm-theme-line); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.pnmt-sidebar .widget { background: var(--pnm-theme-card); border: 1px solid var(--pnm-theme-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.pnmt-sidebar .widget-title { font-size: 1.05rem; margin-top: 0; }
.pnmt-searchform { display: flex; gap: 8px; }
.pnmt-searchform input { flex: 1; padding: 9px 12px; border: 1px solid var(--pnm-theme-line); border-radius: 10px; font: inherit; background: var(--pnm-theme-card); color: var(--pnm-theme-fg); }
.nav-links { display: flex; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--pnm-theme-line); border-radius: 8px; text-decoration: none; }
.nav-links .current { background: var(--pnm-theme-accent); color: #fff; border-color: var(--pnm-theme-accent); }
.pnmt-cta { margin-top: 24px; }
.pnmt-comments { margin-top: 32px; }
.comment-list { padding-left: 1.2em; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--pnm-theme-line); border-radius: 10px; font: inherit; }

/* footer */
.pnmt-footer { background: var(--pnm-theme-card); border-top: 1px solid var(--pnm-theme-line); padding: 26px 0; margin-top: 40px; color: var(--pnm-theme-muted); font-size: .92rem; }
.pnmt-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.pnmt-footer__nav ul { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .pnmt-layout { grid-template-columns: minmax(0, 1fr); }
  .pnmt-menu-toggle { display: block; }
  .pnmt-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--pnm-theme-card); border-bottom: 1px solid var(--pnm-theme-line); flex-direction: column; align-items: flex-start; padding: 12px 16px 16px; }
  .pnmt-nav.is-open { display: flex; }
  .pnmt-nav ul { flex-direction: column; gap: 10px; }
  .pnmt-nav .sub-menu { position: static; display: flex; border: 0; padding: 4px 0 0 12px; }
}
@media (max-width: 782px) { .admin-bar .pnmt-header { top: 0; } }
