/* jasonmatwood.com polish layer, injected by Apache (mod_substitute) on text/html.
   2026-10-20: tighter spacing scale, centred section buttons, titles/leads aligned to the H1,
   compact talk rows. Source of truth: box /workspace/jasonmatwood/server/theme/jma-polish.css
   Droplet: /var/www/site-icons/jma/theme/jma-polish.css (served at /jma-theme/). Bump ?v= in the vhost. */
:root{--jma-sp-1:8px;--jma-sp-2:16px;--jma-sp-3:24px;--jma-sp-4:40px;--jma-left:max(20px,calc((100% - 940px)/2))}
@media (max-width:768px){:root{--jma-sp-3:20px;--jma-sp-4:28px}}

/* sections */
#page-document .blocks-group-wrapper{padding-top:var(--jma-sp-4)!important;padding-bottom:var(--jma-sp-4)!important;margin-bottom:0!important}
#page-document > .blocks-group-wrapper:first-child{padding-top:0!important}
#page-document .blocks-group-wrapper > :first-child{margin-top:0!important}
#page-document .blocks-group-wrapper > :last-child{margin-bottom:0!important}

/* page title + lead */
#page-document h1.documentFirstHeading{padding-top:var(--jma-sp-4)!important;margin-bottom:var(--jma-sp-2)!important}
#page-document .documentDescription{margin-bottom:var(--jma-sp-3)!important}

/* body text */
#page-document .blocks-group-wrapper > p,
#page-document .blocks-group-wrapper > .jma-slate > p,
#page-document .gridBlock .column > p{margin-bottom:var(--jma-sp-2)!important}

/* headings: small gap before body; eyebrow sits right on its heading */
#page-document .block.heading{margin-bottom:0!important}
#page-document .block.heading .heading{margin-top:var(--jma-sp-4)!important;margin-bottom:var(--jma-sp-2)!important}
#page-document .has--jma--eyebrow{margin-top:var(--jma-sp-4)!important}
#page-document .blocks-group-wrapper > .has--jma--eyebrow:first-child{margin-top:0!important}
#page-document .has--jma--eyebrow + .block.heading .heading{margin-top:var(--jma-sp-1)!important}
#page-document .has--jma--eyebrow p{margin:0!important}

/* block margins */
#page-document .block.gridBlock,
#page-document .block.separator{margin-top:var(--jma-sp-3)!important;margin-bottom:var(--jma-sp-3)!important}
#page-document .block.heading + .block.gridBlock{margin-top:var(--jma-sp-2)!important}
#page-document .block.video{margin-top:0!important}
#page-document .has--jma--chips{margin-top:var(--jma-sp-3)!important}
#page-document .has--jma--links ul,#page-document .has--jma--chips ul{margin-top:var(--jma-sp-1)!important}
#page-document .block.form{margin-top:var(--jma-sp-2)!important;margin-bottom:0!important}
#page-document .block.form .ui.padded.segment{margin-top:0!important;margin-bottom:0!important}

/* About: two-column text no longer stretches to the photo height */
#page-document .gridBlock .column{justify-content:flex-start!important}
#page-document .gridBlock .column > p{flex-grow:0!important}

/* section buttons: centred, small gap above */
#page-document .block.__button{margin-top:0!important;margin-bottom:0!important;width:auto!important;max-width:none!important;box-sizing:border-box}
#page-document .block.__button .button.container{padding-top:var(--jma-sp-3)!important;padding-bottom:0!important;max-width:none!important;margin:0 auto!important;display:flex!important;justify-content:center!important;text-align:center!important}
#page-document .block.__button .align{display:flex!important;justify-content:center!important;margin:0 auto!important}

/* talks listing: compact rows */
#page-document .listing-item.event-listing{margin-bottom:0!important;padding-top:var(--jma-sp-2)!important;padding-bottom:var(--jma-sp-2)!important}
#page-document .event-listing .card-inner{padding-bottom:0!important}
#page-document .event-listing .image-wrapper{height:auto!important}
#page-document .event-listing .card-summary{padding-top:2px!important;padding-bottom:0!important}
#page-document .event-listing .headline{margin-bottom:6px!important}
#page-document .event-listing .title{margin-bottom:6px!important}
#page-document .accordion .blocks-group-wrapper{padding-top:var(--jma-sp-1)!important;padding-bottom:var(--jma-sp-2)!important}

