@font-face {
	font-family: "Vazir";
	src: url("../fonts/Vazir.woff2") format("woff2");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

.wsr {
	--wsr-accent: #dcae62;
	--wsr-accent-rgb: 220, 174, 98;
	--wsr-deep: #123b35;
	--wsr-deeper: #092a26;
	--wsr-ink: #18211f;
	--wsr-muted: #64716e;
	--wsr-surface: #f3f6f3;
	--wsr-border: rgba(21, 59, 53, .11);
	position: relative;
	width: 100%;
	margin: 24px auto;
	color: var(--wsr-ink);
	font-family: "Vazir", Tahoma, Arial, sans-serif;
	isolation: isolate;
}

.wsr input,
.wsr select,
.wsr button,
.wsr h2,
.wsr h3,
.wsr a {
	font-family: "Vazir", Tahoma, Arial, sans-serif !important;
}

.wsr--ocean {
	--wsr-accent: #55c3c9;
	--wsr-accent-rgb: 85, 195, 201;
	--wsr-deep: #164d66;
	--wsr-deeper: #0a3047;
	--wsr-surface: #f0f7f9;
	--wsr-border: rgba(22, 77, 102, .11);
}

.wsr--sunset {
	--wsr-accent: #ffb36b;
	--wsr-accent-rgb: 255, 179, 107;
	--wsr-deep: #753d35;
	--wsr-deeper: #4b262d;
	--wsr-surface: #faf4f1;
	--wsr-border: rgba(117, 61, 53, .11);
}

.wsr *, .wsr *::before, .wsr *::after { box-sizing: border-box; }
.wsr svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wsr [hidden] { display: none !important; }
.wsr .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.wsr__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 28px;
	min-height: 278px;
	padding: clamp(34px, 5vw, 66px);
	overflow: hidden;
	border-radius: 30px;
	background:
		radial-gradient(circle at 10% 20%, rgba(var(--wsr-accent-rgb), .2), transparent 30%),
		linear-gradient(135deg, var(--wsr-deeper), var(--wsr-deep));
	box-shadow: 0 28px 70px rgba(8, 39, 35, .17);
	color: #fff;
}

.wsr__hero::after {
	content: "";
	position: absolute;
	left: -35px;
	top: -55px;
	width: 190px;
	height: 190px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 50%;
	box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.02);
}

