/**
Theme Name: Astra Child
Author: WP Care
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* remove paddding on Group containers etc */

.entry-content > .wp-block-group, 
.entry-content > .wp-block-cover, 
.entry-content > .wp-block-columns {
    padding-right: 0;
    padding-left: 0;
}

/* Edit global settings */
h3.wp-block-heading {
    margin-block-end: 0;
}

/* Define a new class to overwrite the bottom margin */
.paragraph-less-spacing {
    margin-bottom: 1em !important; /* Adjust the value as needed */
}

/* Apply the new class to paragraphs within entry-content */
.entry-content p.paragraph-less-spacing g {
    margin-bottom: 2em !important; /* Ensure specificity within entry-content */
}


/* Lead Text with Button */
.align-bottom-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.align-bottom-container .wp-block-button {
    margin-top: auto;
}

 .entry-content .wp-block-buttons, .entry-content .wp-block-uagb-buttons {
    margin-bottom: 1.5em;
}

/* Font Sizes */

.intro-text {
	font-size:2.2em;
}

.has-large-font-size {
		font-size:2em;
}

.contact-heading {
	font-size:4em;
}

/* Home Heading */

/*
.home  h1{
    font-size: 4.5em;
}

@media (max-width: 781px) {
    .home  h1{
      font-size:4em;
  }
}
*/

/* Modify the Title size */ 

/*
header.entry-header .entry-title {
    font-size: 3rem;
}
*/

/*
h1.entry-title {
    font-size: 4em !important;
}

@media (max-width: 781px) {
  .intro-text {
	font-size:1.5em;
}
	
	.has-large-font-size {
		font-size:1.5em !important;
}

	.contact-heading {
	font-size:2.5em;
}

h1.entry-title {
    font-size: 2.5em !important;
}

	
	h1.page-title.ast-archive-title {
    font-size: 2.5em !important;
}
section.ast-archive-description {
    padding-bottom: 1em !important;
    margin-bottom: 1em !important;
}
}

*/

/* Bit more spacing on top for h2s */
 h2, .entry-content h2 {
  padding-top:1em;
}

/* Archive headings */
/*
body.archive .ast-archive-description .ast-archive-title, body.archive .ast-archive-description .ast-archive-title * {
    padding: 0.7em 0 0 0;
	margin-bottom:0;
    font-size: 4em;
}

h1.ast-archive-title {
    padding: 0.7em 0 0.7em 0;
    margin-bottom: 0;
    font-size: 4em;
	font-weight:bold;
}
*/
/*but less on some headings */
/*
.archive h1.less-space-heading, h2.less-space-heading, 
.archive  h3.less-space-heading   {
	  padding-top:0;
}
*/
/* Less spacing below headings */

/* margin-top: 1.5em; */
/*
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
     margin-top: 0;
}
*/
/*  h2s and benefit boxes */
.benefit-boxes h2 {
  padding-top:0;
}

/* remove space below button a lead with button */

.wp-block-uagb-buttons.uagb-buttons__outer-wrap.uagb-btn__default-btn.uagb-btn-tablet__default-btn.uagb-btn-mobile__default-btn.uagb-block-aa5e8fee.remove-button-space {
    margin-bottom: 0;
}

/* Stack buttons on mobile  */

@media (max-width: 768px) {
    .wp-block-buttons {
        flex-direction: column;
    }

    .wp-block-button {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}

/* Grey header on contact page */

/*

 .ast-transparent-header .main-header-bar {
    background: #eaeaea;
}

*/

/* Remove Space at top of image hero */
/*
.entry-header {
    margin-bottom: 0 !important; 
    word-wrap: break-word;
}

*/

/* Footer */

@media (max-width: 768px) {
aside.footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner {
    text-align: center;
}
	#block-54 .is-layout-flex {
    justify-content: center;
}
}

/* Archive */

body.archive .ast-archive-description {
 
    padding-top: 0;
    padding-right: 1em;
    padding-bottom: 3em;
    padding-left: 1em;
}

   body.archive .ast-separate-container #primary, .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary
{
         margin: 1em 0; 
        padding: 0;
    }

/*Single Post - New Layout */

/* Container for the header section */
.single-post .custom-single-header {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: flex-start; /* Aligns the items to the top */
}

