/* RaviElson Info Columns — wg Figmy (node 1392:2998).

   Wariant `dark` maluje turkusowy pas sam z siebie — tak wygląda sekcja
   w projekcie i tylko tak działa na zwykłej stronie bez Elementora.
   Wariant `light` zostawia tło do ustawienia w Elementorze (stare zachowanie). */

.ric {
	--ric-turkus: #175864;
	--ric-turkus-3: #10404a;
	--ric-limonka: #c0eb00;
	--ric-bez: #f5ece1;
	--ric-white: #fffdfa;

	width: 100%;
	font-family: "Alexandria", sans-serif;
}

.ric__inner {
	width: 100%;
	max-width: 1337px;
	margin: 0 auto;
	padding: 0 20px;
}

.ric--dark {
	background: var(--ric-turkus);
	padding: 72px 0;
}

/* ── Nagłówek sekcji ── */

.ric__header {
	text-align: center;
	margin-bottom: 48px;
}

.ric .ric__heading {
	margin: 0;
	font-family: "Alexandria", sans-serif;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.25;
	font-weight: 700;
	color: var(--ric-turkus);
}

.ric--dark .ric__heading {
	color: #ffffff;
}

.ric .ric__sub {
	max-width: 780px;
	margin: 16px auto 0;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--ric-turkus);
}

.ric--dark .ric__sub {
	color: var(--ric-limonka);
}

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

/* ── Grafika u góry (mapa świata) ── */

.ric__top {
	margin-bottom: 48px;
}

.ric .ric__top img {
	width: 100% !important;
	height: auto !important;
	display: block;
}

/* ── Dwie kolumny ── */

.ric__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.ric__col {
	background: var(--ric-white);
	padding: 32px;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.ric__head {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(23, 88, 100, 0.2);
	margin-bottom: 24px;
	flex: 0 0 auto;
}

.ric__logo {
	flex: 0 0 auto;
	width: 72px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ric .ric__logo img {
	max-width: 100% !important;
	max-height: 100% !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	display: block;
}

.ric__headText {
	flex: 1 1 auto;
	min-width: 0;
}

.ric .ric__title {
	margin: 0 0 8px;
	font-family: "Alexandria", sans-serif;
	font-weight: 700;
	font-size: clamp(18px, 1.8vw, 24px);
	line-height: 1.3;
	color: var(--ric-turkus);
}

.ric .ric__intro {
	margin: 0;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ric-turkus);
}

/* ── Lista pozycji z ikonami ── */

.ric ul.ric__rows {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.ric li.ric__row {
	list-style: none;
	margin: 0;
	padding: 16px 0;
	display: flex;
	align-items: center;
	gap: 20px;
	border-bottom: 1px solid rgba(23, 88, 100, 0.15);
	flex: 1 1 auto;
}

.ric li.ric__row:last-child {
	border-bottom: none;
}

.ric__rowIcon {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ric-bez);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ric__rowIcon:empty {
	display: none;
}

.ric .ric__rowIcon img {
	width: 26px !important;
	height: 26px !important;
	object-fit: contain !important;
	display: block;
}

.ric__rowText {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ric-turkus);
}

.ric__rowText strong {
	font-weight: 700;
}

/* ── Pasek przypisu ── */

/* Kolory pobrane próbkowaniem rendera z Figmy: wypełnienie #154f5a na tle
   sekcji #175864, do tego jaśniejszy obrys — sam kolor tła byłby niewidoczny. */
.ric__note {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
	padding: 24px 32px;
	background: #154f5a;
	border: 1px solid #378190;
	overflow: hidden;
}

.ric .ric__noteIcon {
	flex: 0 0 auto;
	width: 48px !important;
	height: 48px !important;
	object-fit: contain !important;
	display: block;
}

.ric__noteText {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ric-white);
}

/* Dekoracyjna grafika (panorama miasta) w prawej części paska. */
.ric .ric__noteDeco {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 100% !important;
	width: auto !important;
	max-width: 45% !important;
	object-fit: contain !important;
	object-position: right bottom !important;
	opacity: 0.85;
	pointer-events: none;
	z-index: 0;
}

@media (max-width: 900px) {
	.ric__cols {
		grid-template-columns: 1fr;
	}

	.ric__top {
		margin-bottom: 32px;
	}
}

@media (max-width: 560px) {
	.ric__col {
		padding: 24px;
	}

	.ric__head {
		flex-direction: column;
		gap: 16px;
	}

	.ric__rowIcon {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}

	.ric__note {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 20px 24px;
	}
}
