/* Shared navigation: no AI application CSS required on other pages. */
body.home-page .nav-links a[data-ai-ppt-entry],.site-nav a[data-ai-ppt-entry]{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#2563eb;font-weight:750;white-space:nowrap}
body.home-page .nav-links a[data-ai-ppt-entry]:hover,.site-nav a[data-ai-ppt-entry]:hover{color:#174ed0}
[data-ai-ppt-entry] .aip-nav-dot{display:block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:currentColor}
/* v5.3: the flame hugs the top-right of "PPT" like a superscript instead of floating at the link's corner. */
[data-ai-ppt-entry] .aip-nav-flame{position:static;display:block;flex:none;align-self:flex-start;width:11px;height:15px;margin:-5px 0 0 -4px;filter:drop-shadow(0 1px 2px rgba(255,72,32,.35));pointer-events:none;transform-origin:50% 100%;animation:aip-flame 2.4s ease-in-out infinite}
@keyframes aip-flame{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.08,1.12) rotate(-4deg)}}
@media (prefers-reduced-motion:reduce){[data-ai-ppt-entry] .aip-nav-flame{animation:none}}
/* v5.11.26: the AI-PPT banner under the navigation of every page (web/pc/common-aippt-banner.html) */
/* v5.11.28: the same widths as the page's content column (theme.css .common-page-main, index.css .home-page .wrap); the banner's script then lines it up with the column below on every page */
.aip-promo{position:relative;width:min(1240px,calc(100% - 40px));margin:16px auto 0;font-family:inherit}
.home-page .aip-promo{width:min(1600px,calc(100% - 64px));margin-top:18px}
@media (max-width:1450px){.home-page .aip-promo{width:min(1320px,calc(100% - 40px))}}
@media (max-width:1320px){.aip-promo{width:calc(100% - 32px)}}
@media (max-width:900px){.aip-promo,.home-page .aip-promo{width:calc(100% - 24px)}}
.aip-promo[hidden]{display:none}
.aip-promo-card{display:flex;align-items:center;gap:24px;min-height:96px;padding:12px 72px 12px 24px;border-radius:20px;background:#fff;border:1px solid #dce4f3;box-shadow:0 14px 40px rgba(37,99,235,.10);color:#17233c;text-decoration:none;transition:box-shadow .2s,transform .2s}
.aip-promo-card:hover{color:#17233c;box-shadow:0 18px 46px rgba(37,99,235,.16);transform:translateY(-1px)}
.aip-promo-card:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.aip-promo-mark{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#2563eb;color:#fff;font-size:18px;font-weight:900;letter-spacing:.5px}
.aip-promo-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.aip-promo-title{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;line-height:1.3;color:#17233c}
.aip-promo-title em{font-style:normal;padding:3px 10px;border-radius:999px;background:#eef3ff;color:#1d4ed8;font-size:12px;font-weight:700;line-height:1.4}
.aip-promo-text{font-size:15px;line-height:1.5;color:#4a5872;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aip-promo-thumbs{flex:none;display:flex;align-items:center;padding:0 6px}
.aip-promo-thumbs img{position:relative;width:120px;height:68px;object-fit:cover;border-radius:8px;box-shadow:0 6px 16px rgba(23,35,60,.18);background:#eef1f6}
.aip-promo-thumbs img+img{margin-left:-34px}
.aip-promo-thumbs img:first-child{transform:rotate(-4deg)}
.aip-promo-thumbs img:last-child{transform:rotate(4deg)}
/* v5.11.29: the arrow is a white disc with a round-capped line arrow (was the text glyph "→") that slides right on hover */
.aip-promo-cta{flex:none;display:inline-flex;align-items:center;gap:10px;padding:9px 9px 9px 24px;border-radius:999px;background:#2563eb;color:#fff;font-size:15px;font-weight:700;line-height:26px;white-space:nowrap}
.aip-promo-card:hover .aip-promo-cta{background:#174ed0}
.aip-promo-go{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;color:#2563eb;font-style:normal}
.aip-promo-go svg{display:block;transition:transform .2s}
.aip-promo-card:hover .aip-promo-go{color:#174ed0}
.aip-promo-card:hover .aip-promo-go svg{transform:translateX(2px)}
.aip-promo-close{position:absolute;right:10px;top:10px;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:#5b6884;font-size:22px;line-height:1;cursor:pointer}
.aip-promo-close:hover{background:rgba(23,35,60,.06);color:#17233c}
.aip-promo-close:focus-visible{outline:3px solid #2563eb;outline-offset:1px}
@media (max-width:1100px){.aip-promo-thumbs{display:none}}
@media (max-width:760px){.aip-promo,.home-page .aip-promo{margin-top:12px}.aip-promo-card{min-height:72px;gap:14px;padding:10px 48px 10px 14px;border-radius:16px}.aip-promo-mark{width:44px;height:44px;border-radius:12px;font-size:15px}.aip-promo-title{font-size:17px}.aip-promo-text{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.aip-promo-cta{display:none}.aip-promo-close{right:4px;top:4px}}
@media (prefers-reduced-motion:reduce){.aip-promo-card{transition:none}.aip-promo-card:hover{transform:none}.aip-promo-go svg{transition:none}.aip-promo-card:hover .aip-promo-go svg{transform:none}}
