/*
Theme Name: ExamZilla
Theme URI: https://examzillaprep.com
Author: ExamZilla Prep
Description: The ExamZilla Prep brand theme: Bricolage Grotesque and DM Sans, the ink, paper, lavender, teal and yellow palette, thick outlines, hard shadows and the kaiju logo. Includes a Blank Canvas template for pasting full ExamZilla HTML pages, a Full Width template, branded blog and lesson posts, block styles and block patterns.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: examzilla
Tags: custom-logo, custom-menu, featured-images, full-width-template, block-styles, block-patterns, editor-style, wide-blocks, blog, education
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root{
  --zt-ink:#1B1B1F; --zt-paper:#F6F3EE; --zt-lav:#CFC4DE; --zt-teal:#1A7570; --zt-yel:#F2E25C;
  --zt-coral:#E4572E; --zt-white:#FFFFFF; --zt-body:#33333A; --zt-muted:#55555D; --zt-line:#D8D3DC;
  --zt-display:"Bricolage Grotesque","Arial Black",sans-serif;
  --zt-sans:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --zt-wrap:1280px; --zt-narrow:760px; --zt-wide:1100px; --zt-gutter:24px;
}

/* ==========================================================================
   2. Base (kept low-specificity so pasted ExamZilla HTML pages win)
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.zt{margin:0;background:var(--zt-paper);color:var(--zt-ink);font-family:var(--zt-sans);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:where(body.zt) img{max-width:100%;height:auto}
:where(body.zt) a{color:inherit}
:where(body.zt) :focus-visible{outline:3px solid var(--zt-teal);outline-offset:3px}
.zt-wrap{max-width:var(--zt-wrap);margin:0 auto;padding-left:var(--zt-gutter);padding-right:var(--zt-gutter)}
.zt-narrow{max-width:calc(var(--zt-narrow) + 2 * var(--zt-gutter));margin:0 auto;padding-left:var(--zt-gutter);padding-right:var(--zt-gutter)}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:var(--zt-yel);clip:auto!important;clip-path:none;color:var(--zt-ink);display:block;font-weight:700;height:auto;left:12px;padding:12px 18px;top:12px;width:auto;z-index:100000;border:3px solid var(--zt-ink);border-radius:10px;text-decoration:none}

/* ==========================================================================
   3. Brand pieces (pills, highlight, buttons)
   ========================================================================== */
.zt-pill{display:inline-block;background:var(--zt-lav);border:3px solid var(--zt-ink);border-radius:999px;padding:5px 15px;font-family:var(--zt-sans);font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;line-height:1.3;color:var(--zt-ink);text-decoration:none;transform:rotate(-2deg)}
.zt-pill.yel{background:var(--zt-yel)}
.zt-pill.white{background:var(--zt-white)}
a.zt-pill:hover{background:var(--zt-yel)}
.zt-mark,:where(.zt-prose) mark{background:var(--zt-yel);color:var(--zt-ink);border:3px solid var(--zt-ink);border-radius:12px;padding:0 .3em;-webkit-box-decoration-break:clone;box-decoration-break:clone}

.zt-btn,
:where(.zt-prose,.zt-cta,.zt-404) .wp-block-button__link,
:where(.zt-prose,.zt-cta,.zt-404) .wp-element-button{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:14px 26px;
  border:3px solid var(--zt-ink);border-radius:12px;box-shadow:6px 6px 0 var(--zt-ink);
  font-family:var(--zt-sans);font-weight:700;font-size:18px;line-height:1.2;text-decoration:none;text-transform:none;letter-spacing:normal;
  color:var(--zt-ink);background:var(--zt-yel);cursor:pointer;transition:transform .12s ease,box-shadow .12s ease;text-align:center
}
.zt-btn:hover,:where(.zt-prose,.zt-cta,.zt-404) .wp-block-button__link:hover,:where(.zt-prose,.zt-cta,.zt-404) .wp-element-button:hover{transform:translate(3px,3px);box-shadow:3px 3px 0 var(--zt-ink);color:var(--zt-ink)}
.zt-btn:active,:where(.zt-prose,.zt-cta,.zt-404) .wp-block-button__link:active{transform:translate(6px,6px);box-shadow:0 0 0 var(--zt-ink)}
.zt-btn.paper,:where(.zt-prose) .is-style-zt-paper .wp-block-button__link{background:var(--zt-paper)}
.zt-btn.dark,:where(.zt-prose,.zt-cta) .is-style-zt-dark .wp-block-button__link{background:var(--zt-ink);color:var(--zt-paper);box-shadow:5px 5px 0 var(--zt-yel)}
.zt-btn.dark:hover,:where(.zt-prose,.zt-cta) .is-style-zt-dark .wp-block-button__link:hover{color:var(--zt-paper);box-shadow:2px 2px 0 var(--zt-yel)}
.zt-btn.sm{min-height:44px;padding:9px 18px;font-size:16px;border-radius:10px}
:where(.zt-prose) .is-style-outline .wp-block-button__link{background:transparent}

