.callout.alert{
    display: none !important;
}


blockquote.gt-demo-post-blockquote {
    max-width: calc(100% - 390px);
    padding-inline: 0 !important;
}
/* ultimi articoli nella sidebar */
.gt-tabs-content .gt-item{
    margin-bottom: 20px;
}
.gt-tabs-content .gt-item .gt-title a{
    font-size: 13px;
  font-weight: 500;
}

.gt-page-wrapper.gt-style-1{
    padding: 50px 0 80px 0;
}

/* Tag Cloud */
.gt-widget.widget_tag_cloud .wp-block-tag-cloud a{
    display: inline-block;
    font-weight: 500;
}


.gt-widget.widget_tag_cloud a, 
.gt-widget.widget_tag_cloud a:visited{
    font-size: 12px !important;
}

.gt-featured-header.gt-position-2{
    margin-bottom:70px;
}

@media screen and (max-width: 1199px) {
    blockquote.gt-demo-post-blockquote {
        margin-inline: auto !important;
    }
}

.gt-reading-bar .gt-reading{
    background-color: rgb(0, 0, 0) !important;
}

/* Opacità overlay dello slider nell'header della homepage */
.home .gt-thumbnail-slider.gt-style-1 .gt-slider-container .gt-image .gt-overlay{
    opacity: 0.15;
}

.gt-sidebar .widget_media_image figure,
.gt-footer .gt-copyright-inner .gt-item-group .gt-copyright-text p{
    margin-bottom: 0;
}

.gt-content-single-footer{
    padding: 50px 0;
}

/*
.gt-copyright-inner{
    border-top:1px solid rgba(0,0,0,0.1);
}
*/

.gt-content-list.gt-style-42 .gt-cl-top-post .gt-item{
    align-items: start;
}

.gt-button.gt-style-4 a{
    background-color: #000 !important;
    transition: opacity;
}

.gt-button.gt-style-4 a:hover{
    opacity: 0.75;
}


.gt-article table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 16px;
    color: #333;
}

.gt-article table thead{
    border-bottom: 0;
}

/* Celle generali */
.gt-article table th,
.gt-article table td {
    padding: 12px 16px;
}


/* Topbar */

@media (min-width: 1200px) {
    .gt-header .gt-header-main:not(.gt-style-4):not(.gt-style-7) .gt-header-main-inner{
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Homepage Slider */
.homepage-slider .gt-title a{
    font-size: 2.5em !important;
}


/* Header */

.gt-desktop-header.gt-absolute{
    margin-top: 20px;
}

.gt-desktop-header .gt-nav-menu li a{
    padding: 25px 8px;
}

.gt-header.gt-desktop-header .gt-header-main .gt-item-group .gt-item{
    padding: 15px 10px;
}

.gt-title-bar.gt-style-1,
.gt-term-title-bar .gt-inner{
    background-color: #fff !important;
}

.gt-term-listing.gt-style-1 > ul > li > a:hover,
.gt-term-listing.gt-style-1 > ul > li > span.gt-active,
.gt-term-listing.gt-style-1 > ul > li > span.current{
    background-color: #000 !important;
}

.search h1{
    color: #000 !important;
}


/* Spaziature Main Menù */

.gt-desktop-header .gt-nav-menu li a,
.gt-header.gt-desktop-header .gt-header-main .gt-item-group .gt-item{
    transition: padding .3s ease-in-out !important;
}

@media (min-width: 782px) {

    /* Homepage Slider */
    .homepage-slider .gt-title a{
        font-size: 3.25em !important;
    }

    .gt-desktop-header .gt-nav-menu li a{
        padding: 25px 8px !important;
    }

    .gt-header.gt-desktop-header .gt-header-main .gt-item-group .gt-item{
        padding: 15px 10px !important;
    }
}


@media (min-width: 1340px) {
    .gt-desktop-header .gt-nav-menu li a{
        padding: 25px 10px !important;
    }

    .gt-header.gt-desktop-header .gt-header-main .gt-item-group .gt-item{
        padding: 15px 15px !important;
    }
}

@media (min-width: 1340px) {
    .gt-desktop-header .gt-nav-menu li a{
        padding: 25px 12px !important;
    }
}


/* Bug selettore lingua su Sticky Header */ 
.gt-sticky-header .gt-item.gt-language{
    display: none !important;
}

.gt-article table th {
    background: #f2f2f6;
    font-weight: 500;
    text-align: left;
    text-transform: uppercase;
}

/* Righe alternate (molto leggere) */
.gt-article table tr:nth-child(even) td {
    background: #fafafa;
}

/* Righe al passaggio del mouse */
.gt-article table tr:hover td {
    background: #f8f8fb;
}

/* Bordo arrotondato se serve */
.gt-article table {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}



/**
 * Header pagine categoria
 */

.page .gt-title-bar .gt-container .gt-content,
.archive.category .gt-term-title-bar .gt-inner .gt-content,
.archive.tag .gt-term-title-bar .gt-inner .gt-content,
.search .gt-title-bar .gt-container .gt-content{
    padding: 50px 0 0 0;
}

.archive.category .gt-main .gt-page-wrapper,
.archive.tag .gt-main .gt-page-wrapper,
.search .gt-main .gt-page-wrapper{
    padding-top: 40px;
}

.page .gt-title-bar .gt-container .gt-content h1,
.archive.category .gt-term-title-bar .gt-inner .gt-content h1,
.archive.category .gt-term-title-bar .gt-inner .gt-content .gt-desc,
.archive.tag .gt-term-title-bar .gt-inner .gt-content h1,
.archive.tag .gt-term-title-bar .gt-inner .gt-content .gt-desc{
    color: #000;
}

.page .gt-title-bar .gt-container .gt-content h1,
.archive.category .gt-term-title-bar .gt-inner .gt-content h1,
.archive.tag .gt-term-title-bar .gt-inner .gt-content h1{
    font-size: 48px;
}

.archive.category .gt-term-title-bar .gt-inner .gt-content .gt-desc{
    margin-top: 5px;
}

.archive.category .gt-term-title-bar .gt-inner .gt-content .gt-count,
.archive.tag .gt-term-title-bar .gt-inner .gt-content .gt-count{
    color: #777;
    margin-top: 20px;
}


.single .gt-related-post-wrapper{
    margin-top: 60px !important;
}



/* Sidebar - nascondo su Mobile */
@media (max-width: 991px) {
  .gt-page-sidebar.gt-page-sidebar-right {
    display: none;
  }
}


.gt-nav-menu .menu-item-description{
    display: none;
}


/* Stili vari per adattamenti Mobile */
@media (max-width: 991px) {

  .gt-grid.gt-grid-1 > .gt-grid-col {
    margin-bottom: 20px;
  }
    .gt-content-list.gt-style-7{
        margin-top: 40px;
    }
}


/* Bug selettore tipologia articoli su basse risoluzioni */
@media (max-width: 1199px) {
    .gt-page-sidebar #blog_tab_widget{
        display: block;
    }
}


/**
 * Footer
 * Bug sovrapposizione stili del tema home e articoli. Sovrascrivo e uniformo gli stili del footer
 */


@media (min-width: 782px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
  }
}

