
.horton-person-story { display: flow-root; }
.horton-person-story figure,
.horton-person-story .wp-block-image { max-width:100%; box-sizing:border-box; }
.horton-person-story img {
    max-width:100% !important;
    height:auto !important;
    object-fit:contain !important;
    box-sizing:border-box;
}
.horton-person-story figure img { display:block; }

.horton-person-story .alignleft,
.horton-person-story figure.alignleft,
.horton-person-story img.alignleft {
    float:left;
    width:auto;
    max-width:100% !important;
    margin:.35rem 1.25rem .9rem 0;
}
.horton-person-story .alignright,
.horton-person-story figure.alignright,
.horton-person-story img.alignright {
    float:right;
    width:auto;
    max-width:100% !important;
    margin:.35rem 0 .9rem 1.25rem;
}
.horton-person-story .aligncenter,
.horton-person-story figure.aligncenter {
    float:none;
    margin-left:auto;
    margin-right:auto;
}
.horton-person-story blockquote,
.horton-person-story .wp-block-quote,
.horton-person-story table,
.horton-person-story .wp-block-table,
.horton-person-story pre,
.horton-person-story hr,
.horton-person-story h1,
.horton-person-story h2,
.horton-person-story h3 {
    clear:both;
}
/* v0.31.131: support both generations of WordPress caption markup on embedded and standalone Stories. */
.horton-person-story figure:has(> img),
.horton-single-story .hc-content figure:has(> img) { width:max-content; max-width:100%; box-sizing:border-box; }
.horton-person-story figcaption,
.horton-person-story .wp-element-caption,
.horton-person-story .wp-caption-text,
.horton-person-story .wp-caption .wp-caption-text,
.horton-single-story .hc-content figcaption,
.horton-single-story .hc-content .wp-element-caption,
.horton-single-story .hc-content .wp-caption-text,
.horton-single-story .hc-content .wp-caption .wp-caption-text { display:block !important; width:100% !important; max-width:100% !important; box-sizing:border-box !important; margin:.45rem 0 1rem !important; text-align:left !important; font-family:Arial,sans-serif !important; font-size:.84rem !important; line-height:1.35 !important; font-weight:700 !important; color:#5f665f !important; }
.horton-person-story figure.alignright figcaption,
.horton-person-story figure.alignright .wp-element-caption,
.horton-person-story .wp-caption.alignright .wp-caption-text,
.horton-single-story .hc-content figure.alignright figcaption,
.horton-single-story .hc-content figure.alignright .wp-element-caption,
.horton-single-story .hc-content .wp-caption.alignright .wp-caption-text { text-align:right !important; }
.horton-person-story figure.aligncenter figcaption,
.horton-person-story figure.aligncenter .wp-element-caption,
.horton-person-story .wp-caption.aligncenter .wp-caption-text,
.horton-single-story .hc-content figure.aligncenter figcaption,
.horton-single-story .hc-content figure.aligncenter .wp-element-caption,
.horton-single-story .hc-content .wp-caption.aligncenter .wp-caption-text { text-align:center !important; }
.horton-person-story ol ol > li::marker { content:counter(list-item, lower-roman) ") "; }

@media (max-width:680px) {
    .horton-person-story .alignleft,
    .horton-person-story figure.alignleft,
    .horton-person-story img.alignleft,
    .horton-person-story .alignright,
    .horton-person-story figure.alignright,
    .horton-person-story img.alignright {
        float:none;
        width:auto;
        max-width:100% !important;
        margin:1rem auto;
    }
}

.horton-generic-portrait {
    width:100%;
    max-width:360px;
    aspect-ratio:2 / 3;
    background:#eee;
    border:1px solid rgba(0,0,0,.12);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    overflow:hidden;
}
.horton-generic-portrait__figure {
    width:42%;
    aspect-ratio:1;
    border-radius:50%;
    background:rgba(0,0,0,.13);
    position:relative;
    margin-bottom:3.8rem;
}
.horton-generic-portrait__figure::after {
    content:"";
    position:absolute;
    width:165%;
    height:95%;
    left:50%;
    top:82%;
    transform:translateX(-50%);
    border-radius:50% 50% 12% 12%;
    background:rgba(0,0,0,.13);
}
.horton-generic-portrait__label {
    padding:0 1rem;
    text-align:center;
    font-size:.9rem;
    line-height:1.35;
    z-index:1;
}

.horton-i-am-hero img {
    width:100% !important;
    height:auto !important;
    aspect-ratio:2 / 3;
    object-fit:contain !important;
    object-position:center center !important;
}
.horton-i-am-hero figure,
.horton-i-am-hero .wp-block-image {
    aspect-ratio:2 / 3;
    overflow:hidden;
}
.horton-i-am-hero figure img,
.horton-i-am-hero .wp-block-image img {
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
}


/* v0.17.2: stronger homepage hero override. The source portrait is already 2:3. */
.horton-i-am-hero,
.horton-i-am-hero__media {
    overflow: visible !important;
}
.horton-i-am-hero__media {
    aspect-ratio: 2 / 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.horton-i-am-hero__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: 2 / 3 !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    transform: none !important;
    scale: 1 !important;
}


/* Stories alphabetical index */
.horton-alpha-index {
    display:flex;
    flex-wrap:wrap;
    gap:.35rem;
    margin:1rem 0 1.5rem;
}
.horton-alpha-index a,
.horton-alpha-index span {
    min-width:2rem;
    padding:.35rem .45rem;
    text-align:center;
    border:1px solid rgba(0,0,0,.15);
    border-radius:4px;
    text-decoration:none;
    box-sizing:border-box;
}
.horton-alpha-index span { opacity:.35; }
.horton-stories-letter { margin-top:2rem; scroll-margin-top:2rem; }
.horton-person-card-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
    gap:1rem;
}
.horton-person-story-card {
    display:flex;
    min-height:112px;
    border:1px solid rgba(0,0,0,.12);
    background:#fff;
    overflow:hidden;
}
.horton-person-story-card__image {
    flex:0 0 86px;
    width:86px;
}
.horton-person-story-card__image img {
    width:86px !important;
    height:112px !important;
    object-fit:cover !important;
    display:block;
}
.horton-person-story-card__body {
    padding:.75rem;
    min-width:0;
}
.horton-person-story-card__body h3 {
    font-size:1rem;
    margin:0 0 .4rem;
}
.horton-person-story-card__body p {
    margin:.2rem 0 .5rem;
    font-size:.9rem;
}
.horton-person-story-card__link { font-size:.9rem; }

