/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


 /* ========================================
   ANIMACIONES
======================================== */

/* Botón de video con efecto "heartbeat" */
.ct-pulse {
	border-radius: 50%;
	-webkit-animation: pulse 2s ease-out infinite;
	animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
	80%  { box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); }
}

/* ========================================
   TIPOGRAFÍA GLOBAL
======================================== */

body,
h1, h2, h3, h4, h5, h6,
label, figcaption,
.wp-block-quote, .wp-block-pullquote,
.ct-label, .site-title, .entry-meta,
.ct-menu-badge, .entry-excerpt, .ct-post-title,
.ct-breadcrumbs, .ct-header-text, .ct-product-sku,
.author-box-bio, .author-box-name, .ct-contact-info,
.site-description, .page-description, .mobile-menu a,
.menu .ct-menu-link, .comment-reply-title,
.ct-footer-copyright, .ct-language-switcher,
:where(pre, code, samp, kbd),
.onsale, .out-of-stock-badge, [class*="ct-woo-badge-"],
:is(.entry-summary, [data-products], .ct-trending-block, .ct-added-to-cart-product) .price,
.ct-waitlist-message, .woocommerce-tabs .tabs,
.woocommerce-tabs .ct-accordion-heading,
.woocommerce-result-count, .ct-header-account-dropdown,
.ct-module-title:is(p, span),
.related-entry-title:is(p, span),
.woocommerce-loop-product__title:is(p, span),
.woocommerce-loop-category__title:is(p, span),
.ct-shortcuts-bar, .ct-widget > *,
.ct-dynamic-data-layer, .ct-dynamic-filter,
.ct-search-results, .tutor-ratings, .tutor-meta > *,
.tutor-course-details-title, .tutor-course-details-actions > a,
.ct-language-switcher ul[data-placement] {
	font-family: "Proxima", sans-serif !important;
}

[data-prefix="portfolio_single"] .entry-header .page-title, 
[data-prefix="portfolio_archive"] .entry-header .page-title,
[data-prefix="single_blog_post"] .entry-header .page-title {
	line-height: 1;
	text-wrap-style: balance;
}

:is(.is-layout-flow,.is-layout-constrained) :where(h1,h2,h3,h4,h5,h6) {
	margin-top: 1rem; 
}

/* ========================================
   SWITCH DE IDIOMA (Bogo)
======================================== */

.bogo-language-switcher.list-view {
	display: flex;
	justify-content: flex-start;
	font-size: 11pt;
}

/* ========================================
   PORTFOLIO - GENERAL
======================================== */

.tlp-portfolio #header-menu-1 ul li {
	margin-bottom: 0;
}

.tlp-portfolio button {
	margin: 0 !important;
}

.tlp-portfolio .layout1 .tlp-portfolio-thum {
	border-radius: 10px;
}

/* balance para los titulares en las grillas */
.tlp-portfolio-item .tlp-content-holder {
	  text-wrap: balance;
}

/* Página individual del portfolio */
.single-portfolio article.hentry.portfolio {
	position: relative;
	margin-top: -4rem;
	z-index: 2;
}

/* miniaturas del portfolio  */
.tlp-portfolio-thum img {
	min-height: 200px;
  object-fit: cover;
	object-position: center center;
}

@media (min-width: 768px) {
	.tlp-portfolio-thum img {
		max-height: 200px;
	}
}


/* ========================================
   INICIO / HOME
======================================== */

/* Colores de enlaces en home */
.home .tlp-content-holder a {
	color: white;
}

/* Logo sticky con sombra */
.home [data-sticky="fixed:shrink"] .site-logo-container img.default-logo {
	filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 1));
}

/* Iconos interactivos en cajas del home */
.home .stk-hover-parent .icon-hidro {
	background: url('https://hydrogyc.com/wp-content/uploads/2025/03/hydro.png') no-repeat;
}

.home .stk-hover-parent:hover .icon-hidro {
	background: url('https://hydrogyc.com/wp-content/uploads/2025/03/hydro_h.png') no-repeat;
}

