/* =========================================================
   PMexposure.com — modern, responsive skin
   Load this LAST in the <head><meta charset="utf-8"> so it overrides pm.css:
   <link rel="stylesheet" href="/css/pm-modern.css">
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600&display=swap');

:root {
  --pm-red: #d3122f;
  --pm-red-dark: #a00d23;
  --pm-ink: #1b1b1f;
  --pm-muted: #5d5d66;
  --pm-bg: #0d0d10;
  --pm-surface: #ffffff;
  --pm-panel: #f3f3f6;
  --pm-line: #e3e3e8;
  --pm-radius: 12px;
  --pm-shadow: 0 6px 24px rgba(0,0,0,.18);
  --pm-max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--pm-bg) !important;
  color: var(--pm-ink) !important;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Header ---------- */
.header {
  width: 100% !important;
  max-width: var(--pm-max) !important;
  margin: 0 auto !important;
  background-color: #000 !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  border-radius: 0 0 0 0;
}
.headercontents { max-width: var(--pm-max); margin: 0 auto; }
.headercontents input[type=text] {
  border: 1px solid #444 !important;
  background: #1a1a1f !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  height: auto !important;
  font: 13px 'Inter', sans-serif !important;
}
.headercontents select {
  border-radius: 6px !important;
  background: #1a1a1f !important;
  color: #ddd !important;
  border: 1px solid #444 !important;
  font: 12px 'Inter', sans-serif !important;
  height: auto !important;
  padding: 3px 4px !important;
}
.headercontents input[type=submit] {
  background: var(--pm-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 4px 14px !important;
  height: auto !important;
  font: 600 12px 'Inter', sans-serif !important;
  cursor: pointer;
}
.headercontents input[type=submit]:hover { background: var(--pm-red-dark) !important; }

/* ---------- Main navigation bar ---------- */
.pm-navbar {
  width: 100% !important;
  max-width: var(--pm-max) !important;
  margin: 0 auto !important;
  background: linear-gradient(#1c1c21, #0b0b0d) !important;
  border-bottom: 3px solid var(--pm-red);
  justify-content: center;
  position: relative;
  z-index: 50;
}
#imenus0 > li > a, #imenus1 > li > a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  transition: color .15s ease;
}
#imenus0 > li > a:hover, #imenus1 > li > a:hover { color: #ff4d64 !important; }

/* ---------- Content area ---------- */
.core {
  width: 100% !important;
  max-width: var(--pm-max) !important;
  margin: 0 auto !important;
  padding: 24px !important;
  background: var(--pm-panel) !important;
  height: auto !important;
  border: 0 !important;
  display: flow-root;
}
/* Two-column pages (main + sidebar) become a clean grid */
.core:has(> .contentrighthome), .core:has(> .contentright) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.core:has(> .contentright) { grid-template-columns: minmax(0, 1fr) 280px; }
.core:has(> .contentrighthome) > br, .core:has(> .contentright) > br { display: none; }
.innercore { width: auto !important; border-radius: var(--pm-radius); }

.contentlefthome, .contentrighthome, .contentleft, .contentright, .content {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0;
  background: var(--pm-surface);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 16px !important;
  color: var(--pm-ink);
}
.contentlefthome, .contentleft, .content { grid-column: 1; padding: 28px 32px !important; }
.content { line-height: 1.6 !important; }
.contentrighthome, .contentright { grid-column: 2; grid-row: 1; padding: 20px !important; }

/* Old <font> tags & tiny text -> readable */
.core font { font-family: inherit !important; }
.core font[size="1"], .core font[size="2"] { font-size: 15px !important; }
.contentlefthome p, .contentlefthome div, .contentlefthome td { line-height: 1.65; }

/* Headings & links */
.core h1, .core h2, .core h3 {
  font-family: 'Oswald', 'Inter', sans-serif !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  color: var(--pm-ink);
}
.core a { color: var(--pm-red); text-decoration: none; }
.core a:hover { color: var(--pm-red-dark); text-decoration: underline; }
.contentlefthome hr { border: 0; border-top: 1px solid var(--pm-line); margin: 28px 0; }

/* Images & media never overflow */
.core img { max-width: 100% !important; height: auto !important; border-radius: 6px; }
.core iframe, .core embed, .core object, .core video { max-width: 100% !important; border-radius: 8px; }
.contentlefthome > div:first-child img { border-radius: 10px; }

/* ---------- Sidebar / calendar ---------- */
.contentrighthome h4 {
  margin: 0 0 12px !important;
  padding: 10px 14px !important;
  background: linear-gradient(90deg, #111, #2a2a30) !important;
  color: #fff !important;
  border-radius: 8px;
  font: 600 15px 'Oswald', 'Inter', sans-serif !important;
  letter-spacing: .03em;
  text-transform: uppercase;
}
/* Calendar title bar: title on the left, "Add an Event" button on the right */
.contentrighthome h4 {
  width: auto !important; height: auto !important;
  display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
}
.contentrighthome h4 > span { float: none !important; width: auto !important; padding: 0 !important; }
.contentrighthome h4 form, .contentrighthome h4 div { margin: 0 !important; width: auto !important; }
.contentrighthome h4 input[type=button], .contentrighthome h4 input[type=submit], .contentrighthome h4 button {
  font: 600 11px 'Inter', sans-serif !important; text-transform: none; letter-spacing: 0;
  border-radius: 999px !important; padding: 4px 10px !important;
  background: var(--pm-red) !important; color: #fff !important; border: 0 !important;
  width: auto !important; height: auto !important;
}
.contentrighthome > br { display: none; }
.pm-empty { display: none !important; }   /* empty &nbsp; paragraphs (set by pm-modern.js) */

/* Word-pasted tiny text (7-11px) -> readable; "18pt" headings are untouched */
.core span[style*=" 7pt"], .core span[style*=":7pt"],
.core span[style*=" 8pt"], .core span[style*=":8pt"],
.core span[style*=" 9pt"], .core span[style*=":9pt"],
.core span[style*=" 10px"], .core span[style*=":10px"],
.core span[style*=" 11px"], .core span[style*=":11px"] {
  font-size: 15px !important; line-height: 1.6 !important;
}
.core address { font-style: normal; }

.contentrighthome table { width: 100% !important; border-collapse: separate !important; border-spacing: 4px !important; }
.contentrighthome td, .contentrighthome th {
  text-align: center;
  border-radius: 6px;
  font-size: 13px !important;
  padding: 6px 0 !important;
}
.contentrighthome td a { font-weight: 600; }
.contentrighthome input[type=button], .contentrighthome input[type=submit], .contentrighthome button {
  background: #fff !important;
  border: 1px solid var(--pm-line) !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font: 600 12px 'Inter', sans-serif !important;
  cursor: pointer;
}
.contentrighthome input[type=button]:hover, .contentrighthome button:hover { border-color: var(--pm-red) !important; color: var(--pm-red) !important; }

/* ---------- Footer ---------- */
.footer {
  width: 100% !important;
  max-width: var(--pm-max) !important;
  margin: 0 auto 0 !important;
  background: #0b0b0d !important;
  border-top: 3px solid var(--pm-red);
  color: #9a9aa3 !important;
  font: 14px 'Inter', sans-serif !important;
  text-align: center;
  height: auto !important;
  min-height: 0 !important;
  padding: 24px 16px !important;
}
.footer a { color: #fff !important; }
body > p { color: #8a8a92; text-align: center; font: 13px 'Inter', sans-serif; margin: 12px auto 24px; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .core, .core:has(> .contentrighthome), .core:has(> .contentright) { grid-template-columns: 1fr; padding: 16px !important; gap: 16px; }
  .contentrighthome, .contentright { grid-column: 1; grid-row: auto; }
  .contentlefthome, .contentleft, .content { padding: 22px !important; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .core { padding: 10px !important; gap: 12px; }
  .contentlefthome, .contentleft, .content { padding: 18px 16px !important; }
  .contentrighthome, .contentright { padding: 14px !important; }
  .core h1 { font-size: 26px !important; }
  .core h2 { font-size: 22px !important; }
  .core h3 { font-size: 19px !important; }
  .contentrighthome td { font-size: 12px !important; padding: 8px 0 !important; }
  .header { min-height: 0; }
  .headercontents input[type=text] { width: 52% !important; }
  .footer { padding: 18px 12px !important; }
  /* comfortable tap targets */
  .core a, .core button, .core input[type=submit] { min-height: 32px; }
}

/* ---------- Facebook share bar (added by pm-modern.js) ---------- */
#pm-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 24px 0 0; padding: 14px 0 0;
  border-top: 1px solid var(--pm-line);
  grid-column: 1 / -1;
}
#pm-share .pm-share-label { font: 600 13px 'Inter', sans-serif; color: var(--pm-muted); margin-right: 4px; }
#pm-share .pm-share-fb, #pm-share .pm-share-copy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; min-height: 0;
  font: 600 14px 'Inter', sans-serif; text-decoration: none !important; cursor: pointer;
}
#pm-share .pm-share-fb { background: #1877f2; color: #fff !important; border: 0; }
#pm-share .pm-share-fb:hover { background: #0f5fd0; }
#pm-share .pm-share-copy { background: #fff; color: var(--pm-ink); border: 1px solid var(--pm-line); }
#pm-share .pm-share-copy:hover { border-color: var(--pm-red); color: var(--pm-red); }

/* ---------- Advertise / Get Listed page (getlisted.php) ---------- */
.pm-gl { max-width: 1040px; margin: 0 auto; font-family: 'Inter', system-ui, sans-serif; }
.pm-gl-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(211,18,47,.55), transparent 45%), linear-gradient(135deg, #17171b, #0b0b0d 60%, #3a0710);
  color: #fff; border-radius: 16px; padding: 44px 40px; box-shadow: var(--pm-shadow);
}
.pm-gl-eyebrow { display: inline-block; font: 700 12px 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #ff5a70; margin-bottom: 10px; }
.pm-gl-hero h1 { font: 600 38px/1.15 'Oswald', 'Inter', sans-serif !important; color: #fff !important; margin: 0 0 12px; max-width: 640px; }
.pm-gl-hero p { font-size: 17px; color: #d6d6dc; max-width: 600px; margin: 0 0 22px; }
.pm-gl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-gl-btn, .core a.pm-gl-btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  background: var(--pm-red); color: #fff !important; font: 600 15px 'Inter', sans-serif;
  text-decoration: none !important; border: 2px solid var(--pm-red);
}
.core a.pm-gl-btn:hover { background: var(--pm-red-dark); border-color: var(--pm-red-dark); }
.core a.pm-gl-btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.core a.pm-gl-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.pm-gl-perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pm-gl-perks li { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.06); border-top: 3px solid var(--pm-red); }
.pm-gl-perks strong { display: block; font: 600 17px 'Oswald', 'Inter', sans-serif; margin-bottom: 4px; color: var(--pm-ink); }
.pm-gl-perks span { font-size: 14px; color: var(--pm-muted); line-height: 1.5; }

.pm-gl-title { font: 600 28px 'Oswald', 'Inter', sans-serif !important; text-align: center; margin: 40px 0 4px !important; scroll-margin-top: 20px; }
.pm-gl-sub { text-align: center; color: var(--pm-muted); margin: 0 0 22px; font-size: 15px; }

/* Plan table -> cards */
.pm-plans table, .pm-plans tbody { display: block; width: 100% !important; }
.pm-plans tr { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.pm-plans td {
  display: block; width: auto !important; position: relative;
  background: #fff; border: 1px solid var(--pm-line); border-radius: 14px;
  padding: 26px 24px !important; box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.pm-plans td.pm-plan-featured { border: 2px solid var(--pm-red); box-shadow: 0 10px 30px rgba(211,18,47,.18); }
.pm-plans td.pm-plan-featured::before {
  content: 'Most popular'; position: absolute; top: -12px; left: 24px;
  background: var(--pm-red); color: #fff; font: 700 11px 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.pm-plans .exposure { font: 600 22px 'Oswald', 'Inter', sans-serif !important; color: var(--pm-ink) !important; margin-bottom: 12px; }
.pm-plans ul { list-style: none; padding: 0 !important; margin: 0 0 18px !important; }
.pm-plans li { position: relative; padding: 8px 0 8px 28px !important; border-bottom: 1px solid #f0f0f3; font-size: 15px; margin: 0 !important; }
.pm-plans li::before { content: '\2713'; position: absolute; left: 4px; top: 8px; color: var(--pm-red); font-weight: 700; }
.pm-plans li > a { color: var(--pm-ink) !important; text-decoration: none !important; cursor: help; }
.pm-plans li > a .underline { text-decoration: none; border-bottom: 1px dotted #aaa; }
.pm-plans .popup { font-size: 13px; color: var(--pm-muted); background: var(--pm-panel); border-radius: 8px; padding: 8px 10px; margin-top: 6px; position: static !important; width: auto !important; }
.pm-plans select { width: 100%; padding: 9px 10px !important; border: 1px solid var(--pm-line) !important; border-radius: 8px; font: 14px 'Inter', sans-serif !important; background: #fff; }
.pm-plans form > div:last-child { font: 700 26px 'Oswald', 'Inter', sans-serif; color: var(--pm-ink); display: flex; flex-direction: column; gap: 14px; }
.pm-plans input[type=submit] {
  width: 100% !important; padding: 13px 18px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--pm-red) !important; color: #fff !important; font: 600 16px 'Inter', sans-serif !important;
  cursor: pointer; height: auto !important; max-width: none !important;
}
.pm-plans input[type=submit]:hover { background: var(--pm-red-dark) !important; }
.pm-plans td:not(.pm-plan-featured) input[type=submit] { background: #1b1b1f !important; }
.pm-gl-note { text-align: center; color: var(--pm-muted); font-size: 14px; margin: 26px auto 8px; max-width: 560px; }

@media (max-width: 760px) {
  .pm-gl-hero { padding: 28px 20px; border-radius: 12px; }
  .pm-gl-hero h1 { font-size: 28px !important; }
  .pm-gl-hero p { font-size: 15px; }
  .pm-gl-perks { grid-template-columns: 1fr; gap: 10px; }
  .pm-gl-title { font-size: 24px !important; margin-top: 28px !important; }
  .pm-plans tr { grid-template-columns: 1fr; gap: 22px; }
}

/* getlisted fixes */
.pm-plans td:not(:has(form)) { display: none !important; }
.pm-plans li:has(select) { padding-left: 0 !important; border-bottom: 0; }
.pm-plans li:has(select)::before { content: none; }
.core p.pm-gl-note { display: block; float: none !important; width: auto !important; text-align: center !important; margin: 26px auto 8px !important; }

/* ---------- Section intro text (inc/pm-intros.php) ---------- */
.pm-intro { margin-top: 22px; font-family: 'Inter', system-ui, sans-serif; color: var(--pm-ink); }
.pm-intro-eyebrow { display: inline-block; font: 700 12px 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-red); margin-bottom: 6px; }
.pm-intro h2 { font: 600 28px/1.2 'Oswald', 'Inter', sans-serif !important; margin: 0 0 12px !important; }
.pm-intro h3 { font: 600 19px 'Oswald', 'Inter', sans-serif !important; margin: 26px 0 10px !important; padding-left: 10px; border-left: 4px solid var(--pm-red); }
.pm-intro p { font-size: 16px; line-height: 1.7; margin: 0 0 12px; color: #2b2b31; }
.pm-intro-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pm-intro-list a { display: block; padding: 10px 14px; border: 1px solid var(--pm-line); border-radius: 10px; background: #fafafc; font-weight: 600; text-decoration: none !important; color: var(--pm-ink) !important; transition: border-color .15s, color .15s; }
.pm-intro-list a::after { content: ' \203A'; color: var(--pm-red); }
.pm-intro-list a:hover { border-color: var(--pm-red); color: var(--pm-red) !important; }
.pm-intro-perks { list-style: none; padding: 0; margin: 0; }
.pm-intro-perks li { position: relative; padding: 6px 0 6px 26px; line-height: 1.6; }
.pm-intro-perks li::before { content: '\2713'; position: absolute; left: 2px; top: 6px; color: var(--pm-red); font-weight: 700; }
.pm-intro-cta { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 14px; background: radial-gradient(circle at 90% 10%, rgba(211,18,47,.5), transparent 50%), linear-gradient(135deg, #17171b, #0b0b0d 60%, #3a0710); color: #fff; }
.pm-intro-cta strong { display: block; font: 600 18px 'Oswald', 'Inter', sans-serif; color: #fff; }
.pm-intro-cta span { font-size: 14px; color: #d6d6dc; }
@media (max-width: 760px) {
  .pm-intro h2 { font-size: 24px !important; }
  .pm-intro-list { grid-template-columns: 1fr; }
  .pm-intro-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .pm-intro-cta .pm-gl-btn { text-align: center; }
}