/* desktop: lead, text, lists and eyebrows line up with the H1 left edge */
@media (min-width:769px){
#page-document .documentDescription,
#page-document .blocks-group-wrapper > p,
#page-document .blocks-group-wrapper > ul,
#page-document .blocks-group-wrapper > ol,
#page-document .blocks-group-wrapper > .has--jma--eyebrow,
#page-document .blocks-group-wrapper > .has--jma--note{margin-left:var(--jma-left)!important;margin-right:auto!important;max-width:720px!important}
#page-document .blocks-group-wrapper > ul{padding-left:1.25em}
}

/* mobile: heading wrapper had a second 20px side margin, so H2s sat 20px right of the H1 */
@media (max-width:768px){#page-document .block.heading .heading-wrapper{margin-left:0!important;margin-right:0!important}}

/* 2026-10-20b: podcasts listing (/writing link-listing): compact rows like talks */
#page-document .listing-item.link-listing{margin-bottom:0!important;padding-top:var(--jma-sp-2)!important;padding-bottom:var(--jma-sp-2)!important}
#page-document .link-listing .card-inner{padding-bottom:0!important}
#page-document .link-listing .image-wrapper{height:auto!important}
#page-document .link-listing .card-summary{padding-top:2px!important;padding-bottom:0!important}
#page-document .link-listing .title{margin-bottom:6px!important}
#page-document .link-listing .description{margin-bottom:0!important}

/* 2026-10-20b: quote band: closing mark balances the opening one; attribution bigger, right aligned, no prefix */
#page-document .has--jma--quote p:first-child::after{display:block;content:"\201D";color:#2f5d8a;font-family:Fraunces,Georgia,"Times New Roman",serif;font-size:80px;line-height:.7;margin-top:22px;height:.45em;overflow:visible}
#page-document .has--jma--quote p:last-child:not(:first-child){text-align:right!important;font-size:20px!important;font-weight:500;color:#2f5d8a;margin-top:6px!important}
#page-document .has--jma--quote p:last-child:not(:first-child)::before{content:none!important}
@media (max-width:768px){#page-document .has--jma--quote p:last-child:not(:first-child){font-size:17px!important}#page-document .has--jma--quote p:first-child::after{font-size:64px}}

/* 2026-10-20d: backstop, never show a striped placeholder: any placeholder tile or Volto default image renders the branded card.
   Primary fix is box cron content/img/auto/jma_autocard.py (hourly). */
#page-document .image-wrapper img[src*="/images/tile-"],#page-document .listing-item img[src*="/images/tile-"],
#page-document .listing-item img[src*="default-image"],#page-document .listing-item img[src*="placeholder"]{content:url(/jma-theme/fallback-card.jpg);object-fit:cover}

/* Talk detail layout (2026-10-21): lead image under title, description left, details right, event line below */
.event-view > .dates{margin:0 0 4px!important;padding:0!important;font-size:.9rem;color:#5E6E80}
.event-view .blocks-group-wrapper{max-width:1040px;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) 280px;column-gap:40px;row-gap:12px;align-items:start;padding-top:0!important}
.event-view .blocks-group-wrapper > *{grid-column:1 / -1;margin:0!important;width:auto!important;max-width:none!important;min-width:0}
.event-view .blocks-group-wrapper > * *{max-width:none}
.event-view > .dates{max-width:1040px;margin-left:auto!important;margin-right:auto!important;padding:0 20px!important;box-sizing:border-box}
.event-view .blocks-group-wrapper > h1.documentFirstHeading{margin:0 0 4px!important}
.event-view .blocks-group-wrapper > .block.image.has--jma--talk-lead{max-width:100%!important;width:100%;margin:0!important}
.event-view .block.image.has--jma--talk-lead img{width:100%;height:auto;border-radius:8px;display:block}
.event-view .blocks-group-wrapper > .has--jma--talk-desc{grid-column:1;grid-row:3}
.event-view .blocks-group-wrapper > .has--jma--talk-desc p{margin:0 0 .8em!important;max-width:none!important}
.event-view .blocks-group-wrapper > .block.eventMetadata{grid-column:2;grid-row:3;max-width:none!important;padding:0!important}
.event-view .block.eventMetadata .details-container{padding:16px 18px!important;margin:0!important;max-width:none!important;background:#F4F6F8;border-radius:8px}
.event-view .block.eventMetadata .content-container{display:block!important;padding:0!important}
.event-view .block.eventMetadata .event-details{display:block!important;margin:0!important;padding:0!important;width:auto!important}
.event-view .block.eventMetadata .event-title{margin:0 0 8px!important;padding:0!important}
.event-view .block.eventMetadata .event-heading{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#5E6E80;margin:0!important}
.event-view .block.eventMetadata .event-detail{margin:0!important;font-size:.95rem;word-break:break-word}
.event-view .block.eventMetadata .separator{display:none!important}
.event-view .block.eventMetadata .event-button{margin:8px 0 0!important;padding:0!important}
.event-view .block.eventMetadata .event-btn{padding:6px 12px!important;font-size:.85rem!important}
.event-view .blocks-group-wrapper > .has--jma--talk-eventline{grid-column:1 / -1;grid-row:4;border-top:1px solid #E3E8EE;padding-top:10px}
.event-view .blocks-group-wrapper > .has--jma--talk-eventline p{margin:0!important;max-width:none!important}
.event-view.view-wrapper ~ .tags, .event-view + .tags{margin-top:12px!important}
@media (max-width:767px){
 .event-view .blocks-group-wrapper{grid-template-columns:minmax(0,1fr)}
 .event-view .blocks-group-wrapper > .has--jma--talk-desc,.event-view .blocks-group-wrapper > .block.eventMetadata,.event-view .blocks-group-wrapper > .has--jma--talk-eventline{grid-column:1;grid-row:auto}
}
.event-view > .dates{display:none!important}
.event-view{padding-top:0!important;margin-top:16px!important}
.event-view .blocks-group-wrapper > h1.documentFirstHeading{margin:8px 0 6px!important}
.event-view .blocks-group-wrapper > .has--jma--talk-desc p{font-size:1.05rem!important;line-height:1.6!important}
.event-view .block.eventMetadata .event-detail,.event-view .block.eventMetadata .event-detail *{font-size:.95rem!important;line-height:1.35!important}
.event-view ~ .tags,.event-view + .tags,.q.container.tags{max-width:1040px;margin-left:auto!important;margin-right:auto!important;padding:0 20px!important;box-sizing:border-box}
.event-view .block.image.has--jma--talk-lead figure{margin:0!important}.event-view #page-document,.event-view{padding-top:0!important}
/* 2026-10-21b: centered ICS button + talk speak button */
.event-view .block.eventMetadata .event-button{display:flex!important;justify-content:center!important;text-align:center!important;width:100%}
/* jma-ics-past-20261024: hide ICS when Event end (else start) is past */
.event-button.jma-ics-past,a.ics-download.jma-ics-past{display:none!important}
.event-view .blocks-group-wrapper > .block.__button.has--jma--talk-speak{grid-column:1 / -1;grid-row:6;display:flex!important;justify-content:center!important;margin:16px 0 4px!important}
.event-view .blocks-group-wrapper > .block.__button.has--jma--talk-speak .button.container,.event-view .blocks-group-wrapper > .block.__button.has--jma--talk-speak > *{justify-content:center!important;text-align:center!important;margin:0 auto!important}
@media (max-width:767px){.event-view .blocks-group-wrapper > .block.__button.has--jma--talk-speak{grid-row:auto}}
/* jma-stats-center-20261021: homepage stats centered, MVP last (CSS only, no DOM changes) */
.ui.statistics:has(> a.ui.statistic[data-jma]),.ui.statistics:has(> a.ui.statistic[href="/about"]){display:flex!important;flex-wrap:wrap;justify-content:center!important;align-items:flex-start;margin-left:auto!important;margin-right:auto!important}
.ui.statistics > a.ui.statistic{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
.ui.statistics > a.ui.statistic > .value,.ui.statistics > a.ui.statistic > .label,.ui.statistics > a.ui.statistic > .slate{text-align:center!important;justify-content:center!important;margin-left:auto!important;margin-right:auto!important}
.ui.statistics > a.ui.statistic[href="/about"]{order:99}
.ui.statistics:has(> a.ui.statistic[href="/about"]) > a.ui.statistic{margin:0 0 1.5em!important;flex:0 0 20%!important;max-width:20%!important;box-sizing:border-box;padding:0 6px}
@media only screen and (max-width:900px){#page-document .ui.statistics .ui.statistic:last-child{grid-column:auto!important}#page-document .ui.statistics > a.ui.statistic[href="/about"]{grid-column:1 / -1!important}}
/* jma-recurring-links-20261021: links in the navy 'Talks I give most often' panel */
.has--jma--panel a,[class*="jma--panel"] a{color:#ffffff!important;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:3px}
.has--jma--panel em a,[class*="jma--panel"] em a{color:#c9daf0!important}
.has--jma--panel a:hover,[class*="jma--panel"] a:hover{text-decoration-color:#fff}

/* jma-ceo-line-20261021: hero eyebrow as a larger, centered full-width line above the photo+headline row (pairs with jma-polish.js block of the same name). */
.has--jma--hero.jma-ceo-moved .jma-ceo-src{display:none!important}
#page-document .block.gridBlock.has--jma--hero > p.jma-ceo-line, #page-document .block.gridBlock.has--jma--hero > p.jma-ceo-line:first-child{
  display:block;width:100%;max-width:none;box-sizing:border-box;
  margin:0 auto 1.75rem!important;padding:0 1rem!important;
  text-align:center!important;
  font-size:clamp(1rem,0.8rem + 0.9vw,1.5rem)!important;line-height:1.35!important;
  font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase;
  color:var(--theme-low-contrast-foreground-color,#5E6E80)!important;
  overflow-wrap:break-word;text-wrap:balance;
}
@media (max-width:767px){
  #page-document .block.gridBlock.has--jma--hero > p.jma-ceo-line, #page-document .block.gridBlock.has--jma--hero > p.jma-ceo-line:first-child{font-size:1.05rem!important;letter-spacing:.05em!important;margin-bottom:1.25rem!important;padding:0 .75rem}
}

/* contact accordions: panel list spacing (2026-10-22) */
#page-document .ui.accordion .content.active ul{margin:.25rem 0 1.25rem!important}

/* jma-link-records-20261022: inline /contact/links links are internal (no icon); hide internal contact-* and links-* tag pills */
.tags a.ui.label[href*="Subject=contact-"],.tags a.ui.label[href*="Subject=links-"]{display:none}

/* 2026-10-23 exp-desc-width: /experience description spans the full tab bar width (940px content column; Jason). Scoped to section-experience only. */
body.section-experience #page-document .documentDescription, body.section-experience-intro-preview #page-document .documentDescription { max-width: 940px !important; }
body.section-experience #page-document .blocks-group-wrapper > p, body.section-experience-intro-preview #page-document .blocks-group-wrapper > p { max-width: 940px !important; }
/* 2026-10-23 exp-tabsgap: tighter space between the /experience tab bar and the tab content (Jason). Top spacing only. */
body.section-experience .tabs-block .ui.attached.segment.tab, body.section-experience-career-preview .tabs-block .ui.attached.segment.tab { margin-top: 0 !important; padding-top: 0 !important; }
body.section-experience .tabs-block .ui.tab .blocks-group-wrapper, body.section-experience-career-preview .tabs-block .ui.tab .blocks-group-wrapper { padding-top: 24px !important; }
body.section-experience .tabs-block .ui.tab .has--jma--timeline > ul:first-child, body.section-experience-career-preview .tabs-block .ui.tab .has--jma--timeline > ul:first-child { margin-top: 0 !important; }
body.section-experience #page-document .tabs-block .ui.menu, body.section-experience-career-preview #page-document .tabs-block .ui.menu { margin-bottom: 0 !important; }
body.section-experience #page-document .tabs-block .ui.tab .blocks-group-wrapper, body.section-experience-career-preview #page-document .tabs-block .ui.tab .blocks-group-wrapper { padding-top: 24px !important; }

/* jma cert-tile: year above official Trailhead Academy badge */
body.section-experience .tabs-block .has--jma--cert-tile .card{
  position:relative;
}
body.section-experience .tabs-block .has--jma--cert-tile .card-inner{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
  gap:0.35rem;
}
body.section-experience .tabs-block .has--jma--cert-tile .card-summary{
  display:contents!important;
}
body.section-experience .tabs-block .has--jma--cert-tile .headline{
  order:1!important;
  width:100%;
  font-size:1.125rem!important;
  font-weight:700!important;
  letter-spacing:0.02em!important;
  color:#0F2A4A!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  margin:0 0 0.15rem!important;
}
body.section-experience .tabs-block .has--jma--cert-tile .image-wrapper{
  order:2!important;
  width:100%!important;
  max-width:180px!important;
  margin:0 auto!important;
}
body.section-experience .tabs-block .has--jma--cert-tile .image-wrapper img{
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  background:transparent!important;
}
body.section-experience .tabs-block .has--jma--cert-tile .title{
  order:3!important;
  width:100%;
  font-size:0.9rem!important;
  font-weight:600!important;
  line-height:1.25!important;
  margin:0.15rem 0 0!important;
}
body.section-experience .tabs-block .has--jma--cert-tile .card-primary-link::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
}
body.section-experience .tabs-block .gridBlock.has--jma--certs{
  margin-top:0.5rem!important;
}

/* jma-link-talks-model-20261024: Link pages match Talks fonts/position; Related under divider; no event fields */
body.contenttype-link #page-document,
body.contenttype-link #page-document.q.container{
  max-width:none!important;
  padding-top:0!important;
  margin-top:16px!important;
}
body.contenttype-link #page-document .blocks-group-wrapper{
  max-width:1040px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0 20px!important;
  box-sizing:border-box;
  display:block!important;
}
body.contenttype-link #page-document .documentFirstHeading{
  margin:8px 0 6px!important;
  padding:0!important;
}
/* Lead image: same as Talks talk-lead (full content width, tight) */
body.contenttype-link #page-document .block.image.has--jma--talk-lead,
body.contenttype-link #page-document .block.image.has--jma--link-lead,
body.contenttype-link #page-document .block.image{
  float:none!important;
  display:block!important;
  max-width:100%!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  clear:both!important;
  text-align:center;
}
body.contenttype-link #page-document .block.image figure{margin:0!important;padding:0!important}
body.contenttype-link #page-document .block.image img{
  width:100%;
  height:auto;
  border-radius:8px;
  display:block;
  margin:0 auto;
}
/* Description: Talks body font */
body.contenttype-link #page-document .documentDescription,
body.contenttype-link #page-document .documentDescription p{
  font-size:1.05rem!important;
  line-height:1.6!important;
  margin:0 0 .8em!important;
  max-width:none!important;
}
body.contenttype-link #page-document .block.slate p{
  font-size:1.05rem!important;
  line-height:1.6!important;
}
/* Related Items: under horizontal line like Talks eventline — inside content, not sidebar */
body.contenttype-link .jma-related-under,
body.contenttype-link #page-document .related-items.jma-related-under,
body.contenttype-link #page-document .jma-related-inline{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  position:static!important;
  border-top:1px solid #E3E8EE;
  padding-top:10px!important;
  margin:12px 0 0!important;
  box-sizing:border-box;
}
body.contenttype-link .jma-related-under h2,
body.contenttype-link #page-document .related-items h2{
  margin:0 0 0.5rem!important;
  padding:0!important;
  font-size:1.05rem!important;
  line-height:1.2!important;
}
body.contenttype-link .jma-related-under ul{
  margin:0!important;
  padding-left:1.2rem!important;
}
body.contenttype-link .jma-related-under li{
  margin-bottom:0.45rem;
}
body.contenttype-link .jma-related-under li a{
  font-size:0.95rem;
  line-height:1.4;
}
/* Speaking Inquiries — same as Talks */
body.contenttype-link #page-document .block.__button.has--jma--talk-speak{
  display:flex!important;
  justify-content:center!important;
  margin:16px 0 4px!important;
  width:100%!important;
}
body.contenttype-link #page-document .block.__button.has--jma--talk-speak .button.container,
body.contenttype-link #page-document .block.__button.has--jma--talk-speak > *{
  justify-content:center!important;
  text-align:center!important;
  margin:0 auto!important;
}
/* Tags bottom horizontal */
body.contenttype-link #view > .tags,
body.contenttype-link .tags{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:0.45rem 0.55rem!important;
  max-width:1040px!important;
  margin:12px auto 0!important;
  padding:0 20px 2rem!important;
  box-sizing:border-box;
  clear:both;
}
body.contenttype-link #view > .tags a.ui.label{
  display:inline-flex!important;
  width:auto!important;
  margin:0!important;
  float:none!important;
}
body.contenttype-link #view > .tags a.ui.label[href*="Subject=contact-"],
body.contenttype-link #view > .tags a.ui.label[href*="Subject=links-"]{
  display:none!important;
}
/* No #view grid / title-row sidebar */
body.contenttype-link #view{
  display:block!important;
}
body.contenttype-link .jma-link-title-row{
  display:contents; /* unwrap if leftover */
}
@media (max-width:767px){
  body.contenttype-link #page-document .blocks-group-wrapper{padding-left:16px!important;padding-right:16px!important}
}

