/*MENU*/
.elementor-nav-menu--dropdown {
    padding: 0px 20px !important;
    margin-left: -20px !important;
}

/*SEARCH*/
.is-form-style input.is-search-input {
    font-family: 'Source Sans 3';
}

/*LEFT BORDER BOX*/
#box-border {
  position: relative; 
}
#box-border::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 80%;
  background-color:#26335D;
  z-index: 2;
}
#box-border-top {
  position: relative; 
}
#box-border-top::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 90%;
  background-color:#26335D;
  z-index: 2;
}

/*LINK CATEGORY BOX*/
#link_category .elementor-icon-list-item {
  display: flex; 
  flex-direction: row-reverse; 
  align-items: center;
}
#link_category .elementor-icon-list-icon {
  margin-left: 8px; 
  margin-right: 0; 
}

/*COLUMNS HOMEPAGE*/
.custom-archive-filter {
    background-color: transparent; 
    margin-bottom: 40px;
}
.custom-archive-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.custom-archive-filter li {
    flex: 1;
    min-width: 200px;
    height: 80px;
    background-color: #7285C780;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    transition: background-color 0.3s ease;
}
.custom-archive-filter li a {
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    padding: 10px 0 0 10px;
    width: 100%;
    height: 100%;
	  border: 1px solid #fff;
}
.custom-archive-filter li.active {
    background-color: #7285C7;
}
.custom-archive-filter li.active a,
.custom-archive-filter li a:hover {
    color: #ffffff;
    text-decoration:underline;
}

#ajax-container-wrapper {
    position: relative;
    transition: opacity 0.3s ease-in-out;
}
#ajax-container-wrapper.loading {
    opacity: 0.5;
    pointer-events: none;
}
.no-posts-found {
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    border: 1px dashed #ccc;
}
.custom-archive-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 38px;
    align-items: start;
}
.hero-post-wrapper, .secondary-posts-wrapper {
    display: flex;
    flex-direction: column;
}
.secondary-posts-wrapper {
    gap: 20px;
}

#ajax-pagination-container .custom-archive-pagination {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}
#ajax-pagination-container .page-numbers:not(.prev):not(.next) {
    display: none;
}
#ajax-pagination-container .prev.page-numbers,
#ajax-pagination-container .next.page-numbers {
    width: 30px;
    height: 30px;
    font-size: 0;
    border: none;
    padding: 0;
    margin: 0;
    background-color: #26335D80;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.3s ease;
}
#ajax-pagination-container .prev.page-numbers {
    -webkit-mask-image: url('https://traileoni.it/wp-content/uploads/2025/06/arrow-left.svg');
    mask-image: url('https://traileoni.it/wp-content/uploads/2025/06/arrow-left.svg');
}
#ajax-pagination-container .next.page-numbers {
    -webkit-mask-image: url('https://traileoni.it/wp-content/uploads/2025/06/arrow-right.svg');
    mask-image: url('https://traileoni.it/wp-content/uploads/2025/06/arrow-right.svg');
}
#ajax-pagination-container .prev.page-numbers:hover,
#ajax-pagination-container .next.page-numbers:hover {
    background-color: #26335D;
}
@media (max-width: 767px) {    
    .custom-archive-container {
        grid-template-columns: 1fr; 
    }
}

/* FORM NEWSLETTER*/
#home-form .elementor-form-fields-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#home-form .elementor-form-fields-wrapper .elementor-field-group-email {
    order: 1;
}
#home-form .elementor-form-fields-wrapper .elementor-field-type-submit {
    order: 2;
}
#home-form .elementor-form-fields-wrapper .elementor-field-type-acceptance {
    order: 3;
    padding-top: 0px;
}

