/*
 * TechOn — wygląd strony (23.11.2026)
 * Ładowany na stronie i w edytorze bloków (to samo, co widać w panelu, widać na stronie).
 * Kolory firmowe: Biznes/identyfikacja-wizualna-TechOn.md
 * Klasy techon-* nadaje się w edytorze: blok → Zaawansowane → Dodatkowe klasy CSS
 * (wzorce „TechOn” mają je już ustawione).
 */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonty/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonty/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--techon-granat: #0B0656;
	--techon-granat-ciemny: #070440;
	--techon-zielen: #00E07F;
	--techon-zielen-hover: #00C470;
	--techon-zielen-tekst: #007F4A;
	--techon-tekst: #1C1C1C;
	--techon-tekst-2: #4A5568;
	--techon-jasny: #D9DBEA;
	--techon-tlo-szare: #F7F8FA;
	--techon-ramka: #E2E6EC;
	--techon-czerwony: #B42318;
	--techon-szer: 1200px;
}

body,
.editor-styles-wrapper {
	font-family: "Inter", "Segoe UI", Arial, sans-serif;
	color: var(--techon-tekst);
}

/* ---------- Przyciski (zieleń + granatowy napis — kontrast 10:1) ---------- */
.wp-block-button__link,
.wp-element-button {
	background-color: var(--techon-zielen) !important;
	color: var(--techon-granat) !important;
	font-weight: 700;
	border-radius: 10px !important;
	padding: 14px 26px;
	min-height: 48px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(11, 6, 86, .25), 0 2px 8px rgba(11, 6, 86, .12);
	border: 0;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
	background-color: var(--techon-zielen-hover) !important;
	color: var(--techon-granat) !important;
	transform: none;
}
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--techon-granat);
	outline-offset: 3px;
}
/* „Obrys” — przycisk drugorzędny */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent !important;
	color: var(--techon-granat) !important;
	border: 2px solid var(--techon-granat) !important;
	box-shadow: none;
}
.techon-granat .wp-block-button.is-style-outline > .wp-block-button__link {
	color: #fff !important;
	border-color: rgba(255, 255, 255, .6) !important;
}
.techon-granat .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .1) !important;
}

/* ---------- Sekcje strony ---------- */
.techon-sekcja {
	padding: clamp(40px, 5vw, 64px) 20px;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.techon-sekcja > *,
.techon-zaufanie > * {
	width: 100%;
	box-sizing: border-box;
	max-width: var(--techon-szer);
	margin-left: auto !important;
	margin-right: auto !important;
}
.wp-block-group.techon-sekcja { gap: 28px; }
.wp-block-group.techon-naglowek-sekcji { gap: 8px; }
.wp-block-group.techon-naglowek-sekcji > * { margin: 0 !important; }
/* Zabezpieczenie: gdyby grupa bez układu dostała pojemnik motywu — bez dodatkowego odstępu */
[class*="techon-"] > .wp-block-group__inner-container { padding: 0 !important; max-width: none !important; }
.techon-granat {
	background-color: var(--techon-granat);
	color: #fff;
}
.techon-granat h1, .techon-granat h2, .techon-granat h3, .techon-granat h4 { color: #fff; }
.techon-granat p, .techon-granat li { color: var(--techon-jasny); }
.techon-granat a:not(.wp-block-button__link) { color: #fff; }
.techon-szare { background-color: var(--techon-tlo-szare); }
.techon-hero {
	background-image: url("ikony/tlo-obwod.svg");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: cover;
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(40px, 6vw, 80px);
}
.techon-hero h1 {
	font-size: clamp(32px, 4.6vw, 52px);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0;
}
.techon-hero .wp-block-columns { align-items: center; gap: 40px; }

.techon-sekcja h2 {
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--techon-granat);
	margin: 0;
}
.techon-sekcja.techon-granat h2 { color: #fff; }
.techon-sekcja h3 { font-size: 21px; font-weight: 700; color: var(--techon-granat); margin: 0; }

.techon-nadtytul {
	font-size: 14px !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--techon-zielen-tekst) !important;
	margin-bottom: 8px !important;
}
.techon-granat .techon-nadtytul { color: var(--techon-zielen) !important; }
.techon-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--techon-tekst-2); max-width: 720px; }
.techon-granat .techon-lead { color: var(--techon-jasny); }

