/*
! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

html {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.prose {
  color: var(--tw-prose-body);
  max-width: 80ch;
}

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-left-width: 0.25rem;
  border-left-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-left: 1em;
}

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 1.875em; /* LLM: Zmniejszono z 2.25em dla lepszej czytelności na mobile */
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

/* LLM: Responsive H1 - większy na desktop */
@media (min-width: 768px) {
  .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    font-size: 2.25em;
  }
}

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3333333;
}

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.3em;
  margin-bottom: 0.4em;
  line-height: 1.6;
}

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.0em;
  margin-bottom: 0.3em;
  line-height: 1.5;
}

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-right: 0.375em;
  padding-bottom: 0.1875em;
  padding-left: 0.375em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-right: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-left: 1.1428571em;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-right: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-left: 0.5714286em;
}

.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: 17 24 39;
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: 255 255 255;
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-left: 0.375em;
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-left: 0.375em;
}

.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-left: 1.625em;
}

.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-left: 0;
}

.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-right: 0;
}

.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-right: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-left: 0.5714286em;
}

.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-left: 0;
}

.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-right: 0;
}

.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.insert-link::before {
  pointer-events: auto;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  z-index: 10;
  --tw-content: '';
  content: var(--tw-content);
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.relative {
  position: relative;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-14 {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.my-16 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-14 {
  margin-bottom: 3.5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-auto {
  margin-right: auto;
}

.mt-10 {
  margin-top: 2.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.h-12 {
  height: 3rem;
}

.h-20 {
  height: 5rem;
}

.w-12 {
  width: 3rem;
}

.w-20 {
  width: 5rem;
}

.w-full {
  width: 100%;
}

.max-w-7xl {
  max-width: 80rem;
}

.basis-1\/2 {
  flex-basis: 50%;
}

.basis-1\/3 {
  flex-basis: 33.333333%;
}

.basis-2\/3 {
  flex-basis: 66.666667%;
}

.cursor-pointer {
  cursor: pointer;
}

.resize {
  resize: both;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.items-center {
  align-items: center;
}

.items-stretch {
  align-items: stretch;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}

.gap-x-6 {
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}

.gap-y-10 {
  row-gap: 2.5rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.self-center {
  align-self: center;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-l-full {
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}

.rounded-r-full {
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-zinc-200 {
  --tw-border-opacity: 1;
  border-color: rgb(228 228 231 / var(--tw-border-opacity));
}

.border-zinc-400 {
  --tw-border-opacity: 1;
  border-color: rgb(161 161 170 / var(--tw-border-opacity));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-zinc-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(244 244 245 / var(--tw-bg-opacity));
}

.fill-white {
  fill: #fff;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-1 {
  padding: 0.25rem;
}

.p-1\.5 {
  padding: 0.375rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pl-3 {
  padding-left: 0.75rem;
}

.pr-\[5px\] {
  padding-right: 5px;
}

.pt-4 {
  padding-top: 1rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 1.5;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.leading-none {
  line-height: 1;
}

.leading-normal {
  line-height: 1.5;
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-zinc-500 {
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity));
}

.decoration-auto {
  text-decoration-thickness: auto;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.ease-linear {
  transition-timing-function: linear;
}

.before\:pointer-events-auto::before {
  content: var(--tw-content);
  pointer-events: auto;
}

.before\:absolute::before {
  content: var(--tw-content);
  position: absolute;
}

.before\:bottom-0::before {
  content: var(--tw-content);
  bottom: 0px;
}

.before\:left-0::before {
  content: var(--tw-content);
  left: 0px;
}

.before\:right-0::before {
  content: var(--tw-content);
  right: 0px;
}

.before\:top-0::before {
  content: var(--tw-content);
  top: 0px;
}

.before\:z-10::before {
  content: var(--tw-content);
  z-index: 10;
}

.before\:mr-2::before {
  content: var(--tw-content);
  margin-right: 0.5rem;
}

.before\:opacity-50::before {
  content: var(--tw-content);
  opacity: 0.5;
}

.before\:content-\[\'\'\]::before {
  --tw-content: '';
  content: var(--tw-content);
}

.before\:content-\[\'\2022\'\]::before {
  --tw-content: '•';
  content: var(--tw-content);
}

.after\:ml-4::after {
  content: var(--tw-content);
  margin-left: 1rem;
}

.after\:opacity-30::after {
  content: var(--tw-content);
  opacity: 0.3;
}

.after\:content-\[\'\276F\'\]::after {
  --tw-content: '❯';
  content: var(--tw-content);
}

.last\:after\:content-none:last-child::after {
  --tw-content: none;
  content: var(--tw-content);
}

.hover\:bg-blue-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity));
}

.hover\:bg-zinc-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(244 244 245 / var(--tw-bg-opacity));
}

.hover\:bg-zinc-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(228 228 231 / var(--tw-bg-opacity));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.active\:bg-zinc-300:active {
  --tw-bg-opacity: 1;
  background-color: rgb(212 212 216 / var(--tw-bg-opacity));
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

.group:hover .group-hover\:animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.group:hover .group-hover\:animate-spin {
  animation: spin 1s linear infinite;
}

.group:hover .group-hover\:underline {
  text-decoration-line: underline;
}

@media (min-width: 900px) {
  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:my-14 {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }

  .md\:mb-8 {
    margin-bottom: 2rem;
  }

  .md\:flex {
    display: flex;
  }

  .md\:w-2\/5 {
    width: 40%;
  }

  .md\:w-3\/5 {
    width: 60%;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:space-x-6 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1.5rem * var(--tw-space-x-reverse));
    margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:py-14 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .md\:pr-8 {
    padding-right: 2rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.7rem;
  }

  .lg\:sticky {
    position: sticky;
  }

  .lg\:top-8 {
    top: 2rem;
  }

  .lg\:flex {
    display: flex;
  }
  
  .lg\:hidden {
    display: none !important;
  }

  .lg\:w-2\/5 {
    width: 40%;
  }

  .lg\:w-3\/5 {
    width: 60%;
  }

  .lg\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .lg\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse));
  }

  .lg\:p-10 {
    padding: 2.5rem;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:pr-10 {
    padding-right: 2.5rem;
  }

  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .lg\:prose-lg {
    font-size: 1.125rem;
    line-height: 1.7777778;
  }
}

/* LLM: Custom breakpoint 1030px dla menu - hamburger pojawia się wcześniej */
@media (max-width: 1029px) {
  /* Ukryj menu desktopowe */
  .hidden.lg\\:flex {
    display: none !important;
  }
  
  /* Pokaż kontrolki mobilne */
  .lg\\:hidden {
    display: flex !important;
  }
}

@media (min-width: 1030px) {
  /* Pokaż menu desktopowe */
  .hidden.lg\\:flex {
    display: flex !important;
  }
  
  /* Ukryj kontrolki mobilne */
  .lg\\:hidden {
    display: none !important;
  }
  
  /* Ukryj menu mobilne */
  #mobileMenu.lg\\:hidden {
    display: none !important;
  }
}

.menu-desktop {
  display: none;
}

@media (min-width: 900px) {
  .menu-desktop {
    display: flex;
  }
}

.menu-mobile {
  display: none;
}

.menu-mobile.open {
  display: block;
}

.menu-mobile.close {
  display: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mt-custom {
  margin-top: 3rem;
}

.z-999 {
  z-index: 999 !important;
}
.article-image {
  margin: 1.5rem 0;
}

.image-caption {
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* LLM: Skip link dla WCAG 2.1 AA compliance - accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  z-index: 999999;
  padding: 8px 16px;
  background: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.4;
  /* Ukryj dla screen readerów gdy nie ma focus */
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.skip-link:focus {
  /* Pokaż gdy ma focus */
  left: 6px;
  top: 6px;
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  overflow: visible;
}

/* LLM: Screen reader only classes dla WCAG compliance */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.focus\:not-sr-only:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

#consent-notice {
    padding: 1rem 1rem; 
    text-align: center; 
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    background: rgb(59 130 246);
    color: white;
    z-index: 999999;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0px 0px 6px rgb(2 2 2 / 60%);
}

#consent-notice p {
    font-size: 1rem;
    line-height: 1.5;
}

#consent-notice button {
    cursor: pointer; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgb(255 255 255);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 1rem;
    line-height: 1rem;
    white-space: nowrap;
    transition: all 0.6s;
    border: 1px solid rgb(255, 255, 255);
    min-height: 2rem;
}

#consent-notice button.accept {
    cursor: pointer; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgb(59 130 246);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 1rem;
    line-height: 1rem;
    white-space: nowrap;
    transition: all 0.6s;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    min-height: 2rem;
}
#consent-notice button.accept:hover {
    background: rgb(50, 187, 73);
    border: 1px solid rgb(50, 187, 73);
    transition: all 0.6s;
    color: rgb(255, 255, 255);
}

#consent-notice button:hover {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: rgb(59 130 246);
    background: rgb(255 255 255);
}

#consent-notice .policy-link {
    color: white;
    font-size: 1rem;
    line-height: 1rem;
    text-decoration: none;
    margin-right: 0.75rem;
    opacity: 0.9;
}

