/* Resources hub — filter + (Task 6) share/copy. Standalone; enqueued, not built. */

#resources-grid.is-loading {
	opacity: 0.45;
	transition: opacity 0.15s ease;
	pointer-events: none;
}

.resources-filter .menu-item > a {
	cursor: pointer;
}

.resources-filter .menu-item.current-menu-item > a {
	font-weight: 700;
}

.resources-empty {
	padding: 2rem 0;
	color: #666;
}

/* --- share / copy (Task 6) --- */
.resource-share {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 2rem 0;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e5e5;
}

.resource-share__label {
	font-weight: 600;
	color: #555;
}

.resource-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	background: #fff;
	color: #1a1a1a;
	cursor: pointer;
	line-height: 1;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.resource-share__btn:hover {
	background: #f4f4f4;
	border-color: #b5b5b5;
}

.resource-share__linkedin {
	color: #0a66c2;
}

.resource-toast {
	position: fixed;
	left: 50%;
	bottom: 2rem;
	transform: translateX(-50%) translateY(1rem);
	background: #1a1a1a;
	color: #fff;
	padding: 0.7rem 1.2rem;
	border-radius: 8px;
	font-size: 0.95rem;
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	z-index: 9999;
	pointer-events: none;
}

.resource-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Resource Type badge (G2/G3) — placeholder visual; per-type color/icon via [data-type] = design follow-up. */
.resource-type-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
	padding: 0.25em 0.7em;
	border-radius: 999px;
	background: rgba(20, 30, 50, 0.78);
	color: #fff;
}

.loop-case_studies .image {
	position: relative;
	display: block;
}

.loop-case_studies .image .resource-type-badge {
	position: absolute;
	top: 0.6rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.post-header .resource-type-badge {
	margin-bottom: 0.8rem;
}

/* G4 key-summary box — neutral base only; distinctive visual (blue rule, etc.) = 석현 */
.resource-key-summary {
	margin: 0 0 1.6rem;
	padding: 1rem 1.25rem;
	background: #f5f7fa;
	border-left: 3px solid #c7d0db;
	border-radius: 4px;
}

.resource-key-summary__title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
}

.resource-key-summary__list {
	margin: 0;
	padding-left: 1.1rem;
}

.resource-key-summary__list li {
	margin: 0.2rem 0;
	line-height: 1.5;
}

/* G5 Related Readings — layout scaffold only; card/visual treatment = 석현 */
.single-related-readings {
	margin: 3rem 0;
}

.related-readings {
	border-top: 1px solid #e2e8f0;
	padding-top: 1.5rem;
}

.related-readings__heading {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.related-readings__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	max-height: 15rem; /* ~3 items; scroll beyond (spec) */
	overflow-y: auto;
}

.related-readings__link {
	display: block;
	text-decoration: none;
	line-height: 1.5;
}

/* G7 blog share — top-right placement scaffold; visual = 석현 */
.single-post-share--top {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 1rem;
}

/* G8 case-study quote — blockquote semantics; visual size kept by existing
   .case-quote rules (석현). Reset only the UA blockquote margin. */
blockquote.case-quote {
	margin: 0;
}

.case-quote-share {
	margin-top: 1rem;
}
