/* Wellnation360 Talent Network — public styles. Scoped under .wn360 to avoid clashing with the theme / Elementor. */

.wn360 {
	--wn360-ink: #1f2a24;
	--wn360-muted: #5d6a62;
	--wn360-primary: #2f4a3a;
	--wn360-primary-hover: #243b2e;
	--wn360-sage: #7f9b85;
	--wn360-sage-soft: #e7eee8;
	--wn360-sand: #f6f2ea;
	--wn360-sand-deep: #ece5d7;
	--wn360-line: #e3dccd;
	--wn360-surface: #ffffff;
	--wn360-accent: #b36f48;
	--wn360-error: #b3261e;
	--wn360-radius: 18px;
	--wn360-radius-sm: 12px;
	--wn360-shadow: 0 1px 2px rgba(31, 42, 36, .04), 0 8px 24px rgba(31, 42, 36, .06);
	--wn360-font-heading: inherit;
	--wn360-maxw: 1160px;

	color: var(--wn360-ink);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.wn360 *, .wn360 *::before, .wn360 *::after { box-sizing: border-box; }
.wn360 p { margin: 0 0 1em; }
.wn360 img { max-width: 100%; height: auto; display: block; }
.wn360 a { color: var(--wn360-primary); }
.wn360 [hidden] { display: none !important; }

.wn360-wrap { width: 100%; max-width: var(--wn360-maxw); margin: 0 auto; padding: 0 20px; }
.wn360-wrap--narrow { max-width: 820px; }
.wn360-wrap--form { max-width: 860px; }

.wn360-section { padding: 72px 0; }
.wn360-section--tint { background: var(--wn360-sand); }
.wn360-section--form { padding: 48px 0 80px; }
.wn360-section__head { max-width: 680px; margin-bottom: 36px; }
.wn360-section__head p:last-child { color: var(--wn360-muted); }

.wn360-eyebrow {
	font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
	color: var(--wn360-accent); margin: 0 0 12px !important;
}
.wn360-h1, .wn360-h2, .wn360-h3 { font-family: var(--wn360-font-heading); color: var(--wn360-ink); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
.wn360-h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 600; }
.wn360-h1--sm { font-size: clamp(30px, 4vw, 42px); }
.wn360-h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; }
.wn360-h3 { font-size: 19px; font-weight: 600; }
.wn360-lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--wn360-ink); }

/* Buttons */
.wn360-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
	font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none !important;
	cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.wn360-btn:focus-visible, .wn360 a:focus-visible, .wn360 summary:focus-visible { outline: 3px solid var(--wn360-sage); outline-offset: 3px; }
