/* Amazing Morocco: additions on top of the original theme CSS (loaded last). Nothing here changes an existing look on purpose. */

/* Sidebar widget titles are now H2 (outline); same look as the former H3 */
.widget .title .widget-title{font-size:15px;line-height:24px;text-transform:uppercase;font-weight:700;margin-bottom:20px}

/* Section headings that used to be H3 "Trip details" are now H2; same size as the old H3 */
.custom-heading .am-h2{font-size:21px;line-height:24px}
.custom-heading + .row .am-h3,.am-h3{font-size:18px;line-height:22px}

/* Related list (was the Recent Posts Widget Extended block) */
.rpwe-block ul{list-style:none!important;margin-left:0!important;padding-left:0!important}
.rpwe-block li{border-bottom:1px solid #eee;margin-bottom:10px;padding-bottom:10px;list-style-type:none}
.rpwe-block a{display:inline!important;text-decoration:none}
.rpwe-block .rpwe-title{display:block;font-family:'Raleway','Open Sans',Arial,sans-serif;color:#333;background:none;clear:none;margin:0;font-weight:400;font-size:12px;line-height:1.5em}
.rpwe-thumb{border:1px solid #eee!important;box-shadow:none!important;margin:2px 10px 2px 0;padding:3px!important}
.rpwe-alignleft{display:inline;float:left}
.rpwe-clearfix:before,.rpwe-clearfix:after{content:"";display:table!important}
.rpwe-clearfix:after{clear:both}
.rpwe-clearfix{zoom:1}

/* Phone numbers are now tap-to-call links but keep the colours of the text they replace */
.footer-dark .footer-widget-container .text-big a{color:#fff}
.text-big.colored a{color:inherit}

/* Product page: summary box, included, FAQ (only drawn when the "Product details" fields have content) */
.am-summary{display:flex;flex-wrap:wrap;margin:0 0 30px;padding:0;background:#f6f6f6;border-left:4px solid var(--am-accent,#b4531f)}
.am-summary-row{flex:1 1 200px;padding:14px 20px}
.am-summary dt{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#666;font-weight:700;margin:0 0 4px}
.am-summary dd{margin:0;font-size:15px;color:#333}
.am-section{margin-top:35px}
.am-list{margin:0 0 20px;padding:0;list-style:none}
.am-list li{position:relative;padding:4px 0 4px 24px}
.am-list-yes li:before,.am-list-no li:before{font-family:'FontAwesome';position:absolute;left:0;top:4px}
.am-list-yes li:before{content:"\f00c";color:var(--am-accent,#b4531f)}
.am-list-no li:before{content:"\f00d";color:#999}
.am-faq-item{border-bottom:1px solid #e5e5e5;padding:12px 0}
.am-faq-item summary{cursor:pointer;font-weight:700;color:#333}
.am-faq-answer{padding-top:10px}

/* Enquiry block at the end of tours, treks and excursions */
.am-enquiry{margin:45px 0 10px;padding:25px;background:#f6f6f6;border-left:4px solid var(--am-accent,#b4531f);overflow:hidden}
.am-enquiry .custom-heading{margin-bottom:18px}
.am-enquiry-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;margin:0}
.am-enquiry .btn{float:none}
.am-enquiry-link{font-weight:700;color:#333}
.am-enquiry-link:hover{color:var(--am-accent,#b4531f)}

/* Mobile contact bar: phones only */
.am-sticky-cta{display:none}
@media (max-width:767px){
	.am-sticky-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#fff;border-top:1px solid #ddd;box-shadow:0 -2px 8px rgba(0,0,0,.12)}
	.am-sticky-cta a{flex:1;text-align:center;padding:14px 8px;font-weight:700;text-transform:uppercase;font-size:13px}
	.am-sticky-call{background:#fff;color:var(--am-accent,#b4531f)}
	.am-sticky-enq{background:var(--am-accent,#b4531f);color:#fff}
	body{padding-bottom:52px}
}

/* Telephone links: generous touch targets, including stacked footer numbers. */
a[href^="tel:"]{display:inline-flex;align-items:center;min-height:48px;min-width:48px;padding:8px 4px;box-sizing:border-box;margin:4px 0;vertical-align:middle;touch-action:manipulation}
.am-sticky-cta a[href^="tel:"]{display:flex;justify-content:center;margin:0;min-height:48px}
a[href^="tel:"]:focus-visible{outline:2px solid currentColor;outline-offset:2px}
