/* ZeBlox lehed: kujunduse stiilid. */

/* ---------- Alus ---------- */
:root { --zx-ink: #1E1B16; --zx-paper: #F6F4EF; --zx-line: #E4E0D8; --zx-purple: #900F74; --zx-orange: #F1462B; --zx-green: #73CA54; --zx-red: #E91443; --zx-yellow: #FABD14; --zx-issue: #900F74; }
body.zx-body { margin: 0; background: #FFFFFF; }
.zx-site { font-family: Lato, system-ui, sans-serif; color: var(--zx-ink); background: #FFFFFF; font-size: 17px; line-height: 1.6; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
.zx-site *, .zx-site *::before, .zx-site *::after { box-sizing: border-box; }
.zx-site :where(p, h1, h2, h3, h4, ul, ol, figure, details, summary) { margin: 0; }
.zx-site .wp-block-group > * { margin-block: 0; max-width: none; }
.zx-site img { max-width: 100%; height: auto; display: block; }
.zx-site .wp-block-image { margin: 0; }
.zx-site a { color: var(--zx-ink); text-underline-offset: 3px; }
.zx-site a:hover { color: #000; }
.zx-site :where(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--zx-issue); outline-offset: 3px; }

/* ---------- Kirjad ---------- */
.zx-site .zx-h { font-family: Anton, Impact, sans-serif; font-weight: 400; line-height: 1.02; letter-spacing: .005em; text-transform: none; color: var(--zx-ink); }
.zx-site .zx-h1 { font-size: clamp(52px, 6.6vw, 92px); max-width: 660px; }
.zx-site .zx-h2 { font-size: 52px; }
.zx-site .zx-h2s { font-size: 48px; }
.zx-site .zx-h3 { font-size: 44px; }
.zx-site .zx-h3m { font-size: 32px; }
.zx-site .zx-h3s { font-size: 32px; }
.zx-site .zx-narrow { max-width: 780px; }
.zx-site .zx-h span[style*="underline"] { text-decoration-color: var(--zx-issue) !important; text-decoration-thickness: .16em !important; text-underline-offset: .08em; text-decoration-skip-ink: none; }
.zx-site .zx-lead { font-size: 20px; max-width: 540px; }
.zx-site .zx-lead-sm { font-size: 18px; }
.zx-site .zx-small { font-size: 15px; }
.zx-site .zx-strong { font-weight: 700; }
.zx-site .zx-sources { font-size: 13px; color: #5E584D; padding-block: 24px 40px; }
.zx-site .zx-cap { font-family: "Gill Sans", "Gill Sans MT", Lato, sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.zx-site .zx-label { font-family: "Gill Sans", "Gill Sans MT", Lato, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; --zx-dot: var(--zx-issue); }
.zx-site .zx-label::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--zx-dot); flex: none; }
.zx-dot-g { --zx-dot: var(--zx-green) !important; } .zx-dot-o { --zx-dot: var(--zx-orange) !important; } .zx-dot-y { --zx-dot: var(--zx-yellow) !important; }
.zx-dot-r { --zx-dot: var(--zx-red) !important; } .zx-dot-p { --zx-dot: var(--zx-purple) !important; }
.zx-site .zx-more { font-weight: 700; }

/* ---------- Paigutus ---------- */
.zx-site .wp-block-group > .zx-wrap, .zx-site .zx-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 32px; width: 100%; }
.zx-site .zx-sec { padding-block: 96px; }
.zx-site .zx-sec-top { padding-top: 96px; }
.zx-site .zx-sec-bottom { padding-bottom: 96px; }
.zx-site .zx-gap-top { margin-top: 96px; }
.zx-site .zx-stack { display: flex; flex-direction: column; gap: 20px; }
.zx-site .zx-stack-sm { gap: 8px; }
.zx-site .zx-stack-lg { display: flex; flex-direction: column; gap: 44px; }
.zx-site .zx-split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.zx-site .zx-split > * { flex: 1 1 420px; min-width: 0; }
.zx-site .zx-split.zx-center { align-items: center; }
.zx-site .zx-split.zx-reverse { flex-wrap: wrap-reverse; }
.zx-site .zx-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.zx-site .zx-grid6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 32px 20px; }
.zx-site .zx-gray { background: var(--zx-paper); }
.zx-site .zx-yellow { background: var(--zx-yellow); }

/* ---------- Päis ---------- */
.zx-site .zx-header { border-bottom: 1px solid var(--zx-line); background: #FFFFFF; }
.zx-site .zx-header-in { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-block: 18px; }
.zx-site .zx-logo img { height: 30px; width: auto; }
.zx-site .zx-nav { font-weight: 700; font-size: 15px; gap: 0 28px; }
.zx-site .zx-nav a { text-decoration: none; padding-block: 12px; display: inline-block; color: var(--zx-ink); }
.zx-site .zx-nav .current-menu-item > a, .zx-site .zx-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--zx-issue); }

