/*
Theme Name: Workers
Text Domain: promisys
Author: Promisys
Version: 1.0
*/
:root {
	--header-height: 64px;
	--font-size: 1rem;
	--site-width: 70rem;

	--color: #304646;
	--link: #333330;
	--secondary: #eff4f4;
	--secondary-accent: #dce6e6;

	--primary: hsl(356, 79%, 63%);
	--accent: hsl(357, 79%, 74%);
	--hover: hsl(356, 79%, 63%);
}

html {
	scroll-padding-top: 100px;
}

@font-face {
	font-family: 'Anek Latin';
	src: url('../fonts/AnekLatin-SemiBold.woff2') format('woff2'),
		url('../fonts/AnekLatin-SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Anek Latin';
	src: url('../fonts/AnekLatin-Regular.woff2') format('woff2'),
		url('../fonts/AnekLatin-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Anek Latin';
	src: url('../fonts/AnekLatin-Medium.woff2') format('woff2'),
		url('../fonts/AnekLatin-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}



body {
	font-family: "Anek Latin", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: var(--font-size);
	line-height: 1;
	color: var(--color);
}

.container {
	--side-space: 3rem;
	width: min(100% - var(--side-space), var(--site-width));
	margin-inline: auto;
}

.container.large {
	--site-width: 100rem;
}


section,
.wp-block-group__inner-container {
	position: relative;
}

main {
	padding: 2rem 0 4rem;
}

header {
	--active: #013434;
	--hover: #3d8787;
	--padding-inline: 1.5rem;
	position: sticky;
	background: #fff;
	top: 0;
	border-bottom: 1px solid #d8d8d8;
	font-size: 0.95rem;
	height: 4rem;
	z-index: 10;
}

header .container {
	align-items: center;
	padding: 0;
}

header .container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	align-items: center;
	padding-inline: var(--padding-inline);
	height: 100%;
	width: 100%;
}
header .logo * {
	height: 30px;
}

@media(min-width: 1025px) {
	.admin-bar header {
		top: 32px;
	}
}

@media(max-width: 1000px) {
	header>.flex {
		--padding-inline: 1rem;
	}

	header .logo {
		margin: 0 auto;
	}

	header .logo * {
		max-height: 20px;
	}
}



header ul {
	list-style: none;
}

header a.login-mobile {
	display: none;
}

header .selector {
	align-items: center;
	gap: 5px;
	border-radius: .4em;
	background: var(--secondary);
}

header .selector>* {
	border-radius: .4em;
	padding: 0.5em 0.6em;
	font-size: 0.9rem;
	flex: 1;
	justify-content: center;
	height: 100%;
}

header .selector a.active {
	border: 1px solid currentColor;
	background: #fff;
}

header .language {
	min-height: 34px;
	position: relative;
	font-size: 0.9rem;
}

header .language>a {
	display: flex;
	height: 100%;
	gap: 3px;
	border-radius: .4em;
	background: var(--secondary);
	padding: 0.6em .8em;
	font-weight: 600;
	color: var(--hover);
}

header .language a {
	cursor: pointer;
}

header .language .wpml-ls-legacy-list-vertical,
header .language>ul {
	display: none;
	position: absolute;
	border-radius: .4em;
	background: var(--secondary);
	width: 100%;
	border-top: 2px solid #fff;
	padding-block: .4rem;
	z-index: 1;
}

header .language:hover .wpml-ls-legacy-list-vertical,
header .language:hover ul {
	display: block;
}

header .language ul {
	flex-direction: column;
	gap: 0;
}

header .language ul a {
	display: block;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding: 5px 10px;
	line-height: 1;
}

header .language svg {
	translate: 0 1px;
	font-size: 0.7rem;
}

header :is(.selector, .language) {
	align-self: stretch;
}


footer {
	margin-top: auto;
	background: #fff;
	padding-block: 2rem;
	border-top: 1px solid #d9d9d9;
}

footer .site-info {
	align-items: flex-end;
	justify-content: space-between;
}

footer .site-info .groups img {
	width: 100px;
}

footer nav {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}

footer ul.menu {
	list-style: none;
	justify-content: space-between;
	flex: 1;
}

footer ul.menu>li {
	padding-block: 2px;
}

footer ul.menu>li>a {
	font-weight: 600;
	font-size: 1.1rem;
	display: inline-block;
	margin-bottom: 0.8rem;
}

footer ul.sub-menu {
	flex-direction: column;
	gap: 5px;
}

/* /LAYOUT*/
section.welcome-back {
	background: #fbeff1;
	margin-bottom: 2rem;
	border: 0;
	position: relative;
}

section.welcome-back .close {
	color: var(--primary);
	position: absolute;
	top: 10px;
	right: 10px;
}

section.welcome-back .close:hover {
	text-decoration: underline;
}

section.welcome-back div.center {
	margin-inline: auto;
	max-width: fit-content;
}

section.welcome-back h2 {
	margin-bottom: 1rem;
}

section.welcome-back .flex {
	align-items: center;
	gap: 1rem;
}

#content section.welcome-back a.alt:not(:hover) {
	color: var(--primary);
	border-color: currentColor;
}


/*JOBS / PROFILES*/
.articles {
	padding: 1rem;
}

.job-search-filters a.button {
	border-width: 2px;
}

.job-search-filters a.button:not(:hover, .active) {
	border-color: #cdcdcd;
}

article {
	--border-color: #eaeaea;
	position: relative;
	transition: translate 0.2s;
}

article .overflow {
	display: flex;
	flex-direction: column;
	border-radius: .6rem;
	border: 1px solid;
	border-color: var(--border-color);
	overflow: hidden;
	height: 100%;
	transition: border-color 0.2s, box-shadow 0.2s;
}

article:hover {
	translate: 0 -2px;
}

article:hover .overflow {
	border-color: #ccc;
	box-shadow: 0 0 12px #00000017;
}

article>a {
	position: absolute;
	inset: 0;
	z-index: 1;
}

article .header {
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: var(--secondary);
}

article .header[style] .title * {
	color: #fff;
	text-shadow: 1px 1px 5px black;
}

article span.seniority {
	position: absolute;
	top: 0;
	right: 0;
	padding: 3px 10px;
	translate: -10px 5px;
	font-size: .8rem;
}

article img {
	border-radius: 50%;
	border: 1px solid var(--border-color);
	height: 50px;
	aspect-ratio: 1;
	object-fit: cover;
	background: #fff;
}

article .row {
	display: flex;
	align-items: center;
	font-size: .9rem;
	padding-block: .7rem;
	margin-inline: 1rem;
}

:where(article .row) {
	gap: 1rem;
}

article .row.with-border {
	border-bottom: 1px solid var(--border-color);
	min-height: 61px;
	justify-content: space-between;
	flex-wrap: wrap;
}

article h3 {
	margin-bottom: 0;
	font-size: 1rem;
}

article .salary {
	align-items: flex-start;
	flex-shrink: 0;
}

article .salary .small {
	color: #aaa;
	font-size: 0.8rem;
}

article .salary dl dt {
	font-weight: 500;
}

.salary strong::before {
	content: '€';
}

article .tag-group {
	gap: 5px;
}
article .tag-group.lang svg{
	display: none;
}

article .tag {
	font-size: 0.775rem;
}

article .description p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.85rem;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 54px;
}

span.seniority {
	--bg: #f4e361;
	padding: 0.4em 1.3em;
	border-radius: 5px;
	background-color: var(--bg);
	background-image: linear-gradient(45deg, var(--bg), rgba(255, 255, 255, .4));
}

.seniority.intermediate {
	--bg: #f4d161;
}

.seniority.senior {
	--bg: #f49561;
	color: #fff;
}

.seniority.expert {
	--bg: var(--primary);
	color: #fff;
}

section.align-aside {
	display: flex;
	align-items: flex-start;
	gap: 3rem;
}

section.align-aside>* {
	flex: 1;
	width: 100%;
}

section.align-aside aside {
	max-width: 20rem;
}

.single-profile aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.single-profile aside>div.card {
	padding: 1.5rem;
}

.single-profile .card.recruiter .flex {
	align-items: center;
	gap: 1rem;
}

.single-profile .card.recruiter a.profile {
	max-width: 80px;
	height: auto;
	aspect-ratio: 1;
	margin: 0;
}

.single-profile .card.recruiter h3 {
	margin-bottom: 5px;
}

.single-profile section.header {
	border-top: 1px solid #eaeaea;
	margin-block: 1rem;
	padding-top: 2rem;
}

.single-profile aside .zoombox {
	border-radius: 50%;
	height: 215px;
	aspect-ratio: 1;
	margin: 0 auto;
	border: 1px solid #eaeaea;
}

.single-profile .cover {
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #fafafa;
	padding: 2rem;
	border-radius: 1rem;
	overflow: hidden;
	align-self: stretch;
	align-items: end;
	position: relative;
}

.single-profile .cover>div {
	z-index: 1;
}

.single-profile .cover::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 6rem;
	background: linear-gradient(0deg, #0000007a, transparent);
	z-index: 0;
}

.single-profile .cover[style] {}


.single-profile .cover[style] .title * {
	color: #fff;
	text-shadow: 1px 1px 3px #00000078;
}


.single-profile :is(h1, h2, h3) {
	margin-bottom: 0;
}

#page.single-profile h1 {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	margin-bottom: 0.3em;
}

