/* Spot Marketers Location Pages v1.4. Brand palette: deep navy + lime. Fonts inherit from the theme. */
.smlp-page, .smlp-index, .smlp-notfound { --smlp-navy:#07182b; --smlp-ink:#102b45; --smlp-muted:#475766; --smlp-lime:#b7e84c; --smlp-pale:#f4f7f6; --smlp-line:#dde6e9; }

/* Width: matches the theme's own container. A small script sets --smlp-bleed when the theme pads the page body. */
.smlp-wrap { box-sizing:border-box; width:calc(100% + 2 * var(--smlp-bleed, 0px)); max-width:none; margin-left:calc(-1 * var(--smlp-bleed, 0px)); margin-right:calc(-1 * var(--smlp-bleed, 0px)); }
.smlp-page *, .smlp-index *, .smlp-notfound * { box-sizing:border-box; }
.smlp-page img, .smlp-index img { max-width:100%; height:auto; }

/* Lists: undo theme bullets and indents */
.smlp-page ul.smlp-cards, .smlp-page ul.smlp-pills, .smlp-page ul.smlp-queries, .smlp-page ul.smlp-areas, .smlp-page ul.smlp-ind-grid, .smlp-page ul.smlp-search, .smlp-page ol.smlp-steps, .smlp-page .smlp-aside ul,
.smlp-index ul.smlp-cards, .smlp-index ul.smlp-pills { list-style:none !important; margin:0 !important; padding:0 !important; }
.smlp-page .smlp-cards li, .smlp-page .smlp-pills li, .smlp-page .smlp-search li, .smlp-page .smlp-steps li, .smlp-page .smlp-queries li, .smlp-page .smlp-areas li, .smlp-page .smlp-ind-grid li, .smlp-index .smlp-cards li { margin:0 !important; list-style:none !important; }
.smlp-page .smlp-steps li::marker { content:""; }

/* Sections */
.smlp-section { padding:clamp(14px,2vw,26px) 0; color:var(--smlp-ink); scroll-margin-top:90px; }
.smlp-section h2 { margin:0 0 16px; color:var(--smlp-ink); font-size:clamp(24px,2.7vw,32px); line-height:1.2; letter-spacing:-.3px; overflow-wrap:break-word; hyphens:manual; }
.smlp-section h3 { margin:0 0 8px; color:var(--smlp-ink); font-size:18px; line-height:1.3; }
.smlp-section p { margin:0 0 14px; color:var(--smlp-muted); font-size:16px; line-height:1.7; }
.smlp-sub { max-width:70ch; margin-bottom:20px !important; }

/* Buttons */
.smlp-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.smlp-page a.smlp-btn, .smlp-index a.smlp-btn, .smlp-notfound a.smlp-btn { display:inline-block; padding:13px 24px; border-radius:99px; border:2px solid var(--smlp-lime); background:var(--smlp-lime); color:var(--smlp-navy) !important; font-weight:700; font-size:15px; text-decoration:none !important; line-height:1.2; transition:background .15s,border-color .15s; }
.smlp-page a.smlp-btn:hover, .smlp-index a.smlp-btn:hover, .smlp-notfound a.smlp-btn:hover { background:#c8f06a; border-color:#c8f06a; }
.smlp-page a.smlp-btn-ghost, .smlp-index a.smlp-btn-ghost, .smlp-notfound a.smlp-btn-ghost { background:transparent; border-color:var(--smlp-navy); color:var(--smlp-navy) !important; }
.smlp-page a.smlp-btn-ghost:hover, .smlp-index a.smlp-btn-ghost:hover, .smlp-notfound a.smlp-btn-ghost:hover { background:var(--smlp-navy); border-color:var(--smlp-navy); color:#fff !important; }
.smlp-btn:focus-visible, .smlp-cards a:focus-visible, .smlp-pills a:focus-visible, .smlp-svc:focus-visible, .smlp-faq summary:focus-visible { outline:3px solid var(--smlp-navy); outline-offset:3px; }

/* Local context + hero image + how people search */
.smlp-context-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:clamp(24px,4vw,48px); align-items:start; }
.smlp-prose p { max-width:68ch; }
.smlp-side { min-width:0; }
.smlp-side .smlp-figure { margin:0 0 16px; }
.smlp-figure { margin:0; }
.smlp-figure img { display:block; width:100%; height:auto; border-radius:14px; }
.smlp-aside { background:var(--smlp-pale); border:1px solid var(--smlp-line); border-radius:16px; padding:22px 24px; }
.smlp-aside h3 { margin-bottom:14px; }
.smlp-search li { padding:12px 0; border-top:1px solid var(--smlp-line); }
.smlp-search li:first-child { border-top:0; padding-top:0; }
.smlp-search strong { display:block; color:var(--smlp-ink); font-size:15px; }
.smlp-search span { display:block; margin-top:3px; color:var(--smlp-muted); font-size:14.5px; line-height:1.6; }

/* Shared panel */
.smlp-panel { background:var(--smlp-pale); border:1px solid var(--smlp-line); border-radius:18px; padding:clamp(20px,3.2vw,34px); }
.smlp-panel-lead { background:#fff; }

/* Service cards: 3 across, then 2, then 1 (six cards always fill the rows evenly) */
.smlp-svc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.smlp-page a.smlp-svc { display:block; background:#fff; border:1px solid var(--smlp-line); border-radius:16px; padding:18px 20px 20px; text-decoration:none !important; color:var(--smlp-ink) !important; transition:border-color .15s, box-shadow .15s; }
.smlp-page a.smlp-svc:hover { border-color:var(--smlp-navy); box-shadow:0 6px 18px rgba(7,24,43,.07); }
.smlp-svc-head { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.smlp-svc-ico { flex:0 0 auto; width:44px; height:44px; border-radius:12px; background:#eef8d4; color:var(--smlp-navy); display:flex; align-items:center; justify-content:center; }
.smlp-svc-head strong { flex:1 1 auto; min-width:0; font-size:17px; line-height:1.25; color:var(--smlp-ink); }
.smlp-chev { flex:0 0 auto; color:var(--smlp-muted); }
.smlp-svc:hover .smlp-chev { color:var(--smlp-navy); }
.smlp-svc-text { display:block; color:var(--smlp-muted); font-size:15px; line-height:1.65; }

/* Challenges: 3 across, then stacked */
.smlp-challenge-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.smlp-challenge { background:var(--smlp-pale); border:1px solid var(--smlp-line); border-radius:14px; padding:20px 20px 8px; }
.smlp-challenge::before { content:""; display:block; width:34px; height:4px; border-radius:4px; background:var(--smlp-lime); margin-bottom:12px; }
.smlp-challenge h3 { font-size:18px; }
.smlp-challenge p { margin:0 0 10px !important; font-size:15px !important; line-height:1.65 !important; }

/* Approach: 2 x 2, then stacked (no lone card on a second row) */
.smlp-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.smlp-steps li { display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--smlp-line); border-radius:14px; padding:18px 18px 8px; }
.smlp-step-n { flex:0 0 auto; width:34px; height:34px; border-radius:50%; background:var(--smlp-navy); color:var(--smlp-lime); font-weight:700; font-size:15px; display:flex; align-items:center; justify-content:center; }
.smlp-steps li > div { min-width:0; }
.smlp-steps h3 { font-size:17px; margin-bottom:6px; }
.smlp-steps p { margin:0 0 10px !important; font-size:15px !important; line-height:1.6 !important; }

/* Industries: 3 across (6 or 9 cards), then 2, then 1 */
.smlp-ind-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.smlp-page .smlp-ind-grid a { display:block; height:100%; padding:14px 18px; background:#fff; border:1px solid var(--smlp-line); border-radius:14px; text-decoration:none !important; transition:border-color .15s, box-shadow .15s; }
.smlp-page .smlp-ind-grid a:hover { border-color:var(--smlp-navy); box-shadow:0 6px 18px rgba(7,24,43,.07); }
.smlp-ind-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.smlp-page .smlp-ind-grid a strong { color:var(--smlp-ink) !important; font-size:17px; line-height:1.25; text-decoration:none !important; }
.smlp-page .smlp-ind-grid a:hover .smlp-chev { color:var(--smlp-navy); }
.smlp-more { margin:22px 0 0 !important; }

/* What customers search for */
.smlp-query-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.smlp-query-card { background:#fff; border:1px solid var(--smlp-line); border-radius:16px; padding:20px 22px 12px; }
.smlp-query-card h3 { margin-bottom:12px; }
.smlp-queries li { position:relative; padding:10px 12px 10px 38px; margin:0 0 8px !important; background:var(--smlp-pale); border-radius:10px; color:var(--smlp-ink); font-size:15px; line-height:1.5; }
.smlp-queries li::before { content:""; position:absolute; left:13px; top:15px; width:10px; height:10px; border:2px solid var(--smlp-navy); border-radius:50%; }
.smlp-queries li::after { content:""; position:absolute; left:23px; top:25px; width:6px; height:2px; background:var(--smlp-navy); transform:rotate(45deg); transform-origin:left center; }

/* Areas we can target */
.smlp-areas { display:flex; flex-wrap:wrap; gap:10px; }
.smlp-areas li { padding:8px 16px; background:#fff; border:1px solid var(--smlp-line); border-radius:99px; color:var(--smlp-ink); font-weight:600; font-size:15px; line-height:1.2; }

/* Lists of places: cards (countries, states, cities) and pills (sibling cities) */
.smlp-nav .smlp-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr)); gap:16px; }
.smlp-index .smlp-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr)); gap:16px; }
.smlp-page .smlp-cards a, .smlp-index .smlp-cards a { display:block; height:100%; padding:18px 20px; background:#fff; border:1px solid var(--smlp-line); border-radius:14px; text-decoration:none !important; transition:border-color .15s, box-shadow .15s; }
.smlp-page .smlp-cards a:hover, .smlp-index .smlp-cards a:hover { border-color:var(--smlp-navy); box-shadow:0 6px 18px rgba(7,24,43,.07); }
.smlp-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.smlp-page .smlp-cards a strong, .smlp-index .smlp-cards a strong { color:var(--smlp-ink) !important; font-size:20px; line-height:1.25; text-decoration:none !important; }
.smlp-page .smlp-cards a .smlp-card-sub, .smlp-index .smlp-cards a .smlp-card-sub { display:block; margin-top:6px; color:var(--smlp-muted) !important; font-size:14.5px; line-height:1.55; text-decoration:none !important; }
.smlp-page .smlp-cards a:hover .smlp-chev, .smlp-index .smlp-cards a:hover .smlp-chev { color:var(--smlp-navy); }
.smlp-note { margin:18px 0 0 !important; font-size:15px !important; }
.smlp-note a { color:var(--smlp-navy) !important; font-weight:700; text-decoration:underline !important; text-underline-offset:3px; }
.smlp-empty { padding:22px 24px; border:1px dashed #b9c5cc; border-radius:14px; background:#fff; }
.smlp-empty p { margin:0 0 14px !important; font-size:16px !important; }
.smlp-pills { display:flex; flex-wrap:wrap; gap:10px; }
.smlp-page .smlp-pills a { display:inline-block; padding:9px 18px; border:1px solid var(--smlp-line); border-radius:99px; background:#fff; color:var(--smlp-ink) !important; font-weight:600; font-size:15px; text-decoration:none !important; }
.smlp-page .smlp-pills a:hover { border-color:var(--smlp-navy); }

/* FAQ */
.smlp-faq-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr); gap:clamp(24px,4vw,48px); align-items:start; }
.smlp-faq-grid h2 { font-size:clamp(22px,2.4vw,30px); }
.smlp-faq details { margin-bottom:10px; background:#fff; border:1px solid var(--smlp-line); border-radius:12px; }
.smlp-faq summary { position:relative; list-style:none; cursor:pointer; padding:16px 48px 16px 18px; color:var(--smlp-ink); font-weight:700; font-size:16px; line-height:1.4; }
.smlp-faq summary::-webkit-details-marker { display:none; }
.smlp-faq summary::after { content:"+"; position:absolute; right:18px; top:50%; transform:translateY(-50%); font-size:22px; font-weight:400; color:var(--smlp-muted); }
.smlp-faq details[open] summary::after { content:"\2212"; }
.smlp-faq details p { margin:0; padding:0 18px 16px; font-size:15px; }

/* Image beside a section (appears only once an image is added) */
.smlp-media { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr); gap:clamp(20px,3.5vw,40px); align-items:start; }
.smlp-media .smlp-figure { position:sticky; top:24px; }
.smlp-media-body { min-width:0; }
.smlp-media .smlp-challenge-grid, .smlp-media .smlp-steps { grid-template-columns:minmax(0,1fr); }

/* Locations index page + missing-location page */
.smlp-index-fallback { padding:clamp(20px,4vw,48px) 20px; }
.smlp-index-fallback h1 { margin:0 0 8px; color:var(--smlp-ink); font-size:clamp(28px,3.6vw,42px); line-height:1.15; overflow-wrap:break-word; hyphens:manual; }
.smlp-areas li.smlp-area-link { padding:0; }
.smlp-page .smlp-areas li.smlp-area-link a { display:block; padding:8px 16px; color:var(--smlp-ink) !important; text-decoration:none !important; }
.smlp-page .smlp-areas li.smlp-area-link:hover { border-color:var(--smlp-navy); }
.smlp-howto { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:24px; }
.smlp-howto p { margin:0 !important; font-size:15px !important; }
.smlp-notfound { padding:clamp(28px,5vw,64px) 20px; }
.smlp-notfound h1 { margin:0 0 14px; color:var(--smlp-ink); font-size:clamp(26px,3.4vw,38px); line-height:1.18; overflow-wrap:break-word; hyphens:manual; }
.smlp-notfound p { margin:0 0 12px; color:var(--smlp-muted); font-size:17px; line-height:1.7; max-width:62ch; }

/* Responsive */
@media (max-width:1000px) {
  .smlp-svc-grid, .smlp-ind-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .smlp-query-grid { grid-template-columns:minmax(0,1fr); }
  .smlp-context-grid, .smlp-faq-grid, .smlp-media { grid-template-columns:minmax(0,1fr); }
  .smlp-media .smlp-figure { position:static; }
  .smlp-challenge-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:600px) {
  .smlp-svc-grid, .smlp-steps, .smlp-ind-grid { grid-template-columns:minmax(0,1fr); }
  .smlp-actions { flex-direction:column; }
  .smlp-page a.smlp-btn, .smlp-index a.smlp-btn, .smlp-notfound a.smlp-btn { display:block; text-align:center; }
  .smlp-aside, .smlp-panel { padding:18px; }
  .smlp-faq summary { padding:14px 42px 14px 14px; }
}
