/* ==========================================================================
   Głos Kultury – style motywu
   Kolory w zmiennych: tryb jasny w :root, tryb ciemny w [data-theme="dark"].
   ========================================================================== */

:root {
	--gk-blue: #1a6aa0;
	--gk-green: #2e7d32;
	--gk-gradient: linear-gradient(90deg, #1a6aa0, #2e7d32);

	--gk-bg: #f3f1ec;
	--gk-surface: #ffffff;
	--gk-surface-2: #f3f1ec;
	--gk-ink: #141414;
	--gk-ink-2: #3a3833;
	--gk-muted: #6b6760;
	--gk-line: #e4e2dc;
	--gk-line-2: #d6d3cc;
	--gk-link: #1a6aa0;
	--gk-kicker: #2e7d32;
	--gk-band: #e9f0f5;
	--gk-hero-bg: linear-gradient(135deg, #1b2a35, #141414);
	--gk-head-bg: linear-gradient(115deg, #124a70 0%, #17465a 48%, #1f5a2a 100%);
	--gk-footer-bg: #141414;
	--gk-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 4px 16px rgba(0, 0, 0, .04);

	--gk-serif: "Lora", Georgia, "Times New Roman", serif;
	--gk-sans: var(--gk-serif); /* jedna czcionka tekstowa na całej stronie: Lora */
	--gk-display: "Alfa Slab One", Georgia, serif;

	--gk-radius: 10px;
	--gk-wrap: 1280px;
	--gk-gutter: clamp(16px, 3vw, 32px);

	color-scheme: light;
}

[data-theme="dark"] {
	--gk-bg: #111315;
	--gk-surface: #1b1e21;
	--gk-surface-2: #24282c;
	--gk-ink: #ecebe7;
	--gk-ink-2: #c9c7c1;
	--gk-muted: #9a978f;
	--gk-line: #2c3034;
	--gk-line-2: #3a3f44;
	--gk-link: #6fb3e3;
	--gk-kicker: #7cc47f;
	--gk-band: #16222c;
	--gk-hero-bg: linear-gradient(135deg, #1d2c38, #0d0f11);
	--gk-footer-bg: #0b0c0d;
	--gk-shadow: 0 1px 2px rgba(0, 0, 0, .4);

	color-scheme: dark;
}

/* --- Podstawy ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
	margin: 0;
	background: var(--gk-bg);
	color: var(--gk-ink);
	font: 16px/1.55 var(--gk-sans);
	-webkit-font-smoothing: antialiased;
	transition: background-color .2s ease, color .2s ease;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gk-link); }

h1, h2, h3, h4 { font-family: var(--gk-serif); font-weight: 700; line-height: 1.2; margin: 0; }

button, input, textarea, select { font: inherit; color: inherit; }

/* Globalny zestaw Elementora (kit) ustawia h1 na niebiesko i Roboto Slab dla linków.
   body:not(.gk-x) podnosi specyficzność ponad .elementor-kit-XXX, ale nie ponad style widżetów. */
body:not(.gk-x) { color: var(--gk-ink); }
body:not(.gk-x) a { font-family: inherit; }
body:not(.gk-x) h1, body:not(.gk-x) h2, body:not(.gk-x) h3, body:not(.gk-x) h4 { color: inherit; font-family: var(--gk-serif); }

:focus-visible { outline: 3px solid var(--gk-link); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.gk-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gk-ink); color: var(--gk-bg); padding: 10px 16px; border-radius: 6px; }
.gk-skip:focus { left: 8px; }

.gk-wrap { max-width: var(--gk-wrap); margin-inline: auto; padding-inline: var(--gk-gutter); }
.gk-wrap--narrow { max-width: 820px; }

.gk-kicker {
	display: inline-block;
	font: 700 11px/1.3 var(--gk-sans);
	letter-spacing: .8px;
	text-transform: uppercase;
	color: var(--gk-kicker);
}

.gk-meta { font-size: 12px; color: var(--gk-muted); }

.gk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
	background: var(--gk-ink); color: var(--gk-bg);
	font: 700 14px var(--gk-sans); cursor: pointer;
}
.gk-btn:hover { color: var(--gk-bg); opacity: .9; }
.gk-btn--outline { background: transparent; color: var(--gk-ink); border: 2px solid var(--gk-ink); }
.gk-btn--outline:hover { background: var(--gk-ink); color: var(--gk-bg); }
.gk-center { align-self: center; margin-inline: auto; display: flex; width: max-content; }

.gk-icon-btn {
	width: 44px; height: 44px; flex: 0 0 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 999px; background: var(--gk-surface-2); color: var(--gk-ink); cursor: pointer;
}
.gk-icon-btn:hover { color: var(--gk-link); }
.gk-icon-btn--dark { background: var(--gk-ink); color: var(--gk-bg); }
.gk-icon-btn--dark:hover { color: var(--gk-bg); opacity: .85; }

/* Przełącznik trybu: księżyc w jasnym, słońce w ciemnym */
.gk-theme-toggle > span { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.gk-theme-toggle__moon svg { transform: translate(.5px, -.5px); }
.gk-theme-toggle > .gk-theme-toggle__sun { display: none; }
[data-theme="dark"] .gk-theme-toggle > .gk-theme-toggle__sun { display: inline-flex; }
[data-theme="dark"] .gk-theme-toggle > .gk-theme-toggle__moon { display: none; }

/* --- Sygnet ------------------------------------------------------------- */

.gk-mark { display: block; flex: none; }
.gk-mark { color: var(--gk-ink); }
.gk-footer .gk-mark { color: #fff; }
/* Logo: ramka + napis + gramofon. Gradient marki, jaśniejszy w trybie ciemnym i w stopce. */
.gk-logo { display: block; height: 88px; width: auto; color: var(--gk-ink); }
.gk-logo__a { stop-color: #1a6aa0; }
.gk-logo__b { stop-color: #2e7d32; }
[data-theme="dark"] .gk-logo__a, .gk-footer .gk-logo__a { stop-color: #6fb3e3; }
[data-theme="dark"] .gk-logo__b, .gk-footer .gk-logo__b { stop-color: #7cc47f; }
.gk-footer .gk-logo { color: #fff; height: 56px; }

/* --- Nagłówek ----------------------------------------------------------- */

.gk-header { background: var(--gk-surface); position: relative; z-index: 50; }

.gk-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }

.gk-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gk-ink); }
.gk-brand:hover { color: var(--gk-ink); }
.gk-brand__name { font: 34px/1 var(--gk-display); letter-spacing: .5px; white-space: nowrap; }

.gk-header__tools { display: flex; align-items: center; gap: 10px; }

.gk-search {
	display: flex; align-items: center; gap: 8px;
	width: 280px; height: 44px; padding: 0 16px;
	border: 1px solid var(--gk-line-2); border-radius: 999px; color: var(--gk-muted);
	background: var(--gk-surface);
}
.gk-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; color: var(--gk-ink); }
.gk-search:focus-within { border-color: var(--gk-link); }

.gk-show-sm { display: none; }

.gk-nav { background: var(--gk-gradient); }
.gk-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-height: 52px; }
.gk-menu > li { position: relative; }
.gk-menu > li > a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: #fff; font: 600 17px/1.2 var(--gk-serif); letter-spacing: .1px;
}
.gk-menu > li > a:hover,
.gk-menu > li:focus-within > a,
.gk-menu > li.current-menu-item > a,
.gk-menu > li.current-menu-ancestor > a,
.gk-menu > li.current-category-ancestor > a { background: #fff; color: #141414; }

.gk-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; left: 0; min-width: 230px;
	background: var(--gk-surface); border-radius: var(--gk-radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.gk-menu li:hover > .sub-menu,
.gk-menu li:focus-within > .sub-menu,
.gk-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gk-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 15px; font-weight: 600; color: var(--gk-ink); }
.gk-menu .sub-menu a:hover { background: var(--gk-surface-2); color: var(--gk-link); }
.gk-menu .sub-menu .sub-menu { position: static; box-shadow: none; padding: 0 0 0 12px; opacity: inherit; visibility: inherit; transform: none; min-width: 0; }
.gk-menu .sub-menu .sub-menu a { font-weight: 500; font-size: 14px; color: var(--gk-ink-2); }
.gk-submenu-toggle { display: none; }

/* --- Układ -------------------------------------------------------------- */

.gk-site-content { min-height: 50vh; }

.gk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.gk-layout__main { display: flex; flex-direction: column; gap: 44px; min-width: 0; }

.gk-home { display: flex; flex-direction: column; gap: 44px; padding-block: 32px 56px; }

.gk-section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.gk-section-title { display: flex; align-items: center; gap: 10px; font-size: 26px; }
.gk-section-title::before { content: ""; width: 6px; height: 1em; border-radius: 3px; background: var(--gk-green); }
.gk-section-title--blue::before { background: var(--gk-blue); }
.gk-more { font-size: 14px; font-weight: 700; color: var(--gk-link); white-space: nowrap; }

.gk-grid { display: grid; gap: 22px 18px; }
.gk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gk-grid[hidden] { display: none; }
.gk-grid + .gk-btn { margin-top: 24px; }

/* --- Okładki 3:4 -------------------------------------------------------- */

.gk-cover {
	position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
	border-radius: 8px; background: var(--gk-surface-2);
}
.gk-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Poziome zdjęcia na kafelkach: wypełniają kadr, przycięte do środka. */
.gk-cover--landscape .gk-cover__img { object-fit: cover; object-position: center 35%; }

/* We wpisie obrazek wyróżniający zawsze w całości, bez kadrowania – w swoich proporcjach. */
.gk-article-head__cover .gk-cover {
	aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; box-shadow: none;
	display: flex; justify-content: center;
}
.gk-article-head__cover .gk-cover .gk-cover__img {
	position: static; display: block; width: auto; height: auto; max-width: 100%; max-height: min(600px, 80vh);
	object-fit: contain; border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
/* Poziome zdjęcie dostaje szerszą kolumnę. */
.gk-article-head--wide .gk-article-head__inner { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) {
	.gk-article-head--wide .gk-article-head__inner { grid-template-columns: minmax(0, 1fr); }
	.gk-article-head--wide .gk-article-head__cover { width: 100%; }
}
.gk-cover--empty { display: flex; align-items: center; justify-content: center; opacity: .5; }

/* --- Karty -------------------------------------------------------------- */

.gk-card { min-width: 0; }
.gk-card--poster { display: flex; flex-direction: column; gap: 8px; }
.gk-card__media { position: relative; display: block; }
.gk-card--poster .gk-cover { box-shadow: var(--gk-shadow); transition: transform .2s ease; }
.gk-card--poster:hover .gk-cover { transform: translateY(-2px); }
.gk-card__title { font-size: 17px; line-height: 1.3; }
.gk-card--poster .gk-kicker { margin-top: 4px; }

.gk-rating {
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--gk-ink); color: var(--gk-bg);
	font: 800 12px/1 var(--gk-sans); border-radius: 6px; padding: 5px 8px; white-space: nowrap;
}
.gk-rating--overlay { position: absolute; left: 8px; bottom: 8px; background: #141414; color: #fff; }
.gk-rating--light { background: #fff; color: #141414; }

.gk-card--row {
	display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; align-items: center;
	background: var(--gk-surface); border-radius: var(--gk-radius); padding: 12px;
}
.gk-card--row .gk-cover { border-radius: 6px; }
.gk-card__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gk-card--row .gk-card__title { font-size: 17px; }

/* --- Strona główna: najważniejsze --------------------------------------- */

.gk-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.gk-top__side { display: flex; flex-direction: column; gap: 12px; }
.gk-top__side .gk-card--row { flex: 1; }

.gk-hero {
	display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
	background: #141414; color: #fff; border-radius: var(--gk-radius); overflow: hidden;
}
.gk-hero__media .gk-cover { height: 100%; aspect-ratio: auto; min-height: 100%; border-radius: 0; }
.gk-hero__media { display: block; min-height: 480px; }
.gk-hero__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 32px 30px; background: var(--gk-hero-bg); }
.gk-hero .gk-kicker { background: var(--gk-green); color: #fff; padding: 4px 8px; border-radius: 4px; }
.gk-hero__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.gk-hero__title a, .gk-hero__title a:hover { color: #fff; }
.gk-hero__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gk-hero__excerpt { margin: 0; font: 18px/1.5 var(--gk-serif); color: #d9d6cf; }
.gk-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #c9c5bc; }

/* --- Nasze cykle -------------------------------------------------------- */

.gk-series__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gk-series__item {
	display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center;
	background: var(--gk-surface); border-radius: var(--gk-radius); padding: 12px; color: var(--gk-ink);
}
.gk-series__img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--gk-surface-2); }
.gk-series__img img { width: 100%; height: 100%; object-fit: cover; }
.gk-series__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gk-series__text b { font-size: 15px; line-height: 1.25; }
.gk-series__text span { font-size: 12px; line-height: 1.35; color: var(--gk-muted); }

/* --- Recenzje: zakładki ------------------------------------------------- */

.gk-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.gk-tab {
	height: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--gk-line-2); background: var(--gk-surface); color: var(--gk-ink);
	font-size: 13px; font-weight: 600;
}
.gk-tab[aria-selected="true"] { background: var(--gk-ink); color: var(--gk-bg); border-color: var(--gk-ink); }
.gk-reviews, .gk-catsec { display: flex; flex-direction: column; }
.gk-section-title a { color: inherit; text-decoration: none; }
.gk-section-title a:hover { color: var(--gk-green); }

/* --- Wielogłosy --------------------------------------------------------- */


/* --- Kolumna boczna ----------------------------------------------------- */

.gk-sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.gk-sidebar__sticky { position: sticky; top: 16px; }
.gk-box { background: var(--gk-surface); border-radius: var(--gk-radius); padding: 20px; }
.gk-box__title { font-size: 19px; margin-bottom: 10px; }
.gk-box p { margin: 0 0 10px; font-size: 14px; color: var(--gk-ink-2); }
.gk-box--dark { background: #141414; color: #fff; }
.gk-box--dark p { color: #d9d6cf; }
.gk-box__link { color: #8fd18a; font-weight: 700; font-size: 14px; }
.gk-box ul { margin: 0; padding-left: 18px; }

.gk-most-read__list { list-style: none; margin: 0; padding: 0; }
.gk-most-read__list li {
	display: grid; grid-template-columns: 22px 42px minmax(0, 1fr); gap: 10px; align-items: center;
	padding: 10px 0; border-top: 1px solid var(--gk-line);
}
.gk-most-read__num { font: 20px var(--gk-display); color: var(--gk-green); }
.gk-most-read__thumb .gk-cover { border-radius: 4px; }
.gk-most-read__title { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* --- Reklamy ------------------------------------------------------------ */

.gk-ad { background: var(--gk-surface); border-radius: var(--gk-radius); padding: 10px; text-align: center; }
.gk-ad__label { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gk-muted); margin-bottom: 8px; }
.gk-ad__slide[hidden] { display: none; }
.gk-ad__img { display: block; margin: 0 auto; border-radius: 6px; max-width: 100%; height: auto; }
.gk-ad__dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.gk-ad__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gk-ad__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--gk-line-2); }
.gk-ad__dots button[aria-current="true"]::before { background: var(--gk-ink); }
.gk-ad--home-wide, .gk-ad--after-post { padding: 12px; }

/* --- Wpis --------------------------------------------------------------- */

.gk-article-head { background: var(--gk-head-bg); color: #fff; }
.gk-article-head__inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: end; padding-block: 40px; }
.gk-article-head__inner--no-cover { grid-template-columns: minmax(0, 1fr); }
.gk-article-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.gk-article-head__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.gk-pill { background: rgba(255, 255, 255, .14); color: #fff; font: 700 11px/1 var(--gk-sans); letter-spacing: .8px; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.gk-pill:first-child { background: var(--gk-green); }
.gk-pill:hover { background: #fff; color: #141414; }
.gk-article-head__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.gk-article-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: #c9c5bc; }
.gk-article-head__meta a { color: #fff; font-weight: 600; }

.gk-single .gk-layout { padding-block: 40px 56px; }
.gk-article { background: var(--gk-surface); border-radius: var(--gk-radius); padding: clamp(20px, 4vw, 48px); }

.gk-entry { font: 19px/1.7 var(--gk-serif); color: var(--gk-ink); max-width: 720px; margin-inline: auto; overflow-wrap: break-word; }
.gk-entry--builder { max-width: none; }
.gk-entry > * + * { margin-top: 1.1em; }
.gk-entry p { margin: 0 0 1.1em; }
.gk-entry h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.gk-entry h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.gk-entry a { color: var(--gk-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gk-entry img { border-radius: 6px; }
.gk-entry figure, .gk-entry .wp-caption { margin: 1.6em 0; max-width: 100%; }
.gk-entry figcaption, .gk-entry .wp-caption-text { font: 13px/1.4 var(--gk-sans); color: var(--gk-muted); margin-top: 8px; }
.gk-entry blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--gk-green);
	font-style: italic; color: var(--gk-ink-2);
}
.gk-entry ul, .gk-entry ol { padding-left: 1.3em; }
.gk-entry table { width: 100%; border-collapse: collapse; font: 15px var(--gk-sans); }
.gk-entry th, .gk-entry td { border-bottom: 1px solid var(--gk-line); padding: 8px; text-align: left; }
.gk-entry iframe { width: 100%; }
.gk-entry .aligncenter { display: block; margin-inline: auto; }
.gk-entry .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 45%; }
.gk-entry .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 45%; }
.gk-entry::after { content: ""; display: table; clear: both; }

/* Treści z Elementora: nagłówki ze starego widżetu i tryb ciemny */
.gk-inline-title {
	font: 700 20px/1.3 var(--gk-serif); margin: 1.4em 0 .6em;
	padding: 10px 16px; border-radius: 6px; background: var(--gk-gradient); color: #fff;
}
[data-theme="dark"] .gk-entry .elementor-widget-text-editor,
[data-theme="dark"] .gk-entry .elementor-widget-text-editor * { color: var(--gk-ink) !important; }
[data-theme="dark"] .gk-entry .elementor-widget-author-box .elementor-author-box__name,
[data-theme="dark"] .gk-entry .elementor-widget-author-box .elementor-author-box__bio { color: var(--gk-ink) !important; }

.gk-verdict {
	display: flex; gap: 24px; align-items: center; max-width: 720px; margin: 32px auto 0;
	background: var(--gk-surface-2); border-radius: var(--gk-radius); padding: 20px 24px;
}
.gk-verdict__score { display: flex; align-items: baseline; gap: 2px; padding: 12px 18px; border-radius: 10px; background: var(--gk-gradient); color: #fff; }
.gk-verdict__score span { font: 44px/1 var(--gk-display); }
.gk-verdict__score small { font-size: 16px; font-weight: 700; }
.gk-verdict__items { flex: 1; display: grid; grid-template-columns: minmax(90px, max-content) 1fr 36px; gap: 8px 12px; align-items: center; }
.gk-verdict__row { display: contents; font-size: 14px; }
.gk-verdict__row > * { font-size: 14px; }
.gk-verdict__bar { height: 8px; border-radius: 999px; background: var(--gk-line-2); position: relative; overflow: hidden; }
.gk-verdict__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--gk-pct); background: var(--gk-green); border-radius: inherit; }

.gk-article-foot { max-width: 720px; margin: 32px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 20px; border-top: 1px solid var(--gk-line); }
.gk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gk-tags a, .gk-chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--gk-surface-2); color: var(--gk-ink-2); }
.gk-tags a:hover, .gk-chip:hover { background: var(--gk-ink); color: var(--gk-bg); }
.gk-share { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gk-muted); }
.gk-share .gk-icon-btn { width: 40px; height: 40px; flex-basis: 40px; }
.gk-share .is-copied { background: var(--gk-green); color: #fff; }

.gk-author-box { max-width: 720px; margin: 24px auto 0; display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: var(--gk-surface-2); border-radius: var(--gk-radius); }
.gk-author-box__avatar { border-radius: 999px; flex: none; width: 72px; height: 72px; object-fit: cover; }
img.avatar { object-fit: cover; aspect-ratio: 1; }
.gk-author-box__name { font-size: 20px; margin: 2px 0 6px; }
.gk-author-box p { margin: 0; font-size: 15px; color: var(--gk-ink-2); }

.gk-page-links { margin-top: 24px; font: 600 14px var(--gk-sans); }

/* --- Komentarze --------------------------------------------------------- */

.gk-comments { background: var(--gk-surface); border-radius: var(--gk-radius); padding: clamp(20px, 4vw, 40px); }
.gk-comments > .gk-section-title { margin-bottom: 20px; }
.gk-comment-list, .gk-comment-list .children { list-style: none; margin: 0; padding: 0; }
.gk-comment-list .children { padding-left: clamp(16px, 4vw, 48px); }
.gk-comment-list .comment-body { padding: 16px 0; border-top: 1px solid var(--gk-line); font-size: 15px; }
.gk-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.gk-comment-list .comment-author .avatar { border-radius: 999px; }
.gk-comment-list .says { display: none; }
.gk-comment-list .comment-metadata { font-size: 12px; color: var(--gk-muted); margin: 2px 0 6px 54px; }
.gk-comment-list .comment-content, .gk-comment-list .reply { margin-left: 54px; }
.gk-comment-list .reply a { font-size: 13px; font-weight: 700; color: var(--gk-link); }
.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 20px; margin-bottom: 10px; }
.comment-form { display: flex; flex-direction: column; gap: 12px; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--gk-line-2); border-radius: 8px; background: var(--gk-bg); color: var(--gk-ink);
}
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.comment-form-cookies-consent label { font-weight: 400; }

/* --- Archiwa i wyszukiwarka --------------------------------------------- */

.gk-archive { padding-block: 32px 56px; }
.gk-archive-head { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.gk-archive-head__avatar { border-radius: 999px; }
.gk-archive-head__title { font-size: clamp(30px, 4vw, 44px); margin-top: 4px; }
.gk-archive-head__desc { max-width: 720px; color: var(--gk-ink-2); font: 17px/1.55 var(--gk-serif); }
.gk-archive-head__desc p { margin: 8px 0 0; }
.gk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gk-chip { background: var(--gk-surface); }
.gk-empty { font-size: 17px; color: var(--gk-ink-2); }

.gk-searchform { display: flex; gap: 8px; margin-top: 16px; max-width: 560px; }
.gk-searchform input { flex: 1; min-height: 44px; padding: 0 16px; border: 1px solid var(--gk-line-2); border-radius: 999px; background: var(--gk-surface); color: var(--gk-ink); }

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--gk-surface); font-weight: 600; font-size: 14px; }
.pagination .page-numbers.current { background: var(--gk-ink); color: var(--gk-bg); }

/* --- Strony ------------------------------------------------------------- */

.gk-page { padding-block: 40px 56px; }
.gk-page--builder { padding-block: 0; }
.gk-page__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.gk-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-block: 72px; }
.gk-404 .gk-searchform { width: 100%; }

