/*
 Theme Name:   Smart Child
 Description:  Child theme for Kadence on smart.edu.pl
 Version:      1.0.0
 Template:     kadence
 Text Domain:  smart-child
 Author:       Your Name
 Author URI:   https://smart.edu.pl/
*/


/* Force the hero section background to white */
.entry-hero.page-hero-section .entry-hero-container-inner {
  background-color: #fff !important;
}

/* If you have an overlay that’s coloring it, neutralize that too */
.entry-hero .hero-section-overlay {
  background: none !important;
}



/* ==============================================
   Base Styles
   ============================================== */

body, h1, h2, h3, h4, h5, h6, p, a, li, button, input, textarea {
  font-family: 'Manrope', sans-serif !important;
}

.entry-header,
.page-header,
.entry-header ,
.page-header .page-title,
.entry-title {
  display: none !important;
}

.site-header .site-container {
  max-width: 98% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 4px 0 1px !important;
  box-sizing: border-box !important;
}

.site-main-header-inner-wrap.site-header-row {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100%;
}

.site-header-main-section-left {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

/* —— Logo Styling & Nudge Up 3px —— */
.site-branding .custom-logo-link img,
.site-branding .site-logo img {
  height: 18px !important;
  width: auto !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
  display: block !important;
  transform: translateY(-3px) !important; /* ← added: lifts logo up 3px */
}

.site-header-main-section-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-grow: 1;
  flex-shrink: 1;
  gap: 1.5rem !important;
  margin: 0 0 0 6px !important;
  padding: 0 !important;
}

.site-header-item-main-navigation,
.main-navigation {
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  width: auto;
  order: 0;
}

.main-navigation ul {
  list-style: none;
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

.main-navigation ul li {
  margin: 0 9px 0 0 !important;
  position: relative !important;
}

.main-navigation ul li + li {
  margin-left: 2px !important; /* reduced gap between top‐level items */
}

.main-navigation ul li a {
  display: flex !important;
  align-items: center !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  padding: 0.15em 2px !important;
  color: #000 !important;
  text-decoration: none !important;
  transition: opacity .2s ease-in-out, color .2s ease-in-out !important;
  white-space: nowrap;
}

.main-navigation ul li a:hover {
  opacity: .7 !important;
}

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
 
 border: 1px solid #e0e0e0 !important;

 opacity: .7 !important;

 

}

.main-navigation ul li > .sub-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 260px !important;
  padding: 12px 0 !important;
  background-color: #f7f7f7 !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 8px rgba(0,0,0,.1) !important, 0 12px 24px rgba(0,0,0,.15) !important;
  border: 1px solid #e0e0e0 !important;
  z-index: 1000 !important;
}

.main-navigation ul li:hover > .sub-menu,
.main-navigation ul li:focus-within > .sub-menu {
  display: block !important;




}

.main-navigation ul li .sub-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: calc(50% - 8px);
  width: 16px;
  height: 8px;
  background-color: #f7f7f7;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
  border-left: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
  box-sizing: border-box;
}

.main-navigation ul li .sub-menu li + li {
  border-top: 1px solid #e0e0e0 !important;
}

/* ensure submenu links span full width for complete hover‐highlight */
.main-navigation ul li .sub-menu li a {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #121117 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .2s ease-in-out, color .2s ease-in-out !important;
}

.main-navigation ul li .sub-menu li a:hover {
  background-color: #ececec !important;
  color: #000 !important;
}

/* Extras in Right Section */
.site-header-main-section-right .widget_block .wp-block-button__link {
  display: inline-block;
  padding: 8px 16px !important;
  background: #e63946 !important;
  color: #fff !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  transition: background .3s ease-in-out;
  margin: 0 !important;
}

.site-header-main-section-right .widget_block .wp-block-button__link:hover {
  background: #c52834 !important;
}

.site-header-main-section-right .widget_text span {
  display: inline-block;
  padding: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  line-height: 1;
  vertical-align: middle;
  margin: 0 !important;
}

.site-header-main-section-right .widget_text a {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  color: #555;
  text-decoration: none !important;
  line-height: 1;
  margin: 0 !important;
}

.site-header-main-section-right .widget_text a i {
  font-size: 1.2rem;
  transition: color .3s ease;
}

.site-header-main-section-right .widget_text a:hover,
.site-header-main-section-right .widget_text a:hover i {
  color: #000;
}

/* Header Extras */
.header-extras {
  display: flex;
  align-items: center;
  width: 100%;
margin-top:-25px;
}


/* Language Switcher */
.lang-switcher details {
  position: relative;
  margin-right: 1rem;
}
.lang-switcher summary {
  font: 600 13px 'Inter', sans-serif;
  color: #000;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  transition: color .3s ease, transform .3s ease;
}
.lang-switcher summary::-webkit-details-marker,
.lang-switcher summary::marker {
  display: none;
}
.lang-switcher summary::after {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 4px;
}
.lang-switcher summary:hover {
  color: #333;
  transform: scale(1.1);
}
.lang-switcher .lang-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  min-width: 100px;
  z-index: 10;
}
.lang-switcher[open] .lang-list {
  display: block;
}
.lang-switcher .lang-list li + li {
  border-top: 1px solid #e0e0e0;
}
.lang-switcher .lang-list a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: #000;
  text-decoration: none;
  transition: background .2s ease;
}
.lang-switcher .lang-list a:hover {
  background: #f0f0f0;
}

/* Help Icon */
.help-link {
  display: inline-flex;
  align-items: center;
  margin: 0 1rem;
  font-size: 1.2rem;
  color: #000;
  transition: transform .3s ease, color .3s ease;
}
.help-link:hover {
  transform: rotate(15deg) scale(1.2);
  color: #333;
}

/* Kontakt Button */
.kontakt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 3px solid #e51c01;
  border-radius: 6px;
  font: 700 15px 'Inter', sans-serif;
  color: #e51c01;
  text-decoration: none;
  transition: background .3s ease, color .3s ease, transform .3s ease;
  margin-left: auto;
  line-height: 1.2;
}
.kontakt-btn .btn-text {
  display: inline-block;
}
.kontakt-btn:hover {
  background: #e51c01;
  color: #fff;
  transform: translateY(-0.1px) scale(1.0);
}

/* ==============================================
   Overrides per request
   ============================================== */

/* 1) Prevent hover scaling on language selector */
.lang-switcher summary:hover {
  transform: none !important;
  color: #333 !important;
}

/* 2) Right-header button hover: no size change, darker text, super-light gray bg */
.site-header-main-section-right .widget_block .wp-block-button__link:hover {
  transform: none !important;
  background: #f7f7f7 !important;
  color: #111 !important;
}

/* 3) Move language selector closer to help icon */
.lang-switcher details {
  margin-right: 0.5rem !important;
}

/* 4) Help-icon hover: only color change, no rotation/scale */
.help-link:hover {
  transform: none !important;
  color: #555 !important;
}

/* 5) CSS triangle for language dropdown to match nav submenu arrow */
.lang-switcher .lang-list {
  position: absolute;
}
.lang-switcher .lang-list::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 1rem;
  width: 12px;
  height: 6px;
  background-color: #fff;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  border-left: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
  box-sizing: border-box;
}

/* 6) Hide the FontAwesome down-caret */
.lang-switcher summary::after {
  content: none !important;
}

/* —— Remove underlines from header-extras links —— */
.header-extras a,
.header-extras a:hover,
.lang-switcher summary,
.lang-switcher summary:hover,
.help-link,
.help-link:hover,
.kontakt-btn,
.kontakt-btn:hover {
  text-decoration: none !important;
}

/* —— Remove box around website —— */
.entry-content-wrap {
  padding: 0 !important;
}

.site-branding a.brand {
  gap: 0em;
}

/* Force the logo up 3px, no matter what */
.site-header .site-main-header-inner-wrap
  .site-header-main-section-left
  .site-branding .custom-logo-link img,
.site-header .site-main-header-inner-wrap
  .site-header-main-section-left
  .site-branding .site-logo img {
  
  transform: translateY(-3px) !important;
}
/* Force those pages back to white */
.content-bg {
  background-color: var(--global-palette8) !important;
}

/* bump your selector’s specificity */
.starlight-wrapper .hero-title {
  color: #123456 !important;
}

/* Force the hero section background to white */
.entry-hero.page-hero-section .entry-hero-container-inner {
  background-color: #fff !important;
}

/* If you have an overlay that’s coloring it, neutralize that too */
.entry-hero .hero-section-overlay {
  background: none !important;
}
















/* 2.a) Main wrapper: center-column, left-aligned text */
.lesson-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto!important;       /* force centering */
  padding: 0 15px;                 /* small gutters on mobile */
  box-sizing: border-box;
  text-align: left;                /* ensure left-align */
}

/* force all core blocks inside to fill the wrapper */
.lesson-wrapper > * {
  width: 100%!important;
  margin-left: 0!important;
  margin-right: 0!important;
}

/* 2.b) Banner now fluid inside wrapper */
.master3k-banner {
  position: relative;
  width: 100%!important;           /* stretch to wrapper */
  height: 150px;
  background-color: #a6d8f0;
  overflow: hidden;
  margin: 0 auto!important;
  box-sizing: border-box;
  text-align: center;              /* keep title centered */
}

/* (keep your existing flashboxes & H1 styles) */

/* 3) Floating buttons: high-specificity to override theme CSS */
.floating-buttons {
  position: fixed!important;
  top: 50%!important;
  right: 20px!important;
  transform: translateY(-50%)!important;
  display: flex!important;
  flex-direction: column!important;
  gap: 10px!important;
  z-index: 9999!important;
}

.floating-buttons a {
  display: block!important;
  padding: 12px 20px!important;
  font-weight: 600!important;
  text-decoration: none!important;
  border-radius: 4px 0 0 4px!important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15)!important;
  transition: background-color 0.3s ease!important;
  white-space: nowrap!important;
  color: #fff!important;
  background-color: #0073aa!important;
}

.floating-buttons a.audio-companion {
  background-color: #dd3333!important;
}

.floating-buttons a:hover {
  opacity: 0.9!important;
}

/* hide on small screens if you like */
@media (max-width: 768px) {
  .floating-buttons { display: none!important; }
}
/* bump up only this page (or lesson CPT) from narrow to your custom width */
.content-width-narrow .content-container.site-container {
  max-width: 1200px !important;  /* or whatever width you prefer */
}
/* if you’re still using .lesson-wrapper you can target that instead: */
.lesson-wrapper .content-container.site-container {
  max-width: 1200px !important;
}
/* Hide the featured image on all single lesson/post pages */
.single-post .post-thumbnail {
  display: none !important;
}

/* If you only want to hide it on a specific lesson (e.g. post ID 18), use: */
/*
.postid-18 .post-thumbnail {
  display: none !important;
}
*/

/* Hide the comments area (including “Leave a Reply”) on all single posts */
.single-post #comments,
.single-post .comments-area {
  display: none !important;
}


.entry-title {
  display: block !important;
}




/* lesson player styling on blog */


#actionBtn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    /* Add other styles for a 'big button' look */
}

#codeInput {
    padding: 10px;
    font-size: 16px;
    margin-left: 5px;
    margin-right: 5px;
}

#audioStatus {
    color: #333; /* Default text color */
}

/* You might want specific styles for success/error messages if you change them in JS */
.status-success {
    color: green;
}
.status-error {
    color: red;
}























/*
  CSS for the Interactive Lesson Player
  Add this to your WordPress theme's style.css, the Customizer's "Additional CSS",
  or via a custom CSS plugin.
  Ensure Google Fonts (Inter and Material Symbols Outlined) are loaded on your site.
*/

/* User guidance toast */
#unlock-guidance-toast {
    position: fixed;
    bottom: 170px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745; /* Green for success */
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10001; /* High z-index to be on top */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    font-family: 'Inter', sans-serif; /* Explicitly set font if not inherited */
    box-sizing: border-box;
}
#unlock-guidance-toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* SCOPED WIDGET STYLES */
#lesson-widget-fixed-container { 
    position: relative; 
}
#lesson-widget { 
    all: initial; 
    position: relative; 
    font-family: 'Inter', sans-serif; 
}
#lesson-widget * { 
    box-sizing: border-box; 
    font-family: inherit; 
}

/* Widget Buttons Panel */
#lesson-widget .widget-buttons-panel {
  position: fixed; 
  z-index: 9990; 
  display: flex; 
  flex-direction: column; 
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); 
}
#lesson-widget .widget-buttons-panel.top {
  top: 50%; 
  right: 20px; 
  left: unset;  
  transform: translateY(-50%) scale(1);
  align-items: flex-end; 
}
#lesson-widget .widget-buttons-panel.bottom {
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%) scale(1.1); 
  flex-direction: row; 
  align-items: center; 
  background-color: #007bff; 
  padding: 8px 15px;
  border-radius: 50px; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* General Button Styling within Widget Panel */
#lesson-widget .btn {
  display: flex; align-items: center; gap: 8px; 
  background: #007bff; 
  color: #fff; 
  border: none;
  border-radius: 8px; padding: 10px 15px; cursor: pointer; user-select: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15); overflow: hidden; white-space: nowrap;
  text-decoration: none !important; 
}
#lesson-widget .btn .icon {
  font-family: 'Material Symbols Outlined'; 
  font-size: 1.3em; 
  line-height: 1; 
  display: inline-block;
  -webkit-font-smoothing: antialiased; 
  vertical-align: middle; 
}
#lesson-widget .btn .label { 
  transition: opacity 0.3s ease, max-width 0.3s ease; 
  max-width: 150px; 
  opacity: 1; 
  vertical-align: middle;
}

/* Default Hover and Active states for ALL buttons in the widget panel */
#lesson-widget .btn:hover { 
  transform: translateY(-2px) scale(1.03); 
  background-color: #0056b3; 
  color: #fff !important; 
  box-shadow: 0 6px 12px rgba(0,0,0,0.2); 
  text-decoration: none !important;
}
#lesson-widget .btn:active { 
  transform: translateY(0px) scale(1); 
  background-color: #004085; 
  color: #fff !important; 
  text-decoration: none !important;
}

