/*
Theme Name: Syron child
Theme URI: http://landing.rivaxstudio.com/syron/
Author: RivaxStudio
Author URI: https://themeforest.net/user/rivaxstudio/
Description: Modern and high-quality theme for Blog & magazine sites
Version: 1.0
Requires PHP: 8.0
Tested up to: 6.7
Template:  syron
License: Themeforest.net
License URI: http://themeforest.net/licenses
Text Domain: syron
Tags: grid-layout, left-sidebar, right-sidebar, flexible-header, footer-widgets, featured-images, translation-ready
*/

/* Layout base per Mobile (1 colonna) */
.ldg-cucina-list {
  display: grid;
  grid-template-columns: 1fr; /* Una sola colonna che occupa tutto lo spazio */
  gap: 20px;                  /* Spazio tra righe e colonne */
  padding: 20px;
}

/* Tablet (2 colonne) */
@media (min-width: 600px) {
  .ldg-cucina-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (4 colonne) */
@media (min-width: 1024px) {
  .ldg-cucina-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ldg-cucina-list .ldg-featured-image {
    height: auto;
    /*object-fit: cover;*/
}
.ldg-cucina-list .entry-content .entry-title {
    padding-top: 10px;
    max-width: 250px;
    overflow: hidden;
    max-height: 50px;
    font-family: 'Just Me Again Down Here', cursive;
    text-transform: uppercase;
    text-align: center;
}
.ldg-cucina-list .entry-content .entry-title a {
    font-size: 38px;
    line-height: 40px;
}

@media screen and (min-width: 768px) {
    .ldg-cucina-list .ldg-featured-image {
        margin-right: 0;
    }
}

.ldg-cucina-list .ldg-polaroid {
    padding: 20px 20px 10px 20px;
    /*box-shadow: 5px 5px 9px -1px rgba(0,0,0,0.73);
    -webkit-box-shadow: 5px 5px 9px -1px rgba(0,0,0,0.73);
    -moz-box-shadow: 5px 5px 9px -1px rgba(0,0,0,0.73);*/
    /* Ombra morbida e profonda */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.15); */
}

/* Modal */
.category.category-cucina-giapponese .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.category.category-cucina-giapponese .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    /*width: 80%;*/
    width: 700px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.category.category-cucina-giapponese .btn-close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.category.category-cucina-giapponese .btn-close-modal:hover,
.category.category-cucina-giapponese .btn-close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.category.category-cucina-giapponese .modal-header {
    padding: 2px 16px;
    background-color: #b40101;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.category.category-cucina-giapponese .modal-header h2 {
    margin-bottom: 0;
    font-family: 'Just Me Again Down Here', cursive;
    text-transform: uppercase;
    font-size: 38px;
    line-height: 40px;
}

.category.category-cucina-giapponese .modal-body {
    /*padding: 2px 16px;*/
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    /*align-items: center;*/
    align-items: flex-start;
    column-gap: 10px;
    padding: 50px;
}

.category.category-cucina-giapponese .modal-footer {
    padding: 2px 16px;
    background-color: #b40101;
    color: white;
}

@media screen and (max-width: 600px) {
    .category.category-cucina-giapponese .modal-content {
        max-width: 90%;
    }
    .category.category-cucina-giapponese .modal-body {
        flex-direction: column;
        align-items: center;
    }
}

/* END Modal */