/* ---------- Siatki (grupa z układem „Siatka” lub klasą techon-siatka) ---------- */
.techon-siatka {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 20px;
}
.techon-siatka > * { margin: 0 !important; }

/* ---------- Karty ---------- */
.techon-karta {
	background: #fff;
	border: 1px solid var(--techon-ramka);
	border-radius: 16px;
	padding: 26px;
	display: flex;
	gap: 12px;
	box-shadow: 0 1px 2px rgba(11, 6, 86, .06);
	color: var(--techon-tekst);
}
.techon-karta > * { margin: 0 !important; }
.techon-karta p { color: var(--techon-tekst-2); line-height: 1.6; }
.techon-karta .techon-dol { margin-top: auto !important; }
.techon-granat .techon-karta {
	background: transparent;
	border-color: rgba(255, 255, 255, .16);
	box-shadow: none;
	padding: 20px;
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
}
.techon-granat .techon-karta h3 { color: #fff; font-size: 17px; }
.techon-granat .techon-karta p { color: var(--techon-jasny); font-size: 15px; line-height: 1.5; }
.wp-block-group.techon-karta-tekst { gap: 4px; flex: 1 1 auto; min-width: 0; }
.techon-karta-tekst > * { margin: 0 !important; }
.wp-block-group.techon-wpis, .wp-block-group.techon-protokol { gap: 0; }

.techon-ikona img,
.techon-ikona { width: 56px !important; height: 56px !important; margin: 0 !important; flex: none; }
.techon-ikona-mala img,
.techon-ikona-mala { width: 40px !important; height: 40px !important; margin: 0 !important; flex: none; }

.techon-cena { font-size: 15px; color: var(--techon-tekst) !important; }
.techon-cena strong { font-size: 26px; color: var(--techon-granat); }
.techon-link a { color: var(--techon-granat); font-weight: 700; text-decoration: none; }
.techon-link a:hover { text-decoration: underline; }

/* ---------- Lista z zielonymi ptaszkami ---------- */
ul.is-style-techon-ptaszki,
ul.techon-ptaszki {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}
ul.is-style-techon-ptaszki li,
ul.techon-ptaszki li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 10px;
	font-size: 17px;
}
ul.is-style-techon-ptaszki li::before,
ul.techon-ptaszki li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	background: var(--techon-zielen);
	-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='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-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='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Pasek zaufania ---------- */
.techon-zaufanie {
	background: var(--techon-tlo-szare);
	border-bottom: 1px solid #EEF1F4;
	padding: 22px 20px;
}
.techon-zaufanie > * {
	max-width: var(--techon-szer);
	margin-left: auto !important;
	margin-right: auto !important;
}
.techon-zaufanie .techon-karta {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	flex-direction: row;
	align-items: center;
	gap: 12px;
}
.techon-zaufanie h3 { font-size: 16px; }
.techon-zaufanie p { font-size: 14px; }

