/*
 * Kyranis theme: layout and base styles. Colours, fonts, spacing of the
 * individual elements come from the Customizer style boxes
 * (Kyranis_Settings, printed inline after this file). Breakpoints: 1240px
 * (narrow desktop), 768px (tablet/phone layout), 480px.
 */

/* ---------- Reset ----------
 * Elements start without margin, padding or border; the style boxes add
 * them back where the design has them (e.g. "border-style:solid;
 * border-right-width:1px" draws one 1px line, not a 3px frame).
 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0; padding: 0; border: 0; vertical-align: baseline;
}

/* ---------- Arabic ----------
 * Exo has no Arabic letters. Cairo's Arabic letters (assets/fonts, SIL OFL)
 * are added under the name Exo, so everything set in Exo shows Arabic in
 * Cairo and Latin in Exo. Browsers fetch the file only for Arabic text.
 * Right-to-left pages use the -rtl.css copies made by scripts/build/rtl.sh.
 */
/* The same weights as the Exo files from Google (300, 400, 700): a wider
 * range would win the weight match for e.g. 200 and leave Latin letters
 * without a font. Cairo is variable, so one file serves all three. */
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/cairo-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cairo-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/cairo-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC; }
html[lang|="ar"] body { font-family: 'Exo', sans-serif; }
/* Exo itself, from the theme (SIL OFL, assets/fonts/exo-OFL.txt; files from @fontsource/exo 5.3.0)
 * instead of Google Fonts, which saw every visitor's IP address (task #100). */
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/exo-latin-300-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/exo-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/exo-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/exo-latin-ext-300-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/exo-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/exo-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-size: 16px; line-height: 2; color: #000; background: #fff; overflow-x: hidden; overflow-wrap: break-word; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; font-weight: 700; line-height: 1.4; }
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
a { color: inherit; text-decoration: none; transition: all .2s ease-in-out; }
a:hover { color: var(--kz-accent); }
/* Links in text written directly in a post or page (not Elementor widgets). */
.kz-post-content > p a, .kz-post-content > ul a, .kz-post-content > ol a { font-weight: 700; color: #000; }
.kz-post-content > p a:hover, .kz-post-content > ul a:hover, .kz-post-content > ol a:hover { color: var(--kz-accent); }
/* Text spacing: paragraphs written directly in a post or page (not inside
   Elementor widgets), in sidebar/footer widgets, and in contact forms. */
.kz-post-content > p, .widget p { margin: 0 0 30px; }
.kz-post-content > p:last-child { margin-bottom: 0; }
.wpcf7 form p { margin: 0 0 10px; }
/* Form rows are inline blocks, so a form's own column widths (e.g. two
   fields at 48%) can sit side by side. */
.wpcf7-form p { display: inline-block; width: 100%; }
.wpcf7-form-control-wrap { display: block; position: relative; }
/* The form's answer ("Thank you for your message…", errors): a white card with
   a coloured edge and badge, readable on the blue form panels and on white.
   Contact Form 7 only draws a thin coloured border, lost on blue. Specific
   enough to win over its stylesheet whatever the load order. */
.wpcf7 form.wpcf7-form .wpcf7-response-output { position: relative; margin: 20px 0 0; padding: 14px 56px 14px 18px; font-size: 15px; line-height: 1.5; color: #1d2327; background: #fff; border: 0; border-right: 6px solid #00aeef; border-radius: 5px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.wpcf7 form.wpcf7-form .wpcf7-response-output::before { content: "i"; position: absolute; right: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; font: 700 15px/26px Arial, sans-serif; text-align: center; color: #fff; background: #00aeef; border-radius: 50%; }
.wpcf7 form.wpcf7-form.sent .wpcf7-response-output { color: #1e6b2f; background: #eef8f0; border-right-color: #2e9e48; }
.wpcf7 form.wpcf7-form.sent .wpcf7-response-output::before { content: "\2713"; background: #2e9e48; }
.wpcf7 form.wpcf7-form.failed .wpcf7-response-output, .wpcf7 form.wpcf7-form.aborted .wpcf7-response-output, .wpcf7 form.wpcf7-form.spam .wpcf7-response-output { color: #8a1f1f; background: #fdf0f0; border-right-color: #d63638; }
.wpcf7 form.wpcf7-form.failed .wpcf7-response-output::before, .wpcf7 form.wpcf7-form.aborted .wpcf7-response-output::before, .wpcf7 form.wpcf7-form.spam .wpcf7-response-output::before { content: "!"; background: #d63638; }
.wpcf7 form.wpcf7-form.invalid .wpcf7-response-output, .wpcf7 form.wpcf7-form.unaccepted .wpcf7-response-output, .wpcf7 form.wpcf7-form.payment-required .wpcf7-response-output { color: #6b4500; background: #fff8e5; border-right-color: #e0a100; }
.wpcf7 form.wpcf7-form.invalid .wpcf7-response-output::before, .wpcf7 form.wpcf7-form.unaccepted .wpcf7-response-output::before, .wpcf7 form.wpcf7-form.payment-required .wpcf7-response-output::before { content: "!"; background: #e0a100; }
/* Elementor's boxed sections use the page grid width. */
body .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1280px; }
strong, b { font-weight: 700; }
small { display: block; font-size: .9em; margin-top: 4px; }
code { display: inline-block; vertical-align: middle; margin: 0 0 5px; padding: 8px 10px; line-height: 1.2; font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; background: rgba(167,167,167,.1); border-radius: 2px; }
ul, ol { margin: 0 20px 0 0; box-sizing: border-box; }
.kz-post-content > ul { margin: 0 40px 30px 0; }
.kz-post-content > ol { margin: 0 20px 30px 0; list-style: none; }
blockquote { display: inline-block; margin: 0 0 30px; padding: 10px 20px; font-size: 18px; background: rgba(167,167,167,.1); border-radius: 2px; }
hr { display: flex; height: 1px; margin: 20px 0; border: 0; background: rgba(167,167,167,.2); }
table { width: 100%; margin: 0 0 30px; border: 1px solid rgba(167,167,167,.2); border-collapse: collapse; box-sizing: border-box; }
tr { border-bottom: 1px solid rgba(167,167,167,.2); }
th, td { padding: 8px; border-left: 1px solid rgba(167,167,167,.2); vertical-align: middle; text-align: right; }
img { display: block; max-width: 100%; height: auto; box-sizing: border-box; }
figure { margin: 0; }
label { display: block; margin: 0 0 10px; }
input, textarea, select { box-sizing: border-box; width: 100%; max-width: 100%; -webkit-appearance: none; appearance: none; padding: 15px 17px; font: inherit; font-size: 1em; line-height: normal; color: #000; background: #fff; border: 1px solid rgba(167,167,167,.4); border-radius: 5px; outline: none; transition: border-color .2s ease-in-out; }
textarea { height: 160px; line-height: 2; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23444'/%3E%3C/svg%3E") no-repeat left 18px center / 10px; }
/* The form's sending spinner sits beside the button without taking a line of its own. */
.wpcf7-spinner { position: absolute; top: 50%; z-index: 9; transform: translateY(-50%); }
input:focus, textarea:focus, select:focus { border-color: var(--kz-accent) !important; }
input[type=checkbox], input[type=radio] { width: auto; padding: 0; -webkit-appearance: auto; appearance: auto; }
input[type=submit], input[type=button] { width: auto; }
button, input[type=submit], input[type=button], .kz-button { display: inline-block; box-sizing: border-box; padding: 14px 30px; font: inherit; font-size: 14px; font-weight: 700; line-height: normal; color: #fff; background: var(--kz-accent); border: 0; border-radius: 4px; cursor: pointer; transition: all .2s ease-in-out; }
input[type=submit] { font-size: 16px; }
button:hover, input[type=submit]:hover, input[type=button]:hover, .kz-button:hover { color: #fff; background: #212121; }
/* A button in the dark footer (the quote box): white text, and a light hover so it does not vanish into the background. */
.kz-footer-widgets a.kz-button { color: #fff; }
.kz-footer-widgets a.kz-button:hover { color: #212121; background: #fff; }
::selection { background: var(--kz-accent); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.clr::after { content: ""; display: table; clear: both; }

/* The page grid; ".row" is the name stored content uses. */
.kz-row, .row { position: relative; width: 1280px; max-width: 95%; margin: 0 auto; }
@media (max-width: 1240px) {
	.kz-row, .row { width: 90%; }
}
@media (max-width: 768px) {
	.kz-row, .row { max-width: 100%; }
	blockquote { padding: 20px; }
}

/* ---------- Header ---------- */
/* Content that reaches past the page edge (e.g. carousel slides peeking in
   on phones) is clipped here, so the page never scrolls sideways. */
.kz-layout { overflow: hidden; }
.kz-inner-layout { position: relative; }
.kz-header { position: absolute; top: 0; right: 0; left: 0; z-index: 100; line-height: 2; }
.kz-hrow-in { display: flex; justify-content: space-between; align-items: flex-start; }
.kz-hcell { display: flex; align-items: flex-start; }
.kz-hright { justify-content: flex-end; }
.kz-elm { position: relative; }
.kz-elm-logo a, .kz-elm-logo-mobile a { display: block; }

.kz-header-button { display: inline-block; position: relative; text-align: center; font-weight: 700; border-radius: 4px; transition: all .2s ease-in-out; }
.kz-elm-client { margin-inline-end: 12px; }
/* header buttons in sentence case, like every button (task #362) */
.kz-header-button .kz-client-icon { margin-inline-end: 8px; }
/* Four header buttons (Academy, Client area, Agent area on tst, quote) stay on one line each (task #405). */
.kz-header-button { white-space: nowrap; }
@media (max-width: 1399px) { .kz-elm-button .kz-header-button { padding-inline: 14px !important; font-size: 14px !important; } .kz-header-button .kz-client-icon { margin-inline-end: 6px; } }
.kz-offcanvas-client { margin: 0 0 16px; }
.kz-offcanvas-client .kz-button { display: inline-flex; gap: 8px; align-items: center; }

.kz-info { display: flex; align-items: center; color: inherit; }
.kz-info-icon { width: 1em; padding: 18px; line-height: 1; text-align: center; transition: all .2s ease-in-out; }
.kz-info-content { margin-right: 20px; line-height: 16px; }
.kz-info-1, .kz-info-2 { display: block; }
.kz-info-1 { margin-bottom: 12px; }

.kz-hrow-menu .kz-row { display: flex; justify-content: space-between; }
.kz-hrow-menu .kz-hcell { align-items: stretch; }
.kz-menu, .kz-menu ul { list-style: none; margin: 0; padding: 0; }
.kz-menu { display: flex; }
.kz-menu > li { position: relative; }
.kz-menu > li > a { display: block; position: relative; }
.kz-menu-icon-only { display: inline-block; width: 1em; line-height: 1; text-align: center; }
.kz-menu-icon { margin-left: 8px; }
.kz-indicator { position: relative; top: 2px; width: 1em; margin-right: 4px; line-height: 1; text-align: center; }
.kz-menu .sub-menu { position: absolute; top: 100%; right: 0; z-index: 9; min-width: 210px; box-sizing: border-box; padding: 16px 0; background: #fff; text-align: right; line-height: 2; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease-in-out, transform .2s ease-in-out, visibility .2s; }
.kz-menu .sub-menu .sub-menu { top: 0; right: 100%; }
.kz-menu li:hover > .sub-menu, .kz-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kz-menu .sub-menu li { position: relative; }
.kz-menu .sub-menu a { display: block; padding: 0 24px; font-size: 16px; font-weight: 700; line-height: 32px; color: #000; white-space: nowrap; }
.kz-menu .sub-menu a:hover, .kz-menu .sub-menu .current-menu-item > a { color: var(--kz-accent); }
.kz-menu .sub-menu .kz-indicator { float: left; margin-top: 8px; }

/* Wide menu panels (inc/class-kyranis-mega-menu.php): as wide as the menu bar, links with a line
   under them, categories on the left that change the links, a dark card with a picture on the right. */
.kz-menu > li.kz-mega-item { position: static; }
.kz-menu > li.kz-mega-item > a .kz-indicator { transition: transform .2s ease; }
.kz-menu > li.kz-mega-item.is-open > a .kz-indicator { transform: rotate(-180deg); }
.kz-mega { --mg-ink: #14212b; --mg-muted: #6b7a86; --mg-line: #e3e9ee; --mg-soft: #f1f6fa; position: absolute; top: 100%; right: 0; left: 0; z-index: 30; margin-top: 10px; box-sizing: border-box; background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(20,33,43,.18); line-height: 1.45; text-align: right; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.kz-mega::before { content: ""; position: absolute; right: 0; left: 0; bottom: 100%; height: 12px; } /* keeps the pointer inside while crossing the gap */
.kz-mega-item.is-open > .kz-mega { opacity: 1; visibility: visible; transform: none; transition-property: opacity, transform; } /* visible at once, so the keyboard can enter it */
.kz-mega-in { display: flex; align-items: stretch; gap: 32px; min-height: 260px; padding: 26px 30px 26px 26px; }
.kz-mega-links { flex: 1 1 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.kz-mega-links a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--mg-ink); transition: background .15s ease; }
.kz-mega-links a:hover, .kz-mega-links a:focus-visible { background: var(--mg-soft); }
.kz-mega-links a:hover .kz-mega-title, .kz-mega-links a[aria-current] .kz-mega-title { color: var(--kz-accent); }
.kz-mega-title { display: block; font-size: 16px; font-weight: 700; transition: color .15s ease; }
.kz-mega-desc { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; color: var(--mg-muted); }
.kz-mega-date { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: #0079a8; }
.kz-mega-cats { flex: 0 0 230px; display: flex; flex-direction: column; gap: 4px; margin: -26px -30px -26px 0; padding: 22px 16px; border-left: 1px solid var(--mg-line); border-radius: 0 12px 12px 0; background: #fafcfd; }
.kz-mega-cat { display: block; width: 100%; padding: 11px 14px; border: 0; border-radius: 8px; background: none; color: var(--mg-ink); font: inherit; font-size: 16px; font-weight: 600; text-align: right; cursor: pointer; transition: background .15s ease, color .15s ease; }
.kz-mega-cat:hover { background: var(--mg-soft); }
.kz-mega-cat[aria-selected="true"] { background: #e6f5fc; color: #0079a8; }
.kz-mega-panes { flex: 1 1 auto; display: flex; }
.kz-mega-pane { flex: 1 1 auto; display: flex; flex-direction: column; }
.kz-mega-pane[hidden] { display: none; }
.kz-mega-all { align-self: flex-start; margin: 14px 12px 0 0; font-size: 15px; font-weight: 700; color: var(--kz-accent); }
.kz-mega-all i { margin-right: 4px; }
/* The card in the site's own blue (Mongi 2026-10-22). */
.kz-mega-card { flex: 0 0 300px; display: flex; flex-direction: column; box-sizing: border-box; padding: 20px 20px 8px; border-radius: 10px; background: var(--kz-accent); color: #fff; }
.kz-mega-card-title { margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.kz-mega-card-text { margin: 0 0 16px; font-size: 15px; font-weight: 600; line-height: 1.6; color: #fff; }
.kz-mega-card-img { display: block; width: 100%; height: 170px; margin-top: auto; margin-bottom: 12px; object-fit: cover; border-radius: 6px; }
.kz-mega a:focus-visible, .kz-mega-cat:focus-visible { outline: 2px solid var(--kz-accent); outline-offset: 2px; }
@media (max-width: 1100px) {
	.kz-mega-card { flex-basis: 240px; }
	.kz-mega-cats { flex-basis: 190px; }
	.kz-mega-links { grid-template-columns: minmax(0, 1fr); }
}

.kz-elm-line { display: flex; }
.kz-line { width: 1px; margin: 0 20px; }
.kz-hrow-menu .kz-line { height: auto; align-self: stretch; }

.kz-social { display: flex; }
.kz-social a { position: relative; display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; transition: all .2s ease-in-out; }
.kz-social a i { line-height: inherit; }
.kz-social a[data-title]::after { content: attr(data-title); position: absolute; right: 50%; bottom: calc(100% + 10px); padding: 4px 10px; font-size: 12px; line-height: 1.5; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(50%, 5px); transition: all .2s ease-in-out; pointer-events: none; z-index: 2; }
.kz-social a[data-title]:hover::after { opacity: 1; visibility: visible; transform: translate(50%, 0); }
.kz-social .kz-brand-facebook:hover { background: #3b5998; }
.kz-social .kz-brand-linkedin:hover { background: #0077b5; }
.kz-social .kz-brand-twitter:hover { background: #1da1f2; }
.kz-social .kz-brand-x-twitter:hover { background: #000; }
.kz-social .kz-brand-instagram:hover { background: #c13584; }
.kz-social .kz-brand-youtube:hover { background: #ff0000; }
.kz-social .kz-brand-whatsapp:hover { background: #25d366; }
.kz-social .kz-brand-rss:hover { background: #f26522; }
/* The RSS icon's subscribe panel (kyranis_rss_panel, theme.js). */
.kz-rss-panel { position: fixed; z-index: 10050; width: min(340px, calc(100vw - 24px)); padding: 22px 20px 18px; background: #fff; color: #14212b; border-radius: 8px; box-shadow: 0 18px 50px rgba(6, 19, 34, .28); line-height: 1.45; text-align: start; }
.kz-rss-panel[hidden] { display: none; }
.kz-rss-close { position: absolute; top: 6px; left: 8px; width: 34px; height: 34px; padding: 0; border: 0; background: none; color: #6b7a86; font-size: 24px; line-height: 1; cursor: pointer; }
.kz-rss-close:hover { color: #14212b; background: none; }
.kz-rss-title { margin: 0 0 4px 30px; font-size: 18px; font-weight: 700; }
.kz-rss-text { margin: 0 0 14px; font-size: 14px; color: #4a5a66; }
.kz-rss-options { display: grid; gap: 8px; }
.kz-rss-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #dfe6eb; border-radius: 6px; color: #14212b; font-weight: 600; font-size: 15px; text-decoration: none; }
.kz-rss-option i { color: #f26522; }
.kz-rss-option:hover, .kz-rss-option:focus-visible { border-color: var(--kz-accent); color: var(--kz-accent); }
.kz-rss-copy { display: flex; gap: 6px; margin: 12px 0 10px; }
.kz-rss-url { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #dfe6eb; border-radius: 6px; font-size: 13px; color: #4a5a66; background: #f5f8fa; }
.kz-rss-copy-btn { flex: none; padding: 8px 12px; font-size: 13px; }
.kz-rss-mail { font-size: 14px; color: var(--kz-accent); text-decoration: underline; }
/* Phones: a sheet at the bottom of the screen, above the quick-links bar. */
@media (max-width: 600px) {
	.kz-rss-panel { top: auto !important; right: 12px !important; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; z-index: 100000; }
}

/* Menu bar social icons in the Kyranis colours (Mongi 2026-10-22): blue icons; on hover the whole
   box between the separator lines turns blue, not only the small icon. */
.kz-hrow-menu .kz-elm-social { align-self: stretch; margin: 0 !important; }
.kz-hrow-menu .kz-social { height: 100%; }
.kz-hrow-menu .kz-social a { display: flex; align-items: center; justify-content: center; width: 56px; height: auto; line-height: 1; color: var(--kz-accent) !important; background: transparent !important; }
.kz-hrow-menu .kz-social a:hover, .kz-hrow-menu .kz-social a:focus-visible { color: #fff !important; background: var(--kz-accent) !important; }
.kz-hrow-menu .kz-social a + a { box-shadow: inset -1px 0 0 rgba(0,0,0,.08); }
.kz-offcanvas-social a { color: var(--kz-accent); }

/* Sticky menu bar (Mongi 2026-10-22): once the page is scrolled past the header, the menu bar
   slides in at the top, full width, with a small logo and the quote button. */
.kz-elm-logo-sticky, .kz-elm-sticky-button { display: none; }

/* "Download this guide as a PDF" in a guide (scripts/content/2026-10-22-pdfs.php). */
.kz-download { margin: 1.4em 0; }
.kz-download a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 6px; background: var(--kz-accent); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.kz-download a::before { content: "\f1c1"; font-family: "Font Awesome 6 Free"; font-weight: 400; font-size: 1.2em; }
.kz-download a:hover { background: #0090c6; }
@keyframes kz-slide-down { from { transform: translateY(-100%); } to { transform: none; } }
@media (min-width: 769px) {
	.kz-sticky .kz-hrow-menu { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; background: #fff; box-shadow: 0 6px 24px rgba(20,33,43,.12); animation: kz-slide-down .25s ease; }
	.admin-bar.kz-sticky .kz-hrow-menu { top: 32px; }
	.kz-sticky .kz-hrow-menu .kz-row { border-radius: 0 !important; box-shadow: none !important; }
	.kz-sticky .kz-elm-logo-sticky { display: flex; align-items: center; align-self: center; padding-left: 18px; }
	.kz-sticky .kz-elm-logo-sticky { flex-shrink: 0; }
	/* The logo keeps its proportions and a readable size in the sticky bar (Mongi 2026-11-04, task #342). */
	.kz-sticky .kz-elm-logo-sticky img { width: 56px !important; height: 56px; max-width: none; flex-shrink: 0; object-fit: contain; }
	.kz-sticky .kz-elm-sticky-button { display: flex; align-items: center; margin-right: 16px; }
	.kz-sticky .kz-sticky-button { padding: 9px 18px; border: 0; border-radius: 4px; background: var(--kz-accent); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
	.kz-sticky .kz-sticky-button:hover { background: #0090c6; color: #fff; }
}
@media (max-width: 768px) {
	.kz-sticky .kz-hrow-mobile { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; background: #fff; box-shadow: 0 6px 24px rgba(20,33,43,.12); animation: kz-slide-down .25s ease; }
	.kz-sticky .kz-hrow-mobile .kz-hrow-in, .kz-sticky .kz-hrow-mobile .kz-hcell { align-items: center; }
	.kz-sticky .kz-hrow-mobile .kz-hcell > * { margin-top: 0 !important; margin-bottom: 0 !important; }
	.kz-sticky .kz-hrow-mobile .kz-elm-logo-mobile { margin-top: 8px !important; margin-bottom: 8px !important; }
	.kz-sticky .kz-hrow-mobile .kz-elm-logo-mobile img { width: 48px !important; height: 48px; max-width: none; flex-shrink: 0; object-fit: contain; }
}

.kz-icon-button { display: block; box-sizing: content-box; width: 44px; height: 44px; padding: 0; font-size: 22px; line-height: 44px; text-align: center; color: inherit; background: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer; }
.kz-icon-button:hover { color: var(--kz-accent); background: none; }
.kz-search-box { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 10px; padding: 18px; box-sizing: border-box; background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(20,33,43,.18); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease-in-out; }
/* The panel takes the width of the navigation bar (its row), not of the icon. */
.kz-hrow-menu .kz-elm-search { position: static; }
.kz-search-box::before { content: ""; position: absolute; left: 22px; bottom: 100%; border: 8px solid transparent; border-bottom-color: #fff; }
.kz-elm-search.is-open .kz-search-box { opacity: 1; visibility: visible; transform: none; transition-property: opacity, transform; }

/* Search with results while typing (header, blog, phone menu). */
.kz-ls { --ls-ink: #14212b; --ls-muted: #5d6b76; --ls-line: #e3e9ee; --ls-soft: #f3f7fa; position: relative; display: flex; align-items: center; flex-wrap: wrap; width: 100%; line-height: 1.5; text-align: right; }
.kz-ls-icon { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; font-size: 18px; color: var(--ls-muted); pointer-events: none; }
.kz-ls .kz-ls-input { flex: 1 1 0; width: auto; min-width: 0; height: 52px; padding: 0 52px 0 16px; font-size: 16px; font-weight: 600; color: var(--ls-ink); background: var(--ls-soft); border: 2px solid transparent; border-radius: 0 10px 10px 0; transition: border-color .2s ease, background .2s ease; }
.kz-ls .kz-ls-input:focus { background: #fff; border-color: var(--kz-accent) !important; outline: 0; }
.kz-ls .kz-ls-input::-webkit-search-cancel-button { cursor: pointer; }
.kz-ls .kz-ls-submit { flex: none; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 26px; font-size: 15px; color: #fff; background: var(--kz-accent); border-radius: 10px 0 0 10px; }
.kz-ls .kz-ls-submit:hover { color: #fff; background: var(--ls-ink); }
.kz-ls-submit-icon { display: none; }
.kz-ls.is-loading .kz-ls-icon i { animation: kz-ls-pulse .8s ease-in-out infinite alternate; }
@keyframes kz-ls-pulse { to { opacity: .3; } }
.kz-ls-hints { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; font-size: 14px; color: var(--ls-muted); }
.kz-ls.has-text .kz-ls-hints, .kz-ls--menu .kz-ls-hints { display: none; }
.kz-ls-hints-lead { font-weight: 600; }
.kz-ls-hint-item { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.kz-ls .kz-ls-hint { padding: 3px 10px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ls-ink); background: var(--ls-soft); border: 1px solid var(--ls-line); border-radius: 999px; cursor: pointer; }
.kz-ls .kz-ls-hint:hover, .kz-ls .kz-ls-hint:focus-visible { color: #fff; background: var(--kz-accent); border-color: var(--kz-accent); }
.kz-ls-hint-note { font-size: 13px; }
.kz-ls-panel { flex: 1 1 100%; margin-top: 12px; text-align: right; }
.kz-ls-panel[hidden] { display: none; }
.kz-ls-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 24px; }
.kz-ls-group { min-width: 0; }
.kz-ls-label { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ls-muted); }
.kz-ls-count { padding: 0 8px; font-size: 11px; line-height: 18px; letter-spacing: 0; color: var(--kz-accent); background: color-mix(in srgb, var(--kz-accent) 12%, #fff); border-radius: 99px; }
.kz-ls-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; color: var(--ls-ink); border-radius: 8px; outline: 0; transition: background .15s ease; }
.kz-ls-item:hover, .kz-ls-item:focus { color: var(--ls-ink); background: var(--ls-soft); }
.kz-ls-item:focus-visible { box-shadow: inset 0 0 0 2px var(--kz-accent); }
.kz-ls-thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; overflow: hidden; font-size: 20px; color: var(--kz-accent); background: color-mix(in srgb, var(--kz-accent) 9%, #fff); border-radius: 8px; }
.kz-ls-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kz-ls-body { display: flex; flex-direction: column; min-width: 0; }
.kz-ls-title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.kz-ls-item:hover .kz-ls-title, .kz-ls-item:focus .kz-ls-title { color: var(--kz-accent); }
.kz-ls-meta { font-size: 12px; color: var(--ls-muted); }
.kz-ls-text { display: -webkit-box; margin-top: 2px; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--ls-muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kz-ls-text mark { padding: 0 1px; color: inherit; font-weight: 700; background: color-mix(in srgb, var(--kz-accent) 18%, #fff); border-radius: 2px; }
.kz-ls-all { display: block; margin-top: 8px; padding: 12px; font-size: 14px; font-weight: 700; text-align: center; color: var(--kz-accent); background: var(--ls-soft); border-radius: 8px; }
.kz-ls-all::after { content: " \2192"; }
.rtl .kz-ls-all::after { content: " \2190"; }
.kz-ls-all:hover, .kz-ls-all:focus { color: #fff; background: var(--kz-accent); }
.kz-ls-empty { margin: 0; padding: 16px 10px; font-size: 15px; color: var(--ls-muted); }
/* In the header: pages, blog and categories side by side across the bar, scrolling when long. */
.kz-ls--header .kz-ls-panel { max-height: min(72vh, 680px); overflow-y: auto; overscroll-behavior: contain; }
/* Wide panels (header, blog): three columns; a long group (the blog) takes two of them. */
.kz-ls--header .kz-ls-groups, .kz-ls--wide .kz-ls-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; }
.kz-ls--header .kz-ls-group--wide, .kz-ls--wide .kz-ls-group--wide { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; column-gap: 28px; }
.kz-ls--header .kz-ls-group--wide:only-child, .kz-ls--wide .kz-ls-group--wide:only-child { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kz-ls-group--wide .kz-ls-label { grid-column: 1 / -1; }
@media (max-width: 900px) {
	.kz-ls--header .kz-ls-groups, .kz-ls--wide .kz-ls-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kz-ls--header .kz-ls-group--wide, .kz-ls--wide .kz-ls-group--wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
	.kz-ls--header .kz-ls-group--wide:only-child, .kz-ls--wide .kz-ls-group--wide:only-child { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kz-ls--header .kz-ls-label { font-size: 11px; }
/* The blog's field spans the page; its results open below it, over the list. */
.kz-ls--wide { flex: 1 1 100%; }
.kz-ls--wide .kz-ls-input, .kz-ls--wide .kz-ls-submit { height: 60px; }
.kz-ls--wide .kz-ls-icon { width: 60px; height: 60px; font-size: 20px; }
.kz-ls--wide .kz-ls-input { padding-right: 60px; font-size: 17px; background: #fff; border-color: var(--ls-line); box-shadow: 0 1px 2px rgba(20,33,43,.05), 0 6px 18px rgba(20,33,43,.05); }
.kz-ls--wide .kz-ls-panel { position: absolute; top: 100%; right: 0; left: 0; z-index: 30; margin-top: 8px; padding: 14px; background: #fff; border: 1px solid var(--ls-line); border-radius: 12px; box-shadow: 0 18px 50px rgba(20,33,43,.16); }
/* In the phone menu: on the menu's dark background, results in the flow. */
.kz-ls--menu { padding: 16px 20px 8px; box-sizing: border-box; }
.kz-ls--menu .kz-ls-icon { top: 16px; right: 20px; width: 46px; height: 46px; }
.kz-ls--menu .kz-ls-input { height: 46px; padding-right: 46px; font-size: 15px; border-radius: 10px; }
.kz-ls--menu .kz-ls-submit { display: none; }
.kz-ls--menu .kz-ls-panel { padding: 8px; background: #fff; border-radius: 10px; }
.kz-elm-search .kz-close-icon { display: none; }
.kz-elm-search.is-open .kz-search-icon { display: none; }
.kz-elm-search.is-open .kz-close-icon { display: inline; }

.kz-hrow-mobile { display: none; }
.kz-offcanvas-toggle { display: block; box-sizing: content-box; width: 36px; height: 36px; padding: 0; line-height: 36px; text-align: center; border: 1px solid transparent; cursor: pointer; transition: all .2s ease-in-out; }

@media (max-width: 768px) {
	.kz-hrow-top, .kz-hrow-menu { display: none; }
	.kz-hrow-mobile { display: block; }
	.kz-header { line-height: 1.5; }
}

/* ---------- Mobile off-canvas menu ----------
 * The wrapper is exactly the viewport and clips the panel while it waits
 * off-screen; otherwise mobile browsers widen the page to include it. */
.kz-offcanvas-wrap { position: fixed; inset: 0; z-index: 1000; overflow: hidden; pointer-events: none; }
body.kz-offcanvas-open .kz-offcanvas-wrap { pointer-events: auto; }
.kz-offcanvas-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: all .3s ease-in-out; }
.kz-offcanvas { position: absolute; top: 0; left: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; width: 75%; max-width: 309px; overflow-y: auto; background-color: #fff; box-shadow: 0 0 30px rgba(0,0,0,.1); transform: translateX(-100%); transition: transform .3s ease-in-out; }
body.kz-offcanvas-open .kz-offcanvas { transform: none; }
body.kz-offcanvas-open .kz-offcanvas-overlay { opacity: 1; visibility: visible; }
.kz-offcanvas-close { position: absolute; top: 15px; left: calc(min(75%, 309px) + 20px); z-index: 2; width: 30px; height: 30px; padding: 0; font-size: 24px; line-height: 30px; color: #fff; background: none; opacity: 0; visibility: hidden; transition: opacity .3s ease-in-out; }
.kz-offcanvas-close:hover { color: #fff; background: none; }
body.kz-offcanvas-open .kz-offcanvas-close { opacity: 1; visibility: visible; }
.kz-offcanvas-menu, .kz-offcanvas-menu ul { list-style: none; margin: 0; padding: 0; }
.kz-offcanvas-menu li { position: relative; }
.kz-offcanvas-menu a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 600; line-height: 1.5; border-bottom: 1px solid rgba(167,167,167,.2); transition: all .2s ease-in-out; }
.kz-offcanvas-menu .sub-menu { display: none; }
.kz-offcanvas-menu .sub-menu a { padding-right: 35px; }
.kz-offcanvas-menu li.is-open > .sub-menu { display: block; }
.kz-offcanvas-menu .kz-sub-toggle { position: absolute; top: 0; left: 0; width: 40px; height: 41px; padding: 0; font-size: 14px; color: inherit; background: none; }
.kz-offcanvas-menu .kz-sub-toggle:hover { background: none; color: var(--kz-accent); }
.kz-offcanvas-menu .kz-indicator { display: none; }
.kz-offcanvas-extra { margin-top: auto; padding-top: 30px; text-align: center; font-size: 14px; line-height: 1.5; }
.kz-offcanvas-social { display: flex; justify-content: center; margin-bottom: 10px; }
.kz-offcanvas-social a { display: inline-block; width: 36px; height: 36px; line-height: 36px; text-align: center; transition: all .2s ease-in-out; }
.kz-offcanvas-social a:hover { color: #fff; background: var(--kz-accent); }

/* ---------- Page cover: title bar ---------- */
/* The title, then the breadcrumbs below it, each on one line and aligned left (Mongi, 2026-10-27, task #142). */
.kz-title-bar .kz-row { display: flex; flex-direction: column; align-items: flex-start; }
.kz-title-bar .kz-page-title { display: block; margin: 0; line-height: 1.4; white-space: nowrap; }
.kz-title-left, .kz-title-right { width: 100%; text-align: right; }
.kz-breadcrumbs { font-size: 14px; line-height: 2; text-align: right; white-space: nowrap; overflow-x: auto; overflow-y: hidden; }
.kz-breadcrumbs b { font-weight: 700; }
.kz-breadcrumbs .kz-crumb-sep { margin: 0 12px; opacity: .6; }
.kz-breadcrumbs .kz-crumb-current { opacity: .8; }
.kz-title-bar .kz-breadcrumbs { margin-right: 0; margin-left: 0; } /* the settings' 10px side margin would shift it off the title's edge */
/* Phones (<=480px): a title too long for the screen may wrap rather than be cut; the breadcrumbs scroll. */
@media (max-width: 480px) {
	.kz-title-bar .kz-page-title { white-space: normal; }
	.kz-breadcrumbs { line-height: 1.5; }
}

/* ---------- Content ---------- */
.kz-content { position: relative; margin: 80px 0; }
.kz-content.mt0 { margin-top: 0; }
.kz-content.mb0 { margin-bottom: 0; }
.kz-404-content { margin: 20px 0 80px; }
.kz-columns { display: flex; align-items: flex-start; }
.kz-main { width: 100%; }
.kz-layout-right .kz-main, .kz-layout-left .kz-main { flex: 0 0 65.3%; width: 65.3%; }
.kz-sidebar { display: flow-root; position: relative; flex: 0 0 30.62%; width: 30.62%; margin-right: 4%; }
.kz-layout-left .kz-sidebar { order: -1; margin: 0 0 0 4%; }
.kz-entry { position: relative; }
.kz-post-content > p:last-child { margin-bottom: 0; }
.kz-post-content .wp-block-paragraph { margin-bottom: 16px; }
/* Tablets and phones (<=768px), as Xtra's core-tablet.css. */
@media (max-width: 768px) {
	body { text-wrap: balance; }
	.kz-content { margin: 40px 0; }
	.kz-columns { display: block; }
	.kz-layout-right .kz-main, .kz-layout-left .kz-main, .kz-sidebar { width: 100%; margin: 0; }
}

/* Phones only (<=480px), as Xtra's core-mobile.css (infra#120: these applied up to 768px before). */
@media (max-width: 480px) {
	body { line-height: 1.5; }
	.kz-post-content > p, .widget p { margin-bottom: 20px; }
	.kz-post-content > p:last-child { margin-bottom: 0; }
	.kz-post-content > ul, .kz-post-content > ol { margin: 0; }
	th, td { padding: 1px; }
	input, textarea, select, input[type=submit] { font-size: 14px; }
	textarea { line-height: 2; }
}

/* Sidebar widgets. */
.kz-sidebar-inner { position: relative; padding-bottom: 1px; }
.kz-sidebar .widget { position: relative; padding: 40px 30px; }
.kz-sidebar .kz-widget-title { position: relative; font-size: 18px; }
.kz-sidebar ul { margin: 0; list-style: none; }
.kz-sidebar .widget_categories ul { margin-right: 20px; list-style: disc; }
.kz-sidebar .widget_categories li { position: relative; margin: 5px 0; }
.kz-sidebar .widget_categories a { display: block; border-bottom: 1px solid rgba(167,167,167,.15); }
.kz-sidebar .widget_categories .kz-count { position: absolute; top: 1px; left: 0; opacity: .6; }
.kz-sidebar .search-form { display: flex; position: relative; }
.kz-sidebar .search-form label { flex: 1; margin: 0; }
.kz-sidebar .search-form .search-field { width: 100%; }
.kz-sidebar .search-form .search-submit { flex: none; margin-right: 10px; }
@media (max-width: 768px) {
	.kz-sidebar .widget, .kz-footer .widget { text-align: center; }
}

/* Blog: lists, search results and posts (cards, a reading column, a panel beside it). */
.kz-list, .kz-single { --kz-ink: #14212b; --kz-muted: #5d6b76; --kz-line: #e3e9ee; --kz-soft: #f3f7fa; --kz-radius: 10px; --kz-shadow: 0 1px 2px rgba(20,33,43,.06), 0 8px 24px rgba(20,33,43,.06); }
.kz-list { margin: 60px 0 80px; }
.kz-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 36px; }
.kz-list-count { margin: 0; font-size: 15px; color: var(--kz-muted); }
.kz-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 980px; margin: 8px auto 0; padding: 0; list-style: none; }
.kz-page-links li { margin: 0; }
/* The list sits in a title box that shrinks to its content: centre the box too, or the chips stand left of their heading (task #573). */
.kz-title-content:has(> .kz-title-text > .kz-page-links) { margin-inline: auto; }
.kz-page-links a { display: inline-block; padding: 10px 20px; font-size: 15px; font-weight: 700; line-height: 1.5; color: #14212b; background: #f3f7fa; border: 1px solid #e3e9ee; border-radius: 99px; text-decoration: none; transition: color .2s, background .2s; }
.kz-page-links a:hover, .kz-page-links a:focus-visible { color: #fff; background: #00aeef; border-color: #00aeef; }
.kz-list-intro { max-width: 820px; margin: -12px 0 36px; font-size: 17px; line-height: 1.7; color: var(--kz-muted); }
.kz-list-intro p { margin: 0 0 12px; }
.kz-list-intro a { color: var(--kz-accent); text-decoration: underline; }
.kz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kz-chips a { padding: 6px 16px; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--kz-ink); background: var(--kz-soft); border-radius: 99px; }
.kz-chips a:hover, .kz-chips a[aria-current] { color: #fff; background: var(--kz-accent); }
.kz-no-results { padding: 40px 0; font-size: 18px; color: var(--kz-muted); }

/* A card: the title link covers it; the picture zooms a little on hover. */
.kz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 32px; } /* every row as tall as the tallest: a card alone in the last row keeps the height (infra#383) */
.kz-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--kz-line); border-radius: var(--kz-radius); box-shadow: var(--kz-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.kz-card:hover, .kz-card:focus-within { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,33,43,.08), 0 16px 40px rgba(20,33,43,.12); }
.kz-card-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--kz-soft); }
.kz-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.kz-card:hover .kz-card-image img { transform: scale(1.04); }
.kz-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.kz-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 10px; font-size: 13px; line-height: 1.6; color: var(--kz-muted); }
.kz-card-meta > * + *:not(.kz-tag)::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-inline-end: 14px; vertical-align: middle; background: currentColor; border-radius: 50%; opacity: .5; }
a.kz-tag { position: relative; z-index: 2; text-decoration: none; } /* above the card's stretched title link */
a.kz-tag:hover { color: #fff; background: var(--kz-accent); }
a.kz-tag:focus-visible { outline: 2px solid var(--kz-accent); outline-offset: 2px; }
.kz-tag { padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--kz-accent); background: color-mix(in srgb, var(--kz-accent) 12%, #fff); border-radius: 99px; }
.kz-card-title { margin: 0 0 10px; font-size: 20px; line-height: 1.35; }
.kz-card-title a { color: var(--kz-ink); }
.kz-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kz-card-title a:focus-visible { outline: none; }
.kz-card:focus-within { outline: 2px solid var(--kz-accent); outline-offset: 2px; }
.kz-card-excerpt { display: -webkit-box; margin: 0 0 18px; overflow: hidden; font-size: 15px; line-height: 1.65; color: var(--kz-muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.kz-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--kz-accent); transition: gap .2s ease; }
.kz-card:hover .kz-card-more { gap: 12px; }
.rtl .kz-card-more i, .rtl .kz-np i { transform: scaleX(-1); }
.kz-card--featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-bottom: 32px; }
.kz-card--featured .kz-card-image { aspect-ratio: auto; min-height: 380px; }
.kz-card--featured .kz-card-body { justify-content: center; padding: 40px 44px; }
.kz-card--featured .kz-card-title { font-size: 30px; line-height: 1.25; }
.kz-card--featured .kz-card-excerpt { font-size: 16px; -webkit-line-clamp: 4; }

/* Search results: a list, the passage with the words marked. */
.kz-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.kz-result { position: relative; display: flex; gap: 24px; padding: 20px; background: #fff; border: 1px solid var(--kz-line); border-radius: var(--kz-radius); transition: border-color .2s ease, box-shadow .2s ease; }
.kz-result:hover, .kz-result:focus-within { border-color: color-mix(in srgb, var(--kz-accent) 45%, #fff); box-shadow: var(--kz-shadow); }
.kz-result-image { flex: 0 0 168px; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; font-size: 34px; color: var(--kz-accent); background: color-mix(in srgb, var(--kz-accent) 8%, #fff); border-radius: 8px; }
.kz-result-image img { width: 100%; height: 100%; object-fit: cover; }
.kz-result-body { min-width: 0; }
.kz-result .kz-card-meta { margin-bottom: 4px; }
.kz-result-title { margin: 0 0 6px; font-size: 20px; line-height: 1.35; }
.kz-result-title a { color: var(--kz-ink); }
.kz-result-title a::after { content: ""; position: absolute; inset: 0; }
.kz-result-title a:hover { color: var(--kz-accent); }
.kz-result-snippet { margin: 0 0 6px; font-size: 15px; line-height: 1.65; color: var(--kz-muted); }
.kz-result-snippet mark { padding: 0 2px; color: var(--kz-ink); background: color-mix(in srgb, var(--kz-accent) 20%, #fff); border-radius: 2px; }
.kz-result-url { display: block; overflow: hidden; font-size: 13px; color: var(--kz-accent); white-space: nowrap; text-overflow: ellipsis; direction: rtl; text-align: start; }

.kz-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 48px 0 0; }
.kz-pagination .nav-links { display: contents; }
.kz-pagination a, .kz-pagination span { display: inline-block; min-width: 44px; line-height: 44px; text-align: center; border-radius: 6px; }

/* Single post: a reading column and a panel beside it. */
.kz-single { margin: 56px 0 0; }
.kz-single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.kz-article { min-width: 0; max-width: 820px; }
.kz-article > .kz-card-meta { margin-bottom: 20px; font-size: 14px; }
.kz-article-image { margin: 0 0 36px; overflow: hidden; border-radius: var(--kz-radius); }
.kz-article-image img { display: block; width: 100%; max-height: 480px; object-fit: cover; }
.kz-prose { font-size: 17px; line-height: 1.8; color: #2a3640; }
.kz-prose > * { margin-top: 0; }
.kz-prose > p, .kz-prose > ul, .kz-prose > ol, .kz-prose > figure, .kz-prose > table, .kz-prose > blockquote { margin-bottom: 24px; }
.kz-prose h2 { margin: 48px 0 16px; font-size: 28px; line-height: 1.3; color: var(--kz-ink); scroll-margin-top: 24px; }
.kz-prose h3 { margin: 32px 0 12px; font-size: 21px; line-height: 1.35; color: var(--kz-ink); }
.kz-prose > ul, .kz-prose > ol { padding-inline-start: 24px; margin-inline-start: 0; }
.kz-prose > ol { list-style: decimal; }
.kz-prose li { margin-bottom: 8px; }
.kz-prose li::marker { color: var(--kz-accent); }
.kz-prose blockquote { margin-inline: 0; padding: 16px 24px; font-size: 18px; color: var(--kz-ink); background: var(--kz-soft); border-inline-start: 4px solid var(--kz-accent); border-radius: 8px 0 0 8px; }
.kz-prose table { width: 100%; font-size: 15px; line-height: 1.5; border-collapse: collapse; }
.kz-prose th, .kz-prose td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--kz-line); }
.kz-prose th { color: var(--kz-ink); background: var(--kz-soft); }
.kz-prose > p:last-child { margin-bottom: 0; }
/* Graphics written into a post's text (FOB vs CIF, 2026-10-26): a chart of the stages with who pays and who carries the risk, two cards side by side, a worked example. Words stay in the text, so they are translated with it. */
.kz-ic { --kz-seller: var(--kz-accent, #00aeef); --kz-buyer: var(--kz-ink); --kz-cif: #e0a100; margin: 0 0 24px; padding: 24px; background: var(--kz-soft); border: 1px solid var(--kz-line); border-radius: var(--kz-radius); }
.kz-ic-title { margin: 0 0 20px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--kz-ink); }
.kz-ic-chart { position: relative; }
.kz-prose .kz-ic-stops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.kz-prose .kz-ic-stops li { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; font-size: 13px; line-height: 1.35; text-align: center; color: var(--kz-muted); }
.kz-ic-stops i { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; font-size: 19px; color: var(--kz-ink); background: #fff; border: 2px solid var(--kz-line); border-radius: 50%; }
.kz-ic-stops .kz-ic-key { font-weight: 700; color: var(--kz-ink); }
.kz-ic-stops .kz-ic-key i { color: #fff; background: var(--kz-seller); border-color: var(--kz-seller); }
.kz-ic-lane { margin: 0 0 12px; }
.kz-prose .kz-ic-lane p { margin: 0 0 4px; font-size: 14px; line-height: 1.4; color: var(--kz-ink); }
.kz-ic-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.kz-ic-bar span { position: relative; z-index: 1; overflow: hidden; padding: 5px 8px; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center; white-space: nowrap; text-overflow: ellipsis; color: #fff; border-radius: 6px; }
.kz-ic-s { background: var(--kz-seller); }
.kz-ic-b { background: var(--kz-buyer); }
.kz-ic-1 { grid-column: span 1; }
.kz-ic-2 { grid-column: span 2; }
.kz-ic-3 { grid-column: span 3; }
.kz-ic-4 { grid-column: span 4; }
.kz-ic-5 { grid-column: span 5; }
/* The moment the goods are on board, between the third and fourth stage: the risk passes under both rules. */
.kz-ic-pass { position: absolute; top: 0; bottom: -6px; right: calc(60% + 1px); border-right: 3px dashed var(--kz-cif); }
.kz-prose .kz-ic-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--kz-ink); }
.kz-ic-note i { flex: none; margin-top: 3px; color: var(--kz-cif); }
.kz-ic-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kz-ic-card { padding: 20px; background: #fff; border: 1px solid var(--kz-line); border-top: 4px solid var(--kz-seller); border-radius: var(--kz-radius); box-shadow: var(--kz-shadow); }
.kz-ic-card--cif { border-top-color: var(--kz-cif); }
.kz-prose .kz-ic-card-head { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; line-height: 1.3; }
.kz-ic-card-head i { display: grid; flex: none; place-items: center; width: 44px; height: 44px; font-size: 18px; color: #fff; background: var(--kz-seller); border-radius: 50%; }
.kz-ic-card--cif .kz-ic-card-head i { background: var(--kz-cif); }
.kz-ic-card-head strong { display: block; font-size: 26px; color: var(--kz-ink); }
.kz-ic-card-head span { display: block; font-size: 14px; color: var(--kz-muted); }
.kz-prose .kz-ic-card ul { margin: 0; padding: 0; list-style: none; }
.kz-prose .kz-ic-card li { margin: 0; padding: 10px 0; font-size: 15px; line-height: 1.55; border-top: 1px solid var(--kz-line); }
.kz-prose .kz-ic-calc table { margin: 0; background: #fff; }
.kz-ic-calc td:last-child { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kz-ic-calc .kz-ic-total td { font-weight: 700; color: var(--kz-ink); background: rgba(0, 174, 239, .1); }
.kz-ic-calc .kz-ic-total--cif td { background: rgba(224, 161, 0, .14); }
.kz-prose .kz-ic-calc p { margin: 12px 0 0; font-size: 13px; color: var(--kz-muted); }
@media (max-width: 640px) {
	.kz-ic { padding: 16px; }
	.kz-ic-cards { grid-template-columns: 1fr; }
	.kz-prose .kz-ic-stops, .kz-ic-bar { gap: 4px; }
	.kz-prose .kz-ic-stops li { font-size: 11px; }
	.kz-ic-stops i { width: 36px; height: 36px; font-size: 15px; }
	.kz-ic-bar span { padding: 4px; font-size: 11px; }
}
/* "Get a price for your next shipment": the quote form at the end of an article (task #585). */
.kz-get-price { margin: 40px 0 0; padding: 28px 28px 8px; background: var(--kz-soft); border: 1px solid var(--kz-line); border-radius: 14px; scroll-margin-top: 140px; }
.kz-get-price-title { margin: 0 0 8px; font-size: 24px; line-height: 1.3; color: var(--kz-ink); }
.kz-get-price-lead { margin: 0 0 20px; color: var(--kz-muted); }
@media (max-width: 767px) { .kz-get-price { padding: 22px 18px 4px; } .kz-get-price-title { font-size: 21px; } }
.kz-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; color: var(--kz-muted); }
.kz-post-tags a { padding: 4px 12px; font-size: 13px; color: var(--kz-ink); background: var(--kz-soft); border-radius: 99px; }
.kz-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 0; padding: 20px 0; border-block: 1px solid var(--kz-line); }
.kz-share-title { margin-inline-end: 6px; font-size: 15px; font-weight: 700; color: var(--kz-ink); }
.kz-share a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 16px; color: var(--kz-ink); background: var(--kz-soft); border-radius: 50%; transition: color .2s ease, background .2s ease; }
.kz-share a:hover { color: #fff; }
.kz-share .kz-share-facebook:hover { background: #1877f2; }
.kz-share .kz-share-twitter:hover { background: #000; }
.kz-share .kz-share-linkedin:hover { background: #0a66c2; }
.kz-share .kz-share-pinterest:hover { background: #cb2027; }
.kz-share .kz-share-reddit:hover { background: #ff4500; }
.kz-share .kz-share-whatsapp:hover { background: #25d366; }
.kz-share .kz-share-envelope:hover { background: var(--kz-accent); }
.kz-next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 0; }
.kz-np { display: flex; align-items: center; gap: 14px; padding: 14px; color: var(--kz-ink); border: 1px solid var(--kz-line); border-radius: var(--kz-radius); transition: border-color .2s ease, box-shadow .2s ease; }
.kz-np:hover { color: var(--kz-ink); border-color: color-mix(in srgb, var(--kz-accent) 45%, #fff); box-shadow: var(--kz-shadow); }
.kz-np--next { flex-direction: row-reverse; text-align: end; }
.kz-np img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.kz-np span { font-size: 15px; font-weight: 700; line-height: 1.4; }
.kz-np small { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; font-weight: 400; color: var(--kz-muted); text-transform: uppercase; letter-spacing: .04em; }
.kz-np--next small { justify-content: flex-end; flex-direction: row-reverse; }
.kz-article-aside { position: sticky; top: 24px; }
.kz-aside-box { padding: 24px; border-radius: var(--kz-radius); }
.kz-aside-box + .kz-aside-box { margin-top: 20px; }
.kz-aside-title { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kz-muted); }
.kz-toc { border: 1px solid var(--kz-line); }
.kz-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: kz-toc; }
.kz-toc li { counter-increment: kz-toc; }
.kz-toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 15px; line-height: 1.45; color: var(--kz-ink); }
.kz-toc a::before { content: counter(kz-toc, decimal-leading-zero); flex: none; font-weight: 700; color: var(--kz-accent); }
.kz-toc a:hover, .kz-toc a[aria-current] { color: var(--kz-accent); }
.kz-cta { color: #fff; background: linear-gradient(-140deg, #14212b, #1f3a4d); }
.kz-cta-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.kz-cta p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); }
.kz-cta .kz-button { display: block; text-align: center; }
.kz-related { margin: 72px 0 0; padding: 64px 0 80px; background: #f6f9fb; }
.kz-section-title { margin: 0 0 28px; font-size: 28px; color: var(--kz-ink); }
.kz-single-comments { margin-top: 56px; }
.kz-single > .kz-row:last-child { margin-bottom: 80px; }

@media (max-width: 1024px) {
	.kz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.kz-results { grid-template-columns: minmax(0, 1fr); }
	.kz-card--featured { grid-template-columns: 1fr; }
	.kz-card--featured .kz-card-image { aspect-ratio: 16 / 9; min-height: 0; }
	.kz-card--featured .kz-card-body { padding: 28px; }
	.kz-single-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.kz-article { max-width: none; }
	.kz-article-aside { position: static; }
	.kz-toc { display: none; }
}
@media (max-width: 640px) {
	.kz-list { margin: 36px 0 56px; }
	.kz-cards { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 20px; }
	.kz-card--featured { margin-bottom: 20px; }
	.kz-card--featured .kz-card-title { font-size: 24px; }
	.kz-card-body, .kz-card--featured .kz-card-body { padding: 20px; }
	.kz-list-head { margin-bottom: 24px; }
	.kz-ls--wide .kz-ls-input, .kz-ls--wide .kz-ls-submit { height: 52px; }
	.kz-ls--wide .kz-ls-icon { width: 48px; height: 52px; }
	.kz-ls--wide .kz-ls-input { padding-right: 48px; font-size: 16px; }
	.kz-ls--wide .kz-ls-submit { padding: 0 18px; }
	.kz-ls--wide .kz-ls-submit-text { display: none; }
	.kz-ls--wide .kz-ls-submit-icon { display: inline; font-size: 18px; }
	.kz-ls--wide .kz-ls-panel { padding: 8px; }
	.kz-ls--wide .kz-ls-groups, .kz-ls--wide .kz-ls-group--wide, .kz-ls--wide .kz-ls-group--wide:only-child { grid-template-columns: 1fr; grid-column: auto; }
	.kz-result { gap: 14px; padding: 14px; }
	.kz-result-image { flex-basis: 88px; font-size: 24px; }
	.kz-result-title { font-size: 17px; }
	.kz-single { margin-top: 32px; }
	.kz-prose { font-size: 16px; line-height: 1.75; }
	.kz-prose h2 { margin-top: 36px; font-size: 23px; }
	.kz-next-prev { grid-template-columns: 1fr; }
	.kz-related { margin-top: 48px; padding: 44px 0 56px; }
	.kz-section-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
	.kz-card, .kz-card-image img, .kz-card-more { transition: none; }
	.kz-card:hover { transform: none; }
}
.kz-hover-icon { position: absolute; top: 50%; right: 50%; width: 1em; height: 1em; margin: -38px -38px 0 0; padding: 26px; font-size: 24px; line-height: 1; text-align: center; opacity: 0; transition: all .2s ease-in-out; }
.kz-related-image:hover .kz-hover-icon, .kz-loop-image:hover .kz-hover-icon { opacity: 1; }
.kz-comments-off { margin: 0; padding-bottom: 40px; opacity: .4; }
/* A film (Videos topic, task #496). Its page: the player across the whole page width, then the description
   beside the guide it belongs to. In lists: the still picture with a play mark and the film's length. */
.kz-watch { margin-bottom: 8px; }
.kz-watch-player { overflow: hidden; background: #fcfeff; border: 1px solid var(--kz-line); border-radius: 16px; box-shadow: var(--kz-shadow); }
.kz-watch-player video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 110px); background: #fcfeff; }
.kz-watch-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: 48px; align-items: start; margin-top: 36px; }
.kz-watch-grid--alone { grid-template-columns: minmax(0, 1fr); }
.kz-watch-aside-title { margin: 0 0 14px; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--kz-ink); }
.kz-card-image--film { position: relative; }
/* A film's still is its cover, wider than the card's picture: the card cuts the drawing's side, never the title's (task #560). */
/* The side belongs to the picture, not to the page's direction: the right-to-left build must not swap it. */
.kz-card-image--film img { object-position: 0 50%; }
.kz-card-image--film-end img { object-position: 100% 50%; }
.kz-card-play { position: absolute; top: 50%; right: 50%; width: 64px; height: 64px; background: rgba(20, 33, 43, .78); border-radius: 50%; transform: translate(50%, -50%); }
.kz-card-play::after { content: ""; position: absolute; top: 50%; right: 54%; border-style: solid; border-width: 12px 20px 12px 0; border-color: transparent #fff transparent transparent; transform: translate(50%, -50%); }
.kz-card-length { position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; font-size: 13px; font-weight: 700; line-height: 1.5; color: #fff; background: rgba(20, 33, 43, .85); border-radius: 6px; }
@media (max-width: 1024px) {
	.kz-watch-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) and (orientation: portrait) {
	.kz-watch-player--tall video { aspect-ratio: 9 / 16; max-height: none; }
}
/* The discussion under a post (comments.php, kyranis_comment()): threads, replies and the form. */
/* One column across the whole width of the page (Mongi 2026-11-18): the conversation, then the form at its end;
   an answer to a comment is written through that comment's Reply link. */
.kz-discuss { margin: 0 0 60px; color: var(--kz-ink); }
.kz-discuss-head { margin-bottom: 28px; }
.kz-discuss-title { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 28px; line-height: 1.2; color: var(--kz-ink); }
.kz-discuss-count { padding: 2px 12px; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--kz-accent); background: color-mix(in srgb, var(--kz-accent) 12%, #fff); border-radius: 99px; }
.kz-discuss-lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--kz-muted); }
.kz-discuss-empty { margin: 0 0 28px; padding: 22px 24px; font-size: 16px; line-height: 1.6; color: var(--kz-muted); background: var(--kz-soft); border-radius: 14px; }
.kz-thread, .kz-thread .children { margin: 0; padding: 0; list-style: none; }
.kz-thread { display: grid; gap: 18px; margin-bottom: 36px; }
.kz-thread .children { display: grid; gap: 14px; margin-top: 14px; margin-inline-start: 23px; padding-inline-start: 26px; border-inline-start: 2px solid var(--kz-line); }
.kz-comment-body { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--kz-line); border-radius: 14px; }
.kz-comment:target > .kz-comment-body { border-color: var(--kz-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kz-accent) 18%, transparent); }
.kz-comment-avatar { display: grid; place-items: center; width: 48px; height: 48px; font-size: 17px; font-weight: 700; line-height: 1; color: #14506b; background: #dff1fa; border-radius: 50%; }
.kz-av-1 .kz-comment-avatar { color: #7a5600; background: #fbefcc; }
.kz-av-2 .kz-comment-avatar { color: #1d5d3f; background: #dcf3e6; }
.kz-av-3 .kz-comment-avatar { color: #8a3a12; background: #fde3d4; }
.kz-av-4 .kz-comment-avatar { color: #3d3f8f; background: #e4e5fb; }
.kz-comment .children .kz-comment-body { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 18px; }
.kz-comment .children .kz-comment-avatar { width: 40px; height: 40px; font-size: 15px; }
.kz-comment--team > .kz-comment-body { background: color-mix(in srgb, var(--kz-accent) 5%, #fff); border-color: color-mix(in srgb, var(--kz-accent) 35%, #fff); }
.kz-comment--team > .kz-comment-body .kz-comment-avatar { color: #fff; background: var(--kz-accent); }
.kz-comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; line-height: 1.5; }
.kz-comment-author { font-size: 16px; color: var(--kz-ink); }
.kz-comment-badge { padding: 1px 10px; font-size: 12px; font-weight: 700; line-height: 1.7; color: #fff; background: var(--kz-accent); border-radius: 99px; }
.kz-comment-date { font-size: 13px; color: var(--kz-muted); }
.kz-comment-date:hover { color: var(--kz-accent); }
.kz-comment-waiting { display: inline-block; margin: 0 0 8px; padding: 3px 12px; font-size: 13px; line-height: 1.6; color: #7a5600; background: #fbefcc; border-radius: 8px; }
.kz-comment--waiting > .kz-comment-body { border-style: dashed; }
.kz-comment-text { font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.kz-comment-text p { margin: 0 0 10px; }
.kz-comment-text p:last-child { margin-bottom: 0; }
.kz-comment-text a { color: var(--kz-accent); text-decoration: underline; }
.kz-comment-reply { margin-top: 10px; }
.kz-comment-reply a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--kz-accent); }
.kz-comment-reply a::before { content: ""; width: 14px; height: 10px; border-inline-start: 2px solid currentColor; border-bottom: 2px solid currentColor; border-end-start-radius: 6px; transform: translateY(-3px); }
.kz-comment-reply a:hover { color: var(--kz-ink); }
.kz-discuss .comments-pagination { margin: -12px 0 32px; }
.kz-discuss .comments-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.kz-discuss .comments-pagination .page-numbers { padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--kz-ink); background: var(--kz-soft); border-radius: 99px; }
.kz-discuss .comments-pagination .page-numbers.current { color: #fff; background: var(--kz-accent); }
.kz-discuss .comment-respond { padding: 28px; background: var(--kz-soft); border-radius: 16px; }
.kz-discuss > .comment-respond { margin-top: 8px; }
.kz-thread .comment-respond { margin-top: 14px; }
.kz-discuss .comment-reply-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 6px; font-size: 22px; line-height: 1.3; color: var(--kz-ink); }
.kz-discuss .comment-reply-title small { font-size: 14px; font-weight: 400; }
.kz-discuss .comment-reply-title small a { color: var(--kz-muted); text-decoration: underline; }
.kz-discuss-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 0; }
.kz-discuss-form > * { grid-column: 1 / -1; margin: 0; }
.kz-discuss-form .comment-form-author, .kz-discuss-form .comment-form-email { grid-column: auto; }
.kz-discuss-form .comment-notes, .kz-discuss-form .logged-in-as { font-size: 14px; line-height: 1.6; color: var(--kz-muted); }
.kz-discuss-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--kz-ink); }
.kz-discuss-form input:not([type=submit]):not([type=checkbox]), .kz-discuss-form textarea { display: block; width: 100%; padding: 12px 14px; font-size: 16px; line-height: 1.5; color: var(--kz-ink); background: #fff; border: 1px solid #cbd8e0; border-radius: 10px; }
.kz-discuss-form textarea { min-height: 150px; resize: vertical; }
.kz-discuss-form input:focus-visible, .kz-discuss-form textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--kz-accent) 30%, transparent); outline-offset: 1px; }
.kz-discuss-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.kz-discuss-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; line-height: 1.5; }
.kz-discuss-form .comment-form-cookies-consent input { margin-top: 4px; }
.kz-discuss-form .form-submit input[type=submit] { border-radius: 10px; }
/* The human check is printed after the button; it belongs before it, and takes room only once it shows something
   (the loader reserves 65px for it, which left a hole under the button). The box then ends as it begins. */
.kz-discuss-form .form-submit { order: 2; }
.kz-discuss-form .kz-comment-turnstile { order: 1; min-height: 0 !important; margin: 0; }
.kz-discuss-form .kz-comment-turnstile:empty { display: none; }
@media (max-width: 640px) {
	.kz-discuss-title { font-size: 24px; }
	.kz-thread .children { margin-inline-start: 8px; padding-inline-start: 12px; }
	.kz-comment-body, .kz-comment .children .kz-comment-body { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.kz-comment-avatar, .kz-comment .children .kz-comment-avatar { width: 36px; height: 36px; font-size: 14px; }
	.kz-discuss .comment-respond { padding: 20px 16px; }
	.kz-discuss-form .comment-form-author, .kz-discuss-form .comment-form-email { grid-column: 1 / -1; }
}
/* Phones only (<=480px), as Xtra's core-mobile.css (infra#120). */
@media (max-width: 480px) {
	.kz-meta a { line-height: 1.5; }
	.kz-share a { font-size: 14px; line-height: 28px; }
	.wpcf7-form p { width: 100% !important; }
	.wpcf7-submit { float: none; display: table !important; margin-right: auto; margin-left: auto; }
	.kz-loop-item { text-align: center; }
	.search-form .search-submit { padding-right: 15px; padding-left: 15px; font-size: 10px; }
	.kz-loop-meta, .kz-readmore, .kz-readmore span { line-height: 1.5; }
	.kz-sidebar .widget_categories ul { margin-right: 10px; }
	.kz-readmore { margin-right: auto; margin-left: auto; }
	.kz-related-post { width: 100%; margin-bottom: 30px; padding-bottom: 30px; }
	.kz-next-prev { display: block; text-align: center; }
	.kz-next-prev li, .kz-next-prev .kz-next { width: 100%; text-align: center; }
	.kz-next-prev li:empty, .kz-next-prev i { display: none; }
	.kz-prev h4, .kz-next h4 { padding: 0; }
}

/* 404. */
.kz-404 { margin: 0; font-size: 36px; text-align: center; }
.kz-404-number { display: inline; font-size: 400px; line-height: 1.4; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(var(--kz-accent) 0%, transparent 75%); }
.kz-404 small { display: block; margin: -160px 25% 0; font-size: 38px; line-height: 1.4; opacity: .8; }
/* Padding, not margin: a margin here would merge with the page's 80px. */
.kz-404-content .kz-row { padding-bottom: 50px; }
.kz-404-button { display: table; margin: 50px auto 20px; padding: 14px 30px; font-size: 16px; line-height: 2; transform: scale(.9); }
@media (max-width: 768px) {
	.kz-404-content { margin: 20px 0 40px; }
	.kz-404-number { font-size: 130px; }
	.kz-404 small { margin: -30px 7.5% 0; font-size: 16px; }
	.kz-404-button { margin-top: 30px; font-size: 12px; line-height: 18px; }
}

/* ---------- Footer ---------- */
.kz-footer { position: relative; }
.kz-footer-cols { display: flex; }
.kz-fcol { flex: 0 0 22%; width: 22%; margin-right: 4%; }
.kz-fcol:first-child { margin-right: 0; }
.kz-footer .widget { position: relative; z-index: 1; margin: 0 0 30px; }
.kz-footer .kz-widget-title { position: relative; display: inline-block; line-height: 1.4; }
.kz-footer-bar .kz-row { display: flex; justify-content: space-between; align-items: flex-start; }
.kz-copyright { display: inline-block; vertical-align: middle; line-height: 2; }
.kz-footer-links { display: flex; list-style: none; margin: 0; padding: 0; }
.kz-footer-links li { display: block; }
.kz-footer-links a span { display: inline-block; vertical-align: middle; line-height: 2; }
.kz-footer-links .kz-line { width: 1px; height: 30px; margin: 0 20px; transform: rotate(-22deg); }
@media (max-width: 768px) {
	.kz-footer-cols { display: block; }
	.kz-fcol { width: 100%; margin-right: 0; }
	.kz-footer-bar .kz-row { flex-direction: column; align-items: center; text-align: center; }
	.kz-copyright, .kz-footer-links a span { line-height: 1.5; }
	.kz-footer-links .kz-line { height: 23px; }
	.kz-footer { margin-bottom: 92.5px; }
}

/* ---------- Fixed buttons ---------- */
.kz-backtotop, .kz-quick-contact-toggle { position: fixed; left: 30px; bottom: 30px; z-index: 99999; width: 2.4em; height: 2.4em; padding: 0; line-height: 2.4em; text-align: center; cursor: pointer; transition: all .2s ease-in-out; }
.kz-backtotop { opacity: 0; visibility: hidden; }
.kz-backtotop.is-visible { opacity: 1; visibility: visible; }
.kz-backtotop.is-visible ~ .kz-quick-contact-toggle { left: 73px; }
.kz-quick-contact { position: fixed; left: 30px; bottom: 78px; z-index: 999; width: 300px; padding: 20px; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease-in-out; }
.kz-quick-contact.is-open { opacity: 1; visibility: visible; transform: none; }
.kz-quick-contact-toggle .kz-close-icon { display: none; }
.kz-quick-contact-toggle.is-open .kz-open-icon { display: none; }
.kz-quick-contact-toggle.is-open .kz-close-icon { display: inline; }
@media (max-width: 768px) {
	.kz-quick-contact-toggle, .kz-quick-contact { display: none; }
	.kz-backtotop { bottom: 122px; }
}

/* Mobile bottom bar. */
.kz-mobile-bar { display: none; }
@media (max-width: 768px) {
	.kz-mobile-bar { position: fixed; right: 0; left: 0; bottom: 0; z-index: 999; display: flex; line-height: 1.5; }
	.kz-mobile-bar a { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 10px; text-align: center; color: #fff; }
	.kz-mobile-bar a i { width: 20px; font-size: 20px; line-height: 20px; transition: all .2s ease-in-out; }
	.kz-mobile-bar a span { font-size: 11px; }
}

/* The mobile menu's background photo loads only once the menu has been opened (theme.js adds kz-bg-ready). */
.kz-offcanvas:not(.kz-bg-ready) { background-image: none !important; }

/* Home offer cards: "Valid until <day>" under the price (kyranis-site {valid}, task #62). */
.kz-rate-valid { margin: 6px 0 0; font-size: 14px; font-weight: 400; line-height: 1.4; text-align: center; color: #777; }

/* The signed-in learner's menu in the header (Kyranis Academy, task #318) */
.kz-learner-menu { position: relative; }
.kz-learner-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.kz-learner-menu > summary::-webkit-details-marker { display: none; }
.kz-learner-menu > summary::after { content: ""; width: 7px; height: 7px; margin-inline-start: 2px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.kz-learner-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #00aeef; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.kz-learner-name { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kz-learner-menu ul { position: absolute; z-index: 60; top: calc(100% + 8px); inset-inline-end: 0; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(10, 34, 64, .22); text-align: start; }
.kz-learner-menu ul a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: #14212b; font-size: 15px; font-weight: 600; text-transform: none; border-radius: 8px; text-decoration: none; }
.kz-learner-menu ul a:hover, .kz-learner-menu ul a:focus-visible { background: #f3f7fa; color: #0a2240; }
.kz-learner-menu ul i { width: 18px; text-align: center; color: #00aeef; }
.kz-learner-menu ul li:last-child { margin-top: 4px; padding-top: 4px; border-top: 1px solid #e3e9ee; }
.kz-offcanvas-client .kz-learner-menu ul { position: static; box-shadow: none; padding: 4px 0 0; }

/* Header (task #348): menu labels stay on one line; in the sticky bar the networks fold into
   one "Follow us" menu, which opens like the language menu, so the bar keeps one row. */
.kz-menu > li > a { white-space: nowrap; }
.kz-elm-follow { display: none; position: relative; align-items: stretch; }
.kz-follow { position: relative; display: flex; }
.kz-follow > summary { display: flex; align-items: center; gap: 7px; padding: 0 16px; font-size: 18px; color: #5b5b5b; list-style: none; cursor: pointer; }
.kz-follow > summary::-webkit-details-marker { display: none; }
.kz-follow > summary:hover, .kz-follow[open] > summary { color: var(--kz-accent); }
.kz-follow > summary:focus-visible { outline: 2px solid var(--kz-accent); outline-offset: -4px; border-radius: 4px; }
.kz-follow-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; box-sizing: border-box; width: 240px; padding: 10px; background: #fff; border-radius: 12px; box-shadow: 0 20px 44px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.06); }
.kz-follow-panel .kz-social--list { display: grid; gap: 2px; height: auto; }
.kz-follow-panel .kz-social--list a { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: auto; height: auto; padding: 10px 12px; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: start; color: #222 !important; background: transparent !important; border-radius: 8px; box-shadow: none !important; }
.kz-follow-panel .kz-social--list a[data-title]::after { content: attr(data-title); position: static; padding: 0; font-size: inherit; color: inherit; background: none; opacity: 1; visibility: visible; transform: none; }
.kz-follow-panel .kz-social--list a:hover, .kz-follow-panel .kz-social--list a:focus-visible { color: var(--kz-accent) !important; background: #eaf8fe !important; }
.kz-social--list a i, .kz-social--list a svg { width: 20px; text-align: center; color: var(--kz-accent); }
@media (min-width: 769px) {
	.kz-sticky .kz-elm-social { display: none; }
	.kz-sticky .kz-elm-follow { display: flex; }
	.kz-sticky .kz-menu > li > a { padding-right: 14px; padding-left: 14px; }
}

/* Home "Why Kyranis" (task #399): the text centred under the heading, then six reasons shown at once. */
.kz-why-intro {
	max-width: 820px;
	margin: 0 auto 36px;
	text-align: center;
}

.kz-why-intro * {
	text-align: center !important;
}

.kz-title-content:has(.kz-why-intro) {
	margin-left: auto;
	margin-right: auto;
}

.kz-why-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kz-why-list li {
	position: relative;
	margin: 0;
	padding: 24px 64px 24px 24px;
	border: 1px solid #d6e6ef;
	border-radius: 6px;
	background: #fff;
}

.kz-why-list li::before {
	content: "";
	position: absolute;
	top: 26px;
	right: 24px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #00aeef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.kz-why-list strong {
	display: block;
	margin-bottom: 6px;
	color: #0a2240;
	font-size: 18px;
	line-height: 1.3;
}

.kz-why-list span {
	display: block;
	color: #14212b;
	font-size: 15px;
	line-height: 1.55;
}

@media (max-width: 1024px) {
	.kz-why-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.kz-why-list {
		grid-template-columns: 1fr;
	}
}