/* Theme-agnostic compact News & Events thumbnail injected by Horton frontend JS. */
.horton-news-card-thumb {
    display:block;
    width:100%;
    max-width:180px;
    aspect-ratio:16 / 9;
    object-fit:cover;
    margin:0 0 .65rem;
    border-radius:3px;
}
.home .horton-news-card-thumb {
    max-width:150px;
}


/* v0.17.5: memory-safe Stories index and fallback cards */
.horton-alpha-index a.is-current {
    font-weight:700;
    border-width:2px;
}
.horton-stories-count {
    margin-top:-.5rem;
}
.horton-stories-pagination {
    display:flex;
    flex-wrap:wrap;
    gap:.4rem;
    margin:1.5rem 0;
}
.horton-stories-pagination a,
.horton-stories-pagination span {
    min-width:2rem;
    padding:.35rem .5rem;
    text-align:center;
    border:1px solid rgba(0,0,0,.15);
    text-decoration:none;
}
.horton-person-story-card__image--fallback .horton-generic-portrait {
    width:86px;
    height:112px;
    max-width:none;
    aspect-ratio:auto;
    border:0;
}
.horton-person-story-card__image--fallback .horton-generic-portrait__figure {
    width:40%;
    margin-bottom:1.8rem;
}
.horton-person-story-card__image--fallback .horton-generic-portrait__label {
    display:none;
}

/* Individual Story hero portrait: use the available right-hand space. */
.horton-single-story .horton-story-hero-fixed {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(220px,320px) !important;
    gap:2rem !important;
    align-items:stretch !important;
}
.horton-single-story .horton-story-hero-fixed__portrait {
    grid-column:2 !important;
    grid-row:1 !important;
    min-height:220px !important;
    display:flex !important;
    align-items:stretch !important;
    justify-content:flex-end !important;
}
.horton-single-story .horton-story-hero-fixed__portrait img {
    display:block !important;
    width:auto !important;
    height:100% !important;
    max-width:100% !important;
    max-height:320px !important;
    aspect-ratio:2 / 3 !important;
    object-fit:contain !important;
    object-position:center !important;
}
@media (max-width:760px) {
    .horton-single-story .horton-story-hero-fixed {
        grid-template-columns:1fr !important;
    }
    .horton-single-story .horton-story-hero-fixed__portrait {
        grid-column:1 !important;
        grid-row:auto !important;
        min-height:0 !important;
        justify-content:flex-start !important;
    }
    .horton-single-story .horton-story-hero-fixed__portrait img {
        height:auto !important;
        max-height:360px !important;
    }
}

