/**
 * Post Meta Styles
 * 
 * Styles for post metadata sidebar
 * Uses ACSS variables and BEM naming convention
 * 
 * @package Revival
 */

/* ==========================================================================
   Post Meta Container
   ========================================================================== */

   .post-meta {
	/* Container styles if needed */
}

.post-meta__section {
	margin-block-end: var(--space-l);
	padding:0;
	gap: var(--row-gap);
	align-items: flex-start;
}

.post-meta__section:last-child {
	margin-block-end: 0;
}

.post-meta__section p {
	font-size: calc(var(--text-s) * 1.25);
	line-height: var(--text-line-height);
}

.post-meta__heading {
	margin-block-end: var(--space-xs);
}

/* ==========================================================================
   Meta Items
   ========================================================================== */
   .post-meta__item {
	margin-block: calc(var(--space-xs) * .25);
	font-size: var(--text-m);
	line-height: var(--text-line-height);
	color: var(--text-color);
}

.post-meta__label {
	font-weight: 500;
	color: var(--neutral-semi-dark);
}

.post-meta__link {
	color: var(--neutral-ultra-dark);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	transition: text-decoration-color 0.2s ease;
}

.post-meta__link:hover {
	color: var(--neutral-ultra-dark);
	text-decoration-color: var(--primary);
	text-underline-offset: 4px;
}

.post-meta__excerpt {
	margin-block-end: var(--space-m);
	font-size: var(--text-m);
	line-height: 1.55;
}


/* ==========================================================================
   Resource List
   ========================================================================== */

.post-meta__resources {
	/* Additional styles if needed */
}

.resource-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--grid-gap);
	margin-block-end: var(--space-l);
	padding-inline: 0;
}



.resource-list__link {
	font-size: calc(var(--text-s) * 1.25);
	display: flex;
	align-items: center;
	gap: calc(var(--space-xs) * .5);
	border-radius: var(--radius-circle);
	text-decoration: none;
	color: var(--text-ultra-dark, currentColor);
	position: relative;
}

.resource-list__icon {
	fill: currentColor;
}

/* ==========================================================================
   Leader Card
   ========================================================================== */

   .post-meta__leaders {
	/* Additional styles if needed */
}

.leader-card {
	display: flex;
	gap: calc(var(--space-s) * .75);
	align-items: center;
	margin-block-end: var(--space-m);
	margin-inline: calc(calc(var(--text-xs) * .25) * -1);
	padding: calc(var(--text-xs) * .25) var(--space-l) calc(var(--text-xs) * .25) calc(var(--text-xs) * .25);
	border-radius: var(--radius-circle);
	text-decoration: none;
	transition: border-color 0.2s ease;
	border: 2px solid transparent;
}

.leader-card:hover {
	border: 2px solid var(--neutral-ultra-dark);
}

.leader-card:last-child {
	margin-block-end: 0;
}

/* Leader Image */
.leader-card__image {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
}

.leader-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.leader-card__placeholder {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

/* Leader Content */
.leader-card__content {
	flex: 1;
	min-width: 0;
}

.leader-card__content p {
	line-height: 1.1;
}


.leader-card__name {
	margin: 0;
	margin-block-end: var(--space-2xs);
	font-size: var(--text-m);
	font-weight: 600;
	line-height: var(--text-line-height);
	color: var(--text-color);
}

p.leader-card__bio {
	margin: 0;
	font-size: var(--text-s);
	font-weight: 500;
	line-height: var(--heading-line-height);
	color: var(--text-color);
	opacity: 0.7;
}

@media (max-width: 768px) {
	.leader-card {
		margin-inline: 0;
	}
}


/* ==========================================================================
   Image Fallback (if not already defined globally)
   ========================================================================== */

.image-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-ultra-light-text);
	color: var(--text-color);
	opacity: 0.3;
}

.image-fallback__icon {
	display: block;
}