/*
Theme Name: Our Ancestral Tree
Theme URI: https://ourancestraltree.com/
Author: Our Ancestral Tree
Description: A visual genealogy portal theme modeled on the approved Our Ancestral Tree design, with an editable white navigation, two-part sidebar, color content panels, and full-width OAT plugin support.
Version: 1.8.25
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: our-ancestral-tree
*/
:root{--oat-ink:#101010;--oat-line:#cfd3d8;--oat-soft:#f6f7f8;--oat-link:#075fc6;--oat-site-bg:#f8f5ef;--oat-max:1500px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--oat-site-bg);color:var(--oat-ink);font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1.35}img{max-width:100%;height:auto;filter:none!important}a{color:var(--oat-link)}.oat-shell{width:min(var(--oat-max),calc(100% - 40px));margin:0 auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.site-header{border-bottom:1px solid var(--oat-line);background:#fff}.oat-header-art{display:block;width:100%;line-height:0;overflow:hidden;background:#f3ead8}.oat-header-art img{display:block;width:100%;height:auto;aspect-ratio:1536/176;object-fit:fill}.site-navigation{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #bfc3c7}.oat-sticky-nav .site-navigation{position:sticky;top:0;z-index:999}.oat-nav-row{min-height:50px;display:flex;align-items:center;gap:18px}.primary-menu{list-style:none;display:flex;align-items:stretch;gap:0;flex:1;margin:0;padding:0;white-space:nowrap}.primary-menu li{display:flex}.primary-menu a{display:flex;align-items:center;gap:7px;padding:15px 13px 12px;color:#111;text-decoration:none;text-transform:uppercase;font-size:14px;font-weight:700;border-bottom:3px solid transparent}.primary-menu a:hover,.primary-menu .current-menu-item>a,.primary-menu .current_page_item>a{border-bottom-color:var(--oat-link)}.menu-symbol{font-size:18px}.oat-search{margin-left:auto;display:flex}.oat-search input{width:190px;padding:8px 10px;border:1px solid #8e949a;font:inherit}.oat-search button{border:1px solid #8e949a;border-left:0;background:#fff;padding:8px 12px;cursor:pointer}.menu-toggle{display:none;background:#fff;border:1px solid #111;padding:8px 14px;font-weight:700}
.site-main{padding:18px 0 24px;min-height:60vh}.oat-dashboard{display:grid;grid-template-columns:244px minmax(0,1fr) 318px;gap:18px;align-items:start}.oat-sidebar{display:flex;flex-direction:column;gap:4px}.oat-side-panel{border:1px solid var(--oat-line);background:#fff;border-radius:4px;overflow:hidden}.oat-side-panel h2{display:flex;justify-content:space-between;align-items:center;margin:0;padding:12px 14px;background:linear-gradient(#fff,#f5f6f7);border-bottom:1px solid var(--oat-line);font-size:15px;text-transform:uppercase}.oat-side-panel.randomness h2{background:#eef4fb;color:#163f71}
/* v1.7.7: hard-hide My Randomness whenever its theme toggle is off. */
.oat-randomness-disabled .oat-side-panel.randomness,.oat-randomness-disabled .menu-randomness-container,.oat-randomness-disabled [data-oat-randomness]{display:none!important}.oat-side-menu{list-style:none;margin:0;padding:0}.oat-side-menu li+li{border-top:1px solid #dce0e3}.oat-side-menu a{display:block;padding:9px 15px 9px 55px;color:#111;text-decoration:none;font-size:15px;position:relative}.oat-side-menu a:before{content:"▣";position:absolute;left:20px;color:#111}.oat-side-menu a:hover{background:#f3f6f8;color:var(--oat-link)}.oat-side-menu .oat-menu-edit a{padding-left:20px;text-align:center;font-weight:700;background:#f7f8fa}.oat-side-menu .oat-menu-edit a:before{display:none}
.oat-dashboard-main{min-width:0}.oat-hero{min-height:258px;border:1px solid var(--oat-line);border-radius:5px;overflow:hidden;display:grid;grid-template-columns:minmax(0,58%) minmax(280px,42%);background:#fff}.oat-hero-copy{padding:18px 34px;display:flex;flex-direction:column;justify-content:center}.oat-hero h1{font-size:clamp(34px,3.2vw,48px);line-height:1;margin:0 0 16px}.oat-hero p{font-size:17px;max-width:660px;margin:0 0 8px}.oat-flourish{text-align:center;max-width:370px;margin:0 0 12px;color:#333}.oat-primary-button{align-self:flex-start;background:#050505;color:#fff;text-decoration:none;text-transform:uppercase;font-weight:700;padding:12px 28px;border-radius:2px;box-shadow:0 2px 3px #aaa}.oat-primary-button:hover{background:#fff;color:#000;outline:1px solid #000}.oat-hero-image{background-size:cover;background-position:center;position:relative}.oat-hero-image:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0,rgba(255,255,255,.65) 15%,transparent 47%)}
.oat-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.oat-feature-card{border:1px solid var(--oat-line);border-radius:4px;padding:8px;text-align:center;background:#fff;display:flex;flex-direction:column;min-width:0}.oat-feature-card img{width:100%;height:145px;object-fit:cover;border-radius:4px}.oat-feature-card h2{font-size:18px;line-height:1.1;text-transform:uppercase;margin:9px 0 5px}.oat-feature-card p{font-size:15px;line-height:1.25;margin:0 4px 10px;flex:1}.oat-feature-card>a{align-self:center;color:#111;text-decoration:none;text-transform:uppercase;font-size:12px;border:1px solid #8d9399;padding:5px 13px;background:#fff}.oat-feature-card>a:hover{background:#111;color:#fff}
.oat-lower-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin-top:12px}.oat-data-panel{border:1px solid var(--oat-line);border-radius:4px;background:#fff;min-width:0}.oat-data-panel>header{display:flex;align-items:center;justify-content:space-between;padding:8px 14px 5px;border-bottom:1px solid var(--oat-line)}.oat-data-panel>header h2{font-size:16px;text-transform:uppercase;margin:0}.oat-data-panel>header a{font-size:13px}.oat-person-list,.oat-news-list{padding:0 12px}.oat-person-list article,.oat-news-list article{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #dfe2e5}.oat-person-list article:last-child,.oat-news-list article:last-child{border-bottom:0}.oat-person-list img,.oat-news-list img{width:72px;height:62px;object-fit:cover;flex:0 0 auto}.oat-person-list h3,.oat-news-list h3{font-size:16px;margin:0}.oat-person-list h3 a,.oat-news-list h3 a{text-decoration:none}.oat-person-list p,.oat-news-list p{font-size:13px;margin:2px 0}.oat-news-list time{margin-left:auto;white-space:nowrap;font-size:12px}.oat-placeholder{padding:18px;color:#666}.oat-page-content{margin-top:14px;border:1px solid var(--oat-line);padding:20px;background:#fff}
.oat-featured-person{border:1px solid var(--oat-line);border-radius:4px;background:#fff;padding:8px 12px}.oat-featured-person>h2{text-align:center;text-transform:uppercase;font-size:13px;border-bottom:1px solid var(--oat-line);margin:0 0 10px;padding-bottom:5px}.oat-featured-inner{display:grid;grid-template-columns:145px 1fr;gap:12px}.oat-featured-inner img{width:145px;height:216px;object-fit:cover}.oat-featured-inner h3{font-size:24px;line-height:1;margin:3px 0 8px}.oat-featured-inner p{font-size:14px}.oat-featured-inner a{display:inline-block;border:1px solid #8d9399;color:#111;text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:700;padding:7px 14px}.oat-crown{font-size:29px;color:#b68a00}
.site-footer{border-top:1px solid var(--oat-line);padding:14px 0;background:#fff}.oat-footer-row{display:flex;justify-content:center;align-items:center;gap:24px;flex-wrap:wrap;font-size:14px}.footer-menu{display:flex;gap:18px;list-style:none;margin:0;padding:0}.footer-menu a{color:#111}
/* Plugin compatibility */.oat-plugin-page .site-main{padding-left:0;padding-right:0}.oat-plugin-page .site-main>.oat-shell,.oat-plugin-page .oat-plugin-shell{width:min(var(--oat-max),calc(100% - 32px));max-width:none;margin:auto}.oat-plugin-page .entry-title{display:none}.oat-plugin-page .entry-content{width:100%;max-width:none;margin:0}.oat-plugin-page .oat-content-card{padding:0;border:0}.entry-content :is(.oat-app,.oat-plugin,.oat-wrapper,.oat-container,.oat-relationship-explorer,.oat-genealogy-news,.oat-encyclopedia,.oat-records,.oat-video-library){max-width:100%;margin-inline:auto}.entry-content img,.gallery img,video{filter:none!important}
@media(max-width:1250px){.oat-dashboard{grid-template-columns:220px minmax(0,1fr)}.oat-featured-person{grid-column:2}.oat-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.oat-dashboard{grid-template-columns:1fr}.oat-sidebar{display:grid;grid-template-columns:1fr 1fr}.oat-featured-person{grid-column:auto}.oat-hero{grid-template-columns:1fr}.oat-hero-image{min-height:220px}.oat-lower-grid{grid-template-columns:1fr}.oat-search{display:none}}
@media(max-width:720px){.oat-shell{width:calc(100% - 20px)}.oat-header-art{min-height:0}.oat-header-art img{width:100%;height:auto;aspect-ratio:1536/176;object-fit:fill}.menu-toggle{display:block}.oat-nav-row{min-height:52px;flex-wrap:wrap;padding:7px 0}.primary-menu{display:none;width:100%;flex-direction:column}.primary-menu.is-open{display:flex}.primary-menu li{display:block}.primary-menu a{padding:10px 5px;border-bottom:1px solid #ddd}.oat-sidebar{display:flex}.oat-feature-grid{grid-template-columns:repeat(2,1fr)}.oat-hero-copy{padding:24px}.oat-featured-inner{grid-template-columns:110px 1fr}.oat-featured-inner img{width:110px;height:170px}.oat-news-list time{display:none}}
.menu-symbol.dashicons{font-size:19px;width:22px;height:22px;line-height:22px;margin-right:9px}.oat-side-panel h2 .dashicons{font-size:20px;width:22px;height:22px}.oat-home-person-card>a{display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit}.oat-home-person-card img{width:78px;height:78px;object-fit:cover;border:1px solid #c8ced6;border-radius:4px}.oat-home-person-card h3{margin:0 0 4px}.oat-flexible-home-block{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;border:1px solid #c8ced6;border-radius:5px;padding:24px;margin-top:16px;background:#fff}.oat-flexible-home-block:has(>img){grid-template-columns:minmax(220px,35%) 1fr}.oat-flexible-home-block>img{width:100%;max-height:340px;object-fit:cover;border-radius:4px}.oat-featured-empty{padding:20px}.oat-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.oat-feature-grid{grid-template-columns:1fr}.oat-flexible-home-block:has(>img){grid-template-columns:1fr}}

/* OAT 1.5 branded icons and front-end builder */
.oat-brand-tree{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;vertical-align:middle;overflow:hidden;border-radius:50%;background:#fff;border:1px solid #bfc4c9;flex:0 0 auto}.oat-brand-tree img{width:100%;height:100%;object-fit:cover;transform:scale(1.12)}.oat-panel-tree{margin-right:8px}.oat-menu-tree{width:21px;height:21px;margin-right:7px}.primary-menu .oat-brand-tree{border-color:#d3d6d9}.oat-side-menu .oat-brand-tree{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:22px;height:22px}.oat-side-menu a:before{display:none}.oat-side-menu a{padding-left:52px}
.oat-builder-is-active :is(.oat-hero,.oat-feature-card,.oat-data-panel,.oat-featured-person){position:relative;outline:2px dashed rgba(7,95,198,.42);outline-offset:3px}.oat-builder-controls{position:absolute;z-index:20;top:7px;right:7px;display:flex;gap:5px;flex-wrap:wrap}.oat-builder-controls button,.oat-builder-box-tools button,.oat-restore-section{border:1px solid #111;background:#fff;color:#111;font:700 12px/1.2 Arial,sans-serif;padding:6px 9px;cursor:pointer;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15)}.oat-builder-controls button:hover,.oat-builder-box-tools button:hover,.oat-restore-section:hover{background:#111;color:#fff}.oat-builder-box-tools{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;margin:12px 0;padding:12px;border:1px dashed #9aa1a8;background:#f7f8fa}.oat-hidden-boxes{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.oat-restore-section{display:block;width:100%;margin:8px 0;padding:12px}.oat-builder-modal[hidden]{display:none}.oat-builder-modal{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}.oat-builder-dialog{position:relative;width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border:2px solid #111;border-radius:6px;padding:24px}.oat-builder-close{position:absolute;right:9px;top:7px;border:0;background:transparent;font-size:28px;cursor:pointer}.oat-builder-form h2{margin:0 0 18px}.oat-builder-form label{display:block;font-weight:700;margin:12px 0}.oat-builder-form input,.oat-builder-form textarea,.oat-builder-form select{display:block;width:100%;margin-top:5px;padding:9px 10px;border:1px solid #8e949a;font:inherit}.oat-image-field{display:flex;gap:8px}.oat-image-field input{flex:1}.oat-image-field button{white-space:nowrap}.oat-builder-save{margin-top:10px;background:#111;color:#fff;border:1px solid #111;padding:10px 18px;font-weight:700;cursor:pointer}.oat-builder-save:hover{background:#fff;color:#111}


/* OAT 1.6 featured layout and homepage spotlight widget */
.oat-right-rail{display:flex;flex-direction:column;gap:12px;min-width:0}.oat-featured-name-row{display:flex;align-items:center;gap:7px}.oat-featured-name-row h3{margin:3px 0 2px}.oat-featured-years{margin:0 0 10px;font-weight:700;color:#4b4f54}.oat-featured-description{margin:0 0 12px}.oat-historical-icon{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;flex:0 0 auto;color:#111}.oat-historical-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.oat-spotlight-widget{position:relative;border:1px solid var(--oat-line);border-radius:4px;background:#fff;padding:8px 12px;overflow:hidden}.oat-spotlight-widget>h2{display:flex;align-items:center;justify-content:center;gap:7px;text-align:center;text-transform:uppercase;font-size:13px;border-bottom:1px solid var(--oat-line);margin:0 0 10px;padding-bottom:6px}.oat-spotlight-widget>h2 .oat-historical-icon{width:20px;height:20px}.oat-spotlight-image{display:block;width:100%;max-height:230px;object-fit:cover;margin:0 0 10px;border:1px solid #d4d7da}.oat-spotlight-copy h3{font-size:21px;line-height:1.1;margin:4px 0}.oat-spotlight-copy p{font-size:14px;margin:6px 0 10px}.oat-spotlight-meta{font-weight:700;color:#555}.oat-spotlight-widget audio,.oat-spotlight-widget video{display:block;width:100%;margin:10px 0}.oat-widget-button{display:inline-block;border:1px solid #8d9399;color:#111;text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:700;padding:7px 14px;margin-top:4px}.oat-widget-button:hover{background:#111;color:#fff}.oat-builder-is-active .oat-spotlight-widget{outline:2px dashed rgba(7,95,198,.42);outline-offset:3px}@media(max-width:1250px){.oat-right-rail{grid-column:2}}@media(max-width:900px){.oat-right-rail{grid-column:auto}}

.oat-news-thumbnail{width:72px;height:72px;object-fit:cover;flex:0 0 72px;border:1px solid #d4d8dc;}


/* OAT 1.6.3 icon, featured-name, and homepage width refinements */
.oat-dashboard{grid-template-columns:210px minmax(0,1fr) 320px;gap:16px}
.oat-menu-icon{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;flex:0 0 22px;margin-right:8px;color:#111;vertical-align:middle}
.oat-menu-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.primary-menu .oat-menu-icon{width:21px;height:21px;flex-basis:21px;margin-right:3px}
.oat-side-menu a{display:flex;align-items:center;padding-left:15px;gap:8px}
.oat-side-menu .oat-menu-icon{width:22px;height:22px;flex-basis:22px;margin-right:4px}
.oat-side-menu .oat-brand-tree{display:none}
.oat-featured-inner{grid-template-columns:118px minmax(0,1fr);gap:10px;align-items:start}
.oat-featured-inner img{width:118px;height:190px}
.oat-featured-name-row{flex-wrap:nowrap;gap:5px;min-width:0}
.oat-featured-name-row h3{font-size:20px;line-height:1.02;white-space:nowrap;margin:3px 0 3px}
.oat-featured-name-row .oat-historical-icon{width:22px;height:22px}
.oat-featured-crown svg{fill:none}
.oat-featured-years{font-size:14px;margin-top:2px}
@media(max-width:1250px){.oat-dashboard{grid-template-columns:205px minmax(0,1fr)}.oat-right-rail{grid-column:2}.oat-featured-person{grid-column:auto}}
@media(max-width:900px){.oat-dashboard{grid-template-columns:1fr}.oat-right-rail{grid-column:auto}.oat-featured-name-row h3{white-space:normal}}


/* OAT 1.6.4 featured crown and Explore panel icon refinements */
.oat-side-panel h2{justify-content:flex-start;gap:9px}
.oat-side-panel h2>span:last-child{margin-left:auto}
.oat-explore-icon{width:24px;height:24px;flex:0 0 24px;color:#111}
.oat-featured-name-block{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;margin:0 0 2px}
.oat-featured-name-block .oat-featured-crown{width:25px;height:25px;margin:0 0 2px}
.oat-featured-name-block h3{font-size:18px;line-height:1.05;white-space:nowrap;margin:0 0 3px}
.oat-featured-inner>div{text-align:left}
.oat-featured-years{margin-top:0}
@media(max-width:1250px){.oat-featured-name-block h3{font-size:18px}}
@media(max-width:900px){.oat-featured-name-block h3{white-space:normal}}

/* OAT 1.6.6 featured alignment and Recently Added People link */
.oat-featured-inner>div{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.oat-featured-years{width:100%;text-align:center;margin:0 0 10px}
.oat-featured-description{width:100%;text-align:center}
.oat-featured-inner>div>a{align-self:center;text-align:center}
.oat-recent-panel{position:relative}


/* OAT 1.6.7 refined family-tree button, new-tab news links, and sidebar widget stack */
.oat-family-tree-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#fffaf0;color:#111;border:1px solid #111;box-shadow:none;border-radius:4px;padding:10px 20px;text-transform:none;font-size:16px;letter-spacing:.01em}
.oat-family-tree-button .oat-menu-icon{width:21px;height:21px;margin:0;color:#111}
.oat-family-tree-button:hover{background:#f3ead6;color:#111;outline:0;border-color:#9a762d}
.oat-news-list h3 a[target="_blank"]:after{content:" ↗";font-size:.8em;text-decoration:none}
.oat-sidebar-widget-stack{display:flex;flex-direction:column;gap:12px}
.oat-sidebar-widget{padding:8px 12px}
.oat-sidebar-widget .oat-spotlight-copy h3{font-size:17px;line-height:1.15;margin:3px 0 4px}
.oat-sidebar-widget .oat-spotlight-copy p{font-size:13px;line-height:1.3;margin:4px 0 8px}
.oat-sidebar-widget .oat-spotlight-image{max-height:150px}
.oat-restore-sidebar-widget{display:block;width:100%;border:1px dashed #8d9399;background:#fff;padding:10px;cursor:pointer;font-weight:700}
.oat-builder-is-active .oat-sidebar-widget{outline:2px dashed rgba(7,95,198,.42);outline-offset:3px}


/* OAT 1.6.8 crest removal and one-line family-tree button */
.oat-family-tree-button{min-width:330px;white-space:nowrap;padding-left:24px;padding-right:24px}
.oat-family-tree-button span{white-space:nowrap}
@media(max-width:520px){.oat-family-tree-button{min-width:0;width:100%;font-size:15px;padding-left:14px;padding-right:14px}}


/* OAT Homepage WordPress Widget Areas — v1.7 */
.oat-wordpress-widget-area { display: grid; gap: 14px; }
.oat-widget-area-left { margin-top: 14px; }
.oat-widget-area-right { margin-top: 14px; }
.oat-home-bottom-widgets { margin-top: 22px; margin-bottom: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.oat-wordpress-widget {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(64, 53, 37, .18);
    border-radius: 9px;
    background: rgba(255, 252, 244, .86);
    box-shadow: 0 2px 8px rgba(38, 30, 20, .06);
    overflow-wrap: anywhere;
}
.oat-wordpress-widget .widget-title { margin: 0 0 12px; font-size: 1.18rem; line-height: 1.25; }
.oat-wordpress-widget ul { margin: 0; padding-left: 1.2rem; }
.oat-wordpress-widget img { max-width: 100%; height: auto; }
.oat-wordpress-widget select,
.oat-wordpress-widget input,
.oat-wordpress-widget textarea { max-width: 100%; }
.oat-manage-widget-area {
    display: block;
    margin: 12px 0;
    padding: 12px 14px;
    border: 2px dashed #8b7655;
    border-radius: 8px;
    background: rgba(255,255,255,.65);
    color: #3b3024;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.oat-manage-widget-area:hover { background: #fffaf0; color: #111; }
@media (max-width: 900px) {
    .oat-home-bottom-widgets { grid-template-columns: 1fr; }
}

/* OAT 1.7.1 — custom CD/audio widget */
.oat-cd-audio-widget{display:flex;flex-direction:column;align-items:center;gap:10px;background:transparent;text-align:center}
.oat-cd-cover{display:block;width:min(100%,230px);aspect-ratio:1/1;object-fit:cover;border:1px solid var(--oat-line);border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.08);margin:0 auto}
.oat-cd-details{width:100%;text-align:center}.oat-cd-details h3{font-size:1.25rem;line-height:1.15;margin:0 0 4px}.oat-cd-meta{font-weight:700;color:#555;margin:0 0 8px}.oat-cd-description p{margin:0 0 9px}.oat-cd-player{display:block;width:100%;margin:10px 0 4px}
@media(max-width:520px){.oat-cd-cover{max-width:220px}}

/* OAT 1.7.3 — clean white archive skin */
body{background:var(--oat-site-bg)}
.site-main{background:var(--oat-site-bg)}
.oat-header-art{background:#fff}
.oat-wordpress-widget{background:#fff;border-color:#d9dde1;box-shadow:0 2px 8px rgba(0,0,0,.045)}
.oat-manage-widget-area{background:#fff;border-color:#aab0b6;color:#222}
.oat-manage-widget-area:hover{background:#f6f7f8;color:#111}
.oat-family-tree-button{background:#fff}
.oat-family-tree-button:hover{background:#f5f6f7;border-color:#777}

/* OAT 1.7.4: user-adjustable Featured Historical Individual name size */
.oat-featured-person{--oat-featured-name-size:18px}
.oat-featured-name-block h3{font-size:var(--oat-featured-name-size)!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;max-width:100%}

/* v1.7.8 absolute fallback: hide any menu item explicitly marked randomness while toggle body class is disabled. */
.oat-randomness-disabled li.randomness,.oat-randomness-disabled li.menu-item-randomness,.oat-randomness-disabled li[class*="randomness"]{display:none!important}

/* v1.7.9: My Randomness is force-hidden at theme level. */
.oat-side-panel.randomness,
.menu-randomness-container,
[data-oat-randomness],
li.randomness,
li.menu-item-randomness,
li[class*="randomness"] { display:none !important; }

/* OAT 1.8.3 — propagate the user-selected site background through the full page canvas. */
html, body, .site-main { background-color: var(--oat-site-bg) !important; }

/* OAT 1.8.0 — transparent cards and navigation over the warm archive background */
.site-header,
.site-navigation,
.oat-side-panel,
.oat-side-panel h2,
.oat-side-panel.randomness h2,
.oat-hero,
.oat-feature-card,
.oat-data-panel,
.oat-page-content,
.oat-featured-person,
.oat-flexible-home-block,
.oat-spotlight-widget,
.oat-wordpress-widget,
.site-footer { background: transparent !important; }

/* Navigation/search controls stay readable without white slabs. */
.oat-search input,
.oat-search button,
.menu-toggle { background: transparent !important; }

/* Sidebar/navigation hover states use a subtle translucent wash only. */
.oat-side-menu a:hover,
.oat-side-menu .oat-menu-edit a { background: rgba(255,255,255,.28) !important; }

/* Preserve builder/admin editing UI so controls remain usable. */
.oat-builder-controls button,
.oat-builder-box-tools button,
.oat-restore-section,
.oat-builder-dialog,
.oat-manage-widget-area,
.oat-restore-sidebar-widget { background:#fff !important; }

/* OAT 1.8.1 — remove black button hover animation */
.oat-primary-button:hover,
.oat-feature-card > a:hover,
.oat-widget-button:hover,
.oat-family-tree-button:hover,
.oat-manage-widget-area:hover,
.oat-side-menu a:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

/* Disable hover transitions/animations on public-facing buttons and links. */
.oat-primary-button,
.oat-feature-card > a,
.oat-widget-button,
.oat-family-tree-button,
.oat-manage-widget-area,
.oat-side-menu a,
button,
input[type="button"],
input[type="submit"],
.wp-element-button,
.wp-block-button__link {
  transition: none !important;
  animation: none !important;
}

/* OAT 1.8.2 customizable site colors */
.oat-page-content,.oat-data-panel,.oat-feature-card,.oat-hero,.oat-featured-person,.oat-side-panel,.oat-spotlight-widget{color:var(--oat-ink)}
.entry-content a:not(.oat-primary-button):not(.oat-widget-button):not(.oat-family-tree-button),.oat-data-panel>header a,.oat-news-list h3 a{color:var(--oat-link)}

/* OAT 1.8.4 — navigation underline appears on hover only */
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu .current_page_ancestor > a {
  border-bottom-color: transparent !important;
}
.primary-menu a:hover,
.primary-menu a:focus-visible {
  border-bottom-color: var(--oat-link) !important;
}


/* OAT v1.8.6 — Recently Added People thumbnail image fit */
.oat-recent-people img,
.recently-added-people img,
.recent-people img,
.oat-recent-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}


/* OAT v1.8.8 — canonical genealogy link color bridge.
   This is intentionally the FINAL stylesheet layer so plugin hard-coded link/name
   colors cannot win. The Customizer value is injected into --oat-theme-link. */
:root{
  --oat-theme-link:var(--oat-genealogy-link, var(--oat-link, #075fc6));
  --oat-relationship-link:var(--oat-theme-link);
  --oat-tree-link:var(--oat-theme-link);
  --oat-profile-link:var(--oat-theme-link);
}

/* Relationship tab — person names and person/profile links. */
.oat-rex-app .oat-rex-selected.oat-rex-select-card strong,
.oat-rex-app .oat-rex-person-card > h3,
.oat-rex-app .oat-rex-person-card > h3 a,
.oat-rex-app .oat-rex-path a,
.oat-rex-app .oat-rex-result-card a,
.oat-rex-app .oat-rex-relationship-panel a,
.oat-rex-app .oat-rex-common-tree a,
.oat-rex-app .oat-rex-detailed-path a{
  color:var(--oat-theme-link)!important;
}

/* Family Tree tab — the live renderer uses a STRONG name inside each card. */
#oat-rex-family-tree-anchor .oat-rex-tree-person .oat-rex-tree-person-name,
#oat-rex-family-tree-anchor .oat-rex-tree-person > strong,
.oat-rex-view-only-tree .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-view-only-tree .oat-rex-tree-person > strong,
.oat-rex-pro-family-tree .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-pro-family-tree .oat-rex-tree-person > strong,
.oat-rex-family-tree .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-family-tree .oat-rex-tree-person > strong,
.oat-rex-family-tree-card .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-family-tree-card .oat-rex-tree-person > strong,
[data-oat-tree-person-card] .oat-rex-tree-person-name,
[data-oat-tree-person-card] > strong{
  color:var(--oat-theme-link)!important;
}

/* People Profile — linked names and profile fact links use the same setting. */
.oat-re-live-profile .oat-re-profile-name,
.oat-re-live-profile .oat-re-profile-name a,
.oat-rex-wiki-page .oat-rex-wiki-article a,
.oat-rex-wiki-page .oat-rex-wiki-facts a,
.oat-rex-wiki-page .oat-rex-profile-summary a,
.oat-rex-wiki-page .oat-rex-resting-link,
.oat-native-profile-page a.oat-person-link,
.oat-native-profile-page a[data-person-id],
.oat-profile-directory-listing a[data-person-id]{
  color:var(--oat-theme-link)!important;
}

/* Supporting dates and ordinary copy remain the normal theme text color. */
#oat-rex-family-tree-anchor .oat-rex-tree-person em,
.oat-rex-view-only-tree .oat-rex-tree-person em,
.oat-rex-pro-family-tree .oat-rex-tree-person em,
.oat-rex-family-tree .oat-rex-tree-person em,
.oat-rex-app .oat-rex-person-card p,
.oat-rex-app .oat-rex-person-card small,
.oat-rex-app .oat-rex-selected.oat-rex-select-card span{
  color:var(--oat-ink, inherit)!important;
}

/* OAT v1.8.9 — separate site links from genealogy person links.
   Site links continue to use --oat-link. Genealogy/person links use the
   dedicated genealogy variable. Relationship/Family Tree navigation stays black. */
:root{
  --oat-site-link:var(--oat-link, #075fc6);
  --oat-genealogy-person-link:var(--oat-genealogy-link, #075fc6);
  --oat-theme-link:var(--oat-genealogy-person-link);
  --oat-relationship-link:var(--oat-genealogy-person-link);
  --oat-tree-link:var(--oat-genealogy-person-link);
  --oat-profile-link:var(--oat-genealogy-person-link);
}

/* Normal website links are controlled ONLY by Site link color. */
body a{
  color:var(--oat-site-link);
}

/* Genealogy person/name links are controlled ONLY by Genealogy link color. */
.oat-rex-app .oat-rex-selected.oat-rex-select-card strong,
.oat-rex-app .oat-rex-person-card > h3,
.oat-rex-app .oat-rex-person-card > h3 a,
.oat-rex-app .oat-rex-path a,
.oat-rex-app .oat-rex-result-card a[data-person-id],
.oat-rex-app .oat-rex-relationship-panel a[data-person-id],
.oat-rex-app .oat-rex-common-tree a[data-person-id],
.oat-rex-app .oat-rex-detailed-path a[data-person-id],
#oat-rex-family-tree-anchor .oat-rex-tree-person .oat-rex-tree-person-name,
#oat-rex-family-tree-anchor .oat-rex-tree-person > strong,
.oat-rex-view-only-tree .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-view-only-tree .oat-rex-tree-person > strong,
.oat-rex-pro-family-tree .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-pro-family-tree .oat-rex-tree-person > strong,
.oat-rex-family-tree .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-family-tree .oat-rex-tree-person > strong,
.oat-rex-family-tree-card .oat-rex-tree-person .oat-rex-tree-person-name,
.oat-rex-family-tree-card .oat-rex-tree-person > strong,
[data-oat-tree-person-card] .oat-rex-tree-person-name,
[data-oat-tree-person-card] > strong,
.oat-re-live-profile .oat-re-profile-name,
.oat-re-live-profile .oat-re-profile-name a,
.oat-rex-wiki-page .oat-rex-wiki-article a[data-person-id],
.oat-rex-wiki-page .oat-rex-wiki-facts a[data-person-id],
.oat-rex-wiki-page .oat-rex-profile-summary a[data-person-id],
.oat-native-profile-page a.oat-person-link,
.oat-native-profile-page a[data-person-id],
.oat-profile-directory-listing a[data-person-id]{
  color:var(--oat-genealogy-person-link)!important;
}

/* Relationship and Family Tree navigation tabs are UI controls, not genealogy links.
   Keep the label and the active underline black regardless of either color picker. */
.oat-rex-actions .oat-rex-tab-link,
.oat-rex-actions a.oat-rex-tab-link,
.oat-rex-actions .oat-rex-tab-link:visited,
.oat-rex-actions .oat-rex-tab-link:hover,
.oat-rex-actions .oat-rex-tab-link:focus-visible,
.oat-rex-actions .oat-rex-tab-link.active,
.oat-rex-actions a.active{
  color:#111!important;
}
.oat-rex-actions .oat-rex-tab-link.active,
.oat-rex-actions a.active{
  border-color:#cfcfcf!important;
  box-shadow:inset 0 -3px 0 #111!important;
}

/* Profile sub-tabs are navigation too: black label + black active underline. */
.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:visited,
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-wiki-tabs a.is-active:hover,
.oat-rex-wiki-tabs a.is-active:focus-visible{
  color:#111!important;
}
.oat-rex-wiki-tabs a.is-active,
.oat-rex-wiki-tabs a.is-active:hover,
.oat-rex-wiki-tabs a.is-active:focus-visible{
  box-shadow:inset 0 -3px 0 #111!important;
}


/* OAT v1.8.10 — genealogy link and profile-tab cleanup.
   Person/genealogy links use the dedicated genealogy color with no text underline.
   Profile navigation tabs remain black; their active indicator is a black UI line. */

/* Genealogy links: person names, profile facts/infobox, relationship and tree names. */
.oat-rex-app a[data-person-id],
.oat-rex-app a.oat-person-link,
.oat-rex-wiki-page .oat-rex-wiki-article a[data-person-id],
.oat-rex-wiki-page .oat-rex-wiki-facts a,
.oat-rex-wiki-page .oat-rex-profile-summary a,
.oat-rex-wiki-page .oat-rex-infobox a,
.oat-rex-wiki-page .oat-rex-wiki-infobox a,
.oat-rex-wiki-page .oat-rex-profile-infobox a,
.oat-rex-wiki-page aside a[data-person-id],
.oat-rex-wiki-page aside a.oat-person-link,
.oat-re-live-profile a[data-person-id],
.oat-re-live-profile a.oat-person-link,
.oat-native-profile-page a[data-person-id],
.oat-native-profile-page a.oat-person-link,
#oat-rex-family-tree-anchor .oat-rex-tree-person-name,
#oat-rex-family-tree-anchor .oat-rex-tree-person > strong,
.oat-rex-view-only-tree .oat-rex-tree-person-name,
.oat-rex-view-only-tree .oat-rex-tree-person > strong,
.oat-rex-pro-family-tree .oat-rex-tree-person-name,
.oat-rex-pro-family-tree .oat-rex-tree-person > strong,
.oat-rex-family-tree .oat-rex-tree-person-name,
.oat-rex-family-tree .oat-rex-tree-person > strong,
.oat-rex-selected.oat-rex-select-card strong {
  color:var(--oat-genealogy-person-link)!important;
  text-decoration:none!important;
  text-decoration-line:none!important;
  border-bottom-color:transparent;
}

.oat-rex-app a[data-person-id]:hover,
.oat-rex-app a[data-person-id]:focus,
.oat-rex-app a[data-person-id]:visited,
.oat-rex-wiki-page .oat-rex-wiki-facts a:hover,
.oat-rex-wiki-page .oat-rex-wiki-facts a:focus,
.oat-rex-wiki-page .oat-rex-wiki-facts a:visited,
.oat-rex-wiki-page .oat-rex-profile-summary a:hover,
.oat-rex-wiki-page .oat-rex-profile-summary a:focus,
.oat-rex-wiki-page .oat-rex-profile-summary a:visited,
.oat-rex-wiki-page .oat-rex-infobox a:hover,
.oat-rex-wiki-page .oat-rex-infobox a:focus,
.oat-rex-wiki-page .oat-rex-infobox a:visited,
.oat-rex-wiki-page .oat-rex-wiki-infobox a:hover,
.oat-rex-wiki-page .oat-rex-wiki-infobox a:focus,
.oat-rex-wiki-page .oat-rex-wiki-infobox a:visited,
.oat-rex-wiki-page .oat-rex-profile-infobox a:hover,
.oat-rex-wiki-page .oat-rex-profile-infobox a:focus,
.oat-rex-wiki-page .oat-rex-profile-infobox a:visited {
  color:var(--oat-genealogy-person-link)!important;
  text-decoration:none!important;
  text-decoration-line:none!important;
}

/* Profile tabs are controls, not content links. Keep all states black. */
.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:link,
.oat-rex-wiki-tabs a:visited,
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-wiki-tabs a.active,
.oat-rex-wiki-tabs [aria-current="page"],
.oat-rex-wiki-tabs [aria-selected="true"] {
  color:#111!important;
  text-decoration:none!important;
  text-decoration-line:none!important;
  border-bottom-color:transparent!important;
}

/* Black active/hover tab indicator. This is navigation chrome, not a text underline. */
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-wiki-tabs a.active,
.oat-rex-wiki-tabs [aria-current="page"],
.oat-rex-wiki-tabs [aria-selected="true"] {
  box-shadow:inset 0 -3px 0 #111!important;
}

/* Relationship / Family Tree top-level tabs also stay black. */
.oat-rex-actions .oat-rex-tab-link,
.oat-rex-actions .oat-rex-tab-link:link,
.oat-rex-actions .oat-rex-tab-link:visited,
.oat-rex-actions .oat-rex-tab-link:hover,
.oat-rex-actions .oat-rex-tab-link:focus,
.oat-rex-actions .oat-rex-tab-link:focus-visible,
.oat-rex-actions .oat-rex-tab-link.active,
.oat-rex-actions .oat-rex-tab-link[aria-selected="true"] {
  color:#111!important;
  text-decoration:none!important;
  text-decoration-line:none!important;
}
.oat-rex-actions .oat-rex-tab-link:hover,
.oat-rex-actions .oat-rex-tab-link:focus-visible,
.oat-rex-actions .oat-rex-tab-link.active,
.oat-rex-actions .oat-rex-tab-link[aria-selected="true"] {
  box-shadow:inset 0 -3px 0 #111!important;
}


/* v1.8.11 — People Profile infobox genealogy-link bridge
 * Infobox person/family links use the dedicated Genealogy Link Color,
 * independent of the general Site Link Color. Links remain un-underlined.
 */
.oat-infobox a,
.oat-profile-infobox a,
.oat-person-infobox a,
.oat-people-infobox a,
.oat-profile .infobox a,
.oat-person-profile .infobox a,
.oat-people-profile .infobox a,
[class*="oat-"][class*="infobox"] a,
[class*="oat-"] [class*="infobox"] a {
    color: var(--oat-genealogy-link, var(--oat-profile-link, var(--oat-theme-link))) !important;
    text-decoration: none !important;
}

.oat-infobox a:hover,
.oat-infobox a:focus,
.oat-profile-infobox a:hover,
.oat-profile-infobox a:focus,
.oat-person-infobox a:hover,
.oat-person-infobox a:focus,
.oat-people-infobox a:hover,
.oat-people-infobox a:focus,
.oat-profile .infobox a:hover,
.oat-profile .infobox a:focus,
.oat-person-profile .infobox a:hover,
.oat-person-profile .infobox a:focus,
.oat-people-profile .infobox a:hover,
.oat-people-profile .infobox a:focus,
[class*="oat-"][class*="infobox"] a:hover,
[class*="oat-"][class*="infobox"] a:focus,
[class*="oat-"] [class*="infobox"] a:hover,
[class*="oat-"] [class*="infobox"] a:focus {
    color: var(--oat-genealogy-link, var(--oat-profile-link, var(--oat-theme-link))) !important;
    text-decoration: none !important;
}


/* v1.8.14 — profile/relationship navigation tabs
 * No persistent underline/indicator. A black underline appears only while
 * the tab is hovered or keyboard-focused.
 */
.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:link,
.oat-rex-wiki-tabs a:visited,
.oat-rex-tabs a,
.oat-rex-tabs a:link,
.oat-rex-tabs a:visited,
.oat-rex-tab,
.oat-rex-tab:link,
.oat-rex-tab:visited,
[role="tablist"] .oat-rex-tab,
[role="tablist"] a {
    color:#000 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    border-bottom-color:transparent !important;
    box-shadow:none !important;
}

.oat-rex-wiki-tabs a[aria-current="page"],
.oat-rex-wiki-tabs a.active,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-tabs a[aria-selected="true"],
.oat-rex-tabs a.active,
.oat-rex-tabs a.is-active,
.oat-rex-tab[aria-selected="true"],
.oat-rex-tab.active,
.oat-rex-tab.is-active {
    color:#000 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    border-bottom-color:transparent !important;
    box-shadow:none !important;
}

.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-tabs a:hover,
.oat-rex-tabs a:focus-visible,
.oat-rex-tab:hover,
.oat-rex-tab:focus-visible,
[role="tablist"] .oat-rex-tab:hover,
[role="tablist"] .oat-rex-tab:focus-visible,
[role="tablist"] a:hover,
[role="tablist"] a:focus-visible {
    color:#000 !important;
    text-decoration:underline !important;
    text-decoration-color:#000 !important;
    text-underline-offset:4px;
    border-bottom-color:transparent !important;
    box-shadow:none !important;
}


/* v1.8.14 — clean profile/relationship tab behavior
 * Tabs remain black with NO text underline in any state.
 * Only the bottom tab indicator appears on hover/focus.
 */
.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:link,
.oat-rex-wiki-tabs a:visited,
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-tabs a,
.oat-rex-tabs a:link,
.oat-rex-tabs a:visited,
.oat-rex-tabs a:hover,
.oat-rex-tabs a:focus,
.oat-rex-tabs a:focus-visible,
.oat-rex-tab,
.oat-rex-tab:link,
.oat-rex-tab:visited,
.oat-rex-tab:hover,
.oat-rex-tab:focus,
.oat-rex-tab:focus-visible,
[role="tablist"] .oat-rex-tab,
[role="tablist"] .oat-rex-tab:hover,
[role="tablist"] .oat-rex-tab:focus,
[role="tablist"] .oat-rex-tab:focus-visible,
[role="tablist"] a,
[role="tablist"] a:hover,
[role="tablist"] a:focus,
[role="tablist"] a:focus-visible {
    color:#111 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    text-decoration-thickness:0 !important;
    box-shadow:none !important;
}

/* No persistent active underline/indicator. */
.oat-rex-wiki-tabs a[aria-current="page"],
.oat-rex-wiki-tabs a.active,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-tabs a[aria-selected="true"],
.oat-rex-tabs a.active,
.oat-rex-tabs a.is-active,
.oat-rex-tab[aria-selected="true"],
.oat-rex-tab.active,
.oat-rex-tab.is-active,
.oat-rex-actions .oat-rex-tab-link.active,
.oat-rex-actions a.active {
    color:#111 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    border-bottom-color:transparent !important;
    box-shadow:none !important;
}

/* Hover/focus shows only the lower tab indicator. */
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-tabs a:hover,
.oat-rex-tabs a:focus-visible,
.oat-rex-tab:hover,
.oat-rex-tab:focus-visible,
[role="tablist"] .oat-rex-tab:hover,
[role="tablist"] .oat-rex-tab:focus-visible,
[role="tablist"] a:hover,
[role="tablist"] a:focus-visible,
.oat-rex-actions .oat-rex-tab-link:hover,
.oat-rex-actions .oat-rex-tab-link:focus-visible {
    color:#111 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    border-bottom-color:#111 !important;
    box-shadow:inset 0 -3px 0 #111 !important;
}

/* Keep genealogy links separate from ordinary site links.
 * This reinforces the existing Customizer wiring without changing its values.
 */
.oat-rex-wiki-page .oat-rex-infobox a,
.oat-rex-wiki-page .oat-rex-wiki-infobox a,
.oat-rex-wiki-page .oat-rex-profile-infobox a,
.oat-rex-wiki-page .oat-rex-wiki-facts a,
.oat-rex-wiki-page .oat-rex-profile-summary a[data-person-id],
.oat-native-profile-page a[data-person-id],
.oat-native-profile-page a.oat-person-link,
.oat-rex-app a[data-person-id],
#oat-rex-family-tree-anchor .oat-rex-tree-person-name,
#oat-rex-family-tree-anchor .oat-rex-tree-person > strong {
    color:var(--oat-genealogy-person-link, var(--oat-genealogy-link, #075fc6)) !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
}


/* v1.8.15 — CLEAN TWO-COLOR LINK SYSTEM
 *
 * 1) --oat-site-link:
 *    Ordinary website links only.
 *
 * 2) --oat-genealogy-link:
 *    People Profile person/family links, profile infobox family links,
 *    Relationship Explorer person links, and Family Tree person names only.
 *
 * The two colors are intentionally independent.
 */
:root {
    --oat-site-link: var(--oat-link, #075fc6);
    --oat-genealogy-person-link: var(--oat-genealogy-link, #075fc6);
}

/* ---------------------------------------------------------
   ORDINARY SITE LINKS
   --------------------------------------------------------- */
body a:not([data-person-id]):not(.oat-person-link) {
    color: var(--oat-site-link);
}

/* ---------------------------------------------------------
   GENEALOGY LINKS — RELATIONSHIP
   --------------------------------------------------------- */
.oat-rex-app a[data-person-id],
.oat-rex-app a.oat-person-link,
.oat-rex-app .oat-rex-person-card > h3,
.oat-rex-app .oat-rex-person-card > h3 a,
.oat-rex-app .oat-rex-selected.oat-rex-select-card strong,
.oat-rex-app .oat-rex-path a[data-person-id],
.oat-rex-app .oat-rex-result-card a[data-person-id],
.oat-rex-app .oat-rex-relationship-panel a[data-person-id],
.oat-rex-app .oat-rex-common-tree a[data-person-id],
.oat-rex-app .oat-rex-detailed-path a[data-person-id] {
    color: var(--oat-genealogy-link) !important;
}

/* ---------------------------------------------------------
   GENEALOGY LINKS — FAMILY TREE
   --------------------------------------------------------- */
#oat-rex-family-tree-anchor a[data-person-id],
#oat-rex-family-tree-anchor a.oat-person-link,
#oat-rex-family-tree-anchor .oat-rex-tree-person-name,
#oat-rex-family-tree-anchor .oat-rex-tree-person > strong,
.oat-rex-family-tree a[data-person-id],
.oat-rex-family-tree a.oat-person-link,
.oat-rex-family-tree .oat-rex-tree-person-name,
.oat-rex-family-tree .oat-rex-tree-person > strong,
.oat-rex-pro-family-tree a[data-person-id],
.oat-rex-pro-family-tree a.oat-person-link,
.oat-rex-pro-family-tree .oat-rex-tree-person-name,
.oat-rex-pro-family-tree .oat-rex-tree-person > strong {
    color: var(--oat-genealogy-link) !important;
}

/* ---------------------------------------------------------
   GENEALOGY LINKS — PEOPLE PROFILE / INFOBOX / BIOGRAPHY
   --------------------------------------------------------- */
.oat-rex-wiki-page a[data-person-id],
.oat-rex-wiki-page a.oat-person-link,
.oat-rex-wiki-page .oat-rex-wiki-facts a[data-person-id],
.oat-rex-wiki-page .oat-rex-profile-summary a[data-person-id],
.oat-rex-wiki-page .oat-rex-infobox a,
.oat-rex-wiki-page .oat-rex-wiki-infobox a,
.oat-rex-wiki-page .oat-rex-profile-infobox a,
.oat-rex-wiki-page .oat-rex-infobox-person-list a,
.oat-rex-wiki-page .oat-rex-infobox-person-item a,
.oat-rex-wiki-page .oat-rex-biography a[data-person-id],
.oat-rex-wiki-page .oat-rex-biography a.oat-person-link,
.oat-rex-wiki-page .oat-rex-biography-content a[data-person-id],
.oat-rex-wiki-page .oat-rex-biography-content a.oat-person-link,
.oat-rex-wiki-page .oat-rex-profile-biography a[data-person-id],
.oat-rex-wiki-page .oat-rex-profile-biography a.oat-person-link,
.oat-rex-wiki-page aside a[data-person-id],
.oat-rex-wiki-page aside a.oat-person-link,
.oat-re-live-profile a[data-person-id],
.oat-re-live-profile a.oat-person-link,
.oat-native-profile-page a[data-person-id],
.oat-native-profile-page a.oat-person-link {
    color: var(--oat-genealogy-link) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Keep genealogy links the SAME genealogy color in every state. */
.oat-rex-wiki-page a[data-person-id]:hover,
.oat-rex-wiki-page a[data-person-id]:focus,
.oat-rex-wiki-page a[data-person-id]:visited,
.oat-rex-wiki-page a.oat-person-link:hover,
.oat-rex-wiki-page a.oat-person-link:focus,
.oat-rex-wiki-page a.oat-person-link:visited,
.oat-rex-wiki-page .oat-rex-infobox a:hover,
.oat-rex-wiki-page .oat-rex-infobox a:focus,
.oat-rex-wiki-page .oat-rex-infobox a:visited,
.oat-rex-wiki-page .oat-rex-wiki-infobox a:hover,
.oat-rex-wiki-page .oat-rex-wiki-infobox a:focus,
.oat-rex-wiki-page .oat-rex-wiki-infobox a:visited,
.oat-rex-wiki-page .oat-rex-profile-infobox a:hover,
.oat-rex-wiki-page .oat-rex-profile-infobox a:focus,
.oat-rex-wiki-page .oat-rex-profile-infobox a:visited,
.oat-rex-wiki-page .oat-rex-biography a[data-person-id]:hover,
.oat-rex-wiki-page .oat-rex-biography a[data-person-id]:focus,
.oat-rex-wiki-page .oat-rex-biography a[data-person-id]:visited,
.oat-rex-wiki-page .oat-rex-biography a.oat-person-link:hover,
.oat-rex-wiki-page .oat-rex-biography a.oat-person-link:focus,
.oat-rex-wiki-page .oat-rex-biography a.oat-person-link:visited,
.oat-re-live-profile a[data-person-id]:hover,
.oat-re-live-profile a[data-person-id]:focus,
.oat-re-live-profile a[data-person-id]:visited,
.oat-native-profile-page a[data-person-id]:hover,
.oat-native-profile-page a[data-person-id]:focus,
.oat-native-profile-page a[data-person-id]:visited {
    color: var(--oat-genealogy-link) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------
   NAVIGATION TABS ARE NOT GENEALOGY LINKS
   --------------------------------------------------------- */
.oat-rex-wiki-tabs a,
.oat-rex-tabs a,
.oat-rex-tab,
.oat-rex-actions .oat-rex-tab-link {
    color: #111 !important;
    text-decoration: none !important;
}

/* No persistent indicator. */
.oat-rex-wiki-tabs a:not(:hover):not(:focus-visible),
.oat-rex-tabs a:not(:hover):not(:focus-visible),
.oat-rex-tab:not(:hover):not(:focus-visible),
.oat-rex-actions .oat-rex-tab-link:not(:hover):not(:focus-visible) {
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}

/* Black bottom indicator only on hover/focus. */
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-tabs a:hover,
.oat-rex-tabs a:focus-visible,
.oat-rex-tab:hover,
.oat-rex-tab:focus-visible,
.oat-rex-actions .oat-rex-tab-link:hover,
.oat-rex-actions .oat-rex-tab-link:focus-visible {
    color: #111 !important;
    text-decoration: none !important;
    border-bottom-color: #111 !important;
    box-shadow: inset 0 -3px 0 #111 !important;
}


/* v1.8.16 — separate Site Link Hover Color + no profile-tab hover line */

/* Ordinary website links use Site Link Color. */
body a:not([data-person-id]):not(.oat-person-link) {
    color: var(--oat-site-link, var(--oat-link, #075fc6));
}

/* Ordinary website link hover/focus uses its own independent color. */
body a:not([data-person-id]):not(.oat-person-link):hover,
body a:not([data-person-id]):not(.oat-person-link):focus-visible {
    color: var(--oat-site-link-hover, #135e96);
}

/* Genealogy/person links remain controlled only by Genealogy Link Color. */
.oat-rex-app a[data-person-id],
.oat-rex-app a.oat-person-link,
.oat-rex-wiki-page a[data-person-id],
.oat-rex-wiki-page a.oat-person-link,
.oat-rex-wiki-page .oat-profile-information-link,
.oat-rex-wiki-page .oat-rex-infobox a,
.oat-rex-wiki-page .oat-rex-wiki-infobox a,
.oat-rex-wiki-page .oat-rex-profile-infobox a,
#oat-rex-family-tree-anchor a[data-person-id],
#oat-rex-family-tree-anchor .oat-rex-tree-person-name,
#oat-rex-family-tree-anchor .oat-rex-tree-person > strong {
    color: var(--oat-genealogy-link, #075fc6) !important;
}

/* Biography / Family Tree / Sources / Records tabs:
 * black text, no underline, no border line, no inset indicator in any state.
 */
.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:link,
.oat-rex-wiki-tabs a:visited,
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-wiki-tabs a.active,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-wiki-tabs a[aria-current="page"],
.oat-rex-wiki-tabs a[aria-selected="true"],
.oat-rex-tabs a,
.oat-rex-tabs a:link,
.oat-rex-tabs a:visited,
.oat-rex-tabs a:hover,
.oat-rex-tabs a:focus,
.oat-rex-tabs a:focus-visible,
.oat-rex-tab,
.oat-rex-tab:hover,
.oat-rex-tab:focus,
.oat-rex-tab:focus-visible {
    color:#111 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    border-bottom:0 !important;
    border-bottom-color:transparent !important;
    box-shadow:none !important;
    background-image:none !important;
}


/* v1.8.17 — strict separation of Site Links, Navigation, and Genealogy Links
 *
 * Site Link Color is intentionally limited to ordinary page/article content.
 * It must NOT recolor navigation, menus, profile tabs, People Profiles,
 * Relationship Explorer, Family Trees, or profile infobox links.
 */

/* Cancel the older broad body-link color rule in areas that own their colors. */
.site-header a,
.main-navigation a,
.primary-navigation a,
.site-navigation a,
nav a,
.menu a,
.menu-item a,
.oat-rex-app a,
.oat-rex-wiki-page a,
.oat-re-live-profile a,
.oat-native-profile-page a,
#oat-rex-family-tree-anchor a {
    color: inherit;
}

/* Ordinary content links only. */
.entry-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link),
.page-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link),
.post-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link),
.widget a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link) {
    color: var(--oat-site-link, var(--oat-link, #075fc6));
}

.entry-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):hover,
.entry-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):focus-visible,
.page-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):hover,
.page-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):focus-visible,
.post-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):hover,
.post-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):focus-visible,
.widget a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):hover,
.widget a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):focus-visible {
    color: var(--oat-site-link-hover, #135e96);
}

/* Genealogy zones always use Genealogy Link Color, never Site Link Color. */
.oat-rex-app a[data-person-id],
.oat-rex-app a.oat-person-link,
.oat-rex-wiki-page a[data-person-id],
.oat-rex-wiki-page a.oat-person-link,
.oat-rex-wiki-page .oat-profile-information-link,
.oat-rex-wiki-page .oat-rex-wiki-article a,
.oat-rex-wiki-page .oat-rex-biography a,
.oat-rex-wiki-page .oat-rex-biography-content a,
.oat-rex-wiki-page .oat-rex-profile-biography a,
.oat-rex-wiki-page .oat-rex-infobox a,
.oat-rex-wiki-page .oat-rex-wiki-infobox a,
.oat-rex-wiki-page .oat-rex-profile-infobox a,
.oat-re-live-profile a[data-person-id],
.oat-re-live-profile a.oat-person-link,
.oat-re-live-profile .oat-profile-information-link,
.oat-native-profile-page a[data-person-id],
.oat-native-profile-page a.oat-person-link,
.oat-native-profile-page .oat-profile-information-link,
#oat-rex-family-tree-anchor a[data-person-id],
#oat-rex-family-tree-anchor a.oat-person-link {
    color: var(--oat-genealogy-link, #075fc6) !important;
}

/* Profile/Relationship navigation tabs remain UI controls and stay black. */
.oat-rex-wiki-tabs a,
.oat-rex-tabs a,
.oat-rex-tab,
.oat-rex-actions .oat-rex-tab-link {
    color:#111 !important;
    text-decoration:none !important;
}


/* v1.8.18 — independent Navigation Link Color controls
 *
 * Site links, Navigation links, and Genealogy links are three separate systems.
 */

/* HEADER / MENU NAVIGATION ONLY */
.site-header a,
.site-navigation a,
.primary-navigation a,
.main-navigation a,
.primary-menu a,
.oat-nav-row a,
nav.primary-menu a,
.menu > li > a,
.menu-item > a {
    color: var(--oat-navigation-link, #111111) !important;
}

.site-header a:hover,
.site-header a:focus-visible,
.site-navigation a:hover,
.site-navigation a:focus-visible,
.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.main-navigation a:hover,
.main-navigation a:focus-visible,
.primary-menu a:hover,
.primary-menu a:focus-visible,
.oat-nav-row a:hover,
.oat-nav-row a:focus-visible,
nav.primary-menu a:hover,
nav.primary-menu a:focus-visible,
.menu > li > a:hover,
.menu > li > a:focus-visible,
.menu-item > a:hover,
.menu-item > a:focus-visible {
    color: var(--oat-navigation-link-hover, #111111) !important;
}

/* Keep profile/relationship tabs black and isolated from nav color settings. */
.oat-rex-wiki-tabs a,
.oat-rex-tabs a,
.oat-rex-tab,
.oat-rex-actions .oat-rex-tab-link {
    color:#111 !important;
    text-decoration:none !important;
}


/* v1.8.19 — STRICT NAVIGATION / SITE LINK SEPARATION
 *
 * Navigation links have their own color channel and can never inherit
 * Site Link Color. Ordinary site-content links never style navigation.
 */

/* NAVIGATION: only Navigation Link Color */
.site-header .site-navigation a,
.site-header .primary-menu a,
.site-header .menu-item > a,
.site-navigation .menu-item > a,
.primary-navigation .menu-item > a,
.main-navigation .menu-item > a,
.oat-nav-row a,
nav .menu-item > a {
    color:var(--oat-navigation-link,#111111)!important;
}

/* NAVIGATION HOVER: only Navigation Link Hover Color */
.site-header .site-navigation a:hover,
.site-header .site-navigation a:focus-visible,
.site-header .primary-menu a:hover,
.site-header .primary-menu a:focus-visible,
.site-header .menu-item > a:hover,
.site-header .menu-item > a:focus-visible,
.site-navigation .menu-item > a:hover,
.site-navigation .menu-item > a:focus-visible,
.primary-navigation .menu-item > a:hover,
.primary-navigation .menu-item > a:focus-visible,
.main-navigation .menu-item > a:hover,
.main-navigation .menu-item > a:focus-visible,
.oat-nav-row a:hover,
.oat-nav-row a:focus-visible,
nav .menu-item > a:hover,
nav .menu-item > a:focus-visible {
    color:var(--oat-navigation-link-hover,#111111)!important;
}

/* SITE LINKS: ordinary content only. Explicitly exclude all navigation. */
.entry-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link),
.page-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link),
.post-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link) {
    color:var(--oat-site-link,var(--oat-link,#075fc6));
}

.entry-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):hover,
.entry-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):focus-visible,
.page-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):hover,
.page-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):focus-visible,
.post-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):hover,
.post-content a:not([data-person-id]):not(.oat-person-link):not(.oat-profile-information-link):focus-visible {
    color:var(--oat-site-link-hover,#135e96);
}

/* Genealogy stays on its own channel. */
.oat-rex-app a[data-person-id],
.oat-rex-app a.oat-person-link,
.oat-rex-wiki-page a[data-person-id],
.oat-rex-wiki-page a.oat-person-link,
.oat-rex-wiki-page .oat-profile-information-link,
.oat-rex-wiki-page .oat-rex-wiki-article a,
.oat-rex-wiki-page .oat-rex-infobox a,
#oat-rex-family-tree-anchor a[data-person-id],
#oat-rex-family-tree-anchor a.oat-person-link {
    color:var(--oat-genealogy-link,#075fc6)!important;
}


/* v1.8.20 — Relationship Explorer tab isolation
 *
 * Theme Site/Navigation link colors must NEVER take control of plugin tabs.
 * The plugin owns tab switching and active-state behavior.
 */

/* People Profile tabs: keep them clickable and visually neutral.
   Do not inject navigation/site-link hover colors or underline effects. */
.oat-rex-wiki-tabs,
.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:link,
.oat-rex-wiki-tabs a:visited,
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-wiki-tabs a.active,
.oat-rex-wiki-tabs a[aria-current="page"],
.oat-rex-wiki-tabs a[aria-selected="true"] {
    pointer-events:auto !important;
}

.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:link,
.oat-rex-wiki-tabs a:visited,
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus,
.oat-rex-wiki-tabs a:focus-visible {
    color:#111 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    cursor:pointer !important;
}

/* Remove ONLY theme-created tab lines/shadows. */
.oat-rex-wiki-tabs a,
.oat-rex-wiki-tabs a:hover,
.oat-rex-wiki-tabs a:focus,
.oat-rex-wiki-tabs a:focus-visible,
.oat-rex-wiki-tabs a.is-active,
.oat-rex-wiki-tabs a.active {
    border-bottom-color:transparent !important;
    box-shadow:none !important;
}

/* Keep the profile panels under plugin control. */
.oat-rex-wiki-main .oat-rex-wiki-article[hidden] {
    display:none !important;
}
.oat-rex-wiki-main .oat-rex-wiki-article.is-active:not([hidden]) {
    display:block !important;
}

/* Relationship / Family Tree top tabs:
   isolate them from Site Link Color and Navigation Link Color.
   Preserve the plugin's borders/background/active layout. */
.oat-rex-app .oat-rex-actions,
.oat-rex-app .oat-rex-actions a,
.oat-rex-app .oat-rex-actions .oat-rex-tab-link {
    pointer-events:auto !important;
}

.oat-rex-app .oat-rex-actions a,
.oat-rex-app .oat-rex-actions a:link,
.oat-rex-app .oat-rex-actions a:visited,
.oat-rex-app .oat-rex-actions a:hover,
.oat-rex-app .oat-rex-actions a:focus,
.oat-rex-app .oat-rex-actions a:focus-visible,
.oat-rex-app .oat-rex-actions .oat-rex-tab-link,
.oat-rex-app .oat-rex-actions .oat-rex-tab-link:hover,
.oat-rex-app .oat-rex-actions .oat-rex-tab-link:focus-visible {
    color:#111 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    cursor:pointer !important;
}

/* Do not let the theme's generic nav/menu rules capture plugin navigation. */
.oat-rex-app nav a,
.oat-rex-wiki-page nav a,
.oat-re-live-profile nav a,
.oat-native-profile-page nav a {
    color:inherit;
}

/* Genealogy content remains on the dedicated Genealogy Link Color channel. */
.oat-rex-wiki-page .oat-profile-information-link,
.oat-rex-wiki-page .oat-rex-wiki-article a:not([data-oat-profile-tab]),
.oat-rex-wiki-page .oat-rex-infobox a,
.oat-rex-wiki-page .oat-rex-wiki-infobox a,
.oat-rex-app a[data-person-id],
.oat-rex-app a.oat-person-link,
#oat-rex-family-tree-anchor a[data-person-id],
#oat-rex-family-tree-anchor a.oat-person-link {
    color:var(--oat-genealogy-link,#075fc6) !important;
}


/* v1.8.21 — customizable People Profile infobox border
 * Background stays transparent; only the outline color is controlled here.
 */
.oat-rex-wiki-page .oat-rex-wiki-sidebar--slim,
.oat-rex-wiki-page .oat-rex-wiki-infobox,
.oat-rex-wiki-page .oat-rex-profile-infobox,
.oat-re-live-profile .oat-rex-wiki-sidebar--slim,
.oat-native-profile-page .oat-rex-wiki-sidebar--slim {
    border:1px solid var(--oat-infobox-border,#d6d2c8) !important;
    background:transparent !important;
}


/* v1.8.24 — homepage feature/archive cards follow the site background.
 * Removes hard-coded white fills while preserving borders, spacing and content.
 */
.home .oat-card,
.home .oat-home-card,
.home .oat-feature-card,
.home .oat-feature-tile,
.home .oat-home-tile,
.home .oat-archive-card,
.home .oat-home-feature,
.home .wp-block-group.oat-card,
.home .wp-block-column.oat-card,
.home .wp-block-cover.oat-card,
.home .wp-block-group[class*="card"],
.home .wp-block-column[class*="card"],
.home .wp-block-group[class*="tile"],
.home .wp-block-column[class*="tile"],
.front-page .oat-card,
.front-page .oat-home-card,
.front-page .oat-feature-card,
.front-page .oat-feature-tile,
.front-page .oat-home-tile,
.front-page .oat-archive-card,
body.home .wp-block-group.has-background,
body.home .wp-block-column.has-background {
    background:transparent !important;
    background-color:transparent !important;
}

/* Preserve card outlines if the homepage cards use these common wrappers. */
.home .oat-card,
.home .oat-home-card,
.home .oat-feature-card,
.home .oat-feature-tile,
.home .oat-home-tile,
.home .oat-archive-card {
    box-shadow:none;
}


/* v1.8.25 — single infobox separator ownership
 * Relationship Explorer owns the identity/facts separator.
 * Theme only supplies --oat-infobox-border color and outer infobox border.
 */
.oat-rex-wiki-page .oat-rex-wiki-sidebar--slim > .oat-rex-wiki-facts,
.oat-re-live-profile .oat-rex-wiki-sidebar--slim > .oat-rex-wiki-facts,
.oat-native-profile-page .oat-rex-wiki-sidebar--slim > .oat-rex-wiki-facts {
    border-top:0 !important;
}