.single-profile .pane-right :is(h2, h3) {
	margin-bottom: 10px;
	max-width: initial;
}

.single-profile .summary {
	align-items: center;
	padding: 1rem;
	gap: 3rem;
	margin-bottom: 3rem;
}

.single-profile .availability svg {
	min-width: 1rem;
}

.single-profile .availability>div {
	margin-top: 10px;
}

.single-profile .availability ul {
	list-style: none;
	display: flex;
	gap: 4px;
	font-weight: bold;
}

.single-profile .availability li {
	border: 1px solid #ccc;
	padding: 5px;
	border-radius: 4px;
}

.single-profile .summary>.flex {
	align-items: flex-start;
	line-height: 1.3;
}

span.small.gray {
	color: #aaa;
	font-size: 0.8rem;
}

.single-profile .summary .seniority {
	margin-left: auto;
}

.single-profile .summary svg {
	translate: 0 1px;
}

.single-profile .salary {}

.single-profile .salary>div {
	margin-right: 2rem;
}

.single-profile .tag-group {
	padding-top: 0;
	margin-bottom: 2rem;
}

.single-profile .description p {
	max-width: initial;
	text-align: justify;
}

.job-presentation .card {
	margin-bottom: 1rem;
	padding: 1.5rem;
}

.job-presentation .flex {
	gap: 10px;
	justify-content: space-between;
	align-items: center;
}

.job-presentation .title {
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #e1e1e1;
}

.job-presentation p {
	max-width: initial;
	text-wrap: auto;
	text-align: justify;
}

.job-presentation .excerpt {
	margin-top: 10px;
}

.job-presentation .card h3 {
	margin-bottom: 0;
	padding: 0;
}

.single-profile .job-presentation+.gallery {
	margin-top: 2rem;
}

.single-profile #page .gallery .grid {
	--gap: 10px;
}

.single-profile .gallery .zoombox {
	border-radius: 6px;
	aspect-ratio: 16 / 10;
}

@media(max-width: 768px) {
	section.align-aside {
		flex-direction: column;
		gap: 1rem;
	}

	section.align-aside aside {
		max-width: initial;
		gap: 1rem;
	}
}