/* jma-related-labels-20261024: long Related Items titles wrap cleanly */
body.contenttype-link .related-items li a{
  display:inline;
  line-height:1.35;
  font-size:0.92rem;
}
body.contenttype-link .related-items li{
  margin-bottom:0.45rem;
}

/* jma-search-polish-20261024: center search results; rounded pagination (Jason via HQ). */
body.section-search .ui.basic.segment.content-area{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.section-search main,
body.section-search #page-search,
body.section-search #page-search.q.container,
body.section-search #page-search.container,
body.section-search #search-results,
body.section-search #search-results.container,
body.section-search article#content{
  max-width:940px!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  float:none!important;
  left:auto!important;
  right:auto!important;
  box-sizing:border-box!important;
  padding-left:20px!important;
  padding-right:20px!important;
}
body.section-search #page-search > #search-results{
  padding-left:0!important;
  padding-right:0!important;
}
body.section-search .search-footer{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  margin:28px 0 40px!important;
  padding:0!important;
  text-align:center!important;
}
body.section-search .ui.pagination.menu,
body.section-search .search-footer .ui.pagination.menu{
  display:inline-flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:10px!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  margin:0 auto!important;
  min-height:0!important;
  height:auto!important;
  width:auto!important;
  max-width:100%!important;
  border-radius:0!important;
  float:none!important;
}
body.section-search .ui.pagination.menu::before{
  content:"Page";
  font-family:Poppins,system-ui,sans-serif;
  font-size:14px;
  font-weight:500;
  color:#5a6570;
  margin-right:6px;
  align-self:center;
}
body.section-search .ui.pagination.menu .item,
body.section-search .ui.pagination.menu a.item,
body.section-search .ui.menu.pagination .item{
  min-width:40px!important;
  width:auto!important;
  height:40px!important;
  margin:0!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #C5CDD6!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#1e3a5f!important;
  font-family:Poppins,system-ui,sans-serif!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1!important;
  box-shadow:none!important;
  opacity:1!important;
}
body.section-search .ui.pagination.menu .item:before,
body.section-search .ui.pagination.menu .item:after{
  display:none!important;
}
body.section-search .ui.pagination.menu .item:hover{
  background:#F4F6F8!important;
  border-color:#1e3a5f!important;
  color:#1e3a5f!important;
  box-shadow:0 1px 3px rgba(30,58,95,.12)!important;
}
body.section-search .ui.pagination.menu .item.active,
body.section-search .ui.pagination.menu a.active.item{
  background:#1e3a5f!important;
  border-color:#1e3a5f!important;
  color:#fff!important;
  font-weight:600!important;
}
body.section-search .ui.pagination.menu .item.disabled,
body.section-search .ui.pagination.menu a.disabled.item{
  opacity:.4!important;
  background:#fff!important;
  color:#5a6570!important;
  pointer-events:none!important;
}
body.section-search .ui.pagination.menu .icon.item{
  padding:0!important;
  width:36px!important;
  min-width:36px!important;
}
@media (max-width:767px){
  body.section-search #page-search,
  body.section-search #search-results,
  body.section-search article#content{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  body.section-search .ui.pagination.menu .item{
    min-width:32px!important;
    height:32px!important;
    font-size:13px!important;
  }
}


