/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* === CUSTOM STYLES START === */




/* Force horizontal layout */
.ast-header-social-1-wrap .header-social-inner-wrap {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

/* Icon sizing and spacing */
.ast-builder-social-element svg {
  width: 30px !important;
  height: 30px !important;
}
.ast-builder-social-element {
  margin-right: 10px !important;
}
.ast-builder-social-element:last-child {
  margin-right: 0 !important;
}

/* Icon brand colors */
.ast-builder-social-element.ast-facebook svg {
  fill: #1877f2 !important;
}
.ast-builder-social-element.ast-instagram svg {
  fill: #e4405f !important;
}
.ast-builder-social-element.ast-youtube svg {
  fill: #ff0000 !important;
}

/* Hover effect */
.ast-builder-social-element:hover svg {
  opacity: 0.7 !important;
}

/* Image block tweaks */
.wp-block-image {
  margin-bottom: 0 !important;
}
/*.uagb-block__inner-wrap {
  text-align: center;
}*/

.uagb-image__content {
  margin: 0 auto;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .equal-width-mobile {
    flex-basis: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html, body {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }
} /* ← ✅ CLOSING BRACE FIXED */

@media (max-width: 767px) {
  .wp-site-blocks,
  .wp-block-group,
  .wp-block-columns,
  .wp-block-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
} /* ← ✅ CLOSING BRACE FIXED */

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .wp-block-columns {
    align-items: stretch !important;
  }

  .wp-block-column {
    display: flex;
    flex-direction: column;
  }

  .wp-block-column > * {
    flex-grow: 1;
  }

  .wp-block-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .wp-block-column h2,
  .wp-block-column h3 {
    margin-top: 1.5rem !important;
  }
}

/* ===== MOBILE LANDSCAPE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 2.5rem;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.93) 25%,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(255, 255, 255, 0.75) 70%,
      rgba(255, 255, 255, 0.4) 85%,
      rgba(255, 255, 255, 0.1) 95%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .text-margin-zero {
    margin-bottom: 0 !important;
    align-self: flex-end;
  }
}

/* ===== LOGO ===== */
.ast-site-identity img {
  height: auto;
  max-width: 100%;
  aspect-ratio: 2054 / 136;
  display: block;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/astra-local-fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/wp-content/astra-local-fonts/barlow-semi-condensed/wlpigxjLBV1hqnzfr-F8sEYMB0Yybp0mudRfp66_B2sl.woff2') format('woff2');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Semi Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif !important;
}





