/*
 * پوسته‌ی ویسا: کتابخانه‌ی جهت‌های هنری (۰٫۵٫۰).
 * هر جهت کلاس والد جدایی دارد: wl-ed سردبیری، wl-lx لوکس، wl-br برالیستی، wl-pop پاپ، wl-tk تکنو،
 * wl-og ارگانیک، wl-mk بازارچه، wl-co شرکتی. همه‌ی رنگ‌ها از پالت قالب می‌آیند.
 * ترتیب فایل: مشترک ← هر جهت با همان ترتیب. فقط وقتی صفحه کلاس wl- دارد بارگذاری می‌شود.
 */

/* ============ مشترک ============ */
.wl-sec {
	--wl-ink: var(--wp--preset--color--contrast);
	--wl-paper: var(--wp--preset--color--base);
	--wl-accent: var(--wp--preset--color--accent);
	--wl-primary: var(--wp--preset--color--primary);
	--wl-muted: var(--wp--preset--color--muted);
	--wl-line: color-mix(in srgb, currentColor 16%, transparent);
	--wl-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	overflow: hidden;
}
.wl-sec :is(.wl-ed-hero, .wl-idx, .wl-idx-row, .wl-look, .wl-pin, .wl-duo, .wl-panels, .wl-lx-hero, .wl-lx-stage, .wl-lx-facts, .wl-an-grid, .wl-an-col, .wl-an-item, .wl-duo-split, .wl-br-hero, .wl-bcs, .wl-bc) > * {
	margin: 0;
}
.wl-sec .wp-block-image { margin: 0; }
.wl-sec a { text-underline-offset: 0.3em; }
.wl-snap { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.wl-snap > * { flex: 0 0 min(15.5rem, 72vw); scroll-snap-align: start; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
@keyframes wl-spin-rev { to { transform: rotate(-360deg); } }
@keyframes wl-bob { 50% { transform: translate3d(0, -0.6rem, 0); } }
@keyframes wl-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wl-accent) 55%, transparent); } 100% { box-shadow: 0 0 0 1rem transparent; } }

/* ============ سردبیری (wl-ed) ============ */
.wl-ed { color: var(--wl-ink); }
.wl-ed .wp-block-image img { border-radius: 0; }
.wl-ed .weesa-eyebrow { letter-spacing: 0; font-family: var(--wp--preset--font-family--mirza), serif; font-size: 1.05rem; font-weight: 400; color: var(--wl-muted); }

