/* Strojařem.cz – Můj účet */
.sjma-account-page .entry-header,
.sjma-account-page .ast-single-post-order {
	display: none !important;
}

.sjma-account-page .site-content,
.sjma-account-page .ast-container,
.sjma-account-page .site-main,
.sjma-account-page article.page,
.sjma-account-page .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

.sjma-account-page .entry-content > .sjma-shell {
	margin-top: 0;
}

.sjma-shell {
	--sjma-orange: #cf4f12;
	--sjma-orange-dark: #a9400f;
	--sjma-ink: #17212b;
	--sjma-muted: #66717c;
	--sjma-line: #dfe3e6;
	--sjma-soft: #f5f6f6;
	--sjma-blue: #146fa6;
	box-sizing: border-box;
	width: min(1240px, calc(100% - 40px));
	margin: 0 auto;
	padding: 70px 0 80px;
	color: var(--sjma-ink);
}

body.ast-theme-transparent-header.sjma-account-page .sjma-shell {
	padding-top: 145px;
}

.sjma-shell *,
.sjma-shell *::before,
.sjma-shell *::after {
	box-sizing: border-box;
}

.sjma-hero {
	max-width: 820px;
	margin: 0 auto 38px;
	text-align: center;
}

.sjma-eyebrow {
	display: inline-block;
	margin-bottom: 9px;
	color: var(--sjma-orange);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
}

.sjma-hero h1 {
	margin: 0 0 14px;
	color: var(--sjma-ink);
	font-size: clamp(38px, 5vw, 62px);
	font-weight: 700;
	line-height: 1.05;
}

.sjma-hero p {
	margin: 0;
	color: var(--sjma-muted);
	font-size: 18px;
	line-height: 1.65;
}

.sjma-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.sjma-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sjma-line);
	border-radius: 14px;
	box-shadow: 0 12px 35px rgba(20, 29, 38, .07);
}

.sjma-card--available {
	border-top: 4px solid var(--sjma-orange);
	padding-top: 23px;
}

.sjma-card--coming {
	background: #fafafa;
}

.sjma-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 22px;
}

.sjma-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	color: var(--sjma-orange);
	background: #fff4ee;
	border-radius: 12px;
}

.sjma-card--school .sjma-card__icon {
	color: var(--sjma-blue);
	background: #eef7fc;
}

.sjma-card--person .sjma-card__icon {
	color: #4f6774;
	background: #eef1f3;
}

.sjma-card__icon svg {
	width: 31px;
	height: 31px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sjma-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.sjma-badge--active {
	color: #24733b;
	background: #e8f6ec;
}

.sjma-badge--logged {
	color: #fff;
	background: #24733b;
}

.sjma-badge--coming {
	color: #60676d;
	background: #eceff1;
}

.sjma-card__audience {
	margin: 0 0 8px;
	color: var(--sjma-orange);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.4;
}

.sjma-card h2 {
	margin: 0 0 11px;
	color: var(--sjma-ink);
	font-size: 27px;
	font-weight: 700;
	line-height: 1.2;
}

.sjma-card__description {
	min-height: 72px;
	margin: 0 0 20px;
	color: var(--sjma-muted);
	font-size: 15px;
	line-height: 1.6;
}

.sjma-card__groups {
	display: grid;
	gap: 10px;
	margin-bottom: 23px;
}

.sjma-card__group {
	padding: 13px 14px;
	background: var(--sjma-soft);
	border-radius: 9px;
}

.sjma-card__group strong,
.sjma-card__group span {
	display: block;
}

.sjma-card__group strong {
	margin-bottom: 3px;
	font-size: 14px;
}

.sjma-card__group span {
	color: var(--sjma-muted);
	font-size: 13px;
	line-height: 1.45;
}

.sjma-card__features {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.sjma-card__features li {
	position: relative;
	margin: 0;
	padding: 9px 0 9px 25px;
	color: #3d4851;
	font-size: 14px;
	line-height: 1.45;
	border-bottom: 1px solid #e8eaec;
}

.sjma-card__features li:last-child {
	border-bottom: 0;
}

.sjma-card__features li::before {
	content: "✓";
	position: absolute;
	left: 2px;
	top: 8px;
	color: var(--sjma-orange);
	font-weight: 900;
}

.sjma-card__actions {
	display: grid;
	gap: 9px;
	margin-top: auto;
}

.sjma-button,
.sjma-button:link,
.sjma-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 47px;
	padding: 11px 16px;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	background: var(--sjma-orange);
	border: 1px solid var(--sjma-orange);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.sjma-button:hover,
.sjma-button:focus {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	background: var(--sjma-orange-dark);
	border-color: var(--sjma-orange-dark);
	transform: translateY(-1px);
}

.sjma-button--secondary,
.sjma-button--secondary:link,
.sjma-button--secondary:visited {
	color: var(--sjma-ink) !important;
	-webkit-text-fill-color: var(--sjma-ink);
	background: #fff;
	border-color: #bdc3c7;
}

.sjma-button--secondary:hover,
.sjma-button--secondary:focus {
	color: var(--sjma-orange-dark) !important;
	-webkit-text-fill-color: var(--sjma-orange-dark);
	background: #fff8f4;
	border-color: var(--sjma-orange);
}

.sjma-button--disabled,
.sjma-button--disabled:hover {
	color: #777f85 !important;
	-webkit-text-fill-color: #777f85;
	background: #eceff1;
	border-color: #e0e3e5;
	cursor: default;
	transform: none;
}

.sjma-help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 22px;
	padding: 22px 25px;
	background: #f6f7f7;
	border: 1px solid var(--sjma-line);
	border-radius: 12px;
}

.sjma-help strong {
	display: block;
	margin-bottom: 3px;
	font-size: 16px;
}

.sjma-help p {
	margin: 0;
	color: var(--sjma-muted);
	font-size: 14px;
	line-height: 1.5;
}

.sjma-help a,
.sjma-help a:visited {
	flex: 0 0 auto;
	color: var(--sjma-orange);
	font-weight: 800;
	text-decoration: underline;
}

@media (max-width: 1020px) {
	.sjma-cards {
		grid-template-columns: 1fr 1fr;
	}

	.sjma-card--company {
		grid-column: 1 / -1;
	}

	.sjma-card--company .sjma-card__groups {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.sjma-shell {
		width: min(100% - 28px, 650px);
		padding: 38px 0 55px;
	}

	body.ast-theme-transparent-header.sjma-account-page .sjma-shell {
		padding-top: 100px;
	}

	.sjma-hero {
		margin-bottom: 27px;
		text-align: left;
	}

	.sjma-hero h1 {
		font-size: 39px;
	}

	.sjma-hero p {
		font-size: 16px;
	}

	.sjma-cards {
		grid-template-columns: 1fr;
	}

	.sjma-card--company {
		grid-column: auto;
	}

	.sjma-card {
		padding: 22px;
	}

	.sjma-card--available {
		padding-top: 19px;
	}

	.sjma-card__description {
		min-height: 0;
	}

	.sjma-card--company .sjma-card__groups {
		grid-template-columns: 1fr;
	}

	.sjma-help {
		align-items: flex-start;
		flex-direction: column;
	}
}