/*PODCAST*/
.mpp-player-container {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    max-width: 800px;
    margin: 0px;
    position: relative;
    overflow: hidden;
}
.mpp-controls-info {
    display: flex;
    align-items: center;
    padding: 20px;
    flex-grow: 1;
}
.mpp-play-button-wrapper {
    margin-right: 20px;
}
.mpp-play-pause-btn {
    width: 60px;
    height: 60px;
    background-color: #FF8E01 !important;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: transform 0.1s ease;
}
.mpp-play-pause-btn:hover {
    background-color: #FF8E01 !important;
    transform: scale(1.05);
}
.mpp-play-pause-btn:active {
    transform: scale(1);
}
.mpp-play-pause-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid white;
    transition: all 0.2s ease;
}
.mpp-player-container.is-playing .mpp-play-pause-btn::before {
    border-left: 7px solid white;
    border-right: 7px solid white;
    border-top: 0;
    border-bottom: 0;
    height: 20px;
    left: 50%;
}
.mpp-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.mpp-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}
.mpp-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}
.mpp-brand {
    font-size: 14px;
    font-weight: 700;
    color: #000;
	display:none;
}
.mpp-star {
    color: #f5b400;
}
.mpp-controls-secondary {
    display: flex;
    align-items: center;
    gap: 15px;
}
.mpp-skip-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mpp-skip-btn:hover {
    background-color:#FF8E01 !important;
}
.mpp-skip-label {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	margin-top: 5px;
}
.mpp-skip-icon {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
}
.mpp-skip-icon.mpp-rewind-icon {
    border-width: 4px 6px 4px 0;
    border-color: transparent #000 transparent transparent;
    margin-left: -1px;
}
.mpp-skip-icon.mpp-forward-icon {
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #000;
    margin-left: 1px; 
}
.mpp-progress-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 300px);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    background: #fff;
    height: 50px;
}
.mpp-time-current, .mpp-time-duration {
    font-size: 12px;
    color: #888;
    min-width: 40px;
    font-weight: 400;
}
.mpp-waveform {
    flex-grow: 1;
    height: 40px;
    margin: 0 10px;
    cursor: pointer;
}
.mpp-waveform wave {
    height: 40px !important;
}
.mpp-artwork {
    width: 300px;
    height: 250px;
    position: relative;
    flex-shrink: 0;
}
.mpp-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(1) saturate(3) hue-rotate(-50deg) brightness(0.8) contrast(1.1);
}
.mpp-podcast-brand {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.mpp-podcast-brand span {
    background: #e53935;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: 700;
}
.mpp-podcast-brand strong {
    display: block;
    font-size: 24px;
    margin-top: 5px;
    line-height: 1.1;
    font-weight: 700;
}
.mpp-podcast-brand p {
    margin: 5px 0 0;
    font-size: 12px;
    font-weight: 400;
}
.mpp-player-container:not(:has(.mpp-artwork)) .mpp-progress-wrapper {
    width: 100%;
}
/*Player Podcast Compatto*/
.mpp-mobile-cover-details {
    display: none;
}
.mpp-player-container.is-compact {
    flex-direction: column;
    height: 250px;
}
.mpp-player-container.is-compact .mpp-artwork {
    display: none;
}
.mpp-player-container.is-compact .mpp-mobile-cover-details {
    display: block;
    margin-top: 10px;
    margin-bottom: 15px;
}
.mpp-mobile-cover-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}
.mpp-mobile-cover-description {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-top: 4px;
}
.mpp-player-container.is-compact .mpp-controls-info {
    flex-grow: 1;
    align-items: flex-start;
    padding-bottom: 60px;
}
.mpp-player-container.is-compact .mpp-details {
    justify-content: flex-start;
}
.mpp-player-container.is-compact .mpp-progress-wrapper {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
.mpp-player-container.is-compact .mpp-title-wrapper {
    margin-bottom: 0;
}

/*AUTORE DEL MESE*/
.custom-authors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}
.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.author-card .author-avatar {
    width: 100%;
    max-width: 292px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.author-card .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-card .author-info {
    width: 100%;
    max-width: 292px;
    background-color: #DBC4A580;
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
}
.author-card .author-name {
    font-family: 'Lora', serif;
    font-size: 20px;
    color: #000000;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.author-card .author-email,
.author-card .author-email a {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    margin: 0;
}
.author-card .author-email a:hover {
    text-decoration: underline;
}
@media (max-width: 992px) {
    .custom-authors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}
@media (max-width: 600px) {
    .custom-authors-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.author-card .author-name a {
    color: inherit;
    text-decoration: none; 
}
.author-card .author-name a:hover {
    text-decoration: underline;
}
.author-avatar-link,
.author-avatar-link:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

/*MONDAY BRIEFING*/
#mia-timeline-custom::before,
#mia-timeline-custom::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 100px;
    z-index: 1; 
    background-color: #26335D;
}
#mia-timeline-custom::after { 
    left: 50%; 
    width: 3px; 
    transform: translateX(0.5px); 
}
#mia-timeline-custom::before { 
    left: 50%; 
    width: 1px; 
    transform: translateX(-1.5px); 
}
#mia-timeline-custom .e-loop-item {
    position: relative;
    width: 50%;
    padding: 20px 72px; 
    box-sizing: border-box;
    margin-bottom: 40px;
    z-index: 2;
}
#mia-timeline-custom .e-loop-item:nth-child(odd) { 
    left: 0; 
    text-align: right; 
}
#mia-timeline-custom .e-loop-item:nth-child(even) { 
    left: 50%; 
    text-align: left; 
}
#mia-timeline-custom .e-loop-item::before,
#mia-timeline-custom .e-loop-item::after {
    position: absolute;
    width: 130px;
    text-align: center;
    background-color: white;
    color: #000000; 
}
#mia-timeline-custom .e-loop-item::before {
    content: attr(data-date); 
    top: 25px;
    padding: 10px 0 0 0;
    font-family: 'Lora', serif;
    font-size: 90px;
    font-weight: 700;
    line-height: 0.9;
    z-index: 3;
}
#mia-timeline-custom .e-loop-item::after {
    content: attr(data-month-year);
    top: 115px; 
    padding: 0 0 10px 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}
