<?xml version="1.0" encoding="UTF-8"?>
<root>
  <posts>
    <post_id>83</post_id>
    <post_category_id>10</post_category_id>
    <post_title><![CDATA[The Little Prince and the Pilot]]></post_title>
    <post_content_short><![CDATA[]]></post_content_short>
    <post_icon>https://www.frenchmay.com/media/website_posts/83/Website_The-Little-Price-and-the-Pilot_Thumbnail.jpg</post_icon>
    <post_content_type>page</post_content_type>
    <post_content_url>https://www.frenchmay.com/en/programmes/heritage-culture-lifestyle/the-little-prince-and-the-pilot/</post_content_url>
    <post_date>2026-06-26 09:32:00</post_date>
  </posts>
  <posts>
    <post_id>97</post_id>
    <post_category_id>8</post_category_id>
    <post_title><![CDATA[New Voices in Paris Now: Between Memory and Matter]]></post_title>
    <post_content_short><![CDATA[]]></post_content_short>
    <post_icon>https://www.frenchmay.com/media/website_posts/97/Website_AP-VA_Alisan-Atelier-T.png</post_icon>
    <post_content_type>page</post_content_type>
    <post_content_url>https://www.frenchmay.com/en/programmes/modern-and-contemporary-art/new-voices-in-paris-now-between-memory-and-matter/</post_content_url>
    <post_date>2026-05-30 07:41:00</post_date>
  </posts>
  <posts>
    <post_id>87</post_id>
    <post_category_id>10</post_category_id>
    <post_title><![CDATA[Fabergé and Cartier: Rivals, Visionaries, Mastersmiths]]></post_title>
    <post_content_short><![CDATA[<!-- Get the post linked to the current page -->
<logic:variable as="post" value="[? (\Components\Website\Posts::getAllLinkingToPage(\Components\Website\Pages::currentPageId()))[0] ?]" />
<style>
.post-detail {
		color: #f5f5f7;
}

/* Post meta row (categories + share) */
.post-meta-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 1rem;
		margin-bottom: 2rem;
}

/* Category pills */
.post-categories {
		display: flex;
		flex-wrap: wrap;
		gap: 0.6rem;
}

.post-categories .category-pill {
		display: inline-flex;
		align-items: center;
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: #f5f5f7;
		background-color: rgba(224, 0, 34, 0.15);
		border: 1px solid rgba(224, 0, 34, 0.4);
		border-radius: 50px;
		padding: 0.4rem 0.9rem;
		text-decoration: none;
		transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.post-categories .category-pill:hover {
		background-color: #e00022;
		border-color: #e00022;
		transform: translateY(-2px);
}

/* Post title */
.post-title {
		font-size: clamp(1.8rem, 4vw, 2.8rem);
		font-weight: 700;
		line-height: 1.2;
		color: #ffffff;
		margin: 0 0 1.5rem 0;
}

/* Post content */
.post-content {
		font-size: 1.05rem;
		line-height: 1.8;
		color: #d4d4d8;
		margin-bottom: 2.5rem;
}

.post-content p {
		margin: 0 0 1rem 0;
}

/* Share buttons */
.share-buttons {
		display: flex;
		gap: 0.75rem;
}

.share-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background-color: #1c1c22;
		border: 1px solid #2a2a32;
		color: #ffffff;
		cursor: pointer;
		text-decoration: none;
		transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.share-btn:hover {
		transform: translateY(-3px);
		border-color: transparent;
}

.share-btn svg {
		width: 20px;
		height: 20px;
}

.share-whatsapp:hover {
		background-color: #25D366;
}

.share-instagram:hover {
		background-color: #e00022;
}

.share-facebook:hover {
		background-color: #004594;
}

.share-copy:hover {
		background-color: #e00022;
}

/* Copy toast */
.copy-toast {
		position: fixed;
		bottom: 2rem;
		left: 50%;
		transform: translateX(-50%) translateY(1.5rem);
		background-color: #004594;
		color: #ffffff;
		padding: 0.7rem 1.5rem;
		border-radius: 50px;
		font-size: 0.9rem;
		font-weight: 600;
		letter-spacing: 0.03em;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease, transform 0.3s ease;
		z-index: 9999;
}

.copy-toast.show {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
}
</style>

<script>
document.addEventListener('DOMContentLoaded', () => {
		const pageUrl = window.location.href;
		const pageTitle = document.title;

		// WhatsApp share
		const whatsapp = document.getElementById('share-whatsapp');
		if (whatsapp) {
				whatsapp.href = 'https://wa.me/?text=' + encodeURIComponent(pageTitle + ' ' + pageUrl);
		}

		// Facebook share
		const facebook = document.getElementById('share-facebook');
		if (facebook) {
				facebook.href = 'https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(pageUrl);
		}

		// Copy link
		const copyBtn = document.getElementById('share-copy');
		const toast = document.getElementById('copy-toast');
		if (copyBtn) {
				copyBtn.addEventListener('click', async () => {
						try {
								await navigator.clipboard.writeText(pageUrl);
						} catch (e) {
								const ta = document.createElement('textarea');
								ta.value = pageUrl;
								ta.style.position = 'fixed';
								ta.style.opacity = '0';
								document.body.appendChild(ta);
								ta.select();
								document.execCommand('copy');
								document.body.removeChild(ta);
						}
						if (toast) {
								toast.classList.add('show');
								setTimeout(() => toast.classList.remove('show'), 2000);
						}
				});
		}
});
</script>
]]></post_content_short>
    <post_icon>https://www.frenchmay.com/media/website_posts/87/Website_AP-VA_Fabergé-and-Cartier-T.jpg</post_icon>
    <post_content_type>page</post_content_type>
    <post_content_url>https://www.frenchmay.com/en/programmes/heritage-culture-lifestyle/faberge-and-cartier-rivals-visionaries-mastersmiths/</post_content_url>
    <post_date>2026-02-26 10:20:00</post_date>
  </posts>
</root>
