/*
 Theme Name:   Astra Child
 Theme URI: https://wpastra.com/
 Description:  Child theme for the Astra theme
 Author: Brainstorm Force
 Template:     astra
 Version:      1.0.0
*/

/* Add your custom CSS below */

.ast-article-single figure.wp-block-image,
.ast-article-single figure.wp-block-image img,
.ast-article-single .wp-block-image,
.ast-article-single .wp-block-image img {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.site-above-footer-wrap {
  padding-top: 20px;
  padding-bottom: 20px;
	color: white;
}

.site-above-footer-wrap h2 {
  color: white;
}

.site-above-footer-wrap {
  padding: 25px;
}

.starfish-heading::before {
  content: "";
  background-image: url(https://www.breakawayoutreach.com/wp-content/uploads/2026/02/starfish-bullet.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}


.astra-dark-mode-enable .woocommerce-js label, .astra-dark-mode-enable .woocommerce-js legend {
  color: #000;
}

.wp-element-caption {
  font-size: 12px;
}

.wp-block-latest-posts > li > *, .wp-block-latest-posts:not(.is-grid) > li {
  margin-top: 1px;
}

.entry-content ul, .entry-content ol {
  padding-left: 25px;
}

blockquote {
  padding: 5px;
}

.wp-block-cover {
	margin: -33px !important;
}

.ast-article-post .post-thumb-img-content img {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}

html :where([style*="border-left-width"]) {
  border-left-style: none;
}

/* Mailchimp text black */
.widget_mc4wp_form_widget,
.widget_mc4wp_form_widget * {
    color: #000 !important;
}

/* Make text inside Mailchimp form on pages black */
.mc4wp-form,
.mc4wp-form *, 
.mc4wp-form label,
.mc4wp-form input,
.mc4wp-form p,
.mc4wp-form button {
    color: #000 !important;
}

/* Optional: Make inputs readable (text inside form fields) */
.mc4wp-form input {
    color: #000 !important;
    border-color: #000;
}

/* Optional: Make button readable */
.mc4wp-form input[type="submit"],
.mc4wp-form button {
    background: #000;
    color: #fff !important;
}

.ast-plain-container.ast-no-sidebar .entry-content > .alignfull, .ast-page-builder-template .ast-no-sidebar .entry-content > .alignfull {
  margin-top: -60px;
}

@media (min-width: 921px) {
  .ast-plain-container.ast-right-sidebar .entry-content[data-ast-blocks-layout] .alignfull, .ast-plain-container.ast-left-sidebar .entry-content[data-ast-blocks-layout] .alignfull {
    margin-left: 0px;
    margin-right: 0px;
  }
}

/* Mobile & Tablet: Reset Astra's Negative Top Margin */
@media only screen and (max-width: 768px) {
    .ast-plain-container.ast-no-sidebar .entry-content > .alignfull, 
    .ast-page-builder-template.ast-no-sidebar .entry-content > .alignfull {
        margin-top: 0 !important;
    }
}

/* Force Cover Blocks to 100% Width ONLY on No-Sidebar Pages */
.ast-no-sidebar .wp-block-cover, 
.ast-no-sidebar .wp-block-cover-image {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* Ensure the background overlay spans the full breakout width */
.ast-no-sidebar .wp-block-cover__background, 
.ast-no-sidebar .wp-block-cover__gradient-background {
    width: 100% !important;
    left: 0 !important;
}

/* Prevent horizontal scrollbar "wiggle" on Windows/Chrome */
body {
    overflow-x: hidden;
}

/* Black and White Gallery Class */
.bw-gallery img {
    filter: grayscale(100%) !important;
    -webkit-filter: grayscale(100%) !important; /* Safari support */
    transition: filter 0.5s ease !important;
}
