/* =========================================================
   MENUBAR
   ========================================================= */
.pandos-menubar {
	position: relative;
	z-index: var(--z-menubar);
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--pandos-menubar-h);
	padding: 0 12px;
	font-size: 13px;
	font-weight: 500;
	background: var(--pandos-surface-bar);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pandos-menubar__left,
.pandos-menubar__right {
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-menubar__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 10px;
	margin-right: 4px;
	font-weight: 700;
	border-radius: 9px;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	transition: background 0.15s ease;
}

.pandos-menubar__brand:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* Przycisk siatki aplikacji — ten sam rozmiar co ikony statusu. */
.pandos-apps-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 36px;
	font-size: 15px;
	border-radius: 9px;
	transition: background 0.15s ease;
}

.pandos-apps-btn:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* Menu górne */
.pandos-menu {
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-menu__item {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-menu__btn {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.12s ease;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pandos-menu__btn:hover,
.pandos-menu__btn[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.15);
}

.pandos-menu__dropdown {
	position: absolute;
	top: var(--pandos-menubar-h);
	left: 2px;
	z-index: var(--z-dropdown);
	display: none;
	min-width: 220px;
	padding: 6px;
	background: var(--pandos-surface-pop);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Otwarcie klikiem (JS) oraz fallback klawiaturowy bez JS. */
.pandos-menu__item:hover .pandos-menu__dropdown,
.pandos-menu__item:focus-within .pandos-menu__dropdown,
.pandos-menu__btn[aria-expanded="true"] + .pandos-menu__dropdown {
	display: block;
	animation: pandos-fade-menu 0.15s ease-out;
}

.pandos-menu__dropdown a {
	display: block;
	padding: 6px 12px;
	margin-bottom: 2px;
	font-size: 13px;
	color: var(--pandos-text-muted);
	text-decoration: none;
	border-radius: 5px;
}

.pandos-menu__dropdown a:hover,
.pandos-menu__dropdown a:focus-visible {
	background: var(--pandos-accent);
	color: #fff;
}

@keyframes pandos-fade-menu {
	from { opacity: 0; transform: translateY(-5px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Status + zegar */
.pandos-status {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Jednolity obszar dotyku/klikania dla wszystkich ikon paska —
   ten sam rozmiar na desktopie i na telefonie. */
.pandos-status__icon,
.pandos-status__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 36px;
	font-size: 15px;
	border-radius: 9px;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	transition: background 0.15s ease;
}

.pandos-status__link:hover,
.pandos-status__link:focus-visible {
	background: rgba(255, 255, 255, 0.15);
}

.pandos-clock {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 10px;
	border-radius: 9px;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	transition: background 0.15s ease;
}

.pandos-clock:hover,
.pandos-clock[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.15);
}

/* Kalendarz */
.pandos-clock-wrap {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-calendar {
	position: absolute;
	top: calc(var(--pandos-menubar-h) - 2px);
	right: 0;
	z-index: var(--z-popover);
	width: 260px;
	padding: 12px;
	background: var(--pandos-surface-pop);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: 10px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.pandos-calendar[hidden] {
	display: none;
}

.pandos-calendar__head {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-transform: capitalize;
}

.pandos-calendar__weekdays,
.pandos-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}

.pandos-calendar__weekdays {
	margin-bottom: 4px;
}

.pandos-calendar__weekdays span {
	font-size: 10px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

.pandos-cal__day {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	font-size: 12px;
	border-radius: 6px;
	color: var(--pandos-text-muted);
}

.pandos-cal__day:disabled {
	cursor: default;
}

.pandos-cal__day:not(:disabled):hover {
	background: rgba(255, 255, 255, 0.12);
}

.pandos-cal__day.is-today {
	background: var(--pandos-accent);
	color: #fff;
	font-weight: 700;
}

.pandos-calendar__foot:empty {
	display: none;
}

/* =========================================================
   OKNO
   ========================================================= */
.pandos-window {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: var(--z-window);
	display: flex;
	flex-direction: column;
	width: 900px;
	height: 560px;
	max-width: 95%;
	max-height: 100%;
	transform: translate(-50%, -50%);
	background: var(--pandos-surface-window);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: var(--pandos-radius);
	box-shadow: var(--pandos-shadow);
	overflow: hidden;
	touch-action: pan-y;
}

/* Pełny ekran = wypełnij pulpit. Brak max-height do nadpisania,
   brak magicznych liczb — bug „full screen ucięty" nie ma tu miejsca. */
.pandos-window.is-maximized {
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	transform: none;
	border-radius: 0;
	border: 0;
}

/* Cienki pasek postępu podczas ładowania treści. */
.pandos-window::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--pandos-accent-soft), transparent);
	opacity: 0;
	transform: translateX(-100%);
	pointer-events: none;
}

.pandos-window.is-loading::after {
	opacity: 1;
	animation: pandos-progress 0.9s ease-in-out infinite;
}

@keyframes pandos-progress {
	to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
	.pandos-window.is-loading::after {
		animation: none;
		transform: none;
	}
}

.pandos-window__titlebar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
	cursor: grab;
	user-select: none;
}

.pandos-window.is-maximized .pandos-window__titlebar {
	cursor: default;
}

.pandos-window.is-dragging .pandos-window__titlebar {
	cursor: grabbing;
}

.pandos-window__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--pandos-text-muted);
	pointer-events: none;
}

.pandos-window__controls {
	position: absolute;
	left: 14px;
	display: flex;
	gap: 8px;
}

.pandos-ctl {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.pandos-ctl--close { background: #ff5f56; border: 1px solid #e0443e; }
.pandos-ctl--min   { background: #ffbd2e; border: 1px solid #dea123; }
.pandos-ctl--max   { background: #27c93f; border: 1px solid #1aab29; }

.pandos-window__controls:hover .pandos-ctl--close::before { content: "×"; color: #4d0000; }
.pandos-window__controls:hover .pandos-ctl--min::before   { content: "−"; color: #995700; }
.pandos-window__controls:hover .pandos-ctl--max::before   { content: "+"; color: #004d09; }

/* Pasek ścieżki (Eksplorator) */
.pandos-window__crumbbar {
	flex: 0 0 auto;
	padding: 6px 12px;
	background: rgba(0, 0, 0, 0.22);
	border-bottom: 1px solid rgba(0, 0, 0, 0.35);
	overflow-x: auto;
	scrollbar-width: none;
}

.pandos-window__crumbbar::-webkit-scrollbar {
	display: none;
}

.pandos-crumbs__list {
	display: flex;
	align-items: center;
	gap: 2px;
	white-space: nowrap;
}

.pandos-crumbs__item {
	display: flex;
	align-items: center;
	gap: 2px;
}

.pandos-crumbs__link,
.pandos-crumbs__current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	font-size: 12.5px;
	border-radius: 5px;
	text-decoration: none;
}

.pandos-crumbs__link {
	color: var(--pandos-text-muted);
}

.pandos-crumbs__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.pandos-crumbs__current {
	color: #fff;
	font-weight: 600;
}

.pandos-crumbs__sep {
	font-size: 9px;
	color: var(--pandos-text-dim);
	margin: 0 2px;
}

/* Wnętrze okna */
.pandos-window__body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
}

.pandos-window__sidebar {
	flex: 0 0 240px;
	padding: 18px 10px;
	background: var(--pandos-surface-panel);
	border-right: 1px solid rgba(0, 0, 0, 0.4);
	overflow-y: auto;
}

.pandos-window__main {
	flex: 1 1 auto;
	min-width: 0;
	padding: 36px 40px;
	overflow-y: auto;
	/* Dock unosi się nad oknem (tak działa system) — rezerwujemy więc
	   miejsce na dole, żeby nigdy nie zasłonił treści. */
	padding-bottom: calc(var(--pandos-dock-h) + 24px);
	scroll-padding-bottom: var(--pandos-dock-h);
}

.pandos-window__main:focus {
	outline: none;
}

/* Drzewo w sidebarze */
.pandos-tree__title {
	padding-left: 10px;
	margin-bottom: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

/* Wiersz drzewa: strzałka rozwijania + etykieta. */
.pandos-tree__row {
	display: flex;
	align-items: center;
	gap: 2px;
}

.pandos-tree__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px;
	height: 26px;
	font-size: 9px;
	color: var(--pandos-text-dim);
	border-radius: 4px;
	transition: transform 0.15s ease, color 0.15s ease;
}

.pandos-tree__toggle:hover {
	color: #fff;
}

.pandos-tree__toggle[aria-expanded="true"] i {
	transform: rotate(90deg);
}

.pandos-tree__toggle i {
	transition: transform 0.15s ease;
}

/* Zachowuje wcięcie dla pozycji bez podstron. */
.pandos-tree__toggle--empty {
	pointer-events: none;
}

.pandos-tree__item {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 12px;
	margin-bottom: 4px;
	font-size: 14px;
	text-align: left;
	color: var(--pandos-text-muted);
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.pandos-tree__item i {
	width: 16px;
	font-size: 16px;
	text-align: center;
}

.pandos-tree__item:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.pandos-tree__item.is-active {
	background: var(--pandos-accent);
	color: #fff;
}

/* =========================================================
   TREŚĆ
   ========================================================= */
.pandos-pane {
	animation: pandos-fade-in 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.pandos-pane__title {
	margin-bottom: 14px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.pandos-pane__lead {
	margin-bottom: 28px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

.pandos-card {
	padding: 20px;
	margin-bottom: 28px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 10px;
}

.pandos-card__title {
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

.pandos-card__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
}

.pandos-card__list i {
	color: var(--pandos-ok);
}

.pandos-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: var(--pandos-accent);
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(10, 96, 254, 0.4);
	transition: background 0.18s ease, transform 0.18s ease;
}

.pandos-btn:hover {
	background: var(--pandos-accent-strong);
	transform: translateY(-1px);
}

@keyframes pandos-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Treść z edytora bloków */
.pandos-prose {
	font-size: 15px;
	line-height: 1.65;
	color: var(--pandos-text-muted);
}

.pandos-prose > * + * {
	margin-top: 1em;
}

.pandos-prose h2,
.pandos-prose h3,
.pandos-prose h4 {
	margin-top: 1.6em;
	color: #fff;
	line-height: 1.25;
}

.pandos-prose h2 { font-size: 22px; }
.pandos-prose h3 { font-size: 18px; }

.pandos-prose a {
	color: var(--pandos-accent-soft);
	text-underline-offset: 3px;
}

.pandos-prose ul,
.pandos-prose ol {
	padding-left: 1.3em;
	list-style: revert;
}

.pandos-prose li + li {
	margin-top: 0.4em;
}

.pandos-prose blockquote {
	padding-left: 16px;
	border-left: 3px solid var(--pandos-accent);
	color: var(--pandos-text-dim);
}

.pandos-prose img,
.pandos-pane__thumb img {
	border-radius: 10px;
}

/* -----------------------------------------------------------
   Natywne bloki Gutenberga w treści — spójne z ciemnym systemem.
   Obejmuje treść przenoszoną z zewnątrz (np. media-text z kart usług),
   żeby nie wymagała ręcznego przestylowania blok po bloku.
   ----------------------------------------------------------- */

/* Nagłówki sekcji w treści — akcentowany znacznik z lewej, żeby długi
   artykuł miał rytm i charakter systemu, nie płaską ścianę tekstu.
   Cennik i blog mają własne komponenty, więc ich to nie dotyczy. */
.pandos-prose h2 {
	position: relative;
	margin-top: 1.8em;
	padding-left: 16px;
	font-size: 22px;
}

.pandos-prose h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	bottom: 0.15em;
	width: 4px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--pandos-accent) 0%, var(--pandos-accent-strong) 100%);
}

/* Pierwszy akapit strony treściowej jako lead — większy, jaśniejszy.
   Wyłączamy dla notki cennika, żeby nie kolidować z jego układem. */
.pandos-prose > p:first-child:not(.pandos-price-note) {
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--pandos-text);
}

/* Obraz w treści — jak element systemu: zaokrąglony, z subtelną ramką. */
.pandos-prose .wp-block-image {
	margin: 24px 0;
}

.pandos-prose .wp-block-image img {
	border: 1px solid var(--pandos-hairline);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pandos-prose .wp-block-image.aligncenter {
	text-align: center;
}

/* Wyśrodkowany akapit (typowe CTA „kliknij poniżej") jako wyróżniony
   pasek akcentowy zamiast luźnego zdania. */
.pandos-prose > p.has-text-align-center {
	margin: 24px 0;
	padding: 16px 20px;
	font-size: 15.5px;
	font-weight: 600;
	color: #fff;
	background: rgba(10, 96, 254, 0.12);
	border: 1px solid rgba(10, 96, 254, 0.3);
	border-radius: 10px;
}

/* Kolumny obok siebie. display:flex wymuszamy sami, bo WordPress
   generuje je jako inline style per-strona w <head> (klasy
   wp-container-…), a nawigacja AJAX nie odświeża head — bez tego kolumny
   po przejściu na inną stronę wracały do układu blokowego.

   NIE ustawiamy flex-wrap: kolumny z wzorców mają flex-basis sumujące
   się do 100%, więc wrap + gap wypychałby drugą kolumnę pod pierwszą.
   Na desktopie zwężają się (min-width:0), a stackowanie robimy dopiero
   media query na wąskim ekranie (mobile.css). */
.pandos-prose .wp-block-columns {
	display: flex;
	gap: 24px;
}

.pandos-prose .wp-block-columns > .wp-block-column {
	flex-grow: 1;
	min-width: 0;
}

/* media-text jako karta systemu */
.pandos-prose .wp-block-media-text {
	gap: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
}

.pandos-prose .wp-block-media-text__media {
	min-height: 180px;
	border-radius: 0;
}

.pandos-prose .wp-block-media-text__media img {
	border-radius: 0;
}

.pandos-prose .wp-block-media-text__content {
	padding: 18px 20px;
}

.pandos-prose .wp-block-media-text__content > * {
	margin-top: 0;
}

/* Nagłówek nad kartą usługi (często wyśrodkowany w przeniesionej treści) */
.pandos-prose .wp-block-heading.has-text-align-center {
	margin-bottom: 10px;
}

/* Nagłówek będący linkiem dziedziczył styl hiperłącza (niebieski,
   podkreślony) i wyglądał jak surowy link, nie jak nagłówek sekcji.
   Bez :where, by przebić .pandos-prose a. */
.pandos-prose h2 a,
.pandos-prose h3 a,
.pandos-prose h4 a {
	color: #fff;
	text-decoration: none;
}

.pandos-prose h2 a:hover,
.pandos-prose h3 a:hover,
.pandos-prose h4 a:hover {
	color: var(--pandos-accent-soft);
}

/* Cytat */
.pandos-prose .wp-block-quote {
	margin: 24px 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--pandos-accent);
	color: var(--pandos-text);
}

.pandos-prose .wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-style: normal;
	color: var(--pandos-text-dim);
}

.pandos-prose .wp-block-pullquote {
	padding: 24px;
	border: 0;
	border-top: 1px solid var(--pandos-hairline);
	border-bottom: 1px solid var(--pandos-hairline);
	text-align: center;
}

/* Tabela */
.pandos-prose .wp-block-table {
	overflow-x: auto;
}

.pandos-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.pandos-prose th,
.pandos-prose td {
	padding: 10px 12px;
	text-align: left;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pandos-prose thead th {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.pandos-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: rgba(255, 255, 255, 0.03);
}

/* Separator */
.pandos-prose hr,
.pandos-prose .wp-block-separator {
	height: 1px;
	margin: 28px 0;
	border: 0;
	background: var(--pandos-hairline);
}

/* Grupa z tłem (kolorowe sekcje z przeniesionej treści) */
.pandos-prose .wp-block-group.has-background {
	padding: 22px;
	border-radius: 12px;
}

/* Kod */
.pandos-prose :where( code, pre ) {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--pandos-hairline);
	border-radius: 6px;
}

.pandos-prose code {
	padding: 2px 6px;
	font-size: 0.9em;
}

.pandos-prose pre {
	padding: 14px 16px;
	overflow-x: auto;
}

/* Osadzenia (YouTube, mapy) responsywne i zaokrąglone */
.pandos-prose .wp-block-embed__wrapper iframe,
.pandos-prose iframe {
	max-width: 100%;
	border-radius: 10px;
}

.pandos-pane__thumb {
	margin: 0 0 24px;
}

/* Nagłówek archiwum autora */
.pandos-author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

.pandos-author__avatar {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 1px solid var(--pandos-hairline);
}

.pandos-author__meta {
	min-width: 0;
}

.pandos-author__role {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

.pandos-author__name {
	display: block;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

.pandos-author__bio {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

/* =========================================================
   LISTA WPISÓW
   ========================================================= */
.pandos-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 24px;
}

.pandos-card-entry {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 16px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.pandos-card-entry:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.16);
}

.pandos-card-entry__thumb {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.3);
	aspect-ratio: 16 / 10;
}

.pandos-card-entry__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pandos-card-entry__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 28px;
	color: var(--pandos-text-dim);
}

.pandos-card-entry__body {
	min-width: 0;
}

.pandos-card-entry__title {
	margin-bottom: 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.pandos-card-entry__title a {
	color: #fff;
	text-decoration: none;
}

.pandos-card-entry__title a:hover {
	color: var(--pandos-accent-soft);
}

.pandos-card-entry__excerpt {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

/* Metadane wpisu */
.pandos-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--pandos-text-dim);
}

.pandos-meta--compact {
	margin-bottom: 0;
	font-size: 12px;
}

.pandos-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pandos-meta a {
	color: inherit;
	text-decoration: none;
}

.pandos-meta a:hover {
	color: var(--pandos-accent-soft);
	text-decoration: underline;
}

.pandos-pane__thumb figcaption {
	margin-top: 8px;
	font-size: 12.5px;
	color: var(--pandos-text-dim);
}

/* Tagi pod wpisem */
.pandos-terms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	padding-top: 18px;
	font-size: 13px;
	color: var(--pandos-text-dim);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-terms a {
	padding: 3px 10px;
	color: var(--pandos-text-muted);
	background: rgba(255, 255, 255, 0.07);
	border-radius: 20px;
	text-decoration: none;
}

.pandos-terms a:hover {
	background: var(--pandos-accent);
	color: #fff;
}

/* Poprzedni / następny wpis */
.pandos-postnav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-postnav__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 48%;
	padding: 10px 14px;
	font-size: 13px;
	color: var(--pandos-text-muted);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	text-decoration: none;
}

.pandos-postnav__link--next {
	margin-left: auto;
	text-align: right;
}

.pandos-postnav__link:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.pandos-postnav__link span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Kafelki podstron — „zawartość folderu" */
.pandos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
	margin-top: 32px;
}

.pandos-grid__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 12px;
	text-align: center;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	transition: background 0.18s ease, transform 0.18s ease;
}

