/* Dictionary Terms: isolated from Single, Appendix, Header, and Footer. */
main.wedcy-words {
    --words-brown: #663d20; --words-border: #dadada; --words-offset: 112px;
    width: 100%; max-width: none; margin: 0; padding: 0;
    background: #fff; color: #333; font: 400 16px/1.75 Tahoma, sans-serif;
}
.wedcy-words *, .wedcy-words *::before, .wedcy-words *::after { box-sizing: border-box; }
.wedcy-words .wedcy-words__container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.wedcy-words :is(h1,h2,h3,p,ul) { padding: 0; }
.wedcy-words p { margin: 0 0 12px; }
.wedcy-words :is(h1,h2,h3) { color: var(--words-brown); font-family: Prompt, Tahoma, sans-serif; font-weight: 600; letter-spacing: normal; text-transform: none; }
.wedcy-words a { color: var(--words-brown); text-underline-offset: 3px; }
.wedcy-words a:hover { color: #8a5229; text-decoration: underline; }
.wedcy-words :is(a,summary):focus-visible { outline: 2px solid #663d20; outline-offset: 3px; }
.wedcy-words :is([id], .wedcy-words__term) { scroll-margin-top: var(--words-offset); }
.wedcy-words :is(h1,h2,article):focus-visible { outline: 2px solid #a38b79; outline-offset: 4px; }
.wedcy-words .wedcy-words__breadcrumb { padding: 4px 0; background: #f2f2f2; color: #333; font: 400 13px/1.4 Tahoma, sans-serif; overflow-wrap: anywhere; }
.wedcy-words .wedcy-words__breadcrumb .wedcy-words__container { max-width: 1170px; padding: 0 15px; }
.wedcy-words .wedcy-words__breadcrumb p { margin: 0; }
.wedcy-words .wedcy-words__breadcrumb a { color: #663d20; text-decoration: none; }
.wedcy-words .wedcy-words__breadcrumb a:hover { color: #8a5229; text-decoration: underline; }
.wedcy-words .wedcy-words__hero { padding-block: 28px 32px; }
.wedcy-words .wedcy-words__title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 2px; }
.wedcy-words .wedcy-words__title-row h1 { margin: 0; font-size: 38px; line-height: 1.4; }
.wedcy-words .wedcy-words__count { display: inline-block; padding: 3px 10px; border: 1px solid #e3d8cf; border-radius: 4px; background: #f9f6f2; color: #663d20; font-size: 12px; }
.wedcy-words .wedcy-words__subtitle { margin: 6px 0 18px; color: #663d20; font: 500 21px/1.6 Prompt, Tahoma, sans-serif; }
.wedcy-words :is(.wedcy-words__intro,.wedcy-words__intro-th) { max-width: 850px; }
.wedcy-words .wedcy-words__intro { margin-bottom: 8px; }
.wedcy-words .wedcy-words__intro-th { color: #666; font-size: 15px; }
.wedcy-words .wedcy-words__shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.wedcy-words .wedcy-words__shortcuts a { min-width: 0; padding: 12px 14px; border: 1px solid var(--words-border); border-left: 3px solid #a38b79; border-radius: 4px; text-decoration: none; }
.wedcy-words .wedcy-words__shortcuts a:hover { border-color: #a38b79; background: #faf7f3; }
.wedcy-words .wedcy-words__shortcuts span { display: block; }
.wedcy-words .wedcy-words__shortcuts span:first-child { font: 500 16px/1.5 Prompt, Tahoma, sans-serif; }
.wedcy-words .wedcy-words__shortcuts span:last-child { margin-top: 2px; color: #666; font-size: 13px; }
.wedcy-words .wedcy-words__layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 32px; align-items: start; padding-bottom: 48px; }
.wedcy-words .wedcy-words__sidebar { grid-column: 2; grid-row: 1; position: sticky; top: var(--words-offset); max-height: calc(100vh - var(--words-offset) - 16px); max-height: calc(100dvh - var(--words-offset) - 16px); overflow-y: auto; scrollbar-width: thin; }
.wedcy-words .wedcy-words__toc { border: 1px solid var(--words-border); border-radius: 4px; background: #fff; }
.wedcy-words summary { cursor: pointer; list-style: none; }
.wedcy-words summary::-webkit-details-marker { display: none; }
.wedcy-words summary::marker { content: ''; }
.wedcy-words .wedcy-words__toc > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #f2f2f2; color: #663d20; font: 600 18px/1.5 Prompt, Tahoma, sans-serif; }
.wedcy-words .wedcy-words__toc-total { margin-left: auto; color: #666; font: 400 12px/1.5 Tahoma, sans-serif; }
.wedcy-words .wedcy-words__chevron { flex: 0 0 8px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 3px 0 auto; }
.wedcy-words details[open] > summary > .wedcy-words__chevron { transform: rotate(225deg); margin-top: 4px; }
.wedcy-words .wedcy-words__toc > summary .wedcy-words__chevron { margin-left: 3px; }
.wedcy-words .wedcy-words__toc-group { border-top: 1px solid #e8e3de; }
.wedcy-words .wedcy-words__toc-group > summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #663d20; font-size: 14px; line-height: 1.5; }
.wedcy-words .wedcy-words__toc-th { display: block; margin-top: 3px; color: #666; font-size: 12px; }
.wedcy-words .wedcy-words__toc-group ul { margin: 0 0 8px; list-style: none; }
.wedcy-words .wedcy-words__toc-group li { margin: 0; padding: 0; }
.wedcy-words .wedcy-words__toc-group a { display: block; padding: 7px 14px 7px 18px; border-left: 3px solid transparent; color: #444; font-size: 13px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.wedcy-words .wedcy-words__toc-group a:hover { background: #faf7f3; }
.wedcy-words .wedcy-words__toc-group a[aria-current="location"] { border-left-color: #663d20; background: #f5eee8; color: #663d20; }
.wedcy-words .wedcy-words__entries { grid-column: 1; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
.wedcy-words .wedcy-words__group { margin-bottom: 40px; }
.wedcy-words .wedcy-words__group > h2 { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid #c2b1a6; font-size: 24px; line-height: 1.5; }
.wedcy-words .wedcy-words__number { display: inline-flex; flex: 0 0 34px; height: 32px; align-items: center; justify-content: center; margin-top: 2px; border-radius: 4px; background: #663d20; color: #fff; font-size: 15px; }
.wedcy-words .wedcy-words__group-th { display: block; margin-top: 2px; color: #666; font: 400 14px/1.6 Tahoma, sans-serif; }
.wedcy-words .wedcy-words__term { margin: 0 0 20px; border: 1px solid #d9d0c8; border-radius: 4px; background: #fff; }
.wedcy-words .wedcy-words__term-heading { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px 14px; border-bottom: 1px solid #ded3c9; border-radius: 4px 4px 0 0; background: #f9f6f2; }
.wedcy-words .wedcy-words__term-heading > div { flex: 1; min-width: 0; }
.wedcy-words .wedcy-words__term-heading h3 { margin: 0; font-size: 23px; line-height: 1.5; }
.wedcy-words .wedcy-words__term-heading p { margin: 2px 0 0; color: #6e5542; font-size: 14px; }
.wedcy-words .wedcy-words__permalink { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; min-height: 36px; border-radius: 4px; color: #85644d; font-size: 22px; text-decoration: none; }
.wedcy-words .wedcy-words__permalink:hover { background: #eee4dc; text-decoration: none; }
.wedcy-words .wedcy-words__term-body { padding: 18px 20px 20px; }
.wedcy-words .wedcy-words__definition { font-size: 17px; line-height: 1.75; }
.wedcy-words .wedcy-words__translation { color: #555; line-height: 1.8; }
.wedcy-words .wedcy-words__example { margin-top: 16px; padding: 12px 14px; border-left: 3px solid #bad5e7; border-radius: 0 4px 4px 0; background: #f0f7fc; }
.wedcy-words .wedcy-words__label { margin: 0 0 6px; color: #663d20; font: 500 13px/1.6 Prompt, Tahoma, sans-serif; }
.wedcy-words .wedcy-words__example p[lang=en] { line-height: 1.75; }
.wedcy-words .wedcy-words__example-th { color: #555; font-size: 15px; }
.wedcy-words .wedcy-words__note { margin-top: 12px; padding: 12px 14px; border-left: 3px solid #a38b79; border-radius: 0 4px 4px 0; background: #f8f3eb; font-size: 14px; line-height: 1.8; }
.wedcy-words :is(.wedcy-words__note,.wedcy-words__example) > p:last-child { margin-bottom: 0; }
.wedcy-words .wedcy-words__further { padding-top: 8px; }
.wedcy-words .wedcy-words__further h2 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #c2b1a6; font-size: 22px; }
.wedcy-words .wedcy-words__further ul { padding-left: 22px; margin: 0 0 24px; }
.wedcy-words .wedcy-words__further li { margin-bottom: 8px; }
.wedcy-words .wedcy-words__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--words-border); font-size: 14px; }
@media (max-width: 1024px) {
    .wedcy-words .wedcy-words__layout { display: flex; flex-direction: column; gap: 24px; }
    .wedcy-words .wedcy-words__sidebar { width: 100%; position: static; max-height: none; overflow: visible; }
    .wedcy-words .wedcy-words__entries { width: 100%; }
    .wedcy-words .wedcy-words__toc-body { max-height: 60vh; max-height: 60dvh; overflow-y: auto; }
    .wedcy-words .wedcy-words__hero { padding-block: 24px; }
}
@media (max-width: 767px) {
    .wedcy-words .wedcy-words__container { padding-inline: 10px; }
    .wedcy-words .wedcy-words__breadcrumb .wedcy-words__container { padding-inline: 10px; }
    .wedcy-words .wedcy-words__hero { padding-block: 20px 24px; }
    .wedcy-words .wedcy-words__title-row { gap: 8px; }
    .wedcy-words .wedcy-words__title-row h1 { font-size: clamp(26px,7vw,32px); }
    .wedcy-words .wedcy-words__subtitle { margin-top: 10px; font-size: 18px; }
    .wedcy-words :is(.wedcy-words__intro,.wedcy-words__intro-th) { font-size: 15px; line-height: 1.8; }
    .wedcy-words .wedcy-words__shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 20px; }
    .wedcy-words .wedcy-words__shortcuts a { padding: 10px; }
    .wedcy-words .wedcy-words__shortcuts span:first-child { font-size: 14px; }
    .wedcy-words .wedcy-words__shortcuts span:last-child { font-size: 12px; }
    .wedcy-words .wedcy-words__group { margin-bottom: 30px; }
    .wedcy-words .wedcy-words__group > h2 { font-size: 21px; gap: 10px; }
    .wedcy-words .wedcy-words__term-heading { padding: 13px 14px; gap: 4px; }
    .wedcy-words .wedcy-words__term-heading h3 { font-size: 20px; }
    .wedcy-words .wedcy-words__term-body { padding: 14px; }
    .wedcy-words .wedcy-words__definition { font-size: 16px; }
    .wedcy-words .wedcy-words__translation { font-size: 15px; }
    .wedcy-words .wedcy-words__example { padding: 10px 12px; }
    .wedcy-words .wedcy-words__example-th { font-size: 14px; }
    .wedcy-words .wedcy-words__note { font-size: 14px; padding: 10px 12px; }
    .wedcy-words .wedcy-words__permalink { flex-basis: 44px; min-height: 44px; }
}
@media print {
    .wedcy-words .wedcy-words__container { max-width: none; padding: 0; }
    .wedcy-words .wedcy-words__layout { display: block; }
    .wedcy-words :is(.wedcy-words__sidebar,.wedcy-words__shortcuts,.wedcy-words__permalink,.wedcy-words__end) { display: none; }
    .wedcy-words .wedcy-words__term { break-inside: avoid; }
}
