/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor.
Author: Tu Nombre
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0
*/

/* Header search box */
/* Reset básico */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Banner push down */
.newsletter-banner {
    display: none !important;
    background-color: #006e66;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 15px 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    z-index: 9999;
    transform: translateY(-20px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    align-items: center;
    justify-content: center;
    animation: slideDownPush 0.3s ease-out;
    left: 0;
    right: 0;
    position: fixed;
    top:290px;
}

.newsletter-banner.show {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDownPush {
    from { max-height: 0; opacity: 0; overflow: hidden; }
    to { max-height: 300px; opacity: 1; overflow: visible; }
}

.newsletter-close {
    color: white;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
}

.newsletter-close:hover { opacity: 1; }

.newsletter-form-container {
    width: 100%;
    
    display: flex;
    justify-content: center;
}
.featured-post-container .post-category {
    margin-bottom: 20px;
}

.newsletter-form-container iframe,
.newsletter-form-container div[id*="ion_ionizer"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.mt90 {
    margin-top:190px;
}
.page-content {
    animation: slideDownPush 0.3s ease-out;
    transition: margin-top 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-banner {
        flex-direction: column;
        padding: 10px 20px;
    }
    .newsletter-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
}

body.home .hover-search .e-search-submit, body.wp-singular .hover-search .e-search-submit, body.search-results button.e-search-submit {
	padding: 14px 8px 0 !important;
}
body.category .hover-search .e-search-input {
	margin-top: 10px;
}
body.wp-singular div#search-container {
	margin-top: 0;
}
/* end header search box */
#see-all-archive:hover {
    color: #fff !important;
}
.ad-insert-events {
    width: 728px;
    margin: 0px auto 0px;
}
.events-pagination a {
	color: #000;
}
.research-headline a {
    color: #0000EE;
}
.research-headline a:hover {
    text-decoration: underline;
}
.short-video-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.short-video-layout .post-title {
  margin-bottom: 30px;
  text-align: left;
  color: #000;	
}

.video-wrapper {
  flex-shrink: 0;           
  width: 300px;             
  position: relative;
  padding-top: 47.25%;      
  float: left;
  margin-right: 20px; 
  margin-bottom: 20px; 
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.ehs-pagination a.page-numbers {
    color: #000;
    font-size: 25px;
    display: inline-block;
    margin: 0 10px;
    font-family: proxima-nova;
    font-weight: normal;
}

/* Mobile (hasta 768px) */
@media (max-width: 768px) {
  .short-video-layout .post-title {
    font-family: "Proxima Nova", Sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-align: left;
    color: #000;
  }

  .video-text-columns {
    flex-direction: column;
  }
  
  .video-wrapper {
    flex: none;
    width: 100%;
    min-width: auto;
    padding-top: 100%; 
  }
  
  .post-content {
    flex: none;
    min-width: auto;
  }
}

/* Desktop (desde 769px en adelante) */
@media (min-width: 769px) {
  .short-video-layout .post-title {
    font-family: "Proxima Nova", Sans-serif;
    font-size: 54px;
    font-weight: 800;
    text-align: left;
    color: #000;
  }
}

.post-meta {
    font-size: 17px;
    color: #000;
    margin-bottom: 20px;
    text-align: left;
}
.home-featured-post-container .post-category {
    margin: 15px;
}
.featured .home-featured-post-container h2.post-title {
    margin: 0 15px;
}
.home-featured-post-container .post-excerpt {
    margin: 10px 15px;
}
.category {
    font-family: Proxima-nova;
    font-size: 32px;
    line-height: 35px;
    font-weight: 800;
    margin: 10px 0 10px;
}
.category a {
    color: #00e;
}
.post-excerpt {
    font-family: proxima-nova;
    margin-top: 10px;
    font-size: 20px;
    font-weight: normal;
    line-height: 24px;
}
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body p {
    margin-bottom: 0.5em;
    font-weight: normal;
    line-height: normal;
}

.newcats h2.post-title {
    margin: -2px 0 0 0; 
    line-height: 28px;
}
.newcats h2.post-title:first-child {
    margin: 0;
}
.infographic h2.post-title {
    line-height: 24px;
    margin-bottom: 20px;
}
.post-title a {
    color: #000;
    font-family: proxima-nova, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 24px;
}
.newcats h2 span {
    font-size: 21px;
    font-weight: normal;
    float: right;
}
p.excerpt {
    font-family: proxima-nova, sans-serif;
    margin: 10px 0 20px;
    font-size: 18px;
    line-height: 20px;
}
.elementor-element.elementor-element-c0f940b.elementor-widget-divider--view-line.elementor-widget.elementor-widget-divider {
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}
.elementor-element.elementor-element-06d9bdd.elementor-widget-divider--view-line.elementor-widget.elementor-widget-divider {
    --divider-border-style: solid;
    --divider-color: #ccc;
    --divider-border-width: 1px;
    --kit-widget-spacing: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.elementor-location-footer {
	opacity:0;
	transition: opacity 2s ease-in-out;
}
body.e--ua-blink .elementor-location-footer, body.e--ua-firefox .elementor-location-footer{
	opacity:1;
}

h1.taxonomy {
    margin: 20px auto;
    text-align: center;
    font-size: 96px;
    font-family: 'proxima-nova';
    font-weight: normal;
    color:#000;
    letter-spacing: -3px;
}
.term-product-news div#search-container {
    margin-top: 0;
}
.term-product-news .e-search-submit {
    padding: 14px 8px 0 !important;
}
@media (max-width: 768px) {
	
	h1.taxonomy {
		font-size: 50px;
	}
}
.elementor-element.elementor-element-74c0f84 {
    display: flex;
    flex-direction: row;
}
.elementor-element.elementor-element-c55c238 {
    width: 40%;
    display: inline-block;
}
.elementor-element.elementor-element-5c08e8b {
    display: inline-block;
    width: 59%;
}
.ehs-pagination nav.navigation.pagination {
    justify-content: center;
}
.wp-singular a {
    color: #00e;
}
.home.wp-singular a {
    color: #000;
}
.ehs-pagination .nav-links a {
    display: inline-block;
    margin: 0 10px;
}
.nav-links span.page-numbers.current {
    font-weight: bold;
}
.wp-singular p {
    color: #000;
}
.cat-links a:not(:last-child)::after {
  content: ", ";
}
header .entry-meta {
    margin-bottom: 20px;
}
.recent-posts-list .post-category {
    font-weight: normal;
}
.home #search-container {
    margin-top: 0px;
}
body.category {
	margin: 0;
}
.sub-menu li {
    padding-right: 10px !important;
}
div#newsletter-banner {
    min-height: 250px;
}
@media (min-width:1071px) {
  div#newsletter-form-container {
    min-height: 180px;
  }	
}
@media (min-width:1130px) {
  div#newsletter-form-container {
    min-height: 155px;
  }	
}
@media (max-width:1070px) {
  div#newsletter-form-container {
    min-height: 207px;
  }	
}
@media (max-width:414px) {
	div#newsletter-banner {
		min-height: 270px;
	}
    div#newsletter-form-container {
    	min-height: 248px;
  	}	
}
@media (max-width:560px) {
	
    div#newsletter-form-container {
    	min-height: 230px;
  	}	
}
@media (max-width:395px) {
	
    div#newsletter-form-container {
    	min-height: 250px;
  	}	
}
.sponsored {
    color: #F89C20;
    font-weight: normal;
    font-family: proxima-nova, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}