.pandos-grid__item:hover {
	background: rgba(10, 96, 254, 0.28);
	border-color: var(--pandos-accent-soft);
	transform: translateY(-2px);
}

.pandos-grid__item i {
	font-size: 30px;
	color: var(--pandos-accent-soft);
}

.pandos-grid__label {
	font-size: 13.5px;
	font-weight: 600;
}

/* Poddrzewo w sidebarze */
.pandos-tree__sublist {
	margin: 2px 0 6px 26px;
	padding-left: 10px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pandos-tree__sublist[hidden] {
	display: none;
}

.pandos-tree__item--child {
	font-size: 13px;
	padding: 6px 10px;
}

/* Pozycja grupująca bez własnej strony — otwiera i zamyka gałąź,
   bo sama nigdzie nie prowadzi. */
.pandos-tree__item--group {
	color: var(--pandos-text-muted);
	font-size: 13px;
	font-weight: 600;
	text-align: left;
}

.pandos-tree__item--group:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

/* Wyszukiwarka */
.pandos-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 460px;
	margin: 20px 0 28px;
}

.pandos-search__icon {
	position: absolute;
	left: 12px;
	font-size: 13px;
	color: var(--pandos-text-dim);
	pointer-events: none;
}

.pandos-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 12px 10px 32px;
	font: inherit;
	font-size: 14px;
	color: #fff;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px;
}

