/**
 * Person Details
 *
 * Aktivaciona klasa:
 * trde-show-person-details
 *
 * Dostupne pozicije:
 * trde-person-placement-after-title
 * trde-person-placement-bottom
 */


/* Podaci su podrazumevano sakriveni */
.trde-person-details-wrap {
	display: none;
}


/* Prikaz samo u posebno označenim blokovima */
.trde-show-person-details .trde-person-details-wrap {
	display: block;
}


/**
 * POZICIJA 1
 *
 * Ime i funkcija odmah ispod naslova.
 *
 * Klase Flex Blocka:
 * trde-show-person-details
 * trde-person-placement-after-title
 */

.trde-person-placement-after-title .trde-person-details-wrap {
	position: static;
	width: fit-content;
	max-width: 100%;
	margin-top: 9px;
	padding: 1px 0 2px 10px;
margin: 9px 0px 9px 0;
  border-left: 5px solid #FDA100;
	box-sizing: border-box;
 
}

.trde-person-placement-after-title .trde-person-name {
	margin: 0;
	padding: 0;

	font-family: Inter, sans-serif;
	font-size: 16px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0;

	color: #858585;

	overflow-wrap: break-word;
}

.trde-person-placement-after-title .trde-person-position {
	margin: 1px 0 0;
	padding: 0;

	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0;

	color: #FDA100;

	overflow-wrap: break-word;
}


/**
 * POZICIJA 2
 *
 * Ime i funkcija na dnu tekstualnog dela.
 *
 * Klase Flex Blocka:
 * trde-show-person-details
 * trde-person-placement-bottom
 */

.trde-person-placement-bottom .td_module_flex,
.trde-person-placement-bottom .td-module-container {
	height: 100%;
}

.trde-person-placement-bottom .td-module-container {
	display: flex;
	align-items: stretch;
}

.trde-person-placement-bottom .td-module-meta-info {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 100%;
	box-sizing: border-box;
}


/* Kontejner imena i funkcije */

.trde-person-placement-bottom .trde-person-details-wrap {
	display: block;
	order: 999;

	width: fit-content;
	max-width: 100%;

	margin-top: auto !important;
	padding: 1px 0 2px 10px;

	border-left: 5px solid #FDA100;
	box-sizing: border-box;
}


/* Ime i prezime */

.trde-person-placement-bottom .trde-person-name {
	display: block;

	margin: 0;
	padding: 0;

	font-family: Inter, sans-serif;
	font-size: 20px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0;

	color: #231F20;

	overflow-wrap: break-word;
}


/* Kratka funkcija */

.trde-person-placement-bottom .trde-person-position {
	display: block;

	margin: 0;
	padding: 0;

	font-family: Inter, sans-serif;
	font-size: 20px;
	font-weight: 500;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0;

	color: #FDA100;

	overflow-wrap: break-word;
}


/**
 * Osnovna struktura Person Details elementa.
 * Precizan vizuelni stil ćemo naknadno prilagoditi dizajnu.
 */
.trde-person-name,
.trde-person-position {
	display: block;
}

/**
 * KATEGORIJA — GORE DESNO NA SLICI
 *
 * Aktivaciona klasa:
 * trde-category-placement-top-right
 */

.trde-category-placement-top-right .td-image-container {
	position: relative;
}

.trde-category-placement-top-right
.td-image-container
.td-post-category {
	position: absolute !important;

	top: 15px !important;
	right: 14px !important;
	bottom: auto !important;
	left: auto !important;

	margin: 0 !important;
	transform: none !important;

	z-index: 10;
}


/**
 * KATEGORIJA PORED NASLOVA — DESNO
 *
 * U tagDiv Composeru Category position mora biti:
 * Inline
 *
 * Aktivaciona klasa:
 * trde-category-placement-title-right
 */

.trde-category-placement-title-right .td-module-meta-info {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 14px;
	align-items: center;
}

/*
 * Svi ostali direktni elementi podrazumevano
 * zauzimaju celu širinu.
 */
.trde-category-placement-title-right .td-module-meta-info > * {
	grid-column: 1 / -1;
}

/* Naslov ostaje levo */
.trde-category-placement-title-right
.td-module-meta-info
> .entry-title {
	grid-column: 1;
	grid-row: 1;

	min-width: 0;
	margin-bottom: 0 !important;
}

/* Kontejner kategorije ide desno od naslova */
.trde-category-placement-title-right
.td-module-meta-info
> .td-editor-date {
	grid-column: 2;
	grid-row: 1;

	align-self: center;

	width: auto;
	margin: 0 !important;
	padding: 0 !important;
}

/* Sama oznaka kategorije */
.trde-category-placement-title-right
.td-editor-date
.td-post-category {
	position: static !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: auto;
	margin: 0 !important;
	transform: none !important;

	white-space: nowrap;
}