/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0

Note: For reliable overrides, enqueue this stylesheet late (priority ~999) in functions.php.
*/

/* --- General tweaks --- */
.vert-center > p { display: none; }

.df-ui-btn.df-ui-share.df-icon-share { display: none !important; }

.social-link-list-bullet { margin: 30px; }

.djepcode > div:first-child {
  background: #289bff !important;
  font-size: 22px !important;
  padding: 18px !important;
}
.djepcode .questiontitle { color: black !important; }

/* --- SoundCloud/Vimeo grids (clean 3-up with wrap) --- */
.soundcloud-grid,
.vimeo-grid {
  display: flex;
  flex-wrap: wrap;
}
.soundcloud-grid > .acf-view__row,
.vimeo-grid > .acf-view__row {
  /* three across with 10px padding on each side */
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  padding: 10px;
  box-sizing: border-box;
}

/* --- Work/portfolio meta visibility tweaks --- */
.work-meta > p { display: none; }

.page-id-6483 .portfolio-items .work-meta,
.page-id-6532 .portfolio-items .work-meta {
  text-align: center;
  position: absolute;
  width: 100%;
  padding: 10px;
  font-size: 11px;
  background-color: #4f94d4;
  top: 0;
  float: none;
  width: 100% !important;
}
.page-id-6483 .portfolio-items .work-meta img,
.page-id-6532 .portfolio-items .work-meta img { width: 100% !important; }

.page-id-6483 .portfolio-items .work-meta .title,
.page-id-6532 .portfolio-items .work-meta .title { color: #fff !important; }

.page-id-6483 .portfolio-items .work-item,
.page-id-6532 .portfolio-items .work-item {
  margin-top: 22px !important;
  margin-bottom: 22px !important;
}

.btn-submit-blue { color: #fff !important; }

/* --- Portfolio single template layout overrides --- */
#all-items,
.portfolio-template-default #breadcrumbs { display: none !important; }

.portfolio-template-default .post-area { width: 100% !important; }

.portfolio-template-default .wp-post-image {
  width: 100%;
  height: auto; /* prevent distortion */
}

.portfolio-template-default #sidebar { display: none !important; }

/* --- ACF view styling & icon bullets --- */
.acf-view__row div:first-child{
  font-weight: bold;
  margin-top: 20px;
}

/* Use FA6/FA5 brands when available; fall back to FA4 "FontAwesome" */
.acf-view__twitter div:first-child::before{
  font-family: "Font Awesome 6 Brands","Font Awesome 5 Brands","FontAwesome","fontawesome";
  font-weight: 400;
  margin-right: 10px;
  content: '\f099';
}
.acf-view__instagram div:first-child::before{
  font-family: "Font Awesome 6 Brands","Font Awesome 5 Brands","FontAwesome","fontawesome";
  font-weight: 400;
  margin-right: 10px;
  content: '\f16d';
}
.acf-view__facebook div:first-child::before{
  font-family: "Font Awesome 6 Brands","Font Awesome 5 Brands","FontAwesome","fontawesome";
  font-weight: 400;
  margin-right: 10px;
  content: '\f230';
}
/* .acf-view__vimeo div:first-child::before{
  font-family: "Font Awesome 6 Brands","Font Awesome 5 Brands","FontAwesome","fontawesome";
  font-weight: 400;
  margin-right: 10px;
  content: '\f27d';
} */

.hall-of-fame .hover-wrap-inner { position: relative; }

.social-link-list-bullet ul {
  padding: 0 !important;
  text-align: left;
  list-style-type: none !important;
  margin-top: 20px;
}
.social-link-list-bullet li {
  list-style-type: none;
  margin-bottom: 15px;
}
.social-link-list-bullet li i {
  margin-right: 20px;
  width: 23px;
}

.wpb_raw_code textarea,
.wpb_raw_code input {
  border: 1px solid #000 !important;
  color: #000 !important;
}

.hall-of-fame .hover-wrap-inner::before{
  top: 50%;
  position: absolute;
  display: block;
  z-index: 0;
  content: "";
  width: 100%;
  background-color: #1b355e;
  height: 3px;
}

#page-header-bg h1,
.home h1.top-heading {
  text-shadow: 2px 4px #135e96, 0 0 7px rgba(0, 0, 0, 1);
}

.enhancements-grid .vc_column-inner { height: 100% !important; }

.home .flickity-slider blockquote .inner {
  background: rgb(30, 115, 190) !important;
  color: #fff;
}
.home .flickity-slider .title {
  color: #000;
  font-weight: bold;
}

/* --- Mobile adjustments --- */
@media all and (max-width: 768px) {
  .soundcloud-grid,
  .vimeo-grid {
    display: flex;
    flex-direction: column;
  }
  .soundcloud-grid > .acf-view__row,
  .vimeo-grid > .acf-view__row {
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .four-reasons .box-inner-wrap {
    padding: 20px 5px !important;
    margin-top: 40px;
  }
  .four-reasons .inner { min-height: auto !important; }

  #slide-out-widget-area { padding: 0 !important; }
  .menu-item a { font-size: 20px !important; }
  #header-outer { padding: 0 !important; }

  .callout-reduce h2 { font-size: 22px; }
  .callout-reduce h2 em::before { background: transparent !important; }

  .testimonial_slider { padding-bottom: 20px !important; }
  .testimonial_slider blockquote {
    font-size: 18px;
    line-height: 20px;
  }

  .star-rating-wrap { display: none !important; }

  #copyright, #footer-widgets { text-align: center; }

  .big-callout-reduce h1 {
    font-size: 20px;
    line-height: 27px !important;
  }
}