.pandos-search__input::placeholder {
	color: var(--pandos-text-dim);
}

.pandos-search__submit {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--pandos-accent);
	border-radius: 8px;
}

.pandos-search__submit:hover {
	background: var(--pandos-accent-strong);
}

/* Wyniki wyszukiwania */
.pandos-results {
	margin-top: 8px;
}

.pandos-results__link {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px;
	margin-bottom: 6px;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.18s ease;
}

.pandos-results__link:hover {
	background: rgba(255, 255, 255, 0.07);
}

.pandos-results__link i {
	margin-top: 3px;
	font-size: 18px;
	color: var(--pandos-accent-soft);
}

.pandos-results__link strong {
	display: block;
	font-size: 15px;
	color: #fff;
}

.pandos-results__link em {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	font-style: normal;
	color: var(--pandos-text-dim);
}

.pandos-query {
	color: var(--pandos-accent-soft);
}

/* Paginacja */
.pandos-pagelinks,
.navigation.pagination {
	display: flex;
	gap: 6px;
	margin-top: 28px;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	font-size: 14px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.07);
	border-radius: 7px;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	background: var(--pandos-accent);
	color: #fff;
}

.navigation.pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* 404 */
.pandos-error {
	max-width: 560px;
}

.pandos-error__icon {
	font-size: 52px;
	color: var(--pandos-text-dim);
	margin-bottom: 18px;
}

