/**
 * General resume template styles
 */

.rezicraft-resume--general {
	--rezicraft-serif: Georgia, "Times New Roman", Times, serif;
	--rezicraft-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	max-width: 820px;
	margin: 0 auto;
	padding: 48px 56px;
	background: var(--rezicraft-sidebar, #ffffff);
	color: var(--rezicraft-text);
	font-family: var(--rezicraft-sans);
	font-size: 13px;
	line-height: 1.55;
}

.rezicraft-resume--general .rezicraft-resume__header {
	text-align: center;
	margin-bottom: 28px;
}

.rezicraft-resume--general .rezicraft-resume__name {
	margin: 0 0 8px;
	font-family: var(--rezicraft-serif);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.rezicraft-resume--general .rezicraft-resume__title {
	margin: 0 0 12px;
	font-family: var(--rezicraft-serif);
	font-size: 16px;
	font-weight: 400;
	color: var(--rezicraft-text);
}

.rezicraft-resume--general .rezicraft-resume__contact {
	margin: 0;
	font-size: 12px;
	color: var(--rezicraft-muted);
}

.rezicraft-resume--general .rezicraft-resume__sep {
	margin: 0 6px;
	color: #9ca3af;
}

.rezicraft-resume--general .rezicraft-section {
	margin-bottom: 22px;
}

.rezicraft-resume--general .rezicraft-section__title {
	margin: 0 0 6px;
	font-family: var(--rezicraft-serif);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.rezicraft-resume--general .rezicraft-section__rule {
	height: 1px;
	background: var(--rezicraft-rule);
	margin-bottom: 14px;
}

.rezicraft-resume--general .rezicraft-section__text {
	margin: 0;
	text-align: justify;
}

.rezicraft-resume--general .rezicraft-skills__row {
	margin: 0 0 6px;
}

.rezicraft-resume--general .rezicraft-skills__label {
	color: var(--rezicraft-muted);
}

.rezicraft-resume--general .rezicraft-skills__items {
	color: var(--rezicraft-text);
}

.rezicraft-resume--general .rezicraft-entries {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rezicraft-resume--general .rezicraft-entry__meta,
.rezicraft-resume--general .rezicraft-entry__headline {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.rezicraft-resume--general .rezicraft-entry__meta {
	margin-bottom: 2px;
	color: var(--rezicraft-muted);
	font-size: 12px;
}

.rezicraft-resume--general .rezicraft-entry__org,
.rezicraft-resume--general .rezicraft-entry__location {
	flex: 1 1 50%;
}

.rezicraft-resume--general .rezicraft-entry__location {
	text-align: right;
}

.rezicraft-resume--general .rezicraft-entry__role + .rezicraft-entry__role {
	margin-top: 12px;
}

.rezicraft-resume--general .rezicraft-entry__title {
	font-weight: 700;
	flex: 1 1 auto;
}

.rezicraft-resume--general .rezicraft-entry__dates {
	flex: 0 0 auto;
	white-space: nowrap;
}

.rezicraft-resume--general .rezicraft-entry__bullets {
	margin: 8px 0 0;
	padding-left: 18px;
}

.rezicraft-resume--general .rezicraft-entry__bullets li {
	margin-bottom: 4px;
}

.rezicraft-resume--general .rezicraft-entry--education + .rezicraft-entry--education {
	margin-top: 12px;
}

.rezicraft-resume--general .rezicraft-certificates {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rezicraft-resume--general .rezicraft-certificates__item {
	margin-bottom: 6px;
}

.rezicraft-resume--general .rezicraft-certificates__name {
	font-weight: 700;
}

.rezicraft-resume--general .rezicraft-certificates__meta {
	color: var(--rezicraft-muted);
}

.rezicraft-resume--general .rezicraft-interests {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.rezicraft-resume--general .rezicraft-interests__title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
}

.rezicraft-resume--general .rezicraft-interests__text {
	margin: 0;
	color: var(--rezicraft-text);
}

/* Interests section — Gutenberg columns block (h3 title + paragraph per column) */
.rezicraft-resume--general .wp-block-columns .wp-block-column > h3.wp-block-heading {
	margin: 0 0 6px;
	font-family: var(--rezicraft-sans);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: normal;
	color: var(--rezicraft-text);
}

.rezicraft-resume--general .wp-block-columns .wp-block-column > p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--rezicraft-text);
}

@media (max-width: 782px) {
	.rezicraft-resume--general {
		padding: 32px 24px;
	}

	.rezicraft-resume--general .rezicraft-resume__name {
		font-size: clamp(22px, 6vw, 28px);
	}

	.rezicraft-resume--general .rezicraft-entry__meta,
	.rezicraft-resume--general .rezicraft-entry__headline {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.rezicraft-resume--general .rezicraft-entry__location,
	.rezicraft-resume--general .rezicraft-entry__dates {
		text-align: left;
		white-space: normal;
	}

	.rezicraft-resume--general .rezicraft-interests {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.rezicraft-resume--general {
		padding: 24px 16px;
	}
}

/* Admin preview wrapper */
.rezicraft-template-preview-canvas .rezicraft-resume--general,
.rezicraft-template-preview-wrap .rezicraft-resume--general {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}