/* jma-talks-relateditems-20261024: Related Items labels on Talks (Event) pages */
body.contenttype-event .related-items li a{
  white-space:normal!important;
  line-height:1.35!important;
  display:inline-block;
  max-width:100%;
}
body.contenttype-event .related-items li{
  margin-bottom:.35em!important;
}

/* jma-talks-related-layout-20261024: Talks Related Items match Links Dreamforce pattern
   (fonts, divider, Related under eventline / above Speaking Inquiries / above tags). */
/* jma-related-under-clone-20261024: hide React-owned source; show only non-React clone in wrap */
body.contenttype-link .related-items.jma-related-src,
body.contenttype-event .related-items.jma-related-src,
.event-view .related-items.jma-related-src{
  display:none!important;
}
/* jma-stats-count-20261024: overlay count-up without wiping React .value children */
a.ui.statistic .value.jma-stat-value-host{position:relative}
a.ui.statistic .value.jma-stat-value-host > :not(.jma-stat-count){
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;height:0!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
}
a.ui.statistic .value.jma-stat-value-host > .jma-stat-count{
  display:block;visibility:visible;position:relative;
}

body.contenttype-event .jma-related-under,
body.contenttype-event #page-document .related-items.jma-related-under,
.event-view .blocks-group-wrapper > .related-items.jma-related-under,
.event-view .blocks-group-wrapper > .jma-related-under{
  display:block!important;
  grid-column:1 / -1;
  grid-row:5;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  position:static!important;
  border-top:1px solid #E3E8EE;
  padding-top:10px!important;
  margin:12px 0 0!important;
  box-sizing:border-box;
}
body.contenttype-event .jma-related-under h2,
body.contenttype-event #page-document .related-items h2,
.event-view .jma-related-under h2{
  margin:0 0 0.5rem!important;
  padding:0!important;
  font-size:1.05rem!important;
  line-height:1.2!important;
}
body.contenttype-event .jma-related-under ul,
.event-view .jma-related-under ul{
  margin:0!important;
  padding-left:1.2rem!important;
}
body.contenttype-event .jma-related-under li,
.event-view .jma-related-under li{
  margin-bottom:0.45rem;
}
body.contenttype-event .jma-related-under li a,
.event-view .jma-related-under li a,
body.contenttype-event .related-items li a{
  font-size:0.95rem;
  line-height:1.4;
  display:inline;
  white-space:normal!important;
}
/* Tags stay bottom (outside wrapper); reinforce horizontal layout like Links */
body.contenttype-event #view > .tags,
body.contenttype-event .tags{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:0.45rem 0.55rem!important;
  max-width:1040px!important;
  margin:12px auto 0!important;
  padding:0 20px 2rem!important;
  box-sizing:border-box;
  clear:both;
}
body.contenttype-event #view{
  display:block!important;
}
@media (max-width:767px){
  .event-view .blocks-group-wrapper > .related-items.jma-related-under,
  .event-view .blocks-group-wrapper > .jma-related-under,
  .event-view .blocks-group-wrapper > .block.__button.has--jma--talk-speak{
    grid-row:auto;
  }
}