.category .sponsored, .category-women-in-safety .sponsored, .category-women-in-safety .post-category, .recent-posts-list .post-category {
	margin-bottom: -15px;
}

.search-results div#search-container {
    margin-top: 0px;
}
.related-events .article-image img {
    min-height: 245px;
    width: auto;
}
.related-events.resources .article-image img {
    max-height: 190px !important;
    min-height: inherit !important;
    aspect-ratio: 16/9;
}
.white-paper .container .event-title a {
    color: white;
}
.white-paper .container {
    padding: 40px 10px;
    margin-bottom: 10px;
    min-height: 190px;
    display: flex;
    place-content: center;
    flex-wrap: wrap;
}
.white-paper .container .event-title a {
    font-size: 20px;
}
.event-info {
	padding: 0;
}
.event-info .event-taxonomy {
	margin-bottom: 5px;
}

.post-type-archive-product div#search-container {
    margin-top: 0;
}
.product-grid {
    display: grid;
    grid-template-columns: 1fr;   
    gap: 30px;
}
@media (min-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.featured-product {
    display: flex;
    align-items: stretch; 
    gap: 0px;
    margin-bottom: 30px;
}

.featured-right {
    border-right: 0.5px solid #ddd;
    border-bottom: 0.5px solid #ddd;
    border-top: 0.5px solid #ddd;
    padding: 10px;
}

.featured-left {
    border-top: 0.5px solid #ddd;
    border-left: 0.5px solid #ddd;
    border-bottom: 0.5px solid #ddd;
}

.product-link {
    border: 0.5px solid #ddd;
    padding: 5px 30px;
}

.featured-product-image {
    flex: 1 1 50%;
    padding: 0;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.featured-product-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-right,.featured-left {
    width: 50%;
}

@media (max-width: 768px) {
    .featured-product {
        flex-direction: column;
    }

    .featured-product-image,
    .featured-product-content {
        flex: 1 1 100%;
    }

    .featured-product-image img {
        height: auto;
    }
}


.product-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  padding: 0;
  background: #fff;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 248px;
}

.product-info {
  padding-top: 10px;
  flex: 1;
  margin: 0 10px;
}

.product-category {
    font-size: 1rem;
    font-weight: normal;
    color: #000;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-excerpt {
  font-size: 0.95rem;
  color: #444;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 10px 10px;
}

.product-logo img {
  max-width: 80px !important;
  height: auto;
}
.product-title a {
    color:#000;
    font-weight: bold;
    font-family: 'proxima-nova', Sans-Serif;
}
.product-link a {
    color: #000;
    font-family: 'proxima-nova', Sans-Serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 20px;
}

@media screen and (max-width: 770px) {
    .featured-right,.featured-left {
    width: 100%;
    border: none;
}

}

.product-link a:hover {
  
}
.featured-article-container {
    display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 30px;
        margin: 30px 0;
}
.featured-article-text, .featured-article-image {
    flex: 1 1 48%;
        box-sizing: border-box;

}
.featured-article-category {
    text-transform: uppercase;
    font-family: 'proxima-nova';
    font-size: 20px;
    font-weight: lighter;
    margin: 0;
}
h2.featured-article-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 28px;
    font-family: 'proxima-nova';
}
h2.featured-article-title a {
    color: #000;
}
.featured-article-image img {
	object-fit: cover;
	width: 100%;
}
.featured-article-content p {
    font-family: 'proxima-nova';
    font-size: 25px;
    font-weight: 400;
    line-height: 30px;
}
.ad-flex-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
	margin: 40px 0;
}
.ad-left {
    width: 70%;
}
@media (max-width:550px) {
  .ad-flex-container {
    flex-direction: column;
  }
  .ad-left {
    width: 100%;
  }
}
/* Contenedor completo de la sección del ad */
.ad-section-wrapper {
    width: 100%;
    margin: 2rem 0;
}

