/* Variables */
:root {
	--strakture-gray-0: #f6f7f7;
	--strakture-gray-2: #f0f0f1;
	--strakture-gray-5: #dcdcde;
	--strakture-gray-20: #a7aaad;
	--strakture-gray-50: #646970;
	--strakture-gray-80: #2c3338;
	--strakture-blue-20: #72aee6;
	--strakture-blue-60: #135e96;
	--strakture-green-30: #00ba37;
	--strakture-red-50: #d63638;
}

/* Admin Styles
-------------------------------------------------------*/
.appearance_page_strakture-theme #wpcontent,
.toplevel_page_strakture #wpcontent {
	padding: 0;
}

.strakture-page-header {
	padding: 10px 20px;
	height: 50px;
	background-color: #fff;
}

.strakture-page-header__container {
	margin: 0 auto;
	height: 100%;
	max-width: 1140px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.strakture-page-header__branding {
	display: flex;
	align-items: center;
}

.strakture-page-header__logo {
	max-width: 120px;
	vertical-align: middle;
}

.strakture-theme-version {
	background-color: #edf0f0;
	padding: 3px 5px;
	border-radius: 5px;
	margin-left: 10px;
}

.strakture-page-header__tagline-text a {
	text-decoration: none;
}

/* Content */
.strakture-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
}

.strakture-grid-content {
	margin-bottom: 24px;
}

.strakture-grid-sidebar {
	max-width: 100%;
	flex: 1;
}

@media screen and (min-width: 783px) {
	.strakture-grid-content,
	strakturea-grid-sidebar {
		flex: 1 0 0%;
		max-width: 100%;
		padding: 0 12px;
	}

	.strakture-grid-sidebar {
		width: 25%;
		flex: 0 0 25%;
		padding: 0 12px;
	}
}

.strakture-widget {
	background-color: #fff;
	padding: 24px;
	margin-bottom: 24px;
}

.strakture-widget-title {
	margin-top: 0;
	margin-bottom: 24px;
}

.strakture-video-tutorials__item {
	margin-bottom: 16px;
}

.strakture-video-tutorials__url {
	display: block;
	position: relative;
	border-radius: 5px;
	overflow: hidden;
	transition: ease-in-out box-shadow 0.2s;
}

.strakture-video-tutorials__url:hover {
	box-shadow: 2px 6px 16px var(--strakture-gray-5);
}

.strakture-video-tutorials__url:hover::after {
	background-color: rgba(0, 0, 0, 0.1);
}

.strakture-video-tutorials__url::after {
	display: block;
	content: "";
	position: absolute;
	background-color: rgba(0, 0, 0, 0.2);
	bottom: 0;
	right: 0;
	top: 0;
	left: 0;
	width: 100%;
	transition: ease-in-out background-color 0.2s;
}

.strakture-video-tutorials__img {
	width: 100%;
	display: block;
}

.strakture-video-tutorials__label {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	background-color: #fff;
	color: var(--strakture-gray-80);
	padding: 8px 12px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.strakture-widget-video-tutorials__more-videos {
	margin-top: 24px;
	text-align: center;
}

/* Container
-------------------------------------------------------*/
.strakture-container {
	max-width: 1140px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 25px auto 20px;
}

.strakture-container .strakture-title {
	font-size: 1.5rem;
	line-height: 1.2;
	padding: 0;
}

.strakture-body {
	background-color: #fff;
	padding: 40px;
}

.strakture-body ol {
	font-size: 0.9375rem;
}

.strakture-body iframe {
	max-width: 100%;
	margin-top: 16px;
}

.strakture-body h3 {
	margin-top: 1.5em;
}

.strakture-intro-text {
	font-size: 1.1875rem;
	margin-bottom: 0;
}

.strakture-list {
	line-height: 1.5;
}

/* Demos
-------------------------------------------------------*/
.strakture-section {
	padding-top: 10px;
}

.strakture-heading {
	font-size: 1.5em;
	margin-bottom: 1.25em;
}

.strakture-demos {
	display: flex;
	gap: 19px;
	flex-wrap: wrap-reverse;
	flex-direction: row-reverse;
	min-height: 0;
	min-width: 0;
}

.strakture-demos__item {
	flex: 1;
	flex-basis: calc(33.333% - 14px);
}

.strakture-demos__item:last-child {
	flex-grow: 0;
	margin-right: auto;
}

.strakture-demos__item-container {
	min-width: 0;
	margin-bottom: 0;
	box-shadow: 0 0 4px var(--strakture-gray-5);
	border-radius: 5px;
	transition: ease-in-out box-shadow 0.2s;
	overflow: hidden;
	position: relative;
}

.strakture-demos__item-container:hover {
	box-shadow: 2px 6px 16px var(--strakture-gray-5);
}

.strakture-demos__item-url {
	text-decoration: none;
	display: block;
}

.strakture-demos__label {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 4px 8px;
	background-color: var(--strakture-green-30);
	font-weight: 500;
	color: #fff;
	border-radius: 3px;
}

.strakture-demos__item img {
	width: 100%;
	display: block;
}

.strakture-demos__item-title-holder {
	display: flex;
	align-items: center;
	padding: 1rem;
	justify-content: space-between;
}

.strakture-demos__item-title {
	text-align: center;
	font-size: 1em;
	margin: 0;
	text-transform: uppercase;
}

.strakture-install-child-theme {
	margin-top: 1rem;
}

.button.strakture-import-content--hidden {
	display: none;
}

/* Useful Links
-------------------------------------------------------*/
.strakture-useful-links {
	margin: 0;
}

.strakture-useful-links a {
	text-decoration: none;
}

.strakture-addon-list-item {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	align-content: center;
	justify-content: space-between;
	padding: 12px 0;
	margin-bottom: 0;
	border-top: 1px solid #e6e6e6;
}

.strakture-addon-list-item-icon {
	color: var(--strakture-green-30);
	margin-left: -6px;
	margin-right: 3px;
}

.strakture-pro-label {
	padding: 2px 8px;
	margin-left: 6px;
	background-color: var(--strakture-green-30);
	font-weight: 500;
	font-size: 11px;
	color: #fff;
	border-radius: 13px;
}


/* Setup Steps
-------------------------------------------------------*/
.strakture-step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px;
	border: 1px solid var(--strakture-gray-5);
	border-radius: 6px;
	margin-bottom: 12px;
}