.wn360-btn--primary { background: var(--wn360-primary); color: #fff !important; }
.wn360-btn--primary:hover { background: var(--wn360-primary-hover); transform: translateY(-1px); }
.wn360-btn--ghost { background: transparent; color: var(--wn360-primary) !important; border-color: var(--wn360-primary); }
.wn360-btn--ghost:hover { background: var(--wn360-sage-soft); }
.wn360-btn--light { background: #fff; color: var(--wn360-primary) !important; }
.wn360-btn--light:hover { background: var(--wn360-sand); }
.wn360-btn--block { width: 100%; }
.wn360-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.wn360-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.wn360-actions--center { justify-content: center; }
.wn360-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.wn360-link:hover { color: var(--wn360-accent); }

/* Hero */
.wn360-hero { padding: 56px 0 72px; }
.wn360-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.wn360-hero__text p:not(.wn360-eyebrow) { color: var(--wn360-muted); max-width: 580px; }
.wn360-hero__text .wn360-lead { color: var(--wn360-ink); }
.wn360-hero__media img { border-radius: var(--wn360-radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--wn360-shadow); }
.wn360-hero__panel {
	position: relative; aspect-ratio: 4 / 5; border-radius: var(--wn360-radius); overflow: hidden;
	background: var(--wn360-sage-soft); display: grid; align-content: end; gap: 10px; padding: 28px;
}
.wn360-hero__panel::before, .wn360-hero__panel::after {
	content: ""; position: absolute; border-radius: 50%;
}
.wn360-hero__panel::before { width: 78%; aspect-ratio: 1; top: -12%; right: -18%; background: var(--wn360-sand-deep); }
.wn360-hero__panel::after { width: 46%; aspect-ratio: 1; top: 30%; left: -12%; background: #d6e2d8; }
.wn360-hero__panel span {
	position: relative; z-index: 1; justify-self: start; background: rgba(255, 255, 255, .88);
	border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--wn360-primary); font-size: 15px;
}
.wn360-hero__panel--single span { font-size: 18px; padding: 10px 22px; }
.wn360-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.wn360-chips li { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--wn360-sand); color: var(--wn360-muted); margin: 0; }

.wn360-crumbs { font-size: 14px; color: var(--wn360-muted); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.wn360-crumbs a { color: var(--wn360-muted); text-decoration: none; }
.wn360-crumbs a:hover { color: var(--wn360-primary); text-decoration: underline; }

/* Callout (two columns) */
.wn360-callout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.wn360-callout > div:last-child p { color: var(--wn360-muted); }

/* Cards */
.wn360-cards { display: grid; gap: 20px; }
.wn360-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wn360-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wn360-card {
	background: var(--wn360-surface); border: 1px solid var(--wn360-line); border-radius: var(--wn360-radius);
	padding: 26px; display: flex; flex-direction: column;
}
.wn360-card p { color: var(--wn360-muted); font-size: 16px; }
.wn360-card p:last-child { margin-bottom: 0; }
.wn360-card--profession { transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.wn360-card--profession:hover { box-shadow: var(--wn360-shadow); transform: translateY(-2px); border-color: var(--wn360-sand-deep); }
.wn360-card--profession p { flex: 1; }
.wn360-card--profession .wn360-link { align-self: flex-start; margin-top: 8px; }
.wn360-card__img { border-radius: var(--wn360-radius-sm); aspect-ratio: 16 / 10; object-fit: cover; margin: -8px -8px 18px; width: calc(100% + 16px); max-width: none; }
.wn360-cards--plain .wn360-card { background: transparent; border: 0; border-top: 1px solid var(--wn360-line); border-radius: 0; padding: 22px 0 0; }
.wn360-section--tint .wn360-cards--plain .wn360-card { border-top-color: var(--wn360-sand-deep); }
.wn360-card__num { font-size: 14px; font-weight: 600; color: var(--wn360-accent); margin-bottom: 10px; letter-spacing: .05em; }
.wn360-card--model { background: var(--wn360-surface); }

/* Steps */
.wn360-steps { list-style: none; counter-reset: wn360; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.wn360-steps li { counter-increment: wn360; margin: 0; padding-top: 18px; border-top: 2px solid var(--wn360-primary); display: flex; flex-direction: column; gap: 6px; }
.wn360-steps li::before { content: "0" counter(wn360); font-size: 14px; font-weight: 600; color: var(--wn360-accent); }
.wn360-steps span { color: var(--wn360-muted); font-size: 16px; }

/* Tick list */
.wn360-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wn360-ticks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--wn360-line); margin: 0; }
.wn360-ticks li::before {
	content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px;
	border-left: 2px solid var(--wn360-sage); border-bottom: 2px solid var(--wn360-sage); transform: rotate(-45deg);
}

/* Band CTA */
.wn360-band { background: var(--wn360-primary); color: #fff; border-radius: calc(var(--wn360-radius) + 6px); padding: clamp(32px, 5vw, 56px); text-align: center; }
.wn360-band .wn360-h2 { color: #fff; }
.wn360-band p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto 26px; }

/* FAQs */
.wn360-faqs { border-top: 1px solid var(--wn360-line); margin-top: 20px; }
.wn360-faq { border-bottom: 1px solid var(--wn360-line); }
.wn360-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; position: relative; }
.wn360-faq summary::-webkit-details-marker { display: none; }
.wn360-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 400; color: var(--wn360-primary); transition: transform .2s ease; }
.wn360-faq[open] summary::after { transform: rotate(45deg); }
.wn360-faq__a p { color: var(--wn360-muted); padding-right: 40px; }

.wn360-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 16px 0 0; }
.wn360-pills li { margin: 0; }
.wn360-pills a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--wn360-sand-deep); text-decoration: none; font-weight: 500; }
.wn360-pills a:hover { border-color: var(--wn360-primary); }