#mia-timeline-custom .e-loop-item:nth-child(odd)::before,
#mia-timeline-custom .e-loop-item:nth-child(odd)::after {
    right: -65px; 
    transform: translateX(0);
}
#mia-timeline-custom .e-loop-item:nth-child(even)::before,
#mia-timeline-custom .e-loop-item:nth-child(even)::after {
    left: -65px; 
    transform: translateX(0);
}
@media (max-width: 991px) {
    #mia-timeline-custom::before,
    #mia-timeline-custom::after {
        left: 40px;
        transform: translateX(-50%);
    }
    #mia-timeline-custom .e-loop-item,
    #mia-timeline-custom .e-loop-item:nth-child(odd),
    #mia-timeline-custom .e-loop-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 100px;
        padding-right: 0px;
        margin-bottom: 30px;
    }
    #mia-timeline-custom .e-loop-item:nth-child(odd)::before,
    #mia-timeline-custom .e-loop-item:nth-child(odd)::after,
    #mia-timeline-custom .e-loop-item:nth-child(even)::before,
    #mia-timeline-custom .e-loop-item:nth-child(even)::after {
        left: 0;
        right: auto;
        transform: none;
        width: 80px;
        text-align: center;
    }
    #mia-timeline-custom .e-loop-item::before {
      font-size: 70px;
    }
    #mia-timeline-custom .e-loop-item::after {
      font-size: 16px;
    }
}

/*ARTS & CULTURE TEMPLATE CATEGORY*/
#loop-grid-custom .text-icon-loop {display:none;}
#loop-grid-custom .title-loop {min-height:auto;}
#loop-grid-custom .elementor-28215 .elementor-element.elementor-element-82f6328 > .elementor-widget-container {padding-bottom:110px;}
#loop-grid-custom .button-custom
{margin-top:-80px;}

/*THE EDITORIAL STAFF*/
.m-a-list .m-a-list-item {
    display: grid !important;
    grid-template-columns: 150px 1fr;
    grid-auto-rows: min-content;
    column-gap: 30px;
    align-items: start;
    background-color: rgba(219, 196,165, 0.5);
    padding: 20px;
    border: none;
    box-shadow: none;
    text-align: left;
}
.m-a-list-item .m-a-list-author__avatar {
    grid-column: 1 / 2;
    grid-row: 1 / span 3;
    margin: 0;
    padding: 0;
    align-self: start !important;
}
.m-a-list-item .m-a-list-author__avatar img {
    width: 100%;
    height: auto;
    display: block;
}
.m-a-list-item .m-a-list-author__name {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin: 0 0 15px 0;
    padding: 0;
}
.m-a-list-item .m-a-list-author__name a {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    line-height: 1.2;
}
.m-a-list-item .m-a-box-social {
    grid-column: 2 / 3;
    grid-row: 2 / 2;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}
.m-a-list-item .m-a-box-social-icon a {
    display: inline-block;
    line-height: 1;
}
.m-a-list-item .m-a-box-social-icon i {
    font-size: 24px;
    color: #d1a35a;
}
.m-a-list-item .m-a-box-social-icon a:hover i {
    color: #000;
}
.m-a-list-item .m-a-box-bio {
    grid-column: 2 / 3;
    grid-row: 3 / 3;
    margin: 0;
    padding: 0;
}
.m-a-list-item .m-a-box-bio,
.m-a-list-item .m-a-box-bio p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
}
.m-a-list-item .m-a-list-author__position {
    display: none;
}
@media screen and (max-width: 800px) {
    .m-a-list {
        grid-template-columns: 1fr !important;
    }
}
@media screen and (max-width: 500px) {
    .m-a-list .m-a-list-item {
        grid-template-columns: 1fr;
        row-gap: 15px;
    }
    .m-a-list-item .m-a-list-author__avatar,
    .m-a-list-item .m-a-list-author__name,
    .m-a-list-item .m-a-box-social,
    .m-a-list-item .m-a-box-bio {
        grid-column: 1 / -1; 
    }
    .m-a-list-item .m-a-list-author__avatar {
        grid-row: 1; 
        width: 120px;
        height: 120px;
        margin: 0 auto;
        border-radius: 0;
        overflow: hidden;
    }
    .m-a-list-item .m-a-list-author__avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .m-a-list-item .m-a-list-author__name {
        grid-row: 2;
        text-align: center;
        margin: 10px 0 0 0;
    }
    .m-a-list-item .m-a-box-social {
        grid-row: 3;
        justify-content: center;
        margin: 0;
    }
    .m-a-list-item .m-a-box-bio {
        grid-row: 4;
        text-align: center;
        margin: 0;
    }
}
.m-a-list-pagination {
    display: none !important;
}
.load-more-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.m-a-load-more-btn {
    background-color: #26335D;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 0px;
    
    border: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: normal;
    letter-spacing: 0px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.m-a-load-more-btn:hover {
    background-color: #1e284a; 
}
.m-a-load-more-btn .fa-sync {
    margin-left: 12px;
    font-size: 15px;
}
.m-a-load-more-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    color: #888888;
}
/* Stile per il Widget Speciale con ID "single-author"     */
#single-author .m-a-list-item {
    background-color: rgba(114, 133, 199, 0.5); 
}
#single-author .m-a-list-pagination {
    display: none !important;
}
#single-author .load-more-container {
    display: none !important;
}
#single-author .m-a-list-item .m-a-box-social-icon i {
    color: #000;
}

