/*
Theme Name: Zapedah Child Theme
Author: ridianur
Author URI:  http://ridianur.com/
Theme URI: http://themeforest.net/user/ridianur
Template: zapedah
Description: This is child theme for Zapedah Theme.
Version: 1
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: zapedah-child
Tags: one-column, two-columns, right-sidebar,custom-colors,featured-images
*/

body {
  color: #333333;
}

.menu-box>div>ul.navigation>li>a::before {
    top: 26px !important;
}

.elementor-element-266c8aee .elementor-button {
    cursor: default !important;
}

.zapedah-custom-header {
    position: fixed !important;
    background: transparent;
    transition: background 0.3s ease;
    z-index: 100;
}

.zapedah-custom-header.scrolled {
    background: rgba(37, 42, 107, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(37, 42, 107, 0.1);
}

.elementor-element-ab58cef {
    transition: padding 0.3s ease !important;
}

.zapedah-custom-header.scrolled .elementor-element-ab58cef {
    padding-top: 0;
    padding-bottom: 0;
}

/* Ride Groups Section */
  .ride-groups {
    max-width: 1000px;
    margin: 0 auto;
  }

  .ride-groups__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
  }

.ride-groups__card {
  flex: 1 1 280px;
  padding: 16px;
  display: flex;
  flex-direction: column;

  position: relative;
  isolation: isolate;

  border-radius: 10px;
  background: #fff;

  /* border is drawn via ::before (border-image won’t reliably respect radius) */
  border: 0;
}

/* gradient border (3px) that respects border-radius */
.ride-groups__card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: linear-gradient(135deg, #39B54A, #272D69, #ED1C24D9);
  pointer-events: none;
  z-index: -1;

  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

/* subtle gradient shadow (reduced glow/spread) */
.ride-groups__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #39B54A, #272D69, #ED1C24D9);
  filter: blur(6px);
  opacity: 0.07;
  transform: translateY(4px) scale(1.01);
  pointer-events: none;
  z-index: -2;
}

  .ride-groups__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .ride-groups__title {
    margin: 0;
    font-size: 20px;
  }

.ride-groups__speed {
  opacity: 1;
  white-space: nowrap;
  color: #000;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 6px 10px 2px;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
}

.ride-groups__speed small {
  font-size: 0.7em;
  vertical-align: sub;
  opacity: 0.8;
  margin-left: .5rem;
  text-transform: uppercase;
  font-weight: 200 !important;
}

  .ride-groups__desc {
    margin: 10px 0 0 0;
    opacity: 0.9;
  }

  .ride-groups__dist {
    margin: 10px 0 0 0;
  }

  .ride-groups__note {
    margin: 10px 0 0 0;
    opacity: 0.85;
    margin-top: auto; /* pins coffee stop line to bottom of card */
  }

  .ride-groups__footer {
    margin: 24px 0 0 0;
    line-height: 1.6;
    opacity: 0.85;
  }

  .box-with-icon .zapedah-icon {
    border-radius: 0;
    fill: #FCBF1E;
  }

  #testimonials {
    display: none;
  }