/*
Theme Name:   Zox News Child
Theme URI:    https://themeforest.net/user/mvpthemes/
Description:  Zox News Child Theme
Author:       MVP Themes
Author URI:   https://themeforest.net/user/mvpthemes/portfolio
Template:     zox-news
Version:      1.1.0
License:      GNU General Public License v3 or later
License URI:  http://www.gnu.org/licenses/gpl-3.0.html
Tags:         two-columns, custom-background, custom-colors, custom-menu, featured-images, theme-options, threaded-comments, translation-ready
Text Domain:  zox-news-child
*/

.wp-block-image img {
	    padding-bottom: 10px;
}

.mvp-post-add-img img {
    width: 100%;
}

.imported-text {
    font-style: italic;
}

.mvp-post-tags a[href$="feedzy-imported/"] {
    display: none;
}

.mvp-post-tags a[href$="tag/adnkronos/"] {
    display: none;
}

#mvp-prev-next-wrap {
  margin-top: 10px;
}

.mvp-post-tags {
   margin-bottom: 10px;
}

.mvp-blog-story-img img {
    width: 100% !important;
    height: auto !important;
}
.mvp-flex-story-img img {
    width: 100% !important;
    height: auto !important;
}
.mvp-widget-feat2-left .mvp-feat1-feat-img img {
    height: 100% !important;
    width: auto !important;
}
.mvp-post-cat-link[href*="category/uncategorized/"] {
    display: none;
}
.mvp-related-img .mvp-reg-img {
    height: 150px;
	  object-fit: cover;
                  
}
#mvp-content-main > p:last-child {
    margin-bottom: 5px;
}
#mvp-prev-next-wrap {
    margin-top: 10px;
}
#mvp-content-main div .art-text:last-child {
    margin-bottom: 5px !important;
}
.mvp-widget-home {
    margin-top: 30px;
}

.custom-search-wrapper {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #58a5a2, #c6f1e7);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.custom-search-wrapper h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.custom-search-wrapper p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #eef;
}

.custom-search-wrapper .custom-search-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
    color: #dff;
    font-weight: bold;
}

.custom-search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.custom-search-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #fff;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.custom-search-input::placeholder {
    color: #aad;
}

.custom-search-button {
    padding: 10px 20px;
    font-size: 16px;
    background: #2a9d8f;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.custom-search-button:hover {
    background: #1f7e6d;
    transform: scale(1.05);
}

@media (min-width: 768px) { /* Applicato solo ai dispositivi con larghezza >= 768px */
  .ais-hits--thumbnail img {
    width: 100px; /* Larghezza fissa */
    height: 100px; /* Altezza fissa */
    object-fit: cover; /* Ritaglia l'immagine per adattarla mantenendo le proporzioni */
  }
}

@media (max-width: 767px) { /* Applicato solo ai dispositivi con larghezza < 768px */
  .ais-hits--thumbnail img {
    width: auto; /* Rimuove la larghezza fissa sui telefoni */
    height: auto; /* Rimuove l'altezza fissa sui telefoni */
  }
}
ul.mvp-post-gallery-bot-list li img {
	opacity: .6;
	}
.mvp-feat5-side-list .mvp-feat1-list-img img {
	opacity: .6;
	}
#mvp-post-feat-img-wide #mvp-post-feat-img img {
	opacity: .6;
	width: 100%;
	}

.mvp-author-container {
    margin: 20px auto 20px auto !important;
}

/* Personalizzazioni ricerca Google */
[class*="branding"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}

.gsc-above-wrapper-area {
    border-bottom: 0px solid #e9e9e9 !important;
    padding: 5px 0 5px 0 !important;
}

.gsc-control-cse {
    border-color: #c6f1e700 !important;
    background-color: #c6f1e724 !important;
}


.nn-quantum-posts {
    --nn-section-padding-desktop-left: 11px !important;
    --nn-section-padding-tablet-left: 11px !important;
    --nn-section-padding-mobile-left: 11px !important;
    padding-left: var(--nn-section-padding-desktop-left) !important;
}

@media (max-width: 1024px) {
    .nn-quantum-posts {
        padding-left: var(--nn-section-padding-tablet-left) !important;
    }
}

@media (max-width: 768px) {
    .nn-quantum-posts {
        padding-left: var(--nn-section-padding-mobile-left) !important;
    }
}