.wl-ed-hero {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: end;
	column-gap: 1.5rem;
	min-height: min(44rem, 88vh);
	isolation: isolate;
	position: relative;
	background: var(--wl-paper);
}
.wl-ed-copy { grid-column: 1 / 9; grid-row: 1; align-self: center; display: grid; gap: 1.25rem; }
.wl-ed-figure { grid-column: 7 / 13; grid-row: 1; align-self: stretch; position: relative; }
.wl-ed-img img { width: 100%; height: 100%; min-height: 36rem; object-fit: cover; }
.wl-ed-cap { font-size: 0.8125rem; color: var(--wl-muted); margin-top: 0.6rem !important; }
.wl-ed-issue { font-size: 0.875rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--wl-line); width: max-content; }
.wl-sec .wl-ed-title { position: relative; z-index: 2; font-size: clamp(3.6rem, 10vw, 9rem) !important; line-height: 0.95 !important; font-weight: 400 !important; margin: 0 !important; color: #fff !important; mix-blend-mode: difference; }
.wl-ed-title em { font-style: italic; }
.wl-ed-text { max-width: 24rem; font-size: 1.0625rem; color: var(--wl-muted); }
.wl-ed-side { position: absolute; inset-block: 0; inset-inline-end: 0; margin: auto 0 !important; height: max-content; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.8125rem; color: var(--wl-muted); letter-spacing: 0.1em; }
.wl-ed-cta .wp-block-button__link { border-radius: 0; padding-inline: 2rem; }

/* فهرست تایپوگرافیک */
.wl-idx { border-top: 1px solid var(--wl-line); }
.wl-idx-row {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr) auto 5.5rem 2rem;
	align-items: center;
	column-gap: 1.5rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--wl-line);
	position: relative;
	transition: padding 0.45s var(--wl-ease), background-color 0.3s, color 0.3s;
}
.wl-idx-num { font-size: 0.9rem; color: var(--wl-muted); }
.wl-sec .wl-idx-title { font-size: clamp(2rem, 5.2vw, 4.2rem) !important; line-height: 1.1 !important; font-weight: 400 !important; margin: 0 !important; }
.wl-idx-title a { color: inherit; text-decoration: none; }
.wl-idx-title a::after { content: ""; position: absolute; inset: 0; }
.wl-idx-meta { font-size: 0.9rem; color: var(--wl-muted); }
.wl-idx-thumb { width: 5.5rem; opacity: 0; transform: scale(0.5) rotate(-8deg); transition: opacity 0.35s, transform 0.5s var(--wl-ease); }
.wl-idx-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.wl-idx-arrow { font-size: 1.5rem; transition: transform 0.4s var(--wl-ease); }
.wl-idx-row:hover, .wl-idx-row:focus-within { padding-inline: 1.25rem; background: var(--wl-ink); color: var(--wl-paper); }
.wl-idx-row:hover :is(.wl-idx-num, .wl-idx-meta) { color: inherit; opacity: 0.7; }
.wl-idx-row:hover .wl-idx-thumb { opacity: 1; transform: none; }
.wl-idx-row:hover .wl-idx-arrow { transform: translateX(-0.6rem); }

/* لوک‌بوک با نقطه */
.wl-look { position: relative; }
.wl-look__img img { width: 100%; height: auto; display: block; }
.wl-pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; translate: -50% -50%; }
.wl-pin__dot { margin: 0 !important; }
.wl-pin__dot a {
	display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
	background: var(--wl-paper); color: var(--wl-ink); font-weight: 700; text-decoration: none;
	box-shadow: 0 2px 12px rgb(0 0 0 / 0.3); animation: wl-pulse 2.2s infinite;
}
.wl-pin__card {
	position: absolute; bottom: calc(100% + 0.9rem); left: 50%; translate: -50% 0.5rem; min-width: 12rem;
	padding: 0.8rem 1rem; background: var(--wl-paper); color: var(--wl-ink); text-align: center;
	box-shadow: 0 14px 40px rgb(0 0 0 / 0.25); opacity: 0; pointer-events: none;
	transition: opacity 0.3s, translate 0.4s var(--wl-ease);
}
.wl-pin__card > * { margin: 0 !important; }
.wl-pin__price { font-size: 0.875rem; color: var(--wl-muted); }
.wl-pin:hover .wl-pin__card, .wl-pin:focus-within .wl-pin__card { opacity: 1; translate: -50% 0; }
.wl-pin:hover, .wl-pin:focus-within { z-index: 5; }
.wl-x-10 { --x: 10%; } .wl-x-20 { --x: 20%; } .wl-x-30 { --x: 30%; } .wl-x-40 { --x: 40%; } .wl-x-50 { --x: 50%; }
.wl-x-60 { --x: 60%; } .wl-x-70 { --x: 70%; } .wl-x-80 { --x: 80%; } .wl-x-90 { --x: 90%; }
.wl-y-10 { --y: 10%; } .wl-y-20 { --y: 20%; } .wl-y-30 { --y: 30%; } .wl-y-40 { --y: 40%; } .wl-y-50 { --y: 50%; }
.wl-y-60 { --y: 60%; } .wl-y-70 { --y: 70%; } .wl-y-80 { --y: 80%; } .wl-y-90 { --y: 90%; }

