.lesson8-v267 .lesson-rich .l10-table-wrap{max-width:100%;overflow-x:auto;margin:12px 0 20px;border:1px solid #d7e8ef;border-radius:14px}
.lesson8-v267 .lesson-rich .l10-table-wrap table{display:table;width:100%;min-width:0;table-layout:fixed;border:0;border-collapse:collapse;margin:0}
.lesson8-v267 .lesson-rich .l10-table-wrap thead{display:table-header-group}
.lesson8-v267 .lesson-rich .l10-table-wrap tbody{display:table-row-group}
.lesson8-v267 .lesson-rich .l10-table-wrap tr{display:table-row;margin:0;border:0;border-radius:0}
.lesson8-v267 .lesson-rich .l10-table-wrap th,.lesson8-v267 .lesson-rich .l10-table-wrap td,.lesson8-v267 .lesson-rich .l10-table-wrap td:has(strong[dir=rtl]){display:table-cell;width:auto;min-width:0;padding:12px 16px;border:0;border-bottom:1px solid #dfebf0;text-align:center;vertical-align:middle;overflow-wrap:normal;word-break:normal}
.lesson8-v267 .lesson-rich .l10-table-wrap th{background:#ecf8fb;color:#146178;font-size:14px}
.lesson8-v267 .lesson-rich .l10-table-wrap td::before{display:none}
.lesson8-v267 .lesson-rich .l10-table-wrap tr:last-child td{border-bottom:0}
.lesson8-v267 .lesson-rich .l10-table-wrap tbody tr:nth-child(even){background:#f8fcfd}
.lesson8-v267 .lesson-rich .l10-table-wrap td strong[dir=rtl]{display:inline-block;max-width:100%;box-sizing:border-box;direction:rtl;unicode-bidi:isolate;text-align:center;font-size:28px;line-height:1.6;color:#126579;white-space:normal;overflow-wrap:normal;word-break:normal}
@media(max-width:600px){.lesson8-v267 .lesson-rich .l10-table-wrap td,.lesson8-v267 .lesson-rich .l10-table-wrap th,.lesson8-v267 .lesson-rich .l10-table-wrap td:has(strong[dir=rtl]){padding:9px 6px;font-size:12px}.lesson8-v267 .lesson-rich .l10-table-wrap td strong[dir=rtl]{font-size:22px;padding:2px 4px;margin-inline:0}}

.lesson8-v267 .lesson-rich .l10-table-wrap .l8-inline-word{flex-wrap:wrap;justify-content:center}

/* The numbers in the counting lesson stand out as compact badges. */
[data-lesson-resource-id="285"] .lesson-rich .lesson-number-badge{display:inline-grid;place-items:center;min-width:1.9em;height:1.9em;box-sizing:border-box;padding:0 .24em;border:1px solid #c7e7ed;border-radius:14px;background:#e7f7fa;color:#087d9b;font-size:2em;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}

/* Keep the number column narrow so the Hebrew and its audio stay together. */
[data-lesson-resource-id="285"] .lesson-rich .l10-table-wrap{container-type:inline-size}
[data-lesson-resource-id="285"] .lesson-rich .l10-table-wrap table:has(.lesson-number-badge) th:first-child{box-sizing:border-box;width:18%}
html body [data-lesson-resource-id="285"] .lesson-rich .l10-table-wrap .l8-inline-word:has(.ivrito-voice-pill){
 flex-wrap:wrap!important;justify-content:center;white-space:normal;min-width:0
}
[data-lesson-resource-id="285"] .lesson-main-body>.lesson-word-preparation{margin-block:14px 24px}
[data-lesson-resource-id="285"] .lesson-word-preparation>div{flex:1 1 240px;min-width:0}
@container(max-width:540px){
 [data-lesson-resource-id="285"] .lesson-rich .l10-table-wrap :is(th,td){padding:9px 5px}
 [data-lesson-resource-id="285"] .lesson-rich .l10-table-wrap td strong[dir=rtl]{font-size:22px;line-height:1.45;padding:2px 5px}
 [data-lesson-resource-id="285"] .lesson-rich .l10-table-wrap .lesson-number-badge{font-size:22px;border-radius:11px}
 [data-lesson-resource-id="285"] .l10-table-wrap table:has(th:nth-child(3)) .l8-inline-word:has(.ivrito-voice-pill){
  display:inline-grid;grid-template-columns:minmax(0,1fr);justify-items:center
 }
 html body [data-lesson-resource-id="285"] .l10-table-wrap button.ivrito-voice-pill.ivrito-voice-pill{
  min-height:32px!important;height:32px!important;max-width:100%!important;padding-inline:5px!important;gap:3px!important;font-size:11px!important
 }
 html body [data-lesson-resource-id="285"] .l10-table-wrap button.ivrito-voice-pill.ivrito-voice-pill .ivrito-voice-icon{
  width:18px!important;flex-basis:18px!important
 }
}

/* Gender examples: compact cards with a pink feminine ending marker. */
.lesson8-v267 .lesson-rich .gender-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 22px;max-width:760px}
.lesson8-v267 .lesson-rich .gender-example{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border:1px solid #d8e8ef;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(30,78,96,.06)}
.lesson8-v267 .lesson-rich .gender-example-translation{color:#466a7e;font-size:16px;font-weight:600}
.lesson8-v267 .lesson-rich .gender-example-word{direction:rtl;unicode-bidi:isolate;color:#126579;font-size:30px;font-weight:800;line-height:1.25;white-space:nowrap}
.lesson8-v267 .lesson-rich .gender-ending{display:inline-block;padding:2px 7px;border-radius:8px;background:#ffe3ef;color:#c52c72;font-weight:900;text-decoration:none}
@media(max-width:600px){.lesson8-v267 .lesson-rich .gender-examples{grid-template-columns:1fr;gap:8px;margin-block:14px 18px}.lesson8-v267 .lesson-rich .gender-example{padding:10px 13px}.lesson8-v267 .lesson-rich .gender-example-word{font-size:25px}.lesson8-v267 .lesson-rich .gender-example-translation{font-size:14px}}
