/*
Theme Name: Joseph Tours and Properties
Theme URI: https://josephtours.com
Author: Deepak P Uthaman
Author URI: https://www.deepsu.in
Description: A custom Elementor-compatible theme for Joseph Tours and Properties
Version: 1.0.6
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joseph-tours-properties
Tags: elementor, custom, responsive, tours, properties
*/

/* -----------------------------
   Logo size safety constraints
   ----------------------------- */

/* Header logos (custom logo + fallback image) */
.header-navigation .site-branding img,
.header-navigation .brand-logo img,
.header-navigation .custom-logo-link img,
.header-navigation img.custom-logo {
  max-height: 64px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Smaller header logo on mobile */
@media (max-width: 767.98px) {
  .header-navigation .site-branding img,
  .header-navigation .brand-logo img,
  .header-navigation .custom-logo-link img,
  .header-navigation img.custom-logo {
    max-height: 48px;
    max-width: 160px;
  }
}

/* Footer logo */
.main-footer .footer-logo img,
.main-footer .custom-logo-link img,
.main-footer img.custom-logo {
  max-height: 72px;
  max-width: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Gallery: make items equal height without stretching */
.luxivo-gallery-sec .luxivo-gallery-item.style-two .thumbnail {
  height: 320px;
}
@media (max-width: 991.98px) {
  .luxivo-gallery-sec .luxivo-gallery-item.style-two .thumbnail {
    height: 260px;
  }
}
@media (max-width: 575.98px) {
  .luxivo-gallery-sec .luxivo-gallery-item.style-two .thumbnail {
    height: 220px;
  }
}
.luxivo-gallery-sec .luxivo-gallery-item.style-two .thumbnail img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
