:root{--hj-green:#184f37;--hj-green2:#226246;--hj-ink:#232323;--hj-muted:#777;--hj-line:#d8d8d8;--hj-paper:#f5f4f1;--hj-white:#fff;--hj-dark:#2c2c2b}
.haugen-journey{max-width:1180px;margin:0 auto;background:var(--hj-paper);color:var(--hj-ink);font-family:Arial,Helvetica,sans-serif;min-height:70vh}.haugen-hero{background:linear-gradient(125deg,#222,#41413e);color:#fff;padding:42px 48px 34px;border-radius:14px 14px 0 0}.haugen-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:12px;opacity:.8}.haugen-hero h1{font-family:Georgia,serif;font-size:46px;margin:8px 0 0;font-weight:500}.haugen-tabs{display:flex;gap:30px;padding:0 42px;background:#fff;border-bottom:1px solid #ddd}.haugen-tabs button{background:none;border:0;padding:18px 2px 14px;font-size:17px;cursor:pointer;border-bottom:4px solid transparent}.haugen-tabs button.active{border-color:var(--hj-green);font-weight:700}.haugen-tab{display:none;padding:34px 42px 60px}.haugen-tab.active{display:block}.haugen-card,.haugen-event-card{background:#fff;border-radius:8px;padding:26px 30px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.haugen-story-intro{max-width:820px;margin:0 auto 40px;font-family:Georgia,serif;font-size:19px;line-height:1.65}.haugen-person-link{font-weight:700;color:var(--hj-green);text-decoration:underline;text-underline-offset:2px}.haugen-timeline-demo{position:relative;max-width:850px;margin:30px auto;padding-left:105px}.haugen-timeline-demo:before{content:"";position:absolute;left:70px;top:0;bottom:0;width:2px;background:#aaa}.haugen-year{position:absolute;left:0;top:22px;font-size:18px}.haugen-event-card{position:relative}.haugen-event-card:before{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#333;left:-42px;top:28px}
.haugen-modal{position:fixed;inset:0;z-index:999999;display:none}.haugen-modal.open{display:block}.haugen-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58)}.haugen-modal-panel{position:relative;width:min(960px,92vw);height:min(86vh,900px);margin:6vh auto;background:var(--hj-paper);border-radius:12px;overflow:hidden;box-shadow:0 22px 80px rgba(0,0,0,.4)}.haugen-close{position:absolute;right:17px;top:12px;z-index:4;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:28px;cursor:pointer}.haugen-modal-content{height:100%;overflow:auto}.hp-header{background:#363635;color:#fff;padding:30px 42px;display:flex;align-items:center;gap:22px}.hp-photo{width:82px;height:82px;border-radius:50%;object-fit:cover;background:#61615f;border:3px solid #fff}.hp-photo.placeholder{display:grid;place-items:center;font-size:28px}.hp-title{font-family:Georgia,serif;font-size:34px;margin:0}.hp-years{margin-top:4px;opacity:.85}.hp-tabs{display:flex;gap:28px;background:#fff;padding:0 36px;border-bottom:1px solid #d7d7d7;position:sticky;top:0;z-index:2}.hp-tabs button{border:0;background:none;padding:17px 1px 13px;border-bottom:4px solid transparent;font-size:16px;cursor:pointer}.hp-tabs button.active{border-color:var(--hj-green);font-weight:bold}.hp-panel{display:none;padding:32px 38px 55px}.hp-panel.active{display:block}.hp-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hp-fact{background:#fff;border-radius:7px;padding:17px}.hp-fact b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#666;margin-bottom:5px}.hp-family{display:flex;gap:14px;flex-wrap:wrap;margin:24px 0}.hp-relative{background:#fff;border-radius:7px;padding:10px 13px;display:flex;align-items:center;gap:9px;cursor:pointer;border:1px solid #e2e2e2}.hp-relative img{width:42px;height:42px;border-radius:50%;object-fit:cover}.hp-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:18px}.hp-media{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.08)}.hp-media img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#ddd}.hp-media-body{padding:12px}.hp-media h4{margin:0 0 5px;font-size:15px}.hp-media small{color:#6d6d6d}.hp-story{max-width:760px;margin:0 auto}.hp-story-copy{font-family:Georgia,serif;font-size:18px;line-height:1.65;background:#fff;padding:24px 28px;border-radius:8px}.hp-timeline{position:relative;padding-left:105px;margin-top:36px}.hp-timeline:before{content:"";position:absolute;left:70px;top:0;bottom:0;width:2px;background:#aaa}.hp-event{position:relative;background:#fff;border-radius:8px;padding:20px 24px;margin-bottom:22px}.hp-event:before{content:"";position:absolute;left:-42px;top:26px;width:14px;height:14px;border-radius:50%;background:#303030}.hp-event-date{position:absolute;left:-104px;top:23px;width:55px;text-align:right;font-weight:700}.hp-event img{width:100%;max-height:340px;object-fit:cover;border-radius:6px;margin-top:12px}@media(max-width:700px){.haugen-hero{padding:30px 24px}.haugen-hero h1{font-size:36px}.haugen-tabs,.hp-tabs{gap:16px;padding:0 18px}.haugen-tab,.hp-panel{padding:24px 18px 40px}.haugen-timeline-demo,.hp-timeline{padding-left:78px}.haugen-timeline-demo:before,.hp-timeline:before{left:52px}.haugen-year{font-size:14px}.hp-facts-grid{grid-template-columns:1fr}.haugen-modal-panel{width:96vw;height:92vh;margin:4vh auto}.hp-header{padding:24px 22px}.hp-title{font-size:27px}.hp-event-date{left:-78px;width:44px}.hp-event:before{left:-33px}}


/* v0.2 — Home page + Haugen cross identity */
.haugen-home{--hj-green:#355d45;--hj-paper:#f3f0eb;--hj-ink:#262626;max-width:1180px;margin:28px auto;background:var(--hj-paper);color:var(--hj-ink);font-family:Arial,Helvetica,sans-serif;border-radius:14px;overflow:hidden;box-shadow:0 8px 34px rgba(0,0,0,.12)}
.haugen-home-hero{background:linear-gradient(125deg,#222,#41413e);color:#fff;padding:30px 48px 27px;text-align:center}
.haugen-home-hero h1{font-family:Georgia,serif;font-size:42px;line-height:1.05;margin:7px 0 0;font-weight:500}
.haugen-home-body{padding:42px 34px 52px;display:flex;justify-content:center}
.haugen-home-photo{margin:0;width:min(820px,88%);background:#fff;padding:12px;border:1px solid rgba(53,93,69,.28);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.11)}
.haugen-home-photo img{display:block;width:100%;height:auto;border-radius:5px}
.haugen-home-photo figcaption{text-align:center;font-family:Georgia,serif;font-size:15px;color:#666;padding:12px 8px 3px}
.haugen-hero{display:flex;align-items:center;gap:20px}
.haugen-hero-emblem{width:62px;height:62px;object-fit:cover;border-radius:8px;background:#fff;padding:5px;box-shadow:0 2px 12px rgba(0,0,0,.22)}
.hp-heading{min-width:0}
.hp-emblem{width:48px;height:48px;object-fit:cover;border-radius:7px;background:#fff;padding:4px;margin-left:auto;opacity:.96}
@media(max-width:700px){
  .haugen-home{margin:12px auto;border-radius:8px}
  .haugen-home-hero{padding:24px 18px 22px}
  .haugen-home-hero h1{font-size:32px}
  .haugen-home-body{padding:24px 12px 32px}
  .haugen-home-photo{width:94%;padding:8px}
  .haugen-hero{gap:13px}
  .haugen-hero-emblem{width:48px;height:48px}
  .hp-emblem{width:40px;height:40px}
}


/* v0.3 — refined home page integration */
body:has(.haugen-home) main .wp-block-post-title,
body:has(.haugen-home) main > .wp-block-group > .wp-block-post-title,
body:has(.haugen-home) .entry-header,
body:has(.haugen-home) .entry-title { display:none !important; }

body:has(.haugen-home) main,
body:has(.haugen-home) .wp-site-blocks main { padding-top:0 !important; }

.haugen-home{
  --hj-green:#355d45;
  --hj-green-dark:#274536;
  --hj-paper:#f4f1eb;
  --hj-ink:#262626;
  max-width:1180px;
  margin:18px auto 26px;
  background:var(--hj-paper);
  color:var(--hj-ink);
  font-family:Arial,Helvetica,sans-serif;
  border-radius:0;
  overflow:hidden;
  box-shadow:0 8px 28px rgba(0,0,0,.08);
  border-top:5px solid var(--hj-green);
}
.haugen-home-hero{
  background:linear-gradient(125deg,#292a28,#3c3d39);
  color:#fff;
  padding:24px 42px 22px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  text-align:left;
}
.haugen-home-emblem{
  width:58px;
  height:58px;
  object-fit:cover;
  background:#fff;
  padding:5px;
  border-radius:7px;
  box-shadow:0 2px 12px rgba(0,0,0,.22);
  flex:0 0 auto;
}
.haugen-home-heading{text-align:center}
.haugen-home-hero h1{
  font-family:Georgia,serif;
  font-size:40px;
  line-height:1.06;
  margin:5px 0 0;
  font-weight:500;
  letter-spacing:.1px;
}
.haugen-home .haugen-kicker{
  color:#e8eee9;
  letter-spacing:.17em;
  font-size:11px;
  font-weight:700;
}
.haugen-home-body{
  padding:30px 30px 34px;
  display:flex;
  justify-content:center;
}
.haugen-home-photo{
  margin:0;
  width:min(720px,80%);
  background:#fff;
  padding:9px;
  border:1px solid rgba(53,93,69,.30);
  border-radius:7px;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.haugen-home-photo img{
  display:block;
  width:100%;
  height:auto;
  border-radius:3px;
}
.haugen-home-photo figcaption{
  text-align:center;
  font-family:Georgia,serif;
  font-size:13px;
  color:#686868;
  padding:9px 8px 1px;
  font-style:italic;
}
@media(max-width:700px){
  .haugen-home{margin:10px auto 18px}
  .haugen-home-hero{padding:20px 14px 18px;gap:12px}
  .haugen-home-emblem{width:45px;height:45px}
  .haugen-home-hero h1{font-size:29px}
  .haugen-home-body{padding:20px 10px 24px}
  .haugen-home-photo{width:92%;padding:7px}
}

/* v0.3.1 — title above subtitle */
.haugen-home-hero h1{margin:0 0 7px}
.haugen-home .haugen-kicker{margin-top:0}


/* v0.4 — full-bleed family portrait + interactive people */
.haugen-home-photo{
  width:min(760px,84%);
  padding:0;
  overflow:hidden;
  background:#fff;
}
.haugen-family-interactive{
  position:relative;
  width:100%;
  line-height:0;
  overflow:hidden;
  background:#1f1f1f;
}
.haugen-family-interactive > img{
  display:block;
  width:100%;
  height:auto;
  border-radius:0;
}
.haugen-home-photo figcaption{
  line-height:1.35;
  padding:10px 10px 11px;
  margin:0;
}
.haugen-person-hotspot{
  position:absolute;
  z-index:5;
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  cursor:pointer;
  border-radius:12px;
  line-height:1.2;
}
.haugen-person-hotspot:focus-visible{
  outline:2px solid #7bb54a;
  outline-offset:2px;
  background:rgba(123,181,74,.12);
}
.haugen-person-hotspot:hover{
  background:rgba(255,255,255,.06);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}
.haugen-hotspot-label{
  position:absolute;
  left:50%;
  bottom:6%;
  transform:translate(-50%, 8px);
  padding:6px 9px;
  border-radius:5px;
  background:rgba(27,27,27,.92);
  color:#fff;
  font:600 13px/1.1 Arial,Helvetica,sans-serif;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  transition:opacity .14s ease,transform .14s ease;
}
.haugen-person-hotspot:hover .haugen-hotspot-label,
.haugen-person-hotspot:focus-visible .haugen-hotspot-label{
  opacity:1;
  transform:translate(-50%, 0);
}
.haugen-photo-actions{
  position:absolute;
  z-index:20;
  transform:translate(-50%,-10%);
  width:230px;
  background:rgba(255,255,255,.98);
  color:#262626;
  border:1px solid rgba(53,93,69,.36);
  border-radius:8px;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  padding:14px;
  line-height:1.3;
}
.haugen-photo-actions[hidden]{display:none!important}
.haugen-photo-actions-name{
  display:block;
  font:600 17px/1.2 Georgia,serif;
  color:#2d4637;
  padding-right:22px;
  margin-bottom:11px;
}
.haugen-photo-actions-close{
  position:absolute;
  right:7px;
  top:4px;
  border:0;
  background:transparent;
  color:#666;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.haugen-photo-actions-links{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.haugen-photo-actions-links button,
.haugen-photo-actions-links a{
  display:block;
  width:100%;
  box-sizing:border-box;
  text-decoration:none;
  text-align:center;
  border-radius:5px;
  border:1px solid #355d45;
  background:#355d45;
  color:#fff;
  padding:8px 10px;
  font:600 12px/1.2 Arial,Helvetica,sans-serif;
  cursor:pointer;
}
.haugen-photo-actions-links a{
  background:#fff;
  color:#355d45;
}
@media(max-width:700px){
  .haugen-home-photo{width:96%}
  .haugen-hotspot-label{font-size:11px;padding:5px 7px}
  .haugen-photo-actions{width:205px}
}


/* v0.4.1 — family portrait spans the full Haugen home panel width */
.haugen-home-body{
  padding:0;
  display:block;
}
.haugen-home-photo{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:#fff;
}
.haugen-family-interactive{
  width:100%;
}
.haugen-family-interactive > img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.haugen-home-photo figcaption{
  background:#fff;
  border-bottom:1px solid rgba(53,93,69,.22);
  padding:10px 12px 11px;
}
@media(max-width:700px){
  .haugen-home-photo{width:100%}
}


/* v0.4.2 — force photo to match full header width despite theme figure/image rules */
.haugen-home > .haugen-home-body,
.haugen-home .haugen-home-body > .haugen-home-photo,
.haugen-home .haugen-family-interactive,
.haugen-home .haugen-family-interactive > img{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.haugen-home .haugen-home-body{
  padding-left:0 !important;
  padding-right:0 !important;
}
.haugen-home .haugen-home-photo{
  display:block !important;
  float:none !important;
}


/* v0.4.3 — move Haugen home panel closer to site header */
body:has(.haugen-home) main,
body:has(.haugen-home) .wp-site-blocks main,
body:has(.haugen-home) .wp-block-post-content,
body:has(.haugen-home) .entry-content{
  margin-top:0 !important;
  padding-top:0 !important;
}
body:has(.haugen-home) main > *,
body:has(.haugen-home) .wp-block-post-content > *:first-child,
body:has(.haugen-home) .entry-content > *:first-child{
  margin-top:0 !important;
}
.haugen-home{
  margin-top:0 !important;
}


/* v0.5 — Ancestry-inspired interactive family tree */
.haugen-tree-shell{
  --tree-bg:#2b2b2b;
  --tree-panel:#363636;
  --tree-card:#fff;
  --tree-ink:#262626;
  --tree-line:#6f6f6f;
  --tree-green:#5d8f3f;
  max-width:1400px;
  margin:0 auto 30px;
  background:var(--tree-bg);
  color:#fff;
  border-top:5px solid #355d45;
  box-shadow:0 8px 28px rgba(0,0,0,.12);
}
.haugen-tree-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 28px 18px;
  background:linear-gradient(125deg,#242424,#3a3a38);
}
.haugen-tree-header h1{
  margin:3px 0 0;
  font:500 34px/1.05 Georgia,serif;
}
.haugen-tree-tools{display:flex;gap:7px}
.haugen-tree-tools button{
  border:1px solid rgba(255,255,255,.28);
  background:#fff;
  color:#333;
  border-radius:5px;
  padding:7px 10px;
  min-width:34px;
  font-weight:700;
  cursor:pointer;
}
.haugen-tree-viewport{
  overflow:auto;
  min-height:640px;
  padding:35px 24px 70px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.025), transparent 45%),
    var(--tree-bg);
}
.haugen-tree-stage{
  --tree-scale:1;
  width:max-content;
  min-width:100%;
  transform-origin:top center;
}
.haugen-tree-canvas{
  position:relative;
  width:max-content;
  min-width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:88px;
  padding:10px 35px 40px;
  box-sizing:border-box;
  transform:scale(var(--tree-scale));
  transform-origin:top center;
}
.haugen-tree-generation{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}
.haugen-tree-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  flex-wrap:nowrap;
}
.haugen-tree-row.couple{gap:12px}

.haugen-tree-row.children-families{
  align-items:flex-start;
  gap:26px;
}
.haugen-tree-child-family{
  display:flex;
  align-items:center;
  justify-content:center;
}
.haugen-tree-row.child-couple{
  gap:10px;
}
.haugen-tree-card.child-spouse{
  opacity:.98;
}
.haugen-tree-label{
  font:600 14px/1.2 Arial,sans-serif;
  background:#454545;
  color:#f4f4f4;
  border-radius:5px;
  padding:7px 12px;
  box-shadow:0 3px 10px rgba(0,0,0,.18);
}
.haugen-tree-card{
  position:relative;
  width:210px;
  min-height:78px;
  border:0;
  background:var(--tree-card);
  color:var(--tree-ink);
  border-radius:7px;
  box-shadow:0 5px 16px rgba(0,0,0,.26);
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 13px 10px 10px;
  text-align:left;
  cursor:pointer;
}
.haugen-tree-card:hover{box-shadow:0 7px 22px rgba(0,0,0,.36);transform:translateY(-1px)}
.haugen-tree-card.focus{box-shadow:0 0 0 2px #5d8f3f,0 6px 20px rgba(0,0,0,.32)}
.haugen-tree-avatar{
  width:52px;height:52px;border-radius:50%;
  background:#ececec;overflow:hidden;display:grid;place-items:center;flex:0 0 52px;
}
.haugen-tree-avatar img{width:100%;height:100%;object-fit:cover}
.haugen-tree-avatar span{font-size:28px;filter:grayscale(1);opacity:.55}
.haugen-tree-card-copy{min-width:0}
.haugen-tree-card-copy strong{
  display:block;
  font:600 15px/1.12 Arial,sans-serif;
  white-space:normal;
}
.haugen-tree-card-copy small{
  display:block;
  margin-top:5px;
  font:12px/1.1 Arial,sans-serif;
  color:#757575;
}
.haugen-tree-dot{
  position:absolute;
  right:-5px;
  top:50%;
  transform:translateY(-50%);
  width:10px;height:10px;border-radius:50%;
  background:#6fa444;border:2px solid #fff;
}
.haugen-tree-lines{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  overflow:visible;
}
.haugen-tree-lines path{
  fill:none;
  stroke:var(--tree-line);
  stroke-width:2;
  vector-effect:non-scaling-stroke;
}
@media(max-width:800px){
  .haugen-tree-header{padding:18px 16px}
  .haugen-tree-header h1{font-size:27px}
  .haugen-tree-viewport{min-height:560px;padding:24px 12px 55px}
  .haugen-tree-card{width:180px}
}


/* v0.6 — larger Ancestry-style cards, ancestor/sibling/partner controls */
.haugen-tree-viewport{min-height:760px}
.haugen-tree-canvas{gap:112px;padding:24px 60px 70px}
.haugen-tree-card-wrap{position:relative;display:flex;align-items:center;justify-content:center}
.haugen-tree-card{
  width:252px;
  min-height:112px;
  gap:14px;
  padding:12px 16px 12px 12px;
}
.haugen-tree-card.focus,.haugen-tree-card.spouse{
  width:272px;
  min-height:124px;
}
.haugen-tree-avatar{
  width:78px;height:88px;border-radius:5px;flex:0 0 78px;
}
.haugen-tree-card.focus .haugen-tree-avatar,
.haugen-tree-card.spouse .haugen-tree-avatar{
  width:90px;height:100px;flex-basis:90px;
}
.haugen-tree-card-copy strong{font-size:17px;line-height:1.08}
.haugen-tree-card-copy small{font-size:13px;margin-top:6px}
.haugen-tree-row.children-families{gap:34px}
.haugen-tree-row.child-couple{gap:12px}

.haugen-ancestor-toggle{
  position:absolute;z-index:6;left:50%;top:-37px;transform:translateX(-50%);
  width:29px;height:29px;border:0;border-radius:50%;background:#666;color:#fff;
  font:700 20px/27px Arial,sans-serif;cursor:pointer;box-shadow:0 2px 7px rgba(0,0,0,.28)
}
.haugen-ancestor-toggle:hover{background:#7aa943}

.haugen-partner-menu{
  position:absolute;z-index:7;left:6px;top:6px;width:28px;height:28px;border:0;border-radius:50%;
  background:rgba(78,78,78,.9);display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;cursor:pointer
}
.haugen-partner-menu span{display:block;width:14px;height:2px;background:#fff;border-radius:1px}

.haugen-siblings-toggle{
  position:absolute;z-index:10;left:20px;top:50%;transform:translateY(-50%);
  width:38px;height:38px;border:1px solid rgba(255,255,255,.2);border-radius:50%;
  background:#666;color:#fff;font-size:27px;line-height:32px;cursor:pointer
}
.haugen-siblings-panel{
  position:absolute;z-index:20;left:18px;top:35%;transform:translateY(-35%);
  width:270px;background:#303030;border:1px solid #575757;border-radius:10px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);padding:10px
}
.haugen-siblings-panel[hidden]{display:none!important}
.haugen-siblings-head{display:flex;justify-content:space-between;align-items:center;padding:4px 6px 10px;font:16px Arial,sans-serif}
.haugen-siblings-close,.haugen-partner-close{border:0;background:transparent;color:inherit;font-size:25px;cursor:pointer}
.haugen-siblings-list{display:flex;flex-direction:column;gap:7px}
.haugen-sibling-item{
  position:relative;display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:7px;background:#fff;color:#222;
  text-align:left;padding:8px 11px;cursor:pointer
}
.haugen-sibling-photo,.haugen-partner-photo{width:43px;height:43px;border-radius:50%;background:#ececec;display:grid;place-items:center;overflow:hidden;flex:0 0 43px}
.haugen-sibling-photo img,.haugen-partner-photo img{width:100%;height:100%;object-fit:cover}
.haugen-sibling-item b{display:block;font:600 14px Arial,sans-serif}
.haugen-sibling-item small{display:block;margin-top:3px;color:#666;font:12px Arial,sans-serif}
.haugen-sibling-item i{position:absolute;right:9px;width:9px;height:9px;border-radius:50%;background:#58a42d}

.haugen-partner-popup{
  position:absolute;z-index:30;width:310px;background:#fff;color:#222;border-radius:8px;
  box-shadow:0 12px 36px rgba(0,0,0,.38);overflow:hidden
}
.haugen-partner-popup[hidden]{display:none!important}
.haugen-partner-popup-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #ddd;font:15px Arial,sans-serif}
.haugen-partner-option{
  display:flex;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid #eee;background:#fff;padding:10px 13px;text-align:left;cursor:pointer
}
.haugen-partner-option:last-child{border-bottom:0}
.haugen-partner-copy{flex:1;min-width:0}
.haugen-partner-copy b{display:block;color:#176596;font:600 14px Arial,sans-serif}
.haugen-partner-copy small{display:block;margin-top:3px;color:#444;font:12px Arial,sans-serif}
.haugen-switch{width:43px;height:24px;border-radius:13px;background:#cfcfcf;padding:3px;box-sizing:border-box;flex:0 0 43px}
.haugen-switch i{display:block;width:18px;height:18px;border-radius:50%;background:#fff;transition:.15s}
.haugen-partner-option.active .haugen-switch{background:#42911d}
.haugen-partner-option.active .haugen-switch i{transform:translateX(19px)}

@media(max-width:800px){
  .haugen-tree-card{width:220px}
  .haugen-tree-card.focus,.haugen-tree-card.spouse{width:235px}
  .haugen-siblings-panel{width:240px}
}


/* v0.6.1 — click-and-drag panning */
.haugen-tree-viewport{
  cursor:grab;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
}
.haugen-tree-viewport.is-panning{cursor:grabbing}
.haugen-tree-viewport button,
.haugen-tree-viewport a,
.haugen-tree-viewport input,
.haugen-tree-viewport select,
.haugen-tree-viewport textarea,
.haugen-tree-viewport label{cursor:pointer}


/* v0.6.2 — repair person-card structure */
.haugen-tree-card{
  box-sizing:border-box;
  overflow:visible;
}
.haugen-tree-card .haugen-tree-avatar,
.haugen-tree-card .haugen-tree-card-copy{
  position:relative;
  z-index:1;
}
.haugen-tree-card[role="button"]:focus-visible{
  outline:3px solid #79ad43;
  outline-offset:3px;
}


/* v0.6.3 — Ancestry-style portrait cards + wheel zoom */
.haugen-tree-card{
  width:176px !important;
  min-height:288px !important;
  padding:8px 8px 12px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:0 !important;
  background:#fff !important;
  color:#202020 !important;
  border-radius:7px !important;
  box-sizing:border-box !important;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.haugen-tree-card.focus,
.haugen-tree-card.spouse{
  width:176px !important;
  min-height:288px !important;
}
.haugen-tree-avatar,
.haugen-tree-card.focus .haugen-tree-avatar,
.haugen-tree-card.spouse .haugen-tree-avatar{
  width:160px !important;
  height:176px !important;
  flex:0 0 176px !important;
  margin:0 !important;
  border-radius:3px !important;
  overflow:hidden !important;
  background:#e7e7e7 !important;
}
.haugen-tree-avatar img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
.haugen-tree-avatar span{
  width:100% !important;
  height:100% !important;
  display:grid !important;
  place-items:center !important;
  font-size:56px !important;
  color:#aaa !important;
}
.haugen-tree-card-copy{
  width:100% !important;
  padding:12px 6px 0 !important;
  text-align:center !important;
  box-sizing:border-box !important;
}
.haugen-tree-card-copy strong{
  display:block !important;
  color:#222 !important;
  font-size:20px !important;
  line-height:1.05 !important;
  font-weight:700 !important;
}
.haugen-tree-card-copy small{
  display:block !important;
  margin-top:4px !important;
  color:#333 !important;
  font-size:16px !important;
  line-height:1.1 !important;
}
.haugen-tree-dot{
  position:absolute !important;
  right:-8px !important;
  top:50% !important;
  width:12px !important;
  height:12px !important;
  transform:translateY(-50%) !important;
}
.haugen-partner-menu{
  left:7px !important;
  top:7px !important;
}
.haugen-ancestor-toggle{
  top:-42px !important;
}
.haugen-tree-card-wrap{
  min-width:176px !important;
}
.haugen-tree-row.child-couple{
  gap:28px !important;
  align-items:center !important;
}
.haugen-tree-row.children-families{
  gap:44px !important;
  align-items:flex-start !important;
}
.haugen-tree-generation.focus-generation{
  margin-top:20px !important;
}
.haugen-tree-generation.children{
  margin-top:52px !important;
}

/* Make the wheel zoom feel deliberate and keep drag-pan cursor behavior. */
.haugen-tree-viewport{
  overflow:auto !important;
  overscroll-behavior:contain;
}


/* v0.6.4 — stable zoom geometry */
.haugen-tree-stage{
  position:relative;
  min-width:0 !important;
}
.haugen-tree-canvas{
  min-width:max-content !important;
  transform-origin:top left !important;
}


/* v0.7.0 — full GEDCOM tree navigation */
.haugen-descendant-toggle{
  position:absolute;
  z-index:6;
  left:50%;
  bottom:-38px;
  transform:translateX(-50%);
  width:29px;
  height:29px;
  border:0;
  border-radius:50%;
  background:#666;
  color:#fff;
  font:700 20px/27px Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 2px 7px rgba(0,0,0,.28)
}
.haugen-descendant-toggle:hover{background:#7aa943}
.haugen-tree-child-family{padding-bottom:42px}


/* v0.7.1 — restore grab/drag tree panning */
.haugen-tree-viewport,
.haugen-tree-stage,
.haugen-tree-canvas{
  cursor:grab !important;
}
.haugen-tree-viewport.is-panning,
.haugen-tree-viewport.is-panning .haugen-tree-stage,
.haugen-tree-viewport.is-panning .haugen-tree-canvas{
  cursor:grabbing !important;
}
.haugen-tree-card,
.haugen-tree-card *,
.haugen-tree-viewport button,
.haugen-tree-viewport a,
.haugen-tree-viewport input,
.haugen-tree-viewport select,
.haugen-tree-viewport textarea,
.haugen-tree-viewport label{
  cursor:pointer !important;
}


/* v0.7.2 — Ancestry-style grab anywhere / drag-to-pan */
.haugen-tree-viewport,
.haugen-tree-stage,
.haugen-tree-canvas,
.haugen-tree-card,
.haugen-tree-card *{
  cursor:grab !important;
}
.haugen-tree-viewport.is-panning,
.haugen-tree-viewport.is-panning .haugen-tree-stage,
.haugen-tree-viewport.is-panning .haugen-tree-canvas,
.haugen-tree-viewport.is-panning .haugen-tree-card,
.haugen-tree-viewport.is-panning .haugen-tree-card *{
  cursor:grabbing !important;
}
.haugen-ancestor-toggle,
.haugen-descendant-toggle,
.haugen-partner-menu,
.haugen-siblings-toggle,
.haugen-siblings-close,
.haugen-partner-close,
.haugen-partner-option,
.haugen-tree-home,
.haugen-tree-zoom-in,
.haugen-tree-zoom-out{
  cursor:pointer !important;
}


/* v0.7.3 — true vertical grab workspace */
.haugen-tree-stage{
  overflow:visible !important;
}
.haugen-tree-canvas{
  margin-bottom:320px !important;
}


/* v0.7.4 — true free vertical + horizontal panning */
.haugen-tree-viewport{
  overflow:hidden !important;
}
.haugen-tree-stage{
  width:100% !important;
  min-width:100% !important;
  height:900px !important;
  min-height:900px !important;
  overflow:visible !important;
}
.haugen-tree-canvas{
  margin-top:0 !important;
  margin-bottom:0 !important;
  transform-origin:top left !important;
  will-change:transform;
}


/* v0.7.5 — device-sized full-width genealogy workspace */
.haugen-tree-shell{
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  margin-bottom:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  overflow:hidden !important;
}

.haugen-tree-header{
  width:100% !important;
  box-sizing:border-box !important;
}

.haugen-tree-viewport{
  width:100vw !important;
  height:var(--tree-device-height, calc(100dvh - 120px)) !important;
  min-height:520px !important;
  max-height:none !important;
  position:relative !important;
  overflow:hidden !important;
  background:var(--tree-bg) !important;
}

.haugen-tree-stage{
  width:100vw !important;
  min-width:100vw !important;
  height:100% !important;
  min-height:100% !important;
  position:relative !important;
  overflow:visible !important;
}

.haugen-tree-canvas{
  min-width:max-content !important;
  min-height:max-content !important;
}

/* The tree should feel like an application workspace on tablets and phones too. */
@media (max-width: 782px){
  .haugen-tree-viewport{
    min-height:460px !important;
  }
  .haugen-tree-header{
    padding-left:18px !important;
    padding-right:18px !important;
  }
}


/* v0.7.7 — targeted Family Tree page chrome cleanup */
body.haugen-family-tree-page h1.wp-block-post-title,
body.haugen-family-tree-page h1.entry-title,
body.haugen-family-tree-page h1.page-title{
  display:none !important;
}

body.haugen-family-tree-page .wp-block-post-content,
body.haugen-family-tree-page .entry-content{
  margin-top:0 !important;
  padding-top:0 !important;
}

body.haugen-family-tree-page .haugen-tree-shell{
  margin-top:0 !important;
}


/* v0.7.8 — remove remaining theme whitespace while preserving site header/menu */
body.haugen-family-tree-page header.wp-block-template-part{
  margin-bottom:0 !important;
}

body.haugen-family-tree-page header.wp-block-template-part + main,
body.haugen-family-tree-page .wp-site-blocks > main{
  margin-block-start:0 !important;
  margin-top:0 !important;
  padding-block-start:0 !important;
  padding-top:0 !important;
}

body.haugen-family-tree-page main > .wp-block-group,
body.haugen-family-tree-page main > .wp-block-post-content,
body.haugen-family-tree-page .wp-block-post-content{
  margin-block-start:0 !important;
  margin-top:0 !important;
  padding-block-start:0 !important;
  padding-top:0 !important;
}

/* Remove empty spacer blocks only inside the tree page content. */
body.haugen-family-tree-page .wp-block-post-content > .wp-block-spacer:empty{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
}


/* v0.7.9 — global site header/menu standardization */
.haugen-global-header{
  margin-bottom:0 !important;
}

/* Keep the site title on the left and navigation immediately following it. */
.haugen-global-header .wp-block-group,
.haugen-global-header .wp-block-group-is-layout-flex{
  justify-content:flex-start !important;
}

.haugen-global-header .wp-block-site-title{
  margin-left:0 !important;
  margin-right:clamp(28px, 4vw, 72px) !important;
  text-align:left !important;
}

.haugen-global-header .wp-block-site-title a{
  text-align:left !important;
}

/* Requested global menu order: Home / Journey to America / Family Tree */
.haugen-global-nav{
  margin-left:0 !important;
  margin-right:auto !important;
}

.haugen-global-nav .wp-block-navigation__container{
  justify-content:flex-start !important;
  gap:clamp(18px, 2vw, 34px) !important;
}

/* Never show the old Sample Page entry if theme markup briefly renders before JS. */
.haugen-global-header a[href*="sample-page"]{
  display:none !important;
}


/* v0.8.0 — site title hard-left; primary navigation hard-right */
.haugen-global-header{
  width:100% !important;
}

.haugen-global-header > .wp-block-group,
.haugen-global-header .wp-block-group:has(> .wp-block-site-title):has(> .wp-block-navigation),
.haugen-global-header .wp-block-group-is-layout-flex:has(.wp-block-site-title):has(.wp-block-navigation){
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.haugen-global-header .wp-block-site-title{
  margin-left:0 !important;
  margin-right:auto !important;
  text-align:left !important;
  flex:0 0 auto !important;
}

.haugen-global-header .wp-block-site-title a{
  display:block !important;
  text-align:left !important;
}

.haugen-global-header .haugen-global-nav{
  margin-left:auto !important;
  margin-right:0 !important;
  flex:0 0 auto !important;
}

.haugen-global-header .haugen-global-nav .wp-block-navigation__container{
  justify-content:flex-end !important;
}

/* On the Family Tree page, align the site-title edge with the tree workspace edge. */
body.haugen-family-tree-page .haugen-global-header > .wp-block-group,
body.haugen-family-tree-page .haugen-global-header .wp-block-group:has(.wp-block-site-title):has(.wp-block-navigation){
  padding-left:12px !important;
  padding-right:12px !important;
}


/* v0.8.1 — approved popup green applied to Interactive Family Tree header row */
.haugen-tree-header{
  background:#0d4b2b !important;
  border-top-color:#0d4b2b !important;
  border-bottom-color:#08361f !important;
}

.haugen-tree-header,
.haugen-tree-header .haugen-tree-kicker,
.haugen-tree-header .haugen-tree-title{
  color:#fff !important;
}

.haugen-tree-header .haugen-tree-kicker{
  opacity:.82 !important;
}


/* v0.8.2 — exact full-width header alignment + tree-background header color */
.haugen-global-header{
  background:#292929 !important;
  color:#fff !important;
  width:100% !important;
}

.haugen-global-header .haugen-header-row{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:24px !important;
  margin:0 !important;
  padding:16px 12px !important;
}

.haugen-global-header .haugen-header-row > .wp-block-site-title,
.haugen-global-header .wp-block-site-title{
  flex:0 0 auto !important;
  margin:0 auto 0 0 !important;
  padding:0 !important;
  text-align:left !important;
}

.haugen-global-header .haugen-header-row > .haugen-global-nav,
.haugen-global-header .haugen-global-nav{
  flex:0 0 auto !important;
  margin:0 0 0 auto !important;
  padding:0 !important;
}

.haugen-global-header .haugen-global-nav .wp-block-navigation__container{
  width:auto !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  justify-content:flex-end !important;
  align-items:center !important;
  margin:0 !important;
}

.haugen-global-header .wp-block-site-title a,
.haugen-global-header .haugen-global-nav a{
  color:#fff !important;
}

/* Remove theme-constrained width from wrappers that otherwise pull title/menu inward. */
.haugen-global-header .haugen-header-row.is-layout-constrained,
.haugen-global-header .haugen-header-row.wp-block-group-is-layout-constrained{
  max-width:none !important;
}

/* Match the Interactive Family Tree row to the tree canvas background too. */
.haugen-tree-header{
  background:#292929 !important;
  border-top-color:#292929 !important;
  border-bottom-color:#292929 !important;
}


/* v0.8.3 — approved header/menu alignment + popup-green tree header */
.haugen-global-header{
  background:#292929 !important;
  color:#fff !important;
}

.haugen-global-header .haugen-header-row{
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:16px 28px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  flex-wrap:nowrap !important;
}

.haugen-global-header .haugen-header-row .wp-block-site-title{
  margin:0 auto 0 0 !important;
  padding:0 !important;
  text-align:left !important;
  flex:0 0 auto !important;
}

.haugen-global-header .haugen-header-row .haugen-global-nav{
  margin:0 0 0 auto !important;
  padding:0 !important;
  flex:0 0 auto !important;
}

.haugen-global-header .haugen-header-row .haugen-global-nav .wp-block-navigation__container{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:34px !important;
  margin:0 !important;
}

.haugen-global-header .wp-block-site-title a,
.haugen-global-header .haugen-global-nav a{
  color:#fff !important;
}

/* Approved popup green for the Interactive Family Tree row. */
.haugen-tree-header{
  background:#0d4b2b !important;
  border-top:0 !important;
  border-bottom:1px solid #16633b !important;
  color:#fff !important;
}

.haugen-tree-header .haugen-tree-kicker,
.haugen-tree-header .haugen-tree-title,
.haugen-tree-header h1,
.haugen-tree-header h2,
.haugen-tree-header p{
  color:#fff !important;
}

/* Keep the tree itself dark beneath the green row. */
.haugen-tree-viewport,
.haugen-tree-stage{
  background:#292929 !important;
}


/* v0.8.4 — stable plugin-owned site menu */
.haugen-original-nav-hidden{
  display:none !important;
}

.haugen-global-header{
  background:#292929 !important;
  color:#fff !important;
  width:100% !important;
}

.haugen-global-header .haugen-header-row{
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:16px 28px !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.haugen-global-header .wp-block-site-title{
  margin:0 auto 0 0 !important;
  padding:0 !important;
  flex:0 0 auto !important;
  text-align:left !important;
}

.haugen-global-header .wp-block-site-title a{
  color:#fff !important;
  text-decoration:none !important;
}

.haugen-site-menu{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:34px !important;
  flex:0 0 auto !important;
  white-space:nowrap !important;
}

.haugen-site-menu a{
  color:#fff !important;
  text-decoration:none !important;
  font:500 16px/1.2 Arial,sans-serif !important;
  padding:7px 0 !important;
}

.haugen-site-menu a.current{
  color:#9acb52 !important;
  border-bottom:3px solid #9acb52 !important;
}

/* Keep approved deep forest-green second row. */
.haugen-tree-header{
  background:#0d4b2b !important;
  border-top:0 !important;
  border-bottom:1px solid #16633b !important;
  color:#fff !important;
}

@media(max-width:720px){
  .haugen-global-header .haugen-header-row{
    padding:12px 16px !important;
    gap:16px !important;
  }
  .haugen-site-menu{
    gap:16px !important;
  }
  .haugen-site-menu a{
    font-size:14px !important;
  }
}


/* v0.8.5 — match the thin top accent strip to the approved green header */
.haugen-tree-shell{
  border-top-color:#0d4b2b !important;
}

.haugen-tree-header{
  border-top-color:#0d4b2b !important;
}

/* In case the accent is coming from a pseudo-element or adjacent top rule */
.haugen-tree-shell::before,
.haugen-tree-header::before{
  background:#0d4b2b !important;
  border-color:#0d4b2b !important;
}


/* v0.9.0 — Ancestry-style floating tree toolbar */
.haugen-tree-viewport{position:relative!important}
.haugen-floating-toolbar{
  position:absolute;
  z-index:60;
  left:0;
  top:18px;
  width:58px;
  padding:10px 0;
  background:#5a5a5a;
  border-radius:0 7px 7px 0;
  box-shadow:0 4px 14px rgba(0,0,0,.24);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
}
.haugen-floating-toolbar button,
.haugen-floating-toolbar a{
  width:48px;height:38px;
  display:grid;place-items:center;
  border:0;background:transparent;color:#fff;
  text-decoration:none;border-radius:5px;
  cursor:pointer;
}
.haugen-floating-toolbar button:hover,
.haugen-floating-toolbar a:hover,
.haugen-floating-toolbar .active{background:#6b6b6b}
.haugen-floating-toolbar svg{
  width:22px;height:22px;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
.haugen-toolbar-divider{width:36px;height:1px;background:rgba(255,255,255,.7);margin:8px 0}

.haugen-find-panel{
  position:absolute;z-index:70;left:70px;top:86px;
  width:310px;max-height:70%;
  background:#303030;color:#fff;border:1px solid #666;border-radius:9px;
  box-shadow:0 14px 32px rgba(0,0,0,.35);overflow:hidden;
}
.haugen-find-panel[hidden]{display:none!important}
.haugen-find-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #555}
.haugen-find-close{border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}
.haugen-find-input{width:calc(100% - 24px);margin:12px;padding:10px 11px;border:1px solid #777;border-radius:5px;background:#fff;color:#222;box-sizing:border-box}
.haugen-find-results{max-height:420px;overflow:auto;padding:0 8px 10px}
.haugen-find-result{width:100%;display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #4e4e4e;background:transparent;color:#fff;text-align:left;padding:8px;cursor:pointer}
.haugen-find-result:hover{background:#3b3b3b}
.haugen-find-thumb{width:38px;height:44px;display:grid;place-items:center;background:#e7e7e7;color:#777;border-radius:3px;overflow:hidden;flex:0 0 38px}
.haugen-find-thumb img{width:100%;height:100%;object-fit:cover}
.haugen-find-result b,.haugen-find-result small{display:block}
.haugen-find-result small{opacity:.7;margin-top:2px}
.haugen-find-empty{padding:15px;color:#ccc}

/* Horizontal tree orientation */
.haugen-tree-canvas.is-horizontal{
  flex-direction:row!important;
  align-items:center!important;
  gap:120px!important;
  padding:60px 90px!important;
}
.haugen-tree-canvas.is-horizontal .haugen-tree-generation{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  margin:0!important;
}
.haugen-tree-canvas.is-horizontal .haugen-tree-row{
  flex-direction:column!important;
  align-items:center!important;
  gap:34px!important;
}
.haugen-tree-canvas.is-horizontal .haugen-tree-row.child-couple{
  flex-direction:column!important;
  gap:20px!important;
}
.haugen-tree-canvas.is-horizontal .haugen-tree-row.children-families{
  flex-direction:column!important;
  gap:42px!important;
}
.haugen-tree-canvas.is-horizontal .haugen-tree-label{
  margin-bottom:20px!important;
}
.haugen-tree-canvas.is-horizontal .haugen-ancestor-toggle{
  left:-38px!important;top:50%!important;transform:translateY(-50%) rotate(-90deg)!important;
}
.haugen-tree-canvas.is-horizontal .haugen-descendant-toggle{
  right:-38px!important;left:auto!important;bottom:auto!important;top:50%!important;transform:translateY(-50%) rotate(-90deg)!important;
}

/* Tree Images page */
.haugen-gallery-page{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  min-height:calc(100vh - 80px);
  background:#292929;color:#fff;
}
.haugen-gallery-header{
  background:#0d4b2b;
  padding:26px 32px 24px;
  border-top:5px solid #0d4b2b;
}
.haugen-gallery-header h1{margin:3px 0 5px;color:#fff;font-family:Georgia,serif;font-size:38px}
.haugen-gallery-header p{margin:0;color:rgba(255,255,255,.8)}
.haugen-gallery-grid{
  padding:30px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
  gap:22px;
}
.haugen-gallery-card{
  display:flex;flex-direction:column;
  background:#fff;color:#222;border-radius:7px;
  padding:8px;text-decoration:none;box-shadow:0 3px 10px rgba(0,0,0,.2)
}
.haugen-gallery-card img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:4px;background:#ddd}
.haugen-gallery-card strong{font-size:16px;margin:10px 4px 2px}
.haugen-gallery-card small{font-size:13px;margin:0 4px 7px;color:#666}
.haugen-gallery-card:hover{outline:2px solid #78a84f}

@media(max-width:700px){
  .haugen-floating-toolbar{width:50px}
  .haugen-floating-toolbar button,.haugen-floating-toolbar a{width:42px;height:36px}
  .haugen-find-panel{left:58px;width:min(300px,calc(100vw - 72px))}
}


/* v0.9.1 — complete recovered Family Media page */
.haugen-media-page{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  min-height:calc(100vh - 70px);
  background:#292929;
  color:#fff;
}
.haugen-media-hero{
  background:#0d4b2b;
  border-top:5px solid #0d4b2b;
  padding:26px 34px 24px;
}
.haugen-media-hero h1{
  margin:3px 0 7px;
  color:#fff;
  font:700 clamp(32px,4vw,48px)/1.05 Georgia,serif;
}
.haugen-media-hero p{margin:0;color:rgba(255,255,255,.82);font-size:15px}
.haugen-media-controls{
  position:sticky;
  top:0;
  z-index:20;
  background:#333;
  border-bottom:1px solid #464646;
  padding:15px 28px 13px;
  box-shadow:0 3px 10px rgba(0,0,0,.18);
}
.haugen-media-search-wrap{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-weight:600}
.haugen-media-search{
  width:min(480px,70vw);
  border:1px solid #777;
  border-radius:6px;
  padding:10px 12px;
  background:#fff;
  color:#222;
  font-size:15px;
}
.haugen-media-filters{display:flex;flex-wrap:wrap;gap:8px}
.haugen-media-filters button{
  border:1px solid #6a6a6a;
  border-radius:18px;
  padding:7px 11px;
  background:#444;
  color:#fff;
  cursor:pointer;
  font-size:13px;
}
.haugen-media-filters button.active,
.haugen-media-filters button:hover{background:#0d4b2b;border-color:#4d986b}
.haugen-media-filters b{font-weight:400;opacity:.7;margin-left:4px}
.haugen-media-grid{
  padding:26px 28px 42px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:18px;
}
.haugen-media-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  border:0;
  border-radius:7px;
  overflow:hidden;
  background:#f7f4ec;
  color:#222;
  padding:0;
  text-align:left;
  cursor:pointer;
  box-shadow:0 3px 11px rgba(0,0,0,.24);
}
.haugen-media-card[hidden]{display:none!important}
.haugen-media-card:hover{outline:2px solid #79a94f;transform:translateY(-1px)}
.haugen-media-thumb{
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:4/3;
  background:#171717;
  overflow:hidden;
}
.haugen-media-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.haugen-media-card-copy{display:block;padding:10px 11px 12px;min-width:0}
.haugen-media-card-copy strong,
.haugen-media-card-copy small,
.haugen-media-card-copy em{display:block;overflow:hidden;text-overflow:ellipsis}
.haugen-media-card-copy strong{font-size:15px;white-space:nowrap}
.haugen-media-card-copy small{font-size:12px;color:#666;margin-top:3px;white-space:nowrap}
.haugen-media-card-copy em{font-size:11px;color:#0d4b2b;margin-top:7px;font-style:normal;font-weight:600}
.haugen-media-empty{padding:60px;text-align:center;color:#bbb;font-size:18px}

.haugen-media-lightbox{
  position:fixed;
  z-index:100000;
  inset:0;
  background:rgba(0,0,0,.88);
  display:grid;
  grid-template-columns:60px minmax(0,1fr) 60px;
  align-items:center;
  gap:8px;
  padding:30px;
}
.haugen-media-lightbox[hidden]{display:none!important}
.haugen-media-lightbox figure{margin:0;display:flex;flex-direction:column;align-items:center;max-height:92vh}
.haugen-media-lightbox img{
  max-width:100%;
  max-height:82vh;
  object-fit:contain;
  border-radius:4px;
  background:#111;
  box-shadow:0 10px 40px rgba(0,0,0,.5)
}
.haugen-media-lightbox figcaption{width:min(100%,1000px);padding:12px 4px 0;color:#fff}
.haugen-media-lightbox figcaption strong,
.haugen-media-lightbox figcaption small{display:block}
.haugen-media-lightbox figcaption small{opacity:.7;margin-top:4px}
.haugen-media-lightbox-close,
.haugen-media-lightbox-prev,
.haugen-media-lightbox-next{
  border:0;
  background:rgba(70,70,70,.75);
  color:#fff;
  border-radius:50%;
  width:46px;height:46px;
  font-size:32px;
  line-height:40px;
  cursor:pointer;
}
.haugen-media-lightbox-close{position:absolute;right:24px;top:20px}
body.haugen-media-open{overflow:hidden}

@media(max-width:700px){
  .haugen-media-controls{padding:12px 14px}
  .haugen-media-search-wrap{display:block}
  .haugen-media-search{width:100%;margin-top:7px}
  .haugen-media-grid{padding:18px 14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .haugen-media-lightbox{grid-template-columns:44px minmax(0,1fr) 44px;padding:16px 8px}
  .haugen-media-lightbox-prev,.haugen-media-lightbox-next{width:38px;height:38px;font-size:27px}
}


/* v0.9.2 — Family Media photographs align to the top of their cards */
.haugen-media-thumb{
  align-items:start !important;
  justify-items:center !important;
}
.haugen-media-thumb img{
  object-fit:contain !important;
  object-position:center top !important;
  align-self:start !important;
}


/* v0.9.3 — John J. Haugen media association */
.haugen-media-card[data-person="John J. Haugen"]{
  box-shadow:0 0 0 1px rgba(13,75,43,.55), 0 3px 11px rgba(0,0,0,.24);
}


/* v0.9.4 — Journey to America long-form family history */
.haugen-journey-story{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#292929;
  color:#eee;
  min-height:100vh;
}
.haugen-journey-hero{
  background:#0d4b2b;
  border-top:5px solid #0d4b2b;
  padding:58px 28px 54px;
}
.haugen-journey-hero-inner{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}
.haugen-journey-hero h1{
  color:#fff;
  font:700 clamp(45px,6vw,82px)/.98 Georgia,serif;
  margin:7px 0 12px;
}
.haugen-journey-deck{
  margin:0;
  color:rgba(255,255,255,.84);
  font:400 clamp(18px,2vw,25px)/1.45 Georgia,serif;
  max-width:820px;
}
.haugen-journey-reading{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:46px 0 80px;
}
.haugen-story-section{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:54px;
  align-items:start;
  padding:58px 0;
  border-bottom:1px solid #444;
}
.haugen-story-section:last-child{border-bottom:0}
.haugen-story-wide{grid-template-columns:minmax(0,850px);justify-content:center}
.haugen-story-copy{max-width:790px}
.haugen-story-copy h2,
.haugen-record-copy h2{
  margin:4px 0 23px;
  color:#f7f2e7;
  font:700 clamp(30px,3.7vw,50px)/1.08 Georgia,serif;
}
.haugen-story-copy p,
.haugen-record-copy p{
  margin:0 0 19px;
  color:#e4e1da;
  font:400 18px/1.78 Georgia,serif;
}
.haugen-story-lead{
  font-size:22px!important;
  line-height:1.65!important;
  color:#fff!important;
}
.haugen-story-eyebrow{
  color:#8bc36b;
  text-transform:uppercase;
  letter-spacing:.16em;
  font:700 12px/1.4 Arial,sans-serif;
  margin-bottom:7px;
}
.haugen-place-card{
  background:#1d1d1d;
  border:1px solid #505050;
  border-radius:9px;
  overflow:hidden;
  box-shadow:0 7px 25px rgba(0,0,0,.24);
}
.haugen-place-card img{
  width:100%;
  height:265px;
  object-fit:contain;
  background:#111;
  display:block;
}
.haugen-place-card div{padding:16px 18px 18px}
.haugen-place-card strong,
.haugen-place-card span{display:block}
.haugen-place-card strong{font:700 22px Georgia,serif;color:#fff;margin-bottom:5px}
.haugen-place-card span{color:#bbb;font-size:14px;line-height:1.5}
.haugen-source-row{
  border-left:3px solid #0d4b2b;
  background:#202020;
  padding:16px 18px;
  margin-top:28px;
}
.haugen-source-link{
  display:inline-block;
  color:#b5df99!important;
  font-weight:700;
  text-decoration:none!important;
  margin-bottom:5px;
}
.haugen-source-link:hover{text-decoration:underline!important}
.haugen-source-note{display:block;color:#aaa;font-size:13px;line-height:1.5}
.haugen-story-person{
  grid-template-columns:310px minmax(0,1fr);
  align-items:center;
}
.haugen-story-portrait{
  margin:0;
  background:#171717;
  border-radius:9px;
  overflow:hidden;
  border:1px solid #4c4c4c;
}
.haugen-story-portrait button{display:block;border:0;padding:0;background:#111;cursor:zoom-in;width:100%}
.haugen-story-portrait img{display:block;width:100%;aspect-ratio:1/1.04;object-fit:cover;object-position:center top}
.haugen-story-portrait figcaption{padding:16px 17px 18px}
.haugen-story-portrait strong,.haugen-story-portrait span{display:block}
.haugen-story-portrait strong{color:#fff;font:700 22px Georgia,serif}
.haugen-story-portrait span{color:#aaa;margin-top:4px}
.haugen-story-quote{
  margin:31px 0;
  padding:20px 26px;
  border-left:4px solid #83b960;
  background:#202020;
  color:#fff;
  font:italic 700 28px/1.35 Georgia,serif;
}
.haugen-story-dark-callout{
  grid-template-columns:minmax(0,1fr);
  background:#0d4b2b;
  width:100vw;
  margin-left:calc(50% - 50vw);
  padding:62px max(24px,calc((100vw - 1180px)/2));
  box-sizing:border-box;
  border:0;
}
.haugen-story-dark-callout .haugen-story-copy{max-width:900px}
.haugen-story-dark-callout p{color:rgba(255,255,255,.86)}
.haugen-big-line{
  color:#fff!important;
  font:700 clamp(34px,5vw,65px)/1.05 Georgia,serif!important;
  margin-top:28px!important;
}
.haugen-reconstruction{
  border:1px solid #5a5a5a;
  border-radius:7px;
  background:#202020;
  padding:16px 18px;
  margin:28px 0;
}
.haugen-reconstruction strong{display:block;color:#9fd27f;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.haugen-reconstruction p{font:400 14px/1.55 Arial,sans-serif;margin:6px 0 0;color:#bbb}
.haugen-story-imagined{
  padding-left:22px;
  border-left:2px solid #666;
  color:#f1ede4!important;
  font-style:italic!important;
}
.haugen-record-feature{
  grid-template-columns:minmax(0,.85fr) minmax(440px,1.15fr);
  align-items:center;
  gap:48px;
}
.haugen-record-feature.reverse .haugen-record-copy{order:2}
.haugen-record-feature.reverse .haugen-record-image{order:1}
.haugen-record-image{
  border:1px solid #555;
  border-radius:8px;
  background:#171717;
  padding:8px;
  overflow:hidden;
  cursor:zoom-in;
  box-shadow:0 7px 25px rgba(0,0,0,.25);
}
.haugen-record-image img{
  display:block;
  width:100%;
  max-height:470px;
  object-fit:contain;
  object-position:center top;
  background:#000;
}
.haugen-record-image span{
  display:block;
  padding:10px 8px 5px;
  color:#bbb;
  text-align:left;
  font-size:12px;
}
.haugen-record-button{
  border:1px solid #85bd66;
  border-radius:5px;
  background:#0d4b2b;
  color:#fff;
  padding:12px 17px;
  font-weight:700;
  cursor:pointer;
  margin-top:7px;
}
.haugen-record-button:hover{background:#155f38}
.haugen-next-records{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:30px 0;
}
.haugen-mini-record{
  border:1px solid #555;
  background:#1d1d1d;
  color:#fff;
  border-radius:7px;
  padding:8px;
  display:flex;
  align-items:center;
  gap:13px;
  text-align:left;
  cursor:pointer;
}
.haugen-mini-record img{width:86px;height:72px;object-fit:cover;object-position:center top;border-radius:4px}
.haugen-mini-record strong,.haugen-mini-record small{display:block}
.haugen-mini-record strong{font-size:14px;margin-bottom:3px}
.haugen-mini-record small{font-size:12px;color:#aaa}
.haugen-continue-note{
  color:#a9d78d!important;
  border-top:1px solid #4a4a4a;
  padding-top:20px;
}
.haugen-journey-lightbox{
  position:fixed;
  z-index:100000;
  inset:0;
  background:rgba(0,0,0,.91);
  padding:50px;
  display:grid;
  place-items:center;
}
.haugen-journey-lightbox[hidden]{display:none!important}
.haugen-journey-lightbox figure{margin:0;max-width:94vw;max-height:92vh;display:flex;flex-direction:column;align-items:center}
.haugen-journey-lightbox img{max-width:94vw;max-height:83vh;object-fit:contain;background:#111;box-shadow:0 12px 45px rgba(0,0,0,.55)}
.haugen-journey-lightbox figcaption{color:#fff;padding-top:12px;font:700 16px Georgia,serif}
.haugen-journey-lightbox-close{
  position:absolute;
  top:20px;right:24px;
  width:46px;height:46px;border-radius:50%;
  border:0;background:#555;color:#fff;font-size:30px;cursor:pointer;
}
body.haugen-journey-open{overflow:hidden}

@media(max-width:850px){
  .haugen-journey-reading{width:min(100% - 28px,720px)}
  .haugen-story-section,
  .haugen-story-person,
  .haugen-record-feature{
    grid-template-columns:1fr;
    gap:30px;
  }
  .haugen-record-feature.reverse .haugen-record-copy,
  .haugen-record-feature.reverse .haugen-record-image{order:initial}
  .haugen-story-portrait{max-width:340px}
  .haugen-story-aside{max-width:420px}
  .haugen-next-records{grid-template-columns:1fr}
  .haugen-story-dark-callout{padding:48px 22px}
}
@media(max-width:520px){
  .haugen-journey-hero{padding:42px 16px 38px}
  .haugen-journey-hero-inner{width:100%}
  .haugen-story-section{padding:42px 0}
  .haugen-story-copy p,.haugen-record-copy p{font-size:17px}
  .haugen-journey-lightbox{padding:20px 8px}
}


/* v0.9.6 — Journey page dynamically owns the available browser canvas */
body.haugen-journey-page{
  background:#292929 !important;
}
body.haugen-journey-page main,
body.haugen-journey-page .wp-site-blocks main,
body.haugen-journey-page .wp-block-post-content{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
}
body.haugen-journey-page .wp-block-post-title,
body.haugen-journey-page main > .wp-block-group > .wp-block-post-title{
  display:none !important;
}
body.haugen-journey-page footer.wp-block-template-part{
  display:none !important;
}

.haugen-journey-story{
  min-height:calc(100dvh - 58px) !important;
  overflow-x:hidden;
}
.haugen-journey-hero{
  min-height:clamp(430px,56dvh,720px);
  box-sizing:border-box;
  display:flex;
  align-items:center;
}
.haugen-journey-hero-inner{
  width:min(92vw,1500px) !important;
}
.haugen-journey-reading{
  width:min(92vw,1500px) !important;
}
.haugen-journey-scrollcue{
  margin-top:34px;
  color:rgba(255,255,255,.65);
  font:600 12px Arial,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.haugen-journey-scrollcue span{font-size:18px;margin-left:8px}
.haugen-journey-jump{
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  justify-content:center;
  gap:clamp(12px,2.5vw,34px);
  padding:12px 18px;
  overflow-x:auto;
  background:rgba(35,35,35,.96);
  border-bottom:1px solid #454545;
  backdrop-filter:blur(7px);
}
.haugen-journey-jump a{
  color:#ddd !important;
  text-decoration:none !important;
  white-space:nowrap;
  font:600 13px Arial,sans-serif;
}
.haugen-journey-jump a:hover{color:#9bd675 !important}
.haugen-story-section{
  grid-template-columns:minmax(0,1fr) minmax(240px,28vw) !important;
  gap:clamp(28px,5vw,76px) !important;
  padding:clamp(44px,6vw,86px) 0 !important;
}
.haugen-story-copy{
  max-width:min(850px,100%) !important;
}
.haugen-story-copy p,
.haugen-record-copy p{
  font-size:clamp(16px,1.25vw,20px) !important;
  line-height:1.78 !important;
}
.haugen-story-lead{
  font-size:clamp(19px,1.7vw,25px)!important;
}
.haugen-story-wide{
  grid-template-columns:minmax(0,980px)!important;
}
.haugen-story-person{
  grid-template-columns:minmax(220px,29vw) minmax(0,1fr)!important;
}
.haugen-story-portrait{
  width:min(100%,410px);
  justify-self:end;
}
.haugen-record-feature{
  grid-template-columns:minmax(300px,.82fr) minmax(440px,1.18fr)!important;
}
.haugen-record-image img{
  max-height:min(64dvh,620px)!important;
}
.haugen-norway-record-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:28px;
}
.haugen-norway-record-grid.two{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.haugen-norway-record-card{
  min-height:150px;
  display:flex;
  flex-direction:column;
  padding:17px;
  border:1px solid #525252;
  border-radius:8px;
  background:#1e1e1e;
  color:#fff !important;
  text-decoration:none !important;
  box-sizing:border-box;
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.haugen-norway-record-card:hover{
  transform:translateY(-2px);
  border-color:#75aa58;
  background:#222;
}
.haugen-record-tag{
  align-self:flex-start;
  padding:4px 7px;
  border-radius:3px;
  background:#0d4b2b;
  color:#bfe9a7;
  text-transform:uppercase;
  letter-spacing:.09em;
  font:700 10px Arial,sans-serif;
  margin-bottom:10px;
}
.haugen-norway-record-card strong{
  font:700 16px/1.35 Georgia,serif;
  color:#fff;
}
.haugen-norway-record-card small{
  display:block;
  color:#aaa;
  line-height:1.45;
  margin-top:6px;
}
.haugen-norway-record-card em{
  margin-top:auto;
  padding-top:14px;
  color:#9bd675;
  font:600 11px Arial,sans-serif;
  font-style:normal;
}

@media(min-width:1600px){
  .haugen-story-copy p,.haugen-record-copy p{font-size:20px!important}
  .haugen-journey-reading{width:min(88vw,1650px)!important}
}
@media(max-width:1000px){
  .haugen-story-section,
  .haugen-story-person,
  .haugen-record-feature{
    grid-template-columns:1fr!important;
  }
  .haugen-story-portrait{
    justify-self:start;
    width:min(360px,70vw);
  }
  .haugen-record-feature.reverse .haugen-record-copy,
  .haugen-record-feature.reverse .haugen-record-image{
    order:initial!important;
  }
  .haugen-norway-record-grid,
  .haugen-norway-record-grid.two{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .haugen-place-card{max-width:450px}
}
@media(max-width:620px){
  .haugen-journey-hero{
    min-height:420px;
    padding:42px 18px!important;
  }
  .haugen-journey-hero-inner,
  .haugen-journey-reading{
    width:calc(100vw - 28px)!important;
  }
  .haugen-journey-jump{
    justify-content:flex-start;
  }
  .haugen-norway-record-grid,
  .haugen-norway-record-grid.two{
    grid-template-columns:1fr;
  }
  .haugen-story-section{
    padding:40px 0!important;
  }
  .haugen-record-image img{max-height:52dvh!important}
}


/* v0.9.7 — fix Journey content clipping and make every chapter fit the viewport */
body.haugen-journey-page,
body.haugen-journey-page .wp-site-blocks,
body.haugen-journey-page main,
body.haugen-journey-page .wp-block-post-content,
body.haugen-journey-page .entry-content,
body.haugen-journey-page .wp-block-group,
body.haugen-journey-page .is-layout-constrained{
  max-width:none !important;
}

body.haugen-journey-page .wp-block-post-content,
body.haugen-journey-page .entry-content{
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  overflow:visible !important;
}

/* Break the Journey page cleanly out of any theme content constraint. */
.haugen-journey-story{
  position:relative !important;
  width:100vw !important;
  max-width:100vw !important;
  left:50% !important;
  margin-left:-50vw !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
  overflow-x:hidden !important;
}

/* Main story canvas always stays inside the visible browser width. */
.haugen-journey-hero-inner,
.haugen-journey-reading{
  width:auto !important;
  max-width:1500px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:clamp(22px,4vw,64px) !important;
  padding-right:clamp(22px,4vw,64px) !important;
  box-sizing:border-box !important;
}

/* Prevent grid children from forcing the page wider than the viewport. */
.haugen-story-section,
.haugen-story-section > *,
.haugen-story-copy,
.haugen-record-copy,
.haugen-story-aside,
.haugen-record-image{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

.haugen-story-section{
  width:100% !important;
  grid-template-columns:minmax(0,1fr) minmax(220px,320px) !important;
  gap:clamp(28px,4vw,64px) !important;
}

.haugen-story-copy{
  width:100% !important;
  max-width:850px !important;
}

.haugen-story-copy p,
.haugen-record-copy p,
.haugen-story-copy h2,
.haugen-record-copy h2{
  overflow-wrap:anywhere;
}

.haugen-norway-record-grid,
.haugen-norway-record-grid.two{
  width:100% !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

.haugen-norway-record-card{
  min-width:0 !important;
  overflow:hidden !important;
}

.haugen-norway-record-card strong,
.haugen-norway-record-card small,
.haugen-norway-record-card em{
  overflow-wrap:anywhere;
}

/* Move to a single column sooner rather than allowing any clipping. */
@media(max-width:1180px){
  .haugen-story-section,
  .haugen-story-person,
  .haugen-record-feature{
    grid-template-columns:1fr !important;
  }

  .haugen-story-copy,
  .haugen-record-copy{
    max-width:850px !important;
  }

  .haugen-story-aside,
  .haugen-story-portrait{
    justify-self:start !important;
    width:min(420px,100%) !important;
  }

  .haugen-record-feature.reverse .haugen-record-copy,
  .haugen-record-feature.reverse .haugen-record-image{
    order:initial !important;
  }
}

@media(max-width:900px){
  .haugen-norway-record-grid,
  .haugen-norway-record-grid.two{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:620px){
  .haugen-journey-hero-inner,
  .haugen-journey-reading{
    padding-left:14px !important;
    padding-right:14px !important;
  }

  .haugen-norway-record-grid,
  .haugen-norway-record-grid.two{
    grid-template-columns:1fr !important;
  }
}


/* v0.9.8 — section-aware Journey layout.
   v0.9.7 correctly fixed the overall viewport, but its generic
   two-column rule reversed the proportions on sections where the
   portrait/document appears first.  Keep the first section exactly
   as-is and give each later chapter the proper grid. */

/* Opening: narrative left, compact Lom card right. */
.haugen-story-opening{
  grid-template-columns:minmax(0,1fr) minmax(240px,320px) !important;
}

/* John section: compact portrait left, full readable narrative right. */
.haugen-story-person{
  grid-template-columns:minmax(250px,360px) minmax(0,1fr) !important;
  align-items:center !important;
}
.haugen-story-person .haugen-story-portrait{
  width:100% !important;
  max-width:360px !important;
  justify-self:start !important;
}
.haugen-story-person .haugen-story-copy{
  width:100% !important;
  max-width:850px !important;
  justify-self:start !important;
}

/* Narrative-only chapters should use a single readable column. */
.haugen-story-wide,
.haugen-story-dark-callout,
.haugen-story-section:not(.haugen-story-opening):not(.haugen-story-person):not(.haugen-record-feature):not(.haugen-story-closing){
  grid-template-columns:minmax(0,1fr) !important;
}

/* Record chapters: text and document share the available width naturally. */
.haugen-record-feature{
  grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr) !important;
  align-items:center !important;
}
.haugen-record-feature .haugen-record-copy{
  min-width:0 !important;
  max-width:720px !important;
}
.haugen-record-feature .haugen-record-image{
  min-width:0 !important;
  width:100% !important;
}
.haugen-record-feature.reverse{
  grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr) !important;
}
.haugen-record-feature.reverse .haugen-record-image{
  order:1 !important;
}
.haugen-record-feature.reverse .haugen-record-copy{
  order:2 !important;
}

/* Closing chapter is a single readable column. */
.haugen-story-closing{
  grid-template-columns:minmax(0,900px) !important;
  justify-content:center !important;
}

/* Never let a section's second column force the page wider. */
.haugen-story-section > *{
  min-width:0 !important;
}

/* At laptop/tablet widths, stack all mixed-media chapters cleanly. */
@media(max-width:1180px){
  .haugen-story-opening,
  .haugen-story-person,
  .haugen-record-feature,
  .haugen-record-feature.reverse,
  .haugen-story-closing{
    grid-template-columns:1fr !important;
  }

  .haugen-story-person .haugen-story-portrait{
    width:min(360px,72vw) !important;
  }

  .haugen-record-feature.reverse .haugen-record-image,
  .haugen-record-feature.reverse .haugen-record-copy{
    order:initial !important;
  }

  .haugen-story-opening .haugen-story-aside{
    width:min(420px,100%) !important;
  }
}


/* v0.9.9 — remove the second/full-width breakout inside the Journey canvas.
   The page itself already owns 100vw. The green callout was breaking out
   again, which pushed its left edge off-screen and clipped the heading/text. */
.haugen-story-dark-callout{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding:clamp(48px,5vw,72px) clamp(22px,4vw,64px) !important;
  box-sizing:border-box !important;
  justify-self:stretch !important;
  overflow:hidden !important;
}

/* Give the green chapter the same centered readable inner width
   as the rest of the Journey page. */
.haugen-story-dark-callout .haugen-story-copy{
  width:100% !important;
  max-width:980px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Ensure no later chapter can create a hidden horizontal offset. */
.haugen-journey-reading > .haugen-story-section{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* The opening and all standard chapters align to the same content rails. */
.haugen-story-section:not(.haugen-story-dark-callout){
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Headings should never be clipped by grid or overflow rules. */
.haugen-story-copy h2,
.haugen-record-copy h2,
.haugen-big-line{
  max-width:100% !important;
  overflow:visible !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

/* Keep the green band visually full and balanced on wide screens. */
@media(min-width:1181px){
  .haugen-story-dark-callout{
    border-radius:0 !important;
  }
}

@media(max-width:620px){
  .haugen-story-dark-callout{
    padding:42px 18px !important;
  }
}


/* v1.0.0 — Chapter Two: A Family Takes Root */
.haugen-chapter-divider{
  width:100%;
  min-height:clamp(380px,48dvh,620px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-sizing:border-box;
  padding:clamp(60px,8vw,120px) clamp(24px,6vw,90px);
  margin:30px 0 0;
  background:#0d4b2b;
  color:#f7f1e7;
}
.haugen-chapter-divider > *{max-width:980px;margin-left:auto;margin-right:auto;width:100%}
.haugen-chapter-number{
  color:#9bd675;
  font:700 12px Arial,sans-serif;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.haugen-chapter-divider h2{
  font:700 clamp(46px,6vw,88px)/.98 Georgia,serif;
  margin:0 0 24px;
  color:#f7f1e7;
}
.haugen-chapter-divider p{
  font:400 clamp(19px,1.6vw,25px)/1.65 Georgia,serif;
  max-width:780px;
  margin:0;
  color:#e9e2d6;
}
.haugen-family-legacy{
  grid-template-columns:minmax(0,900px)!important;
}
.haugen-tree-link{
  display:inline-block;
  margin-top:20px;
  padding:13px 18px;
  background:#0d4b2b;
  border:1px solid #6ca950;
  border-radius:5px;
  color:#fff!important;
  text-decoration:none!important;
  font:700 13px Arial,sans-serif;
}
.haugen-death-section{
  grid-template-columns:minmax(0,1fr) minmax(260px,380px)!important;
  align-items:center!important;
}
.haugen-headstone-feature{
  display:block;
  width:100%;
  padding:0;
  border:1px solid #505050;
  border-radius:8px;
  overflow:hidden;
  background:#181818;
  cursor:pointer;
  color:#fff;
}
.haugen-headstone-feature img{
  display:block;
  width:100%;
  max-height:500px;
  object-fit:contain;
  background:#111;
}
.haugen-headstone-feature span{
  display:block;
  padding:14px 16px;
  text-align:left;
}
.haugen-headstone-feature strong,
.haugen-headstone-feature small{display:block}
.haugen-headstone-feature small{color:#aaa;margin-top:4px}
.haugen-chapter-outro{
  box-sizing:border-box;
  width:100%;
  padding:clamp(70px,8vw,120px) clamp(24px,6vw,90px);
  border-top:1px solid #444;
}
.haugen-chapter-outro>div{max-width:900px;margin:auto}
.haugen-chapter-outro h2{
  color:#f7f1e7;
  font:700 clamp(38px,5vw,68px)/1.05 Georgia,serif;
  margin:8px 0 20px;
}
.haugen-chapter-outro p{
  color:#ddd;
  font:400 clamp(17px,1.35vw,21px)/1.75 Georgia,serif;
}
@media(max-width:1180px){
  .haugen-death-section{grid-template-columns:1fr!important}
  .haugen-headstone-feature{max-width:420px}
}


/* v1.0.1 — Lom / Andvord / Haugen location illustration */
.haugen-location-map{
  width:100%;
  margin:28px 0 34px;
}
.haugen-location-map-button{
  display:block;
  width:100%;
  padding:0;
  margin:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:8px;
  overflow:hidden;
  background:#171717;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.haugen-location-map-button img{
  display:block;
  width:100%;
  height:auto;
  max-height:min(62dvh,680px);
  object-fit:contain;
  object-position:center;
}
.haugen-location-map figcaption{
  margin-top:12px;
  color:#cfcfcf;
  font:400 14px/1.55 Arial,sans-serif;
}
.haugen-location-map figcaption strong{
  color:#9bd675;
}
@media(max-width:760px){
  .haugen-location-map{margin:20px 0 28px}
  .haugen-location-map-button img{max-height:none}
}


/* v1.0.3 — tighten the Journey hero vertically */
.haugen-journey-hero{
  min-height:0 !important;
  height:auto !important;
}

.haugen-journey-hero-inner{
  min-height:0 !important;
  height:auto !important;
  padding-top:clamp(58px,6vh,82px) !important;
  padding-bottom:clamp(58px,6vh,82px) !important;
}

/* Keep the title group compact instead of vertically centering it
   inside a tall viewport-height hero. */
.haugen-journey-hero-inner{
  display:block !important;
}

@media(max-width:760px){
  .haugen-journey-hero-inner{
    padding-top:44px !important;
    padding-bottom:44px !important;
  }
}


/* v1.0.4 — compact all large chapter/feature bands consistently */

/* Opening Journey hero: tighter than v1.0.3 */
.haugen-journey-hero-inner{
  padding-top:clamp(38px,4.2vh,58px) !important;
  padding-bottom:clamp(38px,4.2vh,58px) !important;
}

/* Green feature/callout bands such as:
   "Where Could John Build a Farm of His Own?" */
.haugen-story-dark-callout{
  min-height:0 !important;
  height:auto !important;
  padding-top:clamp(38px,4vw,56px) !important;
  padding-bottom:clamp(38px,4vw,56px) !important;
}

/* Major green chapter transition panels, including Chapter Two */
.haugen-chapter-divider{
  min-height:0 !important;
  height:auto !important;
  padding-top:clamp(48px,5vw,72px) !important;
  padding-bottom:clamp(48px,5vw,72px) !important;
}

/* Closing/transition bands should also avoid unnecessary vertical acreage. */
.haugen-chapter-outro{
  padding-top:clamp(46px,5vw,70px) !important;
  padding-bottom:clamp(46px,5vw,70px) !important;
}

/* Standard narrative sections: preserve breathing room, but keep the
   overall Journey moving without oversized blank vertical gaps. */
.haugen-journey-reading > .haugen-story-section{
  padding-top:clamp(44px,5vw,72px) !important;
  padding-bottom:clamp(44px,5vw,72px) !important;
}

/* Feature bands control their own tighter spacing. */
.haugen-journey-reading > .haugen-story-dark-callout{
  padding-top:clamp(38px,4vw,56px) !important;
  padding-bottom:clamp(38px,4vw,56px) !important;
}

@media(max-width:760px){
  .haugen-journey-hero-inner{
    padding-top:32px !important;
    padding-bottom:32px !important;
  }
  .haugen-story-dark-callout{
    padding-top:34px !important;
    padding-bottom:34px !important;
  }
  .haugen-chapter-divider,
  .haugen-chapter-outro{
    padding-top:40px !important;
    padding-bottom:40px !important;
  }
  .haugen-journey-reading > .haugen-story-section{
    padding-top:38px !important;
    padding-bottom:38px !important;
  }
}

/* v1.0.6 — green banners only slightly larger than their text */
.haugen-journey-hero-inner{
  min-height:0!important;height:auto!important;
  padding-top:24px!important;padding-bottom:24px!important;
}
.haugen-story-dark-callout{
  min-height:0!important;height:auto!important;
  padding-top:28px!important;padding-bottom:28px!important;
}
.haugen-chapter-divider{
  min-height:0!important;height:auto!important;
  padding-top:32px!important;padding-bottom:32px!important;
}
@media(max-width:760px){
  .haugen-journey-hero-inner{padding-top:20px!important;padding-bottom:20px!important}
  .haugen-story-dark-callout{padding-top:22px!important;padding-bottom:22px!important}
  .haugen-chapter-divider{padding-top:26px!important;padding-bottom:26px!important}
}


/* v1.0.7 — final compact green-banner geometry */
.haugen-journey-hero{
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
  display:block !important;
}
.haugen-journey-hero-inner{
  min-height:0 !important;
  height:auto !important;
  padding-top:26px !important;
  padding-bottom:26px !important;
}
.haugen-story-dark-callout{
  min-height:0 !important;
  height:auto !important;
  padding-top:28px !important;
  padding-bottom:28px !important;
}
.haugen-chapter-divider{
  min-height:0 !important;
  height:auto !important;
  padding-top:30px !important;
  padding-bottom:30px !important;
}
.haugen-chapter-outro{
  padding-top:30px !important;
  padding-bottom:30px !important;
}

@media(max-width:760px){
  .haugen-journey-hero-inner{
    padding-top:20px !important;
    padding-bottom:20px !important;
  }
  .haugen-story-dark-callout,
  .haugen-chapter-divider,
  .haugen-chapter-outro{
    padding-top:22px !important;
    padding-bottom:22px !important;
  }
}


/* v1.0.8 — The Landscape John Knew */
.haugen-landscape-section{
  width:100%;
  padding:clamp(48px,5vw,74px) 0;
  border-bottom:1px solid #444;
}
.haugen-landscape-heading{
  max-width:900px;
  margin:0 0 30px;
}
.haugen-landscape-heading h2{
  margin:6px 0 18px;
  color:#f7f2e7;
  font:700 clamp(34px,4vw,56px)/1.05 Georgia,serif;
}
.haugen-landscape-heading p{
  margin:0;
  color:#ddd;
  font:400 clamp(17px,1.3vw,20px)/1.75 Georgia,serif;
}
.haugen-landscape-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.haugen-landscape-card{
  margin:0;
  background:#1a1a1a;
  border:1px solid #4e4e4e;
  border-radius:8px;
  overflow:hidden;
  min-width:0;
}
.haugen-landscape-image{
  width:100%;
  display:block;
  border:0;
  padding:0;
  background:#111;
  cursor:zoom-in;
}
.haugen-landscape-image img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  filter:grayscale(8%);
}
.haugen-landscape-card figcaption{
  padding:14px 15px 16px;
}
.haugen-landscape-card strong,
.haugen-landscape-card span,
.haugen-landscape-card small{
  display:block;
}
.haugen-landscape-card strong{
  color:#fff;
  font:700 18px/1.25 Georgia,serif;
}
.haugen-landscape-card span{
  color:#9bd675;
  margin-top:4px;
  font-size:13px;
}
.haugen-landscape-card small{
  color:#aaa;
  margin-top:7px;
  line-height:1.45;
}
.haugen-landscape-card a{
  display:inline-block;
  margin-top:10px;
  color:#b8dda3!important;
  font-size:12px;
  text-decoration:none!important;
}
.haugen-landscape-card a:hover{text-decoration:underline!important}
.haugen-landscape-note{
  max-width:980px;
  margin-top:28px;
  padding:18px 20px;
  background:#202020;
  border-left:4px solid #0d4b2b;
}
.haugen-landscape-note strong{
  display:block;
  color:#9bd675;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  margin-bottom:6px;
}
.haugen-landscape-note p{
  margin:0;
  color:#ccc;
  font:400 15px/1.65 Arial,sans-serif;
}
@media(max-width:1000px){
  .haugen-landscape-grid{grid-template-columns:1fr}
  .haugen-landscape-image img{aspect-ratio:16/9}
}

/* v1.0.9 — Chapter Two: Across England and the Atlantic */
.haugen-crossing-divider{
  background:#0d4b2b!important;
}
.haugen-crossing-route .haugen-route-strip{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:28px;
  padding:17px 20px;
  border:1px solid #505050;
  border-radius:7px;
  background:#1d1d1d;
  color:#eee;
  font:700 14px/1.4 Arial,sans-serif;
}
.haugen-crossing-route .haugen-route-strip b{
  color:#8fcd69;
  font-size:18px;
}
.haugen-historical-note{
  margin-top:26px;
  max-width:900px;
  padding:17px 20px;
  background:#202020;
  border-left:4px solid #0d4b2b;
}
.haugen-historical-note strong{
  display:block;
  color:#94d06d;
  text-transform:uppercase;
  letter-spacing:.09em;
  font:700 12px/1.3 Arial,sans-serif;
  margin-bottom:7px;
}
.haugen-historical-note p{margin:0!important;color:#ccc!important}
.haugen-atlantic-callout{
  background:#0d4b2b!important;
}
@media(max-width:760px){
  .haugen-crossing-route .haugen-route-strip{gap:7px;padding:14px}
}


/* v1.1.0 — illustrated map in The First Crossing */
.haugen-first-crossing-map{
  width:100%;
  max-width:1180px;
  margin:28px auto 30px;
}
.haugen-first-crossing-map-button{
  display:block;
  width:100%;
  padding:0;
  border:1px solid #4f4f4f;
  border-radius:8px;
  overflow:hidden;
  background:#151515;
  cursor:zoom-in;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.haugen-first-crossing-map-button img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.haugen-first-crossing-map figcaption{
  margin-top:11px;
  color:#c9c9c9;
  font:400 14px/1.55 Arial,sans-serif;
}
.haugen-first-crossing-map figcaption strong{
  color:#9bd675;
}


/* v1.1.1 — Six-stage illustrated migration sequence */
.haugen-journey-stage-sequence{
  width:100%;
  max-width:1220px;
  margin:30px auto 34px;
}
.haugen-journey-stage-intro{
  max-width:820px;
  margin-bottom:18px;
}
.haugen-journey-stage-intro h3{
  margin:4px 0 8px;
  color:#f7f2e7;
  font:700 clamp(25px,3vw,38px)/1.1 Georgia,serif;
}
.haugen-journey-stage-intro p{
  margin:0!important;
  color:#cfcfcf!important;
  font:400 15px/1.6 Arial,sans-serif!important;
}
.haugen-journey-stage-card{
  margin:0 0 22px;
}
.haugen-journey-stage-button{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:1px solid #505050;
  border-radius:8px;
  overflow:hidden;
  background:#151515;
  cursor:zoom-in;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.haugen-journey-stage-button img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.haugen-journey-stage-card figcaption{
  margin-top:8px;
  color:#9bd675;
  font:700 14px/1.4 Arial,sans-serif;
}
@media(min-width:1100px){
  .haugen-journey-stage-sequence{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
  }
  .haugen-journey-stage-intro{
    grid-column:1/-1;
  }
  .haugen-journey-stage-card{
    margin:0;
  }
}
@media(max-width:760px){
  .haugen-journey-stage-sequence{
    margin-top:22px;
  }
}


/* v1.1.2 — approved master journey artwork */
.haugen-journey-master-map{width:100%;max-width:1400px;margin:28px auto 30px;}
.haugen-journey-master-button{display:block;width:100%;padding:0;border:1px solid #565656;border-radius:8px;overflow:hidden;background:#151515;cursor:zoom-in;box-shadow:0 12px 32px rgba(0,0,0,.24);}
.haugen-journey-master-button img{display:block;width:100%;height:auto;object-fit:contain;}
.haugen-journey-master-map figcaption{margin-top:9px;color:#9bd675;font:700 14px/1.45 Arial,sans-serif;}




/* v1.1.4 — six supplied final panels, compact two-column layout */
.haugen-journey-stage-sequence{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:22px !important;
  width:100% !important;
  max-width:1220px !important;
  margin:30px auto 34px !important;
}
.haugen-journey-stage-intro{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:820px !important;
  margin:0 0 2px !important;
}
.haugen-journey-stage-card{
  width:100% !important;
  margin:0 !important;
}
.haugen-journey-stage-button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  aspect-ratio:3 / 2 !important;
  padding:0 !important;
  border:1px solid #505050 !important;
  border-radius:8px !important;
  overflow:hidden !important;
  background:#151515 !important;
  cursor:zoom-in !important;
}
.haugen-journey-stage-button img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
.haugen-journey-stage-card figcaption{
  margin-top:8px !important;
}
@media(min-width:900px){
  .haugen-journey-stage-sequence{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:899px){
  .haugen-journey-stage-sequence{
    grid-template-columns:1fr !important;
  }
}


/* v1.1.7 — uniform six-stage display sizing only */
.haugen-journey-stage-button{
  aspect-ratio:3 / 2 !important;
  overflow:hidden !important;
}
.haugen-journey-stage-button img{
  width:100% !important;
  height:100% !important;
  object-fit:fill !important;
  display:block !important;
}
/* end v1.1.7 */


/* v1.1.16 — restore approved one-row site header and remove Home footer artifact */
.haugen-original-header-hidden,
.haugen-original-nav-hidden{
  display:none !important;
}

.haugen-global-header{
  background:#181d1a !important;
  color:#fff !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border-bottom:2px solid #315c2f !important;
}

.haugen-global-header > .haugen-header-row.haugen-owned-header-row{
  width:100% !important;
  max-width:none !important;
  min-height:78px !important;
  margin:0 !important;
  padding:0 30px !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:32px !important;
}

.haugen-owned-site-title{
  flex:0 0 auto !important;
  margin:0 auto 0 0 !important;
  color:#fff !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  font:500 29px/1.1 Georgia,"Times New Roman",serif !important;
  letter-spacing:-.01em !important;
}

.haugen-site-menu{
  flex:0 0 auto !important;
  margin:0 0 0 auto !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:0 !important;
  white-space:nowrap !important;
  height:78px !important;
}

.haugen-site-menu a{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  height:100% !important;
  box-sizing:border-box !important;
  color:#fff !important;
  text-decoration:none !important;
  font:500 18px/1.2 Georgia,"Times New Roman",serif !important;
  padding:0 23px !important;
  border-bottom:4px solid transparent !important;
}

.haugen-site-menu a:first-child{
  padding-left:0 !important;
}

.haugen-site-menu a:last-child{
  padding-right:0 !important;
}

.haugen-site-menu a + a::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  width:1px !important;
  height:23px !important;
  transform:translateY(-50%) !important;
  background:#577343 !important;
  opacity:.9 !important;
}

.haugen-site-menu a.current{
  color:#8fc34a !important;
  border-bottom-color:#8fc34a !important;
}

body.haugen-home-page footer.wp-block-template-part,
body.haugen-home-page .wp-site-blocks > footer,
body.haugen-home-page footer.site-footer,
body.haugen-home-page #colophon,
body:has(.haugen-home) footer.wp-block-template-part,
body:has(.haugen-home) .wp-site-blocks > footer,
body:has(.haugen-home) footer.site-footer,
body:has(.haugen-home) #colophon,
.haugen-home-theme-artifact{
  display:none !important;
}

@media(max-width:760px){
  .haugen-global-header > .haugen-header-row.haugen-owned-header-row{
    min-height:64px !important;
    padding:0 16px !important;
    gap:16px !important;
  }
  .haugen-owned-site-title{
    font-size:20px !important;
  }
  .haugen-site-menu{
    height:64px !important;
  }
  .haugen-site-menu a{
    font-size:13px !important;
    padding:0 10px !important;
  }
  .haugen-site-menu a + a::before{
    height:18px !important;
  }
}


/* v1.1.18 — suppress legacy/theme duplicate site header/navigation row */
.haugen-duplicate-site-header{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}
