.sj-profile{font-family:inherit;color:inherit;max-width:980px;margin:0 auto 2rem}.sj-profile-hero{display:grid;grid-template-columns:minmax(180px,280px) 1fr;gap:32px;align-items:center;background:#f5f7f8;border-radius:18px;padding:24px;margin:0 0 28px}.sj-profile-photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:12px}.sj-profile-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.11em;color:#bc2535}.sj-profile-intro h1{font-size:clamp(2rem,5vw,3.3rem);line-height:1.08;margin:12px 0}.sj-profile-intro p{font-size:1.05rem;line-height:1.6}.sj-profile-updated{font-size:.83rem!important;color:#647078}.sj-profile-section{border:1px solid #e5e7eb;border-radius:14px;padding:22px;margin:20px 0}.sj-profile-section h2,.sj-profile-bio h2{font-size:1.45rem;margin:0 0 16px}.sj-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}.sj-profile-facts div{padding:13px 0;border-bottom:1px solid #e5e7eb;min-width:0}.sj-profile-facts dt{font-size:.78rem;color:#69737b;margin-bottom:4px}.sj-profile-facts dd{margin:0;font-weight:650;overflow-wrap:anywhere}.sj-news-list{display:grid;gap:12px}.sj-news-list a{font-weight:650;text-decoration:none}.sj-news-list a:hover{text-decoration:underline}.sj-profile-bio{max-width:760px;margin:32px auto}.sj-profile-section a{overflow-wrap:anywhere}@media(max-width:650px){.sj-profile-hero{grid-template-columns:1fr;padding:16px;gap:16px}.sj-profile-photo{max-width:260px}.sj-profile-facts{grid-template-columns:1fr}.sj-profile-section{padding:16px}}

.sj-profile-author { margin: 14px 0; font-size: 14px; line-height: 1.5; color: #555; }
.sj-profile-author a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.sj-profile-breadcrumb { margin: 8px 0 18px; font-size: 13px; line-height: 1.5; color: #666; }
.sj-profile-breadcrumb a { color: inherit; text-decoration: none; }
.sj-profile-breadcrumb a:hover { text-decoration: underline; }

/* Optional, editor-controlled single-paragraph biography. */
.sj-profile-mini-bio{max-width:980px;margin:22px auto 26px;padding:18px 22px;border-left:3px solid #d14a28;background:#fafafa;border-radius:0 10px 10px 0}
.sj-profile-mini-bio p{margin:0;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
@media(max-width:650px){.sj-profile-mini-bio{padding:15px 16px;margin:20px 0}}

/* v1.9 centralized profile output: retain original theme-friendly visual language. */
.sj-profile-section:empty{display:none}
.sj-profile-facts dd{word-break:normal}
@media(max-width:650px){.sj-profile-hero{align-items:start}}

/* v2.0: avoid theme title style collisions and maintain accessible contrast */
.sj-profile-intro .sj-profile-person-name{font-size:clamp(2rem,5vw,3.3rem);line-height:1.08;margin:12px 0;color:inherit}.sj-profile-section a:focus-visible,.sj-profile-breadcrumb a:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* v2.0.2: Hide only theme-supplied featured-image wrappers on celebrity profiles.
   Actual CPT is sj_profile, NOT henkiloprofiili. Keep .sj-profile portrait visible. */
body.single-sj_profile .entry-header .post-thumbnail,
body.single-sj_profile .entry-header .featured-image,
body.single-sj_profile .entry-header .wp-post-image,
body.single-sj_profile .single-featured-image,
body.single-sj_profile .entry-featured,
body.single-sj_profile .entry-featured-image,
body.single-sj_profile .post-featured-image,
body.single-sj_profile .single-post-featured,
body.single-sj_profile .rb-featured-image,
body.single-sj_profile .featured-holder,
body.single-sj_profile .featured-media,
body.single-sj_profile .post-thumbnail:not(.sj-profile .post-thumbnail) {display:none!important;}
body.single-sj_profile .sj-profile-photo,
body.single-sj_profile .sj-profile-photo img {display:block!important;}


/* v2.1.0 automatic A–Ö celebrity directory */
.sj-directory{max-width:1100px;margin:22px auto 40px}
.sj-directory-toolbar{margin-bottom:22px}
.sj-directory-search{max-width:460px;margin-bottom:18px}
.sj-directory-search label{display:block;font-size:.92rem;font-weight:650;margin-bottom:6px}
.sj-directory-search>div{display:flex;gap:8px}
.sj-directory-search input{flex:1;min-width:0;padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px}
.sj-directory-search button{padding:10px 20px;border:0;border-radius:8px;background:#18181b;color:white;cursor:pointer}
.sj-directory-letters{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}
.sj-directory-letters a{min-width:30px;text-align:center;text-decoration:none;padding:5px 8px;border:1px solid #e5e7eb;border-radius:6px;color:inherit;font-weight:650}
.sj-directory-letters a[aria-current="page"]{background:#171717;color:#fff;border-color:#171717}
.sj-directory-grid{display:grid;grid-template-columns:repeat(var(--sj-directory-columns,3),minmax(0,1fr));gap:16px}
.sj-directory-card{margin:0;border:1px solid #e6e6e6;border-radius:12px;overflow:hidden;background:#fff}
.sj-directory-card-link{display:flex;gap:12px;align-items:center;padding:12px;text-decoration:none!important;color:#171717!important;height:100%}
.sj-directory-card-link:hover{background:#fafafa}
.sj-directory-image{flex:0 0 76px;width:76px;height:90px;overflow:hidden;border-radius:8px;background:#f3f4f6;display:flex;align-items:center;justify-content:center}
.sj-directory-image img{display:block;width:100%;height:100%;object-fit:cover}
.sj-directory-placeholder{font-size:2rem;font-weight:800;color:#94a3b8}
.sj-directory-card-text{min-width:0;display:flex;flex-direction:column;gap:5px}
.sj-directory-card-text strong{font-size:1.02rem;line-height:1.25}
.sj-directory-card-text small{font-size:.8rem;line-height:1.4;color:#616b77}
.sj-directory-pagination{display:flex;align-items:center;gap:18px;justify-content:center;margin:22px 0}
.sj-directory-home{margin:40px auto;max-width:1100px}
.sj-directory-home h2{font-size:1.6rem;margin:0 0 16px}
.sj-directory-more{text-align:right;margin:16px 0 0}
@media(max-width:900px){.sj-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.sj-directory-grid{grid-template-columns:1fr}.sj-directory-image{flex-basis:70px;width:70px;height:84px}}