/*3D FLIPBOOK*/
.flipbook-grid-container {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns, 3), 200px);
    gap: 40px; 
    justify-content: start; 
}
.flipbook-grid-item {
    width: 200px;
    height: 290px;
}
.flipbook-grid-item ._3d-flip-book {
    width: 100% !important;
    height: 100% !important;
}
.flipbook-grid-item .book-thumbnail,
.flipbook-grid-item .book-thumbnail a,
.flipbook-grid-item .book-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    margin: 0;
    padding: 0;
}
.flipbook-grid-item .book-thumbnail img {
    object-fit: cover;
}
@media (max-width: 768px) {
    .flipbook-grid-container {
        grid-template-columns: repeat(2, 200px);
        justify-content: center;
    }
}
@media (max-width: 520px) {
    .flipbook-grid-container {
        grid-template-columns: 1fr;
        justify-content: center; 
    }   
    .flipbook-grid-item {
        width: 80%;
        height: auto;
        aspect-ratio: 200 / 290;
    }
}

/*RELATED POSTS*/
#jp-relatedposts {
    display: none !important;
}
.irp_content .irp_related_link {
    font-family: 'Lora', serif;
    font-size: 20px !important;
    line-height: 30px;
}

/*POSTS*/
div.sharedaddy, #content div.sharedaddy, #main div.sharedaddy {
    display: none;
}
.elementor-post-navigation__prev.elementor-post-navigation__link {
    background: #26335D;
    padding: 5px;
}
.elementor-post-navigation__next.elementor-post-navigation__link {
    background: #26335D;
    padding: 5px;
}
.elementor-post-navigation .fas {
    font-size: 0;
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.elementor-post-navigation .fa-angle-left {
    background-image: url('https://traileoni.it/wp-content/uploads/2025/06/arrow-left.svg');
    margin-left: 5px;
	  margin-top: 2px;
}
.elementor-post-navigation .fa-angle-right {
    background-image: url('https://traileoni.it/wp-content/uploads/2025/06/arrow-right.svg');
    margin-right: 5px;
	  margin-top: 2px;
}

/*AUTHOR*/
.m-a-box-container {
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    border-style: solid;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-color: #DBC4A580;
    border-radius: 0px;
    background-color: #DBC4A580;
    box-shadow: none;
}
div.m-a-box-item.m-a-box-avatar {
        align-self: self-start;
    }
.m-a-box-name * {
    font-size: 24px;
    color: #000 !important;
    font-family: 'Lora';
    font-weight: 500;
}
.m-a-box-content.m-a-box-profile .m-a-box-data .m-a-box-bio {
    font-family: 'Source Sans 3';
    font-size: 16px !important;
    color: #000;
}
.m-a-box-social a {
    color: #000 !important;
}
 .m-a-box-data .m-a-box-meta a {
    color: #000;
	  font-family: 'Source Sans 3';
    font-size: 16px !important;
}
.m-a-box-meta-divider {
    display: none;
}
a.m-a-box-data-toggle {
    display: none;
}

/*SEARCH*/
.loop-grid-custom .text-icon-loop {display:none;}
.loop-grid-custom .title-loop {min-height:240px;}
.loop-grid-custom .elementor-28215 .elementor-element.elementor-element-82f6328 > .elementor-widget-container {padding-bottom:110px;}
.loop-grid-custom .button-custom
{margin-top:-80px;}

.wrap-thumb * {
  height: 100%;
  width: 100%;
}

#ajax-pagination-container {
  justify-content: center;
  display: flex;
}

.category .wrap-card-title h3 {
  height: 3.7em;
}

@media (min-width: 1025px) {
  .meta-wrap > .elementor-widget-wrap {
    position: absolute;
  }
}/*# sourceMappingURL=custom.css.map */