/* دو عکس جابه‌جا */
.wl-duo { display: grid; grid-template-columns: 1.15fr 1fr 0.8fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.wl-duo-a img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.wl-duo-copy { display: grid; gap: 1.1rem; padding-top: 3rem; }
.wl-sec .wl-duo-quote { font-size: clamp(1.6rem, 3vw, 2.4rem) !important; line-height: 1.5 !important; font-weight: 400 !important; margin: 0 !important; }
.wl-duo-author { font-size: 0.9rem; color: var(--wl-muted); }
.wl-duo-b { margin-top: 9rem !important; }
.wl-duo-b img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* پنل‌های باز شونده */
.wl-panels { display: flex; gap: 0.5rem; height: min(38rem, 82vh); }
.wl-panels > .wl-panel { flex: 1 1 0; min-height: 0 !important; margin: 0 !important; align-items: flex-end; padding: 1.75rem; transition: flex-grow 0.7s var(--wl-ease); overflow: hidden; }
.wl-panels > .wl-panel:hover, .wl-panels > .wl-panel:focus-within { flex-grow: 2.8; }
.wl-panel .wp-block-cover__inner-container { width: 100%; max-width: none; color: #fff; }
.wl-panel__kicker { font-size: 0.85rem; opacity: 0.8; margin: 0 !important; }
.wl-sec .wl-panel__title { font-size: clamp(1.75rem, 3vw, 2.6rem) !important; font-weight: 400 !important; color: #fff !important; margin: 0.15rem 0 0 !important; }
.wl-panel__more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--wl-ease), opacity 0.5s; }
.wl-panel:hover .wl-panel__more, .wl-panel:focus-within .wl-panel__more { max-height: 8rem; opacity: 1; }
.wl-panel__more > * { margin: 0.5rem 0 0 !important; }
.wl-panel__link a { color: #fff; font-weight: 700; }
.wl-panel .wp-block-cover__image-background { transition: transform 1.2s var(--wl-ease); }
.wl-panel:hover .wp-block-cover__image-background { transform: scale(1.06); }

@media (max-width: 900px) {
	.wl-ed-hero { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: 0; }
	.wl-ed-copy { margin-top: -4rem; }
	.wl-ed-img img { min-height: 24rem; }
	.wl-ed-side { display: none; }
	.wl-idx-row { grid-template-columns: 2rem minmax(0, 1fr) auto; }
	.wl-idx-thumb, .wl-idx-arrow { display: none; }
	.wl-duo { grid-template-columns: 1fr 1fr; }
	.wl-duo-copy { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
	.wl-duo-b { margin-top: 3rem !important; }
	.wl-panels { flex-direction: column; height: auto; }
	.wl-panels > .wl-panel { min-height: 16rem !important; }
	.wl-panel__more { max-height: none; opacity: 1; }
}
@media (hover: none) {
	.wl-panel__more { max-height: none; opacity: 1; }
	.wl-pin__card { opacity: 1; translate: -50% 0; }
}

/* ============ لوکس (wl-lx) ============ */
.wl-lx {
	background:
		radial-gradient(60% 50% at 50% 38%, color-mix(in srgb, var(--wl-accent) 22%, transparent), transparent 70%),
		color-mix(in srgb, var(--wl-ink) 94%, #000);
	color: var(--wl-paper);
	--wl-line: color-mix(in srgb, var(--wl-accent) 45%, transparent);
}
.wl-lx :is(h1, h2, h3, h4, a:not(.wp-element-button), p) { color: inherit; }
.wl-lx .wp-block-image img { border-radius: 0; }
.wl-lx-hero { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); justify-items: center; text-align: center; }
.wl-lx-copy { display: grid; gap: 1.1rem; justify-items: center; max-width: 40rem; position: relative; z-index: 2; }
.wl-lx-eyebrow { font-size: 0.85rem; color: var(--wl-accent) !important; border-block: 1px solid var(--wl-line); padding: 0.35rem 1.25rem; }
.wl-sec .wl-lx-title { font-size: clamp(2.6rem, 7vw, 5.6rem) !important; font-weight: 400 !important; line-height: 1.15 !important; margin: 0 !important; }
.wl-lx-title em { color: var(--wl-accent); font-style: italic; }
.wl-lx-text { opacity: 0.78; max-width: 32rem; }
.wl-lx-stage { position: relative; display: grid; place-items: center; width: min(32rem, 100%); aspect-ratio: 1; }
.wl-lx-stage > * { grid-area: 1 / 1; }
.wl-lx-rings { color: var(--wl-accent); }
.wl-lx-stage svg { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 118%; max-width: none; height: auto; color: var(--wl-accent); }
.wl-lx-r1, .wl-lx-r2 { transform-origin: center; transform-box: fill-box; animation: wl-spin 60s linear infinite; }
.wl-lx-r2 { animation: wl-spin-rev 90s linear infinite; }
.wl-lx-product { width: 62%; }
.wl-lx-product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% !important; box-shadow: 0 0 0 1px var(--wl-accent), 0 0 0 10px color-mix(in srgb, var(--wl-accent) 12%, transparent), 0 40px 90px rgb(0 0 0 / 0.55); }
.wl-lx-product { animation: wl-bob 7s ease-in-out infinite; }
.wl-lx-price { align-self: end; justify-self: center; margin-bottom: -0.5rem !important; background: var(--wl-accent); color: var(--wl-ink) !important; padding: 0.4rem 1.2rem; font-weight: 700; font-size: 0.95rem; position: relative; z-index: 2; }
.wl-lx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--wl-line); margin-top: 1rem; }
.wl-lx-fact { padding: 1.25rem 1rem; border-inline-start: 1px solid var(--wl-line); }
.wl-lx-fact:first-child { border-inline-start: 0; }
.wl-lx-fact > * { margin: 0 !important; }
.wl-lx-fact__v { font-size: 1.5rem; color: var(--wl-accent) !important; }
.wl-lx-fact__l { font-size: 0.875rem; opacity: 0.7; }
.wl-lx .wp-block-button.is-style-outline .wp-block-button__link { border-color: var(--wl-line); color: var(--wl-paper); border-radius: 0; }
.wl-lx .wp-block-button .wp-block-button__link { border-radius: 0; }

