/* Advanced Humanoid Forum – shared corporate identity (nav, footer, profile pages) */
.ahf-nav{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #f1f5f9;box-shadow:0 1px 2px rgba(15,23,42,.05);font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.5}
.ahf-nav *{box-sizing:border-box}
.ahf-nav-inner{max-width:72rem;margin:0 auto;padding:.75rem 1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}
@media(min-width:640px){.ahf-nav-inner{padding:.75rem 1.5rem}}
.ahf-nav .ahf-logo{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.ahf-nav .ahf-logo img{width:2rem;height:2rem;border-radius:.5rem;object-fit:contain;display:block;margin:0}
.ahf-nav .ahf-links{display:none;align-items:center;gap:.55rem;font-size:.8rem;white-space:nowrap}
@media(min-width:1024px){.ahf-nav .ahf-links{display:flex}}
@media(min-width:1280px){.ahf-nav .ahf-links{gap:1.05rem;font-size:.875rem}}
.ahf-nav a.nav-link{color:#475569;font-weight:500;text-decoration:none;padding-bottom:3px;border-bottom:2px solid transparent;transition:color .2s,border-color .2s;background:none}
.ahf-nav a.nav-link:hover{color:#0f172a}
.ahf-nav a.nav-link.active{color:#0f172a;font-weight:700;border-bottom-color:#14b8a6}
.ahf-nav .ahf-right{display:flex;align-items:center;gap:.5rem;flex-shrink:0}
.ahf-nav .ahf-lang{display:flex;align-items:center;gap:.15rem;border:1px solid #e2e8f0;border-radius:9999px;padding:.125rem;background:#f8fafc}
.ahf-nav a.lang-switch{padding:.2rem .75rem;border-radius:9999px;font-size:.8rem;font-weight:500;text-decoration:none;color:#475569;background:transparent;font-family:'Cascadia Code','Courier New',monospace;transition:all .2s}
.ahf-nav a.lang-switch:hover{background:#f1f5f9;color:#0f172a}
.ahf-nav a.lang-switch.active{background:#1e293b;color:#fff}
.ahf-nav a.ahf-cta{display:none;background:#1e293b;color:#fff;padding:.375rem 1rem;border-radius:9999px;font-size:.875rem;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .2s}
.ahf-nav a.ahf-cta:hover{background:#334155}
@media(min-width:1440px){.ahf-nav a.ahf-cta{display:inline-block}}
@media(min-width:1440px){.ahf-nav-inner{max-width:84rem}}
.ahf-nav .ahf-burger{display:inline-flex;background:none;border:0;padding:.4rem;color:#334155;cursor:pointer}
@media(min-width:1024px){.ahf-nav .ahf-burger{display:none}}
.ahf-nav #mobileMenu.ahf-mobile{display:flex;flex-direction:column;gap:.15rem;background:#fff;border-top:1px solid #f1f5f9;padding:.75rem 1.25rem 1rem;box-shadow:0 10px 15px -3px rgba(15,23,42,.08)}
.ahf-nav #mobileMenu.ahf-mobile.hidden{display:none}
@media(min-width:1024px){.ahf-nav #mobileMenu.ahf-mobile{display:none!important}}
.ahf-nav .ahf-mobile a.nav-link{padding:.5rem 0;font-size:.95rem;border-bottom:0}
.ahf-nav .ahf-mobile a.nav-link.active{border-bottom:0}
.ahf-nav .ahf-mobile a.ahf-mobile-cta{margin-top:.5rem;background:#1e293b;color:#fff;text-align:center;padding:.6rem;border-radius:9999px;text-decoration:none;font-weight:500}
/* footer */
.ahf-footer{background:#fff;border-top:1px solid #f1f5f9;font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;color:#64748b;font-size:.8rem;line-height:1.6;margin-top:3rem}
.ahf-footer *{box-sizing:border-box}
.ahf-footer .ahf-footer-inner{max-width:72rem;margin:0 auto;padding:2.5rem 1.5rem 1.75rem}
.ahf-footer .ahf-fgrid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:768px){.ahf-footer .ahf-fgrid{grid-template-columns:repeat(3,1fr)}}
.ahf-footer h4{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:#0f172a;font-weight:700;margin:0 0 .6rem}
.ahf-footer .ahf-fcol a{display:block;color:#64748b;text-decoration:none;padding:.15rem 0}
.ahf-footer a:hover{color:#0f172a}
.ahf-footer .ahf-fbottom{border-top:1px solid #f1f5f9;margin-top:1.75rem;padding-top:1.25rem;text-align:center;color:#94a3b8;font-size:.75rem}
.ahf-footer .ahf-fbottom p{margin:.25rem 0}
.ahf-footer .ahf-fbottom a{color:#94a3b8;text-decoration:none}
/* profile template (speaker + company pages, based on the original speaker layout) */
.social-icon{transition:all .2s;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#f1f5f9;color:#475569;text-decoration:none}
.social-icon:hover{background:#0f172a;color:#fff;transform:translateY(-2px)}
.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:1rem;background:#000;margin-top:1rem}
.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.additional-bio-image{display:flex;justify-content:center;margin:1.8rem 0 1.2rem}
.additional-bio-image img{max-width:100%;height:auto;border-radius:1.25rem;box-shadow:0 10px 25px -5px rgba(0,0,0,.1);border:1px solid #e2e8f0;background:#fff;max-height:400px;width:auto;object-fit:contain}
.chip{background:#f1f5f9;padding:.25rem .75rem;border-radius:999px;font-size:.8rem;font-weight:500;color:#334155;display:inline-block}
.internal-link-btn{display:inline-flex;align-items:center;gap:.5rem;background:#f1f5f9;color:#0f172a;padding:.5rem 1.2rem;border-radius:9999px;font-weight:600;font-size:.875rem;transition:all .2s;border:1px solid #e2e8f0;text-decoration:none}
.internal-link-btn:hover{background:#0f172a;color:#fff;border-color:#0f172a;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.1)}
.internal-link-btn.dark{background:#0f172a;color:#fff;border-color:#0f172a}
.internal-link-wrapper{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.75rem}
.tpl-text p{color:#475569;line-height:1.625;margin:0 0 1rem}
.tpl-text h3{font-size:1.05rem;font-weight:600;color:#1e293b;margin:1.5rem 0 .6rem}
.tpl-text ul{margin:0 0 1rem;padding-left:1.25rem;list-style:disc;color:#475569}
.tpl-text li{line-height:1.6;margin-bottom:.35rem}
.tpl-text a{color:#0f172a;text-decoration:underline;text-underline-offset:2px}
/* profile pages (speakers + companies) */
.ahf-chip{display:inline-block;background:#f1f5f9;color:#334155;font-size:.75rem;font-weight:500;padding:.25rem .7rem;border-radius:9999px;margin:0 .35rem .4rem 0}
.ahf-card{background:#fff;border:1px solid #f1f5f9;border-radius:1rem;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.ahf-link-card{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1rem 1.25rem;text-decoration:none;transition:all .2s}
.ahf-link-card:hover{border-color:#cbd5e1;box-shadow:0 8px 20px -8px rgba(15,23,42,.12);transform:translateY(-2px)}
.ahf-prose p{color:#475569;line-height:1.7;margin:0 0 1rem}
.ahf-prose h3{font-weight:700;color:#1e293b;margin:1.25rem 0 .4rem;font-size:1rem}
.ahf-prose ul{margin:0 0 1rem;padding:0;list-style:none}
.ahf-prose li{position:relative;padding-left:1.25rem;color:#475569;line-height:1.65;margin-bottom:.45rem}
.ahf-prose li:before{content:'';position:absolute;left:.2rem;top:.62rem;width:.4rem;height:.4rem;border-radius:9999px;background:#14b8a6}
.ahf-prose a{color:#0f172a;text-decoration:underline;text-underline-offset:2px}
.ahf-initials{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e293b,#334155);color:#fff;font-weight:800;letter-spacing:.02em}
.ahf-faq details{border:1px solid #e2e8f0;border-radius:.75rem;background:#fff;margin-bottom:.6rem}
.ahf-faq summary{cursor:pointer;padding:.9rem 1.1rem;font-weight:600;color:#0f172a;list-style:none}
.ahf-faq summary::-webkit-details-marker{display:none}
.ahf-faq summary:after{content:'+';float:right;color:#94a3b8;font-weight:400}
.ahf-faq details[open] summary:after{content:'–'}
.ahf-faq details p{padding:0 1.1rem 1rem;margin:0;color:#475569;line-height:1.65}
