/*
Theme Name: EduPress KZ
Description: Официальные сайты детских садов Казахстана. Два языка, гибкие макеты, документы, коллектив, группы, питание и обращения родителей без платных расширений.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Author: EduPress KZ
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edupress-kz
Tags: education, custom-logo, custom-menu, featured-images, wide-blocks, block-patterns, editor-style, two-columns
*/
:root{--brand:#176457;--accent:#e5ad46;--ink:#203a33;--muted:#5c6c65;--paper:#fcfcf7;--mint:#edf4ee;--line:#dbe3dc;--site-width:1200px;--base-size:17px;--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:var(--base-size);line-height:1.65;overflow-wrap:anywhere}body.large-text{font-size:calc(var(--base-size) * 1.2)}a{color:var(--brand);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}img,video,iframe{max-width:100%;height:auto}figure{margin:0 0 1.5em}img{vertical-align:middle}h1,h2,h3,h4{line-height:1.17;letter-spacing:-.035em;margin:0 0 .6em}h1{font-size:clamp(2.2rem,4.8vw,4.2rem);font-weight:650}h2{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:650}h3{font-size:1.25em;font-weight:650}p{margin:0 0 1em}.container{width:min(var(--site-width),calc(100% - 64px));margin:auto}.utility-bar{background:var(--brand);color:white;font-size:.74em}.utility-inner{display:flex;align-items:center;justify-content:space-between;min-height:40px;gap:15px}.utility-inner>div{display:flex;align-items:center;gap:22px}.accessibility-toggle{border:0;background:transparent;color:white;padding:7px;text-decoration:underline}.languages{display:flex;gap:5px}.languages a{color:white;text-decoration:none;padding:4px 9px;border-radius:5px}.languages a[aria-current]{background:#ffffff26;font-weight:700}.site-header{background:#fcfcf7f5;border-bottom:1px solid var(--line);z-index:50}.epk-sticky .site-header{position:sticky;top:0;backdrop-filter:blur(15px)}.admin-bar.epk-sticky .site-header{top:32px}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:104px}.branding{display:flex;align-items:center;gap:14px;max-width:440px}.brand-mark{background:var(--accent);color:var(--brand);font-size:45px;border-radius:20px;width:62px;height:62px;display:grid;place-items:center;text-decoration:none;flex-shrink:0}.site-title{text-decoration:none;color:var(--ink);font-weight:750;font-size:1.2em;line-height:1.2;display:block}.site-tagline{font-size:.67em;color:var(--muted);margin:5px 0 0}.custom-logo{max-width:110px;max-height:75px;width:auto;object-fit:contain}.menu{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px 18px}.menu li{position:relative}.menu a{color:var(--ink);text-decoration:none;font-size:.82em;font-weight:550;display:inline-block;padding:10px 0}.menu a:hover,.menu .current-menu-item>a{color:var(--brand);text-decoration:underline}.sub-menu{display:none;list-style:none;position:absolute;left:0;top:100%;min-width:235px;padding:12px 18px;background:white;box-shadow:0 15px 35px #183a3320;border:1px solid var(--line);border-radius:12px;z-index:60}.sub-menu .sub-menu{top:0;left:100%}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu,.menu .submenu-open>.sub-menu{display:block}.submenu-toggle{border:0;background:transparent;color:var(--brand);min-width:30px;min-height:42px}.menu-toggle{display:none;border:1px solid var(--line);border-radius:8px;background:white;padding:10px 15px}.epk-header-centered .header-inner{flex-direction:column;padding:20px 0;gap:12px}.hero{background:linear-gradient(115deg,#f1f4e8,#edf4ee 65%,#e4eee2);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:60px;align-items:center;padding-top:72px;padding-bottom:76px;min-height:610px}.eyebrow{font-size:.71em;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);font-weight:700;margin-bottom:22px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--brand);margin-right:8px}.hero h1{max-width:620px}.hero-description{color:var(--muted);font-size:1.06em;max-width:520px;margin-top:25px}.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:30px 0}.button,.wp-block-button__link,input[type=submit]{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--brand);color:white;border-radius:9px;padding:13px 22px;font-size:.85em;font-weight:650;text-decoration:none;line-height:1.4;min-height:46px}.button:hover{filter:brightness(.9);color:white}.button.secondary{background:transparent;color:var(--brand);border-color:var(--brand)}.text-link{font-size:.83em;font-weight:650;text-decoration:none}.text-link:hover{text-decoration:underline}.hero-note{font-size:.7em;color:var(--muted);border-top:1px solid #bdcdc0;padding-top:18px;margin-bottom:0;max-width:480px}.hero-visual{position:relative;padding:0 0 25px}.hero-photo{width:100%;height:430px;object-fit:cover;border-radius:120px 24px 100px 24px}.hero-badge{position:absolute;bottom:0;left:20px;right:20px;background:white;border:1px solid var(--line);padding:17px 22px;border-radius:14px;box-shadow:0 12px 24px #203a3310;font-size:.78em;font-weight:650;display:flex;align-items:center;gap:14px}.hero-badge span{font-size:28px;color:var(--brand)}.garden-art{height:420px;background:#d4e5d8;border-radius:120px 24px 100px 24px;position:relative;overflow:hidden}.art-sun{width:105px;height:105px;background:#efc65e;border-radius:50%;position:absolute;right:55px;top:42px;box-shadow:0 0 0 18px #efc65e25}.art-cloud{width:100px;height:30px;background:#fff9;position:absolute;top:80px;left:55px;border-radius:30px}.art-cloud:before{content:"";position:absolute;width:50px;height:50px;border-radius:50%;background:#fff9;top:-25px;left:23px}.art-house{position:absolute;bottom:58px;left:17%;width:62%;height:185px;background:#faf4df;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:30px 45px;z-index:3}.art-house:before{content:"";position:absolute;left:-12%;top:-67px;width:124%;height:80px;background:#b56845;clip-path:polygon(50% 0,100% 85%,100% 100%,0 100%,0 85%)}.art-house i{background:#78a99c;border-radius:24px 24px 4px 4px;border:5px solid #e4d5aa}.art-ground{position:absolute;height:100px;bottom:-20px;left:-10%;width:120%;border-radius:50% 50% 0 0;background:#95b794;z-index:4}.art-tree{position:absolute;bottom:55px;right:30px;width:18px;height:140px;background:#997349;z-index:5}.art-tree:before{content:"";width:95px;height:125px;background:#4c8568;position:absolute;bottom:55px;left:-40px;border-radius:50%}.art-flower{position:absolute;bottom:27px;left:40px;color:#faf2cf;font-size:70px;z-index:5}.home-section{padding:72px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:12px}.quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.quick-card{padding:24px;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);text-decoration:none;background:white;position:relative;min-height:175px}.quick-card>span{font-size:.72em;color:var(--muted);display:block;margin-bottom:25px}.quick-card h3{max-width:85%;font-size:1em}.quick-card b{position:absolute;right:22px;bottom:22px;color:var(--brand)}.quick-card:hover{background:var(--mint);border-color:var(--brand)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-body{padding:26px}.card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--mint)}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.card-image:hover img{transform:scale(1.03)}.card h3 a{color:var(--ink);text-decoration:none}.card h3 a:hover{text-decoration:underline}.card .eyebrow{font-size:.63em;margin-bottom:12px}.excerpt{font-size:.86em;color:var(--muted)}.section-announcements,.section-groups,.section-meals{background:#f0f4ed}.download{display:flex;justify-content:space-between;gap:15px;font-size:.78em;font-weight:650;border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.download span{color:var(--muted);font-size:.85em;white-space:nowrap}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}.section-contacts{background:#e9f0e7}.contact-list dt,.details dt{font-size:.75em;color:var(--muted)}.contact-list dd,.details dd{margin:3px 0 18px}.form-card{padding:32px}.form-card h3{font-size:1.5em;margin-bottom:25px}label{display:block;font-size:.83em;font-weight:550}input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),textarea,select{width:100%;min-height:45px;padding:10px 13px;border:1px solid #aebfb4;background:white;color:var(--ink);border-radius:7px;margin:7px 0 17px}textarea{resize:vertical}.consent{display:flex;align-items:start;gap:10px;font-size:.72em}.consent input{margin-top:6px;flex-shrink:0}.muted{color:var(--muted);font-size:.73em}.epk-feedback .button{width:100%}.epk-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.faq{padding:22px 0;border-bottom:1px solid var(--line)}.faq summary{font-weight:650;cursor:pointer}.faq>div{padding:20px 0 0}.site-footer{background:#173f35;color:#e7efe8;padding:55px 0;font-size:.85em}.site-footer a{color:#e7efe8}.footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:50px}.footer-title{font-size:1.25em;font-weight:700}.site-footer ul{padding-left:20px;margin-top:0}.search-form>div{display:flex;align-items:center;gap:8px}.search-form input[type=search]{margin-bottom:0}.search-form button{margin-top:7px}.page-shell{padding-top:55px;padding-bottom:80px;min-height:55vh}.page-shell>h1{margin-bottom:35px}.content-layout.narrow{max-width:800px;margin:auto}.content-layout.sidebar{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:50px}.entry-content{line-height:1.8}.entry-content:after{content:"";display:block;clear:both}.entry-content h2,.entry-content h3{margin-top:1.5em}.entry-content img{border-radius:12px}.entry-image{display:block;max-height:560px;width:auto;margin-bottom:30px;border-radius:var(--radius)}.entry-content .alignwide{max-width:100%}.alignleft{float:left;margin:0 25px 20px 0}.alignright{float:right;margin:0 0 20px 25px}.aligncenter{display:block;margin:auto}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:.8em;color:var(--muted)}.sticky{border-color:var(--brand)}.bypostauthor{border-left:3px solid var(--brand);padding-left:15px}table{width:100%;border-collapse:collapse}th,td{border:1px solid var(--line);padding:12px;text-align:left}.wp-block-table{overflow-x:auto}.entry-content>table{display:block;overflow-x:auto}.breadcrumbs{font-size:.75em;margin-bottom:30px;color:var(--muted)}.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}.details:empty{display:none}.archive-filters{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:30px}.archive-filters label{min-width:200px}.pagination{margin-top:40px}.page-numbers{display:inline-block;padding:8px 14px}.page-numbers.current{background:var(--brand);color:white;border-radius:7px}.notice{background:var(--mint);padding:15px;border-left:3px solid var(--brand)}.widget{padding:24px;margin-bottom:20px}.widget h2{font-size:1.2em}.skip-link{position:fixed;top:-100px;left:20px;z-index:1000;background:white;padding:15px}.skip-link:focus{top:10px}:focus-visible{outline:3px solid #b16419;outline-offset:4px}.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.empty{color:var(--muted)}
@media(min-width:1000px){.header-inner>.primary-navigation{max-width:64%}.epk-header-centered .header-inner>.primary-navigation{max-width:100%}}
@media(max-width:1100px){.header-inner{gap:15px}.menu{gap:3px 12px}.hero-grid{gap:30px}.hero h1{font-size:3.3rem}.branding{max-width:300px}.contact-grid{gap:35px}}
@media(max-width:900px){.container{width:calc(100% - 40px)}.utility-inner>span{font-size:.85em}.header-inner{min-height:90px;flex-wrap:wrap;padding:15px 0}.branding{max-width:75%}.menu-toggle{display:block}.primary-navigation{display:none;flex-basis:100%;width:100%}.primary-navigation.is-open{display:block}.primary-navigation .menu{display:block}.menu a{font-size:.95em;padding:12px 0}.sub-menu,.sub-menu .sub-menu{position:static;box-shadow:none;margin-left:15px;border:0;border-left:2px solid var(--line);border-radius:0}.menu li:hover>.sub-menu{display:none}.menu li:focus-within>.sub-menu,.menu .submenu-open>.sub-menu{display:block}.epk-header-centered .header-inner{flex-direction:row}.hero-grid{grid-template-columns:1fr 1fr;padding:50px 0;min-height:0;gap:25px}.hero h1{font-size:2.7rem}.hero-description{font-size:.9em}.hero-actions{gap:18px}.garden-art{height:340px}.art-house{padding:25px;height:145px}.art-sun{width:70px;height:70px;right:25px}.art-tree{right:15px}.art-cloud{left:25px}.hero-photo{height:340px}.hero-badge{left:5px;right:5px;padding:12px;font-size:.65em}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section{padding:50px 0}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:last-child{grid-column:1/-1}.content-layout.sidebar{grid-template-columns:minmax(0,1fr) 240px;gap:25px}}
@media(max-width:600px){.container{width:calc(100% - 32px)}.utility-inner{min-height:42px}.utility-inner>span{display:none}.utility-inner>div{justify-content:space-between;width:100%}.site-title{font-size:1em}.site-tagline{font-size:.61em}.brand-mark{height:48px;width:48px;font-size:34px;border-radius:14px}.custom-logo{max-width:65px;max-height:60px}.branding{gap:10px}.hero-grid{grid-template-columns:1fr;padding:42px 0 35px;gap:35px}.hero h1{font-size:2.7rem}.hero-description{max-width:100%}.hero-visual{max-width:440px;width:100%;margin:auto}.hero-photo,.garden-art{height:330px}.eyebrow{font-size:.66em}.section-heading{align-items:start;gap:15px;flex-direction:column}.cards{grid-template-columns:1fr}.quick-links{gap:12px}.quick-card{padding:18px;min-height:165px}.quick-card h3{font-size:.87em}.quick-card b{right:15px;bottom:15px}.home-section{padding:40px 0}.contact-grid{grid-template-columns:1fr;gap:30px}.form-card{padding:24px}.footer-grid{grid-template-columns:1fr;gap:25px}.footer-grid>div:last-child{grid-column:auto}.content-layout.sidebar{grid-template-columns:1fr}.details{grid-template-columns:1fr}.page-shell{padding-top:35px;padding-bottom:50px}.admin-bar.epk-sticky .site-header{top:0}.entry-content .wp-block-columns{flex-wrap:wrap!important}.entry-content .wp-block-column{flex-basis:100%!important}.archive-filters{display:block}.archive-filters .button{width:100%}.search-form>div{gap:6px}.search-form .button{padding:12px}.site-footer{padding:35px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.utility-bar,.site-header,.site-footer,.epk-feedback,.menu-toggle,.sidebar{display:none!important}body{background:white;color:black;font-size:12pt}.container{width:100%}.page-shell,.home-section{padding:10px 0}a{color:black}.card{break-inside:avoid}.hero-grid{display:block}.hero-visual{display:none}}