/* Specific styling for .live-session button when in the BOTTOM panel (DEFAULT STATE) */
#lesson-widget .widget-buttons-panel.bottom .btn.live-session {
  box-shadow: none !important; 
  background-color: #007bff; 
  color: #fff !important; 
}

/* Specific Hover/Active for .live-session button when in the BOTTOM panel */
#lesson-widget .widget-buttons-panel.bottom .btn.live-session:hover {
  background-color: #007bff !important; 
  color: red !important;       
  box-shadow: none !important; 
}
#lesson-widget .widget-buttons-panel.bottom .btn.live-session:active {
  background-color: #007bff !important; 
  color: red !important;       
  box-shadow: none !important; 
}

/* Password Modal Styling */
#lesson-widget .pw-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75); 
  display: flex; align-items: center; justify-content: center; 
  transition: opacity 0.3s ease-in-out; 
  z-index: 10000; 
}
#lesson-widget .pw-modal.hidden { pointer-events: none; opacity: 0; }
#lesson-widget .pw-content {
  background: #fff; padding: 30px; border-radius: 12px; width: 90%; max-width: 380px;
  text-align: center; position: relative; color: #333; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: scale(0.95); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; 
}
#lesson-widget .pw-modal:not(.hidden) .pw-content { transform: scale(1); opacity: 1; }
#lesson-widget .pw-content .close {
  position: absolute; top: 15px; right: 15px; background: transparent; border: none;
  font-size: 1.8em; cursor: pointer; color: #777; transition: color 0.2s ease, transform 0.2s ease;
}
#lesson-widget .pw-content .close:hover { color: #000; transform: scale(1.1); }
#lesson-widget #modal-title { margin-bottom:15px; font-weight:bold; font-size: 1.2em; }
#lesson-widget .pw-step.unlock { margin-top: 20px; }
#lesson-widget .pw-step input[type="password"] {
  width: 100%; padding: 12px 15px; margin-bottom: 15px; font-size: 1.05em;
  border: 1px solid #ccc; border-radius: 6px;
}
#lesson-widget .pw-step input[type="password"]:focus {
  border-color: #007bff; box-shadow: 0 0 0 0.25rem rgba(0,123,255,.25); outline: none;
}
#lesson-widget .pw-step button.try-code {
  background: #007bff; color: #fff; border: none; border-radius: 6px; padding: 12px 20px;
  cursor: pointer; font-size: 1.05em; font-weight: 500; width: 100%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
#lesson-widget .pw-step button.try-code:hover { background-color: #0056b3; transform: translateY(-1px); }
#lesson-widget .status { font-size: 0.95em; min-height: 1.5em; margin-top: 12px; font-weight: 500; }
#lesson-widget .status.success { color: #28a745; } 
#lesson-widget .status.error   { color: #dc3545; } 

/* ON-PAGE Player UI Styles */
#on-page-audio-player {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 9980;
  display: flex; flex-direction: column; align-items: center;
  background-color: rgba(255, 255, 255, 0.95); 
  border-radius: 12px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.1); 
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, height 0.3s ease, padding 0.3s ease, width 0.3s ease, min-width 0.3s ease;
  height: auto; 
  padding: 15px; 
  min-width: 200px; 
  font-family: 'Inter', sans-serif; 
  box-sizing: border-box;
}
#on-page-audio-player * { 
    box-sizing: border-box;
    font-family: inherit;
}
/* Force player to collapse and be invisible when hidden */
#on-page-audio-player.hidden {
  opacity: 0; 
  visibility: hidden; 
  transform: translateX(-50%) translateY(20px);
  height: 0px; 
  padding: 0px; 
  margin: 0px; 
  border: none; 
  min-width: 0px; 
  min-height: 0px; 
  overflow: hidden; 
}
#on-page-audio-player .player-content-wrapper { 
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity 0.2s ease, max-height 0.3s ease, visibility 0.3s ease; 
  opacity: 1; max-height: 300px; 
  visibility: visible;
  overflow: hidden;
}
#on-page-audio-player .player-title {
  font-size: 1.1em; font-weight: 600; color: #333; margin-bottom: 5px;
}
#on-page-audio-player .circular-player-button {
  position: relative; width: 100px; height: 100px; cursor: pointer;
}
#on-page-audio-player .play-pause-button { 
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; background-color: #ff4136; 
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: none;
  box-shadow: 0 4px 10px rgba(255, 65, 54, 0.4); 
  transition: background-color 0.2s ease, transform 0.2s ease;
}
#on-page-audio-player .play-pause-button:hover {
  background-color: #e03026; 
  transform: translate(-50%, -50%) scale(1.05); 
}
#on-page-audio-player .play-pause-button .material-symbols-outlined {
  font-family: 'Material Symbols Outlined'; font-size: 48px; color: white; 
  font-variation-settings: 'FILL' 1; 
}
#on-page-audio-player .progress-ring { width: 100px; height: 100px; }
#on-page-audio-player .progress-ring__circle {
  transition: stroke-dashoffset 0.35s; transform: rotate(-90deg); 
  transform-origin: 50% 50%; stroke-width: 8px;
}
#on-page-audio-player .progress-ring__background { fill: transparent; stroke: #e6e6e6; }
#on-page-audio-player .progress-ring__progress { fill: transparent; stroke: #007bff; stroke-linecap: round; }

/* Minimize Button for Player */
.player-minimize-button {
  background: transparent; border: none; color: #555; 
  cursor: pointer;
  position: absolute; top: 5px; right: 5px; 
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
  z-index: 1; 
  padding: 0; 
  line-height: 1; 
}
.player-minimize-button:hover { background-color: #e0e0e0; color: #000; }
.player-minimize-button .icon {
  font-family: 'Material Symbols Outlined' !important; 
  font-size: 24px !important; 
  display: block !important; 
  padding: 4px; 
  color: inherit; 
}

/* Player Minimized State */
#on-page-audio-player.player-minimized {
  width: 48px;  
  height: 48px; 
  padding: 0; 
  border-radius: 50%; 
  display: flex; 
  align-items: center;
  justify-content: center;
  gap: 0; 
  min-width: 48px; 
  overflow: hidden; 
}
#on-page-audio-player.player-minimized .player-content-wrapper { 
  display: none; 
}
#on-page-audio-player.player-minimized .player-minimize-button {
  position: static; 
  transform: none; 
}














/*
  CSS for Styling Lesson Posts (e.g., in Kadence Posts Block)
  Updated to address conflicts with global site styles using !important.
  Assumes HTML structure allows for Title -> Image -> Text order.
  User might need to adjust Kadence Posts block settings for this order.
*/

/* Overall container for each lesson item in the list/grid */
.wp-block-kadence-posts article.loop-entry {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Light grey, 1px solid border */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); /* Super delicate shadow */
    border-radius: 8px; /* Optional: for rounded corners */
    margin-bottom: 2rem; /* Space between lesson items */
    overflow: hidden; /* Ensures border-radius clips child elements properly */
    padding: 0; /* Reset padding, will be handled by inner elements */
}

/* Wrapper for the textual content (title, meta, summary) if present */
/* Kadence typically uses .entry-content-wrap for this */
.wp-block-kadence-posts article.loop-entry .entry-content-wrap {
    padding: 2rem !important; /* MODIFIED: Added !important to override global padding: 0 */
                               /* This provides 2rem space on all sides for content within the card */
}

/* 1. Lesson Title Area */
.wp-block-kadence-posts article.loop-entry .entry-header {
    margin-bottom: 1rem; /* Space after the entire header (title, meta, cats) before image/summary */
    padding: 0; 
    display: block !important; /* MODIFIED: Ensure header is visible */
}

.wp-block-kadence-posts article.loop-entry h2.entry-title {
    margin-top: 0;
    margin-bottom: 0.75rem; 
    display: block !important; /* MODIFIED: Ensure title is visible */
}

.wp-block-kadence-posts article.loop-entry h2.entry-title a {
    font-family: 'Manrope', sans-serif; 
    font-weight: 700; /* Strong/Bold font weight */
    font-size: 1.7rem; /* Increased title font size */
    color: #1a202c;    
    text-decoration: none;
    line-height: 1.3;
}

.wp-block-kadence-posts article.loop-entry h2.entry-title a:hover {
    color: #2B6CB0; 
}

/* Optional: Style or hide meta and categories if they appear before the image */
.wp-block-kadence-posts article.loop-entry .entry-header .entry-meta {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.wp-block-kadence-posts article.loop-entry .entry-header .entry-taxonomies {
    margin-bottom: 0.75rem; 
    font-size: 0.75rem;
}
.wp-block-kadence-posts article.loop-entry .entry-header .entry-taxonomies a {
    color: #2B6CB0;
    text-decoration: none;
    background-color: #ebf8ff;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    margin-right: 0.3em;
    display: inline-block;
    margin-bottom: 0.2em;
}

/* 2. Lesson Image */
.wp-block-kadence-posts article.loop-entry a.post-thumbnail {
    display: block;
    line-height: 0; 
    margin-top: 0; 
    margin-bottom: 1.5rem; /* Space below the image, before the short text */
}

.wp-block-kadence-posts article.loop-entry a.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 3. Short Text / Summary */
.wp-block-kadence-posts article.loop-entry .entry-summary {
    padding-top: 0; 
}

.wp-block-kadence-posts article.loop-entry .entry-summary p {
    font-family: 'Manrope', sans-serif; 
    font-size: 0.95rem; 
    color: #4a5568;    
    line-height: 1.7; 
    font-weight: 700; /* Summary text bold */
    margin-bottom: 1rem; 
}
.wp-block-kadence-posts article.loop-entry .entry-summary p:last-child {
    margin-bottom: 0; /* Ensure no extra space after the last paragraph of summary */
}

/* Optional: Styling for "Read More" link if present and needed */
.wp-block-kadence-posts article.loop-entry .entry-footer .entry-actions .post-more-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2B6CB0; 
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem; 
}
.wp-block-kadence-posts article.loop-entry .entry-footer .entry-actions .post-more-link:hover {
    text-decoration: underline;
}

/* --- Utility to hide elements if not desired --- */
/* Uncomment to hide specific parts like meta, categories, or footer */
/*
.wp-block-kadence-posts .entry.loop-entry .entry-header .entry-meta,
.wp-block-kadence-posts .entry.loop-entry .entry-header .entry-taxonomies,
.wp-block-kadence-posts .entry.loop-entry .entry-footer {
    display: none !important;
}
*/

/* MODIFIED: Rule to hide the author ("posted-by") information */
.wp-block-kadence-posts article.loop-entry .entry-header .entry-meta .posted-by {
    display: none !important;
}



.content-width-narrow .content-container.site-container {
    width: 1200px !important;
    max-width: 1200px !important; /* Ensures it doesn't try to be wider */
    margin-left: auto !important; /* Centers the container */
    margin-right: auto !important; /* Centers the container */
    /* If you have specific top/bottom margins you want to remove, add them here, e.g.: */
    /* margin-top: 0 !important; */
    /* margin-bottom: 0 !important; */
}




























/*
  CSS dla Karuzeli Lektorów (Wersja Finalna 3 - Próba Full Width dla WordPress)
  Upewnij się, że główna sekcja karuzeli w HTML ma ID="poznaj-nasz-zespol-swiper-section"
  oraz że czcionki 'Manrope', 'Poppins', 'Font Awesome' i 'Material Symbols Outlined' są załadowane.
  Wymaga biblioteki Swiper.js dla funkcjonalności karuzeli.
*/

/* --- CSS Zmienne --- */
#poznaj-nasz-zespol-swiper-section { /* Definiowanie zmiennych w zasięgu ID dla większej specyficzności */
    --lektor-bg: #ffffff; 
    --lektor-card-bg: #ffffff; 
    --lektor-text-header: #1a202c; 
    --lektor-text-card-name: #2d3748; 
    --lektor-text-card-specialization: #718096; 
    --lektor-text-candidate-intro: #4a5568;
    --lektor-border-color: #e2e8f0; 
    --lektor-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); 
    --lektor-hover-shadow: 0 3px 6px rgba(0, 0, 0, 0.07); 
    --lektor-font: 'Manrope', sans-serif; 
    --lektor-header-font: 'Poppins', sans-serif; 
    --lektor-border-radius: 8px;
    --lektor-nav-button-bg: #ffffff;
    --lektor-nav-button-color: #333740;
    --lektor-nav-button-hover-bg: #f8f9fa;
    --lektor-image-aspect-ratio-padding: 133.33%; 
    --candidate-card-accent: #007bff; 
    --candidate-card-header-bg: #f0f6ff;
}

/* --- Podstawowy Reset & Styl Ciała (w kontekście sekcji) --- */
#poznaj-nasz-zespol-swiper-section *, 
#poznaj-nasz-zespol-swiper-section *:before, 
#poznaj-nasz-zespol-swiper-section *:after {
    box-sizing: border-box;
    margin: 0; 
    padding: 0; 
}

#poznaj-nasz-zespol-swiper-section { 
    font-family: var(--lektor-font);
    line-height: 1.6;
    color: var(--lektor-text-card-specialization); 
    background-color: var(--lektor-bg); 
}

/* --- Overrides for Kadence Theme Containers ON THIS SPECIFIC PAGE --- */
/* ZASTĄP .page-id-1236 PRAWIDŁOWYM ID TWOJEJ STRONY "POZNAJ NASZ ZESPÓŁ" */
.page-id-1236 #inner-wrap,
.page-id-1236 #primary.content-area,
.page-id-1236 .content-container.site-container,
.page-id-1236 main#main.site-main,
.page-id-1236 .content-wrap,
.page-id-1236 article#post-1236.entry, 
.page-id-1236 article#post-1236 .entry-content-wrap, 
.page-id-1236 article#post-1236 .entry-content.single-content {
    max-width: none !important;
    width: 100% !important;    
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;  
    margin-right: 0 !important; 
    overflow: visible !important; 
}

/* --- Stylizacja Sekcji Karuzeli --- */
#poznaj-nasz-zespol-swiper-section.poznaj-nasz-zespol-section {
    background-color: var(--lektor-bg);
    padding-top: 3rem; 
    padding-bottom: 4rem;
    width: 100vw; 
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: clip; 
}

