/* =====================================================================
 * START: assets/css/nahse-single-partner.css  (NAHSE DFW Partners v1.0.1)
 * ---------------------------------------------------------------------
 * CHANGELOG
 *  1.0.1  Audit: added .nahse-sp__sr (screen reader only text).
 * ---------------------------------------------------------------------
 * TO-DO
 *  1. Upload to /wp-content/themes/Avada-Child-Theme/assets/css/
 *  2. Loads only on single partner pages (versioned with filemtime).
 *  3. If the Avada header height changes, adjust --nahse-sp-hero-top.
 * ---------------------------------------------------------------------
 * Every selector is scoped under .nahse-sp except the Avada resets,
 * which are scoped to body.single-partner.
 * ===================================================================== */

/* ---------- Avada resets (partner posts only), all four sides ---------- */
body.single-partner #main { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
body.single-partner #main > .fusion-row { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; }
body.single-partner .avada-page-titlebar-wrapper,
body.single-partner .fusion-page-title-bar { display: none !important; }

/* ---------- Tokens ---------- */
.nahse-sp {
	--nahse-sp-hero-top: 140px;
	--nahse-sp-navy: #0a1433;
	--nahse-sp-blue: #003194;
	--nahse-sp-gold: #f2c14e;
	--nahse-sp-sand: #f6f5f2;
	--nahse-sp-muted: #4a5373;
	--nahse-sp-soft: #7a8199;
	--nahse-sp-line: #eceef4;
	--nahse-sp-ease: cubic-bezier(.2, .7, .2, 1);
	--nahse-sp-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--nahse-sp-serif: 'Instrument Serif', Georgia, serif;

	display: block; width: 100%; background: #fff; color: var(--nahse-sp-navy);
	font-family: var(--nahse-sp-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.nahse-sp *, .nahse-sp *::before, .nahse-sp *::after { box-sizing: border-box; }
.nahse-sp [hidden] { display: none !important; }
.nahse-sp h1, .nahse-sp h2 { margin: 0; padding: 0; font-family: var(--nahse-sp-sans); text-transform: none; color: inherit; border: 0; background: none; }
.nahse-sp p { margin: 0; }
.nahse-sp dl, .nahse-sp dd { margin: 0; padding: 0; }
.nahse-sp img { display: block; max-width: 100%; }
.nahse-sp .nahse-sp__sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.nahse-sp a, .nahse-sp a:visited { color: var(--nahse-sp-blue); text-decoration: none; box-shadow: none; border-bottom: 0; transition: color .2s, background .2s, border-color .2s, transform .4s, box-shadow .4s; }
.nahse-sp a:hover, .nahse-sp a:focus { color: var(--nahse-sp-navy); text-decoration: none; }
.nahse-sp a:focus-visible { outline: 3px solid var(--nahse-sp-gold); outline-offset: 3px; }

.nahse-sp__wrap { position: relative; max-width: 1375px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Hero ---------- */
.nahse-sp__hero { position: relative; background: var(--nahse-sp-blue); color: #fff; overflow: hidden; }
.nahse-sp__hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 90% at 90% 20%, rgba(120, 160, 255, .3), transparent 60%); pointer-events: none; }
.nahse-sp__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nahse-sp__hero-inner { padding-top: var(--nahse-sp-hero-top); padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 64px; align-items: center; }
.nahse-sp__hero-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nahse-sp .nahse-sp__back, .nahse-sp .nahse-sp__back:visited { align-self: flex-start; font-size: 14px; font-weight: 600; color: #c7d3ff; }
.nahse-sp .nahse-sp__back:hover, .nahse-sp .nahse-sp__back:focus { color: #fff; }
.nahse-sp__tier { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgba(242, 193, 78, .16); color: var(--nahse-sp-gold); font-size: 13px; font-weight: 600; }
.nahse-sp .nahse-sp__title { font-weight: 600; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; color: #fff; overflow-wrap: anywhere; }
.nahse-sp__actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.nahse-sp .nahse-sp__btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; }
.nahse-sp .nahse-sp__btn--gold, .nahse-sp .nahse-sp__btn--gold:visited { background: var(--nahse-sp-gold); color: var(--nahse-sp-navy); }
.nahse-sp .nahse-sp__btn--gold:hover, .nahse-sp .nahse-sp__btn--gold:focus { background: #fff; color: var(--nahse-sp-navy); }
.nahse-sp .nahse-sp__btn--ghost, .nahse-sp .nahse-sp__btn--ghost:visited { padding: 15px 22px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.nahse-sp .nahse-sp__btn--ghost:hover, .nahse-sp .nahse-sp__btn--ghost:focus { background: rgba(255, 255, 255, .1); color: #fff; }

/* Logo panel */
.nahse-sp__hero-logo { position: relative; height: 300px; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 10, 40, .3); min-width: 0; }
.nahse-sp__logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.nahse-sp__logo--fill { padding: 0 24px; }
.nahse-sp__logo--pad { padding: 48px 56px; }
.nahse-sp__logo img, .nahse-sp__tlogo img { width: 100%; height: 100%; object-fit: contain; }
/* Designed placeholder when there is no logo */
.nahse-sp__logo--ph, .nahse-sp__tlogo--ph { background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(0, 49, 148, .08), transparent 60%), #eef1fb; padding: 24px 32px; text-align: center; }
.nahse-sp__logo-name { font-family: var(--nahse-sp-serif); font-style: italic; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; color: var(--nahse-sp-blue); text-wrap: balance; }

/* ---------- About ---------- */
.nahse-sp__about-sec { background: #fff; }
.nahse-sp__about { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 48px 64px; align-items: start; }
.nahse-sp__about > :only-child { grid-column: 1 / -1; max-width: 860px; }
.nahse-sp__about-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nahse-sp .nahse-sp__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nahse-sp-blue); line-height: 1.4; }
.nahse-sp__lead, .nahse-sp__body { display: flex; flex-direction: column; gap: 16px; text-wrap: pretty; overflow-wrap: anywhere; }
.nahse-sp__lead { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.55; color: var(--nahse-sp-navy); }
.nahse-sp__body { font-size: 17px; line-height: 1.7; color: var(--nahse-sp-muted); }
.nahse-sp__lead a, .nahse-sp__body a { text-decoration: underline; text-underline-offset: 3px; }
.nahse-sp__lead ul, .nahse-sp__body ul, .nahse-sp__lead ol, .nahse-sp__body ol { margin: 0; padding-left: 1.3em; }
.nahse-sp__lead iframe, .nahse-sp__body iframe { max-width: 100%; border: 0; border-radius: 16px; }

.nahse-sp__facts { padding: 8px 28px 20px; border-radius: 24px; background: var(--nahse-sp-sand); display: flex; flex-direction: column; min-width: 0; }
.nahse-sp__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e6e3dc; font-size: 15px; }
.nahse-sp__row dt { color: var(--nahse-sp-soft); flex: none; }
.nahse-sp__row dd { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.nahse-sp .nahse-sp__domain, .nahse-sp .nahse-sp__domain:visited { padding: 16px 0 0; font-size: 15px; font-weight: 600; color: var(--nahse-sp-blue); overflow-wrap: anywhere; }
.nahse-sp .nahse-sp__domain:hover { color: var(--nahse-sp-navy); }

/* ---------- More affiliates ---------- */
.nahse-sp__more-sec { background: var(--nahse-sp-sand); }
.nahse-sp__more { padding-top: 88px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.nahse-sp__more-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.nahse-sp .nahse-sp__h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; color: var(--nahse-sp-navy); }
.nahse-sp .nahse-sp__h2 em { font-family: var(--nahse-sp-serif); font-style: italic; font-weight: 400; color: var(--nahse-sp-blue); }
.nahse-sp .nahse-sp__all { font-size: 15px; font-weight: 600; }
.nahse-sp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.nahse-sp .nahse-sp__tile { position: relative; display: block; height: 150px; border-radius: 20px; background: #fff; border: 1px solid var(--nahse-sp-line); overflow: hidden; }
.nahse-sp .nahse-sp__tile:hover, .nahse-sp .nahse-sp__tile:focus-visible { box-shadow: 0 20px 44px rgba(0, 49, 148, .12); transform: translateY(-4px); border-color: #c9d4f5; }
.nahse-sp__tlogo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.nahse-sp__tlogo--fill { padding: 0 24px; }
.nahse-sp__tlogo--pad { padding: 48px 56px; }
.nahse-sp__tlogo-name { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--nahse-sp-navy); text-wrap: balance; }

/* ---------- Motion (JS adds .nahse-sp--motion) ---------- */
@keyframes nahse-sp-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes nahse-sp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.nahse-sp--motion .nahse-sp__hero-text > * { animation: nahse-sp-rise 1s var(--nahse-sp-ease) both; }
.nahse-sp--motion .nahse-sp__hero-text > *:nth-child(1) { animation-delay: .15s; }
.nahse-sp--motion .nahse-sp__hero-text > *:nth-child(2) { animation-delay: .24s; }
.nahse-sp--motion .nahse-sp__hero-text > *:nth-child(3) { animation-delay: .33s; }
.nahse-sp--motion .nahse-sp__hero-text > *:nth-child(4) { animation-delay: .42s; }
.nahse-sp--motion .nahse-sp__hero-logo { animation: nahse-sp-rise 1s .51s var(--nahse-sp-ease) both; }
.nahse-sp--motion .nahse-sp__ribbon path { stroke-dasharray: 1; animation: nahse-sp-draw 2.4s .3s cubic-bezier(.6, 0, .2, 1) both; }
.nahse-sp--motion [data-sec] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--nahse-sp-ease), transform .9s var(--nahse-sp-ease), box-shadow .4s, border-color .4s; }
.nahse-sp--motion [data-sec].is-in { opacity: 1; transform: none; }
.nahse-sp--motion .nahse-sp__tile.is-in:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
	.nahse-sp *, .nahse-sp *::before, .nahse-sp *::after { animation: none !important; transition: none !important; }
	.nahse-sp [data-sec] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 1100 ---------- */
@media (max-width: 1100px) {
	.nahse-sp { --nahse-sp-hero-top: 128px; }
	.nahse-sp__hero-inner { padding-bottom: 72px; gap: 32px 40px; }
	.nahse-sp__about { padding-top: 72px; padding-bottom: 72px; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
	.nahse-sp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 900 ---------- */
@media (max-width: 900px) {
	.nahse-sp__hero-inner { grid-template-columns: minmax(0, 1fr); }
	.nahse-sp__hero-logo { height: 240px; max-width: 560px; width: 100%; }
	.nahse-sp__about { grid-template-columns: minmax(0, 1fr); }
	.nahse-sp__more { padding-top: 64px; padding-bottom: 72px; }
}

/* ---------- 767: phone redesign ---------- */
@media (max-width: 767px) {
	.nahse-sp { --nahse-sp-hero-top: 112px; }
	.nahse-sp__wrap { padding-left: 20px; padding-right: 20px; }
	.nahse-sp__hero-inner { padding-bottom: 44px; gap: 24px; }
	/* Logo card leads on phones, then the name and buttons */
	.nahse-sp__hero-logo { order: -1; height: 168px; border-radius: 22px; max-width: none; box-shadow: 0 20px 44px rgba(0, 10, 40, .3); }
	.nahse-sp__logo--pad { padding: 28px 36px; }
	.nahse-sp__logo--fill { padding: 0 16px; }
	.nahse-sp__logo-name { font-size: 28px; }
	.nahse-sp__hero-text { gap: 16px; }
	.nahse-sp .nahse-sp__title { font-size: clamp(32px, 9vw, 42px); line-height: 1.06; }
	.nahse-sp__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.nahse-sp .nahse-sp__btn { width: 100%; }

	.nahse-sp__about { padding-top: 48px; padding-bottom: 56px; gap: 28px; }
	.nahse-sp__lead { font-size: 19px; }
	.nahse-sp__body { font-size: 16px; }
	.nahse-sp__facts { padding: 4px 20px 16px; border-radius: 20px; }
	.nahse-sp__row { padding: 13px 0; font-size: 14px; }

	.nahse-sp__more { padding-top: 48px; padding-bottom: 56px; gap: 20px; }
	.nahse-sp__grid { gap: 10px; }
	.nahse-sp .nahse-sp__tile { height: 112px; border-radius: 16px; }
	.nahse-sp .nahse-sp__tile:hover { transform: none; box-shadow: none; }
	.nahse-sp__tlogo--pad { padding: 28px 22px; }
	.nahse-sp__tlogo--fill { padding: 0 10px; }
	.nahse-sp__tlogo--ph { padding: 12px 14px; }
	.nahse-sp__tlogo-name { font-size: 14px; }
}

/* ---------- 480 ---------- */
@media (max-width: 480px) {
	.nahse-sp__wrap { padding-left: 16px; padding-right: 16px; }
	.nahse-sp__hero-logo { height: 148px; }
	.nahse-sp .nahse-sp__tile { height: 100px; }
}

/* =====================================================================
 * END: assets/css/nahse-single-partner.css
 * ===================================================================== */
