/*
Theme Name: CredCor
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
/* ======  Galería pegada, fotos completas y sin que el mapa la pise  ====== */

/* 0) Si el bloque de mapa se superpone, bájale el z-index */
.wpb_gmaps_widget, .wpb_gmaps_widget .wpb_wrapper, .gmaps, .gmap {
  position: relative;
  z-index: 0;                     /* el mapa no debe estar por encima */
}
.custom-slider { position: relative; z-index: 1; }  /* el carrusel queda arriba */

/* 1) Galería sin espacios (“pegadas”) */
.custom-slider.custom-slider--tight .owl-stage { 
  display: flex;
  gap: 0 !important;
  margin: 0 !important;
}
.custom-slider.custom-slider--tight .owl-item { 
  padding: 0 !important;
  margin: 0 !important;
}

/* 2) Imagen completa, sin recorte ni bordes que dejen “hilo” blanco */
.custom-slider.custom-slider--tight .owl-item img {
  display: block;
  width: 100%;
  height: auto;                   /* mantiene proporción (vertical completa) */
  border-radius: 0;               /* pegadas de verdad */
  background: transparent;
}

/* 3) Limpia wrappers que agregan borde/margen por defecto en Porto */
.custom-slider.custom-slider--tight .img-thumbnail,
.custom-slider.custom-slider--tight .thumb-info,
.custom-slider.custom-slider--tight .thumb-info-wrapper {
  padding: 0; margin: 0; border: 0; box-shadow: none; background: transparent;
}

/* 4) Flechas superpuestas sin empujar layout (opcional) */
.custom-slider.custom-slider--tight .owl-nav {
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex; justify-content: space-between;
  pointer-events: none;
}
.custom-slider.custom-slider--tight .owl-nav .owl-prev,
.custom-slider.custom-slider--tight .owl-nav .owl-next {
  pointer-events: all;
  width: 36px; height: 36px; line-height: 36px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #fff;
}