/* v0.17.6 — deliberately lightweight Stories list, inspired by the legacy A-Z page. */
.horton-stories-simple-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:.5rem 1.25rem; }
.horton-story-list-row { display:flex; align-items:center; gap:.75rem; min-height:96px; padding:.5rem 0; border-bottom:1px solid rgba(0,0,0,.1); }
.horton-story-list-thumb { flex:0 0 60px; width:60px; height:90px; overflow:hidden; background:#eee; }
.horton-story-list-thumb img { display:block !important; width:60px !important; height:90px !important; object-fit:cover !important; }
.horton-story-list-row h3 { margin:0 0 .3rem; font-size:1rem; line-height:1.2; }
.horton-story-list-link { font-size:.85rem; }

.horton-minimal-stories-inner{width:min(1100px,calc(100% - 2rem));margin:2rem auto 4rem}
.horton-minimal-alpha{display:flex;flex-wrap:wrap;gap:.35rem;margin:1.25rem 0 2rem}
.horton-minimal-alpha a,.horton-minimal-alpha span{width:2rem;padding:.3rem;text-align:center;border:1px solid rgba(0,0,0,.15);text-decoration:none}
.horton-minimal-alpha span{opacity:.3}
.horton-minimal-story-list{columns:3 260px;column-gap:2rem;margin:0 0 2rem;padding-left:1.25rem}
.horton-minimal-story-list li{break-inside:avoid;margin:0 0 .4rem}


/* v0.17.9 Stories filtering/search */
.horton-stories-search{margin:1rem 0 1.25rem;padding:1rem;border:1px solid rgba(0,0,0,.12)}
.horton-stories-search input[type=search]{min-width:min(420px,70vw);padding:.55rem}
.horton-stories-search button{padding:.55rem .9rem}
.horton-stories-search .description{font-size:.9rem;opacity:.75}
.horton-stories-toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}
.horton-minimal-alpha a.is-current,.horton-story-view-switch a.is-current{font-weight:700;border-width:2px}
.horton-story-view-switch a{display:inline-block;padding:.35rem .65rem;border:1px solid rgba(0,0,0,.15);text-decoration:none}
.horton-stories-result-count{margin:.5rem 0 1rem}
.horton-story-match-label{font-size:.82rem;opacity:.72}
.horton-story-portrait-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}
.horton-story-portrait-card{display:flex;gap:.8rem;min-height:180px;border:1px solid rgba(0,0,0,.12);padding:.65rem}
.horton-story-portrait-card__image{flex:0 0 120px}
.horton-story-portrait-card__image img{display:block!important;width:120px!important;height:180px!important;object-fit:cover!important}
.horton-story-portrait-card h3{font-size:1rem;margin:.25rem 0 .45rem}
.horton-story-card-published{margin:.2rem 0;font-size:.8rem;line-height:1.35;opacity:.78}
.horton-story-card-records{display:flex;gap:.45rem;align-items:center;margin:.28rem 0 .42rem;font-size:1.15rem;line-height:1}
.horton-story-card-records span[title]{cursor:help}

/* Facts */
.horton-facts-lead,.horton-facts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}
.horton-facts-lead>div,.horton-fact-card{border:1px solid rgba(0,0,0,.12);padding:1rem;background:#fff}
.horton-facts-lead strong,.horton-fact-card strong{display:block;font-size:1.8rem;line-height:1.05}
.horton-facts-lead span,.horton-fact-card span{display:block;margin-top:.35rem}
.horton-facts-section{margin-top:2rem}
.horton-facts-note{margin-top:2rem;font-size:.9rem;opacity:.75}

.horton-remove-filter{flex-basis:100%;margin:.15rem 0 .4rem}
.horton-remove-filter a{display:inline-block;padding:.45rem .75rem;border:1px solid rgba(0,0,0,.2);text-decoration:none;font-weight:600}

/* v0.18.1 Story singular: article content must sit below the full Person hero, not in its portrait/sidebar column. */
body.horton-single-story .site-main,
body.horton-single-story main,
body.horton-single-story .content-area,
body.horton-single-story article.horton_story,
body.horton-single-story article.type-horton_story,
body.horton-single-story .entry-content{
    width:100%!important;
    max-width:none!important;
}
body.horton-single-story article.horton_story,
body.horton-single-story article.type-horton_story{
    display:block!important;
    grid-template-columns:none!important;
}
body.horton-single-story .entry-content{
    clear:both!important;
    display:block!important;
    float:none!important;
}
body.horton-single-story .entry-content > *{
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;
}
.horton-notable-badge{
    display:inline-flex;align-items:center;justify-content:center;
    width:1.25rem;height:1.25rem;border-radius:50%;
    margin-left:.4rem;font-size:.72rem;line-height:1;font-weight:700;
    vertical-align:middle;border:1px solid currentColor;
}
.horton-minimal-story-list{list-style:none;padding-left:0}


/* v0.20.0 Public archive */
.horton-story-portrait-card--unresearched{opacity:.96}
.horton-story-card-status{font-size:.86rem;line-height:1.35;margin:.4rem 0;font-style:italic}
.horton-story-card-grave{font-size:.84rem;margin:.25rem 0;opacity:.75}
.horton-person-story--pending{max-width:1100px;margin:1.5rem auto}
.horton-geography-embed iframe{display:block;width:100%;min-height:720px;border:1px solid rgba(0,0,0,.15);background:#fff}
@media(max-width:760px){.horton-geography-embed iframe{min-height:560px}}
.horton-i-am-cycle-item[hidden]{display:none!important}

/* Public Person and Story headings inherit canonical uppercase surname from the_title filter. */
.horton-single-story .entry-content,
.single-horton_person .entry-content{clear:both!important}

/* Compact News/Event cards: image should support rather than dominate the card. */
.horton-news-card-thumb{width:min(160px,38%)!important;aspect-ratio:16/9!important;object-fit:cover!important;float:left;margin:0 .9rem .6rem 0!important}
@media(max-width:600px){.horton-news-card-thumb{width:120px!important}}


/* v0.20.1 hotfixes */
.horton-home-main-heading{margin-top:0}
.horton-story-portrait-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))!important}
.horton-story-portrait-card{min-width:0}
.horton-story-portrait-card__body{min-width:0;overflow:hidden}
.horton-story-portrait-card h3{
    font-size:.95rem!important;
    line-height:1.3!important;
    overflow-wrap:anywhere;
    word-break:normal;
    hyphens:auto;
}
.horton-story-availability-toggle{margin-left:.5rem}
.horton-geography-embed{
    width:min(90vw,1600px);
    margin-left:50%;
    transform:translateX(-50%);
}
.horton-geography-embed iframe{
    width:100%!important;
    min-height:760px;
}
@media(max-width:700px){
    .horton-geography-embed{width:96vw}
    .horton-story-availability-toggle{display:block;margin:.5rem 0 0}
}


