/* Sam Journal 1.0.2 — shared component styles, loaded outside page content. */
.smj-root, .smj-dialog {
  --smj-ink:#1d1d1f; --smj-muted:#6e6e73; --smj-line:#e5e5e7;
  --smj-blue:#0066cc; --smj-surface:#f5f5f7;
  --smj-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;
  --smj-gutter:24px;
  font-family:var(--smj-font); font-size:16px; line-height:1.6;
  color:var(--smj-ink); text-align:left; -webkit-font-smoothing:antialiased;
  overflow-wrap:anywhere;
}
.smj-root, .smj-root *, .smj-dialog, .smj-dialog * { box-sizing:border-box; }
.smj-root { width:100%; max-width:1120px; min-width:0; margin:0 auto; padding:0 var(--smj-gutter); }
.smj-root :is(h1,h2,h3,h4,p,figure,ul), .smj-dialog :is(h1,h2,h3,h4,p,figure) { margin:0; padding:0; }
.smj-root :is(h1,h2,h3,h4), .smj-dialog :is(h1,h2,h3,h4) { font-family:var(--smj-font); color:inherit; text-transform:none; }
.smj-root a, .smj-dialog a { color:inherit; text-decoration:none; box-shadow:none; }
.smj-root a::before, .smj-root a::after, .smj-dialog a::before, .smj-dialog a::after { content:none; }
.smj-root button, .smj-dialog button { font-family:var(--smj-font); text-transform:none; letter-spacing:normal; cursor:pointer; }
.smj-root :is(a,button,input,textarea):focus, .smj-dialog :is(a,button,input):focus { outline:none; }
.smj-root :is(a,button,input,textarea):focus-visible, .smj-dialog :is(a,button,input):focus-visible { outline:2px solid #0071e3; outline-offset:3px; }
.smj-root [data-smj-pointer-focus]:focus, .smj-dialog [data-smj-pointer-focus]:focus { outline:none; }
.smj-root p:empty { display:none; }
.smj-root [hidden], .smj-dialog [hidden] { display:none!important; }
.smj-root svg, .smj-dialog svg { display:block; width:20px; height:20px; flex-shrink:0; }
.smj-root .smj-sr-only, .smj-dialog .smj-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.smj-root .smj-intro { display:flex; align-items:center; gap:20px; padding:30.5px 0 39px; }
.smj-root .smj-intro-copy { flex:0 1 auto; min-width:0; }
.smj-root .smj-intro h1 { font-size:clamp(36px,4.4vw,58px); font-weight:650; line-height:1.08; letter-spacing:-2.5px; }
.smj-root .smj-intro p { margin-top:2px; font-size:21px; line-height:1.5; letter-spacing:-.4px; color:var(--smj-muted); }
.smj-root .smj-avatar { position:relative; width:88px; height:88px; flex:0 0 88px; border-radius:50%; display:grid; place-items:center; overflow:hidden; background:#e8e8ed; color:#6e6e73; font-size:25px; letter-spacing:-1px; }
.smj-root .smj-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border:0; padding:0; margin:0; }
.smj-root .smj-section-head { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:10px 20px; margin-bottom:24px; }
.smj-root .smj-section-head h2 { font-size:26px; line-height:1.2; font-weight:650; letter-spacing:-.85px; }
.smj-root .smj-text-link { display:inline-flex; align-items:center; gap:7px; font-size:14px; line-height:1.5; font-weight:500; color:var(--smj-blue); }
.smj-root a.smj-text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.smj-root .smj-placeholder { cursor:default; user-select:none; }
.smj-root .smj-kicker { display:block; color:var(--smj-muted); font-size:12px; font-weight:650; letter-spacing:1.3px; line-height:1.5; text-transform:uppercase; }
.smj-root .smj-moments { padding-top:4px; margin-bottom:78px; }
.smj-root .smj-moments-track { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; min-width:0; }
.smj-root .smj-note-card { display:flex; flex-direction:column; min-width:0; height:442px; overflow:hidden; padding:26px 24px 20px; border:1px solid #e1e1e6; border-radius:17px; background:#f5f5f7; cursor:pointer; transition:border-color .2s,background-color .2s; }
.smj-root .smj-note-head { display:flex; flex:0 0 auto; align-items:center; gap:8px; margin-bottom:16px; color:#74747d; font-size:11px; line-height:20px; letter-spacing:.12px; font-weight:500; }
.smj-root .smj-note-head svg { width:15px; height:15px; color:#86868f; }
.smj-root .smj-note-main { display:block; flex:1 1 0%; width:100%; min-height:0; min-width:0; overflow:hidden; }
.smj-root .smj-note-main > p, .smj-root .smj-moment-trigger { display:block; width:100%; height:100%; min-width:0; margin:0; padding:0; }
.smj-root .smj-moment-trigger:focus-visible { outline-offset:-2px; border-radius:4px; }
.smj-root .smj-note-image { display:block; height:138px; width:100%; margin-bottom:18px; border-radius:13px; overflow:hidden; background:#ededf1; }
.smj-root .smj-note-image img { display:block; width:100%; height:100%; object-fit:cover; margin:0; padding:0; border:0; border-radius:0; }
.smj-root .smj-note-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; font-size:18px; line-height:1.35; font-weight:600; letter-spacing:-.38px; color:#222226; margin-bottom:12px; }
.smj-root .smj-note-excerpt { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--smj-note-lines,10); line-clamp:var(--smj-note-lines,10); overflow:hidden; white-space:normal; color:#424249; font-size:15px; line-height:1.65; font-weight:400; letter-spacing:-.1px; }
.smj-root .smj-note-bottom { display:flex; flex:0 0 auto; justify-content:flex-end; margin-top:16px; padding-top:12px; border-top:1px solid rgba(29,29,31,.065); }
.smj-share-footer { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:6px; min-width:0; max-width:100%; }
.smj-root .smj-share, .smj-dialog .smj-share { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:82px; min-height:30px; margin:0; padding:0 6px; border:0; border-radius:15px; background:transparent; box-shadow:none; color:#777780; font-size:12px; line-height:20px; }
.smj-share svg { width:15px; height:15px; }
.smj-share-status { font-size:11px; color:var(--smj-muted); max-width:100%; }
.smj-share-status:empty { display:none; }
.smj-copy-url { width:100%; min-width:0; padding:8px; border:1px solid var(--smj-line); border-radius:8px; font-size:12px; background:#fff; color:var(--smj-ink); }
.smj-root .smj-carousel-nav { display:none; }
.smj-root .smj-articles-section { margin-bottom:78px; }
.smj-root .smj-articles-grid, .smj-root .smj-archive-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; align-items:stretch; }
.smj-root .smj-article { position:relative; display:flex; min-width:0; min-height:470px; border:1px solid #e8e8ec; border-radius:24px; overflow:hidden; background:var(--smj-surface); transition:transform .2s,box-shadow .2s; }
.smj-root .smj-article-target, .smj-root .smj-radar-target { position:static; }
.smj-root .smj-article-target::after, .smj-root .smj-radar-target::after { content:""; position:absolute; inset:0; z-index:1; }
.smj-root :is(.smj-article,.smj-radar-card):has(a:focus-visible) { outline:2px solid #0071e3; outline-offset:3px; }
.smj-root .smj-article-main { display:flex; flex-direction:column; width:100%; min-width:0; }
.smj-root .smj-article-image { height:205px; flex:0 0 205px; overflow:hidden; background:#e7e7ec; }
.smj-root .smj-article-image img { display:block; width:100%; height:100%; object-fit:cover; margin:0; padding:0; border:0; border-radius:0; }
.smj-root .smj-article-image > p, .smj-root .smj-radar-image > p { width:100%; height:100%; margin:0; padding:0; }
.smj-root .smj-article-copy { display:flex; flex-direction:column; flex:1; min-width:0; padding:23px 21px 20px; }
.smj-root .smj-article-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; line-clamp:5; overflow:hidden; flex-shrink:0; margin:17px 0 11px; font-size:22px; font-weight:600; line-height:1.22; letter-spacing:-.65px; }
.smj-root .smj-article-intro { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; line-clamp:5; overflow:hidden; flex-shrink:0; font-size:15px; line-height:1.55; color:#77777d; }
.smj-root .smj-article-bottom { margin-top:auto; padding-top:17px; color:#77777d; font-size:12px; line-height:1.6; }
.smj-root .smj-article--lead { background:#1d1d1f; border-color:#1d1d1f; }
.smj-root .smj-article--lead .smj-article-copy { padding:24px 30px 21px; }
.smj-root .smj-article--lead .smj-article-title { margin:18px 0 13px; color:#f5f5f7; font-size:34px; line-height:1.12; letter-spacing:-1.15px; }
.smj-root .smj-article--lead :is(.smj-article-intro,.smj-kicker,.smj-article-bottom) { color:#b6b6be; }
.smj-root .smj-article--lead .smj-image-empty { background:#29292d; }
.smj-root .smj-image-empty { background:linear-gradient(145deg,#ededf1,#e3e3e9); }
.smj-root .smj-radar-section { padding:32px; margin-bottom:64px; background:var(--smj-surface); border-radius:28px; }
.smj-root .smj-radar-section .smj-section-head { align-items:flex-end; margin-bottom:27px; }
.smj-root .smj-radar-section .smj-section-head .smj-kicker { margin-bottom:9px; }
.smj-root .smj-radar-section .smj-section-head h2 { font-size:30px; letter-spacing:-1px; }
.smj-root .smj-rw-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; align-items:start; }
.smj-root .smj-rw-entry { display:grid; min-width:0; grid-template-columns:minmax(0,1fr); gap:14px; align-content:start; }
.smj-root .smj-rw-note { display:flex; align-items:center; height:112px; min-width:0; padding:14px 16px; overflow:hidden; background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.26) 45%,rgba(255,255,255,0)); border-radius:16px 16px 0 0; text-align:right; }
.smj-root .smj-rw-note p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; line-clamp:4; max-height:80px; overflow:hidden; width:100%; color:#606067; font-size:13px; font-weight:400; line-height:20px; }
.smj-root .smj-rw-note svg { display:inline-block; width:14px; height:14px; margin-right:6px; vertical-align:-2px; color:#8c8c94; }
.smj-root .smj-radar-card { position:relative; display:flex; min-width:0; min-height:420px; border:1px solid #e9e9ed; border-radius:20px; overflow:hidden; background:#fff; transition:transform .2s,box-shadow .2s; }
.smj-root .smj-radar-link { display:flex; flex-direction:column; width:100%; min-width:0; }
.smj-root .smj-radar-image { position:relative; height:178px; flex:0 0 178px; overflow:hidden; background:#e7e7ec; }
.smj-root .smj-radar-image img { display:block; width:100%; height:100%; object-fit:cover; border:0; border-radius:0; margin:0; }
.smj-root .smj-radar-play { position:absolute; bottom:13px; left:14px; width:34px; height:34px; display:grid; place-items:center; background:#0009; border:1px solid #ffffff48; color:#fff; border-radius:50%; backdrop-filter:blur(8px); }
.smj-root .smj-radar-play svg { width:18px; height:18px; }
.smj-root .smj-radar-copy { display:flex; flex-direction:column; flex:1; min-width:0; padding:20px 21px 17px; }
.smj-root .smj-radar-source { display:flex; justify-content:space-between; align-items:center; gap:12px; color:#77777d; font-size:12px; line-height:1.4; }
.smj-root .smj-radar-source > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.smj-root .smj-radar-kind { flex-shrink:0; padding:4px 8px; background:var(--smj-surface); border-radius:9px; color:#646469; font-size:12px; line-height:1.3; }
.smj-root .smj-radar-card h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; flex-shrink:0; margin:15px 0 13px; font-size:20px; font-weight:600; line-height:1.3; letter-spacing:-.55px; }
.smj-root .smj-radar-bottom { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:auto; padding-top:21px; color:#77777d; font-size:12px; }
.smj-root .smj-radar-bottom > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.smj-root .smj-radar-arrow { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; color:var(--smj-ink); background:var(--smj-surface); border-radius:50%; font-size:18px; }
.smj-root .smj-archive-heading { margin:6px 0 36px; }
.smj-root .smj-archive-heading h2 { margin-top:10px; font-size:40px; line-height:1.15; font-weight:650; letter-spacing:-1.5px; }
.smj-root .smj-archive-grid > .smj-rw-grid { grid-template-columns:minmax(0,1fr); }
.smj-root .smj-pagination { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:40px 0 55px; padding-top:25px; border-top:1px solid var(--smj-line); color:var(--smj-muted); font-size:12px; }
.smj-root .smj-pagination a { padding:9px 17px; border-radius:20px; background:var(--smj-surface); color:var(--smj-ink); font-size:14px; }
.smj-root .smj-empty, .smj-dialog .smj-empty { padding:35px; border-radius:24px; background:var(--smj-surface); }
.smj-root .smj-empty { margin-bottom:45px; }
.smj-root .smj-composer { display:block; width:100%; min-width:0; margin:0 0 30px; padding:18px; border:1px solid var(--smj-line); border-radius:19px; background:#fff; box-shadow:none; }
.smj-root .smj-composer-categories { display:block; min-width:0; margin:0 0 16px; padding:0; border:0; }
.smj-root .smj-composer-category-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; min-width:0; }
.smj-root .smj-composer-label { flex:0 0 auto; color:#727279; font-size:12px; }
.smj-root .smj-composer-options { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; }
.smj-root .smj-composer-choice { flex:0 0 auto; max-width:100%; }
.smj-root .smj-composer-categories p { margin:0; padding:0; }
.smj-root .smj-composer-categories label { display:inline-flex; position:relative; margin:0; padding:0; cursor:pointer; }
.smj-root .smj-composer-categories input { position:absolute; width:1px; height:1px; margin:-1px; clip-path:inset(50%); overflow:hidden; }
.smj-root .smj-composer-categories label > span { display:inline-flex; align-items:center; min-height:32px; padding:7px 11px; background:#f7f7f9; border:1px solid #e5e5ea; border-radius:999px; color:#62626a; font-size:12px; line-height:1.2; }
.smj-root .smj-composer-categories input:checked + span { background:#f0f4fa; border-color:#b8d1ef; color:#0066cc; }
.smj-root .smj-composer-categories input:focus-visible + span { outline:2px solid #0071e3; outline-offset:3px; }
.smj-root .smj-composer textarea { display:block; width:100%; min-width:0; min-height:102px; height:102px; resize:vertical; padding:10px 12px; margin:0 0 8px; border:0; border-radius:14px; background:var(--smj-surface); color:var(--smj-ink); font:15px/20px var(--smj-font); box-shadow:none; }
.smj-root .smj-composer textarea::placeholder { color:#74747b; opacity:1; }
.smj-root .smj-composer-note { margin-bottom:8px; }
.smj-root .smj-composer-note label { display:block; margin-bottom:5px; font-size:13px; line-height:18px; color:#62626a; }
.smj-root .smj-composer-note textarea { min-height:58px; height:58px; margin:0; }
.smj-root .smj-composer-preview { margin-bottom:14px; }
.smj-root .smj-composer-preview img { display:block; max-width:100%; max-height:240px; border-radius:14px; margin-bottom:8px; }
.smj-root .smj-composer-tools { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.smj-root .smj-composer button { min-height:44px; padding:8px 14px; margin:0; border:0; border-radius:22px; color:#393940; background:#f0f0f4; font-size:14px; font-weight:600; line-height:20px; box-shadow:none; }
.smj-root .smj-composer button[type=submit] { margin-left:auto; background:#0071e3; color:#fff; }
.smj-root .smj-composer :disabled { opacity:.6; cursor:wait; }
.smj-root .smj-composer-status { margin-top:8px; color:#61616a; font-size:13px; line-height:1.5; }
.smj-root .smj-composer-status:empty { display:none; }
html.smj-modal-open, body.smj-modal-open { overflow:hidden; }
.smj-dialog { position:fixed; inset:0; margin:auto; width:min(720px,calc(100vw - 32px)); max-width:none; max-height:min(86vh,860px); max-height:min(86dvh,860px); overflow:auto; overscroll-behavior:contain; padding:0; background:#fff; border:1px solid #ffffff70; border-radius:28px; box-shadow:0 30px 90px #0000002b; }
.smj-dialog:not([open]) { display:none; }
.smj-dialog::backdrop { background:rgba(0,0,0,.42); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); }
.smj-dialog.smj-dialog--fallback { z-index:999999; outline:100vmax solid rgba(0,0,0,.42); }
.smj-dialog .smj-dialog-close { position:sticky; top:16px; z-index:2; display:grid; place-items:center; width:38px; height:38px; margin:16px 16px -38px auto; padding:0; border:0; border-radius:50%; background:#f1f1f4; color:#333338; box-shadow:0 2px 10px #0000000d; }
.smj-dialog .smj-dialog-close svg { width:18px; height:18px; }
.smj-dialog .smj-dialog-content { padding:34px 38px 38px; }
.smj-dialog .smj-dialog-loading { padding:88px 38px; text-align:center; color:var(--smj-muted); font-size:15px; }
.smj-dialog .smj-modal-featured { width:100%; aspect-ratio:16/9; overflow:hidden; margin-bottom:28px; border-radius:20px; background:var(--smj-surface); }
.smj-dialog .smj-modal-featured img { display:block; width:100%; height:100%; object-fit:cover; margin:0; border:0; border-radius:0; }
.smj-dialog .smj-modal-date { display:block; margin-bottom:13px; color:var(--smj-muted); font-size:13px; line-height:1.4; }
.smj-dialog .smj-modal-title { margin-bottom:22px; font-size:clamp(30px,4.5vw,45px); font-weight:650; line-height:1.12; letter-spacing:-1.4px; }
.smj-dialog .smj-modal-body { color:#303034; font-size:18px; line-height:1.75; }
.smj-dialog .smj-modal-body p { margin-bottom:18px; }
.smj-dialog .smj-modal-body > :last-child { margin-bottom:0; }
.smj-dialog .smj-modal-body a, .smj-dialog .smj-fallback-link { color:var(--smj-blue); text-decoration:underline; text-underline-offset:3px; }
.smj-dialog .smj-modal-body :is(img,video,iframe,figure) { max-width:100%; }
.smj-dialog .smj-modal-body :is(img,video) { height:auto; border-radius:16px; }
.smj-dialog .smj-modal-body iframe[src*="youtube"] { width:100%; height:auto; aspect-ratio:16/9; border:0; border-radius:16px; }
.smj-dialog .smj-modal-body :is(.alignwide,.alignfull) { width:100%; margin-inline:0; }
.smj-dialog .smj-modal-body :is(pre,.wp-block-table) { max-width:100%; overflow:auto; }
.smj-dialog .smj-modal-body blockquote { margin:22px 0; padding-left:18px; border-left:3px solid #d2d2d7; color:var(--smj-muted); }
.smj-dialog .smj-modal-footer { margin-top:30px; padding-top:22px; border-top:1px solid var(--smj-line); }
.smj-dialog .smj-modal-footer .smj-share-footer { justify-content:flex-start; }
.smj-dialog .smj-modal-footer .smj-share { min-width:104px; min-height:36px; padding:7px 12px; border:1px solid #dedee3; border-radius:18px; background:var(--smj-surface); color:#45454a; font-size:13px; }
/* Explicit adapter for the current Twenty Twenty-Five homepage's full-width
   group and single column. This is static, scoped layout, never ancestor JS. */
.smj-page .wp-site-blocks > div.wp-block-group:has(.smj-root) { padding-inline:0; }
.smj-page .wp-block-columns:has(> .wp-block-column > .smj-root) { width:100%; max-width:1120px; margin-inline:auto; gap:0; }
.smj-page .wp-block-column:has(> .smj-root) { min-width:0; padding-inline:0; }
@media (hover:hover) and (pointer:fine) {
  .smj-root .smj-note-card:hover { border-color:#b9b9c1; background:#eeeef2; }
  .smj-root .smj-article:hover { transform:translateY(-3px); box-shadow:0 12px 30px #00000008; }
  .smj-root .smj-radar-card:hover { transform:translateY(-4px); box-shadow:0 10px 26px #00000009; }
  .smj-root .smj-share:hover, .smj-dialog .smj-share:hover { color:#33333b; background:#ebebef; }
}
@media (prefers-reduced-motion:reduce) {
  .smj-root *, .smj-dialog * { transition:none!important; scroll-behavior:auto!important; }
}