/* --- Stopka ------------------------------------------------------------- */

.gk-footer { background: var(--gk-footer-bg); color: #d9d6cf; margin-top: 0; }
.gk-footer::before { content: ""; display: block; height: 4px; background: var(--gk-gradient); }
.gk-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px 56px; padding-block: 48px 36px; align-items: start; }
.gk-footer__about p { margin: 16px 0 18px; max-width: 34ch; font-size: 14px; line-height: 1.6; color: #b9b5ad; }
.gk-footer__icons { display: flex; gap: 10px; }
.gk-icon-btn--footer { background: #262626; color: #fff !important; }
.gk-icon-btn--footer:hover { background: var(--gk-green); }
.gk-brand--footer, .gk-brand--footer:hover { color: #fff; }
.gk-brand--footer .gk-brand__name { font-size: 26px; }
.gk-footer a { color: #d9d6cf; }
.gk-footer a:hover { color: #fff; }
.gk-footer__title, .gk-footer__widgets .gk-box__title { font-size: 18px; margin: 0 0 14px; color: #fff; }
.gk-footer__widgets .gk-box { background: transparent; padding: 0; color: #d9d6cf; box-shadow: none; border: 0; }
.gk-footer__widgets .gk-box + .gk-box { margin-top: 24px; }
.gk-footer .gk-contact { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 10px; font-size: 14px; }
.gk-footer__patronage p { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #b9b5ad; }
.gk-btn--light { background: #fff; color: #141414 !important; border: 0; }
.gk-btn--light:hover { background: var(--gk-green); color: #fff !important; }
.gk-footer__copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.gk-footer__copy a:hover { color: #fff; }
.gk-footer__copy { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 18px 32px; border-top: 1px solid #2a2a2a; font-size: 13px; color: #9a978f; }
.gk-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
@media (max-width: 900px) { .gk-footer__cols { grid-template-columns: 1fr 1fr; } .gk-footer__about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .gk-footer__cols { grid-template-columns: 1fr; padding-block: 36px 24px; } }

/* --- Strona główna na całą szerokość ------------------------------------ */

.gk-home__sections { display: flex; flex-direction: column; gap: 52px; padding-bottom: 56px; }
.gk-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1180px) { .gk-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gk-grid--3.gk-grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gk-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } .gk-grid--3.gk-grid--rows { grid-template-columns: minmax(0, 1fr); } }

/* --- Responsywność ------------------------------------------------------ */

@media (max-width: 1180px) {
	.gk-series__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gk-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gk-hero { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
	.gk-search { width: 220px; }
}

@media (max-width: 980px) {
	.gk-layout { grid-template-columns: minmax(0, 1fr); }
	.gk-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.gk-sidebar__sticky { position: static; }
	.gk-top { grid-template-columns: minmax(0, 1fr); }
	.gk-brand__name { font-size: 28px; }

	/* Menu mobilne */
	.gk-show-sm { display: inline-flex; }
	.gk-hide-sm { display: none; }
	.gk-header__tools .gk-search {
		display: none; position: absolute; left: var(--gk-gutter); right: var(--gk-gutter); top: 100%;
		width: auto; margin-top: -8px; z-index: 60; box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
	}
	.gk-header.is-search-open .gk-search { display: flex; }
	.gk-header__bar { position: relative; }
	.gk-menu-close { display: none; }
	.gk-header.is-menu-open .gk-menu-close { display: inline-flex; }
	.gk-header.is-menu-open .gk-menu-open { display: none; }

	.gk-nav .gk-wrap { padding-inline: 10px; }
	.gk-menu { flex-wrap: nowrap; overflow-x: auto; min-height: 46px; scrollbar-width: none; }
	.gk-menu::-webkit-scrollbar { display: none; }
	.gk-menu > li > a { font-size: 15px; padding: 6px 12px; white-space: nowrap; }
	.gk-menu .sub-menu { display: none; }

	.gk-header.is-menu-open .gk-nav {
		position: fixed; inset: var(--gk-header-h, 76px) 0 0 0; overflow-y: auto; background: var(--gk-surface); z-index: 49;
	}
	.gk-header.is-menu-open .gk-menu { flex-direction: column; align-items: stretch; overflow: visible; padding-block: 8px 40px; gap: 0; }
	.gk-header.is-menu-open .gk-menu li { position: relative; border-bottom: 1px solid var(--gk-line); }
	.gk-header.is-menu-open .gk-menu > li > a { color: var(--gk-ink); background: none; font-size: 16px; padding: 14px 52px 14px 8px; border-radius: 0; }
	.gk-header.is-menu-open .gk-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 16px; min-width: 0;
	}
	.gk-header.is-menu-open .gk-menu .is-open > .sub-menu { display: block; }
	.gk-header.is-menu-open .gk-menu .sub-menu li { border: 0; }
	.gk-header.is-menu-open .gk-submenu-toggle {
		display: inline-flex; position: absolute; right: 0; top: 4px; width: 44px; height: 44px;
		align-items: center; justify-content: center; border: 0; background: transparent; color: var(--gk-ink); cursor: pointer;
	}
	.gk-header.is-menu-open .gk-menu .sub-menu .gk-submenu-toggle { top: 0; }
	.gk-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	body.gk-no-scroll { overflow: hidden; }

	.gk-article-head__inner { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 700px) {
	body { font-size: 15px; }
	.gk-header__bar { padding-block: 10px; gap: 8px; }
	.gk-header__tools { gap: 4px; }
	.gk-brand { gap: 8px; }
	.gk-brand .gk-mark { width: 30px; height: 30px; }
	.gk-brand .gk-logo { height: 60px; }
	.gk-brand__name { font-size: 21px; }
	.gk-header .gk-icon-btn { background: transparent; color: var(--gk-ink); }
	.gk-header .gk-icon-btn--dark { background: var(--gk-ink); color: var(--gk-bg); width: 38px; height: 38px; flex-basis: 38px; }

	.gk-home { gap: 28px; padding-block: 16px 40px; }
	.gk-hero { grid-template-columns: minmax(0, 1fr); }
	.gk-hero__media { min-height: 0; position: relative; overflow: hidden; padding: 18px 0 0; }
	.gk-hero__media .gk-cover { width: 62%; margin: 0 auto; aspect-ratio: 3 / 4; height: auto; border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
	.gk-hero__body { padding: 16px 18px 20px; gap: 10px; }
	.gk-hero__excerpt { display: none; }

	.gk-card--row { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding: 10px; }
	.gk-card--row .gk-card__title, .gk-card__title { font-size: 15px; }

	.gk-series__list { display: flex; overflow-x: auto; gap: 10px; margin-inline: calc(var(--gk-gutter) * -1); padding-inline: var(--gk-gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
	.gk-series__item { flex: 0 0 140px; grid-template-columns: 1fr; padding: 0; overflow: hidden; scroll-snap-align: start; align-items: start; }
	.gk-series__img { width: 140px; height: 140px; border-radius: 0; }
	.gk-series__text { padding: 8px 10px 12px; }
	.gk-series__text b { font-size: 13px; }

	.gk-section-title { font-size: 21px; }
	.gk-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
	.gk-tab { flex: none; }
	.gk-grid--4, .gk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.gk-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.gk-center { width: 100%; }

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

	.gk-article-head__inner { grid-template-columns: minmax(0, 1fr); padding-block: 24px; gap: 18px; }
	.gk-article-head__cover { width: 56%; margin-inline: auto; }
	.gk-single .gk-layout { padding-block: 16px 40px; }
	.gk-article { padding: 20px 16px; border-radius: 0; margin-inline: calc(var(--gk-gutter) * -1); }
	.gk-entry { font-size: 18px; }
	.gk-entry .alignleft, .gk-entry .alignright { float: none; margin: 1em 0; max-width: 100%; }
	.gk-verdict { flex-direction: column; align-items: stretch; }
	.gk-verdict__score { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.gk-header, .gk-nav, .gk-sidebar, .gk-footer, .gk-share, .gk-related, .gk-comments, .gk-ad { display: none !important; }
	.gk-layout { display: block; }
}

/* Wtyczka Contextual Related Posts dokleja do treści własną (pustą w tym układzie) siatkę –
   motyw ma swoją sekcję „Przeczytaj też”. Najlepiej wyłączyć auto-wstawianie w ustawieniach wtyczki. */
.gk-entry .crp_related { display: none; }

/* Spis treści z Elementora Pro – kolory motywu (działa też w trybie ciemnym). */
.gk-entry .elementor-element.elementor-widget-table-of-contents {
	--box-background-color: var(--gk-surface-2) !important;
	--box-border-color: var(--gk-line-2) !important;
	--header-background-color: transparent;
	--header-color: var(--gk-ink);
	--item-text-color: var(--gk-ink);
	--item-text-hover-color: var(--gk-green, #3a9a3f);
	--marker-color: var(--gk-green, #3a9a3f);
	--toggle-button-color: var(--gk-muted);
	--box-border-radius: 12px;
}
.gk-entry .elementor-widget-table-of-contents .elementor-toc__header-title { color: var(--gk-ink); }
.gk-entry .elementor-toc__list-item-text { color: var(--gk-ink) !important; }

/* --- Zgodność ze starymi stronami z Elementora (klasy z CSS Digiqole) ---- */

/* Stare sekcje miały ujemny margines, żeby wejść pod dawny nagłówek. */
.gk-page--builder .elementor > .elementor-element:first-child { margin-top: 0 !important; }
.gk-page--builder { padding-block: 24px 48px; }

/* Redakcja: karty z odwracaniem. */
.profil-box .elementor-flip-box { height: auto !important; aspect-ratio: 3 / 4; border-radius: var(--gk-radius) !important; overflow: hidden; box-shadow: var(--gk-shadow, 0 4px 18px rgba(0,0,0,.12)); }
.profil-box .elementor-flip-box__layer { border-radius: var(--gk-radius) !important; }
.profil-box .elementor-flip-box__front .elementor-flip-box__layer__overlay {
	background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 32%, transparent 55%) !important;
	padding: 18px !important; justify-content: flex-end;
}
.profil-box .elementor-flip-box__layer__title { font-family: var(--gk-serif) !important; font-size: 20px !important; line-height: 1.2 !important; color: #fff !important; text-shadow: none !important; margin-bottom: 4px !important; }
.profil-box .elementor-flip-box__layer__description { font-family: var(--gk-sans) !important; font-size: 13px !important; color: rgba(255,255,255,.85) !important; text-shadow: none !important; }
.profil-box .elementor-flip-box__back { background-image: var(--gk-gradient) !important; }
.profil-box .elementor-flip-box__back .elementor-flip-box__layer__overlay { padding: 22px !important; justify-content: center; }
.profil-box .elementor-flip-box__button { border-radius: 999px !important; background: #fff !important; color: #1c78ac !important; font-weight: 700 !important; }
@media (max-width: 767px) {
	.gk-entry .elementor-container:has(> .elementor-column .profil-box) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gk-entry .elementor-container:has(> .elementor-column .profil-box) > .elementor-column { width: auto !important; }
	.gk-entry .elementor-container:has(> .elementor-column .profil-box) > .elementor-column:not(:has(.elementor-widget)) { display: none; }
	.profil-box .elementor-flip-box__layer__title { font-size: 16px !important; }
}

/* Profil autora: kolumna z danymi. */
.profil-bg { background-image: var(--gk-gradient-v, linear-gradient(160deg, #1c78ac 0%, #1c78ac 60%, #4c9a2a 100%)) !important; border-radius: var(--gk-radius); color: #fff; }
.profil-bg > .elementor-widget-wrap, .profil-bg > .elementor-column-wrap { padding: 24px 20px !important; }
.profil-bg .elementor-heading-title, .profil-bg p, .profil-bg .elementor-text-editor, .profil-bg .elementor-widget-text-editor,
.profil-bg .elementor-icon-box-title, .profil-bg .elementor-icon-box-description, .profil-bg .elementor-icon-list-text,
.profil-bg blockquote, .profil-bg .elementor-blockquote__content, .profil-bg a { color: #fff !important; }
.profil-bg .elementor-icon-box-title { font-family: var(--gk-sans) !important; font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .04em; opacity: .8; margin: 0 !important; }
.profil-bg .elementor-icon-box-description { font-family: var(--gk-serif) !important; font-size: 15px !important; }
.profil-bg .elementor-icon, .profil-bg .elementor-icon svg, .profil-bg .elementor-icon-list-icon i, .profil-bg .elementor-icon-list-icon svg { color: #fff !important; fill: #fff !important; }
.profil-bg .elementor-blockquote { border-left-color: rgba(255,255,255,.5) !important; }
.profil-bg .elementor-blockquote__content { font-family: var(--gk-serif) !important; font-style: italic; font-size: 16px !important; }
.profil-bg .gk-inline-title { background: rgba(255,255,255,.14) !important; }
.autor-foto { width: 100% !important; }
.autor-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.profil-ikony .elementor-icon { color: var(--gk-green) !important; fill: var(--gk-green) !important; border-color: var(--gk-green) !important; }
.profil-ikony .elementor-icon-box-title, .profil-ikony .elementor-icon-box-title a { color: var(--gk-ink) !important; font-family: var(--gk-sans) !important; font-weight: 700 !important; font-size: 15px !important; }

/* Profil autora: „Moje wpisy” (kod z XYZ PHP Code). */
.elementor-shortcode:has(> .moje-wpisy) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.moje-wpisy { display: flex; flex-direction: column; gap: 6px; background: transparent; }
.wpis-foto { order: 0; }
.wpis-foto a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: var(--gk-surface-2); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.wpis-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.wpis-foto a:hover img { transform: scale(1.04); }
.wpis-tytul { order: 1; font-family: var(--gk-serif); font-weight: 700; font-size: 16px; line-height: 1.3; }
.wpis-tytul a { color: var(--gk-ink) !important; text-decoration: none !important; }
.wpis-tytul a:hover { color: var(--gk-green) !important; }
.wpis-data { order: 2; font-size: 12px; color: var(--gk-muted); line-height: 1.5; }
.wpis-data a { color: var(--gk-green) !important; text-decoration: none !important; }
.paginacja { grid-column: 1 / -1; display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.paginacja a { display: inline-flex; align-items: center; height: 42px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--gk-line-2); color: var(--gk-ink) !important; font-weight: 600; text-decoration: none !important; }
.paginacja a:hover { background: var(--gk-ink); color: var(--gk-bg) !important; }
@media (max-width: 900px) { .elementor-shortcode:has(> .moje-wpisy) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } }

/* Inne stare klasy. */
.hide-me .post-title { display: none; }
.tagi a { display: inline-block; margin: 4px; padding: 4px 10px; border-radius: 999px; background: var(--gk-surface-2); color: var(--gk-ink); font-size: 13px; }
.tagi a::before { content: "#"; }
.kategoria a { display: inline-block; margin-right: 6px; padding: 3px 10px; border-radius: 999px; background: var(--gk-green); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { width: 100%; max-width: 600px; padding: 10px 12px; border: 1px solid var(--gk-line-2); border-radius: 8px; background: var(--gk-surface); color: var(--gk-ink); font: inherit; }
.wpcf7 input[type="submit"], .forminator-button-submit { background: var(--gk-green) !important; color: #fff !important; border: 0; border-radius: 999px !important; padding: 10px 24px; font-weight: 700; cursor: pointer; }

/* Profil autora: ikonki „Ulubiony…” obok tekstu, mniejsze zdjęcie na telefonie. */
.profil-bg .elementor-icon-box-wrapper { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px; text-align: left !important; }
.profil-bg .elementor-icon-box-icon { margin: 0 !important; float: none !important; padding: 0 !important; flex: none; }
.profil-bg .elementor-icon-box-icon .elementor-icon { font-size: 30px !important; }
.profil-bg .elementor-icon-box-icon .elementor-icon svg { width: 30px; height: 30px; }
@media (max-width: 767px) {
	.autor-foto img { max-width: 180px; display: block; margin-inline: auto; }
	.profil-bg .elementor-widget-heading .elementor-heading-title { text-align: center; }
}

/* --- Redakcja i profile autorów (nowy wygląd) ---------------------------- */

.gk-kicker--light { color: #9fd3a1; text-decoration: none; }
.gk-team-head, .gk-profile-head { position: relative; overflow: hidden; background: var(--gk-head-bg); color: #fff; }
.gk-team-head::after, .gk-profile-head::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--gk-gradient); }
.gk-team-head__inner { padding-block: 56px 48px; display: grid; gap: 14px; }
.gk-team-head__title { font-size: clamp(40px, 6vw, 64px); line-height: 1; color: #fff !important; }
.gk-team-head__lead { max-width: 58ch; margin: 0; font-family: var(--gk-serif); font-size: 19px; line-height: 1.55; color: #d9d6cf; }
.gk-team-head__stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 14px 0 0; }
.gk-team-head__stats div { display: flex; flex-direction: column-reverse; }
.gk-team-head__stats dd { margin: 0; font: 400 34px/1 "Alfa Slab One", var(--gk-serif); font-variant-numeric: tabular-nums; }
.gk-team-head__stats dt { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9a978f; }

.gk-team__body { display: flex; flex-direction: column; gap: 52px; padding-block: 48px 64px; }
.gk-team__chief-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gk-chief { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px; border-radius: var(--gk-radius); background: var(--gk-surface); box-shadow: var(--gk-shadow); color: var(--gk-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.gk-chief:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.12); color: var(--gk-ink); }
.gk-chief__photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.gk-chief__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 4px; }
.gk-chief__name { font: 700 30px/1.1 var(--gk-serif); }
.gk-chief__quote { font: italic 16px/1.55 var(--gk-serif); color: var(--gk-muted); }
.gk-chief__bio { font: italic 14px/1.55 var(--gk-serif); color: var(--gk-ink-2); }
.gk-chief .gk-more { margin-top: auto; }

.gk-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.gk-person { display: flex; flex-direction: column; gap: 6px; color: var(--gk-ink); text-decoration: none; }
.gk-person:hover { color: var(--gk-ink); }
.gk-person__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--gk-radius); margin-bottom: 8px; filter: saturate(.9); transition: filter .25s ease, transform .25s ease; }
.gk-person:hover .gk-person__photo { filter: saturate(1.1); transform: translateY(-3px); }
.gk-person__initials { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--gk-radius); background: var(--gk-gradient); color: #fff; font: 400 56px/1 "Alfa Slab One", serif; }
.gk-person__role { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gk-kicker); }
.gk-person__name { font: 700 21px/1.2 var(--gk-serif); }
.gk-person:hover .gk-person__name { color: var(--gk-green); }
.gk-person__topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.gk-person__topics li { padding: 3px 9px; border-radius: 999px; background: var(--gk-surface-2); color: var(--gk-muted); font-size: 12px; }
.gk-person__topics--lg li { font-size: 13px; padding: 5px 12px; color: var(--gk-ink); }

.gk-team__join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; border-radius: var(--gk-radius); background: var(--gk-gradient); color: #fff; }
.gk-team__join h2 { color: #fff !important; font-size: 26px; margin-bottom: 6px; }
.gk-team__join p { margin: 0; max-width: 56ch; color: rgba(255,255,255,.85); }

.gk-profile-head__inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 10px 40px; padding-block: 48px; }
.gk-profile-head__photo { grid-row: 1 / 3; align-self: start; }
.gk-profile-head__text { align-self: start; }
.gk-profile-head__more { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gk-profile-head__photo img, .gk-profile-head__photo .gk-person__initials { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--gk-radius); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.gk-profile-head__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gk-profile-head__name { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; color: #fff !important; }
.gk-profile-head__role { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fd3a1; }
.gk-profile-head__edit { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font: 600 13px/1 var(--gk-sans); text-decoration: none; }
.gk-profile-head__edit:hover { background: rgba(255,255,255,.24); color: #fff; }
.gk-profile-head__quote { margin: 10px 0 4px; padding-left: 18px; border-left: 3px solid #4c9a2a; max-width: 62ch; }
.gk-profile-head__quote p { margin: 0; font: italic 18px/1.55 var(--gk-serif); color: #e6e3dc; }
.gk-profile-head__quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: #9a978f; }
.gk-profile-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 8px; font-size: 14px; color: #b9b5ad; }
.gk-profile-head__meta b { font: 400 22px/1 "Alfa Slab One", serif; color: #fff; margin-right: 4px; }
.gk-profile-head__links { display: flex; gap: 8px; }
.gk-profile-head__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.gk-profile-head__topics > span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a978f; }
.gk-profile-head__topics ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gk-profile-head__topics li { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 13px; }
.gk-icon-btn--glass { background: rgba(255,255,255,.1); color: #fff !important; }
.gk-icon-btn--glass:hover { background: var(--gk-green); }

.gk-profile__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-block: 44px 64px; }
.gk-profile__main .gk-tabs a { display: inline-flex; align-items: center; text-decoration: none; }
.gk-tab[aria-current="true"] { background: var(--gk-ink); color: var(--gk-bg); border-color: var(--gk-ink); }
.gk-profile__pages { margin-top: 32px; }
.gk-profile__side { display: flex; flex-direction: column; gap: 20px; }
.gk-profile__bio p { margin: 0 0 10px; font-family: var(--gk-serif); line-height: 1.65; }
.gk-favs { margin: 0; display: grid; gap: 8px; }
.gk-favs__row { position: relative; overflow: hidden; display: grid; gap: 2px; padding: 12px 64px 12px 14px; border-radius: 8px; background: linear-gradient(90deg, var(--gk-surface-2) 55%, color-mix(in srgb, var(--gk-green) 14%, var(--gk-surface-2))); }
.gk-favs__icon { position: absolute; right: -6px; top: 50%; width: 62px; height: 62px; transform: translateY(-50%) rotate(-8deg); color: var(--gk-green); opacity: .35; transition: transform .3s ease, opacity .3s ease; }
.gk-favs__row:hover .gk-favs__icon { transform: translateY(-50%) rotate(0deg) scale(1.08); opacity: .6; }
.gk-favs dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gk-muted); }
.gk-favs dd { margin: 0; font: 600 16px/1.35 var(--gk-serif); }

@media (max-width: 1100px) {
	.gk-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gk-team__chief-list { grid-template-columns: minmax(0, 1fr); }
	.gk-profile__body { grid-template-columns: minmax(0, 1fr); }
	.gk-profile__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); order: -1; }
}
@media (max-width: 700px) {
	.gk-team-head__inner { padding-block: 36px 32px; }
	.gk-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.gk-person__name { font-size: 17px; }
	.gk-chief { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px; }
	.gk-chief__name { font-size: 22px; }
	.gk-chief__quote, .gk-chief__bio { display: none; }
	.gk-profile-head__inner { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto; gap: 18px; padding-block: 28px; }
	.gk-profile-head__photo { grid-row: auto; align-self: start; }
	.gk-profile-head__text { align-self: start; }
	.gk-profile-head__more { grid-column: 1 / -1; }
	.gk-profile-head__quote p { font-size: 16px; }
	.gk-team__join { padding: 22px; }
}

/* --- Strona główna: zróżnicowane sekcje (2026-11) ---------------------- */

html, body { overflow-x: clip; }

/* Pas na całą szerokość okna, choć treść zostaje w kolumnie. */
.gk-bleed { position: relative; isolation: isolate; padding-block: 40px; }
.gk-bleed::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--gk-bleed-bg, var(--gk-band)); }

/* Ciemny pas – lokalnie kolory jak w trybie ciemnym. */
.gk-catsec--dark, .gk-multi {
	--gk-bg: #0f1417; --gk-surface: #1b2329; --gk-surface-2: #24303a;
	--gk-ink: #f1efe9; --gk-ink-2: #d2d0ca; --gk-muted: #a9b2b8;
	--gk-line: #2c3a44; --gk-line-2: #3c4c57;
	--gk-link: #8fc9ef; --gk-kicker: #8fd18a;
	color: var(--gk-ink);
}
.gk-catsec--dark { --gk-bleed-bg: linear-gradient(160deg, #13212b, #0f1417); }
.gk-catsec--dark .gk-section-title a:hover { color: var(--gk-kicker); }
.gk-catsec--feature { --gk-bleed-bg: var(--gk-band); }

/* Nagłówek: tytuł | przyciski | „Zobacz wszystkie” w jednej linii. */
.gk-catsec .gk-section-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; }
.gk-catsec .gk-tabs { justify-self: start; }
.gk-catsec .gk-section-head > .gk-more { grid-column: 3; justify-self: end; }
.gk-more:hover { text-decoration: underline; }
.gk-more--light { color: #fff; }

/* Wielogłosy. */
.gk-multi { --gk-bleed-bg: radial-gradient(1200px 400px at 85% 0%, rgba(46, 125, 50, .55), transparent 60%), linear-gradient(120deg, #0e3150 0%, #10283a 55%, #123524 100%); padding-block: 48px 52px; }
.gk-multi__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.gk-multi__kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8fd18a; margin-bottom: 6px; }
.gk-multi__title { font: clamp(34px, 5vw, 56px)/1 var(--gk-display); letter-spacing: .5px; color: #fff; }
.gk-multi__title a:hover { color: #8fd18a; }
.gk-multi__lead { margin: 10px 0 0; max-width: 560px; color: var(--gk-ink-2); font-size: 15px; }
.gk-multi__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gk-multi__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gk-multi .gk-card--poster .gk-card__title { font-size: 15px; }

/* Duża karta wyróżniona. */
.gk-lead { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: start; }
.gk-lead__media { position: relative; display: block; }
.gk-lead__media .gk-cover { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); border-radius: 8px; }
.gk-lead__body { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.gk-lead__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.gk-lead__excerpt { margin: 0; color: var(--gk-ink-2); font-size: 15px; }
.gk-lead__more { align-self: flex-start; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--gk-surface); background: var(--gk-ink); padding: 9px 16px; border-radius: 999px; }
.gk-lead__more:hover { color: var(--gk-surface); opacity: .9; }
.gk-multi .gk-lead__more { background: linear-gradient(90deg, #2a8bd0, #3f9d45); color: #fff; }

/* Układ „wyróżniony”: duży wpis + lista. */
.gk-feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.gk-feat__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.gk-feat .gk-lead { background: var(--gk-surface); border-radius: var(--gk-radius); padding: 18px; box-shadow: var(--gk-shadow); }
.gk-feat[hidden] { display: none; }

/* Najnowsze komentarze. */
.gk-last-comments__list { list-style: none; margin: 0; padding: 0 !important; }
.gk-last-comments__list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--gk-line); }
.gk-last-comments__avatar { border-radius: 50%; width: 36px; height: 36px; }
.gk-box .gk-last-comments__who { margin: 0 0 4px; font-size: 13px; color: var(--gk-muted); line-height: 1.35; }
.gk-last-comments__who b { color: var(--gk-ink); }
.gk-last-comments__who a { color: var(--gk-link); font-weight: 600; }
.gk-box .gk-last-comments__text { margin: 0; font: italic 14px/1.45 var(--gk-serif); color: var(--gk-ink-2); }

/* Reklamy na stronie głównej: baner na pełną szerokość kolumny. */
.gk-ad--home-wide, .gk-ad--home-mid { background: transparent; padding: 0; }
.gk-ad--home-wide .gk-ad__img, .gk-ad--home-mid .gk-ad__img { width: 100%; }
.gk-ad picture { display: block; }

@media (max-width: 1100px) {
	.gk-multi__body, .gk-feat { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.gk-bleed { padding-block: 28px; }
	.gk-catsec .gk-section-head { grid-template-columns: minmax(0, 1fr) auto; }
	.gk-catsec .gk-tabs { grid-column: 1 / -1; grid-row: 2; }
	.gk-catsec .gk-section-head > .gk-more { grid-column: 2; grid-row: 1; }
	.gk-lead { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
	.gk-lead__excerpt { display: none; }
	.gk-lead__title { font-size: 19px; }
	.gk-feat .gk-lead { padding: 12px; }
	.gk-multi__more { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.gk-multi .gk-card--poster .gk-card__title { font-size: 13px; }
	.gk-multi .gk-rating--overlay { display: none; }
}

/* --- Wpis: tło nagłówka z przyciemnionego zdjęcia i znaku portalu ----- */

.gk-article-head { position: relative; overflow: hidden; isolation: isolate; }
.gk-article-head::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--gk-gradient); }
.gk-article-head__bg {
	position: absolute; inset: -30px; z-index: -2;
	background-size: cover; background-position: center 30%;
	filter: blur(6px) grayscale(.5) brightness(.9); transform: scale(1.08);
}
.gk-article-head--bg::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(115deg, rgba(18, 74, 112, .9) 0%, rgba(23, 70, 90, .78) 50%, rgba(31, 90, 42, .84) 100%);
}
.gk-article-head__mark { position: absolute; right: 7%; top: 36px; z-index: -1; opacity: .12; pointer-events: none; }
.gk-article-head__mark .gk-mark { width: 200px; height: 200px; }
.gk-article-head__mark .gk-mark { color: #fff; }
.gk-article-head__inner { position: relative; padding-block: 56px; }
@media (max-width: 760px) {
	.gk-article-head__inner { padding-block: 28px; }
	.gk-article-head__mark { display: none; }
}

/* --- Strony statyczne --------------------------------------------------- */

.gk-page, .gk-page--builder { padding-block: 0 56px; }
.gk-page-head__date { margin: 0; font-size: 13px; color: #9a978f; }
.gk-page__body { display: flex; flex-direction: column; gap: 32px; margin-top: -28px; position: relative; }
.gk-page__card { background: var(--gk-surface); border-radius: var(--gk-radius); box-shadow: var(--gk-shadow); padding: clamp(20px, 4vw, 48px); }
.gk-page__card--narrow, .gk-page-polityka-prywatnosci .gk-page__card { max-width: 860px; width: 100%; margin-inline: auto; }
.gk-page__card .gk-entry { max-width: none; }
.gk-page__card .elementor-section.elementor-section-boxed > .elementor-container { max-width: none; }
.gk-page__card .elementor-widget-text-editor { font: 17px/1.7 var(--gk-serif); color: var(--gk-ink-2); }
.gk-page__card .elementor-widget-text-editor a { color: var(--gk-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gk-page__card .elementor-heading-title { font-family: var(--gk-serif) !important; color: var(--gk-ink) !important; }

/* Stare nagłówki z gradientem → nagłówek sekcji z paskiem. */
.gk-page__card .gk-inline-title {
	display: flex; align-items: center; gap: 10px; background: none; color: var(--gk-ink); padding: 0;
	font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--gk-serif); margin: 1.6em 0 .8em;
}
.gk-page__card .gk-inline-title::before { content: ""; flex: none; width: 6px; height: 1em; border-radius: 3px; background: var(--gk-green); }
.gk-page__card .elementor > .elementor-element:first-child .gk-inline-title,
.gk-page__card .elementor-element:first-child > .elementor-widget-container > .gk-inline-title { margin-top: 0; }

/* Listy z ptaszkami. */
.gk-page__card .elementor-icon-list-items { display: grid; gap: 10px; }
.gk-page__card .elementor-icon-list-item { display: grid !important; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start !important; padding: 14px 16px !important; border-radius: 8px; background: var(--gk-surface-2); }
.gk-page__card .elementor-icon-list-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--gk-gradient); display: inline-flex !important; align-items: center; justify-content: center; }
.gk-page__card .elementor-icon-list-icon i, .gk-page__card .elementor-icon-list-icon svg { color: #fff !important; fill: #fff !important; font-size: 13px !important; width: 13px; }
.gk-page__card .elementor-icon-list-text { font: 16px/1.55 var(--gk-sans); color: var(--gk-ink) !important; padding: 0 !important; }

/* Współpraca: kafelki logotypów. */
.gk-page-wspolpraca .gk-page__card .elementor-widget-image img { border-radius: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.gk-page-wspolpraca .gk-page__card .elementor-widget-image img:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }

/* Patronaty: kolumny jako karty. */
.gk-page-patronaty .gk-page__card .elementor-widget-heading:first-child { display: none; }
.gk-page-patronaty .gk-page__card .elementor-inner-section .elementor-widget-wrap { background: var(--gk-surface-2); border-radius: var(--gk-radius); padding: 22px !important; }
.gk-page-patronaty .gk-page__card .elementor-inner-section .gk-inline-title { margin-top: 0; }
.gk-page-patronaty .gk-page__card .elementor-widget-text-editor { font: 15px/1.9 var(--gk-sans); }
.gk-page-patronaty .gk-page__card .elementor-widget-text-editor a { text-decoration: none; font-weight: 600; }
.gk-page-patronaty .gk-page__card .elementor-widget-text-editor a:hover { text-decoration: underline; }

/* Polityka prywatności: wygodna kolumna do czytania. */
.gk-page-polityka-prywatnosci .gk-page__card .elementor-widget-text-editor h2,
.gk-page-polityka-prywatnosci .gk-page__card .elementor-widget-text-editor h3,
.gk-page-polityka-prywatnosci .gk-page__card .elementor-widget-text-editor strong { color: var(--gk-ink); }

/* Kontakt. */
.gk-contact-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.gk-contact-page__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gk-contact-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--gk-radius); background: var(--gk-surface); box-shadow: var(--gk-shadow); transition: transform .2s ease; }
.gk-contact-card:hover { transform: translateY(-2px); color: inherit; }
.gk-contact-card__icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--gk-gradient); color: #fff; margin-bottom: 10px; }
.gk-contact-card__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gk-muted); }
.gk-contact-card__value { font: 700 17px/1.3 var(--gk-serif); color: var(--gk-ink); overflow-wrap: anywhere; }
.gk-contact-card--phone, .gk-contact-card--mail { grid-column: 1 / -1; }
.gk-contact-card--phone .gk-contact-card__value, .gk-contact-card--mail .gk-contact-card__value { font-size: 22px; }
.gk-contact-page__note { grid-column: 1 / -1; margin: 6px 0 0; font-size: 14px; color: var(--gk-muted); }
.gk-contact-page__note a { color: var(--gk-link); font-weight: 700; }
.gk-contact-page__form .gk-section-title { margin-bottom: 16px; }
.gk-contact-page__form .forminator-ui input, .gk-contact-page__form .forminator-ui textarea { border-radius: 8px !important; }
.gk-page__cta { margin-top: 8px; }

@media (max-width: 900px) {
	.gk-contact-page__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.gk-page__body { margin-top: -16px; }
	.gk-page__card .elementor-icon-list-item { padding: 12px !important; }
}

/* --- Formularz kontaktowy ---------------------------------------------- */

.gk-form { display: grid; gap: 16px; }
.gk-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gk-form__field { display: grid; gap: 6px; }
.gk-form__field > span { font-size: 13px; font-weight: 600; color: var(--gk-ink-2); }
.gk-form input[type="text"], .gk-form input[type="email"], .gk-form select, .gk-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--gk-line-2); border-radius: 8px;
	background: var(--gk-surface); color: var(--gk-ink); font: 16px/1.4 var(--gk-sans);
}
.gk-form textarea { resize: vertical; min-height: 140px; }
.gk-form input:focus, .gk-form select:focus, .gk-form textarea:focus { outline: 2px solid var(--gk-link); outline-offset: 1px; border-color: transparent; }
.gk-form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gk-muted); }
.gk-form__check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gk-green); }
.gk-form__check a { color: var(--gk-link); text-decoration: underline; }
.gk-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gk-form .gk-btn { justify-self: start; background: var(--gk-gradient); color: #fff; }
.gk-form__notice { margin: 0 0 16px; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.gk-form__notice--ok { background: #e6f4e7; color: #1d5e21; }
.gk-form__notice--err { background: #fbe9e7; color: #8a2a1c; }
[data-theme="dark"] .gk-form__notice--ok { background: #17301a; color: #9fd3a1; }
[data-theme="dark"] .gk-form__notice--err { background: #3a1d18; color: #f2b3a8; }
@media (max-width: 560px) { .gk-form__row { grid-template-columns: minmax(0, 1fr); } }

/* --- Wielogłosy i Prezentowniki: głosy, polecenia, spis treści --------- */
.gk-entry .gk-intro { font-size: 21px; line-height: 1.6; color: var(--gk-ink); }
.gk-preview-note { font: 600 14px/1.4 var(--gk-sans); background: #fff4d6; color: #6b4b00; border-radius: 8px; padding: 10px 14px; }

.gk-entry h2:not(.gk-inline-title):not(.elementor-heading-title) { position: relative; padding-left: 18px; scroll-margin-top: 90px; }
.gk-entry h2:not(.gk-inline-title):not(.elementor-heading-title)::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 6px; border-radius: 3px; background: var(--gk-gradient, linear-gradient(180deg, #1f6f9f, #3d8b37)); }

.gk-cast { margin: 1.6em 0; padding: 16px 18px; border: 1px solid var(--gk-line); border-radius: 14px; background: var(--gk-surface); font-family: var(--gk-sans); }
.gk-cast__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gk-muted); margin-bottom: 10px; }
.gk-entry .gk-cast__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.gk-cast__list li { margin: 0; }
.gk-entry .gk-cast__list a, .gk-cast__list li > span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--gk-bg); box-shadow: inset 0 0 0 2px var(--gk-voice); color: var(--gk-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.gk-entry .gk-voice__avatar, .gk-entry .gk-cast__avatar { border-radius: 50%; }
.gk-cast__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.gk-cast__avatar--initials, .gk-voice__avatar--initials { display: inline-grid; place-items: center; background: var(--gk-voice); color: #fff; font: 700 14px var(--gk-sans); }

.gk-toc { margin: 1.6em 0; font-family: var(--gk-sans); }
.gk-toc details { border-radius: 14px; background: var(--gk-surface); border: 1px solid var(--gk-line); padding: 14px 18px; }
.gk-toc summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.gk-entry .gk-toc ol { margin: 10px 0 0; padding-left: 1.4em; font-size: 15px; line-height: 1.5; columns: 2 220px; column-gap: 32px; }
.gk-toc li { margin: 0 0 6px; break-inside: avoid; }
.gk-entry .gk-toc a { text-decoration: none; color: var(--gk-ink); }
.gk-entry .gk-toc a:hover { color: var(--gk-link); text-decoration: underline; }

.gk-voice { --gk-voice: #1f6f9f; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; margin: 1.6em 0; }
.gk-voice__who { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-family: var(--gk-sans); align-self: start; position: sticky; top: calc(var(--gk-header-h, 70px) + 16px); }
.gk-voice__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gk-bg), 0 0 0 5px var(--gk-voice); }
.gk-voice__id { display: flex; flex-direction: column; gap: 2px; }
.gk-entry .gk-voice__name { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--gk-voice); text-decoration: none; }
[data-theme="dark"] .gk-entry .gk-voice__name { color: color-mix(in srgb, var(--gk-voice) 55%, #fff); }
.gk-voice__role { font-size: 11px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--gk-muted); }
.gk-voice__body { position: relative; padding: 18px 22px; border-radius: 4px 16px 16px 16px; background: color-mix(in srgb, var(--gk-voice) 7%, var(--gk-surface)); border-left: 4px solid var(--gk-voice); }
.gk-voice__body::before { content: ""; position: absolute; left: -12px; top: 22px; border: 8px solid transparent; border-right-color: var(--gk-voice); border-left: 0; }
.gk-voice__body > :first-child { margin-top: 0; }
.gk-voice__body > :last-child { margin-bottom: 0; }
.gk-voice + .gk-voice { margin-top: -.2em; }
.gk-voice--picks .gk-voice__body { background: none; border-left: 0; padding: 0; }
.gk-voice--picks .gk-voice__body::before { display: none; }
@media (max-width: 700px) {
	.gk-voice { grid-template-columns: 1fr; gap: 10px; }
	.gk-voice__who { position: static; flex-direction: row; text-align: left; }
	.gk-voice__avatar { width: 44px; height: 44px; }
	.gk-voice__body { padding: 14px 16px; border-radius: 16px; }
	.gk-voice__body::before { left: 18px; top: -12px; border: 8px solid transparent; border-bottom-color: var(--gk-voice); border-top: 0; }
	.gk-entry .gk-intro { font-size: 19px; }
}

.gk-pick { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 18px; margin: 0 0 16px; border-radius: 16px; background: var(--gk-surface); border: 1px solid var(--gk-line); border-top: 4px solid var(--gk-voice, var(--gk-green)); }
.gk-pick--no-media { grid-template-columns: 1fr; }
.gk-pick__media img, .gk-entry .gk-pick__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; margin: 0; display: block; box-shadow: var(--gk-shadow); }
.gk-pick__media a { display: block; }
.gk-entry .gk-pick__title { margin: 0 0 .4em; font-size: 22px; line-height: 1.25; }
.gk-pick__text { font-size: 17px; line-height: 1.6; }
.gk-pick__text p:last-child { margin-bottom: 0; }
.gk-entry .gk-pick__for { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--gk-voice, #3d8b37) 10%, var(--gk-bg)); font: 15px/1.5 var(--gk-sans); }
.gk-pick__for > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gk-voice, var(--gk-green)); margin-right: 4px; }
[data-theme="dark"] .gk-pick__for > span { color: color-mix(in srgb, var(--gk-voice) 55%, #fff); }
@media (max-width: 560px) {
	.gk-pick { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
	.gk-pick__media { width: 120px; }
	.gk-entry .gk-pick__title { font-size: 18px; }
	.gk-pick__text { font-size: 16px; }
}

/* Elementor: kit wymusza Roboto Slab – wszędzie nasza czcionka tekstowa. */
html body[class] { font-family: var(--gk-sans); color: var(--gk-ink); }
:root, body [class*="elementor-kit-"] {
	--e-global-typography-primary-font-family: "Lora"; --e-global-typography-secondary-font-family: "Lora";
	--e-global-typography-text-font-family: "Lora"; --e-global-typography-accent-font-family: "Lora";
}
body .elementor :is(p, li, a, span, strong, em, b, blockquote, td, th, h1, h2, h3, h4, h5, h6, .elementor-widget-container):not([class*="fa-"]):not([class*="eicon"]):not(.elementor-icon-list-icon) { font-family: var(--gk-serif) !important; }

/* Ikony ze starego motywu (icon icon-check) → ptaszek w CSS. */
.elementor-icon-list-icon i.icon::before {
	content: ""; display: block; width: 14px; height: 14px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gk-page__card .elementor-icon-list-icon i.icon { display: block; color: #fff; }

/* Przycisk „do góry”. */
.gk-totop {
	position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: var(--gk-gradient); color: #fff; cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22); opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.gk-totop svg { transform: rotate(180deg); }
.gk-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.gk-totop:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.gk-totop:focus-visible { outline: 3px solid var(--gk-link); outline-offset: 3px; }
@media (max-width: 700px) { .gk-totop { right: 12px; bottom: 12px; width: 42px; height: 42px; } }

/* Telefony: pola formularzy min. 16px – inaczej iOS powiększa stronę przy wpisywaniu. */
@media (max-width: 980px) {
	input, textarea, select, .gk-search input { font-size: 16px; }
	.gk-search input { min-width: 0; -webkit-appearance: none; appearance: none; }
	html, body { overflow-x: clip; }
}

/* Spoiler ze starych wpisów ([ads_blur_spoiler]) – rozmyty do kliknięcia */
.gk-spoiler { filter: blur(5px); cursor: pointer; transition: filter .2s; border-radius: 3px; }
.gk-spoiler.is-open { filter: none; cursor: auto; }

/* Baner cookies (wtyczka CookieYes / cookie-law-info, wersja legacy).
   Wtyczka wstawia kolory i pozycję w atrybucie style, stąd !important.
   Zamiast szerokiego pasa: zwarta karta przy dolnej krawędzi, w kolorach motywu. */
#cookie-law-info-bar {
	left: 12px !important;
	right: auto !important;
	bottom: 12px !important;
	width: auto !important;
	max-width: 720px;
	margin: 0 !important;
	padding: 12px 16px !important;
	background: var(--gk-surface) !important;
	color: var(--gk-ink-2) !important;
	border: 1px solid var(--gk-line-2);
	border-radius: var(--gk-radius);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
	text-align: left !important;
	z-index: 9999 !important;
}
#cookie-law-info-bar,
#cookie-law-info-bar span { font: 13px/1.45 var(--gk-serif) !important; }
#cookie-law-info-bar > span { display: block; }
#cookie-law-info-bar #cookie_action_close_header {
	display: inline-block !important;
	margin: 6px 0 0 6px !important;
	padding: 7px 14px !important;
	border-radius: 999px;
	background: var(--gk-gradient) !important;
	color: #fff !important;
	font: 600 12px/1 var(--gk-serif) !important;
	letter-spacing: .02em;
	white-space: nowrap;
	vertical-align: baseline;
}
#cookie-law-info-again { display: none !important; }
@media (max-width: 600px) {
	#cookie-law-info-bar { left: 8px !important; right: 8px !important; bottom: 8px !important; padding: 10px 12px !important; }
	#cookie-law-info-bar,
	#cookie-law-info-bar span { font-size: 12px !important; line-height: 1.4 !important; }
}

/* Baner cookies – CookieYes 3.x (nowy interfejs, klasy .cky-*).
   Po aktualizacji/zapisie w CookieYes wtyczka przechodzi z wersji legacy
   (#cookie-law-info-bar) na ten interfejs i wstawia kolory w atrybutach style –
   stąd !important. Wygląd jak wyżej: zwarta karta w kolorach motywu.
   Treść i przyciski ustawia się dalej w panelu CookieYes. */
.cky-consent-container {
	left: 12px !important;
	right: auto !important;
	bottom: 12px !important;
	top: auto !important;
	width: auto !important;
	max-width: 720px !important;
}
.cky-consent-container .cky-consent-bar {
	padding: 12px 16px !important;
	background: var(--gk-surface) !important;
	color: var(--gk-ink-2) !important;
	border: 1px solid var(--gk-line-2) !important;
	border-radius: var(--gk-radius);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .18) !important;
}
.cky-consent-bar .cky-title:empty { display: none !important; }
.cky-consent-bar .cky-title { color: var(--gk-ink) !important; font: 700 15px/1.3 var(--gk-serif) !important; margin: 0 0 6px !important; padding: 0 !important; }
.cky-consent-bar .cky-notice-group { display: block !important; }
.cky-consent-bar .cky-notice-des,
.cky-consent-bar .cky-notice-des * {
	color: var(--gk-ink-2) !important;
	font: 13px/1.45 var(--gk-serif) !important;
}
.cky-consent-bar .cky-notice-des { max-height: none !important; overflow: visible !important; padding: 0 !important; }
.cky-consent-bar .cky-notice-des a,
.cky-consent-bar .cky-notice-des .cky-policy { color: var(--gk-link) !important; text-decoration: underline; border: 0; }
.cky-consent-bar .cky-notice-btn-wrapper {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	justify-content: flex-start !important;
	gap: 6px;
	margin: 8px 0 0 !important;
	padding: 0 !important;
}
.cky-consent-bar .cky-btn {
	width: auto !important;
	flex: none !important;
	margin: 0 !important;
	padding: 7px 14px !important;
	border-radius: 999px !important;
	font: 600 12px/1 var(--gk-serif) !important;
	letter-spacing: .02em;
	white-space: nowrap !important;
	min-height: 0 !important;
}
.cky-consent-bar .cky-btn-accept {
	background: var(--gk-gradient) !important;
	color: #fff !important;
	border: 0 !important;
}
.cky-consent-bar .cky-btn-reject,
.cky-consent-bar .cky-btn-customize {
	background: transparent !important;
	color: var(--gk-ink-2) !important;
	border: 1px solid var(--gk-line-2) !important;
}
.cky-btn-revisit-wrapper { display: none !important; }
@media (max-width: 600px) {
	.cky-consent-container { left: 8px !important; right: 8px !important; bottom: 8px !important; max-width: none !important; }
	.cky-consent-container .cky-consent-bar { padding: 10px 12px !important; }
	.cky-consent-bar .cky-notice-des,
	.cky-consent-bar .cky-notice-des * { font-size: 12px !important; line-height: 1.4 !important; }
}
