/* A word you can hear in a Kennis article (hear.js): it stays part of the sentence, small, with a speaker in front. Magenta,
   because it is an action. While it plays it fills up, only in color, so nothing around it moves. The speaker is a mask, so
   it follows the color of the text. */
.kennis .hear { --speaker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l6 5V4L7 9zM15.5 8.5a5 5 0 0 1 0 7l-1.4-1.4a3 3 0 0 0 0-4.2zM18.3 5.7a9 9 0 0 1 0 12.6l-1.4-1.4a7 7 0 0 0 0-9.8z'/%3E%3C/svg%3E");
                display: inline-flex; align-items: center; gap: .28em; margin: 0; padding: 0 .35em 0 .28em; border: 1px solid #f4d2e3;
                border-radius: 6px; background: #fdf3f8; color: #b30f59; font: inherit; line-height: 1.25; white-space: nowrap;
                vertical-align: baseline; cursor: pointer; }
.kennis .hear::before { content: ""; flex: none; width: .85em; height: .85em; background: currentColor;
                        -webkit-mask: var(--speaker) center / contain no-repeat; mask: var(--speaker) center / contain no-repeat; }
.kennis .hear:hover { background: #fbe3ef; border-color: #e9a9c8; }
.kennis .hear:focus-visible { outline: 2px solid #2b3f93; outline-offset: 1px; }
.kennis .hear[aria-pressed="true"] { background: #cd1165; border-color: #cd1165; color: #fff; }
/* in a table the word on its button and the sentence beside it share a line */
.kennis .text tr:has(.hear) td { vertical-align: baseline; }
/* a finger needs more than a line of text */
@media (pointer: coarse) { .kennis .hear { padding-top: .12em; padding-bottom: .12em; } }

/* [28-11-2026] A button that plays a row of words one after the other (hear.js, .hear-all): a pair to hear the difference, or the
   words of one sound. Round, with a play triangle, in the magenta of the words; it fills up while the row plays. */
.kennis .hear-all { --play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l13-7.5z'/%3E%3C/svg%3E");
                    display: inline-flex; align-items: center; gap: .3em; margin: 0; padding: .12em .6em .12em .45em; border: 1px solid #e9a9c8;
                    border-radius: 999px; background: #fff; color: #b30f59; font: inherit; font-size: .85em; font-weight: bold; line-height: 1.25;
                    white-space: nowrap; cursor: pointer; }
.kennis .hear-all::before { content: ""; flex: none; width: .8em; height: .8em; background: currentColor;
                            -webkit-mask: var(--play) center / contain no-repeat; mask: var(--play) center / contain no-repeat; }
.kennis .hear-all:hover { background: #fbe3ef; }
.kennis .hear-all:focus-visible { outline: 2px solid #2b3f93; outline-offset: 1px; }
.kennis .hear-all[aria-pressed="true"] { background: #cd1165; border-color: #cd1165; color: #fff; }
/* the pairs (keuken and kuiken) and the first words of each sound: bigger than the text around them, a row per line */
.kennis .text table.pairs, .kennis .text table.listen { font-size: 1.15em; border-collapse: collapse; margin: 8px 0 4px; }
.kennis .text table.pairs td, .kennis .text table.listen td { padding: .4em .45em; vertical-align: middle; }
.kennis .text table.pairs td.vs { font-size: .8em; font-style: italic; color: #8a93a0; text-align: center; padding: 0 .6em; }
.kennis .text table.pairs .hear, .kennis .text table.listen .hear { margin-right: .3em; }
.kennis .text table.listen td:first-child { font-weight: bold; white-space: nowrap; }
@media (max-width: 560px) { .kennis .text table.pairs, .kennis .text table.listen { font-size: 1.05em; } }
.kennis .text table.pairs { width: auto; }
.kennis .text table.pairs td:not(.vs) { padding-right: .7em; }
.kennis .text table.pairs .mean { display: block; margin-top: .2em; font-size: .78em; color: #5b6573; }
.kennis .text p.hear-all-line { margin: 6px 0 18px; }
.kennis .hear-all[aria-pressed="true"] { --play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='6' width='12' height='12' rx='1.5'/%3E%3C/svg%3E"); }
.kennis .text table.listen th { padding: .7em .45em .15em; text-align: left; font-size: .8em; color: #5b6573; text-transform: uppercase; letter-spacing: .04em; }
.kennis .text table.listen td:first-child { width: 1%; padding-right: .15em; }
.kennis .text table.listen .sound { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1em; height: 2.1em;
                                    padding: 0 .5em; border-radius: 999px; background: #2b3f93; color: #fff; font-weight: bold; font-size: .9em;
                                    box-shadow: 0 2px 0 rgba(0, 0, 0, .12); transform: rotate(-4deg);
                                    box-sizing: border-box; white-space: nowrap; }
/* a cheerful color for each sound, the colors of the site */
.kennis .text table.listen tr:nth-child(5n+1) .sound { background: #f08a24; }
.kennis .text table.listen tr:nth-child(5n+2) .sound { background: #d01592; transform: rotate(3deg); }
.kennis .text table.listen tr:nth-child(5n+3) .sound { background: #2fa86b; }
.kennis .text table.listen tr:nth-child(5n+4) .sound { background: #31a6ce; transform: rotate(4deg); }
.kennis .text table.listen tr:nth-child(5n+5) .sound { background: #8e5bd0; }
/* the numbers up to thirty: three small tables side by side, under each other on a phone, so they read 1 to 30 in order */
.kennis .text .numbers-wrap { display: flex; flex-wrap: wrap; column-gap: 22px; align-items: flex-start; }
.kennis .text .numbers-wrap table { margin: 0 0 6px; }
/* the column of the numbers and prices right-aligned, so units sit under units */
.kennis .text table.num th:first-child, .kennis .text table.num td:first-child { text-align: right; padding-right: 10px; white-space: nowrap; }
.kennis .text table.num th:nth-child(2), .kennis .text table.num td:nth-child(2) { padding-left: 0; }     /* about 10px between number and word */
