/* PaidMedia.ca Explorer, homepage search and Guides hub. Light theme to match the site. */
.pmc-x,.pmc-x-home{--x-navy:#0E1A2B;--x-red:#D7261E;--x-teal:#1FA6A0;--x-teal-ink:#127A75;--x-grey:#9AA6B5;--x-ink:#0E1A2B;--x-muted:#4A5668;--x-line:#D9DFE6;--x-soft:#EEF2F6;--x-surface:#FFFFFF;--x-bg:#F7F9FB;--x-chip:#E3F4F2;--x-meta:#1877F2;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--x-ink);line-height:1.55}
.pmc-x *,.pmc-x-home *{box-sizing:border-box}
.pmc-x{display:flex;flex-direction:column;gap:22px;padding-block:28px 64px}
.pmc-x h1{margin:0;font-size:clamp(28px,4.2vw,46px);line-height:1.08;letter-spacing:-.025em;font-weight:800;text-wrap:balance;max-width:24ch}
.pmc-x h2{margin:0 0 6px;font-size:20px;letter-spacing:-.01em;line-height:1.25}
.pmc-x p{margin:0}
.pmc-x a{color:var(--x-teal-ink)}
.pmc-x-kick{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--x-red)}
.pmc-x-sub{color:var(--x-muted);font-size:17px;max-width:68ch;text-wrap:pretty}
.pmc-x-lead{color:var(--x-muted);font-size:14px;margin-bottom:12px!important;max-width:70ch}
.pmc-x-muted{color:var(--x-muted)}
.pmc-x-src{font-size:12.5px;color:var(--x-muted);max-width:90ch}
.pmc-x-updated{font-size:13px;color:var(--x-muted);margin-top:-12px!important}
.pmc-x-crumbs{font-size:13px;color:var(--x-muted)}
.pmc-x-crumbs a{color:var(--x-muted);text-decoration:none}
.pmc-x-crumbs a:hover{color:var(--x-ink);text-decoration:underline}
.pmc-x-svc{background:var(--x-chip);border-radius:10px;padding:10px 14px;font-size:14px;max-width:90ch}

/* Wide on desktop: break out of the theme's content width, like the planner. */
@media (min-width:900px){
  .pmc-x.alignwide,.pmc-x-home.alignwide,.is-layout-constrained>.pmc-x.alignwide,.is-layout-constrained>.pmc-x-home.alignwide{width:min(1400px,calc(100vw - 64px))!important;max-width:none!important;margin-left:calc(50% - min(700px,50vw - 32px))!important;margin-right:calc(50% - min(700px,50vw - 32px))!important}
}