/* Sticky mobile CTA */
.wn360-sticky { display: none; }

/* ---------------------------------------------------------------- Form */
.wn360-form-head { margin-bottom: 28px; }
.wn360-form-head p:last-child { color: var(--wn360-muted); }
.wn360-form {
	background: var(--wn360-surface); border: 1px solid var(--wn360-line); border-radius: var(--wn360-radius);
	padding: clamp(22px, 4vw, 40px); box-shadow: var(--wn360-shadow);
}
.wn360-step { border: 0; margin: 0 0 36px; padding: 0; min-width: 0; }
.wn360-legend { font-size: 21px; font-weight: 600; padding: 0; margin-bottom: 20px; font-family: var(--wn360-font-heading); }
.wn360-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.wn360-field { margin-bottom: 20px; min-width: 0; }
.wn360-field--full { grid-column: 1 / -1; }
.wn360-field > label, .wn360-label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 8px !important; }
.wn360-req { color: var(--wn360-accent); }
.wn360-optional { font-weight: 400; color: var(--wn360-muted); font-size: 14px; }
.wn360 input[type="text"], .wn360 input[type="email"], .wn360 input[type="tel"], .wn360 input[type="url"],
.wn360 input[type="number"], .wn360 select, .wn360 textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--wn360-ink);
	background: #fff; border: 1.5px solid var(--wn360-line); border-radius: var(--wn360-radius-sm);
	box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; margin: 0;
}
.wn360 textarea { min-height: 120px; resize: vertical; }
.wn360 input:focus, .wn360 select:focus, .wn360 textarea:focus { outline: none; border-color: var(--wn360-primary); box-shadow: 0 0 0 3px var(--wn360-sage-soft); }
.wn360 [aria-invalid="true"] { border-color: var(--wn360-error) !important; }
.wn360-help { font-size: 14px; color: var(--wn360-muted); margin: 6px 0 0 !important; }
.wn360-error { color: var(--wn360-error); font-size: 14px; font-weight: 500; margin: 6px 0 0 !important; }

.wn360-options { display: flex; flex-wrap: wrap; gap: 10px; }
.wn360-options--cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wn360-option { position: relative; cursor: pointer; margin: 0; }
.wn360-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wn360-option span {
	display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 10px 16px;
	border: 1.5px solid var(--wn360-line); border-radius: var(--wn360-radius-sm); font-size: 15px; font-weight: 500;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease; background: #fff;
}
.wn360-option--pill span { border-radius: 999px; min-height: 44px; }
.wn360-options--days .wn360-option span { min-width: 58px; }
.wn360-option:hover span { border-color: var(--wn360-sage); }
.wn360-option input:checked + span { border-color: var(--wn360-primary); background: var(--wn360-sage-soft); color: var(--wn360-primary); font-weight: 600; }
.wn360-option input:focus-visible + span { outline: 3px solid var(--wn360-sage); outline-offset: 2px; }

.wn360-file { border: 1.5px dashed var(--wn360-sand-deep); border-radius: var(--wn360-radius-sm); padding: 16px; background: var(--wn360-sand); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wn360-file input[type="file"] { font: inherit; font-size: 15px; max-width: 100%; }
.wn360-file__name { margin: 0 !important; font-size: 14px; color: var(--wn360-muted); word-break: break-all; }

.wn360-consent { background: var(--wn360-sand); border-radius: var(--wn360-radius-sm); padding: 16px 18px; margin-top: 4px; }
.wn360-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; cursor: pointer; font-weight: 400 !important; }
.wn360-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--wn360-primary); }

.wn360-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.wn360-nav { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--wn360-line); padding-top: 24px; }
.wn360-nav [data-wn360-prev] { margin-right: auto; }
.wn360-secure { text-align: center; margin-top: 16px !important; }