.strakture-step--done {
	background-color: #f0faf0;
	border-color: var(--strakture-green-30);
}

.strakture-step__status {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.strakture-step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--strakture-gray-2);
	color: var(--strakture-gray-50);
	font-size: 13px;
	font-weight: 500;
}

.strakture-step--done .strakture-step__status .dashicons {
	font-size: 36px;
	width: 36px;
	height: 36px;
	color: var(--strakture-green-30);
}

.strakture-step__content {
	flex: 1;
}

.strakture-body .strakture-step__title {
	margin: 0 0 4px;
	font-size: 15px;
}

.strakture-step__description {
	margin: 0 0 12px;
	color: var(--strakture-gray-50);
	font-size: 13px;
}

.strakture-step--done .strakture-step__description {
	margin-bottom: 4px;
}

.strakture-pro-badge {
	background-color: #f0faf0;
	color: var(--strakture-green-30);
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 99px;
	vertical-align: middle;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Starter Sites Grid
-------------------------------------------------------*/
.strakture-onboarding__demos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 600px) {
	.strakture-onboarding__demos-grid {
		grid-template-columns: 1fr;
	}
}

.strakture-onboarding__demo-card {
	background: #fff;
	border: 1px solid var(--strakture-gray-5);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.strakture-onboarding__demo-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.strakture-onboarding__demo-card-image-link {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
}

.strakture-onboarding__demo-card-image {
	width: 100%;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.strakture-onboarding__demo-card-image-link:hover .strakture-onboarding__demo-card-image {
	transform: scale(1.03);
}

.strakture-onboarding__demo-card-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	color: var(--strakture-gray-80);
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.strakture-onboarding__demo-card-image-link:hover .strakture-onboarding__demo-card-badge {
	opacity: 1;
}

.strakture-onboarding__demo-card-body {
	padding: 16px;
}

.strakture-onboarding__demo-card-title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

/* Comparison Table
-------------------------------------------------------*/
.strakture-comparison {
	margin-top: 12px;
}

table.strakture-comparison,
.strakture-comparison thead td,
.strakture-comparison thead th {
	border-color: var(--strakture-gray-5);
}

table.strakture-comparison {
	box-shadow: none;
	margin-bottom: 24px;
}

.strakture-comparison td,
.strakture-comparison th {
	padding: 12px;
}

.strakture-comparison tr th:not(:first-child),
.strakture-comparison tr td:not(:first-child) {
	text-align: center;
}

.strakture-list-item-icon {
	color: var(--strakture-green-30);
}

.strakture-list-item-icon--no {
	color: var(--strakture-red-50);
}


/* Videos */
.strakture-video-tutorials__item {
	margin-bottom: 16px;
}

.strakture-video-tutorials__url {
	display: block;
	position: relative;
	border-radius: 5px;
	overflow: hidden;
	transition: ease-in-out box-shadow 0.2s;
}

.strakture-video-tutorials__url:hover {
	box-shadow: 2px 6px 16px var(--strakture-gray-5);
}

.strakture-video-tutorials__url:hover::after {
	background-color: rgba(0, 0, 0, 0.1);
}

.strakture-video-tutorials__url::after {
	display: block;
	content: "";
	position: absolute;
	background-color: rgba(0, 0, 0, 0.2);
	bottom: 0;
	right: 0;
	top: 0;
	left: 0;
	width: 100%;
	transition: ease-in-out background-color 0.2s;
}

.strakture-video-tutorials__img {
	width: 100%;
	display: block;
}

.strakture-video-tutorials__label {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	background-color: #fff;
	color: var(--strakture-gray-80);
	padding: 8px 12px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.strakture-widget-video-tutorials__more-videos {
	margin-top: 24px;
	text-align: center;
}

/* Notifications
-------------------------------------------------------*/
.strakture-notice {
	padding: 1em;
	display: none;
}

.strakture-notification {
	margin: 20px 0 10px;
	padding: 15px;
	border-radius: 3px;
	border: 1px solid var(--strakture-gray-5);
	border-left-width: 4px;
	border-left-color: var(--strakture-blue-20);
}

.strakture-notification p {
	margin: 0;
	font-size: 1rem;
}
