/* Nevrocenter Blog Core: article blocks (Na kratko, Koraki, Viri, Kdaj k zdravniku, Pomembno), the TPS card,
   the featured photo credit and the expert review box. Colours follow the theme (Salute accents). */

:root {
	--nbc-navy: var(--vamtam-accent-color-1, #132573);
	--nbc-coral: var(--vamtam-accent-color-2, #FF8D8D);
	--nbc-ink: var(--vamtam-accent-color-3, #2A3D53);
	--nbc-sky: var(--vamtam-accent-color-8, #E6F1F7);
	--nbc-mist: var(--vamtam-accent-color-7, #F5F5F5);
	--nbc-teal: #259d86;
	--nbc-heading: "Nexa", "Helvetica", sans-serif;
}

.is-style-na-kratko,
.is-style-viri {
	list-style: none !important;
	margin: 28px 0 32px !important;
	padding: 22px 24px 16px !important;
	background: var(--nbc-sky);
	border-left: 4px solid var(--nbc-navy);
	border-radius: 0 10px 10px 0;
}

.is-style-na-kratko::before,
.is-style-viri::before,
.is-style-kdaj-k-zdravniku::before,
.is-style-pomembno::before {
	display: block;
	margin-bottom: 10px;
	font-family: var(--nbc-heading);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--nbc-navy);
}

.is-style-na-kratko::before {
	content: "Na kratko";
}

.is-style-na-kratko li,
.is-style-viri li {
	position: relative;
	margin: 0 0 8px !important;
	padding-left: 20px;
	color: var(--nbc-ink);
}

.is-style-na-kratko li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nbc-navy);
}

/* Viri: numbered references, smaller type */
.is-style-viri {
	counter-reset: nbc-vir;
	background: var(--nbc-mist);
	border-left-color: var(--nbc-ink);
	font-size: 15px;
	line-height: 1.5;
}

.is-style-viri::before {
	content: "Viri";
	color: var(--nbc-ink);
}

.is-style-viri li {
	counter-increment: nbc-vir;
	padding-left: 28px;
	word-break: break-word;
}

.is-style-viri li::before {
	content: counter(nbc-vir) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--nbc-ink);
}

.is-style-koraki {
	list-style: none !important;
	counter-reset: nbc-korak;
	margin: 24px 0 !important;
	padding: 0 !important;
}

.is-style-koraki li {
	counter-increment: nbc-korak;
	position: relative;
	margin: 0 0 14px !important;
	padding: 2px 0 0 46px;
	min-height: 32px;
}

.is-style-koraki li::before {
	content: counter(nbc-korak);
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--nbc-navy);
	color: #fff;
	font-family: var(--nbc-heading);
	font-weight: 700;
	font-size: 14px;
	line-height: 32px;
	text-align: center;
}

.is-style-kdaj-k-zdravniku,
.is-style-pomembno {
	margin: 28px 0;
	padding: 18px 22px;
	border-radius: 0 10px 10px 0;
}

.is-style-kdaj-k-zdravniku {
	background: #fff4f4;
	border-left: 4px solid var(--nbc-coral);
}

.is-style-kdaj-k-zdravniku::before {
	content: "Kdaj k zdravniku";
	color: #b33b3b;
}

.is-style-pomembno {
	background: var(--nbc-sky);
	border-left: 4px solid var(--nbc-teal);
}

.is-style-pomembno::before {
	content: "Pomembno";
	color: var(--nbc-teal);
}

.is-style-kdaj-k-zdravniku > :last-child,
.is-style-pomembno > :last-child,
.is-style-kdaj-k-zdravniku p:last-child,
.is-style-pomembno p:last-child {
	margin-bottom: 0 !important;
}

/* TPS card and contact card */
.nbc-cta {
	margin: 32px 0;
	padding: 24px 26px;
	background: var(--nbc-navy);
	border-radius: 12px;
	color: #fff;
}

.nbc-cta--posvet {
	background: var(--nbc-sky);
	color: var(--nbc-ink);
}

.nbc-cta p {
	margin: 0 0 12px !important;
}

.nbc-cta__title {
	font-family: var(--nbc-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
}

.nbc-cta__text {
	font-size: 16px;
	line-height: 1.55;
	color: inherit;
	opacity: .92;
}

.nbc-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-bottom: 0 !important;
}

.nbc-cta a.nbc-cta__button {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 999px;
	background: var(--nbc-coral);
	color: var(--nbc-navy) !important;
	font-weight: 700;
	text-decoration: none;
}

.nbc-cta--posvet a.nbc-cta__button {
	background: var(--nbc-navy);
	color: #fff !important;
}

.nbc-cta a.nbc-cta__phone {
	color: inherit !important;
	font-weight: 700;
	text-decoration: none;
}

.nbc-cta a.nbc-cta__button:hover,
.nbc-cta a.nbc-cta__button:focus-visible {
	filter: brightness(1.05);
	text-decoration: underline;
}

/* Featured photo credit */
.nbc-photo-credit {
	display: block;
	margin: 6px 0 0 !important;
	font-size: 13px;
	line-height: 1.4;
	color: #6b7280;
	text-align: right;
}

/* Expert review */
.nbc-review {
	margin: 36px 0 8px;
	padding: 16px 20px;
	border-top: 2px solid var(--nbc-sky);
	font-size: 15px;
	line-height: 1.5;
	color: var(--nbc-ink);
}

.nbc-review__label {
	font-family: var(--nbc-heading);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--nbc-navy);
}

.nbc-review__note {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #6b7280;
}

@media (max-width: 600px) {
	.is-style-na-kratko,
	.is-style-viri {
		padding: 18px 16px 12px !important;
	}

	.nbc-cta {
		padding: 20px 18px;
	}
}
