/* CK Ventures Family Bar v.4 — isolated from themes; full-width bar, floating mega-menu */
#ckv-family-bar{position:relative!important;z-index:99990!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;clear:both;color:#11223d;font-family:Georgia,'Times New Roman',serif;line-height:1.35;box-sizing:border-box}
#ckv-family-bar *,#ckv-family-bar *:before,#ckv-family-bar *:after{box-sizing:border-box}
#ckv-family-bar .ckv-ribbon{position:relative;isolation:isolate;background:linear-gradient(110deg,#fff 0%,#fbf9fa 60%,#fff 100%);box-shadow:0 3px 10px #182a4220;border-bottom:1px solid #d8d7d5;overflow:visible}
#ckv-family-bar .ckv-gold-sweep{position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('gold-sweep.svg') center center/100% 100% no-repeat}
#ckv-family-bar .ckv-ribbon-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:clamp(15px,2vw,38px);width:100%!important;max-width:none!important;min-height:100px;margin:0!important;padding:13px clamp(20px,2.4vw,48px)}
#ckv-family-bar .ckv-identity{display:flex;min-width:270px;max-width:40%;flex:0 0 auto;align-items:center;text-decoration:none!important;color:#10223d!important}
#ckv-family-bar .ckv-wordmark{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
#ckv-family-bar .ckv-wordmark strong{font:500 clamp(21px,1.85vw,34px)/1.05 Georgia,'Times New Roman',serif;letter-spacing:.4px;color:#10223d}
#ckv-family-bar .ckv-wordmark small{font:clamp(12px,1.15vw,18px)/1.2 Arial,sans-serif;color:#333e4e;letter-spacing:0}
#ckv-family-bar .ckv-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,1.3vw,22px);min-width:0}
#ckv-family-bar .ckv-explore{cursor:pointer;display:inline-flex;align-items:center;justify-content:space-between;gap:15px;white-space:nowrap;min-height:54px;background:linear-gradient(180deg,#142e50,#08162a);color:white!important;border:2px solid #d2a52b;border-radius:13px;box-shadow:0 4px 12px #18294345;padding:11px 22px;font:500 clamp(14px,1.05vw,18px)/1.2 Georgia,serif;letter-spacing:0;text-transform:none}
#ckv-family-bar .ckv-explore:hover,#ckv-family-bar .ckv-explore[aria-expanded=true]{background:#21395b;color:white!important}
#ckv-family-bar .ckv-chevron{font:28px/1 Arial,sans-serif;color:#fff}
#ckv-family-bar .ckv-follow-top{display:flex;align-items:center;gap:11px;padding-left:16px;border-left:1px solid #b48b45;min-width:0}
#ckv-family-bar .ckv-follow-label{font:italic clamp(15px,1.4vw,22px)/1.1 Georgia,serif;white-space:nowrap;color:#172840;position:relative}
#ckv-family-bar .ckv-follow-label:after{content:'';position:absolute;height:2px;background:#ad7e1b;width:46px;left:calc(50% - 23px);bottom:-11px}
#ckv-family-bar .ckv-toolbar-social{display:grid;grid-template-columns:repeat(10,32px);gap:0 5px;align-items:center;justify-content:end}
#ckv-family-bar .ckv-toolbar-social a,#ckv-family-bar .ckv-toolbar-social .ckv-social-unset{display:grid;place-items:center;width:32px;height:32px;min-width:32px;background:transparent;border:0;border-radius:0;text-decoration:none!important;color:#102540}
#ckv-family-bar .ckv-toolbar-social a:hover{transform:translateY(-2px)}
#ckv-family-bar .ckv-social-svg{display:block!important;width:27px!important;height:27px!important;max-width:none!important;max-height:none!important;object-fit:contain;filter:brightness(0) saturate(100%) invert(12%) sepia(20%) saturate(2500%) hue-rotate(179deg) brightness(93%)}
#ckv-family-bar .ckv-social-unset{opacity:.55;cursor:default}
#ckv-family-bar .ckv-mega{position:absolute;right:5%;left:5%;top:calc(100% - 1px);width:90%;max-width:none!important;background:linear-gradient(115deg,#fff,#fffcfb);color:#172742;border:1px solid #ede9e6;border-radius:17px;box-shadow:0 18px 33px #12244048;max-height:min(80vh,850px);overflow-y:auto;overflow-x:hidden}
#ckv-family-bar .ckv-mega[hidden]{display:none!important}
#ckv-family-bar .ckv-mega:before{content:'';position:sticky;display:block;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-bottom:12px solid white;top:0;margin:-12px 0 0 49%;z-index:1}
#ckv-family-bar .ckv-mega-inner{margin:0!important;max-width:none!important;width:100%!important;padding:35px 28px 28px}
#ckv-family-bar .ckv-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
#ckv-family-bar .ckv-column{min-width:0;padding:0 23px;border-right:1px solid #dedde0}
#ckv-family-bar .ckv-column:first-child{padding-left:0}
#ckv-family-bar .ckv-column:nth-child(3n){border-right:none;padding-right:0}
#ckv-family-bar .ckv-column:nth-child(n+4){margin-top:30px}
#ckv-family-bar .ckv-column h3{position:relative;margin:0 0 17px;padding:0 0 15px;border-bottom:1px solid #cba14a;color:#0d213e!important;font:600 clamp(19px,1.5vw,26px)/1.25 Georgia,serif;text-transform:none;letter-spacing:0}
#ckv-family-bar .ckv-column h3:before{content:'✧';font:26px/1 Arial,sans-serif;color:#b9872f;margin-right:12px}
#ckv-family-bar .ckv-column:nth-child(3n + 2) h3:before{content:'♧'}
#ckv-family-bar .ckv-column:nth-child(3n + 3) h3:before{content:'◇'}
#ckv-family-bar .ckv-sites{display:flex;flex-direction:column;gap:12px}
#ckv-family-bar .ckv-site{display:flex;align-items:flex-start;gap:13px;padding:5px 3px;border-radius:8px;color:#10213e!important;text-decoration:none!important;transition:background .12s}
#ckv-family-bar .ckv-site:hover,#ckv-family-bar .ckv-site:focus-visible{background:#f6f1ea;color:#10213e!important}
#ckv-family-bar .ckv-site-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;background:#f0eaf8;border:0;border-radius:11px;overflow:hidden}
#ckv-family-bar .ckv-column:nth-child(3n + 2) .ckv-site-icon{background:#faeee7}
#ckv-family-bar .ckv-column:nth-child(3n + 3) .ckv-site-icon{background:#e8f3fa}
#ckv-family-bar .ckv-site-icon img{width:34px!important;height:34px!important;max-width:none!important;max-height:none!important;object-fit:contain;padding:0;filter:brightness(0) saturate(100%) invert(37%) sepia(19%) saturate(1606%) hue-rotate(205deg)}
#ckv-family-bar .ckv-column:nth-child(3n + 2) .ckv-site-icon img{filter:brightness(0) saturate(100%) invert(47%) sepia(27%) saturate(1458%) hue-rotate(346deg)}
#ckv-family-bar .ckv-column:nth-child(3n + 3) .ckv-site-icon img{filter:brightness(0) saturate(100%) invert(44%) sepia(28%) saturate(1572%) hue-rotate(167deg)}
#ckv-family-bar .ckv-site-icon img:not(.ckv-svg-icon){filter:none!important}
#ckv-family-bar .ckv-site-copy{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:2px}
#ckv-family-bar .ckv-site-copy strong{color:#101f3c!important;font:600 clamp(15px,1.08vw,18px)/1.2 Georgia,serif;text-decoration:underline;text-underline-offset:2px}
#ckv-family-bar .ckv-site-copy small{font:clamp(12px,.86vw,14px)/1.3 Arial,sans-serif;color:#273144}
#ckv-family-bar .ckv-site-arrow{font-size:22px;text-decoration:none!important}
@media(max-width:1200px){#ckv-family-bar .ckv-ribbon-inner{min-height:90px}#ckv-family-bar .ckv-follow-top{gap:10px;padding-left:13px}#ckv-family-bar .ckv-toolbar-social{grid-template-columns:repeat(10,26px);gap:0 3px}#ckv-family-bar .ckv-toolbar-social a,#ckv-family-bar .ckv-toolbar-social .ckv-social-unset{width:26px;height:26px;min-width:26px}#ckv-family-bar .ckv-social-svg{width:24px!important;height:24px!important}#ckv-family-bar .ckv-explore{min-height:52px;padding:10px 17px;gap:10px}}
@media(max-width:850px){#ckv-family-bar .ckv-ribbon-inner{flex-wrap:wrap;min-height:86px;gap:12px}#ckv-family-bar .ckv-actions{width:100%;justify-content:space-between}#ckv-family-bar .ckv-follow-top{margin-left:auto}#ckv-family-bar .ckv-mega{right:2%;left:2%;width:96%}#ckv-family-bar .ckv-columns{grid-template-columns:1fr 1fr}#ckv-family-bar .ckv-column{border-right:0!important;border-bottom:1px solid #dcdce0;padding:17px 13px!important}#ckv-family-bar .ckv-column:nth-child(n+3){margin-top:0}}
@media(max-width:540px){#ckv-family-bar .ckv-ribbon-inner{padding:10px 14px}#ckv-family-bar .ckv-wordmark strong{font-size:24px}#ckv-family-bar .ckv-wordmark small{font-size:12px}#ckv-family-bar .ckv-actions{align-items:flex-start;gap:12px}#ckv-family-bar .ckv-explore{font-size:13px;min-height:43px;padding:8px 11px;border-radius:7px}#ckv-family-bar .ckv-follow-top{padding-left:9px;gap:8px}#ckv-family-bar .ckv-follow-label{display:none}#ckv-family-bar .ckv-toolbar-social{grid-template-columns:repeat(5,22px);gap:3px}#ckv-family-bar .ckv-toolbar-social a,#ckv-family-bar .ckv-toolbar-social .ckv-social-unset{width:22px;height:22px;min-width:22px}#ckv-family-bar .ckv-social-svg{width:20px!important;height:20px!important}#ckv-family-bar .ckv-columns{grid-template-columns:1fr}#ckv-family-bar .ckv-mega-inner{padding:14px}#ckv-family-bar .ckv-column{padding:15px 4px!important}#ckv-family-bar .ckv-column h3{font-size:20px}#ckv-family-bar .ckv-site-copy strong{font-size:16px}}

/* v.4 refinements: full-width 90% floating menu, restrained headline, one-line desktop socials */
@media(min-width:851px){
 #ckv-family-bar .ckv-ribbon-inner{flex-wrap:nowrap;}
 #ckv-family-bar .ckv-identity{min-width:195px;max-width:28%;}
 #ckv-family-bar .ckv-actions{flex:0 1 auto;gap:clamp(8px,1.2vw,22px);}
 #ckv-family-bar .ckv-follow-top{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;white-space:nowrap;}
 #ckv-family-bar .ckv-toolbar-social{display:grid;grid-template-rows:32px;align-content:center;}
 #ckv-family-bar .ckv-mega{left:5%!important;right:5%!important;width:90%!important;}
}
@media(min-width:851px) and (max-width:1100px){
 #ckv-family-bar .ckv-identity{min-width:170px;}
 #ckv-family-bar .ckv-wordmark strong{font-size:23px;}
 #ckv-family-bar .ckv-wordmark small{font-size:12px;}
 #ckv-family-bar .ckv-explore{padding:9px 12px;font-size:13px;min-height:47px;}
 #ckv-family-bar .ckv-follow-label{font-size:14px;}
 #ckv-family-bar .ckv-toolbar-social{grid-template-columns:repeat(10,23px);grid-template-rows:26px;gap:0 2px;}
 #ckv-family-bar .ckv-toolbar-social a,#ckv-family-bar .ckv-toolbar-social .ckv-social-unset{width:23px;height:26px;min-width:23px;}
 #ckv-family-bar .ckv-social-svg{width:22px!important;height:22px!important;}
}

/* v.5: fit the real available desktop header width, not a forced 2-row grid. */
@media(min-width:851px){
 #ckv-family-bar .ckv-ribbon-inner{padding-left:clamp(14px,1.35vw,30px)!important;padding-right:clamp(14px,1.35vw,30px)!important;gap:12px!important;}
 #ckv-family-bar .ckv-identity{min-width:0!important;flex:0 1 auto!important;max-width:34%!important;}
 #ckv-family-bar .ckv-wordmark strong{font-size:clamp(19px,1.48vw,29px)!important;}
 #ckv-family-bar .ckv-actions{flex:0 0 auto!important;gap:clamp(9px,1.25vw,22px)!important;margin-left:auto!important;min-width:0!important;}
 #ckv-family-bar .ckv-explore{font-size:clamp(13px,1vw,17px)!important;min-height:45px!important;padding:8px 17px!important;flex-shrink:0!important;}
 #ckv-family-bar .ckv-follow-top{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:clamp(5px,.65vw,12px)!important;white-space:nowrap!important;min-width:0!important;padding-left:13px!important;}
 #ckv-family-bar .ckv-follow-label{flex:none!important;font-size:clamp(14px,1.14vw,19px)!important;}
 #ckv-family-bar .ckv-toolbar-social{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;justify-content:flex-end!important;gap:clamp(1px,.28vw,7px)!important;grid-template-columns:none!important;grid-template-rows:none!important;white-space:nowrap!important;width:auto!important;}
 #ckv-family-bar .ckv-toolbar-social a,#ckv-family-bar .ckv-toolbar-social .ckv-social-unset{width:clamp(20px,1.47vw,29px)!important;min-width:clamp(20px,1.47vw,29px)!important;height:30px!important;flex:0 0 auto!important;}
 #ckv-family-bar .ckv-social-svg{width:clamp(19px,1.35vw,26px)!important;height:clamp(19px,1.35vw,26px)!important;}
 #ckv-family-bar .ckv-mega{position:absolute!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:96vw!important;max-width:96vw!important;top:calc(100% - 1px)!important;}
}
@media(min-width:851px) and (max-width:1250px){
 #ckv-family-bar .ckv-follow-label{font-size:14px!important;}
 #ckv-family-bar .ckv-actions{gap:9px!important;}
 #ckv-family-bar .ckv-explore{padding:8px 12px!important;}
 #ckv-family-bar .ckv-follow-top{padding-left:10px!important;gap:6px!important;}
}
/* Keep menu above page contents and prevent theme-wide link styling from shifting its layout. */
#ckv-family-bar .ckv-mega-inner{width:100%!important;max-width:none!important;}
#ckv-family-bar .ckv-columns{width:100%!important;}

/* v.6: modest typography reduction requested for the two prominent header labels. */
@media(min-width:851px){
 #ckv-family-bar .ckv-wordmark strong{font-size:clamp(18px,1.30vw,26px)!important;}
 #ckv-family-bar .ckv-explore{font-size:clamp(12px,.88vw,15px)!important;}
}
@media(max-width:850px){
 #ckv-family-bar .ckv-wordmark strong{font-size:clamp(19px,3vw,23px)!important;}
 #ckv-family-bar .ckv-explore{font-size:12px!important;}
}

/* v.7: optional portrait in the available Psychology column space. */
#ckv-family-bar .ckv-psych-profile{margin:24px auto 6px;max-width:260px;display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;}
#ckv-family-bar .ckv-psych-photo{display:block;width:150px!important;height:170px!important;max-width:100%!important;object-fit:cover!important;object-position:center top;border-radius:12px;border:1px solid #e8d9bc;box-shadow:0 5px 18px rgba(24,39,60,.09);}
#ckv-family-bar .ckv-psych-title{color:#152743;font:600 17px/1.3 Georgia,serif;}
#ckv-family-bar .ckv-psych-subtitle{color:#495166;font:13px/1.4 Arial,sans-serif;}
@media(max-width:850px){#ckv-family-bar .ckv-psych-photo{width:120px!important;height:140px!important;}}

/* v.9 — portrait floats top-right, independent of the growing Psychology site list. */
@media(min-width:851px){
 #ckv-family-bar .ckv-column-profile{position:relative!important;min-height:360px;}
 #ckv-family-bar .ckv-column-profile .ckv-sites{width:calc(100% - 225px)!important;min-width:175px;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-profile{position:absolute!important;right:20px!important;top:65px!important;margin:0!important;width:205px!important;max-width:205px!important;z-index:1;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-photo{width:145px!important;height:164px!important;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-title{font-size:15px!important;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-subtitle{font-size:12px!important;}
}
@media(min-width:851px) and (max-width:1360px){
 #ckv-family-bar .ckv-column-profile .ckv-sites{width:calc(100% - 155px)!important;min-width:120px;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-profile{width:145px!important;max-width:145px!important;right:7px!important;top:70px!important;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-photo{width:110px!important;height:130px!important;}
}
@media(max-width:850px){
 #ckv-family-bar .ckv-column-profile .ckv-psych-profile{position:static!important;margin:16px auto!important;}
}

/* v.10: compact upper-right portrait with wider captions and adjustable crop. */
#ckv-family-bar .ckv-column-profile .ckv-psych-profile{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important;text-align:center!important;}
#ckv-family-bar .ckv-column-profile .ckv-psych-frame{display:block;width:150px;height:166px;max-width:100%;overflow:hidden;border-radius:12px;border:1px solid #e8d9bc;box-shadow:0 5px 18px rgba(24,39,60,.09);}
#ckv-family-bar .ckv-column-profile .ckv-psych-photo{width:100%!important;height:100%!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:block;object-fit:cover!important;object-position:var(--ckv-photo-x,50%) var(--ckv-photo-y,50%)!important;transform:scale(var(--ckv-photo-zoom,1));transform-origin:var(--ckv-photo-x,50%) var(--ckv-photo-y,50%);}
#ckv-family-bar .ckv-column-profile .ckv-psych-title,#ckv-family-bar .ckv-column-profile .ckv-psych-subtitle{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
@media(min-width:851px){
 #ckv-family-bar .ckv-column-profile .ckv-psych-profile{top:57px!important;right:10px!important;width:clamp(200px,17vw,285px)!important;max-width:calc(100% - 160px)!important;}
 #ckv-family-bar .ckv-column-profile .ckv-sites{width:calc(100% - clamp(200px,17vw,285px) - 12px)!important;min-width:145px!important;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-title{font-size:15px!important;line-height:1.35!important;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-subtitle{font-size:12px!important;line-height:1.35!important;}
}
@media(min-width:851px) and (max-width:1200px){
 #ckv-family-bar .ckv-column-profile .ckv-psych-profile{width:190px!important;max-width:calc(100% - 135px)!important;right:4px!important;}
 #ckv-family-bar .ckv-column-profile .ckv-sites{width:calc(100% - 195px)!important;min-width:115px!important;}
 #ckv-family-bar .ckv-column-profile .ckv-psych-frame{width:120px;height:140px;}
}
@media(max-width:850px){#ckv-family-bar .ckv-column-profile .ckv-psych-profile{width:min(300px,100%)!important;max-width:100%!important;}#ckv-family-bar .ckv-column-profile .ckv-psych-frame{width:140px;height:160px;}}

/* Four groups fit across the desktop menu without reducing the portrait frame. */
#ckv-family-bar .ckv-columns-four { gap: 12px; }
#ckv-family-bar .ckv-columns-four > .ckv-column {
  margin-top: 0;
  min-height: 0;
  padding: 0 10px 0 0;
  border-right: 1px solid #dedde0;
}
#ckv-family-bar .ckv-columns-four .ckv-column-profile .ckv-sites {
  width: 100%!important;
  min-width: 0!important;
}
#ckv-family-bar .ckv-columns-four .ckv-column-profile .ckv-psych-profile {
  position: static!important;
  width: 100%!important;
  max-width: 100%!important;
  margin: 10px auto 0!important;
}
@media (min-width: 1080px) {
  #ckv-family-bar .ckv-mega-inner:has(.ckv-columns-four) { padding: 15px 18px; }
  #ckv-family-bar .ckv-columns-four {
    grid-template-columns: minmax(0,.68fr) minmax(0,1.12fr) minmax(0,1.08fr) minmax(0,1.12fr);
  }
  #ckv-family-bar .ckv-columns-four > .ckv-column:nth-child(4n) { border-right: 0; }
}
@media (min-width: 541px) and (max-width: 1079px) {
  #ckv-family-bar .ckv-columns-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #ckv-family-bar .ckv-columns-four > .ckv-column:nth-child(2n) { border-right: 0; }
}
@media (max-width: 540px) {
  #ckv-family-bar .ckv-columns-four > .ckv-column { border-right: 0; }
}


/* Fit more of the menu on screen while preserving the portrait dimensions. */
#ckv-family-bar .ckv-columns-four .ckv-column h3 {
  margin-bottom: 7px;
  padding-bottom: 7px;
}
#ckv-family-bar .ckv-columns-four .ckv-sites { gap: 4px; }
#ckv-family-bar .ckv-columns-four .ckv-site { gap: 9px; padding: 3px; }
#ckv-family-bar .ckv-columns-four .ckv-site-icon {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
}
#ckv-family-bar .ckv-columns-four .ckv-site-icon img {
  width: 27px!important;
  height: 27px!important;
}
