/*
Theme Name: Ego Therapy 2026
Theme URI: https://pluginpip.co.uk/
Author: PluginPip Ltd
Author URI: https://pluginpip.co.uk/
Description: Bespoke 2026 theme for Ego Therapy, built by PluginPip Ltd with native SEO, performance and accessibility features and no parent-theme or plugin dependency.
Version: 1.1.6
Text Domain: ego-therapy-live-mirror
*/
:root{
 --bg:#f1ebdf;
 --ink:#201e1a;
 --line:rgba(32,30,26,.28);
 --max:1280px;
 --copy:620px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;font-size:19px;line-height:1.48;-webkit-font-smoothing:antialiased}
a{color:inherit;text-underline-offset:.14em;text-decoration-thickness:1px}
img{max-width:100%;height:auto}
.et-shell{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header */
.et-header{background:var(--bg)}
.et-header__inner{min-height:76px;display:grid;grid-template-columns:150px minmax(0,1fr) 170px;align-items:center;gap:26px}
.et-brand{width:138px;height:56px;border:1px solid var(--ink);display:flex;align-items:center;justify-content:center;text-decoration:none}
.et-brand img{display:block;width:102px;height:auto}
.et-nav{justify-self:center}
.et-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:28px;align-items:center}
.et-nav a{text-decoration:none;font-size:.94rem}
.et-nav a:hover,.et-nav .current-menu-item>a{text-decoration:underline}
.et-header-cta{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:164px;min-height:54px;border:1px solid var(--ink);border-radius:999px;padding:10px 24px;text-decoration:none;font-size:1rem}
.et-header-cta:hover{background:var(--ink);color:var(--bg)}
.et-mobile-toggle{display:none;background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:999px;padding:9px 16px;font:inherit}

/* Main + heroes */
.et-main{min-height:60vh}
.et-home-hero,.et-page-hero{padding:0}
.et-home-hero picture,.et-page-hero picture{display:block}
.et-home-hero img,.et-page-hero img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;border-radius:0}

/* Generic current-page content */
.et-content{width:min(calc(100% - 40px),var(--max));margin:0 auto;padding:72px 0 105px}
.et-content p{margin:0 0 1.35rem}
.et-content h1,.et-content h2,.et-content h3,.et-content h4{font-weight:400;line-height:1.05;letter-spacing:-.02em;margin-top:0}
.et-content--narrow>.wp-block-group{max-width:var(--copy);margin-left:0!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}

/* Homepage */
.et-home-content{padding-top:72px}
.et-home-content>div:first-child{max-width:920px;margin:0 0 108px!important}
.et-home-content>div:first-child h1{font-size:clamp(3rem,4.7vw,4.6rem);line-height:1.02;margin:0 0 22px}
.et-home-content>div:first-child h2{font-size:clamp(1.35rem,2vw,1.95rem)!important;line-height:1.2;letter-spacing:-.01em;margin:0}
.et-home-content>div:nth-child(2){max-width:610px;margin:0 0 92px!important;padding:0!important}
.et-home-content>div:nth-child(3){max-width:760px;margin:0 0 78px!important;padding:0!important}
.et-home-content>div:nth-child(4){margin:0 0 92px!important;padding:0!important}
.et-home-content>div:nth-child(4)>div{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:30px!important}
.et-home-content>div:nth-child(4)>div>div{display:block!important}
.et-home-content>div:nth-child(4) h4{font-size:.83rem!important;font-weight:600!important;letter-spacing:.02em;margin:0 0 2px!important}
.et-home-content>div:nth-child(4) h3{font-size:clamp(1.65rem,2.4vw,2.55rem);line-height:1.04;margin:0 0 5px!important}
.et-home-content>div:nth-child(4) p{font-size:.95rem;line-height:1.42}
.et-home-content>div:nth-child(5){max-width:620px;margin-left:auto!important;margin-right:0!important;margin-bottom:0!important;padding:0!important}
.wp-block-button__link{display:inline-flex;align-items:center;min-height:52px;padding:11px 25px;border:1px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);text-decoration:none}
.wp-block-button__link:hover{background:var(--ink);color:var(--bg)}