/* jma-stats-internal-20261024: Experience statistic Link remotes remap to land-and-stay; hide external icon on stats */
body.section-experience a.ui.statistic.external svg[class*="icon"],
body.section-experience a.ui.statistic.external .icon.external,
body.section-experience a.ui.statistic.external svg.icon,
#page-document a.ui.statistic.external > svg:last-child,
#page-document a.ui.statistic.external .icon {
  display: none !important;
}

/* jma-gallery-contain-20261108: /gallery grids show full marks (no object-fit cover crop); scoped to section-gallery only */
body.section-gallery #page-document .block.gridBlock img,
body.section-gallery #page-document .block.image img,
body.section-gallery #page-document .block.gridBlock .grid-image-wrapper img,
body.section-gallery.contenttype-document #page-document img.responsive{
  object-fit:contain!important;
  -o-object-fit:contain!important;
  object-position:center center!important;
  aspect-ratio:auto!important;
  height:auto!important;
  max-width:100%!important;
  width:100%;
  background:transparent!important;
}
body.section-gallery #page-document .block.gridBlock .grid-image-wrapper{
  height:auto!important;
  min-height:0!important;
  background:transparent!important;
}
body.section-gallery #page-document .block.gridBlock .ui.grid > .column{
  display:flex; flex-direction:column; justify-content:flex-start;
}
/* slightly tighter image block padding on gallery only (cards were padded teaser chrome) */
body.section-gallery #page-document .block.image{
  margin-bottom:0.5rem!important;
}

/* jma-gallery-caption-align-20261109: captions + group intros share the image/h2 column (620 centered), not the wider 720 prose rail */
body.section-gallery #page-document .blocks-group-wrapper > p{
  max-width:620px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
