/* Resume layout — bubble/card container */
.resume-content {
	width: 100%;
	box-sizing: border-box;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 0, 0, 0.35);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	padding: 1.25rem 1.5rem 1.25rem 1.25rem;
}

.resume-socials {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.resume-social-link {
	display: block;
	line-height: 0;
}

.resume-social-link img {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: cover;
	border-radius: 5px;
	border: 2px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s, filter 0.2s;
}

.resume-social-link:hover img {
	border-color: #777;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.resume-body {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.resume-sidebar {
	flex: 0 1 240px;
	min-width: 200px;
}

.resume-main {
	flex: 1 1 400px;
	min-width: 0;
}

/* Sections */
.resume-section {
	margin-bottom: 1.25rem;
}

.resume-section-title {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgb(180, 180, 180);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 0.25rem;
}

.resume-item {
	margin-bottom: 0.75rem;
}

.resume-item-name {
	display: block;
	font-weight: 600;
	color: rgb(200, 200, 200);
}

.resume-dates {
	font-size: 0.9em;
	opacity: 0.85;
}

.resume-item-desc {
	margin: 0.25rem 0 0 0;
	font-size: 0.9em;
	line-height: 1.4;
}

.resume-item-skills {
	margin: 0.25rem 0 0 0;
	padding-left: 1.25em;
	font-size: 0.9em;
}

/* Bio */
.resume-bio-summary {
	margin: 0 0 0.75rem 0;
	line-height: 1.5;
}

.resume-bio-personal {
	margin-top: 0.5rem;
}

/* Tags */
.resume-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em 0.5em;
	margin: 0.25em 0;
}

.resume-tag {
	display: inline-block;
	padding: 0.2em 0.5em;
	font-size: 0.85em;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: inherit;
}

.resume-tag-personal {
	opacity: 0.95;
	background: rgba(140, 50, 50, 0.4);
	border-color: rgba(180, 80, 80, 0.5);
}

.resume-role-project-tags .resume-tag {
	background: rgba(74, 89, 110, 0.35);
	border-color: rgba(105, 120, 143, 0.5);
}

.resume-tag-tool {
	background: rgba(0, 0, 0, 0.25);
	border-color: rgba(255, 255, 255, 0.08);
}

/* Experience */
.resume-role-block {
	margin-bottom: 1.5rem;
}

.resume-role-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.25rem;
}

.resume-role-logo {
	border-radius: 8px;
	height: 36px;
	width: auto;
	object-fit: contain;
}

.resume-role-company {
	font-weight: 600;
	font-size: 1.05rem;
	color: rgb(210, 210, 210);
}

.resume-role-meta {
	margin-bottom: 0.5rem;
}

.resume-role-project {
	margin-bottom: 0.5rem;
}

.resume-role-project-bubble {
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.2);
	padding: 0.5rem 0.75rem;
	border: 1px solid transparent;
	box-shadow: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.resume-role-project-bubble:hover {
	border-color: rgba(0, 0, 0, 0.6);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.resume-role-project-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
}

.resume-role-project-summary::-webkit-details-marker {
	display: none;
}

.resume-role-project-summary::before {
	content: "▶ ";
	font-size: 1em;
	line-height: 1;
	opacity: 0.9;
	flex-shrink: 0;
	display: inline-block;
	margin-right: 0.5em;
	margin-bottom: 0.25em;
	margin-top: 0.25em;
}

details[open] > .resume-role-project-summary::before {
	transform: rotate(90deg);
}

.resume-role-project-summary-line {
	display: inline-block;
}

.resume-role-project-tags {
	flex-basis: 100%;
	padding-left: 1.75em;
	margin-top: 0.15em;
}

.resume-role-project-tools {
	flex-basis: 100%;
	padding-left: 1.75em;
	margin-top: 0.15em;
}

.resume-role-project-name {
	font-weight: 600;
	color: rgb(220, 220, 220);
}

.resume-role-project-role {
	opacity: 0.9;
}

.resume-role-project-expanded {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.resume-role-project-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.resume-role-project-gallery-item {
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	border-radius: 4px;
	overflow: hidden;
	max-width: 200px;
}

.resume-role-project-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.resume-role-project-contributions-header {
	font-size: 0.9em;
	font-weight: 600;
	margin: 0.5em 0 0.25em 0;
}

.resume-role-project-contributions {
	margin: 0.5em 0 0.75em;
	padding-left: 0;
	list-style: none;
	font-size: 0.9em;
}

.resume-role-project-contributions li {
	margin-bottom: 0.25em;
	padding-left: 1.25em;
	position: relative;
}

.resume-role-project-contributions li::before {
	content: "•";
	position: absolute;
	left: 0;
}

/* Project image lightbox */
.resume-project-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
}

.resume-project-lightbox.resume-project-lightbox-open {
	opacity: 1;
	visibility: visible;
}

.resume-project-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	width: 2rem;
	height: 2rem;
	border-radius: 4px;
	cursor: pointer;
}

.resume-project-lightbox-inner {
	max-width: 90vw;
	max-height: 90vh;
}

.resume-project-lightbox-inner img {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	vertical-align: middle;
}