.pandos-error__actions {
	margin-top: 24px;
}

/* =========================================================
   WZORZEC STRONA GŁÓWNA
   ========================================================= */

/* Rytm sekcji */
.pandos-section,
.pandos-hero,
.pandos-cta {
	margin-top: 48px;
}

.pandos-section > h2,
.pandos-eeat > h2 {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

.pandos-section__lead {
	max-width: 640px;
	margin-top: 8px;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

/* Nadtytuł — mały wersalik z akcentem */
.pandos-eyebrow {
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--pandos-accent-soft);
}

/* Hero */
.pandos-hero {
	margin-top: 4px;
}

.pandos-hero__cols {
	flex-wrap: wrap;
	gap: 28px;
	align-items: center;
}

.pandos-hero__cols > .wp-block-column {
	min-width: 260px;
}

.pandos-hero__title {
	font-size: 34px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.6px;
}

.pandos-hero__lead {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

.pandos-hero .wp-block-buttons {
	margin-top: 22px;
}

/* Slot na grafikę — zamiennik do podmiany na blok Obraz */
.pandos-media-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	min-height: 220px;
	text-align: center;
	background:
		radial-gradient(circle at 30% 25%, rgba(10, 96, 254, 0.25) 0, transparent 55%),
		radial-gradient(circle at 75% 75%, rgba(14, 116, 144, 0.25) 0, transparent 55%),
		rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.18);
	border-radius: 14px;
}

