/*
   ZBaiArt public video info stylesheet.
   Split from assets/css/style.css so non-video public routes do not carry AI video overview and FAQ page CSS.
   Loaded conditionally by includes/header.php; do not deploy without the matching header/style.css packet.
*/

.ai-video-overview-page,
.ai-video-faq-page {
    max-width: 960px;
    padding-top: 44px;
    padding-bottom: 76px;
}
.public-preview--video {
    margin-top: clamp(28px, 5vw, 56px);
}
.video-overview-hero,
.faq-hero {
    max-width: 720px;
    margin-bottom: 22px;
}
.faq-kicker {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    margin-bottom: 10px;
}
.video-overview-hero h1,
.faq-hero h1 {
    max-width: 780px;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
    margin-bottom: 14px;
}
.video-overview-hero p,
.faq-hero p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 20px;
}
.faq-actions,
.video-overview-routes,
.faq-route-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.video-overview-routes,
.faq-route-links {
    margin-bottom: 26px;
}
.video-overview-routes a,
.faq-route-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
}
.video-overview-routes a:hover,
.video-overview-routes a:focus-visible,
.faq-route-links a:hover,
.faq-route-links a:focus-visible {
    border-color: rgba(255, 182, 221, 0.55);
    color: #fff;
}
.video-overview-share {
    margin-top: 26px;
}
.faq-list {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}
.faq-item {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
}
.faq-item p {
    margin: 0;
    padding: 0 16px 16px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}
.public-video-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.public-video-preview-card {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
}
.public-video-preview-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #070711;
    object-fit: cover;
}
.public-video-preview-body {
    padding: 12px 13px 14px;
}
.public-video-preview-body p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-top: 8px;
}
.public-video-preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: 12px;
    padding: 6px 11px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    color: #fff !important;
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none !important;
}
.public-video-preview-link:hover {
    border-color: var(--public-preview-accent);
    color: var(--public-preview-accent) !important;
}

@media (max-width: 640px) {
    .ai-video-overview-page,
    .ai-video-faq-page {
        padding-top: 28px;
        padding-bottom: 54px;
    }
    .faq-actions > a,
    .video-overview-routes a,
    .faq-route-links a {
        flex: 1 1 min(100%, 150px);
    }
}

@media (max-width: 700px) {
    .public-video-preview-grid {
        grid-template-columns: 1fr;
    }
}
