:root{
  --awbrst-accent:#EDD600;
  --awbrst-dark:#111111;
  --awbrst-dark-2:#1a1a1a;
  --awbrst-muted:#6b6b6b;
  --awbrst-line:#e7e7e7;
  --awbrst-bg:#f6f6f3;
  --awbrst-white:#ffffff;
  --awbrst-radius:22px;
  --awbrst-shadow:0 18px 50px rgba(0,0,0,.07);
}

.awbrst-template{padding:34px 0 70px;background:linear-gradient(180deg,#fff 0%, #f8f8f6 100%)}
.awbrst-template-inner{width:min(1240px,calc(100% - 40px));margin:0 auto}

.awbrst-filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 28px}
.awbrst-filters button{border:1px solid #d8d8d8;background:#fff;padding:10px 16px;border-radius:999px;font:inherit;cursor:pointer;transition:.2s ease}
.awbrst-filters button.is-active,.awbrst-filters button:hover{background:var(--awbrst-accent);border-color:var(--awbrst-accent);color:#111}

.awbrst-grid{display:grid;gap:28px}
.awbrst-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.awbrst-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.awbrst-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.awbrst-card{background:#fff;border:1px solid var(--awbrst-line);border-radius:18px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,.06);display:flex;flex-direction:column;transition:transform .22s ease, box-shadow .22s ease}
.awbrst-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(0,0,0,.1)}
.awbrst-card-image{display:block;aspect-ratio:16/10;background:#1a1a1a;overflow:hidden}
.awbrst-card-image img{width:100%;height:100%;object-fit:cover;transition:.35s transform}
.awbrst-card:hover .awbrst-card-image img{transform:scale(1.035)}
.awbrst-image-placeholder,.awbrst-single-placeholder{height:100%;display:grid;place-items:center;color:var(--awbrst-accent);font-weight:800;letter-spacing:.16em;text-align:center;background:radial-gradient(circle at top right, rgba(237,214,0,.18), transparent 36%), linear-gradient(180deg,#171717,#090909)}
.awbrst-card-body{padding:24px;display:flex;flex-direction:column;flex:1}
.awbrst-card h3{font-size:25px;line-height:1.15;margin:12px 0}
.awbrst-card h3 a{color:var(--awbrst-dark);text-decoration:none}
.awbrst-goal{color:var(--awbrst-muted)}
.awbrst-badges{display:flex;gap:8px;flex-wrap:wrap}
.awbrst-badges span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;background:var(--awbrst-accent);padding:6px 10px;border-radius:999px;color:#111}
.awbrst-card-meta{display:grid;gap:5px;margin:8px 0 20px;font-size:14px;color:#222}
.awbrst-card-meta b{font-weight:700}
.awbrst-btn,.awbrst-submit{display:inline-flex;justify-content:center;align-items:center;background:var(--awbrst-accent);color:#111!important;text-decoration:none!important;border:0;border-radius:999px;padding:14px 22px;font-weight:800;cursor:pointer;transition:.18s ease;line-height:1.15}
.awbrst-btn:hover,.awbrst-submit:hover{transform:translateY(-1px);filter:brightness(.98)}
.awbrst-btn-secondary{background:#fff!important;color:#111!important;border:1px solid #d8d8d8}
.awbrst-card .awbrst-btn{margin-top:auto;align-self:flex-start}

.awbrst-single-page{display:flex;flex-direction:column;gap:30px}
.awbrst-single-hero{display:grid;grid-template-columns:minmax(340px,520px) minmax(0,1fr);gap:34px;align-items:stretch;background:#fff;border:1px solid var(--awbrst-line);border-radius:30px;padding:28px;box-shadow:var(--awbrst-shadow)}
.awbrst-single-media{min-height:350px;border-radius:24px;overflow:hidden;background:#111}
.awbrst-single-media img{width:100%;height:100%;object-fit:cover;display:block}
.awbrst-single-placeholder{min-height:350px;font-size:clamp(22px,2.2vw,34px);padding:24px}
.awbrst-single-summary{display:flex;flex-direction:column;justify-content:center}
.awbrst-badges-hero{margin-bottom:16px}
.awbrst-single-title{font-size:clamp(34px,4vw,56px);line-height:1.02;margin:0 0 16px;color:#111;font-weight:800}
.awbrst-single-lead{font-size:17px;line-height:1.7;color:#444;max-width:760px}
.awbrst-single-lead p:last-child{margin-bottom:0}
.awbrst-hero-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.awbrst-hero-meta-item{background:var(--awbrst-bg);border:1px solid #ecece6;border-radius:18px;padding:18px 18px 16px}
.awbrst-hero-meta-item span{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#777;margin-bottom:8px}
.awbrst-hero-meta-item strong{display:block;font-size:18px;line-height:1.35;color:#111}
.awbrst-next-term{display:flex;flex-direction:column;gap:3px;padding:18px 20px;background:#111;color:#fff;border-radius:18px;margin-bottom:24px}
.awbrst-next-term span{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--awbrst-accent);font-weight:800}
.awbrst-next-term strong{font-size:20px;line-height:1.3;color:#fff}
.awbrst-next-term em{font-style:normal;color:#d7d7d7}
.awbrst-hero-actions{display:flex;gap:12px;flex-wrap:wrap}

.awbrst-single-body{display:flex;flex-direction:column;gap:24px}
.awbrst-single{margin:30px 0}
.awbrst-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.awbrst-fact{background:#111;color:#fff;border-radius:18px;padding:20px 20px 18px;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.awbrst-fact span{display:block;font-size:12px;color:var(--awbrst-accent);text-transform:uppercase;font-weight:800;letter-spacing:.08em;margin-bottom:8px}
.awbrst-fact strong{font-size:18px;line-height:1.45;font-weight:700;display:block}
.awbrst-sections{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.awbrst-section{background:#fff;border:1px solid var(--awbrst-line);border-radius:22px;padding:26px;box-shadow:0 10px 26px rgba(0,0,0,.035)}
.awbrst-section.wide{grid-column:1/-1}
.awbrst-section h2,.awbrst-section h3{margin:0 0 14px;color:#111;font-size:28px;line-height:1.15}
.awbrst-section-intro h2{font-size:34px}
.awbrst-section ul{margin:0;padding-left:0;list-style:none;display:grid;gap:10px}
.awbrst-section li{margin:0;position:relative;padding-left:22px;line-height:1.7;color:#333}
.awbrst-section li:before{content:"";position:absolute;left:0;top:.7em;width:9px;height:9px;border-radius:50%;background:var(--awbrst-accent)}
.awbrst-richtext{font-size:17px;line-height:1.85;color:#333}
.awbrst-richtext > *:last-child{margin-bottom:0}

.awbrst-register{margin-top:6px;background:#111;color:#fff;border-radius:24px;padding:34px;position:relative;overflow:hidden;box-shadow:0 18px 42px rgba(0,0,0,.14)}
.awbrst-register:before{content:"";position:absolute;right:-90px;top:-90px;width:230px;height:230px;background:var(--awbrst-accent);border-radius:50%;opacity:.12}
.awbrst-register:after{content:"";position:absolute;left:-40px;bottom:-40px;width:120px;height:120px;background:rgba(237,214,0,.06);border-radius:50%}
.awbrst-register-head{position:relative;z-index:1}
.awbrst-register-head>span{display:inline-block;background:var(--awbrst-accent);color:#111;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.08em}
.awbrst-register h2{color:#fff;margin:12px 0 8px;font-size:36px;line-height:1.08}
.awbrst-register-head p{color:#d0d0d0;max-width:760px}
.awbrst-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;position:relative;z-index:1}
.awbrst-form label span{display:block;margin-bottom:7px;font-weight:700;color:#f2f2f2}
.awbrst-form input,.awbrst-form select,.awbrst-form textarea{width:100%;box-sizing:border-box;padding:14px 15px;border-radius:10px;border:1px solid #4f4f4f;background:#fff;color:#111;font:inherit}
.awbrst-form select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#333 50%),linear-gradient(135deg,#333 50%,transparent 50%);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat}
.awbrst-form .wide{grid-column:1/-1}
.awbrst-consent{display:flex;gap:10px;align-items:flex-start}
.awbrst-consent input{width:auto;margin-top:4px}
.awbrst-alert{padding:14px 16px;border-radius:12px;background:#2d2d2d;margin:15px 0;position:relative;z-index:1}
.awbrst-alert.success{background:#174d37}
.awbrst-alert.error{background:#6e1c1c}
.awbrst-hp{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}

.awbrst-empty{background:#fff;border:1px solid var(--awbrst-line);border-radius:20px;padding:24px}

@media(max-width:1180px){
  .awbrst-single-hero{grid-template-columns:1fr;gap:24px}
  .awbrst-hero-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .awbrst-cols-3,.awbrst-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .awbrst-facts{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:767px){
  .awbrst-template{padding:18px 0 40px}
  .awbrst-template-inner{width:min(100%,calc(100% - 22px))}
  .awbrst-single-hero{padding:18px;border-radius:22px}
  .awbrst-single-media,.awbrst-single-placeholder{min-height:240px}
  .awbrst-single-title{font-size:30px}
  .awbrst-hero-meta{grid-template-columns:1fr}
  .awbrst-register{padding:24px}
  .awbrst-register h2{font-size:30px}
}
@media(max-width:640px){
  .awbrst-grid,.awbrst-cols-2,.awbrst-cols-3,.awbrst-cols-4,.awbrst-sections,.awbrst-form,.awbrst-facts{grid-template-columns:1fr}
  .awbrst-section.wide,.awbrst-form .wide{grid-column:auto}
  .awbrst-card h3{font-size:22px}
  .awbrst-hero-actions{flex-direction:column}
  .awbrst-hero-actions .awbrst-btn{width:100%}
  .awbrst-fact strong{font-size:17px}
  .awbrst-section{padding:22px}
  .awbrst-section h2,.awbrst-section h3{font-size:24px}
}

.awbrst-interest-status{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;gap:2px 12px;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:16px 18px;margin:18px 0 4px;max-width:620px}
.awbrst-interest-status strong{grid-row:1/3;font-size:34px;line-height:1;color:var(--awbrst-accent)}
.awbrst-interest-status span{font-weight:800;color:#fff}
.awbrst-interest-status em{font-style:normal;color:#bbb;font-size:13px}
.awbrst-interest-choice{display:flex;align-items:center;gap:14px;background:rgba(237,214,0,.09);border:1px solid rgba(237,214,0,.28);border-radius:14px;padding:16px 18px}
.awbrst-interest-choice .awbrst-interest-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--awbrst-accent);color:#111;font-size:24px;font-weight:900;margin:0}
.awbrst-interest-choice strong{display:block;color:#fff;font-size:17px;margin-bottom:3px}
.awbrst-interest-choice small{display:block;color:#c9c9c9;line-height:1.45}

/* Serie szkoleń */
.awbrst-series-list{display:flex;flex-direction:column;gap:46px}
.awbrst-series-group{min-width:0}
.awbrst-series-heading{display:grid;grid-template-columns:minmax(30px,1fr) auto minmax(30px,1fr);align-items:center;gap:18px;margin:0 0 24px}
.awbrst-series-heading>span{height:1px;background:#d8d8d2}
.awbrst-series-heading h2{margin:0!important;font-size:22px;line-height:1.2;font-weight:700;text-align:center;color:#111;text-transform:none}
.awbrst-series-divider{height:1px;background:#d8d8d2;margin:0 0 24px}
.awbrst-series-unassigned:first-child .awbrst-series-heading{margin-top:0}

@media(max-width:640px){
  .awbrst-series-list{gap:34px}
  .awbrst-series-heading{grid-template-columns:24px minmax(0,auto) 24px;gap:10px;margin-bottom:18px}
  .awbrst-series-heading h2{font-size:19px}
}