.pandos-media-slot__hint {
	margin: 0;
	max-width: 220px;
	font-size: 13px;
	color: var(--pandos-text-dim);
}

.pandos-media-slot__hint::before {
	display: block;
	margin-bottom: 10px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 26px;
	color: var(--pandos-accent-soft);
	content: "\f03e"; /* obraz */
}

/* Siatka kart (kategorie i E-E-A-T) */
.pandos-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

/* WordPress nadaje dzieciom grupy „is-layout-flow” margines pionowy,
   pomijając pierwsze dziecko — w siatce grid zjadał on wysokość komórek
   i pierwszy kafelek wyglądał na większy. Odstępy daje tu gap, więc te
   marginesy zerujemy. Podwójna klasa przebija specyficzność reguły WP. */
.wp-block-group.pandos-cards > * {
	margin-block: 0;
}

.pandos-card2 {
	position: relative;
	padding: 22px 20px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.pandos-card2:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--pandos-accent-soft);
	transform: translateY(-2px);
}

.pandos-card2 h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
}

/* Cała karta klikalna przez rozciągnięcie linku z nagłówka. */
.pandos-card2 h3 a {
	color: #fff;
	text-decoration: none;
}

.pandos-card2 h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 12px;
}

.pandos-card2:hover h3 a {
	color: var(--pandos-accent-soft);
}

