{"id":1253,"date":"2025-10-06T16:49:30","date_gmt":"2025-10-06T16:49:30","guid":{"rendered":"https:\/\/haipestudio.buzzvel.work\/?page_id=1253"},"modified":"2026-05-20T13:50:51","modified_gmt":"2026-05-20T13:50:51","slug":"ebooks","status":"publish","type":"page","link":"https:\/\/haipestudio.buzzvel.work\/en\/ebooks\/","title":{"rendered":"E-Books"},"content":{"rendered":"  <section class=\"main-cta main-cta--h1 \" aria-labelledby=\"main-cta-heading\" >\n          <header class=\"main-cta__header\">\n                          <h1            id=\"main-cta-heading\"\n            class=\"main-cta__title main-cta__title--h1\"\n            >\n            Get Your Free Guides to  Business Automation          <\/h1>\n              <\/header>\n    \n    <div class=\"main-cta__content\">\n              <div class=\"main-cta__description \"><p>Discover how leading companies streamline processes, cut costs, and scale results through business automation.<\/p>\n<\/div>\n      \n          <\/div>\n  <\/section>\n  <script>\n    document.addEventListener('DOMContentLoaded', function() {\n      document.querySelectorAll('a[data-ph-event]').forEach(function(el) {\n        el.addEventListener('click', function() {\n          if (typeof posthog !== 'undefined') {\n            posthog.capture(el.dataset.phEvent, {\n              title: el.dataset.phTitle,\n              url: el.href,\n              section: 'main-cta'\n            });\n            console.log('PostHog event captured:', el.dataset.phEvent, el.dataset.phTitle);\n          }\n        });\n      });\n    });\n  <\/script>\n\n\n\n\n<section id=\"\" class=\"latest-ebook\">\n\t<div class=\"latest-ebook__container\">\n\n\t\t<!-- Section Header -->\n\t\t\n\t\t<!-- Loading State -->\n\t\t<div id=\"loading-state\" class=\"latest-ebook__loading hidden\">\n\t\t\t<div class=\"latest-ebook__loading-spinner\"><\/div>\n\t\t<\/div>\n\n\t\t<!-- Ebooks Grid -->\n\t\t<div id=\"ebooks-grid\" class=\"latest-ebook__grid\">\n\t\t\t\t\t\t\t\t\t\t\t\t<article class=\"latest-ebook__card\">\n\t\t\t\t\t\t<a href=\"https:\/\/haipestudio.buzzvel.work\/en\/ebooks\/build-automation-culture-company-ebook\/\" class=\"latest-ebook__link\">\n\t\t\t\t\t\t\t<span class=\"sr-only\">ebook<\/span>\n\n\t\t\t\t\t\t\t<div class=\"latest-ebook__card-content\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__image\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/haipestudio.buzzvel.work\/wp-content\/uploads\/2025\/10\/book5-02-scaled.png\" alt=\"How to Build an Automation Culture in Your Company\" loading=\"lazy\" title=\"\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"latest-ebook__content\">\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__text\">\n\t\t\t\t\t\t\t\t\t\t<h3 class=\"latest-ebook__card-title\">\n\t\t\t\t\t\t\t\t\t\t\tHow to Build an Automation Culture in Your Company\t\t\t\t\t\t\t\t\t\t<\/h3>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"latest-ebook__excerpt\">\n\t\t\t\t\t\t\t\t\t\t\t\tDiscover how leading companies streamline processes, cut costs, and scale results through business automation.\t\t\t\t\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__btn related-articles__btn btn-primary\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"btn-shine\"><\/span>\n\t\t\t\t\t\t\t\t\t\tLearn More\t\t\t\t\t\t\t\t\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\t\td=\"M12 4.92505C12.1643 4.92505 12.2663 4.97355 12.3467 5.05396L18.9463 11.6536L18.9629 11.6692L18.9795 11.6838C18.9937 11.6957 19.0059 11.7085 19.0156 11.7229L19.0391 11.7717C19.0629 11.845 19.0752 11.9207 19.0752 12.0002C19.0752 12.0797 19.0633 12.147 19.043 12.2053C19.0292 12.2436 19.0016 12.2916 18.9463 12.3469L12.3467 18.9465C12.2663 19.0269 12.1643 19.0754 12 19.0754C11.8357 19.0754 11.7337 19.0269 11.6533 18.9465C11.5899 18.8831 11.5452 18.8062 11.5244 18.7004L11.5117 18.5852C11.5074 18.4255 11.5526 18.3295 11.6289 18.2532L17.3818 12.5002H5C4.84291 12.5002 4.73438 12.4524 4.64062 12.3586C4.5479 12.2659 4.50004 12.1578 4.5 12.0002C4.5 11.8425 4.54827 11.7336 4.6416 11.6399L4.64062 11.6389C4.73395 11.5466 4.84314 11.5002 5 11.5002H17.3818L16.5283 10.6467L11.6289 5.74634C11.5526 5.67004 11.5074 5.57472 11.5117 5.41528C11.5169 5.24649 11.569 5.13845 11.6533 5.05396C11.7337 4.97355 11.8357 4.92505 12 4.92505Z\"\n\t\t\t\t\t\t\t\t\t\t\t\tfill=\"#fff\" stroke=\"white\" \/>\n\t\t\t\t\t\t\t\t\t\t<\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/article>\n\t\t\t\t\t\t\t\t\t<article class=\"latest-ebook__card\">\n\t\t\t\t\t\t<a href=\"https:\/\/haipestudio.buzzvel.work\/en\/ebooks\/how-to-use-ai-without-costs-free-ebook\/\" class=\"latest-ebook__link\">\n\t\t\t\t\t\t\t<span class=\"sr-only\">ebook<\/span>\n\n\t\t\t\t\t\t\t<div class=\"latest-ebook__card-content\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__image\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/haipestudio.buzzvel.work\/wp-content\/uploads\/2025\/10\/book4.png\" alt=\"How to Use Al Without Having Costs\" loading=\"lazy\" title=\"\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"latest-ebook__content\">\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__text\">\n\t\t\t\t\t\t\t\t\t\t<h3 class=\"latest-ebook__card-title\">\n\t\t\t\t\t\t\t\t\t\t\tHow to Use Al Without Having Costs\t\t\t\t\t\t\t\t\t\t<\/h3>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"latest-ebook__excerpt\">\n\t\t\t\t\t\t\t\t\t\t\t\tDiscover how leading companies streamline processes, cut costs, and scale results through business automation.\t\t\t\t\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__btn related-articles__btn btn-primary\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"btn-shine\"><\/span>\n\t\t\t\t\t\t\t\t\t\tLearn More\t\t\t\t\t\t\t\t\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\t\td=\"M12 4.92505C12.1643 4.92505 12.2663 4.97355 12.3467 5.05396L18.9463 11.6536L18.9629 11.6692L18.9795 11.6838C18.9937 11.6957 19.0059 11.7085 19.0156 11.7229L19.0391 11.7717C19.0629 11.845 19.0752 11.9207 19.0752 12.0002C19.0752 12.0797 19.0633 12.147 19.043 12.2053C19.0292 12.2436 19.0016 12.2916 18.9463 12.3469L12.3467 18.9465C12.2663 19.0269 12.1643 19.0754 12 19.0754C11.8357 19.0754 11.7337 19.0269 11.6533 18.9465C11.5899 18.8831 11.5452 18.8062 11.5244 18.7004L11.5117 18.5852C11.5074 18.4255 11.5526 18.3295 11.6289 18.2532L17.3818 12.5002H5C4.84291 12.5002 4.73438 12.4524 4.64062 12.3586C4.5479 12.2659 4.50004 12.1578 4.5 12.0002C4.5 11.8425 4.54827 11.7336 4.6416 11.6399L4.64062 11.6389C4.73395 11.5466 4.84314 11.5002 5 11.5002H17.3818L16.5283 10.6467L11.6289 5.74634C11.5526 5.67004 11.5074 5.57472 11.5117 5.41528C11.5169 5.24649 11.569 5.13845 11.6533 5.05396C11.7337 4.97355 11.8357 4.92505 12 4.92505Z\"\n\t\t\t\t\t\t\t\t\t\t\t\tfill=\"#fff\" stroke=\"white\" \/>\n\t\t\t\t\t\t\t\t\t\t<\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/article>\n\t\t\t\t\t\t\t\t\t<article class=\"latest-ebook__card\">\n\t\t\t\t\t\t<a href=\"https:\/\/haipestudio.buzzvel.work\/en\/ebooks\/small-teams-automation-competitive-advantage-ebook\/\" class=\"latest-ebook__link\">\n\t\t\t\t\t\t\t<span class=\"sr-only\">ebook<\/span>\n\n\t\t\t\t\t\t\t<div class=\"latest-ebook__card-content\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__image\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/haipestudio.buzzvel.work\/wp-content\/uploads\/2025\/10\/book3.png\" alt=\"Small Teams, Big Results: How to Compete With Automation\" loading=\"lazy\" title=\"\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"latest-ebook__content\">\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__text\">\n\t\t\t\t\t\t\t\t\t\t<h3 class=\"latest-ebook__card-title\">\n\t\t\t\t\t\t\t\t\t\t\tSmall Teams, Big Results: How to Compete With Automation\t\t\t\t\t\t\t\t\t\t<\/h3>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"latest-ebook__excerpt\">\n\t\t\t\t\t\t\t\t\t\t\t\tDiscover how leading companies streamline processes, cut costs, and scale results through business automation.\t\t\t\t\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__btn related-articles__btn btn-primary\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"btn-shine\"><\/span>\n\t\t\t\t\t\t\t\t\t\tLearn More\t\t\t\t\t\t\t\t\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\t\td=\"M12 4.92505C12.1643 4.92505 12.2663 4.97355 12.3467 5.05396L18.9463 11.6536L18.9629 11.6692L18.9795 11.6838C18.9937 11.6957 19.0059 11.7085 19.0156 11.7229L19.0391 11.7717C19.0629 11.845 19.0752 11.9207 19.0752 12.0002C19.0752 12.0797 19.0633 12.147 19.043 12.2053C19.0292 12.2436 19.0016 12.2916 18.9463 12.3469L12.3467 18.9465C12.2663 19.0269 12.1643 19.0754 12 19.0754C11.8357 19.0754 11.7337 19.0269 11.6533 18.9465C11.5899 18.8831 11.5452 18.8062 11.5244 18.7004L11.5117 18.5852C11.5074 18.4255 11.5526 18.3295 11.6289 18.2532L17.3818 12.5002H5C4.84291 12.5002 4.73438 12.4524 4.64062 12.3586C4.5479 12.2659 4.50004 12.1578 4.5 12.0002C4.5 11.8425 4.54827 11.7336 4.6416 11.6399L4.64062 11.6389C4.73395 11.5466 4.84314 11.5002 5 11.5002H17.3818L16.5283 10.6467L11.6289 5.74634C11.5526 5.67004 11.5074 5.57472 11.5117 5.41528C11.5169 5.24649 11.569 5.13845 11.6533 5.05396C11.7337 4.97355 11.8357 4.92505 12 4.92505Z\"\n\t\t\t\t\t\t\t\t\t\t\t\tfill=\"#fff\" stroke=\"white\" \/>\n\t\t\t\t\t\t\t\t\t\t<\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/article>\n\t\t\t\t\t\t\t\t\t<article class=\"latest-ebook__card\">\n\t\t\t\t\t\t<a href=\"https:\/\/haipestudio.buzzvel.work\/en\/ebooks\/10-automations-sme-guide\/\" class=\"latest-ebook__link\">\n\t\t\t\t\t\t\t<span class=\"sr-only\">ebook<\/span>\n\n\t\t\t\t\t\t\t<div class=\"latest-ebook__card-content\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__image\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/haipestudio.buzzvel.work\/wp-content\/uploads\/2025\/10\/book2.png\" alt=\"10 Automations Every SME Should Implement This Year\" loading=\"lazy\" title=\"\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"latest-ebook__content\">\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__text\">\n\t\t\t\t\t\t\t\t\t\t<h3 class=\"latest-ebook__card-title\">\n\t\t\t\t\t\t\t\t\t\t\t10 Automations Every SME Should Implement This Year\t\t\t\t\t\t\t\t\t\t<\/h3>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"latest-ebook__excerpt\">\n\t\t\t\t\t\t\t\t\t\t\t\tIn today\u2019s fast-paced business world, small and medium-sized enterprises (SMEs) face mounting pressure to&#8230;\t\t\t\t\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__btn related-articles__btn btn-primary\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"btn-shine\"><\/span>\n\t\t\t\t\t\t\t\t\t\tLearn More\t\t\t\t\t\t\t\t\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\t\td=\"M12 4.92505C12.1643 4.92505 12.2663 4.97355 12.3467 5.05396L18.9463 11.6536L18.9629 11.6692L18.9795 11.6838C18.9937 11.6957 19.0059 11.7085 19.0156 11.7229L19.0391 11.7717C19.0629 11.845 19.0752 11.9207 19.0752 12.0002C19.0752 12.0797 19.0633 12.147 19.043 12.2053C19.0292 12.2436 19.0016 12.2916 18.9463 12.3469L12.3467 18.9465C12.2663 19.0269 12.1643 19.0754 12 19.0754C11.8357 19.0754 11.7337 19.0269 11.6533 18.9465C11.5899 18.8831 11.5452 18.8062 11.5244 18.7004L11.5117 18.5852C11.5074 18.4255 11.5526 18.3295 11.6289 18.2532L17.3818 12.5002H5C4.84291 12.5002 4.73438 12.4524 4.64062 12.3586C4.5479 12.2659 4.50004 12.1578 4.5 12.0002C4.5 11.8425 4.54827 11.7336 4.6416 11.6399L4.64062 11.6389C4.73395 11.5466 4.84314 11.5002 5 11.5002H17.3818L16.5283 10.6467L11.6289 5.74634C11.5526 5.67004 11.5074 5.57472 11.5117 5.41528C11.5169 5.24649 11.569 5.13845 11.6533 5.05396C11.7337 4.97355 11.8357 4.92505 12 4.92505Z\"\n\t\t\t\t\t\t\t\t\t\t\t\tfill=\"#fff\" stroke=\"white\" \/>\n\t\t\t\t\t\t\t\t\t\t<\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/article>\n\t\t\t\t\t\t\t\t\t<article class=\"latest-ebook__card\">\n\t\t\t\t\t\t<a href=\"https:\/\/haipestudio.buzzvel.work\/en\/ebooks\/lead-lisbon-digital-transformation-ebook\/\" class=\"latest-ebook__link\">\n\t\t\t\t\t\t\t<span class=\"sr-only\">ebook<\/span>\n\n\t\t\t\t\t\t\t<div class=\"latest-ebook__card-content\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__image\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/haipestudio.buzzvel.work\/wp-content\/uploads\/2025\/10\/book1.png\" alt=\"How you can lead Lisbon Digital Transformation\" loading=\"lazy\" title=\"\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"latest-ebook__content\">\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__text\">\n\t\t\t\t\t\t\t\t\t\t<h3 class=\"latest-ebook__card-title\">\n\t\t\t\t\t\t\t\t\t\t\tHow you can lead Lisbon Digital Transformation\t\t\t\t\t\t\t\t\t\t<\/h3>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"latest-ebook__excerpt\">\n\t\t\t\t\t\t\t\t\t\t\t\tIn today\u2019s fast-paced business world, small and medium-sized enterprises (SMEs) face mounting pressure to&#8230;\t\t\t\t\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"latest-ebook__btn related-articles__btn btn-primary\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"btn-shine\"><\/span>\n\t\t\t\t\t\t\t\t\t\tLearn More\t\t\t\t\t\t\t\t\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\t\td=\"M12 4.92505C12.1643 4.92505 12.2663 4.97355 12.3467 5.05396L18.9463 11.6536L18.9629 11.6692L18.9795 11.6838C18.9937 11.6957 19.0059 11.7085 19.0156 11.7229L19.0391 11.7717C19.0629 11.845 19.0752 11.9207 19.0752 12.0002C19.0752 12.0797 19.0633 12.147 19.043 12.2053C19.0292 12.2436 19.0016 12.2916 18.9463 12.3469L12.3467 18.9465C12.2663 19.0269 12.1643 19.0754 12 19.0754C11.8357 19.0754 11.7337 19.0269 11.6533 18.9465C11.5899 18.8831 11.5452 18.8062 11.5244 18.7004L11.5117 18.5852C11.5074 18.4255 11.5526 18.3295 11.6289 18.2532L17.3818 12.5002H5C4.84291 12.5002 4.73438 12.4524 4.64062 12.3586C4.5479 12.2659 4.50004 12.1578 4.5 12.0002C4.5 11.8425 4.54827 11.7336 4.6416 11.6399L4.64062 11.6389C4.73395 11.5466 4.84314 11.5002 5 11.5002H17.3818L16.5283 10.6467L11.6289 5.74634C11.5526 5.67004 11.5074 5.57472 11.5117 5.41528C11.5169 5.24649 11.569 5.13845 11.6533 5.05396C11.7337 4.97355 11.8357 4.92505 12 4.92505Z\"\n\t\t\t\t\t\t\t\t\t\t\t\tfill=\"#fff\" stroke=\"white\" \/>\n\t\t\t\t\t\t\t\t\t\t<\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/article>\n\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t<!-- Pagination -->\n\t\t<div id=\"pagination-container\" class=\"latest-ebook__pagination\">\n\t\t<\/div>\n\t<\/div>\n<\/section>\n\n<script>\n    document.addEventListener('DOMContentLoaded', function () {\n        \/\/ Configuration\n        let currentPage = 1;\n        let isLoading = false;\n        let totalPages = 1;\n        const perPage = 6;\n\n        \/\/ DOM Elements\n        const ebooksGrid = document.getElementById('ebooks-grid');\n        const loadingState = document.getElementById('loading-state');\n        const paginationContainer = document.getElementById('pagination-container');\n\n        \/\/ Show\/Hide loading state\n        function showLoading() {\n            isLoading = true;\n            loadingState.classList.remove('hidden');\n            paginationContainer.classList.add('hidden');\n            ebooksGrid.classList.add('!hidden');\n        }\n\n        function hideLoading() {\n            isLoading = false;\n            loadingState.classList.add('hidden');\n            ebooksGrid.classList.remove('!hidden');\n        }\n\n        function createPagination(currentPage, totalPages) {\n            if (totalPages <= 1) return '';\n\n            const makePageBtn = (i, isActive = false) => `\n                <button class=\"pagination-btn text-d-b4 font-bold transition-all duration-300 ${isActive\n                    ? 'text-white bg-haipe_purple-500'\n                    : 'hover:bg-haipe_purple-500 hover:text-white'\n                } rounded-full\" data-page=\"${i}\">\n                    ${i}\n                <\/button>\n            `;\n\n            let paginationHTML = '<div class=\"flex justify-center items-center pagination-container\">';\n\n            \/\/ Previous\n            if (currentPage > 1) {\n                paginationHTML += `\n                <button class=\"pagination-btn pagination-btn--prev group\" data-page=\"${currentPage - 1}\">\n                    <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                        <path class=\"group-hover:fill-white\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.6296 7.24879C14.8538 7.3312 15 7.52534 15 7.74067L15 16.2592C15 16.4745 14.8538 16.6686 14.6296 16.751C14.4054 16.8334 14.1473 16.7879 13.9757 16.6357L9.17574 12.3764C8.94142 12.1685 8.94142 11.8314 9.17574 11.6235L13.9757 7.3642C14.1473 7.21194 14.4054 7.16639 14.6296 7.24879Z\" fill=\"#010A10\"\/>\n                    <\/svg>\n                <\/button>\n                `;\n            }\n\n            if (totalPages <= 4) {\n                \/\/ Show all pages if 4 or fewer\n                for (let i = 1; i <= totalPages; i++) {\n                    paginationHTML += makePageBtn(i, i === currentPage);\n                }\n            } else {\n                \/\/ For 5 or more pages, show: first, current + next 2, last\n                let pagesToShow = [];\n                \n                \/\/ Always show first page\n                pagesToShow.push(1);\n                \n                \/\/ Show current page and next 2 pages\n                for (let i = currentPage; i <= Math.min(currentPage + 2, totalPages); i++) {\n                    if (!pagesToShow.includes(i)) {\n                        pagesToShow.push(i);\n                    }\n                }\n                \n                \/\/ Show last page if not already included\n                if (!pagesToShow.includes(totalPages)) {\n                    pagesToShow.push(totalPages);\n                }\n                \n                \/\/ If we're on the last page, show the last 3 pages instead\n                if (currentPage === totalPages) {\n                    pagesToShow = [1];\n                    for (let i = Math.max(totalPages - 2, 1); i <= totalPages; i++) {\n                        if (!pagesToShow.includes(i)) {\n                            pagesToShow.push(i);\n                        }\n                    }\n                }\n                \n                \/\/ Sort and render\n                pagesToShow.sort((a, b) => a - b);\n                \n                for (let i = 0; i < pagesToShow.length; i++) {\n                    const page = pagesToShow[i];\n                    \n                    \/\/ Add ellipsis if there's a gap\n                    if (i > 0 && page - pagesToShow[i-1] > 1) {\n                        paginationHTML += `<span class=\"px-2 py-2 text-gray-500\">...<\/span>`;\n                    }\n                    \n                    paginationHTML += makePageBtn(page, page === currentPage);\n                }\n            }\n\n            \/\/ Next\n            if (currentPage < totalPages) {\n                paginationHTML += `\n                <button class=\"pagination-btn pagination-btn--next group\" data-page=\"${currentPage + 1}\">\n                    <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                        <path class=\"group-hover:fill-white\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.37036 16.7512C9.14621 16.6688 9 16.4747 9 16.2593L9 7.7408C9 7.52547 9.14621 7.33134 9.37036 7.24897C9.59451 7.16659 9.85267 7.21214 10.0243 7.36436L14.8243 11.6236C15.0586 11.8315 15.0586 12.1686 14.8243 12.3765L10.0243 16.6358C9.85267 16.7881 9.59451 16.8336 9.37036 16.7512Z\" fill=\"#010A10\"\/>\n                    <\/svg>\n                <\/button>\n                `;\n            }\n\n            paginationHTML += '<\/div>';\n            return paginationHTML;\n        }\n\n        function renderEbooks(ebooks) {\n            if (!ebooks || ebooks.length === 0) {\n                ebooksGrid.innerHTML = '<p class=\"text-center text-gray-500\">No ebooks found.<\/p>';\n                return;\n            }\n\n            const ebooksHTML = ebooks.map(ebook => `\n                <article class=\"latest-ebook__card\">\n                    <a href=\"${ebook.permalink}\" class=\"latest-ebook__link\">\n                        <span class=\"sr-only\">ebook<\/span>\n\n                        <div class=\"latest-ebook__card-content\">\n                            <!-- Image -->\n                            ${ebook.image ? `\n                                <div class=\"latest-ebook__image\">\n                                    <img decoding=\"async\" src=\"${ebook.image}\" alt=\"${ebook.title}\" loading=\"lazy\" \/>\n                                <\/div>\n                            ` : ''}\n\n                            <!-- Content -->\n                            <div class=\"latest-ebook__content\">\n                                <div class=\"latest-ebook__text\">\n                                    <!-- Title -->\n                                    <h3 class=\"latest-ebook__card-title\">\n                                        ${ebook.title}\n                                    <\/h3>\n\n                                    <!-- Excerpt -->\n                                    ${ebook.excerpt ? `\n                                        <p class=\"latest-ebook__excerpt\">\n                                            ${ebook.excerpt}\n                                        <\/p>\n                                    ` : ''}\n                                <\/div>\n\n                                <!-- Read More Link -->\n                                <div class=\"latest-ebook__btn related-articles__btn btn-primary\">\n                                    <span class=\"btn-shine\"><\/span>\n                                    Learn More                                    <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                                        <path\n                                            d=\"M12 4.92505C12.1643 4.92505 12.2663 4.97355 12.3467 5.05396L18.9463 11.6536L18.9629 11.6692L18.9795 11.6838C18.9937 11.6957 19.0059 11.7085 19.0156 11.7229L19.0391 11.7717C19.0629 11.845 19.0752 11.9207 19.0752 12.0002C19.0752 12.0797 19.0633 12.147 19.043 12.2053C19.0292 12.2436 19.0016 12.2916 18.9463 12.3469L12.3467 18.9465C12.2663 19.0269 12.1643 19.0754 12 19.0754C11.8357 19.0754 11.7337 19.0269 11.6533 18.9465C11.5899 18.8831 11.5452 18.8062 11.5244 18.7004L11.5117 18.5852C11.5074 18.4255 11.5526 18.3295 11.6289 18.2532L17.3818 12.5002H5C4.84291 12.5002 4.73438 12.4524 4.64062 12.3586C4.5479 12.2659 4.50004 12.1578 4.5 12.0002C4.5 11.8425 4.54827 11.7336 4.6416 11.6399L4.64062 11.6389C4.73395 11.5466 4.84314 11.5002 5 11.5002H17.3818L16.5283 10.6467L11.6289 5.74634C11.5526 5.67004 11.5074 5.57472 11.5117 5.41528C11.5169 5.24649 11.569 5.13845 11.6533 5.05396C11.7337 4.97355 11.8357 4.92505 12 4.92505Z\"\n                                            fill=\"#fff\" stroke=\"white\" \/>\n                                    <\/svg>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/a>\n                <\/article>\n            `).join('');\n\n            ebooksGrid.innerHTML = ebooksHTML;\n        }\n\n        const currentLang = 'en';\n\n        async function loadEbooks(page = 1) {\n            if (isLoading) return;\n\n            showLoading();\n            currentPage = page;\n\n            try {\n                const langParam = currentLang ? `&lang=${encodeURIComponent(currentLang)}` : '';\n                const response = await fetch(`\/wp-json\/wp\/v2\/ebooks?per_page=${perPage}&page=${page}&_embed&acf_format=standard${langParam}`);\n                \n                if (!response.ok) {\n                    throw new Error('Failed to fetch ebooks');\n                }\n\n                const ebooks = await response.json();\n                const totalPagesHeader = response.headers.get('X-WP-TotalPages');\n                \n                if (totalPagesHeader) {\n                    totalPages = parseInt(totalPagesHeader);\n                }\n\n                const formattedEbooks = ebooks.map(ebook => ({\n                    id: ebook.id,\n                    title: ebook.title.rendered,\n                    excerpt: ebook.excerpt.rendered ? ebook.excerpt.rendered.replace(\/<[^>]*>\/g, '') : '',\n                    content: ebook.content.rendered,\n                    image: ebook._embedded && ebook._embedded['wp:featuredmedia'] && ebook._embedded['wp:featuredmedia'][0] \n                        ? ebook._embedded['wp:featuredmedia'][0].source_url \n                        : '',\n                    date: new Date(ebook.date).toLocaleDateString('en-US', { \n                        day: 'numeric', \n                        month: 'short', \n                        year: 'numeric' \n                    }),\n                    date_iso: ebook.date,\n                    permalink: ebook.link\n                }));\n\n                renderEbooks(formattedEbooks);\n                \n                \/\/ Update pagination\n                paginationContainer.innerHTML = createPagination(currentPage, totalPages);\n                paginationContainer.classList.remove('hidden');\n\n            } catch (error) {\n                console.error('Error loading ebooks:', error);\n                ebooksGrid.innerHTML = '<p class=\"text-center text-red-500\">Error loading ebooks. Please try again.<\/p>';\n            } finally {\n                hideLoading();\n            }\n        }\n\n        \/\/ Event Listeners\n        paginationContainer.addEventListener('click', function(e) {\n            if (e.target.closest('.pagination-btn')) {\n                const page = parseInt(e.target.closest('.pagination-btn').dataset.page);\n                if (page && page !== currentPage) {\n                    loadEbooks(page);\n                }\n            }\n        });\n\n        \/\/ Initial pagination setup (page 1 is server-rendered with WPML context)\n        if (totalPages > 1) {\n            paginationContainer.innerHTML = createPagination(currentPage, totalPages);\n            paginationContainer.classList.remove('hidden');\n        }\n    });\n<\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"folder":[],"class_list":["post-1253","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/pages\/1253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/comments?post=1253"}],"version-history":[{"count":1,"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/pages\/1253\/revisions"}],"predecessor-version":[{"id":1682,"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/pages\/1253\/revisions\/1682"}],"wp:attachment":[{"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/media?parent=1253"}],"wp:term":[{"taxonomy":"folder","embeddable":true,"href":"https:\/\/haipestudio.buzzvel.work\/en\/wp-json\/wp\/v2\/folder?post=1253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}