/*
Theme Name: Resort Child
Theme URI: http://www.themechampion.com
Description: resort Child Theme
Author: resort
Author URI: http://www.themechampion.com
Template: resort
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: resort
Tags:two-columns, left-sidebar, right-sidebar, light, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* --- leisolemugello.it global layout fixes --- */

img {
  max-width: 100%;
  height: auto;
}

.vc_single_image-wrapper img,
.wpb_single_image img,
figure img {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
}

.main-container,
.content-area,
.entry-content,
.wpb-content-wrapper {
  max-width: 100%;
}

.boxed-full,
#wrapper,
.content_wrapper {
  overflow-x: hidden;
}

.ristorante-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin: 24px 0 40px;
}

.ristorante-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ristorante-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ristorante-gallery a:hover img {
  transform: scale(1.03);
}

.ristorante-cta {
  margin-top: 32px;
  padding: 28px 24px;
  background: #f7f7f2;
  border-left: 4px solid #85ab00;
}

.ristorante-cta .vc_general.vc_btn3 {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .ristorante-gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }

  .ristorante-gallery img {
    height: 160px;
  }
}