/* دو نیمه */
.wl-duo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; position: relative; }
.wl-duo-split > .wl-half { margin: 0 !important; display: grid; align-content: end; }
.wl-half .wp-block-cover__inner-container { text-align: center; }
.wl-half__kicker { color: #fff; opacity: 0.8; margin: 0 0 0.5rem !important; }
.wl-sec .wl-half__title { font-size: clamp(3rem, 9vw, 7.5rem) !important; font-weight: 400 !important; line-height: 1 !important; margin: 0 !important; }
.wl-half__title a { color: #fff; text-decoration: none; }
.wl-half__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.wl-half .wp-block-cover__background { transition: opacity 0.5s; }
.wl-half:hover .wp-block-cover__background { opacity: 0.15; }
.wl-half .wp-block-cover__image-background { transition: transform 1.4s var(--wl-ease); }
.wl-half:hover .wp-block-cover__image-background { transform: scale(1.05); }
.wl-duo-split__mid {
	position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 4; margin: 0 !important;
	display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%;
	background: var(--wl-paper); color: var(--wl-ink); font-size: 1.15rem;
	font-family: var(--wp--preset--font-family--mirza), serif; box-shadow: 0 8px 30px rgb(0 0 0 / 0.3);
}

/* کالبدشکافی */
.wl-an-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.wl-an-col { display: grid; gap: 2.25rem; }
.wl-an-item { position: relative; display: grid; gap: 0.2rem; padding-inline-start: 3.25rem; }
.wl-an-item::after { content: ""; position: absolute; top: 1.3rem; inset-inline-end: calc(-1 * clamp(2.5rem, 5vw, 5rem) + 0.5rem); width: calc(clamp(2.5rem, 5vw, 5rem) - 1rem); height: 1px; background: var(--wl-accent); opacity: 0.6; }
.wl-an-col:last-child .wl-an-item::after { inset-inline-end: auto; inset-inline-start: calc(-1 * clamp(2.5rem, 5vw, 5rem) + 0.5rem); }
.wl-an-n { position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--wl-accent); color: var(--wl-accent); font-size: 0.85rem; margin: 0 !important; }
.wl-sec .wl-an-t { margin: 0 !important; font-size: 1.15rem !important; }
.wl-an-d { margin: 0 !important; font-size: 0.9375rem; color: var(--wl-muted); }
.is-style-section-dark .wl-an-d { color: inherit; opacity: 0.7; }
.wl-an-stage { position: relative; display: grid; place-items: center; }
.wl-an-stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--wl-accent) 30%, transparent), transparent); }
.wl-an-img { position: relative; width: 100%; }
.wl-an-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
@media (max-width: 900px) {
	.wl-lx-facts { grid-template-columns: 1fr; }
	.wl-lx-fact { border-inline-start: 0; border-top: 1px solid var(--wl-line); }
	.wl-lx-fact:first-child { border-top: 0; }
	.wl-duo-split { grid-template-columns: 1fr; }
	.wl-an-grid { grid-template-columns: 1fr; }
	.wl-an-stage { order: -1; max-width: 22rem; margin-inline: auto; }
	.wl-an-item::after { display: none; }
}