.wsr__hero-pattern {
	position: absolute;
	inset: 0;
	opacity: .15;
	background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.18) 49%, rgba(255,255,255,.18) 51%, transparent 52%);
	background-size: 70px 40px;
	-webkit-mask-image: linear-gradient(to left, #000, transparent 78%);
	mask-image: linear-gradient(to left, #000, transparent 78%);
}

.wsr__hero-content, .wsr__stats { position: relative; z-index: 1; }
.wsr__hero-content { max-width: 720px; }

.wsr__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 17px;
	color: var(--wsr-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
}

.wsr__eyebrow svg { font-size: 18px; }
.wsr__title { margin: 0 0 14px !important; color: #fff !important; font-size: clamp(32px, 5vw, 57px) !important; font-weight: 900 !important; line-height: 1.15 !important; letter-spacing: -.035em; }
.wsr__subtitle { max-width: 650px; margin: 0 !important; color: rgba(255,255,255,.72); font-size: clamp(14px, 1.6vw, 17px); line-height: 2; }

.wsr__stats {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 208px;
	padding: 18px 22px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 20px;
	background: rgba(255,255,255,.085);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.wsr__stat { display: grid; justify-items: center; gap: 1px; min-width: 65px; }
.wsr__stat strong { color: #fff; font-size: 25px; line-height: 1.2; }
.wsr__stat span { color: rgba(255,255,255,.62); font-size: 11px; }
.wsr__stat-divider { width: 1px; height: 35px; background: rgba(255,255,255,.17); }

.wsr__toolbar {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(180px, .38fr) auto;
	gap: 12px;
	width: calc(100% - clamp(28px, 7vw, 100px));
	margin: -31px auto 36px;
	padding: 13px;
	border: 1px solid var(--wsr-border);
	border-radius: 19px;
	background: rgba(255,255,255,.97);
	box-shadow: 0 18px 45px rgba(18, 48, 44, .12);
}

.wsr__field { position: relative; display: flex; align-items: center; margin: 0; }
.wsr__field > svg { position: absolute; right: 17px; z-index: 1; color: var(--wsr-deep); font-size: 20px; pointer-events: none; }
.wsr__field input, .wsr__field select {
	width: 100%;
	height: 51px;
	margin: 0;
	padding: 0 50px 0 18px;
	border: 1px solid transparent;
	border-radius: 12px;
	outline: none;
	background: var(--wsr-surface);
	box-shadow: none;
	color: var(--wsr-ink);
	font: inherit;
	font-size: 14px;
	transition: border-color .2s, box-shadow .2s, background .2s;
}

.wsr__field input:focus, .wsr__field select:focus { border-color: rgba(var(--wsr-accent-rgb), .8); background: #fff; box-shadow: 0 0 0 4px rgba(var(--wsr-accent-rgb), .14); }
.wsr__field select { appearance: auto; cursor: pointer; }
.wsr__reset { padding: 0 15px; border: 0; background: transparent; color: var(--wsr-deep); font: inherit; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.wsr__reset:hover { color: var(--wsr-accent); }

.wsr__grid { display: grid; grid-template-columns: repeat(var(--wsr-columns), minmax(0, 1fr)); gap: 18px; }

.wsr-card {
	position: relative;
	display: flex;
	min-height: 286px;
	padding: 0 22px 20px;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid rgba(21, 59, 53, .09);
	border-radius: 24px;
	background: linear-gradient(180deg, #fff 0%, #fff 78%, rgba(var(--wsr-accent-rgb), .035) 100%);
	box-shadow: 0 12px 36px rgba(13, 45, 40, .07);
	animation: wsr-card-in .55s both;
	animation-delay: var(--wsr-delay);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.wsr-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 86px;
	background:
		radial-gradient(circle at 14% 15%, rgba(255,255,255,.2), transparent 28%),
		linear-gradient(135deg, var(--wsr-deeper), var(--wsr-deep));
}
.wsr-card::after { content: ""; position: absolute; left: -34px; bottom: -50px; width: 120px; height: 120px; border: 1px solid rgba(var(--wsr-accent-rgb), .16); border-radius: 50%; box-shadow: 0 0 0 18px rgba(var(--wsr-accent-rgb), .035); transition: transform .25s; }
.wsr-card:hover { transform: translateY(-7px); border-color: rgba(var(--wsr-accent-rgb), .48); box-shadow: 0 24px 55px rgba(13, 45, 40, .14); }
.wsr-card:hover::after { transform: scale(1.14); }
.wsr-card__top { position: relative; z-index: 1; display: flex; height: 86px; margin: 0 -22px 24px; padding: 18px 20px; align-items: center; justify-content: space-between; }
.wsr-card__marker { display: grid; width: 49px; height: 49px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.11); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); color: var(--wsr-accent); font-size: 23px; backdrop-filter: blur(5px); }
.wsr-card__number { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.83); font-size: 13px; font-weight: 800; letter-spacing: .06em; direction: ltr; }
.wsr-card__number small { padding: 5px 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; color: rgba(255,255,255,.62); font-size: 9px; font-weight: 700; letter-spacing: 0; direction: rtl; }
.wsr-card__title { min-height: 56px; margin: 0 0 10px !important; color: var(--wsr-ink) !important; font-size: 18px !important; font-weight: 850 !important; line-height: 1.65 !important; }
.wsr-card__location { display: inline-flex; width: fit-content; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--wsr-border); border-radius: 99px; background: var(--wsr-surface); color: var(--wsr-muted); font-size: 12px; }
.wsr-card__location svg { color: var(--wsr-accent); font-size: 15px; }
.wsr-card__footer { position: relative; z-index: 1; display: flex; align-items: stretch; gap: 8px; margin-top: auto; padding-top: 19px; }
.wsr-card__link { display: inline-flex; min-height: 43px; padding: 0 15px; flex: 1; align-items: center; justify-content: space-between; gap: 7px; border-radius: 12px; background: rgba(var(--wsr-accent-rgb), .14); color: var(--wsr-deep) !important; font-size: 12px; font-weight: 850; text-decoration: none !important; transition: color .2s, background .2s, transform .2s; }
.wsr-card__link svg { font-size: 16px; transform: rotate(180deg); transition: transform .2s; }
.wsr-card__link:hover { background: var(--wsr-deep); color: #fff !important; transform: translateY(-1px); }
.wsr-card__link:hover svg { transform: rotate(180deg) translateX(3px); }
.wsr-card__secondary { display: grid; width: 43px; min-width: 43px; place-items: center; border: 1px solid var(--wsr-border); border-radius: 12px; background: #fff; color: var(--wsr-muted) !important; font-size: 10px; text-decoration: none !important; }
.wsr-card__secondary:hover { border-color: var(--wsr-accent); color: var(--wsr-deep) !important; }
.wsr-card__offline { display: inline-flex; min-height: 43px; padding: 0 14px; flex: 1; align-items: center; justify-content: center; gap: 7px; border: 1px dashed var(--wsr-border); border-radius: 12px; background: var(--wsr-surface); color: #7b8985; font-size: 12px; font-weight: 750; }
.wsr-card__offline svg { font-size: 15px; }

.wsr__empty { padding: 70px 20px; border: 1px dashed var(--wsr-border); border-radius: 20px; background: var(--wsr-surface); text-align: center; }
.wsr__empty > span { display: grid; width: 58px; height: 58px; margin: 0 auto 16px; place-items: center; border-radius: 18px; background: #fff; color: var(--wsr-deep); font-size: 25px; }
.wsr__empty strong { display: block; margin-bottom: 7px; font-size: 18px; }
.wsr__empty p, .wsr__noscript { margin: 0; color: var(--wsr-muted); font-size: 13px; }

@keyframes wsr-card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
	.wsr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsr__hero { min-height: 250px; }
}

@media (max-width: 767px) {
	.wsr { margin: 15px auto; }
	.wsr__hero { grid-template-columns: 1fr; align-items: start; min-height: 330px; padding: 30px 24px 80px; border-radius: 22px; }
	.wsr__title { font-size: 34px !important; }
	.wsr__stats { justify-self: stretch; justify-content: center; min-width: 0; }
	.wsr__toolbar { grid-template-columns: 1fr; width: calc(100% - 28px); margin-top: -54px; padding: 10px; border-radius: 16px; }
	.wsr__reset { min-height: 34px; }
	.wsr__grid { grid-template-columns: 1fr; gap: 13px; }
	.wsr-card { min-height: 275px; padding: 0 19px 18px; }
	.wsr-card__top { margin-right: -19px; margin-left: -19px; }
}

@media (prefers-reduced-motion: reduce) {
	.wsr-card { animation: none; transition: none; }
}