/* Separadores */
.ad-separator {
    width: 100%;
    height: 1px;
    background-color: #d1d1d1;
    margin: 0;
}

.ad-separator-top {
    margin-bottom: 0;
}

.ad-separator-bottom {
    margin-top: 0;
}

/* Main ad container */
.ad-leaderboard-container {
    width: 100%;
    margin-top: -60px;
    padding-bottom: 40px; 
    text-align: center;
    overflow: visible;
    background: transparent;
}

/* Wrapper */
.ad-leaderboard-wrapper {
    width: 728px;
    max-width: 100%;
    height: 90px;
    margin: 0 auto;
    overflow: visible;
    display: inline-block;
}


#div-gpt-ad-1750186970321-0 {
    width: 728px;
    max-width: 100%;
    height: 90px;
    display: block;
    overflow: visible;
    margin: 0;
    padding: 0;
}

/* Container */
#google_ads_iframe_/309602/EHSDA/EHSDA-leader2_0__container__ {
    width: 728px;
    max-width: 100%;
    height: 90px;
    display: block;
    overflow: visible;
    border: 0;
    margin: 0;
}

/* iframe */
#google_ads_iframe_/309602/EHSDA/EHSDA-leader2_0 {
    width: 728px;
    max-width: 100%;
    height: 90px;
    border: 0;
    vertical-align: bottom;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .ad-section-wrapper {
        display: none;
    }
}
article.recent-post {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 45px !important;
}
.ad-leaderboard-container {
    width: 100%;
    margin-top: -60px;
    padding-bottom: 40px; 
    text-align: center;
    overflow: visible;
    background: transparent;
}