/* ============ برالیستی (wl-br) ============ */
.wl-br { --wl-line: var(--wl-ink); background: var(--wl-paper); color: var(--wl-ink); }
.wl-br .wp-block-image img { border-radius: 0; }
.wl-br :is(h1, h2, h3) { font-weight: 900; }
.wl-br-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.wl-br-copy { display: grid; gap: 1.25rem; justify-items: start; }
.wl-br-tag { display: inline-block; border: 3px solid var(--wl-ink); padding: 0.2rem 0.8rem; font-weight: 800; font-size: 0.85rem; background: var(--wl-paper); }
.wl-sec .wl-br-l1 { font-size: clamp(4.5rem, 13vw, 11rem) !important; line-height: 0.85 !important; margin: 0 !important; font-weight: 900 !important; }
.wl-sec .wl-br-l2 { font-size: clamp(3rem, 8.5vw, 7rem) !important; line-height: 1 !important; margin: 0 !important; font-weight: 900 !important; background: var(--wl-accent); color: var(--wl-ink) !important; border: 3px solid var(--wl-ink); padding: 0.1em 0.3em; rotate: -2deg; box-shadow: 8px 8px 0 var(--wl-ink); }
.wl-br-text { font-size: 1.125rem; font-weight: 600; max-width: 30rem; }
.wl-br-frame { position: relative; border: 3px solid var(--wl-ink); box-shadow: 12px 12px 0 var(--wl-accent); background: var(--wl-ink); }
.wl-br-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.wl-br-sticker { position: absolute; top: -1.75rem; inset-inline-start: -1.75rem; rotate: -14deg; display: grid; place-items: center; width: 6.25rem; height: 6.25rem; margin: 0 !important; border-radius: 50%; background: var(--wl-primary); color: var(--wl-paper) !important; border: 3px solid var(--wl-ink); font-weight: 900; font-size: 1.3rem; text-align: center; }
.wl-br .wp-block-button .wp-block-button__link { border-radius: 0; }
.wp-block-button.is-style-brutal .wp-block-button__link { border-radius: 0; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); border: 3px solid var(--wp--preset--color--contrast); box-shadow: 5px 5px 0 var(--wp--preset--color--contrast); font-weight: 800; transition: translate 0.2s, box-shadow 0.2s; }
.wp-block-button.is-style-brutal .wp-block-button__link:hover { translate: 3px 3px; box-shadow: 2px 2px 0 var(--wp--preset--color--contrast); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.wl-sec .wl-br-h2 { font-size: clamp(2.5rem, 6vw, 5rem) !important; line-height: 1 !important; margin: 0 0 2rem !important; text-transform: none; }
.wl-br-ticker { background: var(--wl-ink); color: var(--wl-paper); border-block: 3px solid var(--wl-ink); }
.wl-br-ticker .weesa-marquee-text p { color: var(--wl-paper); font-size: 1.15rem; font-weight: 500; }
.wl-br-ticker strong { color: var(--wl-accent); }
.wl-up { color: #3ddc84; } .wl-down { color: #ff6b6b; }
.wl-bcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--wl-ink); border-inline-start: 3px solid var(--wl-ink); }
.wl-bc { position: relative; min-height: 12rem; padding: 1.1rem 1.25rem; display: grid; align-content: space-between; border-bottom: 3px solid var(--wl-ink); border-inline-end: 3px solid var(--wl-ink); transition: background-color 0.2s, color 0.2s; }
.wl-bc__meta { font-weight: 800; font-size: 0.85rem; }
.wl-sec .wl-bc__title { font-size: clamp(1.6rem, 3vw, 2.4rem) !important; line-height: 1.1 !important; margin: 0 !important; font-weight: 900 !important; }
.wl-bc__title a { color: inherit; text-decoration: none; }
.wl-bc__title a::after { content: ""; position: absolute; inset: 0; }
.wl-bc__arrow { font-size: 1.75rem; justify-self: end; transition: rotate 0.3s; }
.wl-bc:hover { background: var(--wl-accent); }
.wl-bc:hover .wl-bc__arrow { rotate: 45deg; }
.wl-bc:nth-child(4n+2):hover { background: var(--wl-primary); color: var(--wl-paper); }
@media (max-width: 900px) {
	.wl-br-hero { grid-template-columns: 1fr; }
	.wl-bcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wl-bc { min-height: 9rem; }
}