.home .stk-hover-parent .icon-agri {
	background: url('https://hydrogyc.com/wp-content/uploads/2025/03/agri.png') no-repeat;
}

.home .stk-hover-parent:hover .icon-agri {
	background: url('https://hydrogyc.com/wp-content/uploads/2025/03/agri_h.png') no-repeat;
}

.home .stk-hover-parent .icon-sane {
	background: url('https://hydrogyc.com/wp-content/uploads/2025/03/saneamento-1.png') no-repeat;
}

.home .stk-hover-parent:hover .icon-sane {
	background: url('https://hydrogyc.com/wp-content/uploads/2025/03/saneamento_h.png') no-repeat;
}

.home .stk-hover-parent:hover .stk-block-divider__hr {
	background: white !important;
}

/* ========================================
   COLORES NAVBAR SEGÚN CATEGORÍA
======================================== */

/* Riscos */
.page-id-689[data-header*="type-1"] .ct-header [data-row*="middle"],
.portfolio-cat-riscos-hidrogeoclimaticos[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-avaliacao-financeira-na-mitigacao-de-riscos[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-riscos-hidrogeoclimaticos[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-gestao-de-riscos-hidricos[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-gestao-de-riscos-em-infraestrutura[data-header*="type-1"] .ct-header [data-row*="middle"] {
	background-color: #e8b219;
}

/* Agricultura */
.page-id-691[data-header*="type-1"] .ct-header [data-row*="middle"],
.portfolio-cat-agricultura[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-agricultura[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-avaliacao-e-planejamento[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-design-e-engenharia[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-monitoramento-analise-e-otimizacao[data-header*="type-1"] .ct-header [data-row*="middle"] {
	background-color: #529882;
}

/* Agua */
.page-id-695[data-header*="type-1"] .ct-header [data-row*="middle"],
.portfolio-cat-agua-esgoto[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-agua-esgoto[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-ferramentas-de-gestao-hidrica[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-sistemas-de-agua-residual-domestica[data-header*="type-1"] .ct-header [data-row*="middle"],
.term-sistemas-de-agua-potavel[data-header*="type-1"] .ct-header [data-row*="middle"]{
	background-color: #0076b1;
}

/* ========================================
   COLORES DE TÍTULOS SEGÚN CATEGORÍA
======================================== */

article.portfolio-category-agua-esgoto h1,
article.portfolio-category-agua-esgoto h2,
article.portfolio-category-agua-esgoto h3 {
	color: #0076b1;
}

article.portfolio-category-riscos-hidrogeoclimaticos h1,
article.portfolio-category-riscos-hidrogeoclimaticos h2,
article.portfolio-category-riscos-hidrogeoclimaticos h3 {
	color: #e8b219;
}

article.portfolio-category-agricultura h1,
article.portfolio-category-agricultura h2,
article.portfolio-category-agricultura h3 {
	color: #529882;
}

/* ========================================
   COLORES VARIOS SEGÚN CATEGORÍA
======================================== */

.category-agua-e-esgoto figure.wp-block-pullquote {
	border-color: #0076b1;
	border-color: #3274AC;
}

.category-riscos-hidrogeoclimaticos figure.wp-block-pullquote {
  border-color: #e8b219;
	border-color: #3274AC;
}

.category-agricultura figure.wp-block-pullquote {
  border-color: #529882;
	border-color: #3274AC;
}

figure.wp-block-pullquote blockquote:before {
	color: #3274AC;
}

/* ========================================
   FONDOS SEGÚN CATEGORÍA
======================================== */

.single-portfolio .ct-container-full {
	background: url('https://hydrogyc.com/wp-content/uploads/2025/02/fondo-novedades-home.jpeg') no-repeat bottom center;
	background-blend-mode: overlay !important;
}

.portfolio-cat-agua-esgoto .ct-container-full {
	background-color: #c8dceb;
}

.portfolio-cat-agricultura .ct-container-full {
	background-color: #d0e0df;
}

.portfolio-cat-riscos-hidrogeoclimaticos .ct-container-full {
	background-color: #f4f5f0;
}

/* Encabezados por categorías 
.single-portfolio .hero-section {
	background-color: #333 !important;
  background-blend-mode: multiply;
}*/

.term-agricultura .hero-section[data-type="type-2"], 
.term-monitoramento-analise-e-otimizacao .hero-section[data-type="type-2"], 
.term-design-e-engenharia .hero-section[data-type="type-2"], 
.term-avaliacao-e-planejamento .hero-section[data-type="type-2"]{
	background-color: rgba(82, 152, 130, 0.7);
}

.term-agua-esgoto .hero-section[data-type="type-2"], 
.term-ferramentas-de-gestao-hidrica .hero-section[data-type="type-2"],
.term-sistemas-de-agua-residual-domestica .hero-section[data-type="type-2"],
.term-sistemas-de-agua-potavel .hero-section[data-type="type-2"] {
	background-color: rgba(0, 118, 177, 0.7);
}

.term-avaliacao-financeira-na-mitigacao-de-riscos .hero-section[data-type="type-2"],
.term-riscos-hidrogeoclimaticos .hero-section[data-type="type-2"],
.term-gestao-de-riscos-em-infraestrutura .hero-section[data-type="type-2"],
.term-gestao-de-riscos-hidricos .hero-section[data-type="type-2"]{
	background-color: rgba(232, 178, 26, 0.7);
}

.single-portfolio .hero-section img {
	opacity: 0.4;
}

.single-portfolio.portfolio-cat-agua-esgoto .hero-section {
	background-color: #0076b1;
}

.single-portfolio.portfolio-cat-agricultura .hero-section {
	background-color: #529882;
}

.single-portfolio.portfolio-cat-riscos-hidrogeoclimaticos .hero-section {
	background-color: #e8b219;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img,
.wp-block-gallery.has-nested-images figure.wp-block-image img{
	border: 0.5rem solid white !important;
}

/* ========================================
   Formularios
======================================== */

.wpforms-field-container label {
	color: #0C2F69;
}

.wpforms-submit-container [type=submit] {
	background-color:#0c2f69;
}
.wpforms-submit-container [type=submit]:hover {
	background-color: #3274AC;
}

/* ========================================
   Traductor
======================================== */
a.glink {
	color: rgba(255,255,255,0.6);
	transition: all 0.25s linear;
}

a.glink.gt-current-lang {
	font-weight: normal;
	color: white;
}

/* ========================================
   MALDITAS BREADCRUMBS
======================================== */
.rch-malditas-breadcrumbs {
	background-color: #00000099 !important;
  position: absolute;
	top: 71px;
	z-index: 10;
	width: 100%;
	font-size: 13px;
	color: white;
	padding: 17px 0;
}

@media (min-width: 992px) {
	.rch-malditas-breadcrumbs {
		top: 101px;
	}
}

.blog .rch-malditas-breadcrumbs {
	background-color: #000000db !important;
}

.rch-malditas-breadcrumbs .breadcrumb {
	max-width: 1290px;
	padding-inline: 1rem;
	margin: auto;
}

.rch-malditas-breadcrumbs .breadcrumb-items {
	list-style: none;
	padding-left: 0 !important;
    display: flex;
}

.rch-malditas-breadcrumbs .breadcrumb-item.breadcrumb-item--parent,

.rch-malditas-breadcrumbs .breadcrumb-item.breadcrumb-item--current {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rch-malditas-breadcrumbs .breadcrumb-item + .breadcrumb-item:before {
	content: "/";
	margin: 0.3rem;
	
}

.rch-malditas-breadcrumbs .breadcrumb-item a {
	color: white;
}

/* ========================================
   AJUSTES EXTRA
======================================== */

.blog main > .ct-container {
	padding-top: 6rem;
}

.ajuste-h5 h5 {
	min-height: 4rem
}

.rch-roll img,
.rch-roll .wp-block-cover__background  {
	transition: 0.15s all linear;
}

.rch-roll:hover img{
	transform: scale(1.05);
}

.rch-roll:hover .wp-block-cover__background  {
	opacity: 0.3!important;
}