.wp-block-column.is-vertically-aligned-bottom,
.wp-block-column.is-vertically-aligned-center, 
.wp-block-column.is-vertically-aligned-top {
  width: 100%;
}
.wp-block-column.is-vertically-aligned-center {
  align-self: center;
}

.gt-footer .gt-footer-widgets.gt-style-1 .gt-footer-widgets-inner{
    padding: 0 !important;
    border-top: 0 !important;
}

.home .gt-footer .gt-footer-widgets.gt-style-1 .gt-footer-widgets-inner .wp-block-columns{
    flex-wrap: wrap !important;
}

.gt-footer .gt-copyright.gt-dark + .gt-footer-widgets.gt-dark .gt-footer-widgets-inner{
    border-top: 0 !important;
}

.gt-footer .gt-footer-widgets{
    padding: 0 30px !important;
}

.gt-footer .gt-footer-widgets p{
    text-align: center;
}

.gt-footer .gt-footer-widgets .powered-by p{
    padding: 0 !important;
    font-size: 11px !important;
}

.gt-footer .gt-footer-widgets .powered-by img{
    width: 20px;
    height: 20px;
}

.gt-footer .gt-footer-widgets.gt-dark,
.gt-footer .gt-footer-widgets.gt-light{
    background-color: #e5e5e5 !important;
    color: #000 !important;
}

.gt-footer .gt-footer-widgets.gt-dark .wp-block-group,
.gt-footer .gt-footer-widgets.gt-light .wp-block-group{
    margin-bottom: 0 !important;
}