/* /JOBS*/



/*STYLES*/
h1,
h2,
h3 {
	color: var(--color);
	font-weight: 600;
	line-height: 1.1;
	text-wrap: balance;
	max-width: 40ch;
}

#page h1 {
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	margin-top: 0;
	margin-bottom: 2rem;
}

h1:has(+ h2) {
	margin-bottom: 0;
}

h2 {
	font-size: clamp(1.4rem, 2.5vw, 1.5rem);
	margin-bottom: 1em;
}

h2.has-large-font-size,
h2.large {
	font-size: clamp(2rem, 4vw, 2.2rem) !important;
}

h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.2rem);
	margin-bottom: 1rem;
}

:is(h2, h3) .wp-font-awesome-icon {
	color: var(--primary);
}

:is(h2, h3) strong {
	color: var(--primary);
}


a {
	text-decoration: none;
	color: var(--link);
	cursor: pointer;
}

a:hover {
	color: var(--primary);
	cursor: pointer;
}

a:not(.button).active:hover {
	color: var(--accent);
}


p {
	margin-bottom: 1rem;
	max-width: 80ch;
	line-height: 1.25;
	text-wrap-style: balance;
}

p:last-child {
	margin-bottom: 0;
}

p.has-text-align-center {
	margin-inline: auto;
}

.has-text-align-center {
	justify-content: center;
}

.max-width-50 {
	max-width: 50ch;
}

.max-width-30 {
	max-width: 30ch;
}

.max-width-20 {
	max-width: 20ch;
}

.site-width-50 {
	--site-width: 50rem;
}

.site-width-30 {
	--site-width: 30rem;
}

.font-size-large {
	font-size: clamp(1.3rem, 4vw, 1.5rem);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

strong {
	font-weight: 600;
}

h1 :is(em, strong),
h2 :is(em, strong) {
	font-style: normal;
	background-image: linear-gradient(-90deg, var(--primary), var(--accent) 70%);
	background-clip: text;
	color: transparent;
}

hr,
hr.wp-block-separator {
	--margin: 6rem;
	margin-block: var(--margin);
	border: 0;
	border-top: 1px solid #e2e2e2;
}

.single-profile hr {
	--margin: 3rem;
}

.single-profile hr:last-child {
	display: none;
}

span.or {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	font-size: 1.1rem;
	text-align: center;
	margin: 3rem auto;
	position: relative;
}

span.or::before,
span.or::after {
	content: '';
	width: 100%;
	max-width: 10rem;
	border-bottom: 1px solid #eaeaea;
}

.login span.or {
	margin: 2rem auto;
}

dl {
	display: grid;
	gap: 8px 10px;
	grid-template-columns: auto 1fr;
	max-width: max-content;
}

dl dt {
	font-weight: 600;
}

.entry-content :is(ul, ol) {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-left: 18px;
}

.entry-content ul {
	list-style: disc outside;
}

.entry-content ol {
	list-style: numeric outside;
}

.entry-content ol:not(:last-child),
.entry-content ul:not(:last-child) {
	margin-bottom: 1rem;
}

button {
	background: transparent;
	border: 0;
}
a.button.ai{
	padding-block: 0.85em;
	/*font-size: clamp(.9rem, 4vw, 1.2rem);*/
	font-weight: 600;
}

figure {
	margin: 0;
}


.with-arrow>a,
a.with-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--primary);
	font-size: 1.1rem;
}

.with-arrow>a:hover,
a.with-arrow:hover {
	text-decoration: underline;
}

a.zoombox {
	display: inline-block;
	overflow: hidden;
}

a.zoombox img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 0.2s
}

a.zoombox:hover {
	border-color: #d7d7d7;
}

a.zoombox img:hover {
	scale: 1.02;
}

*:has(> [class*="svg-inline"], > .wp-block-font-awesome-icon, > .wp-font-awesome-icon) {
	display: flex;
	gap: 8px;
	align-items: center;
}

[class*="xmark"] {
	color: var(--primary);
	cursor: pointer;
}

[class*="xmark"]:hover {
	color: var(--accent);
}

svg.primary {
	color: var(--primary);
}

.ellipsis {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.text-right {
	text-align: right;
}

.text-green {
	color: rgb(70, 187, 70);
	display: block;
}

.error-message {
	color: var(--primary);
	display: block;
}

.hidden {
	display: none !important;
}

/* /STYLES*/
form[name="expertise"] .radio-group{
	margin-top: 1rem;
}

/*DISPLAY*/
section.wp-block-group {
	--margin: 6rem;
}

body:not(.home) .entry-content>section[class="wp-block-group"] {
	margin-block: var(--margin);
}

body:not(.home) section.wp-block-group.with-sticking-blobs {
	margin-top: calc(var(--margin) + 2rem);
}

body:not(.home) .entry-content section.wp-block-group.with-sticking-blobs:first-child {
	margin-top: var(--margin);
}

.align-top {
	align-items: flex-start;
}

.align-center {
	justify-content: center;
}

.align-right {
	margin-left: auto;
}

*:has(> .align-bottom) {
	display: flex;
	flex-direction: column;
}

.align-bottom {
	margin-top: auto;
}

.align-middle {
	display: grid;
	place-content: center;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.flex.column {
	flex-direction: column;
}

#content .flex-start {
	align-items: initial;
}

.card {
	border: 1px solid #d7d7d7;
	padding: 2rem;
	background: #fff;
	border-radius: .6rem;
}

.card.centered {
	margin-inline: auto;
	max-width: max-content;
}

.card.fill {
	background: #fafafa;
	border: none;
}
.card.fill.ai-icon,
.step-3.resurrected .card.fill.ai-icon{
	background: #fff;
}
.card.fill.ai-icon h2{
	text-align: center;
	margin-inline: auto;
}

.home .card.fill {
	background: var(--secondary);
}

.card.gradient-bg {
	border: 0;
}

.card p {
	text-wrap: initial;
}

.solid-bg {
	background: var(--secondary);
}

#content .no-border {
	border: 0;
}

