/* Shared word portrait for browsing, Discoveries and presentation. */
.topic-title-slide{--topic-ink:#142b38;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);color:var(--topic-ink);background:#ece4ff;text-align:left;overflow-wrap:anywhere;border-radius:26px 10px;overflow:hidden;font-family:Outfit,system-ui,sans-serif}
.topic-title-main{padding:28px;background:#ece4ff;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}
.topic-title-heading,.topic-title-english{display:contents}
.topic-title-slide h2{font:800 clamp(36px,5vw,64px)/1.05 Outfit,system-ui!important;letter-spacing:-.04em;margin:0 0 18px!important;color:#142b38}
.topic-title-pronunciation{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;font:500 24px/1.45 'Segoe UI',Arial,sans-serif;margin:0 0 24px;letter-spacing:.015em}
.topic-title-pronunciation strong{font:650 14px Outfit,system-ui;background:#ffe36c;border-radius:9px 3px;padding:5px 10px}
.topic-title-label{font:750 11px/1.4 Outfit,system-ui;letter-spacing:.07em;text-transform:uppercase;margin:0 0 9px;color:#41535d}
.topic-title-definition{font:28px/1.45 Georgia,serif;margin:0;max-width:28ch}
.topic-title-biblical{padding:24px;background:#dcecff;border-left:2px dashed #9b82c4;min-width:0}
.topic-title-word{position:relative;background:#ffffffa6;border:1px solid #a9c9f8;border-radius:17px 5px;padding:12px 16px;margin-top:12px}
.topic-title-language{font:700 11px/1.4 Outfit,system-ui;margin:0 0 6px;text-transform:uppercase;letter-spacing:.07em;display:flex;justify-content:space-between;gap:10px}.topic-title-language span{font-weight:500;color:#596b76}
.topic-title-slide h3{font:500 32px/1.3 Georgia,'Times New Roman',serif;margin:0;text-align:left;color:#142b38}.topic-title-slide h3[dir=rtl]{text-align:left}
.topic-title-reading{font:italic 14px/1.45 Georgia,serif;margin:3px 0 8px}.topic-title-sense{font:650 17px/1.4 Outfit,system-ui;margin:4px 0}.topic-title-example{font:13px/1.5 Outfit,system-ui;margin:4px 0;color:#41535d}
.topic-title-example strong{font-weight:750;color:#075dff}.topic-title-example>span{display:block;margin-top:3px}.topic-title-example strong span{display:block}.topic-title-example{text-align:right}.topic-title-strongs{font:500 11px/1.4 Outfit,system-ui;color:#596b76;text-align:right;margin:8px 0 0}
.topic-title-meaning{font:650 16px/1.4 Outfit,system-ui;margin:8px 0}.topic-title-comparison{font:14px/1.45 Outfit,system-ui;margin:9px 0;padding-top:8px;border-top:1px solid #c5b4e7}.topic-title-comparison strong{display:block;font:750 10px/1.4 Outfit,system-ui;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;color:#41535d}
.topic-entry-references{margin:14px 0 0;padding:0;border:1px solid #c5b4e7;border-radius:12px 5px;background:transparent;color:#41535d;font:12px/1.5 Outfit,system-ui}
.topic-title-credits>summary{display:list-item;list-style:disclosure-closed inside;cursor:pointer;box-sizing:border-box;min-height:44px;padding:12px 24px;margin:0;font:650 12px/1.5 Outfit,system-ui;color:#41535d}
.topic-title-credits[open]>summary{list-style:disclosure-open inside}.topic-title-credits>summary:focus-visible{outline:3px solid #7651c9;outline-offset:-4px}.topic-title-source-list{padding:0 24px 14px}.topic-title-credits p{margin:5px 0;font:inherit}.topic-title-credits a{color:#344579;text-decoration:underline;text-underline-offset:2px}
.topic-definition-stop{position:relative;margin:24px 0 34px}.topic-definition-stop>.minimize-tile{position:absolute;right:0;top:0;width:34px;min-width:34px;min-height:34px;padding:2px!important;font-size:22px}.topic-definition-stop.research-minimized>.topic-definition-heading{display:flex!important;margin:0}
.topic-definition-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px;padding-right:48px}.topic-definition-heading .eyebrow{font-size:10px;margin:0 0 5px;color:#6338b5}.topic-definition-heading h2{font:750 23px/1.3 Outfit,system-ui;margin:0}.topic-definition-heading button{font-size:12px;flex:none}
.topic-definition-card{position:relative;border:2px solid #7651c9;border-radius:28px 12px;box-shadow:0 6px 0 #c5b4e7;overflow:hidden;background:#ece4ff}.topic-definition-card .topic-title-slide{border-radius:0}
.topic-definition-footer{display:flex;justify-content:flex-end;margin:0;padding:4px 12px 6px;border:0;background:#ece4ff}.topic-definition-footer .pin-action{position:relative;inset:auto;flex:none;margin-left:auto;width:44px;height:48px;min-width:44px;min-height:44px;padding:3px!important}
.topic-definition-choice{display:block;font-size:13px;margin:18px 0}.topic-definition-choice select{display:block;max-width:100%;width:100%;margin-top:6px;white-space:normal}
.content-preview .topic-title-main,.content-preview .topic-title-biblical{padding:15px}.content-preview .topic-title-slide h2{font-size:26px!important}.content-preview .topic-title-definition{font-size:16px}.content-preview .topic-title-pronunciation{font-size:16px;margin-bottom:16px}.content-preview .topic-title-word{padding:8px}.content-preview .topic-title-slide h3{font-size:22px}
/* Preserve the English-left / biblical-words-right presentation structure. */
.slide-canvas .topic-title-slide{width:100%;font-size:.9em;display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);border:3px solid #142b38;border-radius:36px 12px;background:#ece4ff;box-shadow:8px 9px 0 #c5b4e7;overflow:hidden!important}
.slide-canvas>.topic-title-slide,.slide-canvas>.polished-slide>.topic-title-slide{min-height:880px}
.slide-canvas .topic-title-main{display:flex;flex-direction:column;justify-content:center;gap:.38em;padding:.36em;background:#ece4ff;border:0;min-width:0}
.slide-canvas .topic-title-heading,.slide-canvas .topic-title-english{display:block;min-width:0}
.slide-canvas .topic-title-slide h2{font-size:var(--topic-title-scale,1.04em)!important;line-height:1.04!important;letter-spacing:-.045em;margin:0 0 .18em!important;position:relative;padding-bottom:.13em}
.slide-canvas .topic-title-slide h2:after{content:'';position:absolute;left:0;bottom:0;width:1.05em;height:.055em;background:#ffe36c;border-radius:6px;transform:rotate(-2deg)}
.slide-canvas .topic-title-pronunciation{font-size:.25em;margin:.5em 0 0;gap:.3em .5em;color:#41535d}.slide-canvas .topic-title-pronunciation strong{font-size:.64em;padding:.3em .6em;color:#142b38}
.slide-canvas .topic-title-english{padding:.23em .24em;border-left:5px solid #ff8065;border-radius:0 18px 18px 0;background:#ffffffa3}
.slide-canvas .topic-title-label{font-size:.145em;margin:0 0 .65em;letter-spacing:.08em;color:#41535d}
.slide-canvas .topic-title-definition{font-size:.44em;line-height:1.3;margin:0;max-width:none}
.slide-canvas .topic-title-biblical{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto repeat(2,minmax(0,1fr));gap:.18em;padding:.28em;background:#dcecff;border-left:2px solid #b1a1ce;min-width:0}
.slide-canvas .topic-title-slide[data-word-count="1"] .topic-title-biblical{grid-template-rows:auto minmax(0,1fr)}
.slide-canvas .topic-title-slide[data-word-count="0"]{grid-template-columns:minmax(0,1fr)}.slide-canvas .topic-title-slide[data-word-count="0"] .topic-title-biblical{display:none}
.slide-canvas .topic-title-biblical>.topic-title-label{margin:0;font-size:.13em}
.slide-canvas .topic-title-word{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);grid-template-areas:'language language' 'original example' 'reading example' 'meaning meaning' 'comparison comparison' 'strongs strongs';grid-template-rows:auto auto auto auto auto minmax(0,1fr);align-content:stretch;align-items:start;column-gap:.18em;min-width:0;background:#ffffffc9;border:1px solid #a9bde0;border-radius:22px 7px;padding:.19em .23em;margin:0}
.slide-canvas .topic-title-word:nth-of-type(2){border-radius:7px 22px}
.slide-canvas .topic-title-language{grid-area:language;font-size:.145em;margin:0 0 .45em;letter-spacing:.1em}.slide-canvas .topic-title-strongs{grid-area:strongs;justify-self:end;align-self:end;font-size:.125em;letter-spacing:.03em;margin:.35em 0 0;color:#596b76}
.slide-canvas .topic-title-slide h3{grid-area:original;font-size:.5em!important;line-height:1.2!important;margin:0!important;min-width:0}
.slide-canvas .topic-title-reading{grid-area:reading;font-size:.18em;line-height:1.35;margin:.2em 0 .55em;color:#41535d;min-width:0}
.slide-canvas .topic-title-meaning,.slide-canvas .topic-title-sense{grid-area:meaning;font-size:.3em;line-height:1.3;margin:.18em 0 .35em;color:#142b38}
.slide-canvas .topic-title-comparison{grid-area:comparison;font-size:.2em;line-height:1.35;margin:.1em 0 0;padding:.4em 0 0;border-top:1px solid #c9c6dc;color:#41535d}.slide-canvas .topic-title-comparison strong{font-size:.65em;line-height:1.35;letter-spacing:.07em;margin-bottom:.3em;color:#596b76}
.slide-canvas .topic-title-example{grid-area:example;align-self:center;text-align:right;min-width:0;font-size:.19em;line-height:1.3;margin:0;padding:.5em .6em;border-left:3px solid #075dff;border-radius:0 10px 10px 0;background:#e9e5ff;color:#41535d}.slide-canvas .topic-title-example strong{display:block;font-size:1.3em;line-height:1.3;color:#075dff}.slide-canvas .topic-title-example>span{font-size:.9em;line-height:1.35;margin-top:.35em}
@media(max-width:650px){.topic-definition-heading{align-items:start;flex-direction:column;gap:10px}.topic-definition-heading h2{font-size:21px}.topic-definition-card .topic-title-slide{grid-template-columns:minmax(0,1fr)}.topic-definition-card .topic-title-main{padding:24px 22px}.topic-definition-card .topic-title-biblical{padding:20px 22px;border-left:0;border-top:2px dashed #9b82c4}.topic-title-definition{font-size:24px}.topic-title-pronunciation{font-size:23px;margin-bottom:20px}}

/* The topic landing card is a reading layout; slide styling remains independent. */
.topic-definition-card>.topic-title-slide{display:block}
.topic-definition-card .topic-title-main{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;align-items:center;padding:26px 28px}
.topic-definition-card .topic-title-heading,.topic-definition-card .topic-title-english{display:block;min-width:0}
.topic-definition-card .topic-title-slide h2{font-size:clamp(34px,4vw,52px)!important;margin:0 0 14px!important;line-height:1.08}
.topic-definition-card .topic-title-pronunciation{font-size:21px;margin:0;gap:8px 12px}
.topic-definition-card .topic-title-english{padding:16px 20px;border-left:4px solid #ff8065;border-radius:0 14px 14px 0;background:#ffffffa3}
.topic-definition-card .topic-title-definition{font-size:24px;line-height:1.4;max-width:none}
.topic-definition-card .topic-title-biblical{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 28px;border-left:0;border-top:1px solid #b8c7e5}
.topic-definition-card .topic-title-biblical>.topic-title-label{grid-column:1/-1;margin:0}
.topic-definition-card .topic-title-word{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:'language language' 'original example' 'reading example' 'meaning meaning' 'comparison comparison' 'strongs strongs';grid-template-rows:auto auto auto auto auto minmax(0,1fr);gap:0 14px;padding:18px;margin:0;min-width:0;background:#ffffffc9}
.topic-definition-card .topic-title-language{grid-area:language;margin:0 0 12px}
.topic-definition-card .topic-title-word h3{grid-area:original;font-size:32px;line-height:1.3;min-width:0}
.topic-definition-card .topic-title-reading{grid-area:reading;margin:4px 0 12px;min-width:0}
.topic-definition-card .topic-title-meaning,.topic-definition-card .topic-title-sense{grid-area:meaning;font-size:18px;line-height:1.4;margin:4px 0 10px}
.topic-definition-card .topic-title-comparison{grid-area:comparison;font-size:15px;line-height:1.45;margin:0;padding-top:10px}
.topic-definition-card .topic-title-example{grid-area:example;align-self:start;margin:0;padding:9px 10px;border-right:3px solid #075dff;border-radius:8px 0 0 8px;background:#e9e5ff;font-size:13px;line-height:1.4}
.topic-definition-card .topic-title-example strong{font-size:15px;line-height:1.35}
.topic-definition-card .topic-title-strongs{grid-area:strongs;align-self:end;justify-self:end;margin:12px 0 0;font-size:11px}
.topic-definition-card .topic-title-slide[data-word-count="1"] .topic-title-biblical{grid-template-columns:minmax(0,1fr)}
.topic-definition-card .topic-title-slide[data-word-count="0"] .topic-title-biblical{display:none}
@media(max-width:720px){.topic-definition-card .topic-title-biblical{grid-template-columns:minmax(0,1fr);padding:20px;gap:14px}.topic-definition-card .topic-title-main{gap:20px;padding:24px 20px}.topic-definition-card .topic-title-definition{font-size:22px}}
@media(max-width:540px){.topic-definition-card .topic-title-main{grid-template-columns:minmax(0,1fr);gap:20px}.topic-definition-card .topic-title-slide h2{font-size:38px!important}.topic-definition-card .topic-title-english{padding:12px 16px}.topic-definition-card .topic-title-word{padding:16px;column-gap:10px;grid-template-areas:'language language' 'original original' 'reading reading' 'meaning meaning' 'comparison example' 'strongs strongs'}.topic-definition-card .topic-title-example strong{font-size:14px}}

/* Inline source disclosure belongs to the reading card, never the slide. */
.topic-definition-footer{position:relative;display:block;padding:4px 12px 6px}
.topic-definition-footer .topic-entry-references{margin:0;border:0;border-radius:0;background:transparent;font-size:12px}
.topic-definition-footer .topic-title-credits>summary{display:list-item;width:fit-content;max-width:calc(100% - 56px);min-height:48px;box-sizing:border-box;padding:15px 12px;font:650 12px/18px Outfit,system-ui;box-shadow:none;border:0;border-radius:0;background:transparent}
.topic-definition-footer .topic-title-credits>summary:hover{color:#6338b5}
.topic-definition-footer .topic-title-source-list{padding:4px 12px 14px;overflow-wrap:anywhere}
.topic-definition-footer .pin-action{position:absolute;inset:4px 12px auto auto;margin:0}

.topic-definition-card .topic-title-example a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.topic-definition-card .topic-title-example a:hover{color:#6338b5}.topic-definition-card .topic-title-example a:focus-visible{outline:2px solid #6338b5;outline-offset:3px;border-radius:2px}