@media (prefers-reduced-motion: reduce) {
	.wl-sec * { animation: none !important; transition: none !important; }
}

/* ============ سربرگ و پابرگ‌های جدید ============ */
.wl-hd-ed, .wl-hd-min, .wl-ft-g, .wl-ft-l { overflow: visible; }
.wl-hd-ed { background: var(--wl-paper); padding-block: 0.5rem 0 !important; }
.wl-hd-ed__top { padding-block: 0.4rem; border-bottom: 1px solid var(--wl-line); color: var(--wl-muted); }
.wl-hd-ed__top p { margin: 0; }
.wl-hd-ed__mast { padding-block: 1.1rem 0.5rem; gap: 0.3rem; }
.wl-hd-ed__title { margin: 0; font-weight: 400; letter-spacing: 0; line-height: 1.1; }
.wl-hd-ed__title a { text-decoration: none; color: inherit; }
.wl-hd-ed__nav { border-block: 1px solid var(--wl-ink); padding-block: 0.55rem; margin-top: 0.7rem; }
.wl-hd-ed__nav .wp-block-navigation { font-size: 0.9375rem; font-weight: 600; gap: 0.5rem 2rem; }
.wl-hd-ed__nav .wp-block-navigation-item a { text-decoration: none; position: relative; padding-block: 0.15rem; }
.wl-hd-ed__nav .wp-block-navigation-item a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--wl-accent); transform: scaleX(0); transition: transform 0.35s var(--wl-ease); }
.wl-hd-ed__nav .wp-block-navigation-item a:hover::after { transform: scaleX(1); }

.wl-hd-min { background: transparent; }
.wl-hd-min__bar { align-items: center; }
.wl-hd-min__bar .wp-block-site-title a { text-decoration: none; color: inherit; }
.wl-hd-min__end { align-items: center; gap: 1.25rem; }
.wl-hd-min__end > * { margin: 0; }