/* Hero (Explore landing, Guides hub) */
.pmc-x-hero{background:var(--x-navy);color:#fff;border-radius:20px;padding:clamp(24px,4vw,48px);display:flex;flex-direction:column;gap:14px}
.pmc-x-hero h1{color:#fff}
.pmc-x-hero .pmc-x-sub{color:#B9C3D1}
.pmc-x-hero--light{background:var(--x-surface);color:var(--x-ink);border:1px solid var(--x-line)}
.pmc-x-hero--light h1{color:var(--x-ink)}
.pmc-x-hero--light .pmc-x-sub{color:var(--x-muted)}

/* Search */
.pmc-x-search{display:flex;flex-direction:column;gap:12px;max-width:920px}
.pmc-x-modes{display:inline-flex;align-self:flex-start;background:var(--x-soft);border:1px solid var(--x-line);border-radius:12px;padding:4px;gap:2px}
.pmc-x-hero .pmc-x-modes,.pmc-x-modes--dark{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16)}
.pmc-x-modes button{border:0;background:none;color:var(--x-muted);font:inherit;font-weight:700;font-size:15px;padding:8px 18px;border-radius:9px;cursor:pointer}
.pmc-x-hero .pmc-x-modes button,.pmc-x-modes--dark button{color:#C9D2DE}
.pmc-x-modes button[aria-pressed="true"]{background:#fff;color:var(--x-navy);box-shadow:0 1px 3px rgba(14,26,43,.12)}
.pmc-x-ask{display:flex;gap:10px;background:#fff;border:1px solid var(--x-line);border-radius:14px;padding:8px;box-shadow:0 10px 30px rgba(14,26,43,.12);margin:0}
.pmc-x-hero .pmc-x-ask,.pmc-x-ask--home{border-color:transparent;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.pmc-x-ask input{flex:1;min-width:0;border:0!important;outline:none;font:inherit;font-size:18px;padding:12px 14px;color:var(--x-navy);background:transparent;box-shadow:none!important}
.pmc-x-ask button,.pmc-x-guided button,.pmc-x-btn{border:0;background:var(--x-red);color:#fff!important;font:inherit;font-weight:700;font-size:16px;padding:0 24px;border-radius:10px;cursor:pointer;min-height:50px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
.pmc-x-ask button:hover,.pmc-x-guided button:hover,.pmc-x-btn:hover{background:#B81F18}
.pmc-x-ask:focus-within{outline:3px solid var(--x-teal);outline-offset:2px}
.pmc-x-guided{display:grid;grid-template-columns:1.2fr 1.2fr 1fr auto;gap:12px;align-items:end;background:#fff;color:var(--x-ink);border:1px solid var(--x-line);border-radius:14px;padding:14px;margin:0}
.pmc-x-guided label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:var(--x-muted);min-width:0}
.pmc-x-guided select,.pmc-x-guided input{font:inherit;font-size:16px;font-weight:400;color:var(--x-navy);border:1px solid var(--x-line);border-radius:10px;padding:11px 12px;background:#fff;min-height:50px;width:100%}
.pmc-x-guided[hidden],.pmc-x-ask[hidden],.pmc-x-examples[hidden]{display:none!important}
@media (max-width:820px){.pmc-x-guided{grid-template-columns:1fr}}
.pmc-x-examples{display:flex;flex-wrap:wrap;gap:8px}
.pmc-x-examples button{background:var(--x-surface);border:1px solid var(--x-line);color:var(--x-ink);border-radius:999px;font:inherit;font-size:14px;padding:7px 13px;cursor:pointer}
.pmc-x-hero .pmc-x-examples button,.pmc-x-home .pmc-x-examples button{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18);color:#fff}
.pmc-x-examples button:hover{border-color:var(--x-teal)}
.pmc-x-msg{font-size:14px;min-height:1.2em}
.pmc-x-hero .pmc-x-msg{color:#D5DCE5}
@media (max-width:520px){.pmc-x-ask{flex-direction:column}.pmc-x-ask button{width:100%}}

/* Blocks */
.pmc-x-block{display:flex;flex-direction:column;gap:12px}
.pmc-x-inds{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.pmc-x-inds a{display:block;padding:11px 14px;border:1px solid var(--x-line);border-radius:10px;background:var(--x-surface);text-decoration:none;color:var(--x-ink);font-weight:600;font-size:15px}
.pmc-x-inds a:hover{border-color:var(--x-teal)}
.pmc-x-pop{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px}
.pmc-x-q{background:var(--x-surface);border:1px solid var(--x-line);border-radius:14px;padding:18px;color:var(--x-ink)!important;text-decoration:none;display:flex;flex-direction:column;gap:6px}
.pmc-x-q:hover{border-color:var(--x-teal)}
.pmc-x-q .t{font-weight:700}
.pmc-x-q .n{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.pmc-x-q .m{font-size:13px;color:var(--x-muted)}

/* Answer page layout: main + side column */
.pmc-x-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:22px;align-items:start}
.pmc-x-main,.pmc-x-side{display:flex;flex-direction:column;gap:22px;min-width:0}
@media (max-width:1060px){.pmc-x-grid{grid-template-columns:1fr}}
.pmc-x-card{background:var(--x-surface);border:1px solid var(--x-line);border-radius:16px;padding:22px;min-width:0;scroll-margin-top:90px}
.pmc-x-card svg{display:block;width:100%;height:auto}
.pmc-x .k{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--x-muted)}
.pmc-x .v{font-size:26px;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.2}
.pmc-x .s{font-size:13px;color:var(--x-muted)}
.pmc-x .w{font-size:15px;font-weight:700;line-height:1.35}
.pmc-x-answer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;border-top:4px solid var(--x-red)}
.pmc-x-answer>div:not(.pmc-x-meta){display:flex;flex-direction:column;gap:2px;min-width:0}
.pmc-x-short{grid-column:1/-1;font-size:16px;border-top:1px solid var(--x-line);padding-top:14px}
.pmc-x-meta{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;border-top:1px solid var(--x-line);padding-top:14px}
.pmc-x-meta>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.pmc-x-meta .mh{grid-column:1/-1;font-size:15px}
.pmc-x-meta .mh span{color:var(--x-muted);font-size:13px;margin-left:4px}
.pmc-x-meta .mh b::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--x-meta);margin-right:8px}
@media (max-width:760px){.pmc-x-answer,.pmc-x-meta{grid-template-columns:1fr 1fr}}
.pmc-x-pill{display:inline-block;font-size:15px;font-weight:700;padding:3px 12px;border-radius:999px;vertical-align:middle}
.pmc-x-pill.low{background:#E2F4EC;color:#0E6B4A}.pmc-x-pill.medium{background:#FBEFD9;color:#8A5300}.pmc-x-pill.high{background:#FBE3E1;color:#A3231C}

.pmc-x-ins{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.pmc-x-ins li{position:relative;padding:10px 12px 10px 40px;background:var(--x-bg);border-radius:10px;font-size:15px;max-width:none}
.pmc-x-ins li::before{content:"•";position:absolute;left:14px;top:9px;width:18px;text-align:center;font-weight:800;color:var(--x-muted)}
.pmc-x-ins li.up::before{content:"↑";color:var(--x-red)}
.pmc-x-ins li.down::before{content:"↓";color:var(--x-teal-ink)}
.pmc-x-ins li.cal::before{content:"◷";color:var(--x-navy)}
.pmc-x-ins li.note::before{content:"i";color:var(--x-teal-ink)}
.pmc-x-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:var(--x-muted);margin-bottom:6px!important}
.pmc-x-legend span::before{content:"";display:inline-block;width:14px;height:3px;border-radius:2px;background:var(--c);margin-right:6px;vertical-align:middle}

.pmc-x-tablewrap{overflow-x:auto}
.pmc-x-table{width:100%;border-collapse:collapse;font-size:14.5px;font-variant-numeric:tabular-nums}
.pmc-x-table th{text-align:left;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--x-muted);padding:8px 10px;border-bottom:1px solid var(--x-line);white-space:nowrap}
.pmc-x-table td{padding:10px;border-bottom:1px solid var(--x-soft)}
.pmc-x-table .num{text-align:right;white-space:nowrap}
.pmc-x-table tr.me td{background:#FFF6F5;font-weight:700}
.pmc-x-table tr.sum td{background:var(--x-bg);color:var(--x-muted)}
.pmc-x-table a{text-decoration:none;font-weight:600}
.pmc-x-table a:hover{text-decoration:underline}
.pmc-x-tag{display:inline-block;margin-left:8px;font-size:11.5px;font-weight:700;padding:1px 8px;border-radius:999px;vertical-align:1px}
.pmc-x-tag.cheap{background:#E2F4EC;color:#0E6B4A}.pmc-x-tag.dear{background:#FBE3E1;color:#A3231C}

.pmc-x-card details{border-top:1px solid var(--x-line);padding:12px 0}
.pmc-x-card details:first-of-type{border-top:0}
.pmc-x-card summary{font-weight:700;cursor:pointer}
.pmc-x-card details p{margin-top:8px;color:var(--x-muted);max-width:80ch}

/* Side column */
.pmc-x-badge{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--x-chip);color:var(--x-teal-ink);padding:2px 8px;border-radius:999px;vertical-align:3px;margin-left:6px}
.pmc-x-calc{position:relative;display:flex;flex-direction:column;gap:10px}
.pmc-x-calc label{display:flex;justify-content:space-between;font-size:14px;font-weight:600}
.pmc-x-calc input[type=range]{width:100%;accent-color:var(--x-red)}
.pmc-x-calc .out{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}
.pmc-x-calc .out div{background:var(--x-bg);border-radius:10px;padding:10px 4px;display:flex;flex-direction:column}
.pmc-x-calc .out b{font-size:18px;font-variant-numeric:tabular-nums}
.pmc-x-calc .out span{font-size:12px;color:var(--x-muted)}
.pmc-x-gate{display:flex;flex-direction:column;gap:8px;align-items:flex-start;background:var(--x-navy);color:#fff;border-radius:12px;padding:16px}
.pmc-x-gate span{font-size:14px;color:#B9C3D1}
.pmc-x-gate a:not(.pmc-x-btn){color:#fff;font-size:14px}
.pmc-x-gate .pmc-x-btn{min-height:42px;font-size:15px}
.pmc-x-calc:not(.on) .out,.pmc-x-calc:not(.on) input,.pmc-x-calc:not(.on) label{filter:blur(3px);opacity:.6;pointer-events:none;user-select:none}
.pmc-x-calc.on .pmc-x-gate{display:none}
.pmc-x-flash{outline:3px solid var(--x-teal);outline-offset:3px}
.pmc-x-meter{height:10px;border-radius:999px;background:linear-gradient(90deg,#0E8A5F,#E3A84B,#C0392B);position:relative;overflow:hidden}
.pmc-x-meter i{position:absolute;inset:0 auto 0 0;border-right:3px solid var(--x-navy)}
.pmc-x-meter i{background:transparent}
.pmc-x-scale{display:flex;justify-content:space-between;font-size:12.5px;color:var(--x-muted);margin:6px 0 12px!important}
.pmc-x-scale b{color:var(--x-ink)}
.pmc-x-side .pmc-x-card>p{font-size:14.5px;margin-bottom:10px}
.pmc-x-who{list-style:none;margin:6px 0 10px;padding:0;display:flex;flex-direction:column;gap:8px}
.pmc-x-who li{display:flex;flex-direction:column;font-size:14px;border-left:3px solid var(--x-line);padding-left:10px}
.pmc-x-who span{color:var(--x-muted);font-size:13px}
.pmc-x-links{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.pmc-x-rise{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.pmc-x-rise li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--x-soft);font-size:14.5px;font-weight:600}
.pmc-x-rise li:first-child{border-top:0}
.pmc-x-rise span{display:block;font-weight:400;font-size:12.5px;color:var(--x-muted)}
.pmc-x-rise b.up{color:#0E6B4A}.pmc-x-rise b.down{color:#A3231C}
.pmc-x-rel{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:14.5px}

.pmc-x-cta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;background:var(--x-navy);color:#fff;border-radius:16px;padding:24px}
.pmc-x-cta b{font-size:20px}
.pmc-x-cta p{color:#B9C3D1;max-width:62ch;margin-top:4px!important}

/* Homepage hero search */
.pmc-x-home{display:flex;flex-direction:column;gap:14px;color:#fff;padding-block:8px}
.pmc-x-home>*{max-width:920px}
.pmc-x-home>.pmc-x-result{max-width:none}
.pmc-x-home-h{margin:0!important;font-size:clamp(32px,5vw,56px)!important;line-height:1.05!important;letter-spacing:-.025em;font-weight:800;max-width:18ch;color:#fff;text-wrap:balance}
.pmc-x-home-sub{margin:0!important;color:#B9C3D1;font-size:18px;max-width:62ch}
.pmc-x-home .pmc-x-modes{order:-1}
.pmc-x-result:empty{display:none}
.pmc-x-hcard{background:#fff;color:var(--x-ink);border-radius:16px;padding:20px 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border-top:4px solid var(--x-red)}
.pmc-x-hcard>div:not(.meta):not(.foot){display:flex;flex-direction:column;gap:2px;min-width:0}
.pmc-x-hcard h3{grid-column:1/-1;margin:0;font-size:18px;color:var(--x-ink)}
.pmc-x-hcard p{margin:0}
.pmc-x-hcard .svc{grid-column:1/-1;background:var(--x-chip);border-radius:8px;padding:8px 12px;font-size:14px}
.pmc-x-hcard .k{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--x-muted)}
.pmc-x-hcard .v{font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15}
.pmc-x-hcard .s{font-size:13px;color:var(--x-muted)}
.pmc-x-hcard .w{font-size:15px;font-weight:700;line-height:1.35}
.pmc-x-hcard svg{display:block;width:100%;height:34px;margin-top:4px}
.pmc-x-hcard .meta{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border-top:1px solid var(--x-line);padding-top:14px}
.pmc-x-hcard .meta>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.pmc-x-hcard .mh{grid-column:1/-1;font-size:15px}
.pmc-x-hcard .mh span{color:var(--x-muted);font-size:13px;margin-left:4px}
.pmc-x-hcard .mh b::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--x-meta);margin-right:8px}
.pmc-x-hcard .foot{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid var(--x-line);padding-top:14px}
.pmc-x-hcard .foot p{flex:1 1 320px;font-size:14px;color:var(--x-muted);max-width:60ch}
.pmc-x-hcard a:not(.pmc-x-btn){color:var(--x-teal-ink)}
@media (max-width:700px){.pmc-x-hcard,.pmc-x-hcard .meta{grid-template-columns:1fr 1fr}}
.pmc-x-glist{background:#fff;color:var(--x-ink);border-radius:16px;padding:8px 6px}
.pmc-x-glist a{display:flex;justify-content:space-between;gap:14px;padding:12px 16px;border-radius:10px;text-decoration:none;color:var(--x-ink)}
.pmc-x-glist a:hover{background:var(--x-soft)}
.pmc-x-glist b{font-weight:600}
.pmc-x-glist span{font-size:13px;color:var(--x-muted);white-space:nowrap}
.pmc-x-glist .none{padding:12px 16px;margin:0;color:var(--x-muted)}
.pmc-x-glist .none a{display:inline;padding:0;color:var(--x-teal-ink);text-decoration:underline}

/* Guides hub */
.pmc-x-topics{display:flex;flex-wrap:wrap;gap:8px}
.pmc-x-topics a{padding:7px 14px;border:1px solid var(--x-line);border-radius:999px;text-decoration:none;color:var(--x-ink)!important;font-size:14px;font-weight:600;background:var(--x-surface)}
.pmc-x-topics a[aria-current]{background:var(--x-navy);border-color:var(--x-navy);color:#fff!important}
.pmc-x-arts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.pmc-x-art{display:flex;flex-direction:column;gap:8px;text-decoration:none;border:1px solid var(--x-line);border-radius:14px;padding:20px;background:var(--x-surface);color:var(--x-ink)!important}
.pmc-x-art:hover{border-color:var(--x-ink)}
.pmc-x-art .cat{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--x-teal-ink)}
.pmc-x-art b{font-size:19px;line-height:1.3;letter-spacing:-.01em}
.pmc-x-art .ex{font-size:14.5px;color:var(--x-muted)}
.pmc-x-art .d{font-size:13px;color:var(--x-muted);margin-top:auto}
.pmc-x-pages{display:flex;gap:6px;flex-wrap:wrap}
.pmc-x-pages a{min-width:40px;text-align:center;padding:8px 10px;border:1px solid var(--x-line);border-radius:8px;text-decoration:none}
.pmc-x-pages a[aria-current]{background:var(--x-navy);color:#fff;border-color:var(--x-navy)}

/* Guides hub: old homepage layout */
.pmc-x-ghead{display:flex;flex-direction:column;gap:14px;padding-bottom:6px}
.pmc-x-ghead .pmc-x-ask{max-width:920px}
.pmc-x-gfeature{display:grid;grid-template-columns:minmax(0,62fr) minmax(0,38fr);gap:clamp(24px,4vw,56px);background:var(--x-navy);color:#fff;border-radius:20px;padding:clamp(24px,4vw,52px)}
.pmc-x-gfeature .side{display:flex;flex-direction:column;gap:6px;min-width:0}
.pmc-x-gfeature .lead{min-width:0}
.pmc-x-gfeature .pmc-kicker{color:#A9B4C2;margin:0}
@media (max-width:900px){.pmc-x-gfeature{grid-template-columns:1fr}}
.pmc-x-ghd{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:6px}
.pmc-x-ghd h2{margin:0;font-size:clamp(22px,2.6vw,30px)}
.pmc-x-ghd a{font-weight:700;font-size:14px;text-decoration:none}
.pmc-x-gcats{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:32px 40px;padding-top:8px}
.pmc-x-gcats .col{min-width:0}
.pmc-x-gcats .pmc-x-ghd h2{font-size:20px}
.pmc-x-gcats .pmc-posts:empty{display:none}
.pmc-x-guides .pmc-posts a{color:var(--x-ink);text-decoration:none}
.pmc-x-guides .pmc-posts a:hover .pmc-title{text-decoration:underline;text-underline-offset:3px}
.pmc-x-guides .pmc-posts .pmc-label{color:var(--x-teal-ink)}
.pmc-x-gfeature .pmc-posts a{color:#fff}
.pmc-x-gfeature .pmc-posts .pmc-label,.pmc-x-gfeature .pmc-eyebrow{color:#3CC2BB}
.pmc-x-gfeature .pmc-posts .pmc-ex{color:#D5DCE5}
.pmc-x-gfeature .pmc-posts--dark-links li{border-top-color:#24324A}
.pmc-x-ghead h1{margin-bottom:4px}
.pmc-x-gfeature ul.pmc-posts{margin:0;padding:0;list-style:none}