/* ---------- Karta „protokół” w hero ---------- */
.techon-protokol {
	background: #fff;
	color: var(--techon-tekst);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	overflow: hidden;
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
}
.techon-protokol > * { margin: 0 !important; }
.techon-protokol .techon-protokol-naglowek {
	padding: 16px 20px;
	border-bottom: 3px solid var(--techon-zielen);
	font-size: 13px;
	color: var(--techon-tekst-2) !important;
}
.techon-protokol .techon-protokol-naglowek strong { color: var(--techon-granat); font-size: 15px; }
.techon-protokol table { font-size: 13px; border-collapse: collapse; width: 100%; margin: 0; }
.techon-protokol th { background: var(--techon-granat); color: #fff; font-weight: 600; text-align: left; }
.techon-protokol td, .techon-protokol th { padding: 10px 12px; border: 0; }
.techon-protokol tr:nth-child(even) td { background: #EEF1F4; }
.techon-protokol figcaption,
.techon-protokol .techon-podpis {
	padding: 12px 20px;
	font-size: 12px !important;
	color: var(--techon-tekst-2) !important;
	background: var(--techon-tlo-szare);
	margin: 0;
	text-align: left;
}
.techon-ok { color: var(--techon-zielen-tekst); font-weight: 700; }
.techon-nok { color: var(--techon-czerwony); font-weight: 700; }

/* ---------- Kroki ---------- */
.techon-numer {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--techon-zielen);
	color: var(--techon-granat) !important;
	font-weight: 800;
	font-size: 18px !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Cennik ---------- */
.techon-cennik {
	border: 1px solid var(--techon-ramka);
	border-radius: 16px;
	overflow: hidden;
	margin: 0;
}
.techon-cennik table { border-collapse: collapse; width: 100%; margin: 0; font-size: 16px; }
.techon-cennik thead th {
	background: var(--techon-granat);
	color: #fff;
	text-align: left;
	font-size: 19px;
	padding: 18px 24px;
	border: 0;
}
.techon-cennik td { padding: 14px 24px; border: 0; }
.techon-cennik td:first-child { width: 60%; }
.techon-cennik td:last-child { text-align: right; font-weight: 700; color: var(--techon-granat); white-space: nowrap; }
.techon-cennik tbody tr:nth-child(even) td { background: var(--techon-tlo-szare); }
.techon-cennik figcaption { font-size: 14px; color: var(--techon-tekst-2); padding: 10px 24px; margin: 0; }

/* ---------- Baza wiedzy: karty z ilustracją ---------- */
.techon-wpis {
	background: #fff;
	border: 1px solid var(--techon-ramka);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.techon-wpis > * { margin: 0 !important; }
.techon-wpis .wp-block-image img { width: 100%; height: 140px; object-fit: cover; display: block; }
.techon-wpis > p, .techon-wpis > h3 { padding: 0 22px; }
.techon-wpis > p:first-of-type { padding-top: 18px; }
.techon-wpis > h3 { padding-bottom: 22px; padding-top: 6px; font-size: 19px; line-height: 1.35; }
.techon-wpis h3 a { color: var(--techon-granat); text-decoration: none; }
.techon-wpis h3 a:hover { text-decoration: underline; }
.techon-kategoria { font-size: 13px !important; font-weight: 700; color: var(--techon-zielen-tekst) !important; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- FAQ ---------- */
.techon-faq .wp-block-details {
	border: 1px solid var(--techon-ramka);
	border-radius: 12px;
	padding: 16px 20px;
	margin: 0 auto 10px !important;
}
.techon-faq summary { font-size: 18px; font-weight: 700; color: var(--techon-granat); cursor: pointer; }
.techon-faq .wp-block-details p { margin: 10px 0 0; color: var(--techon-tekst-2); line-height: 1.65; }
.techon-waska > * { max-width: 860px; }

/* ---------- Kontakt: formularz na granacie ---------- */
.techon-granat .wpcf7-form {
	background: #fff;
	border: 0;
	max-width: none;
	margin: 0;
	color: var(--techon-tekst);
}
.techon-granat .wpcf7-form p, .techon-granat .wpcf7-form label { color: var(--techon-granat); }
.techon-granat .wpcf7-form .wpcf7-list-item-label { color: var(--techon-tekst); }
.techon-granat .wpcf7-form a { color: var(--techon-granat) !important; text-decoration: underline; font-weight: 600; }

/* ---------- Telefon ---------- */
@media (max-width: 781px) {
	.techon-hero .wp-block-columns { gap: 28px; }
	.techon-karta { padding: 22px; }
	.techon-cennik td, .techon-cennik thead th { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Odstępy w kolumnach sekcji ---------- */
.techon-sekcja .wp-block-column > * { margin-top: 0; margin-bottom: 18px; }
.techon-sekcja .wp-block-column > *:last-child { margin-bottom: 0; }

/* ---------- Stopka (Wygląd → Widżety, bloki) ---------- */
#footer-widgets .wp-block-heading {
	color: var(--techon-zielen);
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 10px;
}
#footer-widgets ul.wp-block-list { list-style: none; margin: 0; padding: 0; }
#footer-widgets ul.wp-block-list li { margin: 0; }
#footer-widgets ul.wp-block-list a { display: inline-block; padding: 6px 0; color: #fff; text-decoration: none; font-size: 15px; }
#footer-widgets ul.wp-block-list a:hover { text-decoration: underline; }
#footer-widgets .wp-block-image img { height: 44px; width: auto; }

/* ---------- Podstrony usług ---------- */
.techon-podpis-cennika { font-size: 14px; color: var(--techon-tekst-2); }
.techon-hero .wp-block-buttons { gap: 12px; }
.techon-hero .techon-naglowek-sekcji .wp-block-buttons { margin-top: 12px !important; }
.techon-hero .techon-naglowek-sekcji h1 { margin-bottom: 8px !important; }

/* =====================================================================
   23.11 — DOPASOWANIE 1:1 DO PODGLĄDU (artefakt „TechOn — nowa strona główna”, v7)
   Wymiary przepisane z projektu; ta część wygrywa z regułami wyżej.
   ===================================================================== */
:root { --techon-szer: 1160px; }

/* Nagłówek strony */
body .site-header { border-bottom: 1px solid #EEF1F4; }
body .site-header .inside-header { max-width: 1200px; padding: 12px 20px; margin: 0 auto; }
body .site-logo img, body .site-header .header-image { height: 48px; width: auto; }
body .main-navigation .main-nav ul li a {
	font-size: 16px; font-weight: 500; color: var(--techon-granat);
	padding-left: 11px; padding-right: 11px; line-height: 44px;
}
body .main-navigation .main-nav ul li[class*="current-menu-"] > a { font-weight: 500; text-decoration: none; color: var(--techon-granat); }
body .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a { color: #4A5568; }
body .main-navigation .main-nav ul li.menu-przycisk > a {
	background: var(--techon-zielen); color: var(--techon-granat) !important; font-weight: 700;
	padding: 0 20px; line-height: 44px; min-height: 44px; border-radius: 8px; margin: 8px 0 8px 11px;
	box-shadow: 0 1px 0 rgba(11,6,86,.25), 0 2px 8px rgba(11,6,86,.12);
}

/* Siatki — rozciągają się na pełną szerokość jak w projekcie (auto-fit) */
.techon-siatka-230 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)) !important; gap: 20px !important; }
.techon-siatka-250 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) !important; gap: 16px !important; }
.techon-siatka-280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important; gap: 20px !important; }
.techon-siatka-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important; gap: 20px !important; }
.techon-siatka-340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important; gap: 20px !important; }
.techon-zaufanie .techon-siatka-230 { gap: 16px 20px !important; }

