/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.3.1.1705399450
Updated: 2024-01-16 10:04:10

*/

/* MM nav spacing */
@media (min-width: 769px) {
  #site-navigation ul.menu > li { margin-left: 10px; margin-right: 10px; }
  #site-navigation ul.menu > li > a { letter-spacing: 0.3em; }
}
@media (min-width: 769px) and (max-width: 1400px) {
  #site-navigation ul.menu > li { margin-left: 7px; margin-right: 7px; }
  #site-navigation ul.menu > li > a { letter-spacing: 0.2em; }
}

/* MM dropdown cleanup */
@media (min-width: 769px) {
  #site-navigation ul.menu ul.sub-menu a::before { display: none !important; }
  #site-navigation ul.menu ul.sub-menu li { margin: 0; }
  #site-navigation ul.menu ul.sub-menu a { display: block; padding: 10px 22px; white-space: nowrap; }
  #site-navigation ul.menu ul.sub-menu a:hover { color: #C11A2A; }
}

/* MM dropdown width fix */
@media (min-width: 769px) {
  #site-navigation ul.menu ul.sub-menu { width: max-content !important; min-width: 220px; max-width: 360px; }
  #site-navigation ul.menu ul.sub-menu li { width: 100%; float: none; }
  #site-navigation ul.menu ul.sub-menu a { letter-spacing: 0.2em; white-space: nowrap; width: 100%; box-sizing: border-box; text-align: left; }
}

/* MM featured video */
#featured-video { padding: 40px 0; background: #fff; }
#featured-video .video-wrap { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; }
#featured-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* MM articles cards */
#postGrid .post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
#postGrid .post-item { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.08); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
#postGrid .post-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
#postGrid .post-item-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
#postGrid .post-item-photo .faux-bg-img, #postGrid .post-item-photo img { width: 100%; height: 100%; object-fit: cover; }
#postGrid .grid-item-title { font-size: 1.35rem; line-height: 1.25; margin: 20px 22px 10px; }
#postGrid .grid-item-excerpt { font-size: 1rem; line-height: 1.6; margin: 0 22px 14px; }
#postGrid .post-item .read-more, #postGrid .post-item > span, #postGrid .post-item > .link-text { margin: auto 22px 22px; color: #C11A2A; font-weight: 600; }

/* MM programme groups on country pages */
.trips-groups .programme-heading{margin:48px 0 24px;scroll-margin-top:120px}
.trips-groups .programme-heading:first-child{margin-top:24px}
#about,#blogPosts{scroll-margin-top:120px}
#mininav .nav-link.current .link-text{text-decoration:underline}

/* MM fixed hero height: same as MM Nepal (550px) on every page except the homepage */
@media (min-width:768px){
body:not(.home) #hero{height:550px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding-top:120px !important;padding-bottom:0 !important;overflow:hidden}
body:not(.home) #hero .container{padding-top:0 !important;padding-bottom:0 !important}
body:not(.home) #hero .title{margin-top:0 !important;padding-top:0 !important;padding-bottom:0 !important}
body:not(.home) #hero .hero-text{margin-bottom:0 !important}
}
@media (max-width:767px){
body:not(.home) #hero{min-height:360px;box-sizing:border-box}
}

/* MM footer links in banner */
.footer-banner .footer-menu{margin-bottom:20px}
.footer-banner .footer-menu ul{display:flex;flex-wrap:wrap;gap:8px 32px;list-style:none;margin:0;padding:0}
.footer-banner .footer-menu li{list-style:none;margin:0;padding:0}
.footer-banner .footer-menu a{color:#fff;font-weight:600;text-decoration:none}
.footer-banner .footer-menu a:hover{text-decoration:underline}

/* MM footer links spacing */
.footer-banner .footer-menu{padding-top:32px;margin-bottom:8px}

/* MM homepage video carousel */
#featured-video .subheading{text-align:center;margin-bottom:24px}
.video-carousel{position:relative;max-width:900px;margin:0 auto}
.video-carousel .vc-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.video-carousel .vc-track::-webkit-scrollbar{display:none}
.video-carousel .vc-slide{flex:0 0 100%;scroll-snap-align:center}
.video-carousel .vc-caption{text-align:center;margin-top:12px;font-weight:600}
.video-carousel .vc-btn{position:absolute;top:calc(50% - 40px);z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:#C11A2A;color:#fff;font-size:30px;line-height:1;cursor:pointer}
.video-carousel .vc-prev{left:-22px}
.video-carousel .vc-next{right:-22px}
#featured-video .vc-more{text-align:center;margin-top:16px}
@media (max-width:991px){.video-carousel .vc-prev{left:4px}.video-carousel .vc-next{right:4px}}


/* MM compact footer: logo + vertical links */
.footer-main .container{padding-top:36px;padding-bottom:36px}
.footer-main .footer-content{padding:0 0 20px}
.footer-banner{padding:0}
.footer-banner .container{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px 56px;padding-top:28px;padding-bottom:28px}
.footer-banner .footer-logo{flex:0 0 auto;background:#fff;border-radius:6px;padding:10px 14px;display:block;margin-top:0}
.footer-banner .footer-logo img{display:block;width:170px;height:auto}
.footer-banner .footer-menu{padding-top:0;margin:0;flex:0 0 auto}
.footer-banner .footer-menu ul{flex-direction:column;flex-wrap:nowrap;gap:8px}
.footer-banner .banner-row{flex:1 1 320px;margin:0}
@media (max-width:767px){.footer-banner .container{flex-direction:column;gap:20px}}

.footer-banner .footer-address p{margin:0 0 8px;line-height:1.5}
.footer-banner .footer-address p:empty,.footer-banner .footer-address p:last-child:has(+ *){display:none}
.footer-banner .banner-row{align-items:flex-start}
