{"id":7605,"date":"2026-11-12T00:59:11","date_gmt":"2026-11-11T23:59:11","guid":{"rendered":"https:\/\/www.moroccotrailrace.com\/trail\/?page_id=7605"},"modified":"2026-11-12T11:29:32","modified_gmt":"2026-11-12T10:29:32","slug":"moroccan-registration","status":"publish","type":"page","link":"https:\/\/www.moroccotrailrace.com\/trail\/en\/moroccan-registration\/","title":{"rendered":"Moroccan registration"},"content":{"rendered":"\n<div id=\"mtr-v2\" data-category=\"maroc\">\n<style>\n#mtr-v2{--green:#176b45;--ink:#1c3027;--orange:#f28c28;max-width:980px;margin:32px auto 50px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.55;font-size:16px}#mtr-v2 *{box-sizing:border-box}#mtr-v2 header{background:#163d2c;color:#fff;padding:32px;border-radius:16px 16px 0 0}#mtr-v2 header p{color:#fff;margin:6px 0}#mtr-v2 header h2{color:#fff;font-size:30px;margin:10px 0}#mtr-v2 .date{color:#ffc579;font-weight:700}#mtr-v2 form{padding:28px;border:1px solid #dbe5df;border-radius:0 0 16px 16px;background:#fff}#mtr-v2 fieldset{border:0;border-bottom:1px solid #dbe5df;padding:24px 0;margin:0;min-width:0}#mtr-v2 legend{font-size:22px;font-weight:bold;padding:0;margin:0 0 16px;color:#163d2c}#mtr-v2 .grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}#mtr-v2 label{display:block;font-size:15px;font-weight:600;margin:0}#mtr-v2 small{display:block;font-size:13px;font-weight:400;color:#586c60}#mtr-v2 input:not([type=checkbox]),#mtr-v2 select,#mtr-v2 textarea{display:block;width:100%;min-height:48px;border:1px solid #aabdb1;border-radius:7px;padding:11px;margin:6px 0 0;font:inherit;color:#1c3027;background:white}#mtr-v2 textarea{min-height:90px}#mtr-v2 input:focus,#mtr-v2 select:focus,#mtr-v2 textarea:focus,#mtr-v2 button:focus,#mtr-v2 a:focus{outline:3px solid #f28c28;outline-offset:2px}#mtr-v2 .wide{grid-column:1\/-1}#mtr-v2 .note{background:#f1f6f2;border-left:4px solid #176b45;padding:14px 16px;margin:16px 0;font-size:14px}#mtr-v2 .check{display:flex;gap:10px;align-items:flex-start;font-weight:400;margin:14px 0}#mtr-v2 .check input{margin:5px 0 0;flex:0 0 19px;width:19px;height:19px;accent-color:#176b45}#mtr-v2 .total{background:#163d2c;border-radius:10px;padding:20px;display:flex;justify-content:space-between;gap:16px;color:white;margin:24px 0}#mtr-v2 .total strong{font-size:26px;color:#ffc579}#mtr-v2 .buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}#mtr-v2 button,#mtr-v2 .contact-link{border:0;border-radius:8px;padding:15px 18px;background:#176b45;color:#fff;font:inherit;font-weight:bold;text-align:center;cursor:pointer;min-height:52px;text-decoration:none}#mtr-v2 button[value=email]{background:#25352d}#mtr-v2 button:disabled{opacity:.55;cursor:wait}#mtr-v2 .result{padding:20px;border-radius:10px;background:#f1f6f2;border:1px solid #bed0c4;margin:20px 0}#mtr-v2 .error{border-color:#aa3b2c;background:#fff4ef;color:#812b1e}#mtr-v2 .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#mtr-v2 [hidden]{display:none!important}#mtr-v2 .summary{margin:20px 0;padding:16px;background:#f7f8f5}#mtr-v2 .summary p{margin:5px 0}#mtr-v2 a{color:#176b45;text-decoration:underline}#mtr-v2 .contact-link{display:inline-block;color:white;margin:8px 8px 0 0}#mtr-v2 header small{color:#cce0d3}@media(max-width:650px){#mtr-v2 .grid,#mtr-v2 .buttons{grid-template-columns:1fr}#mtr-v2{margin:18px auto;font-size:16px}#mtr-v2 header,#mtr-v2 form{padding:20px}#mtr-v2 header h2{font-size:25px}#mtr-v2 .total{flex-direction:column;gap:5px}}\n\n\/* Pr\u00e9sentation MTR \u2014 tarifs visibles et galerie des Terres d\u2019Amanar. *\/\nbody.page-id-6425 .kl-blog-page-title,body.page-id-7605 .kl-blog-page-title{font-size:22px;max-width:1080px;margin:22px auto 12px;padding:0 6px;color:#536158;border:0}\n#mtr-v2{max-width:1080px;--green:#176b45;--orange:#f28c28;--ink:#19291f;margin:18px auto 48px;font-size:16px}\n#mtr-v2 header{background:#17251d;border-radius:18px;padding:36px 38px;position:relative;border-top:5px solid #f28c28}\n#mtr-v2 header h2{font-size:34px;line-height:1.18;margin:8px 0 12px;font-weight:800;letter-spacing:-.5px}\n#mtr-v2 header>p:first-child{font-size:12px;font-weight:700;letter-spacing:2px;color:#c9d7cc}\n#mtr-v2 header .date{color:#ffc078;font-size:18px;margin-top:12px}\n#mtr-v2 .eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:1.5px;color:#9d4c0d;margin-bottom:8px}\n#mtr-v2 .mtr-rates{padding:28px 0 0}\n#mtr-v2 .section-lead{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 18px}\n#mtr-v2 .section-lead h2,#mtr-v2 .mtr-pack h2,#mtr-v2 .form-heading h2{font-size:27px;line-height:1.2;color:#19291f;margin:0;font-weight:750}\n#mtr-v2 .section-lead>p{font-size:13px;color:#5c6b61;margin:0}\n#mtr-v2 .rate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}\n#mtr-v2 button.race-rate{display:flex;flex-direction:column;text-align:left;min-height:205px;padding:21px 20px 0;border:1px solid #dce5de;border-radius:13px;background:#fff;color:#19291f;cursor:pointer;box-shadow:0 5px 18px #182c1d08;overflow:hidden;font-weight:400;transition:transform .15s,border-color .15s}\n#mtr-v2 button.race-rate:hover{transform:translateY(-3px);border-color:#f28c28}\n#mtr-v2 button.race-rate[aria-pressed=true]{border:2px solid #f28c28;background:#fff9ef;padding:20px 19px 0}\n#mtr-v2 .rate-kicker{font-size:10px;letter-spacing:1.6px;color:#627166;font-weight:750}\n#mtr-v2 .race-rate>strong{font-size:42px;line-height:1.15;letter-spacing:-1px;margin:9px 0 7px;color:#19291f}\n#mtr-v2 .race-rate>strong small{display:inline;font-size:19px;font-weight:500;letter-spacing:0;color:#526357}\n#mtr-v2 .rate-price{font-size:26px;font-weight:800;color:#176b45;margin-bottom:17px}\n#mtr-v2 .rate-price small{display:inline;font-size:15px;color:inherit;font-weight:600}\n#mtr-v2 .rate-select{margin:auto -20px 0;width:calc(100% + 40px);background:#f3f6f2;padding:11px 20px;font-size:12px;font-weight:700;display:flex;justify-content:space-between;color:#176b45}\n#mtr-v2 .walk-rate{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f3f6f2;border:1px solid #dce5de;border-radius:11px;padding:17px 22px;margin:14px 0}\n#mtr-v2 .walk-rate>div{display:flex;flex-direction:column;gap:3px}#mtr-v2 .walk-rate span{font-size:13px;color:#5b6b60}#mtr-v2 .walk-rate>strong{font-size:25px;white-space:nowrap;color:#176b45}#mtr-v2 .walk-rate small{display:inline;font-size:14px;font-weight:600}\n#mtr-v2 .entry-facts{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:12px;color:#5c6b61;margin:16px 0 26px}#mtr-v2 .entry-facts span:before{content:'\u2022';color:#f28c28;margin-right:7px}\n#mtr-v2 .mtr-pack{background:#fff8ed;border:1px solid #f0dfc4;padding:25px 28px;border-radius:13px;margin:0 0 30px}#mtr-v2 .mtr-pack h2{font-size:23px}#mtr-v2 .mtr-pack ul{list-style:none;padding:0;margin:18px 0 15px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px 15px;font-size:14px}#mtr-v2 .mtr-pack li:before{content:'\u2713';color:#176b45;font-weight:800;margin-right:8px}#mtr-v2 .mtr-pack a{font-size:12px;color:#7f450e;font-weight:600}\n#mtr-v2 .form-heading{padding:8px 2px 18px}#mtr-v2 .form-heading p{font-size:14px;color:#627166;margin:8px 0 0}\n#mtr-v2 form{padding:0 30px 24px;border:1px solid #dce5de;border-radius:14px;background:#fff;box-shadow:0 8px 28px #17301f08}\n#mtr-v2 form>p:first-of-type{font-size:13px;margin:0 -30px 0;padding:16px 30px;background:#f4f7f3;border-bottom:1px solid #e0e8df;border-radius:14px 14px 0 0}\n#mtr-v2 fieldset{padding:26px 0 25px;border-color:#e3e9e2}\n#mtr-v2 legend{font-size:21px;letter-spacing:-.2px;border-left:4px solid #f28c28;padding-left:12px;margin:0 0 20px;color:#19291f;font-weight:750}\n#mtr-v2 label{font-size:14px;color:#2b3c30}#mtr-v2 label>small{font-size:11px;color:#738175;margin-top:2px}\n#mtr-v2 input:not([type=checkbox]),#mtr-v2 select,#mtr-v2 textarea{border-color:#cad6cb;border-radius:8px;min-height:48px;font-size:15px;padding:11px 12px;margin-top:7px;background:#fcfdfb;box-shadow:none}\n#mtr-v2 input:not([type=checkbox]):focus,#mtr-v2 select:focus,#mtr-v2 textarea:focus{background:#fff}\n#mtr-v2 .note{border-left:3px solid #d8e4d8;background:#f4f7f3;border-radius:0 7px 7px 0;font-size:12px;line-height:1.7;margin:18px 0 0;padding:13px 15px;color:#596b5b}\n#mtr-v2 .hotel-intro{margin:-3px 0 18px}#mtr-v2 .hotel-intro p{font-size:19px;color:#19291f;font-weight:650;margin:0 0 6px}#mtr-v2 .hotel-intro>span{font-size:14px;color:#627166;line-height:1.65;display:block}\n#mtr-v2 .hotel-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 12px}\n#mtr-v2 .hotel-gallery figure{margin:0;overflow:hidden;border:1px solid #e1e8df;border-radius:10px;background:#f5f7f2}#mtr-v2 .hotel-gallery img{display:block;width:100%;height:165px;object-fit:cover;max-width:100%}#mtr-v2 .hotel-gallery figcaption{font-size:11px;line-height:1.4;padding:10px 11px;color:#526357}\n#mtr-v2 .hotel-inclusions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 22px}#mtr-v2 .hotel-inclusions span{font-size:11px;border:1px solid #e0e6da;border-radius:20px;padding:5px 10px;color:#5c6b5c;background:#fff}\n#mtr-v2 .summary{border-radius:9px;padding:18px;background:#f4f7f3;font-size:14px}#mtr-v2 .check{font-size:13px;line-height:1.6;margin:17px 0}#mtr-v2 .check small{font-size:11px}\n#mtr-v2 .total{background:#17251d;padding:22px;border-radius:11px;margin:24px 0 16px}#mtr-v2 .total strong{color:#ffc078;font-size:29px}#mtr-v2 .total>span{font-size:14px}#mtr-v2 .buttons button{font-size:14px;padding:16px;border-radius:9px}#mtr-v2 [data-progress]{font-size:13px}#mtr-v2 .result{border-radius:12px}\n@media(max-width:750px){#mtr-v2 .rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#mtr-v2 .section-lead{display:block}#mtr-v2 .section-lead>p{margin-top:8px}#mtr-v2 .mtr-pack ul{grid-template-columns:repeat(2,1fr)}#mtr-v2 .hotel-gallery img{height:135px}}\n@media(max-width:550px){#mtr-v2{margin:12px auto 28px}#mtr-v2 header{padding:25px 22px}#mtr-v2 header h2{font-size:28px}#mtr-v2 header .date{font-size:15px}#mtr-v2 .section-lead h2,#mtr-v2 .form-heading h2{font-size:24px}#mtr-v2 button.race-rate{padding:17px 15px 0;min-height:185px}#mtr-v2 button.race-rate[aria-pressed=true]{padding:16px 14px 0}#mtr-v2 .race-rate>strong{font-size:37px}#mtr-v2 .rate-price{font-size:24px}#mtr-v2 .rate-select{margin-left:-15px;margin-right:-15px;width:calc(100% + 30px);padding:10px 15px;font-size:11px}#mtr-v2 .walk-rate{padding:15px}#mtr-v2 .walk-rate strong{font-size:16px}#mtr-v2 .walk-rate>strong{font-size:23px}#mtr-v2 .walk-rate span{font-size:11px}#mtr-v2 .entry-facts{font-size:11px;gap:6px 12px}#mtr-v2 .mtr-pack{padding:21px 18px}#mtr-v2 .mtr-pack h2{font-size:21px}#mtr-v2 .mtr-pack ul{font-size:12px}#mtr-v2 form{padding:0 18px 22px}#mtr-v2 form>p:first-of-type{margin-left:-18px;margin-right:-18px;padding:14px 18px}#mtr-v2 legend{font-size:19px}#mtr-v2 .hotel-gallery{grid-template-columns:1fr;gap:12px}#mtr-v2 .hotel-gallery img{height:185px}#mtr-v2 .hotel-gallery figcaption{font-size:12px}#mtr-v2 .hotel-intro p{font-size:18px}}\n\n#mtr-v2 .walk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}#mtr-v2 button.walk-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f3f6f2;color:#19291f;border:1px solid #dce5de;border-radius:12px;padding:18px 20px;text-align:left;cursor:pointer;min-height:118px;font-weight:400;transition:transform .15s,border-color .15s}#mtr-v2 button.walk-choice:hover{border-color:#f28c28;transform:translateY(-2px)}#mtr-v2 button.walk-choice[aria-pressed=true]{border:2px solid #f28c28;background:#fff9ef;padding:17px 19px}#mtr-v2 .walk-copy{display:flex;flex-direction:column;gap:5px}#mtr-v2 .walk-copy>strong{font-size:16px;color:#19291f}#mtr-v2 .walk-copy>span{font-size:11px;color:#647363}#mtr-v2 .walk-copy .walk-select{color:#176b45;font-weight:750;margin-top:5px;font-size:12px}#mtr-v2 .walk-select>span{margin-left:12px}#mtr-v2 .walk-price{font-size:26px;color:#176b45;white-space:nowrap}#mtr-v2 .walk-price small{display:inline;color:inherit;font-size:14px;font-weight:600}@media(max-width:650px){#mtr-v2 .walk-grid{grid-template-columns:1fr}#mtr-v2 button.walk-choice{min-height:112px;padding:16px}#mtr-v2 button.walk-choice[aria-pressed=true]{padding:15px}}\n<\/style>\n<header><p>MOROCCO TRAIL RACE 2027<\/p><h2>Moroccan registration<\/h2><p class=\"date\">21 March 2027 \u00b7 Terres d\u2019Amanar \u00b7 Marrakech<\/p><p>Trail \u00b7 Hiking \u00b7 Nordic walking<\/p><\/header>\n<section class=\"mtr-rates\" aria-label=\"Tarifs des inscriptions\"><div class=\"section-lead\"><div><span class=\"eyebrow\">YOUR ADVENTURE STARTS HERE<\/span><h2>Choose your course<\/h2><\/div><p>Entry fees for Moroccan nationals<\/p><\/div><div class=\"rate-grid\"><button class=\"race-rate\" type=\"button\" data-pick-distance=\"5 km\" aria-pressed=\"false\"><span class=\"rate-kicker\">TRAIL RUNNING<\/span><strong>5 <small>km<\/small><\/strong><span class=\"rate-price\">180 <small>MAD<\/small><\/span><span class=\"rate-select\">Choose this course <span aria-hidden=\"true\">\u203a<\/span><\/span><\/button><button class=\"race-rate\" type=\"button\" data-pick-distance=\"10 km\" aria-pressed=\"false\"><span class=\"rate-kicker\">TRAIL RUNNING<\/span><strong>10 <small>km<\/small><\/strong><span class=\"rate-price\">350 <small>MAD<\/small><\/span><span class=\"rate-select\">Choose this course <span aria-hidden=\"true\">\u203a<\/span><\/span><\/button><button class=\"race-rate\" type=\"button\" data-pick-distance=\"21 km\" aria-pressed=\"false\"><span class=\"rate-kicker\">TRAIL RUNNING<\/span><strong>21 <small>km<\/small><\/strong><span class=\"rate-price\">450 <small>MAD<\/small><\/span><span class=\"rate-select\">Choose this course <span aria-hidden=\"true\">\u203a<\/span><\/span><\/button><button class=\"race-rate\" type=\"button\" data-pick-distance=\"35 km\" aria-pressed=\"false\"><span class=\"rate-kicker\">TRAIL RUNNING<\/span><strong>35 <small>km<\/small><\/strong><span class=\"rate-price\">550 <small>MAD<\/small><\/span><span class=\"rate-select\">Choose this course <span aria-hidden=\"true\">\u203a<\/span><\/span><\/button><\/div><div class=\"walk-grid\"><button type=\"button\" class=\"walk-choice\" data-walk-activity=\"Randonn\u00e9e\" aria-pressed=\"false\"><span class=\"walk-copy\"><strong>Hiking \u00b7 10 km<\/strong><span>Non-competitive \u00b7 Start at 9:30 am<\/span><span class=\"walk-select\">Choose this activity <span aria-hidden=\"true\">\u203a<\/span><\/span><\/span><strong class=\"walk-price\">350 <small>MAD<\/small><\/strong><\/button><button type=\"button\" class=\"walk-choice\" data-walk-activity=\"Marche nordique\" aria-pressed=\"false\"><span class=\"walk-copy\"><strong>Nordic walking \u00b7 10 km<\/strong><span>Non-competitive \u00b7 Start at 9:30 am<\/span><span class=\"walk-select\">Choose this activity <span aria-hidden=\"true\">\u203a<\/span><\/span><\/span><strong class=\"walk-price\">350 <small>MAD<\/small><\/strong><\/button><\/div><div class=\"entry-facts\"><span>Minimum age: 18<\/span><span>Medical certificate required<\/span><span>Entries close on 1 March 2027<\/span><\/div><\/section><section class=\"mtr-pack\"><div><span class=\"eyebrow\">INCLUDED WITH YOUR ENTRY<\/span><h2>The adventure, with everything you need.<\/h2><\/div><ul><li>Official jersey<\/li><li>Race bib<\/li><li>Aid stations<\/li><li>Finisher medal<\/li><li>Post-event meal<\/li><li>Trail race timing<\/li><\/ul><a href=\"https:\/\/www.moroccotrailrace.com\/trail\/en\/event-rules\/\">View details and event rules<\/a><\/section><div class=\"form-heading\"><span class=\"eyebrow\">YOUR PARTICIPANT DETAILS<\/span><h2>Complete your registration<\/h2><p>One form for your activity, accommodation and transport requests.<\/p><\/div>\n<form id=\"mtr-form-v2\" method=\"post\">\n<input type=\"hidden\" name=\"form_type\" value=\"maroc\"><input type=\"hidden\" name=\"form_version\" value=\"2\"><input type=\"hidden\" name=\"request_id\"><div class=\"hp\" aria-hidden=\"true\"><label>Website<input name=\"website\" tabindex=\"-1\" autocomplete=\"off\"><\/label><\/div>\n<p>One registration per participant. Fields marked * are required.<small>\u062a\u0633\u062c\u064a\u0644 \u0648\u0627\u062d\u062f \u0644\u0643\u0644 \u0645\u0634\u0627\u0631\u0643. \u0627\u0644\u062d\u0642\u0648\u0644 \u0627\u0644\u0645\u0634\u0627\u0631 \u0625\u0644\u064a\u0647\u0627 \u0628\u0639\u0644\u0627\u0645\u0629 * \u0625\u0644\u0632\u0627\u0645\u064a\u0629.<\/small><\/p>\n<div class=\"note\">This form is reserved for Moroccan nationals. Participants of other nationalities should use international registration.<small>\u0647\u0630\u0627 \u0627\u0644\u062a\u0633\u062c\u064a\u0644 \u0645\u062e\u0635\u0635 \u0644\u0644\u0645\u0634\u0627\u0631\u0643\u064a\u0646 \u0645\u0646 \u0627\u0644\u062c\u0646\u0633\u064a\u0629 \u0627\u0644\u0645\u063a\u0631\u0628\u064a\u0629.<\/small><\/div>\n<fieldset><legend>01. Participant<\/legend><div class=\"grid\">\n<label>First name  *<input name=\"first_name\" type=\"text\" required maxlength=\"200\" autocomplete=\"given-name\"><\/label>\n<label>Last name  *<input name=\"last_name\" type=\"text\" required maxlength=\"200\" autocomplete=\"family-name\"><\/label>\n<label>Date of birth  *<input name=\"birth_date\" type=\"date\" required maxlength=\"200\" max=\"2009-03-21\"><\/label>\n<label>Gender  *<select name=\"gender\" required><option value=\"\">Select<\/option><option value=\"Homme\">Male<\/option><option value=\"Femme\">Female<\/option><\/select><\/label>\n<label>Nationality  *<input name=\"nationality\" type=\"text\" required maxlength=\"200\" value=\"Marocaine\"><\/label>\n<label>Country of residence  *<input name=\"country\" type=\"text\" required maxlength=\"200\" value=\"Maroc\"><\/label>\n<label>City of residence  *<input name=\"city\" type=\"text\" required maxlength=\"200\" ><\/label>\n<label>Club or association <input name=\"club\" type=\"text\" maxlength=\"200\" ><\/label>\n<\/div><p class=\"note\">All participants must be at least 18 years old on 21 March 2027, for every activity and distance.<\/p><\/fieldset>\n<fieldset><legend>02. Contact and emergency details<\/legend><div class=\"grid\">\n<label>Email address  *<input name=\"email\" type=\"email\" required maxlength=\"200\" autocomplete=\"email\"><\/label>\n<label>Phone number with country code  *<input name=\"phone\" type=\"tel\" required maxlength=\"200\" autocomplete=\"tel\" placeholder=\"+212\u2026 \/ +33\u2026\"><\/label>\n<label>Emergency contact name  *<input name=\"emergency_name\" type=\"text\" required maxlength=\"200\" ><\/label>\n<label>Emergency contact phone  *<input name=\"emergency_phone\" type=\"tel\" required maxlength=\"200\" placeholder=\"+212\u2026 \/ +33\u2026\"><\/label>\n<\/div><\/fieldset>\n<fieldset><legend>03. Activity and distance<\/legend><div class=\"grid\">\n<label>Selected activity  *<select name=\"activity\" required><option value=\"\">Select<\/option><option value=\"Trail running\">Trail running \u2014 timed race<\/option><option value=\"Randonn\u00e9e\">10 km hike \u2014 non-competitive<\/option><option value=\"Marche nordique\">10 km Nordic walk \u2014 non-competitive<\/option><\/select><\/label>\n<label>Trail distance  *<select name=\"distance\" required><option value=\"\">Choose a distance<\/option><option value=\"5 km\">5 km \u2014 180 MAD<\/option><option value=\"10 km\">10 km \u2014 350 MAD<\/option><option value=\"21 km\">21 km \u2014 450 MAD<\/option><option value=\"35 km\">35 km \u2014 550 MAD<\/option><\/select><\/label>\n<label>Included official jersey size <select name=\"shirt_size\" required aria-required=\"true\"><option value=\"\">Choose your size<\/option><option value=\"XS\">XS<\/option><option value=\"S\">S<\/option><option value=\"M\">M<\/option><option value=\"L\">L<\/option><option value=\"XL\">XL<\/option><option value=\"XXL\">XXL<\/option><\/select><\/label>\n<\/div><div class=\"note\">Trail races start at 9 am; hiking and Nordic walking start at 9:30 am. Hiking and Nordic walking are non-competitive.<br>The official jersey is included. Minimum age: 18 on event day. A medical certificate is required and will be checked by the organisers before participation is finally confirmed.<\/div><\/fieldset>\n<fieldset><legend>04. Accommodation \u2014 optional<\/legend><div class=\"hotel-intro\"><p>Make the most of Terres d\u2019Amanar.<\/p><span>Extend your stay near Marrakech before or after the event. Half board includes breakfast and dinner.<\/span><\/div><div class=\"hotel-gallery\"><figure><img decoding=\"async\" src=\"https:\/\/www.moroccotrailrace.com\/trail\/wp-content\/uploads\/2024\/12\/hetelm.jpeg\" alt=\"Terres d\u2019Amanar lodges lit in the evening\" loading=\"lazy\" width=\"800\" height=\"560\"><figcaption>The estate at the foot of the Atlas<\/figcaption><\/figure><figure><img decoding=\"async\" src=\"https:\/\/www.moroccotrailrace.com\/trail\/wp-content\/uploads\/2024\/12\/terres-d-amanar.jpeg\" alt=\"Twin lodge at Terres d\u2019Amanar\" loading=\"lazy\" width=\"800\" height=\"560\"><figcaption>Your lodge at Terres d\u2019Amanar<\/figcaption><\/figure><figure><img decoding=\"async\" src=\"https:\/\/www.moroccotrailrace.com\/trail\/wp-content\/uploads\/2024\/12\/terres-d-amanar2.jpeg\" alt=\"Lounge area in a Terres d\u2019Amanar lodge\" loading=\"lazy\" width=\"800\" height=\"560\"><figcaption>A stay at your own pace<\/figcaption><\/figure><\/div><div class=\"hotel-inclusions\"><span>Lodges for 2\u20134 guests<\/span><span>Half board<\/span><span>Companions welcome<\/span><\/div>\n<label>Would you like accommodation? <select name=\"hotel\" ><option value=\"Non\">No accommodation requested<\/option><option value=\"H\u00e9bergement demand\u00e9\">Yes, accommodation requested<\/option><\/select><\/label>\n<div class=\"grid\" data-hotel hidden style=\"margin-top:18px\">\n<label>Arrival date <input name=\"arrival\" type=\"date\" maxlength=\"200\" ><\/label>\n<label>Departure date <input name=\"departure\" type=\"date\" maxlength=\"200\" ><\/label>\n<label>Total number of guests <input name=\"guests\" type=\"number\" maxlength=\"200\" min=\"1\" max=\"50\" step=\"1\"><\/label>\n<label>Preferred room type <select name=\"room_type\" ><option value=\"\">To be confirmed<\/option><option value=\"Individuelle\">Single<\/option><option value=\"Double\">Double<\/option><option value=\"Twin\">Twin<\/option><option value=\"Triple\">Triple<\/option><option value=\"Familiale\">Family \/ multiple rooms<\/option><\/select><\/label>\n<label class=\"wide\">Accommodation details<textarea name=\"hotel_notes\" maxlength=\"1000\"><\/textarea><\/label>\n<\/div><p class=\"note\">Accommodation is separate from the event entry. Rates and availability will be confirmed by the organisers; this request does not reserve a room.<\/p><\/fieldset>\n<fieldset><legend>05. Transport \u2014 optional<\/legend><div class=\"grid\">\n<label>Marrakech \u2013 Terres d\u2019Amanar shuttle <select name=\"shuttle\" ><option value=\"Non\">No request<\/option><option value=\"Informations souhait\u00e9es\">Please send me information<\/option><option value=\"Aller\">Outbound journey requested<\/option><option value=\"Retour\">Return journey requested<\/option><option value=\"Aller-retour\">Round trip requested<\/option><\/select><\/label>\n<label>Airport transfer <select name=\"airport_transfer\" ><option value=\"Non\">No request<\/option><option value=\"Arriv\u00e9e\">Arrival transfer requested<\/option><option value=\"D\u00e9part\">Departure transfer requested<\/option><option value=\"Aller-retour\">Round trip requested<\/option><\/select><\/label>\n<label class=\"wide\">Transport details<textarea name=\"transfer_notes\" maxlength=\"1000\"><\/textarea><\/label>\n<\/div><p class=\"note\">Times, pick-up locations, rates and availability must be confirmed separately.<\/p><\/fieldset>\n<fieldset><legend>06. Review and confirmation<\/legend>\n<div class=\"summary\" aria-live=\"polite\"><p><strong>Your choice:<\/strong> <span data-choice>Please complete<\/span><\/p><p><strong>Date:<\/strong> 21 March 2027<\/p><p><strong>Location:<\/strong> Terres d\u2019Amanar, near Marrakech<\/p><\/div>\n<label class=\"check\"><input name=\"rules\" type=\"checkbox\" value=\"oui\" required><span>I have read and accept the <a href=\"https:\/\/www.moroccotrailrace.com\/trail\/en\/event-rules\/\" target=\"_blank\" rel=\"noopener\">event rules<\/a>. *<\/span><\/label>\n<label class=\"check\"><input name=\"accuracy\" type=\"checkbox\" value=\"oui\" required><span>I confirm that the information provided is accurate. *<\/span><\/label>\n\n\n\n<div class=\"total\"><span>Event entry only<\/span><strong data-price>\u2014 MAD<\/strong><\/div>\n<p>No payment is taken at this stage. Once saved, your request receives a reference; participation remains pending verification and payment. You must confirm sending the WhatsApp message or email in your own app.<\/p>\n<div class=\"buttons\"><button type=\"submit\" name=\"contact_choice\" value=\"whatsapp\">Send via WhatsApp<\/button><button type=\"submit\" name=\"contact_choice\" value=\"email\">Send via email<\/button><\/div>\n<p data-progress role=\"status\" aria-live=\"polite\"><\/p>\n<\/fieldset><\/form><div class=\"result\" data-result role=\"status\" aria-live=\"polite\" hidden><\/div>\n<script>\n(function(){\n const root=document.getElementById('mtr-v2');if(!root||root.dataset.ready)return;root.dataset.ready='yes';\n const form=root.querySelector('form'), field=n=>form.elements.namedItem(n), result=root.querySelector('[data-result]'), progress=root.querySelector('[data-progress]');\n const prices={\"5 km\":180,\"10 km\":350,\"21 km\":450,\"35 km\":550}, currency='MAD', category='maroc';\n const storageKey='mtr27-v2-'+category;let busy=false,done=false,requestId='';\n try{requestId=sessionStorage.getItem(storageKey)||'';}catch(e){}\n if(!\/^[A-Za-z0-9_-]{12,100}$\/.test(requestId)){requestId=crypto.randomUUID();try{sessionStorage.setItem(storageKey,requestId);}catch(e){}}\n field('request_id').value=requestId;\n function update(){const hike=field('activity').value&&field('activity').value!=='Trail running';field('distance').disabled=!!hike;if(hike)field('distance').value='10 km';const d=field('distance').value;const p=field('activity').value?prices[d]:null;root.querySelector('[data-price]').textContent=p?p+' '+currency:'\u2014 '+currency;root.querySelector('[data-choice]').textContent=p?field('activity').selectedOptions[0].text+' \u00b7 '+d:'Please complete';root.querySelectorAll('[data-pick-distance]').forEach(button=>button.setAttribute('aria-pressed',String(field('activity').value==='Trail running'&&button.dataset.pickDistance===d)));root.querySelectorAll('[data-walk-activity]').forEach(button=>button.setAttribute('aria-pressed',String(field('activity').value===button.dataset.walkActivity)));}\n root.querySelectorAll('[data-pick-distance]').forEach(button=>button.addEventListener('click',()=>{field('activity').value='Trail running';field('distance').value=button.dataset.pickDistance;update();}));\n root.querySelectorAll('[data-walk-activity]').forEach(button=>button.addEventListener('click',()=>{field('activity').value=button.dataset.walkActivity;field('distance').value='10 km';update();}));\n field('activity').addEventListener('change',update);field('distance').addEventListener('change',update);\n function hotel(){const enabled=field('hotel').value!=='Non';root.querySelector('[data-hotel]').hidden=!enabled;['arrival','departure','guests'].forEach(n=>{field(n).required=enabled;});}\n field('hotel').addEventListener('change',hotel);hotel();update();\n function showError(message){result.hidden=false;result.className='result error';result.textContent=message;}\n form.addEventListener('submit',async function(e){\n e.preventDefault();if(busy||done)return;if(!form.reportValidity())return;\n if(field('birth_date').value>'2009-03-21'){showError('You must be at least 18 years old on 21 March 2027.');return;}\n const choice=e.submitter&&e.submitter.value;if(!['whatsapp','email'].includes(choice)){showError('Choose WhatsApp or email.');return;}\n if(!field('activity').value||!prices[field('distance').value]){showError('Choose your activity and distance.');return;}\n if(field('hotel').value!=='Non'&&field('departure').value<=field('arrival').value){showError('Departure must be after arrival.');return;}\n if(Date.now()>Date.parse('2027-03-01T23:59:59+01:00')){showError('Registration is closed.');return;}\n const data=new FormData(form);data.set('distance',field('distance').value);data.set('emergency_contact',field('emergency_name').value.trim()+' \u2014 '+field('emergency_phone').value.trim());data.set('contact_choice',choice);data.delete('emergency_name');data.delete('emergency_phone');\n if(field('hotel').value==='Non'){['arrival','departure','guests','room_type','hotel_notes'].forEach(k=>data.set(k,''));}else{data.set('nights',String(Math.round((Date.parse(field('departure').value)-Date.parse(field('arrival').value))\/86400000)));}\n let contactWindow=null;if(choice==='whatsapp'){contactWindow=window.open('about:blank','_blank');if(contactWindow)contactWindow.opener=null;}\n busy=true;form.querySelectorAll('button').forEach(b=>b.disabled=true);progress.textContent='Saving your request\u2026';result.hidden=true;\n const controller=new AbortController(), timer=setTimeout(()=>controller.abort(),45000);\n try{\n const response=await fetch('https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/mtr2027\/v1\/registration',{method:'POST',body:data,credentials:'same-origin',headers:{Accept:'application\/json'},signal:controller.signal});\n let answer;try{answer=await response.json();}catch(err){throw new Error('The server response could not be read. Contact the organisers before trying again.');}\n if(!response.ok||answer.ok!==true||!answer.reference)throw new Error(answer.message||'Your request was not confirmed. Try again using this same request.');\n done=true;const reference=String(answer.reference);progress.textContent='Request saved. Payment pending.';form.querySelectorAll('input,select,textarea,button').forEach(el=>el.disabled=true);\n const buildMtrRegistrationSummary=function(v,en){\n var val=function(k){return String(v[k]||'').trim()||(en?'Not provided':'Non renseign\u00e9');};\n var date=function(k){var s=val(k);return \/^\\d{4}-\\d{2}-\\d{2}$\/.test(s)?s.slice(8,10)+'\/'+s.slice(5,7)+'\/'+s.slice(0,4):s;};\n var intl=v.form_type==='international';var type=en?(intl?'INTERNATIONAL REGISTRATION':'NATIONAL REGISTRATION'):(intl?'INSCRIPTION INTERNATIONALE':'INSCRIPTION NATIONALE');\n var subject='MTR 2027 | '+type+' | '+val('reference')+' | '+val('first_name')+' '+val('last_name');\n var lines=[en?'Hello,':'Bonjour,','', 'MOROCCO TRAIL RACE 2027',type,(en?'Reference: ':'R\u00e9f\u00e9rence : ')+val('reference'),en?'21 March 2027 \u00b7 Terres d\u2019Amanar \u00b7 Marrakech':'21 mars 2027 \u00b7 Terres d\u2019Amanar \u00b7 Marrakech','', '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',en?'01 \u00b7 PARTICIPANT':'01 \u00b7 PARTICIPANT','\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',\n (en?'First name: ':'Pr\u00e9nom : ')+val('first_name'),(en?'Last name: ':'Nom : ')+val('last_name'),(en?'Date of birth: ':'Date de naissance : ')+date('birth_date'),(en?'Category: ':'Cat\u00e9gorie : ')+val('gender'),(en?'Nationality: ':'Nationalit\u00e9 : ')+val('nationality'),(en?'Country of residence: ':'Pays de r\u00e9sidence : ')+val('country'),(en?'City: ':'Ville : ')+val('city'),(en?'Club \/ association: ':'Club \/ association : ')+val('club'),'',\n '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',en?'02 \u00b7 CONTACT & EMERGENCY':'02 \u00b7 COORDONN\u00c9ES & URGENCE','\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',(en?'Email: ':'E-mail : ')+val('email'),(en?'Phone: ':'T\u00e9l\u00e9phone : ')+val('phone'),(en?'Emergency contact (name and phone): ':'Contact d\u2019urgence (nom et t\u00e9l\u00e9phone) : ')+val('emergency_contact'),'',\n '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',en?'03 \u00b7 ACTIVITY & ENTRY':'03 \u00b7 ACTIVIT\u00c9 & INSCRIPTION','\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',(en?'Registration type: ':'Type d\u2019inscription : ')+type,(en?'Activity: ':'Activit\u00e9 : ')+val('activity'),(en?'Distance: ':'Distance : ')+val('distance'),(en?'Official jersey size: ':'Taille du maillot officiel : ')+val('shirt_size'),(en?'Event entry fee: ':'Tarif sportif : ')+val('amount')+' '+val('currency'),(en?'Payment status: pending':'Statut du paiement : en attente'),'',\n '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',en?'04 \u00b7 ACCOMMODATION REQUEST':'04 \u00b7 DEMANDE D\u2019H\u00c9BERGEMENT','\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500'];\n if(v.hotel_requested){lines.push((en?'Accommodation: requested':'H\u00e9bergement : demand\u00e9'),(en?'Arrival: ':'Arriv\u00e9e : ')+date('arrival'),(en?'Departure: ':'D\u00e9part : ')+date('departure'),(en?'Number of nights: ':'Nombre de nuits : ')+val('nights'),(en?'Total number of guests: ':'Nombre total de personnes : ')+val('guests'),(en?'Preferred room: ':'Chambre souhait\u00e9e : ')+val('room_type'),(en?'Stay details: ':'Pr\u00e9cisions s\u00e9jour : ')+val('hotel_notes'),en?'Rates and availability to be confirmed. No room is reserved at this stage.':'Tarifs et disponibilit\u00e9s \u00e0 confirmer. Aucune chambre r\u00e9serv\u00e9e \u00e0 cette \u00e9tape.');}else lines.push(en?'No accommodation requested.':'Sans demande d\u2019h\u00e9bergement.');\n lines.push('', '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',en?'05 \u00b7 TRANSPORT REQUESTS':'05 \u00b7 DEMANDES DE TRANSPORT','\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',(en?'Marrakech \u2013 Terres d\u2019Amanar shuttle: ':'Navette Marrakech \u2013 Terres d\u2019Amanar : ')+val('shuttle'),(en?'Airport transfer: ':'Transfert a\u00e9roport : ')+val('airport_transfer'),(en?'Transport details: ':'Pr\u00e9cisions transport : ')+val('transfer_notes'),en?'Transport rates and availability to be confirmed.':'Tarifs et disponibilit\u00e9s des transports \u00e0 confirmer.','',\n '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',en?'06 \u00b7 CONFIRMATIONS':'06 \u00b7 CONFIRMATIONS','\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500',en?'Event rules accepted: yes':'R\u00e8glement accept\u00e9 : oui',en?'Accuracy of information confirmed: yes':'Exactitude des informations confirm\u00e9e : oui',(en?'Contact method: ':'Canal choisi : ')+val('contact_choice'),'',en?'Request saved. Participation remains subject to verification and payment.':'Demande enregistr\u00e9e. Participation sous r\u00e9serve de validation et de paiement.',en?'Accommodation and transfers are separate from the event entry fee.':'H\u00e9bergement et transferts distincts du tarif sportif.','',en?'Please send the details needed to finalise my registration.':'Merci de transmettre les modalit\u00e9s pour finaliser mon inscription.');\n return {subject:subject,body:lines.join('\\n')};\n};\n const summaryValues=Object.fromEntries(data.entries());summaryValues.reference=reference;summaryValues.amount=String(answer.amount ?? prices[data.get(\"distance\")]);summaryValues.currency=answer.currency||currency;summaryValues.hotel_requested=data.get(\"hotel\")!==\"Non\";[\"gender\",\"activity\",\"room_type\",\"shuttle\",\"airport_transfer\"].forEach(n=>{const el=field(n);if(el&&el.selectedOptions&&el.selectedOptions.length)summaryValues[n]=el.selectedOptions[0].text;});\n const summary=buildMtrRegistrationSummary(summaryValues,true);const message=summary.body;\n const url=choice==='whatsapp'?'https:\/\/wa.me\/212611292331?text='+encodeURIComponent(message):'mailto:contact@moroccotrailrace.com?subject='+encodeURIComponent(summary.subject)+'&body='+encodeURIComponent(message);\n result.hidden=false;result.className='result';result.replaceChildren();const h=document.createElement('h3');h.textContent='Request saved';const p=document.createElement('p');p.textContent='Reference: '+reference+'. Payment is pending. Your participation has not yet been finally confirmed.';const a=document.createElement('a');a.href=url;a.className='contact-link';a.textContent=choice==='whatsapp'?'Open WhatsApp message':'Open email message';if(choice==='whatsapp'){a.target='_blank';a.rel='noopener';}result.append(h,p,a);result.scrollIntoView({behavior:'smooth',block:'center'});\n if(contactWindow&&!contactWindow.closed){contactWindow.location.replace(url);}\n }catch(err){if(contactWindow&&!contactWindow.closed)contactWindow.close();showError(err.name==='AbortError'?'The request timed out and its status is uncertain. Try again with the same form; your request ID has been retained.':err.message);progress.textContent='Request not confirmed.';form.querySelectorAll('button').forEach(b=>b.disabled=false);}\n finally{clearTimeout(timer);busy=false;}\n });\n})();\n<\/script><\/div>\n","protected":false},"excerpt":{"rendered":"<p>MOROCCO TRAIL RACE 2027 Moroccan registration 21 March 2027 \u00b7 Terres d\u2019Amanar \u00b7 Marrakech Trail \u00b7 Hiking \u00b7 Nordic walking YOUR ADVENTURE STARTS HERE Choose your course Entry fees for Moroccan nationals TRAIL RUNNING5 km180 MADChoose this course \u203aTRAIL RUNNING10 km350 MADChoose this course \u203aTRAIL RUNNING21 km450 MADChoose this course \u203aTRAIL RUNNING35 km550 MADChoose this<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7605","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/pages\/7605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/comments?post=7605"}],"version-history":[{"count":7,"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/pages\/7605\/revisions"}],"predecessor-version":[{"id":7665,"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/pages\/7605\/revisions\/7665"}],"wp:attachment":[{"href":"https:\/\/www.moroccotrailrace.com\/trail\/wp-json\/wp\/v2\/media?parent=7605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}