.pandos-card2 p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

/* Ikona kategorii nad nagłówkiem */
.pandos-card2::before {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 17px;
	color: var(--pandos-accent-soft);
	background: rgba(10, 96, 254, 0.16);
	border-radius: 10px;
}

.pandos-card2--laptop::before   { content: "\f109"; }
.pandos-card2--phone::before    { content: "\f3cd"; }
.pandos-card2--pc::before       { content: "\f108"; }
.pandos-card2--tablet::before   { content: "\f3fa"; }
.pandos-card2--data::before     { content: "\f0a0"; }
.pandos-card2--business::before { content: "\f1ad"; }

/* E-E-A-T — te same karty, ale z nadtytułem i innym akcentem ikony */
.pandos-eeat-card {
	padding: 22px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
}

.pandos-eeat__kicker {
	margin: 0 0 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--pandos-accent-soft);
}

.pandos-eeat-card h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}

.pandos-eeat-card p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

.pandos-eeat-card a {
	color: var(--pandos-accent-soft);
	text-decoration: none;
}

.pandos-eeat-card a:hover {
	text-decoration: underline;
}

.pandos-eeat-card::before {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 12px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 15px;
	color: #fff;
	background: linear-gradient(180deg, var(--pandos-accent) 0%, var(--pandos-accent-strong) 100%);
	border-radius: 9px;
}

.pandos-eeat--experience::before { content: "\f091"; } /* puchar   */
.pandos-eeat--expertise::before  { content: "\f0ad"; } /* klucz    */
.pandos-eeat--authority::before  { content: "\f559"; } /* certyfikat*/
.pandos-eeat--trust::before      { content: "\f132"; } /* tarcza   */

/* CTA końcowe */
.pandos-cta {
	padding: 34px 28px;
	text-align: center;
	background:
		radial-gradient(circle at 50% 0, rgba(10, 96, 254, 0.22) 0, transparent 60%),
		rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
}

.pandos-cta h2 {
	font-size: 24px;
	font-weight: 800;
	color: #fff;
}

.pandos-cta p {
	margin: 8px 0 0;
	color: var(--pandos-text-muted);
}

.pandos-cta .wp-block-buttons {
	justify-content: center;
	margin-top: 20px;
}

/* =========================================================
   WZORZEC CENNIK
   ========================================================= */
