/* scoped style strony (z tresci produkcyjnych szablonow) */

/* ============================================================
   ZW - Zawody listing (Figma Fr() 1:1)
   ============================================================ */

/* Base font — match Figma Make (Inter) */
.min-h-screen { font-family: 'Inter', sans-serif; }

/* Hero */
.zw-hero { background: linear-gradient(to bottom right, rgba(210,229,225,0.3), #fff); padding: 80px 0 112px; }
@media(min-width:1024px){ .zw-hero { padding: 80px 0 112px; } }
.zw-hero__inner { max-width: 896px; margin: 0 auto; text-align: center; }
.zw-hero h1 { font-size: 36px; font-weight: 700; color: #232D4B; margin-bottom: 24px; line-height: 1.1; }
@media(min-width:1024px){ .zw-hero h1 { font-size: 60px; } }
.zw-hero p { font-size: 20px; color: #374151; line-height: 1.6; }

/* Section base */
.zw-section { padding: 80px 0; }
.zw-section--white { background: #fff; }
.zw-section--gray { background: #F9FAFB; }
.zw-max6 { max-width: 1152px; margin: 0 auto; }
.zw-max5 { max-width: 1024px; margin: 0 auto; }
.zw-max4 { max-width: 896px; margin: 0 auto; }

.zw-sh { text-align: center; margin-bottom: 48px; }
.zw-sh h2 { font-size: 30px; font-weight: 700; color: #232D4B; line-height: 1.2; margin-bottom: 12px; }
@media(min-width:1024px){ .zw-sh h2 { font-size: 48px; } }
.zw-sh__sub { font-size: 20px; color: #4B5563; }
@media(min-width:1024px){ .zw-sh__sub { font-size: 24px; } }

/* Info box */
.zw-info { background: linear-gradient(to bottom right, rgba(210,229,225,0.3), #fff); border-radius: 12px; padding: 32px; margin-bottom: 48px; border: 1px solid #E5E7EB; }
.zw-info h3 { font-size: 20px; font-weight: 500; color: #232D4B; margin-bottom: 12px; text-align: center; }
.zw-info p { color: #374151; text-align: center; max-width: 768px; margin: 0 auto; line-height: 1.6; }

/* Card grid */
.zw-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; margin-bottom: 64px; }
@media(min-width:768px){ .zw-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .zw-grid { grid-template-columns: repeat(3, 1fr); } }

/* Zawod card */
.zw-card { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #E5E7EB; display: flex; flex-direction: column; transition: all 0.2s; }
.zw-card:hover { border-color: #81BD51; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.zw-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.zw-card__header h3 { font-size: 20px; font-weight: 500; color: #232D4B; }
.zw-card { cursor: pointer; }
.zw-card__header h3 .zw-card-link { color: inherit; text-decoration: none; }
.zw-card:hover .zw-card-link { color: #81BD51; }
.zw-card__badges { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.zw-card__desc { font-size: 14px; color: #4B5563; margin-bottom: 16px; line-height: 1.6; flex: 1; }

/* Location row */
.zw-loc { margin-bottom: 16px; }
.zw-loc__label { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; position: relative; }
.zw-loc__label svg { width: 12px; height: 12px; flex-shrink: 0; }
/*ikona*/ .zw-loc__label .bz-ico.bz-ico { width: 12px; height: 12px; flex-shrink: 0; }
/*ikona*/ .zw-loc__label li::before { width: 12px; height: 12px; flex-shrink: 0; }
.zw-loc__label .zw-pin { color: #6B7280; }
.zw-loc__label .zw-info-icon { color: #9CA3AF; cursor: help; }
.zw-loc__label p { font-size: 12px; color: #6B7280; margin: 0; }
.zw-loc__tooltip { position: absolute; left: 0; top: 100%; margin-top: 4px; width: 256px; background: #111827; color: #fff; font-size: 12px; border-radius: 4px; padding: 8px; opacity: 0; pointer-events: none; transition: opacity 0.15s; z-index: 10; }
.zw-loc__label:hover .zw-loc__tooltip { opacity: 1; }
.zw-loc__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.zw-loc__tag { font-size: 12px; background: #F3F4F6; color: #374151; padding: 4px 8px; border-radius: 4px; }

/* Demand badge (inline in header) */
.zw-badge { display: inline-block; font-size: 12px; padding: 6px 12px; border-radius: 9999px; border: 1px solid; }
.zw-badge--green { background: rgba(129,189,81,0.1); color: #81BD51; border-color: rgba(129,189,81,0.2); }
.zw-badge--yellow { background: #FEFCE8; color: #A16207; border-color: #FDE68A; }
.zw-badge--gray { background: #F9FAFB; color: #6B7280; border-color: #E5E7EB; }
.zw-badge--red { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }

/* Exam type */
.zw-exam { font-size: 12px; color: #6B7280; margin-bottom: 16px; }
.zw-exam span { display: flex; align-items: center; gap: 4px; }
.zw-exam svg { width: 12px; height: 12px; }
/*ikona*/ .zw-exam .bz-ico.bz-ico { width: 12px; height: 12px; }
/*ikona*/ .zw-exam li::before { width: 12px; height: 12px; }

/* View details link */
.zw-details { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: #81BD51; transition: color 0.15s; text-decoration: none; margin-top: auto; }
.zw-details:hover { color: #6fa043; }
.zw-details svg { width: 16px; height: 16px; }
/*ikona*/ .zw-details .bz-ico.bz-ico { width: 16px; height: 16px; }
/*ikona*/ .zw-details li::before { width: 16px; height: 16px; }

/* CTA banner (green) */
.zw-banner { background: linear-gradient(to bottom right, #81BD51, #6fa043); color: #fff; border-radius: 16px; padding: 48px; margin-bottom: 64px; text-align: center; }
.zw-banner h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 16px; }
@media(min-width:1024px){ .zw-banner h2 { font-size: 36px; } }
.zw-banner p { font-size: 18px; margin-bottom: 24px; max-width: 672px; margin-left: auto; margin-right: auto; }
.zw-banner .zw-btn-white { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #81BD51; padding: 16px 32px; border-radius: 8px; font-weight: 500; font-size: 16px; transition: background 0.15s; text-decoration: none; }
/*przycisk*/ .zw-banner .wp-block-button.zw-btn-white > .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #81BD51; padding: 16px 32px; border-radius: 8px; font-weight: 500; font-size: 16px; transition: background 0.15s; text-decoration: none; }
.zw-banner .zw-btn-white:hover { background: #F3F4F6; }
/*przycisk*/ .zw-banner .wp-block-button.zw-btn-white:hover > .wp-block-button__link { background: #F3F4F6; }
.zw-banner .zw-btn-white svg { width: 20px; height: 20px; }
/*ikona*/ .zw-banner .zw-btn-white .bz-ico.bz-ico { width: 20px; height: 20px; }
/*ikona*/ .zw-banner .zw-btn-white li::before { width: 20px; height: 20px; }

/* Footnote */
.zw-footnote { font-size: 14px; color: #6B7280; text-align: center; margin-top: 32px; }

/* Decision section */
.zw-decide { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
@media(min-width:768px){ .zw-decide { grid-template-columns: repeat(3, 1fr); } }
.zw-decide__card { background: #fff; border-radius: 12px; padding: 32px; border: 1px solid #F3F4F6; }
.zw-decide__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(129,189,81,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.zw-decide__icon svg { width: 24px; height: 24px; color: #81BD51; }
/*ikona*/ .zw-decide__icon .bz-ico.bz-ico { width: 24px; height: 24px; color: #81BD51; }
/*ikona*/ .zw-decide__icon li::before { width: 24px; height: 24px; color: #81BD51; }
.zw-decide__card h3 { font-size: 20px; font-weight: 500; color: #232D4B; margin-bottom: 12px; }
.zw-decide__card p { color: #4B5563; line-height: 1.6; }

/* Benefits grid (4 col) */
.zw-benefits { display: grid; grid-template-columns: repeat(1, 1fr); gap: 32px; }
@media(min-width:768px){ .zw-benefits { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .zw-benefits { grid-template-columns: repeat(4, 1fr); } }
.zw-benefit { text-align: center; }
.zw-benefit__icon { width: 64px; height: 64px; border-radius: 12px; background: rgba(129,189,81,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.zw-benefit__icon svg { width: 32px; height: 32px; color: #81BD51; }
/*ikona*/ .zw-benefit__icon .bz-ico.bz-ico { width: 32px; height: 32px; color: #81BD51; }
/*ikona*/ .zw-benefit__icon li::before { width: 32px; height: 32px; color: #81BD51; }
.zw-benefit h3 { font-size: 18px; font-weight: 500; color: #232D4B; margin-bottom: 8px; }
.zw-benefit p { font-size: 14px; color: #4B5563; }

/* CTA navy */
.zw-cta { background: linear-gradient(to bottom right, #232D4B, #1a2136); padding: 80px 0; color: #fff; }
.zw-cta h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 24px; }
@media(min-width:1024px){ .zw-cta h2 { font-size: 48px; } }
.zw-cta p { font-size: 20px; color: #D1D5DB; margin-bottom: 32px; }
.zw-cta__btns { display: flex; flex-direction: column; align-items: center; gap: 16px; }
/*przycisk*/ .wp-block-button.zw-cta__btns > .wp-block-button__link { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media(min-width:640px){ .zw-cta__btns { flex-direction: row; justify-content: center; }
/*przycisk*/ .wp-block-button.zw-cta__btns > .wp-block-button__link { flex-direction: row; justify-content: center; } }
.zw-btn-green { display: inline-flex; align-items: center; gap: 8px; background: #81BD51; color: #fff; padding: 16px 32px; border-radius: 8px; font-weight: 500; font-size: 16px; transition: background 0.15s; text-decoration: none; }
/*przycisk*/ .wp-block-button.zw-btn-green > .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; background: #81BD51; color: #fff; padding: 16px 32px; border-radius: 8px; font-weight: 500; font-size: 16px; transition: background 0.15s; text-decoration: none; }
.zw-btn-green:hover { background: #6fa043; color: #fff; }
/*przycisk*/ .wp-block-button.zw-btn-green:hover > .wp-block-button__link { background: #6fa043; color: #fff; }
.zw-btn-green svg { width: 20px; height: 20px; }
/*ikona*/ .zw-btn-green .bz-ico.bz-ico { width: 20px; height: 20px; }
/*ikona*/ .zw-btn-green li::before { width: 20px; height: 20px; }
.zw-btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 2px solid rgba(255,255,255,0.2); color: #fff; padding: 16px 32px; border-radius: 8px; font-weight: 500; font-size: 16px; transition: background 0.15s; text-decoration: none; }
/*przycisk*/ .wp-block-button.zw-btn-outline > .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 2px solid rgba(255,255,255,0.2); color: #fff; padding: 16px 32px; border-radius: 8px; font-weight: 500; font-size: 16px; transition: background 0.15s; text-decoration: none; }
.zw-btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
/*przycisk*/ .wp-block-button.zw-btn-outline:hover > .wp-block-button__link { background: rgba(255,255,255,0.1); color: #fff; }

/* style inline przeniesione do klas */
.bz-i-1.bz-i-1.bz-i-1.bz-i-1 { margin-bottom: 0; }
.bz-i-2.bz-i-2.bz-i-2.bz-i-2 { text-align: center; }

/*przycisk*/ .wp-block-button:where([class*="btn"]) { background: none; border: 0; padding: 0; box-shadow: none; }
/*przycisk*/ .wp-block-button:where([class*="btn"]) > .wp-block-button__link { background: none; border: 0; }
