/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:     0.1
*/
@media (max-width: 768px) {
  .has-inline-mobile-toggle .mobile-menu-control-wrapper {
	  column-gap:25px;
	}
	.menu-bar-item a{font-size:1.5rem;}
}
.page a, .author a{color:var(--accent);}
.inside-article .wp-block-image img{margin-bottom:30px!important;}
.wp-block-table {margin-bottom:30px;border-bottom:1px solid var(--accent);}
.uagb-notice-title{margin-bottom:0px!important;}
.wp-block-separator.is-style-wide{max-width:30%!important;}
.wp-block-separator{border-top:none!important; border-bottom:7px solid!important; background-color:transparent!important;border-color:#C9A580!important; }
 .uael-post-wrapper-featured .uael-post__thumbnail{
 border-radius: 10px!important;
}
.page .entry-content .wp-block-image, .single-post .entry-content .wp-block-image {
    text-align: center;
    margin: 20px 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	background-color: #f9f9f9; 
}

@media (min-width: 1200px) {
  .page .entry-content .wp-block-image, .single-post .entry-content .wp-block-image {
    width:90%;
	  margin:0 auto 30px;
  }
}



.page .entry-content .wp-block-image picture, .single-post .entry-content .wp-block-image picture {
    display: inline-block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 8px;
    
}


.page .entry-content .wp-block-image img, .single-post .entry-content .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    max-width: 100%;
}

.page .entry-content .wp-element-caption, .single-post .entry-content .wp-element-caption {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 0.9em!important;
    color: #555;
    margin-top: -25px; /* Minor adjustment to bring it closer */
    padding: 15px 20px;
    max-width: 95%;
    line-height: 1.6;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    
}

.page .entry-content .wp-element-caption::before, .single-post .entry-content .wp-element-caption::before {
    content: open-quote;
    font-size: 1.6em!important;
    vertical-align: top;
    line-height: 0;
    margin-right: 5px;
    color: #777;
}

.page .entry-content .wp-element-caption::after, .single-post .entry-content .wp-element-caption::after {
    content: close-quote;
    font-size: 1.6em!important;
    vertical-align: bottom;
    line-height: 0;
    margin-left: 5px;
    color: #777;
}

.page .entry-content .wp-element-caption em, .single-post .entry-content .wp-element-caption em {
    font-style: italic;
    color: #333;
}

.featured-product-boxes{border-style: solid;border-width: 1px;border-color:var(--accent);border-radius: 15px;}
.featured-product-boxes .product-box-header{background-color:var(--accent);border-radius: 15px 15px 0 0;color:#fff;padding:1px 0 0 15px;}
.featured-product-boxes .elementor-column-wrap.elementor-element-populated{align-items: center;}
.featured-product-boxes .product-box-left{text-align: center;}
.featured-product-boxes p,.astra-advanced-hook-4158 p{margin-bottom:0.5em!important;}
.featured-product-boxes ul, .astra-advanced-hook-4158 ul{list-style:none!important;margin:0!important;display:flex;flex-direction:column;align-items:center;}
.featured-product-boxes ul li, .astra-advanced-hook-4158 ul li{display:flex;margin-bottom:10px;background:url('../svg/list-icon-check-green.svg') no-repeat left center;padding-left: 25px;}
.featured-product-boxes ul li img, .astra-advanced-hook-4158 ul li img{margin-right: 10px;}
.featured-product-boxes .elementor-widget-container, .astra-advanced-hook-4158 .elementor-widget-container{text-align: center;}


.featured-product-box{border-style: solid;border-width: 1px;border-color:var(--accent);border-radius: 15px;}
.featured-product-box .product-box-header{background-color:var(--accent);border-radius: 15px 15px 0 0;color:#fff;padding:1px 0 0 15px;}
.featured-product-box .elementor-column-wrap.elementor-element-populated{align-items: center;}
.featured-product-box .product-box-left{text-align: center;}
.featured-product-box p{margin-bottom:0.5em!important;}
.featured-product-box ul{list-style:none!important;margin:0!important;display:flex;flex-direction:column;align-items:start;}
.featured-product-box ul li{display:flex;margin-bottom:10px;background:url('../svg/list-icon-check-green.svg') no-repeat left center;padding-left: 25px;text-align: left;}
.featured-product-box ul li img{margin-right: 10px;}
.featured-product-box .elementor-widget-container{text-align: center;}

.elementor-widget-icon-box ul{text-align: left;}

.product-box{border:1px solid var(--accent);border-radius: 25px;margin:30px 0;padding: 20px 20px;}
.pros-cons .wp-block-column{background-color:#FAFAFA;padding:20px;}
.uagb-toc__wrap{border-color: var(--accent)!important;background-color: #FAFAFA!important;}

.info-list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-gap: 20px;
    padding: 20px;
	margin:0;
	text-align:center;
	background-color:#c9c072;
  }

  .info-list li strong {
    display: block; /* Makes the icon and text stack on smaller screens */
  }

  .info-list li span {
    font-size: 3rem; /* Adjusts the icon size */
    vertical-align: middle; /* Aligns icon with the text */
  }
figure.wp-block-gallery.has-nested-images{margin-bottom:30px;}
  @media (max-width: 768px) {
    .info-list {
      grid-template-columns: 1fr; /* Single column layout on small screens */
    }
    
    .info-list li strong {
      font-size: 1.2rem; /* Optional: Adjust text size for smaller screens */
    }
	  .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{display:none;visibility:hidden;}
  }

.author-bio-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .author-bio-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #caa480 0%, #9d7a56 100%);
  }
  
  .author-bio-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(157, 122, 86, 0.15);
  }
  
  .author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #caa480;
    flex-shrink: 0;
  }
  
  .author-info h4 {
    margin: 0 0 0.25rem 0;

    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
  }
  
  .author-title {
    font-size: 1rem;
    color: #9d7a56;
    font-weight: 600;
    margin: 0 0 1rem 0;
  }
  
  .author-bio {
font-size:1.1rem;
    line-height: 1.5;
    color: #5a6c7d;
    margin-bottom: 1rem;
  }
  
  .author-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
	  justify-content:center;
  }
  
  .credential-badge {
    background: linear-gradient(135deg, #caa480 0%, #9d7a56 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
  }
  
  
  .author-cta {
    text-align: center;
  }
  
  .author-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #caa480 0%, #9d7a56 100%);
    color: white!important;
    text-decoration: none;
    font-size: 0.975rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .author-cta-btn:hover {
    background: linear-gradient(135deg, #9d7a56 0%, #7a5d42 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(157, 122, 86, 0.3);
  }
  
  
  @media (max-width: 768px) {
    .author-bio-widget {
      padding: 1.25rem;
    }
    
    .author-header {
      flex-direction: column;
      text-align: center;
      gap: 0.75rem;
    }
    
    .author-avatar {
      width: 56px;
      height: 56px;
    }
    
    
    .credential-badge {
      font-size: 0.7rem;
      padding: 0.2rem 0.4rem;
    }
  }