.pandos-prose .pandos-price-note {
	padding: 14px 16px;
	margin-bottom: 8px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
	background: rgba(10, 96, 254, 0.1);
	border: 1px solid rgba(10, 96, 254, 0.25);
	border-radius: 10px;
}

.pandos-prose .pandos-price-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 16px 0 32px;
}

/* Zerujemy margines pionowy dzieci nadawany przez layout Gutenberga —
   odstępy daje tu gap. Podwójna klasa przebija regułę WP. */
.wp-block-group.pandos-price-list > * {
	margin-block: 0;
}

.pandos-prose .pandos-price {
	display: flex;
	gap: 16px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.pandos-prose .pandos-price:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}

/* Miniatura usługi */
.pandos-prose .pandos-price__media {
	flex: 0 0 120px;
	margin: 0;
	align-self: flex-start;
}

.pandos-prose .pandos-price__media img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
}

.pandos-prose .pandos-price__body {
	flex: 1 1 auto;
	min-width: 0;
}

.pandos-prose .pandos-price__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.pandos-prose .pandos-price__name {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

/* Cena w „chipie” — nie zawija, zawsze czytelna przy nazwie. */
.pandos-prose .pandos-price__amount {
	flex: 0 0 auto;
	margin: 0;
	padding: 4px 12px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--pandos-accent-soft);
	background: rgba(10, 96, 254, 0.16);
	border-radius: 20px;
}

.pandos-prose .pandos-price__desc {
	margin: 10px 0 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-dim);
}

/* =========================================================
   CENNIK SEO — PAKIETY
   ========================================================= */
.pandos-prose .pandos-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 24px 0 32px;
}

.wp-block-group.pandos-plans > * {
	margin-block: 0;
}

.pandos-prose .pandos-plan {
	display: flex;
	flex-direction: column;
	padding: 24px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

/* Pakiet wyróżniony — akcentowana ramka i lekka poświata. */
.pandos-prose .pandos-plan--featured {
	background: rgba(10, 96, 254, 0.1);
	border-color: var(--pandos-accent-soft);
	box-shadow: 0 0 0 1px var(--pandos-accent-soft), 0 12px 30px rgba(10, 96, 254, 0.18);
}

.pandos-prose .pandos-plan__badge {
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #fff;
	background: var(--pandos-accent);
	border-radius: 20px;
}

.pandos-prose .pandos-plan__name {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--pandos-accent-soft);
}

.pandos-prose .pandos-plan__price {
	margin: 0;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	color: #fff;
}

.pandos-prose .pandos-plan__price span {
	font-size: 16px;
	font-weight: 600;
	color: var(--pandos-text-dim);
}

.pandos-prose .pandos-plan__period {
	margin: 4px 0 18px;
	font-size: 13px;
	color: var(--pandos-text-dim);
}

