/* =========================================================
   SOLARBLOG HOMEPAGE — AdsWeb
   UI v6.1

   Astra odpowiada za:
   - szerokość strony,
   - gutter lewy/prawy,
   - główny kontener.

   .sb-home:
   - bez max-width
   - bez padding-left/right
   - bez margin-left/right

   Padding występuje wyłącznie wewnątrz kart.
   ========================================================= */


/* =========================================================
   DESIGN TOKENS / RESET
   ========================================================= */

.sb-home {
	--sb-primary: var(--ast-global-color-0, #022492);
	--sb-navy: var(--ast-global-color-1, #1d2b5a);
	--sb-heading: var(--ast-global-color-2, #0f172a);
	--sb-text: var(--ast-global-color-3, #364151);
	--sb-white: var(--ast-global-color-4, #ffffff);
	--sb-border: var(--ast-border-color, #d1dae5);

	--sb-yellow: #facd07;

	--sb-muted: #697483;
	--sb-muted-light: #87919f;

	--sb-card: #f6f7f8;
	--sb-card-light: #fafbfc;
	--sb-card-border: #e0e5ea;

	width: 100%;
	margin: 0;
	padding: 0;

	font-family: "Karla", sans-serif;
	font-size: 17px;
	line-height: 1.35;

	color: var(--sb-text);
}

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

.entry-content .sb-home a,
.sb-home a {
	text-decoration: none !important;
}

.sb-home img {
	display: block;
	max-width: 100%;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.sb-home__title,
.sb-section__title,
.sb-card__title,
.sb-topic__title,
.sb-popular__title {
	font-family: "Rubik", sans-serif;
}

.sb-home__title,
.sb-section__title,
.sb-card__title,
.sb-topic__title,
.sb-popular__title,
.sb-home p {
	text-wrap: pretty;
}


/* =========================================================
   INTRO
   ========================================================= */

.sb-home__intro {
	position: relative;

	margin: 0 0 48px;
	padding: 0 0 25px;

	border-bottom: 1px solid var(--sb-border);
}

.sb-home__intro::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: -2px;

	width: 88px;
	height: 4px;

	border-radius: 4px;

	background:
		linear-gradient(
			90deg,
			var(--sb-primary) 0 74%,
			var(--sb-yellow) 74% 100%
		);
}

.sb-home__intro-content {
	margin: 0;
	padding: 0;
}

.ast-container .sb-home h1.sb-home__title {
	margin: 0 0 11px !important;
	padding: 0 !important;

	font-family: "Rubik", sans-serif !important;
	font-size: 42px !important;
	line-height: 1.18 !important;
	font-weight: 600 !important;
	letter-spacing: -0.025em;

	color: var(--sb-navy) !important;
}

.sb-home__lead {
	margin: 0 !important;
	padding: 0 !important;

	font-size: 18px;
	line-height: 1.55;
	font-weight: 400;

	color: var(--sb-muted);
}


/* =========================================================
   COMMON SECTION
   ========================================================= */

.sb-section {
	position: relative;

	margin: 72px 0 0;
	padding: 0;
}

.sb-section--latest {
	margin-top: 0;
}

.sb-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 20px;

	margin: 0 0 24px;
	padding: 0 0 13px;

	border-bottom: 1px solid var(--sb-card-border);
}

.sb-section__heading {
	min-width: 0;
}

.sb-section__title {
	position: relative;

	margin: 0 !important;
	padding: 0 0 0 15px !important;

	font-size: 28px !important;
	line-height: 1.2 !important;
	font-weight: 600 !important;
	letter-spacing: -0.015em;

	color: var(--sb-heading) !important;
}

.sb-section__title::before {
	content: "";

	position: absolute;
	left: 0;
	top: 2px;
	bottom: 2px;

	width: 4px;

	border-radius: 6px;

	background: var(--sb-primary);
}

.sb-section__body {
	margin: 0;
	padding: 0;
}


/* =========================================================
   SECTION CTA
   ========================================================= */

.sb-section__more {
	display: inline-flex;
	align-items: center;

	gap: 7px;

	flex: 0 0 auto;

	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;

	color: var(--sb-primary) !important;

	white-space: nowrap;

	transition: color .18s ease;
}

.sb-section__more-arrow {
	display: inline-block;

	font-size: 17px;
	line-height: 1;

	transition: transform .18s ease;
}

.sb-section__more:hover {
	color: var(--sb-navy) !important;
}

.sb-section__more:hover .sb-section__more-arrow {
	transform: translateX(3px);
}


/* =========================================================
   MEDIA / IMAGES
   ========================================================= */

.sb-media {
	position: relative;

	display: block;

	width: 100%;

	overflow: hidden;

	background: #e9edf1;
}

.sb-media--hero,
.sb-media--topic {
	aspect-ratio: 16 / 9;
}

.sb-media--recommended {
	aspect-ratio: 3 / 2;
}

.sb-media--popular {
	width: 112px;

	aspect-ratio: 4 / 3;

	border-radius: 8px;
}

.sb-media__img {
	display: block !important;

	width: 100% !important;
	height: 100% !important;

	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover !important;
	object-position: center center !important;

	border-radius: 0 !important;

	transform: scale(1);

	transition:
		transform .36s cubic-bezier(.2, .6, .2, 1);
}

.sb-media__placeholder {
	width: 100%;
	height: 100%;

	background:
		linear-gradient(
			135deg,
			#edf0f3,
			#e2e7eb
		);
}

@media (hover: hover) {

	.sb-card:hover .sb-media__img,
	.sb-topic:hover .sb-media__img,
	.sb-popular__item:hover .sb-media__img {
		transform: scale(1.035);
	}

}


/* =========================================================
   BADGES
   ========================================================= */

.sb-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

	gap: 6px;

	margin: 0 0 9px;
	padding: 0;
}

.sb-badge {
	display: inline-flex;
	align-items: center;

	max-width: 100%;

	padding: 4px 7px;

	border-radius: 4px;

	background: #edf2ff;

	font-family: "Karla", sans-serif;
	font-size: 10.5px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: .035em;
	text-transform: uppercase;

	color: var(--sb-primary) !important;

	transition:
		background .18s ease,
		color .18s ease;
}

.sb-badge:hover {
	background: var(--sb-primary);
	color: #fff !important;
}

.sb-badge--more,
.sb-badge--more:hover {
	background: #eceff2;
	color: #717b87 !important;

	cursor: default;
}


/* =========================================================
   DATE
   ========================================================= */

.sb-date {
	font-size: 12.5px;
	line-height: 1.35;
	font-weight: 400;

	color: var(--sb-muted-light);
}


/* =========================================================
   COMMON ARTICLE
   ========================================================= */

.sb-card {
	min-width: 0;
}

.sb-card__image-link {
	display: block;
}

.sb-card__content {
	min-width: 0;
}

.sb-card__title {
	margin: 0 !important;
	padding: 0 !important;

	font-weight: 600 !important;
	letter-spacing: -0.012em;

	color: var(--sb-heading) !important;
}

.sb-card__title a {
	color: inherit !important;

	transition: color .18s ease;
}

.sb-card__title a:hover,
.sb-card:hover .sb-card__title a {
	color: var(--sb-primary) !important;
}

.sb-card__lead {
	color: var(--sb-muted);
}

.sb-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 12px;

	margin-top: auto;
	padding-top: 13px;
}

.sb-card__meta {
	margin: 0;
	padding: 0;
}


/* =========================================================
   READ MORE
   ========================================================= */

.sb-card__read-more {
	display: inline-flex;
	align-items: center;

	gap: 6px;

	flex: 0 0 auto;

	font-size: 13px;
	line-height: 1.2;
	font-weight: 700;

	color: var(--sb-primary) !important;

	white-space: nowrap;
}

.sb-card__read-more-arrow {
	display: inline-block;

	font-size: 16px;

	transition: transform .18s ease;
}

.sb-card__read-more:hover {
	color: var(--sb-navy) !important;
}

.sb-card__read-more:hover .sb-card__read-more-arrow {
	transform: translateX(3px);
}


/* =========================================================
   LATEST — DESKTOP
   ========================================================= */

.sb-latest {
	display: grid;

	/*
	 * Więcej miejsca dla materiału głównego.
	 * Prawy feed jest celowo bardziej kompaktowy.
	 */
	grid-template-columns:
		minmax(0, 1.48fr)
		minmax(0, .92fr);

	gap: 24px;

	align-items: start;
}

.sb-latest__hero,
.sb-latest__grid {
	min-width: 0;
}


/* =========================================================
   HERO
   ========================================================= */

.sb-card--hero {
	display: flex;
	flex-direction: column;

	background: transparent;

	border: 0;
	border-radius: 0;

	overflow: visible;
}

.sb-card--hero .sb-card__image-link {
	overflow: hidden;

	border-radius: 9px;
}

.sb-card--hero .sb-media {
	border-radius: 9px;
}

.sb-card--hero .sb-card__content {
	display: flex;
	flex-direction: column;

	padding: 18px 0 0;
}

.sb-card--hero .sb-badges {
	margin-bottom: 10px;
}

.sb-card--hero .sb-card__title {
	font-size: 30px !important;
	line-height: 1.18 !important;
}

.sb-card--hero .sb-card__lead {
	margin: 11px 0 0;

	font-size: 16px;
	line-height: 1.5;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;

	overflow: hidden;
}

.sb-card--hero .sb-card__footer {
	padding-top: 15px;
}


/* =========================================================
   LATEST — RIGHT NEWSFEED

   KLUCZOWA ZMIANA:
   NIE rozciągamy 4 kart na wysokość hero.
   ========================================================= */

.sb-latest__grid {
	display: grid;

	grid-template-columns: 1fr;

	/*
	 * Naturalna wysokość każdego elementu.
	 */
	grid-template-rows: none;
	grid-auto-rows: auto;

	gap: 9px;

	align-content: start;
	align-self: start;
}


/* =========================================================
   LATEST SMALL CARD
   ========================================================= */

.sb-card--latest {
	display: grid;

	grid-template-columns:
		118px
		minmax(0, 1fr);

	min-width: 0;

	/*
	 * Żadnego height:100%.
	 * Żadnego rozciągania.
	 */
	height: auto;

	overflow: hidden;

	border: 1px solid var(--sb-card-border);
	border-radius: 8px;

	background: var(--sb-card);

	transition:
		border-color .18s ease,
		background .18s ease,
		box-shadow .18s ease;
}

.sb-card--latest:hover {
	border-color: var(--sb-border);

	background: var(--sb-card-light);

	box-shadow:
		0 3px 12px rgba(15, 23, 42, .035);
}


/* =========================================================
   LATEST SMALL IMAGE
   ========================================================= */

.sb-card--latest .sb-card__image-link {
	display: block;

	width: 118px;
	height: 100%;
}

.sb-card--latest .sb-media {
	width: 100%;
	height: 100%;

	min-height: 112px;

	aspect-ratio: auto;

	border-radius: 0;
}


/* =========================================================
   LATEST SMALL CONTENT
   ========================================================= */

.sb-card--latest .sb-card__content {
	display: flex;
	flex-direction: column;

	min-width: 0;

	padding: 10px 11px 9px;
}


/*
 * Badge lekko wyżej optycznie.
 */
.sb-card--latest .sb-badges {
	position: relative;

	top: -1px;

	gap: 4px;

	margin-bottom: 5px;
}

.sb-card--latest .sb-badge {
	padding: 3px 5px;

	font-size: 8.5px;
}


/*
 * Tytuł nadal czytelny,
 * ale nie dominuje nad hero.
 */
.sb-card--latest .sb-card__title {
	font-size: 15.5px !important;
	line-height: 1.25 !important;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;

	overflow: hidden;
}


/*
 * Lead ma tylko jedną linię.
 * Ma wypełniać kartę, a nie ją pompować.
 */
.sb-card--latest .sb-card__lead {
	margin: 5px 0 0;

	font-size: 12.5px;
	line-height: 1.32;

	color: var(--sb-muted);

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;

	overflow: hidden;
}


/*
 * Data lewo / CTA prawo.
 */
.sb-card--latest .sb-card__footer {
	align-items: center;

	margin-top: auto;

	padding-top: 7px;
}

.sb-card--latest .sb-date {
	font-size: 11px;
}

.sb-card--latest .sb-card__read-more {
	gap: 4px;

	font-size: 11.5px;
}

.sb-card--latest .sb-card__read-more-arrow {
	font-size: 14px;
}


/* =========================================================
   TOPICS
   ========================================================= */

.sb-section--topics {
	background: transparent;
}

.sb-topics {
	display: grid;

	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	gap: 16px;
}


/* =========================================================
   TOPIC TILE
   ========================================================= */

.sb-topic {
	position: relative;

	display: block;

	min-width: 0;

	overflow: hidden;

	border: 1px solid rgba(29, 43, 90, .12);
	border-radius: 9px;

	background: var(--sb-navy);

	isolation: isolate;

	transition:
		border-color .18s ease,
		box-shadow .18s ease;
}

.sb-topic:hover {
	border-color: rgba(29, 43, 90, .30);

	box-shadow:
		0 4px 15px rgba(15, 23, 42, .05);
}

.sb-topic .sb-media {
	border-radius: 0;
}

.sb-topic .sb-media::after {
	content: "";

	position: absolute;
	inset: 0;

	z-index: 1;

	background:
		linear-gradient(
			to top,
			rgba(20, 35, 76, .94) 0%,
			rgba(20, 35, 76, .53) 39%,
			rgba(20, 35, 76, .03) 77%
		);

	transition: background .18s ease;
}

.sb-topic:hover .sb-media::after {
	background:
		linear-gradient(
			to top,
			rgba(20, 35, 76, .97) 0%,
			rgba(20, 35, 76, .60) 39%,
			rgba(20, 35, 76, .05) 77%
		);
}

.sb-topic__content {
	position: absolute;

	left: 0;
	right: 0;
	bottom: 0;

	z-index: 2;

	padding: 17px 18px 15px;
}

.sb-topic__title {
	margin: 0 0 6px !important;
	padding: 0 !important;

	font-size: 20px !important;
	line-height: 1.2 !important;
	font-weight: 600 !important;

	color: #fff !important;
}

.sb-topic__read-more {
	display: inline-flex;
	align-items: center;

	gap: 6px;

	font-size: 12px;
	line-height: 1.2;
	font-weight: 600;

	color: rgba(255, 255, 255, .82);

	transition: color .18s ease;
}

.sb-topic__arrow {
	display: inline-block;

	font-size: 15px;

	color: var(--sb-yellow);

	transition: transform .18s ease;
}

.sb-topic:hover .sb-topic__read-more {
	color: #fff;
}

.sb-topic:hover .sb-topic__arrow {
	transform: translateX(3px);
}


/* =========================================================
   RECOMMENDED
   ========================================================= */

.sb-section--recommended {
	background: transparent;
}

.sb-recommended {
	display: grid;

	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	gap: 20px;
}


/* =========================================================
   RECOMMENDED CARD
   ========================================================= */

.sb-card--recommended {
	display: flex;
	flex-direction: column;

	min-width: 0;

	overflow: hidden;

	border: 1px solid var(--sb-card-border);
	border-radius: 9px;

	background: var(--sb-card);

	transition:
		border-color .18s ease,
		background .18s ease,
		box-shadow .18s ease;
}

.sb-card--recommended:hover {
	border-color: var(--sb-border);

	background: var(--sb-card-light);

	box-shadow:
		0 4px 16px rgba(15, 23, 42, .04);
}

.sb-card--recommended .sb-media {
	border-radius: 0;
}

.sb-card--recommended .sb-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;

	padding: 18px;
}

.sb-card--recommended .sb-badges {
	margin-bottom: 9px;
}

.sb-card--recommended .sb-card__title {
	font-size: 20px !important;
	line-height: 1.3 !important;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;

	overflow: hidden;
}

.sb-card--recommended .sb-card__lead {
	margin: 10px 0 0;

	font-size: 15px;
	line-height: 1.48;

	color: var(--sb-muted);

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;

	overflow: hidden;
}

.sb-card--recommended .sb-card__footer {
	padding-top: 15px;
}


/* =========================================================
   POPULAR
   ========================================================= */

.sb-section--popular {
	padding: 30px;

	border-radius: 10px;

	background: var(--sb-navy);

	color: #fff;
}

.sb-section--popular .sb-section__header {
	border-bottom-color: rgba(255, 255, 255, .16);
}

.sb-section--popular .sb-section__title {
	color: #fff !important;
}

.sb-section--popular .sb-section__title::before {
	background: var(--sb-yellow);
}

.sb-section--popular .sb-section__more {
	color: rgba(255, 255, 255, .78) !important;
}

.sb-section--popular .sb-section__more:hover {
	color: #fff !important;
}

.sb-popular {
	display: grid;

	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	gap: 0 38px;

	margin: 0;
	padding: 0;

	list-style: none;
}


/* =========================================================
   POPULAR ITEM
   ========================================================= */

.sb-popular__item {
	display: grid;

	grid-template-columns:
		38px
		minmax(0, 1fr)
		112px;

	gap: 14px;

	align-items: center;

	min-width: 0;

	padding: 19px 0;

	border-bottom:
		1px solid rgba(255, 255, 255, .12);
}

.sb-popular__number {
	align-self: start;

	padding-top: 4px;

	font-family: "Rubik", sans-serif;
	font-size: 22px;
	line-height: 1;
	font-weight: 500;

	color: rgba(255, 255, 255, .28);
}

.sb-popular__content {
	min-width: 0;
}

.sb-section--popular .sb-badges {
	margin-bottom: 7px;
}

.sb-section--popular .sb-badge {
	background: rgba(255, 255, 255, .10);

	color: #e3e9ff !important;
}

.sb-section--popular .sb-badge:hover {
	background: #fff;

	color: var(--sb-navy) !important;
}

.sb-section--popular .sb-badge--more,
.sb-section--popular .sb-badge--more:hover {
	background: rgba(255, 255, 255, .07);

	color: rgba(255, 255, 255, .62) !important;
}

.sb-popular__title {
	margin: 0 !important;
	padding: 0 !important;

	font-size: 16px !important;
	line-height: 1.38 !important;
	font-weight: 500 !important;

	color: #fff !important;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;

	overflow: hidden;
}

.sb-popular__title a {
	color: #fff !important;

	transition: color .18s ease;
}

.sb-popular__item:hover .sb-popular__title a {
	color: var(--sb-yellow) !important;
}

.sb-popular__meta {
	margin-top: 9px;
}

.sb-section--popular .sb-date {
	font-size: 12px;

	color: rgba(255, 255, 255, .52);
}

.sb-popular__image-link {
	display: block;

	width: 112px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.sb-home__footer {
	display: flex;
	justify-content: center;

	margin: 44px 0 0;
	padding: 0;
}

.sb-home__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	gap: 8px;

	min-height: 44px;

	padding: 10px 18px;

	border: 1px solid var(--sb-primary);
	border-radius: 7px;

	background: transparent;

	font-size: 14px;
	line-height: 1;
	font-weight: 700;

	color: var(--sb-primary) !important;

	transition:
		background .18s ease,
		color .18s ease;
}

.sb-home__all-arrow {
	display: inline-block;

	font-size: 17px;

	transition: transform .18s ease;
}

.sb-home__all:hover {
	background: var(--sb-primary);
	color: #fff !important;
}

.sb-home__all:hover .sb-home__all-arrow {
	transform: translateX(3px);
}


/* =========================================================
   FOCUS
   ========================================================= */

.sb-home a:focus-visible {
	outline: 3px solid rgba(2, 36, 146, .24);
	outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.ast-container .sb-home h1.sb-home__title {
		font-size: 40px !important;
	}

	.sb-section {
		margin-top: 60px;
	}

	.sb-latest {
		grid-template-columns: 1fr;

		gap: 26px;
	}

	/*
	 * Tablet: 2x2 kompaktowe wpisy.
	 */
	.sb-latest__grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		grid-template-rows: none;
		grid-auto-rows: auto;

		gap: 12px;
	}

	.sb-card--latest {
		grid-template-columns:
			120px
			minmax(0, 1fr);
	}

	.sb-card--latest .sb-card__image-link {
		width: 120px;
	}

	.sb-card--latest .sb-media {
		min-height: 125px;
	}

	.sb-topics {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

	.sb-recommended {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

	.sb-popular {
		grid-template-columns: 1fr;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

	/*
	 * Nadal zero własnego guttera poziomego.
	 * Robi go Astra.
	 */

	.sb-home__intro {
		margin-bottom: 40px;
		padding-bottom: 22px;
	}

	.ast-container .sb-home h1.sb-home__title {
		margin-bottom: 13px !important;

		font-size: 34px !important;
		line-height: 1.2 !important;
	}

	.sb-home__lead {
		font-size: 18px;
		line-height: 1.55;
	}

	.sb-section {
		margin-top: 52px;
	}

	.sb-section__header {
		align-items: center;

		gap: 12px;

		margin-bottom: 20px;
		padding-bottom: 11px;
	}

	.sb-section__title {
		padding-left: 13px !important;

		font-size: 25px !important;
	}

	.sb-section__title::before {
		width: 3px;
	}

	.sb-section__more {
		gap: 5px;

		font-size: 12.5px;
	}


	/* =====================================================
	   HERO
	   ===================================================== */

	.sb-card--hero .sb-card__image-link,
	.sb-card--hero .sb-media {
		border-radius: 8px;
	}

	.sb-card--hero .sb-card__content {
		padding-top: 16px;
	}

	.sb-card--hero .sb-card__title {
		font-size: 27px !important;
		line-height: 1.22 !important;
	}

	.sb-card--hero .sb-card__lead {
		margin-top: 10px;

		font-size: 16px;
		line-height: 1.5;

		-webkit-line-clamp: 3;
	}

	.sb-card--hero .sb-card__footer {
		padding-top: 13px;
	}


	/* =====================================================
	   LATEST MOBILE
	   ===================================================== */

	.sb-latest {
		gap: 26px;
	}

	.sb-latest__grid {
		grid-template-columns: 1fr;

		gap: 10px;
	}

	.sb-card--latest {
		grid-template-columns:
			110px
			minmax(0, 1fr);

		border-radius: 8px;
	}

	.sb-card--latest .sb-card__image-link {
		width: 110px;
	}

	.sb-card--latest .sb-media {
		min-height: 122px;
	}

	.sb-card--latest .sb-card__content {
		padding: 10px;
	}

	.sb-card--latest .sb-badges {
		top: 0;
	}

	.sb-card--latest .sb-badge {
		font-size: 8px;
	}

	.sb-card--latest .sb-card__title {
		font-size: 15px !important;
		line-height: 1.28 !important;

		-webkit-line-clamp: 2;
	}

	.sb-card--latest .sb-card__lead {
		margin-top: 5px;

		font-size: 12.5px;
		line-height: 1.3;

		-webkit-line-clamp: 1;
	}

	.sb-card--latest .sb-card__footer {
		padding-top: 6px;
	}

	.sb-card--latest .sb-date {
		font-size: 10.5px;
	}

	.sb-card--latest .sb-card__read-more {
		font-size: 10.5px;
	}


	/* =====================================================
	   BADGES MOBILE
	   ===================================================== */

	.sb-badges {
		gap: 4px;

		margin-bottom: 7px;
	}

	.sb-badge {
		padding: 3px 5px;

		font-size: 9px;
	}


	/* =====================================================
	   TOPICS MOBILE
	   ===================================================== */

	.sb-topics {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		gap: 11px;
	}

	.sb-topic {
		border-radius: 8px;
	}

	.sb-topic__content {
		padding: 13px;
	}

	.sb-topic__title {
		margin-bottom: 5px !important;

		font-size: 17px !important;
	}

	.sb-topic__read-more {
		font-size: 10.5px;
	}


	/* =====================================================
	   RECOMMENDED MOBILE
	   ===================================================== */

	.sb-recommended {
		grid-template-columns: 1fr;

		gap: 15px;
	}

	.sb-card--recommended {
		border-radius: 8px;
	}

	.sb-card--recommended .sb-card__content {
		padding: 17px;
	}

	.sb-card--recommended .sb-card__title {
		font-size: 20px !important;
		line-height: 1.3 !important;
	}

	.sb-card--recommended .sb-card__lead {
		font-size: 15px;
		line-height: 1.48;

		-webkit-line-clamp: 2;
	}

	.sb-card__read-more {
		font-size: 12.5px;
	}


	/* =====================================================
	   POPULAR MOBILE
	   ===================================================== */

	.sb-section--popular {
		padding: 24px 17px 26px;

		border-radius: 9px;
	}

	.sb-popular__item {
		grid-template-columns:
			30px
			minmax(0, 1fr)
			88px;

		gap: 10px;

		padding: 16px 0;
	}

	.sb-popular__number {
		font-size: 19px;
	}

	.sb-popular__title {
		font-size: 15px !important;
		line-height: 1.35 !important;
	}

	.sb-popular__image-link,
	.sb-media--popular {
		width: 88px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.ast-container .sb-home h1.sb-home__title {
		font-size: 32px !important;
	}

	.sb-home__lead {
		font-size: 17px;
	}

	.sb-section__title {
		font-size: 23px !important;
	}


	/* Latest */

	.sb-card--latest {
		grid-template-columns:
			94px
			minmax(0, 1fr);
	}

	.sb-card--latest .sb-card__image-link {
		width: 94px;
	}

	.sb-card--latest .sb-media {
		min-height: 114px;
	}

	.sb-card--latest .sb-card__content {
		padding: 9px;
	}

	.sb-card--latest .sb-card__title {
		font-size: 14.5px !important;
	}

	.sb-card--latest .sb-card__lead {
		font-size: 12px;
	}

	/*
	 * Na bardzo wąskim ekranie CTA może być krótsze,
	 * ale nadal zostaje.
	 */
	.sb-card--latest .sb-card__read-more {
		font-size: 10px;
	}


	/* Topics */

	.sb-topics {
		grid-template-columns: 1fr;
	}

	.sb-topic {
		display: grid;

		grid-template-columns:
			135px
			minmax(0, 1fr);

		min-height: 104px;
	}

	.sb-topic .sb-media {
		height: 100%;
		min-height: 104px;

		aspect-ratio: auto;
	}

	.sb-topic .sb-media::after {
		background:
			linear-gradient(
				to right,
				rgba(29, 43, 90, .03),
				rgba(29, 43, 90, .22)
			);
	}

	.sb-topic__content {
		position: static;

		display: flex;
		flex-direction: column;
		justify-content: center;

		padding: 14px;

		background: var(--sb-navy);
	}


	/* Popular */

	.sb-section--popular {
		padding-left: 14px;
		padding-right: 14px;
	}

	.sb-popular__item {
		grid-template-columns:
			25px
			minmax(0, 1fr)
			72px;

		gap: 8px;
	}

	.sb-popular__title {
		font-size: 14px !important;
	}

	.sb-popular__image-link,
	.sb-media--popular {
		width: 72px;
	}

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.sb-home *,
	.sb-home *::before,
	.sb-home *::after {
		transition: none !important;
		animation: none !important;
	}

	.sb-media__img {
		transform: none !important;
	}

}