/*
Theme Name: Alatau
Description: Тема для Инновационного творческого центра учащихся Алатауского района. Двуязычная (RU/KZ), без конструкторов страниц.
Version: 1.1.0
Requires PHP: 7.4
Text Domain: alatau
*/
*{box-sizing:border-box}
body{margin:0;font-family:'Nunito','Noto Sans',Arial,sans-serif;color:#10345C;background:#FBFCFF;line-height:1.5;overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none;font-weight:600}
h1,h2,h3{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px;position:relative}
.narrow{max-width:820px}
.ic{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px}
.ic svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn{display:inline-flex;align-items:center;gap:10px;padding:15px 28px;border-radius:999px;background:#10345C;color:#fff;font-weight:700}
.btn.o,.hero .btn.o{background:#FF6B2C;color:#fff}.btn:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(255,107,44,.35)}.btn{transition:transform .25s,box-shadow .25s}.btn:hover .ic{transform:translateX(5px)}.btn .ic{transition:transform .25s}.btn .ic{width:22px;height:22px}
.ey{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#FF6B2C}
.sec{padding:80px 0;position:relative}.sec.white{background:#fff}
.sec h2,.page-title{font-size:42px;font-weight:800;line-height:1.15;margin:8px 0 0}.center{text-align:center}.sec h2.center{margin:0 0 40px}
.sec-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:32px;gap:12px;flex-wrap:wrap}.more{color:#FF6B2C;font-weight:800}
.chip{display:inline-block;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700}
.chip-w{background:#fff;box-shadow:0 4px 16px rgba(16,52,92,.08);color:#FF6B2C;margin-bottom:20px}
/* шапка */
.hd{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;flex-wrap:wrap}
.site-header{position:relative;z-index:5}
.logo a{display:block}.logo img,.logo .custom-logo{height:52px!important;width:auto!important;max-width:none;display:block}
.nav>ul{display:flex;gap:4px;flex-wrap:wrap;list-style:none;margin:0;padding:6px;background:#fff;border-radius:999px;box-shadow:0 6px 24px rgba(16,52,92,.08)}
.nav li{margin:0;position:relative;list-style:none}.nav a{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;white-space:nowrap;transition:background .2s}.nav a:hover,.nav li:focus-within>a{background:#FFF1E6}
.nav .ic{width:22px;height:22px;flex:0 0 22px;transition:transform .25s}.nav .ic svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav>ul>li:nth-child(6n+1)>a .ic{color:#FF6B2C}.nav>ul>li:nth-child(6n+2)>a .ic{color:#3B82F6}.nav>ul>li:nth-child(6n+3)>a .ic{color:#14B8A6}.nav>ul>li:nth-child(6n+4)>a .ic{color:#9B5CF6}.nav>ul>li:nth-child(6n+5)>a .ic{color:#FF5C8A}.nav>ul>li:nth-child(6n+6)>a .ic{color:#F2A900}
.nav li.current-menu-item>a,.nav li.current-menu-ancestor>a{background:#FFF1E6;font-weight:800}
.nav>ul>li.menu-item-has-children>a:after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);opacity:.55;margin-left:2px;transition:transform .25s}
.nav>ul>li.menu-item-has-children:hover>a:after{transform:rotate(225deg) translateY(-2px)}
.nav ul ul{position:absolute;left:0;top:100%;min-width:340px;margin:8px 0 0;padding:10px;list-style:none;background:#fff;border-radius:22px;box-shadow:0 18px 44px rgba(16,52,92,.18);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .22s,transform .22s,visibility .22s;z-index:20}
.nav ul ul:before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.nav li:hover>ul,.nav li:focus-within>ul{opacity:1;visibility:visible;transform:none}
.nav ul ul a{border-radius:14px;padding:10px 12px;white-space:normal}
.nav ul ul li:nth-child(6n+1) .ic{color:#2F6FE0}.nav ul ul li:nth-child(6n+2) .ic{color:#F2A900}.nav ul ul li:nth-child(6n+3) .ic{color:#F0457A}.nav ul ul li:nth-child(6n+4) .ic{color:#0E9F8F}.nav ul ul li:nth-child(6n+5) .ic{color:#8A52E8}.nav ul ul li:nth-child(6n+6) .ic{color:#F2591B}
.nav a:hover .ic{animation:wig .7s ease}
.nav-btn{display:none;width:48px;height:48px;border:0;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(16,52,92,.12);cursor:pointer;padding:12px;color:#10345C}.nav-btn span,.nav-btn:before,.nav-btn:after{content:"";display:block;height:3px;border-radius:3px;background:currentColor;margin:5px 0;transition:transform .25s,opacity .25s}
.nav-btn.on:before{transform:translateY(8px) rotate(45deg)}.nav-btn.on:after{transform:translateY(-8px) rotate(-45deg)}.nav-btn.on span{opacity:0}
.lang{display:flex;gap:6px;font-size:14px;font-weight:700}.lang a{padding:8px 14px;border-radius:999px}.lang a.cur{background:#FF6B2C;color:#fff}
/* главная */
.hero-wrap{position:relative;margin-top:-96px;padding-top:96px;overflow:hidden}
.hero-wrap:before{content:"";position:absolute;right:-120px;top:-100px;width:640px;height:640px;border-radius:48% 52% 40% 60%;background:#CFF5EA}
.hero-wrap:after{content:"";position:absolute;left:-160px;top:260px;width:480px;height:480px;border-radius:50%;background:#FFE9A8;opacity:.7}
.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;padding-top:40px;padding-bottom:96px;z-index:1}
.hero h1{font-size:58px;line-height:1.05;font-weight:800;margin-bottom:20px}.hero .o{color:#FF6B2C}.hero .b{color:#3B82F6}
.lead{margin:0 0 32px;font-size:18px;color:#4A6580;max-width:520px}
.cta{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.tel-pill{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px}
.ic.dark{width:44px;height:44px;border-radius:50%;background:#10345C;color:#fff;padding:11px}
.hero-art{position:relative;height:460px}
.hero-photo{position:absolute;inset:0 30px 40px 0;border-radius:200px 200px 48px 48px;background:#fff;box-shadow:0 24px 60px rgba(16,52,92,.14);overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:#4A6580;font-weight:700}
.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transform:scale(1.08);transition:opacity 1.2s ease,transform 6s ease}
.hero-photo img.on{opacity:1;transform:scale(1)}
.hdots{position:absolute;left:0;right:0;bottom:16px;display:flex;gap:8px;justify-content:center;z-index:3}.hdots i{width:9px;height:9px;border-radius:99px;background:rgba(255,255,255,.65);cursor:pointer;transition:all .3s}.hdots i.on{width:28px;background:#fff}
.st{display:flex;align-items:center;gap:14px;background:#fff;border-radius:24px;padding:16px 22px;box-shadow:0 6px 24px rgba(16,52,92,.08)}
.hero-art .st{position:absolute}.s1{right:0;top:40px}.s2{right:20px;bottom:90px}.s3{left:-30px;bottom:10px}
.st .ic{width:44px;height:44px;border-radius:14px;padding:10px}
.c-o{background:#FFE3D2;color:#FF6B2C}.c-b{background:#D8E8FF;color:#3B82F6}.c-g{background:#D3F5DF;color:#16A34A}
/* направления */
.bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:320px;gap:24px}
.tile{position:relative;display:flex;flex-direction:column;justify-content:space-between;height:100%;min-height:0;padding:26px;border-radius:32px;overflow:hidden;color:var(--tx,#fff);background:var(--c,#2F6FE0);transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s;transform-origin:center;isolation:isolate;will-change:transform}
.tile.has-img:before{content:"";position:absolute;inset:0;z-index:-2;background:var(--img) center/cover no-repeat;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.tile.has-img:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,var(--c) 0%,var(--c) 22%,transparent 72%);opacity:.95}
.tile .ic.big{width:60px;height:60px;border-radius:20px;background:#fff;color:var(--ic);padding:15px;box-shadow:0 8px 20px rgba(0,0,0,.15);transition:transform .45s}
.tile-body{display:block}
.tile-title{display:block;font-size:26px;font-weight:800;line-height:1.15;margin-bottom:6px}
.tile-desc{display:block;opacity:.95;max-width:440px}
.tile-go{position:absolute;right:22px;top:22px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--ic);display:flex;align-items:center;justify-content:center;transition:transform .45s}
.tile-go .ic{width:20px;height:20px}
/* маленькие плитки при наведении растут, большие уменьшаются */
.tile:hover{transform:translateY(-8px);box-shadow:0 24px 44px rgba(16,52,92,.26)}
.tile:hover:before{transform:scale(1.08)}
.tile:hover .ic.big{transform:rotate(-8deg) scale(1.08)}.tile:hover .tile-go{transform:translateX(4px)}
@media(prefers-reduced-motion:reduce){.tile,.tile:before,.tile .ic.big,.tile-go{transition:none}.tile:hover{transform:none}}
/* особенности */
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.feat{text-align:center}.feat h3{margin:14px 0 6px}.feat p{margin:0;color:#4A6580;font-size:15px}
.ic.blob{width:96px;height:96px;padding:28px}
.feat:nth-child(1) .blob{border-radius:38% 62% 55% 45%;background:#FFD9E5;color:#FF5C8A}
.feat:nth-child(2) .blob{border-radius:55% 45% 40% 60%;background:#FFEFB8;color:#E58A00}
.feat:nth-child(3) .blob{border-radius:45% 55% 62% 38%;background:#D8E8FF;color:#3B82F6}
.feat:nth-child(4) .blob{border-radius:60% 40% 45% 55%;background:#D3F5DF;color:#16A34A}
/* о центре */
.about{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.about h2{font-size:36px;margin-bottom:16px}.about p{color:#4A6580;font-size:17px}
.about-photo{position:relative;height:420px}.about-photo:before{content:"";position:absolute;inset:30px 0 0 40px;background:#E5DBFF;border-radius:48px;transform:rotate(-4deg)}
.about-photo>div{position:absolute;inset:0 40px 30px 0;border-radius:48px;background:#fff;box-shadow:0 20px 50px rgba(16,52,92,.12);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#4A6580;font-weight:700}
.about-photo img{width:100%;height:100%;object-fit:cover}
.sign{font-weight:800}.sign span{color:#4A6580;font-weight:500}
.stats{margin-top:56px}.stats .ic.box{width:48px;height:48px;border-radius:14px;padding:12px}
.stats .st:nth-child(1) .box{background:#D8E8FF;color:#3B82F6}.stats .st:nth-child(2) .box{background:#E5DBFF;color:#9B5CF6}.stats .st:nth-child(3) .box{background:#FFEFB8;color:#E58A00}.stats .st:nth-child(4) .box{background:#FFD9E5;color:#FF5C8A}
.num{font-size:22px;font-weight:800}.lbl{font-size:13px;color:#4A6580}
/* новости */
.news-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}
.news-side{display:flex;flex-direction:column;gap:20px}
.news-item{display:block}.news-item h3{font-size:18px;margin:2px 0}.news-item.big h3{font-size:24px}
.news-img{background:#CFF5EA;border-radius:24px;overflow:hidden;aspect-ratio:3/2}.news-img img{width:100%;height:100%;object-fit:cover;display:block}
.news-side .news-item{display:flex;gap:16px;align-items:center}.news-side .news-img{width:140px;aspect-ratio:auto;height:110px;flex:none;border-radius:22px}
.news-item.big .news-img{height:340px;aspect-ratio:auto;margin-bottom:14px;border-radius:32px}
.meta{font-size:13px;color:#4A6580}.meta .cat{color:#F2591B;font-weight:700}
.news-list .news-item .news-img{margin-bottom:12px}
.pager{margin-top:32px}.pager .nav-links{display:flex;gap:10px}.pager a,.pager span{padding:8px 14px;border-radius:999px;background:#fff}
/* внутренние */
.entry-content{font-size:18px;line-height:1.7}.entry-img{margin:24px 0}.entry-img img{border-radius:24px}
.page-title{margin-bottom:24px}
/* подвал */
.site-footer{background:#10345C;color:#fff;padding:72px 0 36px;position:relative}
.rainbow{position:absolute;left:0;right:0;top:0;height:8px;background:linear-gradient(90deg,#FF6B2C,#FFC93C,#14B8A6,#3B82F6,#9B5CF6,#FF5C8A)}
.foot-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.site-footer h2{font-size:40px;font-weight:800;margin:0 0 14px}.site-footer p{margin:0;color:#B9D3EA;font-size:17px}
.contacts{margin-top:24px;line-height:2;color:#B9D3EA}.tel{color:#fff;font-weight:800;font-size:22px;display:block}
.form-card{background:#fff;border-radius:32px;padding:28px;color:#10345C}
.form-card input,.form-card textarea{width:100%;padding:13px 16px;border:1px solid #D5E3F0;border-radius:16px;margin-bottom:12px;font:inherit}
.form-card input[type=submit]{background:#FF6B2C;color:#fff;border:0;font-weight:700;border-radius:999px;cursor:pointer;width:auto;padding:15px 28px}
.copy{margin-top:48px;color:#8FB0CC;font-size:14px}
@media(max-width:900px){
.hero,.about,.news-grid,.foot-grid,.g3,.g4{grid-template-columns:1fr}
.bento{grid-template-columns:1fr;grid-auto-rows:260px}.tile:hover{transform:none}
.hero h1{font-size:40px}.sec h2,.page-title{font-size:32px}.hero-art{height:360px}.s3{left:0}
.hero-wrap{margin-top:0;padding-top:0}.nav-btn{display:block;order:2}.nav{display:none;width:100%;order:3}.nav.open{display:block}.nav>ul{display:block;border-radius:26px;padding:10px}.nav a{white-space:normal}.nav ul ul{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;margin:0 0 6px 18px;padding:0 0 0 8px;min-width:0;border-left:2px solid #E1E9F4;border-radius:0}.nav ul ul:before{display:none}.nav>ul>li.menu-item-has-children>a:after{display:none}
}
/* кружки и страницы направлений */
.cat-desc{max-width:760px;color:#4A6580;font-size:18px;margin-bottom:20px}
.chips{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 32px}
.chipl{padding:10px 18px;border-radius:999px;background:#fff;border:1px solid #DDE6F2;font-weight:700;transition:transform .2s,background .2s}
.chipl:hover{transform:translateY(-2px);background:#FFF1E6}.chipl.cur{background:#F2591B;border-color:#F2591B;color:#fff}
.chipl span{opacity:.6;font-weight:600;margin-left:4px}.chips.big .chipl{padding:16px 26px;font-size:18px}
.clubs{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.club{display:flex;flex-direction:column;background:#fff;border-radius:28px;overflow:hidden;border:1px solid #E8EEF6;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.club:hover{transform:translateY(-6px);box-shadow:0 20px 44px rgba(16,52,92,.16)}
.club-img{aspect-ratio:3/2;overflow:hidden}.club-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}.club:hover .club-img img{transform:scale(1.06)}
.club-body{padding:22px;display:flex;flex-direction:column;gap:8px;flex:1}.club-body h3{font-size:20px;line-height:1.25}.club-body p{margin:0;color:#4A6580;font-size:15px}
.club-more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;color:#F2591B;font-weight:800}.club-more .ic{width:18px;height:18px}
.news-grid.one{grid-template-columns:1fr}
@media(max-width:900px){.clubs{grid-template-columns:1fr}}
.staff-h{margin:56px 0 24px;font-size:28px}

/* анимации иконок */
@keyframes wig{0%,100%{transform:rotate(0)}20%{transform:rotate(-14deg) scale(1.1)}40%{transform:rotate(12deg) scale(1.1)}60%{transform:rotate(-8deg)}80%{transform:rotate(6deg)}}
@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.25) rotate(-6deg)}100%{transform:scale(1.1) rotate(0)}}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.hero-art .st{animation:bob 4.5s ease-in-out infinite}.hero-art .s2{animation-delay:-1.5s}.hero-art .s3{animation-delay:-3s}
.hero-art .st:hover .ic,.nav a:hover .ic,.st:hover .ic{animation:wig .7s ease}
.feat:hover .ic{animation:pop .5s ease forwards}.feat{transition:transform .3s}.feat:hover{transform:translateY(-6px)}
.tile:hover .ic.big{animation:wig .8s ease}
.stats .st{transition:transform .3s}.stats .st:hover{transform:translateY(-4px)}
.lang a,.chipl,.tel-pill .ic{transition:transform .25s}.tel-pill:hover .ic{animation:wig .7s ease}
@media(prefers-reduced-motion:reduce){.hero-art .st,.hero-art .st:hover .ic,.feat:hover .ic,.tile:hover .ic.big{animation:none}.hero-photo img{transition:opacity .01s}}

/* расписание */
.sched{--gc:#2F6FE0;font-family:inherit}
.sch-bar{display:flex;flex-direction:column;gap:14px;margin-bottom:28px;position:sticky;top:0;z-index:4;background:rgba(247,250,255,.92);backdrop-filter:blur(8px);padding:12px 0}
.sch-days{display:flex;gap:8px;flex-wrap:wrap}
.sch-days button{border:0;cursor:pointer;font:inherit;font-weight:800;padding:11px 20px;border-radius:999px;background:#fff;color:#10345C;box-shadow:0 3px 12px rgba(16,52,92,.08);transition:transform .2s,background .2s,color .2s}
.sch-days button:hover{transform:translateY(-2px)}.sch-days button.on{background:#10345C;color:#fff}.sch-days .s{display:none}
.sch-tools{display:flex;gap:12px;flex-wrap:wrap}
.sch-tools input,.sch-tools select{font:inherit;padding:12px 18px;border-radius:999px;border:1px solid #DDE6F2;background:#fff;min-width:240px;flex:1}
.sch-sec{margin-bottom:44px}.sch-sec h3{font-size:24px;font-weight:800;margin:0 0 18px;display:flex;align-items:center;gap:12px}.sch-sec h3:before{content:"";width:14px;height:14px;border-radius:50%;background:var(--gc)}
.sch-sec.c0{--gc:#2F6FE0;--gt:#E4EEFF}.sch-sec.c1{--gc:#F2A900;--gt:#FFF1C7}.sch-sec.c2{--gc:#F0457A;--gt:#FFE0EA}.sch-sec.c3{--gc:#0E9F8F;--gt:#D5F3EE}.sch-sec.c4{--gc:#8A52E8;--gt:#EADFFF}.sch-sec.c5{--gc:#F2591B;--gt:#FFE3D2}.sch-sec.c6{--gc:#2F6FE0;--gt:#E4EEFF}
.sch-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.sch-c{background:#fff;border-radius:24px;padding:22px;border-top:6px solid var(--gc);box-shadow:0 6px 22px rgba(16,52,92,.07);transition:transform .3s,box-shadow .3s}
.sch-c:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(16,52,92,.14)}
.sch-c h4{margin:0 0 6px;font-size:18px;font-weight:800;line-height:1.25;color:#10345C}
.sch-c .tc{color:#4A6580;font-size:14px;margin-bottom:14px}.sch-c .rm{display:inline-block;background:var(--gt);color:var(--gc);font-weight:700;font-size:12px;padding:2px 9px;border-radius:99px;margin-left:4px}
.sd{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px dashed #E1E9F4}
.dn{flex:0 0 34px;font-weight:800;font-size:13px;color:var(--gc);padding-top:5px}
.sls{display:flex;flex-wrap:wrap;gap:6px}
.sl{display:inline-flex;align-items:center;gap:6px;background:var(--gt);border-radius:99px;padding:4px 10px;font-size:13px}.sl b{font-weight:800;color:#10345C}.sl em{font-style:normal;font-weight:700;color:var(--gc);font-size:12px}
.sch-empty{text-align:center;padding:40px;color:#4A6580}
.sched[hidden],.sch-c[hidden],.sch-sec[hidden]{display:none!important}
@media(max-width:700px){.sch-days .f{display:none}.sch-days .s{display:inline}.sch-days button{padding:10px 14px}.sch-bar{position:static}}.sched[data-day="1"] .sd:not(.d1){display:none}.sched[data-day="2"] .sd:not(.d2){display:none}.sched[data-day="3"] .sd:not(.d3){display:none}.sched[data-day="4"] .sd:not(.d4){display:none}.sched[data-day="5"] .sd:not(.d5){display:none}.sched[data-day="6"] .sd:not(.d6){display:none}.sched:not([data-day="0"]) .sd{border-top:0;padding:0}.sched:not([data-day="0"]) .dn{display:none}
.sched.ready .sched-src{display:none}
.sched-src{overflow-x:auto}.sched-src table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden;font-size:14px}
.sched-src th,.sched-src td{border:1px solid #E1E9F4;padding:9px 10px;white-space:pre-line;vertical-align:top}.sched-src th{background:#10345C;color:#fff}.sched-src tr:nth-child(even) td{background:#F7FAFF}
.sch-ui .no{color:#9BB0C6}


/* ===== ОРНАМЕНТ И ЦВЕТНОЙ ФОН (отключается галочкой в Настройках → Данные центра; можно удалить весь блок до «КОНЕЦ ОРНАМЕНТА») ===== */
body.orn{background-color:#FBFCFF;background-image:radial-gradient(circle at 8% 12%,rgba(255,107,44,.10),transparent 28%),radial-gradient(circle at 92% 30%,rgba(59,130,246,.10),transparent 30%),radial-gradient(circle at 12% 70%,rgba(20,184,166,.10),transparent 28%),radial-gradient(circle at 88% 92%,rgba(255,92,138,.10),transparent 30%),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22160%22 height=%22160%22 viewBox=%220 0 160 160%22 opacity=%22.16%22%3E%3Cg transform=%22translate%286%2C6%29 scale%281%29%22 fill=%22none%22 stroke=%22%23FF6B2C%22 stroke-width=%222.2%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22/%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22 transform=%22translate%2848%2C0%29 scale%28-1%2C1%29%22/%3E%3Cpath d=%22M24 22v10M20 36l4-4 4 4%22/%3E%3C/g%3E%3Cg transform=%22translate%2886%2C86%29 scale%281%29%22 fill=%22none%22 stroke=%22%2314B8A6%22 stroke-width=%222.2%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22/%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22 transform=%22translate%2848%2C0%29 scale%28-1%2C1%29%22/%3E%3Cpath d=%22M24 22v10M20 36l4-4 4 4%22/%3E%3C/g%3E%3Ccircle cx=%22110%22 cy=%2230%22 r=%223%22 fill=%22%23F5B800%22/%3E%3Ccircle cx=%2230%22 cy=%22120%22 r=%223%22 fill=%22%23FF5C8A%22/%3E%3Cpath d=%22M96 24l8 8-8 8-8-8z%22 fill=%22none%22 stroke=%22%239B5CF6%22 stroke-width=%222%22/%3E%3Cpath d=%22M28 104l6 6-6 6-6-6z%22 fill=%22none%22 stroke=%22%233B82F6%22 stroke-width=%222%22/%3E%3C/svg%3E");background-attachment:fixed,fixed,fixed,fixed,scroll;background-size:auto,auto,auto,auto,160px 160px}
.orn-band{display:none;height:46px;background:#fff url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%2244%22 viewBox=%220 0 240 44%22%3E%3Cg transform=%22translate%284%2C2%29 scale%280.95%29%22 fill=%22none%22 stroke=%22%23FF6B2C%22 stroke-width=%222.2%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22/%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22 transform=%22translate%2848%2C0%29 scale%28-1%2C1%29%22/%3E%3Cpath d=%22M24 22v10M20 36l4-4 4 4%22/%3E%3C/g%3E%3Cg transform=%22translate%2864%2C2%29 scale%280.95%29%22 fill=%22none%22 stroke=%22%233B82F6%22 stroke-width=%222.2%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22/%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22 transform=%22translate%2848%2C0%29 scale%28-1%2C1%29%22/%3E%3Cpath d=%22M24 22v10M20 36l4-4 4 4%22/%3E%3C/g%3E%3Cg transform=%22translate%28124%2C2%29 scale%280.95%29%22 fill=%22none%22 stroke=%22%2314B8A6%22 stroke-width=%222.2%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22/%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22 transform=%22translate%2848%2C0%29 scale%28-1%2C1%29%22/%3E%3Cpath d=%22M24 22v10M20 36l4-4 4 4%22/%3E%3C/g%3E%3Cg transform=%22translate%28184%2C2%29 scale%280.95%29%22 fill=%22none%22 stroke=%22%23FF5C8A%22 stroke-width=%222.2%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22/%3E%3Cpath d=%22M24 22C24 12 14 8 9 13C4 18 8 27 15 25C20 23 19 17 15 17%22 transform=%22translate%2848%2C0%29 scale%28-1%2C1%29%22/%3E%3Cpath d=%22M24 22v10M20 36l4-4 4 4%22/%3E%3C/g%3E%3C/svg%3E") repeat-x center;background-size:auto 40px;border-top:1px solid #E8EEF6}
body.orn .orn-band{display:block}
/* ===== КОНЕЦ ОРНАМЕНТА ===== */
/* внутренние страницы */
.page-hero{padding:48px 0 28px;position:relative;overflow:hidden}.page-hero:before,.page-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);z-index:0}
.page-hero:before{width:260px;height:260px;right:-60px;top:-110px;background:rgba(255,107,44,.16)}.page-hero:after{width:180px;height:180px;left:-70px;bottom:-90px;background:rgba(20,184,166,.16)}
.page-hero .wrap{z-index:1}.page-hero .page-title{margin:12px 0 8px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:#6B8299;margin-bottom:6px}.crumbs a{color:#4A6580;font-weight:700}.crumbs a:hover{color:#FF6B2C}.crumbs i{font-style:normal;opacity:.5}.crumbs span{color:#10345C;font-weight:700}
.chip-cat{display:inline-block;background:#FFF1E6;color:#F2591B;font-weight:800;font-size:13px;padding:6px 14px;border-radius:99px;margin-top:8px}
.sec.pt0{padding-top:12px}
.entry-card{background:#fff;border-radius:36px;padding:44px;box-shadow:0 12px 44px rgba(16,52,92,.08);border:1px solid #EEF3F9}
.entry-img{margin:0 0 32px}.entry-img img{display:block;width:100%;border-radius:28px;box-shadow:0 14px 36px rgba(16,52,92,.14)}
.entry-content img,.entry-content figure img,.entry-content video,.entry-content iframe{border-radius:24px;max-width:100%}
.entry-content figure{margin:28px 0}.entry-content figcaption{text-align:center;color:#6B8299;font-size:14px;margin-top:10px}
.entry-content h2,.entry-content h3{margin:36px 0 14px;font-weight:800;line-height:1.25}.entry-content h2{font-size:30px}.entry-content h3{font-size:23px}
.entry-content p{margin:0 0 18px}.entry-content a{color:#F2591B;text-decoration:underline;text-decoration-color:rgba(242,89,27,.35);text-underline-offset:3px}
.entry-content ul{list-style:none;padding:0}.entry-content ul li{position:relative;padding-left:30px;margin-bottom:10px}.entry-content ul li:before{content:"";position:absolute;left:4px;top:.55em;width:12px;height:12px;border-radius:50%;background:#FF6B2C;box-shadow:8px 6px 0 -3px #14B8A6}
.entry-content ol{padding-left:24px}.entry-content ol li{margin-bottom:8px}.entry-content ol li::marker{color:#FF6B2C;font-weight:800}
.entry-content blockquote{margin:28px 0;padding:22px 26px;border-radius:24px;background:#FFF6EC;border-left:6px solid #FF6B2C;font-size:19px}
.entry-content table{width:100%;border-collapse:separate;border-spacing:0;border-radius:18px;overflow:hidden;border:1px solid #E1E9F4;font-size:16px}.entry-content th{background:#10345C;color:#fff;text-align:left}.entry-content th,.entry-content td{padding:12px 14px;border-bottom:1px solid #E1E9F4}.entry-content tr:nth-child(even) td{background:#F7FAFF}
.entry-content .wp-block-gallery{gap:14px}.entry-content .wp-block-gallery img,.entry-content .gallery img{border-radius:20px}
.entry-content .wp-block-button__link,.entry-content .button{background:#FF6B2C;color:#fff;border-radius:99px;padding:14px 28px;text-decoration:none;font-weight:800}
.entry-content .wp-block-image img{box-shadow:0 10px 28px rgba(16,52,92,.12)}
.teachers{margin-top:44px;padding-top:28px;border-top:2px dashed #E1E9F4}.teachers h3{font-size:22px;margin:0 0 16px}
.tcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.tcard{display:flex;gap:16px;align-items:center;padding:14px;border-radius:24px;background:var(--tb,#E4EEFF);transition:transform .3s}.tcard:hover{transform:translateY(-4px)}
.tcard.t0{--tb:#E4EEFF}.tcard.t1{--tb:#FFF1C7}.tcard.t2{--tb:#FFE0EA}.tcard.t3{--tb:#D5F3EE}.tcard.t4{--tb:#EADFFF}.tcard.t5{--tb:#FFE3D2}
.tph{flex:0 0 82px;height:98px;border-radius:20px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:800;color:#FF6B2C}.tph img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.tcard strong{display:block;font-size:17px;line-height:1.25;margin-bottom:6px}.tcard em{font-style:normal;font-size:13px;font-weight:700;color:#4A6580}
.rel-h{font-size:28px;margin:48px 0 20px}.rel-news{display:grid;gap:18px}
.club-t{font-size:13px;color:#4A6580;margin:8px 0 0!important;font-weight:700}
.sch-c .tc{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.sch-c .tav{width:30px;height:30px;border-radius:10px;object-fit:cover;object-position:center 20%}.sch-c h4 a{color:inherit}.sch-c h4 a:hover{color:var(--gc)}
@media(max-width:700px){.entry-card{padding:22px;border-radius:26px}.entry-content h2{font-size:25px}.page-hero{padding-top:28px}}

/* случайные кружки и Instagram на главной */
.rnd-sec{background:linear-gradient(180deg,rgba(255,241,230,.7),rgba(228,238,255,.6))}
.clubs.rnd .club:hover{transform:translateY(-8px);box-shadow:0 22px 44px rgba(16,52,92,.16)}
.insta-box{position:relative;background:#fff;border-radius:32px;padding:18px;max-height:640px;overflow:hidden;box-shadow:0 12px 40px rgba(16,52,92,.08)}.insta-box:after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(transparent,#fff);pointer-events:none}
.insta-box img,.insta-box video{border-radius:16px}
@media(max-width:900px){.clubs{grid-template-columns:1fr 1fr}}@media(max-width:560px){.clubs{grid-template-columns:1fr}.clubs.rnd .club{transform:none!important}}
/* ===== страницы «О нас» и «Контакты» (шаблон «Страница без рамки») ===== */
.entry-content.wide{font-size:18px}.entry-content.wide h2{margin:0 0 22px;font-size:32px}
.ab section,.ct section{margin-bottom:64px}
.ab-intro{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.ab-intro .lead{font-size:21px;line-height:1.65;margin:0}
.ab-video{position:relative;aspect-ratio:16/9;border-radius:30px;overflow:hidden;box-shadow:0 18px 44px rgba(16,52,92,.2)}.ab-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0}
.ab-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.ab-fact{padding:24px;border-radius:28px;background:var(--b,#E4EEFF);transition:transform .3s}.ab-fact:hover{transform:translateY(-6px)}
.ab-fact b{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--a,#2F6FE0);margin-bottom:8px}.ab-fact span{display:block;font-size:22px;font-weight:800;line-height:1.3}
.ab-fact:nth-child(6n+1){--b:#E4EEFF;--a:#2F6FE0}.ab-fact:nth-child(6n+2){--b:#FFF1C7;--a:#C98A00}.ab-fact:nth-child(6n+3){--b:#FFE0EA;--a:#F0457A}.ab-fact:nth-child(6n+4){--b:#D5F3EE;--a:#0E9F8F}.ab-fact:nth-child(6n+5){--b:#EADFFF;--a:#8A52E8}.ab-fact:nth-child(6n+6){--b:#FFE3D2;--a:#F2591B}
.ab-gal{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:190px;gap:14px}.ab-gal figure{margin:0;overflow:hidden;border-radius:24px;grid-column:span 2}.ab-gal figure:nth-child(1),.ab-gal figure:nth-child(6){grid-column:span 3;grid-row:span 2}
.ab-gal img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0;transition:transform .6s}.ab-gal figure:hover img{transform:scale(1.07)}
.ab-goals ol{list-style:none;counter-reset:g;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ab-goals li{counter-increment:g;position:relative;padding:20px 22px 20px 72px;border-radius:24px;background:#fff;border:1px solid #E8EEF6;box-shadow:0 6px 20px rgba(16,52,92,.05);font-size:16.5px;line-height:1.55}.ab-goals li:before{content:counter(g);position:absolute;left:18px;top:18px;width:40px;height:40px;border-radius:14px;background:var(--a,#FF6B2C);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.ab-goals li:nth-child(6n+2):before{--a:#2F6FE0}.ab-goals li:nth-child(6n+3):before{--a:#0E9F8F}.ab-goals li:nth-child(6n+4):before{--a:#8A52E8}.ab-goals li:nth-child(6n+5):before{--a:#F0457A}.ab-goals li:nth-child(6n+6):before{--a:#F2A900}
.ct .eyl{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#FF6B2C}.ct h2.big{font-size:38px;margin:6px 0 28px}
.ct-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;align-items:start}
.ct-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ct-card{padding:22px;border-radius:26px;background:var(--b,#E4EEFF)}.ct-card.wide{grid-column:1/-1}
.ct-card .ic{width:44px;height:44px;border-radius:14px;background:#fff;color:var(--a,#2F6FE0);margin-bottom:12px}.ct-card .ic svg{width:24px;height:24px}
.ct-card h3{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--a,#2F6FE0);margin:0 0 8px}.ct-card p{margin:0;font-size:17px;line-height:1.55;font-weight:600}
.ct-card dl{margin:0}.ct-card dt{font-size:13px;color:#4A6580;font-weight:700;margin-top:8px}.ct-card dd{margin:0;font-size:18px;font-weight:800}.ct-card a{color:inherit}.ct-card a:hover{color:var(--a)}
.ct-card.c1{--b:#E4EEFF;--a:#2F6FE0}.ct-card.c2{--b:#FFF1C7;--a:#C98A00}.ct-card.c3{--b:#D5F3EE;--a:#0E9F8F}.ct-card.c4{--b:#FFE0EA;--a:#F0457A}.ct-card.c5{--b:#EADFFF;--a:#8A52E8}
.ct-btn{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:10px 18px;border-radius:99px;background:#fff;color:#10345C!important;font-weight:800;font-size:15px;text-decoration:none!important}
.ct-form{padding:32px;border-radius:32px;background:#fff;border:1px solid #E8EEF6;box-shadow:0 14px 44px rgba(16,52,92,.1)}.ct-form h2{font-size:28px;margin:0 0 18px}
.ct-form label{display:block;font-weight:700;font-size:15px;margin:14px 0 6px}.ct-form input[type=text],.ct-form input[type=email],.ct-form textarea{width:100%;padding:14px 18px;border:1px solid #D6E1EE;border-radius:18px;font:inherit;background:#F7FAFF}.ct-form textarea{min-height:130px}
.ct-form input:focus,.ct-form textarea:focus{outline:2px solid #FF6B2C;border-color:transparent}.ct-form button,.ct-form input[type=submit]{margin-top:18px;border:0;cursor:pointer;padding:15px 32px;border-radius:99px;background:#FF6B2C;color:#fff;font:inherit;font-weight:800}
.ct-map{border-radius:32px;overflow:hidden;box-shadow:0 14px 44px rgba(16,52,92,.14);height:440px}.ct-map iframe{width:100%;height:100%;border:0;border-radius:0}
@media(max-width:900px){.ab-intro,.ct-grid,.ab-goals ol{grid-template-columns:1fr}.ab-gal{grid-template-columns:1fr 1fr;grid-auto-rows:150px}.ab-gal figure,.ab-gal figure:nth-child(1),.ab-gal figure:nth-child(6){grid-column:span 1;grid-row:span 1}.ct-cards{grid-template-columns:1fr}.ct h2.big{font-size:30px}}
.ab-gal figure:nth-child(1){grid-column:span 3;grid-row:span 2}.ab-gal figure:nth-child(2),.ab-gal figure:nth-child(3){grid-column:span 3;grid-row:span 1}.ab-gal figure:nth-child(n+4){grid-column:span 2;grid-row:span 1}
@media(max-width:900px){.ab-gal figure:nth-child(n){grid-column:span 1;grid-row:span 1}}

/* ===== ШАБЛОН «О нас» (.aboutus): оформляет обычные блоки WordPress ===== */
.aboutus{font-size:18px}.aboutus h2{margin:0 0 22px;font-size:32px}
.aboutus .wp-block-columns{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;margin:0 0 64px}.aboutus .wp-block-column{margin:0;min-width:0}
.aboutus .wp-block-columns p{font-size:21px;line-height:1.65;margin:0 0 12px}
.aboutus .wp-block-embed{margin:0}.aboutus .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9;border-radius:30px;overflow:hidden;box-shadow:0 18px 44px rgba(16,52,92,.2)}.aboutus .wp-block-embed__wrapper iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0}
.aboutus ul.wp-block-list{list-style:none;margin:0 0 64px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.aboutus ul.wp-block-list li{padding:24px;border-radius:28px;background:var(--b,#E4EEFF);font-size:22px;font-weight:800;line-height:1.3;transition:transform .3s}.aboutus ul.wp-block-list li:hover{transform:translateY(-6px)}
.aboutus ul.wp-block-list li strong{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--a,#2F6FE0);margin-bottom:8px}
.aboutus ul.wp-block-list li:nth-child(6n+1){--b:#E4EEFF;--a:#2F6FE0}.aboutus ul.wp-block-list li:nth-child(6n+2){--b:#FFF1C7;--a:#C98A00}.aboutus ul.wp-block-list li:nth-child(6n+3){--b:#FFE0EA;--a:#F0457A}.aboutus ul.wp-block-list li:nth-child(6n+4){--b:#D5F3EE;--a:#0E9F8F}.aboutus ul.wp-block-list li:nth-child(6n+5){--b:#EADFFF;--a:#8A52E8}.aboutus ul.wp-block-list li:nth-child(6n+6){--b:#FFE3D2;--a:#F2591B}
.aboutus ol.wp-block-list{list-style:none;counter-reset:g;margin:0 0 64px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.aboutus ol.wp-block-list li{counter-increment:g;position:relative;padding:20px 22px 20px 72px;border-radius:24px;background:#fff;border:1px solid #E8EEF6;box-shadow:0 6px 20px rgba(16,52,92,.05);font-size:16.5px;line-height:1.55}
.aboutus ol.wp-block-list li:before{content:counter(g);position:absolute;left:18px;top:18px;width:40px;height:40px;border-radius:14px;background:var(--a,#FF6B2C);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.aboutus ol.wp-block-list li:nth-child(6n+2):before{--a:#2F6FE0}.aboutus ol.wp-block-list li:nth-child(6n+3):before{--a:#0E9F8F}.aboutus ol.wp-block-list li:nth-child(6n+4):before{--a:#8A52E8}.aboutus ol.wp-block-list li:nth-child(6n+5):before{--a:#F0457A}.aboutus ol.wp-block-list li:nth-child(6n+6):before{--a:#F2A900}
.aboutus .wp-block-gallery.has-nested-images{display:grid!important;grid-template-columns:repeat(6,1fr);grid-auto-rows:190px;grid-auto-flow:dense;gap:14px;margin:0 0 64px}
.aboutus .wp-block-gallery.has-nested-images figure.wp-block-image{width:auto!important;margin:0!important;grid-column:span 2;overflow:hidden;border-radius:24px;flex:none!important}
.aboutus .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(1){grid-column:span 3;grid-row:span 2}.aboutus .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(2),.aboutus .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(3){grid-column:span 3}
.aboutus .wp-block-gallery img{width:100%!important;height:100%!important;object-fit:cover;border-radius:0;transition:transform .6s}.aboutus .wp-block-gallery figure:hover img{transform:scale(1.07)}
@media(max-width:900px){.aboutus .wp-block-columns,.aboutus ol.wp-block-list{grid-template-columns:1fr}.aboutus .wp-block-gallery.has-nested-images{grid-template-columns:1fr 1fr;grid-auto-rows:150px}.aboutus .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(n){grid-column:span 1;grid-row:span 1}}
/* ===== ШАБЛОН «Контакты» (.contactus): ровная сетка из блоков «Колонки» и «Группа» ===== */
.contactus{font-size:18px}.contactus h2{margin:0 0 14px;font-size:38px;line-height:1.15}.contactus .eyl{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#FF6B2C;margin:0 0 8px}
.contactus .wp-block-columns{display:grid;gap:20px;margin:0 0 20px;align-items:stretch;grid-template-columns:1fr 1fr}
.contactus .wp-block-columns.cols-3,.contactus .wp-block-columns.cols-4,.contactus .wp-block-columns.cards{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.contactus .wp-block-column{margin:0;min-width:0;display:flex;flex-direction:column}.contactus .wp-block-column>*{margin-top:0}
.contactus .wp-block-column>.wp-block-group,.contactus .wp-block-column>.wp-block-image{flex:1}
.contactus .hero-card{padding:44px;border-radius:36px;background:linear-gradient(135deg,#FFF1C7,#FFE0EA 55%,#E4EEFF);box-shadow:0 14px 44px rgba(16,52,92,.1);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
.contactus .hero-card p{font-size:19px;line-height:1.6;margin:0 0 8px}
.contactus .photo{margin:0;border-radius:36px;overflow:hidden;box-shadow:0 14px 44px rgba(16,52,92,.14);min-height:340px}.contactus .photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0}
.contactus .card{position:relative;padding:26px;border-radius:28px;background:var(--b,#E4EEFF);box-sizing:border-box;transition:transform .3s}.contactus .card:hover{transform:translateY(-5px)}
.contactus .card:before{content:"";display:block;width:44px;height:44px;border-radius:14px;background:#fff;margin-bottom:14px}
.contactus .card:after{content:"";position:absolute;left:36px;top:36px;width:24px;height:24px;background:var(--a,#2F6FE0);-webkit-mask:var(--ic) center/24px no-repeat;mask:var(--ic) center/24px no-repeat}
.contactus .card h3{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--a);margin:0 0 12px}.contactus .card p{margin:0 0 10px;font-size:17px;line-height:1.5;font-weight:600}.contactus .card p strong{display:block;font-size:13px;color:#4A6580;font-weight:700}
.contactus a{color:inherit}.contactus .card a:hover{color:var(--a)}
.contactus .blue{--b:#E4EEFF;--a:#2F6FE0}.contactus .yellow{--b:#FFF1C7;--a:#C98A00}.contactus .teal{--b:#D5F3EE;--a:#0E9F8F}.contactus .pink{--b:#FFE0EA;--a:#F0457A}.contactus .purple{--b:#EADFFF;--a:#8A52E8}.contactus .orange{--b:#FFE3D2;--a:#F2591B}
.contactus .ic-pin{--ic: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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0Z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3C/svg%3E")}.contactus .ic-clock{--ic: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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M12 6v6l4 2%22/%3E%3C/svg%3E")}.contactus .ic-phone{--ic: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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z%22/%3E%3C/svg%3E")}.contactus .ic-mail{--ic: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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22m3 7 9 6 9-6%22/%3E%3C/svg%3E")}
.contactus .wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.contactus .wp-block-button{margin:0}
.contactus .wp-block-button__link{display:inline-flex;padding:11px 22px;border-radius:99px;background:#FF6B2C;color:#fff!important;font-weight:800;font-size:15px;text-decoration:none;border:2px solid #FF6B2C}
.contactus .is-style-outline .wp-block-button__link{background:transparent;color:#10345C!important;border-color:#10345C}.contactus .card .wp-block-button__link{background:#fff;color:#10345C!important;border-color:#fff}
.contactus .form-card{padding:32px;border-radius:32px;background:#fff;border:1px solid #E8EEF6;box-shadow:0 14px 44px rgba(16,52,92,.1);box-sizing:border-box}.contactus .form-card h2{font-size:28px;margin:0 0 18px}
.contactus .form-card label{display:block;font-weight:700;font-size:15px;margin:14px 0 6px}.contactus .form-card input[type=text],.contactus .form-card input[type=email],.contactus .form-card input[type=tel],.contactus .form-card textarea{width:100%!important;max-width:100%!important;padding:14px 18px;border:1px solid #D6E1EE;border-radius:18px;font:inherit;background:#F7FAFF;box-sizing:border-box}.contactus .form-card textarea{min-height:130px}
.contactus .form-card input:focus,.contactus .form-card textarea:focus{outline:2px solid #FF6B2C;border-color:transparent}.contactus .form-card button,.contactus .form-card input[type=submit]{margin-top:18px;border:0;cursor:pointer;padding:15px 32px;border-radius:99px;background:#FF6B2C;color:#fff;font:inherit;font-weight:800}
.contactus .map-card{border-radius:32px;overflow:hidden;box-shadow:0 14px 44px rgba(16,52,92,.14);display:flex}.contactus .map-card iframe{display:block;width:100%;height:100%;min-height:480px;border:0;border-radius:0}
@media(max-width:760px){.contactus .wp-block-columns,.contactus .wp-block-columns.cols-3,.contactus .wp-block-columns.cols-4{grid-template-columns:1fr}.contactus .hero-card{padding:28px}.contactus h2{font-size:30px}}
.aboutus ul.wp-block-list li{padding-left:24px}.aboutus ul.wp-block-list li:before{content:none;display:none}
.contactus .card p strong+br{display:none}.contactus .card p a{word-break:break-word}
.contactus .map-card>*{flex:1 1 100%;width:100%;min-width:0;margin:0;max-width:none}.contactus .map-card p{margin:0}.contactus .map-card iframe{width:100%!important;max-width:none}

/* ===== «О нас» (.aboutus): секции из колонок и групп ===== */
.aboutus>h2{margin:48px 0 20px}
.aboutus .wp-block-columns{display:grid;gap:20px;margin:0 0 20px;align-items:stretch;grid-template-columns:1fr 1fr}
.aboutus .wp-block-columns.cards{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.aboutus .wp-block-column{margin:0;min-width:0;display:flex;flex-direction:column}.aboutus .wp-block-column>.wp-block-group,.aboutus .wp-block-column>.wp-block-embed{flex:1}
.aboutus .hero-card{padding:44px;border-radius:36px;background:linear-gradient(135deg,#E4EEFF,#EADFFF 50%,#FFE0EA);box-shadow:0 14px 44px rgba(16,52,92,.1);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
.aboutus .hero-card p{font-size:19px;line-height:1.65;margin:0 0 8px}.aboutus .eyl{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#FF6B2C;margin:0 0 8px}.aboutus .hero-card h2{margin:0 0 14px;font-size:34px;line-height:1.15}
.aboutus .wp-block-embed{margin:0;display:flex}.aboutus .wp-block-embed__wrapper{flex:1;min-height:320px;aspect-ratio:auto}
.aboutus .card{padding:26px;border-radius:28px;background:var(--b,#E4EEFF);box-sizing:border-box;transition:transform .3s;border-top:6px solid var(--a,#2F6FE0)}.aboutus .card:hover{transform:translateY(-5px)}
.aboutus .card h3{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--a);margin:0 0 10px}.aboutus .card p{margin:0;font-size:22px;font-weight:800;line-height:1.3}
.aboutus .blue{--b:#E4EEFF;--a:#2F6FE0}.aboutus .yellow{--b:#FFF1C7;--a:#C98A00}.aboutus .teal{--b:#D5F3EE;--a:#0E9F8F}.aboutus .pink{--b:#FFE0EA;--a:#F0457A}.aboutus .purple{--b:#EADFFF;--a:#8A52E8}.aboutus .orange{--b:#FFE3D2;--a:#F2591B}
.aboutus .wp-block-gallery.has-nested-images{margin:0 0 20px}.aboutus ol.wp-block-list{margin:0}
@media(max-width:760px){.aboutus .wp-block-columns{grid-template-columns:1fr}.aboutus .hero-card{padding:28px}}

/* ===== отступы разделов «Руководство» ===== */
.sec .staff-h{margin:88px 0 32px;padding-top:8px}.sec .staff-h.first{margin-top:56px}
/* ===== случайные анимации иконок ===== */
@keyframes iawig{0%,100%{transform:rotate(0)}20%{transform:rotate(-14deg) scale(1.12)}40%{transform:rotate(12deg) scale(1.12)}60%{transform:rotate(-8deg)}80%{transform:rotate(6deg)}}
@keyframes iapop{0%{transform:scale(1)}40%{transform:scale(1.3) rotate(-6deg)}100%{transform:scale(1)}}
@keyframes iabob{0%,100%{transform:translateY(0)}35%{transform:translateY(-8px)}65%{transform:translateY(2px)}}
@keyframes iaspin{0%{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(1.2)}100%{transform:rotate(360deg) scale(1)}}
@keyframes iajelly{0%,100%{transform:scale(1,1)}25%{transform:scale(1.25,.8)}50%{transform:scale(.85,1.2)}75%{transform:scale(1.1,.92)}}
.ic.ia-wig{animation:iawig .8s ease!important}.ic.ia-pop{animation:iapop .7s ease!important}.ic.ia-bob{animation:iabob .8s ease!important}.ic.ia-spin{animation:iaspin .9s ease!important}.ic.ia-jelly{animation:iajelly .8s ease!important}
/* ===== подвал: контакты ===== */
.foot-list{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:14px}.foot-list li{display:flex;align-items:center;gap:14px;color:#DCEBF7;font-size:17px;line-height:1.4}
.foot-list .ic{width:42px;height:42px;padding:10px;border-radius:14px;background:rgba(255,255,255,.1);color:#FFC24A}.foot-list li:nth-child(2) .ic{color:#6EE7D8}.foot-list li:nth-child(3) .ic{color:#FF9DB8}.foot-list li:nth-child(4) .ic{color:#C4A8FF}
.foot-list a{color:#fff}.foot-list .tel{font-size:22px}
.foot-soc h3{margin:0 0 18px;font-size:22px;font-weight:800;color:#fff}.soc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.soc{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08);color:#fff;font-weight:700;transition:transform .25s,background .25s}.soc:hover{transform:translateY(-4px)}
.soc .ic{width:26px;height:26px}.soc-instagram:hover{background:linear-gradient(135deg,#F58529,#DD2A7B 55%,#8134AF)}.soc-whatsapp:hover{background:#25D366}.soc-youtube:hover{background:#E62117}.soc-tiktok:hover{background:#111}.soc-facebook:hover{background:#1877F2}
.foot-map{margin-top:18px;display:inline-flex}

/* ===== кружок и описание педагога; отступы у «Другие кружки» ===== */
.tcard em{display:block}.tclub{display:inline-block;margin-top:8px;padding:4px 12px;border-radius:99px;background:#fff;color:#10345C;font-size:13px;font-weight:800;line-height:1.3}
.tbio{margin-top:8px;font-size:14px;line-height:1.5}.tbio summary{cursor:pointer;font-weight:800;color:#F2591B}
.rel-h{margin:80px 0 32px}
/* заголовки «Другие кружки» / «Кружки направления»: перебивают общее правило .sec h2 */
.sec h2.rel-h,h2.rel-h{font-size:30px;margin:80px 0 32px;line-height:1.2}
@media(max-width:700px){.sec h2.rel-h{margin:56px 0 24px;font-size:26px}}

/* компактные карточки кружков: название сверху, фото невысокое, без описания */
.clubs{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:18px}
.club{border-radius:22px}
.club-h{font-size:17px;line-height:1.25;margin:0;padding:16px 18px 12px;min-height:3.4em;display:flex;align-items:center}
.club-img{aspect-ratio:16/9}
.club-body{padding:12px 18px 16px;gap:6px}
.club-body .club-t{margin:0!important;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.club-more{font-size:14px}
@media(max-width:900px){.clubs{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important}}
@media(max-width:560px){.clubs{grid-template-columns:1fr 1fr!important;gap:12px}.club-h{font-size:15px;padding:12px 12px 8px}.club-body{padding:10px 12px 12px}}

/* название под фото; заглушка без фото */
.club-h{padding:0;min-height:0;display:block;font-size:17px}
.club-body{padding:16px 18px 16px;gap:8px}
.club-img.ph{display:flex;align-items:center;justify-content:center;position:relative;background-image:radial-gradient(circle at 20% 25%,rgba(255,255,255,.7) 0 18px,transparent 19px),radial-gradient(circle at 82% 72%,rgba(255,255,255,.55) 0 28px,transparent 29px)!important}
.club-img.ph .ic{width:64px;height:64px;opacity:.85;transition:transform .5s}
.club:hover .club-img.ph .ic{transform:scale(1.15) rotate(-6deg)}
@media(max-width:560px){.club-h{padding:0;font-size:15px}.club-body{padding:10px 12px 12px}.club-img.ph .ic{width:44px;height:44px}}

/* слайдер галереи */
.gal{position:relative;margin:32px 0 8px}
.gal-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:26px;background:#EEF3FA;box-shadow:0 14px 34px rgba(16,52,92,.14)}
.gal-track::-webkit-scrollbar{display:none}
.gal-s{flex:0 0 100%;scroll-snap-align:center;margin:0;aspect-ratio:16/10;cursor:zoom-in}
.gal-s img{width:100%;height:100%;object-fit:cover;display:block}
.gal-b{position:absolute;top:calc(50% - 48px);width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#10345C;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(16,52,92,.25);transition:transform .2s,background .2s}
.gal-b:hover{background:#FF6B2C;color:#fff;transform:scale(1.1)}
.gal-b.prev{left:14px;transform:scaleX(-1)}.gal-b.prev:hover{transform:scaleX(-1) scale(1.1)}.gal-b.next{right:14px}
.gal-b .ic{width:22px;height:22px}
.gal-c{position:absolute;right:16px;top:16px;background:rgba(16,52,92,.7);color:#fff;font-weight:800;font-size:13px;padding:6px 12px;border-radius:999px}
.gal-th{display:flex;gap:10px;overflow-x:auto;padding:14px 4px 4px;scrollbar-width:none}.gal-th::-webkit-scrollbar{display:none}
.gal-th button{flex:0 0 86px;height:60px;padding:0;border:3px solid transparent;border-radius:14px;overflow:hidden;cursor:pointer;opacity:.6;background:none;transition:opacity .2s,border-color .2s,transform .2s}
.gal-th button img{width:100%;height:100%;object-fit:cover;display:block}
.gal-th button:hover{opacity:1}.gal-th button.on{opacity:1;border-color:#FF6B2C;transform:translateY(-2px)}
.gal-lb{position:fixed;inset:0;z-index:99999;background:rgba(10,24,44,.92);display:flex;align-items:center;justify-content:center;padding:24px;cursor:zoom-out}
.gal-lb[hidden]{display:none}.gal-lb img{max-width:100%;max-height:100%;border-radius:14px}
.gal-lbx{position:absolute;top:16px;right:20px;background:none;border:0;color:#fff;font-size:38px;cursor:pointer}
@media(max-width:560px){.gal-s{aspect-ratio:4/3}.gal-b{width:40px;height:40px;top:calc(50% - 40px)}.gal-th button{flex-basis:68px;height:48px}}

/* страница педагогов */
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:22px;margin-top:32px}
.pcard{background:#fff;border:1px solid #E8EEF6;border-radius:24px;padding:12px 12px 18px;text-align:center;transition:transform .3s,box-shadow .3s}
.pcard:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(16,52,92,.14)}
.pph{aspect-ratio:1/1;border-radius:18px;overflow:hidden;background:#E4EEFF}
.pcard.c1 .pph{background:#FFF0C2}.pcard.c2 .pph{background:#FFE0EA}.pcard.c3 .pph{background:#D5F5EF}.pcard.c4 .pph{background:#FFE3D2}.pcard.c5 .pph{background:#EADFFF}
.pph img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;transition:transform .5s}.pcard:hover .pph img{transform:scale(1.06)}
.pcard h3{font-size:16px;line-height:1.3;margin:14px 6px 4px}
.pcard .ppos{margin:0 6px;font-size:13px;color:#4A6580}
.pcard .pclub{display:inline-block;margin-top:10px;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:800;background:#EEF3FA;color:#2F6FE0}
.pcard.c1 .pclub{background:#FFF6D8;color:#B27C00}.pcard.c2 .pclub{background:#FFE9F0;color:#D0356B}.pcard.c3 .pclub{background:#E2F8F4;color:#0E8577}.pcard.c4 .pclub{background:#FFEDE2;color:#D9480F}.pcard.c5 .pclub{background:#F1EAFF;color:#6A3FC8}
@media(max-width:560px){.pgrid{grid-template-columns:1fr 1fr;gap:12px}.pcard h3{font-size:14px}}

/* достижения на главной */
.ach-sec{background:linear-gradient(135deg,#FFF3D6 0%,#FFE6EE 50%,#E7EEFF 100%);overflow:hidden}
.ach-sec .wrap{position:relative;z-index:1}
.ach-bg{position:absolute;inset:0;pointer-events:none;z-index:0}
.ab{position:absolute;display:block;opacity:.22;animation:abfloat 9s ease-in-out infinite}
.ab .ic{width:100%;height:100%}.ab svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ab1{left:4%;top:10%;width:46px;height:46px;color:#E8A500}.ab2{left:14%;top:70%;width:34px;height:34px;color:#E5457A;animation-delay:-2s}
.ab3{left:27%;top:6%;width:26px;height:26px;color:#2F6FE0;animation-delay:-4s}.ab4{left:38%;top:84%;width:30px;height:30px;color:#12A594;animation-delay:-1s}
.ab5{left:52%;top:4%;width:40px;height:40px;color:#F2591B;animation-delay:-5s}.ab6{left:63%;top:78%;width:52px;height:52px;color:#E8A500;animation-delay:-3s}
.ab7{left:74%;top:8%;width:30px;height:30px;color:#7A4FD8;animation-delay:-6s}.ab8{left:84%;top:66%;width:34px;height:34px;color:#2F6FE0;animation-delay:-2.5s}
.ab9{left:92%;top:12%;width:44px;height:44px;color:#E5457A;animation-delay:-7s}.ab10{left:2%;top:44%;width:30px;height:30px;color:#12A594;animation-delay:-3.5s}
.ab11{left:46%;top:46%;width:22px;height:22px;color:#E8A500;animation-delay:-4.5s}.ab12{left:96%;top:46%;width:28px;height:28px;color:#F2591B;animation-delay:-1.5s}
@keyframes abfloat{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-14px) rotate(8deg)}}
.ach-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.ach{display:block;background:#fff;border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.8);box-shadow:0 10px 28px rgba(16,52,92,.1);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.ach:hover{transform:translateY(-8px) rotate(-.6deg);box-shadow:0 22px 44px rgba(16,52,92,.18)}
.ach-img{position:relative;aspect-ratio:4/3;overflow:hidden}.ach-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}.ach:hover .ach-img img{transform:scale(1.06)}
.ach-b{position:absolute;left:12px;top:12px;width:42px;height:42px;border-radius:50%;background:#FF6B2C;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(255,107,44,.45)}
.ach-b .ic{width:22px;height:22px}.ach-b svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ach.c1 .ach-b{background:#E8A500}.ach.c2 .ach-b{background:#E5457A}.ach.c3 .ach-b{background:#12A594}
.ach h3{font-size:17px;line-height:1.3;margin:0;padding:16px 18px 20px}
@media(max-width:900px){.ach-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ach-grid{gap:12px}.ach h3{font-size:14px;padding:12px}.ab{opacity:.16}}
@media(prefers-reduced-motion:reduce){.ab{animation:none}}

/* мобильная доводка: особенности и цифры по 2 в ряд, фото директора меньше, кружки на главной по 3 */
.clubs.rnd{grid-template-columns:repeat(3,1fr)!important}
@media(max-width:900px){.clubs.rnd{grid-template-columns:1fr 1fr!important}}
@media(max-width:900px){
	.g4.feats,.g4.stats{grid-template-columns:1fr 1fr!important;gap:14px}
	.feats .blob{width:84px;height:84px;padding:22px}
	.feat h3{font-size:16px;margin:10px 0 4px}.feat p{font-size:13px}
	.stats .st{flex-direction:column;text-align:center;padding:16px 10px;gap:8px}
	.stats .st .num{font-size:24px}.stats .st .lbl{font-size:13px}
	.about-photo{height:300px;max-width:300px;margin:0 auto}
}

/* фото директора: не схлопывается на мобильном, кадр от центра */
.about-photo img{object-position:center center}
@media(max-width:900px){.about-photo{width:100%;max-width:320px;height:320px;margin:0 auto}}

/* именинники */
.bday-sec{padding:40px 0 0}
.bday-box{position:relative;overflow:hidden;border-radius:36px;padding:34px 36px 36px;background:linear-gradient(120deg,#FFF0C2,#FFE0EA 55%,#E4EEFF);box-shadow:0 14px 38px rgba(16,52,92,.12)}
.bday-head{display:flex;align-items:center;gap:18px;margin-bottom:24px;position:relative;z-index:1}
.bday-head h2{font-size:30px;margin:0}.bday-ic{font-size:52px;line-height:1;animation:bdbob 3s ease-in-out infinite}
.bday-cnt{margin-left:auto;min-width:48px;height:48px;padding:0 14px;border-radius:999px;background:#FF6B2C;color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(255,107,44,.4)}
@keyframes bdbob{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-6px) rotate(6deg)}}
.bday-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;position:relative;z-index:1}
.bd{display:flex;align-items:center;gap:12px;background:#fff;border-radius:22px;padding:10px 14px 10px 10px;box-shadow:0 5px 14px rgba(16,52,92,.08);transition:transform .25s,box-shadow .25s}
.bd:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(16,52,92,.14)}
.bd-av{flex:none;width:44px;height:44px;border-radius:50%;background:#FF6B2C;color:#fff;font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center}
.bd-tx{display:flex;flex-direction:column;min-width:0;line-height:1.25}.bd-tx b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bd-tx em{font-style:normal;font-size:13px;color:#4A6580;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bd small{margin-left:auto;flex:none;font-size:12px;font-weight:800;color:#FF6B2C;background:#FFF0E6;border-radius:999px;padding:4px 10px}
.bd.b1 .bd-av{background:#E8A500}.bd.b1 small{color:#B27C00;background:#FFF6D8}
.bd.b2 .bd-av{background:#E5457A}.bd.b2 small{color:#D0356B;background:#FFE9F0}
.bd.b3 .bd-av{background:#12A594}.bd.b3 small{color:#0E8577;background:#E2F8F4}
.bd.b4 .bd-av{background:#2F6FE0}.bd.b4 small{color:#2F6FE0;background:#EEF3FF}
.bd.b5 .bd-av{background:#7A4FD8}.bd.b5 small{color:#6A3FC8;background:#F1EAFF}
.bd-conf i{position:absolute;width:10px;height:10px;border-radius:3px;opacity:.55;animation:bdbob 5s ease-in-out infinite}
.bd-conf i:nth-child(1){left:6%;top:8%;background:#FF6B2C}.bd-conf i:nth-child(2){left:18%;top:92%;background:#2F6FE0;animation-delay:-1s}
.bd-conf i:nth-child(3){left:34%;top:6%;background:#E5457A;animation-delay:-2s}.bd-conf i:nth-child(4){left:52%;top:94%;background:#E8A500;animation-delay:-3s}
.bd-conf i:nth-child(5){left:68%;top:6%;background:#12A594;animation-delay:-4s}.bd-conf i:nth-child(6){left:82%;top:92%;background:#7A4FD8;animation-delay:-1.5s}
.bd-conf i:nth-child(7){left:94%;top:14%;background:#FF6B2C;animation-delay:-2.5s}.bd-conf i:nth-child(8){left:2%;top:50%;background:#2F6FE0;animation-delay:-3.5s}
.bd-conf i:nth-child(9){left:97%;top:56%;background:#E5457A;animation-delay:-4.5s}.bd-conf i:nth-child(10){left:44%;top:12%;background:#12A594;animation-delay:-5.5s}
@media(max-width:560px){.bday-box{padding:22px 16px 24px;border-radius:26px}.bday-head{gap:12px;margin-bottom:16px}.bday-head h2{font-size:22px}.bday-ic{font-size:38px}.bday-cnt{min-width:40px;height:40px;font-size:17px}.bday-grid{grid-template-columns:1fr 1fr;gap:8px}.bd{padding:8px;gap:8px;flex-wrap:wrap}.bd-av{width:36px;height:36px;font-size:15px}.bd small{margin-left:44px}}
@media(prefers-reduced-motion:reduce){.bday-ic,.bd-conf i{animation:none}}

/* именинники на телефоне: по 2 в ряд, первые 6, остальные по кнопке */
.bday-more{display:none}
@media(max-width:560px){
	.bd{flex-direction:column;align-items:center;text-align:center;padding:12px 8px;gap:6px}
	.bd-tx{align-items:center;max-width:100%}.bd-tx b,.bd-tx em{max-width:100%}
	.bd small{margin:0}
	.bday-grid:not(.open) .bd.x{display:none}
	.bday-more{display:block;margin:14px auto 0;position:relative;z-index:1;background:#fff;border:0;border-radius:999px;padding:10px 22px;font-weight:800;color:#FF6B2C;box-shadow:0 5px 14px rgba(16,52,92,.1);font-family:inherit;font-size:14px;cursor:pointer}
}

/* именинники: режим «только первая буква» — карточка в одну строку */
.bday-head h2{font-size:26px}
.bday-box.m-initial .bday-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.bday-box.m-initial .bd-tx b{white-space:nowrap}
@media(max-width:560px){
	.bday-head h2{font-size:19px;line-height:1.25}
	.bday-box.m-initial .bday-grid{grid-template-columns:1fr 1fr}
	.bday-box.m-initial .bd{flex-direction:row;flex-wrap:wrap;text-align:left;align-items:center;padding:8px 10px;gap:4px 8px}
	.bday-box.m-initial .bd-tx{align-items:flex-start;flex:1;min-width:0}
	.bday-box.m-initial .bd small{margin:0 0 0 44px;flex-basis:100%;width:max-content}
}
