/* ==========================================================================
   Market Hear Grid Blocks (Unique Prefix: ymh-grid-)
   ========================================================================== */
.ymh-grid-wrapper {
  padding: 90px 0;
  background-color: #ffffff; /* Adjust default wrapper wrapper page canvas tint if necessary */
}

/* Card Foundations */
.ymh-grid-card {
  padding: 40px 35px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Hover Accent Lifting Action */
.ymh-grid-card:hover {
  transform: translateY(-4px);
}

/* White Variant Card Layout styles */
.ymh-grid-card.ymh-card-white {
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.015);
}
.ymh-grid-card.ymh-card-white:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  border-color: #dcdcdc;
}

/* Muted Light Gray Variant Card Layout styles */
.ymh-grid-card.ymh-card-gray {
  background-color: #f7f7f6;
  border: 1px solid #e5e5e5;
}
.ymh-grid-card.ymh-card-gray:hover {
  background-color: #f3f3f2;
  border-color: #e9e9e8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

/* Solid Orange Banner Variant Card Styles */
.ymh-grid-card.ymh-card-orange {
  background-color: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  box-shadow: 0 8px 25px rgba(255, 100, 4, 0.15);
}
.ymh-grid-card.ymh-card-orange:hover {
  box-shadow: 0 14px 32px rgba(255, 100, 4, 0.25);
}

/* Typography Accent Details */
.ymh-eyebrow-orange {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-orange);
  letter-spacing: 0.3px;
}

.ymh-big-heading {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.15;
}

.ymh-body-text {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

/* Pain Point Sub-blocks Styling */
.ymh-point-title {
  font-size: 14px;
  font-weight: 500;
  color: #111111;
}

.ymh-point-desc {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  margin-top: 6px;
}

.ymh-center-desc {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--bs-secondary-color)!important;
}

/* Custom Signature Shadow Offset Box Framework */
.ymh-icon-box {
  position: relative;
  width: 38px;
  height: 38px;
  background-color: #000000;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ymh-icon-box::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--primary-orange);
  border-radius: 6px;
  pointer-events: none;
}
.ymh-icon-box svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

/* Orange Pricing Elements Setup */
.ymh-price-display {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
}

.ymh-price-period {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0px;
}

.ymh-price-footer {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Responsive Scaling Adjustments
   ========================================================================== */
@media (max-width: 991px) {
  .ymh-big-heading {
    font-size: 1.9rem;
  }
  .ymh-grid-card {
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .ymh-grid-wrapper {
    padding: 60px 0;
  }
}

.ymh-combined-card {
  display: flex;
  flex-direction: row;
  gap: 35px;
  /* Override default padding slightly if needed, but flex handles inner layout */
}

.ymh-combined-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ymh-combined-divider {
  width: 1px;
  background-color: #e5e5e5; /* Matches the card's border color perfectly */
  flex-shrink: 0;
}

.ymh-combined-right {
  flex: 1;
  display: flex;
  align-items: center; /* Mathematically centers the text vertically */
}


@media (max-width: 991px) {
  /* On tablets, the 8-col card takes full width, so we reduce the gap slightly */
  .ymh-combined-card {
    gap: 25px;
  }
}

@media (max-width: 767px) {
  /* On mobile phones, stack the two halves vertically */
  .ymh-combined-card {
    flex-direction: column;
    gap: 25px;
  }
  
  .ymh-combined-divider {
    width: 100%;
    height: 1px;
  }
  
  .ymh-combined-right {
    align-items: flex-start; /* Reset vertical center so text aligns top on mobile */
  }
}

/* ==========================================================================
   Quarterly Visibility Layer Setup (Unique Prefix: qvl-layer-)
   ========================================================================== */
.qvl-layer-wrapper {
  padding: 90px 0;
  background-color: #ffffff; /* Seamless transition backdrop placement tint */
}

.qvl-layer-heading {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-top: 0.5rem;
}

/* Card Architectural Settings */
.qvl-layer-card {
  background-color: #f7f7f6;
  border: 1px solid #f7f7f6;
  padding: 40px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

/* Smooth Interactive Hover Mechanics */
.qvl-layer-card:hover {
  transform: translateY(-5px);
  background-color: #f4f4f3;
  border-color: #e2e2e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.025);
}

/* Custom Balanced Icon Bracket Frame */
.qvl-layer-icon-box {
  position: relative;
  width: 38px;
  height: 38px;
  background-color: #000000;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Signature geometric double offset drop layer shadow design */
.qvl-layer-icon-box::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--primary-orange);
  border-radius: 6px;
  pointer-events: none;
}

.qvl-layer-icon-box svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

/* Component Content Typography Styling */
.qvl-layer-card-title {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  color: #111111;
  margin-bottom: 20px;
}

.qvl-layer-desc {
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 400;
  color: #555554 !important;
}

/* ==========================================================================
   Responsive Viewport Balancing Systems
   ========================================================================== */
@media (max-width: 991px) {
  .qvl-layer-heading {
    font-size: 2.2rem;
  }
  .qvl-layer-card {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .qvl-layer-wrapper {
    padding: 60px 0;
  }
  .qvl-layer-heading {
    font-size: 1.8rem;
  }
}