/* Left and right columns within the header */
.custom-single-header .left-column,
.custom-single-header .right-column {
    flex: 1;
    width: 50%;
}

.custom-single-header .left-column {
    padding-right: 20px;
}

.custom-single-header .right-column {
    display: flex;
    align-items: flex-start; /* Ensures the header aligns to the top */
}

/* Header size on single posts */

.single-post .custom-single-header h1 {
    margin: 0;
    font-size: 3em; 
    line-height: 1.2em; 
    color: #000;
}

@media screen and (max-width: 1120px) {
    .single-post .custom-single-header h1 {
        font-size: 2.5em !important;
    }
}

@media screen and (max-width: 770px) {
    .single-post .custom-single-header h1 {
        font-size: 3em !important;
    }
}

/* Other Single Post Settings */

.custom-single-content .post-content {
    color: #000 !important;
}

/* Image Padding in Posts */
.custom-single-content .wp-block-image {
    padding: 1.2em 0 1.2em 0; 
}

/* Archive */

.post-thumb-img-content.post-thumb {
    border-bottom: solid;
    border-color: red;
    border-width: 6px;
}

.ast-article-inner {
    padding-left: 0;
}

.ast-blog-layout-4-grid .ast-article-inner, .ast-blog-layout-5-grid .ast-article-inner, .ast-blog-layout-6-grid .ast-article-inner {
    box-shadow: none;
}

/* Single Meta */

.entry-meta, .entry-meta * {
    line-height: 1.2;
    color: #000;
	margin-bottom:0.8em;
}


span.posted-on {
    font-size: 0.9em;
}

body.single-post .cat-links a {
      margin-bottom: 1rem;
}


.tags-links a, .cat-links a {
    display: inline-block;
    padding: 4px 8px 4px 8px;
    background-color: #38c189;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem; 
}

.tags-links a {
		margin: 2px; /* Space between tags */
}

.tags-links a:hover {
    background-color: #28724f; /* Darker red on hover, optional */
    color: #ffffff; /* Ensure text remains white on hover */
}

/* Single Post Content section */

.single-post .custom-single-content {
    margin-bottom: 2em;
}

/* Content section */
.custom-single-content .post-content {
    width: 100%;
    color: #666;
    font-size: 1em;
    margin-top: 20px;
}

/* Gravity Forms */

p.gform_required_legend {
    display: none;
}

/* Archives */

/* Remove Rounded Edges */
.archive .ast-article-post .ast-article-inner, .blog .ast-article-post .ast-article-inner, .archive .ast-article-post .ast-article-inner:hover, .blog .ast-article-post .ast-article-inner:hover {
  border-top-left-radius: 0; 
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius:0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-single-header {
        flex-direction: column;
    }
    .custom-single-header .left-column,
    .custom-single-header .right-column {
        width: 100%;
        padding: 0;
    }
    .custom-single-header .left-column {
        margin-bottom: 20px;
    }
}

/* Override default Gutenberg stacking on tablet */
@media (max-width: 781px) {
  .team-grid.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
  }
}

/* remove block end on class */
/*
.removeendspacing  {
    margin-block-end: 0;
}
*/


/* Social sharing on blog etc */

.share-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    float: right;
    margin-left: 20px;
}
.share-text {
    margin-right: 10px;
    font-size: 14px;
}
.linkedin-share-icon {
    display: inline-block;
}
.linkedin-share-icon svg {
    width: 24px;
    height: 24px;
    fill: #0077b5;
    transition: fill 0.3s ease;
}
.linkedin-share-icon:hover svg {
    fill: #006699;
}

/* Clear the float after the content */
.custom-single-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Issue with Blue on Mobile */

@media (max-width: 544px) {
.ast-menu-toggle:focus,button:focus {
    -webkit-tap-highlight-color: transparent;
}
}

/* Hide Social Icons */

li.wp-social-link.wp-social-link-x.has-ast-global-color-5-color.wp-block-social-link, li.wp-social-link.wp-social-link-instagram.has-ast-global-color-5-color.wp-block-social-link, li.wp-social-link.wp-social-link-tiktok.has-ast-global-color-5-color.wp-block-social-link {
    display: none;
}

/* Remove side gaps on mobile */
@media (max-width: 768px) {
    .ast-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .site-content {
        padding: 0 !important;
    }
    
    body {
        margin: 0 !important;
        padding: 0 !important;
    }
}