.wn360-alert { border-left: 4px solid var(--wn360-error); background: #fbeeed; color: var(--wn360-ink); border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; }
.wn360-alert p { margin: 6px 0 0; }
.wn360-alert:focus { outline: none; }

.wn360-progress { margin-bottom: 18px; }
.wn360-progress__meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--wn360-muted); margin-bottom: 8px; }
.wn360-progress__meta span:first-child { font-weight: 600; color: var(--wn360-primary); }
.wn360-progress__bar { height: 6px; background: var(--wn360-sand-deep); border-radius: 999px; overflow: hidden; }
.wn360-progress__bar span { display: block; height: 100%; background: var(--wn360-primary); border-radius: 999px; transition: width .35s ease; }

/* Multi-step mode (only when JS is running) */
.wn360-js .wn360-step { display: none; }
.wn360-js .wn360-step.is-active { display: block; animation: wn360-fade .3s ease; }
@keyframes wn360-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Thank you */
.wn360-thanks { text-align: center; }
.wn360-thanks p { color: var(--wn360-muted); }
.wn360-thanks .wn360-lead { color: var(--wn360-ink); }
.wn360-thanks__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--wn360-sage-soft); color: var(--wn360-primary); display: grid; place-items: center; margin: 0 auto 22px; }
.wn360-appid { display: inline-flex; flex-direction: column; gap: 4px; background: var(--wn360-sand); border: 1px solid var(--wn360-sand-deep); border-radius: var(--wn360-radius); padding: 18px 32px; margin: 12px 0 10px; }
.wn360-appid span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--wn360-muted); }
.wn360-appid strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 24px; letter-spacing: .04em; color: var(--wn360-primary); }
.wn360-appid em { font-style: normal; font-size: 14px; color: var(--wn360-muted); }

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

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
	.wn360-cards--4, .wn360-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wn360-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.wn360 { font-size: 16px; }
	.wn360-section { padding: 52px 0; }
	.wn360-hero { padding: 32px 0 48px; }
	.wn360-hero__grid, .wn360-callout { grid-template-columns: 1fr; gap: 28px; }
	.wn360-hero.has-image .wn360-hero__media { order: -1; }
	.wn360-hero:not(.has-image) .wn360-hero__media { display: none; }
	.wn360-hero__media img, .wn360-hero__panel { aspect-ratio: 16 / 10; }
	.wn360-hero__panel { padding: 18px; }
	.wn360-cards--3, .wn360-cards--4 { grid-template-columns: 1fr; }
	.wn360-grid { grid-template-columns: 1fr; }
	.wn360-options--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wn360-actions .wn360-btn { flex: 1 1 100%; }
	.wn360-nav .wn360-btn { flex: 1 1 0; }
	.wn360-nav [data-wn360-prev] { margin-right: 0; }

	.wn360-sticky {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
		border-top: 1px solid var(--wn360-line); box-shadow: 0 -6px 20px rgba(31, 42, 36, .08);
		transform: translateY(110%); transition: transform .3s ease;
	}
	.wn360-sticky.is-visible { transform: none; }
}
@media (max-width: 480px) {
	.wn360-steps { grid-template-columns: 1fr; }
	.wn360-wrap { padding: 0 16px; }
}

/* Hide the theme's own page title on Talent Network pages — the plugin prints the page H1. */
body.wn360-tn-page .entry-title,
body.wn360-tn-page .page-title,
body.wn360-tn-page h1.wp-block-post-title,
body.wn360-tn-page .elementor-page-title { display: none !important; }

/* Break out of the theme's narrow content column so sections run full width
   (works in block themes, classic themes and boxed Elementor containers). */
body div.wn360.wn360 {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}
body.wn360-tn-page { overflow-x: clip; }
body.wn360-tn-page .wp-block-post-content,
body.wn360-tn-page .entry-content { overflow-x: visible; }
body.wn360-tn-page main.wp-block-group { padding-top: 0 !important; margin-top: 0 !important; }
