/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/

/* This block no longer used - Font changed to Betterworks instead */
/*  Import Great Vibes & Satisfy from Google Fonts */
/* @import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Satisfy&display=swap"); */

/* 2) Override for Qode slide subtitles: force Great Vibes */
/* h4.q_slide_subtitle {
  font-family: 'Satisfy', cursive !important;
} */


/* 1) Font Face declaration for Betterworks */
@font-face {
  font-family: 'Betterworks';
  src: url('fonts/betterworks-webfont.woff2') format('woff2'),
       url('fonts/betterworks-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* 2) Override for Qode slide subtitles: use Betterworks custom font */
h4.q_slide_subtitle {
  font-family: 'Betterworks', cursive !important;
}

/* Import parent theme stylesheet */
@import url("../bridge/style.css");

/* Uploaded and installed Fonts */
@font-face {
  font-family: 'Adobe Caslon Pro';
  src: url('fonts/ACaslonPro-Regular.woff2') format('woff2'),
       url('fonts/ACaslonPro-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Betterworks';
  src: url('fonts/betterworks-webfont.woff2') format('woff2'),
       url('fonts/betterworks-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* CSS classes that apply these fonts */
.acaslonpro {
  font-family: 'Adobe Caslon Pro', serif;
}

.betterworks {
  font-family: 'Betterworks', sans-serif;
}

/* Simulates Boldness for Slides "subtitles" */
.carousel-inner h4.q_slide_subtitle {
  font-family: 'Betterworks', cursive;
  font-weight: 400 !important; /* force to regular, the only available weight */
  text-shadow:
    0.02em 0 currentColor,
    -0.02em 0 currentColor,
    0 0.02em currentColor,
    0 -0.02em currentColor !important;
}

/* Hide all post info elements (date, author, category, likes, share) on archive and list pages */
.blog_holder .post_info,
.blog_holder .qode-like,
.blog_holder .blog_share,
.blog_holder .post_info_date,
.blog_holder .post_info_author,
.blog_holder .post_info_category,
.archive .post_info,
.archive .qode-like,
.archive .blog_share,
.post-info-section {
  display: none !important;
}
.blog_holder .date.entry_date.updated {
  display: none !important;
}

/* Style sidebar widget headings inside Elementor Sidebar widget */
/* Target all widget headings in Bridge sidebars */
.elementor-widget-sidebar .widget.widget_recent_entries h5,
.elementor-widget-sidebar .widget.widget_categories h5,
.elementor-widget-sidebar .widget.widget_tag_cloud h5 {
    color: #0073AE !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Force Tag Cloud links to 16px + Raleway */
/* This works! */
.widget_tag_cloud .tagcloud a {
  font-family: 'Raleway', sans-serif !important;
  font-size: 16px !important;  /* beats inline pt size */
  line-height: 32px !important;
}


/* Force Donate button styles in sticky header (visited and unvisited) */
header a.button_donate,
header a.button_donate:visited {
  color: #ffffff !important;          /* White text */
  background-color: #6ec1e4 !important; /* Blue background */
  border-color: #6ec1e4 !important;   /* Blue border */
  font-weight: 600 !important;
  border-radius: 5px !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

/* Hover state in sticky header */
header a.button_donate:hover,
header a.button_donate:visited:hover {
  color: #000000 !important;          /* Black text */
  background-color: #61ce70 !important; /* Green background */
  border-color: #61ce70 !important;
}

/* Fix Team card alignment for Positions and future Descriptions */
.q_team {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.q_team_inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.q_team_text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.q_team_title_holder {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}

.q_team_title_holder span {
  display: inline-block;
  line-height: 1.4; /* Adjust line spacing if needed */
  min-height: 2.8em; /* Reserve space for 2 lines of text */
  vertical-align: bottom;
}
/* STYLING WPForm confirmation message */
/* 1. Style the confirmation message box itself */
#wpforms-confirmation-24553 p {
  background-color: #def1f7 !important;
  padding: 20px 30px;
  border-radius: 6px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #000;
}

/* 2. Remove green background from the confirmation wrapper only */
#wpforms-confirmation-24553.wpforms-confirmation-scroll {
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 auto;
  box-shadow: none !important;
  border: none !important;
}

/* 3. Only remove background from the Elementor container when confirmation is visible */
.elementor-element-60fdba8 .elementor-widget-container:has(#wpforms-confirmation-24553) {
  background-color: transparent !important; /* or #ffffff for white */
  padding: 0 !important;
}

/* Menu Anchor with zero height */
.elementor-widget-menu-anchor.no-gap-anchor {
  display: block;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}








