.gpc5-content{--gpc5-brown:#8d3c24;--gpc5-gold:#e6c36f;max-width:1100px;margin:24px auto;padding:16px 12px;color:#31312e;font:inherit}.gpc5-content *{box-sizing:border-box}.gpc5-content header{margin-bottom:20px}.gpc5-content h2{font-size:clamp(24px,3vw,34px);margin:6px 0 10px;font-weight:750;color:#253e32;line-height:1.25}.gpc5-content h3{font-size:20px;line-height:1.4}.gpc5-content p{line-height:1.65}.gpc5-content a{text-decoration:none}.gpc5-kicker{font-size:12px;letter-spacing:.1em;font-weight:750;color:#a45e26}.gpc5-content-admin-link a,.gpc5-action{display:inline-flex;padding:10px 17px;border-radius:25px;background:#995b1c;color:#fff!important;font-weight:700;align-items:center;justify-content:center;border:0;cursor:pointer;text-decoration:none!important}.gpc5-content-admin-link{margin:10px 0 20px}.gpc5-shrine-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:22px}.gpc5-shrine-card,.gpc5-news-card{border:1px solid #e9e2d4;background:#fff;border-radius:24px;box-shadow:0 6px 18px #4941210d;overflow:hidden}.gpc5-shrine-map{height:250px;background:#f5f0e6}.gpc5-shrine-map iframe,.gpc5-shrine-map img{width:100%;height:100%;object-fit:cover;border:0}.gpc5-shrine-body{padding:22px}.gpc5-shrine-facts{border-top:1px solid #eee;padding-top:10px;margin:16px 0}.gpc5-shrine-facts p{margin:5px 0}.gpc5-edit-link{color:#9e552c;font-weight:650;margin-left:12px}.gpc5-content-empty,.gpc5-content-locked{border:1px dashed #e0c8ad;border-radius:20px;padding:24px;text-align:center;background:#fffbf2}.gpc5-news-controls{display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:space-between;border:1px solid #eee5d9;border-radius:18px;padding:14px;margin:20px 0}.gpc5-news-tabs{display:flex;flex-wrap:wrap;gap:5px}.gpc5-news-tabs button{border:1px solid #e5dfd4;border-radius:20px;background:white;padding:8px 12px;color:#57534e;cursor:pointer;font-size:13px;line-height:1.4}.gpc5-news-tabs button.is-active{background:#a76529;color:#fff}.gpc5-news-search-label{flex:1;min-width:190px;max-width:340px}.gpc5-news-search-label input,.gpc5-search-member input,.gpc5-kinship-standalone input,.gpc5-kinship-standalone select{width:100%;background:#fff;padding:10px 14px;border-radius:14px;border:1px solid #dfdedb;color:#222;font:inherit}.gpc5-news-feed{display:grid;gap:20px}.gpc5-news-card{padding:25px}.gpc5-news-meta,.gpc5-news-info{display:inline-flex;align-items:center;gap:8px;color:#78716c;font-size:13px;margin-bottom:10px}.gpc5-news-meta{display:flex;gap:15px}.gpc5-news-card h3{font-size:24px;margin:4px 0 14px;color:#292524}.gpc5-category-tag{background:#f9e9d3;color:#975317;border-radius:25px;padding:5px 12px;font-weight:700}.gpc5-news-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:16px 0}.gpc5-news-gallery img{width:100%;height:170px;object-fit:cover;border-radius:13px}.gpc5-news-lightbox[hidden],.gpc5-content [hidden]{display:none!important}.gpc5-news-lightbox{position:fixed;inset:0;z-index:2147483646;display:flex;align-items:center;justify-content:center;background:#131313ee;padding:36px 50px}.gpc5-news-lightbox img{max-width:100%;max-height:88vh;object-fit:contain}.gpc5-news-lightbox>button{position:absolute;border:0;color:white;background:#30303088;font-size:28px;border-radius:40px;cursor:pointer;width:45px;height:45px}.gpc5-news-lightbox-close{top:20px;right:20px}.gpc5-news-lightbox-prev{left:10px}.gpc5-news-lightbox-next{right:10px}.gpc5-news-lightbox p{position:absolute;bottom:8px;color:#fff}.gpc5-member-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:13px;margin-top:20px}.gpc5-member-card{display:flex;align-items:center;gap:13px;border:1px solid #e7e0d7;background:#fff;border-radius:18px;padding:13px;color:#27272a!important}.gpc5-member-card img,.gpc5-member-placeholder{width:55px;height:55px;border-radius:16px;object-fit:cover;flex-shrink:0}.gpc5-member-placeholder{background:#e2f4f7;display:grid;place-items:center;color:#196e86;font-size:26px}.gpc5-member-card span:nth-child(2){min-width:0;flex:1}.gpc5-member-card strong{display:block;word-break:break-word}.gpc5-member-card small{display:block;margin-top:6px;color:#78716c}.gpc5-member-arrow{font-size:27px;color:#a87036}.gpc5-search-member{display:block;max-width:390px}.gpc5-kinship-standalone{max-width:880px}.gpc5-kinship-standalone-controls{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:end}.gpc5-kinship-standalone-controls>label{display:grid;gap:10px}.gpc5-kinship-switch{padding:10px;border-radius:50%;background:#f8f1e4;border:1px solid #e7dac8;cursor:pointer}.gpc5-kinship-find-button{margin-top:20px}.gpc5-kinship-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.gpc5-kinship-result-grid article{padding:18px;background:#fdf7eb;border:1px solid #ecdac0;border-radius:16px}.gpc5-kinship-result-grid small{display:block;margin-bottom:12px}.gpc5-kinship-result-grid strong{font-size:21px;color:#8b4517}.gpc5-kinship-note{color:#78716c;font-size:13px}.gpc5-content-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.gpc5-content-field{display:grid;gap:5px}.gpc5-content-field input,.gpc5-content-field select{max-width:100%;width:100%;padding:8px}.gpc5-content-field button{margin-top:4px}.gpc5-content-full{grid-column:1/-1}@media(max-width:600px){.gpc5-content{padding:12px 4px}.gpc5-kinship-standalone-controls{grid-template-columns:1fr}.gpc5-kinship-switch{justify-self:center}.gpc5-kinship-result-grid{grid-template-columns:1fr}.gpc5-content-fields{grid-template-columns:1fr}.gpc5-shrine-body,.gpc5-news-card{padding:16px}.gpc5-news-gallery img{height:135px}}

/* v0.41 searchable caretaker, automatic author */
.gpc5-content-field input[type=search]{width:100%;min-height:38px;margin:0 0 7px}.gpc5-content-field small{color:#666;line-height:1.45}.gpc5-news-author-readonly{padding:10px 13px!important;margin:0!important;border:1px solid #d7dacd;border-radius:9px;background:#f2f6ef;font-weight:700}


/* v0.44 — Member directory, adapted from the supplied FamilyApp MembersView.
   Scoped to shortcode only; no source data or source-family statements included. */
.gpc5-content.gpc5-directory{max-width:1200px;width:min(100%,1200px);padding:26px 20px 48px;margin:20px auto;font-family:'Nunito Sans',Arial,sans-serif}
.gpc5-directory-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.gpc5-directory-heading h2{font-family:'Baloo 2','Nunito Sans',sans-serif;font-size:clamp(27px,3vw,37px);font-weight:800;color:#21412f;margin:7px 0 5px;line-height:1.15}
.gpc5-directory-heading p{color:#756b5d;font-size:14px;margin:0}
.gpc5-directory-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.gpc5-directory-actions a{display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;padding:11px 15px;border-radius:12px;font-size:13px;font-weight:800;text-decoration:none!important;transition:background .18s,transform .18s}
.gpc5-directory-primary{background:#8d2e27;color:#fff!important;border:1px solid #8d2e27}
.gpc5-directory-secondary{background:#fffdf7;color:#624a2d!important;border:1px solid #dcc9a6}
.gpc5-directory-actions a:hover{transform:translateY(-1px)}
.gpc5-directory-filters{display:grid;grid-template-columns:minmax(230px,1fr) minmax(160px,210px) minmax(150px,190px);gap:10px;background:#fcf4e3;border:1px solid #e9daba;padding:14px;border-radius:17px;align-items:stretch}
.gpc5-directory-filters label{margin:0;position:relative;min-width:0}
.gpc5-directory-filters svg{width:19px;height:19px;flex:0 0 auto;color:#967a50}
.gpc5-directory-search{display:flex;align-items:center;gap:8px;border:1px solid #dccdad;border-radius:11px;padding:0 12px;background:#fffdfa;min-width:0}
.gpc5-directory-search input{width:100%;min-width:0;height:46px;padding:0!important;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;font-size:14px!important;color:#2f3a30!important}
.gpc5-directory-select select{width:100%;height:48px;appearance:none;background:#fffdfa;border:1px solid #dccdad;border-radius:11px;padding:0 35px 0 13px;font:700 13px 'Nunito Sans',Arial,sans-serif;color:#394338;min-width:0}
.gpc5-directory-select svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none}
.gpc5-directory-count{font-size:13px;color:#786a59;margin:19px 0 15px}
.gpc5-directory-count strong{color:#9a312a}
.gpc5-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:0}
.gpc5-content a.gpc5-directory-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:278px;border:1px solid #e8dfcd;border-radius:18px;padding:20px;background:#fffdf8;color:#2c392e!important;box-shadow:0 6px 25px rgba(65,50,30,.045);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;text-decoration:none!important;gap:0}
.gpc5-content a.gpc5-directory-card:hover,.gpc5-content a.gpc5-directory-card:focus-visible{transform:translateY(-4px);border-color:#cda76a;box-shadow:0 14px 28px rgba(68,50,27,.13)}
.gpc5-directory-card-head{display:flex;justify-content:space-between;align-items:start;gap:8px;min-height:66px}
.gpc5-directory-card .gpc5-member-placeholder,.gpc5-directory-card img{display:block;flex:0 0 60px;width:60px;height:60px;min-width:60px;object-fit:cover;border-radius:16px;border:2px solid rgba(255,255,255,.8);box-shadow:0 0 0 1px #e7dcca,0 4px 14px #54432918}
.gpc5-directory-card .gpc5-member-placeholder{display:grid;place-items:center}
.gpc5-directory-card .gpc5-member-placeholder svg{width:39px;height:39px}
.gpc5-directory-gen{white-space:nowrap;flex:0 0 auto;background:#f6e9d1;border:1px solid #e8d6b4;color:#87521f;border-radius:28px;padding:6px 9px;font-size:11px;font-weight:800;line-height:1.2}
.gpc5-directory-name{display:block;font-family:'Baloo 2','Nunito Sans',sans-serif;font-size:21px;font-weight:800;line-height:1.14;margin-top:13px;overflow-wrap:anywhere}
.gpc5-directory-alias{color:#ab5839;font-size:12px;font-weight:750;display:block;margin-top:3px;min-height:1em}
.gpc5-directory-years{display:flex;align-items:center;gap:7px;font-size:12px;color:#8b806d;margin-top:5px}
.gpc5-directory-meta{display:flex;flex-direction:column;gap:8px;border-top:1px solid #eee4d2;padding-top:12px;margin-top:13px;color:#786f61;font-size:12px}
.gpc5-directory-meta>span{display:flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere}
.gpc5-directory-icon{width:16px!important;height:16px!important;flex:0 0 16px}
.gpc5-directory-link{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:900;color:#95392d;margin-top:auto;padding-top:15px}
.gpc5-directory-footer{display:flex;justify-content:center;padding-top:22px}
.gpc5-directory-more{background:#fffaf0;border:1px solid #d9bd87;padding:10px 22px;border-radius:23px;color:#77552e;font-weight:800;cursor:pointer}
.gpc5-directory-more:hover{background:#f7ead5}
.gpc5-directory-empty{text-align:center;padding:35px 12px;color:#827364}
.gpc5-content.gpc5-directory [hidden]{display:none!important}
@media(max-width:1050px){.gpc5-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:790px){.gpc5-directory-heading{align-items:flex-start;flex-direction:column}.gpc5-directory-filters{grid-template-columns:1fr 1fr}.gpc5-directory-search{grid-column:1/-1}.gpc5-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.gpc5-content.gpc5-directory{padding:18px 10px 32px}.gpc5-directory-filters{padding:10px;gap:8px}.gpc5-directory-grid{grid-template-columns:1fr;gap:11px}.gpc5-content a.gpc5-directory-card{min-height:0;padding:17px}.gpc5-directory-heading h2{font-size:28px}.gpc5-directory-actions{width:100%;justify-content:flex-start}.gpc5-directory-actions a{flex:1}.gpc5-directory-name{font-size:21px}}
/* Box sizing is applied on the shortcode section itself; prevents mobile 20px overflow. */
.gpc5-content.gpc5-directory{box-sizing:border-box!important;min-width:0}
.gpc5-directory .screen-reader-text{border:0!important;clip:rect(1px,1px,1px,1px)!important;clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;position:absolute!important;white-space:nowrap!important;padding:0!important;margin:-1px!important}
.gpc5-directory-card .gpc5-directory-gen{flex:0 0 auto!important;min-width:max-content!important}

/* v0.45: reusable genealogy profile modal, rendered once for member cards */
.gpc5-directory-shell{position:relative;min-width:0;max-width:100%}
.gpc5-directory-profile-engine{position:absolute!important;left:-99999px!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

/* v0.50.0 — unified interface */

.gpc5-content{max-width:1180px;color:#213b30;min-width:0}.gpc5-content:not(.gpc5-origin)>header,.gpc5-directory-heading{border-bottom:1px solid #e6d6b9;padding-bottom:18px}.gpc5-content:not(.gpc5-origin)>header h2,.gpc5-directory-heading h2{color:#213b30;font-size:clamp(27px,3vw,36px);letter-spacing:-.02em}.gpc5-content:not(.gpc5-origin)>header p,.gpc5-directory-heading p{color:#655f53}
.gpc5-content .gpc5-action,.gpc5-content .gpc5-content-admin-link a,.gpc5-content .gpc5-directory-primary,.gpc5-content .gpc5-kinship-find-button{background:#204f37!important;color:white!important;border:1px solid #204f37!important;border-radius:30px;min-height:40px}.gpc5-content .gpc5-action:hover,.gpc5-content .gpc5-directory-primary:hover,.gpc5-content .gpc5-kinship-find-button:hover{background:#153c2a!important}
.gpc5-content .gpc5-shrine-card,.gpc5-content .gpc5-news-card,.gpc5-content a.gpc5-directory-card{background:#fffdf8!important;border:1px solid #e6d6b9!important;border-radius:16px!important;box-shadow:0 5px 20px #5942210c!important}.gpc5-content .gpc5-shrine-card h3,.gpc5-content .gpc5-news-card h3,.gpc5-content .gpc5-directory-name{color:#213b30!important}.gpc5-content .gpc5-shrine-facts{background:#eef3e8;border:1px solid #dbe5d6;border-radius:12px;padding:11px 14px;color:#355342}.gpc5-content .gpc5-shrine-facts p{overflow-wrap:anywhere}.gpc5-content .gpc5-news-meta{flex-wrap:wrap}.gpc5-content .gpc5-news-tabs button.is-active{background:#204f37;color:white;border-color:#204f37}.gpc5-content .gpc5-news-controls,.gpc5-content .gpc5-directory-filters{background:#fffdf8;border-color:#e6d6b9;border-radius:16px}.gpc5-content .gpc5-directory-gen,.gpc5-content .gpc5-category-tag{background:#f4ead4;color:#80531e}.gpc5-content .gpc5-directory-link{color:#204f37!important}.gpc5-content a.gpc5-directory-card:hover{border-color:#b98e4b!important;box-shadow:0 6px 20px #59422117!important}.gpc5-content .gpc5-kinship-standalone-controls,.gpc5-content .gpc5-kinship-result-grid{border-color:#e6d6b9;background:#fffdf8;border-radius:16px}.gpc5-content .gpc5-news-search,.gpc5-content .gpc5-kinship-standalone select,.gpc5-content .gpc5-kinship-standalone input{border-color:#d9cbae}.gpc5-content .gpc5-content-empty{background:#fffdf8;border-color:#d9cbae;color:#655f53}
@media(max-width:600px){.gpc5-content .gpc5-shrine-body,.gpc5-content .gpc5-news-card{padding:16px}.gpc5-content .gpc5-shrine-map{height:210px}.gpc5-content .gpc5-news-search-label{min-width:0;max-width:none;flex-basis:100%}.gpc5-content .gpc5-news-gallery img{height:125px}}


/* v0.51.0 — NewsView source-aligned, scoped to news shortcode only. */
.gpc5-content.gpc5-news{--news-gold:#a6641b;--news-green:#254a36;width:100%;max-width:1180px;margin:24px auto;padding:0;color:#173b28}
.gpc5-content.gpc5-news .gpc5-news-icon{display:inline-block;width:15px;height:15px;flex:none;vertical-align:middle;stroke:currentColor}
.gpc5-content.gpc5-news>header.gpc5-news-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:0;border:0;margin:0 0 30px}
.gpc5-news-toolbar>div{flex:1 1 480px;min-width:0}
.gpc5-content.gpc5-news>header.gpc5-news-toolbar .gpc5-kicker{letter-spacing:.18em;font-size:12px;color:#aa6e2b;font-weight:800}
.gpc5-content.gpc5-news>header.gpc5-news-toolbar h2{font-family:'Charm',Georgia,serif!important;font-size:clamp(29px,3.4vw,38px);font-weight:700;letter-spacing:0;line-height:1.22;margin:5px 0 6px;color:#173b28}
.gpc5-content.gpc5-news>header.gpc5-news-toolbar p{font-size:15px;line-height:1.6;color:#887968;margin:0}
.gpc5-news a.gpc5-news-create{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:white!important;background:linear-gradient(135deg,#b63124,#942018);padding:13px 24px;border-radius:28px;font-size:15px;font-weight:800;box-shadow:0 8px 20px #b6312440;text-decoration:none!important;white-space:normal;text-align:center;line-height:1.4}
.gpc5-news a.gpc5-news-create:hover{background:#942018}.gpc5-news a.gpc5-news-create svg{width:18px;height:18px}
.gpc5-content.gpc5-news .gpc5-news-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#fffdf8;border:1px solid #e8dbbf;border-radius:14px;padding:14px 18px;margin:0 0 18px;box-shadow:0 4px 14px #3228140a}
.gpc5-news .gpc5-news-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.gpc5-content.gpc5-news .gpc5-news-tabs button{display:inline-flex;align-items:center;gap:6px;border:1px solid #e2d3b4;background:#fbf5e8;color:#5c5240;font-size:13px;font-weight:700;line-height:1.35;padding:8px 14px;border-radius:20px;margin:0;min-height:36px;letter-spacing:0;text-transform:none;box-shadow:none;cursor:pointer}
.gpc5-news [data-category="gio"]{--cat-color:#a6641b;--cat-bg:#fbf0de}.gpc5-news [data-category="le"]{--cat-color:#25704d;--cat-bg:#e8f5ed}.gpc5-news [data-category="tiec"]{--cat-color:#a83232;--cat-bg:#fdeeed}.gpc5-news [data-category="khac"]{--cat-color:#355c7d;--cat-bg:#e9f1f7}
.gpc5-news .gpc5-news-tabs button svg{color:var(--cat-color,currentColor)}.gpc5-content.gpc5-news .gpc5-news-tabs button:hover{background:#f4e7cd}.gpc5-content.gpc5-news .gpc5-news-tabs button.is-active{background:#254a36;border-color:#254a36;color:white}.gpc5-news .gpc5-news-tabs button.is-active svg{color:white}
.gpc5-news-tab-count{background:#00000012;border-radius:10px;padding:1px 6px;font-size:11px;line-height:1.25}.gpc5-news button.is-active .gpc5-news-tab-count{background:#ffffff40;color:white}
.gpc5-content.gpc5-news .gpc5-news-search-label{display:flex;align-items:center;gap:8px;flex:0 1 260px;max-width:100%;min-width:0;padding:6px 14px;border:1px solid #e2d3b4;border-radius:22px;background:#f9f2e3;color:#5c5240;margin:0}
.gpc5-content.gpc5-news .gpc5-news-search-label input.gpc5-news-search{width:100%;min-width:0;min-height:0;font-size:13px;line-height:1.5;color:#333;border:0;background:transparent;box-shadow:none;padding:0;margin:0;border-radius:0;font-weight:400}
.gpc5-news .gpc5-news-count{color:#7b7161;font-size:13px;margin:0 0 24px;padding-left:4px}.gpc5-news .gpc5-news-count strong{color:#244b35}
.gpc5-news .gpc5-news-feed{display:flex;flex-direction:column;gap:28px}
.gpc5-content.gpc5-news article.gpc5-news-card{display:block;background:#fffdfa!important;border:1px solid #ebdcc1!important;border-radius:18px!important;box-shadow:0 10px 30px #3228140d!important;padding:0!important;overflow:hidden;margin:0;min-width:0}
.gpc5-content.gpc5-news article.gpc5-news-card[hidden]{display:none!important}
.gpc5-news .gpc5-news-card-header{padding:22px 24px 14px}.gpc5-news .gpc5-news-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 10px}
.gpc5-content.gpc5-news .gpc5-category-tag{display:inline-flex;align-items:center;gap:6px;background:var(--cat-bg,#e9f1f7);color:var(--cat-color,#355c7d);padding:4px 11px;border-radius:14px;font-size:12px;font-weight:800;line-height:1.3}
.gpc5-news .gpc5-news-date,.gpc5-news .gpc5-news-info{display:inline-flex;align-items:center;gap:5px;flex-wrap:nowrap;color:#887968;font-size:12px;line-height:1.5;margin:0;min-width:0;overflow-wrap:anywhere}
.gpc5-content.gpc5-news .gpc5-news-card h3{font-size:23px;line-height:1.3;margin:0 0 8px;color:#173b28!important;font-weight:800;overflow-wrap:anywhere}
.gpc5-news .gpc5-news-info-row{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap}.gpc5-news .gpc5-news-info{font-size:13px}.gpc5-news .gpc5-news-author svg{color:#b53224}.gpc5-news .gpc5-news-location svg{color:#2b7049}
.gpc5-news .gpc5-news-body{padding:0 24px 16px;color:#4a4539;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.gpc5-news .gpc5-news-body p{margin:0 0 14px}.gpc5-news .gpc5-news-gallery{padding:0 24px;margin:0 0 18px}
.gpc5-news .gpc5-news-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;min-height:29px;background:#fcf9f2;border-top:1px solid #f0e5d0;padding:14px 24px}.gpc5-news .gpc5-news-view-gallery,.gpc5-news .gpc5-news-card-footer .gpc5-edit-link{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;padding:0;color:#205c3c;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer}.gpc5-news .gpc5-news-card-footer .gpc5-edit-link{margin-left:auto;color:#98601e}.gpc5-news .gpc5-news-view-gallery:hover,.gpc5-news .gpc5-news-card-footer .gpc5-edit-link:hover{text-decoration:underline}.gpc5-news-no-results>.gpc5-news-icon{width:44px!important;height:44px!important;color:#aa6e2b}
@media(max-width:700px){.gpc5-content.gpc5-news{padding:0 4px}.gpc5-content.gpc5-news>header.gpc5-news-toolbar{gap:14px;margin-bottom:20px}.gpc5-news-toolbar>div{flex-basis:100%}.gpc5-content.gpc5-news .gpc5-news-controls{padding:12px;gap:12px}.gpc5-content.gpc5-news .gpc5-news-tabs button{padding:7px 10px;font-size:12px}.gpc5-content.gpc5-news .gpc5-news-search-label{flex:1 1 100%}.gpc5-news .gpc5-news-card-header{padding:16px 16px 12px}.gpc5-content.gpc5-news .gpc5-news-card h3{font-size:20px}.gpc5-news .gpc5-news-body{padding:0 16px 12px}.gpc5-news .gpc5-news-gallery{padding:0 16px}.gpc5-news .gpc5-news-card-footer{padding:12px 16px}}

.gpc5-news-compact .gpc5-news-controls,.gpc5-news-compact .gpc5-news-count{display:none!important}


/* v0.64.0 — larger standalone kinship controls with clearer color contrast */
.gpc5-content.gpc5-kinship-standalone{max-width:1180px;width:100%;padding:0;margin:0 auto;color:#1f3f31}
.gpc5-content.gpc5-kinship-standalone>header{border-bottom:1px solid #eadab8;padding:0 0 22px;margin:0 0 24px}
.gpc5-content.gpc5-kinship-standalone>header .gpc5-kicker{font-size:13px;letter-spacing:.18em;font-weight:800;color:#a56d2a}
.gpc5-content.gpc5-kinship-standalone>header h2{font-family:'Baloo 2','Nunito Sans',sans-serif;font-size:clamp(34px,3.8vw,50px);font-weight:800;line-height:1.08;margin:7px 0 10px;color:#173f2d}
.gpc5-content.gpc5-kinship-standalone>header p{font-size:16px;line-height:1.7;color:#6c685d;max-width:700px;margin:0}
.gpc5-content .gpc5-kinship-standalone-controls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:end;padding:20px;border:1px solid #e6d6b9;background:linear-gradient(180deg,#fffefb,#fbf5e7);border-radius:18px}
.gpc5-content .gpc5-kinship-standalone-controls>label{display:grid;gap:10px;font-size:15px;font-weight:800;color:#234734}
.gpc5-content .gpc5-kinship-switch{width:48px;height:48px;padding:0;border-radius:50%;background:#f4ead3;border:1px solid #e0cc9b;color:#8e631d;font-size:23px;align-self:end}
.gpc5-content .gpc5-kinship-standalone .gpc5-ss-trigger{min-height:64px!important;padding:10px 14px!important;border-radius:16px!important;border:1px solid #d9c8a7!important;background:#fff!important;color:#1f3f31!important;box-shadow:none!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-ss-trigger .gpc5-ss-value{color:#1f3f31!important}.gpc5-content .gpc5-kinship-standalone .gpc5-ss-trigger svg{color:#6f7e70!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-ss-person{gap:13px!important}.gpc5-content .gpc5-kinship-standalone .gpc5-ss-avatar{width:44px!important;height:44px!important;flex-basis:44px!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-ss-person-meta{gap:3px!important}.gpc5-content .gpc5-kinship-standalone .gpc5-ss-person-meta strong{font-size:15px!important;font-weight:800!important;color:#1e3e31!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-ss-person-meta small{font-size:13px!important;color:#7a705f!important}.gpc5-content .gpc5-kinship-standalone .gpc5-ss-option:has(.gpc5-ss-person){min-height:60px!important}
.gpc5-content .gpc5-kinship-find-button{margin-top:16px;min-width:180px;min-height:46px;font-size:15px;font-weight:800;border-radius:9px}
.gpc5-content .gpc5-kinship-result-grid{margin:18px 0 14px}.gpc5-content .gpc5-kinship-result-grid article{padding:20px;background:#fff9ee;border-color:#ead8b4;border-radius:18px}
.gpc5-content .gpc5-kinship-result-grid small{font-size:13px;color:#6e685b}.gpc5-content .gpc5-kinship-result-grid strong{font-size:23px;color:#8b4b16;line-height:1.25}
.gpc5-content .gpc5-kinship-note{font-size:14px;line-height:1.7;color:#6f695d;max-width:920px}
@media(max-width:720px){.gpc5-content.gpc5-kinship-standalone>header{padding-bottom:18px;margin-bottom:18px}.gpc5-content .gpc5-kinship-standalone-controls{grid-template-columns:1fr;gap:12px;padding:14px}.gpc5-content .gpc5-kinship-switch{justify-self:center;align-self:center}.gpc5-content .gpc5-kinship-find-button{width:100%}.gpc5-content .gpc5-kinship-result-grid{grid-template-columns:1fr}}


/* v0.65.0 — balanced kinship result layout */
.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-result-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-result-grid article{display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-height:132px!important;padding:22px 20px!important;background:#fffaf0!important;border:1px solid #ead6b0!important;border-radius:18px!important;box-shadow:0 5px 18px rgba(78,55,21,.05)!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-result-grid small{display:block!important;min-height:42px!important;margin:0 0 12px!important;font-size:14px!important;line-height:1.55!important;color:#696255!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-result-grid strong{display:block!important;font-size:18px!important;font-weight:800!important;line-height:1.25!important;color:#9a571e!important;word-break:break-word!important}
.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-note{font-size:14px!important;line-height:1.7!important;color:#6f695d!important}
@media(max-width:720px){.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-result-grid{grid-template-columns:1fr!important}.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-result-grid article{min-height:0!important}.gpc5-content .gpc5-kinship-standalone .gpc5-kinship-result-grid small{min-height:0!important}}


/* v0.66.0 — steadier kinship result cards */
.gpc5-content .gpc5-kinship-standalone-result{display:grid!important;gap:14px!important;align-items:start!important}
.gpc5-content .gpc5-kinship-standalone-result .gpc5-kinship-result-grid{margin:0!important;align-items:stretch!important;grid-auto-rows:1fr!important}
.gpc5-content .gpc5-kinship-standalone-result .gpc5-kinship-result-grid article{min-height:146px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}
.gpc5-content .gpc5-kinship-standalone-result .gpc5-kinship-result-grid small{min-height:48px!important;display:block!important;margin:0 0 14px!important;font-size:14px!important;line-height:1.6!important;color:#6b6458!important}
.gpc5-content .gpc5-kinship-standalone-result .gpc5-kinship-result-grid strong{display:block!important;font-size:19px!important;line-height:1.25!important;font-weight:800!important;color:#9a571e!important}
.gpc5-content .gpc5-kinship-standalone-result>p{margin:0!important;font-size:14px!important;line-height:1.7!important;color:#6f695d!important}
@media(max-width:720px){.gpc5-content .gpc5-kinship-standalone-result .gpc5-kinship-result-grid article{min-height:0!important}.gpc5-content .gpc5-kinship-standalone-result .gpc5-kinship-result-grid small{min-height:0!important}}

/* v0.70.0 — standalone lookup: isolated, balanced two-way results. */
.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-action-row{display:flex;justify-content:center;align-items:center;margin:18px 0;min-width:0}
.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-action-row>.gpc5-kinship-find-button{position:static!important;transform:none!important;float:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;width:auto!important;min-width:200px!important;min-height:46px!important;padding:11px 28px!important;font-size:16px!important;line-height:1.4!important}
.gpc5-content.gpc5-kinship-standalone>.gpc5-kinship-standalone-result{display:block!important;margin:0!important;padding:0!important;min-width:0;line-height:1.55}
.gpc5-content.gpc5-kinship-standalone>.gpc5-kinship-standalone-result:empty{display:none!important}
.gpc5-content.gpc5-kinship-standalone>.gpc5-kinship-standalone-result>.gpc5-kinship-result-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-standalone-result .gpc5-kinship-result-grid>article{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-width:0!important;min-height:126px!important;margin:0!important;padding:20px 18px!important;text-align:center!important;background:#fffdfa!important;border:1px solid #e5d2aa!important;border-radius:16px!important;box-shadow:none!important}
.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-standalone-result .gpc5-kinship-result-grid>article>small{display:block!important;min-height:0!important;margin:0!important;padding:0!important;font-size:16px!important;line-height:1.55!important;font-weight:600!important;text-align:center!important;color:#5d5a50!important;overflow-wrap:anywhere!important}
.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-standalone-result .gpc5-kinship-result-grid>article>strong{display:block!important;min-height:0!important;margin:0!important;padding:0!important;font-family:'Baloo 2','Nunito Sans',system-ui,sans-serif!important;font-size:clamp(30px,3vw,38px)!important;line-height:1.2!important;font-weight:800!important;text-align:center!important;color:#925017!important;overflow-wrap:anywhere!important}
.gpc5-content.gpc5-kinship-standalone>.gpc5-kinship-note{font-size:14px!important;line-height:1.6!important;margin:14px 0 0!important;max-width:none!important;color:#6b6458!important;text-align:left!important}
.gpc5-content.gpc5-kinship-standalone>.gpc5-kinship-standalone-result>p{margin:12px 0 0!important}
@media(max-width:720px){.gpc5-content.gpc5-kinship-standalone>.gpc5-kinship-standalone-result>.gpc5-kinship-result-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-action-row{margin:14px 0}.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-action-row>.gpc5-kinship-find-button{width:100%!important;min-width:0!important}.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-standalone-result .gpc5-kinship-result-grid>article{min-height:110px!important;padding:16px 12px!important;gap:8px!important}.gpc5-content.gpc5-kinship-standalone .gpc5-kinship-standalone-result .gpc5-kinship-result-grid>article>small{font-size:15px!important}}


/* v0.76.0 — portraits of deceased members only, not names or kinship badges. */
.gpc5-directory-card.gpc5-directory-deceased .gpc5-directory-card-head img,
.gpc5-directory-card.gpc5-directory-deceased .gpc5-directory-card-head .gpc5-member-placeholder,
.gpc5-ss-avatar.is-deceased > img,
.gpc5-ss-avatar.is-deceased > .gpc5-ss-avatar-placeholder {
  filter:grayscale(.92) brightness(.96) contrast(1.01)!important;
}


/* v0.79.0: Members page keeps its original generation palette for living and deceased people. */


/* v0.91.0 — avatar cards in MENU THÀNH VIÊN ([gpc5_members]).
   This is the directory grid, NOT the genealogy List or profile overlay.
   Do not broaden the selector: other avatar sizes were explicitly approved. */
.gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head{
  min-height:100px;align-items:flex-start;min-width:0;
}
.gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head > img,
.gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head > .gpc5-member-placeholder{
  display:block;width:100px;height:100px;min-width:100px;min-height:100px;
  flex:0 0 100px;max-width:100px;max-height:100px;
  object-fit:cover;object-position:center;border-radius:18px;box-sizing:border-box;
}
.gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head > .gpc5-member-placeholder{
  display:grid;place-items:center;
}
.gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head > .gpc5-member-placeholder svg{
  width:62px;height:62px;max-width:70%;max-height:70%;
}
.gpc5-content.gpc5-directory a.gpc5-directory-card{min-height:310px}
@media(max-width:530px){
  .gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head{min-height:88px}
  .gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head > img,
  .gpc5-content.gpc5-directory a.gpc5-directory-card .gpc5-directory-card-head > .gpc5-member-placeholder{
    width:88px;height:88px;min-width:88px;min-height:88px;flex:0 0 88px;max-width:88px;max-height:88px;
  }
  .gpc5-content.gpc5-directory a.gpc5-directory-card{min-height:0}
}


/* v0.94.0 — square member avatars and stronger hover lift outside Bubble view. */
.gpc5-member-card img,.gpc5-member-placeholder,.gpc5-directory-card .gpc5-member-placeholder,.gpc5-directory-card img{border-radius:16px!important}
.gpc5-content a.gpc5-directory-card,.gpc5-member-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.gpc5-member-card:hover{transform:translateY(-3px)!important;box-shadow:0 10px 22px rgba(80,58,28,.12)!important;border-color:#d0a35a!important}


/* v1.0.2: long Line–Star–Line for main section dividers.
   Replace *only* section boundaries, never card borders or field borders.
   The center is the exact four-point ornament from the user's uploaded SVG,
   cropped to a square viewport; line lengths alone are responsive. */
.gpc5-content.gpc5-kinship-standalone > header,
.gpc5-content.gpc5-directory > .gpc5-directory-heading,
.gpc5-content:not(.gpc5-origin):not(.gpc5-directory):not(.gpc5-kinship-standalone) > header {
  position:relative!important;
  border-bottom:0!important;
  padding-bottom:36px!important;
}
.gpc5-content.gpc5-kinship-standalone > header::after,
.gpc5-content.gpc5-directory > .gpc5-directory-heading::after,
.gpc5-content:not(.gpc5-origin):not(.gpc5-directory):not(.gpc5-kinship-standalone) > header::after {
  content:"";
  display:block;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:24px;
  pointer-events:none;
  background-image:url("ornamental-star.svg"),linear-gradient(#caa45e,#caa45e),linear-gradient(#caa45e,#caa45e);
  background-repeat:no-repeat;
  background-position:center center,left center,right center;
  background-size:24px 24px,calc(50% - 24px) 1px,calc(50% - 24px) 1px;
}
/* Explicit reusable class for future content section separators. */
.gpc5-ornamental-divider {
  width:100%;height:24px;border:0!important;
  background-image:url("ornamental-star.svg"),linear-gradient(#caa45e,#caa45e),linear-gradient(#caa45e,#caa45e);
  background-repeat:no-repeat;
  background-position:center center,left center,right center;
  background-size:24px 24px,calc(50% - 24px) 1px,calc(50% - 24px) 1px;
}

/* v1.1.5 news and directory badges, directly in their source stylesheet. */
.gpc5-content .gpc5-category-tag,.gpc5-content.gpc5-directory .gpc5-directory-gen{border-radius:11px!important}