/* About */
.page-id-5 .et-content{padding-top:76px}
.page-id-5 .wp-block-image{margin:0 0 96px}
.page-id-5 .et-about-picture{display:block;width:550px;max-width:100%}
.page-id-5 .et-about-picture img{display:block;width:100%!important;height:auto!important;aspect-ratio:683/1024;object-fit:cover;border-radius:0!important}
.page-id-5 .wp-block-group{max-width:620px;margin-left:0!important;margin-right:auto!important;padding:0!important;margin-top:0!important;margin-bottom:78px!important}
.page-id-5 .wp-block-group p{font-size:1.03rem;line-height:1.55}

/* Work / Workshops */
.page-id-6 .et-content,.page-id-7 .et-content{padding-top:72px}
.page-id-6 .et-content>.wp-block-group,.page-id-7 .et-content>.wp-block-group{max-width:620px;margin-left:0!important;margin-right:auto!important;padding:0!important;margin-top:0!important;margin-bottom:84px!important}
.page-id-6 .et-content h2,.page-id-7 .et-content h2{font-size:clamp(1.75rem,2.35vw,2.35rem);margin:0 0 22px}
.page-id-6 .et-content p,.page-id-7 .et-content p{font-size:1.03rem;line-height:1.55}

/* Elsewhere */
.page-id-8 .et-content{padding-top:72px}
.page-id-8 .wp-block-post-template{list-style:none;margin:0;padding:0;max-width:760px}
.page-id-8 .wp-block-post-template>li{margin:0;padding:0 0 64px}
.page-id-8 .wp-block-post-title{font-size:clamp(1.65rem,2.45vw,2.45rem);line-height:1.07;margin:0 0 16px}
.page-id-8 .wp-block-post-title a{text-decoration:none}
.page-id-8 .wp-block-post-excerpt{font-size:1rem;line-height:1.5}
.page-id-8 .wp-block-post-excerpt__more-text{margin-top:18px}
.page-id-8 .et-elsewhere-divider{height:0;border:0;margin:0}

/* Contact */
.page-id-9 .et-content{padding-top:82px}
.page-id-9 .et-content>.wp-block-group{max-width:620px;margin-left:0!important;margin-right:auto!important;padding:0!important;margin-top:0!important;margin-bottom:92px!important}
.page-id-9 .et-content h2{font-size:clamp(1.7rem,2.35vw,2.3rem);margin:0 0 18px}
.therapy-form{width:100%;max-width:620px;margin:16px 0 0}
.therapy-form .form-row.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.therapy-form .field-group{margin:0 0 28px;border:0;padding:0}
.therapy-form .et-field-wrap{display:block}
.therapy-form input[type=text],.therapy-form input[type=email],.therapy-form input[type=tel]{width:100%;height:58px;padding:12px 18px;border:1px solid rgba(32,30,26,.18);border-radius:999px;background:transparent;color:var(--ink);font:inherit;outline:none}
.therapy-form textarea{width:100%;min-height:180px;padding:16px 18px;border:1px solid rgba(32,30,26,.18);border-radius:28px;background:transparent;color:var(--ink);font:inherit;resize:vertical;outline:none}
.therapy-form input:focus,.therapy-form textarea:focus{border-color:var(--ink)}
.therapy-form .field-group>label:not(.field-title){display:block;margin:8px 0 0 17px;font-size:.76rem;line-height:1.2}
.therapy-form .field-title{display:block;margin:0 0 13px;font-size:1rem;font-weight:400}
.therapy-form .et-checkboxes{display:flex;flex-wrap:wrap;gap:10px}
.therapy-form .et-choice,.therapy-form .et-newsletter-choice{display:flex;align-items:flex-start;gap:9px;font-size:.9rem;cursor:pointer}
.therapy-form .et-choice{border:1px solid rgba(32,30,26,.18);border-radius:999px;padding:9px 13px}
.therapy-form input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0}
.therapy-form .submit-wrap{margin-top:8px}
.therapy-form button[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:11px 26px;border:1px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font:inherit;cursor:pointer}
.therapy-form button[type=submit]:hover{background:var(--ink);color:var(--bg)}
.et-form-status{font-size:.85rem;margin-top:16px}