.items-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 2rem;
}

.items-list>* {
	display: flex;
	align-items: center;
	gap: 2rem;
	background: #f4f4f4;
	border-radius: 5px;
	padding: 10px;
}

.items-list .title {
	display: flex;
	align-items: center;
	align-self: stretch;
	background: #e4e4e4;
	border-radius: 5px;
	padding: .7em 1em;
	min-width: 15rem;
	justify-content: center;
}

.items-list .content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 5px;
}

@media(max-width: 620px) {
	.items-list>* {
		flex-direction: column;
		gap: 10px;
		position: relative;
	}

	.items-list .title {
		width: 100%;
	}

	.items-list .delete {
		position: absolute;
		right: 1.2rem;
		top: 1.3rem;
	}
}


.spacer {
	--size: 2rem;
	height: var(--size);
}

.collapse-trigger {
	padding: .4em .5em;
	background: #fdfdfd;
	cursor: pointer;
	border-radius: 5px;
}

.collapse-trigger:hover {
	color: var(--primary);
}

.collapse-trigger svg {
	transition: rotate 0.2s;
}

.collapse-trigger.open svg {
	color: var(--primary);
	rotate: 180deg;
}

*:has(.collapse) {
	flex-wrap: wrap;
}

.collapse {
	width: 100%;
}

.collapse:not(.open) {
	display: none;
}


.grid {
	--grid-max-col-count: 4;
	--grid-min-col-size: 200px;
	--grid-gap: 1rem;

	--grid-col-size-calc: calc((100% - var(--grid-gap) * var(--grid-max-col-count)) / var(--grid-max-col-count));
	--grid-col-min-size-calc: min(100%,
			max(var(--grid-min-col-size), var(--grid-col-size-calc)));

	display: grid;
	gap: var(--grid-gap);
	grid-template-columns: repeat(auto-fill,
			minmax(var(--grid-col-min-size-calc), 1fr));
}

.grid[data-columns="5"],
.grid.col-5 {
	--grid-max-col-count: 5;
}

.grid[data-columns="3"],
.grid.col-3 {
	--grid-max-col-count: 3;
}

.grid[data-columns="2"],
.grid.col-2 {
	--grid-max-col-count: 2;
}

.grid.articles {
	gap: 2rem 1rem;
}

@media(max-width: 440px) {
	.gallery .grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(min-width: 420px) {
	.grid.articles {
		--grid-min-col-size: 360px;
	}
}

.media-text {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 4vw, 4rem);
}

.media-text>* {
	flex: 1;
}

.media-text figure {
	flex-shrink: 1;
}


.socials {
	display: flex;
	gap: 5px;
	align-items: center;
}

.socials a {
	border: 1px solid currentColor;
	border-radius: 50%;
	display: grid;
	place-content: center;
	aspect-ratio: 1;
	width: 40px;
}

.contact-info {
	gap: 1.3rem;
	max-width: max-content;
	margin: 0 auto;
}

.contact-info .info a {
	display: inline-flex;
	font-size: 1.1rem;
}

.contact-info .info svg {
	font-size: 1.5rem;
	min-width: 24px;
}

.contact-info .info .hours {
	display: block;
	font-size: 1rem;
	color: #7f7f7f;
	padding-left: 34px;
}

.contact-info .socials {
	justify-content: center;
}

.small,
.translate {
	font-size: .875rem;
	font-weight: 500;
}

.color-primary {
	color: var(--primary);
}

.text-align-center {
	text-align: center;
	max-width: initial;
}

.text-align-center :is(h2, h3),
:is(h2, h3).has-text-align-center {
	margin-inline: auto;
}

#content :not(h2, h3).no-margin {
	margin: 0;
}

#content h2.no-margin {
	margin-bottom: 5px;
}

#content .no-gap {
	gap: 0;
}

/* /DISPLAY*/
section.hero.resurrected-intro {
	display: grid;
	grid-template-columns: .8fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}

section.hero.resurrected-intro+.container {
	margin-bottom: 3rem;
}


section.hero.resurrected-intro>img {
	border-radius: 5rem 2rem 5rem 2rem;
}
@media( max-width: 786px){
	section.hero.resurrected-intro>img{
		display: none;
	}
}

section.hero.resurrected-intro img.emoji {
	position: absolute;
	bottom: -110px;
	left: 30px;
	z-index: 9;
	animation-name: dropJello;
	animation-duration: 3s;
	animation-delay: .8s;
	animation-fill-mode: both;
}
.reset-password section.hero.resurrected-intro img.emoji {
	left: 40px;
	bottom: -105px;
}
 