#poznaj-nasz-zespol-swiper-section .poznaj-nasz-zespol-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 900px; 
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px; 
}

#poznaj-nasz-zespol-swiper-section .poznaj-nasz-zespol-header h2 {
    font-family: var(--lektor-header-font); 
    font-size: clamp(2rem, 4vw, 2.75rem); 
    font-weight: 700;
    color: var(--lektor-text-header);
    margin-bottom: 0.5rem;
}
#poznaj-nasz-zespol-swiper-section .poznaj-nasz-zespol-header p {
    font-family: var(--lektor-font);
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--lektor-text-header-lead);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.65;
}

#poznaj-nasz-zespol-swiper-section .swiper-container-wrapper {
    max-width: 1260px; 
    margin: 0 auto; 
    padding: 0 50px; 
    position: relative;
}

#poznaj-nasz-zespol-swiper-section .poznaj-lektorow-swiper { 
    width: 100%;
    overflow: hidden; 
    padding-top: 10px; 
    padding-bottom: 20px; 
}

#poznaj-nasz-zespol-swiper-section .swiper-wrapper {
    align-items: stretch; 
}

#poznaj-nasz-zespol-swiper-section .swiper-slide {
    display: flex; 
    justify-content: center; 
    align-items: stretch; 
    height: auto; 
    /* Odstępy między slajdami są kontrolowane przez Swiper.js 'spaceBetween' */
}

/* --- Stylizacja Karty Lektora --- */
#poznaj-nasz-zespol-swiper-section .lektor-card {
    background-color: var(--lektor-card-bg);
    border-radius: var(--lektor-border-radius);
    border: 1px solid var(--lektor-border-color); 
    box-shadow: var(--lektor-shadow); 
    text-align: left; 
    transition: box-shadow 0.3s ease-out; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    width: 100%; /* Karta zajmuje 100% szerokości swojego slajdu */
    margin: 0; /* Marginesy będą zarządzane przez Swiper 'spaceBetween' */
    min-height: 480px; 
}

#poznaj-nasz-zespol-swiper-section .lektor-card:hover {
    box-shadow: var(--lektor-hover-shadow); 
}

#poznaj-nasz-zespol-swiper-section .lektor-image-container {
    width: 100%;
    padding-top: var(--lektor-image-aspect-ratio-padding); 
    position: relative;
    background-color: #f0f0f0; 
}

#poznaj-nasz-zespol-swiper-section .lektor-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

#poznaj-nasz-zespol-swiper-section .lektor-info {
    padding: 1.5rem; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center; 
}

#poznaj-nasz-zespol-swiper-section .lektor-info h3 { 
    font-size: 1.25rem; 
    font-weight: 600;
    color: var(--lektor-text-card-name);
    margin-bottom: 0.5rem; 
    line-height: 1.35;
}

#poznaj-nasz-zespol-swiper-section .lektor-info .lektor-specialization { 
    font-size: 0.9rem; 
    color: var(--lektor-text-card-specialization);
    line-height: 1.5; 
    flex-grow: 1;
    margin-bottom: 0;
}

/* --- Stylizacja Karty Kandydata --- */
#poznaj-nasz-zespol-swiper-section .candidate-card {
    background-color: var(--candidate-card-header-bg); 
    border-color: var(--candidate-card-accent);
    text-align: center; 
}

#poznaj-nasz-zespol-swiper-section .candidate-card-header {
    background-color: transparent; 
    padding: 2rem 1.5rem 1rem 1.5rem; 
    text-align: center;
    border-bottom: none; 
}

#poznaj-nasz-zespol-swiper-section .candidate-card-header .fa-hands-helping {
    font-size: 3.5rem; 
    color: var(--candidate-card-accent);
    margin-bottom: 0.5rem;
}

#poznaj-nasz-zespol-swiper-section .candidate-card-content {
    padding: 0 1.75rem 2rem 1.75rem; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center; 
}

#poznaj-nasz-zespol-swiper-section .candidate-card-content h3 {
    font-size: 1.5rem; 
    color: var(--lektor-text-header);
    margin-bottom: 1rem;
    font-weight: 700;
}

#poznaj-nasz-zespol-swiper-section .candidate-card-content .candidate-intro {
    font-size: 0.95rem;
    color: var(--lektor-text-card-body);
    margin-bottom: 1.5rem; 
    line-height: 1.65;
}

#poznaj-nasz-zespol-swiper-section .candidate-options {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.75rem; 
    text-align: left; 
}

#poznaj-nasz-zespol-swiper-section .candidate-options li {
    font-size: 0.9rem;
    color: var(--lektor-text-card-body);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: flex-start;
}

#poznaj-nasz-zespol-swiper-section .candidate-options .option-letter {
    font-weight: 700; 
    color: var(--candidate-card-accent);
    margin-right: 0.75em; 
    flex-shrink: 0;
    line-height: 1.65; 
}
#poznaj-nasz-zespol-swiper-section .candidate-options .option-text {
    flex-grow: 1;
    line-height: 1.65;
}

#poznaj-nasz-zespol-swiper-section .candidate-contact-info {
    font-size: 0.9rem;
    color: var(--lektor-text-secondary);
    margin-bottom: 1.75rem; 
    text-align: center;
}

#poznaj-nasz-zespol-swiper-section .candidate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    background-color: var(--candidate-card-accent);
    color: #ffffff;
    padding: 14px 28px; 
    border-radius: var(--lektor-border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem; 
    transition: background-color 0.2s ease, transform 0.15s ease;
    margin-top: auto; 
    align-self: center; 
}

#poznaj-nasz-zespol-swiper-section .candidate-btn:hover {
    background-color: #0056b3; 
    transform: translateY(-2px); 
}
#poznaj-nasz-zespol-swiper-section .candidate-btn .fa-arrow-right {
    font-size: 1em; 
}
    
/* --- Przyciski Nawigacyjne Swipera --- */
#poznaj-nasz-zespol-swiper-section .swiper-button-next,
#poznaj-nasz-zespol-swiper-section .swiper-button-prev {
    width: 44px; 
    height: 44px;
    background-color: var(--lektor-nav-button-bg);
    border-radius: 50%;
    color: var(--lektor-nav-button-color) !important; 
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    top: 50%; 
    margin-top: -22px; 
    z-index: 10; 
}
#poznaj-nasz-zespol-swiper-section .swiper-button-next:hover,
#poznaj-nasz-zespol-swiper-section .swiper-button-prev:hover {
    background-color: var(--lektor-nav-button-hover-bg);
    color: #1a202c !important; 
    transform: scale(1.05) translateY(-50%); 
}
#poznaj-nasz-zespol-swiper-section .swiper-button-next:hover { transform: scale(1.05) translateY(-50%); }
#poznaj-nasz-zespol-swiper-section .swiper-button-prev:hover { transform: scale(1.05) translateY(-50%); }

#poznaj-nasz-zespol-swiper-section .swiper-button-next {
    right: 10px; 
}
#poznaj-nasz-zespol-swiper-section .swiper-button-prev {
    left: 10px; 
}

#poznaj-nasz-zespol-swiper-section .swiper-button-next::after,
#poznaj-nasz-zespol-swiper-section .swiper-button-prev::after {
    font-family: 'Material Symbols Outlined'; 
    font-size: 22px !important; 
    font-weight: 700; 
}
#poznaj-nasz-zespol-swiper-section .swiper-button-prev::after {
    content: 'arrow_back_ios'; 
    margin-left: -2px; 
}
#poznaj-nasz-zespol-swiper-section .swiper-button-next::after {
    content: 'arrow_forward_ios'; 
    margin-right: -2px; 
}

#poznaj-nasz-zespol-swiper-section .swiper-button-disabled {
    opacity: 0.35 !important; 
    cursor: auto !important;
    pointer-events: none !important;
}

/* --- Responsywność --- */
@media (max-width: 1260px) { 
    #poznaj-nasz-zespol-swiper-section .swiper-container-wrapper { 
        padding-left: 20px; 
        padding-right: 20px;
    }
    #poznaj-nasz-zespol-swiper-section .swiper-button-next { right: -10px; } 
    #poznaj-nasz-zespol-swiper-section .swiper-button-prev { left: -10px; }
}

@media (max-width: 992px) {
    /* Swiper's slidesPerView in JS will handle card width */
    #poznaj-nasz-zespol-swiper-section .lektor-card {
        min-height: 400px; 
    }
    #poznaj-nasz-zespol-swiper-section .swiper-container-wrapper {
         padding: 0 40px; 
    }
}
@media (max-width: 768px) {
    #poznaj-nasz-zespol-swiper-section .lektor-card {
        min-height: auto; 
    }
    #poznaj-nasz-zespol-swiper-section .candidate-card-content {
        padding: 1.5rem;
    }
    #poznaj-nasz-zespol-swiper-section .candidate-options li {
        font-size: 0.85rem;
    }
     #poznaj-nasz-zespol-swiper-section .swiper-container-wrapper {
         padding: 0 30px; 
    }
    #poznaj-nasz-zespol-swiper-section .swiper-button-next,
    #poznaj-nasz-zespol-swiper-section .swiper-button-prev {
        width: 40px; height: 40px;
        margin-top: -20px;
    }
    #poznaj-nasz-zespol-swiper-section .swiper-button-next::after,
    #poznaj-nasz-zespol-swiper-section .swiper-button-prev::after {
        font-size: 20px !important;
    }
}

@media (max-width: 600px) {
    #poznaj-nasz-zespol-swiper-section .lektorzy-carousel-header h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    #poznaj-nasz-zespol-swiper-section .swiper-container-wrapper {
         padding: 0 15px; 
    }
    #poznaj-nasz-zespol-swiper-section .lektor-card {
        /* Swiper's slidesPerView: 1 will make it full width within its spaceBetween context */
        margin: 0 0 1.5rem 0; /* Only bottom margin if slides are stacked */
    }
     #poznaj-nasz-zespol-swiper-section .swiper-button-next { right: -5px; } 
    #poznaj-nasz-zespol-swiper-section .swiper-button-prev { left: -5px; }
}






























/*
  CSS for "Szkolenia Językowe dla Firm In-Company" Section
  Ensure Font Awesome and Google Fonts (Manrope, Poppins, Material Symbols Outlined) are loaded.
  This CSS is intended to be used with the HTML structure from 'in_company_training_section_v1_html'
  and the JavaScript from 'in_company_training_section_v1_js'.
*/

/* --- CSS Zmienne dla Sekcji In-Company --- */
#in-company-training-section {
    --ic-bg: #ffffff;
    --ic-text-header: #1a202c;        
    --ic-text-sub-headline: #4a5568;  
    --ic-text-content: #5a6a7a;       
    --ic-text-highlight: #2d3748;     
    --ic-accent-primary: #007bff;     
    --ic-accent-primary-rgb: 0, 123, 255; 
    --ic-accent-secondary: #28a745;   
    --ic-accent-secondary-rgb: 40, 167, 69; 
    --ic-border-color: #e2e8f0;       
    --ic-light-bg: #f8f9fa;           
    --ic-shadow-light: 0 2px 4px rgba(0, 0, 0, 0.04); 
    --ic-shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.06); 
    --ic-font-main: 'Poppins', sans-serif;
    --ic-font-header: 'Manrope', sans-serif;
    --ic-border-radius: 8px;
    --ic-transition-speed: 0.3s;
    --ic-transition-timing: ease-in-out;
}

/* --- Podstawowy Reset dla Sekcji --- */
#in-company-training-section *,
#in-company-training-section *:before,
#in-company-training-section *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#in-company-training-section {
    font-family: var(--ic-font-main);
    color: var(--ic-text-content);
    background-color: var(--ic-bg);
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: clip; 
    padding: 4rem 0; 
}

#in-company-training-section .in-company-container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- Nagłówek Sekcji --- */
#in-company-training-section .in-company-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

#in-company-training-section .section-catchy-phrase {
    font-family: var(--ic-font-header);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--ic-text-header);
    margin-bottom: 1rem;
    line-height: 1.25;
}

#in-company-training-section .section-sub-headline {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--ic-text-sub-headline);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* --- Showcase Specjalistycznych Szkoleń --- */
#in-company-training-section .specialized-training-showcase {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 3.5rem;
    flex-wrap: wrap; 
}

#in-company-training-section .specialized-item {
    flex: 1;
    min-width: 260px; 
    max-width: 350px;
    padding: 1.5rem;
    text-align: center;
    background-color: var(--ic-light-bg);
    border-radius: var(--ic-border-radius);
    box-shadow: var(--ic-shadow-light);
    transition: transform var(--ic-transition-speed) var(--ic-transition-timing), 
                box-shadow var(--ic-transition-speed) var(--ic-transition-timing);
}
#in-company-training-section .specialized-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--ic-shadow-medium);
}

#in-company-training-section .specialized-icon {
    font-size: 2.5rem;
    color: var(--ic-accent-primary);
    margin-bottom: 1rem;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(var(--ic-accent-primary-rgb, 0, 123, 255), 0.1); 
}

#in-company-training-section .specialized-item h4 {
    font-family: var(--ic-font-header);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ic-text-highlight);
    margin-bottom: 0.5rem;
}

#in-company-training-section .specialized-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Wizualizacja Harmonogramu Szkoleń --- */
#in-company-training-section .training-schedule-visualization {
    margin-bottom: 3.5rem;
    text-align: center;
}

#in-company-training-section .training-schedule-visualization h3 {
    font-family: var(--ic-font-header);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ic-text-header);
    margin-bottom: 2rem;
    font-weight: 600;
}

#in-company-training-section .schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    min-height: 200px; 
    padding: 10px;
    border: 1px dashed var(--ic-border-color);
    border-radius: var(--ic-border-radius);
    background-image: 
        linear-gradient(to right, var(--ic-border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ic-border-color) 1px, transparent 1px);
    background-size: 50px 50px; 
}

#in-company-training-section .training-box {
    background-color: var(--ic-card-bg);
    padding: 1.5rem;
    border-radius: var(--ic-border-radius);
    border: 1px solid var(--ic-border-color);
    box-shadow: var(--ic-shadow-light);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: scale(0.7) translateY(20px);
    transition: opacity 0.4s var(--ic-transition-timing), transform 0.4s var(--ic-transition-timing);
    position: relative; 
}