/* Sekcje i nagłówki sekcji */
.wp-block-group.techon-sekcja { gap: 28px; padding: clamp(40px, 5vw, 64px) 20px; }
.wp-block-group.techon-naglowek-sekcji { gap: 10px; }
.techon-sekcja > .techon-naglowek-sekcji { max-width: var(--techon-szer); }
.techon-naglowek-sekcji > * { max-width: 720px; }
.techon-sekcja .techon-nadtytul { font-size: 14px !important; font-weight: 700; letter-spacing: .08em; margin: 0 !important; }
.techon-sekcja h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.techon-sekcja .techon-naglowek-sekcji .techon-lead { font-size: 18px; line-height: 1.6; }

/* Hero */
.techon-hero.techon-sekcja { padding: clamp(40px, 6vw, 72px) 20px; }
.techon-hero .wp-block-columns { gap: 40px; align-items: center !important; margin: 0; }
/* WordPress wymusza w kolumnach align-items: normal — kolumna z kartą protokołu wyśrodkowana w pionie */
.techon-hero .wp-block-columns > .wp-block-column { align-self: center !important; }
.techon-hero .wp-block-column > * { margin: 0 0 20px !important; }
.techon-hero .wp-block-column > *:last-child { margin-bottom: 0 !important; }
.techon-hero .techon-nadtytul { font-weight: 600 !important; color: var(--techon-zielen) !important; }
.techon-hero .techon-lead { font-size: clamp(17px, 1.6vw, 20px) !important; line-height: 1.55; color: var(--techon-jasny); max-width: 560px; }
.techon-hero ul.is-style-techon-ptaszki li { font-size: 17px; margin-bottom: 10px; color: #fff; padding-left: 34px; }
.techon-hero ul.is-style-techon-ptaszki li:last-child { margin-bottom: 0; }
.techon-sekcja .wp-block-buttons { gap: 12px; }
.techon-sekcja .wp-block-button__link { font-size: 17px; padding: 15px 26px; min-height: 52px; border-radius: 10px !important; }
.techon-granat .wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid rgba(255,255,255,.55) !important; font-weight: 600; }

