/*
 Theme Name:   Medina Thrive
 Theme URI:    https://medinathrive.com
 Description:  GP child theme
 Author:       Hotlaunch Team
 Author URI:   https://hotlaunch.com
 Template:     generatepress
 Version:      1.26.3
*/

@media (max-width: 600px) {
    /* Target the logo image specifically */
    .site-logo, .custom-logo, header img[src$=".svg"] {
        width: 280px !important;
        height: auto !important;
        max-width: 85% !important;
    }
}

/* Fixes vertical overlap on business listing pages */
.single-business .site-main {
    padding-bottom: 8rem;
    display: flow-root; /* Ensures the container 'contains' its internal grid */
}
/* This forces the business listing container to recognize its own height */
.single-business .site-main .gb-container {
    display: table;
    clear: both;
    width: 100%;
}

/* This forces the footer to stay below all content */
.site-footer {
    clear: both !important;
    position: relative !important;
    display: block !important;
}
/* homepage heading */
.underline mark {
    box-shadow: inset 0 -0.4em 0 0 var(--accent-3);
	line-height:4.2rem;
}

/* categories */
.medina-category-hierarchy ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.medina-category-hierarchy > ul > li {
  margin-bottom: 1.5rem;
}

.medina-category-hierarchy li > a {
  text-decoration: none;
}

.medina-category-hierarchy > ul > li > a {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.medina-category-hierarchy li ul {
  padding-left: 1.25rem;
  margin-top: 0.35rem;
}

.medina-category-hierarchy li ul li {
  margin-bottom: 0.35rem;
}

.medina-category-hierarchy li ul li > a {
  font-size: 1rem;
  font-weight: 400;
}
.notetxt a {color: #1C530E;}
.notetxt a:hover {color: #BDA404;}

@media (max-width: 768px) {
  /* Hide search icon */
  .site-header .menu-bar-items {
    display: none !important;
  }

  /* Mobile header layout */
  .site-header.has-inline-mobile-toggle .inside-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 15px;
  }

  .site-header .grid-container {
    max-width: 100%;
  }

  /* Logo */
  .site-header .site-logo {
    flex: 0 0 auto;
    max-width: none;
    padding-bottom: 0 !important;
    margin-right: 10px;
  }

  .site-header .site-logo img {
    width: 100%;
    height: auto;
  }

  /* Mobile menu wrapper */
  .site-header #mobile-menu-control-wrapper {
    flex: 0 0 auto;
  }

  /* Menu toggle */
  .site-header .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
  }
}
/* search results layout */
.gb-looper-f0393b22 .gb-loop-item > .gb-element-e69fd716 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gb-looper-f0393b22 .gb-media-97e1a150 {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: #fff;
}

.gb-looper-f0393b22 .gb-element-080af5f6 {
  flex: 1;
  display: flex;
  flex-direction: column;
}