/* v0.20.2: homepage heading is now truly H2 in final HTML, not visually shrunken by JS/CSS. */
.home .horton-home-main-heading{font-size:inherit}


/* v0.20.4 rotating hero uses its own clean img node, not theme responsive/lazy markup. */
.home .horton-i-am-rotating-portrait{
    display:block!important;
    width:100%!important;
    height:100%!important;
    aspect-ratio:2/3!important;
    object-fit:contain!important;
    object-position:center!important;
    opacity:1!important;
    visibility:visible!important;
    filter:none!important;
    mix-blend-mode:normal!important;
    background:transparent!important;
}


/* v0.20.5 fallback fields are only created when the theme has no dedicated name/grave element. */
.hc-iam-frame .horton-i-am-name,
.hc-iam-frame .horton-i-am-grave{
    position:relative;
    z-index:2;
}


/* v0.21.4 Story fallback portrait: missing genuine portraits retain the normal hero geometry. */
.horton-single-story .horton-story-hero-fixed__portrait--generic{
    background:#f1f1f1!important;
}
.horton-single-story .horton-story-generic-portrait{
    display:block!important;
    width:auto!important;
    height:100%!important;
    max-width:100%!important;
    max-height:320px!important;
    aspect-ratio:2/3!important;
    object-fit:contain!important;
    object-position:center!important;
}
.horton-single-story .entry-content{
    clear:both!important;
    grid-column:1 / -1!important;
}

/* v0.22.0 deterministic Story flow: Story content never inherits the hero portrait column. */
body.horton-single-story main article, body.horton-single-story main .type-horton_story, body.horton-single-story .horton-story-hero-fixed {width:100%!important;max-width:none!important;}
body.horton-single-story .entry-content, body.horton-single-story article>.entry-content, body.horton-single-story .type-horton_story>.entry-content {display:block!important;width:100%!important;max-width:none!important;grid-column:1/-1!important;clear:both!important;float:none!important;}
body.horton-single-story blockquote cite{display:block;margin-top:.6rem;font-style:normal;font-size:.9em} body.horton-single-story blockquote cite:before{content:'— '}


/* v0.22.1 Story layout hotfix.
   The old heuristic could mark <main> and inline Story figures as the portrait grid.
   The hero is now strictly .hc-story-record-grid + .hc-story-record-portrait. */
body.horton-single-story main.hc-main.horton-story-hero-fixed{
    display:block!important;
    grid-template-columns:none!important;
}
body.horton-single-story .hc-content .horton-story-hero-fixed__portrait{
    grid-column:auto!important;
    grid-row:auto!important;
    min-height:0!important;
    display:block!important;
    justify-content:initial!important;
}
body.horton-single-story .hc-content .horton-story-hero-fixed__portrait img{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
}
body.horton-single-story .hc-story-record-grid.horton-story-record-grid-fixed{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(180px,300px)!important;
    gap:2rem!important;
    align-items:stretch!important;
}
body.horton-single-story .hc-story-record-portrait.horton-story-record-portrait-fixed{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
}
body.horton-single-story .hc-story-record-portrait.horton-story-record-portrait-fixed img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:300px!important;
    aspect-ratio:2/3!important;
    object-fit:contain!important;
    object-position:center!important;
}
body.horton-single-story .hc-content{
    display:block!important;
    width:100%!important;
    clear:both!important;
}
body.horton-single-story .hc-content .hc-story-panel{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    grid-column:auto!important;
}
@media(max-width:760px){
    body.horton-single-story .hc-story-record-grid.horton-story-record-grid-fixed{
        grid-template-columns:1fr!important;
    }
    body.horton-single-story .hc-story-record-portrait.horton-story-record-portrait-fixed{
        grid-column:1!important;
        grid-row:auto!important;
        justify-content:flex-start!important;
    }
}


