/* ==========================================================================
   SECTION: SEO CONTENT
   Wyszarzona sekcja opisowa — hover odsłania treść.
   Dwukolumnowy layout CSS columns (jedna ciągła treść dla Google).
   Shared component — used on: oklejanie-witryn, produkty, product categories.
   ========================================================================== */

.seo {
	padding: 0 50px 100px;
	overflow: hidden;
	background-color: var(--pure-white);
	background-image: url(../images/layout/bg-lines.svg);
	background-repeat: repeat-y;
}

/* --- H2 Tytuł z border-bottom i kwadratowym wskaźnikiem --- */
.seo-title {
	font-family: var(--f-f-p);
	font-size: var(--h-m);
	font-weight: 600;
	line-height: var(--h-m-lh);
	letter-spacing: -0.02em;
	color: var(--mid-grey);
	margin: 0 0 48px 0;
	padding: 68px 0 12px 0;
	border-bottom: 3px solid var(--lite-grey);
	position: relative;
	max-width: 38rem;
}

.seo-title::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 10px;
	height: 10px;
	background-color: var(--lite-grey);
	border-radius: var(--r-5);
}

/* --- Dwukolumnowy layout --- */
.seo-content {
	column-count: 2;
	column-gap: 80px;
}

/* --- Paragrafy --- */
.seo-content p {
	font-size: var(--b-s);
	line-height: 1.8em;
	color: var(--mid-grey);
	margin: 0 0 32px 0;
	max-width: 38em;
	transition: color 0.3s ease;
}

.seo-content p:hover {
	color: var(--black);
}

.seo-content p + p {
	margin-top: -8px;
}

/* --- Linki --- */
.seo-content a {
	color: var(--silver-grey);
	text-decoration: underline;
	text-decoration-color: var(--silver-grey);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	transition: all 0.3s ease;
	padding: 0 4px;
	font-weight: 600;
}

.seo-content a:hover {
	background-color: var(--ultra-lite-grey);
	border-radius: var(--r-5);
	text-underline-offset: 8px;
}

.seo-content a strong {
	font-weight: 700;
}

/* --- H3 Podtytuły --- */
.seo-content h3 {
	font-family: var(--f-f-p);
	font-size: var(--h-s);
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--mid-grey);
	margin: 50px 0 24px 0;
	max-width: 38rem;
	break-after: avoid;
}

/* --- Listy UL (custom kwadratowe bullety) --- */
.seo-content ul,
.seo-content ol {
	margin-bottom: 32px;
	padding-left: 10px;
}

.seo-content ul li {
	list-style: none;
	padding-left: 20px;
	position: relative;
	font-size: var(--b-s);
	line-height: 1.8;
	color: var(--mid-grey);
	margin-bottom: 16px;
	max-width: 38em;
	transition: color 0.3s ease;
}

.seo-content ul li:hover {
	color: var(--black);
}

.seo-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	background-color: var(--lite-grey);
	border-radius: var(--r-5);
}

.seo-content ul li strong {
	color: var(--mid-grey);
	font-weight: 700;
}

/* --- Listy OL (numerowane z badge) --- */
.seo-content ol {
	list-style: none;
	counter-reset: item;
	padding-left: 20px;
}

.seo-content ol li {
	counter-increment: item;
	margin-bottom: 15px;
	padding-left: 40px;
	position: relative;
	font-size: var(--b-s);
	line-height: 1.8;
	color: var(--mid-grey);
	max-width: 38em;
	transition: color 0.3s ease;
}

.seo-content ol li:hover {
	color: var(--black);
}

.seo-content ol li::before {
	content: counter(item);
	background-color: var(--lite-grey);
	color: var(--pure-white);
	font-weight: 700;
	font-size: var(--b-12);
	line-height: var(--b-12);
	border-radius: var(--r-5);
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 0;
	top: 4px;
}

/* --- Obrazki (desaturated, hover animacja) --- */
.seo-content figure {
	margin-bottom: 32px;
}

.seo-content img {
	border-radius: var(--r-20);
	opacity: 0.5;
	filter: saturate(0%);
	transition: all 0.5s ease;
}

.seo-content img:hover {
	opacity: 1;
	filter: saturate(100%);
}

.seo-content ul li img {
	margin-top: 2rem;
}

/* --- Box "Zobacz także" (callout) --- */
.seo-content .zobacz-takze {
	margin: 2rem 0;
	padding: 1.5rem;
	background-color: var(--ultra-lite-grey);
	border-left: 4px solid var(--silver-grey);
	border-radius: var(--r-5);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	color: var(--silver-grey);
}

.seo-content .zobacz-takze h4 {
	font-size: var(--b-l);
	font-weight: 600;
	color: var(--black);
}

.seo-content .zobacz-takze p:first-of-type {
	margin-bottom: 0;
}

.seo-content .zobacz-takze p:not(:first-of-type) {
	margin-top: 20px;
}

.seo-content .zobacz-takze p a {
	padding-left: 25px;
	position: relative;
}

.seo-content .zobacz-takze p a::before {
	content: "\2192";
	position: absolute;
	left: -1px;
	top: -3px;
	display: block;
}

/* ==========================================================================
   RESPONSIVE - 1024px
   ========================================================================== */

@media (max-width: 1024px) {
	.seo {
		padding: 0 10px 60px;
	}

	.seo-content {
		column-count: 1;
	}
}

/* ==========================================================================
   RESPONSIVE - 768px
   ========================================================================== */

@media (max-width: 768px) {
	.seo {
		padding: 0 40px 50px;
	}

	.seo .container-wide-content {
		margin: 0 auto;
		width: 100%;
	}

	.seo-content {
		column-count: 1;
	}
}

/* ==========================================================================
   RESPONSIVE - 480px
   ========================================================================== */

@media (max-width: 480px) {
	.seo {
		padding: 0 20px 40px;
	}
}

/* ==========================================================================
   RESPONSIVE - 359px
   ========================================================================== */

@media (max-width: 359px) {
	.seo {
		padding: 0 5px 30px;
	}
}
