/* Aktualności — projekt ustalony z właścicielem 2026-10-06 w osobnej rozmowie
   („ta sama rodzina" co „Współpraca": białe zaokrąglone karty, hover z czerwoną
   ramką/cieniem) — patrz `docs/decisions.md`, wpis 2026-10-06. Zmienne kolorów/
   czcionki dziedziczone z `.roll-site` (site.css). Breakpoint telefonu: 767px,
   jak w reszcie strony. */

.roll-news__archive-link {
	margin: 24px 0 0;
}

.roll-news__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* --- Karta wpisu (treść + zdjęcie obok, cała karta to jeden odnośnik) --- */
.roll-site a.roll-news__item {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--rs-border);
	border-radius: 16px;
	overflow: hidden;
	color: inherit !important;
	text-decoration: none !important;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.roll-site a.roll-news__item:hover,
.roll-site a.roll-news__item:focus-visible {
	border-color: var(--rs-red);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.roll-news__item-content {
	flex: 1 1 55%;
	min-width: 0;
	padding: 30px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.roll-news__item-thumb {
	display: block;
	flex: 1 1 45%;
	min-height: 220px;
	background: var(--rs-bg);
}

.roll-news__item-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.roll-news__item-eyebrow {
	margin-bottom: 10px;
}

.roll-news__date {
	display: inline-block;
	align-self: flex-start;
	background: #fdecec;
	color: var(--rs-red);
	border-radius: 10px;
	padding: 8px 14px;
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 14px;
}

.roll-news__date small {
	font-weight: 600;
	margin-right: 6px;
}

.roll-news__item-title {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--rs-ink);
}

.roll-news__item-excerpt {
	color: var(--rs-text);
	font-size: 15px;
	margin-bottom: 14px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.roll-news__item-excerpt p {
	margin: 0;
}

.roll-news__item-date {
	font-size: 13px;
	color: #888;
	font-weight: 600;
	margin: 0;
}

.roll-news__item-more {
	display: inline-block;
	color: var(--rs-red);
	font-weight: 700;
	font-size: 15px;
	margin-top: 10px;
}

.roll-news__item-more::after {
	content: " →";
}

@media (max-width: 767px) {
	.roll-site a.roll-news__item {
		flex-direction: column;
	}

	.roll-news__item-thumb {
		order: -1;
		min-height: 200px;
	}

	.roll-news__item-content {
		padding: 22px 20px;
	}
}

.roll-news__empty {
	color: #777;
}

.roll-news__pagination {
	margin-top: 32px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.roll-news__pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 6px;
	background: #f2f2f2;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 0.9rem;
}

.roll-news__pagination .page-numbers.current {
	background: #c60000;
	color: #fff;
}

.roll-news__pagination .page-numbers:hover:not(.current) {
	background: #e5e5e5;
}

/* --- Blok na stronie głównej --- */
.roll-news-home {
	padding-top: 56px;
	padding-bottom: 56px;
}

.roll-news-home__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.roll-site a.roll-news-home__card {
	background: #fff;
	border: 1px solid var(--rs-border);
	border-radius: 16px;
	overflow: hidden;
	color: inherit !important;
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.roll-site a.roll-news-home__card:hover,
.roll-site a.roll-news-home__card:focus-visible {
	border-color: var(--rs-red);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.roll-news-home__img {
	display: block;
	height: 180px;
	background: var(--rs-bg);
}

.roll-news-home__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.roll-news-home__body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.roll-news-home__badge {
	display: block;
	margin: 0;
}

.roll-news-home__item-title {
	display: block;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--rs-ink);
}

.roll-news-home__item-date {
	display: block;
	font-size: 13px;
	color: #888;
	font-weight: 600;
	margin-top: auto;
}

.roll-news-home__cta {
	text-align: center;
	margin: 28px 0 0;
}

@media (max-width: 767px) {
	.roll-news-home {
		padding-top: 36px;
		padding-bottom: 36px;
	}
}

/* --- Lista w widgecie stopki ([roll_aktualnosci_stopka]) --- */
.roll-news-footer {
	margin: 0;
	padding: 0;
	list-style: none;
}

.roll-news-footer__item {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px;
}

.roll-news-footer__thumb {
	flex: 0 0 auto;
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 3px;
	overflow: hidden;
}

.roll-news-footer__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.roll-news-footer__item a,
.roll-news-footer__more a {
	color: inherit;
	text-decoration: none;
}

.roll-news-footer__item a:hover,
.roll-news-footer__more a:hover {
	text-decoration: underline;
}

.roll-news-footer__more {
	margin-top: 4px;
	font-weight: 700;
}

/* --- Formularz „Potrzebujesz części?" (sekcja #czesc, wprost na stronie) --- */
.roll-part-ask {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 32px;
	align-items: start;
}

.roll-part-ask__lead {
	margin-bottom: 0;
}

.roll-part-ask__checks {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.roll-part-ask__checks li {
	display: flex;
	gap: 10px;
	font-size: 15px;
	color: var(--rs-ink);
}

.roll-part-ask__tick {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rs-red);
	flex-shrink: 0;
	position: relative;
	margin-top: 2px;
}

.roll-part-ask__tick::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 4px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.roll-part-form {
	background: #fff;
	border: 1px solid var(--rs-border);
	border-radius: 16px;
	padding: 20px;
	display: grid;
	gap: 10px;
}

.roll-part-form__two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.roll-part-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.roll-part-field {
	margin: 0;
}

.roll-part-field label {
	display: block;
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--rs-ink);
}

.roll-part-field label span {
	color: #999;
	font-weight: 400;
}

.roll-part-field input[type="email"],
.roll-part-field input[type="text"],
.roll-part-field textarea {
	width: 100%;
	border: 1.5px solid #d5d5d5;
	border-radius: 9px;
	padding: 9px 12px;
	font: inherit;
	font-size: 14px;
	box-sizing: border-box;
}

.roll-part-field input:focus,
.roll-part-field textarea:focus {
	outline: none;
	border-color: var(--rs-red);
	box-shadow: 0 0 0 3px rgba(198, 0, 0, 0.12);
}

.roll-part-field textarea {
	min-height: 56px;
	resize: vertical;
}

.roll-part-field--hint {
	margin: -2px 0 0;
	font-size: 12px;
	color: var(--rs-muted);
}

.roll-part-error {
	display: block;
	margin-top: 4px;
	color: var(--rs-red);
	font-size: 0.85rem;
	font-weight: 700;
}

.roll-part-general-error {
	color: var(--rs-red);
	font-weight: 700;
}

.roll-part-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	color: var(--rs-muted);
}

.roll-part-consent input {
	margin-top: 3px;
}

.roll-part-consent a {
	color: var(--rs-red);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.roll-part-ask {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.roll-part-form__two {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.roll-part-form {
		padding: 16px 14px;
	}
}

/* --- Lista zgłoszonych części (sekcja #lista) --- */
.roll-part-list__head {
	display: grid;
	grid-template-columns: 1.6fr 1.2fr 0.6fr auto;
	gap: 18px;
	padding: 0 22px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888;
}

.roll-part-list {
	display: grid;
	gap: 12px;
	margin-top: 8px;
}

.roll-part-list__item {
	display: grid;
	grid-template-columns: 1.6fr 1.2fr 0.6fr auto;
	gap: 10px 18px;
	align-items: center;
	padding: 16px 22px;
	background: #fff;
	border: 1px solid var(--rs-border);
	border-radius: 12px;
}

.roll-part-list__name {
	font-weight: 700;
	color: var(--rs-ink);
}

.roll-part-list__number {
	color: var(--rs-muted);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.roll-part-list__count {
	font-weight: 800;
}

.roll-part-list__count b {
	display: inline-block;
	min-width: 34px;
	text-align: center;
	background: var(--rs-bg);
	border-radius: 999px;
	padding: 3px 12px;
}

.roll-part-list__toggle {
	grid-column: 1 / -1;
	justify-self: start;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--rs-red);
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	text-decoration: underline;
}

.roll-part-list__desc {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--rs-text);
	line-height: 1.5;
}

@media (max-width: 767px) {
	.roll-part-list__head {
		display: none;
	}

	.roll-part-list__item {
		grid-template-columns: 1fr auto;
	}

	.roll-part-list__name {
		grid-column: 1 / -1;
	}

	.roll-part-list__also {
		grid-column: 1 / -1;
		text-align: center;
	}
}

/* --- Zaproszenie nad katalogiem WooCommerce --- */
.roll-part-shop-cta {
	padding: 32px 0;
}

.roll-part-shop-cta__lead {
	margin-bottom: 16px;
}

/* Pas CTA w wersji kompaktowej (`.roll-site__cta--compact`) — przeniesiony do site.css
   (2026-10-10), bo używa go też strona „Znaki towarowe”. Wymiary bez zmian. */

/* --- Modal z podziękowaniem (po wysłaniu formularza) --- */
.roll-part-thanks {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.roll-part-thanks__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.roll-part-thanks__box {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 18px;
	padding: 36px 32px;
	max-width: 420px;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.roll-part-thanks__icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #fdecec;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.roll-part-thanks__box h3 {
	margin: 0 0 8px;
}

.roll-part-thanks__box p {
	margin: 0 0 22px;
	color: var(--rs-muted);
}