#in-company-training-section .training-box.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

#in-company-training-section .training-box-icon-area {
    font-size: 1.8rem;
    color: var(--ic-accent-primary);
    flex-shrink: 0;
}

#in-company-training-section .training-box-content h4 {
    font-family: var(--ic-font-header);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ic-text-highlight);
    margin-bottom: 0.3rem;
}

#in-company-training-section .training-box-content p {
    font-size: 0.85rem;
    color: var(--ic-text-content);
}

#in-company-training-section .training-box-tick {
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: var(--ic-accent-secondary);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease-out 0.4s, transform 0.3s ease-out 0.4s; 
}

#in-company-training-section .training-box.visible .training-box-tick {
    opacity: 1;
    transform: scale(1);
}

/* --- Sekcja CTA --- */
#in-company-training-section .in-company-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--ic-border-color);
    margin-top: 3rem;
}

#in-company-training-section .in-company-cta p {
    font-size: 1.1rem;
    color: var(--ic-text-sub-headline);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#in-company-training-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--ic-accent-primary);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--ic-border-radius);
    text-decoration: none;
    font-family: var(--ic-font-header);
    font-weight: 600;
    font-size: 1.05rem;
    transition: background-color var(--ic-transition-speed) var(--ic-transition-timing), transform 0.15s ease;
    box-shadow: var(--ic-shadow-medium);
}

#in-company-training-section .cta-button:hover {
    background-color: #0056b3; 
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
#in-company-training-section .cta-button .fa-arrow-right {
    font-size: 0.9em;
    transition: transform 0.2s ease-in-out;
}
#in-company-training-section .cta-button:hover .fa-arrow-right {
    transform: translateX(3px);
}

#in-company-training-section .cta-note {
    font-size: 0.85rem;
    color: var(--ic-text-secondary);
    margin-top: 1rem;
    max-width: 500px;
}

/* --- Responsywność --- */
@media (max-width: 992px) {
    #in-company-training-section .specialized-training-showcase {
        gap: 20px;
    }
    #in-company-training-section .schedule-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    #in-company-training-section {
        padding: 3rem 0;
    }
    #in-company-training-section .in-company-header {
        margin-bottom: 2.5rem;
    }
    #in-company-training-section .specialized-training-showcase {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 3rem;
    }
    #in-company-training-section .specialized-item {
        width: 100%;
        max-width: 400px; 
    }
    #in-company-training-section .training-schedule-visualization h3 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }
    #in-company-training-section .schedule-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    #in-company-training-section .training-box {
        padding: 1rem;
        gap: 10px;
    }
    #in-company-training-section .training-box-icon-area {
        font-size: 1.5rem;
    }
    #in-company-training-section .training-box-content h4 {
        font-size: 0.95rem;
    }
    #in-company-training-section .training-box-content p {
        font-size: 0.8rem;
    }
    #in-company-training-section .in-company-cta p {
        font-size: 1rem;
    }
    #in-company-training-section .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #in-company-training-section .in-company-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    #in-company-training-section .lektorzy-carousel-header, /* If you reuse this class */
    #in-company-training-section .in-company-header {
        padding: 0; 
    }
     #in-company-training-section .schedule-grid {
        grid-template-columns: 1fr; 
    }
}






















/*
  CSS for "Szkolenia Językowe dla Firm In-Company" Storyboard Section
  Works with HTML from "in_company_storyboard_html_v1"
  Ensure Font Awesome & Google Fonts (Manrope, Poppins, Material Symbols Outlined) are loaded.
*/

/* --- CSS Zmienne dla Sekcji --- */
#in-company-storyboard-section {
    --ics-bg: #ffffff;
    --ics-text-header: #1a202c;
    --ics-text-sub-headline: #4b5563;
    --ics-text-content: #5a6a7a;
    --ics-text-highlight: #2d3748;
    --ics-accent-primary: #007bff; /* Główny niebieski akcent */
	
    --ics-accent-secondary: #28a745; /* Zielony dla sukcesu/potwierdzenia */
    --ics-accent-tertiary: #ffc107; /* Żółty/złoty dla uwagi */
    --ics-border-color: #e2e8f0;
    --ics-light-bg: #f8f9fa;
    --ics-shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.07);
    --ics-shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.1);
    --ics-font-main: 'Poppins', sans-serif;
    --ics-font-header: 'Manrope', sans-serif;
    --ics-border-radius: 10px;
    --ics-transition-speed: 0.4s;
    --ics-transition-timing: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Podstawowy Reset & Styl Ciała (w kontekście sekcji) --- */
#in-company-storyboard-section *,
#in-company-storyboard-section *:before,
#in-company-storyboard-section *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#in-company-storyboard-section {
    font-family: var(--ics-font-main);
    color: var(--ics-text-content);
    background-color: var(--ics-bg);
    /* Próba ustawienia pełnej szerokości */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: clip; /* lub hidden */
    padding: 4rem 0 5rem 0; /* Więcej miejsca na dole na CTA */
}

#in-company-storyboard-section .ics-container {
    max-width: 1140px; /* Ograniczenie szerokości głównej treści */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- Nagłówek Sekcji --- */
#in-company-storyboard-section .ics-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

#in-company-storyboard-section .ics-header h2 {
    font-family: var(--ics-font-header);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--ics-text-header);
    margin-bottom: 1rem;
    line-height: 1.25;
}

#in-company-storyboard-section .ics-header .ics-highlight {
    color: var(--ics-accent-primary);
}

#in-company-storyboard-section .ics-header p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--ics-text-sub-headline);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* --- Storyboard Viewport & Track --- */
#in-company-storyboard-section .ics-storyboard-viewport {
    overflow: hidden;
    width: 100%;
    position: relative; /* Dla pozycjonowania przycisków nawigacji, jeśli są wewnątrz */
}

#in-company-storyboard-section .ics-storyboard-track {
    display: flex;
    transition: transform 0.7s var(--ics-transition-timing); /* Płynniejsze przejście */
    width: 300%; /* 100% * liczba scen */
}

/* --- Pojedyncza Scena --- */
#in-company-storyboard-section .ics-scene {
    width: calc(100% / 3); /* Każda scena zajmuje 1/3 szerokości tracka */
    flex-shrink: 0;
    padding: 1rem 10px; /* Mały padding boczny dla sceny */
    opacity: 0.7; /* Sceny nieaktywne lekko przygaszone */
    transform: scale(0.95);
    transition: opacity var(--ics-transition-speed) var(--ics-transition-timing), 
                transform var(--ics-transition-speed) var(--ics-transition-timing);
    display: flex;
    flex-direction: column;
}
#in-company-storyboard-section .ics-scene.active {
    opacity: 1;
    transform: scale(1);
}

#in-company-storyboard-section .ics-scene-title-container {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out 0.3s, transform 0.5s ease-out 0.3s;
}
#in-company-storyboard-section .ics-scene.active .ics-scene-title-container {
    opacity: 1;
    transform: translateY(0);
}

#in-company-storyboard-section .ics-scene-big-title {
    font-family: var(--ics-font-header);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--ics-text-header);
    font-weight: 700;
    border-bottom: 2px solid var(--ics-accent-primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

#in-company-storyboard-section .ics-scene-content {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* Wyrównanie do góry */
}

/* --- Obszar Kalendarza/Siatki --- */
#in-company-storyboard-section .ics-calendar-grid-area {
    flex: 1.2; /* Daje więcej miejsca kalendarzowi */
    background-color: var(--ics-light-bg);
    padding: 1.5rem;
    border-radius: var(--ics-border-radius);
    box-shadow: var(--ics-shadow-soft);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out 0.5s, transform 0.6s ease-out 0.5s;
}
#in-company-storyboard-section .ics-scene.active .ics-calendar-grid-area {
    opacity: 1;
    transform: translateX(0);
}


#in-company-storyboard-section .ics-calendar-header {
    font-family: var(--ics-font-header);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ics-text-highlight);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ics-border-color);
}

#in-company-storyboard-section .ics-calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny w kalendarzu */
    gap: 10px;
    min-height: 150px; /* Minimalna wysokość dla wizualizacji */
}

#in-company-storyboard-section .ics-calendar-cell {
    background-color: #ffffff;
    border: 1px dashed #d1d9e6;
    border-radius: 4px;
    min-height: 60px; /* Minimalna wysokość komórki */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styl dla nowego zadania w kalendarzu */
#in-company-storyboard-section .new-task-box {
    background-color: var(--ics-accent-primary);
    color: white;
    padding: 10px;
    border-radius: var(--ics-border-radius);
    font-size: 0.8rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
    animation: popInTask 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    position: relative; /* Dla ticka */
}
#in-company-storyboard-section .new-task-box .task-title {
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}
#in-company-storyboard-section .new-task-box .task-tick {
    font-family: 'Material Symbols Outlined';
    font-size: 1.2rem;
    color: var(--ics-accent-secondary);
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: white;
    border-radius: 50%;
    padding: 2px;
    opacity: 0;
    transform: scale(0);
    animation: tickAppear 0.3s ease-out 0.4s forwards; /* Opóźnienie dla ticka */
}

@keyframes popInTask {
    0% { opacity: 0; transform: scale(0.5) rotate(-15deg); }
    70% { opacity: 1; transform: scale(1.1) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes tickAppear {
    to { opacity: 1; transform: scale(1); }
}


/* --- Obszar Notatek --- */
#in-company-storyboard-section .ics-note-area {
    flex: 1;
    background-color: #2c3e50; /* Ciemne tło dla notatnika */
    color: #ecf0f1; /* Jasny tekst */
    padding: 1.5rem;
    border-radius: var(--ic-border-radius);
    box-shadow: var(--ics-shadow-soft);
    font-family: 'Courier New', Courier, monospace; /* Czcionka maszynowa */
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out 0.7s, transform 0.6s ease-out 0.7s;
}
#in-company-storyboard-section .ics-scene.active .ics-note-area {
    opacity: 1;
    transform: translateX(0);
}

#in-company-storyboard-section .ics-note-header {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
}
#in-company-storyboard-section .ics-note-header i {
    color: var(--ics-accent-tertiary);
}

#in-company-storyboard-section .ics-note-text {
    font-size: 0.95rem;
    line-height: 1.7;
    min-height: 100px; /* Miejsce na tekst */
    white-space: pre-wrap; /* Zachowuje formatowanie dla efektu pisania */
}
#in-company-storyboard-section .ics-note-text::after { /* Kursor dla efektu pisania */
    content: '|';
    animation: blinkCursor 0.7s infinite;
}
@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* --- Nawigacja Scen --- */
#in-company-storyboard-section .ics-navigation {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

#in-company-storyboard-section .ics-nav-button {
    font-family: var(--ics-font-header);
    background-color: var(--ic-accent-primary);
    color: black;
     border: 1px dashed #d1d9e6;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--ic-border-radius);
    cursor: pointer;
    margin: 0 10px;
    transition: background-color var(--ic-transition-speed) var(--ic-transition-timing), transform 0.15s ease;
    box-shadow: var(--ic-shadow-light);
}
#in-company-storyboard-section .ics-nav-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--ic-shadow-medium);
}
#in-company-storyboard-section .ics-nav-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
#in-company-storyboard-section .ics-nav-button i {
    margin-left: 8px;
    margin-right: 8px;
}

/* --- Końcowe CTA --- */
#in-company-storyboard-section .ics-final-cta {
    text-align: center;
    padding: 3rem 20px;
    background-color: var(--ic-light-bg);
    border-radius: var(--ic-border-radius);
    margin-top: 2rem; /* Odstęp po nawigacji scen */
    opacity: 0; /* Początkowo ukryte */
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#in-company-storyboard-section .ics-final-cta.visible {
    opacity: 1;
    transform: translateY(0);
}


#in-company-storyboard-section .ics-final-cta h3 {
    font-family: var(--ics-font-header);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--ics-text-header);
    margin-bottom: 1rem;
    font-weight: 700;
}
#in-company-storyboard-section .ics-final-cta p {
    font-size: 1.05rem;
    color: var(--ic-text-sub-headline);
    margin-bottom: 1.75rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
#in-company-storyboard-section .ics-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
     background-color: #1e7e34; /* Ciemniejszy zielony */
    color: #ffffff;
    padding: 16px 32px;
    border-radius: #1e7e34;
    text-decoration: none;
    font-family: var(--ics-font-header);
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color var(--ic-transition-speed) var(--ic-transition-timing), transform 0.15s ease;
    box-shadow: var(--ic-shadow-medium);
}
#in-company-storyboard-section .ics-cta-button:hover {
    background-color: #1e7e34; /* Ciemniejszy zielony */
    transform: translateY(-3px);
    box-shadow: var(--ic-shadow-strong);
}
#in-company-storyboard-section .ics-cta-button .fa-paper-plane {
    font-size: 1em;
}
#in-company-storyboard-section .cta-note {
    font-size: 0.85rem;
    color: var(--ic-text-secondary);
    margin-top: 1.25rem;
    max-width: 500px;
}


/* --- Responsywność --- */
@media (max-width: 992px) {
    #in-company-storyboard-section .ics-scene-content {
        flex-direction: column;
        align-items: center; /* Wyśrodkowanie na mniejszych ekranach */
    }
    #in-company-storyboard-section .ics-calendar-grid-area,
    #in-company-storyboard-section .ics-note-area {
        flex: none;
        width: 100%;
        max-width: 550px; /* Ograniczenie szerokości dla czytelności */
    }
    #in-company-storyboard-section .ics-note-area {
        margin-top: 20px; /* Odstęp, gdy jest pod kalendarzem */
    }
     #in-company-storyboard-section .specialized-training-showcase {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    #in-company-storyboard-section {
        padding: 3rem 0;
    }
    #in-company-storyboard-section .in-company-header {
        margin-bottom: 2.5rem;
    }
    #in-company-storyboard-section .ics-scene-big-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    #in-company-storyboard-section .ics-calendar-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    #in-company-storyboard-section .ics-navigation {
        margin-top: 2rem;
        margin-bottom: 2.5rem;
    }
    #in-company-storyboard-section .ics-nav-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    #in-company-storyboard-section .ics-final-cta h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    #in-company-storyboard-section .ics-final-cta p {
        font-size: 1rem;
    }
    #in-company-storyboard-section .ics-cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #in-company-storyboard-section .in-company-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    #in-company-storyboard-section .ics-header {
        padding: 0;
    }
    #in-company-storyboard-section .ics-scene {
        padding: 1rem 0; /* Mniejszy padding dla sceny na mobilnych */
    }
    #in-company-storyboard-section .ics-calendar-grid-area,
    #in-company-storyboard-section .ics-note-area {
        padding: 1.25rem;
    }
    #in-company-storyboard-section .specialized-training-showcase {
        gap: 15px;
    }
    #in-company-training-section .specialized-item {
        padding: 1.25rem;
    }
}