/* ---------- Hero ---------- */
.zx-site .zx-hero { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; padding-block: 56px 80px; }
.zx-site .zx-hero > * { flex: 1 1 440px; min-width: 0; }
.zx-site .zx-hero-text { gap: 28px; }
.zx-site .zx-hero-img img { width: 100%; max-width: 520px; margin-inline: auto; }

/* ---------- Nupud ---------- */
.zx-site .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.zx-site .wp-block-button.zx-btn .wp-block-button__link, .zx-site .zx-submit { background: var(--zx-ink); color: #FFFFFF; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; padding: 16px 30px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer; display: inline-block; }
.zx-site .wp-block-button.zx-btn .wp-block-button__link:hover, .zx-site .zx-submit:hover { background: #000; color: #FFFFFF; }
.zx-site .wp-block-button.zx-btn-link .wp-block-button__link { background: none; color: var(--zx-ink); padding: 12px 0; font-weight: 700; font-size: 16px; text-decoration: underline; border-radius: 0; }

/* ---------- Jooksuriba ---------- */
.zx-site .zx-tick { background: var(--zx-yellow); transform: rotate(-1.5deg); margin: 0 -40px; padding: 14px 0; white-space: nowrap; overflow: hidden; position: relative; z-index: 1; }
.zx-site .zx-tick-text { font-family: Anton, Impact, sans-serif; font-size: 26px; letter-spacing: .04em; line-height: 1.2; }

/* ---------- Numbririba ---------- */
.zx-site .zx-stats { border-bottom: 2px solid var(--zx-ink); margin-top: 24px; }
.zx-site .zx-stats--top { border-top: 2px solid var(--zx-ink); margin-top: 32px; }
.zx-site .zx-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.zx-site .zx-stat { padding: 32px 24px; border-left: 1px solid var(--zx-line); --zx-bar: var(--zx-issue); }
.zx-site .zx-stat:first-child { border-left: 0; padding-left: 0; }
.zx-site .zx-stat::before { content: ""; display: block; width: 32px; height: 6px; background: var(--zx-bar); margin-bottom: 14px; }
.zx-site .zx-stat .zx-cap { margin-top: 8px; }
.zx-site .zx-stat-num { font-family: Anton, Impact, sans-serif; font-size: 52px; line-height: 1.02; }
.zx-bar-o { --zx-bar: var(--zx-orange) !important; } .zx-bar-g { --zx-bar: var(--zx-green) !important; } .zx-bar-y { --zx-bar: var(--zx-yellow) !important; }
.zx-bar-r { --zx-bar: var(--zx-red) !important; } .zx-bar-p { --zx-bar: var(--zx-purple) !important; }

/* ---------- Kaardid ---------- */
.zx-site .zx-card { background: #FFFFFF; border-radius: 16px; overflow: hidden; padding: 0 28px 32px; display: flex; flex-direction: column; gap: 10px; --zx-bar: var(--zx-issue); }
.zx-site .zx-card::before { content: ""; display: block; height: 10px; background: var(--zx-bar); margin: 0 -28px 18px; }
.zx-site .zx-card .zx-stat-num { font-size: 56px; }

/* ---------- Loendid ---------- */
.zx-site .zx-numlist { list-style: none; padding: 0; border-top: 2px solid var(--zx-ink); counter-reset: zx; }
.zx-site .zx-numlist li { counter-increment: zx; position: relative; padding: 24px 0 24px 76px; border-bottom: 1px solid var(--zx-line); font-size: 16px; min-height: 100px; }
.zx-site .zx-numlist li strong { font-size: 19px; font-weight: 900; display: inline-block; margin-bottom: 4px; }
.zx-site .zx-numlist li::before { content: counter(zx); position: absolute; left: 0; top: 24px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: Anton, Impact, sans-serif; font-size: 24px; background: var(--zx-yellow); }
.zx-site .zx-numlist li:nth-child(4n+2)::before { background: var(--zx-orange); }
.zx-site .zx-numlist li:nth-child(4n+3)::before { background: var(--zx-green); }
.zx-site .zx-numlist li:nth-child(4n+4)::before { background: var(--zx-red); color: #FFFFFF; }
.zx-site .zx-spec { list-style: none; padding: 0; border-top: 2px solid var(--zx-ink); font-size: 16px; }
.zx-site .zx-spec li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--zx-line); text-align: right; }
.zx-site .zx-spec li strong { font-weight: 700; text-align: left; }
.zx-site .zx-spec li:last-child { border-bottom: 0; }
.zx-site .zx-spec-box { background: #FFFFFF; border: 0; border-radius: 8px; padding: 4px 20px; }
.zx-site .zx-spec-box li strong { font-weight: 400; }
.zx-site code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; background: var(--zx-paper); border: 1px solid var(--zx-line); border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.zx-site .zx-dots { list-style: none; padding: 0; border-top: 2px solid var(--zx-ink); font-size: 16px; }
.zx-site .zx-dots li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--zx-line); }
.zx-site .zx-dots li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--zx-yellow); }
.zx-site .zx-dots li:nth-child(5n+2)::before { background: var(--zx-orange); }
.zx-site .zx-dots li:nth-child(5n+3)::before { background: var(--zx-green); }
.zx-site .zx-dots li:nth-child(5n+4)::before { background: var(--zx-purple); }
.zx-site .zx-dots li:nth-child(5n+5)::before { background: var(--zx-red); }
.zx-site .zx-tips li { padding-block: 22px; }
.zx-site .zx-tips li::before { top: 30px; }
.zx-site .zx-tips li strong { font-size: 18px; font-weight: 900; }
.zx-site .zx-check { list-style: none; padding: 0; border-top: 2px solid var(--zx-ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 48px; font-size: 16px; }
.zx-site .zx-check li { position: relative; padding: 18px 0 18px 36px; border-bottom: 1px solid var(--zx-line); }
.zx-site .zx-check li::before { content: ""; position: absolute; left: 0; top: 20px; width: 22px; height: 22px; background: var(--zx-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Pildid ---------- */
.zx-site .zx-photos { padding-top: 80px; }
.zx-site .zx-photo img { width: 100%; }
.zx-site .zx-rounded img { border-radius: 8px; width: 100%; }
.zx-site .zx-side-img img { width: 100%; max-width: 520px; }

/* ---------- Koolid ---------- */
.zx-site .zx-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 48px; align-items: start; }
.zx-site .zx-linn { --zx-line-c: var(--zx-issue); }
.zx-site .zx-linn-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 4px solid var(--zx-line-c); }
.zx-site .zx-linn-head .zx-cap { letter-spacing: .18em; }
.zx-line-p { --zx-line-c: var(--zx-purple) !important; } .zx-line-o { --zx-line-c: var(--zx-orange) !important; } .zx-line-g { --zx-line-c: var(--zx-green) !important; }
.zx-line-y { --zx-line-c: var(--zx-yellow) !important; } .zx-line-r { --zx-line-c: var(--zx-red) !important; }
.zx-site .zx-schools { list-style: none; padding: 0; font-size: 16px; }
.zx-site .zx-schools li { padding: 9px 0; border-bottom: 1px solid var(--zx-line); }

/* ---------- Üleskutse ---------- */
.zx-site .zx-cta { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-block: 64px; }
.zx-site .zx-cta > .zx-stack { flex: 1 1 420px; min-width: 0; }
.zx-site .zx-cta .zx-h2 { font-size: 48px; }

/* ---------- Reklaampinnad ---------- */
.zx-site .zx-adpage { display: flex; flex-direction: column; gap: 12px; }
.zx-site .zx-adname { font-size: 14px; line-height: 1.45; }
.zx-site .zx-adname strong { font-size: 15px; font-weight: 900; }
.zx-site .zx-sheet { aspect-ratio: 205 / 297; border: 2px solid var(--zx-ink); border-radius: 4px; background: #FFFFFF; position: relative; overflow: hidden; }
.zx-site .zx-sheet::before, .zx-site .zx-sheet::after { content: ""; position: absolute; left: 8px; right: 8px; }
.zx-site .zx-sheet--cover::before { top: 8px; height: 12%; background: var(--zx-ink); }
.zx-site .zx-sheet--cover::after { top: calc(12% + 14px); bottom: 8px; background: var(--zx-yellow); }
.zx-site .zx-sheet--back::before { top: 8px; bottom: calc(12% + 14px); background: var(--zx-purple); }
.zx-site .zx-sheet--back::after { bottom: 8px; height: 12%; background: var(--zx-ink); }
.zx-site .zx-sheet--full-p { background: var(--zx-purple); }
.zx-site .zx-sheet--full-y { background: var(--zx-yellow); }
.zx-site .zx-sheet--content { background-color: #FFFFFF; background-image: linear-gradient(var(--zx-line) 1px, transparent 1px), linear-gradient(90deg, var(--zx-line) 1px, transparent 1px); background-size: 10px 10px; }
.zx-site .zx-sheet--content::after { bottom: 8px; height: 20%; background: var(--zx-yellow); }
.zx-site .zx-sheet--half-p::after { bottom: 8px; height: 48%; background: var(--zx-purple); }

/* ---------- Partnerid ---------- */
.zx-site .zx-partners { border-top: 1px solid var(--zx-line); }
.zx-site .zx-logos { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-block: 40px; }
.zx-site .zx-logos-title { flex: 1 0 100%; }
.zx-site .zx-logo-img img { height: 96px; width: auto; }

/* ---------- Vorm ---------- */
.zx-site .zx-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 24px; }
.zx-site .zx-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.zx-site .zx-form-full { grid-column: 1 / -1; }
.zx-site .zx-in { width: 100%; font: inherit; font-size: 17px; font-weight: 400; padding: 14px 16px; border: 2px solid var(--zx-ink); border-radius: 4px; background: #FFFFFF; color: var(--zx-ink); }
.zx-site .zx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.zx-site .zx-notice { grid-column: 1 / -1; padding: 14px 18px; border-radius: 4px; font-weight: 700; background: #FFFFFF; border: 2px solid var(--zx-ink); }
.zx-site .zx-notice--bad { border-color: var(--zx-red); }

/* ---------- Kujundusjuhised ---------- */
.zx-site .zx-qcard { border: 2px solid var(--zx-ink); border-radius: 16px; overflow: hidden; }
.zx-site .zx-qcard-head { background: var(--zx-ink); color: #FFFFFF; padding: 16px 24px; font-family: "Gill Sans", "Gill Sans MT", Lato, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.zx-site .zx-qlist { list-style: none; padding: 4px 24px 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: 14px; }
.zx-site .zx-qlist li { padding: 16px 0; border-bottom: 1px solid var(--zx-line); }
.zx-site .zx-qlist li strong { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 4px; }
.zx-site .zx-acc { border-top: 2px solid var(--zx-ink); }
.zx-site .zx-acc-item { border-bottom: 1px solid #C9C2B4; font-size: 16px; }
.zx-site .zx-acc-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-family: Anton, Impact, sans-serif; font-size: 28px; line-height: 1.1; }
.zx-site .zx-acc-item summary::-webkit-details-marker { display: none; }
.zx-site .zx-acc-item summary::after { content: "+"; font-size: 32px; }
.zx-site .zx-acc-item[open] summary::after { content: "–"; }
.zx-site .zx-acc-item > :not(summary) { margin-bottom: 14px; }
.zx-site .zx-acc-item > :last-child { margin-bottom: 28px; }
.zx-site .zx-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.zx-site .zx-barrow { display: flex; gap: 8px; align-items: center; }
.zx-site .zx-barlabel { width: 120px; flex: none; font-weight: 700; font-size: 15px; }
.zx-site .zx-barcells { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.zx-site .zx-cell { border-radius: 4px; padding: 8px 12px; font-family: Anton, Impact, sans-serif; font-size: 20px; line-height: 1.2; }
.zx-site .zx-cell-y { background: var(--zx-yellow); }
.zx-site .zx-cell-p { background: var(--zx-purple); color: #FFFFFF; }

/* ---------- Parooliga leht ---------- */
.zx-site .zx-pass { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; padding-block: 96px 120px; }
.zx-site .zx-pass > * { flex: 1 1 380px; min-width: 0; }
.zx-site .zx-pass-form { display: flex; flex-direction: column; gap: 16px; border: 2px solid var(--zx-ink); border-radius: 16px; padding: 32px; }
.zx-site .zx-pass-form label { font-weight: 700; font-size: 15px; }
.zx-site .zx-pass-form .zx-submit { align-self: flex-start; }

/* ---------- Jalus ---------- */
.zx-site .zx-footer { background: var(--zx-ink); color: #FFFFFF; }
.zx-site .zx-footer a { color: #FFFFFF; }
.zx-site .zx-footer-in { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; padding-block: 56px 32px; font-size: 15px; }
.zx-site .zx-footer-main { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; color: #DAD5CB; max-width: 520px; }
.zx-site .zx-footer-logo img { width: 150px; }
.zx-site .zx-footer-links { display: flex; flex-direction: column; gap: 8px; }
.zx-site .zx-footer-bottom { padding-block: 20px 32px; border-top: 1px solid #3A352C; font-size: 13px; color: #BDB6A8; }

/* ---------- Telefon ---------- */
@media (max-width: 600px) {
	.zx-site { font-size: 16px; }
	.zx-site .zx-wrap { padding-inline: 20px; }
	.zx-site .zx-h2, .zx-site .zx-h2s, .zx-site .zx-cta .zx-h2 { font-size: 40px; }
	.zx-site .zx-sec { padding-block: 72px; }
	.zx-site .zx-stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--zx-line); }
	.zx-site .zx-stat:first-child { border-top: 0; }
	.zx-site .zx-qlist { grid-template-columns: 1fr; }
}
.zx-site .zx-pass .zx-h1 { font-size: clamp(44px, 5vw, 72px); hyphens: manual; }