/* Karta protokołu */
.techon-protokol { max-width: 440px; }
.wp-block-group.techon-protokol-naglowek { padding: 16px 20px; border-bottom: 3px solid var(--techon-zielen); gap: 12px; margin: 0 !important; }
.techon-protokol-logo, .techon-protokol-logo img { height: 28px !important; width: auto !important; margin: 0 !important; }
.techon-protokol-opis { text-align: right; font-size: 12px !important; line-height: 1.4; color: #4A5568 !important; margin: 0 !important; }
.techon-protokol-opis strong { color: var(--techon-granat); font-size: 12px; font-weight: 700; }
.techon-protokol th, .techon-protokol td { padding: 10px 12px; }
.techon-protokol th:nth-child(2), .techon-protokol th:nth-child(3),
.techon-protokol td:nth-child(2), .techon-protokol td:nth-child(3) { text-align: right; }

/* Pasek zaufania (ikony liniowe granatowe 28 px) */
.techon-zaufanie { padding: 22px 20px !important; margin: 0 !important; }
.techon-ikona-linia, .techon-ikona-linia img { width: 28px !important; height: 28px !important; margin: 0 !important; flex: none; }
.techon-zaufanie .wp-block-group.techon-karta { gap: 12px; align-items: center; }
.techon-zaufanie .wp-block-group.techon-karta-tekst { gap: 0; }
.techon-atut-tytul { font-size: 16px !important; margin: 0 !important; }
.techon-atut-tytul strong { font-weight: 700; color: var(--techon-granat); }
.techon-zaufanie .techon-atut-opis { font-size: 14px !important; color: #4A5568 !important; margin: 0 !important; }

/* Karty usług */
#uslugi .techon-karta { padding: 26px; gap: 14px; }
#uslugi .techon-ikona, #uslugi .techon-ikona img { width: 52px !important; height: 52px !important; }
#uslugi .techon-karta h3 { font-size: 22px; }
#uslugi .techon-karta p { font-size: 16px; line-height: 1.6; }
#uslugi .techon-karta .techon-cena { font-size: 15px; }
#uslugi .techon-karta .techon-link a { padding: 6px 0; display: inline-block; }

/* Co sprawdzamy (ikony liniowe zielone 36 px) */
.techon-ikona-linia-duza, .techon-ikona-linia-duza img { width: 36px !important; height: 36px !important; margin: 0 !important; flex: none; }
.techon-granat .wp-block-group.techon-karta { padding: 20px; gap: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); }
.techon-granat .techon-karta-tekst { gap: 4px; }
.techon-granat .techon-atut-tytul { font-size: 17px !important; }
.techon-granat .techon-atut-tytul strong { color: #fff; }
.techon-granat .techon-atut-opis { font-size: 15px !important; line-height: 1.5; color: var(--techon-jasny) !important; margin: 0 !important; }

/* Jak pracujemy */
.techon-kroki .techon-karta { padding: 24px; gap: 10px; box-shadow: none; }
.techon-kroki h3 { font-size: 19px !important; }
.techon-kroki p:not(.techon-numer) { font-size: 15px; line-height: 1.6; }

/* Cennik */
.techon-cennik thead th { font-size: 20px; }
.wp-block-group.techon-cta-wiersz { gap: 12px 16px; }
.techon-cta-wiersz > * { margin: 0 !important; }
.techon-dopisek { font-size: 15px; color: #4A5568; }

/* Baza wiedzy */
.wp-block-group.techon-naglowek-wiersz { gap: 12px; }
.techon-naglowek-wiersz > * { margin: 0 !important; }
.techon-naglowek-wiersz .techon-link a { padding: 6px 0; display: inline-block; }
.techon-wpis .wp-block-image { background: var(--techon-granat); height: 120px; overflow: hidden; }
.techon-wpis .wp-block-image img { width: 100% !important; height: 120px !important; object-fit: cover !important; display: block; }
.techon-wpis > p:first-of-type { padding-top: 20px; }
.techon-wpis > h3 { padding-top: 8px; padding-bottom: 20px; font-size: 19px; }

/* FAQ */
.techon-faq.techon-sekcja { gap: 22px; }
.techon-faq .wp-block-details { margin: 0 auto 10px !important; }
.techon-faq .wp-block-details p { font-size: 16px; line-height: 1.65; }

/* Kontakt + formularz (Contact Form 7) jak w projekcie */
#kontakt .wp-block-columns { gap: 32px 48px; margin: 0; }
#kontakt h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
#kontakt .techon-kontakt-dane { font-size: 17px; color: var(--techon-jasny); margin-top: 16px; }
body .techon-granat .wpcf7-form { background: #fff; border: 0 !important; border-radius: 16px; padding: 24px !important; box-shadow: none !important; margin: 0 !important; max-width: none !important; }
body .techon-granat .wpcf7-form p { margin: 0 0 14px !important; }
body .techon-granat .wpcf7-form label { font-size: 15px; font-weight: 600; color: var(--techon-granat); display: block; }
body .techon-granat .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
body .techon-granat .wpcf7-form input[type="text"],
body .techon-granat .wpcf7-form input[type="email"],
body .techon-granat .wpcf7-form input[type="tel"],
body .techon-granat .wpcf7-form textarea {
	width: 100% !important; max-width: none !important; box-sizing: border-box;
	padding: 12px 14px !important; border: 1px solid #8B97A6 !important; border-radius: 8px !important;
	min-height: 44px; font: inherit; font-weight: 400; background: #fff;
}
body .techon-granat .wpcf7-form textarea { height: 120px; resize: vertical; }
body .techon-granat .wpcf7-form .wpcf7-submit { font-size: 17px !important; border: 2px solid var(--techon-granat) !important; padding: 14px 26px !important; border-radius: 10px !important; min-height: 52px; box-shadow: none !important; }

/* Stopka jak w projekcie */
body #footer-widgets.footer-widgets { background: #070440 !important; border-top: 3px solid var(--techon-zielen); padding: 44px 0 28px !important; }
body #footer-widgets .footer-widgets-container { max-width: 1200px; padding: 0 20px; }
body #footer-widgets .wp-block-heading { font-size: 15px; margin: 0 0 8px; }
body #footer-widgets ul.wp-block-list a { padding: 6px 0; font-size: 15px; }
body #footer-widgets p { font-size: 15px; margin: 0; padding: 4px 0; color: #D9DBEA; }
body #footer-widgets .wp-block-image { margin: 0 0 8px; }
body .site-footer .site-info { background: #070440 !important; color: #B9BCD6; border-top: 0; }
body .site-info .inside-site-info { max-width: 1200px; margin: 0 auto; padding: 18px 20px; border-top: 1px solid rgba(255,255,255,.15); }
body .site-info .copyright-bar { width: 100%; font-size: 14px !important; text-align: left; }
.techon-stopka-pasek { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: #B9BCD6; }
.techon-stopka-pasek a { color: #B9BCD6 !important; text-decoration: none; padding: 6px 0; display: inline-block; }
.techon-stopka-pasek a:hover { color: #fff !important; text-decoration: underline; }

@media (max-width: 768px) {
	body .site-header .inside-header { padding: 12px 16px; }
}

/* Blok „Nie widzisz swojej sytuacji?” (23.11) */
.wp-block-group.techon-nie-widzisz { background: var(--techon-tlo-szare); border: 1px dashed #8B97A6; border-radius: 16px; padding: 20px 24px; gap: 12px 20px; }
.techon-nie-widzisz > * { margin: 0 !important; }
.techon-nie-widzisz-tekst { font-size: 17px; color: var(--techon-tekst-2); max-width: 760px; }
.techon-nie-widzisz-tekst strong { color: var(--techon-granat); }

/* =====================================================================
   BAZA WIEDZY (23.11) — lista artykułów jako karty, artykuł w czytelnej kolumnie
   ===================================================================== */
body.archive, body.blog, body.search, body.single-post { background: var(--techon-tlo-szare); }
body.archive .site-content, body.blog .site-content, body.search .site-content { padding: 40px 20px 64px; }

/* Nagłówek listy (nazwa i opis kategorii — Wpisy → Kategorie) */
body.archive .page-header, body.search .page-header {
	background: var(--techon-granat) url("ikony/tlo-obwod.svg") no-repeat right center / cover;
	color: #fff; border-radius: 16px; padding: clamp(28px, 4vw, 48px) !important; margin: 0 0 24px !important;
}
body.archive .page-header .page-title, body.search .page-header .page-title { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; }
body.archive .page-header .page-title::before { content: "Baza wiedzy · TechOn"; display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--techon-zielen); margin-bottom: 10px; }
body.archive .page-header .taxonomy-description, body.archive .page-header .taxonomy-description p { color: var(--techon-jasny); font-size: 18px; line-height: 1.6; max-width: 720px; margin: 0; }

/* Siatka kart */
body.archive .site-main, body.blog .site-main, body.search .site-main {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; margin: 0;
}
body.archive .site-main > :not(article), body.blog .site-main > :not(article), body.search .site-main > :not(article) { grid-column: 1 / -1; }
body.archive .site-main > article, body.blog .site-main > article, body.search .site-main > article { margin: 0 !important; }
body.archive article .inside-article, body.blog article .inside-article, body.search article .inside-article {
	background: #fff; border: 1px solid var(--techon-ramka); border-radius: 16px; overflow: hidden;
	padding: 0 !important; display: flex; flex-direction: column; height: 100%; box-sizing: border-box;
	transition: box-shadow .15s ease, transform .15s ease;
}
body.archive article .inside-article:hover, body.blog article .inside-article:hover { box-shadow: 0 8px 24px rgba(11, 6, 86, .12); transform: translateY(-2px); }
body.archive article .post-image, body.blog article .post-image, body.search article .post-image { order: -1; margin: 0 !important; }
body.archive article .post-image img, body.blog article .post-image img, body.search article .post-image img { width: 100%; height: 120px; object-fit: cover; display: block; }
body.archive article .entry-header, body.blog article .entry-header, body.search article .entry-header { padding: 20px 22px 0; }
body.archive article .entry-title, body.blog article .entry-title, body.search article .entry-title { font-size: 19px; line-height: 1.35; font-weight: 700; margin: 0; }
body.archive article .entry-title a, body.blog article .entry-title a, body.search article .entry-title a { color: var(--techon-granat); text-decoration: none; }
body.archive article .entry-title a:hover { text-decoration: underline; }
body.archive article .entry-meta, body.blog article .entry-meta { font-size: 13px; color: #4A5568; margin-top: 8px; }
body.archive article .entry-summary, body.blog article .entry-summary, body.search article .entry-summary { padding: 0 22px; margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #4A5568; flex: 1 1 auto; }
body.archive article .entry-summary p { margin: 0 0 8px; }
body.archive article .read-more, body.blog article .read-more { color: var(--techon-granat); font-weight: 700; text-decoration: none; }
body.archive article footer.entry-meta, body.blog article footer.entry-meta { display: none; }
body.archive .paging-navigation, body.blog .paging-navigation { background: transparent; padding: 0; }

/* Pojedynczy artykuł */
body.single-post .site-content { padding: 40px 20px 64px; }
body.single-post .inside-article {
	max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--techon-ramka);
	border-radius: 16px; padding: clamp(24px, 4vw, 48px) !important; box-sizing: border-box;
}
body.single-post .featured-image, body.single-post .page-header-image-single { max-width: 820px; margin: 0 auto 24px !important; }
body.single-post .featured-image img, body.single-post .page-header-image-single img { border-radius: 16px; width: 100%; height: 260px; object-fit: cover; display: block; }
body.single-post .entry-header .entry-title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 800; color: var(--techon-granat); letter-spacing: -.01em; }
body.single-post .entry-header .entry-meta { font-size: 14px; color: #4A5568; }
body.single-post .entry-content { font-size: 18px; line-height: 1.7; color: var(--techon-tekst); }
body.single-post .entry-content h2 { font-size: 26px; font-weight: 800; color: var(--techon-granat); margin: 40px 0 12px; line-height: 1.25; }
body.single-post .entry-content h3 { font-size: 21px; font-weight: 700; color: var(--techon-granat); margin: 28px 0 8px; }
body.single-post .entry-content a:not(.wp-block-button__link) { color: var(--techon-zielen-tekst); font-weight: 600; text-decoration: underline; }
body.single-post .entry-content table { border-collapse: collapse; width: 100%; font-size: 16px; }
body.single-post .entry-content th { background: var(--techon-granat); color: #fff; text-align: left; }
body.single-post .entry-content th, body.single-post .entry-content td { padding: 10px 14px; border: 1px solid var(--techon-ramka); }
body.single-post footer.entry-meta { font-size: 14px; color: #4A5568; border-top: 1px solid var(--techon-ramka); padding-top: 16px; margin-top: 32px; }
body.single-post .post-navigation a { color: var(--techon-granat); font-weight: 600; }

/* Komentarze pod artykułem — ta sama kolumna i styl co artykuł */
body.single-post .comments-area {
	max-width: 820px; margin: 20px auto 0 !important; background: #fff; border: 1px solid var(--techon-ramka);
	border-radius: 16px; padding: clamp(24px, 4vw, 48px) !important; box-sizing: border-box;
}
body.single-post .comments-area .comment-reply-title,
body.single-post .comments-area .comments-title { font-size: 22px; font-weight: 800; color: var(--techon-granat); margin-top: 0; }
body.single-post .comments-area textarea,
body.single-post .comments-area input[type="text"],
body.single-post .comments-area input[type="email"],
body.single-post .comments-area input[type="url"] {
	width: 100%; max-width: none; box-sizing: border-box; background: #fff;
	border: 1px solid #8B97A6; border-radius: 8px; padding: 12px 14px; font: inherit; min-height: 44px;
}
body.single-post .comments-area textarea { height: 140px; }
body.single-post .comment-form-author, body.single-post .comment-form-email, body.single-post .comment-form-url { width: 100%; float: none; margin-right: 0; }
body.single-post .post-navigation .nav-previous, body.single-post .post-navigation .nav-next { font-size: 15px; }
body.single-post footer.entry-meta a { color: var(--techon-granat); }

/* Wezwanie do kontaktu pod artykułem (wzorzec zsynchronizowany) */
.wp-block-group.techon-cta-artykul {
	background: var(--techon-granat) url("ikony/tlo-obwod.svg") no-repeat right center / cover;
	border-radius: 16px; padding: clamp(24px, 4vw, 36px); margin: 40px 0 0; gap: 12px;
}
.techon-cta-artykul > * { margin: 0 !important; }
.techon-cta-artykul h2 { color: #fff !important; font-size: clamp(22px, 2.6vw, 28px) !important; margin: 0 !important; }
.techon-cta-artykul p { color: var(--techon-jasny) !important; font-size: 17px !important; }
.techon-cta-artykul .wp-block-buttons { margin-top: 8px !important; gap: 12px; }
.techon-cta-artykul .wp-block-button__link { font-size: 17px; padding: 14px 24px; min-height: 50px; text-decoration: none !important; }
.techon-cta-artykul .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff !important; border: 2px solid rgba(255,255,255,.55) !important; }