#consent-notice .policy-link:hover {
    text-decoration: underline;
    opacity: 1;
}

#consent-notice .buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 767px) {
    #consent-notice {
        padding: 0.75rem;
    }

    #consent-notice p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        text-align: left;
    }

    #consent-notice a {
        font-size: 0.8rem; /* Ten sam rozmiar co tekst */
        display: inline;
    }

    #consent-notice .buttons {
        margin-top: 0.75rem;
        gap: 0.4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #consent-notice button {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        min-height: 1.8rem;
        width: 100%;
        justify-content: center;
    }

    #consent-notice .policy-link {
        font-size: 0.8rem;
        margin: 0;
        text-align: center;
        width: 100%;
        padding: 0.3rem 0;
    }

    /* Specjalny styl dla przycisku akceptacji */
    #consent-notice button.accept {
        margin-top: 0.3rem;
        order: 2; /* Przesuwamy na koniec */
    }

    /* Przycisk personalizacji */
    #cookie-notice-personalization {
        order: 1;
    }

    /* Link do polityki */
    #consent-notice .policy-link {
        order: 0;
    }

    #consent-overlay {
        padding: 1rem;
    }

    #consent-overlay > div {
        padding: 1rem;
    }

    #consent-overlay .cookie-option {
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }

    #consent-overlay .cookie-option h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    #consent-overlay .cookie-option p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    #consent-overlay .buttons {
        margin-top: 1rem;
        gap: 0.5rem;
    }

    #cookie-preferences-toggle {
        width: 35px;
        height: 35px;
        bottom: 15px;
        left: 15px;
    }

    #cookie-preferences-toggle svg {
        width: 20px;
        height: 20px;
    }
}

#consent-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    padding: 2rem;
    will-change: transform;
    transform: translateZ(0);
}

#consent-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#consent-overlay > div {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
}

#consent-overlay .cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
}

#consent-overlay .cookie-option label {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

#consent-overlay .cookie-option h3 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

#consent-overlay .cookie-option p {
    color: rgb(107 114 128);
    font-size: 0.875rem;
}

#consent-overlay .buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

#cookie-preferences-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgb(59 130 246);
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s;
    z-index: 999;
}

#cookie-preferences-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#cookie-preferences-toggle svg {
    width: 24px;
    height: 24px;
    color: white;
}

#consent-notice a {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
}

#consent-notice a:hover {
    opacity: 1;
}/* Custom header styles */
.nav-link {
    position: relative;
    padding: 0.625rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s;
    color: rgb(55, 65, 81);
    pointer-events: auto;
    z-index: 10000;
}

/* Styl dla linków w nagłówku w trybie ciemnym */
html[data-theme="dark"] .nav-link {
    color: rgb(229, 231, 235);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(59, 130, 246);
    transition: all 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: rgb(59, 130, 246);
}

.nav-link.active::after {
    width: 100%;
}

/* Glassmorphism effect */
.glass-effect {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Styl dla glass-effect w trybie ciemnym */
html[data-theme="dark"] .glass-effect {
    background-color: rgba(17, 24, 39, 0.95); /* ciemny kolor tła */
    border-bottom-color: rgba(55, 65, 81, 0.5);
}

/* Animated hamburger */
.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s;
}

/* Search animation */
.search-input {
    transition: all 0.3s;
}

.search-input:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Styl dla pola wyszukiwania w trybie ciemnym */
html[data-theme="dark"] .search-input {
    background-color: rgba(31, 41, 55, 0.8);
    color: rgb(229, 231, 235);
    border-color: rgb(75, 85, 99);
}

html[data-theme="dark"] .search-input::placeholder {
    color: rgb(156, 163, 175);
}

html[data-theme="dark"] .search-input:focus {
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.5);
}