/* v0.24.2 public Person provenance: confirmed archive references only, never raw document links. */
.single-horton_person .horton-public-archive-records,
body.horton-single-story .horton-public-archive-records,
.single-horton_story .horton-public-archive-records{
    margin:1.4rem 0 0;
    max-width:680px;
    padding:0;
}
.single-horton_person .horton-public-archive-records h2,
body.horton-single-story .horton-public-archive-records h2,
.single-horton_story .horton-public-archive-records h2{
    margin:0 0 .65rem;
    font-size:1rem;
    line-height:1.25;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.single-horton_person .horton-public-archive-records__list,
body.horton-single-story .horton-public-archive-records__list,
.single-horton_story .horton-public-archive-records__list{
    display:grid;
    gap:.45rem;
}
.single-horton_person .horton-public-archive-record,
body.horton-single-story .horton-public-archive-record,
.single-horton_story .horton-public-archive-record{
    display:flex;
    flex-wrap:wrap;
    gap:.25rem .65rem;
    align-items:baseline;
    padding:.4rem 0;
    border-bottom:1px solid rgba(0,0,0,.12);
    font-size:.92rem;
    line-height:1.35;
}
.single-horton_person .horton-public-archive-record__type,
body.horton-single-story .horton-public-archive-record__type,
.single-horton_story .horton-public-archive-record__type{
    min-width:115px;
}
.single-horton_person .horton-public-archive-record__detail,
body.horton-single-story .horton-public-archive-record__detail,
.single-horton_story .horton-public-archive-record__detail{
    opacity:.82;
}


/* v0.31.5 public contact and record issue forms */
.horton-public-contact,
.horton-record-issue { margin:1.25rem 0; }
.horton-record-issue details { margin:0; }
.horton-record-issue summary { display:inline-block; cursor:pointer; list-style:none; }
.horton-record-issue summary::-webkit-details-marker { display:none; }
.horton-record-issue__form,
.horton-public-form { max-width:680px; margin-top:1rem; padding:1rem 1.1rem; border:1px solid rgba(0,0,0,.14); border-radius:6px; background:#fff; box-sizing:border-box; }
.horton-public-form input[type="text"],
.horton-public-form input[type="email"],
.horton-public-form textarea { width:100%; max-width:100%; box-sizing:border-box; }
.horton-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.horton-form-success { padding:.75rem 1rem; border-left:4px solid #315c45; background:#eef5ef; }
.horton-form-error { padding:.75rem 1rem; border-left:4px solid #8a2424; background:#fbefef; }


/* v0.31.6 volunteer directory profile pictures */
.horton-volunteer-card-with-picture{position:relative!important;padding-right:130px!important;min-height:126px!important;box-sizing:border-box!important;}
.horton-volunteer-profile-picture{position:absolute!important;right:18px!important;top:50%!important;transform:translateY(-50%)!important;width:100px!important;height:100px!important;object-fit:cover!important;object-position:center!important;border-radius:4px!important;border:2px solid #000!important;}
@media(max-width:560px){.horton-volunteer-card-with-picture{padding-right:18px!important;padding-bottom:128px!important}.horton-volunteer-profile-picture{right:auto!important;left:18px!important;top:auto!important;bottom:16px!important;transform:none!important}}

/* v0.31.13 volunteer profile picture layout */
.horton-volunteer-card-with-picture{overflow:hidden!important;}
.horton-volunteer-single-header{position:relative!important;padding-right:170px!important;min-height:145px!important;box-sizing:border-box!important;}
.horton-volunteer-single-picture{position:absolute!important;right:18px!important;top:8px!important;width:130px!important;height:130px!important;object-fit:cover!important;object-position:center!important;border-radius:4px!important;border:2px solid #000!important;}
@media(max-width:650px){.horton-volunteer-single-header{padding-right:18px!important;padding-bottom:158px!important}.horton-volunteer-single-picture{right:auto!important;left:18px!important;top:auto!important;bottom:12px!important}}

/* v0.31.26 Horton Administrator public profile badge */
.horton-admin-pill{display:inline-block;margin-left:7px;padding:1px 7px;border:1px solid #111;border-radius:999px;font-size:10px;font-weight:700;line-height:1.5;vertical-align:middle;letter-spacing:.03em;color:#111;background:transparent;}

/* v0.31.26: cards for Horton-role users missing from the legacy Volunteers page markup. */
.horton-volunteer-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.horton-volunteer-extra-card{position:relative;min-height:112px;padding:18px;border:1px solid #d8d4c7;border-radius:12px;background:#fff}
.horton-volunteer-extra-card h2{font-size:1.25rem;margin:0 0 8px;padding-right:0}
.horton-volunteer-extra-card p{margin:0 0 1em}
.horton-volunteer-extra-card.horton-volunteer-card-with-picture{padding-right:125px}
.horton-volunteer-extra-card .horton-volunteer-profile-picture{right:16px;top:16px}
@media(max-width:900px){.horton-volunteer-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.horton-volunteer-extra-grid{grid-template-columns:1fr}}

/* v0.31.36: mismatch alerts belong to the Archive Record that supplied the conflict. */
.horton-public-archive-record__mismatches{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.horton-person-mismatch-pill{display:inline-block;padding:4px 8px;border:1px solid #b32d2e;border-radius:999px;background:#fff3f3;color:#7a1d1d;font-size:.82rem;font-weight:700;line-height:1.25}

/* v0.31.38: Word-imported left/right figures preserve their imported width and wrap text. */
.horton-person-story figure.alignleft,
.horton-person-story figure.alignright{
    box-sizing:border-box;
    max-width:100% !important;
}
.horton-person-story figure.alignleft img,
.horton-person-story figure.alignright img{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
}

/* v0.31.39: actual text flow around left/right Story figures. */
.horton-person-story figure.alignleft,
.horton-person-story .wp-caption.alignleft,
.entry-content figure.alignleft,
.entry-content .wp-caption.alignleft{
    float:left !important;
    clear:none !important;
    display:block !important;
    max-width:48% !important;
    margin:.35em 1.25em .9em 0 !important;
}
.horton-person-story figure.alignright,
.horton-person-story .wp-caption.alignright,
.entry-content figure.alignright,
.entry-content .wp-caption.alignright{
    float:right !important;
    clear:none !important;
    display:block !important;
    max-width:48% !important;
    margin:.35em 0 .9em 1.25em !important;
}
.horton-person-story figure.alignleft img,
.horton-person-story figure.alignright img,
.entry-content figure.alignleft img,
.entry-content figure.alignright img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
}
.horton-person-story p,
.horton-person-story h2,
.horton-person-story h3,
.horton-person-story ul,
.horton-person-story ol{
    clear:none !important;
}
.horton-person-story::after{
    content:"";
    display:block;
    clear:both;
}
@media(max-width:640px){
    .horton-person-story figure.alignleft,
    .horton-person-story figure.alignright,
    .horton-person-story .wp-caption.alignleft,
    .horton-person-story .wp-caption.alignright,
    .entry-content figure.alignleft,
    .entry-content figure.alignright{
        float:none !important;
        max-width:100% !important;
        margin:.75em auto 1em !important;
    }
}

/* v0.31.40: public maiden/former surname under the canonical Person name. */
.horton-person-former-surname{
    margin:-.2rem 0 .8rem;
    font-size:.9rem;
    line-height:1.25;
    font-style:italic;
    color:#5f665f;
}

.horton-person-alias{margin-top:-.55rem;}

/* v0.31.42: public Person issue action should look and behave like a Horton button. */
.horton-person-issue{margin:18px 0}
.horton-person-issue>summary.horton-report-issue-button{
    display:inline-block !important;
    width:auto !important;
    list-style:none !important;
    cursor:pointer !important;
    border-radius:999px !important;
    padding:10px 16px !important;
    background:#668A6D !important;
    color:#fff !important;
    font-weight:600 !important;
}
.horton-person-issue>summary::-webkit-details-marker{display:none}
.horton-person-issue[open]>summary.horton-report-issue-button{background:#315C45 !important}

/* v0.31.46: leave room for descenders in the main Person name before alias/former-name lines. */
h1 + .horton-person-former-surname,
h1 + .horton-person-alias{
    margin-top:.18rem !important;
}

/* v0.31.61: persistent research-history marker for returned stalled work. */
.horton-previously-stalled-pill{display:inline-block;margin-left:7px;padding:2px 8px;border:1px solid currentColor;border-radius:999px;font-size:.72rem;font-weight:700;line-height:1.45;vertical-align:middle;white-space:nowrap}

/* v0.31.88: Stories search publication-date controls. */
.horton-stories-search__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:1.5rem;align-items:start}
.horton-stories-search__people>label,.horton-stories-search__published>strong{display:block;margin-bottom:.4rem}
.horton-stories-search__people>div,.horton-stories-search__date-controls{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
.horton-stories-search__published select,.horton-stories-search__published input[type=date]{padding:.55rem;max-width:100%}
.horton-stories-search__clear{margin:.45rem 0 0}
@media (max-width:760px){.horton-stories-search__grid{grid-template-columns:1fr}}

/* v0.31.90 — Dr Mott indicator, latest Stories, compact search controls and Story footer. */
.horton-dr-mott-icon{width:1.75rem;height:1.75rem;max-width:2rem;max-height:2rem;object-fit:cover;border-radius:50%;vertical-align:middle;cursor:help}
.horton-story-card-records .horton-dr-mott-icon{flex:0 0 auto}
.horton-person-dr-mott{margin-top:1rem}
.horton-person-dr-mott img{display:block;width:100px;height:100px;object-fit:cover;border-radius:50%}
.horton-stories-search__clear{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}
.horton-latest-stories{margin:2rem 0}
.horton-latest-stories__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.horton-latest-story-card{min-width:0}
.horton-story-footer{margin:1.5rem 0 0;padding:1rem 0 0;border-top:1px solid rgba(0,0,0,.16);font-size:.92em;font-style:italic;color:#4d4d45}
.horton-story-footer p{margin:.35rem 0}
.horton-story-footer__link{font-style:normal}
@media(max-width:820px){.horton-latest-stories__grid{grid-template-columns:1fr!important}}

/* v0.31.94 Volunteer Charter and achievement badges */
.horton-charter-notice{margin:14px 0;padding:12px 14px;border-left:4px solid #315c45;background:#eef5ef;border-radius:3px}
.horton-charter-notice--outdated{border-left-color:#9a6700;background:#fff8e5}
.horton-charter-notice--current{border-left-color:#315c45;background:#f5f8f4}
.horton-charter-notice .horton-button{margin-left:8px}
.horton-charter-page .horton-charter-text{margin:18px 0;padding:18px;border:1px solid #d8d4c7;background:#fff}
.horton-charter-form{margin-top:18px;padding-top:16px;border-top:1px solid #d8d4c7}
.horton-charter-agree{display:block;margin:0 0 12px;font-size:1.05rem}
.horton-charter-confirmed,.horton-charter-update{margin:18px 0;padding:12px 14px;border-left:4px solid #315c45;background:#eef5ef}
.horton-charter-update{border-left-color:#9a6700;background:#fff8e5}

.horton-volunteer-card-with-badges{position:relative!important;padding-right:124px!important;min-height:112px!important;box-sizing:border-box!important}
.horton-volunteer-badges{position:absolute;right:16px;top:14px;display:flex;gap:6px;align-items:flex-start;justify-content:flex-end;z-index:2}
.horton-volunteer-badge{display:block;width:48px;height:48px;object-fit:contain;object-position:center}
.horton-volunteer-badge--outdated{filter:grayscale(1);opacity:.42}
.horton-volunteer-card-with-picture-and-badges{padding-right:238px!important;min-height:126px!important}
.horton-volunteer-card-with-picture-and-badges .horton-volunteer-badges{right:132px;top:50%;transform:translateY(-50%)}
.horton-volunteer-single-header--badges{padding-right:225px!important;min-height:112px!important}
.horton-volunteer-single-header--picture-and-badges{padding-right:390px!important;min-height:145px!important}
.horton-volunteer-badges--single{right:18px;top:8px;gap:10px}
.horton-volunteer-single-header--picture-and-badges .horton-volunteer-badges--single{right:165px}
.horton-volunteer-badges--single .horton-volunteer-badge{width:130px;height:130px}
@media(max-width:760px){
  .horton-volunteer-card-with-badges,.horton-volunteer-card-with-picture-and-badges{padding-right:18px!important;padding-bottom:76px!important}
  .horton-volunteer-card-with-picture-and-badges{padding-bottom:190px!important}
  .horton-volunteer-badges,.horton-volunteer-card-with-picture-and-badges .horton-volunteer-badges{left:18px;right:auto;top:auto;bottom:16px;transform:none}
  .horton-volunteer-card-with-picture-and-badges .horton-volunteer-profile-picture{bottom:74px!important}
  .horton-volunteer-single-header--badges,.horton-volunteer-single-header--picture-and-badges{padding-right:18px!important;padding-bottom:125px!important}
  .horton-volunteer-single-header--picture-and-badges{padding-bottom:285px!important}
  .horton-volunteer-badges--single,.horton-volunteer-single-header--picture-and-badges .horton-volunteer-badges--single{left:18px;right:auto;top:auto;bottom:12px}
  .horton-volunteer-single-header--picture-and-badges .horton-volunteer-badges--single{bottom:155px}
}

/* v0.31.97 Charter launch CTA */
.horton-account-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.horton-charter-heading-cta{display:inline-block;font-weight:700;color:#315c45;text-decoration:underline;text-underline-offset:2px}
.horton-charter-heading-cta:hover,.horton-charter-heading-cta:focus{color:#173d2b}
.horton-volunteer-single-header--badges{padding-right:285px!important;min-height:142px!important}
.horton-volunteer-single-header--picture-and-badges{padding-right:450px!important;min-height:165px!important}
.horton-volunteer-single-header--picture-and-badges .horton-volunteer-badges--single{right:165px}
@media(max-width:760px){
  .horton-account-actions{justify-content:flex-start}
  .horton-volunteer-single-header--badges,.horton-volunteer-single-header--picture-and-badges{padding-right:18px!important;padding-bottom:155px!important}
  .horton-volunteer-single-header--picture-and-badges{padding-bottom:315px!important}
  .horton-volunteer-single-header--picture-and-badges .horton-volunteer-badges--single{bottom:155px}
}

/* v0.31.98 Charter electronic acceptance */
.horton-charter-signing{margin:24px 0 14px;padding:18px;border:1px solid #d7d2c4;background:#faf8f1}
.horton-charter-signing h3{margin-top:0}
.horton-charter-signing p{margin-top:0}

/* v0.31.105 neutral fallback for children/young people */
.horton-generic-portrait--hosted img{display:block;width:100%;height:auto;max-width:250px;margin:0 auto;object-fit:contain}

/* v0.31.108 */
.horton-estimated-birth-year{cursor:help}

/* Standalone Story pages: preserve the editor's left/right/centre image alignment.
   This deliberately targets Story content only; the Person portrait/hero has its own classes. */
.horton-single-story .hc-content .alignleft {
    float:left; width:auto; max-width:100% !important; margin:.35rem 1.25rem .9rem 0;
}
.horton-single-story .hc-content .alignright {
    float:right; width:auto; max-width:100% !important; margin:.35rem 0 .9rem 1.25rem;
}
.horton-single-story .hc-content .aligncenter {
    float:none; display:block; margin-left:auto; margin-right:auto;
}
.horton-single-story .hc-content figure.alignleft img,
.horton-single-story .hc-content figure.alignright img,
.horton-single-story .hc-content figure.aligncenter img,
.horton-single-story .hc-content .wp-caption.alignleft img,
.horton-single-story .hc-content .wp-caption.alignright img,
.horton-single-story .hc-content .wp-caption.aligncenter img { display:block; max-width:100% !important; height:auto !important; }
@media (max-width:680px) {
    .horton-single-story .hc-content .alignleft,
    .horton-single-story .hc-content .alignright { float:none; margin:1rem auto; }
}


/* v0.31.120 — first-person Audio Stories and tighter Stories controls. */
.horton-audio-story-panel{
    display:flex;align-items:center;gap:.55rem;flex-wrap:nowrap;
    margin:1rem 0 1.15rem;padding:.7rem .9rem;
    border:1px solid rgba(9,77,58,.32);border-left:5px solid #0b5a43;
    background:rgba(11,90,67,.055);box-sizing:border-box;
    width:max-content;max-width:100%;font-size:1rem;
}
.horton-audio-story-play{
    appearance:none;border:0;background:transparent;padding:0;margin:0;
    color:inherit;font:inherit;cursor:pointer;white-space:nowrap;
}
.horton-audio-story-play strong{text-decoration:underline;text-underline-offset:2px}
.horton-audio-story-headphones{margin-right:.15rem}
.horton-audio-story-credit{white-space:nowrap}
.horton-audio-story-separator{opacity:.45}
.horton-audio-story-controls{display:inline-flex;align-items:center;gap:.38rem;white-space:nowrap}
.horton-audio-story-state,.horton-audio-story-skip{
    appearance:none;border:1px solid rgba(9,77,58,.25);background:#fff;color:inherit;
    border-radius:3px;cursor:pointer;font:inherit;line-height:1;padding:.22rem .38rem;text-align:center;
}
.horton-audio-story-state{font-size:1.02em;min-width:2rem}
.horton-audio-story-skip{font-size:.84em}
.horton-audio-story-timer{font-variant-numeric:tabular-nums;font-size:.88em;min-width:6.6em;text-align:right}
.horton-audio-story-panel audio{display:none}
.horton-audio-story-badge{display:inline-block;margin-left:.35rem;font-size:.9em;vertical-align:middle}
.horton-story-audio-toggle{font-weight:600}
.horton-story-audio-toggle.is-current{background:rgba(11,90,67,.08)}
.horton-minimal-alpha{margin:.8rem 0 .55rem}
.horton-stories-toolbar{gap:.4rem .75rem}
.horton-story-view-switch{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 .35rem}
.horton-story-view-switch a{margin:0!important}
@media(max-width:680px){
    .horton-audio-story-panel{width:100%;flex-wrap:wrap;gap:.35rem .5rem}
}

/* v0.31.125 — Data Geek volunteer identity/statistics. */
.horton-volunteer-data-geek{background:#f5f8f4!important;border-color:#c7d5c4!important;}
.horton-data-geek-pill{display:inline-block;margin-left:8px;padding:2px 8px;border:1px solid #6f846b;border-radius:999px;font-size:11px;font-weight:700;line-height:1.45;vertical-align:middle;color:#294326;background:#edf4eb;white-space:nowrap;}
.horton-data-items-stat{margin:.25rem 0 .8rem!important;font-weight:600;}
.horton-data-geek-profile-label{display:inline-block;margin:.2rem 0 .35rem;padding:4px 10px;border:1px solid #6f846b;border-radius:999px;font-weight:700;color:#294326;background:#edf4eb;}
.horton-data-items-stat--profile{margin:.15rem 0 1rem!important;}


/* v0.31.127 — every volunteer directory tile with both portrait and badges uses one right-hand column. */
@media(min-width:761px){
  .hc-volunteer-card.horton-volunteer-card-with-picture-and-badges{
    padding-right:130px!important;
    min-height:190px!important;
  }
  .hc-volunteer-card.horton-volunteer-card-with-picture-and-badges .horton-volunteer-profile-picture{
    right:18px!important;
    top:16px!important;
    bottom:auto!important;
    transform:none!important;
  }
  .hc-volunteer-card.horton-volunteer-card-with-picture-and-badges .horton-volunteer-badges{
    right:18px!important;
    left:auto!important;
    top:auto!important;
    bottom:16px!important;
    width:100px!important;
    transform:none!important;
    justify-content:center!important;
  }
}


/* Horton public share controls: consistent compact buttons. */
.hc-share a,.hc-share button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100px;height:38px;padding:0 10px;border:1px solid #bfc8bf!important;border-radius:8px!important;background:#fff!important;color:#315c45!important;text-decoration:none!important;font:600 .88rem/1 Arial,sans-serif!important;cursor:pointer;transition:background .15s ease,border-color .15s ease;}
.hc-share a:hover,.hc-share a:focus,.hc-share button:hover,.hc-share button:focus{background:#f3f6f2!important;border-color:#668a6d!important;color:#183d2b!important;}

/* v0.31.151: compact alternative-name line in Person/Story result cards. */
.horton-story-card-alternatives{font-size:.78rem;line-height:1.15;margin:.12rem 0;opacity:.78}
.horton-story-card-alternatives em{font-style:italic;font-weight:600}