.gt-footer .wp-block-image,
.gt-footer figure{
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.no-phone {
    color: #000;
  pointer-events: none;
}

/* Disabilita il link automatico su iOS */
.no-tel {
  -webkit-touch-callout: none;
  -webkit-user-select: text;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none; /* opzionale se vuoi disabilitare completamente il click */
}

.gt-footer .magazines-footer-row{
    
}

.gt-footer .magazines-footer-row img{
    margin: 20px 40px 20px 0;
}

.gt-footer .gt-grid.gt-spacing-30 > .gt-grid-col{
    padding: 0 !important;
    margin: 0 !important;
}

.gt-footer .gt-copyright.gt-dark,
.gt-footer .gt-copyright.gt-dark a{
    color: #000 !important;
}
.gt-footer .gt-copyright.gt-style-1{
    background-color: #e5e5e5 !important;
}

.gt-footer .gt-copyright .gt-container{
    padding: 0 30px !important;
}

.gt-footer .gt-footer-widgets + .gt-copyright.gt-light .gt-copyright-inner{
    border-top: 0 !important;
}

.gt-footer .gt-footer-widgets .gt-grid.gt-spacing-30{
    margin-bottom: 0 !important;
}

.gt-footer .gt-copyright.gt-style-1.gt-dark .gt-copyright-inner .gt-item-group * + .gt-copyright-text::before{
    background-color: var(--gt-border-medium-color) !important;
}

.gusella-media-link a{
    color: #111 !important;
}

.gt-footer .gt-footer-widgets .wp-block-columns{
    padding: 0 30px !important;
    max-width: 1100px;
    margin: 0 auto;
}



/**
 * Language Switcher
 */
/*
.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li .gt-icon img{
    width: 16px !important;
    height: auto !important;
}
*/

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li:nth-child(1) .gt-icon{
    background: url("../../../../wp-content/plugins/the-yachting-voice-utilities/images/it.png") no-repeat fixed center !important;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li:nth-child(2) .gt-icon{
    background: url("../../../../wp-content/plugins/the-yachting-voice-utilities/images/en.png") no-repeat fixed center !important;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li:nth-child(3) .gt-icon{
    background: url("../../../../wp-content/plugins/the-yachting-voice-utilities/images/fr.png") no-repeat fixed center !important;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li:nth-child(4) .gt-icon{
    background: url("../../../../wp-content/plugins/the-yachting-voice-utilities/images/es.png") no-repeat fixed center !important;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li:nth-child(5) .gt-icon{
    background: url("../../../../wp-content/plugins/the-yachting-voice-utilities/images/pl.png") no-repeat fixed center !important;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li:nth-child(6) .gt-icon{
    background: url("../../../../wp-content/plugins/the-yachting-voice-utilities/images/zh.png") no-repeat fixed center !important;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li:nth-child(7) .gt-icon{
    background: url("../../../../wp-content/plugins/the-yachting-voice-utilities/images/ar.png") no-repeat fixed center !important;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li .gt-icon{
      background-size: 40px 40px;
}

.gt-language-box.gt-style-1 .gt-language-list-wrapper ul li .gt-icon img{
    visibility: hidden;
}


/**
 * Griglia Video
 */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-item {
    display: flex;
    flex-direction: column;
    /* Tutti gli elementi hanno altezza identica */
}

.thumb-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9; /* forza altezza costante */
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.video-item h3 {
    margin-top: 10px;
    text-align: center;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 500;
}



.thumb-wrapper:hover img {
    transform: scale(1.05);
    cursor: pointer;
}

.hover-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.hover-play img{
    width: 64px;
    height: 64px;
}

.thumb-wrapper:hover .hover-play {
    opacity: 1;
}




/* --- MODAL --- */

.video-modal {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,.8);
    justify-content:center;
    align-items:center;
    z-index:10000;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

.video-modal-content iframe {
    width: 100%;
    height: 500px;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: white;
    cursor: pointer;
}



/* SEARCH */

.is-search-submit{ display:inline-block !important; }

.home .gt-desktop-header .is-menu path.search-icon-path{fill:#fff !important;}
.home .gt-sticky-header .is-menu path.search-icon-path{fill:#111 !important;}

.gt-desktop-header .is-menu path.search-icon-path{fill:#111 !important;}
.gt-sticky-header .is-menu path.search-icon-path{fill:#111 !important;}


.astm-search-menu{transition: 0.2s;}
/* .astm-search-menu:hover{opacity: 0.5;} */
.astm-search-menu.open:hover{opacity: 1;}



/* PULSANTI HT-SHARE */

.ht-social-share .ht-social-item {
  width: 30px;
  line-height: 30px;
}

.ht-social-item span.icon i{
    vertical-align: unset !important;
    font-size: 15px;
}



.gt-sidebar .gt-widget.widget_polylang ul{
    list-style-type: none;
    margin: 0;
}


/* AD BANNER */
.gt-page-content .code-block,
.gt-sidebar .code-block{
    background-color: unset;
    padding: 0;
    white-space: unset;
    border: 0;
}

.gt-page-content .code-block img,
.gt-sidebar .code-block img{
    transition: all .3s ease-in-out;
    margin: 0 auto;
}

.gt-sidebar .code-block img{
    border: 1px solid var(--gt-border-color);
}

.gt-page-content .code-block img:hover,
.gt-sidebar .code-block img:hover{
    transform: scale(.95);
}

/**
 * OFF CANVAS
 */

.gt-off-canvas * + .gt-menu,
.gt-off-canvas * + .gt-off-canvas-footer {
  margin-top: 20px !important;
}

.home .gt-footer-widgets-inner .wp-block-columns .wp-block-column{
    margin: 0 auto;
}
