/* ============================
   HEADINGS, LINKS
   ============================ */
h1, h2, h3, h4, h5, h6 { letter-spacing: 0; }
.btPrevNextNav .btPrevNext .btPrevNextItem .btPrevNextTitle { letter-spacing: 0; }

a { text-decoration: none !important; }
a:hover { text-decoration: underline !important; }

/* ============================
   HEADSHOT IMAGE WRAP
   ============================ */
.single-post img.press-headshot {
    float: left;
    margin: 0 20px 14px 0 !important;
    max-width: 230px;
    height: auto;
}

/* ============================
   BLOG POST BLOCKQUOTE – FIXED & RESTORED
   ============================ */

/* Restore theme blockquote but allow wrapping beside floated image */
.single-post blockquote {
    clear: none !important;
    margin: 12px 0;
    padding: 10px 0;
    border-left: none !important;
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: none;
    width: auto;
}

/* Restore original quote mark AND keep it INLINE */
.single-post blockquote:before {
    font-size: 2rem !important;      /* large decorative mark */
    line-height: 0.9;
    vertical-align: text-bottom;     /* keeps mark on same line */
    position: static !important;
    margin-right: 6px;
    display: inline !important;      /* critical: no block-level behavior */
}

/* Remove closing decorative mark */
.single-post blockquote:after {
    content: none !important;
}

/* No internal margins */
.single-post blockquote p {
    margin: 0 !important;
}

/* Reduce space after blockquote when wrapping beside the image */
.single-post blockquote + p {
    margin-top: 4px !important;
}

/* Prevent BoldThemes from forcing paragraphs to clear floats */
.single-post .entry-content > p {
    clear: none !important;
}

/* ============================
   TESTIMONIAL TEXT TUNING
   ============================ */
.quote-tune .bt_bb_testimonial_text span {
    font-size: 1.3rem !important;
    line-height: 1.45 !important;
}

.quote-tune .bt_bb_testimonial_text:before,
.quote-tune .bt_bb_testimonial_text:after {
    font-size: 1.8rem !important;
}

/* ============================
   TIMELINE CARD SHADOW
   ============================ */
.timeline-elevated .bold_timeline_item_inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16,24,40,.30);
  position: relative;
  z-index: 1;
  overflow: visible;
}

.timeline-elevated .bold_timeline_item_content {
  background: transparent;
  border: 0;
  border-radius: inherit;
}

/* ============================
   MOBILE BEHAVIOR
   ============================ */
@media (max-width: 600px) {
    .single-post img.press-headshot {
        float: none;
        display: block;
        margin: 0 0 14px 0 !important;
        max-width: 100%;
    }
    .single-post blockquote {
        margin: 12px 0;
    }
    .single-post blockquote:before {
        display: inline;
        margin-bottom: 0;
    }
}

/* Shrink Bold Builder subheadline */
.bt_bb_headline_subheadline {
    font-size: .85rem !important;   /* adjust down or up as needed */
    line-height: 1.4 !important;
}

/* Optional: lighten it a bit for visual hierarchy */
.bt_bb_headline_subheadline {
    opacity: 0.75;
}

/* ============================
   CONTACT FORM 7 – CAREER FORM
   ============================ */

/* Hide all auto-generated labels EXCEPT upload button */
.btCareer label:not(.file-label) {
  display: none !important;
}

/* Dropdown placeholder style */
.btCareer select option[disabled] {
  color: #999;
}

/* Hide native file input */
.btCareer input[type="file"] {
  display: none;
}

/* Custom upload button */
.btCareer .file-label {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}

/* Hover / focus state */
.btCareer .file-label:hover {
  border-color: #ccc;
}
/* ============================
   TEAM PAGE HOVER CARDS
   ============================ */

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}

.team-member img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
}

.team-member img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.team-member:hover img.hover-img {
    opacity: 1;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,.6);
    color: white;
    padding: 12px 16px;
    box-sizing: border-box;
    opacity: 0;
    z-index: 1;
    transition: opacity .3s ease;
    text-align: right;
    font-size: 1.05em;
}

.team-member:hover .overlay {
    opacity: 1;
}