/* ==========================================================================
   4. Header
   ========================================================================== */
.zt-header{position:relative;z-index:50;background:var(--zt-paper);border-bottom:2px dashed rgba(27,27,31,.22)}
.zt-header-in{display:flex;align-items:center;gap:24px;padding-top:18px;padding-bottom:18px}
.zt-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--zt-ink);flex:none}
.zt-logo-mark{display:block;flex:none;width:50px;height:50px;border-radius:14px;border:3px solid var(--zt-ink);background:var(--zt-yel);overflow:hidden;position:relative;transform:rotate(-4deg)}
.zt-logo-mark img{position:absolute;width:210%;max-width:none;height:auto;left:-62%;top:-4%}
.zt-logo-text{font-family:var(--zt-display);font-weight:800;font-size:26px;letter-spacing:-.02em;line-height:1}
.zt-logo-badge{font-family:var(--zt-sans);font-weight:700;font-size:11px;letter-spacing:.1em;text-transform:uppercase;background:var(--zt-ink);color:var(--zt-yel);border-radius:6px;padding:3px 7px;line-height:1}
.zt-logo .custom-logo{display:block;max-height:56px;width:auto}
.zt-nav{margin-left:auto}
.zt-nav ul{list-style:none;margin:0;padding:0}
.zt-menu{display:flex;align-items:center;gap:6px 26px;flex-wrap:wrap}
.zt-menu > li{position:relative}
.zt-menu a{display:block;padding:8px 0;font-weight:500;font-size:16px;text-decoration:none;color:var(--zt-ink)}
.zt-menu a:hover{color:var(--zt-teal)}
.zt-menu > .current-menu-item > a,.zt-menu > .current-menu-ancestor > a,.zt-menu > .current_page_item > a{text-decoration:underline;text-decoration-color:var(--zt-yel);text-decoration-thickness:5px;text-underline-offset:6px}
.zt-menu .sub-menu{position:absolute;left:-16px;top:100%;min-width:220px;background:var(--zt-white);border:3px solid var(--zt-ink);border-radius:14px;box-shadow:6px 6px 0 var(--zt-ink);padding:8px 16px;display:none;z-index:60}
.zt-menu li:hover > .sub-menu,.zt-menu li:focus-within > .sub-menu{display:block}
.zt-menu .sub-menu a{padding:8px 0;font-size:15.5px}
.zt-cta-btn{flex:none}
.zt-nav + .zt-cta-btn{margin-left:4px}
.zt-toggle{display:none;margin-left:auto;align-items:center;gap:8px;background:var(--zt-white);border:3px solid var(--zt-ink);border-radius:10px;box-shadow:3px 3px 0 var(--zt-ink);padding:8px 12px;font:700 15px/1 var(--zt-sans);color:var(--zt-ink);cursor:pointer}
.zt-toggle-bars{display:grid;gap:4px}
.zt-toggle-bars i{display:block;width:20px;height:3px;background:var(--zt-ink);border-radius:2px}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.zt-footer{background:var(--zt-ink);color:#D9D5DF;padding:64px 0 40px;font-size:15px;line-height:1.6}
.zt-footer a{color:#D9D5DF;text-decoration:none}
.zt-footer a:hover{color:var(--zt-yel)}
.zt-foot-top{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between;padding-bottom:40px;border-bottom:1px solid #3A3A42}
.zt-foot-brand{display:flex;flex-direction:column;gap:14px;max-width:320px}
.zt-foot-brand .zt-logo{color:var(--zt-paper)}
.zt-foot-brand p{margin:0}
.zt-foot-cols{display:flex;flex-wrap:wrap;gap:56px}
.zt-foot-col h2{font-family:var(--zt-sans);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--zt-yel);margin:0 0 14px}
.zt-foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.zt-foot-col .sub-menu{display:none}
.zt-foot-bottom{padding-top:28px;display:flex;flex-direction:column;gap:10px;color:#A9A4B0;font-size:14px}
.zt-foot-bottom p{margin:0}

/* ==========================================================================
   6. Page and post headers
   ========================================================================== */
.zt-main{display:block;overflow-x:clip}
.zt-head{padding-top:56px;padding-bottom:36px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.zt-head h1,.zt-title{font-family:var(--zt-display);font-weight:800;font-size:clamp(40px,5.6vw,72px);line-height:1;letter-spacing:-.035em;margin:0;color:var(--zt-ink)}
.zt-lede{font-size:clamp(18px,1.6vw,21px);line-height:1.55;color:var(--zt-body);max-width:44rem;margin:0}
.zt-lede p{margin:0}
.zt-meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:15px;color:var(--zt-muted);align-items:center}
.zt-meta b{color:var(--zt-ink)}
.zt-hero-img{margin:8px 0 0;width:100%}
.zt-hero-img img{display:block;width:100%;height:auto;border:3px solid var(--zt-ink);border-radius:20px;box-shadow:10px 10px 0 var(--zt-ink)}

/* ==========================================================================
   7. Prose (post and page content)
   ========================================================================== */
.zt-prose{padding-bottom:88px}
.zt-prose > *{max-width:var(--zt-narrow);margin-left:auto;margin-right:auto}
.zt-prose > .alignwide{max-width:var(--zt-wide)}
.zt-prose > .alignfull{max-width:none;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
:where(.zt-prose) :where(p,ul,ol,dl,blockquote,figure,table,pre,hr){margin-top:0;margin-bottom:1.25em}
:where(.zt-prose) :where(h1,h2,h3,h4,h5,h6){font-family:var(--zt-display);font-weight:800;color:var(--zt-ink);letter-spacing:-.02em;line-height:1.12;margin:1.6em 0 .55em}
:where(.zt-prose) :where(h1){font-size:clamp(36px,4.6vw,56px);letter-spacing:-.03em}
:where(.zt-prose) :where(h2){font-size:clamp(30px,3.4vw,42px);letter-spacing:-.025em}
:where(.zt-prose) :where(h3){font-size:clamp(23px,2.2vw,27px)}
:where(.zt-prose) :where(h4){font-size:20px}
:where(.zt-prose) :where(h5,h6){font-size:17px;letter-spacing:0}
:where(.zt-prose) > :where(:first-child){margin-top:0}
:where(.zt-prose) :where(p,li,dd){color:var(--zt-body)}
:where(.zt-prose) :where(strong,b){color:var(--zt-ink)}
:where(.zt-prose) :where(a:not(.wp-block-button__link):not(.wp-element-button):not(.zt-btn):not(.zt-pill)){color:var(--zt-ink);font-weight:500;text-decoration:underline;text-decoration-color:var(--zt-teal);text-decoration-thickness:2px;text-underline-offset:3px}
:where(.zt-prose) :where(a:not(.wp-block-button__link):not(.wp-element-button):not(.zt-btn):not(.zt-pill)):hover{color:var(--zt-teal)}
:where(.zt-prose) :where(ul,ol){padding-left:1.4em}
:where(.zt-prose) :where(li){margin-bottom:.4em}
:where(.zt-prose) :where(ul) > li::marker{color:var(--zt-teal)}
:where(.zt-prose) :where(ol) > li::marker{font-family:var(--zt-display);font-weight:800;color:var(--zt-ink)}
:where(.zt-prose) :where(blockquote:not(.wp-block-pullquote blockquote)){background:var(--zt-white);border:3px solid var(--zt-ink);border-left-width:10px;border-left-color:var(--zt-yel);border-radius:14px;box-shadow:5px 5px 0 var(--zt-ink);padding:18px 22px;font-size:18px}
:where(.zt-prose) :where(blockquote) :where(p:last-child){margin-bottom:0}
:where(.zt-prose) :where(blockquote cite,figcaption,.wp-element-caption){display:block;font-size:14px;color:var(--zt-muted);margin-top:8px;font-style:normal}
:where(.zt-prose) :where(hr,.wp-block-separator){border:0;border-top:3px solid var(--zt-ink);opacity:1;margin:2.4em auto}
:where(.zt-prose) :where(img){border-radius:14px}
:where(.zt-prose) :where(code,kbd){font-size:.9em;background:var(--zt-white);border:2px solid var(--zt-line);border-radius:6px;padding:1px 6px}
:where(.zt-prose) :where(pre){background:var(--zt-ink);color:var(--zt-paper);border-radius:14px;padding:18px 20px;overflow:auto}
:where(.zt-prose) :where(pre code){background:none;border:0;padding:0;color:inherit}
:where(.zt-prose) :where(table){width:100%;border-collapse:collapse;font-size:16px;background:var(--zt-white)}
:where(.zt-prose) :where(.wp-block-table){overflow-x:auto;border:3px solid var(--zt-ink);border-radius:14px;box-shadow:6px 6px 0 var(--zt-ink);background:var(--zt-white)}
:where(.zt-prose) :where(.wp-block-table table){margin:0}
:where(.zt-prose) :where(th,td){padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1.5px solid var(--zt-line)}
:where(.zt-prose) :where(thead th){background:var(--zt-ink);color:var(--zt-paper);font-weight:700;font-size:14px;letter-spacing:.04em;text-transform:uppercase}
:where(.zt-prose) :where(tr:last-child td){border-bottom:0}
:where(.zt-prose) :where(.wp-block-embed){margin-bottom:1.6em}
:where(.zt-prose) :where(.wp-block-embed__wrapper iframe,.wp-block-video video){border:3px solid var(--zt-ink);border-radius:16px;box-shadow:8px 8px 0 var(--zt-ink);background:var(--zt-ink)}
:where(.zt-prose) :where(.wp-block-buttons){display:flex;flex-wrap:wrap;gap:16px;margin-bottom:1.6em}
:where(.zt-prose) :where(.wp-block-pullquote){border:0;padding:0;text-align:left}
:where(.zt-prose) :where(.wp-block-pullquote blockquote){border-left:6px solid var(--zt-yel);padding-left:20px;margin:0}
:where(.zt-prose) :where(.wp-block-pullquote p){font-family:var(--zt-display);font-weight:700;font-size:26px;line-height:1.3;color:var(--zt-ink)}
:where(.zt-prose) :where(.wp-block-details){background:var(--zt-white);border:3px solid var(--zt-ink);border-radius:14px;box-shadow:5px 5px 0 var(--zt-ink);padding:14px 20px;margin-bottom:14px}
:where(.zt-prose) :where(.wp-block-details summary){font-family:var(--zt-display);font-weight:700;font-size:19px;cursor:pointer}
:where(.zt-prose) :where(.wp-block-details[open] summary){margin-bottom:10px}
:where(.zt-prose) :where(.wp-block-columns){gap:28px}
.zt-prose::after{content:"";display:table;clear:both}
/* WordPress block classes need normal specificity to beat the core block styles */
.zt-prose > .wp-block-group,.zt-prose > .wp-block-columns,.zt-prose > .wp-block-buttons,.zt-prose > .wp-block-details,.zt-prose > .wp-block-image,.zt-prose > .wp-block-table,.zt-prose > .wp-block-embed,.zt-prose > .wp-block-quote,.zt-prose > .wp-block-pullquote,.zt-prose > .wp-block-video,.zt-prose > .wp-block-cover,.zt-prose > .wp-block-media-text{margin-top:0;margin-bottom:32px}
.zt-prose > .alignfull{margin-top:40px;margin-bottom:40px}
.zt-prose > .alignfull:first-child{margin-top:0}
.zt-prose .wp-block-quote{background:var(--zt-white);border:3px solid var(--zt-ink);border-left:10px solid var(--zt-yel);border-radius:14px;box-shadow:5px 5px 0 var(--zt-ink);padding:18px 22px;font-size:18px;margin-left:auto;margin-right:auto}
.zt-prose .wp-block-quote > :last-child{margin-bottom:0}
.zt-prose .wp-block-table table{border:0;margin:0}
.zt-prose .wp-block-table thead{border:0}
.zt-prose .wp-block-table th,.zt-prose .wp-block-table td{border:0;border-bottom:1.5px solid var(--zt-line);padding:12px 16px}
.zt-prose .wp-block-table tr:last-child td{border-bottom:0}
.zt-prose .wp-block-separator{border:0;border-top:3px solid var(--zt-ink);opacity:1;margin:2.4em auto;width:100%}
.zt-prose .wp-block-column > :last-child{margin-bottom:0}
.zt-prose .wp-block-columns{margin-bottom:32px}

/* Block styles (pick them in the editor's Styles panel) */
.is-style-zt-card{background:var(--zt-white);border:3px solid var(--zt-ink);border-radius:18px;box-shadow:6px 6px 0 var(--zt-ink);padding:26px 28px}
.is-style-zt-card-yellow{background:var(--zt-yel);border:3px solid var(--zt-ink);border-radius:18px;box-shadow:8px 8px 0 var(--zt-ink);padding:28px 30px}
.is-style-zt-card-lavender{background:var(--zt-lav);border:3px solid var(--zt-ink);border-radius:18px;box-shadow:6px 6px 0 var(--zt-ink);padding:26px 28px}
.is-style-zt-card-dark{background:var(--zt-ink);color:var(--zt-paper);border:3px solid var(--zt-ink);border-radius:18px;box-shadow:8px 8px 0 var(--zt-yel);padding:28px 30px}
.is-style-zt-card-dark :where(p,li,h1,h2,h3,h4,strong){color:var(--zt-paper)}
.is-style-zt-band{padding:64px var(--zt-gutter);border-top:3px solid var(--zt-ink);border-bottom:3px solid var(--zt-ink)}
:where([class*="is-style-zt-card"],.is-style-zt-band) > :where(:first-child){margin-top:0}
:where([class*="is-style-zt-card"],.is-style-zt-band) > :where(:last-child){margin-bottom:0}
.is-style-zt-framed img,img.is-style-zt-framed{border:3px solid var(--zt-ink)!important;border-radius:22px!important;box-shadow:10px 10px 0 var(--zt-ink);transform:rotate(1.5deg)}
.is-style-zt-stage img{background:var(--zt-lav);border:3px solid var(--zt-ink)!important;border-radius:22px!important;box-shadow:8px 8px 0 var(--zt-ink);transform:rotate(1.5deg);padding:16px 16px 0}
.is-style-zt-pill{display:inline-block;background:var(--zt-yel);border:3px solid var(--zt-ink);border-radius:999px;padding:5px 15px!important;font-weight:700;font-size:13px!important;letter-spacing:.06em;text-transform:uppercase;color:var(--zt-ink)!important;transform:rotate(-2deg)}
.zt-prose > .is-style-zt-pill{margin-left:max(0px,calc((100% - var(--zt-narrow)) / 2))}
ul.is-style-zt-checks{list-style:none;padding-left:0}
ul.is-style-zt-checks > li{position:relative;padding-left:34px;margin-bottom:.6em}
ul.is-style-zt-checks > li::before{content:"";position:absolute;left:0;top:.18em;width:22px;height:22px;background:no-repeat center/22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A7570' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E")}
.is-style-zt-highlight{display:inline;background:var(--zt-yel);border:3px solid var(--zt-ink);border-radius:14px;padding:0 .25em;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* ==========================================================================
   8. Blog cards, archives, pagination
   ========================================================================== */
.zt-posts{display:grid;gap:30px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));padding-bottom:40px}
.zt-card{background:var(--zt-white);border:3px solid var(--zt-ink);border-radius:20px;box-shadow:6px 6px 0 var(--zt-ink);overflow:hidden;display:flex;flex-direction:column;transition:transform .12s ease,box-shadow .12s ease}
.zt-card:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 var(--zt-ink)}
.zt-card-img{display:block;aspect-ratio:16/9;background:var(--zt-lav);border-bottom:3px solid var(--zt-ink);overflow:hidden}
.zt-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.zt-card-img.ph{display:flex;align-items:flex-end;justify-content:center}
.zt-card-img.ph img{width:auto;height:92%;object-fit:contain}
.zt-card:nth-child(3n+2) .zt-card-img.ph{background:var(--zt-yel)}
.zt-card:nth-child(3n+3) .zt-card-img.ph{background:#BFD9D5}
.zt-card-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1;align-items:flex-start}
.zt-card h2{font-family:var(--zt-display);font-weight:800;font-size:23px;line-height:1.15;letter-spacing:-.01em;margin:4px 0 0}
.zt-card h2 a{text-decoration:none;color:var(--zt-ink)}
.zt-card h2 a::after{content:"";position:absolute;inset:0}
.zt-card{position:relative}
.zt-card .zt-pill{position:relative;z-index:2}
.zt-card-excerpt{color:var(--zt-body);font-size:15.5px;line-height:1.55}
.zt-card-excerpt p{margin:0}
.zt-card-more{margin-top:auto;font-weight:700;font-size:15px;color:var(--zt-teal)}
.zt-empty{padding:40px 0 96px}
.navigation.pagination{padding:8px 0 96px}
.nav-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.nav-links .page-numbers{display:inline-grid;place-items:center;min-width:46px;height:46px;padding:0 14px;border:3px solid var(--zt-ink);border-radius:12px;background:var(--zt-white);font-weight:700;text-decoration:none;color:var(--zt-ink);box-shadow:3px 3px 0 var(--zt-ink)}
.nav-links .page-numbers.current{background:var(--zt-yel)}
.nav-links .page-numbers.dots{border:0;box-shadow:none;background:none}
.zt-postnav{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:72px}
.zt-postnav a{display:flex;flex-direction:column;gap:4px;background:var(--zt-white);border:3px solid var(--zt-ink);border-radius:16px;box-shadow:5px 5px 0 var(--zt-ink);padding:16px 20px;text-decoration:none;color:var(--zt-ink)}
.zt-postnav a:hover{background:var(--zt-yel)}
.zt-postnav small{font-weight:700;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--zt-muted)}
.zt-postnav b{font-family:var(--zt-display);font-weight:800;font-size:19px;line-height:1.2}
.zt-postnav .next{text-align:right;grid-column:2}
.zt-tags{display:flex;flex-wrap:wrap;gap:10px;margin:0 auto 40px;max-width:var(--zt-narrow)}

/* Call to action box at the end of posts */
.zt-cta{display:flex;flex-wrap:wrap;gap:24px 32px;align-items:center;background:var(--zt-yel);border:3px solid var(--zt-ink);border-radius:22px;box-shadow:10px 10px 0 var(--zt-ink);padding:28px 30px;margin:8px auto 64px;max-width:var(--zt-narrow)}
.zt-cta-copy{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.zt-cta h2{font-family:var(--zt-display);font-weight:800;font-size:clamp(26px,3vw,34px);line-height:1.1;letter-spacing:-.02em;margin:0}
.zt-cta p{margin:0;color:var(--zt-ink)}
.zt-cta .zt-btn{margin-top:8px;background:var(--zt-ink);color:var(--zt-paper);box-shadow:6px 6px 0 var(--zt-white)}
.zt-cta .zt-btn:hover{color:var(--zt-paper);box-shadow:3px 3px 0 var(--zt-white)}
.zt-cta-art{flex:0 0 150px;height:150px;border:3px solid var(--zt-ink);border-radius:20px;background:var(--zt-lav);overflow:hidden;display:flex;align-items:flex-end;justify-content:center;transform:rotate(3deg)}
.zt-cta-art img{width:92%;height:auto;margin-bottom:-3px}

/* ==========================================================================
   9. Search, comments, 404
   ========================================================================== */
.zt-search{display:flex;gap:12px;max-width:560px;width:100%}
.zt-search input[type="search"]{flex:1;min-width:0;min-height:54px;padding:12px 16px;border:3px solid var(--zt-ink);border-radius:12px;background:var(--zt-white);font:500 17px/1.3 var(--zt-sans);color:var(--zt-ink)}
.zt-search button{flex:none;min-height:54px;padding:12px 22px;border:3px solid var(--zt-ink);border-radius:12px;background:var(--zt-yel);box-shadow:4px 4px 0 var(--zt-ink);font:700 17px/1 var(--zt-sans);color:var(--zt-ink);cursor:pointer}
.zt-404{padding:56px 0 110px;display:flex;flex-wrap:wrap;gap:40px 64px;align-items:center}
.zt-404-copy{flex:1 1 460px;display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.zt-404-art{flex:0 1 340px;margin:0 auto;aspect-ratio:1/1;width:100%;max-width:340px;border:3px solid var(--zt-ink);border-radius:26px;box-shadow:10px 10px 0 var(--zt-ink);background:var(--zt-yel);overflow:hidden;display:flex;align-items:flex-end;justify-content:center;transform:rotate(2deg)}
.zt-404-art img{width:88%;height:auto;margin-bottom:-3px}
.zt-comments{max-width:var(--zt-narrow);margin:0 auto;padding-bottom:80px}
.zt-comments h2{font-family:var(--zt-display);font-weight:800;font-size:28px;margin:0 0 18px}
.zt-comments ol{list-style:none;padding:0;margin:0 0 28px}
.zt-comments .children{list-style:none;padding-left:28px}
.zt-comments .comment-body{background:var(--zt-white);border:3px solid var(--zt-ink);border-radius:14px;padding:16px 18px;margin-bottom:14px}
.zt-comments .comment-meta{font-size:14px;color:var(--zt-muted);margin-bottom:6px}
.zt-comments .comment-author{font-weight:700;color:var(--zt-ink)}
.zt-comments .avatar{border-radius:50%;vertical-align:middle;margin-right:8px}
.comment-form label{display:block;font-weight:700;font-size:15px;margin-bottom:6px}
.comment-form input[type="text"],.comment-form input[type="email"],.comment-form input[type="url"],.comment-form textarea{width:100%;padding:12px 14px;border:3px solid var(--zt-ink);border-radius:12px;background:var(--zt-white);font:500 16.5px/1.4 var(--zt-sans);color:var(--zt-ink)}
.comment-form .submit{min-height:52px;padding:12px 24px;border:3px solid var(--zt-ink);border-radius:12px;background:var(--zt-yel);box-shadow:5px 5px 0 var(--zt-ink);font:700 17px/1 var(--zt-sans);cursor:pointer}

/* ==========================================================================
   10. Templates: Full Width and Blank Canvas
   ========================================================================== */
.zt-full .zt-full-content > *{max-width:none}
.zt-canvas-body{margin:0}
.zt-full-content,.zt-canvas-content{display:block}
.zt-full-content > .wp-block-html:first-child,.zt-canvas-content > .wp-block-html:first-child{margin-top:0}

/* ==========================================================================
   11. Phones and small tablets
   ========================================================================== */
@media (max-width: 900px){
  .zt-toggle{display:inline-flex}
  .zt-nav{position:absolute;left:0;right:0;top:100%;background:var(--zt-paper);border-bottom:3px solid var(--zt-ink);box-shadow:0 8px 0 rgba(27,27,31,.08);display:none;margin:0;padding:8px var(--zt-gutter) 20px}
  .zt-header.is-open .zt-nav{display:block}
  .zt-menu{flex-direction:column;align-items:stretch;gap:0}
  .zt-menu > li{border-bottom:1.5px solid var(--zt-line)}
  .zt-menu a{padding:14px 2px;font-size:18px}
  .zt-menu .sub-menu{position:static;display:block;border:0;box-shadow:none;background:none;padding:0 0 8px 16px;min-width:0}
  .zt-nav ~ .zt-cta-btn{display:none}
  .zt-header.is-open .zt-nav .zt-nav-cta{display:block;margin-top:18px}
}
@media (min-width: 901px){ .zt-nav-cta{display:none} }
@media (max-width: 760px){
  :root{--zt-gutter:20px}
  .zt-logo-mark{width:44px;height:44px}
  .zt-logo-text{font-size:23px}
  .zt-head{padding-top:36px;padding-bottom:28px}
  .zt-hero-img img{box-shadow:6px 6px 0 var(--zt-ink)}
  .zt-posts{grid-template-columns:minmax(0,1fr);gap:24px}
  .zt-postnav{grid-template-columns:minmax(0,1fr)}
  .zt-postnav .next{grid-column:1;text-align:left}
  .zt-cta{padding:24px 20px;box-shadow:6px 6px 0 var(--zt-ink)}
  .zt-cta .zt-btn{width:100%}
  .zt-search{flex-direction:column}
  .is-style-zt-card,.is-style-zt-card-lavender{padding:22px 20px}
  .is-style-zt-card-yellow,.is-style-zt-card-dark{padding:24px 20px;box-shadow:6px 6px 0 var(--zt-ink)}
  .is-style-zt-card-dark{box-shadow:6px 6px 0 var(--zt-yel)}
  .is-style-zt-band{padding:48px var(--zt-gutter)}
  .zt-footer{padding-top:48px}
  .zt-foot-cols{gap:32px 44px}
}
@media (prefers-reduced-motion: reduce){ .zt-btn,.zt-card,.wp-block-button__link{transition:none} }
