/* Shared public typography and reference navigation/footer. Admin and writer controls retain their own styles. */
.public-content{padding-top:28px;padding-bottom:48px;min-width:0}.public-page-body{min-width:0}.public-content input,.public-content button,.public-content select,.public-content textarea{font-family:var(--body-font)}
.public-content :is(h1,h2,h3,h4){line-height:1.35;letter-spacing:0}.public-content h1{font-size:32px}.public-content h2{font-size:26px}.public-content h3{font-size:22px}.public-content p{font-size:17px;line-height:1.6}.public-content .card,.public-content .panel{box-shadow:none;border-radius:var(--content-radius,3px)}
.public-content .author-identity h1{font-size:32px}.public-content .author-cover{height:clamp(190px,27vw,330px);border-radius:var(--content-radius,3px)}.public-content .author-summary{border-radius:var(--content-radius,3px);box-shadow:none}.public-content .author-article h3{font-size:22px}.public-content .family-hero h1{font-size:34px}.public-content .family-card{border-radius:var(--content-radius,3px);box-shadow:none}.public-content .family-card h3{font-size:22px}.public-content .family-section-heading h2{font-size:28px}.public-content .family-card p{font-size:17px}.public-content .profile-link{font-size:16px;font-weight:400}
.public-ad-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px}.public-ad-rail{min-width:0;padding-top:8px}.public-content>.pbd-ad-slot{margin:0 auto 28px;max-width:100%}.public-ad-layout+.pbd-ad-slot{margin-top:30px}.public-ad-rail img{max-width:100%}
.site-header .category-nav>.wrap,.site-header .sticky-bar>.wrap{position:relative}.site-header .sticky-nav{overflow:visible!important;white-space:nowrap}.site-header .nav-parent.reference-mega{position:static!important;overflow:visible!important}.site-header .public-menu-expand{border:0;padding:0 3px;background:transparent;color:inherit;font-size:11px;cursor:pointer;box-shadow:none;line-height:2}.site-header .public-menu-expand:focus-visible{outline:2px solid #176da7}.site-header .nav-parent.reference-mega>.reference-mega-panel{left:0!important;right:0!important;top:100%!important;width:100%!important;max-width:none!important;min-width:0!important;background:#f5f5f5!important;border:1px solid #ddd!important;border-radius:0!important;padding:20px!important;grid-template-columns:1fr!important;gap:16px!important;box-shadow:0 12px 18px #0002}.site-header .reference-mega.dropdown-open>.reference-mega-panel{display:grid!important}.site-header .reference-mega-panel .public-submenu-links{display:flex;flex-wrap:wrap;gap:4px 16px;border-bottom:1px solid #ddd;padding-bottom:10px}.site-header .reference-mega-panel .public-submenu-links a{padding:3px!important;font-size:18px}.site-header .reference-mega-panel .public-mega-news{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;min-width:0}.site-header .reference-mega-panel .mega-news-card{display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:0}.site-header .reference-mega-panel .mega-news-card img{width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover;border-radius:3px;margin:0 0 8px!important}.site-header .reference-mega-panel .mega-news-card span{display:block;font-size:20px!important;line-height:1.35;font-weight:400!important;color:inherit!important}.site-header .reference-mega-panel .public-mega-all{font-size:16px;text-align:right;border-top:1px solid #ddd;padding:8px 0 0!important}
.reference-footer{margin-top:35px;background:var(--footer-bg,#393939);font-family:var(--body-font);font-size:15px;line-height:1.55}.reference-footer .reference-footer-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(220px,3fr);gap:30px;padding:30px 0}.reference-footer .reference-footer-info{min-width:0}.reference-footer .reference-footer-info>.footer-block{margin:0 0 14px}.reference-footer .footer-logo{width:105px;max-height:65px;object-fit:contain;object-position:left;filter:grayscale(1) brightness(0) invert(1)}.reference-footer .footer-block-categories .footer-links,.reference-footer .footer-block-menu .footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 14px}.reference-footer .footer-block-categories h3,.reference-footer .footer-block-menu h3,.reference-footer .footer-block-contact h3{display:none}.reference-footer .footer-block-text{border-top:1px solid var(--footer-border,#ffffff30);padding-top:12px}.reference-footer .footer-block-text h3{font-size:16px;font-weight:400}.reference-footer .footer-contact-list p{font-size:14px;line-height:1.6}.reference-footer .reference-footer-follow{align-self:start;background:#0002;padding:24px 20px;text-align:center}.reference-footer .reference-footer-follow .footer-block h3{font:700 14px/1.4 Arial,sans-serif;text-transform:uppercase;margin:0 0 12px}.reference-footer .footer-socials{display:flex;justify-content:center;flex-wrap:wrap;gap:3px}.reference-footer .footer-socials a{border:0!important;border-radius:0!important;min-width:38px;min-height:28px;padding:4px 8px!important;color:#fff;background:#415e9b}.reference-footer .footer-socials a:nth-child(2){background:#171717}.reference-footer .footer-socials a:nth-child(3){background:#0077b5}.reference-footer .footer-socials a:nth-child(4){background:#c02b95}.reference-footer .footer-socials a[href*="youtube"]{background:#f00000}.reference-footer .social-label{display:none}.reference-footer .footer-apps{display:grid;justify-content:center;gap:8px}.reference-footer .footer-apps a{border:1px solid #888;background:#090909;color:#fff;border-radius:4px;padding:5px 18px;font:16px/1.3 Arial,sans-serif;min-width:135px}.reference-footer .footer-block-pages .footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px;padding:12px 0;border:1px solid var(--footer-border);font-size:13px}.reference-footer .footer-bottom{padding:0 0 20px;border:0}.reference-footer .footer-bottom-inner{font-size:12px}.reference-footer .footer-links a{font-size:15px;font-weight:400}.reference-footer .footer-block-custom_links .footer-links{flex-direction:row;flex-wrap:wrap}
body.dark-mode .site-header .reference-mega-panel{background:var(--dark-surface)!important;color:var(--dark-text)!important;border-color:var(--dark-line)!important}body.dark-mode .site-header .reference-mega-panel .mega-news-card,body.dark-mode .site-header .reference-mega-panel .mega-news-card span{background:transparent!important;color:var(--dark-text)!important}
@media(max-width:1100px){.site-header .reference-mega-panel .public-mega-news{gap:12px}.public-ad-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.site-header .sticky-nav{gap:8px!important;font-size:15px!important}}
@media(max-width:800px){.public-content{padding-top:20px;padding-bottom:30px}.public-content h1,.public-content .author-identity h1{font-size:28px}.public-content h2{font-size:24px}.public-content h3,.public-content .author-article h3{font-size:20px}.public-content .family-hero h1{font-size:30px}.public-ad-layout{grid-template-columns:1fr}.public-ad-rail{max-width:100%;text-align:center}.public-content .family-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-content .family-photo{padding:16px 8px 0}.public-content .family-photo img{width:min(125px,100%);height:auto;aspect-ratio:1}.public-content .family-card-body{padding:12px 8px}.public-content .family-card h3{font-size:20px}.reference-footer .reference-footer-grid{grid-template-columns:1fr;gap:20px}.reference-footer .reference-footer-follow{width:100%;max-width:420px;margin:auto}.reference-footer .footer-block-categories .footer-links,.reference-footer .footer-block-menu .footer-links{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-footer .footer-bottom-inner{display:block;text-align:center}}
@media(prefers-reduced-motion:reduce){.public-content .family-card{transition:none}}
body[data-public-typography="reference"] .public-content :is(h1,h2,h3,h4,h5,h6),body[data-public-typography="reference"] .site-header .nav-item,body[data-public-typography="reference"] .site-header .nav-children,body[data-public-typography="reference"] .public-content .profile-link{font-weight:400}
.public-content .category-archive .ca-title{font-size:30px}.public-content .ca-top-card h2,.public-content .ca-list-item h2{font-size:22px}.public-content .ca-top-grid{gap:20px}.public-content .ca-list-item{grid-template-columns:240px minmax(0,1fr)}
@media(max-width:700px){.public-content .ca-top-grid{grid-template-columns:1fr}.public-content .ca-top-card:not(:first-child){display:grid;grid-template-columns:120px 1fr;gap:12px}.public-content .ca-top-card:not(:first-child) h2{font-size:19px;margin:0}.public-content .ca-top-card:not(:first-child) .ca-time{grid-column:2}.public-content .ca-list-item{grid-template-columns:120px minmax(0,1fr)}.public-content .ca-list-item h2{font-size:19px}.public-content .ca-sidebar{display:block}.public-content .ca-sidebar:empty{display:none}}
.pbd-ad-slot[data-slot$="_rail"] .pbd-ad img{width:100%;height:auto;max-height:600px;object-fit:contain}.site-header .sticky-nav{overflow-x:visible!important}.site-header .sticky-bar .wrap{overflow:visible!important}
@media(min-width:801px) and (max-width:1150px){.pbd-reference-header .site-header .sticky-nav>a,.pbd-reference-header .site-header .sticky-nav>.nav-parent{flex:0 1 auto!important}.pbd-reference-header .site-header .sticky-nav .nav-item{font-size:16px!important}.pbd-reference-header .site-header .sticky-nav{gap:8px!important}.pbd-reference-header .site-header .sticky-brand-inner img{max-width:70px}}
body .site-header :is(.category-nav,.sticky-nav) .nav-parent.mega-menu.reference-mega>.nav-children.mega-panel.reference-mega-panel{background:#f5f5f5!important;border-radius:0!important;border-color:#ddd!important;box-shadow:0 12px 20px #0002!important;padding:20px!important}
body.dark-mode .site-header :is(.category-nav,.sticky-nav) .nav-parent.mega-menu.reference-mega>.nav-children.mega-panel.reference-mega-panel{background:var(--dark-surface)!important;border-color:var(--dark-line)!important}.reference-footer .footer-main{padding:0}.reference-footer .footer-bottom{background:transparent!important}.reference-footer .reference-footer-editorial{display:flex;flex-wrap:wrap;gap:12px 35px;border-top:1px solid var(--footer-border);border-bottom:1px solid var(--footer-border);padding:9px 0;margin:15px 0}.reference-footer .footer-apps a{display:flex;align-items:center;gap:8px;text-align:left}.reference-footer .footer-apps small{display:block;font:9px/1.2 Arial,sans-serif}.reference-footer .footer-apps strong{font:17px/1.2 Arial,sans-serif}
body .site-header .nav-parent.menu-dismissed>.nav-children{display:none!important}
.public-content .author-public-profile .author-identity{display:block;min-width:0}.public-content .author-public-profile .author-identity h1{margin:5px 0 8px}.public-content .author-public-profile .author-identity>p{margin:0;font-weight:400}.public-content .author-public-profile .author-stats{flex-wrap:wrap}
body .site-header button.menu-toggle,body .site-header button.menu-toggle:is(:hover,:focus,:active){background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:inherit!important}
body .site-header :is(.category-nav,.sticky-nav) .nav-parent.mega-menu.reference-mega.menu-dismissed>.nav-children.mega-panel.reference-mega-panel{display:none!important}
body.pbd-reference-header .site-header .sticky-nav{overflow:visible!important;overflow-x:visible!important}
body .site-header :is(.category-nav,.sticky-nav) .nav-parent.mega-menu.menu-dismissed>.nav-children.mega-panel{display:none!important}
/* Reference navigation is deliberately independent of the legacy mega-panel grid. */
.site-header .reference-mega>.reference-dropdown{display:none;position:absolute;left:0;right:0;top:100%;z-index:1400;width:100%;max-width:none;min-width:0;padding:20px;background:#eee;color:#111;border:0;border-top:2px solid #e0e0e0;box-shadow:0 5px 9px #0002;white-space:normal;font-family:var(--body-font)}
.site-header .reference-mega:hover>.reference-dropdown,.site-header .reference-mega:focus-within>.reference-dropdown,.site-header .reference-mega.dropdown-open>.reference-dropdown{display:block}
.site-header .reference-mega.menu-dismissed>.reference-dropdown{display:none!important}
.site-header .reference-dropdown .public-mega-news{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;width:100%;min-width:0}
.site-header .reference-dropdown .reference-news-card{display:block;min-width:0;width:auto;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:normal}
.site-header .reference-dropdown .reference-news-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:3px;margin:0 0 8px}
.site-header .reference-dropdown .reference-news-card span{display:block;font:400 20px/1.35 var(--body-font);color:inherit}
.site-header .reference-dropdown .public-submenu-links{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #d5d5d5}
.site-header .reference-dropdown .public-submenu-links a{padding:0;font-size:18px}
.site-header .reference-dropdown .public-mega-all{display:block;padding-top:10px;margin-top:14px;text-align:right;font-size:16px;border-top:1px solid #d5d5d5}
.site-header .reference-all-toggle.public-menu-expand{font:400 20px/1.4 var(--body-font);padding:0 5px;min-height:45px;white-space:nowrap}
.site-header .reference-all-toggle span{font-size:11px}.site-header .reference-directory{padding:25px 20px}
.site-header .reference-all-menu:hover>.reference-directory,.site-header .reference-all-menu:focus-within>.reference-directory,.site-header .reference-all-menu.dropdown-open>.reference-directory{display:grid;grid-template-columns:180px minmax(0,1fr);gap:25px}
.site-header .reference-services{border-right:1px solid #d3d3d3;padding-right:20px}.site-header .reference-services a{display:block;padding:4px 0;font-size:20px}
.site-header .reference-category-directory{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.site-header .reference-category-directory section{min-width:0}.site-header .reference-category-directory a{display:block;font-size:20px;padding:3px 0}.site-header .reference-category-directory .reference-subcategory{font-size:17px;color:#555!important}
body .reference-drawer.offcanvas{width:min(var(--offcanvas-width,300px),90vw);background:#ededed;color:#111;padding:60px 0 25px;border-radius:0;z-index:1500;box-shadow:0 3px 12px #0006}
body .reference-drawer.offcanvas nav>a,body .reference-drawer.offcanvas details>a,body .reference-drawer.offcanvas summary{display:block;padding:5px 20px 5px 32px;font:400 20px/1.45 var(--body-font);color:#111;border:0;border-bottom:1px solid #c7e5e5;cursor:pointer}
body .reference-drawer.offcanvas summary{list-style:none}body .reference-drawer.offcanvas summary::-webkit-details-marker{display:none}body .reference-drawer.offcanvas details>a{padding-left:45px;font-size:18px}body .reference-drawer .offcanvas-close{position:absolute;top:5px;right:20px;font-size:36px;background:transparent;color:#111;border:0;padding:0;box-shadow:none}.reference-drawer-note{padding:0 24px}.reference-drawer a:hover{color:#d97027!important}.reference-drawer-categories[open]>summary{background:#dedede}
body.dark-mode .site-header .reference-dropdown{background:var(--dark-surface);color:var(--dark-text)}
@media(max-width:1000px){.site-header .reference-dropdown .public-mega-news{gap:12px}.site-header .reference-dropdown .reference-news-card span{font-size:18px}.site-header .reference-category-directory{grid-template-columns:repeat(4,minmax(0,1fr))}}
.country-reference{padding:0;margin:0}.country-location-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;background:#f4f4f4;padding:12px;margin:0 0 20px}.country-location-form label{display:block;min-width:0}.country-location-form select{width:100%;padding:10px 15px;border:1px solid #fff;background:#fff;color:#374151;font-size:20px;min-height:49px;border-radius:3px}.country-location-form button{padding:10px 18px;border:0;border-radius:6px;background:#d12026;color:#fff;font:400 24px/1.3 var(--body-font);cursor:pointer}.country-location-form button:disabled{opacity:.35;cursor:default}.country-reference-map{height:min(900px,calc(100vh - 90px));min-height:540px;display:flex;justify-content:center}.country-reference-svg{display:block;width:100%;height:100%;max-width:800px}.country-reference-svg a:hover path,.country-reference-svg a:focus path{fill:#c1b4f0!important;transition:fill .2s}.country-reference-svg a:focus{outline:none}.country-below-map-ad{max-width:300px;margin:25px auto}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.country-location-form{grid-template-columns:1fr;gap:10px;margin:0 0 15px}.country-location-form select{font-size:19px;min-height:42px;padding:7px 12px}.country-location-form button{font-size:21px}.country-reference-map{height:auto;min-height:0}.country-reference-svg{height:auto;aspect-ratio:568.782/767.794}}
body .reference-drawer.offcanvas{background:var(--reference-drawer-bg,#ededed);color:var(--offcanvas-text,#111)}body .reference-drawer.offcanvas :is(nav>a,details>a,summary),body .reference-drawer .offcanvas-close{color:var(--offcanvas-text,#111)}
.site-header .reference-category-directory{align-content:start}.site-header .reference-directory{max-height:70vh;overflow:auto}
@media(min-width:801px) and (max-width:1600px){body.pbd-reference-header .site-header .sticky-nav>.nav-parent:not(.reference-all-menu):nth-child(n+11){display:none!important}}
@media(min-width:801px) and (max-width:1150px){body.pbd-reference-header .site-header .sticky-nav>.nav-parent:not(.reference-all-menu):nth-child(n+9){display:none!important}}
@media(min-width:1601px){body.pbd-reference-header .site-header .sticky-nav>.nav-parent:not(.reference-all-menu):nth-child(n+13){display:none!important}}
body.pbd-reference-header .site-header .sticky-nav>.reference-all-menu{display:inline-flex!important;margin-left:0}
.site-header .sticky-nav{position:static!important}
.public-ad-dialog{position:fixed;inset:0;max-width:min(640px,calc(100vw - 32px));max-height:85vh;margin:auto;padding:25px 20px 15px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#555;overflow:auto}.public-ad-dialog::backdrop{background:#0008}.public-ad-dialog .pbd-ad-slot{margin:8px 0 0}.public-ad-dialog .pbd-ad img{max-height:65vh!important;width:auto;max-width:100%}.special-ad-close{position:absolute;top:0;right:3px;background:#fff;color:#222;border:0;padding:0 7px;font:26px/1.2 Arial,sans-serif;cursor:pointer;z-index:1}.public-mobile-ad{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(360px,100%);max-height:150px;overflow:auto;z-index:950;background:#fff;padding:12px 0 0;border:1px solid #ddd}.public-mobile-ad .pbd-ad-slot{margin:0}.public-mobile-ad .pbd-ad img{max-height:100px!important;width:auto}.public-mobile-ad[hidden]{display:none}.special-ad-preview{padding:20px;margin:20px auto;border:1px dashed #2563eb}
/* HTML ads need a real line-height as well as image/iframe sizing. */
.pbd-ad{line-height:1.4}.pbd-ad img{display:block}.public-mobile-ad{padding-top:26px;min-height:58px}
.country-reference-svg a:hover path.country-map-label,.country-reference-svg a:focus path.country-map-label{fill:rgb(35,31,32)!important}
