/* =============================================================================
   CBT Event — base.css
   1. Reset = hello-elementor/assets/css/reset.css (bloki cbt były projektowane na nim),
      kolory linków/przycisków (#c36) zamienione na kolory CBT.
   2. Baza typografii = kit Elementora cbt.pl / poradni (body #393939, Poppins, nagłówki),
      ale przez :where() — specyficzność 0, więc style bloków zawsze wygrywają.
   3. Szkielet motywu: skip link, main, kontener dla treści spoza bloków (Woo, wpisy).
   Root font-size (62.5%, 1rem = 10px) i tokeny kolorów: css/global.css.
   ============================================================================= */

/* 1. Reset (hello-elementor) ------------------------------------------------ */
html{line-height:1.15;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:border-box}body{background-color:#fff;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{color:inherit;font-family:inherit;font-weight:500;line-height:1.2;margin-block-end:1rem;margin-block-start:.5rem}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-block-end:.9rem;margin-block-start:0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em;white-space:pre-wrap}a{background-color:transparent;color:#199acc;text-decoration:none}a:active,a:hover{color:#125f81}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}abbr[title]{border-block-end:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;height:auto;max-width:100%}details{display:block}summary{display:list-item}figcaption{color:#333;font-size:16px;font-style:italic;font-weight:400;line-height:1.4}[hidden],template{display:none}label{display:inline-block;line-height:1;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:1rem;line-height:1.5;margin:0}input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{border:1px solid #666;border-radius:3px;padding:.5rem 1rem;transition:all .3s;width:100%}input[type=date]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#333}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;width:auto}[type=button],[type=submit],button{background-color:transparent;border:1px solid #199acc;border-radius:3px;color:#199acc;display:inline-block;font-size:1rem;font-weight:400;padding:.5rem 1rem;text-align:center;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}[type=button]:focus:not(:focus-visible),[type=submit]:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{background-color:#199acc;color:#fff;text-decoration:none}[type=button]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}select{display:block}table{background-color:transparent;border-collapse:collapse;border-spacing:0;font-size:.9em;margin-block-end:15px;width:100%}table td,table th{border:1px solid hsla(0,0%,50%,.502);line-height:1.5;padding:15px;vertical-align:top}table th{font-weight:700}table tfoot th,table thead th{font-size:1em}dd,dl,dt,li,ol,ul{background:transparent;border:0;font-size:100%;margin-block-end:0;margin-block-start:0;outline:0;vertical-align:baseline}

/* 2. Baza typografii (kit Elementora, bez wagi selektorów) ------------------- */
body{font-family:"Poppins",sans-serif;color:#393939}
/* strony z blokami: global.css ustawia html 62.5%, więc tekst spoza bloków wraca do 16px */
body.cbte-rem10{font-size:1.6rem}
:where(body) a{color:#393939}
:where(body) h1{color:#393939}
:where(body) h2{color:#393939;font-family:"Poppins",sans-serif;font-size:36px;font-weight:900;line-height:48px}
:where(body) h3{color:#393939;font-family:"Poppins",sans-serif;font-size:21px;font-weight:700}
:where(body) :is(button,[type=button],[type=submit]){font-family:"Poppins",sans-serif}

/* 3. Szkielet motywu ---------------------------------------------------------- */
.cbte-skip{position:absolute;left:-9999px;top:0;z-index:1000;padding:12px 16px;background:#fff;color:#050709}
.cbte-skip:focus{left:8px;top:8px}
/* płynne przewijanie do kotwic i „Do góry” (#top) w pasku 903 — jak w motywach z hello-elementor */
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
/* krótka strona (koszyk, 404): stopka zawsze na dole ekranu */
body{display:flex;flex-direction:column;min-height:100vh}
.cbte-main{display:block;flex:1 0 auto}
.cbte-footer{flex-shrink:0}
.cbte-container{width:100%;max-width:1200px;margin-inline:auto;padding:48px 24px}
@media (max-width:767.98px){.cbte-container{padding:32px 16px}}
.cbte-container > :first-child{margin-top:0}

/* Nagłówek (Figma „logo container”) ---------------------------------------------
   Treść max 1600px, wyśrodkowana; tło na całą szerokość. Boczny padding jak w hero
   (blok 101: 24px / 20px ≤1280px / 16px ≤768px) — na ekranach, gdzie hero wypełnia
   szerokość, logo i znak równają się z jego treścią („Nowe spojrzenie…”). */
.cbte-header{--cbte-header-pad:24px;--cbte-header-max:1600px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:32px max(var(--cbte-header-pad),calc((100% - var(--cbte-header-max)) / 2)) 24px;background:#0A0B16}
.cbte-header__logo{display:block;line-height:0}
.cbte-header__logo img{display:block;width:210px;height:auto}
.cbte-header__znak{display:block;width:106px;height:auto}
.cbte-header__logo:focus-visible{outline:2px solid #74E8FF;outline-offset:4px;border-radius:4px}
@media (max-width:1280px){.cbte-header{--cbte-header-pad:20px}}
@media (max-width:768px){
	.cbte-header{--cbte-header-pad:16px;padding-top:16px;padding-bottom:16px}
	.cbte-header__logo img{width:155px}
	.cbte-header__znak{width:98px}
}
