
// Recent post shown in the sidebar / related section
export interface RecentPost {
    id: number;
    title: string;
    slug: string;
    featured_image: string;
    published_date: string;
    button_text: string;
}

export interface LiveBookingProps {
    title?: string;
    heading?: string;
    description?: string;
    cta: string;
}

// Full blog detail API response shape
export interface BlogDetailData {
    id: number;
    language: string;
    title: string;
    slug: string;
    banner_image: string;
    published_date: string;
    post_content: string; // Raw HTML from WordPress Visual Editor
    live_booking: LiveBookingProps;
    recent_posts: RecentPost[];
}

// Top-level page wrapper (if the API wraps in { data: ... })
export interface BlogDetailPageProps {
    data: BlogDetailData;
}