.wl-ft-g__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid color-mix(in srgb, var(--wl-paper) 20%, transparent); }
.wl-ft-g__col { display: grid; align-content: start; gap: 0.4rem; }
.wl-ft-g__col > * { margin: 0; }
.wl-ft-g__h { font-size: 1.35rem; margin-bottom: 0.5rem !important; }
.wl-ft-g__p a, .wl-ft-g__p { font-size: 1.15rem; font-weight: 700; color: inherit; text-decoration: none; direction: ltr; text-align: start; }
.wl-ft-g__a { opacity: 0.7; }
.wl-ft-g .wp-block-navigation { gap: 0.4rem; } .wl-ft-g .wp-block-navigation a { color: inherit; text-decoration: none; opacity: 0.85; } .wl-ft-g .wp-block-navigation a:hover { opacity: 1; text-decoration: underline; }
.wl-ft-g__word { overflow: hidden; }
.wl-sec .wl-ft-g__title { margin: 0; line-height: 1; text-align: center; font-size: clamp(5rem, 22vw, 22rem) !important; font-weight: 900 !important; letter-spacing: 0; opacity: 0.92; color: inherit; }
.wl-ft-g__title a { color: inherit; text-decoration: none; }
.wl-ft-g__c { opacity: 0.6; margin-top: 1rem !important; }

.wl-ft-l { background: var(--wl-paper); }
.wl-ft-l__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--wl-ink); border-inline-start: 1px solid var(--wl-line); }
.wl-ft-l__cell { padding: 1.5rem 1.5rem 2rem; border-inline-end: 1px solid var(--wl-line); border-bottom: 1px solid var(--wl-line); display: grid; gap: 0.5rem; align-content: start; }
.wl-ft-l__cell > * { margin: 0; }
.wl-ft-l__h { color: var(--wl-muted); font-size: 0.875rem; margin-bottom: 0.4rem !important; }
.wl-ft-l__t { color: var(--wl-muted); font-size: 0.9375rem; }
.wl-ft-l .wp-block-navigation a { text-decoration: none; font-weight: 600; } .wl-ft-l .wp-block-navigation a:hover { color: var(--wl-primary); }
.wl-ft-l__bar { padding-top: 1.25rem; color: var(--wl-muted); }
.wl-ft-l__bar p { margin: 0; }
@media (max-width: 900px) {
	.wl-ft-g__cols { grid-template-columns: 1fr; }
	.wl-ft-l__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .wl-ft-l__grid { grid-template-columns: 1fr; } }

/* ============ ابزارهای مشترک نرم‌کننده (همه‌ی جهت‌ها) ============ */
/* شیشه: روی تصویر یا گرادیان */
.wl-glass { background: color-mix(in srgb, #fff 14%, transparent); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid color-mix(in srgb, #fff 30%, transparent); border-radius: 1.4rem; box-shadow: 0 24px 60px rgb(0 0 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.4); color: #fff; }
.wl-glass :is(p, a, strong, h1, h2, h3) { color: inherit; }
/* نورهای پس‌زمینه: دو گوی تار پشت محتوا */
.wl-orbs::before, .wl-orbs::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.wl-orbs > * { position: relative; z-index: 1; }
/* شکل‌های آزاد برای عکس (روی خود بلوک تصویر) */
.wl-shape-blob img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: 58% 42% 55% 45% / 52% 40% 60% 48% !important; box-shadow: 0 40px 80px -20px rgb(0 0 0 / 0.5), 0 0 0 0.6rem color-mix(in srgb, #fff 8%, transparent); animation: wl-morph 14s ease-in-out infinite alternate; }
.wl-shape-blob2 img { aspect-ratio: 1; object-fit: cover; border-radius: 44% 56% 38% 62% / 58% 40% 60% 42% !important; }
.wl-shape-pill img { border-radius: 999px !important; object-fit: cover; }
.wl-shape-squircle img { border-radius: 34% !important; object-fit: cover; aspect-ratio: 1; }
@keyframes wl-morph { 0% { border-radius: 58% 42% 55% 45% / 52% 40% 60% 48%; } 50% { border-radius: 42% 58% 40% 60% / 60% 50% 50% 40%; } 100% { border-radius: 52% 48% 62% 38% / 44% 58% 42% 56%; } }

/* بخش گرد و شناور در حاشیه‌ی صفحه + لبه‌ی منحنی */
.wl-round.alignfull { margin-inline: 0 !important; border-radius: clamp(1.75rem, 3.5vw, 3.25rem); }
.wl-curve-b { border-radius: 0 0 clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem); }
.wl-curve-t { border-radius: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) 0 0; }