/* Footer */
.et-footer{padding:78px 0 46px}
.et-footer__main{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:start}
.et-footer__brand{font-size:1.45rem;margin-bottom:16px;text-transform:lowercase}
.et-footer__tagline{font-size:.92rem}
.et-footer__newsletter-title{font-size:1.23rem;margin-bottom:14px}
.et-footer__newsletter p{margin:0 0 18px;font-size:.95rem}
.et-newsletter-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;max-width:500px}
.et-newsletter-form input{width:100%;height:58px;padding:0 20px;border:1px solid rgba(32,30,26,.18);border-radius:999px;background:transparent;color:var(--ink);font:inherit}
.et-newsletter-form button{min-height:58px;padding:10px 28px;border:1px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font:inherit}
.et-newsletter-form button:hover{background:var(--ink);color:var(--bg)}
.et-footer__meta{margin-top:122px;font-size:.76rem}

@media(max-width:900px){
 body{font-size:18px}
 .et-header__inner{grid-template-columns:1fr auto;min-height:74px}
 .et-brand{width:126px;height:50px}
 .et-brand img{width:94px}
 .et-header-cta{display:none}
 .et-mobile-toggle{display:inline-flex;justify-self:end}
 .et-nav{display:none;position:absolute;z-index:100;left:0;right:0;top:74px;background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 20px}
 .et-nav.is-open{display:block}
 .et-nav ul{flex-direction:column;align-items:flex-start;gap:15px}
 .et-content{padding:48px 0 72px}
 .et-home-content>div:first-child{margin-bottom:72px!important}
 .et-home-content>div:nth-child(4)>div{grid-template-columns:1fr!important;gap:32px!important}
 .et-home-content>div:nth-child(5){margin-left:0!important}
 .page-id-5 .wp-block-image{margin-bottom:58px}
 .page-id-5 .et-about-picture{width:100%}
 .therapy-form .form-row.two-col{grid-template-columns:1fr}
 .et-footer__main{grid-template-columns:1fr;gap:50px}
 .et-newsletter-form{grid-template-columns:1fr}
 .et-newsletter-form button{justify-self:start}
 .et-footer__meta{margin-top:70px}
}