/* Button hover effects */
.btn-primary {
    background-color: rgb(59, 130, 246);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: rgb(37, 99, 235);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

/* Styl dla przycisków w trybie ciemnym */
html[data-theme="dark"] .btn-primary {
    background-color: rgb(59, 130, 246);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

html[data-theme="dark"] .btn-primary:hover {
    background-color: rgb(37, 99, 235);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: rgb(59, 130, 246);
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: rgb(239, 246, 255);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* Styl dla przycisków secondary w trybie ciemnym */
html[data-theme="dark"] .btn-secondary {
    background-color: rgba(31, 41, 55, 0.9);
    color: rgb(96, 165, 250);
    border-color: rgba(96, 165, 250, 0.2);
}

html[data-theme="dark"] .btn-secondary:hover {
    background-color: rgba(55, 65, 81, 0.9);
    border-color: rgba(96, 165, 250, 0.3);
}

.header-logo {
    height: 70px;
    max-width: 320px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s, filter 0.3s;
    margin-right: 0.5rem;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Style dla logo w trybie ciemnym - zmienia logo na białe */
html[data-theme="dark"] .header-logo {
    filter: brightness(0) invert(1); /* Ta kombinacja filtrów zamienia każdy kolorowy obrazek na biały */
}

/* LLM: Płynne skalowanie logo od 1250px w dół */
@media (max-width: 1250px) {
    .header-logo {
        height: 65px;
        max-width: 300px;
    }
}

@media (max-width: 1150px) {
    .header-logo {
        height: 60px;
        max-width: 280px;
    }
}

@media (max-width: 1050px) {
    .header-logo {
        height: 55px;
        max-width: 260px;
    }
}

@media (max-width: 950px) {
    .header-logo {
        height: 50px;
        max-width: 240px;
    }
}

@media (max-width: 850px) {
    .header-logo {
        height: 45px;
        max-width: 220px;
    }
}

/* Dodajemy style dla menu rozwijanego */
.dropdown {
    position: relative;
    z-index: 9999;
}

.dropdown > a {
    cursor: pointer;
    position: relative;
    z-index: 10000;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    padding: 0.5rem;
    padding-top: 1rem;
    margin-top: -0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    pointer-events: auto;
}

/* Styl dla menu rozwijanego w trybie ciemnym */
html[data-theme="dark"] .dropdown-content {
    background-color: rgb(31, 41, 55);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown::before {
    display: none;
}

.dropdown-item {
    cursor: pointer;
    display: block;
    padding: 0.75rem 1rem;
    color: rgb(55, 65, 81);
    border-radius: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Styl dla elementów rozwijanego menu w trybie ciemnym */
html[data-theme="dark"] .dropdown-item {
    color: rgb(229, 231, 235);
}

.dropdown-item:hover {
    background-color: rgb(239, 246, 255);
    color: rgb(59, 130, 246);
}

html[data-theme="dark"] .dropdown-item:hover {
    background-color: rgb(55, 65, 81);
    color: rgb(96, 165, 250);
}

/* Dodajemy ikonkę strzałki */
.dropdown-arrow {
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dodajemy style dla wersji mobilnej */
@media (max-width: 767px) {
    /* LLM: Responsywne logo na mobile - max 200px szerokości */
    .header-logo {
        max-width: 195px;
        height: auto;
        max-height: 60px;
    }

    .dropdown-content {
        position: static;
        display: none;
        min-width: auto;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-item {
        padding: 0.5rem 1rem 0.5rem 2rem;
    }

    /* Dodajemy style dla strzałki w wersji mobilnej */
    .dropdown-arrow {
        width: 16px !important;
        height: 16px !important;
    }

    /* Style dla strzałki w menu mobilnym */
    .dropdown-arrow-mobile {
        flex-shrink: 0;  /* Zapobiega kurczeniu się ikony */
        margin-left: auto; /* Przesuwa ikonę na prawą stronę */
        width: 12px !important;
        height: 12px !important;
    }
}

/* Modyfikujemy header */
header.glass-effect {
    position: sticky;
    top: 0;
    z-index: 9998;
    will-change: transform;
    transform: translateZ(0);
}

/* Dodajemy do istniejących styli */
.glass-effect > div {
    position: relative;
    z-index: 9998;
}

nav.hidden.lg\:flex {
    position: relative;
    z-index: 9999;
}

/* Modyfikujemy style dla menu mobilnego */
#mobileMenu {
    position: relative;
    z-index: 9997;
}

/* Dostosowanie kolorów dla trybu ciemnego */
html[data-theme="dark"] .toggle-button {
    color: rgb(229, 231, 235);
}

html[data-theme="dark"] .toggle-button:hover {
    background-color: rgba(55, 65, 81, 0.5);
}#debug-data {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    z-index: 999999;
    border-bottom: 2px solid red;
    max-height: 50vh;
    overflow: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: monospace;
    font-size: 14px;
}

#debug-data.collapsed {
    height: 40px;
    overflow: hidden;
}

#debug-data .debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#debug-data .debug-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

#debug-data .debug-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

#debug-data .debug-section strong {
    color: #2c5282;
    display: block;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

#debug-data .debug-toggle {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

/* Dodajemy padding tylko gdy debugger jest aktywny */
body.debug-active {
    padding-top: 50vh;
}

body.debug-collapsed {
    padding-top: 40px;
} .action-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
    background-color: white;
    color: #3f3f46;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.action-button svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.action-button:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.05);
}

.action-button:hover svg {
    transform: scale(1.1);
}

.action-button.primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.action-button.primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.page404-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: #f3f4f6;
    transition: all 0.3s ease;
    width: 120px;
    height: 120px;
    justify-content: center;
    text-decoration: none;
}

.page404-link:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.page404-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: white;
    color: #4b5563;
}

.page404-link span {
    font-size: 0.875rem;
    font-weight: 500;
}

.error-animation {
    position: relative;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-number {
    font-size: 110px;
    font-weight: 900;
    color: #f3f4f6;
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

.error-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    color: #ef4444;
    z-index: 2;
    animation: shake 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
} .search-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

#search-input {
    width: 100%;
    padding: 0.5rem;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.search-result {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
}

.search-result:hover {
    background-color: #f5f5f5;
}

.search-result h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.search-result p {
    margin: 0;
    color: #666;
} /* Style dla strony głównej */

/* Sekcja z pełną szerokością */
.full-width-section {
    width: 100%;
}

/* Dodatkowe style dla sekcji komunikatów firm */
.company-announcements {
    background-color: #f5f5f5;
}

html[data-theme="dark"] .company-announcements {
    background-color: #1a2234; /* Ciemny granatowy */
}

/* Kontener dla zawartości sekcji pełnoszerokościowej */
.full-width-content {
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsywne marginesy */
@media (min-width: 640px) {
    .full-width-content {
        padding: 0 1.5rem;
    }
}

/* LLM: Zmiana breakpointu z 768px na 900px */
@media (min-width: 900px) {
    .full-width-content {
        padding: 0 3rem; /* LLM: Połączenie stylów 768px i 1024px */
    }
}

/* Style dla nagłówków sekcji */
.section-heading {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    color: rgb(37, 37, 37);
}

html[data-theme="dark"] .section-heading {
    color: #e5e7eb; /* Jasny szary dla dark mode */
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 2rem;
    background-color: rgb(59 130 246);
    border-radius: 0.15rem;
}

html[data-theme="dark"] .section-heading::before {
    background-color: #3b82f6; /* Jaśniejszy niebieski dla dark mode */
}

section {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* Style dla sekcji z tłem */
html[data-theme="dark"] .bg-green-100 {
    background-color: #0f172a; /* Ciemny odcień dla sekcji "Przydatne" */
}

html[data-theme="dark"] .bg-gray-100 {
    background-color: #0f172a; /* Ciemny odcień dla sekcji "Ciekawe artykuły" */
}

html[data-theme="dark"] .bg-zinc-100 {
    background-color: #1e293b; /* Ciemny odcień dla wyróżnionych artykułów */
}

html[data-theme="dark"] .bg-zinc-100:hover {
    background-color: #1e40af; /* Ciemniejszy niebieski przy hover */
}

html[data-theme="dark"] .bg-yellow-100 {
    background-color: #1e293b; /* Ciemny odcień dla reklam */
}

/* Style dla przycisków ze strzałką ">" */
.read-more-btn,
.view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background-color: white;
    color: rgb(55, 65, 81);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgb(229, 231, 235);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-right: 2.5rem;
}

html[data-theme="dark"] .read-more-btn,
html[data-theme="dark"] .view-all-btn {
    background-color: #1f2937;
    color: #e5e7eb;
    border-color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.read-more-btn:hover,
.view-all-btn:hover {
    background-color: rgb(243, 244, 246);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

html[data-theme="dark"] .read-more-btn:hover,
html[data-theme="dark"] .view-all-btn:hover {
    background-color: #374151;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.read-more-btn .arrow,
.view-all-btn .arrow {
    display: none; /* Ukrywamy strzałkę tekstową */
}

.read-more-btn::after,
.view-all-btn::after {
    content: '›';
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-57%);
    color: rgb(59 130 246);
    font-size: 2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

html[data-theme="dark"] .read-more-btn::after,
html[data-theme="dark"] .view-all-btn::after {
    color: #60a5fa; /* Jaśniejszy niebieski dla dark mode */
}

.read-more-btn:hover::after,
.view-all-btn:hover::after {
    transform: translateY(-55%) translateX(2px);
    color: rgb(37, 99, 235); /* Ciemniejszy niebieski przy hover */
}

html[data-theme="dark"] .read-more-btn:hover::after,
html[data-theme="dark"] .view-all-btn:hover::after {
    color: #93c5fd; /* Jeszcze jaśniejszy niebieski przy hover w dark mode */
} .theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
  }
  
  .theme-switch-icon {
    margin: 0 6px;
    font-size: 1.2rem;
  }
  
  .theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 48px;
  }
  
  .theme-switch input {
    display: none;
  }
  
  .slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
  }
  
  .slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
  }
  
  input:checked + .slider {
    background-color: #60a5fa;
  }
  
  input:checked + .slider:before {
    transform: translateX(24px);
  }
  
  .slider.round {
    border-radius: 24px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  .light-icon {
    color: #f59e0b;
  }
  
  .dark-icon {
    color: #4b5563;
  }
  
  [data-theme="dark"] .light-icon {
    color: #d97706;
  }
  
  [data-theme="dark"] .dark-icon {
    color: #e5e7eb;
  }

  /* LLM: Zmiana breakpointów z 900px na 1030px - hamburger wcześniej */
  /* Ukryj przełącznik mobilny na dużych ekranach */
  @media (min-width: 1030px) {
    .mobile-theme-switch {
      display: none !important;
    }
  }

  /* Ukryj przełącznik desktopowy na małych ekranach */
  @media (max-width: 1029px) {
    .desktop-theme-switch {
      display: none !important;
    }
  }:root {
  /* Zmienne dla trybu jasnego - bazujące na Twoim obecnym schemacie kolorów */
  --bg-primary: #ffffff;
  --bg-secondary: #f3f4f6;
  --text-primary: #374151;
  --text-secondary: #6b7280;
  --accent-color: #3182ce;
  --border-color: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #f9fafb;
  --input-bg: #ffffff;
  
  /* Zmienne dla komponentów Tailwind - tryb jasny */
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #3182ce;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
}

[data-theme="dark"] {
  /* Zmienne dla trybu ciemnego */
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --text-primary: #e5e7eb;
  --text-secondary: #9ca3af;
  --accent-color: #60a5fa;
  --border-color: #374151;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --card-bg: #1e1e1e;
  --header-bg: #1a1a1a;
  --footer-bg: #171717;
  --input-bg: #2d2d2d;
  
  /* Zmienne dla komponentów Tailwind - tryb ciemny */
  --tw-prose-body: #d1d5db;
  --tw-prose-headings: #ffffff;
  --tw-prose-lead: #9ca3af;
  --tw-prose-links: #60a5fa;
  --tw-prose-bold: #ffffff;
  --tw-prose-counters: #9ca3af;
  --tw-prose-bullets: #4b5563;
  --tw-prose-hr: #374151;
  --tw-prose-quotes: #f3f4f6;
  --tw-prose-quote-borders: #374151;
  --tw-prose-captions: #9ca3af;
  --tw-prose-code: #ffffff;
  --tw-prose-pre-code: #d1d5db;
  --tw-prose-pre-bg: rgba(0, 0, 0, 0.5);
  --tw-prose-th-borders: #4b5563;
  --tw-prose-td-borders: #374151;
}

/* Dodanie płynnych przejść między trybami */
html {
  overflow-x: hidden; /* LLM: Zapobieganie pływaniu strony na desktop */
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden; /* LLM: Zapobieganie pływaniu strony na desktop */
}

/* Style dla przełącznika trybu */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch-icon {
  margin: 0 4px;
  font-size: 1rem;
}

.theme-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 48px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 16px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 16px;
}

input:checked + .slider {
  background-color: #60a5fa;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Dostosowanie kolorów ikon dla trybów */
.light-icon {
  color: #f59e0b;
}

.dark-icon {
  color: #4b5563;
}

[data-theme="dark"] .light-icon {
  color: #d97706;
}

[data-theme="dark"] .dark-icon {
  color: #e5e7eb;
}

/* Modyfikacje dla istniejących klas Tailwind */
[data-theme="dark"] .bg-white {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .text-zinc-800 {
  color: var(--text-primary);
}

[data-theme="dark"] .border-zinc-200,
[data-theme="dark"] .border-zinc-400 {
  border-color: var(--border-color);
}

[data-theme="dark"] .bg-zinc-100 {
  background-color: var(--bg-secondary);
}

[data-theme="dark"] .text-zinc-500 {
  color: var(--text-secondary);
}

[data-theme="dark"] .hover\:bg-zinc-100:hover,
[data-theme="dark"] .hover\:bg-zinc-200:hover {
  background-color: #2d2d2d;
}

[data-theme="dark"] .active\:bg-zinc-300:active {
  background-color: #3d3d3d;
}

/* Shadow w trybie ciemnym */
[data-theme="dark"] .shadow {
  box-shadow: 0 1px 3px 0 rgba(255, 255, 255, 0.05);
}

header, footer, .card, .sidebar, article, .pagination {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

input, textarea, select, button {
  transition: background-color 0.3s ease, border-color 0.3s ease;
} /* Style dla komunikatów firm w trybie ciemnym */
html[data-theme="dark"] .komunikaty-firm {
  background-color: #1a2234;
  color: #e5e7eb;
}

html[data-theme="dark"] .komunikaty-firm h2 {
  color: #e5e7eb;
}

html[data-theme="dark"] .komunikaty-firm p {
  color: #9ca3af;
}

html[data-theme="dark"] .komunikat-item {
  background-color: #1f2937;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border: 1px solid #374151;
}

html[data-theme="dark"] .komunikat-item:hover {
  background-color: #2d3748;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .komunikat-title {
  color: #e5e7eb;
}

html[data-theme="dark"] .komunikat-desc {
  color: #9ca3af;
}

html[data-theme="dark"] .komunikat-link {
  color: #60a5fa;
}

html[data-theme="dark"] .komunikat-link:hover {
  color: #93c5fd;
}

/* Dodatkowe style dla innych elementów strony głównej w trybie ciemnym */
html[data-theme="dark"] .section-header {
  color: #e5e7eb;
}

html[data-theme="dark"] .section-subheader {
  color: #9ca3af;
}

html[data-theme="dark"] .card {
  background-color: #1f2937;
  border: 1px solid #374151;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .card:hover {
  background-color: #2d3748;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .card-title {
  color: #e5e7eb;
}

html[data-theme="dark"] .card-text {
  color: #9ca3af;
}

/* Style dla tła głównego kontenera strony w trybie ciemnym */
html[data-theme="dark"] body {
  background-color: #111827;
  color: #e5e7eb;
}

html[data-theme="dark"] main {
  background-color: #111827;
}

/* Style dla nagłówków i elementów sekcji */
html[data-theme="dark"] h1, 
html[data-theme="dark"] h2, 
html[data-theme="dark"] h3, 
html[data-theme="dark"] h4, 
html[data-theme="dark"] h5, 
html[data-theme="dark"] h6 {
  color: #e5e7eb;
}

/* Style dla linków w tekście */
html[data-theme="dark"] a {
  color: #60a5fa;
}

html[data-theme="dark"] a:hover {
  color: #93c5fd;
}

/* Style dla przycisków ogólnych */
html[data-theme="dark"] .btn-primary {
  background-color: #3b82f6;
  border-color: #2563eb;
  color: white;
}

html[data-theme="dark"] .btn-primary:hover {
  background-color: #2563eb;
  border-color: #1d4ed8;
}

html[data-theme="dark"] .btn-secondary {
  background-color: #4b5563;
  border-color: #374151;
  color: white;
}

html[data-theme="dark"] .btn-secondary:hover {
  background-color: #374151;
  border-color: #1f2937;
}

/* Dodatkowe style dla elementów strony głównej */
html[data-theme="dark"] .text-zinc-500,
html[data-theme="dark"] .text-zinc-700,
html[data-theme="dark"] .text-zinc-800 {
    color: #9ca3af !important;
}

html[data-theme="dark"] .border {
    border-color: #374151 !important;
}

/* Style dla wizytówek/kart artykułów */
html[data-theme="dark"] .bg-white {
    background-color: #1f2937 !important;
}

/* Style dla hover efektów */
html[data-theme="dark"] .hover\:bg-blue-100:hover {
    background-color: #1e40af !important; /* Ciemniejszy niebieski */
}

/* Style dla nagłówka kalendarza wydarzeń */
html[data-theme="dark"] .calendar-section h2 {
    color: #e5e7eb;
}

html[data-theme="dark"] .calendar-section p {
    color: #9ca3af;
}

/* Style dla komunikatów firm */
html[data-theme="dark"] .company-announcements h2 {
    color: #e5e7eb;
}

html[data-theme="dark"] .company-announcements p {
    color: #9ca3af;
} /* Style dla trybu ciemnego - zoptymalizowane */

/* Podstawowe tło dla głównych elementów */
html[data-theme="dark"] body {
    background-color: #0f172a;
    color: #e5e7eb;
}

html[data-theme="dark"] main {
    background-color: #0f172a;
}

/* Style dla specyficznych kontenerów */
html[data-theme="dark"] .container,
html[data-theme="dark"] .content-container,
html[data-theme="dark"] .grid,
html[data-theme="dark"] .flex-col {
    background-color: #0f172a;
}

/* ===== STYLE DLA TEKSTU ===== */
/* Podstawowe style dla tekstu */
html[data-theme="dark"] p {
    color: #e5e7eb;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
    color: #f3f4f6;
}

/* Style dla pogrubionego tekstu (strong) */
html[data-theme="dark"] strong,
html[data-theme="dark"] b,
html[data-theme="dark"] .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    color: #f3f4f6 !important;
    font-weight: 600;
}

/* Style dla pomocniczych klas pogrubienia */
html[data-theme="dark"] .font-bold,
html[data-theme="dark"] .font-semibold,
html[data-theme="dark"] .font-medium {
    color: #f3f4f6 !important;
}

/* Style dla linków */
html[data-theme="dark"] a:not(.btn-primary):not(.btn-secondary):not(.nav-link) {
    color: #60a5fa;
}

html[data-theme="dark"] a:hover:not(.btn-primary):not(.btn-secondary):not(.nav-link) {
    color: #93c5fd;
}

/* Style dla elementów listy */
html[data-theme="dark"] li,
html[data-theme="dark"] ol,
html[data-theme="dark"] ul {
    color: #e5e7eb !important;
}

/* Style dla tekstów w różnych klasach kolorów */
html[data-theme="dark"] .text-black,
html[data-theme="dark"] .text-gray-900,
html[data-theme="dark"] .text-gray-800,
html[data-theme="dark"] .text-zinc-900,
html[data-theme="dark"] .text-zinc-800 {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] .text-gray-700,
html[data-theme="dark"] .text-gray-600,
html[data-theme="dark"] .text-zinc-700,
html[data-theme="dark"] .text-zinc-600 {
    color: #e5e7eb !important;
}

html[data-theme="dark"] .text-gray-500,
html[data-theme="dark"] .text-zinc-500 {
    color: #d1d5db !important;
}

/* ===== STYLE DLA TŁA ===== */
/* Style dla tła elementów */
html[data-theme="dark"] .bg-white {
    background-color: #0f172a !important;
}

html[data-theme="dark"] .bg-gray-50,
html[data-theme="dark"] .bg-gray-100,
html[data-theme="dark"] .bg-zinc-50,
html[data-theme="dark"] .bg-zinc-100,
html[data-theme="dark"] .bg-yellow-100 {
    background-color: #1e293b !important;
}

/* ===== STYLE DLA KART I ARTYKUŁÓW ===== */
/* Połączone style dla kart artykułów - wszystkie selektory razem */
html[data-theme="dark"] div[class*="card"],
html[data-theme="dark"] .card,
html[data-theme="dark"] article,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .news-item > div,
html[data-theme="dark"] .sidebar-card,
html[data-theme="dark"] [id*="ostatnie"] .card,
html[data-theme="dark"] [class*="ostatnie"] .card,
html[data-theme="dark"] [class*="grid"] > div > div,
html[data-theme="dark"] .card-container > div,
html[data-theme="dark"] .grid-cols-1 .card,
html[data-theme="dark"] .md\\:grid-cols-3 .card {
    background-color: #1a2234 !important;
    color: #e5e7eb;
    border: 1px solid #2d3748 !important;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Style dla tekstów w kartach artykułów - wszystkie razem */
html[data-theme="dark"] .card h2,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card h4,
html[data-theme="dark"] article h2,
html[data-theme="dark"] article h3,
html[data-theme="dark"] article h4,
html[data-theme="dark"] .article-card h2,
html[data-theme="dark"] .article-card h3,
html[data-theme="dark"] .article-card h4,
html[data-theme="dark"] .recent-articles h2,
html[data-theme="dark"] .recent-articles h3,
html[data-theme="dark"] .recent-articles h4,
html[data-theme="dark"] .recent-articles a {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] .card p,
html[data-theme="dark"] article p,
html[data-theme="dark"] .article-card p,
html[data-theme="dark"] article li {
    color: #e5e7eb !important;
}

/* ===== STYLE DLA PRZYCISKÓW ===== */
/* Style dla przycisków "Czytaj więcej" - wszystkie razem */
html[data-theme="dark"] [class*="czytaj-wiecej"],
html[data-theme="dark"] .read-more,
html[data-theme="dark"] a[class*="czytaj-wiecej"],
html[data-theme="dark"] a[class*="read-more"] {
    background-color: #1e3a8a !important;
    color: #f3f4f6 !important;
    border-color: #2563eb !important;
}

html[data-theme="dark"] [class*="czytaj-wiecej"]:hover,
html[data-theme="dark"] .read-more:hover,
html[data-theme="dark"] a[class*="czytaj-wiecej"]:hover,
html[data-theme="dark"] a[class*="read-more"]:hover {
    background-color: #1d4ed8 !important;
}

/* ===== WYŁĄCZENIA DLA SPECYFICZNYCH KOMPONENTÓW ===== */
/* Wyłączenie dla weather-banner */
html[data-theme="dark"] .weather-banner {
    background: rgb(30 58 138) !important;
}

/* Style dla sekcji newslettera */
html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500,
html[data-theme="dark"] [class*="newsletter"] {
    background-color: #1e40af !important; /* Ciemniejszy niebieski dla newslettera */
    color: #f3f4f6 !important;
}

html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500 h3,
html[data-theme="dark"] [class*="newsletter"] h3 {
    color: #ffffff !important;
    font-weight: 600 !important;
}

html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500 p,
html[data-theme="dark"] [class*="newsletter"] p {
    color: #e5e7eb !important;
}

/* Style dla formularza w newsletterze */
html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500 form,
html[data-theme="dark"] [class*="newsletter"] form,
html[data-theme="dark"] .newsletter-container form {
    background-color: transparent !important;
    border: none !important;
}

/* Style dla kontenera formularza */
html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500 .self-center,
html[data-theme="dark"] [class*="newsletter"] .self-center,
html[data-theme="dark"] .newsletter-container .self-center {
    background-color: transparent !important;
}

/* Poprawione style dla pola input */
html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500 input,
html[data-theme="dark"] [class*="newsletter"] input {
    background-color: rgba(30, 64, 175, 0.6) !important; /* Półprzezroczysty niebieski */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Poprawione style dla przycisku */
html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500 button,
html[data-theme="dark"] [class*="newsletter"] button {
    background-color: #60a5fa !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .max-w-7xl.mx-auto.my-16.rounded-3xl.bg-blue-500 button:hover,
html[data-theme="dark"] [class*="newsletter"] button:hover {
    background-color: #93c5fd !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

/* ===== INNE ELEMENTY ===== */
/* Style dla dat i metadanych - wszystkie razem */
html[data-theme="dark"] time,
html[data-theme="dark"] .date,
html[data-theme="dark"] [class*="data"],
html[data-theme="dark"] [class*="date"] {
    color: #9ca3af !important;
}

/* Style dla cytatów, bloków kodu itp. */
html[data-theme="dark"] blockquote,
html[data-theme="dark"] pre {
    background-color: #111827 !important;
    color: #e5e7eb !important;
    border-color: #374151 !important;
}

/* Style dla formularzy */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
    border-color: #374151 !important;
}

/* Style dla bocznego panelu */
html[data-theme="dark"] aside {
    background-color: #1a2234 !important;
}

html[data-theme="dark"] aside h4,
html[data-theme="dark"] aside p,
html[data-theme="dark"] aside a,
html[data-theme="dark"] aside span {
    color: #e5e7eb !important;
}

/* Style dla obrazków */
html[data-theme="dark"] .card img,
html[data-theme="dark"] article img,
html[data-theme="dark"] .article-card img {
    border: 1px solid #2d3748 !important;
}

/* Style dla ikon i SVG */
html[data-theme="dark"] svg {
    fill: currentColor;
}

/* Style dla tabel */
html[data-theme="dark"] table,
html[data-theme="dark"] th,
html[data-theme="dark"] td {
    border-color: #374151 !important;
}

html[data-theme="dark"] th {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
}

html[data-theme="dark"] td {
    color: #e5e7eb !important;
}

/* Style dla bloków kodu i tekstu preformatowanego */
html[data-theme="dark"] code,
html[data-theme="dark"] pre,
html[data-theme="dark"] .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
}

html[data-theme="dark"] code strong,
html[data-theme="dark"] pre strong,
html[data-theme="dark"] .prose :where(code strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    color: #f9fafb !important;
}

/* Style dla klasy .prose używanej w artykułach */
html[data-theme="dark"] .prose {
    color: #e5e7eb !important;
}

html[data-theme="dark"] .prose h1,
html[data-theme="dark"] .prose h2,
html[data-theme="dark"] .prose h3,
html[data-theme="dark"] .prose h4,
html[data-theme="dark"] .prose h5,
html[data-theme="dark"] .prose h6 {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] .prose p {
    color: #e5e7eb !important;
}

html[data-theme="dark"] .prose a {
    color: #60a5fa !important;
}

html[data-theme="dark"] .prose blockquote {
    color: #d1d5db !important;
    border-left-color: #4b5563 !important;
}

html[data-theme="dark"] .prose strong {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] .prose ol,
html[data-theme="dark"] .prose ul {
    color: #e5e7eb !important;
}

html[data-theme="dark"] .prose img {
    border: 1px solid #374151 !important;
}

html[data-theme="dark"] .prose figure figcaption {
    color: #9ca3af !important;
}

html[data-theme="dark"] .prose code {
    color: #e5e7eb !important;
    background-color: #1f2937 !important;
}

html[data-theme="dark"] .prose hr {
    border-color: #374151 !important;
}

html[data-theme="dark"] .prose thead th {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] .prose tbody td {
    color: #e5e7eb !important;
}

html[data-theme="dark"] .newsletter-container {
    background-color: #1e40af !important;
}

/* Poprawka dla kontenera z linkiem "Zobacz jeszcze więcej interesujących treści" */
html[data-theme="dark"] .flex.items-center.justify-center,
html[data-theme="dark"] [class*="interesujacych"] {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Style dla samego linku "Zobacz jeszcze więcej interesujących treści" */
html[data-theme="dark"] a.flex.items-center.justify-center[href*="wiecej"] {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #60a5fa !important;
}

html[data-theme="dark"] a.flex.items-center.justify-center[href*="wiecej"]:hover {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

/* Style dla ikon przełącznika motywu */
.sun-icon {
  stroke: #f59e0b;
  fill: #fef3c7;
}

.moon-icon {
  stroke: #6366f1;
  fill: #e0e7ff;
}

html[data-theme="dark"] .sun-icon,
html[data-theme="dark"] .moon-icon {
  stroke: #ffffff;
  fill: none;
}


html[data-theme="dark"] .banner-text-title,
html[data-theme="dark"] .from-indigo-50.to-rose-50 text[fill="#4B5563"] {
    fill: #ffffff !important;
}

html[data-theme="dark"] .banner-text-url, 
html[data-theme="dark"] .from-indigo-50.to-rose-50 text[fill="#4F46E5"] {
    fill: #93c5fd !important;
}

html[data-theme="dark"] .dark-banner-email,
html[data-theme="dark"] a[href^="mailto:reklama"] {
    color: #ffffff !important;
}

html[data-theme="dark"] a[href^="mailto:reklama"]:hover {
    color: #93c5fd !important;
}

html[data-theme="dark"] .from-indigo-50.to-rose-50 {
    --tw-gradient-from: #1e3a8a !important;
    --tw-gradient-to: #831843 !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

html[data-theme="dark"] .hover\:from-indigo-100.hover\:to-rose-100:hover {
    --tw-gradient-from: #1e40af !important;
    --tw-gradient-to: #9f1239 !important;
}

/* Style dla strony 404 w trybie ciemnym */
html[data-theme="dark"] .error-number {
    color: #60a5fa !important;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.5) !important;
}

html[data-theme="dark"] .error-icon svg {
    stroke: #60a5fa !important;
}

html[data-theme="dark"] .error-animation .error-icon {
    background-color: rgba(30, 64, 175, 0.2) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

/* Zmiana kolorów tekstu */
html[data-theme="dark"] h2.text-zinc-800 {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] p.text-zinc-600 {
    color: #e5e7eb !important;
}

html[data-theme="dark"] .page404-link {
    background-color: #1e293b !important;
    color: #e5e7eb !important;
    border: 1px solid #2d3748 !important;
}

html[data-theme="dark"] .page404-link:hover {
    background-color: #2d3748 !important;
    border-color: #4b5563 !important;
}

html[data-theme="dark"] .page404-icon {
    color: #60a5fa !important;
    background-color: rgba(30, 64, 175, 0.2) !important;
}

/* Style dla "Być może zaciekawi Cię..." sekcji */
html[data-theme="dark"] .bg-zinc-50.rounded-2xl {
    background-color: #1a2234 !important;
    border: 1px solid #2d3748 !important;
}

html[data-theme="dark"] .space-y-4.divide-y > div {
    border-color: #2d3748 !important;
}

html[data-theme="dark"] article.flex.flex-row {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="dark"] article.flex.flex-row .text-zinc-500 {
    color: #9ca3af !important;
}

html[data-theme="dark"] article.flex.flex-row h3 {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] figure.bg-zinc-100 {
    background-color: #1e293b !important;
    border: 1px solid #2d3748 !important;
}

html[data-theme="dark"] .upcoming-events-sidebar {
    background-color: #1a2234 !important;
    border: 1px solid #2d3748 !important;
    padding: 1rem;
    border-radius: 0.75rem;
}

html[data-theme="dark"] .event-item-sidebar {
    border-color: #2d3748 !important;
}

html[data-theme="dark"] .event-date-badge {
    background-color: #1e40af !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

html[data-theme="dark"] .event-day {
    color: #ffffff !important;
}

html[data-theme="dark"] .event-month {
    color: #e5e7eb !important;
}

html[data-theme="dark"] .event-title-sidebar {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] .event-title-sidebar a:hover {
    color: #93c5fd !important;
}

html[data-theme="dark"] .event-time {
    color: #9ca3af !important;
}

html[data-theme="dark"] .event-time svg {
    stroke: #60a5fa !important;
}

html[data-theme="dark"] .event-excerpt {
    color: #d1d5db !important;
}

html[data-theme="dark"] .no-events-sidebar {
    color: #9ca3af !important;
    font-style: italic;
} /* LLM: Podstawowe style banneru pogody */
.weather-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    width: 100%;
}

/* Ciemny motyw dla weather-banner */
html[data-theme="dark"] .weather-banner {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.banner-slider {
    position: relative;
    overflow: hidden;
    min-height: 65px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.banner-content {
    display: flex;
    opacity: 1;
    transition: all 1s ease-in-out;
    width: 100%;
    position: relative;
}

.banner-content.hidden {
    opacity: 0;
    transform: translateY(-20px);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.weather-widget-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0.25rem 0;
}

.weather-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.weather-detail-item .weather-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

html[data-theme="dark"] .weather-detail-item .weather-icon {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.weather-detail-item .weather-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
    display: block;
}

.weather-detail-item .weather-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.weather-detail-item .weather-value {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.weather-detail-item .weather-label {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Style dla news items */
.news-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    padding: 0.5rem 0;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
}

.news-thumbnail {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .news-thumbnail {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-title {
    font-size: 0.875rem;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: white;
}

.news-title a {
    color: white;
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: underline;
}

/* Animacje */
@keyframes gentle-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.weather-detail-item .weather-icon {
    animation: gentle-pulse 2s infinite ease-in-out;
}

/* Hover efekty */
.weather-detail-item .weather-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* LLM: Ukrywanie banneru pogody na małych ekranach (≤600px) */
@media (max-width: 600px) {
    .weather-banner {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }
    
    /* LLM: Zmniejszenie paddingu main gdy banner jest ukryty */
    main.container {
        padding-top: 1rem !important; /* py-4 zamiast py-8 */
        padding-bottom: 1rem !important;
    }
    
    /* Ukrywanie wszystkich podkomponentów */
    .banner-slider,
    .banner-content,
    .weather-widget-container,
    .weather-details,
    .weather-detail-item,
    .news-container {
        display: none !important;
    }
}

/* LLM: Progresywne skalowanie banneru pogody dla średnich ekranów */
@media (min-width: 601px) and (max-width: 768px) {
    .weather-banner {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .weather-details {
        gap: 1rem;
    }
    
    .weather-detail-item {
        font-size: 0.9rem;
    }
    
    .weather-detail-item .weather-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .weather-detail-item .weather-value {
        font-size: 0.9rem;
    }
    
    .weather-detail-item .weather-label {
        font-size: 0.8rem;
    }
}

/* LLM: Style dla większych ekranów */
@media (min-width: 769px) {
    .weather-banner {
        padding: 1rem 2rem;
        margin-bottom: 1.5rem;
    }
    
    .weather-details {
        gap: 1.5rem;
    }
    
    .weather-detail-item {
        font-size: 1rem;
    }
    
    .weather-detail-item .weather-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .weather-detail-item .weather-value {
        font-size: 1rem;
    }
    
    .weather-detail-item .weather-label {
        font-size: 0.875rem;
    }
} /* Kalendarz wydarzeń - czyste styles */

/* Nagłówki dni tygodnia */
.calendar-weekdays {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
}

.calendar-weekday {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  text-align: center !important;
  font-weight: 600 !important;
  color: #374151 !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-right: 1px solid #e5e7eb !important;
  background-color: #f9fafb !important;
  min-height: 60px !important;
}

.calendar-weekday:last-child {
  border-right: none !important;
}

/* Dark mode - nagłówki */
html[data-theme="dark"] .calendar-weekday {
  color: #e5e7eb !important;
  background-color: #374151 !important;
  border-right: 1px solid #6b7280 !important;
}

/* Główny kontener kalendarza - dni w siatce 7x7 */
.calendar-grid,
#calendar-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
}

/* Style pojedynczego dnia kalendarza */
.calendar-day {
  min-height: 120px;
  padding: 0.75rem;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dark mode - dni kalendarza */
html[data-theme="dark"] .calendar-day {
  background: #1f2937;
  border-right: 1px solid #6b7280;
  border-bottom: 1px solid #6b7280;
  color: #e5e7eb;
}

/* Usuwamy prawą ramkę z ostatniego dnia w rzędzie */
.calendar-day:nth-child(7n) {
  border-right: none !important;
}

/* Hover efekt */
.calendar-day:hover {
  background-color: #f9fafb !important;
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .calendar-day:hover {
  background-color: #374151 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Puste dni (z innych miesięcy) */
.calendar-day.empty-day {
  background-color: #f9fafb !important;
  cursor: default;
  opacity: 0.5;
}

html[data-theme="dark"] .calendar-day.empty-day {
  background-color: #374151 !important;
}

.calendar-day.empty-day:hover {
  transform: none;
  box-shadow: none;
}

/* Dzisiejszy dzień */
.calendar-day.today {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
  border: 2px solid #3b82f6 !important;
  position: relative;
}

html[data-theme="dark"] .calendar-day.today {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%) !important;
  border: 2px solid #60a5fa !important;
}

.calendar-day.today::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

html[data-theme="dark"] .calendar-day.today::before {
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

/* Numer dnia */
.calendar-day .day-number {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #111827;
  line-height: 1;
}

html[data-theme="dark"] .calendar-day .day-number {
  color: #e5e7eb;
}

.calendar-day.today .day-number {
  color: #1d4ed8 !important;
  font-size: 1.25rem;
}

html[data-theme="dark"] .calendar-day.today .day-number {
  color: #93c5fd !important;
}

.calendar-day.empty-day .day-number {
  color: #9ca3af;
}

html[data-theme="dark"] .calendar-day.empty-day .day-number {
  color: #6b7280;
}

/* Wydarzenia dnia */
.calendar-day .event-item {
  display: block;
  padding: 0.375rem 0.5rem;
  margin-bottom: 0.25rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #3b82f6 !important;
  color: white !important;
  font-weight: 500;
}

/* Wydarzenia nadchodzące */
.calendar-day .event-item.upcoming {
  background-color: #3b82f6 !important;
  color: white !important;
  font-weight: 500;
}

html[data-theme="dark"] .calendar-day .event-item.upcoming {
  background-color: #3b82f6 !important;
  color: white !important;
}

.calendar-day .event-item.upcoming:hover {
  background-color: #2563eb !important;
}

html[data-theme="dark"] .calendar-day .event-item.upcoming:hover {
  background-color: #2563eb !important;
}

/* Wydarzenia przeszłe */
.calendar-day .event-item.past {
  background-color: #9ca3af !important;
  color: white !important;
}

html[data-theme="dark"] .calendar-day .event-item.past {
  background-color: #6b7280 !important;
  color: white !important;
}

.calendar-day .event-item.past:hover {
  background-color: #6b7280 !important;
}

html[data-theme="dark"] .calendar-day .event-item.past:hover {
  background-color: #4b5563 !important;
}

/* Wydarzenia dzisiejsze */
.calendar-day .event-item.today-event {
  background-color: #1d4ed8 !important;
  color: white !important;
  font-weight: 600;
}

html[data-theme="dark"] .calendar-day .event-item.today-event {
  background-color: #1d4ed8 !important;
  color: white !important;
}

.calendar-day .event-item.today-event:hover {
  background-color: #1e40af !important;
}

html[data-theme="dark"] .calendar-day .event-item.today-event:hover {
  background-color: #1e40af !important;
}

/* Informacja o dodatkowych wydarzeniach */
.calendar-day .more-events {
  font-weight: 600;
  color: white !important;
  background-color: #6b7280 !important;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-align: center;
  cursor: pointer;
}

html[data-theme="dark"] .calendar-day .more-events {
  color: white !important;
  background-color: #6b7280 !important;
}

.calendar-day .more-events:hover {
  background-color: #4b5563 !important;
}

html[data-theme="dark"] .calendar-day .more-events:hover {
  background-color: #4b5563 !important;
}

/* Loading indicator */
.calendar-day.loading {
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%) !important;
  background-size: 200% 100% !important;
  animation: loading-shimmer 1.5s ease-in-out infinite !important;
}

html[data-theme="dark"] .calendar-day.loading {
  background: linear-gradient(90deg, #374151 0%, #4b5563 50%, #374151 100%) !important;
}

@keyframes loading-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Nawigacja kalendarza */
.calendar-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

/* Okrągłe przyciski nawigacji */
.calendar-nav-round,
#prevMonth,
#nextMonth {
  width: 56px !important;
  height: 56px !important;
  background-color: #3b82f6 !important;
  border: none !important;
  border-radius: 50% !important;
  color: white !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
}

html[data-theme="dark"] .calendar-nav-round,
html[data-theme="dark"] #prevMonth,
html[data-theme="dark"] #nextMonth {
  background-color: #3b82f6 !important;
  color: white !important;
}

.calendar-nav-round:hover,
#prevMonth:hover,
#nextMonth:hover {
  background-color: #2563eb !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
  transform: translateY(-1px) !important;
}

html[data-theme="dark"] .calendar-nav-round:hover,
html[data-theme="dark"] #prevMonth:hover,
html[data-theme="dark"] #nextMonth:hover {
  background-color: #2563eb !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
}

.calendar-nav-round:disabled,
#prevMonth:disabled,
#nextMonth:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  background-color: #9ca3af !important;
}

.calendar-nav-round:active,
#prevMonth:active,
#nextMonth:active {
  transform: scale(0.95) !important;
}

/* SVG wewnątrz przycisków */
.calendar-nav-round svg,
#prevMonth svg,
#nextMonth svg {
  width: 22px !important;
  height: 22px !important;
  color: white !important;
}

/* Flex utilities dla lepszego layoutu */
.flex-2 {
  flex: 2 !important;
}

.calendar-month-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  flex: 1;
}

html[data-theme="dark"] .calendar-month-title {
  color: #e5e7eb;
}

/* Loading spinner */
#loading {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

#loading.show {
  display: block;
}

#loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Fade in animation */
.calendar-day.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsywne styles */
@media (max-width: 768px) {
  .calendar-day {
    min-height: 100px;
    padding: 0.5rem;
  }
  
  .calendar-weekday {
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
    min-height: 50px;
  }
  
  .calendar-day .day-number {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .calendar-day .event-item {
    font-size: 0.6875rem;
    padding: 0.25rem 0.375rem;
}

  .calendar-month-title {
    font-size: 1.25rem;
}

  .calendar-nav-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}
}

@media (max-width: 640px) {
.calendar-day {
    min-height: 80px;
    padding: 0.375rem;
}

  .calendar-weekday {
    padding: 0.5rem 0.25rem;
    font-size: 0.6875rem;
    min-height: 40px;
}

  .calendar-day .day-number {
    font-size: 0.875rem;
  }
  
  .calendar-day .event-item {
  font-size: 0.625rem;
    padding: 0.1875rem 0.25rem;
    margin-bottom: 0.125rem;
}
}

/* Sidebar z wydarzeniami */
.upcoming-events-sidebar {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  max-height: 600px;
  overflow-y: auto;
}

html[data-theme="dark"] .upcoming-events-sidebar {
  background: #1f2937;
  border: 1px solid #6b7280;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.event-item-sidebar {
  display: block;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .event-item-sidebar {
  background: #374151;
  border: 1px solid #6b7280;
}

.event-item-sidebar:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .event-item-sidebar:hover {
  background: #4b5563;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

html[data-theme="dark"] .event-date-badge {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #111827;
}

.event-title-sidebar {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

html[data-theme="dark"] .event-title-sidebar {
  color: #e5e7eb;
}

.event-excerpt {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.4;
}

html[data-theme="dark"] .event-excerpt {
  color: #9ca3af;
}

.view-all-events {
  text-align: center;
  margin-top: 1rem;
}

.view-all-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .view-all-link {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #111827;
}

.view-all-link:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

html[data-theme="dark"] .view-all-link:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.no-events-sidebar {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  padding: 2rem;
}

html[data-theme="dark"] .no-events-sidebar {
  color: #9ca3af;
} /* Statyczny kalendarz wydarzeń - styles CSS */
.static-events-calendar-container {
  width: 100%;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

html[data-theme="dark"] .static-events-calendar-container {
  background-color: #1a2234;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  color: #e5e7eb;
}

.calendar-header-static {
  text-align: center;
  margin-bottom: 2rem;
}

.calendar-header-static h2 {
  margin-bottom: 0.5rem;
}

.calendar-header-static p {
  margin-bottom: 1rem;
}

/* Lista miesięcy */
.months-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

/* Sekcja miesiąca */
.month-section {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  background-color: #f9fafb;
  transition: all 0.3s ease;
}

html[data-theme="dark"] .month-section {
  background-color: #111827;
  border-color: #374151;
}

.month-section.current-month {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
  background-color: #eff6ff;
}

html[data-theme="dark"] .month-section.current-month {
  background-color: #1e3a8a;
  border-color: #60a5fa;
}

.month-header {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1f2937;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.75rem;
}

html[data-theme="dark"] .month-header {
  color: #e5e7eb;
  border-color: #374151;
}

.month-section.current-month .month-header {
  color: #3b82f6;
  border-color: #3b82f6;
}

/* Lista wydarzeń - grid kompaktowy */
.events-compact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .events-compact-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-compact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .event-compact {
  background-color: #1f2937;
  border-color: #374151;
}

.event-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
}

.event-date-compact {
  flex-shrink: 0;
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: #3b82f6;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
}

.event-date-badge .day {
  font-size: 1rem;
  line-height: 1;
}

.event-date-badge .time {
  font-size: 0.625rem;
  opacity: 0.9;
}

.event-details-compact {
  flex: 1;
  min-width: 0;
}

.event-title-compact {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-link-compact {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}

html[data-theme="dark"] .event-link-compact {
  color: #e5e7eb;
}

.event-link-compact:hover {
  color: #3b82f6;
}

.event-location-compact {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 500;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme="dark"] .event-location-compact {
  color: #34d399;
}

.event-description-compact {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

html[data-theme="dark"] .event-description-compact {
  color: #9ca3af;
}

.no-events-compact {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-style: italic;
  grid-column: 1 / -1;
}

html[data-theme="dark"] .no-events-compact {
  color: #9ca3af;
}

/* Responsywność */
@media (max-width: 640px) {
  .static-events-calendar-container {
    padding: 1rem;
  }
  
  .month-section {
    padding: 1rem;
  }
  
  .events-compact-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .event-compact {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .event-date-badge {
    width: 3rem;
    height: 2.5rem;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
  }
  
  .event-date-badge .day {
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 700;
  }
  
  .event-date-badge .time {
    font-size: 0.5rem;
    line-height: 1;
    margin-top: 1px;
  }
  
  .event-title-compact {
    font-size: 0.8rem;
    -webkit-line-clamp: 3;
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }
  
  .event-location-compact {
    font-size: 0.65rem;
    margin-bottom: 0.125rem;
  }
  
  .event-description-compact {
    font-size: 0.65rem;
    -webkit-line-clamp: 2;
    line-height: 1.2;
  }
} .share-buttons {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: rgba(59, 130, 246, 0.05);
    border-radius: 0.5rem;
    margin: 1rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
  }
  
  .share-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    margin-right: 0.75rem;
  }
  
  .share-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    color: white;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .share-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .facebook {
    background-color: #1877f2;
  }
  
  .twitter {
    background-color: #000000;
  }
  
  .linkedin {
    background-color: #0077b5;
  }
  
  .whatsapp {
    background-color: #25d366;
  }
  
  .copy-link {
    background-color: rgb(59, 130, 246);
    border: none;
  }
  
  .email {
    background-color: #ea4335;
  }
  
  /* Style dla powiadomienia o skopiowaniu */
  .copy-notification {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgb(59, 130, 246);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
  
  .copy-notification::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgb(59, 130, 246);
  }
  
  .copy-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  @media (max-width: 640px) {
    .share-buttons {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .share-label {
      margin-bottom: 0.5rem;
      margin-right: 0;
    }
    
    .share-icons {
      width: 100%;
      justify-content: space-between;
    }
    
    .copy-notification {
      width: 90%;
      text-align: center;
    }
  }/* Automatyczne linki TOC - style dla kotwic utworzonych z elementów listy */

.toc-link {
    color: #3b82f6; /* niebieski */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.toc-link:hover {
    color: #1d4ed8; /* ciemniejszy niebieski */
    text-decoration: underline;
}

.toc-link:before {
    content: "";
    margin-right: 0.5rem;
    color: #6b7280; /* szary */
    transition: all 0.2s ease;
}

.toc-link:hover:before {
    color: #3b82f6; /* niebieski przy hover */
    transform: translateX(2px);
}

/* Style dla listy zawierającej linki TOC */
article ul li:has(.toc-link) {
    padding: 0.25rem 0;
}

/* Smooth scroll dla całej strony */
html {
    scroll-behavior: smooth;
}

/* Offset dla nagłówków - zapewnia widoczność nagłówka po kliknięciu w kotwicę */
h2, h3 {
    scroll-margin-top: 80px;
}

/* Efekt podświetlenia nagłówka po kliknięciu w TOC */
h2:target,
h3:target {
    background-color: #fef3c7; /* żółte podświetlenie */
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    animation: highlight 2s ease-out;
}

@keyframes highlight {
    0% {
        background-color: #fbbf24; /* jaśniejszy żółty */
    }
    100% {
        background-color: #fef3c7; /* docelowy żółty */
    }
}

/* Tryb ciemny */
@media (prefers-color-scheme: dark) {
    .toc-link {
        color: #60a5fa; /* jaśniejszy niebieski dla dark mode */
    }
    
    .toc-link:hover {
        color: #93c5fd; /* jeszcze jaśniejszy przy hover */
    }
    
    h2:target,
    h3:target {
        background-color: #451a03; /* ciemne podświetlenie */
    }
    
    @keyframes highlight {
        0% {
            background-color: #92400e;
        }
        100% {
            background-color: #451a03;
        }
    }
} 