{"id":57697,"date":"2025-06-02T23:09:02","date_gmt":"2025-06-02T23:09:02","guid":{"rendered":"https:\/\/www.greenpeace.org\/africa\/?page_id=57697"},"modified":"2025-08-07T14:55:34","modified_gmt":"2025-08-07T14:55:34","slug":"take-action-for-oceans","status":"publish","type":"page","link":"https:\/\/www.greenpeace.org\/africa\/en\/take-action-for-oceans\/","title":{"rendered":"Take action for oceans"},"content":{"rendered":"\n<style>\n\/* Base page styles with video background *\/\nbody {\n  background-color: #f6f4ef !important;\n  background-size: cover !important;\n  background-position: center center !important;\n  background-attachment: fixed !important;\n  background-repeat: no-repeat;\n  position: relative;\n}\n\n\/* Background Video Styles *\/\n.background-video-container {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  z-index: -2;\n  overflow: hidden;\n}\n\n.background-video {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  min-width: 100%;\n  min-height: 100%;\n  width: auto;\n  height: auto;\n  transform: translateX(-50%) translateY(-50%);\n  object-fit: cover;\n}\n\n\/* Fallback background image if video fails to load *\/\n.background-video-container::before {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-image: url('https:\/\/www.greenpeace.org\/static\/planet4-africa-stateless-develop\/2025\/05\/08f41c5b-gp0su3vmk.jpg');\n  background-size: cover;\n  background-position: center center;\n  background-repeat: no-repeat;\n  z-index: -1;\n}\n\n\/* Gradient overlay for better readability *\/\nbody:before {\n  content: \"\";\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));\n  z-index: -1;\n}\n\n.page-header-background:after {\n  background: none !important;\n}\n\n.form-bg {\n  height: fit-content;\n  background: rgba(255, 255, 255, 0.85) !important;\n  border-radius: 8px;\n  padding: 20px;\n  margin-top: 20px;\n}\n\n.row>* {\n  width: auto !important;\n}\n\n.skewed-overlay {\n  display: none !important;\n}\n\nh1, h2 {\n  color: #ffffff !important;\n  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);\n}\n\np {\n  font-family: helvetica;\n  color: #ffffff !important;\n}\n\n.form-bg p {\n  color: #000 !important;\n  text-shadow: none;\n}\n\n.text-bg {\n  background: rgba(0, 0, 0, 0.6);\n  padding: 15px;\n  border-radius: 5px;\n  margin-bottom: 15px;\n}\n\n.text-asd {\n  margin-bottom: 5px !important;\n}\n\n.row h3 {\n  color: #FFF !important;\n}\n\n.text-bg a {\n  color: #00AAFD !important;\n}\n\n.text-bg a:visited {\n  color: #DA65FF !important;\n}\n\n.counter-title {\n  color: #FFF;\n  margin: 0;\n}\n\n.counter-target {\n  margin-bottom: 0 !important;\n}\n\n.counter-text {\n  text-align: left;\n}\n\n.form-ag {\n  align-self: self-start;\n}\n\n.site-footer, .nav-menu>ul, .nav-search-form, .nav-menu-toggle, .nav-search-toggle {\n  display: none;\n}\n\n.site-logo {\n  padding: 5px;\n}\n\n.has-white-background-color {\n  padding: 20px;\n  border-radius: 30px 30px 30px 30px;\n}\n\n.gform_validation_errors {\n  display: none;\n}\n\n.form-ag {\n  flex-basis: 43.33% !important;\n}\n\n.has-grey-900-color {\n   line-height:20px;\n}\n\n.top-navigation {\n  background: transparent !important;\n  position: static !important;\n}\n\n.page-content.no-page-title {\n  padding-top: 0 !important;\n}\n\n.site-logo {\n  pointer-events: none;\n}\n\n::selection {\n  background-color: #66cc00;\n  color: #ffffff;\n}\n\n.gform_p4_confirmation {\n    background-color: #ff6e00b5;\n    padding: 10px;\n    margin-bottom: 25px;\n    border-radius: 10px;\n    color: white;\n    font-size: 25px;\n    font-family: 'GreenpeaceSans';\n}\n\n\/* ============================================\n   COUNTRY SELECTOR STYLES\n   ============================================ *\/\n\n.country-selector-block {\n  position: relative;\n  z-index: 10;\n  margin: 0px 0;\n  padding: 20px;\n}\n\n.country-selector-card {\n  background: rgba(255, 255, 255, 0.95);\n  border-radius: 20px;\n  padding: 40px 40px 0px 40px;\n  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);\n  backdrop-filter: blur(10px);\n  border: 1px solid rgba(255, 255, 255, 0.2);\n  max-width: 500px;\n  margin: 0 auto;\n  text-align: center;\n  transform: translateY(0);\n  transition: all 0.3s ease;\n}\n\n.country-selector-card:hover {\n  transform: translateY(-5px);\n  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);\n}\n\n.country-selector-title {\n  color: #333 !important;\n  font-size: 2.2rem;\n  font-weight: bold;\n  margin-bottom: 10px;\n  text-shadow: none !important;\n  font-family: 'GreenpeaceSans', 'Helvetica', Arial, sans-serif;\n}\n\n.country-selector-subtitle {\n  color: #666 !important;\n  font-size: 1.1rem;\n  margin-bottom: 25px;\n  line-height: 1.5;\n  text-shadow: none !important;\n  font-family: 'GreenpeaceSans', 'Helvetica', Arial, sans-serif;\n}\n\n.country-dropdown-container {\n  position: relative;\n  margin-bottom: 25px;\n}\n\n.country-custom-select {\n  appearance: none;\n  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);\n  border: 2px solid #e9ecef;\n  border-radius: 15px;\n  padding: 18px 50px 18px 20px;\n  font-size: 1.1rem;\n  font-weight: 500;\n  color: #333;\n  width: 100%;\n  cursor: pointer;\n  transition: all 0.3s ease;\n  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);\n  font-family: 'GreenpeaceSans', 'Helvetica', Arial, sans-serif;\n}\n\n.country-custom-select:focus {\n  outline: none;\n  border-color: #66cc00;\n  box-shadow: 0 0 0 3px rgba(102, 204, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.15);\n  transform: translateY(-2px);\n}\n\n.country-custom-select:hover {\n  border-color: #66cc00;\n  transform: translateY(-1px);\n}\n\n.country-dropdown-container::after {\n  content: \"\u25bc\";\n  position: absolute;\n  right: 20px;\n  top: 50%;\n  transform: translateY(-50%);\n  color: #66cc00;\n  font-size: 14px;\n  pointer-events: none;\n  transition: transform 0.3s ease;\n}\n\n.country-dropdown-container:hover::after {\n  transform: translateY(-50%) scale(1.1);\n}\n\n.country-redirect-btn {\n  background: linear-gradient(135deg, #66cc00 0%, #4d9900 100%);\n  color: white;\n  border: none;\n  border-radius: 15px;\n  padding: 18px 40px;\n  font-size: 1.2rem;\n  font-weight: bold;\n  cursor: pointer;\n  transition: all 0.3s ease;\n  box-shadow: 0 8px 25px rgba(102, 204, 0, 0.3);\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  min-width: 200px;\n  position: relative;\n  overflow: hidden;\n  font-family: 'GreenpeaceSans', 'Helvetica', Arial, sans-serif;\n  margin-bottom: 10px;\n}\n\n.country-redirect-btn:hover {\n  transform: translateY(-3px);\n  box-shadow: 0 12px 35px rgba(102, 204, 0, 0.4);\n  background: linear-gradient(135deg, #4d9900 0%, #66cc00 100%);\n}\n\n.country-redirect-btn:active {\n  transform: translateY(-1px);\n}\n\n.country-redirect-btn:disabled {\n  background: linear-gradient(135deg, #cccccc 0%, #999999 100%);\n  cursor: not-allowed;\n  transform: none;\n  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);\n}\n\n.country-redirect-btn::before {\n  content: '';\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  width: 0;\n  height: 0;\n  border-radius: 50%;\n  background: rgba(255, 255, 255, 0.3);\n  transform: translate(-50%, -50%);\n  transition: width 0.6s, height 0.6s;\n}\n\n.country-redirect-btn:active::before {\n  width: 300px;\n  height: 300px;\n}\n\n.country-status-message {\n  margin-top: 15px;\n  padding: 15px;\n  border-radius: 10px;\n  font-weight: 500;\n  opacity: 0;\n  transform: translateY(10px);\n  transition: all 0.3s ease;\n  color: #333 !important;\n  text-shadow: none !important;\n  font-family: 'GreenpeaceSans', 'Helvetica', Arial, sans-serif;\n}\n\n.country-status-message.show {\n  opacity: 1;\n  transform: translateY(0);\n}\n\n.country-status-message.error {\n  background: rgba(220, 53, 69, 0.1);\n  color: #dc3545 !important;\n  border: 1px solid rgba(220, 53, 69, 0.2);\n}\n\n.country-status-message.success {\n  background: rgba(40, 167, 69, 0.1);\n  color: #28a745 !important;\n  border: 1px solid rgba(40, 167, 69, 0.2);\n}\n\n.country-loading {\n  display: inline-block;\n  width: 20px;\n  height: 20px;\n  border: 3px solid rgba(255, 255, 255, 0.3);\n  border-radius: 50%;\n  border-top-color: #ffffff;\n  animation: country-spin 1s ease-in-out infinite;\n  margin-right: 10px;\n}\n\n@keyframes country-spin {\n  to { transform: rotate(360deg); }\n}\n\n\/* ============================================\n   RESPONSIVE STYLES\n   ============================================ *\/\n\n@media screen and (max-width: 600px) {\n  .desktop-p, .desktop-spacer {\n    visibility: hidden;\n    display: none;\n  }\n  \n  .gform_wrapper .gform_footer input[type=submit] {\n    min-height: 52px !important;\n  }\n  \n  h1 {\n    margin-bottom: 10px;\n  }\n  \n  :where(.wp-block-columns.is-layout-flex) {\n    gap: 0.5em;\n  }\n\n  \/* Country selector mobile styles *\/\n  .country-selector-card {\n    padding: 25px 20px 20px 20px;\n    margin: 10px;\n    border-radius: 15px;\n  }\n\n  .country-selector-title {\n    font-size: 1.8rem;\n  }\n\n  .country-custom-select {\n    padding: 15px 40px 15px 15px;\n    font-size: 1rem;\n  }\n\n  .country-redirect-btn {\n    padding: 15px 30px;\n    font-size: 1rem;\n    min-width: 180px;\n  }\n}\n\n\/* Mobile optimization for video background *\/\n@media screen and (max-width: 768px) {\n  \/* Option to disable video on mobile for better performance *\/\n  .background-video {\n    display: none;\n  }\n  \n  \/* Show fallback image on mobile *\/\n  .background-video-container::before {\n    display: block;\n  }\n}\n\n@media screen and (min-width: 600px) {\n  .mobile-p, .mobile-spacer {\n    visibility: hidden;\n    display: none;\n  }\n}\n\n<\/style>\n\n<!-- Add this HTML element to your WordPress page for video background -->\n<div class=\"background-video-container\">\n    <video autoplay muted loop playsinline class=\"background-video\">\n        <source src=\"https:\/\/www.greenpeace.org\/static\/planet4-africa-stateless-develop\/2025\/05\/7dd268c7-screen-recording-2025-05-28-at-08.32.15.mp4\" type=\"video\/mp4\">\n    <\/video>\n<\/div>\n\n<script>\n\/\/ Video autoplay optimization for iOS devices\ndocument.addEventListener('DOMContentLoaded', function() {\n    const video = document.querySelector('.background-video');\n    if (video) {\n        \/\/ Attempt to play video after user interaction on iOS\n        document.body.addEventListener('touchstart', function() {\n            video.play().catch(function(error) {\n                console.log('Video autoplay failed:', error);\n            });\n        }, { once: true });\n        \n        \/\/ Handle video load errors\n        video.addEventListener('error', function() {\n            console.log('Video failed to load, fallback image will be used');\n        });\n    }\n});\n<\/script>\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h1 class=\"wp-block-heading has-text-align-center\"><mark style=\"background-color:#d43b57\" class=\"has-inline-color has-white-color\">TIME IS RUNNING OUT FOR OUR OCEANS!<\/mark><\/h1>\n\n<p class=\"has-text-align-center text-asd\">The High Seas Treaty is our best chance to protect 30% of our oceans by 2030 but <strong>it will only become law if 60 countries ratify it<\/strong>.&nbsp;<\/p>\n\n<p>Choose your country to see targeted messages and tweet directly at your leaders or relevant ministers. If they haven\u2019t signed up to protect our oceans you can encourage them to, if they have you can congratulate them and urge them to demand others do the same!<\/p>\n\n<p class=\"has-text-align-center text-asd\"><strong>Most African countries have not yet signed or ratified the High Seas Treaty. Has yours?<\/strong><\/p>\n\n<!-- Country Selector Block for WordPress -->\n<div class=\"country-selector-block\">\n    <div class=\"country-selector-card\">\n        <h2 class=\"country-selector-title\">Select Your Country<\/h2>\n        <p class=\"country-selector-subtitle\">Choose your country to access country-specific content and resources<\/p>\n        \n        <div class=\"country-dropdown-container\">\n            <select id=\"countrySelect\" class=\"country-custom-select\">\n                <option value=\"\">&#8212; Select a Country &#8212;<\/option>\n                <!-- Countries in alphabetical order - Updated list with 47 countries -->\n<option value=\"angola\">Angola<\/option>\n<option value=\"benin\">Benin<\/option>\n<option value=\"botswana\">Botswana<\/option>\n<option value=\"burkina-faso\">Burkina Faso<\/option>\n<option value=\"burundi\">Burundi<\/option>\n<option value=\"cabo-verde\">Cabo Verde<\/option>\n<option value=\"cameroon\">Cameroon<\/option>\n<option value=\"central-african-republic\">Central African Republic<\/option>\n<option value=\"chad\">Chad<\/option>\n<option value=\"comoros\">Comoros<\/option>\n<option value=\"congo-republic\">Congo (Republic of the Congo)<\/option>\n<option value=\"cote-divoire\">C\u00f4te d&#8217;Ivoire<\/option>\n<option value=\"democratic-republic-congo\">Democratic Republic of the Congo<\/option>\n<option value=\"djibouti\">Djibouti<\/option>\n<option value=\"equatorial-guinea\">Equatorial Guinea<\/option>\n<option value=\"eritrea\">Eritrea<\/option>\n<option value=\"eswatini\">Eswatini (Swaziland)<\/option>\n<option value=\"ethiopia\">Ethiopia<\/option>\n<option value=\"gabon\">Gabon<\/option>\n<option value=\"the-gambia\">The Gambia<\/option>\n<option value=\"ghana\">Ghana<\/option>\n<option value=\"guinea\">Guinea<\/option>\n<option value=\"guinea-bissau\">Guinea-Bissau<\/option>\n<option value=\"kenya\">Kenya<\/option>\n<option value=\"lesotho\">Lesotho<\/option>\n<option value=\"liberia\">Liberia<\/option>\n<option value=\"madagascar\">Madagascar<\/option>\n<option value=\"malawi\">Malawi<\/option>\n<option value=\"mali\">Mali<\/option>\n<option value=\"mauritania\">Mauritania<\/option>\n<option value=\"mauritius\">Mauritius<\/option>\n<option value=\"mozambique\">Mozambique<\/option>\n<option value=\"namibia\">Namibia<\/option>\n<option value=\"nigeria\">Nigeria<\/option>\n<option value=\"rwanda\">Rwanda<\/option>\n<option value=\"sao-tome-principe\">S\u00e3o Tom\u00e9 and Pr\u00edncipe<\/option>\n<option value=\"senegal\">Senegal<\/option>\n<option value=\"seychelles\">Seychelles<\/option>\n<option value=\"sierra-leone\">Sierra Leone<\/option>\n<option value=\"somalia\">Somalia<\/option>\n<option value=\"south-africa\">South Africa<\/option>\n<option value=\"south-sudan\">South Sudan<\/option>\n<option value=\"tanzania\">United Republic of Tanzania<\/option>\n<option value=\"togo\">Togo<\/option>\n<option value=\"uganda\">Uganda<\/option>\n<option value=\"zambia\">Zambia<\/option>\n<option value=\"zimbabwe\">Zimbabwe<\/option>\n            <\/select>\n        <\/div>\n\n        <button id=\"countryRedirectBtn\" class=\"country-redirect-btn\" disabled>\n            Continue\n        <\/button>\n\n        <div id=\"countryStatusMessage\" class=\"country-status-message\"><\/div>\n    <\/div>\n<\/div>\n\n<script>\n(function() {\n    \/\/ Base URL for all countries\n    const baseUrl = 'https:\/\/pages.greenpeaceafrica.org\/take-action-for-high-seas-treaty';\n    \n    \/\/ Country to page mapping - now using base URL with country and status query parameters\n    const countryPageMapping = {\n    \/\/ Group 1: Signed and Ratified (7)\n    'guinea-bissau': `${baseUrl}?country=guinea+bissau&status=signedratified`,\n    'cote-divoire': `${baseUrl}?country=cote+divoire&status=signedratified`,\n    'liberia': `${baseUrl}?country=liberia&status=signedratified`,\n    'malawi': `${baseUrl}?country=malawi&status=signedratified`,\n    'mauritania': `${baseUrl}?country=mauritania&status=signedratified`,\n    'mauritius': `${baseUrl}?country=mauritius&status=signedratified`,\n    'seychelles': `${baseUrl}?country=seychelles&status=signedratified`,\n    \n    \/\/ Group 2: Signed (26)\n    'angola': `${baseUrl}?country=angola&status=signed`,\n    'botswana': `${baseUrl}?country=botswana&status=signed`,\n    'burkina-faso': `${baseUrl}?country=burkina+faso&status=signed`,\n    'burundi': `${baseUrl}?country=burundi&status=signed`,\n    'cameroon': `${baseUrl}?country=cameroon&status=signed`,\n    'cabo-verde': `${baseUrl}?country=cabo+verde&status=signed`,\n    'comoros': `${baseUrl}?country=comoros&status=signed`,\n    'congo-republic': `${baseUrl}?country=congo+republic&status=signedratified`,\n    'djibouti': `${baseUrl}?country=djibouti&status=signed`,\n    'equatorial-guinea': `${baseUrl}?country=equatorial+guinea&status=signed`,\n    'gabon': `${baseUrl}?country=gabon&status=signed`,\n    'the-gambia': `${baseUrl}?country=the+gambia&status=signed`,\n    'ghana': `${baseUrl}?country=ghana&status=signed`,\n    'guinea': `${baseUrl}?country=guinea&status=signed`,\n    'kenya': `${baseUrl}?country=kenya&status=signed`,\n    'lesotho': `${baseUrl}?country=lesotho&status=signed`,\n    'madagascar': `${baseUrl}?country=madagascar&status=signed`,\n    'mozambique': `${baseUrl}?country=mozambique&status=signed`,\n    'nigeria': `${baseUrl}?country=nigeria&status=signed`,\n    'sao-tome-principe': `${baseUrl}?country=sao+tome+principe&status=signed`,\n    'sierra-leone': `${baseUrl}?country=sierra+leone&status=signed`,\n    'south-africa': `${baseUrl}?country=south+africa&status=signed`,\n    'tanzania': `${baseUrl}?country=tanzania&status=signed`,\n    'togo': `${baseUrl}?country=togo&status=signed`,\n    'zambia': `${baseUrl}?country=zambia&status=signed`,\n    'zimbabwe': `${baseUrl}?country=zimbabwe&status=signed`,\n    \n    \/\/ Group 3: Not Signed (14)\n    'benin': `${baseUrl}?country=benin&status=notsigned`,\n    'central-african-republic': `${baseUrl}?country=central+african+republic&status=notsigned`,\n    'chad': `${baseUrl}?country=chad&status=notsigned`,\n    'democratic-republic-congo': `${baseUrl}?country=democratic+republic+congo&status=notsigned`,\n    'eritrea': `${baseUrl}?country=eritrea&status=notsigned`,\n    'eswatini': `${baseUrl}?country=eswatini&status=notsigned`,\n    'ethiopia': `${baseUrl}?country=ethiopia&status=notsigned`,\n    'mali': `${baseUrl}?country=mali&status=notsigned`,\n    'namibia': `${baseUrl}?country=namibia&status=notsigned`,\n    'rwanda': `${baseUrl}?country=rwanda&status=notsigned`,\n    'senegal': `${baseUrl}?country=senegal&status=notsigned`,\n    'somalia': `${baseUrl}?country=somalia&status=notsigned`,\n    'south-sudan': `${baseUrl}?country=south+sudan&status=notsigned`,\n    'uganda': `${baseUrl}?country=uganda&status=notsigned`\n};\n\n    const countrySelect = document.getElementById('countrySelect');\n    const redirectBtn = document.getElementById('countryRedirectBtn');\n    const statusMessage = document.getElementById('countryStatusMessage');\n\n    if (countrySelect && redirectBtn && statusMessage) {\n        \/\/ Enable\/disable button based on selection\n        countrySelect.addEventListener('change', function() {\n            const selectedCountry = this.value;\n            \n            if (selectedCountry) {\n                redirectBtn.disabled = false;\n                hideStatusMessage();\n            } else {\n                redirectBtn.disabled = true;\n                hideStatusMessage();\n            }\n        });\n\n        \/\/ Handle redirect\n        redirectBtn.addEventListener('click', function() {\n            const selectedCountry = countrySelect.value;\n            \n            if (!selectedCountry) {\n                showStatusMessage('Please select a country first.', 'error');\n                return;\n            }\n\n            const redirectUrl = countryPageMapping[selectedCountry];\n            \n            if (redirectUrl) {\n                \/\/ Show loading state\n                redirectBtn.innerHTML = '<span class=\"country-loading\"><\/span>Redirecting...';\n                redirectBtn.disabled = true;\n                \n                showStatusMessage('Redirecting to your region-specific page...', 'success');\n                \n                \/\/ Simulate brief loading time for better UX\n                setTimeout(() => {\n                    window.location.href = redirectUrl;\n                }, 1500);\n            } else {\n                showStatusMessage('Sorry, no page available for the selected country.', 'error');\n            }\n        });\n\n        \/\/ Status message functions\n        function showStatusMessage(message, type) {\n            statusMessage.textContent = message;\n            statusMessage.className = `country-status-message ${type} show`;\n        }\n\n        function hideStatusMessage() {\n            statusMessage.classList.remove('show');\n        }\n\n        \/\/ Add interactive feedback\n        countrySelect.addEventListener('focus', function() {\n            this.style.transform = 'translateY(-2px)';\n        });\n\n        countrySelect.addEventListener('blur', function() {\n            this.style.transform = 'translateY(0)';\n        });\n    }\n})();\n<\/script>\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<p class=\"has-text-align-center\">DON&#8217;T FORGET!<br>Spread the word and help us reach more people with this important story.&nbsp; \ud83d\udc9a \ud83d\udc47\ud83c\udffe<\/p>\n\n<!-- Share Button Container -->\n<div class=\"share-container\">\n    <!-- Native share button (visible only on mobile) -->\n    <button class=\"share-button mobile-only\" onclick=\"shareContent()\">\n        <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\n            <path d=\"M13.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM11 2.5a2.5 2.5 0 1 1 .603 1.628l-6.718 3.12a2.499 2.499 0 0 1 0 1.504l6.718 3.12a2.5 2.5 0 1 1-.488.876l-6.718-3.12a2.5 2.5 0 1 1 0-3.256l6.718-3.12A2.5 2.5 0 0 1 11 2.5zm-8.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm11 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z\"\/>\n        <\/svg>\n        Invite your friends!\n    <\/button>\n    \n    <!-- Social share buttons (visible only on desktop) -->\n    <div class=\"social-share-buttons desktop-only\">\n        <!-- WhatsApp -->\n        <button class=\"social-button whatsapp\" onclick=\"shareToWhatsApp()\">\n            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\n                <path d=\"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z\"\/>\n            <\/svg>\n        <\/button>\n        \n        <!-- Facebook -->\n        <button class=\"social-button facebook\" onclick=\"shareToFacebook()\">\n            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\n                <path d=\"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z\"\/>\n            <\/svg>\n        <\/button>\n        \n        <!-- X (Twitter) -->\n        <button class=\"social-button twitter\" onclick=\"shareToX()\">\n            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\n                <path d=\"M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865l8.875 11.633Z\"\/>\n            <\/svg>\n        <\/button>\n    <\/div>\n<\/div>\n\n<style>\n    .share-container {\n        display: flex;\n        justify-content: center;\n        width: 100%;\n        margin: 0 auto;\n    }\n    \n    \/* Mobile native share button *\/\n    .share-button {\n        background-color: #66cc00; \/* Greenpeace green *\/\n        color: white;\n        border: none;\n        border-radius: 4px;\n        padding: 12px 24px;\n        font-size: 16px;\n        cursor: pointer;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        gap: 8px;\n        box-shadow: 0 2px 4px rgba(0,0,0,0.2);\n        transition: all 0.3s ease;\n    }\n    \n    .share-button:hover {\n        background-color: #55aa00;\n    }\n    \n    .share-button:active {\n        transform: scale(0.98);\n    }\n    \n    \/* Desktop social share buttons *\/\n    .social-share-buttons {\n        display: flex;\n        gap: 12px;\n    }\n    \n    .social-button {\n        width: 40px;\n        height: 40px;\n        border-radius: 50%;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        border: none;\n        cursor: pointer;\n        transition: all 0.3s ease;\n        color: white;\n        box-shadow: 0 2px 4px rgba(0,0,0,0.2);\n    }\n    \n    .social-button:hover {\n        transform: translateY(-2px);\n        box-shadow: 0 4px 8px rgba(0,0,0,0.3);\n    }\n    \n    .social-button:active {\n        transform: scale(0.95);\n    }\n    \n    .whatsapp {\n        background-color: #25D366;\n    }\n    \n    .facebook {\n        background-color: #1877F2;\n    }\n    \n    .twitter {\n        background-color: #000000;\n    }\n    \n    \/* Responsive behavior *\/\n    .mobile-only {\n        display: none;\n    }\n    \n    .desktop-only {\n        display: flex;\n    }\n    \n    \/* Media query for mobile devices *\/\n    @media (max-width: 768px) {\n        .mobile-only {\n            display: flex;\n        }\n        \n        .desktop-only {\n            display: none;\n        }\n    }\n<\/style>\n\n<script>\n    document.addEventListener('DOMContentLoaded', function() {\n        \/\/ Get the firstname parameter from the URL\n        const urlParams = new URLSearchParams(window.location.search);\n        const firstName = urlParams.get('firstname');\n        \n        \/\/ If the firstname parameter exists, store it and clean the URL\n        if (firstName) {\n            \/\/ Store the name in a variable we can use\n            window.userName = firstName;\n            \n            \/\/ Clean the URL by removing the firstname parameter\n            const newUrl = window.location.pathname;\n            \n            \/\/ Replace the current URL without the query parameters\n            window.history.replaceState({}, document.title, newUrl);\n        }\n    });\n    \n    \/\/ Native share function (for mobile)\n    function shareContent() {\n        \/\/ Get the current page URL, title and create a default description\n        const url = window.location.href;\n        const title = document.title || 'Check out this page';\n        const text = 'The High Seas Treaty is our best chance to protect 30% of our oceans by 2030 but it will only become law if 60 countries ratify it. Most African countries have not yet signed or ratified the High Seas Treaty. Has yours?';\n        \n        \/\/ Check if Web Share API is supported\n        if (navigator.share) {\n            navigator.share({\n                title: title,\n                text: text,\n                url: url\n            })\n            .then(() => console.log('Share successful'))\n            .catch((error) => console.log('Error sharing:', error));\n        } else {\n            \/\/ Fallback for browsers that don't support Web Share API\n            \/\/ Create a temporary input to copy the URL\n            const tempInput = document.createElement(\"input\");\n            document.body.appendChild(tempInput);\n            tempInput.value = url;\n            tempInput.select();\n            document.execCommand(\"copy\");\n            document.body.removeChild(tempInput);\n            \n            alert(\"Link copied to clipboard! Share it with your preferred app.\");\n        }\n    }\n    \n    \/\/ WhatsApp share function\n    function shareToWhatsApp() {\n        const url = encodeURIComponent(window.location.href);\n        const text = encodeURIComponent('The High Seas Treaty is our best chance to protect 30% of our oceans by 2030 but it will only become law if 60 countries ratify it. Most African countries have not yet signed or ratified the High Seas Treaty. Has yours?');\n        window.open(`https:\/\/wa.me\/?text=${text}%20${url}`, '_blank');\n    }\n    \n    \/\/ Facebook share function\n    function shareToFacebook() {\n        const url = encodeURIComponent(window.location.href);\n        window.open(`https:\/\/www.facebook.com\/sharer\/sharer.php?u=${url}`, '_blank');\n    }\n    \n    \/\/ X (Twitter) share function\n    function shareToX() {\n        const url = encodeURIComponent(window.location.href);\n        const text = encodeURIComponent('The High Seas Treaty is our best chance to protect 30% of our oceans by 2030 but it will only become law if 60 countries ratify it. Most African countries have not yet signed or ratified the High Seas Treaty. Has yours?');\n        window.open(`https:\/\/twitter.com\/intent\/tweet?text=${text}&url=${url}`, '_blank');\n    }\n<\/script>\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Take action for oceans!<\/p>\n","protected":false},"author":83,"featured_media":57699,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"ep_exclude_from_search":false,"p4_hide_page_title_checkbox":"on","p4_title":"","p4_subtitle":"","p4_description":"","background_image_id":"","background_image":"","p4_button_title":"","p4_button_link":"","p4_button_link_checkbox":"","p4_og_title":"","p4_og_description":"","p4_og_image":"","p4_og_image_id":"","p4_seo_canonical_url":"","p4_campaign_name":"","p4_local_project":"","p4_basket_name":"","p4_department":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-57697","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/pages\/57697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/users\/83"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/comments?post=57697"}],"version-history":[{"count":16,"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/pages\/57697\/revisions"}],"predecessor-version":[{"id":59020,"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/pages\/57697\/revisions\/59020"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/media\/57699"}],"wp:attachment":[{"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/media?parent=57697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/categories?post=57697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greenpeace.org\/africa\/en\/wp-json\/wp\/v2\/tags?post=57697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}