
/* OAT Encyclopedia v4 */
.oat-single-template,.oat-archive-template{width:100%;max-width:none;margin:0;padding:0;background:transparent}
.oat-template-container{max-width:1220px;margin:0 auto;padding:34px 18px}
.oat-template-entry{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.oat-entry-header{text-align:center;margin:0 0 26px;padding:0;border:0}
.oat-entry-title{font-size:42px;line-height:1.15;margin:0;color:#111}

.oat-entry-wrap{max-width:1200px;margin:0 auto;color:#111;background:transparent}
.oat-entry-main{background:transparent;border:0;padding:0;min-height:400px}
.oat-infobox{float:right;width:315px;margin:0 0 20px 24px;background:#f7f7f7;border:1px solid #111;padding:12px;font-size:15px}
.oat-infobox h3{text-align:center;margin:0 0 10px;font:700 22px/1.2 Arial,Helvetica,sans-serif!important}
.oat-profile-img,.oat-signature-img{max-width:100%;height:auto;display:block;margin:0 auto 6px;background:#fff}
.oat-signature-img{max-height:110px;object-fit:contain}
.oat-caption{text-align:center;font-size:13px;color:#555;margin-bottom:8px}
.oat-no-image{height:210px;border:1px dashed #aaa;background:#eee;display:flex;align-items:center;justify-content:center;color:#777;margin-bottom:10px}
.oat-infobox table,.oat-dna table{width:100%;border-collapse:collapse}
.oat-infobox th,.oat-infobox td,.oat-dna th,.oat-dna td{border-top:1px solid #ddd;padding:7px;vertical-align:top}
.oat-infobox th,.oat-dna th{width:38%;text-align:left;background:#eee}
.oat-infobox a,.oat-entry-main a,.oat-directory a{color:#0645ad}
.oat-signature-box{border-top:1px solid #ccc;margin-top:10px;padding-top:10px;text-align:center}
.oat-signature-title{font-weight:bold;margin-bottom:6px}
.oat-subtitle{font-size:20px;color:#444;border-bottom:1px solid #ccc;padding-bottom:8px}
.oat-status{display:inline-block;border:1px solid #111;background:#eee;padding:6px 10px;margin-bottom:12px;font-weight:bold}

.oat-toc{border:1px solid #aaa;background:#f6f6f6;padding:12px;margin:16px 0;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.oat-toc a{border-left:1px solid #ccc;padding-left:10px;text-decoration:none}
.oat-section{clear:both;background:rgba(255,255,255,.75);border:1px solid #d8d8d8;margin:22px 0;padding:18px}
.oat-section h2{margin-top:0;border-bottom:1px solid #ccc;padding-bottom:6px}
.oat-article-block{margin:18px 0}.oat-muted{color:#666;font-size:14px}
.oat-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.oat-gallery img{width:100%;height:140px;object-fit:cover;border:1px solid #ccc;background:#eee}

/* Index */
.oat-directory{max-width:1200px;margin:0 auto;background:transparent;color:#111}
.oat-index-hero{text-align:center;border-bottom:1px solid #ccc;margin-bottom:18px;padding-bottom:14px}
.oat-index-hero h1{font-size:42px;line-height:1.15;margin:0 0 8px}
.oat-index-nav{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:14px 0}
.oat-index-nav a{border:1px solid #111;background:#fff;padding:8px 12px;text-decoration:none;font-weight:bold}
.oat-az{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid #111;background:#f2f2f2;margin:12px 0}
.oat-az a{color:#0645ad;text-decoration:none;font-weight:bold;padding:4px 7px}
.oat-search input{width:100%;padding:12px;border:1px solid #999;margin:12px 0;font-size:17px}
.oat-letter-section{margin:22px 0;scroll-margin-top:30px}
.oat-letter-section h2{border-bottom:2px solid #111;font:700 34px/1.1 Georgia,"Times New Roman",serif!important}
.oat-index-list{display:block}
.oat-index-item{padding:8px 0;border-bottom:1px solid #ddd}
.oat-index-item a{font:700 20px/1.25 Arial,Helvetica,sans-serif!important;color:#111!important;text-decoration:none!important}
.oat-index-item a::before,.oat-index-item a::after{content:none!important;display:none!important}
.oat-index-item span{display:block;color:#666;font-size:14px;margin-top:2px}

/* Family tree */
.oat-family-chart .oat-tree{border:1px solid #111;background:#fafafa;padding:18px;overflow:auto;text-align:center}
.oat-tree-row{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin:10px 0}
.oat-tree-card{width:150px;min-height:190px;border:1px solid #111;background:#fff;padding:8px;text-align:center;text-decoration:none!important;color:#111!important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.oat-tree-card img{width:92px;height:110px;object-fit:cover;border:1px solid #ccc;background:#eee;margin-bottom:7px}
.oat-tree-card strong{font:700 14px/1.2 Arial,Helvetica,sans-serif!important;color:#111!important}
.oat-tree-card small{display:block;color:#555;margin-top:4px}
.oat-tree-label{display:block;font-size:12px;background:#eee;border:1px solid #ccc;padding:2px 5px;margin-bottom:6px}
.oat-tree-placeholder{width:92px;height:110px;border:1px dashed #aaa;background:#eee;color:#666;display:flex;align-items:center;justify-content:center;font-size:12px;margin-bottom:7px}
.oat-tree-text{justify-content:center}
.oat-marriage-line{font-size:24px;margin:0 2px}
.oat-tree-line{height:24px;border-left:2px solid #111;margin:0 auto;width:0}
.oat-chart-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.oat-print-chart{border:1px solid #111;background:#fff;padding:8px 12px;cursor:pointer}

.oat-single-template .post-meta,.oat-single-template .entry-meta,.oat-single-template .post-categories,.oat-single-template .cat-links,.oat-single-template .tags-links,.oat-single-template .author,.oat-single-template .posted-on,.oat-single-template .byline{display:none!important}
html{scroll-behavior:smooth}

@media(max-width:800px){
  .oat-infobox{float:none;width:auto;margin:0 0 18px}
  .oat-entry-title,.oat-index-hero h1{font-size:32px}
  .oat-template-container{padding:24px 12px}
  .oat-toc{display:block}.oat-toc a{display:block;border-left:0;padding:5px 0}
  .oat-tree-card{width:135px}
}
@media print{
  body *{visibility:hidden}
  .oat-family-chart,.oat-family-chart *{visibility:visible}
  .oat-family-chart{position:absolute;left:0;top:0;width:100%;border:none}
  .oat-print-chart{display:none}
}


/* v4.1 layout fix: article starts beside infobox, not underneath it */
.oat-entry-wrap{
  display:block;
  max-width:1280px;
  margin:0 auto;
  background:transparent!important;
}

/* Keep the infobox on the right, but do not force article sections below it */
.oat-infobox{
  float:right;
  margin:0 0 24px 30px;
}

/* Main article body should not look trapped in a frame */
.oat-entry-main{
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}

/* Remove the boxed frame around normal article text */
.oat-article{
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:18px 0 28px!important;
  clear:none!important;
}

/* Individual article blocks should flow naturally beside the infobox */
.oat-article-block{
  clear:none!important;
  margin:0 0 26px!important;
}

.oat-article-block h2{
  border-bottom:1px solid #aaa;
  padding-bottom:6px;
  margin-top:0;
}

/* Only utility sections should become full-width below the article/infobox */
.oat-family-chart,
.oat-dna,
#gallery,
#multimedia,
#sources{
  clear:both!important;
}

/* Contents box should stay compact */
.oat-toc{
  clear:none!important;
  max-width:760px;
  margin:0 0 20px!important;
}

/* Prevent a big empty white rectangle */
.oat-section{
  min-height:0!important;
}

/* Mobile: stack infobox first, then article */
@media(max-width:800px){
  .oat-infobox{
    float:none!important;
    width:auto!important;
    margin:0 0 22px!important;
  }
  .oat-toc{
    max-width:none!important;
  }
}


/* v4.3 FIX: true encyclopedia grid layout. No float gap, no stuck frame. */
.oat-entry-wrap{
  display:grid!important;
  grid-template-columns:minmax(0, 1fr) 330px;
  gap:28px;
  max-width:1320px!important;
  margin:0 auto!important;
  align-items:start;
  background:transparent!important;
}

.oat-entry-main{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}

.oat-infobox{
  grid-column:2!important;
  grid-row:1!important;
  float:none!important;
  width:330px!important;
  margin:0!important;
  position:sticky;
  top:20px;
  align-self:start;
}

.oat-article{
  clear:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0 0 28px!important;
}

.oat-article-block{
  clear:none!important;
  margin:0 0 28px!important;
}

.oat-article-block:first-child h2{
  margin-top:0!important;
}

.oat-dna,
.oat-family-chart,
#gallery,
#multimedia,
#sources{
  clear:none!important;
  grid-column:1!important;
}

.oat-toc{
  clear:none!important;
  margin:0 0 20px!important;
  max-width:none!important;
}

.oat-entry-main p{
  font-size:17px;
  line-height:1.7;
}

.oat-article-block h2{
  font-size:34px;
  line-height:1.2;
  border-bottom:1px solid #aaa;
  padding-bottom:6px;
}

@media(max-width:900px){
  .oat-entry-wrap{
    display:block!important;
  }
  .oat-infobox{
    position:static!important;
    width:auto!important;
    margin:0 0 24px!important;
  }
}

@media print{
  .oat-infobox{position:static!important}
}


/* v4.5 family tree fixes: split children, stronger genealogy lines */
.oat-person-lines div{
  margin:0 0 4px;
}
.oat-tree{
  position:relative;
}
.oat-tree-parents{
  position:relative;
}
.oat-tree-couple{
  position:relative;
}
.oat-tree-children{
  position:relative;
  align-items:flex-start;
}

/* Marriage line between person and spouse */
.oat-marriage-line{
  display:inline-block;
  width:42px;
  height:2px;
  background:#111;
  margin:0 -4px;
  vertical-align:middle;
}
.oat-marriage-line::after{
  content:"💍";
  display:block;
  font-size:18px;
  line-height:18px;
  transform:translateY(-11px);
}

/* Vertical connector blocks */
.oat-tree-connector{
  height:34px;
  position:relative;
  margin:0 auto;
}
.oat-tree-connector span{
  display:block;
  width:2px;
  height:34px;
  background:#111;
  margin:0 auto;
}

/* Horizontal rail above children */
.oat-children-rail{
  height:2px;
  background:#111;
  max-width:70%;
  margin:0 auto 10px;
  position:relative;
}
.oat-tree-children .oat-tree-card{
  position:relative;
}
.oat-tree-children .oat-tree-card::before{
  content:"";
  position:absolute;
  top:-12px;
  left:50%;
  width:2px;
  height:12px;
  background:#111;
}

/* Text-only cards should look like cards, not one big grouped box */
.oat-tree-text strong{
  white-space:normal;
}
.oat-tree-card{
  margin:0 4px;
}

@media(max-width:700px){
  .oat-children-rail{
    display:none;
  }
  .oat-tree-children .oat-tree-card::before{
    display:none;
  }
  .oat-marriage-line{
    width:28px;
  }
}


/* v4.7 Relationship to Anne Sturm */
.oat-anne-relationship table{
  width:100%;
  border-collapse:collapse;
}
.oat-anne-relationship th,
.oat-anne-relationship td{
  border-top:1px solid #ddd;
  padding:8px;
  text-align:left;
  vertical-align:top;
}
.oat-anne-relationship th{
  width:28%;
  background:#eee;
}
.oat-relationship-badge{
  display:inline-block;
  border:1px solid #111;
  background:#f6f6f6;
  padding:6px 10px;
  margin:0 0 10px;
  font-weight:bold;
}


/* v4.8 Encyclopedia navigation bar on every entry */
.oat-entry-nav{
  max-width:1320px;
  margin:0 auto 24px;
  border:1px solid #111;
  background:#f6f6f6;
  padding:10px;
  clear:both;
}
.oat-entry-nav-main{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-bottom:8px;
}
.oat-entry-nav-main a{
  display:inline-block;
  border:1px solid #111;
  background:#fff;
  color:#0645ad!important;
  text-decoration:none!important;
  font-weight:700;
  padding:7px 10px;
  font-family:Arial, Helvetica, sans-serif;
}
.oat-entry-nav-letters{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:4px;
  border-top:1px solid #ccc;
  padding-top:8px;
}
.oat-entry-nav-letters a{
  color:#0645ad!important;
  text-decoration:none!important;
  font-weight:700;
  padding:3px 6px;
  font-family:Arial, Helvetica, sans-serif;
}
.oat-entry-nav-main a:hover,
.oat-entry-nav-letters a:hover{
  text-decoration:underline!important;
  background:#fff;
}

@media(max-width:700px){
  .oat-entry-nav{
    margin:0 0 18px;
  }
  .oat-entry-nav-main a{
    flex:1 1 45%;
    text-align:center;
  }
}


/* v4.10: make birth-death years clearer on family tree cards */
.oat-tree-card small{
  font-size:14px;
  color:#444;
  margin-top:6px;
  font-weight:600;
}


/* v5.0 connected genealogy tree engine */
.oat-tree-connected{
  position:relative;
  border:1px solid #111;
  background:#fafafa;
  padding:26px 18px 34px;
  overflow:auto;
  text-align:center;
}

.oat-tree-connected .oat-tree-generation{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:34px;
  flex-wrap:nowrap;
  margin:0 auto;
}

.oat-tree-connected .oat-tree-card{
  width:150px;
  min-height:190px;
  border:1px solid #111;
  background:#fff;
  padding:8px;
  text-align:center;
  text-decoration:none!important;
  color:#111!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  position:relative;
  margin:0;
}

.oat-tree-connected .oat-tree-card img{
  width:92px;
  height:110px;
  object-fit:cover;
  border:1px solid #ccc;
  background:#eee;
  margin-bottom:7px;
}

.oat-tree-connected .oat-tree-card strong{
  font:700 14px/1.2 Arial,Helvetica,sans-serif!important;
  color:#111!important;
}

.oat-tree-connected .oat-tree-card small{
  display:block;
  color:#444;
  margin-top:6px;
  font-size:14px;
  font-weight:600;
}

.oat-tree-connected .oat-tree-placeholder{
  width:92px;
  height:110px;
  border:1px dashed #aaa;
  background:#eee;
  color:#666;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  margin-bottom:7px;
}

.oat-tree-connected .oat-tree-label{
  display:block;
  font-size:12px;
  background:#eee;
  border:1px solid #ccc;
  padding:2px 5px;
  margin-bottom:6px;
}

/* Parents above current entry */
.oat-tree-connected .oat-tree-parents{
  margin-bottom:0;
}

.oat-parent-drop{
  width:2px;
  height:28px;
  background:#111;
  margin:0 auto;
}

/* Current person + spouse connected by marriage line */
.oat-couple-unit{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:0;
  margin:0 auto;
  position:relative;
}

.oat-couple-person{
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.oat-marriage-bar{
  width:82px;
  height:2px;
  background:#111;
  margin:0 10px;
  position:relative;
  flex:0 0 82px;
}

.oat-marriage-bar::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:4px;
  height:2px;
  background:#111;
}

.oat-ring-symbol{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-54%);
  background:#fafafa;
  color:#a87a00;
  font-size:28px;
  line-height:1;
  padding:0 2px;
  font-weight:bold;
}

/* Drop line from center of marriage to children */
.oat-marriage-drop{
  width:2px;
  height:34px;
  background:#111;
  margin:0 auto;
}

/* Horizontal rail above children */
.oat-children-rail-connected{
  height:2px;
  background:#111;
  width:min(70%, 520px);
  margin:0 auto 12px;
}

.oat-tree-children-connected{
  position:relative;
}

.oat-tree-children-connected .oat-tree-card::before{
  content:"";
  position:absolute;
  left:50%;
  top:-12px;
  width:2px;
  height:12px;
  background:#111;
}

/* Keep multiple spouse cards tidy */
.oat-spouse-person{
  display:flex;
  gap:18px;
}

/* Mobile: keep readable and scrollable instead of breaking lines */
@media(max-width:800px){
  .oat-tree-connected{
    overflow-x:auto;
    padding:22px 12px 30px;
  }
  .oat-couple-unit{
    min-width:420px;
  }
  .oat-tree-connected .oat-tree-generation{
    flex-wrap:nowrap;
  }
  .oat-tree-connected .oat-tree-card{
    width:140px;
  }
  .oat-marriage-bar{
    width:58px;
    flex-basis:58px;
  }
  .oat-children-rail-connected{
    width:360px;
  }
}


/* v5.1 cleaner connected tree matching genealogy mockup */
.oat-tree-v51{
  position:relative;
  border:1px solid #111;
  background:#fafafa;
  padding:30px 20px 38px;
  overflow-x:auto;
  text-align:center;
}

/* reset old connector artifacts inside v5.1 */
.oat-tree-v51 .oat-tree-card::before,
.oat-tree-v51 .oat-tree-card::after{
  content:none!important;
  display:none!important;
}

.oat-v51-parents,
.oat-v51-couple,
.oat-v51-children{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:34px;
  flex-wrap:nowrap;
  margin:0 auto;
}

.oat-v51-parents{
  margin-bottom:0;
}

.oat-v51-parent-line{
  width:2px;
  height:34px;
  background:#111;
  margin:0 auto;
}

.oat-v51-couple{
  gap:0;
  align-items:center;
  display:inline-flex;
  position:relative;
}

.oat-v51-main,
.oat-v51-spouses{
  display:flex;
  align-items:flex-start;
  gap:22px;
}

/* strong marriage line between person and spouse */
.oat-v51-marriage{
  width:96px;
  height:18px;
  position:relative;
  flex:0 0 96px;
  margin:0 10px;
}

.oat-v51-marriage::before,
.oat-v51-marriage::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:#111;
}

.oat-v51-marriage::before{ top:6px; }
.oat-v51-marriage::after{ top:11px; }

.oat-v51-marriage span{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-52%);
  background:#fafafa;
  color:#9a6b00;
  font-size:24px;
  line-height:1;
  font-weight:bold;
  z-index:2;
  padding:0 3px;
}

/* drop from center of marriage/couple to children */
.oat-v51-drop{
  width:2px;
  height:36px;
  background:#111;
  margin:0 auto;
}

/* single child rail under the marriage */
.oat-v51-child-rail{
  height:2px;
  background:#111;
  width:min(620px, 75%);
  margin:0 auto 14px;
}

/* each child gets its own vertical connector */
.oat-v51-children .oat-tree-card{
  position:relative;
}

.oat-v51-children .oat-tree-card::before{
  content:""!important;
  display:block!important;
  position:absolute;
  top:-14px;
  left:50%;
  width:2px;
  height:14px;
  background:#111;
}

/* same size cards */
.oat-tree-v51 .oat-tree-card{
  width:150px;
  min-height:190px;
  border:1px solid #111;
  background:#fff;
  padding:8px;
  text-align:center;
  color:#111!important;
  text-decoration:none!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  margin:0;
  box-sizing:border-box;
}

.oat-tree-v51 .oat-tree-card img{
  width:92px;
  height:110px;
  object-fit:cover;
  border:1px solid #ccc;
  background:#eee;
  margin-bottom:7px;
}

.oat-tree-v51 .oat-tree-placeholder{
  width:92px;
  height:110px;
  border:1px dashed #aaa;
  background:#eee;
  color:#666;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  margin-bottom:7px;
}

.oat-tree-v51 .oat-tree-card strong{
  font:700 14px/1.2 Arial,Helvetica,sans-serif!important;
  color:#111!important;
}

.oat-tree-v51 .oat-tree-card small{
  display:block;
  color:#444;
  margin-top:6px;
  font-size:14px;
  font-weight:600;
}

.oat-tree-v51 .oat-tree-label{
  display:block;
  font-size:12px;
  background:#eee;
  border:1px solid #ccc;
  padding:2px 5px;
  margin-bottom:6px;
}

/* mobile: preserve connected structure with horizontal scroll */
@media(max-width:800px){
  .oat-tree-v51{
    padding:24px 12px 34px;
  }
  .oat-v51-couple{
    min-width:430px;
  }
  .oat-v51-parents,
  .oat-v51-children{
    min-width:430px;
  }
  .oat-v51-marriage{
    width:70px;
    flex-basis:70px;
  }
  .oat-v51-child-rail{
    width:360px;
  }
  .oat-tree-v51 .oat-tree-card{
    width:140px;
  }
}


/* v6.0 rebuilt connected family unit */
.oat-tree-v60{
  border:1px solid #111;
  background:#fafafa;
  padding:34px 18px 40px;
  overflow-x:auto;
  text-align:center;
}

/* Reset old connector artifacts */
.oat-tree-v60 .oat-tree-card::before,
.oat-tree-v60 .oat-tree-card::after,
.oat-tree-v60 .oat-v51-children .oat-tree-card::before,
.oat-tree-v60 .oat-tree-children-connected .oat-tree-card::before{
  content:none!important;
  display:none!important;
}

/* Standard cards */
.oat-tree-v60 .oat-tree-card{
  width:150px;
  min-height:190px;
  border:1px solid #111;
  background:#fff;
  padding:8px;
  text-align:center;
  color:#111!important;
  text-decoration:none!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  margin:0;
  box-sizing:border-box;
  position:relative;
}

.oat-tree-v60 .oat-tree-card img{
  width:92px;
  height:110px;
  object-fit:cover;
  border:1px solid #ccc;
  background:#eee;
  margin-bottom:7px;
}

.oat-tree-v60 .oat-tree-placeholder{
  width:92px;
  height:110px;
  border:1px dashed #aaa;
  background:#eee;
  color:#666;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  margin-bottom:7px;
}

.oat-tree-v60 .oat-tree-card strong{
  font:700 14px/1.2 Arial,Helvetica,sans-serif!important;
  color:#111!important;
}

.oat-tree-v60 .oat-tree-card small{
  display:block;
  color:#444;
  margin-top:6px;
  font-size:14px;
  font-weight:600;
}

.oat-tree-v60 .oat-tree-label{
  display:block;
  font-size:12px;
  background:#eee;
  border:1px solid #ccc;
  padding:2px 5px;
  margin-bottom:6px;
}

/* Parents, if present */
.oat-v60-parent-row{
  display:inline-flex;
  justify-content:center;
  align-items:flex-start;
  gap:34px;
  position:relative;
}

.oat-v60-parent-join{
  width:220px;
  height:2px;
  background:#111;
  margin:14px auto 0;
}

.oat-v60-parent-drop{
  width:2px;
  height:30px;
  background:#111;
  margin:0 auto;
}

/* Main couple/family unit */
.oat-v60-family-unit{
  display:inline-block;
  position:relative;
  text-align:center;
  min-width:520px;
}

.oat-v60-couple-row{
  display:grid;
  grid-template-columns:150px 116px 150px;
  align-items:center;
  justify-content:center;
  column-gap:0;
  margin:0 auto;
}

.oat-v60-current-wrap,
.oat-v60-spouse-wrap{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:18px;
}

.oat-v60-marriage-center{
  width:116px;
  height:24px;
  position:relative;
  align-self:center;
}

.oat-v60-marriage-line{
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:0;
  border-top:2px solid #111;
  border-bottom:2px solid #111;
  transform:translateY(-50%);
}

.oat-v60-marriage-line span{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-53%);
  background:#fafafa;
  color:#9a6b00;
  font-size:24px;
  line-height:1;
  padding:0 4px;
  font-weight:bold;
}

/* This is the connected vertical line from the marriage center */
.oat-v60-descender{
  width:2px;
  height:36px;
  background:#111;
  margin:0 auto;
}

/* One connected children rail */
.oat-v60-children-rail{
  width:72%;
  max-width:560px;
  min-width:260px;
  height:2px;
  background:#111;
  margin:0 auto;
}

/* Children row */
.oat-v60-children-row{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:34px;
  flex-wrap:nowrap;
  margin:14px auto 0;
  position:relative;
}

.oat-v60-children-row .oat-tree-card{
  position:relative;
}

.oat-v60-children-row .oat-tree-card::before{
  content:""!important;
  display:block!important;
  position:absolute;
  left:50%;
  top:-14px;
  width:2px;
  height:14px;
  background:#111;
}

/* multiple spouse row support: keep cards tidy */
.oat-v60-spouse-wrap{
  min-width:150px;
}

/* If no spouse exists, center card still works */
.oat-v60-couple-row:has(.oat-v60-current-wrap:only-child){
  grid-template-columns:150px;
}

/* Mobile: preserve connected chart through horizontal scroll */
@media(max-width:800px){
  .oat-tree-v60{
    padding:28px 12px 38px;
  }
  .oat-v60-family-unit{
    min-width:460px;
  }
  .oat-v60-couple-row{
    grid-template-columns:140px 82px 140px;
  }
  .oat-v60-marriage-center{
    width:82px;
  }
  .oat-tree-v60 .oat-tree-card{
    width:140px;
  }
  .oat-v60-children-row{
    gap:28px;
  }
  .oat-v60-children-rail{
    width:350px;
  }
}

/* Browsers without :has still use the normal 3-column layout; harmless. */


/* v6.1 family tree connector refinements */
.oat-tree-v60{
  --oat-card-w:150px;
  --oat-gap-w:116px;
  --oat-line:#111;
}

/* Make parent connector drop visually continue to the main person */
.oat-v60-parent-unit{
  margin-bottom:0;
}
.oat-v60-parent-join{
  width:260px!important;
}
.oat-v60-parent-drop{
  height:44px!important;
  margin-bottom:0!important;
}

/* Bring couple closer to parent drop */
.oat-v60-family-unit{
  margin-top:0!important;
}

/* Make the marriage line reach the card edges cleanly */
.oat-v60-couple-row{
  grid-template-columns:var(--oat-card-w) var(--oat-gap-w) var(--oat-card-w)!important;
  column-gap:0!important;
}
.oat-v60-marriage-center{
  width:var(--oat-gap-w)!important;
  margin:0!important;
}
.oat-v60-marriage-line{
  left:-1px!important;
  right:-1px!important;
}

/* Replace infinity with a cleaner genealogy marriage mark */
.oat-v60-marriage-line span{
  color:#9a6b00!important;
  font-size:22px!important;
}
.oat-v60-marriage-line span::before{
  content:"⚭";
}
.oat-v60-marriage-line span{
  font-size:0!important;
}
.oat-v60-marriage-line span::before{
  font-size:24px!important;
}

/* Connect marriage line down to child rail with no gap */
.oat-v60-descender{
  height:42px!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
.oat-v60-children-rail{
  margin-top:0!important;
  margin-bottom:0!important;
  width:min(560px, 74%)!important;
}

/* Child connectors should touch the rail */
.oat-v60-children-row{
  margin-top:14px!important;
}
.oat-v60-children-row .oat-tree-card::before{
  top:-14px!important;
  height:14px!important;
  background:var(--oat-line)!important;
}

/* Cards look a bit cleaner and more even */
.oat-tree-v60 .oat-tree-card{
  min-height:198px!important;
}
.oat-tree-v60 .oat-tree-card img,
.oat-tree-v60 .oat-tree-placeholder{
  width:96px!important;
  height:112px!important;
}

/* If a parent row exists, align current card centered under the parent drop */
.oat-v60-parent-unit + .oat-v60-family-unit .oat-v60-couple-row{
  position:relative;
}

/* Mobile refinement */
@media(max-width:800px){
  .oat-tree-v60{
    --oat-card-w:140px;
    --oat-gap-w:86px;
  }
  .oat-v60-parent-join{
    width:220px!important;
  }
  .oat-v60-children-rail{
    width:350px!important;
  }
}


/* v6.2 child rail: shorter and connected to child cards */
.oat-tree-v60{
  --oat-child-card:150px;
  --oat-child-gap:34px;
}

/* Make the children section use its own shrink-wrapped coordinate system */
.oat-v60-children-row{
  display:inline-flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:var(--oat-child-gap)!important;
  flex-wrap:nowrap!important;
  margin:14px auto 0!important;
  position:relative!important;
}

/* Rail should span only the children, not the whole chart */
.oat-v60-children-rail{
  width:calc((var(--oat-child-card) * 2) + var(--oat-child-gap))!important;
  max-width:none!important;
  min-width:0!important;
  height:2px!important;
  background:#111!important;
  margin:0 auto!important;
}

/* Ensure each child connector touches the rail */
.oat-v60-children-row .oat-tree-card::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  top:-14px!important;
  width:2px!important;
  height:14px!important;
  background:#111!important;
  transform:translateX(-50%)!important;
}

/* Keep the center drop touching the rail */
.oat-v60-descender{
  height:42px!important;
  width:2px!important;
  background:#111!important;
  margin:0 auto!important;
}

/* Diana/Charles to child rail should read as one continuous connection */
.oat-v60-descender + .oat-v60-children-rail{
  margin-top:0!important;
}

/* For more than two children, allow the rail to grow by using the row width when supported */
.oat-v60-children-row:has(.oat-tree-card:nth-child(3)) ~ .nothing{
  display:none;
}

/* Mobile sizing */
@media(max-width:800px){
  .oat-tree-v60{
    --oat-child-card:140px;
    --oat-child-gap:28px;
  }
  .oat-v60-children-rail{
    width:calc((var(--oat-child-card) * 2) + var(--oat-child-gap))!important;
  }
}


/* v6.3 profile encyclopedia navigation matched to index page */
.oat-entry-directory-nav{
  max-width:1320px!important;
  margin:0 auto 24px!important;
  padding:0!important;
  background:transparent!important;
}

.oat-entry-index-hero{
  text-align:center;
  border-bottom:1px solid #ccc;
  margin-bottom:14px;
  padding-bottom:12px;
}

.oat-entry-index-hero h2{
  font-size:32px;
  line-height:1.2;
  margin:0 0 6px;
}

.oat-entry-index-hero p{
  margin:0;
  color:#555;
}

.oat-entry-index-nav{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0;
}

.oat-entry-index-nav a{
  border:1px solid #111;
  background:#fff;
  padding:8px 12px;
  text-decoration:none!important;
  font-weight:bold;
  color:#0645ad!important;
}

.oat-entry-az{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
  padding:10px;
  border:1px solid #111;
  background:#f2f2f2;
  margin:12px 0 22px;
}

.oat-entry-az a{
  color:#0645ad!important;
  text-decoration:none!important;
  font-weight:bold;
  padding:4px 7px;
}

/* hide older nav style if cached CSS overlaps */
.oat-entry-nav{
  display:none!important;
}


/* v6.4 entry navigation: match index style and remove heading block */
.oat-entry-directory-nav{
  max-width:1320px!important;
  margin:0 auto 18px!important;
  padding:0!important;
  background:transparent!important;
}
.oat-entry-directory-nav .oat-index-hero,
.oat-entry-index-hero{
  display:none!important;
}
.oat-entry-index-nav{
  display:flex!important;
  justify-content:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin:14px 0!important;
}
.oat-entry-index-nav a{
  border:1px solid #111!important;
  background:#fff!important;
  padding:8px 12px!important;
  text-decoration:none!important;
  font-weight:bold!important;
  color:#0645ad!important;
}
.oat-entry-az{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:6px!important;
  padding:10px!important;
  border:1px solid #111!important;
  background:#f2f2f2!important;
  margin:12px 0 22px!important;
}
.oat-entry-az a{
  color:#0645ad!important;
  text-decoration:none!important;
  font-weight:bold!important;
  padding:4px 7px!important;
}
.oat-entry-index-nav a:hover,
.oat-entry-az a:hover{
  text-decoration:underline!important;
}


/* v6.5 transparent encyclopedia entry navigation */
.oat-entry-directory-nav{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}

.oat-entry-index-nav{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.oat-entry-index-nav a{
  background:transparent!important;
  border:1px solid #111!important;
  color:#0645ad!important;
}

.oat-entry-az{
  background:transparent!important;
  border:1px solid #111!important;
  box-shadow:none!important;
}

.oat-entry-az a{
  background:transparent!important;
  color:#0645ad!important;
}

.oat-entry-index-nav a:hover,
.oat-entry-az a:hover{
  background:rgba(0,0,0,0.04)!important;
  text-decoration:underline!important;
}

/* keep index page style unchanged unless the nav is on an entry */
.oat-entry-directory-nav .oat-az{
  background:transparent!important;
}

/* transparent family tree container option */
.oat-family-chart{
  background:transparent!important;
}


/* v6.6 simple transparent entry navigation: no boxed borders */
.oat-entry-directory-nav{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin-bottom:18px!important;
}

.oat-entry-index-nav{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  justify-content:center!important;
  gap:0!important;
  margin:8px 0 6px!important;
  padding:0!important;
}

.oat-entry-index-nav a{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#0645ad!important;
  text-decoration:none!important;
  font-weight:700!important;
  padding:0 10px!important;
  line-height:1.6!important;
}

.oat-entry-index-nav a + a{
  border-left:1px solid #999!important;
}

.oat-entry-az{
  background:transparent!important;
  border:0!important;
  border-top:1px solid #ccc!important;
  border-bottom:1px solid #ccc!important;
  box-shadow:none!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:0!important;
  padding:8px 0!important;
  margin:8px 0 22px!important;
}

.oat-entry-az a{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#0645ad!important;
  text-decoration:none!important;
  font-weight:700!important;
  padding:2px 6px!important;
}

.oat-entry-index-nav a:hover,
.oat-entry-az a:hover{
  background:transparent!important;
  text-decoration:underline!important;
}

/* Override older v6.5 border styles */
.oat-entry-directory-nav .oat-index-nav a,
.oat-entry-directory-nav .oat-az a{
  border:0!important;
}

.oat-entry-directory-nav .oat-az{
  border-left:0!important;
  border-right:0!important;
}


/* v6.7 continuous family-tree trunk fix */
.oat-tree-v60{
  --oat-trunk:#111;
}

/* Parent line continues downward toward the main person */
.oat-v60-parent-drop{
  height:78px!important;
  margin:0 auto -2px!important;
  background:var(--oat-trunk)!important;
}

/* Place the couple unit directly under the parent trunk */
.oat-v60-family-unit{
  position:relative!important;
  margin-top:0!important;
}

/* Draw one continuous vertical trunk through the couple area */
.oat-v60-family-unit::before{
  content:"";
  position:absolute;
  top:-2px;
  left:50%;
  transform:translateX(-50%);
  width:2px;
  height:calc(100% - 84px);
  background:var(--oat-trunk);
  z-index:0;
}

/* Keep cards and marriage line above the trunk */
.oat-v60-couple-row,
.oat-v60-children-row,
.oat-v60-children-rail,
.oat-v60-descender{
  position:relative!important;
  z-index:2!important;
}

/* Marriage row intersects the trunk */
.oat-v60-marriage-center{
  z-index:3!important;
}

.oat-v60-marriage-line{
  z-index:3!important;
}

/* Make the marriage symbol sit on top of the trunk */
.oat-v60-marriage-line span::before{
  background:#fafafa;
  padding:0 4px;
}

/* Hide the older separate descender visual because the trunk now provides continuity */
.oat-v60-descender{
  background:transparent!important;
  height:42px!important;
  margin:0 auto!important;
}

/* Child rail must touch the trunk at its center */
.oat-v60-children-rail{
  position:relative!important;
  z-index:3!important;
}

/* Small center joint to visually merge trunk and child rail */
.oat-v60-children-rail::before{
  content:"";
  position:absolute;
  left:50%;
  top:-20px;
  transform:translateX(-50%);
  width:2px;
  height:22px;
  background:var(--oat-trunk);
}

/* Child verticals touch the rail */
.oat-v60-children-row .oat-tree-card::before{
  top:-14px!important;
  height:14px!important;
  background:var(--oat-trunk)!important;
}

/* Pull the children rail slightly closer */
.oat-v60-children-row{
  margin-top:14px!important;
}

/* Remove old parent/family visual gaps */
.oat-v60-parent-unit + .oat-v60-family-unit{
  margin-top:0!important;
}

@media(max-width:800px){
  .oat-v60-parent-drop{
    height:68px!important;
  }
}


/* v6.8 make entry encyclopedia navigation match black site navigation */
.oat-entry-directory-nav,
.oat-entry-index-nav,
.oat-entry-az{
  background:transparent!important;
  box-shadow:none!important;
}

.oat-entry-index-nav a,
.oat-entry-az a,
.oat-entry-directory-nav a{
  color:#111!important;
  border-color:transparent!important;
  background:transparent!important;
  text-decoration:none!important;
}

.oat-entry-index-nav a:visited,
.oat-entry-az a:visited,
.oat-entry-directory-nav a:visited{
  color:#111!important;
}

.oat-entry-index-nav a:hover,
.oat-entry-az a:hover,
.oat-entry-directory-nav a:hover{
  color:#444!important;
  text-decoration:underline!important;
  background:transparent!important;
}

/* remove any remaining blue borders/buttons from older versions */
.oat-entry-index-nav a,
.oat-entry-az a{
  border:0!important;
  box-shadow:none!important;
}

/* keep only clean thin divider lines */
.oat-entry-az{
  border-left:0!important;
  border-right:0!important;
  border-top:1px solid #ccc!important;
  border-bottom:1px solid #ccc!important;
}


/* v7.0 rebuilt genealogy family tree */
.oat-tree-v7{
  --card-w:150px;
  --gap:42px;
  --line:#111;
  border:1px solid #111;
  background:transparent;
  padding:34px 18px 42px;
  overflow-x:auto;
  text-align:center;
}

/* remove all previous pseudo connector artifacts inside v7 */
.oat-tree-v7 .oat-tree-card::before,
.oat-tree-v7 .oat-tree-card::after{
  content:none!important;
  display:none!important;
}

/* card normalization */
.oat-tree-v7 .oat-tree-card{
  width:var(--card-w);
  min-height:198px;
  border:1px solid #111;
  background:#fff;
  padding:8px;
  text-align:center;
  color:#111!important;
  text-decoration:none!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  margin:0;
  box-sizing:border-box;
  position:relative;
}
.oat-tree-v7 .oat-tree-card img{
  width:96px;
  height:112px;
  object-fit:cover;
  border:1px solid #ccc;
  background:#eee;
  margin-bottom:7px;
}
.oat-tree-v7 .oat-tree-placeholder{
  width:96px;
  height:112px;
  border:1px dashed #aaa;
  background:#eee;
  color:#666;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  margin-bottom:7px;
}
.oat-tree-v7 .oat-tree-label{
  display:block;
  font-size:12px;
  background:#eee;
  border:1px solid #ccc;
  padding:2px 5px;
  margin-bottom:6px;
}
.oat-tree-v7 .oat-tree-card strong{
  font:700 14px/1.2 Arial,Helvetica,sans-serif!important;
  color:#111!important;
}
.oat-tree-v7 .oat-tree-card small{
  display:block;
  color:#444;
  margin-top:6px;
  font-size:14px;
  font-weight:600;
}

/* parent couple */
.oat-v7-parent-family{
  display:inline-block;
  margin:0 auto;
  text-align:center;
}
.oat-v7-parent-couple{
  display:grid;
  grid-template-columns:var(--card-w) var(--gap) var(--card-w);
  align-items:center;
  justify-content:center;
}
.oat-v7-parent-marriage{
  height:2px;
  background:var(--line);
  width:var(--gap);
}
.oat-v7-parent-to-person{
  width:2px;
  height:54px;
  background:var(--line);
  margin:0 auto;
}

/* nuclear family as one coordinate system */
.oat-v7-nuclear-family{
  display:inline-block;
  position:relative;
  min-width:calc((var(--card-w) * 2) + var(--gap));
  text-align:center;
  margin:0 auto;
}
.oat-v7-couple{
  display:grid;
  grid-template-columns:var(--card-w) var(--gap) var(--card-w);
  align-items:center;
  justify-content:center;
  margin:0 auto;
  position:relative;
}
.oat-v7-marriage{
  width:var(--gap);
  height:26px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.oat-v7-marriage::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:2px;
  background:var(--line);
  transform:translateY(-50%);
}
.oat-v7-marriage span{
  position:relative;
  z-index:2;
  background:#fff;
  color:#9a6b00;
  font-size:22px;
  line-height:1;
  padding:0 4px;
}

/* continuous trunk from marriage to child rail */
.oat-v7-couple-to-children{
  width:2px;
  height:48px;
  background:var(--line);
  margin:0 auto;
}
.oat-v7-child-rail{
  height:2px;
  background:var(--line);
  width:calc((var(--card-w) * 2) + var(--gap));
  margin:0 auto;
}

/* child row */
.oat-v7-children{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:var(--gap);
  flex-wrap:nowrap;
  margin:14px auto 0;
  position:relative;
}
.oat-v7-children .oat-tree-card::before{
  content:""!important;
  display:block!important;
  position:absolute;
  left:50%;
  top:-14px;
  transform:translateX(-50%);
  width:2px;
  height:14px;
  background:var(--line);
}

/* multiple spouse cards stay in the spouse column */
.oat-v7-spouse{
  display:flex;
  gap:18px;
  align-items:flex-start;
}

/* no spouse: center current card */
.oat-v7-couple:not(:has(.oat-v7-spouse)){
  grid-template-columns:var(--card-w);
}

/* more than 2 children: allow rail to be visually contained but not overly long */
.oat-v7-children:has(.oat-tree-card:nth-child(3)) + .nothing{
  display:none;
}

/* mobile: scroll horizontally to preserve line connections */
@media(max-width:800px){
  .oat-tree-v7{
    --card-w:140px;
    --gap:32px;
    padding:28px 12px 38px;
  }
  .oat-v7-nuclear-family,
  .oat-v7-parent-family{
    min-width:calc((var(--card-w) * 2) + var(--gap));
  }
}


/* v7.1 remove parent generation connectors */
.oat-v7-parent-family,
.oat-v7-parent-to-person,
.oat-v7-parent-marriage{
    display:none !important;
}


/* v7.2 shared encyclopedia navigation: same look on index and entries */
.oat-shared-encyclopedia-nav{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Hide entry/index hero if present so nav is the focus */
.oat-entry-directory-nav .oat-index-hero{
  display:none!important;
}

/* Top navigation buttons */
.oat-shared-encyclopedia-nav .oat-index-nav,
.oat-entry-directory-nav .oat-index-nav{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  margin:18px 0 34px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.oat-shared-encyclopedia-nav .oat-index-nav a,
.oat-entry-directory-nav .oat-index-nav a{
  display:inline-block!important;
  border:2px solid #111!important;
  background:#fff!important;
  color:#111!important;
  text-decoration:none!important;
  font-weight:700!important;
  font-size:18px!important;
  line-height:1.2!important;
  padding:14px 20px!important;
  box-shadow:none!important;
}

.oat-shared-encyclopedia-nav .oat-index-nav a:visited,
.oat-entry-directory-nav .oat-index-nav a:visited{
  color:#111!important;
}

.oat-shared-encyclopedia-nav .oat-index-nav a:hover,
.oat-entry-directory-nav .oat-index-nav a:hover{
  background:#f5f5f5!important;
  color:#111!important;
  text-decoration:none!important;
}

/* Search field matching index style */
.oat-shared-encyclopedia-nav .oat-search,
.oat-entry-directory-nav .oat-search{
  margin:0 0 28px!important;
  background:transparent!important;
}

.oat-shared-encyclopedia-nav .oat-search input,
.oat-entry-directory-nav .oat-search input{
  width:100%!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:10px 0!important;
  font-size:26px!important;
  color:#111!important;
}

.oat-shared-encyclopedia-nav .oat-search input::placeholder,
.oat-entry-directory-nav .oat-search input::placeholder{
  color:#999!important;
  opacity:1!important;
}

/* A-Z box */
.oat-shared-encyclopedia-nav .oat-az,
.oat-entry-directory-nav .oat-az{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:0!important;
  border:2px solid #111!important;
  background:#f3f3f3!important;
  padding:22px 24px!important;
  margin:0 0 34px!important;
  box-shadow:none!important;
}

.oat-shared-encyclopedia-nav .oat-az a,
.oat-entry-directory-nav .oat-az a{
  color:#111!important;
  background:transparent!important;
  border:0!important;
  text-decoration:none!important;
  font-weight:700!important;
  font-size:22px!important;
  line-height:1.2!important;
  padding:0 13px!important;
  box-shadow:none!important;
}

.oat-shared-encyclopedia-nav .oat-az a:visited,
.oat-entry-directory-nav .oat-az a:visited{
  color:#111!important;
}

.oat-shared-encyclopedia-nav .oat-az a:hover,
.oat-entry-directory-nav .oat-az a:hover{
  color:#444!important;
  text-decoration:underline!important;
}

/* Entry nav spacing under article title */
.oat-entry-directory-nav{
  margin-top:0!important;
  margin-bottom:22px!important;
}

/* Keep old entry nav hidden */
.oat-entry-nav{
  display:none!important;
}

@media(max-width:800px){
  .oat-shared-encyclopedia-nav .oat-index-nav a,
  .oat-entry-directory-nav .oat-index-nav a{
    font-size:16px!important;
    padding:10px 14px!important;
  }
  .oat-shared-encyclopedia-nav .oat-search input,
  .oat-entry-directory-nav .oat-search input{
    font-size:22px!important;
  }
  .oat-shared-encyclopedia-nav .oat-az,
  .oat-entry-directory-nav .oat-az{
    padding:16px 14px!important;
  }
  .oat-shared-encyclopedia-nav .oat-az a,
  .oat-entry-directory-nav .oat-az a{
    font-size:18px!important;
    padding:4px 8px!important;
  }
}


/* v7.3 multi-generation family tree */
.oat-tree-v73{
  --card-w:150px;
  --gap:34px;
  --line:#111;
  border:1px solid #111;
  background:transparent;
  padding:34px 18px 42px;
  overflow-x:auto;
  text-align:center;
}
.oat-tree-v73 .oat-tree-card::before,
.oat-tree-v73 .oat-tree-card::after{content:none!important;display:none!important}
.oat-tree-v73 .oat-tree-card{
  width:var(--card-w); min-height:198px; border:1px solid #111; background:#fff;
  padding:8px; text-align:center; color:#111!important; text-decoration:none!important;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  margin:0; box-sizing:border-box; position:relative;
}
.oat-tree-v73 .oat-tree-card img,.oat-tree-v73 .oat-tree-placeholder{
  width:96px!important; height:112px!important; object-fit:cover; margin-bottom:7px;
}
.oat-tree-v73 .oat-tree-placeholder{
  border:1px dashed #aaa; background:#eee; color:#666; display:flex; align-items:center; justify-content:center; font-size:12px;
}
.oat-tree-v73 .oat-tree-label{font-size:12px;background:#eee;border:1px solid #ccc;padding:2px 5px;margin-bottom:6px}
.oat-tree-v73 .oat-tree-card strong{font:700 14px/1.2 Arial,Helvetica,sans-serif!important;color:#111!important}
.oat-tree-v73 .oat-tree-card small{display:block;color:#444;margin-top:6px;font-size:14px;font-weight:600}

.oat-v73-generation{
  display:inline-flex; justify-content:center; align-items:flex-start; gap:var(--gap);
  flex-wrap:nowrap; margin:0 auto; position:relative;
}
.oat-v73-downline{width:2px;height:34px;background:var(--line);margin:0 auto}
.oat-v73-couple-row{
  display:inline-grid; grid-template-columns:var(--card-w) 70px var(--card-w);
  align-items:center; justify-content:center; margin:0 auto;
}
.oat-v73-marriage{position:relative;height:26px;display:flex;align-items:center;justify-content:center}
.oat-v73-marriage::before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;background:var(--line);transform:translateY(-50%)}
.oat-v73-marriage span{position:relative;background:#fff;color:#9a6b00;font-size:22px;line-height:1;padding:0 4px;z-index:2}
.oat-v73-rail{
  height:2px;background:var(--line);
  width:calc((var(--card-w) * 2) + var(--gap));
  margin:0 auto;
}
.oat-v73-children{margin-top:14px}
.oat-v73-children .oat-tree-card::before{
  content:""!important;display:block!important;position:absolute;left:50%;top:-14px;transform:translateX(-50%);
  width:2px;height:14px;background:var(--line);
}
.oat-v73-siblings-block{margin-top:26px;border-top:1px solid #ccc;padding-top:16px}
.oat-v73-siblings-block h3{margin:0 0 12px;font:700 18px/1.2 Arial,Helvetica,sans-serif!important}
@media(max-width:800px){
 .oat-tree-v73{--card-w:140px;--gap:28px}
 .oat-v73-couple-row{grid-template-columns:var(--card-w) 54px var(--card-w)}
 .oat-v73-rail{width:calc((var(--card-w) * 2) + var(--gap))}
}


/* v7.6 exact simple entry navigation from screenshot */
.oat-entry-simple-nav{
  max-width:1200px!important;
  margin:0 auto 22px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-align:center!important;
}

/* hide older navigation versions */
.oat-entry-directory-nav,
.oat-entry-nav,
.oat-entry-index-exact,
.oat-entry-index-nav,
.oat-entry-az,
.oat-index-style-nav,
.oat-shared-encyclopedia-nav{
  display:none!important;
}

/* Top text links */
.oat-entry-simple-menu{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:26px!important;
  flex-wrap:wrap!important;
  margin:12px auto 8px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.oat-entry-simple-menu a{
  color:#111!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-weight:700!important;
  font-size:18px!important;
  line-height:1.4!important;
  padding:0!important;
}

.oat-entry-simple-menu a:visited{
  color:#111!important;
}

.oat-entry-simple-menu a:hover{
  color:#444!important;
  text-decoration:underline!important;
}

/* A-Z line with thin dividers above and below */
.oat-entry-simple-letters{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:0!important;
  margin:0 auto 22px!important;
  padding:10px 0!important;
  background:transparent!important;
  border-top:1px solid #ccc!important;
  border-bottom:1px solid #ccc!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
}

.oat-entry-simple-letters a{
  color:#111!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-weight:700!important;
  font-size:18px!important;
  line-height:1.4!important;
  padding:0 8px!important;
}

.oat-entry-simple-letters a:visited{
  color:#111!important;
}

.oat-entry-simple-letters a:hover{
  color:#444!important;
  text-decoration:underline!important;
}

@media(max-width:800px){
  .oat-entry-simple-menu{
    gap:16px!important;
  }
  .oat-entry-simple-menu a,
  .oat-entry-simple-letters a{
    font-size:16px!important;
  }
  .oat-entry-simple-letters a{
    padding:3px 7px!important;
  }
}


/* v7.7 one simple encyclopedia navigation style for BOTH index and entry pages */
.oat-simple-encyclopedia-nav{
  max-width:1200px!important;
  margin:0 auto 22px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-align:center!important;
}

/* Hide older index nav/search/hero when inside the index wrapper so only the simple shared nav shows */
.oat-index-directory-wrap > .oat-index-hero,
.oat-index-directory-wrap > .oat-index-nav,
.oat-index-directory-wrap > .oat-search,
.oat-index-directory-wrap > .oat-az{
  display:none!important;
}

/* Hide older entry navigation variants */
.oat-entry-directory-nav,
.oat-entry-nav,
.oat-entry-index-exact,
.oat-entry-index-nav,
.oat-entry-az,
.oat-index-style-nav,
.oat-shared-encyclopedia-nav{
  display:none!important;
}

/* Top menu */
.oat-simple-encyclopedia-nav .oat-simple-menu{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:26px!important;
  flex-wrap:wrap!important;
  margin:12px auto 8px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.oat-simple-encyclopedia-nav .oat-simple-menu a{
  color:#111!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-weight:700!important;
  font-size:18px!important;
  line-height:1.4!important;
  padding:0!important;
}

.oat-simple-encyclopedia-nav .oat-simple-menu a:visited{
  color:#111!important;
}

.oat-simple-encyclopedia-nav .oat-simple-menu a:hover{
  color:#444!important;
  text-decoration:underline!important;
}

/* A-Z letters with thin gray divider lines */
.oat-simple-encyclopedia-nav .oat-simple-letters{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:0!important;
  margin:0 auto 22px!important;
  padding:10px 0!important;
  background:transparent!important;
  border-top:1px solid #ccc!important;
  border-bottom:1px solid #ccc!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
}

.oat-simple-encyclopedia-nav .oat-simple-letters a{
  color:#111!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-weight:700!important;
  font-size:18px!important;
  line-height:1.4!important;
  padding:0 8px!important;
}

.oat-simple-encyclopedia-nav .oat-simple-letters a:visited{
  color:#111!important;
}

.oat-simple-encyclopedia-nav .oat-simple-letters a:hover{
  color:#444!important;
  text-decoration:underline!important;
}

/* Keep A-Z section anchor working even though old visual A-Z nav is hidden */
#az{
  scroll-margin-top:40px;
}

@media(max-width:800px){
  .oat-simple-encyclopedia-nav .oat-simple-menu{
    gap:16px!important;
  }
  .oat-simple-encyclopedia-nav .oat-simple-menu a,
  .oat-simple-encyclopedia-nav .oat-simple-letters a{
    font-size:16px!important;
  }
  .oat-simple-encyclopedia-nav .oat-simple-letters a{
    padding:3px 7px!important;
  }
}

/* v10 profile-page link behavior only */
.oat-profile .oat-infobox a.oat-profile-auto-link,
.oat-profile .oat-section a.oat-profile-auto-link{color:inherit;text-decoration:none;transition:color .15s ease, text-decoration-color .15s ease;}
.oat-profile .oat-infobox a.oat-profile-auto-link:hover,
.oat-profile .oat-section a.oat-profile-auto-link:hover{color:#0645ad;text-decoration:underline;cursor:pointer;}
.oat-row-icon{display:inline-block;min-width:1.2em;text-align:center}.oat-external-link{white-space:nowrap}
.oat-entry-wrap .oat-infobox a.oat-profile-auto-link,
.oat-entry-wrap .oat-section a.oat-profile-auto-link{color:inherit;text-decoration:none;transition:color .15s ease, text-decoration-color .15s ease;}
.oat-entry-wrap .oat-infobox a.oat-profile-auto-link:hover,
.oat-entry-wrap .oat-section a.oat-profile-auto-link:hover{color:#0645ad;text-decoration:underline;cursor:pointer;}

/* v10.13 custom infobox file/image row support */
.oat-infobox-row-image{max-width:100%;height:auto;border:1px solid #ddd;border-radius:4px;display:block;margin:4px 0;}
.oat-file-link{font-weight:600;}

/* OAT Encyclopedia 11.2.0 — Relationship Explorer Bridge */
.oat-bridge-infobox .oat-bridge-kicker{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:10px 14px 0;color:#555}
.oat-bridge-infobox .oat-bridge-place{font-size:.92em;color:#666}
.oat-bridge-profile-button{display:block;margin:14px;padding:11px 14px;text-align:center;border:1px solid #111;background:#111;color:#fff!important;text-decoration:none;font-weight:700}
.oat-bridge-profile-button:hover,.oat-bridge-profile-button:focus{background:#333;color:#fff!important}

/* v11.2.5 — encyclopedia cross-page links */
.oat-article-auto-link{font-weight:600;text-decoration:underline;text-underline-offset:2px}
.oat-article-auto-link:hover{text-decoration-thickness:2px}

/* v12.3.0 Beta 1 — optional Encyclopedia landing page */
.oat-encyclopedia-home{max-width:1240px;margin:0 auto;padding:28px 20px 56px;color:#1d2733}.oat-home-intro{margin:0 0 26px}.oat-home-intro h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.2rem,5vw,4rem);line-height:1.05;margin:0 0 10px;color:#172b49}.oat-home-intro p{font-size:1.08rem;max-width:760px;margin:0;color:#5d6875}.oat-home-featured{display:grid;grid-template-columns:minmax(260px,42%) 1fr;background:#fff;border:1px solid #dce1e7;border-radius:14px;overflow:hidden;box-shadow:0 7px 24px rgba(25,43,67,.08);margin-bottom:30px}.oat-home-featured-image{min-height:330px;background:#eef1f4}.oat-home-featured-image img{width:100%;height:100%;object-fit:cover;display:block}.oat-home-featured-copy{padding:38px;align-self:center}.oat-home-kicker{display:block;text-transform:uppercase;letter-spacing:.13em;font-weight:700;font-size:.76rem;color:#6b7785;margin-bottom:12px}.oat-home-badge{display:inline-flex;border:1px solid #c9d6e6;border-radius:999px;padding:5px 10px;font-size:.75rem;font-weight:700;color:#1d4f7a;background:#f7fbff}.oat-home-featured h2{font-family:Georgia,'Times New Roman',serif;color:#172b49;font-size:clamp(2rem,4vw,3.35rem);margin:12px 0 7px}.oat-home-featured-meta{font-weight:700;color:#526070}.oat-home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.oat-home-primary,.oat-home-secondary,.oat-home-read{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;font-weight:700}.oat-home-primary{background:#164f7d;color:#fff!important;padding:11px 18px;border-radius:6px}.oat-home-secondary{background:#fff;color:#164f7d!important;border:1px solid #164f7d;padding:10px 18px;border-radius:6px}.oat-home-tools{display:grid;grid-template-columns:1fr auto;gap:12px;margin:28px 0 24px}.oat-home-tools input,.oat-home-tools select{min-height:48px;border:1px solid #cfd6de;border-radius:7px;background:#fff;padding:0 14px;font-size:1rem}.oat-home-categories,.oat-home-recent{margin:28px 0}.oat-home-categories h2,.oat-home-recent h2{font-family:Georgia,'Times New Roman',serif;color:#172b49;margin-bottom:14px}.oat-home-category-buttons{display:flex;flex-wrap:wrap;gap:9px}.oat-home-category-buttons button,.oat-home-az button{border:1px solid #cfd6de;background:#fff;color:#24394f;border-radius:6px;padding:8px 12px;cursor:pointer}.oat-home-category-buttons button:hover,.oat-home-category-buttons button.is-active,.oat-home-az button:hover,.oat-home-az button.is-active{background:#164f7d;border-color:#164f7d;color:#fff}.oat-home-category-buttons button span{opacity:.68;margin-left:4px}.oat-home-grid{display:grid;grid-template-columns:repeat(var(--oat-home-columns,3),minmax(0,1fr));gap:22px}.oat-home-card{background:#fff;border:1px solid #dce1e7;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 3px 14px rgba(25,43,67,.06);transition:transform .18s ease,box-shadow .18s ease}.oat-home-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px rgba(25,43,67,.11)}.oat-home-card-image{display:block;height:210px;background:#eef1f4}.oat-home-card-image img{width:100%;height:100%;object-fit:cover;display:block}.oat-home-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#748394}.oat-home-placeholder .dashicons{font-size:52px;width:52px;height:52px}.oat-home-card-body{padding:19px;display:flex;flex-direction:column;flex:1}.oat-home-card h3{font-family:Georgia,'Times New Roman',serif;font-size:1.35rem;line-height:1.2;margin:10px 0 5px}.oat-home-card h3 a{color:#172b49;text-decoration:none}.oat-home-card-meta{font-weight:700;color:#667380;margin:0 0 8px}.oat-home-card-body>p:not(.oat-home-card-meta){color:#596675}.oat-home-tree-badge{display:block;margin-top:auto;padding-top:8px;font-size:.82rem;color:#476447}.oat-home-read{justify-content:flex-start;color:#164f7d!important;margin-top:13px}.oat-home-az{margin-top:34px;padding-top:23px;border-top:1px solid #dce1e7}.oat-home-az strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:1.35rem;color:#172b49;margin-bottom:12px}.oat-home-az>div{display:flex;flex-wrap:wrap;gap:6px}.oat-home-az button{min-width:38px;padding:7px}.oat-home-az button:disabled{opacity:.35;cursor:not-allowed;background:#f4f5f6;color:#68727d;border-color:#d8dde3}.oat-home-no-results{padding:28px;border:1px dashed #cfd6de;text-align:center;color:#637080}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.oat-home-featured{grid-template-columns:1fr}.oat-home-featured-image{min-height:280px}.oat-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.oat-encyclopedia-home{padding-inline:14px}.oat-home-featured-copy{padding:24px}.oat-home-tools{grid-template-columns:1fr}.oat-home-grid{grid-template-columns:1fr}.oat-home-card-image{height:235px}}


/* v12.3.2: theme-matched compact A-Z and front-page editor */
.oat-home-az-top{margin:0 0 22px;padding:15px 16px;border:1px solid #d7dce2;border-radius:4px;background:#fff;box-shadow:none}
.oat-home-az-top strong{font-family:Georgia,'Times New Roman',serif;font-size:1rem;line-height:1.2;text-transform:uppercase;letter-spacing:.01em;color:#172b49;margin:0 0 9px}
.oat-home-az-top>div{gap:6px}
.oat-home-az-top button{min-width:34px;height:32px;padding:4px 8px;border-radius:4px;font-family:Georgia,'Times New Roman',serif;font-size:.86rem;font-weight:700;background:#fff;color:#172b49;border:1px solid #cfd6de;box-shadow:none}
.oat-home-az-top button:hover,.oat-home-az-top button.is-active{background:#172b49;border-color:#172b49;color:#fff}
.oat-home-az-top button:disabled{background:#fafafa;color:#b7bdc4;border-color:#e4e7ea;opacity:1}
.oat-front-page-editor{margin:0 0 18px;border:1px solid #cfd6de;background:#fff;border-radius:5px;overflow:hidden}
.oat-front-page-editor summary{cursor:pointer;padding:10px 14px;background:#172b49;color:#fff;font-family:Georgia,'Times New Roman',serif;font-weight:700;list-style-position:inside}
.oat-front-page-editor form{padding:18px}
.oat-front-page-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.oat-front-page-editor-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#172b49}
.oat-front-page-editor-grid label.is-wide{grid-column:1/-1}
.oat-front-page-editor input,.oat-front-page-editor textarea,.oat-front-page-editor select{width:100%;border:1px solid #cfd6de;border-radius:4px;padding:9px;background:#fff;font:inherit;color:#1d2733}
.oat-front-page-checks{display:flex;flex-wrap:wrap;gap:18px;margin:14px 0}
.oat-front-page-saved{margin:14px 18px 0;padding:9px 11px;border-left:4px solid #4f7d3b;background:#f4faf1;color:#345128}
@media(max-width:760px){.oat-front-page-editor-grid{grid-template-columns:1fr}.oat-front-page-editor-grid label.is-wide{grid-column:auto}.oat-home-az-top button{min-width:32px}}


/* v12.3.3 — compact theme-matched A–Z and true on-page front editor */
.oat-home-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #d7dce2;padding-bottom:18px;margin-bottom:14px}
.oat-home-intro-copy{min-width:0}
.oat-home-intro h1{font-size:clamp(2rem,4vw,3.25rem);color:inherit}
.oat-home-intro p{color:inherit;opacity:.78}
.oat-front-page-edit-link{flex:0 0 auto;display:inline-block;margin-top:4px;padding:7px 12px;border:1px solid currentColor;background:#fff;color:#172b49!important;text-decoration:none!important;font-family:Georgia,'Times New Roman',serif;font-size:.86rem;font-weight:700;line-height:1.2;border-radius:2px}
.oat-front-page-edit-link:hover,.oat-front-page-edit-link:focus{background:#172b49;color:#fff!important}
.oat-home-az-top{margin:0 0 18px;padding:10px 0 12px;border:0;border-bottom:1px solid #d7dce2;border-radius:0;background:transparent}
.oat-home-az-top strong{font-size:.95rem;text-transform:none;letter-spacing:0;color:inherit;margin-bottom:7px}
.oat-home-az-top>div{gap:4px}
.oat-home-az-top button{min-width:29px;height:28px;padding:2px 6px;border-radius:2px;font-size:.78rem;background:#fff;color:#172b49;border:1px solid #cfd6de}
.oat-home-az-top button:hover,.oat-home-az-top button.is-active{background:#172b49;border-color:#172b49;color:#fff}
.oat-front-page-editor{margin:0 0 18px;border:1px solid #cfd6de;border-radius:2px;background:#fff;scroll-margin-top:38px}
.oat-front-page-editor summary{padding:8px 12px;background:#fff;color:#172b49;border-bottom:0;font-size:.9rem;list-style-position:inside}
.oat-front-page-editor[open] summary{background:#172b49;color:#fff;border-bottom:1px solid #cfd6de}
.oat-front-page-editor form{padding:15px}
.oat-front-page-editor-grid{gap:11px}
.oat-front-page-editor-grid label{font-size:.9rem;color:inherit}
.oat-front-page-editor input,.oat-front-page-editor textarea,.oat-front-page-editor select{border-radius:2px;padding:8px}
.oat-front-page-checks{gap:14px;margin:12px 0}
@media(max-width:620px){.oat-home-intro{display:block}.oat-front-page-edit-link{margin-top:12px}.oat-home-az-top button{min-width:27px;height:27px;padding:2px 5px}}

/* v12.3.4 — bring the approved theme layout onto the live Encyclopedia page */
.oat-encyclopedia-home{max-width:1320px;padding:30px 24px 54px;color:inherit}
.oat-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:30px;align-items:start}
.oat-home-main{min-width:0}
.oat-home-sidebar{display:flex;flex-direction:column;gap:20px}
.oat-home-widget{background:#fff;border:1px solid #d8dde3;padding:18px 18px 16px;box-shadow:0 2px 8px rgba(20,35,55,.035)}
.oat-home-widget h2{font-family:Georgia,'Times New Roman',serif;font-size:1rem;text-transform:uppercase;letter-spacing:.02em;color:#172b49;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #e1e4e8}
.oat-home-side-list{display:flex;flex-direction:column;gap:12px}
.oat-home-side-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;color:#172b49!important;text-decoration:none!important}
.oat-home-side-thumb{display:block;width:48px;height:54px;overflow:hidden;background:#eef1f4;border-radius:2px}
.oat-home-side-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.oat-home-side-thumb .oat-home-placeholder{min-height:54px}
.oat-home-side-thumb .dashicons{font-size:23px;width:23px;height:23px}
.oat-home-side-copy{min-width:0}
.oat-home-side-copy strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:.91rem;line-height:1.22}
.oat-home-side-copy small{display:block;margin-top:3px;color:#596675;font-size:.76rem}
.oat-home-widget-link{display:inline-block;margin-top:15px;color:#164f7d!important;text-decoration:none!important;font-weight:700;font-size:.86rem}
.oat-home-side-categories{display:flex;flex-direction:column}
.oat-home-side-categories button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-bottom:1px solid #eceef0;background:transparent;color:#172b49;padding:8px 0;cursor:pointer;font-family:inherit;text-align:left}
.oat-home-side-categories button:last-child{border-bottom:0}
.oat-home-side-categories button:hover,.oat-home-side-categories button.is-active{color:#164f7d;font-weight:700}
.oat-home-side-categories small{font-size:.76rem;color:#637080}
.oat-home-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:13px}
.oat-home-section-title h2{margin:0!important}
.oat-home-section-title a{color:#164f7d!important;text-decoration:none!important;font-size:.86rem;font-weight:700;white-space:nowrap}
.oat-home-featured{grid-template-columns:minmax(230px,38%) 1fr;border-radius:4px;box-shadow:0 2px 9px rgba(25,43,67,.045);margin-bottom:24px}
.oat-home-featured-image{min-height:300px}
.oat-home-featured-copy{padding:30px}
.oat-home-featured h2{font-size:clamp(2rem,3.4vw,3rem)}
.oat-home-tools{margin:0 0 18px}
.oat-home-tools input,.oat-home-tools select{min-height:42px;border-radius:3px}
.oat-home-grid{gap:18px}
.oat-home-card{border-radius:3px;box-shadow:0 2px 8px rgba(25,43,67,.04)}
.oat-home-card-image{height:170px}
.oat-home-card-body{padding:14px}
.oat-home-card h3{font-size:1.12rem;margin:8px 0 5px}
.oat-home-card-body>p:not(.oat-home-card-meta){font-size:.9rem;line-height:1.42;margin:4px 0 8px}
.oat-home-card-meta{font-size:.82rem}
.oat-home-badge{padding:3px 8px;font-size:.68rem;border-radius:999px}
.oat-home-read{font-size:.87rem;margin-top:9px}
.oat-home-primary,.oat-home-secondary{border-radius:2px}
@media(max-width:980px){.oat-home-layout{grid-template-columns:1fr}.oat-home-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.oat-home-widget{height:100%}}
@media(max-width:620px){.oat-encyclopedia-home{padding-inline:14px}.oat-home-sidebar{display:block}.oat-home-widget{margin-bottom:16px}.oat-home-section-title{display:block}.oat-home-section-title a{display:inline-block;margin-top:6px}}

/* v12.3.5 — shared genealogy tree icon and imported Relationship Explorer portraits */
.oat-home-tree-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.12em;
    flex: 0 0 auto;
}
.oat-home-tree-badge,
.oat-home-secondary {
    display: inline-flex;
    align-items: center;
    gap: .38em;
}
.oat-home-tree-badge .oat-home-tree-icon { color: #3f7d28; }
.oat-home-secondary .oat-home-tree-icon { color: currentColor; }

/* v12.3.8 — fit complete article portraits inside the image cards */
.oat-home-card-image{
  height:190px;
  padding:0;
  background:#f3f4f5;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.oat-home-card-image img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center center;
  display:block;
  background:#f3f4f5;
}
.oat-home-card-image .oat-home-placeholder{
  min-height:190px;
}
@media(max-width:620px){
  .oat-home-card-image{height:230px}
  .oat-home-card-image .oat-home-placeholder{min-height:230px}
}

/* v12.3.9: logged-in editors can create encyclopedia pages directly from the Encyclopedia landing page. */
.oat-home-admin-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.oat-home-admin-actions .oat-add-historical-page{white-space:nowrap;text-decoration:none}

/* v12.4.0 — Ancient DNA Genetic Distance interpretation panel */
.oat-gd-interpretation{
  margin-top:18px;
  padding:18px 20px;
  border:1px solid #d8d1c3;
  border-radius:10px;
  background:linear-gradient(180deg,#fffdf8 0%,#faf7f0 100%);
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.oat-gd-kicker{
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
  font-weight:700;
  color:#2f2a22;
  margin-bottom:12px;
}
.oat-gd-value{display:flex;align-items:baseline;gap:10px;margin-bottom:14px;color:#625b50}
.oat-gd-value strong{font-size:25px;color:#9b741d;font-family:Georgia,"Times New Roman",serif}
.oat-gd-track{position:relative;height:10px;border-radius:999px;background:linear-gradient(90deg,#b9963d 0%,#d9c582 38%,#dedede 70%,#bdbdbd 100%);box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.oat-gd-marker{position:absolute;top:50%;width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#8b691d;box-shadow:0 1px 5px rgba(0,0,0,.28);transform:translate(-50%,-50%)}
.oat-gd-labels{display:flex;justify-content:space-between;gap:16px;margin-top:8px;font-size:13px;font-weight:600;color:#6d665c}
.oat-gd-labels span:last-child{text-align:right}
.oat-gd-note{margin:15px 0 0;padding-top:13px;border-top:1px solid #e3ddd2;font-size:13px;line-height:1.55;color:#666}
@media(max-width:600px){.oat-gd-interpretation{padding:15px}.oat-gd-kicker{font-size:18px}.oat-gd-labels{font-size:11px}}


/* v12.4.1 — Encyclopedia front-page polish */
/* Keep profile/action buttons light and transparent. */
.oat-home-primary,
.oat-home-secondary,
.oat-home-read,
.oat-read-profile,
.read-profile,
.oat-featured-profile .button {
    background: transparent !important;
    color: #164f7d !important;
    border: 1px solid #164f7d !important;
    box-shadow: none !important;
}
.oat-home-primary:hover,.oat-home-secondary:hover,.oat-home-read:hover,
.oat-read-profile:hover,.read-profile:hover,.oat-featured-profile .button:hover {
    background: rgba(22,79,125,.06) !important;
}
/* Images/icons fit their frames without stretching or clipping. */
.oat-home-side-thumb img,
.oat-home-card-image img,
.oat-home-featured-image img,
.oat-topic-icon img,
.oat-browse-topic img,
.oat-home-topic img {
    width: 100%; height: 100%; object-fit: contain !important; object-position: center;
}
/* Topic controls are transparent. */
.oat-home-side-categories button,
.oat-home-category-buttons button,
.oat-browse-topic,
.oat-topic-button {
    background: transparent !important;
    box-shadow: none !important;
}
/* A–Z stays on one line on desktop; smaller screens can scroll horizontally. */
.oat-home-az-top{display:flex;align-items:center;gap:10px;white-space:nowrap;overflow-x:auto}
.oat-home-az-top strong{margin:0;flex:0 0 auto}
.oat-home-az-top>div{display:flex;flex-wrap:nowrap;gap:4px;min-width:max-content}
.oat-home-az-top button{min-width:27px;height:28px;padding:2px 5px;font-size:.76rem}
/* Long featured-person names should fit rather than dominate the card. */
.oat-featured-profile h2,.oat-featured-profile h3,.oat-featured-people h3,
.oat-home-featured h2{font-size:clamp(1.45rem,2.5vw,2.35rem)!important;line-height:1.12;overflow-wrap:anywhere}
/* On This Day: compact calendar + historical timeline. */
.oat-home-today{background:#fff;border:1px solid #dce1e7;border-radius:4px;padding:22px 26px;margin-bottom:24px;box-shadow:0 2px 9px rgba(25,43,67,.045)}
.oat-home-today-head{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #e4e7ea;padding-bottom:14px;margin-bottom:8px}
.oat-home-today-head h2{font-family:Georgia,'Times New Roman',serif;color:#172b49;margin:4px 0 0;font-size:1.55rem}
.oat-home-calendar-date{width:58px;border:1px solid #cfd6de;border-radius:4px;overflow:hidden;text-align:center;background:#fff;flex:0 0 auto}
.oat-home-calendar-date span{display:block;background:#172b49;color:#fff;text-transform:uppercase;font-size:.68rem;font-weight:700;letter-spacing:.08em;padding:4px}
.oat-home-calendar-date strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;color:#172b49;padding:5px 4px}
.oat-home-timeline{padding:8px 0 2px}
.oat-home-timeline-event{display:grid;grid-template-columns:58px 16px 1fr;gap:8px;align-items:center;min-height:42px;text-decoration:none!important;color:#172b49!important;position:relative}
.oat-home-timeline-event:not(:last-child):before{content:'';position:absolute;left:73px;top:25px;bottom:-17px;width:1px;background:#cfd6de}
.oat-home-timeline-year{font-weight:700;text-align:right;color:#164f7d}
.oat-home-timeline-dot{width:9px;height:9px;border:2px solid #164f7d;border-radius:50%;background:#fff;z-index:1}
.oat-home-timeline-title{font-family:Georgia,'Times New Roman',serif;font-weight:700}
.oat-home-today-empty{margin:12px 0;color:#637080;font-style:italic}
@media(max-width:620px){.oat-home-today{padding:18px}.oat-home-az-top{align-items:flex-start;flex-direction:column}.oat-home-timeline-event{grid-template-columns:50px 14px 1fr}.oat-home-timeline-event:not(:last-child):before{left:63px}}

/* v12.4.7 homepage live-layout fallback */
.oat-live-read-profile{background:transparent!important;color:#1d5f91!important;border:1px solid #1d5f91!important;box-shadow:none!important}
@media (min-width:761px){.oat-home-az-top>div{flex-wrap:nowrap!important;white-space:nowrap!important;overflow-x:auto!important}}

/* =============================================================
   v13.1.0 — Our Ancestral Tree themed Encyclopedia homepage
   Matches the site's white / black / blue / restrained-gold design.
   ============================================================= */
.oat-encyclopedia-redesign{
  --oat-ink:#171717;
  --oat-muted:#666b72;
  --oat-blue:#075a98;
  --oat-blue-dark:#064875;
  --oat-gold:#b38324;
  --oat-line:#d9dde2;
  --oat-soft:#f7f8f9;
  max-width:1480px;
  margin:0 auto;
  padding:28px 26px 58px;
  color:var(--oat-ink);
  background:transparent;
}
.oat-redesign-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:28px;
  padding:0 0 20px;border-bottom:1px solid var(--oat-line);
}
.oat-redesign-eyebrow,.oat-redesign-kicker{
  margin:0 0 6px;text-transform:uppercase;letter-spacing:.11em;
  font-size:11px;font-weight:800;color:var(--oat-gold);
}
.oat-redesign-header h1{
  margin:0;color:var(--oat-ink);
  font:700 clamp(2.15rem,4vw,3.35rem)/1.03 Georgia,"Times New Roman",serif;
}
.oat-redesign-header h1:after{
  content:"";display:block;width:76px;height:2px;background:var(--oat-gold);margin-top:11px;
}
.oat-redesign-header p:not(.oat-redesign-eyebrow){
  max-width:820px;margin:11px 0 0;color:var(--oat-muted);font-size:15px;line-height:1.55;
}
.oat-redesign-admin-actions{flex:0 0 auto;padding-top:8px}
.oat-redesign-outline{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  text-decoration:none!important;background:transparent!important;
  border:1px solid var(--oat-blue)!important;color:var(--oat-blue)!important;
  border-radius:2px;padding:8px 14px;font-weight:700;box-shadow:none!important;
}
.oat-redesign-outline:hover{background:rgba(7,90,152,.055)!important;color:var(--oat-blue-dark)!important}

.oat-redesign-search{position:relative;display:flex;align-items:center;max-width:760px;margin:22px auto 12px}
.oat-redesign-search>.dashicons{position:absolute;left:15px;color:#7c858d;pointer-events:none}
.oat-redesign-search input{
  width:100%;min-height:44px;padding:9px 15px 9px 44px;
  border:1px solid #cfd4d9;border-radius:2px;background:#fff;color:#222;font-size:15px;box-shadow:none;
}
.oat-redesign-search input:focus{outline:2px solid rgba(7,90,152,.12);border-color:var(--oat-blue)}

.oat-redesign-az{display:flex;align-items:center;gap:10px;margin:0 auto 24px;max-width:1220px;overflow-x:auto;white-space:nowrap;padding:4px 0 7px}
.oat-redesign-az strong{flex:0 0 auto;color:#333;font:700 14px Georgia,"Times New Roman",serif}
.oat-redesign-az>div{display:flex!important;flex-wrap:nowrap!important;gap:4px;min-width:max-content}
.oat-redesign-az button{
  width:29px;height:29px;padding:0!important;border:1px solid #d4d9de!important;border-radius:1px!important;
  background:transparent!important;color:var(--oat-blue)!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;
}
.oat-redesign-az button:hover,.oat-redesign-az button.is-active{border-color:var(--oat-gold)!important;background:#fffaf0!important;color:#242424!important}
.oat-redesign-az button:disabled{opacity:.28}

.oat-redesign-top-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.9fr) minmax(285px,.82fr);gap:18px;margin-bottom:18px}
.oat-redesign-middle-grid{display:grid;grid-template-columns:1.08fr .88fr .92fr;gap:18px;margin-bottom:18px}
.oat-redesign-panel,.oat-redesign-topics{min-width:0;border:1px solid var(--oat-line);border-radius:2px;background:#fff;box-shadow:none}
.oat-redesign-panel{padding:18px}
.oat-redesign-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;margin-bottom:13px;border-bottom:1px solid #e1e3e6}
.oat-redesign-panel-heading:after{content:"";position:absolute}
.oat-redesign-panel-heading .oat-redesign-kicker{
  margin:0;color:var(--oat-ink);font:700 18px/1.2 Georgia,"Times New Roman",serif;text-transform:none;letter-spacing:0;
}
.oat-redesign-panel-heading .oat-redesign-kicker:before{content:"";display:inline-block;width:4px;height:16px;background:var(--oat-gold);margin-right:8px;vertical-align:-2px}
.oat-redesign-panel-heading>a{font-size:12px;font-weight:700;color:var(--oat-blue);text-decoration:none}
.oat-redesign-panel-heading>a:hover{text-decoration:underline}
.oat-redesign-empty{margin:8px 0;color:#777;font-size:14px;line-height:1.5}

.oat-redesign-featured{display:grid;grid-template-columns:minmax(170px,39%) 1fr;column-gap:21px;align-content:start}
.oat-redesign-featured>.oat-redesign-panel-heading{grid-column:1/-1}
.oat-redesign-featured-image{
  width:100%;height:270px;border:0;background:#fafafa;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.oat-redesign-featured-image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:0;box-sizing:border-box}
.oat-redesign-featured-image .oat-home-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.oat-redesign-featured-copy{min-width:0;align-self:center}
.oat-redesign-featured-copy h2{margin:0 0 9px!important;color:var(--oat-ink)!important;font:700 clamp(1.4rem,2vw,2.05rem)/1.12 Georgia,"Times New Roman",serif!important;overflow-wrap:normal!important;word-break:normal!important}
.oat-redesign-featured-copy p{margin:0 0 15px;color:#4f5358;font-size:14px;line-height:1.55}
.oat-redesign-read{font-size:13px;padding:8px 13px}

.oat-redesign-calendar-panel .oat-redesign-panel-heading strong{font:700 15px Georgia,"Times New Roman",serif;color:var(--oat-gold)}
.oat-redesign-calendar{max-width:365px;margin:3px auto 14px}
.oat-redesign-weekdays,.oat-redesign-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.oat-redesign-weekdays{margin-bottom:5px;color:#6f7276;font-size:10px;font-weight:800;text-transform:uppercase}
.oat-redesign-days span{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;min-width:0;border-radius:50%;font-size:12px;color:#353535}
.oat-redesign-days span.is-today{background:var(--oat-gold);color:#fff;font-weight:800;box-shadow:0 0 0 3px #f6eddc}
.oat-redesign-days span.is-blank{visibility:hidden}
.oat-redesign-today-list{border-top:1px solid #e2e4e6;padding-top:11px}
.oat-redesign-today-list>a{display:grid;grid-template-columns:55px 1fr;gap:10px;padding:8px 0;text-decoration:none!important;color:#333!important;border-bottom:1px dotted #ddd}
.oat-redesign-today-list>a strong{color:var(--oat-gold)}
.oat-redesign-today-list>a span{font:700 13px/1.35 Georgia,"Times New Roman",serif;color:var(--oat-blue)}
.oat-redesign-today-list p{margin:4px 0;color:#747474;font-size:13px;line-height:1.45}

.oat-redesign-person-list{display:grid;gap:9px}
.oat-redesign-person-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:11px;min-width:0;padding:6px;text-decoration:none!important;color:#222!important;background:transparent!important;border:1px solid transparent}
.oat-redesign-person-card:hover{border-color:#dfe2e5;background:#fbfbfb!important}
.oat-redesign-person-image{width:58px;height:68px;overflow:hidden;border-radius:1px;background:#f8f8f8;border:1px solid #e0e1e2;display:flex;align-items:center;justify-content:center}
.oat-redesign-person-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#fff}
.oat-redesign-person-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#999}
.oat-redesign-person-copy{display:block;min-width:0}
.oat-redesign-person-copy strong{display:block!important;margin:0!important;font:700 12.5px/1.2 Georgia,"Times New Roman",serif!important;color:var(--oat-ink)!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:none!important}
.oat-redesign-person-copy small{display:block;margin-top:3px;color:#6f6f6f;font-size:10.5px}
.oat-redesign-person-list.is-compact .oat-redesign-person-image{width:50px;height:58px}
.oat-redesign-person-list.is-compact .oat-redesign-person-card{grid-template-columns:50px minmax(0,1fr)}

.oat-redesign-article-list{display:grid;gap:1px}
.oat-redesign-article-list .oat-home-side-item{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:11px!important;padding:8px 0!important;border-bottom:1px solid #ededed!important;text-decoration:none!important;background:transparent!important}
.oat-redesign-article-list .oat-home-side-thumb{width:64px!important;height:54px!important;border-radius:1px!important;overflow:hidden!important;background:#fafafa!important;display:flex!important;align-items:center!important;justify-content:center!important}
.oat-redesign-article-list .oat-home-side-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.oat-redesign-article-list .oat-home-side-copy strong{font:700 13px/1.27 Georgia,"Times New Roman",serif!important;color:var(--oat-blue)!important}
.oat-redesign-article-list .oat-home-side-copy small{display:block!important;margin-top:3px!important;font-size:10.5px!important;color:#777!important}

.oat-redesign-categories{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.oat-redesign-categories button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:8px 10px!important;background:transparent!important;border:1px solid #dedfe1!important;border-radius:1px!important;color:var(--oat-blue)!important;box-shadow:none!important;text-align:left!important}
.oat-redesign-categories button:hover,.oat-redesign-categories button.is-active{background:#fffaf0!important;border-color:#d6bd88!important}
.oat-redesign-categories button span{font-size:12px;font-weight:700}
.oat-redesign-categories button small{color:#777;font-size:10px}

.oat-redesign-topics{padding:18px}
.oat-redesign-topic-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.oat-redesign-topic{min-width:0;min-height:102px;padding:12px 6px!important;background:transparent!important;border:1px solid #d9dde1!important;border-radius:1px!important;box-shadow:none!important;color:var(--oat-blue)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important}
.oat-redesign-topic:hover,.oat-redesign-topic.is-active{background:#fffaf0!important;border-color:#d5bc86!important}
.oat-redesign-topic-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:transparent;color:var(--oat-gold);overflow:hidden;border:1px solid #eadfc8}
.oat-redesign-topic-icon .dashicons{width:23px;height:23px;font-size:23px;line-height:23px;color:var(--oat-blue)}
.oat-redesign-topic-icon img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.oat-redesign-topic strong{font:700 12px/1.22 Georgia,"Times New Roman",serif;color:var(--oat-blue)}

@media(max-width:1100px){
  .oat-redesign-top-grid{grid-template-columns:1fr 1fr}.oat-redesign-people-panel{grid-column:1/-1}.oat-redesign-person-list:not(.is-compact){grid-template-columns:repeat(3,1fr)}
  .oat-redesign-middle-grid{grid-template-columns:1fr 1fr}.oat-redesign-middle-grid>section:last-child{grid-column:1/-1}.oat-redesign-person-list.is-compact{grid-template-columns:repeat(4,1fr)}
  .oat-redesign-topic-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:760px){
  .oat-encyclopedia-redesign{padding:22px 14px 42px}.oat-redesign-header{display:block}.oat-redesign-admin-actions{margin-top:13px}
  .oat-redesign-top-grid,.oat-redesign-middle-grid{grid-template-columns:1fr}.oat-redesign-people-panel,.oat-redesign-middle-grid>section:last-child{grid-column:auto}
  .oat-redesign-featured{grid-template-columns:1fr}.oat-redesign-featured-image{height:240px;margin-bottom:15px}
  .oat-redesign-person-list:not(.is-compact),.oat-redesign-person-list.is-compact{grid-template-columns:1fr 1fr}
  .oat-redesign-topic-grid{grid-template-columns:repeat(2,1fr)}
  .oat-redesign-categories{grid-template-columns:1fr}.oat-redesign-az{align-items:flex-start;flex-direction:column}.oat-redesign-az>div{max-width:100%;overflow-x:auto;padding-bottom:3px}
}
@media(max-width:480px){.oat-redesign-person-list:not(.is-compact),.oat-redesign-person-list.is-compact{grid-template-columns:1fr}.oat-redesign-topic-grid{grid-template-columns:1fr 1fr}}

/* =============================================================
   v13.2.0 — Classic encyclopedia homepage redesign
   ============================================================= */
.oat-encyclopedia-redesign{max-width:1540px;padding:0 0 34px;background:#fff;color:#101820;border:1px solid #dfe3e7;--oat-blue:#0d3d69;--oat-line:#d9dfe5;--oat-soft:#f8fafb;--oat-gold:#0d3d69}
.oat-redesign-header{display:grid;grid-template-columns:auto minmax(420px,1fr) auto;align-items:center;gap:28px;padding:18px 42px 14px;border-bottom:1px solid var(--oat-line);background:#fff}
.oat-redesign-brand h1{margin:0!important;font:700 clamp(2rem,3.4vw,3rem)/.98 Georgia,"Times New Roman",serif!important;letter-spacing:.06em;text-transform:uppercase;color:#111!important}
.oat-redesign-brand h1:after{display:none!important}
.oat-redesign-tagline{margin:5px 0 0!important;font:600 12px/1.1 Georgia,"Times New Roman",serif!important;letter-spacing:.18em;text-transform:uppercase;color:#515962!important}
.oat-redesign-header-tools{display:flex;align-items:center;gap:16px;min-width:0}
.oat-redesign-search{margin:0!important;max-width:none!important;flex:1;min-width:260px}
.oat-redesign-search input{height:42px;min-height:42px;padding:9px 48px 9px 15px!important;border:1px solid #d6dce2;border-radius:4px;background:#fff;font-family:Georgia,"Times New Roman",serif;font-size:14px}
.oat-redesign-search>.dashicons{left:auto!important;right:16px!important;color:#0b2239;font-size:20px}
.oat-redesign-random{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 17px;border-radius:4px;background:#0d3d69;color:#fff!important;text-decoration:none!important;font:700 13px Georgia,"Times New Roman",serif;box-shadow:0 2px 5px rgba(0,0,0,.12)}
.oat-redesign-random:hover{background:#082f53;color:#fff!important}
.oat-redesign-admin-actions{padding:0!important}
.oat-redesign-admin-actions .oat-redesign-outline{font-size:12px;padding:7px 10px}

.oat-redesign-az{max-width:none!important;margin:0!important;padding:10px 42px!important;border-bottom:1px solid var(--oat-line);gap:24px;overflow-x:auto;background:#fff}
.oat-redesign-az strong{font:700 15px Georgia,"Times New Roman",serif!important;color:#111}
.oat-redesign-az>div{gap:12px!important;align-items:center}
.oat-redesign-az button{width:auto!important;height:auto!important;min-width:28px;padding:4px 5px!important;border:0!important;background:transparent!important;color:#0d2743!important;font:700 14px Georgia,"Times New Roman",serif!important}
.oat-redesign-az button:hover,.oat-redesign-az button.is-active{background:transparent!important;color:#0d3d69!important;text-decoration:underline}

.oat-redesign-top-grid,.oat-redesign-middle-grid,.oat-redesign-topics{margin-left:42px!important;margin-right:42px!important}
.oat-redesign-top-grid{grid-template-columns:1.03fr .94fr 1.02fr;gap:22px;margin-top:18px!important;margin-bottom:18px!important}
.oat-redesign-middle-grid{grid-template-columns:1fr .92fr 1fr;gap:22px;margin-bottom:18px!important}
.oat-redesign-panel,.oat-redesign-topics{border:0!important;border-radius:0!important;background:#fff!important;padding:0!important}
.oat-redesign-panel+.oat-redesign-panel{border-left:1px solid #e5e8eb!important;padding-left:22px!important}
.oat-redesign-panel-heading{position:relative;padding:0 0 9px!important;margin:0 0 12px!important;border-bottom:1px solid #254f73!important}
.oat-redesign-panel-heading .oat-redesign-kicker{font:700 15px/1.2 Georgia,"Times New Roman",serif!important;text-transform:uppercase!important;letter-spacing:0!important;color:#111!important}
.oat-redesign-panel-heading .oat-redesign-kicker:before{display:none!important}
.oat-redesign-panel-heading>a{font:400 12px Georgia,"Times New Roman",serif!important;color:#0d3d69!important}

.oat-redesign-featured{display:block!important}
.oat-redesign-featured-image{height:210px!important;margin:0 0 10px!important;background:#f3f5f6!important;border-radius:3px!important;overflow:hidden!important}
.oat-redesign-featured-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.oat-redesign-featured-copy{align-self:auto!important}
.oat-redesign-featured-copy h2{margin:0 0 4px!important;font:700 22px/1.15 Georgia,"Times New Roman",serif!important;color:#0d3d69!important}
.oat-redesign-featured-copy p{margin:0 0 11px!important;color:#24292e!important;font:400 13.5px/1.45 Georgia,"Times New Roman",serif!important}
.oat-redesign-read{padding:8px 24px!important;border-color:#9aa9b6!important;color:#0d2743!important;font:700 12px Georgia,"Times New Roman",serif!important;border-radius:2px!important}

.oat-redesign-calendar-panel .oat-redesign-panel-heading strong{font:700 16px Georgia,"Times New Roman",serif!important;color:#111!important}
.oat-redesign-calendar{max-width:420px!important;margin:2px auto 10px!important}
.oat-redesign-weekdays{font:700 11px Georgia,"Times New Roman",serif!important;text-transform:none!important;color:#171717!important}
.oat-redesign-days{gap:3px!important}
.oat-redesign-days span{aspect-ratio:auto!important;height:29px!important;border-radius:50%!important;font:400 12px Georgia,"Times New Roman",serif!important;color:#111!important}
.oat-redesign-days span.is-today{width:29px!important;justify-self:center;background:#0d3d69!important;color:#fff!important;box-shadow:none!important}
.oat-redesign-today-list{border-top:0!important;padding-top:4px!important}
.oat-redesign-today-list>a{grid-template-columns:70px 1fr!important;padding:7px 8px!important;border-left:2px solid #dfe4e8!important;border-bottom:0!important}
.oat-redesign-today-list>a strong{color:#0d3d69!important;font-family:Georgia,"Times New Roman",serif}

.oat-redesign-person-list{gap:0!important}
.oat-redesign-person-card{grid-template-columns:82px minmax(0,1fr)!important;gap:14px!important;padding:8px 10px!important;border:0!important;border-bottom:1px solid #e6e8ea!important;background:#fff!important}
.oat-redesign-person-card:hover{background:#f9fafb!important}
.oat-redesign-person-image{width:82px!important;height:88px!important;border-radius:3px!important;border:0!important;background:#f3f3f3!important}
.oat-redesign-person-image img{object-fit:cover!important;filter:grayscale(1)}
.oat-redesign-person-copy strong{font:700 16px/1.2 Georgia,"Times New Roman",serif!important;color:#0d3d69!important}
.oat-redesign-person-copy small{font:400 12px Georgia,"Times New Roman",serif!important;color:#565c63!important}
.oat-redesign-person-list.is-compact .oat-redesign-person-card{grid-template-columns:44px minmax(0,1fr)!important;padding:6px 0!important}
.oat-redesign-person-list.is-compact .oat-redesign-person-image{width:44px!important;height:42px!important}
.oat-redesign-person-list.is-compact .oat-redesign-person-copy strong{font-size:13px!important}

.oat-redesign-article-list .oat-home-side-item{grid-template-columns:18px minmax(0,1fr)!important;gap:8px!important;padding:7px 0!important}
.oat-redesign-article-list .oat-home-side-thumb{width:18px!important;height:18px!important;background:transparent!important}
.oat-redesign-article-list .oat-home-side-thumb img{display:none!important}
.oat-redesign-article-list .oat-home-side-thumb:after{content:"▧";color:#0d3d69;font-size:12px}
.oat-redesign-article-list .oat-home-side-copy strong{font:400 13px/1.25 Georgia,"Times New Roman",serif!important;color:#0d3d69!important}
.oat-redesign-article-list .oat-home-side-copy small{font-size:10px!important}

.oat-redesign-categories{grid-template-columns:1fr!important;gap:0!important}
.oat-redesign-categories button{min-height:29px!important;padding:5px 7px!important;border:0!important;background:#fff!important;color:#0d2743!important;font-family:Georgia,"Times New Roman",serif!important}
.oat-redesign-categories button:before{content:"▱";margin-right:7px;color:#0d3d69}
.oat-redesign-categories button:hover,.oat-redesign-categories button.is-active{background:#f7f9fb!important;border:0!important}
.oat-redesign-categories button span{font-size:12px!important;font-weight:400!important}

.oat-redesign-topics{padding-top:14px!important;border-top:1px solid #e4e8eb!important}
.oat-redesign-topics>.oat-redesign-panel-heading{margin-bottom:12px!important}
.oat-redesign-topic-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:12px!important}
.oat-redesign-topic{min-height:116px!important;padding:13px 6px!important;border:1px solid #dce2e7!important;border-radius:4px!important;background:#fff!important;color:#0d2743!important;gap:8px!important}
.oat-redesign-topic:hover,.oat-redesign-topic.is-active{background:#f7f9fb!important;border-color:#b8c5d0!important}
.oat-redesign-topic-icon{width:46px!important;height:46px!important;border:0!important;border-radius:0!important;color:#0d3d69!important}
.oat-redesign-topic-icon .dashicons{font-size:31px!important;width:31px!important;height:31px!important;line-height:31px!important;color:#334b62!important}
.oat-redesign-topic strong{font:700 11.5px/1.2 Georgia,"Times New Roman",serif!important;color:#0d2743!important}

@media(max-width:1100px){
 .oat-redesign-header{grid-template-columns:1fr;gap:13px}.oat-redesign-header-tools{width:100%}.oat-redesign-top-grid{grid-template-columns:1fr 1fr!important}.oat-redesign-people-panel{grid-column:1/-1!important;border-left:0!important;padding-left:0!important}.oat-redesign-middle-grid{grid-template-columns:1fr 1fr!important}.oat-redesign-middle-grid>section:last-child{grid-column:1/-1!important;border-left:0!important;padding-left:0!important}.oat-redesign-topic-grid{grid-template-columns:repeat(5,1fr)!important}
}
@media(max-width:760px){
 .oat-encyclopedia-redesign{padding:0 0 28px!important}.oat-redesign-header{padding:16px 18px!important}.oat-redesign-header-tools{display:block}.oat-redesign-random{margin-top:10px}.oat-redesign-az{padding:10px 18px!important}.oat-redesign-top-grid,.oat-redesign-middle-grid,.oat-redesign-topics{margin-left:18px!important;margin-right:18px!important}.oat-redesign-top-grid,.oat-redesign-middle-grid{grid-template-columns:1fr!important}.oat-redesign-panel+.oat-redesign-panel{border-left:0!important;padding-left:0!important;border-top:1px solid #e5e8eb!important;padding-top:18px!important}.oat-redesign-topic-grid{grid-template-columns:repeat(2,1fr)!important}
}

/* v13.4.1 — true full-width encyclopedia page */
.oat-encyclopedia-redesign{
  width:100vw!important;
  max-width:none!important;
  position:relative!important;
  left:50%!important;
  right:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  border-left:0!important;
  border-right:0!important;
  box-sizing:border-box!important;
}
.oat-encyclopedia-redesign .oat-redesign-header,
.oat-encyclopedia-redesign .oat-redesign-az,
.oat-encyclopedia-redesign .oat-redesign-top-grid,
.oat-encyclopedia-redesign .oat-redesign-middle-grid,
.oat-encyclopedia-redesign .oat-redesign-topics,
.oat-encyclopedia-redesign .oat-redesign-people,
.oat-encyclopedia-redesign .oat-redesign-footer-note{
  max-width:none!important;
}
.oat-encyclopedia-redesign .oat-redesign-top-grid,
.oat-encyclopedia-redesign .oat-redesign-middle-grid,
.oat-encyclopedia-redesign .oat-redesign-topics,
.oat-encyclopedia-redesign .oat-redesign-people{
  margin-left:clamp(24px,4vw,72px)!important;
  margin-right:clamp(24px,4vw,72px)!important;
}
.oat-encyclopedia-redesign .oat-redesign-header{
  padding-left:clamp(24px,4vw,72px)!important;
  padding-right:clamp(24px,4vw,72px)!important;
}
.oat-encyclopedia-redesign .oat-redesign-az{
  padding-left:clamp(24px,4vw,72px)!important;
  padding-right:clamp(24px,4vw,72px)!important;
}
@media(max-width:760px){
 .oat-encyclopedia-redesign{width:100vw!important;left:50%!important;margin-left:-50vw!important;margin-right:-50vw!important}
}


/* v13.4.2 — FORCE EDGE-TO-EDGE WIDTH THROUGH THE THEME CONTENT SHELL */
html,body{overflow-x:hidden}
body.oat-encyclopedia-edge-page .oat-encyclopedia-redesign{
  display:block!important;
  position:relative!important;
  box-sizing:border-box!important;
  width:100vw!important;
  min-width:100vw!important;
  max-width:100vw!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:visible!important;
}
body.oat-encyclopedia-edge-page .oat-encyclopedia-full-host{
  max-width:none!important;
  width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:visible!important;
}
body.oat-encyclopedia-edge-page main.oat-encyclopedia-full-host,
body.oat-encyclopedia-edge-page article.oat-encyclopedia-full-host,
body.oat-encyclopedia-edge-page .entry-content.oat-encyclopedia-full-host,
body.oat-encyclopedia-edge-page .page-content.oat-encyclopedia-full-host,
body.oat-encyclopedia-edge-page .site-content.oat-encyclopedia-full-host,
body.oat-encyclopedia-edge-page .content-area.oat-encyclopedia-full-host{
  max-width:none!important;
  width:100%!important;
  flex:0 0 100%!important;
}
/* Keep the content comfortably inset while the encyclopedia shell itself spans the browser. */
body.oat-encyclopedia-edge-page .oat-redesign-header,
body.oat-encyclopedia-edge-page .oat-redesign-az{
  width:100%!important;
  box-sizing:border-box!important;
  padding-left:clamp(24px,3vw,54px)!important;
  padding-right:clamp(24px,3vw,54px)!important;
}
body.oat-encyclopedia-edge-page .oat-redesign-top-grid,
body.oat-encyclopedia-edge-page .oat-redesign-middle-grid,
body.oat-encyclopedia-edge-page .oat-redesign-topics,
body.oat-encyclopedia-edge-page .oat-redesign-people{
  width:auto!important;
  max-width:none!important;
  margin-left:clamp(24px,3vw,54px)!important;
  margin-right:clamp(24px,3vw,54px)!important;
}
@media(max-width:760px){
  body.oat-encyclopedia-edge-page .oat-encyclopedia-redesign{left:50%!important;transform:translateX(-50%)!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important}
}


/* v13.4.3 — TRUE FULL-BLEED FIX FOR THE ACTIVE v13.4 HOMEPAGE SHELL */
html,body{overflow-x:hidden!important}
body.oat-encyclopedia-edge-page .oat-v134-shell,
.oat-v134-shell{
  display:block!important;
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:100vw!important;
  min-width:100vw!important;
  max-width:100vw!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body.oat-encyclopedia-edge-page .oat-encyclopedia-full-host{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  overflow:visible!important;
}
body.oat-encyclopedia-edge-page #page,
body.oat-encyclopedia-edge-page #content,
body.oat-encyclopedia-edge-page .site,
body.oat-encyclopedia-edge-page .site-content,
body.oat-encyclopedia-edge-page .content-area,
body.oat-encyclopedia-edge-page .main-content,
body.oat-encyclopedia-edge-page .main-container,
body.oat-encyclopedia-edge-page .container,
body.oat-encyclopedia-edge-page .row,
body.oat-encyclopedia-edge-page main,
body.oat-encyclopedia-edge-page article,
body.oat-encyclopedia-edge-page .entry-content{
  max-width:none!important;
}
/* The shell is edge-to-edge; only its internal modules keep small gutters. */
.oat-v134-mast,.oat-v134-az{padding-left:clamp(18px,2.5vw,44px)!important;padding-right:clamp(18px,2.5vw,44px)!important}
.oat-v134-top{padding-left:clamp(18px,2.5vw,44px)!important;padding-right:clamp(18px,2.5vw,44px)!important}
.oat-v134-people,.oat-v134-lower{margin-left:clamp(18px,2.5vw,44px)!important;margin-right:clamp(18px,2.5vw,44px)!important}
@media(max-width:760px){
  .oat-v134-shell{left:50%!important;transform:translateX(-50%)!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important}
}

/* v13.4.4 — REAL FULL-PAGE LAYOUT
   The frontend script reparents .oat-v134-shell outside the theme content column. */
body.oat-encyclopedia-edge-page .oat-v134-shell{
  display:block!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  clear:both!important;
}
body.oat-encyclopedia-edge-page .oat-encyclopedia-original-host-empty{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.oat-encyclopedia-edge-page #page,
body.oat-encyclopedia-edge-page .site{
  max-width:none!important;
  width:100%!important;
}
/* Keep only a slim visual gutter inside the actual modules. */
body.oat-encyclopedia-edge-page .oat-v134-mast,
body.oat-encyclopedia-edge-page .oat-v134-az,
body.oat-encyclopedia-edge-page .oat-v134-top{
  width:100%!important;
  max-width:none!important;
}
body.oat-encyclopedia-edge-page .oat-v134-people,
body.oat-encyclopedia-edge-page .oat-v134-lower{
  max-width:none!important;
}

/* v13.4.5 — theme-fit polish: smaller encyclopedia title, fitted imagery, transparent controls */
.oat-v134-title{font-size:clamp(32px,3.8vw,52px)!important;letter-spacing:.025em!important}
.oat-v134-feature-img{overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f4f2ed!important}
.oat-v134-feature-img img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important}
.oat-v134-person-photo{overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f5f5f5!important}
.oat-v134-person-photo img,.oat-v134-thumb img,.oat-v134-know-img img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
/* Transparent buttons/controls while retaining borders and readable theme-blue text. */
.oat-v134-shell button,
.oat-v134-random,
.oat-v134-read,
.oat-v134-collection-all,
.oat-v134-know a,
.oat-v134-topic,
.oat-v134-category,
.oat-v134-az button{
 background:transparent!important;
 background-color:transparent!important;
 color:var(--oat-blue-dark)!important;
 border:1px solid #aebbc6!important;
 box-shadow:none!important;
}
.oat-v134-shell button:hover,.oat-v134-shell button:focus,
.oat-v134-random:hover,.oat-v134-random:focus,
.oat-v134-read:hover,.oat-v134-read:focus,
.oat-v134-collection-all:hover,.oat-v134-collection-all:focus,
.oat-v134-know a:hover,.oat-v134-know a:focus,
.oat-v134-topic:hover,.oat-v134-topic:focus,.oat-v134-topic.is-active,
.oat-v134-category:hover,.oat-v134-category:focus,.oat-v134-category.is-active,
.oat-v134-az button:hover,.oat-v134-az button:focus,.oat-v134-az button.is-active{
 background:rgba(18,61,100,.06)!important;
 color:var(--oat-blue-dark)!important;
 border-color:var(--oat-blue)!important;
}

/* v13.4.6 — black link text */
.oat-v134-shell a,
.oat-v134-shell a:visited,
.oat-v134-shell button,
.oat-v134-shell .oat-v134-random,
.oat-v134-shell .oat-v134-read,
.oat-v134-shell .oat-v134-collection-all,
.oat-v134-shell .oat-v134-topic,
.oat-v134-shell .oat-v134-category,
.oat-v134-shell .oat-v134-az button{
  color:#000!important;
}
.oat-v134-shell a:hover,
.oat-v134-shell a:focus,
.oat-v134-shell button:hover,
.oat-v134-shell button:focus{
  color:#000!important;
}

/* v13.4.8 — A–Z directory routing */
.oat-index-directory-wrap.oat-v134-shell{width:100%;max-width:none!important;box-sizing:border-box;padding:24px clamp(16px,3vw,48px) 56px;background:#fff}
.oat-index-directory-wrap .oat-az a.is-active{background:#f1f3f5!important;border-color:#8e99a4!important;font-weight:800}
.oat-index-directory-wrap .oat-letter-section{scroll-margin-top:24px}

/* v13.5.2 — fit all Encyclopedia pictured icons/thumbnails cleanly inside their frames */
.oat-v134-person-photo,
.oat-v134-thumb,
.oat-v134-know-img,
.oat-v134-feature-img,
.oat-v134-topic-icon,
.oat-v134-collection-icon,
.oat-v134-icon,
.oat-v134-card-icon{
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
.oat-v134-person-photo img,
.oat-v134-thumb img,
.oat-v134-know-img img,
.oat-v134-feature-img img,
.oat-v134-topic-icon img,
.oat-v134-collection-icon img,
.oat-v134-icon img,
.oat-v134-card-icon img,
.oat-v134-shell img[class*="icon"],
.oat-v134-shell img[class*="thumb"],
.oat-v134-shell img[class*="photo"]{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  box-sizing:border-box!important;
}
/* Give small icon artwork a little breathing room, while portraits remain edge-safe. */
.oat-v134-topic-icon img,
.oat-v134-collection-icon img,
.oat-v134-icon img,
.oat-v134-card-icon img,
.oat-v134-shell img[class*="icon"]{
  padding:4px!important;
}


/* v13.5.3 — People in the Archive: show the complete portrait/icon inside its tile */
.oat-v134-people .oat-v134-person-photo{background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.oat-v134-people .oat-v134-person-photo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;padding:0!important;margin:0!important;display:block!important;filter:none!important;}


/* v13.5.4 — Recently Added Articles: larger, readable pictured thumbnails */
.oat-v134-articles .oat-v134-article{grid-template-columns:82px minmax(0,1fr)!important;gap:11px!important;}
.oat-v134-articles .oat-v134-thumb{width:82px!important;height:62px!important;min-width:82px!important;background:#f4f4f4!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
.oat-v134-articles .oat-v134-thumb img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;padding:0!important;margin:0!important;display:block!important;}
@media (max-width:700px){.oat-v134-articles .oat-v134-article{grid-template-columns:72px minmax(0,1fr)!important}.oat-v134-articles .oat-v134-thumb{width:72px!important;height:56px!important;min-width:72px!important}}

/* v13.5.6 — Did You Know panel: all text black */
.oat-v134-know,
.oat-v134-know h2,
.oat-v134-know h3,
.oat-v134-know p,
.oat-v134-know span,
.oat-v134-know strong,
.oat-v134-know a,
.oat-v134-know a:visited,
.oat-v134-know a:hover,
.oat-v134-know a:focus {
  color:#000!important;
}

/* v13.5.6 — Did You Know button/link text: force black over theme button styles */
.oat-v134-shell .oat-v134-know a,
.oat-v134-shell .oat-v134-know a:link,
.oat-v134-shell .oat-v134-know a:visited,
.oat-v134-shell .oat-v134-know a:hover,
.oat-v134-shell .oat-v134-know a:active,
.oat-v134-shell .oat-v134-know a:focus,
.oat-v134-shell .oat-v134-know a *,
.oat-v134-shell .oat-v134-know a::before,
.oat-v134-shell .oat-v134-know a::after {
  color:#000000!important;
  -webkit-text-fill-color:#000000!important;
}


/* v13.5.7 — exact Did You Know CTA markup; override theme link/button typography */
html body .oat-v134-shell .oat-v134-know a.oat-dyk-link,
html body .oat-v134-shell .oat-v134-know a.oat-dyk-link:link,
html body .oat-v134-shell .oat-v134-know a.oat-dyk-link:visited,
html body .oat-v134-shell .oat-v134-know a.oat-dyk-link:hover,
html body .oat-v134-shell .oat-v134-know a.oat-dyk-link:focus,
html body .oat-v134-shell .oat-v134-know a.oat-dyk-link:active,
html body .oat-v134-shell .oat-v134-know a.oat-dyk-link span {
 color:#000000!important;
 -webkit-text-fill-color:#000000!important;
 text-shadow:none!important;
}


/* v13.5.9 — warm heritage background + integrated theme header search icon */
/* Keep the existing layout/cards, but give the Encyclopedia canvas a subtle
   warm ivory tone so the page feels fuller and more connected to the OAT banner. */
.oat-v134-shell,
body.oat-encyclopedia-edge-page .oat-v134-shell,
.oat-index-directory-wrap.oat-v134-shell{
  background:#f7f4ee!important;
}
.oat-v134-card,
.oat-v134-people,
.oat-v134-panel,
.oat-v134-collections,
.oat-v134-calendar{
  background-color:#fff!important;
}
.oat-v134-feature{
  background:#f3eee6!important;
}

/* OAT/Ashe-style top-right site search: make the magnifier part of the input
   instead of a detached narrow button. Scoped to header/navigation search forms. */
header .search-form,
.site-header .search-form,
.main-nav .search-form,
.main-navigation .search-form,
#main-nav .search-form,
.header-search .search-form,
.top-search .search-form,
.search-header .search-form{
  position:relative!important;
  display:block!important;
}
header .search-form input[type="search"],
.site-header .search-form input[type="search"],
.main-nav .search-form input[type="search"],
.main-navigation .search-form input[type="search"],
#main-nav .search-form input[type="search"],
.header-search .search-form input[type="search"],
.top-search .search-form input[type="search"],
.search-header .search-form input[type="search"]{
  width:100%!important;
  padding-right:38px!important;
  box-sizing:border-box!important;
}
header .search-form button,
header .search-form input[type="submit"],
.site-header .search-form button,
.site-header .search-form input[type="submit"],
.main-nav .search-form button,
.main-nav .search-form input[type="submit"],
.main-navigation .search-form button,
.main-navigation .search-form input[type="submit"],
#main-nav .search-form button,
#main-nav .search-form input[type="submit"],
.header-search .search-form button,
.header-search .search-form input[type="submit"],
.top-search .search-form button,
.top-search .search-form input[type="submit"],
.search-header .search-form button,
.search-header .search-form input[type="submit"]{
  position:absolute!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  width:36px!important;
  min-width:36px!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#111!important;
  z-index:2!important;
}
header .search-form button:hover,
header .search-form button:focus,
.site-header .search-form button:hover,
.site-header .search-form button:focus,
.main-nav .search-form button:hover,
.main-nav .search-form button:focus,
.main-navigation .search-form button:hover,
.main-navigation .search-form button:focus,
#main-nav .search-form button:hover,
#main-nav .search-form button:focus{
  background:transparent!important;
  color:#111!important;
}

/* v13.6.1 — one continuous warm heritage background across the Encyclopedia */
html body .oat-v134-shell,
html body .oat-v134-shell .oat-v134-mast,
html body .oat-v134-shell .oat-v134-az,
html body .oat-v134-shell .oat-v134-card,
html body .oat-v134-shell .oat-v134-feature,
html body .oat-v134-shell .oat-v134-calendar,
html body .oat-v134-shell .oat-v134-collections,
html body .oat-v134-shell .oat-v134-people,
html body .oat-v134-shell .oat-v134-panel,
html body .oat-v134-shell .oat-v134-know,
html body .oat-v134-shell .oat-v134-person-card,
html body .oat-v134-shell .oat-v134-category,
html body .oat-v134-shell .oat-v134-topic,
html body .oat-index-directory-wrap.oat-v134-shell {
  background:#f7f4ee!important;
  background-color:#f7f4ee!important;
}
html body .oat-v134-shell .oat-v134-person-photo img,
html body .oat-v134-shell .oat-v134-person-image img,
html body .oat-v134-shell .oat-v134-thumb img {
  background:#f7f4ee!important;
}
html body .oat-v134-shell .oat-v134-category:hover,
html body .oat-v134-shell .oat-v134-category.is-active,
html body .oat-v134-shell .oat-v134-topic:hover,
html body .oat-v134-shell .oat-v134-topic.is-active,
html body .oat-v134-shell .oat-v134-person-card:hover {
  background:#f1ece3!important;
}


/* v13.6.4 — Recently Added Articles cards inherit the Encyclopedia background */
html body .oat-v134-shell .oat-v134-articles .oat-v134-article,
html body .oat-v134-shell .oat-v134-articles a.oat-home-card.oat-v134-article {
  background: transparent !important;
  background-color: transparent !important;
}
html body .oat-v134-shell .oat-v134-articles .oat-v134-article:hover,
html body .oat-v134-shell .oat-v134-articles .oat-v134-article:focus {
  background: transparent !important;
  background-color: transparent !important;
}

/* v13.7.7 article widgets inserted by the full-page visual editor. */
.oat-article-widget{margin:1.4em 0;padding:18px 20px;border:1px solid #ccd0d4;border-radius:6px;box-sizing:border-box}
.oat-article-info{border-left:4px solid #2271b1;background:#f6f9fc}
.oat-article-highlight{border-left:4px solid #dba617;background:#fff9df}
.oat-article-pullquote{margin:1.6em 0;padding:18px 24px;border-left:4px solid #777;font-size:1.12em;font-style:italic}
.oat-article-pullquote cite{display:block;margin-top:8px;font-size:.85em;font-style:normal}
.oat-article-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:1.4em 0}
.oat-article-table{width:100%;border-collapse:collapse;margin:1.4em 0}.oat-article-table th,.oat-article-table td{border:1px solid #c9c9c9;padding:9px 10px;text-align:left}
.oat-article-divider{margin:2em 0;border:0;border-top:1px solid #bbb}
.oat-article-button{display:inline-block;padding:9px 15px;border:1px solid currentColor;border-radius:4px;text-decoration:none!important;font-weight:700}
@media(max-width:700px){.oat-article-columns{grid-template-columns:1fr}}

/* v13.8.0 Historical Encyclopedia infobox */
.oat-historical-infobox{background:rgba(255,255,255,.72);border:1px solid rgba(0,0,0,.28);box-shadow:none;border-radius:4px;overflow:hidden}
.oat-historical-infobox h3{padding:10px 12px;margin:0;border-bottom:1px solid rgba(0,0,0,.18);background:transparent}
.oat-historical-infobox table{margin:0}
.oat-historical-infobox th{background:rgba(0,0,0,.035)}
.oat-historical-infobox th,.oat-historical-infobox td{border-top:1px solid rgba(0,0,0,.12)}
.oat-historical-infobox .oat-profile-img{display:block;max-width:100%;height:auto;margin:0 auto 8px}
@media (max-width:760px){.oat-historical-infobox{float:none!important;width:auto!important;margin:0 0 20px!important}}

/* v13.8.1: administrator editing controls directly on historical pages */
.oat-on-page-edit-tools{max-width:1180px;margin:16px auto;padding:10px 12px;border:1px solid rgba(0,0,0,.18);border-radius:5px;background:rgba(255,255,255,.55);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.oat-edit-on-page-wrap{max-width:1240px;margin:24px auto;padding:0 18px}


/* v13.8.2 - visible edit controls on published historical pages */
.oat-on-page-edit-tools{
  max-width:1180px;
  margin:14px auto 18px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  border:1px solid rgba(0,0,0,.14);
  background:transparent;
}
.oat-on-page-edit-tools strong{margin-right:4px}
.oat-on-page-edit-tools .button{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:6px 12px;
  text-decoration:none;
}

/* v13.8.3 — transparent Encyclopedia infoboxes */
.oat-entry-wrap .oat-infobox,
.oat-entry-wrap .oat-historical-infobox,
.oat-entry-wrap .oat-bridge-infobox{
  background:transparent!important;
  box-shadow:none!important;
}
.oat-entry-wrap .oat-infobox h3,
.oat-entry-wrap .oat-infobox table,
.oat-entry-wrap .oat-infobox tbody,
.oat-entry-wrap .oat-infobox tr,
.oat-entry-wrap .oat-infobox th,
.oat-entry-wrap .oat-infobox td{
  background:transparent!important;
}
.oat-entry-wrap .oat-infobox .oat-profile-img,
.oat-entry-wrap .oat-infobox .oat-signature-img,
.oat-entry-wrap .oat-infobox .oat-no-image,
.oat-entry-wrap .oat-infobox .oat-caption{
  background:transparent!important;
}
.oat-entry-wrap .oat-infobox th,
.oat-entry-wrap .oat-infobox td{
  border-top:1px solid rgba(17,17,17,.18)!important;
}
.oat-entry-wrap .oat-infobox{
  border-color:rgba(17,17,17,.35)!important;
}

/* v13.8.5 — richer On This Day home-card entries */
.oat-redesign-today-list a small,.oat-v134-today small{display:block;margin-top:3px;font-size:11px;line-height:1.35;font-weight:400;color:inherit;opacity:.8}

/* v13.8.6 — show every On This Day event and make small collection sets fill their panel. */
.oat-v1386-today-events{display:grid;gap:10px;margin-top:7px}
.oat-v1386-today-event{display:grid;gap:3px;padding-top:9px;border-top:1px solid rgba(0,0,0,.10)}
.oat-v1386-today-event:first-child{padding-top:0;border-top:0}
.oat-v1386-today-event span{display:block;font-weight:700}
.oat-v1386-today-event small{display:block;line-height:1.35}
.oat-v1386-today-event a{display:inline-block;width:max-content;margin-top:2px;font-weight:700;text-decoration:none}
.oat-v134-collections .oat-v134-collection-grid{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}

/* v13.8.7 — Browse Collections are real navigation links. */
.oat-v134-collections a.oat-v134-category{display:block;text-decoration:none!important;cursor:pointer}


/* v13.8.8 — make directory A–Z navigation match the Encyclopedia homepage */
.oat-simple-encyclopedia-nav .oat-simple-letters{
  justify-content:center!important;
  gap:12px!important;
  margin:0 auto 22px!important;
  padding:10px 0!important;
  white-space:nowrap!important;
}
.oat-simple-encyclopedia-nav .oat-simple-az-label{
  color:#111!important;
  font:700 15px Georgia,"Times New Roman",serif!important;
  margin-right:12px!important;
  flex:0 0 auto!important;
}
.oat-simple-encyclopedia-nav .oat-simple-letters a{
  font:700 14px Georgia,"Times New Roman",serif!important;
  line-height:1!important;
  padding:4px 5px!important;
  min-width:0!important;
}
.oat-simple-encyclopedia-nav .oat-simple-letters a:hover{
  color:#0d3d69!important;
  text-decoration:underline!important;
}
@media(max-width:800px){
  .oat-simple-encyclopedia-nav .oat-simple-letters{justify-content:flex-start!important;overflow-x:auto!important;}
  .oat-simple-encyclopedia-nav .oat-simple-az-label{font-size:14px!important;}
  .oat-simple-encyclopedia-nav .oat-simple-letters a{font-size:14px!important;padding:4px 5px!important;}
}

/* v13.9.0 — compact article-connected Did You Know rotation */
.oat-v1390-dyk{display:flex;flex-direction:column;justify-content:center;min-height:150px;text-align:center}
.oat-v1390-dyk p{font-size:16px;line-height:1.6;margin:0 auto 18px;max-width:620px}
.oat-v1390-dyk-actions{display:flex;align-items:center;justify-content:center;gap:18px}
.oat-v1390-dyk-arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid rgba(0,0,0,.28);border-radius:50%;text-decoration:none!important;color:#000!important;background:transparent!important;font-size:24px;line-height:1}
.oat-v1390-dyk-arrow:hover{background:rgba(0,0,0,.06)!important}
.oat-v1390-dyk .oat-dyk-link{color:#000!important;-webkit-text-fill-color:#000!important;text-decoration:none;font-weight:600}
.oat-dyk-editor{margin-top:24px;padding-top:18px;border-top:1px solid rgba(0,0,0,.14)}

/* v13.9.4 — cleaner People Profile presentation in Did You Know */
.oat-v1394-dyk-image{display:flex;justify-content:center;align-items:center;margin:0 auto 8px;padding:0;border:0!important;background:transparent!important;box-shadow:none!important}
.oat-v1394-dyk-image img{display:block;width:auto;max-width:120px;max-height:155px;height:auto;object-fit:contain;margin:0 auto;padding:0!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.oat-v1394-dyk-person{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0 auto 12px;text-align:center}
.oat-v1394-dyk-person strong{font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1.2}
.oat-v1394-dyk-person span{font-size:13px;line-height:1.2;opacity:.72}

/* v13.9.5 — tighter Did You Know person spacing + linked names */
.oat-v1390-dyk{gap:4px!important}
.oat-v1394-dyk-person{margin-bottom:2px!important}
.oat-v1392-dyk-copy p{margin-top:0!important}
.oat-v1392-dyk-copy p a{font-size:inherit!important;font-weight:600;color:#0b57a3!important;text-decoration:none!important}
.oat-v1392-dyk-copy p a:hover,.oat-v1392-dyk-copy p a:focus{text-decoration:underline!important}


/* v13.9.6 — Relationship-style blue links throughout Encyclopedia; clean inline DYK person links */
.oat-entry-wrap a:not(.button):not(.oat-dyk-link),
.oat-simple-encyclopedia a:not(.button),
.oat-encyclopedia-home a:not(.button),
.oat-redesign-shell a:not(.button){color:#0b57a3!important;-webkit-text-fill-color:#0b57a3!important;}
.oat-entry-wrap a:not(.button):not(.oat-dyk-link):hover,
.oat-simple-encyclopedia a:not(.button):hover,
.oat-encyclopedia-home a:not(.button):hover,
.oat-redesign-shell a:not(.button):hover{text-decoration:underline!important;}
/* Keep controls/buttons using their intentional styling. */
.oat-v1390-dyk-arrow,.oat-v1390-dyk .oat-dyk-link{color:#000!important;-webkit-text-fill-color:#000!important;}
/* Names linked inside Did You Know facts are ordinary inline blue text, never theme buttons/cards. */
.oat-v134-know .oat-v1392-dyk-copy p a{color:#0b57a3!important;-webkit-text-fill-color:#0b57a3!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;padding:0!important;margin:0!important;display:inline!important;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;border-radius:0!important;font:inherit!important;font-weight:600!important;line-height:inherit!important;text-decoration:none!important;}
.oat-v134-know .oat-v1392-dyk-copy p a:hover,.oat-v134-know .oat-v1392-dyk-copy p a:focus{color:#0b57a3!important;-webkit-text-fill-color:#0b57a3!important;background:transparent!important;text-decoration:underline!important;}

/* v13.9.7 — Browse A–Z navigation: black links, blue hover, no boxes */
.oat-v134-az strong,
.oat-simple-encyclopedia-nav .oat-simple-az-label,
.oat-home-az-top strong{color:#111!important;-webkit-text-fill-color:#111!important;}
.oat-v134-az .oat-v134-letters a,
.oat-simple-encyclopedia-nav .oat-simple-letters a,
.oat-home-az-top button{
  color:#111!important;-webkit-text-fill-color:#111!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  text-decoration:none!important;
}
.oat-v134-az .oat-v134-letters a:hover,
.oat-v134-az .oat-v134-letters a:focus,
.oat-simple-encyclopedia-nav .oat-simple-letters a:hover,
.oat-simple-encyclopedia-nav .oat-simple-letters a:focus,
.oat-home-az-top button:hover,
.oat-home-az-top button:focus{
  color:#0b57a3!important;-webkit-text-fill-color:#0b57a3!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  text-decoration:none!important;
}
.oat-home-az-top button.is-active{color:#111!important;-webkit-text-fill-color:#111!important;background:transparent!important;border:0!important;}

/* v13.9.8 — clearer Browse Collections icons. */
.oat-v134-category .oat-v1398-collection-symbol{display:block;width:25px;height:25px;margin:0 auto 4px;color:#005ea8;line-height:1}
.oat-v134-category .oat-v1398-collection-symbol svg{display:block;width:25px;height:25px;fill:currentColor}


/* v13.9.9 — crown icon for Royal Houses in Explore by Topic. */
.oat-v1399-topic-crown{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#005ea8;line-height:1}
.oat-v1399-topic-crown svg{display:block;width:24px;height:24px;fill:currentColor}
.oat-v134-topic .oat-v1399-topic-crown{margin:0 auto 4px}
.oat-redesign-topic-icon .oat-v1399-topic-crown{width:31px;height:31px}
.oat-redesign-topic-icon .oat-v1399-topic-crown svg{width:31px;height:31px}


/* v13.10.1 — Art & Culture topic page. Scoped so the Encyclopedia homepage is untouched. */
.oat-v13101-topic-link{text-decoration:none!important}
.oat-v13101-artculture{max-width:1180px!important;margin:0 auto 48px!important;padding:28px 24px!important;background:transparent!important;color:#111}
.oat-v13101-crumbs{display:flex;gap:9px;align-items:center;margin:0 0 28px;font-size:14px}
.oat-v13101-crumbs a{color:#005ea8!important;text-decoration:none!important}
.oat-v13101-hero{text-align:center;max-width:850px;margin:0 auto 32px}
.oat-v13101-eyebrow{font:700 10px Arial,sans-serif;letter-spacing:.2em;color:#607080;margin-bottom:8px}
.oat-v13101-hero h1{font:700 clamp(40px,6vw,66px)/1 Georgia,"Times New Roman",serif;margin:0 0 14px;color:#111}
.oat-v13101-hero p{font:16px/1.6 Georgia,"Times New Roman",serif;color:#4f555a;margin:0}
.oat-v13101-subtopics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 34px}
.oat-v13101-subtopic{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:78px;padding:12px 8px;border:1px solid #cbd3d9!important;background:transparent!important;color:#111!important;text-decoration:none!important;text-align:center}
.oat-v13101-subtopic:hover,.oat-v13101-subtopic.is-active{border-color:#005ea8!important;color:#005ea8!important}
.oat-v13101-subtopic strong{font:700 14px/1.2 Georgia,"Times New Roman",serif}.oat-v13101-subtopic small{margin-top:4px;color:#68747d;font:11px Arial,sans-serif}
.oat-v13101-listhead{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid #17364f;margin-bottom:16px}
.oat-v13101-listhead h2{margin:0 0 8px;font:700 24px Georgia,"Times New Roman",serif}.oat-v13101-listhead a{margin-bottom:8px;color:#005ea8!important;text-decoration:none!important;font-weight:700}
.oat-v13101-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.oat-v13101-card{border:1px solid #d7dde1;background:transparent!important;min-width:0}
.oat-v13101-card>a{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:12px;color:#111!important;text-decoration:none!important;height:100%}
.oat-v13101-thumb{width:105px;height:128px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent}
.oat-v13101-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}.oat-v13101-thumb .dashicons{font-size:46px;width:46px;height:46px;color:#748697}
.oat-v13101-cardcopy strong{display:block;color:#005ea8;font:700 17px/1.2 Georgia,"Times New Roman",serif;margin:3px 0 7px}.oat-v13101-cardcopy small{display:block;color:#555;font:13px/1.45 Georgia,"Times New Roman",serif;margin-bottom:8px}.oat-v13101-cardcopy em{color:#005ea8;font-style:normal;font-weight:700;font-size:13px}
.oat-v13101-empty{grid-column:1/-1;padding:28px;border:1px solid #d7dde1;text-align:center;color:#666;background:transparent}
@media(max-width:900px){.oat-v13101-subtopics{grid-template-columns:repeat(2,minmax(0,1fr))}.oat-v13101-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.oat-v13101-artculture{padding:20px 16px!important}.oat-v13101-grid{grid-template-columns:1fr}.oat-v13101-subtopics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v13.10.2 — force Art & Culture directory/subtopic pages transparent. */
.oat-v13101-artculture,
.oat-v13101-artculture *,
.oat-v13101-artculture .oat-v134-panel,
.oat-v13101-artculture .oat-v13101-subtopics,
.oat-v13101-artculture .oat-v13101-grid,
.oat-v13101-artculture .oat-v13101-card,
.oat-v13101-artculture .oat-v13101-card > a,
.oat-v13101-artculture .oat-v13101-thumb,
.oat-v13101-artculture .oat-v13101-empty {
    background-color: transparent !important;
    background-image: none !important;
}
body:has(.oat-v13101-artculture) .site-main,
body:has(.oat-v13101-artculture) .site-content,
body:has(.oat-v13101-artculture) .content-area,
body:has(.oat-v13101-artculture) .entry-content,
body:has(.oat-v13101-artculture) article.page,
body:has(.oat-v13101-artculture) .hentry {
    background-color: transparent !important;
    background-image: none !important;
}

/* v13.10.3 — Art & Culture front-end editor controls */
.oat-v13103-adminbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;padding:10px 12px;border:1px solid #d7dce0;background:transparent!important}.oat-v13103-adminbar>span:first-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.oat-v13103-adminbar small{color:#68727b}.oat-v13103-admin-actions{display:flex;gap:8px;flex-wrap:wrap}.oat-artculture-editor-field{margin:14px 0;padding:12px;border:1px solid #d8dde1;background:transparent!important}.oat-artculture-editor-field label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.oat-artculture-editor-field select{min-width:220px}.oat-artculture-editor-field.is-compact{display:inline-flex;margin:0 0 0 12px;padding:0;border:0;vertical-align:middle}.oat-artculture-editor-field.is-compact label{font-size:13px}.oat-artculture-editor-field.is-compact select{min-width:180px}@media(max-width:760px){.oat-v13103-adminbar{align-items:flex-start;flex-direction:column}.oat-artculture-editor-field.is-compact{display:flex;margin:8px 0 0}}
