/* 
Theme Name: The Performance Shift
Theme URI: theperformanceshift.com
Description: The Performance Shift is a child theme of Hello Elementor, created by the team at Seventeenth & Blake! 
Author: Seventeenth and Blake, LLC - A Digital Growth Agency
Author URI: https://www.seventeenthandblake.com
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/




/* Desktop: swap image and text when .reverse_columns is applied */
@media (min-width: 768px) {
  .reverse_columns .e-con-inner {
	display: flex; /* just to be safe */
  }

  .reverse_columns .e-con-inner > .e-child:first-child {
	order: 2; /* image column */
  }

  .reverse_columns .e-con-inner > .e-child:last-child {
	order: 1; /* text column */
  }
}


/* Base featured image widget */
.featured-img {
    overflow: hidden;    
}

/* Make the image fill that box */
.featured-img img {
    width: 100%;
    height: 525px !important;      
    object-fit: cover;
    object-position: center center; /* default */
    display: block;
}

/* Variants driven by ACF */
.fi-pos-top img {
    object-position: top center;
}

.fi-pos-center img {
    object-position: center center;
}

.fi-pos-bottom img {
    object-position: bottom center;
}



/* HEADER */

@media (min-width: 1024px) and (max-width: 1235px) {

    .web-menu .elementor-nav-menu--main {
        display: none;
    }

    .web-menu .elementor-menu-toggle {
        display: block !important;
    }

    .web-menu .elementor-nav-menu--toggle .elementor-menu-toggle:not(.elementor-active)+.elementor-nav-menu__container {
        overflow: visible !important;
    }

    .web-menu .elementor-nav-menu--dropdown-tablet .elementor-menu-toggle, .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--dropdown {
        display: block !important;
    }
}


/* HOME */

/* TRUSTED PARTNER LOGO */

.logos-sec {
  position: relative !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  background: #131416 !important;
}

.logos-sec::before,
.logos-sec::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  height: 100% !important;
  width: 120px !important; /* adjust fade width if needed */
  z-index: 20 !important;
  pointer-events: none !important;
}

.logos-sec::before {
  left: 0 !important;
  background: linear-gradient(to right, #131416 20%, rgba(19,20,22,0)) !important;
}

.logos-sec::after {
  right: 0 !important;
  background: linear-gradient(to left, #131416 20%, rgba(19,20,22,0)) !important;
}

/* STROKE HEADING */
/* 
.stroke-heading {
  display: inline-block;
  font-size: 64px;
  color: transparent;
  -webkit-text-stroke: 2px white;
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 80%), rgba(0,0,0,0));
  -webkit-mask-clip: text;
  -webkit-mask-repeat: no-repeat;
  transform: translateZ(0);
  backface-visibility: hidden;
}

 */

.stroke-heading h2{
    font-size: 64px;
    color: transparent;
    -webkit-text-stroke: 2px white;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 80%), rgba(0,0,0,0));
    -webkit-mask-clip: text;
    -webkit-mask-repeat: no-repeat;
}

.stroke-text {
    color: transparent; 
    -webkit-text-fill-color: transparent; 
    -webkit-text-stroke: 2px #fff; 
    letter-spacing: 2px;
}



/* TESTIMONIAL CONTAINER */

.align-container {
    width: 100%;
    padding-left: calc((100vw - 1440px) / 2);
    box-sizing: border-box;
}

/* FAQS SECTION */

summary.e-n-accordion-item-title {
    padding-bottom: 15px !important;
    padding-top: 0px !important;
}


/* SPECIALIST SINGLE TEMPLATE */

.single-specialists .ftr-cta {
    display: none;
}

/* CONTACT US */

.page-id-306 .ftr-cta {
    display: none;
}

/* Book a Consultation */

.page-id-313 .ftr-cta {
    display: none;
}

/* BLOG PAGE  FILTER*/

.taxonomy-dropdown {
  width: 200px;
  padding: 10px 14px;
  font-size: 16px;
  font-family: 'Karla', sans-serif;

  border-radius: 0;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.2s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  outline: none; /* remove outline */
}

.taxonomy-dropdown:focus,
.taxonomy-dropdown:active,
{
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

.taxonomy-dropdown option {
  background-color: #111111;
  color: #fff;
  font-family: 'Karla', sans-serif;
}

@media (max-width: 768px) {
  .taxonomy-dropdown {
    font-size: 14px;
    padding: 8px 10px;
  }  
  
}

/**
 * FAQ Accordion Styles
 * Save as: /css/faq-accordion.css in your theme directory
 */

.faq-accordion {
    max-width: 100%;
    margin: 0;
}

.faq-item {
    border-bottom: 2px solid #000;
}

.faq-item:first-child {
    border-top: 2px solid #000;
}

.faq-question {
    width: 100%;
    padding: 30px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
    color: #000;
}

.faq-question:hover {
    opacity: 0.7;
}

.faq-question:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
}

.faq-question-text {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer-content {
    padding: 0 0 30px 0;
    line-height: 1.7;
    font-size: 16px;
    color: #333;
}

.faq-answer-content p:first-child {
    margin-top: 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}


/**
 * FAQ Accordion Styles
 * Save as: /css/faq-accordion.css in your theme directory
 */

.faq-accordion {
    max-width: 100%;
    margin: 0;
}

.faq-item {
    border-bottom: 2px solid #000;
}

.faq-item:first-child {
    border-top: 2px solid #000;
}


.faq-question {
    width: 100%;
    padding: 30px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Changed from center to flex-start */
    gap: 20px; /* Added gap for better spacing */
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
    color: #000;
}

.faq-question:hover {
    opacity: 0.7;
    background-color: transparent !important; 
    
}

.faq-question:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
    background-color: transparent !important; 
}

.faq-question:active {
  background-color: transparent !important; 
}


.faq-question-text {
    flex: 1;
    padding-right: 0; /* Removed padding since gap handles it */
    word-wrap: break-word; /* Added to force wrapping */
    overflow-wrap: break-word; /* Added for better browser support */
    white-space: normal; /* Added to allow wrapping */
    color: #000 !important;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    color: #000 !important;
    
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer-content {
    padding: 0px 25px 30px 25px;
    line-height: 1.7;
    font-size: 17px;
    color: #333;
}

.faq-answer-content p:first-child {
    margin-top: 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}