/* --- CTA buttons 3 porozmawiajmy rozpocznij indywidualnie shaking and rozpocznij w grupie Styles --- */



/* --- Base Styles --- */
body { 
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* --- CTA Section Wrapper --- */
.cta-wrapper-v2 {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}
.cta-container-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons Container --- */
.cta-buttons-v2 {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* --- Button Base Styles --- */
.cta-btn-main-v2,
.cta-btn-tertiary-v2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease,
              transform 0.2s ease,
              box-shadow 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
}

/* Main Button */
.cta-btn-main-v2 {
  background: #00796b;
  color: #fff;
}
.cta-btn-main-v2:hover {
  background: #004d40;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Tertiary Button */
.cta-btn-tertiary-v2 {
  background: #ffd6d6;
  color: #333;
}
.cta-btn-tertiary-v2:hover {
  background: #ffbaba;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Jerk animation on the 2nd button */
.cta-buttons-v2 a:nth-of-type(2) {
  animation: jerkAnimation 3s infinite ease-in-out;
  animation-delay: 1s;
}
@keyframes jerkAnimation {
  0%,10%,20%,30%,50%,70%,90%,100% { transform: translateX(0); }
  15%,25% { transform: translateX(-4px); }
  60%,80% { transform: translateX(4px); }
  40%     { transform: scale(1.03); }
}
/* pause on hover */
.cta-buttons-v2 a:nth-of-type(2):hover {
  animation-play-state: paused;
}

/* Active (pressed) state */
.cta-btn-main-v2:active,
.cta-btn-tertiary-v2:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-buttons-v2 {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .cta-btn-main-v2,
  .cta-btn-tertiary-v2 {
    width: 100%;
    max-width: 350px;
    justify-content: center;
  }
  .cta-buttons-v2 a:nth-of-type(2) {
    animation: jerkAnimation 3s infinite ease-in-out;
    animation-delay: 1s;
  }
}






















/* ─────────── Reset ─────────── */
body {
  margin: 0;
  padding: 0;
}

/* ─────────── FAQ Section ─────────── */
#faq {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  background-color: #f9f9f9;
  padding: 60px 0;
}

.faq-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.duzy-tytul {
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: left;
  color: #000;
  font-size: 2.5rem;
}

.faq-item {
  border-bottom: 2px solid #ccc;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-item:hover {
  background: #fff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 16px 0;
}

/* tekst 11px od lewej */
.faq-question > span:first-child,
.faq-answer {
  padding-left: 11px;
}

/* ikona 11px od prawej */
.faq-question .icon {
  padding-right: 11px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 1rem;
  color: #333;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 12px 0 16px;
}

.icon {
  font-size: 1.5rem;
  color: #333;
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.active .icon {
  transform: rotate(180deg);
  color: #007bff;
}















/* Styles for the Course Benefits Section - Starlight Theme */
/* Ensure these :root variables are defined globally or at a high level if not already */
:root {
  /* Core colors from Starlight theme */
  --benefit-theme-primary-color: #00796b;         /* Teal from .starlight-btn */
  --benefit-theme-primary-hover-color: #004d40;  /* Darker teal for hover */
  --benefit-theme-secondary-color: #ffd6d6;       /* Pink from .starlight-btn-alt */
  --benefit-theme-secondary-hover-color: #ffbaba; /* Darker pink for hover */
  --benefit-theme-text-on-primary: #ffffff;     /* Text color on teal background */
  --benefit-theme-text-on-secondary: #333333;    /* Text color on pink background */

  /* General text and background colors for the benefit section */
  --benefit-section-bg: #ffffff;                 /* Background for the area containing this section */
  --benefit-content-container-bg: #ffffff;       /* Background of the detail panel on the right */
  --benefit-text-color-primary: #2c3e50;         /* Primary text color for headings, etc. */
  --benefit-text-color-secondary: #555555;       /* Secondary text color for paragraphs */
  --benefit-font-family-main: 'Poppins', sans-serif; /* Main font, matching starlight buttons */

  /* List buttons (left column) styling */
  --benefit-list-btn-bg: #ffffff;
  --benefit-list-btn-text: var(--benefit-text-color-primary);
  --benefit-list-btn-border: #d0d0d0; /* Subtle border */
  --benefit-list-btn-icon: var(--benefit-theme-primary-color); /* Teal icon */
  --benefit-list-btn-shadow: 0 2px 4px rgba(0,0,0,0.05);

  --benefit-list-btn-hover-bg: #e0f2f1; /* Light teal */
  --benefit-list-btn-hover-text: var(--benefit-theme-primary-hover-color);
  --benefit-list-btn-hover-border: var(--benefit-theme-primary-color);
  --benefit-list-btn-hover-shadow: 0 4px 8px rgba(0,0,0,0.1);

  --benefit-list-btn-active-bg: var(--benefit-theme-primary-color);
  --benefit-list-btn-active-text: var(--benefit-theme-text-on-primary);
  --benefit-list-btn-active-border: var(--benefit-theme-primary-color);
  --benefit-list-btn-active-icon: var(--benefit-theme-text-on-primary);
  --benefit-list-btn-active-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Shadow like starlight active */

  /* General shadow for elements like detail panel */
  --benefit-panel-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Apply base font to the entire section */
.benefit-wrapper-v2 { /* This class will be used for the "Kursy Online" section wrapper */
    max-width:1200px;
    margin:auto;
    padding:50px 0px;
    font-family: var(--benefit-font-family-main); /* Apply Poppins font */
    background-color: var(--benefit-section-bg); /* Ensure section background is applied */
}

.benefit-wrapper-v2 .section-main-heading { /* Renamed from .benefit-heading-v2 for clarity if needed */
   
    color: var(--benefit-text-color-primary);
    text-align: center;
    margin-bottom: 40px;
 font-size: clamp(36px, 6vw, 48px);    
font-weight: 700;  line-height: 1.2; margin-bottom: 45px; text-align: left;
}

.benefit-flex-v2 {
    display:flex;
    flex-wrap:wrap;
    gap:30px;
}

.benefit-list-col {
    flex:1 1 45%;
    min-width: 300px;
}

.benefit-detail-col {
    flex:1 1 50%;
    min-width: 320px;
    position:sticky;
    top:80px;
    height: fit-content;
}

.benefit-item-v2 {
    margin-bottom:15px;
}

/* Left-side course list buttons */
.benefit-button-v2 {
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding: 16px 25px;
  font-size:1.05rem;
  font-weight:600;
  border-radius:8px;
  text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s, transform .2s, box-shadow .2s;
  box-shadow: var(--benefit-list-btn-shadow);
  cursor: pointer;
  border: 1px solid var(--benefit-list-btn-border);
  background: var(--benefit-list-btn-bg);
  color: var(--benefit-list-btn-text);
  text-align: left;
  font-family: var(--benefit-font-family-main);
}

.benefit-button-v2 i {
    color: var(--benefit-list-btn-icon);
    font-size:1.25rem;
    width:22px;
    text-align: center;
    transition: color .3s;
}

.benefit-button-v2:hover {
    background: var(--benefit-list-btn-hover-bg);
    color: var(--benefit-list-btn-hover-text);
    border-color: var(--benefit-list-btn-hover-border);
    transform: translateY(-3px);
    box-shadow: var(--benefit-list-btn-hover-shadow);
}
.benefit-button-v2:hover i {
    color: var(--benefit-list-btn-hover-text);
}

.benefit-button-v2.active {
    background: var(--benefit-list-btn-active-bg);
    color: var(--benefit-list-btn-active-text);
    border-color: var(--benefit-list-btn-active-border);
    font-weight: 700;
    box-shadow: var(--benefit-list-btn-active-shadow);
}
.benefit-button-v2.active i {
    color: var(--benefit-list-btn-active-icon);
}

/* Right-side detail panel */
.benefit-detail-v2 { /* This class will be used for the detail panel in "Kursy Online" */
  background: var(--benefit-content-container-bg);
  padding:30px 35px;
  border-radius:10px;
  box-shadow: var(--benefit-panel-shadow);
  min-height:320px;
  overflow:hidden;
  display: flex;
  flex-direction: column;
}

.detail-content {
    opacity:0;
    transform:translateY(25px);
    transition:opacity .45s ease-out, transform .45s ease-out;
}
.detail-content.visible {
    opacity:1;
    transform:translateY(0);
}

.benefit-detail-v2 h3 {
    display:flex;
    align-items:center;
    gap:12px;
    font-size:1.7rem;
    color: var(--benefit-text-color-primary);
    margin-top: 0;
    margin-bottom:20px;
    font-weight: 700;
}
.benefit-detail-v2 h3 i {
    color: var(--benefit-theme-primary-color); /* Teal icon */
    font-size: 1.8rem;
}

.benefit-detail-v2 p {
    color: var(--benefit-text-color-secondary);
    font-size:1.05rem;
    line-height:1.7;
    margin-bottom:15px;
    flex-grow: 1;
}

/* Placeholder styles */
.placeholder-text {
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    min-height: 250px;
    color: var(--benefit-text-color-secondary);
    opacity:.7;
}
.placeholder-text i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--benefit-theme-primary-color); /* Teal icon */
    opacity: 0.8;
}
.placeholder-text h3 {
    font-size: 1.2rem;
    color:inherit;
    font-weight:500;
    margin:0;
}

/* Detail buttons (right panel, "Rozpocznij...") - Styled like Starlight buttons */
.detail-buttons {
    display:flex;
    flex-direction:row;
    flex-wrap: wrap;
    gap:20px;
    margin-top:auto;
    padding-top: 20px;
}

.detail-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .3s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  font-family: var(--benefit-font-family-main);
  flex-grow: 1;
  min-width: 220px;
}

.detail-buttons a:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.detail-buttons a.primary {
    background: var(--benefit-theme-primary-color);
    color: var(--benefit-theme-text-on-primary) !important;
}
.detail-buttons a.primary:hover {
    background: var(--benefit-theme-primary-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.detail-buttons a.secondary {
    background: var(--benefit-theme-secondary-color);
    color: var(--benefit-theme-text-on-secondary) !important;
}
.detail-buttons a.secondary:hover {
    background: var(--benefit-theme-secondary-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.detail-buttons a i {
    margin-right:0;
    font-size: 1.1em;
}

/* Responsive Adjustments */
@media(max-width:991px) {
    .benefit-flex-v2 {
        flex-direction:column;
    }
    .benefit-list-col, .benefit-detail-col {
        flex-basis: 100%;
    }
    .benefit-detail-col {
        position:relative;
        top:auto;
        margin-top: 30px;
    }
    .detail-buttons {
        flex-direction: column;
    }
    .detail-buttons a {
        width: 100%;
        min-width: unset;
    }
}

@media(max-width:767px) {
    .benefit-wrapper-v2 {
        padding: 30px 15px;
    }
    .benefit-wrapper-v2 .section-main-heading { /* Adjusted from .benefit-heading-v2 */
        font-size: 1.8rem;
    }
    .benefit-button-v2 {
        padding: 14px 20px;
        font-size: 1rem;
    }
    .benefit-button-v2 i {
        font-size: 1.1rem;
    }
    .benefit-detail-v2 {
        padding: 20px 25px;
    }
    .benefit-detail-v2 h3 {
        font-size: 1.5rem;
    }
    .benefit-detail-v2 h3 i {
        font-size: 1.6rem;
    }
    .benefit-detail-v2 p {
        font-size: 0.95rem;
    }
    .placeholder-text i {
        font-size: 2rem;
    }
    .placeholder-text h3 {
        font-size: 1.1rem;
    }
    .detail-buttons a {
        padding: 14px 24px;
        font-size: 1rem;
    }
}








/* --- INDEX SECTION 5 --- */



/* --- CSS for Google Reviews Grid Section --- */

#google-style-reviews { /* Use the ID from the section tag */
  padding: 60px 20px;
  background: white;
  box-sizing: border-box;
  /* Remove full-width styles if they were previously applied */
  /* width: 100%; */
  /* position: relative; */
  /* left: auto; */
  /* transform: none; */
}

.review-grid-container {
  max-width: 1200px;
  margin: 0 auto; /* Center the content */
}

/* Style the main title if needed, assuming .duzy-tytul is reused */
#google-style-reviews .duzy-tytul {
  color: #111;
  margin-bottom: 60px;
  text-align: center; /* Or left if preferred */
  /* Add font-size etc. if not inherited */
color: var(--course-text-primary, #000); font-size: clamp(36px, 6vw, 48px);    font-weight: 700;  line-height: 1.2; margin-bottom: 45px; text-align: left;

}

.review-heading { /* If you have a specific heading class */
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
  gap: 30px;
}

/* Hide extra reviews when collapsed */
.review-grid.collapsed .hidden-review {
  display: none;
}

.review-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.review-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-header h3 {

  font-weight: 600;
  color: #333; /* Ensure text color */
font-size:1 rem;
}

.stars {
  color: #FFD700; /* Gold color for stars */
  font-size: 1rem;
  line-height: 1;
}

.review-card p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  margin: 0; /* Reset paragraph margin */
}

.review-google-link {
  text-align: center;
  margin-top: 30px;
}

.review-google-link a {
  color: #d32f2f; /* Red link color */
  font-weight: bold;
  text-decoration: underline;
}

/* Class added by JS */
.hidden-google {
  display: none;
}

.toggle-review-btn {
  background-color: #000;
  color: white;
  border: none;
  padding: 16px 24px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.toggle-review-btn:hover {
  background-color: #222;
}
.toggle-review-btn .icon {
  color: white;
  transition: color 0.3s ease; /* Add transition */
}
.toggle-review-btn:hover .icon {
  color: #eee;
}

/* --- End CSS for Google Reviews Grid Section --- */



/* Hide the header/site title and tagline on the page itself */
.site-title,
.site-header .site-title,
.site-description {
  display: none !important;
}
































/* ==========================================================================
   CORRECTED & EFFECTIVE STYLES FOR SINGLE POSTS (LESSONS) - V5
   ========================================================================== */

/* --- General Styles for Lesson Content on Single Posts (Desktop Base) --- */

body.single-post .entry.single-entry .entry-content.single-content {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #333 !important;
  line-height: 1.8 !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important; /* Fallback */
  word-break: break-word !important; /* Better than break-all for general text */
  white-space: normal !important;   /* CRITICAL: Ensure text can wrap */
  /* Ensure no min-width is causing issues */
  min-width: 0 !important;
}

/* Headings within lessons on single posts */
body.single-post .entry.single-entry .entry-content.single-content h1,
body.single-post .entry.single-entry .entry-content.single-content h2,
body.single-post .entry.single-entry .entry-content.single-content h3,
body.single-post .entry.single-entry .entry-content.single-content h4,
body.single-post .entry.single-entry .entry-content.single-content h5,
body.single-post .entry.single-entry .entry-content.single-content h6 {
  font-family: 'Georgia', serif !important;
  color: #1a1a1a !important;
  margin-top: 2em !important;
  margin-bottom: 0.8em !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  max-width: 100% !important; /* Prevent headings from trying to be wider than container */
  min-width: 0 !important;
  white-space: normal !important; /* Ensure heading text wraps */
}

body.single-post .entry.single-entry .entry-content.single-content h1 { font-size: 2.8em !important; }
body.single-post .entry.single-entry .entry-content.single-content h2 { font-size: 2.2em !important; }
body.single-post .entry.single-entry .entry-content.single-content h3 { font-size: 1.8em !important; }
body.single-post .entry.single-entry .entry-content.single-content h4 { font-size: 1.5em !important; }
body.single-post .entry.single-entry .entry-content.single-content h5 { font-size: 1.3em !important; }
body.single-post .entry.single-entry .entry-content.single-content h6 { font-size: 1.15em !important; }

/* Paragraphs within lessons on single posts */
body.single-post .entry.single-entry .entry-content.single-content p {
  font-size: 18px !important;
  margin-bottom: 1.5em !important;
  color: #333 !important;
  line-height: 1.8 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
}

/* Lists within lessons on single posts */
body.single-post .entry.single-entry .entry-content.single-content ul,
body.single-post .entry.single-entry .entry-content.single-content ol {
  margin-bottom: 1.5em !important;
  padding-left: 2em !important; /* Desktop indentation */
  margin-left: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  list-style-position: outside !important; /* Ensure bullets/numbers don't cause overflow */
}

body.single-post .entry.single-entry .entry-content.single-content li {
  font-size: 18px !important;
  margin-bottom: 0.8em !important;
  color: #333 !important;
  line-height: 1.8 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important; /* Explicitly for list items */
  word-break: break-word !important;
}

body.single-post .entry.single-entry .entry-content.single-content ul li { list-style-type: disc !important; }
body.single-post .entry.single-entry .entry-content.single-content ol li { list-style-type: decimal !important; }

/* Responsive images, media, figures, preformatted text, tables (General) */
body.single-post .entry.single-entry .entry-content.single-content img,
body.single-post .entry.single-entry .entry-content.single-content iframe,
body.single-post .entry.single-entry .entry-content.single-content video,
body.single-post .entry.single-entry .entry-content.single-content figure, /* WordPress uses figures for images/embeds */
body.single-post .entry.single-entry .entry-content.single-content embed,
body.single-post .entry.single-entry .entry-content.single-content object,
body.single-post .entry.single-entry .entry-content.single-content pre,
body.single-post .entry.single-entry .entry-content.single-content table {
  max-width: 100% !important; /* CRITICAL for preventing overflow */
  min-width: 0 !important;
  width: auto !important; /* Let max-width control it, unless it's table */
  height: auto !important;
  box-sizing: border-box !important;
  margin-left: auto !important; /* Center block elements if they don't fill width */
  margin-right: auto !important;
}
body.single-post .entry.single-entry .entry-content.single-content img { display: block !important; } /* Common fix for image spacing */

body.single-post .entry.single-entry .entry-content.single-content pre {
  white-space: pre-wrap !important;
  word-break: break-all !important; /* More aggressive for code is usually acceptable */
  overflow-x: auto !important; /* Scroll for very long unbreakable lines in code */
  padding: 1em !important;
  background-color: #f0f0f0 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  width: 100% !important; /* Ensure pre takes full available width before scrolling internally */
}

body.single-post .entry.single-entry .entry-content.single-content table {
  width: 100% !important; /* Make table take full width */
  table-layout: fixed !important; /* Helps control column widths and prevent overflow */
  border-collapse: collapse !important;
}
body.single-post .entry.single-entry .entry-content.single-content table th,
body.single-post .entry.single-entry .entry-content.single-content table td {
  padding: 8px !important;
  border: 1px solid #d8d8d8 !important;
  /* Text wrapping for table cells handled by the general text wrapping rule */
}


/* --- MOBILE SPECIFIC STYLES FOR SINGLE POSTS (LESSONS) --- */
@media (max-width: 768px) {

  /* 1. Ensure the Outermost Theme Content Container is Fluid on Single Posts for Mobile */
  body.single-post .content-width-narrow .content-container.site-container {
    width: 100% !important;
    max-width: 100% !important; /* Override any desktop max-width like 842px or 1200px */
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important; /* Remove padding here, will add to inner box */
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent this container from causing any scroll */
  }

  /* 2. Style the Inner Lesson Content Box for Mobile */
  body.single-post .entry.single-entry .entry-content.single-content {
    width: 100% !important; /* Takes full width of its now-fluid parent */
    padding-left: 20px !important;   /* Generous side padding for text */
    padding-right: 20px !important;  /* Generous side padding for text */
    box-sizing: border-box !important;
    overflow-x: hidden !important;   /* Content inside this box should not break out */
  }

  /* 3. Universal box-sizing (already applied above but good to be aware for mobile context) */

  /* 4. AGGRESSIVE TEXT WRAPPING (already applied above, reinforced by !important for mobile context) */
  /* This includes white-space: normal !important; */

  /* 5. Specific Font Sizes and Line Heights for Lessons on Mobile */
  body.single-post .entry.single-entry .entry-content.single-content p,
  body.single-post .entry.single-entry .entry-content.single-content li {
    font-size: 17px !important;      /* Still large and very readable on mobile */
    line-height: 1.9 !important;     /* Extra line spacing for comfort on small screens */
  }

  body.single-post .entry.single-entry .entry-content.single-content ul,
  body.single-post .entry.single-entry .entry-content.single-content ol {
    padding-left: 1.2em !important; /* Slightly reduced list indentation for mobile */
  }

  /* Mobile Heading Sizes for Lessons */
  body.single-post .entry.single-entry .entry-content.single-content h1 { font-size: 2.1em !important; line-height: 1.3 !important; }
  body.single-post .entry.single-entry .entry-content.single-content h2 { font-size: 1.8em !important; line-height: 1.3 !important; }
  body.single-post .entry.single-entry .entry-content.single-content h3 { font-size: 1.5em !important; line-height: 1.3 !important; }
  body.single-post .entry.single-entry .entry-content.single-content h4 { font-size: 1.3em !important; line-height: 1.3 !important; }
  body.single-post .entry.single-entry .entry-content.single-content h5 { font-size: 1.15em !important; line-height: 1.4 !important; }
  body.single-post .entry.single-entry .entry-content.single-content h6 { font-size: 1.05em !important; line-height: 1.4 !important; }

  /* 6. Responsive media, figures, pre, table styles are inherited from desktop general rules.
     The max-width: 100% !important; and box-sizing: border-box !important; are key.
     `pre` tag already has overflow-x: auto for mobile. */

  /* 7. Reset min/max width on generic block containers within lesson content for mobile */
  body.single-post .entry.single-entry .entry-content.single-content div,
  body.single-post .entry.single-entry .entry-content.single-content section,
  body.single-post .entry.single-entry .entry-content.single-content article,
  body.single-post .entry.single-entry .entry-content.single-content aside,
  body.single-post .entry.single-entry .entry-content.single-content main {
     min-width: 0 !important;
     max-width: 100% !important;
     /* overflow: visible !important; /* Let parent containers handle clipping if necessary */
  }

} /* End of @media (max-width: 768px) */












/* --- CSS for Dopasuj Kurs Section --- */

/* --- Variables --- */
:root {
  --course-bg: #f1f1f1;
  --course-text-primary: #000;
  --course-text-secondary: #333;
  --course-button-bg: #fff;
  --course-button-border: #333;
  --course-button-hover-bg: #e2e2e2;
  --course-showmore-bg: #000;
  --course-showmore-text: #fff;
  --font-primary: 'Poppins', sans-serif; /* Ensure Poppins is loaded */
}

/* --- Section Wrapper & Container --- */
/* This makes the section full-width. Ensure it doesn't conflict with
   other full-width sections if they use the same class name.
   Consider renaming .course-wrapper in HTML and CSS if needed. */
.course-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--course-bg, #f1f1f1); /* Added fallback */
  padding: 60px 0;
  overflow: hidden; /* Prevents horizontal scroll from 100vw */
  box-sizing: border-box; /* Include padding in width */
}
.course-container {
  max-width: 1200px; /* Max width of the content inside */
  margin: 0 auto; /* Center the content */
  padding: 0 0px; /* Side padding for the content */
  box-sizing: border-box;
}

/* --- Section Title --- */
.section-main-title {
  color: var(--course-text-primary, #000);
  font-size: clamp(36px, 6vw, 48px); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 45px;
  /* Padding is handled by .course-container */
  text-align: left;
}

/* --- 3-Column Grid --- */
.course-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  /* Padding is handled by .course-container */
}
.course-col {
  flex: 1 1 300px; /* Grow, shrink, basis for columns */
  min-width: 280px; /* Minimum width before wrapping */
  display: flex;
  flex-direction: column;
  gap: 12px; /* Space between buttons within a column */
}
.course-heading {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--course-text-secondary, #333);
  margin-bottom: 8px;
  text-align: left;
}

/* --- Course Buttons --- */
.course-button {
  background: var(--course-button-bg, #fff);
  border: 1px solid var(--course-button-border, #333);
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--course-text-primary, #000);
  width: 100%;
  text-decoration: none; /* Remove underline if it's a link */
  transition: background-color .2s ease, transform .1s ease, border-color .2s ease;
  cursor: pointer;
  text-align: left;
}
.course-button:hover {
  background: var(--course-button-hover-bg, #e2e2e2);
  transform: translateY(-2px);
  border-color: #111;
}
.course-button .icon {
  width: 20px; /* Fixed width for icon alignment */
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  flex-shrink: 0; /* Prevent icon shrinking */
}

/* --- Expandable List --- */
.more-courses {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Match button gap */
  transition: max-height .5s ease-out;
}
/* Class added by JS */
.more-courses.visible {
  max-height: 1000px; /* Adjust if needed, should be larger than content */
  transition: max-height .7s ease-in-out;
}

/* --- “Show More” Button --- */
.show-more-wrapper {
  text-align: center;
  margin-top: 40px;
  /* Padding handled by .course-container */
}
.show-more-button {
  background: var(--course-showmore-bg, #000);
  color: var(--course-showmore-text, #fff);
  border: none;
  padding: 16px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color .3s ease, transform .2s ease;
  animation: jerk 3.5s infinite ease-in-out 1s;
}
.show-more-button:hover {
  transform: translateY(-2px);
  animation-play-state: paused;
}
.show-more-button .icon {
  transition: transform .3s ease;
}
/* Class added by JS */
.show-more-button.expanded .icon {
  transform: rotate(180deg);
}
@keyframes jerk {
  0%,8%,16%,24%,40%,60%,80%,100% { transform: translateX(0) scale(1); }
  12%,20%   { transform: translateX(-3px); }
  50%,70%   { transform: translateX(3px); }
  32%       { transform: scale(1.02); }
}

/* --- Tablet ≤768px --- */
@media (max-width:768px) {
  .section-main-title {
    font-size: 36px;
    text-align: center;
    /* padding handled by container */
    margin-bottom: 35px;
  }
  .course-flex {
    flex-direction: column;
    /* padding handled by container */
  }
  .course-col {
      flex: 1 1 100%; /* Stack columns */
  }
  .course-heading {
    font-size: 1.4rem;
    text-align: center; /* Center headings on mobile */
  }
  .course-button {
    padding: 14px 16px;
    font-size: 1rem;
  }
  .show-more-wrapper {
    /* padding handled by container */
    margin-top: 25px;
  }
  .show-more-button {
    width: 100%; /* Full width button on mobile */
    padding: 14px 0;
    font-size: 1rem;
    justify-content: center;
  }
}

/* --- Mobile ≤480px --- */
@media (max-width:480px) {
  .course-wrapper {
    padding: 40px 0; /* Reduce vertical padding */
  }
  .course-container {
    padding: 0 15px; /* Reduce side padding */
  }
  .section-main-title {
    font-size: 32px;
    text-align: center;
  }
  /* Removed margin: 8px 0; as gap property handles spacing */
  /* .course-button, */
  /* .show-more-button { */
    /* width: 100%; */ /* Already set */
    /* margin: 8px 0; */
  /* } */
}

/* --- End CSS for Dopasuj Kurs Section --- */























/* --- INDEX SECTION 4 --- */


/* --- CSS for Methods Swipe Section --- */

/* --- Variables --- */
:root {
  --methods-bg: #ffffff;
  --methods-card-bg: #ffffff;
  --methods-text-primary: #000000;
  --methods-text-secondary: #333333;
  --methods-accent: #007bff; /* Blue accent */
  --methods-border-color: #888888; /* Darker border for card */
  --methods-border-light: #e0e0e0; /* Lighter border for links */
  --methods-tab-inactive-bg: #f9f9f9;
  --methods-tab-active-bg: #ffffff;
  --font-main: 'Poppins', sans-serif; /* Ensure Poppins is loaded */
  --swipe-duration: 0.5s;
  --swipe-timing: cubic-bezier(0.4, 0, 0.2, 1);

  --solution-btn-bg: #f5f5f5;
  --solution-btn-text: #333333;
  --solution-btn-border: #cccccc;
  --solution-btn-hover-bg: #e9e9e9;
  --solution-btn-hover-border: #bbbbbb;

  --goo-blue-light: #81d4fa;
  --goo-blue-mid: #4fc3f7;
  --goo-blue-dark: #29b6f6;
  --goo-blue-accent: #b3e5fc;
  --goo-anim-duration: 26s;
  --goo-opacity: 0.30;
  --goo-blur: 16px;
}

/* --- Reset & Section Base --- */
/* Apply cautiously if overriding theme defaults */
/* *, *::before, *::after { box-sizing: border-box; margin:0; padding:0 } */

.methods-swipe-section {
  font-family: var(--font-main);
  background-color: var(--methods-bg, #ffffff); /* Fallback */
  overflow-x: hidden;
  padding: 60px 20px; /* Side padding for section */
  width: 100%; /* Standard width, not full-bleed */
  box-sizing: border-box;
  contain: content; /* Optimization hint */
}

.methods-swipe-container {
  max-width: 1200px;
  margin: 0 auto; /* Center content */
}

/* --- Tabs Card --- */
.tabs-card {
  background: var(--methods-card-bg, #ffffff);
  border-radius: 8px;
  border: 1px solid var(--methods-border-color, #888888);
  overflow: hidden; /* Keep content contained */
}
.swipe-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--methods-border-color, #888888);
}
.swipe-tab-button {
  flex: 1; /* Equal width tabs */
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--methods-text-secondary, #333333);
  background: var(--methods-tab-inactive-bg, #f9f9f9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.swipe-tab-button + .swipe-tab-button {
  border-left: 1px solid var(--methods-border-color, #888888);
}
.swipe-tab-button:hover {
  background: #f0f0f0;
  color: var(--methods-accent, #007bff);
}
.swipe-tab-button.active {
  background: var(--methods-tab-active-bg, #ffffff);
  color: var(--methods-accent, #007bff);
  box-shadow: inset 0 -2px 0 0 var(--methods-accent, #007bff); /* Active indicator */
}

/* --- Cards --- */
.swipe-card-viewport {
  position: relative;
  overflow: hidden; /* Hides inactive card */
  min-height: 600px; /* Set a minimum height */
  box-sizing: border-box;
}
.swipe-card {
  position: absolute; /* Allows positioning for transition */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Ensure it takes full height */
  padding: 50px 45px;
  box-sizing: border-box;
  display: flex; /* Use flex for content layout */
  flex-direction: column; /* Stack content vertically */
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%); /* Start off-screen */
  transition:
    transform var(--swipe-duration, 0.5s) var(--swipe-timing, cubic-bezier(0.4, 0, 0.2, 1)),
    opacity calc(var(--swipe-duration, 0.5s)*.8) ease-out;
}
.swipe-card.active {
  position: relative; /* Bring active card into flow */
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s, calc(var(--swipe-duration, 0.5s)*.1); /* Slight delay for opacity */
}

/* --- Content Inside Cards --- */
.content-wrapper {
  flex-grow: 1; /* Allow content to take available space */
  position: relative;
  z-index: 1; /* Keep content above graphic */
}
.content-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--methods-text-primary, #000000);
  margin-bottom: 15px;
  line-height: 1.2;
}
.content-subtitle {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--methods-text-secondary, #333333);
  margin-bottom: 35px;
  line-height: 1.4;
  max-width: 90%; /* Prevent subtitle getting too wide */
}
.methods-paragraphs p {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--methods-text-secondary, #333333);
  line-height: 1.65;
  margin-bottom: 1.5em;
}
.methods-paragraphs p:last-child {
  margin-bottom: 0;
}

/* --- Solution Links --- */
.solution-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto; /* Push to bottom if content is short */
  padding-top: 20px; /* Space above links */
  border-top: 1px solid var(--methods-border-light, #e0e0e0);
  position: relative;
  z-index: 1; /* Keep above graphic */
}
.solution-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--solution-btn-bg, #f5f5f5);
  color: var(--solution-btn-text, #333333);
  border: 1px solid var(--solution-btn-border, #cccccc);
  padding: 10px 20px;
  border-radius: 20px; /* Pill shape */
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .1s;
}
.solution-link-btn:hover {
  background: var(--solution-btn-hover-bg, #e9e9e9);
  border-color: var(--solution-btn-hover-border, #bbbbbb);
  transform: translateY(-1px);
}
.solution-link-btn i {
  opacity: .7;
}

/* --- Animated Goo --- */
.animated-graphic-container {
  position: absolute;
  bottom: 0;
  right: -15px;
  width: 80px;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0; /* Start hidden */
  transform: translateX(10px);
  transition: opacity 1s ease-out .7s, transform 1s ease-out .7s; /* Fade/slide in */
}
.swipe-card.active .animated-graphic-container {
  opacity: 1;
  transform: translateX(0);
}
.animated-graphic-container::before,
.animated-graphic-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  background: linear-gradient(170deg,
    var(--goo-blue-light, #81d4fa) 0%, var(--goo-blue-mid, #4fc3f7) 33%,
    var(--goo-blue-dark, #29b6f6) 66%, var(--goo-blue-accent, #b3e5fc) 85%,
    var(--goo-blue-light, #81d4fa) 100%);
  background-size: 400% 400%;
  filter: blur(var(--goo-blur, 16px));
  opacity: var(--goo-opacity, 0.30);
  border-radius: 60% 40% 30% 70% / 70% 30% 70% 30%;
  transform-origin: bottom right;
  animation: gooTravel var(--goo-anim-duration, 26s) ease-in-out infinite;
}
.animated-graphic-container::before {
  right: -30%;
  width: 100%;
  height: 100%;
}
.animated-graphic-container::after {
  right: -10%;
  width: 70%;
  height: 70%;
  opacity: calc(var(--goo-opacity, 0.30) * .8);
  filter: blur(calc(var(--goo-blur, 16px) * 1.1));
  animation-duration: calc(var(--goo-anim-duration, 26s) * 1.35);
  animation-delay: calc(var(--goo-anim-duration, 26s) * -0.45);
  border-radius: 30% 70% 60% 40% / 70% 30% 70% 30%;
}
@keyframes gooTravel {
  0%, 100% {
    transform: translate(0, 0) rotate(-5deg) scale(.95);
    background-position: 0% 50%;
    opacity: var(--goo-opacity, 0.30);
  }
  25% {
    transform: translate(-5%, -25%) rotate(8deg) scale(1);
    background-position: 33% 50%;
  }
  50% {
    transform: translate(3%, -50%) rotate(-6deg) scale(.9);
    background-position: 66% 50%;
  }
  75% {
    transform: translate(-2%, -70%) rotate(3deg) scale(1);
    background-position: 90% 50%;
    opacity: calc(var(--goo-opacity, 0.30) * .6);
  }
  95% {
    transform: translate(0, -85%) rotate(0) scale(.9);
    opacity: 0.1;
  }
  100% { /* Ensure smooth loop */
    transform: translate(0, 5%) rotate(-5deg) scale(.95);
    background-position: 100% 50%;
    opacity: 0;
  }
}

/* --- Responsive --- */
/* Add specific responsive rules here if needed */
@media (max-width: 768px) {
 .methods-swipe-section {
    padding: 40px 15px; /* Adjust padding */
  }
  .swipe-card {
      padding: 30px 25px; /* Reduce padding inside cards */
      min-height: 550px; /* Adjust min-height */
  }
  .content-title { font-size: clamp(28px, 5vw, 40px); }
  .content-subtitle { font-size: clamp(20px, 4vw, 30px); }
  .methods-paragraphs p { font-size: clamp(16px, 3vw, 19px); }
  .swipe-tab-button { font-size: 1rem; padding: 12px 15px; }
  .animated-graphic-container { display: none; } /* Hide goo on mobile */
}
@media (max-width: 480px) {
  .swipe-tabs-nav { flex-direction: column; } /* Stack tabs */
  .swipe-tab-button + .swipe-tab-button { border-left: none; border-top: 1px solid var(--methods-border-color, #888888); }
  .swipe-card { padding: 25px 20px; min-height: 500px; }
  .content-title { font-size: 28px; }
  .content-subtitle { font-size: 22px; }
  .methods-paragraphs p { font-size: 17px; }
  .solution-link-btn { font-size: .85rem; padding: 8px 15px; }
}

/* --- End CSS for Methods Swipe Section --- */























/* --- INDEX SECTION 6 --- */



/* --- CSS for Etapy Nauki Roadmap Section --- */

/* --- Variables --- */
:root {
  --roadmap-v2-bg: #f8faff;
  --roadmap-v2-line-color: #d4dae8;
  --roadmap-v2-marker-border: #b0b8d0; /* Not used in current rules */
  --roadmap-v2-text-primary: #2c3e50;
  --roadmap-v2-text-secondary: #5a6a7a;
  --roadmap-v2-content-bg: #fff;
  --roadmap-v2-shadow: rgba(90,100,130,0.1);
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Ensure this font is loaded */
  --step1-color: #3498db; /* Blue */
  --step2-color: #f1c40f; /* Yellow */
  --step3-color: #2ecc71; /* Green */
}

/* --- Section Styles --- */
.etapy-nauki-roadmap-v2 {
  font-family: var(--font-primary);
  background-color: var(--roadmap-v2-bg, #f8faff); /* Fallback */
  overflow-x: hidden; /* Prevent horizontal scroll */
  padding: 80px 0;
  position: relative;
  width: 100vw; /* Full viewport width */
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.etapy-container-v2 {
  max-width: 900px; /* Max width of the timeline content */
  margin: 0 auto; /* Center the content */
  padding: 0 20px; /* Side padding */
  box-sizing: border-box;
}

/* Style for the main title if needed */
/* Assuming .duzy-tytul is styled elsewhere or use specific class */
.etapy-nauki-roadmap-v2 .duzy-tytul {
  text-align: center;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  margin-bottom: 33px;
  color: #333; /* Adjust color if needed */
  max-width: 1088px; /* Match inline style width */
  margin-left: auto;
  margin-right: auto;
}

.etapy-title-v2 { /* If you have a specific title class */
  text-align: left;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--roadmap-v2-text-primary, #2c3e50);
  margin-bottom: 60px;
}

/* --- Timeline & Line --- */
.etapy-timeline-v2 {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: etapy-counter; /* Initialize counter */
}
.etapy-timeline-v2::before { /* The central line */
  content: '';
  position: absolute;
  top: 10px; /* Start below top padding */
  bottom: 10px; /* End above bottom padding */
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(to bottom, var(--step1-color, #3498db), var(--step2-color, #f1c40f), var(--step3-color, #2ecc71));
  border-radius: 2px;
  z-index: 1;
}

/* --- Steps --- */
.etapy-timeline-v2 li {
  position: relative;
  margin-bottom: 50px;
  padding: 10px 0; /* Vertical space for the item */
  width: 50%; /* Half width for alternating sides */
  box-sizing: border-box;
}
.etapy-timeline-v2 li:last-child {
  margin-bottom: 0;
}

/* Marker circles */
.etapy-timeline-v2 li::before {
  content: counter(etapy-counter); /* Display counter number */
  counter-increment: etapy-counter; /* Increment counter */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 4px solid var(--roadmap-v2-bg, #f8faff); /* Background color border creates separation */
  border-radius: 50%;
  background: grey; /* Default background */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 2; /* Above the line */
}
/* Color markers based on step */
.etapy-timeline-v2 li:nth-child(1)::before { background: var(--step1-color, #3498db); }
.etapy-timeline-v2 li:nth-child(2)::before { background: var(--step2-color, #f1c40f); }
.etapy-timeline-v2 li:nth-child(3)::before { background: var(--step3-color, #2ecc71); }
/* Add more nth-child rules if you have more steps */

/* Alternate sides */
.etapy-timeline-v2 li:nth-child(odd) { /* Left side */
  left: 0;
  padding-right: 65px; /* Space between content and marker */
  text-align: right;
}
.etapy-timeline-v2 li:nth-child(odd)::before { /* Position marker on right */
  right: -28px; /* (50px marker width + 4px border*2)/2 - 4px line width/2 = 27, slight adjust */
  left: auto;
}
/* Pointer for left side items */
.etapy-timeline-v2 li:nth-child(odd) .etapy-content-v2::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15px; /* Position pointer tip */
  transform: translateY(-50%) rotate(45deg);
  width: 15px;
  height: 15px;
  background: var(--roadmap-v2-content-bg, #fff);
  border-right: 1px solid var(--roadmap-v2-line-color, #d4dae8);
  border-top: 1px solid var(--roadmap-v2-line-color, #d4dae8);
  z-index: 1; /* Below content box */
}

.etapy-timeline-v2 li:nth-child(even) { /* Right side */
  left: 50%; /* Offset from the left */
  padding-left: 65px; /* Space between marker and content */
  text-align: left;
}
.etapy-timeline-v2 li:nth-child(even)::before { /* Position marker on left */
  left: -28px; /* (50px marker width + 4px border*2)/2 - 4px line width/2 = 27, slight adjust */
  right: auto;
}
/* Pointer for right side items */
.etapy-timeline-v2 li:nth-child(even) .etapy-content-v2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -15px; /* Position pointer tip */
  transform: translateY(-50%) rotate(45deg);
  width: 15px;
  height: 15px;
  background: var(--roadmap-v2-content-bg, #fff);
  border-left: 1px solid var(--roadmap-v2-line-color, #d4dae8);
  border-bottom: 1px solid var(--roadmap-v2-line-color, #d4dae8);
  z-index: 1; /* Below content box */
}

/* Content boxes */
.etapy-content-v2 {
  background: var(--roadmap-v2-content-bg, #fff);
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--roadmap-v2-shadow, rgba(90,100,130,0.1));
  position: relative; /* Needed for pointer positioning */
  z-index: 3; /* Above pointer and line */
  transition: transform .3s, box-shadow .3s;
}
.etapy-content-v2 .icon { /* Style for the icon span */
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
  color: inherit; /* Inherit color from parent or set specifically */
}
/* Add color to icons based on step */
.etapy-timeline-v2 li:nth-child(1) .etapy-content-v2 .icon { color: var(--step1-color, #3498db); }
.etapy-timeline-v2 li:nth-child(2) .etapy-content-v2 .icon { color: var(--step2-color, #f1c40f); }
.etapy-timeline-v2 li:nth-child(3) .etapy-content-v2 .icon { color: var(--step3-color, #2ecc71); }

.etapy-timeline-v2 li:hover .etapy-content-v2 {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(90,100,130,0.15);
}
.etapy-content-v2 h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--roadmap-v2-text-primary, #2c3e50);
}
.etapy-content-v2 p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--roadmap-v2-text-secondary, #5a6a7a);
  margin: 0;
}

/* Mobile Responsive */



@media (max-width: 767px) {
  /* 1) Hide the vertical timeline line */
  .etapy-timeline-v2::before {
    display: none;
  }

  /* 2) Make each step full-width, no extra padding */
  .etapy-timeline-v2 li {
    width: 100% !important;
    left: 0 !important;
    padding: 0 !important;
    margin-bottom: 40px;
    text-align: left !important;
  }

  /* 3) Reposition the marker circle if you still want it */
  .etapy-timeline-v2 li::before {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* 4) Stretch the content box edge-to-edge */
  .etapy-content-v2 {
    width: 100%;
    margin: 10px 0;
    padding: 20px;
  }

  /* 5) Remove the arrow pointers */
  .etapy-content-v2::after {
    display: none;
  }

  /* (Optional) Tweak font-sizes or spacing */
  .etapy-content-v2 h3 {
    font-size: 1.25rem;
  }
  .etapy-content-v2 p {
    font-size: .95rem;
  }
}



@media (max-width: 767px) {
  /* …your existing rules… */

  /* Bring the step-marker circles above the content boxes */
  .etapy-timeline-v2 li::before {
    z-index: 5 !important;
  }

  /* Send the white boxes behind the circles */
  .etapy-content-v2 {
    z-index: 1 !important;
  }
}


/* --- End CSS for Etapy Nauki Roadmap Section --- */


















/* --- INDEX SECTION 7 --- */



/* --- CSS for CTA Buttons Section (v2) --- */

/* --- Variables (Ensure these are defined globally or repeat if needed) --- */
/* :root { */
  /* --font-primary: 'Poppins', sans-serif; */ /* Assuming Poppins is loaded */
/* } */

/* --- Base Styles (Apply cautiously if overriding theme defaults) --- */
/* *, *:before, *:after { box-sizing: border-box; } */
/* body { */
  /* font-family: var(--font-primary); */
  /* margin: 0; padding: 0; */
  /* overflow-x: hidden; */
/* } */

/* --- CTA Section Wrapper --- */
.cta-wrapper-v2 {
  position: relative;
  width: 100%; /* Standard width */
  background: #ffffff; /* White background */
  padding: 60px 20px; /* Vertical and horizontal padding */
  text-align: center;
  box-sizing: border-box;
  /* Remove full-width styles if they were here */
}

.cta-container-v2 {
  max-width: 1200px; /* Max width of content */
  margin: 0 auto; /* Center content */
  padding: 0 20px; /* Ensure padding doesn't double up if parent has it */
  box-sizing: border-box;
}

/* --- Buttons Container --- */
.cta-buttons-v2 {
  display: flex;
  justify-content: center; /* Center buttons horizontally */
  gap: 25px; /* Space between buttons */
  flex-wrap: wrap; /* Allow wrapping */
  margin-top: 20px; /* Space above buttons */
}

/* --- Button Base Styles --- */
.cta-btn-main-v2,
.cta-btn-tertiary-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Center icon/text within button */
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important; /* Remove underline */
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif; /* Ensure font */
  line-height: 1.3; /* Prevent text wrapping issues */
  white-space: nowrap; /* Prevent text wrapping */
}

/* Main Button Style (Teal) */
.cta-btn-main-v2 {
  background: #00796b;
  color: #fff !important; /* Ensure white text */
}
.cta-btn-main-v2:hover {
  background: #004d40;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  color: #fff !important;
}

/* Tertiary Button Style (Pink) */
.cta-btn-tertiary-v2 {
  background: #ffd6d6;
  color: #333 !important; /* Ensure dark text */
}
.cta-btn-tertiary-v2:hover {
  background: #ffbaba;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  color: #333 !important;
}

/* Jerk Animation for the middle button */
.cta-buttons-v2 a:nth-of-type(2) { /* Target second button */
  animation: jerkAnimation 3s infinite ease-in-out;
  animation-delay: 1s; /* Start slightly later */
}

@keyframes jerkAnimation {
  0%, 10%, 20%, 30%, 50%, 70%, 90%, 100% { transform: translateX(0); }
  15%, 25% { transform: translateX(-4px); } /* Quick jerk left */
  60%, 80% { transform: translateX(4px); } /* Quick jerk right */
  40% { transform: scale(1.03); } /* Slight scale up */
}

/* Pause animation on hover for usability */
.cta-buttons-v2 a:nth-of-type(2):hover {
  animation-play-state: paused;
}

/* Active state for buttons */
.cta-btn-main-v2:active,
.cta-btn-tertiary-v2:active {
  transform: translateY(1px); /* Press down effect */
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  animation-play-state: paused; /* Also pause jerk on click */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .cta-buttons-v2 {
    flex-direction: column; /* Stack buttons */
    gap: 15px;
    align-items: center; /* Center stacked buttons */
  }
  .cta-btn-main-v2,
  .cta-btn-tertiary-v2 {
    width: 100%; /* Make buttons full width */
    max-width: 350px; /* Limit max width */
    justify-content: center; /* Center text/icon */
  }
  /* Ensure animation still targets second button when stacked */
  .cta-buttons-v2 a:nth-of-type(2) {
      animation: jerkAnimation 3s infinite ease-in-out;
      animation-delay: 1s;
  }
}

/* --- End CSS for CTA Buttons Section --- */













/* --- INDEX SECTION 8 --- */





/* --- CSS dla Sekcji FAQ --- */

/* --- Reset (Ostrożnie, jeśli motyw już to robi) --- */
/* body { */
  /* margin: 0; */
  /* padding: 0; */
/* } */

/* --- Sekcja FAQ --- */
#faq { /* Użyj ID z tagu section */
  position: relative;
  left: 50%;
  margin-left: -50vw; /* Wyciągnij w lewo o połowę szerokości widoku */
  width: 100vw; /* Ustaw szerokość na pełną szerokość widoku */
  background-color: #f9f9f9; /* Jasnoszare tło */
  padding: 60px 0; /* Wypełnienie pionowe */
  box-sizing: border-box; /* Uwzględnij padding w szerokości */
  overflow-x: hidden; /* Zapobiegaj poziomemu przewijaniu */
}

.faq-container {
  width: 100%;
  max-width: 1200px; /* Maksymalna szerokość zawartości */
  margin: 0 auto; /* Wyśrodkuj kontener */
  padding: 0 15px; /* Wypełnienie boczne dla zawartości */
  box-sizing: border-box;
}

/* Styl dla tytułu .duzy-tytul w tej sekcji */
#faq .duzy-tytul {
  max-width: 100%; /* Pozwól tytułowi zająć pełną szerokość kontenera */
  margin: 0 0 40px 0; /* Margines dolny, usuń auto */
  text-align: left;
  color: #000;
  font-size: 2.5rem; /* Rozmiar czcionki */
  padding-left: 11px; /* Dopasuj do wyrównania pytań */
}

.faq-item {
  border-bottom: 2px solid #ccc; /* Linia oddzielająca */
  cursor: pointer;
  transition: background 0.2s;
}
.faq-item:hover {
  background: #fff; /* Tło przy najechaniu */
}

.faq-question {
  display: flex;
  justify-content: space-between; /* Rozmieść tekst i ikonę */
  align-items: center; /* Wyrównaj w pionie */
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  padding: 16px 0; /* Wypełnienie pionowe */
  color: #333; /* Kolor tekstu pytania */
}

/* Wyrównanie tekstu i odpowiedzi */
.faq-question > span:first-child,
.faq-answer {
  padding-left: 11px; /* Wcięcie od lewej */
}

/* Wyrównanie ikony */
.faq-question .icon {
  padding-right: 11px; /* Odstęp od prawej */
}

.faq-answer {
  max-height: 0; /* Domyślnie ukryta */
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease; /* Animacja rozwijania */
  font-size: 1rem; /* 16px */
  color: #333;
  line-height: 1.6; /* Odstęp między wierszami */
}

/* Styl aktywnego elementu (rozwiniętego) */
.faq-item.active .faq-answer {
  max-height: 600px; /* Wystarczająco duża wartość */
  padding-top: 12px; /* Wypełnienie górne po rozwinięciu */
  padding-bottom: 16px; /* Wypełnienie dolne po rozwinięciu */
}

.faq-question .icon { /* Styl ikony +/- */
  font-size: 1.5rem;
  color: #333;
  transition: transform 0.3s ease, color 0.3s ease;
  font-style: normal; /* Upewnij się, że nie jest kursywą */
  font-weight: normal; /* Użyj normalnej wagi */
}
.faq-item.active .faq-question .icon {
  transform: rotate(180deg); /* Obróć ikonę */
  color: #007bff; /* Zmień kolor ikony */
}

/* --- Koniec CSS dla Sekcji FAQ --- */











/* --- INDEX SECTION 9--- */
/* --- CSS for Sticky Trial Button --- */

:root {
  /* Define variables if not already defined globally */
  /* These might already exist from other sections */
  /* --sticky-bg: #ffd6d6; */
  /* --sticky-color: #000000; */
  /* --sticky-hover-bg: #ffbaba; */
  /* --sticky-hover-color: #ffffff; */
  /* --font-primary: 'Poppins', sans-serif; */ /* Ensure Poppins is loaded */
  /* --trial-radius: 4px; */
  /* --trial-gap: 10px; */
  /* --trial-z: 9999; */
  /* --trial-padding: 12px 26px; */
  /* --trial-padding-mobile: 10px 20px; */
}

/* Apply box-sizing globally or ensure it's inherited */
/* *, *::before, *::after { box-sizing: border-box; } */

.sticky-trial-button-custom {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sticky-bg, #ffd6d6); /* Added fallback */
  color: var(--sticky-color, #000000) !important; /* Use !important if needed */
  border: 2px solid var(--sticky-bg, #ffd6d6);
  padding: var(--trial-padding, 12px 26px);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none !important; /* Remove underline */
  border-radius: var(--trial-radius, 4px);
  display: inline-flex;
  align-items: center;
  gap: var(--trial-gap, 10px);
  z-index: var(--trial-z, 9999);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease; /* Added opacity/visibility */
  font-family: var(--font-primary, 'Poppins', sans-serif); /* Ensure font */
  white-space: nowrap; /* Prevent text wrapping */
}
.sticky-trial-button-custom:hover {
  background: var(--sticky-hover-bg, #ffbaba);
  color: var(--sticky-hover-color, #ffffff) !important;
  border-color: var(--sticky-hover-bg, #ffbaba);
}

.sticky-trial-button-custom .enter-icon { /* Target icon within the button */
  font-size: 1.2rem;
  color: var(--sticky-color, #000000); /* Match button text color */
  transition: color 0.3s ease;
}
.sticky-trial-button-custom:hover .enter-icon {
  color: var(--sticky-hover-color, #ffffff); /* Match button hover text color */
}

/* Class added by JS to hide */
.sticky-trial-button-custom.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Optional: add transform to slide it down */
  /* transform: translateX(-50%) translateY(100%); */
  /* transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease; */
}

@media (max-width: 480px) {
  .sticky-trial-button-custom {
    font-size: 1.1rem;
    padding: var(--trial-padding-mobile, 10px 20px);
    width: calc(100% - 32px); /* Full width minus some margin */
    margin: 0 16px; /* Center with margin */
    justify-content: center; /* Center content if text wraps */
    left: 16px; /* Adjust left for margin */
    transform: none; /* Remove translateX */
    /* If using slide down animation: */
    /* transform: translateY(0); */
  }
  /* .sticky-trial-button-custom.hidden { */
      /* transform: translateY(150%); */ /* Slide further down */
  /* } */
}

/* --- End CSS for Sticky Trial Button --- */












/* --- W SZKOLE BUTTON --- */




/* =========================================
   Button styles (teal & pink) from Starlight
   — only this block is needed for your new section
   ========================================= */

/* Base for both buttons */
.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .3s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
}

/* Teal primary */
.hero-btn-primary {
  background: #00796b;
  color: #fff !important;
}
.hero-btn-primary:hover {
  background: #004d40;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Pink secondary */
.hero-btn-secondary {
  background: #ffd6d6;
  color: #333 !important;
}
.hero-btn-secondary:hover {
  background: #ffbaba;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Pressed state */
.hero-btn-primary:active,
.hero-btn-secondary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}










    .lesson-container {
      max-width: 800px;
      background: #fff;
      margin: 0 auto;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .lesson-container h1 {
      font-size: 2rem;
      margin-bottom: 10px;
      color: #2a5d9f;
      border-bottom: 2px solid #e1eaf4;
      padding-bottom: 10px;
    }
    .lesson-container p.intro {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .verb-section {
      margin-bottom: 30px;
      padding-left: 15px;
      border-left: 4px solid #2a5d9f;
    }
    .verb-section h2 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      color: #2a5d9f;
    }
    .qa p {
      margin: 5px 0;
    }
    .qa strong {
      color: #1a3e72;
    }
    .phrases {
      margin-top: 10px;
      font-style: italic;
    }
    .phrases span {
      display: inline-block;
      background: #e1eaf4;
      padding: 5px 8px;
      margin: 4px 4px 0 0;
      border-radius: 4px;
    }















