/*
Theme Name: Sweet Bonanza Clean
Author: Codex
Description: Легка Gutenberg-тема з налаштовуваним hero, header і footer. Контент сторінок зберігається лише у стандартному редакторі WordPress.
Version: 1.6.2
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: sweet-bonanza-clean
*/

:root{--sbc-bg:#f7f6ff;--sbc-surface:#fff;--sbc-text:#1b174d;--sbc-muted:#68647f;--sbc-primary:#6d3bff;--sbc-primary-dark:#4b22d4;--sbc-accent:#ffc928;--sbc-line:#dfdcf3;--sbc-wide:1200px;--sbc-content:780px;--sbc-radius:20px;--sbc-shadow:0 18px 55px rgba(38,25,112,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--sbc-bg);color:var(--sbc-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.65;overflow-x:hidden}img{max-width:100%;height:auto}a{color:var(--sbc-primary-dark)}a:hover{color:var(--sbc-primary)}:where(a,button,input,textarea,select):focus-visible{outline:3px solid var(--sbc-accent);outline-offset:3px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:fixed!important;top:10px;left:10px;z-index:9999;width:auto;height:auto;padding:12px 16px;clip:auto;background:#fff;color:#000}
.site-shell{width:min(calc(100% - 40px),var(--sbc-wide));margin-inline:auto}.content-shell{width:min(calc(100% - 40px),var(--sbc-content));margin-inline:auto}.site-main{padding:72px 0 88px}.site-main--front{padding-top:72px}.entry-header{margin-bottom:36px}.entry-title{margin:0;font-size:clamp(2.1rem,5vw,3.8rem);line-height:1.08;letter-spacing:-.045em}.entry-content>*{margin-top:0;margin-bottom:1.4em}.entry-content>h2,.entry-content>h3{margin-top:1.8em;margin-bottom:.7em;line-height:1.18}.entry-content>h2{font-size:clamp(1.7rem,3vw,2.35rem)}.entry-content>h3{font-size:clamp(1.3rem,2vw,1.65rem)}.entry-content>.alignwide{width:min(100vw - 40px,var(--sbc-wide));max-width:none;margin-left:50%;transform:translateX(-50%)}.entry-content>.alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}.entry-content table{width:100%;border-collapse:collapse;background:#fff}.entry-content th,.entry-content td{padding:14px 16px;border:1px solid var(--sbc-line);text-align:left}.entry-content blockquote{margin-inline:0;padding:18px 24px;border-left:4px solid var(--sbc-primary);background:#eeebff}.entry-content .wp-block-button__link{border-radius:999px;background:var(--sbc-primary);font-weight:750}
.site-header{position:sticky;top:0;z-index:100;background:rgba(247,246,255,.92);border-bottom:1px solid rgba(109,59,255,.14);backdrop-filter:blur(16px)}.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:28px}.site-branding{display:flex;align-items:center;gap:12px;min-width:max-content}.custom-logo{display:block;max-height:48px;width:auto}.site-title{margin:0;font-size:1.35rem;font-weight:900;line-height:1}.site-title a{color:var(--sbc-text);text-decoration:none}.primary-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.primary-nav a{color:var(--sbc-text);font-size:.95rem;font-weight:750;text-decoration:none}.primary-nav a:hover,.primary-nav .current-menu-item>a{color:var(--sbc-primary)}
.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:580px;background:#23136f url('assets/images/sweet-bonanza-hero.jpg') center/cover no-repeat;color:#fff}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(20,12,79,.94),rgba(45,24,125,.72) 55%,rgba(45,24,125,.22))}.hero-content{width:min(690px,100%);padding:96px 0}.hero-kicker{margin:0 0 12px;color:#ffe478;font-size:.82rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.hero h1{margin:0 0 22px;font-size:clamp(2.7rem,6vw,5rem);line-height:1.02;letter-spacing:-.055em}.hero-text{max-width:640px;margin:0;color:#e9e6ff;font-size:clamp(1.08rem,2vw,1.3rem)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:999px;font-weight:850;text-decoration:none}.hero-button--primary{background:var(--sbc-accent);color:#2a2142}.hero-button--primary:hover{background:#ffd95f;color:#2a2142}.hero-button--secondary{border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.12);color:#fff}.hero-button--secondary:hover{background:rgba(255,255,255,.2);color:#fff}
.site-footer{padding:58px 0 34px;background:#121038;color:#fff}.footer-inner{display:grid;grid-template-columns:1.2fr 1fr;gap:36px 48px;align-items:start}.footer-title{margin:0 0 12px;font-size:1.35rem}.footer-text,.copyright,.footer-resource-note,.footer-responsible p{color:#c9c6df}.footer-nav ul{display:flex;justify-content:flex-end;gap:12px 22px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.footer-nav a,.footer-help-links a{color:#fff0a4;text-underline-offset:4px}.footer-nav a:hover,.footer-help-links a:hover{color:#fff}.footer-resources,.footer-responsible,.copyright{grid-column:1/-1}.footer-resources,.footer-responsible{border-top:1px solid rgba(255,255,255,.16);padding-top:30px}.footer-resources h2,.footer-responsible h2{margin:0;font-size:1rem;text-transform:uppercase;letter-spacing:.06em}.footer-badges{display:grid;grid-template-columns:repeat(4,minmax(0,220px));gap:14px;margin:20px 0}.footer-badges a,.footer-badges span{display:block;border-radius:12px;overflow:hidden;background:#0b1630}.footer-badges img{display:block;width:100%;height:auto}.footer-resource-note{max-width:1000px;margin:0;font-size:.86rem}.footer-responsible{display:grid;grid-template-columns:250px 1fr;gap:12px 36px}.footer-responsible-heading{grid-row:1/4;display:flex;align-items:center;gap:16px}.footer-age{display:grid;place-items:center;flex:0 0 62px;height:62px;border:2px solid #fff;border-radius:50%;font-weight:800;font-size:1.15rem}.footer-responsible p{margin:0;max-width:900px}.footer-help-links{display:flex;gap:12px 24px;flex-wrap:wrap;margin-top:6px}.copyright{padding-top:24px;border-top:1px solid rgba(255,255,255,.16);margin:0}.not-found{text-align:center;padding:100px 0}
@media(max-width:900px){.footer-badges{grid-template-columns:repeat(2,minmax(0,220px))}.footer-responsible{grid-template-columns:1fr}.footer-responsible-heading{grid-row:auto}}
@media(max-width:800px){.header-inner{align-items:flex-start;padding:17px 0;flex-direction:column;gap:14px}.site-header{position:relative}.primary-nav{width:100%;overflow-x:auto}.primary-nav ul{gap:16px;width:max-content;padding-bottom:3px}.hero{min-height:520px}.hero-content{padding:76px 0}.footer-inner{grid-template-columns:1fr}.footer-nav ul{justify-content:flex-start}.site-main{padding:54px 0 68px}}
@media(max-width:520px){.footer-badges{grid-template-columns:1fr}.footer-badges a,.footer-badges span{max-width:260px}}
@media(max-width:520px){.site-shell,.content-shell{width:min(calc(100% - 32px),var(--sbc-wide))}.hero-actions{flex-direction:column}.hero-button{width:100%}.entry-content>.alignwide{width:calc(100vw - 32px)}}
.sbc-notice{padding:18px 22px;border:1px solid #c9c2ff;border-left:5px solid var(--sbc-primary);border-radius:14px;background:#eeebff}.sbc-notice p{margin:0}.wp-block-table{overflow-x:auto}.entry-content th{width:38%}
.primary-nav .menu-item-has-children{position:relative}.primary-nav .menu-item-has-children>a:after{content:"▾";display:inline-block;margin-left:7px;font-size:.75em}.primary-nav .sub-menu{position:absolute;top:calc(100% + 14px);left:-14px;display:none;min-width:280px;padding:10px;gap:2px;flex-direction:column;align-items:stretch;border:1px solid var(--sbc-line);border-radius:14px;background:#fff;box-shadow:var(--sbc-shadow)}.primary-nav .sub-menu:before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}.primary-nav .sub-menu a{display:block;padding:9px 11px;border-radius:9px;white-space:nowrap}.primary-nav .sub-menu a:hover,.primary-nav .sub-menu .current-menu-item>a{background:#eeebff}.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{display:flex}
@media(max-width:800px){.primary-nav{overflow:visible}.primary-nav>ul{width:100%;flex-wrap:wrap}.primary-nav .sub-menu{left:0;top:calc(100% + 8px);min-width:min(280px,calc(100vw - 40px))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