.pandos-prose .pandos-plan__features {
	flex: 1 1 auto;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.pandos-prose .pandos-plan__features li {
	position: relative;
	padding: 7px 0 7px 26px;
	font-size: 13.5px;
	color: var(--pandos-text-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pandos-prose .pandos-plan__features li:last-child {
	border-bottom: 0;
}

.pandos-prose .pandos-plan__features li::before {
	position: absolute;
	left: 0;
	top: 7px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 12px;
	color: var(--pandos-ok);
	content: "\f00c"; /* check */
}

.pandos-prose .pandos-plan .wp-block-buttons {
	margin-top: auto;
}

.pandos-prose .pandos-plan .wp-block-button,
.pandos-prose .pandos-plan .wp-block-button__link {
	width: 100%;
}

/* =========================================================
   WZORZEC KONTAKT
   ========================================================= */
.pandos-contact-lead {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

/* Kolumny zawijają względem szerokości OKNA, nie viewportu — okno da
   się pomniejszyć, więc flex-wrap + min-width jest tu lepsze niż
   media query oparte na szerokości ekranu. */
.wp-block-columns.pandos-contact {
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 8px;
}

.pandos-contact > .wp-block-column {
	min-width: 260px;
}

.pandos-contact-panel,
.pandos-contact-form {
	padding: 24px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
}

.pandos-contact-panel h2,
.pandos-contact-form h2 {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

/* Lista danych — każda pozycja z ikoną w okrągłym „chipie”. */
.pandos-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--pandos-text-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pandos-contact__item:last-of-type {
	border-bottom: 0;
}

.pandos-contact__item a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.pandos-contact__item a:hover {
	color: var(--pandos-accent-soft);
}

.pandos-contact__item::before {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 15px;
	color: var(--pandos-accent-soft);
	background: rgba(10, 96, 254, 0.16);
	border-radius: 10px;
}

.pandos-contact--phone::before { content: "\f095"; }   /* telefon */
.pandos-contact--mail::before  { content: "\f0e0"; }   /* koperta */
.pandos-contact--place::before { content: "\f3c5"; }   /* pinezka */
.pandos-contact--hours::before { content: "\f017"; }   /* zegar   */

.pandos-contact-actions {
	margin-top: 20px;
}

/* Formularz CF7 wewnątrz panelu dziedziczy style z forms.css. */
.pandos-contact-form .wpcf7 {
	margin-top: 4px;
}

/* =========================================================
   DOCK
   ========================================================= */
.pandos-dock {
	position: absolute;
	bottom: 15px;
	left: 50%;
	z-index: var(--z-dock);
	transform: translateX(-50%);
}

.pandos-dock__list {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 8px 10px;
	background: rgba(40, 40, 40, 0.45);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	border: 1px solid var(--pandos-hairline);
	border-radius: 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Kafelek: ikona + widoczna etykieta pod nią. Etykieta zastępuje
   tooltip — na dotyku nie ma najechania, więc podpis musi być stale
   widoczny. */
.pandos-dock__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	width: 72px;
}

.pandos-dock__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	font-size: 24px;
	text-decoration: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background 0.2s ease;
}

.pandos-dock__label {
	max-width: 100%;
	font-size: 10.5px;
	line-height: 1.2;
	text-align: center;
	color: var(--pandos-text-muted);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	/* Pełna nazwa w maks. dwóch liniach — dokumenty prawne muszą być
	   czytelne, nie ucięte wielokropkiem. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: break-word;
}

.pandos-dock__icon:hover,
.pandos-dock__icon:focus-visible {
	transform: scale(1.12) translateY(-4px);
	background: linear-gradient(180deg, var(--pandos-accent) 0%, var(--pandos-accent-strong) 100%);
	border-color: var(--pandos-accent-soft);
}

/* =========================================================
   OKNO „INFORMACJE”
   ========================================================= */
.pandos-about {
	width: min(380px, calc(100vw - 32px));
	padding: 0;
	color: var(--pandos-text);
	background: var(--pandos-surface-pop);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: var(--pandos-radius);
	box-shadow: var(--pandos-shadow);
	overflow: hidden;
}

.pandos-about::backdrop {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.pandos-about[open] {
	animation: pandos-about-in 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes pandos-about-in {
	from { opacity: 0; transform: scale(0.96); }
	to   { opacity: 1; transform: scale(1); }
}

.pandos-about__bar {
	position: relative;
	display: flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	background: rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.pandos-about__bartitle {
	flex: 1 1 auto;
	text-align: center;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pandos-text-muted);
}

.pandos-about__bar .pandos-ctl--close:hover::before {
	content: "×";
	color: #4d0000;
}

.pandos-about__body {
	padding: 26px 24px 22px;
}

.pandos-about__brand {
	text-align: center;
	margin-bottom: 22px;
}

.pandos-about__glyph {
	font-size: 44px;
	color: var(--pandos-accent-soft);
	margin-bottom: 12px;
}

.pandos-about__brand img {
	margin: 0 auto 12px;
	max-height: 56px;
	width: auto;
}

.pandos-about__name {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
}

.pandos-about__tagline {
	margin-top: 4px;
	font-size: 12.5px;
	color: var(--pandos-text-dim);
}

/* Lista danych w układzie etykieta / wartość, jak w panelu systemowym. */
.pandos-about__specs {
	margin: 0 0 20px;
	font-size: 13px;
}

.pandos-about__spec {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 10px;
	padding: 6px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-about__spec dt {
	color: var(--pandos-text-dim);
	text-align: right;
}

.pandos-about__spec dd {
	margin: 0;
	color: var(--pandos-text-muted);
}

.pandos-about__spec a {
	color: var(--pandos-accent-soft);
	text-decoration: none;
}

.pandos-about__spec a:hover {
	text-decoration: underline;
}

.pandos-about__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 14px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-about__links a {
	font-size: 12px;
	color: var(--pandos-text-dim);
	text-decoration: none;
}

.pandos-about__links a:hover {
	color: var(--pandos-accent-soft);
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.pandos-about[open] {
		animation: none;
	}

	.pandos-pane,
	.pandos-menu__dropdown {
		animation: none;
	}

	.pandos-dock__icon,
	.pandos-btn {
		transition: none;
	}
}