@keyframes dropJello {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 15rem)) scale(1);
  }
  5% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  7% {
    transform: translate(-50%, -50%) scale(1.2, 0.8);
  }
  10% {
    transform: translate(-50%, -50%) scale(0.9, 1.1);
  }
  12% {
    transform: translate(-50%, -50%) scale(1.05, 0.95);
  }
  15% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  90%{
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

section.hero.resurrected-intro .text-content {
	position: relative;
	place-content: center;
	padding-block: 2rem;
}

@media(max-width: 786px) {
	section.hero.resurrected-intro {
		grid-template-columns: 1fr;
	}

	section.hero.resurrected-intro img.emoji {
		top: -2rem;
		right: 10px;
	}
}


/*ASSETS*/
.entry-content .hero .wp-block-media-text__content,
.has-accent-bg {
	--padding: 4em;
	max-width: max-content;
	position: relative;
	padding-block: var(--padding);
	padding-right: clamp(1rem, 4vw, calc(var(--padding) + 2rem));
}

.hero .wp-block-media-text__content::after,
.has-accent-bg::after {
	content: '';
	--radius1: 5rem;
	--radius2: 2rem;
	border-radius: var(--radius1) var(--radius2) var(--radius1) var(--radius2);
	background: var(--secondary);
	height: 100%;
	width: 80%;
	top: 0;
	right: 0;
	position: absolute;
	z-index: -2;
}

.has-accent-bg.radius-right::after {
	border-radius: var(--radius2) var(--radius1) var(--radius2) var(--radius1);
}


.gradient-bg,
.steps .wp-block-uagb-tabs-child {
	background-size: cover;
	background-repeat: no-repeat;
	background-image: linear-gradient(20deg, #f4f1f8, #fff7f9);
}

.blurry-bg {
	--bg: #fff6f9;
	position: relative;
	background-color: var(--bg);
	isolation: isolate;
}

.blurry-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-image: url("data:image/svg+xml, <svg viewBox='0 0 900 600' width='900' height='600' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><defs><filter id='blur'><feGaussianBlur stdDeviation='10'/></filter></defs><g fill='%23f3f0f7' filter='url(%23blur)'><circle r='185' cx='580' cy='177'></circle><circle r='128' cx='179' cy='120'></circle><circle r='134' cx='750' cy='577'></circle><circle r='127' cx='352' cy='593'></circle></g></svg>");
	background-size: cover;
	opacity: .6;
	z-index: -1;
}

.ai-icon::before {
	content: '';
	display: block;
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg viewBox='0 0 80 81' fill='none' xmlns='http://www.w3.org/2000/svg'><path opacity='0.4' d='M50 15.3857C50 16.1357 50.4688 16.8076 51.1719 17.0732L60 20.3857L63.3125 29.2139C63.5781 29.917 64.25 30.3857 65 30.3857C65.75 30.3857 66.4219 29.917 66.6875 29.2139L70 20.3857L78.8281 17.0732C79.5312 16.8076 80 16.1357 80 15.3857C80 14.6357 79.5312 13.9639 78.8281 13.6982L70 10.3857L66.6875 1.55762C66.4219 0.854492 65.75 0.385742 65 0.385742C64.25 0.385742 63.5781 0.854492 63.3125 1.55762L60 10.3857L51.1719 13.6982C50.4688 13.9639 50 14.6357 50 15.3857ZM50 65.3857C50 66.1357 50.4688 66.8076 51.1719 67.0732L60 70.3857L63.3125 79.2139C63.5781 79.917 64.25 80.3857 65 80.3857C65.75 80.3857 66.4219 79.917 66.6875 79.2139L70 70.3857L78.8281 67.0732C79.5312 66.8076 80 66.1357 80 65.3857C80 64.6357 79.5312 63.9639 78.8281 63.6982L70 60.3857L66.6875 51.5576C66.4219 50.8545 65.75 50.3857 65 50.3857C64.25 50.3857 63.5781 50.8545 63.3125 51.5576L60 60.3857L51.1719 63.6982C50.4688 63.9639 50 64.6357 50 65.3857Z' fill='url(%23paint0_linear_851_2564)'/><path d='M31.7526 11.8255C31.35 10.9431 30.4676 10.3857 29.5077 10.3857C28.5479 10.3857 27.6654 10.9431 27.2629 11.8255L19.1042 29.4899L1.43978 37.6332C0.557334 38.0357 0 38.9181 0 39.8935C0 40.8688 0.557334 41.7358 1.43978 42.1383L19.1042 50.297L27.2474 67.946C27.65 68.8284 28.5324 69.3857 29.4923 69.3857C30.4521 69.3857 31.3346 68.8284 31.7371 67.946L39.8958 50.2816L57.5602 42.1228C58.4427 41.7203 59 40.8379 59 39.878C59 38.9181 58.4427 38.0357 57.5602 37.6332L39.9113 29.4899L31.7526 11.8255Z' fill='url(%23paint1_linear_851_2564)'/><defs><linearGradient id='paint0_linear_851_2564' x1='65' y1='0.385742' x2='65' y2='80.3857' gradientUnits='userSpaceOnUse'><stop stop-color='%23EB565F'/><stop offset='1' stop-color='%239747FF'/></linearGradient><linearGradient id='paint1_linear_851_2564' x1='29.5' y1='10.3857' x2='29.5' y2='69.3857' gradientUnits='userSpaceOnUse'><stop stop-color='%23EB565F'/><stop offset='1' stop-color='%239747FF'/></linearGradient></defs></svg>");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 20px;
	aspect-ratio: 1;
}

.card.ai-icon {
	position: relative;
}

.card.ai-icon::before {
	width: 40px;
	position: absolute;
	top: 0;
	right: 0;
	translate: 23px -18px;
	z-index: 4;
}

.with-arrow>a::before,
a.with-arrow::before {
	content: '';
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='%23eb5660' d='M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z'/></svg>");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 14px;
	height: 16px;
}

.with-pebble-icon {
	display: flex;
	align-items: center;
	gap: 4px;
}

.with-pebble-icon::before {
	content: '';
	display: block;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 30px;
	aspect-ratio: 1;
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66.7 67.9'><defs><linearGradient id='gradient' x1='0' y1='30.6' x2='65.2' y2='37.2' gradientTransform='translate(0 67.8) scale(1 -1)' gradientUnits='userSpaceOnUse'><stop offset='0' stop-color='%23eb565f'/><stop offset='1' stop-color='%23f1898e'/></linearGradient></defs><path style='fill: url(%23gradient)' d='M56.3,19.6c7.6,10.6,12.7,22.4,9.4,31.4-3.4,9.1-15.3,15.4-27.5,16.6-12.2,1.2-24.7-2.7-31.7-11.5C-.5,47.4-1.9,33.8,2.7,22,7.3,10.2,18,.3,28.4,0c10.4-.3,20.4,9.1,27.9,19.6Z'/></svg>");
}

.with-sticking-blobs {
	position: relative;
}

.with-sticking-blobs::after {
	content: '';
	display: block;
	background-position: center;
	background-size: contain;
	width: 180px;
	aspect-ratio: 1;
	position: absolute;
	top: 0;
	right: 0;
	translate: -4rem -7rem;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 656.2 282'><path fill='%23f39a9f' d='M610.1,282c-13.9-42.1-34.8-83-61.6-120.1C475.2,59.1,357-14.2,258.4,2.3,160.2,19.3,81.5,126,26.3,248.5h0c-5,11-9.8,22.2-14.4,33.5h598.4Z'/><path fill='%23eb565f' d='M0,282h656.2c-16.2-95.4-62.4-180.9-131.3-216.2-89-45-215.8-6.3-333.1,59.1h0C115.9,167.1,43.7,220.5,0,282Z'/></svg>");
	z-index: -1;
}

a[target="_blank"] {
	position: relative;
	display: inline-flex;
	align-items: center;
}

p a[target="_blank"]:not(.button, .wp-element-button) {
	color: var(--primary);
}

p a[target="_blank"]:not(.button, .wp-element-button):hover {
	color: var(--accent);
	text-decoration: underline;
}

*:not(.contact-info, .socials, .info, .buttons)>a[target="_blank"]::after {
	content: '';
	display: none;
	width: 11px;
	height: 11px;
	position: absolute;
	right: 0;
	translate: calc(100% + 8px) 0;
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23f1898e' d='M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z'/></svg>");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

a[target="_blank"]:hover::after {
	display: block;
}

ul.check-list {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
	padding: 2rem 0;
}

ul.check-list li {
	position: relative;
	list-style: none;
	padding-left: 2.5rem;
}

.home ul.check-list li {
	max-width: 30ch;
}

ul.check-list li::before {
	content: '';
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23eb5660' d='M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z'/></svg>");
	position: absolute;
	top: 50%;
	left: 0;
	translate: 0 -50%;
	background-size: contain;
	background-repeat: no-repeat;
	width: 1.8rem;
	aspect-ratio: 1;
}

ol.check-list {
	counter-reset: ol;
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
	padding: 2rem 0;
}

ol.check-list li {
	counter-increment: ol;
	position: relative;
	list-style: none;
	max-width: 30ch;
	padding-left: 2.5rem;
}

ol.check-list li::before {
	content: counter(ol);
	position: absolute;
	top: 0;
	left: 0;
	width: 2rem;
	aspect-ratio: 1;
	display: grid;
	place-content: center;
	color: var(--primary);
	border-radius: 50%;
	border: 2px solid currentColor;
}

/* /ASSETS*/


/**
 * Modal
**/
.modal {
	display: none;
	position: fixed;
	inset: 0;
	flex-flow: wrap;
	justify-content: center;
	padding: 1.2rem;
	z-index: 1000;
}

.modal .__content {
	display: block;
	background: #fff;
	padding: 40px 40px 25px;
	position: relative;
	width: 100%;
	max-width: 50rem;
	max-height: 100%;
	border-radius: 10px;
	z-index: 1;
}

.modal .__content img {
	margin-bottom: 15px;
}

.modal .__mask {
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(2px);
	position: fixed;
	inset: 0;
	cursor: pointer;
}

.modal .center {
	text-align: center;
}

.modal .center :is(h1, h2, h3) {
	margin-inline: auto;
	justify-content: center;
}

.modal .center {
	margin-bottom: 1rem;
}

.modal .close {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	font-weight: 600;
	font-size: 1rem;
}

.modal .__content ul{
	padding-left: 1rem;
	margin-bottom: 1rem;
}
.modal.resurrected div.center{
	margin-bottom: 0;
	margin-top: 1rem;
}

.modal.modal-id-nomessages {
	align-items: center;
}

.modal .close:hover {
	color: var(--primary);
}

@media (min-width: 1100px) {
	.modal {
		align-items: center;
	}
}

@media (max-width: 877px) {
	.modal .close {
		color: var(--color);
		top: 10px;
		right: 10px;
	}
}

@media(max-width: 456px) {
	.modal .__content {
		padding: 2rem 1rem;
		font-size: 0.9em;
	}
}

.modal-id-ai-description .__content {
	padding-bottom: 1rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;

}

.ai-chat-container {
	max-height: 35rem;
	overflow-y: scroll;
	padding-bottom: 2rem;
}

.ai-chat-container .response:has(> .prompt-suggestion)+.response {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e7e5e5;
}

.ai-chat-container .prompt {
	display: block;
	background: #efefef;
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 10px;
	max-width: fit-content;
	margin-left: auto;
}

.ai-chat-container .result {
	font-style: italic;
	color: gray;
	margin-bottom: 5px;
}

.ai-chat-container a.button {
	display: flex;
	font-size: .9rem;
	/*color: var(--primary);*/
	margin-left: auto;
	max-width: max-content;
	border: 0;
	padding-block: 0.7em;
	background: #d3e1e1;
}

.ai-chat-container a.button:hover {
	background: #bed3d3;
	color: inherit;
}

.ai-chat-container .response-content-wrapper {
	background: #fafafa;
	border-radius: 10px;
	padding: .7rem;
}

.ai-chat-container .response-content {
	padding: 0.5rem .7rem;
}

.ai-chat-input {
	position: sticky;
	bottom: 0;
	inset-inline: 2.5rem;
	background: #e1e7e7;
	padding: 5px;
	border-radius: 5px;
	gap: 10px;
	align-items: flex-start;
}

.ai-chat-input textarea {
	height: 45px;
	border: 0;
	background: #ffffffd9;
	min-height: 45px;
	resize: vertical;
	width: auto;
	flex: 1;
}

.ai-chat-input textarea:focus {
	outline: 0;
}

.ai-chat-input button {
	border: 0;
	padding: 0;
	rotate: 90deg;
	width: 45px;
	height: 45px;
	display: grid;
	place-content: center;
	background: #eff4f4;
}

.ai-chat-input button:hover {
	background: #fdfefe;
	color: var(--text);
}

.prompt-suggestion {
	position: relative;
	padding: 0rem 0 0rem 1rem;
	border-left: 3px solid;
	margin-block: 1rem;
	font-size: 0.9rem;
	max-width: 60ch;
}

.prompt-suggestion div {
	margin-bottom: 10px;
}

@media(max-width: 576px) {
	.ai-chat-input button {
		padding: 0.6rem 0.7rem;
		border-radius: 50rem;
	}
}


.loader-overlay {
	position: fixed;
	z-index: 9999;
	inset: 0;
	background: rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.loading-container .loading-spinner{
	border-color: var(--primary) rgb(243, 243, 243) rgb(243, 243, 243) !important;
}

.loader {

	/* FilePond PDF Preview Styles */
	.filepond--pdf-preview {
		background: #f8f9fa;
		border-radius: 8px;
		overflow: hidden;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	.filepond--pdf-preview canvas {
		max-width: 100%;
		height: auto;
		display: block;
	}

	.filepond--pdf-preview .filepond--pdf-preview__page {
		margin-bottom: 8px;
		border-radius: 4px;
		overflow: hidden;
	}

	.filepond--pdf-preview .filepond--pdf-preview__page:last-child {
		margin-bottom: 0;
	}

	/* Improve PDF preview container */
	.filepond--item-panel {
		border-radius: 8px;
		overflow: hidden;
	}

	.filepond--pdf-preview-container {
		padding: 12px;
		background: #fff;
		border-radius: 6px;
		margin: 8px 0;
	}

	/* Better styling for PDF file items */
	.filepond--file[data-file-type="application/pdf"] .filepond--file-info {
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
		color: white;
		border-radius: 6px;
		padding: 8px 12px;
	}

	.filepond--file[data-file-type="application/pdf"] .filepond--file-info::before {
		content: "ðŸ“„";
		margin-right: 8px;
		font-size: 1.2em;
	}

	/* Enhanced PDF preview styling */
	.filepond--pdf-preview__page {
		background: white;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
		margin: 4px 0;
		border-radius: 4px;
	}

	.filepond--pdf-preview__page canvas {
		border-radius: 4px;
		max-width: 100%;
		height: auto;
	}

	/* Responsive PDF preview */
	@media (max-width: 768px) {
		.filepond--pdf-preview {
			padding: 8px;
		}

		.filepond--pdf-preview__page {
			margin: 2px 0;
		}
	}

	color: var(--primary, #eb565f);
}

/* Fix FilePond image display */
.filepond--image-preview {
	display: block !important;
}

.filepond--image-preview img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.filepond--file[data-file-type*="image"] .filepond--image-preview {
	display: block !important;
}

/* Ensure proper image display in crop modal */
.image-crop-container img {
	max-width: 100%;
	max-height: 400px;
	object-fit: contain;
}

/* Force FilePond to refresh image display */
.filepond--file[data-file-type*="image"] {
	background: transparent !important;
}

.filepond--file[data-file-type*="image"] .filepond--image-preview-wrapper {
	background: transparent !important;
}

/* Ensure cropped images display properly */
.filepond--file[data-file-type*="image"] .filepond--image-preview {
	background-size: cover !important;
	background-position: center !important;
}

/* Hide all text in FilePond when image is uploaded */
.filepond--file:not(.filepond--file-idle) .filepond--file-info {
	display: none !important;
}

.filepond--file:not(.filepond--file-idle) .filepond--label-idle {
	display: none !important;
}

/* Image Crop Modal Styles - Updated for new modal structure */
.image-crop-modal,
.modal-id-imagecrop {
	/* Modal structure follows the project's modal pattern */
	display: flex !important;
}

.image-crop-modal .__content {
	max-width: 600px;
	width: 90vw;
	max-height: 80vh;
	overflow-y: auto;
	background: white;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 24px;
}

.image-crop-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--secondary-accent, #dce6e6);
}

.image-crop-header h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color, #304646);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.image-crop-header .modal-close {
	background: none;
	border: none;
	font-size: 1.2rem;
	color: var(--color, #304646);
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.image-crop-header .modal-close:hover {
	background-color: var(--secondary-accent, #dce6e6);
}

.image-crop-content {
	margin-bottom: 1.5rem;
}

.image-crop-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
	background: var(--secondary, #eff4f4);
	border-radius: 8px;
	padding: 20px;
	min-height: 300px;
	border: 1px solid var(--secondary-accent, #dce6e6);
}

.crop-image {
	max-width: 100%;
	max-height: 400px;
	object-fit: contain;
	border-radius: 8px;
	display: block;
	width: auto;
	height: auto;
}

.image-crop-instructions {
	text-align: center;
	color: var(--color, #304646);
	font-size: 0.9rem;
	line-height: 1.5;
	margin-top: 1rem;
}

.image-crop-instructions p {
	margin: 4px 0;
	color: #666;
}

.image-crop-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 1rem;
	border-top: 1px solid var(--secondary-accent, #dce6e6);
}

.image-crop-footer .button {
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	font-size: 0.9rem;
	min-width: 80px;
}

.image-crop-footer .button.secondary {
	background: var(--secondary, #eff4f4);
	color: var(--color, #304646);
	border: 1px solid var(--secondary-accent, #dce6e6);
}

.image-crop-footer .button.secondary:hover {
	background: var(--secondary-accent, #dce6e6);
}

.image-crop-footer .button.primary {
	background: var(--primary, #eb565f);
	color: white;
}

.image-crop-footer .button.primary:hover {
	background: var(--hover, #d4454f);
}

.image-crop-footer .button:disabled {
	background: #ccc;
	cursor: not-allowed;
	opacity: 0.5;
}

/* ReactCrop Custom Styles */
.ReactCrop {
	position: relative;
	display: inline-block;
	cursor: crosshair;
	overflow: hidden;
	max-width: 100%;
	max-height: 400px;
	border-radius: 8px;
}

.ReactCrop__crop-selection {
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 0;
	left: 0;
	transform: translate3d(0, 0, 0);
	box-sizing: border-box;
	cursor: move;
	touch-action: none;
}

.ReactCrop__drag-handle {
	position: absolute;
	width: 12px;
	height: 12px;
	background: #fff;
	border: 2px solid var(--primary, #eb565f);
	border-radius: 50%;
	box-sizing: border-box;
	outline: 2px solid #fff;
}

.ReactCrop__drag-handle.ord-nw {
	top: -6px;
	left: -6px;
	cursor: nw-resize;
}

.ReactCrop__drag-handle.ord-n {
	top: -6px;
	left: 50%;
	margin-left: -6px;
	cursor: n-resize;
}

.ReactCrop__drag-handle.ord-ne {
	top: -6px;
	right: -6px;
	cursor: ne-resize;
}

.ReactCrop__drag-handle.ord-e {
	top: 50%;
	right: -6px;
	margin-top: -6px;
	cursor: e-resize;
}

.ReactCrop__drag-handle.ord-se {
	bottom: -6px;
	right: -6px;
	cursor: se-resize;
}

.ReactCrop__drag-handle.ord-s {
	bottom: -6px;
	left: 50%;
	margin-left: -6px;
	cursor: s-resize;
}

.ReactCrop__drag-handle.ord-sw {
	bottom: -6px;
	left: -6px;
	cursor: sw-resize;
}

.ReactCrop__drag-handle.ord-w {
	top: 50%;
	left: -6px;
	margin-top: -6px;
	cursor: w-resize;
}

/* Circle Crop Styles */
.circle-crop .ReactCrop__crop-selection {
	border-radius: 50%;
}

.circle-crop .ReactCrop__drag-handle {
	border-radius: 50%;
}

/* Responsive Design */
@media(max-width: 475px) {
	.grid:not(.articles) {
		--grid-min-col-size: 130px;
		--grid-gap: 10px;
	}

	.big-buttons__container {
		padding: 1rem;
		padding: 0;
	}

	.big-button.vertical svg {
		font-size: 1.4rem;
	}

	.big-buttons__container .big-button {
		aspect-ratio: initial;
		padding: 1rem;
		border-radius: .4em;
		min-height: 105px;
	}

	.big-buttons__container p {
		width: 100%;
	}

	#content .big-buttons__container strong {
		font-size: .85rem;
	}

	#content .big-buttons__container span {
		font-size: .75rem;
	}

	.card p,
	.step-11 .flex:has(> .button.ai)>span,
	.step-12 .flex:has(> .button.ai)>span {
		font-size: .9rem;
	}


}

@media (max-width: 768px) {
	.image-crop-modal .__content {
		width: 95vw;
		max-height: 90vh;
		padding: 16px;
	}

	.image-crop-header {
		margin-bottom: 1rem;
	}

	.image-crop-header h2 {
		font-size: 1.1rem;
	}

	.image-crop-container {
		min-height: 250px;
		padding: 16px;
	}

	.crop-image {
		max-height: 300px;
	}

	.image-crop-footer {
		flex-direction: column;
		gap: 8px;
	}

	.image-crop-footer .button {
		width: 100%;
		padding: 10px 20px;
	}

}

@media (max-width: 480px) {
	.container {
		--side-space: 2rem;
	}

	.single-profile .summary {
		flex-direction: column;
		align-items: flex-start;
	}

	.image-crop-modal .__content {
		width: 98vw;
		padding: 12px;
	}

	.image-crop-container {
		min-height: 200px;
		padding: 12px;
	}

	.crop-image {
		max-height: 250px;
	}
}

.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	padding: 16px 20px;
	min-width: 250px;
	max-width: 400px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	transform: translateX(100%);
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-left: 4px solid;
	animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast.show {
	transform: translateX(0);
	opacity: 1;
}

.toast.leaving {
	transform: translateX(100%);
	opacity: 0;
}

.toast.success {
	border-left-color: #10b981;
	background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.toast.error {
	border-left-color: #ef4444;
	background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.toast-content {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.toast-icon {
	font-size: 16px;
	color: #10b981;
}

.toast.error .toast-icon {
	color: #ef4444;
}

.toast-message {
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	line-height: 1.4;
}

.toast-close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	border-radius: 4px;
	color: #6b7280;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.toast-close:hover {
	background: rgba(0, 0, 0, 0.05);
	color: #374151;
}

.toast-close i {
	font-size: 12px;
}

/* Animation for multiple toasts */
.toast+.toast {
	margin-top: 8px;
}

/* Keyframes for animation */
@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideOut {
	from {
		transform: translateX(0);
		opacity: 1;
	}

	to {
		transform: translateX(100%);
		opacity: 0;
	}
}

/* Responsive */
@media (max-width: 480px) {
	.toast {
		right: 10px;
		left: 10px;
		min-width: auto;
		max-width: none;
	}
}