/**
 * AUSVIPEX 2026 Catalogue Shortcode
 * Add this code to the Code Snippets plugin (without PHP opening/closing tags).
 * Then add [ausvipex_catalogue] to a WordPress page.
 */
function ausvipex_catalogue_shortcode() {
    $exhibits = json_decode('[
    {
        "class": "Traditional Philately",
        "frames": "2",
        "exhibitor": "Patrick Delmore",
        "country": "Canada",
        "title": "Basutoland King George VI definitive issue",
        "description": "Wide ranging coverage of the definitives - preproduction, specimens, 10 printings of the stamps, salesman\'s sample sheet, uses from 1/2 d to 4/- on postcards, covers and airletters with local, Imperial and UPU rates."
    },
    {
        "class": "Traditional Philately",
        "frames": "6",
        "exhibitor": "Adam Buday",
        "country": "Hungary",
        "title": "Newspaper stamps in Hungary 1851-1922",
        "description": "In my exhibit, I aim to present in detail the newspaper stamps issued in Hungary from the beginning(1851) until the end of their use in the country (1922), showcasing their unique features and how they were utilized throughout this period, which spanned approximately seventy years."
    },
    {
        "class": "Traditional Philately",
        "frames": "3",
        "exhibitor": "Durga Dara",
        "country": "India",
        "title": "The role of United Nations in fostering philately",
        "description": "The exhibit tries to trace the origin of issuing stamps, miniature sheets, postal stationery, FDC by united nations"
    },
    {
        "class": "Traditional Philately",
        "frames": "5",
        "exhibitor": "Sushil Mehra",
        "country": "India",
        "title": "Refugee Relief Tax Stamps of India (15-Nov-1971 - 31-3-1973)",
        "description": "In 1971, The Government of India imposed a special obligatory Refugee Relief Tax(RRT) which was collected through stamps and stationery. This 5 Frame Traditional Exhibit showcases the stamps, overprints, stationery of this RRT issue."
    },
    {
        "class": "Traditional Philately",
        "frames": "4",
        "exhibitor": "Danie van Zyl",
        "country": "South Africa",
        "title": "South West Africa Official Stamps",
        "description": "A display of all the overprinted official stamps of South West Africa. The exhibit includes many rare and scarce stamps and variations."
    },
    {
        "class": "Traditional Philately",
        "frames": "8",
        "exhibitor": "Francisco Cucalon",
        "country": "Ecuador",
        "title": "Ecuador 1881-1885 first issue on decimal currency",
        "description": "Study of the first decimal issue of Ecuador including proofs, varieties, domestic and foreign covers."
    },
    {
        "class": "Traditional Philately",
        "frames": "5",
        "exhibitor": "Philip Waud",
        "country": "United Kingdom",
        "title": "1887-1900 the Great Britain jubilee issues of Queen Victoria",
        "description": "GB 1887-1900 issues, detailing development from 1884, showing proofs, imprimaturs and selected printings. This issue saw innovative new designs for bicolour printing with new features not seen before. Introduction of “Jubilee Lines” including rare print settings and multiples rarely displayed together. Major varieties as well as scarcer shades are shown."
    },
    {
        "class": "Traditional Philately",
        "frames": "5",
        "exhibitor": "Juius Ing.Guzma",
        "country": "Slovakia",
        "title": "A Legacy Through Time: Engravings, Slovak Modern Art in Postal",
        "description": "This exhibit systematically documents the transformation of Slovak modern art into the philatelic medium via the craft of steel-engraved postage stamps. The objective is to discuss the significance of art through postage stamps, die proofs, essays, and other scarce philatelic items that capture the essence of the artworks and their creators."
    },
    {
        "class": "Traditional Philately",
        "frames": "8",
        "exhibitor": "Jean-Jacques Tillard",
        "country": "France",
        "title": "Saint-Pierre-et-Miquelon, The « Group » Type, 1892-1908",
        "description": "Complete study about this well known issue of the french colonies. Rare and unique pieces."
    },
    {
        "class": "Traditional Philately",
        "frames": "8",
        "exhibitor": "Eduardo Barreiros",
        "country": "Portugal",
        "title": "Portuguese India - Crown Issues 1877 - 1883",
        "description": "This issue was printed for all Portuguese Colonies. Traditional exhibit by chronological order of Portuguese India Crown issues, with proofs, used and unused stamps, blocks and complete sheets, errors, single and registered covers, postage rates, postmarks and cancellations, study of paper and perforations."
    },
    {
        "class": "Traditional Philately",
        "frames": "8",
        "exhibitor": "Francisco Cucalón",
        "country": "Ecuador",
        "title": "Ecuador 1881-1885: First Issue on Decimal Currency",
        "description": "Study of the first issue of postage stamps in decimal currency, instead of reales and pesos, in its different printings, varieties, errors, uses and surcharges"
    },
    {
        "class": "Postal History 2A",
        "frames": "5",
        "exhibitor": "Sushil Mehra",
        "country": "India",
        "title": "India\'s Postal Mail during Refugee Relief Period",
        "description": "This Postal History exhibit showcases Mail with Indian Refugee Relief Tax paid in Cash, RRT Exempted Mails, Various kinds of RRT Mail."
    },
    {
        "class": "Postal History 2A",
        "frames": "3",
        "exhibitor": "Reynaldo De Jesus",
        "country": "Phillipinnes",
        "title": "Philippine postal usage under u.s. Possessions of non-overprinted and overprinted era 1898-1906",
        "description": "Emergency postal usage managed by US Military forces from the 1898 Spanish-American War in the Philippines to its full assimilation in 1906. This era shows the existing hostile conditions faced by the US colonial forces."
    },
    {
        "class": "Postal History 2A",
        "frames": "5",
        "exhibitor": "Janusz Bator",
        "country": "Poland",
        "title": "PRZEMYSL –Postal History 1765 to 1918",
        "description": "Przemysl - one of the oldest cities in Poland. Until 1772, the Polish royal post office operated in the city. Then, in the years 1773-1918, the Austrian Post was operating. During World War I, there was F.P.O. and in the years 1914-1915 air and balloon mail from the besieged Przemysl Fortress and the Russian F.P.O. It is built chronologically over time, from the 18th century until 1918."
    },
    {
        "class": "Postal History 2A",
        "frames": "5",
        "exhibitor": "Binod Krishna Shrestha",
        "country": "Nepal",
        "title": "Study of Postal Routes in Nepal (1883 - 1959)",
        "description": "This exhibit traces Nepal\'s first organized postal network, established by Prime Minister Ranoddip Singh in 1878, running 1,033 km from Ilam to Baitadi via Kathmandu. Arranged geographically by route, it uses genuine covers, cards, and postal stationery—including Tibet and British India exchange mail—to reconstruct rates, routes, and markings from pre-stamp manuscripts through early airmail."
    },
    {
        "class": "Postal History 2A",
        "frames": "8",
        "exhibitor": "Eric Scherer",
        "country": "Switzerland",
        "title": "Prepaid Reply Cards in International Mail",
        "description": "The international reply card, active under UPU regulations from 1879 to 1971, allowed correspondents to prepay postage for foreign replies. Despite becoming mandatory for all UPU members by 1892, the system was chronically plagued by postal clerk confusion, hyperinflation challenges, and unresolved airmail complications, ultimately leading to its abolition in 1971."
    },
    {
        "class": "Postal History 2A",
        "frames": "6",
        "exhibitor": "Anders Auberg",
        "country": "Norway",
        "title": "Victorian Postal Communication: British Inland and Overseas Postal Systems 1837–1901",
        "description": "The exhibit traces the development of British postal communication during the reign of Queen Victoria, from domestic postal reform to the organisation and conveyance of correspondence overseas. Through selected case studies across Europe, the Americas, Africa and Asia, it explores how changing postal arrangements, accounting systems, routes and methods of conveyance shaped the movement of British correspondence throughout the nineteenth century."
    },
    {
        "class": "Postal History 2B",
        "frames": "8",
        "exhibitor": "Glen Stafford",
        "country": "Australia",
        "title": "Forces Mail in Western Australia during WWII",
        "description": "The story of the forgotten defence forces in Western Australia (WA) during World War II. WA takes up over 1/3 of Australia with only 1/10 the population. This exhibit explores the postal history of the Western Australian Forces defending WA during WWII. It will include postal markings and obliterations, manuscript markings, applied to Western Australian Forces Mail during World War II and excludes; POW camp mail, Military mail from Civilian PO’s and civil postal censorship."
    },
    {
        "class": "Postal History 2C",
        "frames": "5",
        "exhibitor": "Costas Chazapis",
        "country": "Greece",
        "title": "Post-War Greece (1946–1960)",
        "description": "Greece was left in ruins after World War II, became an area of Cold War contention, and endured a four-year civil war. Its eventual recovery is largely attributed to substantial American aid and the painful yet decisive 1953 currency reform."
    },
    {
        "class": "Postal History 2C",
        "frames": "5",
        "exhibitor": "Sushil Mehra",
        "country": "India",
        "title": "A Postal Study of Matchbox Trade of India (1905-2005)",
        "description": "The Aim of this Special Study Postal History Exhibit is to present correspondence of the Indian Matchbox Trade. It combines Postal History aspects of the cover/postcard like the mail route along with social philatelic aspects of the match label/merchant."
    },
    {
        "class": "Postal History 2C",
        "frames": "2",
        "exhibitor": "Fabrizio Delmastro",
        "country": "Italy",
        "title": "A brief history of disinfected mail",
        "description": "Disinfection of letters was practiced from the 15th to the 20th century in an attempt to prevent disease transmission. This practice was particularly popular in Europe and the Mediterranean basin. This study presents the reasons, locations, and methods of mail disinfection. Special attention is given to the handstamps, manuscript and seals certifying disinfection"
    },
    {
        "class": "Postal History 2C",
        "frames": "2",
        "exhibitor": "Miguel Angel Cuevas Olascoaga",
        "country": "Mexico",
        "title": "Czechoslovakia unofficial essays 1918–1926",
        "description": "Following the dissolution of the Austro-Hungarian Empire in 1918, the new republic of Czechoslovakia sought its own identity in its postage stamp issues. Hand engraving was adopted, distinguished by its precise and artistic lines, setting it apart from simpler lithographic techniques. Czechoslovak engraving was strongly influenced by the local school of graphic arts, featuring figures such as Max Švabinský and his assistants, including Jan Rambousek in the 1920s. These artists brought social and artistic engraving techniques to postage stamp designs"
    },
    {
        "class": "Postal Stationery",
        "frames": "8",
        "exhibitor": "Giannis Refanidis",
        "country": "Greece",
        "title": "Postal stationery of Greece 1900-1920",
        "description": "Postal letter card/ Postal wrappers/ Postal money orders/ Parcel postal cards 1900-1920"
    },
    {
        "class": "Postal Stationery",
        "frames": "2",
        "exhibitor": "Guo Kangping",
        "country": "China",
        "title": "Commemorative Postcards of the West Lake Exposition",
        "description": "China’s First Set of Postage-Exempt Postcards: A Comprehensive Study on the Issuance, Printing and Postal Usage of the West Lake Exposition Postcards."
    },
    {
        "class": "Postal Stationery",
        "frames": "5",
        "exhibitor": "Ali Dogan OZOGUL",
        "country": "Turkey",
        "title": "Hyderabad Postal Stationeries 1870-1950",
        "description": "A study on postal stationaries issued by Hyderabad - Indian Native Feudatory State. This study attempts to reveal the diversity of postal stationaries, die types and print varieties in the course of timeline."
    },
    {
        "class": "Postal Stationery",
        "frames": "5",
        "exhibitor": "Bunyamin Altinok",
        "country": "Turkey",
        "title": "The registered mail of Cyprus",
        "description": "This collection is a study of registration methods, postmarks and registration labels. In this collection wide variety of registration postmarks and labels are demonstrated. Examples of registered mails from district, towns and rural post offices are shown."
    },
    {
        "class": "Aerophilately",
        "frames": "8",
        "exhibitor": "Bruce Haynes",
        "country": "Australia",
        "title": "Netherlands East Indies Airmails 1920 - 1949",
        "description": "Traces the development of airmail services by KNILM (domestic) and KLM (international) until 1942 and KLM (international) from 1945 until Indonesian independence in 1949. Emphasis is on routes and crashes (highlight the danger of early aviation)."
    },
    {
        "class": "Aerophilately",
        "frames": "3",
        "exhibitor": "Chandan Sengupta",
        "country": "India",
        "title": "Evolution of Indian air mails 1920–1930",
        "description": "This exhibit traces the formative decade of Indian airmails, from pioneering surveys and experimental flights to organised postal services. Through original covers and postal evidence, it demonstrates route development, military and foreign participation, mail handling and international interchange, showing how India emerged as a vital link in intercontinental airmail development"
    },
    {
        "class": "Aerophilately",
        "frames": "5",
        "exhibitor": "Chandan Sengupta",
        "country": "India",
        "title": "Operational development of Indian air mails 1931–40",
        "description": "A five-frame exhibit documenting India’s transition from experimental flying to organised airmail services. Through postal, rate, routing, flight and airline evidence, it traces proving flights, international integration, Imperial Airways expansion, and the growth of domestic networks, demonstrating the emergence of a mature, interconnected Indian airmail system."
    },
    {
        "class": "Aerophilately",
        "frames": "3",
        "exhibitor": "Ravindra Ratnapala",
        "country": "Sri Lanka",
        "title": "Auxiliary Markings, Labels, Cachets and Superscriptions on Airmail to and from Sri Lanka, formerly known as Ceylon.",
        "description": "A display of Auxiliary markings on airmail to understand why such auxiliary markings were necessary and the scope of such markings. The viewer understands the various types of auxiliary markings and the purpose of such markings."
    },
    {
        "class": "Astrophilately",
        "frames": "2",
        "exhibitor": "Arijit Bose",
        "country": "India",
        "title": "Space Exploration Through Postal History",
        "description": "This exhibit chronicles America’s cosmic journey through the lens of philately. By featuring commemorative stamps, authentic postmarks, and historic cachets, the collection preserves the milestones of the Mercury, Gemini, and Apollo eras, leading into the versatile Space Shuttle program. Each artifact serves as a tangible record of human ingenuity and courage. From the first lunar footprints to the reusable orbiters, these items honor the teams who expanded our horizons. More than just paper and ink, this tribute celebrates the enduring spirit of exploration that continues to inspire generations to reach for the stars."
    },
    {
        "class": "Thematic",
        "frames": "5",
        "exhibitor": "Malay Bhaumik",
        "country": "India",
        "title": "Development of aviation and airmail",
        "description": "The exhibit attempts to show briefly the chronological development of the history of development of worldwide aviation, its machines, men and simultaneously the development of Airmail System as a whole with glimpses of rare flight covers."
    },
    {
        "class": "Thematic",
        "frames": "2",
        "exhibitor": "Khaled Bounamous",
        "country": "Algeria",
        "title": "Her game, her glory, the rise of women\'s handball through philately",
        "description": "Her Game, Her Glory tells the story of women’s handball through philately. From its early struggles to international success, this exhibit showcases stamps and postal documents reflecting the sport’s growth, achievements, and increasing recognition on the global stage."
    },
    {
        "class": "Thematic",
        "frames": "5",
        "exhibitor": "Ali Dogan OZOGUL",
        "country": "Turkey",
        "title": "War mails",
        "description": "This exhibition is a study on reflections and effects of war on communication means. To narrate, I used Word War 2 era letters and other means of communication materials survived."
    },
    {
        "class": "Thematic",
        "frames": "3",
        "exhibitor": "Alfonso Sada Guereca",
        "country": "Mexico",
        "title": "The Evolution Of Visual Narrative: Systems, Media And Global Culture",
        "description": "A global study of visual narrative from prehistoric imagery to contemporary comics and animation. It analyzes sequentiality, movement, reproduction, and industrialization within historical, cultural, and media contexts encompassing diverse forms of graphic expression and visual communication."
    },
    {
        "class": "Thematic",
        "frames": "5",
        "exhibitor": "Fernando Martins",
        "country": "Portugal",
        "title": "Olympic games 1952/1968",
        "description": "Chronological description Olympic Games 1952/1968\\""
    },
    {
        "class": "Thematic",
        "frames": "4",
        "exhibitor": "Arunkumar S R",
        "country": "India",
        "title": "Earth\'s Largest Mammal on Land",
        "description": "We have emphasis in this exhibit how elephants are closely related to human beings from ancient times and how we protect and preserve."
    },
    {
        "class": "Revenues",
        "frames": "5",
        "exhibitor": "Weiwei Zhang",
        "country": "China",
        "title": "Bicycle Taxation in People\'s China: 1947-2004",
        "description": "This exhibit is the first revenue exhibit devoted to the study of China\'s bicycle tax, beginning with the earliest bicycle tax plaques issued in the Liberated Areas in 1947 and ending with the final year of use in Shanghai in 2004. Because bicycle tax in China was a local tax, with different policies from place to place, assembling this material has been exceptionally difficult."
    },
    {
        "class": "Revenues",
        "frames": "5",
        "exhibitor": "Francisc Ambrus",
        "country": "Romania",
        "title": "Romanian Stock Exchange and Chamber of Commerce fiscal stamps and their use, 1882 - 1948",
        "description": "The exhibit explores the role of Romanian tax stamps in commerce and stock market activity from the mid-19th century up to the sweeping changes brought by the Romanian nationalization of 1948."
    },
    {
        "class": "Youth A 10 - 15",
        "frames": "2",
        "exhibitor": "Young Philatelists Club 57-06 Ostrava Primary School Gen. Janka 1208",
        "country": "Czech Republic",
        "title": "History and life of animals in human care",
        "description": "Pets are not just animals that live alongside humans; They are our companions, family members, friends and often therapists. This exhibit entitled \\"HISTORY AND LIFE OF ANIMALS IN HUMAN CARE\\" aims to map the phenomenon of domestication and coexistence of man with the most widespread species of animals that keep us company in our homes."
    },
    {
        "class": "Youth A 10 - 15",
        "frames": "3",
        "exhibitor": "Ruhanika Mehra",
        "country": "India",
        "title": "The Story of India\'s Fight Against Covid",
        "description": "This exhibit is the story of India’s struggle towards the management of COVID-19 pandemic through the eyes of Philately"
    },
    {
        "class": "Youth B 16 - 18",
        "frames": "4",
        "exhibitor": "Ana Aurora Muntean",
        "country": "Romania",
        "title": "Ballet",
        "description": "The exhibit, an OPEN one, presents evolution of the art of ballet in different countries, famous ballerinas and dancers, famous ballets and composers. At the same time tutu and ballet slippers are included, the way of \\"writing\\" ballet or ballet and other arts."
    },
    {
        "class": "Youth B 16 - 18",
        "frames": "3",
        "exhibitor": "Mavinakoppa Ravi",
        "country": "India",
        "title": "Cycling",
        "description": "Philately is a hobby of many, young and old, of many subjects; cycling is one such. The invention of the wheel helped man to develop many types of machinery and transport vehicles with the use of two wooden wheels a wooden vehicle, \\"The first bicycle\\" was invented around the 17th century by Comte Mede de Sivrac of France, The first official race on wooden bicycles were held in France in 1869, bicycling has been an event called \\"Cycling\\" of the Olympic Games since 1896. Cycling as a subject of philately is interesting to study. In the following pages, the development and some uses of cycles are briefed."
    },
    {
        "class": "Youth B 16 - 18",
        "frames": "3",
        "exhibitor": "V S Sree Thaniya Annamalai",
        "country": "India",
        "title": "Insects: The tiny wonders of World",
        "description": "Exhibit portrays the beautiful life and family of Insects"
    },
    {
        "class": "Youth B 16 - 18",
        "frames": "2",
        "exhibitor": "Lavisha Gupta",
        "country": "India",
        "title": "Famous Personality of the world and mixed Philately",
        "description": "Airmail Stamps: Special stamps created just for mail sent by airplanes Aisha and other countries"
    },
    {
        "class": "Youth C 19 - 21",
        "frames": "3",
        "exhibitor": "V S Rajeni Annamalai",
        "country": "India",
        "title": "Extinct and Endangered Species - Preserving Nature\'s legacy",
        "description": "Exhibit is about the Species that are in the verge of Endanger and extinct animals and initiative to preserve them"
    },
    {
        "class": "Youth C 19 - 21",
        "frames": "5",
        "exhibitor": "Hongyu Zhang",
        "country": "China",
        "title": "A Brief History of Bridges - From Origins to the Present",
        "description": "This five-frame Youth exhibit, independently completed by a Chinese youth exhibitor, traces bridge history from primitive natural crossings of trees, rocks and vines to modern eco-friendly high-tech structures. It compares East-West engineering wisdom and reveals bridges’ key roles in trade, culture and social development."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Rakhel Dash",
        "country": "India",
        "title": "R D\'s Stamp Collection",
        "description": "R D‚\'s Stamp Collection is a philately-focused blog that preserves and shares the stories behind stamps, covers, postcards and postal cancellations. It highlights new issues, rare finds, postal history, exhibitions and collector resources, helping both beginners and experienced philatelists explore India\'s rich postal heritage and keep stamp collecting alive."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Sugianto Sudhana",
        "country": "Indonesia",
        "title": "Semarang Post Office, Dutch East Indies, since 1808",
        "description": "A study of cancellations used in the Semarang Post Office from 1810 to 1949 and the different types of franking that were applied on the mail sent from this post office."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Mohamed Shalaby Oussama Elkhayat",
        "country": "Australia",
        "title": "The Postman",
        "description": "Quarterly issued, freely distributed, bilingual e-magazine concerned with documentation, research, promotion of Philately and published by the Arab Collector platform located in Australia"
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Sugianto Sudhana",
        "country": "Indonesia",
        "title": "Bandoeng Post Office, Dutch East Indies, since ca 1840",
        "description": "A study of cancellations used in the Bandoeng Post Office from 1849 to 1949 and the different types of franking that were applied on the mail sent from this post office."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Thomas Arvanitis",
        "country": "Greece",
        "title": "Correspondence between Great Britain and Greece, 1838- 1861",
        "description": "The establishment and evolution of the mail between Great Britain and Greece from 1838 to 1861. Carriers, Routes and Rates."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Fayez El Desouky",
        "country": "Gaza",
        "title": "This is Gaza, Guide for Gaza Post Stamps",
        "description": "This book documents all the details of the 32 stamp issues released independently by the Postal Authority of the Gaza Strip, separate from the Palestinian Postal Authority in the West Bank,during the period from 2009 to 2017. These issues have now disappeared entirely following the destruction of Gaza and its postal facilities. They have never been mentioned or documented"
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Kaustubh Mudgal",
        "country": "India",
        "title": "Indology through philately vol. 1",
        "description": "Indology through Philately explores ancient Indian history, culture, and architectural heritage through the unique lens of commemorative postage stamps from India Post. The book offers a fascinating journey into India\'s rich past by beautifully blending historical research with philately."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Bidhudatta Mishra",
        "country": "India",
        "title": "The Phila Capsule",
        "description": "The monthly, multi-colored e-magazine,The Fila Capsule‚ has been published by The Eastern India Philatelists‚ Association (EIPA) in Bhubaneswar, Odisha, India, since April 2023. The magazine features a participation Exhibit issue from Volume 2, Number 1 (January 2025) to Volume 2, Number 12 (December 2025), comprising a total of 12 issues available in both English and Hindi. Highlights of the magazine include thematic stamp cover pages, an editorial section, articles, stamps from around the world, travel philatelic stories, new stamp releases from India, philately news, details about Indian exhibitions, articles and activities by India Post, a Youth Corner, information on upcoming philatelic events, and a dedicated four-pages in Hindi section."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Michael Kogan",
        "country": "Germany",
        "title": "Paleophilatelie – the place where Paleontology and Paleoanthropology meet Philately",
        "description": "https://www.paleophilatelie.eu serves as a central resource where Paleontology and Paleoanthropology meet Philately. The site presents images of over 1,000 stamp sets and more than 1,600 postmarks, along with additional philatelic materials from nearly 200 countries and territories, arranged by country and date of issue."
    },
    {
        "class": "Literature",
        "frames": "",
        "exhibitor": "Alain Vailly",
        "country": "France",
        "title": "NVI’s – THE PRECURSORS Volume 1 – The beginnings : 1838 - 1887",
        "description": "This book is dedicated to the description of stamps with no apparent fiduciary value, issued between 1838 and 1887 in some thirty countries across five continents. For each stamp, the circumstances of its production are retraced with carefully chosen illustrations. Furthermore, whenever possible, bibliographic references are included."
    },
    {
        "class": "Open",
        "frames": "5",
        "exhibitor": "Susan Burn",
        "country": "United Kingdom",
        "title": "The MacRobertson Air Race and the Aircraft that changed the world of Civil Aviation",
        "description": "This was truly the Greatest Air Race ever held. It marked the bellwether change from the use of locally produced aircraft to reliance on American world beating all metal machines from companies such as Douglas and Boeing. They changed the future of civil aviation."
    },
    {
        "class": "Open",
        "frames": "5",
        "exhibitor": "Athanasios Paschos",
        "country": "Greece",
        "title": "Thessaloniki International Fair 1926-1940",
        "description": "This exhibit covers the first operational period of the Thessaloniki International Fair (TIF), 1926–1940, including the special stamp issue of 1934. It presents philatelic material—TIF-postmarked envelopes, items bearing the special stamps, and mechanical and commemorative postmarks—together with non-philatelic material, including illustrated postcards, cinderellas, printed matter, and doc"
    },
    {
        "class": "Picture Postcards",
        "frames": "5",
        "exhibitor": "Sushil Mehra",
        "country": "India",
        "title": "A Visual Portrait of Occupations of People in British India",
        "description": "The Aim of this Exhibit is to present a visually engaging narrative using picture postcards of British Colonial India to showcase Trades & Professions of that era."
    },
    {
        "class": "Picture Postcards",
        "frames": "2",
        "exhibitor": "Terry Lynne Harris",
        "country": "South Africa",
        "title": "Queen Mary\'s Dolls\' House",
        "description": "The Queen’s Dolls’ House was a gift from the British people to Queen Mary, wife of King George V, in the early 1920s. This exhibit describes the background to the Dolls’ House, its creation, purpose and contents, illustrated by picture postcards from the period, published by Raphael Tuck of London."
    },
    {
        "class": "Picture Postcards",
        "frames": "5",
        "exhibitor": "Yunhua Zheng",
        "country": "China",
        "title": "SHANGHAI BUND: Between The Yangkingpang Bridge And The Garden Bridge 1850s-1930s",
        "description": "The Exhibit is arranged in the form of picture postcards using geographical types, showcasing the architecture, cultural style, and changes of the Shanghai Bund from the 1850s to the 1930s. The Exhibit starts from the origin of the Shanghai Bund, showcasing the style, art, and characteristics of the Bund architecture, with a focus on showcasing some distinctive and well-known buildings. At the same time, they showcase municipal facilities such as Public Garden and public green spaces, as well as monuments and statues."
    },
    {
        "class": "Picture Postcards",
        "frames": "8",
        "exhibitor": "Gauresh Mehra",
        "country": "India",
        "title": "A Short History of Hill Stations of British India",
        "description": "The primary aim of this research oriented exhibit is to present visually engaging narrative of picture postcards showing hill stations of British India."
    },
    {
        "class": "First Day Covers (C), Thematic/Topical",
        "frames": "5",
        "exhibitor": "Vera Radnell",
        "country": "Australia",
        "title": "Akeela\'s Raptor Quest",
        "description": "Follow Akeela the Golden Eagle and Perry the Peregrine Falcon on a globe-spanning First Day Cover adventure. Beyond unique postmarks and cachets lies a powerful story of habitat rescue and ancient traditions. This exhibit reveals why these magnificent birds of prey need more than stamps—they need a protected future"
    },
    {
        "class": "First Day Covers (C), Thematic/Topical",
        "frames": "3",
        "exhibitor": "Nelson Koildoss Arumainayagam",
        "country": "India",
        "title": "Childrens Day in India through postage stamps",
        "description": "The exhibit chronicles Children’s Day in India through a year-wise study of cancelled First Day Covers issued from 1957 to the present. It documents the continuity and evolution of Children’s Day commemorative issues, examining their designs, inscriptions, cancellations and changing visual representation of children across different periods of Indian philatelic history."
    },
    {
        "class": "Topical",
        "frames": "8",
        "exhibitor": "Kim Robert de Leon",
        "country": "Philippines",
        "title": "The Philippine Flag in Philately",
        "description": "The exhibits showcases stamps and other philatelic items that feature the Philippine Flag including those issued by the Philippines and other foreign postal administrations."
    },
    {
        "class": "Topical",
        "frames": "5",
        "exhibitor": "Shikha Mehra",
        "country": "India",
        "title": "Google Doodles are the New Commemoratives",
        "description": "This exhibit tells us all about Google Doodles through the eyes of philately especially private covers."
    }
]', true);

    if (!is_array($exhibits)) {
        return '<p>The AUSVIPEX catalogue could not be loaded.</p>';
    }

    $id = function_exists('wp_unique_id') ? wp_unique_id('ausvipex-catalogue-') : 'ausvipex-catalogue-' . uniqid();
    $countries = array_values(array_unique(array_filter(array_map(function($item) {
        return isset($item['country']) ? $item['country'] : '';
    }, $exhibits))));
    $classes = array_values(array_unique(array_filter(array_map(function($item) {
        return isset($item['class']) ? $item['class'] : '';
    }, $exhibits))));
    sort($countries, SORT_NATURAL | SORT_FLAG_CASE);
    sort($classes, SORT_NATURAL | SORT_FLAG_CASE);

    ob_start();
    ?>
    <section id="<?php echo esc_attr($id); ?>" class="ausvipex-catalogue">
      <header class="avx-header">
        <p class="avx-eyebrow">VIRTUAL PHILATELIC EXHIBITION</p>
        <h2>AUSVIPEX 2026 Catalogue</h2>
        <p>Explore the exhibits, exhibitors and countries represented in AUSVIPEX 2026.</p>
        <div class="avx-count"><?php echo esc_html(count($exhibits)); ?> exhibits <span>•</span> <?php echo esc_html(count($countries)); ?> countries</div>
      </header>

      <div class="avx-controls">
        <label class="avx-search-label">
          <span class="screen-reader-text">Search catalogue</span>
          <input class="avx-search" type="search" placeholder="Search title, exhibitor or keyword…" />
        </label>
        <label>
          <span class="screen-reader-text">Filter by class</span>
          <select class="avx-class">
            <option value="">All classes</option>
            <?php foreach ($classes as $class) : ?>
              <option value="<?php echo esc_attr($class); ?>"><?php echo esc_html($class); ?></option>
            <?php endforeach; ?>
          </select>
        </label>
        <label>
          <span class="screen-reader-text">Filter by country</span>
          <select class="avx-country">
            <option value="">All countries</option>
            <?php foreach ($countries as $country) : ?>
              <option value="<?php echo esc_attr($country); ?>"><?php echo esc_html($country); ?></option>
            <?php endforeach; ?>
          </select>
        </label>
      </div>

      <p class="avx-results" aria-live="polite"><?php echo esc_html(count($exhibits)); ?> exhibits shown</p>
      <div class="avx-grid">
        <?php foreach ($exhibits as $item) :
          $class = isset($item['class']) ? $item['class'] : '';
          $country = isset($item['country']) ? $item['country'] : '';
          $exhibitor = isset($item['exhibitor']) ? $item['exhibitor'] : '';
          $title = isset($item['title']) ? $item['title'] : '';
          $description = isset($item['description']) ? $item['description'] : '';
          $frames = isset($item['frames']) ? $item['frames'] : '';
          $search_text = strtolower(implode(' ', array($class, $country, $exhibitor, $title, $description)));
        ?>
          <article class="avx-card"
            data-class="<?php echo esc_attr($class); ?>"
            data-country="<?php echo esc_attr($country); ?>"
            data-search="<?php echo esc_attr($search_text); ?>">
            <div class="avx-card-top">
              <span class="avx-class-tag"><?php echo esc_html($class); ?></span>
              <?php if ($frames !== '') : ?><span class="avx-frames"><?php echo esc_html($frames); ?> <?php echo esc_html($frames === '1' ? 'frame' : 'frames'); ?></span><?php endif; ?>
            </div>
            <h3><?php echo esc_html($title); ?></h3>
            <p class="avx-exhibitor"><?php echo esc_html($exhibitor); ?><?php if ($country !== '') : ?> <span>·</span> <?php echo esc_html($country); ?><?php endif; ?></p>
            <?php if ($description !== '') : ?><p class="avx-description"><?php echo esc_html($description); ?></p><?php endif; ?>
          </article>
        <?php endforeach; ?>
      </div>
      <p class="avx-empty" hidden>No exhibits match your search. Try another keyword or filter.</p>
    </section>

    <style>
      #<?php echo esc_attr($id); ?> { --avx-navy:#102b4e; --avx-gold:#c8a44d; color:#243247; margin:28px 0; }
      #<?php echo esc_attr($id); ?> .avx-header { background:var(--avx-navy); color:#fff; padding:clamp(24px,4vw,44px); border-radius:14px; margin-bottom:22px; }
      #<?php echo esc_attr($id); ?> .avx-header h2 { color:#fff; margin:5px 0 10px; font-size:clamp(27px,4vw,40px); line-height:1.15; }
      #<?php echo esc_attr($id); ?> .avx-header p { margin:0 0 10px; color:#f0f3f7; }
      #<?php echo esc_attr($id); ?> .avx-eyebrow { color:#f0cf79!important; font-size:12px; letter-spacing:2px; font-weight:700; }
      #<?php echo esc_attr($id); ?> .avx-count { margin-top:18px; font-weight:700; color:#f0cf79; }
      #<?php echo esc_attr($id); ?> .avx-count span { padding:0 8px; }
      #<?php echo esc_attr($id); ?> .avx-controls { display:grid; grid-template-columns:2fr 1fr 1fr; gap:12px; margin:18px 0 10px; }
      #<?php echo esc_attr($id); ?> .avx-controls input, #<?php echo esc_attr($id); ?> .avx-controls select { width:100%; min-height:46px; padding:10px 12px; border:1px solid #d7dce3; border-radius:8px; background:#fff; color:#243247; font:inherit; }
      #<?php echo esc_attr($id); ?> .avx-results { font-size:13px; color:#5e6a79; margin:10px 0 14px; }
      #<?php echo esc_attr($id); ?> .avx-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
      #<?php echo esc_attr($id); ?> .avx-card { min-width:0; padding:20px; border:1px solid #e2e6ec; border-top:3px solid var(--avx-gold); border-radius:10px; background:#fff; box-shadow:0 3px 12px rgba(16,43,78,.05); }
      #<?php echo esc_attr($id); ?> .avx-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
      #<?php echo esc_attr($id); ?> .avx-class-tag { color:var(--avx-navy); background:#edf2f8; border-radius:5px; padding:5px 8px; font-size:11px; font-weight:700; }
      #<?php echo esc_attr($id); ?> .avx-frames { color:#7c642b; font-size:12px; white-space:nowrap; }
      #<?php echo esc_attr($id); ?> .avx-card h3 { font-size:20px; line-height:1.35; color:var(--avx-navy); margin:0 0 10px; }
      #<?php echo esc_attr($id); ?> .avx-exhibitor { font-weight:700; margin:0 0 12px; font-size:14px; }
      #<?php echo esc_attr($id); ?> .avx-exhibitor span { color:var(--avx-gold); padding:0 3px; }
      #<?php echo esc_attr($id); ?> .avx-description { font-size:14px; line-height:1.65; margin:0; color:#4b5868; }
      #<?php echo esc_attr($id); ?> .avx-empty { padding:20px; background:#f6f7f9; border-radius:8px; text-align:center; }
      @media(max-width:700px) {
        #<?php echo esc_attr($id); ?> .avx-controls { grid-template-columns:1fr; }
        #<?php echo esc_attr($id); ?> .avx-grid { grid-template-columns:1fr; }
        #<?php echo esc_attr($id); ?> .avx-card { padding:17px; }
      }
    </style>
    <script>
    (function() {
      var root = document.getElementById(<?php echo wp_json_encode($id); ?>);
      if (!root) return;
      var search = root.querySelector('.avx-search');
      var classFilter = root.querySelector('.avx-class');
      var countryFilter = root.querySelector('.avx-country');
      var cards = Array.prototype.slice.call(root.querySelectorAll('.avx-card'));
      var results = root.querySelector('.avx-results');
      var empty = root.querySelector('.avx-empty');
      function filterCards() {
        var q = (search.value || '').toLowerCase().trim();
        var selectedClass = classFilter.value;
        var selectedCountry = countryFilter.value;
        var shown = 0;
        cards.forEach(function(card) {
          var match = (!q || card.getAttribute('data-search').indexOf(q) !== -1)
            && (!selectedClass || card.getAttribute('data-class') === selectedClass)
            && (!selectedCountry || card.getAttribute('data-country') === selectedCountry);
          card.hidden = !match;
          if (match) shown++;
        });
        results.textContent = shown + (shown === 1 ? ' exhibit shown' : ' exhibits shown');
        empty.hidden = shown !== 0;
      }
      search.addEventListener('input', filterCards);
      classFilter.addEventListener('change', filterCards);
      countryFilter.addEventListener('change', filterCards);
    })();
    </script>
    <?php
    return ob_get_clean();
}
add_shortcode('ausvipex_catalogue', 'ausvipex_catalogue_shortcode');