/*
Theme Name: Vienasbel Child
Theme URI: https://themily.com/tm-vienasbel/
Template: vienasbel
Author: Yetiteam
Author URI: https://www.templatemonster.com/authors/yetiteam/
Description: Vienasbel - Business WordPress theme
Tags: custom-header, left-sidebar, right-sidebar, post-formats, full-width-template
Version: 100.0.3
*/


/*
** WordPress Required
*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.sticky,
.bypostauthor{position: relative;}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7 form .wpcf7-response-output {
    margin-left: 0;
    margin-right: 0;
    border-width: 1px;
    border-radius: 4px;
}

/* Fix */
.service-item .item-media-icon img {
	max-height:50px;
	object-fit:cover;
}

/* Logo align */
#common-header .header_logo {
	display:flex;
	align-items:center;
}

/* Wrapper for each grid item */
.images-grid-item-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

/* Image styling */
.images-grid-item-wrapper img.images-grid-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease; /* smooth hover effects */
}

/* Overlay covering the entire image */
.images-grid-item-wrapper .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 54, 76, 0.8); /* #0e364c with 0.8 opacity */
    opacity: 0; /* initially hidden */
    transition: opacity 0.3s ease; /* smooth fade-in */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* clicks pass through to icons */
}

/* Show overlay on hover */
.images-grid-item-wrapper:hover .image-overlay {
    opacity: 1;
}

/* Container for icons inside the overlay */
.images-grid-item-wrapper .icons-overlay {
    display: flex;
    gap: 15px; /* space between icons */
    z-index: 2;
    pointer-events: auto; /* icons are clickable */
}

/* Individual icons styling */
.images-grid-item-wrapper .icon-overlay {
    color: #fff;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

/* Scale icon on hover */
.images-grid-item-wrapper .icon-overlay:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Slight zoom effect on image when overlay is active */
.images-grid-item-wrapper:hover img.images-grid-item {
    transform: scale(1.05);
}

.pswp__img {
	object-fit:cover !important;
}

/* Desktop */
@media (min-width: 1200px) {
  .isotope-item.is-wide-lg {
    width: 100% !important;
  }
	.isotope-item.is-wide-lg .images-grid-item {
    aspect-ratio: 16 / 9;
  }
}

/* Laptop / tablet */
@media (max-width: 1199px) and (min-width: 992px) {
  .isotope-item.is-wide-md {
    width: 100% !important;
  }
	 .isotope-item.is-wide-md .images-grid-item {
    aspect-ratio: 16 / 9;
  }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
  .isotope-item.is-wide-sm {
    width: 100% !important;
  }
	 .isotope-item.is-wide-sm .images-grid-item {
    aspect-ratio: 16 / 9;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .isotope-item.is-wide-xs {
    width: 100% !important;
  }
	.isotope-item.is-wide-xs .images-grid-item {
    aspect-ratio: 16 / 9;
  }
}

/* Wide */
.isotope-item[class*="is-wide"] img {
  object-fit: cover;
}