/* Stage 1 live-source corrections */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:300;font-display:swap;src:url("assets/fonts/ego-font-300.woff2") format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/ego-font-500.woff2") format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:300;font-display:swap;src:url("assets/fonts/ego-font-300i.woff2") format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url("assets/fonts/ego-font-500i.woff2") format("woff2")}
:root{--bg:#eee8dc;--ink:#000;--line:rgba(0,0,0,.28)}
body{background:#eee8dc;color:#000;font-family:"Cormorant Garamond",serif;font-size:clamp(1.125rem,1.125rem + ((1vw - .2rem)*.392),1.375rem);font-weight:300;line-height:1.5;letter-spacing:-.1px}
a{font-family:"Cormorant Garamond",serif;font-weight:500}
.et-header{background:#eee8dc}
.et-header__inner{min-height:80px;grid-template-columns:auto minmax(0,1fr) auto}
.et-brand{width:auto;height:auto;min-height:44px;border:1px solid rgba(0,0,0,.87);padding:10px 20px;font-size:clamp(.984rem,.984rem + ((1vw - .2rem)*.809),1.5rem);font-style:normal;font-weight:300;text-transform:lowercase;display:inline-flex;align-items:center;justify-content:center;line-height:1;text-decoration:none;white-space:nowrap}
.et-nav a{font-size:clamp(1rem,1rem + ((1vw - .2rem)*.196),1.125rem);font-weight:300}
.et-header-cta{min-height:44px;padding:10px 30px;font-size:clamp(1.125rem,1.125rem + ((1vw - .2rem)*.392),1.375rem);font-weight:300;background:transparent}
.et-footer__brand{font-size:clamp(1.75rem,1.75rem + ((1vw - .2rem)*.392),2rem);font-weight:300;text-transform:lowercase}
.et-footer__tagline,.et-footer__newsletter,.et-footer__meta{font-weight:300}
.et-footer__meta{display:flex;align-items:center;justify-content:space-between;gap:30px}
.et-footer__meta a{font-weight:500}
@media(max-width:900px){.et-header__inner{grid-template-columns:1fr auto}.et-footer__meta{display:block}.et-footer__meta span{display:block;margin-bottom:10px}}

/* Stage 1 exact global dimensions from current live site */
:root{--max:1340px;--copy:645px}
h1{font-size:clamp(2.15rem,2.15rem + ((1vw - .2rem)*1.333),3rem)!important}
h2{font-size:clamp(1.75rem,1.75rem + ((1vw - .2rem)*.392),2rem)!important}
h3{font-size:clamp(1.125rem,1.125rem + ((1vw - .2rem)*.392),1.375rem)!important}
h4{font-size:clamp(1rem,1rem + ((1vw - .2rem)*.196),1.125rem)!important}
.et-home-content>div:first-child{max-width:645px!important}
.et-home-content>div:first-child h1{font-size:clamp(2.15rem,2.15rem + ((1vw - .2rem)*1.333),3rem)!important;line-height:1.125!important;margin-bottom:22px!important}
.et-home-content>div:first-child h2{font-size:clamp(1.198rem,1.198rem + ((1vw - .2rem)*1.101),1.9rem)!important;line-height:1.125!important}
.et-home-content>div:nth-child(2),.et-content--narrow>.wp-block-group,.page-id-5 .wp-block-group,.page-id-6 .et-content>.wp-block-group,.page-id-7 .et-content>.wp-block-group,.page-id-9 .et-content>.wp-block-group{max-width:645px!important}

/* Stage 1 polish: preserve the live character, improve hierarchy and finish. */
:root{
 --soft-line:rgba(0,0,0,.16);
 --soft-fill:rgba(255,255,255,.13);
}
::selection{background:#c4a68f;color:#000}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
 outline:2px solid #000;
 outline-offset:4px;
}
.et-header__inner{padding-block:10px}
.et-brand{transition:opacity .18s ease,transform .18s ease}
.et-brand:hover{opacity:.72;transform:translateY(-1px)}
.et-nav a{position:relative;transition:opacity .18s ease}
.et-nav a::after{
 content:"";position:absolute;left:0;right:100%;bottom:-5px;height:1px;background:currentColor;transition:right .2s ease;
}
.et-nav a:hover,.et-nav .current-menu-item>a{text-decoration:none}
.et-nav a:hover::after,.et-nav .current-menu-item>a::after{right:0}
.et-header-cta,.wp-block-button__link,.therapy-form button[type=submit],.et-newsletter-form button{
 transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease;
}
.et-header-cta:hover,.wp-block-button__link:hover,.therapy-form button[type=submit]:hover,.et-newsletter-form button:hover{
 transform:translateY(-1px)
}
.et-home-hero,.et-page-hero{overflow:hidden}
.et-home-hero img,.et-page-hero img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
@media(hover:hover){.et-home-hero:hover img,.et-page-hero:hover img{transform:scale(1.008)}}

/* Homepage rhythm and service presentation */
.et-home-content{padding-top:clamp(58px,6vw,82px)}
.et-home-content>div:first-child{margin-bottom:clamp(72px,8vw,110px)!important}
.et-home-content>div:nth-child(2){margin-bottom:clamp(68px,7vw,94px)!important}
.et-home-content>div:nth-child(3){margin-bottom:clamp(62px,6vw,82px)!important}
.et-home-content>div:nth-child(4){margin-bottom:clamp(76px,8vw,104px)!important}
.et-home-content>div:nth-child(4)>div{gap:clamp(24px,3vw,46px)!important}
.et-home-content>div:nth-child(4)>div>div{
 padding-top:20px!important;
 border-top:1px solid var(--soft-line);
 min-height:168px;
}
.et-home-content .et-eyebrow{
 margin:0 0 7px!important;
 font-size:.78rem!important;
 line-height:1.2!important;
 font-weight:500!important;
 letter-spacing:.08em!important;
 text-transform:uppercase;
}
.et-home-content>div:nth-child(4) h3{margin-bottom:10px!important}
.et-home-content>div:nth-child(4) p:not(.et-eyebrow){max-width:29ch}
.et-home-content>div:nth-child(5){padding-top:4px!important}

/* Editorial body rhythm */
.et-content p{max-width:62ch}
.page-id-5 .wp-block-group,.page-id-6 .et-content>.wp-block-group,.page-id-7 .et-content>.wp-block-group,.page-id-9 .et-content>.wp-block-group{
 position:relative;
}
.page-id-6 .et-content>.wp-block-group+ .wp-block-group,
.page-id-7 .et-content>.wp-block-group+ .wp-block-group,
.page-id-9 .et-content>.wp-block-group+ .wp-block-group{
 padding-top:36px!important;
 border-top:1px solid var(--soft-line);
}

/* Elsewhere gets clearer article rhythm without becoming card-heavy. */
.page-id-8 .wp-block-post-template{max-width:760px}
.page-id-8 .wp-block-post-template>li{
 padding:0 0 46px;
 margin:0 0 46px;
 border-bottom:1px solid var(--soft-line);
}
.page-id-8 .wp-block-post-template>li:last-child{border-bottom:0;margin-bottom:0}
.page-id-8 .wp-block-post-title a{transition:opacity .18s ease}
.page-id-8 .wp-block-post-title a:hover{opacity:.62}
.page-id-8 .wp-block-post-excerpt__more-link{font-weight:500}

/* Forms: retain the soft live look, sharpen usability. */
.therapy-form input[type=text],.therapy-form input[type=email],.therapy-form input[type=tel],.therapy-form textarea,
.et-newsletter-form input{
 transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.therapy-form input[type=text]:hover,.therapy-form input[type=email]:hover,.therapy-form input[type=tel]:hover,.therapy-form textarea:hover,
.et-newsletter-form input:hover{border-color:rgba(0,0,0,.38)}
.therapy-form input:focus,.therapy-form textarea:focus,.et-newsletter-form input:focus{
 border-color:#000;background:var(--soft-fill);box-shadow:0 0 0 3px rgba(0,0,0,.045);outline:none;
}

/* Footer finish */
.et-footer{border-top:1px solid var(--soft-line);padding-top:clamp(58px,7vw,84px)}
.et-footer__main{gap:clamp(52px,8vw,120px)}
.et-footer__newsletter{max-width:540px;justify-self:end;width:100%}
.et-footer__meta{padding-top:28px;border-top:1px solid var(--soft-line);margin-top:clamp(72px,9vw,122px)}
.et-footer__meta a{text-decoration:none;border-bottom:1px solid currentColor}
.et-footer__meta a:hover{border-bottom-color:transparent}

@media(max-width:900px){
 .et-home-content>div:nth-child(4)>div>div{min-height:0;padding-bottom:10px!important}
 .et-content{width:min(calc(100% - 32px),var(--max))}
 .et-shell{width:min(calc(100% - 32px),var(--max))}
 .et-footer__newsletter{justify-self:start}
}
@media(max-width:560px){
 .et-header__inner{padding-block:8px}
 .et-home-content{padding-top:44px}
 .et-home-content>div:first-child{margin-bottom:58px!important}
 .et-content{padding-bottom:58px}
 .therapy-form .et-checkboxes{display:grid;grid-template-columns:1fr}
 .therapy-form .et-choice{width:100%}
 .et-footer{padding-bottom:34px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* Homepage service cards */
.et-home-content>div:nth-child(4)>div{
  align-items:stretch!important;
}
.et-home-content>div:nth-child(4)>div>div{
  display:flex!important;
  flex-direction:column;
  height:100%;
  min-height:190px;
  padding:26px 24px 28px!important;
  border:1px solid rgba(0,0,0,.14);
  border-radius:22px;
  background:rgba(255,255,255,.16);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.et-home-content>div:nth-child(4)>div>div:hover{
  transform:translateY(-2px);
  border-color:rgba(0,0,0,.28);
  background:rgba(255,255,255,.24);
}
.et-home-content>div:nth-child(4) h3{
  margin-bottom:10px!important;
}
.et-home-content>div:nth-child(4) p:not(.et-eyebrow){
  margin-bottom:0!important;
}
@media(max-width:900px){
  .et-home-content>div:nth-child(4)>div>div{
    min-height:0;
    padding:22px 20px 24px!important;
  }
}

/* Slightly larger homepage service-card typography */
.et-home-content>div:nth-child(4) .et-eyebrow{
  font-size:.86rem!important;
}
.et-home-content>div:nth-child(4) h3{
  font-size:clamp(1.35rem,1.8vw,1.65rem)!important;
  line-height:1.08!important;
}
.et-home-content>div:nth-child(4) p:not(.et-eyebrow){
  font-size:1.02rem!important;
  line-height:1.48!important;
}

/* Stronger footer meta treatment */
.et-footer__meta{
  font-size:.95rem!important;
  line-height:1.4;
  font-weight:500!important;
  color:#000;
  letter-spacing:.01em;
}
.et-footer__meta span:first-child{
  font-weight:500!important;
}
.et-footer__meta a{
  font-weight:600!important;
  text-decoration:none;
  border-bottom:1px solid currentColor;
}
.et-footer__meta a:hover{
  opacity:.65;
  border-bottom-color:transparent;
}

.et-footer__meta span:first-child{font-weight:700}

/* Explicit footer emphasis */
.et-footer__copyright,
.et-footer__ncip{
  font-weight:700!important;
  font-size:1.08em!important;
  letter-spacing:.01em;
}

/* Footer meta spacing */
.et-footer__meta>span:first-child{
  display:inline-flex;
  align-items:baseline;
  gap:18px;
}
.et-footer__meta>span:first-child>span{
  display:inline-block;
}
@media(max-width:560px){
  .et-footer__meta>span:first-child{
    gap:12px;
    flex-wrap:wrap;
  }
}

/* Footer copyright emphasis and year spacing */
.et-footer__copyright{
  font-weight:700!important;
  font-size:1.14em!important;
}
.et-footer__meta>span:first-child{
  column-gap:28px!important;
}
.et-footer__meta>span:first-child::first-line{
  word-spacing:0;
}
@media(max-width:560px){
  .et-footer__meta>span:first-child{
    column-gap:18px!important;
  }
}

/* Footer final weight alignment */
.et-footer__copyright,
.et-footer__ncip{
  font-weight:700!important;
  font-size:1.08em!important;
}
.et-footer__meta>span:first-child{
  column-gap:16px!important;
}
@media(max-width:560px){
  .et-footer__meta>span:first-child{
    column-gap:12px!important;
  }
}

/* Final footer legal lockup */
.et-footer__meta .et-footer__legal{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:9px!important;
  font-weight:500!important;
}
.et-footer__meta .et-footer__copyright,
.et-footer__meta .et-footer__ncip{
  font-weight:700!important;
  font-size:1.08em!important;
}
.et-footer__meta .et-footer__year{
  font-weight:500!important;
  font-size:1em!important;
}
.et-footer__meta .et-footer__ncip{
  margin-left:12px!important;
}
@media(max-width:560px){
  .et-footer__meta .et-footer__legal{
    gap:7px!important;
    flex-wrap:wrap;
  }
  .et-footer__meta .et-footer__ncip{
    margin-left:8px!important;
  }
}

/* Rewritten footer legal row: left / centre / right */
.et-footer__meta--three{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:28px!important;
}
.et-footer__meta--three .et-footer__copyright,
.et-footer__meta--three .et-footer__ncip{
  font-weight:700!important;
  font-size:1rem!important;
  line-height:1.3!important;
  color:#000!important;
}
.et-footer__meta--three .et-footer__ncip{
  justify-self:center!important;
  margin:0!important;
}
.et-footer__meta--three .et-footer__credit{
  justify-self:end!important;
  font-size:.95rem!important;
  font-weight:500!important;
}
.et-footer__meta--three .et-footer__credit a{
  font-weight:600!important;
}
@media(max-width:700px){
  .et-footer__meta--three{
    grid-template-columns:1fr!important;
    gap:10px!important;
    text-align:left!important;
  }
  .et-footer__meta--three .et-footer__ncip,
  .et-footer__meta--three .et-footer__credit{
    justify-self:start!important;
  }
}

/* Phase 2 SEO recovery pages. Fully scoped: no Stage 1 page styles are changed. */
.et-seo-restored{
  max-width:760px;
  margin-top:34px;
}
.et-seo-restored p{
  max-width:62ch;
  margin:0 0 1.35em;
}
.et-seo-restored h2{
  margin:2.2em 0 .65em;
  font-size:clamp(1.55rem,2.4vw,2rem)!important;
}
.et-seo-restored h3{
  margin:1.8em 0 .55em;
  font-size:clamp(1.2rem,1.8vw,1.5rem)!important;
}
.et-seo-restored h4{
  margin:1.4em 0 .45em;
}
.et-seo-restored ul,
.et-seo-restored ol{
  margin:0 0 1.6em 1.2em;
  padding:0;
}
.et-seo-restored li{margin-bottom:.55em}
.et-seo-restored blockquote{
  margin:2em 0;
  padding:0 0 0 24px;
  border-left:1px solid rgba(0,0,0,.32);
  font-style:italic;
}
.et-seo-restored a{
  text-decoration-thickness:1px;
  text-underline-offset:.18em;
}
.et-seo-news-articles a,
.et-seo-in-the-media a{
  display:block;
  padding:16px 0 18px;
  border-bottom:1px solid var(--soft-line);
  text-decoration:none;
}
.et-seo-news-articles a:hover,
.et-seo-in-the-media a:hover{opacity:.65}
.et-seo-news-articles h3,
.et-seo-in-the-media h3{
  margin:.1em 0 .2em;
}
@media(max-width:700px){
  .et-seo-restored{margin-top:26px}
}

/* Phase 2B.2 contextual links */
.et-context-links{
  margin-top:2.2rem!important;
  padding-top:1.3rem;
  border-top:1px solid var(--soft-line);
}
.et-current-articles{
  margin-top:2.8rem;
  padding-top:1.8rem;
  border-top:1px solid var(--soft-line);
}
.et-current-articles ul{
  list-style:none;
  margin:0;
  padding:0;
}
.et-current-articles li{
  padding:.65rem 0;
  border-bottom:1px solid var(--soft-line);
}
.et-current-articles a{text-decoration:none}
.et-current-articles a:hover{opacity:.65}

/* Contact page: native theme form */
.et-contact-page{padding-top:82px}
.et-contact-page .et-contact-intro,
.et-contact-page .et-contact-section,
.et-contact-page .et-contact-signoff{max-width:620px}
.et-contact-page .et-contact-intro{margin:0 0 76px}
.et-contact-page .et-contact-intro p{margin:0 0 20px}
.et-contact-page .et-contact-section{padding-top:34px;border-top:1px solid var(--soft-line)}
.et-contact-page .et-contact-section h2{font-size:clamp(1.7rem,2.35vw,2.3rem);margin:0 0 34px}
.et-contact-page .therapy-form{margin-top:0}
.et-contact-page .therapy-form .field-group{margin:0 0 26px}
.et-contact-page .therapy-form .field-group>label:not(.et-choice):not(.et-newsletter-choice){
 display:block;margin:0 0 9px 2px;font-size:.84rem;line-height:1.25
}
.et-contact-page .therapy-form .field-title{margin:0 0 14px;font-size:.94rem}
.et-contact-page .therapy-form input[type=text],
.et-contact-page .therapy-form input[type=email],
.et-contact-page .therapy-form input[type=tel]{height:56px;background:rgba(255,255,255,.08)}
.et-contact-page .therapy-form textarea{min-height:176px;background:rgba(255,255,255,.08)}
.et-contact-page .therapy-form .et-choice{align-items:center;padding:10px 15px;background:rgba(255,255,255,.05)}
.et-contact-page .therapy-form .newsletter-check{margin-top:4px}
.et-contact-page .therapy-form .et-newsletter-choice{font-size:.84rem;line-height:1.35}
.et-contact-page .therapy-form button[type=submit]{min-width:150px}
.et-contact-page .et-contact-signoff{margin:70px 0 10px;padding-top:32px;border-top:1px solid var(--soft-line);text-align:center}
.et-contact-page .et-contact-signoff p{font-size:clamp(1.5rem,2.3vw,2.15rem);margin:0}
@media(max-width:560px){
 .et-contact-page{padding-top:52px}
 .et-contact-page .et-contact-intro{margin-bottom:54px}
 .et-contact-page .et-contact-section{padding-top:28px}
}


/* Article hub and contextual internal links */
.et-article-hub{max-width:920px}
.et-article-hub>h1{max-width:760px}
.et-hub-intro{max-width:720px;font-size:1.08em}
.et-topic-nav{display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 72px}
.et-topic-nav a{display:inline-flex;padding:9px 14px;border:1px solid var(--soft-line);border-radius:999px;text-decoration:none;font-size:.88rem}
.et-topic-nav a:hover{border-color:var(--ink)}
.et-hub-section{margin:0 0 84px;padding-top:8px}
.et-hub-section>h2,.et-hub-cta>h2{font-size:clamp(1.8rem,2.6vw,2.7rem);margin:0 0 16px}
.et-hub-section>p{max-width:700px}
.et-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:34px 0}
.et-hub-card{border-top:1px solid var(--soft-line);padding:25px 2px 8px}
.et-hub-card h3{font-size:clamp(1.3rem,1.8vw,1.65rem);line-height:1.18;margin:0 0 14px}
.et-hub-card h3 a{text-decoration:none}
.et-hub-card p{font-size:.96rem;line-height:1.5;margin:0 0 16px}
.et-hub-link{font-size:.86rem;font-weight:500}
.et-hub-route{border-left:1px solid var(--ink);padding-left:18px;margin-top:34px!important}
.et-hub-cta{margin:90px 0 20px;padding:40px 0 0;border-top:1px solid var(--soft-line);max-width:760px}
.et-related-content{margin-top:72px;padding:32px 0 0;border-top:1px solid var(--soft-line)}
.et-related-content h2{font-size:clamp(1.45rem,2vw,1.9rem);margin:0 0 14px}
.et-related-content p{margin-bottom:0}
@media(max-width:700px){.et-hub-grid{grid-template-columns:1fr}.et-topic-nav{margin-bottom:52px}.et-hub-section{margin-bottom:64px}}


/* Media authority page */
.et-media-authority{max-width:900px}
.et-media-authority>h1{max-width:760px}
.et-media-intro{font-size:1.08em;max-width:760px}
.et-media-section{margin:0 0 86px;padding-top:8px}
.et-media-section>h2,.et-media-cta>h2{font-size:clamp(1.8rem,2.6vw,2.7rem);margin:0 0 18px}
.et-media-section>p{max-width:760px}
.et-media-feature{margin:38px 0 0;padding:30px 0 4px;border-top:1px solid var(--soft-line);max-width:780px}
.et-media-kicker{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;margin-bottom:12px}
.et-media-feature h3,.et-media-card h3{font-size:clamp(1.3rem,1.9vw,1.7rem);line-height:1.16;margin:0 0 15px}
.et-media-feature p{max-width:720px}
.et-media-actions{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px}
.et-media-actions a,.et-media-card>a{font-size:.86rem;font-weight:500}
.et-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:34px}
.et-media-card{border-top:1px solid var(--soft-line);padding:24px 2px 8px}
.et-media-card p{font-size:.96rem;line-height:1.5}
.et-media-archive ul{margin:28px 0 0;padding-left:1.2em}
.et-media-archive li{margin:0 0 16px}
.et-media-cta{margin:92px 0 20px;padding-top:40px;border-top:1px solid var(--soft-line);max-width:760px}
@media(max-width:700px){.et-media-grid{grid-template-columns:1fr}.et-media-section{margin-bottom:64px}}


/* Breadcrumbs */
.et-breadcrumbs{width:min(calc(100% - 40px),var(--max));margin:34px auto 0;font-size:.78rem;line-height:1.3}
.et-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:7px 10px;list-style:none;margin:0;padding:0}
.et-breadcrumbs li{display:flex;align-items:center;gap:10px}
.et-breadcrumbs li:not(:last-child)::after{content:'/';opacity:.45}
.et-breadcrumbs a{text-decoration:none;border-bottom:1px solid transparent}
.et-breadcrumbs a:hover{border-bottom-color:currentColor}
.et-breadcrumbs [aria-current=page]{opacity:.7}
@media(max-width:560px){.et-breadcrumbs{width:min(calc(100% - 32px),var(--max));margin-top:22px}}


/* Accessibility: keyboard skip navigation */
.et-skip-link{
 position:fixed;left:16px;top:16px;z-index:10000;
 transform:translateY(-180%);padding:10px 16px;
 background:#000;color:#fff;border-radius:4px;
 font-size:1rem;line-height:1.2;text-decoration:none;
}
.et-skip-link:focus{transform:translateY(0)}
