/*
 Theme Name:   Evok Advertising
 Theme URI:    https://evokad.com/
 Description:  Custom GeneratePress Child Theme
 Author:       Evok Advertising
 Author URI:   https://evokad.com/
 Template:     generatepress
 Version:      0.1
*/

/*WPML Dropdown*/

span.wpml-ls-native {
	font-size: 14px;
	 margin: auto;
}

.gp-icon svg {
    height: 24px;
    width: 23px;
    top: 7px;
    position: relative;
    fill: var(--contrast-2);
}

h3.stories-title {
    display: flex;
    justify-content: center;
    justify-self: center;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
    width: auto;
	color: var(--contrast);
}

h4.mec-event-title{
	color: var(--contrast) !important;
}

.mec-events-meta-group.mec-events-meta-group-tags{
	display:none;
}

a.mec-booking-button.mec-bg-color {
    height: auto;
}

.contrast{
	color: var(--contrast);
}

.mec-events-search-container .mec-search-form .mec-dropdown-wrap {
    display: none;
    width: 0;
    table-layout: fixed;
}

.wpsl-street, .wpsl-country {
    display: block;
    border-bottom: none !important;
    color: white;
}

/* Force both footers to use the same background styling */
#footer-en.gb-element-4662b23e,
#footer-es.gb-element-4662b23e {
    background-image: url(https://staging2.knowyourhivstatus.com/wp-content/uploads/2025/05/footer-background.png) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: normal !important;
}

/* Hide English button on Spanish pages */
.site-lang-spanish .english-button,
body[class*="es-es"] .english-button,
html[lang*="es"] .english-button {
    display: none !important;
}

/* Hide Spanish button on English pages */
.site-lang-english .spanish-button,
body:not([class*="es-es"]) .spanish-button,
html[lang*="en"]:not([lang*="es"]) .spanish-button {
    display: none !important;
}

/* Force show correct button based on URL as final safeguard */
body:not([class*="es-es"]):not([class*="site-lang-spanish"]) .english-button {
    display: inline-block !important;
}

body[class*="es-es"] .spanish-button,
body[class*="site-lang-spanish"] .spanish-button {
    display: inline-block !important;
}


.stories-container {
  width: 100%;
  display: flex;
  justify-content: center;
}