@import "vendor/bootstrap.min.css";
@import "vendor/owl.carousel.min.css";
@import "vendor/ticker-style.css";
@import "vendor/themify-icons.css";
@import "vendor/slick.css";
@import "vendor/slicknav.css";
@import "vendor/animate.min.css";
@import "vendor/nice-select.css";
@import "vendor/perfect-scrollbar.css";
@import "vendor/magnific-popup.css";
@import "https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&family=Lora:wght@400;500;600&display=swap";

.logo img {
    display: block
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.loop-grid-3 figure {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.loop-grid-3 figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

:root {
    --text-xs: clamp(0.75rem, 0.8vw, 0.85rem);
    --text-sm: clamp(0.9rem, 1vw, 1rem);
    --text-md: clamp(1rem, 1.2vw, 1.15rem);
    --text-lg: clamp(1.2rem, 1.5vw, 1.4rem);
    --text-xl: clamp(1.4rem, 1.8vw, 1.8rem);
    --text-xxl: clamp(1.8rem, 2.5vw, 2.4rem);
}

/* =========================
   AUTHOR HEADER
========================= */
.author-bio {
    margin-bottom: 40px;
    text-align: left;
    display: flex;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 40px
}

.author-bio .author-image img {
    border-radius: 50%;
    width: 120px;
    height: 120px
}

.author-bio .author-image {
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    width: 120px;
    height: 120px;
    margin-right: 40px
}

.author-bio .author-info {
    flex-grow: 1
}

.author-bio h3 {
    font-size: 22px;
    margin-bottom: 10px
}

.author-bio h5 {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 500;
    color: var(--color-black)
}

.author-bio .author-description {
    margin-top: 15px;
    margin-bottom: 15px
}

.author-bio .author-bio-link {
    display: inline-block;
    font-weight: 400;
    text-decoration: none;
    margin-right: 20px;
    text-transform: capitalize;
    font-style: italic;
    border-bottom: 1px solid #e1e1e1;
    color: #666
}

.author-bio .author-social {
    display: inline-block
}

.author-bio .author-social-icons {
    margin: 0;
    padding: 0;
    list-style: none
}

.author-bio .author-social-icons li {
    display: inline-block
}

.author-bio .author-social-icons li:first-child a {
    margin-left: 0
}

.author-bio .author-social-icons li a {
    text-align: center;
    font-size: 16px;
    padding-top: 3px;
    display: block;
    margin-left: 5px;
}

.author-bio .author-social-icons li a i {
    font-size: 14px
}

.author-posts figure {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin: 0;
}

.author-posts figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-posts .col-lg-5 article figure {
    aspect-ratio: 4/3;
}

.author-posts .col-md-3 figure {
    aspect-ratio: 4/3;
}

.author-posts h2 {
    font-size: var(--text-lg);
    line-height: 1.30;
}

.author-posts h3 {
    font-size: var(--text-md);
    line-height: 1.20;
}

.author-posts h4 {
    font-size: var(--text-sm);
    line-height: 1.20;
}

.author-loop-footer h4 {
    font-size: var(--text-md)
}

/* =========================
   Archivio
========================= */
.category .post-thumb,
.tag .post-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 4px
}

.tag .post-thumb {
    aspect-ratio: 4/3;
    background: #f0f0f0
}

.dark .tag .post-thumb {
    background: #1c1c1c
}

.category .post-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block
}

.tag .post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.category .first-post .post-thumb img {
    aspect-ratio: 16/9
}

/* CSS sticky sidebar — sostituisce theiaStickySidebar JS (zero DOM mutations, zero CLS) */
@media (min-width:992px) {
    .sticky-sidebar {
        position: sticky;
        top: 0;
        align-self: flex-start
    }

    .single-post .sticky-sidebar,
    .page .sticky-sidebar {
        top: 110px
    }
}

.post-cat-chip {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 8px;
    border-radius: 3px;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s
}

.post-cat-chip:hover {
    background: #333;
    color: #fff;
    text-decoration: none
}

.dark .post-cat-chip {
    background: #fff;
    color: #000
}

.dark .post-cat-chip:hover {
    background: #e0e0e0;
    color: #000
}

/* =========================
   SOCIAL
========================= */
.author-social-icons {
    display: flex;
    list-style: none;
}

.author-social-icons li {
    margin: 0;
    padding: 0;
}

.author-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    color: #666;
    transition: all .2s ease;
}

.author-social-icons a:hover {
    background: #FFD400;
    color: #000;
}

.icon-social {
    width: 18px;
    height: 18px;
}

.social-icon-header {
    margin-right: 10px;
}

.icon-ui,
.icon-social {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-open .icon-search {
    display: none;
}

.search-open .icon-close {
    display: block;
}

.search-btn .icon-close {
    display: none;
}

.search-open .search-btn .icon-search {
    display: none;
}

.search-open .search-btn .icon-close {
    display: inline-block;
}

/* Personalizzazioni */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    pointer-events: none;
    /* 👈 fondamentale */
}

.logo a,
.logo img,
.logo h1 {
    pointer-events: auto;
}

.header-tools {
    position: relative;
    z-index: 10;
}

.logo-dark {
    display: none !important;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading,
.btn,
.post-title {
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    font-family: "EB Garamond", serif
}

.font-family-normal {
    font-family: "Roboto", sans-serif
}

p {
    margin-bottom: 1.2em;
    font-weight: 400
}

.img {
    max-width: 100%;
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    -ms-transition: all .2s ease-out 0s;
    -o-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s
}

.img-circle {
    border-radius: 50%
}

.overflow-hidden {
    overflow: hidden
}

.clear {
    clear: both
}

a,
.button {
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    -ms-transition: all .2s ease-out 0s;
    -o-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s
}

:focus {
    text-decoration: none;
    outline: none
}

a {
    color: #000;
    text-decoration: none
}

article {
    position: relative
}

a:hover {
    color: #df4a2c
}

a:focus,
a:hover,
.portfolio-cat a:hover,
.footer -menu li a:hover {
    text-decoration: none
}

.transition-02s,
.transition-02s:hover {
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    -ms-transition: all .2s ease-out 0s;
    -o-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s
}

:focus,
select:focus,
.custom-select:focus,
button:focus,
textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
[type="text"].form-control:focus,
[type="password"].form-control:focus,
[type="email"].form-control:focus,
[type="tel"].form-control:focus,
[contenteditable].form-control:focus {
    outline: none !important;
    box-shadow: none
}

input:focus::-moz-placeholder {
    opacity: 0;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #000
}

ul {
    margin: 0;
    padding: 0
}

li {
    list-style: none
}

hr {
    border-bottom: 1px solid #eceff8;
    border-top: 0 none;
    margin: 30px 0;
    padding: 0
}

video {
    max-width: 100%
}

ul {
    padding: 0;
    margin: 0
}

figure {
    position: relative
}

::placeholder {
    color: #838383
}

.section-padding {
    padding-top: 120px;
    padding-bottom: 120px
}

.font-x-small {
    font-size: 10px
}

.font-small {
    font-size: 12px
}

.font-medium {
    font-size: 15px
}

.font-large {
    font-size: 20px
}

.font-weight-500 {
    font-weight: 500
}

.font-weight-bold {
    font-weight: 700
}

.font-weight-ultra {
    font-weight: 900
}

.has-top-border,
.separator {
    border-top: 1px solid #e1e1ff
}

.btn {
    font-weight: 500
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: none
}

#scrollUp {
    right: 31px;
    bottom: 18px;
    font-size: 14px;
    text-align: center
}

.color-primary,
a.active,
sup {
    color: #138496
}

.entry-main-content a,
.entry-main-content p a {
    color: #333 !important;
    text-decoration: underline !important;
}

.entry-main-content a:hover,
.entry-main-content p a:hover {
    color: #666 !important;
}

.excerpt {
    color: #696969
}

.primary-bg,
.boxed-btn:hover {
    background: #df4a2c
}

.btn-black {
    background-color: #000;
    color: #fff
}

.color-grey,
.color-grey a {
    color: #444
}

.bg-grey {
    background: #f1f1f1
}

.color-black {
    color: #000
}

.color-muted,
.color-muted a {
    color: #666
}

.sticky-bar {
    left: 0;
    margin: auto;
    position: fixed;
    top: 0;
    width: 100%;
    -webkit-box-shadow: 0 0 40px 0 #0000000d;
    box-shadow: 0 0 40px 0 #0000000d;
    z-index: 9999;
    -webkit-animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
    animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
    -webkit-box-shadow: 0 0 40px 0 #0000000d;
    background: #fff
}

.sticky-bar .divider-2 {
    display: none
}

.preloader {
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: #2d2d2d;
    z-index: 999999;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s
}

.preloader::before {
    content: "NewsBoard";
    position: absolute;
    font-size: 12em;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff0d;
    text-align: center
}

.counter {
    position: relative;
    color: #fff;
    font-size: 16em;
    font-weight: 700;
    z-index: 1
}

.counter::after {
    content: "%";
    font-size: .5em
}

.preloader-2-inner {
    background-color: #f7f7f7;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s;
    margin: 0 auto
}

.align-center-vertical {
    margin-top: auto;
    margin-bottom: auto
}

.hide {
    opacity: 0;
    transition-delay: .5s;
    pointer-events: none
}

.text-limit-2-row {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical
}

.text-limit-3-row {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical
}

.scroll-progress {
    height: 3px;
    width: 0;
    z-index: 9999999;
    position: fixed;
    top: 0
}

.dropdown-menu-language {
    min-width: 100px !important;
    box-shadow: 0 40px 40px 0 #0000000d;
    -moz-box-shadow: 0 40px 40px 0 #0000000d;
    -webkit-box-shadow: 0 40px 40px 0 #0000000d;
    -o-box-shadow: 0 40px 40px 0 #0000000d;
    -ms-box-shadow: 0 40px 40px 0 #0000000d;
    padding: 10px
}

.dropdown-menu-language li {
    padding: 3px 0
}

#off-canvas-toggle,
.user-account,
.subscribe,
.search-close,
button.slick-arrow,
.off-canvas-close,
.search-button,
.single-print,
.fonts-size-zoom-in,
.fonts-size-zoom-out,
.search-btn {
    cursor: pointer
}

.divider-2 {
    width: 100%;
    border-bottom: 3px double #000
}

.line-dots {
    width: 100%;
    border-bottom: dotted 1px #222;
    height: 1px;
    display: block;
    position: relative
}

.line-dots::before {
    content: "";
    height: 1px;
    width: 100%;
    border-bottom: dotted 1px #222;
    position: absolute;
    top: -2px;
    left: 0
}

.line-dots::after {
    content: "";
    height: 1px;
    width: 100%;
    border-bottom: dotted 1px #222;
    position: absolute;
    top: 2px;
    left: 0
}

button.search-icon {
    border: none;
    background: none;
    padding: 0;
    font-weight: 700;
    line-height: 1
}

.header-social-network {
    line-height: 1
}

#off-canvas-toggle span,
#off-canvas-toggle span::before,
#off-canvas-toggle span::after {
    background: #353c49;
    display: inherit;
    height: 2px;
    position: relative;
    width: 20px
}

#off-canvas-toggle span::before,
#off-canvas-toggle span::after {
    content: "";
    left: 0;
    position: absolute;
    right: 0
}

#off-canvas-toggle span::before {
    top: -10px;
    width: 20px
}

#off-canvas-toggle span::after {
    top: -5px;
    width: 20px
}

#off-canvas-toggle p {
    display: inline;
    font-size: 12px;
    margin: 0 0 0 5px
}

.off-canvas-close {
    background: none;
    border: 0;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 10px
}

.off-canvas-toggle-cover {
    text-align: right
}

#sidebar-wrapper {
    background: #f4f5f9;
    height: 100%;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    width: 0;
    z-index: 10001;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    top: 0;
    box-shadow: 0 0 15px #00000026
}

.position-left {
    left: 0;
    right: unset
}

.position-right {
    right: 0;
    left: unset
}

.position-absolute-center {
    top: 50%;
    transform: translateY(-50%)
}

.canvas-opened #sidebar-wrapper {
    width: 350px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease
}

.canvas-opened #off-canvas-toggle span {
    background: none
}

.canvas-opened #off-canvas-toggle span::after {
    top: -4px;
    width: 20px;
    transform: rotate(-45deg)
}

.canvas-opened #off-canvas-toggle span::before {
    top: -4px;
    width: 20px;
    transform: rotate(45deg)
}

.sidebar-inner {
    padding: 30px;
    display: table;
    height: 100%
}

.dark-mark {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: #ffffff73;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: visibility 0s linear 0.3s, opacity .3s ease, -webkit-transform .3s ease;
    transition: visibility 0s linear 0.3s, transform .3s ease, opacity .3s ease, -webkit-transform .3s ease
}

.canvas-opened .dark-mark {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
    transition: opacity .3s ease, -webkit-transform .3s ease;
    transition: transform .3s ease, opacity .3s ease;
    transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease
}

header .search-icon .ti-close,
.open-search-form header .search-icon .ti-search {
    display: none
}

.open-search-form header .search-icon .ti-close {
    display: inline
}

.main-search-form {
    transform: scaleY(0);
    height: 0;
    width: 100%
}

.open-search-form .main-search-form {
    overflow: hidden;
    transition: transform .2s ease-in-out;
    height: 100%;
    transform: scaleY(1);
    transform-origin: top
}

.main-search-form-cover {
    max-width: none
}

.search-header {
    border: 1px solid #464646
}

.search-header .custom-select {
    border: 0;
    border-radius: 0;
    height: 48px;
    background-color: #f5f5f5
}

.search-header .nice-select {
    -ms-flex-preferred-size: 110px !important;
    flex-basis: 110px !important;
    -webkit-box-flex: 0 !important;
    -ms-flex-positive: 0 !important;
    flex-grow: 0 !important;
    margin-left: 0 !important
}

.search-header button {
    border-radius: 0;
    padding: 0;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.input-group {
    margin-left: -1px
}

.main-header .main-nav ul li a {
    position: relative;
    padding: 0;
    display: block
}

.main-header .main-nav ul li>a::after {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    left: 50%;
    top: -1px;
    opacity: .5;
    transform: translateX(-50%)
}

.main-header .main-nav ul li.mega-menu-item a::after,
.main-header .main-nav ul li ul a::after {
    content: none
}

.main-header .main-nav ul li.current-menu-item>a::after,
.main-header .main-nav ul li:hover a::after {
    width: 50px;
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    -ms-transition: all .2s ease-out 0s;
    -o-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s
}

.main-header .main-nav ul li.menu-item-has-children>a {
    padding-right: 15px
}

.main-header .main-nav ul li.menu-item-has-children>a::before {
    content: "\e64b";
    font-family: "themify";
    font-size: 8px;
    display: inline-block;
    padding-left: 5px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%)
}

.main-header .main-nav ul ul.sub-menu {
    text-align: left;
    position: absolute;
    min-width: 140px;
    background: #000;
    left: 0;
    top: 130%;
    visibility: hidden;
    opacity: 0;
    padding: 17px 0;
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    -ms-transition: all .2s ease-out 0s;
    -o-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s;
    box-shadow: 0 40px 40px 0 #0000000d;
    -moz-box-shadow: 0 40px 40px 0 #0000000d;
    -webkit-box-shadow: 0 40px 40px 0 #0000000d;
    -o-box-shadow: 0 40px 40px 0 #0000000d;
    -ms-box-shadow: 0 40px 40px 0 #0000000d;
    z-index: 9999;
    border-top: 2px solid #000
}

.main-header ul>li:hover>ul.sub-menu {
    visibility: visible;
    opacity: 1;
    top: 100%
}

.main-header .main-nav ul ul.sub-menu {
    display: block;
    padding-left: 15px
}

.main-header .main-nav ul ul.sub-menu>li>a {
    font-weight: 500;
    line-height: 35px;
    color: #fff !important
}

.main-header .main-nav ul ul.sub-menu>li>a:hover {
    background: none
}

.header-area .header-top .header-info-right .header-social a i {
    -webkit-transition: all .4s ease-out 0s;
    -moz-transition: all .4s ease-out 0s;
    -ms-transition: all .4s ease-out 0s;
    -o-transition: all .4s ease-out 0s;
    transition: all .4s ease-out 0s;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg)
}

.header-area .header-top .header-info-right .header-social a:hover i {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg)
}

.main-header .main-nav ul li h6 a {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2
}

.logo-mobile {
    max-width: 45px;
    z-index: 500;
    position: relative
}

.main-menu {
    list-style-type: none;
    margin: 0;
    height: 100%;
    align-items: center
}

.main-menu>li {
    height: 100%;
    position: relative;
    display: inline-block;
    padding: 0 20px
}

.main-menu>li:first-child {
    padding-left: 0
}

.main-menu>li.mega-menu-item {
    position: static
}

.sub-mega-menu {
    flex-wrap: wrap;
    position: absolute;
    top: unset;
    left: 0;
    width: 100%;
    transform: scaleY(0);
    height: 0
}

.mega-menu-item.open .sub-mega-menu {
    transition: transform .2s ease-in-out;
    height: auto;
    transform: scaleY(1);
    transform-origin: top;
    z-index: 999
}

.sub-mega-menu .nav {
    width: 180px;
    padding: 30px 0 0 30px
}

.sub-mega-menu .tab-content {
    width: calc(100% - 180px)
}

.sub-mega-menu .nav-pills .nav-link {
    font-size: 12px;
    line-height: 1.8;
    color: #222;
    border-radius: 30px;
    padding: 5px 20px;
    text-align: left;
    border-radius: 50px
}

.sub-mega-menu .nav-pills .nav-link.active,
.sub-mega-menu .show>.nav-pills .nav-link {
    color: #fff;
    background-color: #7f8991
}

.sub-mega-menu .tab-content .tab-pane {
    padding: 25px 50px 35px 30px
}

.main-header .main-nav ul li .sub-mega-menu.sub-menu-list {
    padding: 20px 0;
    line-height: 35px;
    background: #fff;
    margin-top: 2px;
    box-shadow: 0 40px 40px 0 #0000000d;
    -moz-box-shadow: 0 40px 40px 0 #0000000d;
    -webkit-box-shadow: 0 40px 40px 0 #0000000d;
    -o-box-shadow: 0 40px 40px 0 #0000000d;
    -ms-box-shadow: 0 40px 40px 0 #0000000d
}

.main-header .main-nav ul li .sub-mega-menu.sub-menu-list a {
    line-height: 35px;
    font-weight: 500
}

.main-header .main-nav ul li.mega-menu-item .tab-content a {
    padding: 0;
    text-transform: none
}

.header-sticky.sticky-bar.sticky .header-flex {
    justify-content: space-between
}

.header-sticky.sticky-bar.sticky .header-btn .get-btn {
    padding: 20px
}

.header-area .slicknav_btn {
    top: -51px;
    right: 17px
}

.slicknav_menu .slicknav_nav a:hover {
    background: transparent
}

.slicknav_menu {
    background: transparent
}

.mobile_menu {
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 99
}

.main-header.header-style-1 {
    height: 65px;
    line-height: 65px
}

.header-style-1 .divider-2 {
    margin-top: -2px
}

.main-header.header-style-1 h1.logo {
    font-weight: 900;
    font-size: 40px;
    line-height: 65px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.main-header.header-style-2 h1.logo {
    font-weight: 900;
    font-size: 40px;
    line-height: 1;
    margin: 0
}

.main-header.header-style-2 .main-nav ul li>a {
    padding-top: 10px;
    padding-bottom: 10px
}

.main-header.header-style-2 .main-nav ul.sub-menu,
.main-header.header-style-2 .main-nav .sub-mega-menu {
    text-align: left
}

.main-header.header-style-2 .main-nav ul.sub-menu li>a,
.main-header.header-style-2 .main-nav .sub-mega-menu a {
    padding-top: 0;
    padding-bottom: 0
}

.main-header.header-style-2.sticky-bar .horizontal-divider-black {
    display: none
}

.main-header.header-style-2.sticky-bar {
    padding: 8px 0
}

/* ============================================================
   PAGINA 404
   ============================================================ */
.error-404 {
    padding: 70px 0 60px
}

.error-404-number {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(110px, 18vw, 200px);
    line-height: 1;
    color: #000;
    letter-spacing: -4px;
    margin-bottom: 0
}

.dark .error-404-number {
    color: #fff
}

.error-404-rule {
    width: 56px;
    height: 3px;
    background: #000;
    margin: 18px auto 22px
}

.dark .error-404-rule {
    background: #fff
}

.error-404-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 400;
    color: #000;
    margin-bottom: 14px
}

.dark .error-404-title {
    color: #fff
}

.error-404-lead {
    font-size: 15px;
    color: #666;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.75
}

.error-404-search {
    max-width: 460px;
    margin: 0 auto 22px
}

.error-404-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid #000;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: none;
    border-radius: 2px
}

.error-404-btn:hover {
    background: #000;
    color: #fff;
    text-decoration: none
}

.dark .error-404-btn {
    border-color: #fff;
    color: #fff
}

.dark .error-404-btn:hover {
    background: #fff;
    color: #000
}

.error-404-section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 400;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 25px;
    display: inline-block
}

.dark .error-404-section-title {
    border-color: #fff
}

.error-404-recent {
    padding-top: 40px;
    border-top: 1px solid #e1e1e1;
    margin-top: 50px
}

.dark .error-404-recent {
    border-color: #333
}

.error-404-card .post-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    background: #f0f0f0
}

.dark .error-404-card .post-thumb {
    background: #1c1c1c
}

.error-404-card .post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

/* ============================================================ */

.footer-area {
    color: #666
}

/* ============================================================
   PAGINA RICERCA
   ============================================================ */
.search-results-hero {
    padding: 30px 0 0;
    text-align: left
}

.search-results-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #888;
    margin-bottom: 6px;
    text-align: left
}

.search-results-header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px
}

.search-results-query {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(22px, 4vw, 42px);
    font-weight: 400;
    color: #000;
    margin-bottom: 6px;
    line-height: 1.2
}

.dark .search-results-query {
    color: #fff
}

.search-results-count {
    font-size: 13px;
    color: #888;
    margin-bottom: 0
}

.search-results-count strong {
    color: #000
}

.dark .search-results-count strong {
    color: #fff
}

.search-results-newform {
    flex-shrink: 0;
    width: 280px
}

/* result list */
.search-result-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    align-items: flex-start
}

.search-result-item+.search-result-item {
    border-top: 1px solid #e1e1e1
}

.dark .search-result-item+.search-result-item {
    border-color: #333
}

.search-result-thumb {
    flex-shrink: 0;
    width: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    background: #f0f0f0
}

.dark .search-result-thumb {
    background: #1c1c1c
}

.search-result-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.search-result-body {
    flex: 1;
    min-width: 0
}

.search-result-cat {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
    text-decoration: none
}

.dark .search-result-cat {
    background: #fff;
    color: #000
}

.search-result-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(16px, 2.2vw, 21px);
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #000
}

.dark .search-result-title {
    color: #fff
}

.search-result-title a {
    color: inherit;
    text-decoration: none
}

.search-result-title a:hover {
    text-decoration: underline
}

.search-result-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px
}

.dark .search-result-excerpt {
    color: #aaa
}

/* no results */
.search-no-results {
    padding: 20px 0 40px;
    text-align: center
}

.search-no-results-icon {
    font-size: 56px;
    color: #ccc;
    margin-bottom: 18px
}

.dark .search-no-results-icon {
    color: #555
}

.search-no-results-text {
    font-size: 15px;
    color: #666;
    max-width: 480px;
    margin: 0 auto 26px;
    line-height: 1.75
}

.search-no-results-form {
    max-width: 420px;
    margin: 0 auto 22px
}

@media(max-width:600px) {
    .search-result-thumb {
        width: 90px
    }
}

/* search form (stile header) nella pagina */
.search-page-form-wrap {
    margin: 18px 0 0
}

.search-page-form-wrap .search-header {
    margin-bottom: 0
}

/* filter bar */
.search-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f7f7f7;
    border-radius: 3px;
    margin-top: 10px
}

.dark .search-filters-bar {
    background: #222
}

.search-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0
}

.search-filter-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #666;
    white-space: nowrap;
    line-height: 36px;
    margin: 0
}

.dark .search-filter-label {
    color: #aaa
}

.search-filter-select {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0 10px;
    font-size: 12px;
    color: #333;
    background: #fff;
    cursor: pointer;
    height: 36px;
    min-width: max-content
}

.dark .search-filter-select {
    background: #2a2a2a;
    border-color: #444;
    color: #eee
}

.search-filter-divider {
    width: 1px;
    height: 18px;
    background: #ddd;
    flex-shrink: 0
}

.dark .search-filter-divider {
    background: #444
}

.search-filter-submit {
    margin-left: auto;
    background: #000;
    color: #fff;
    border: none;
    padding: 7px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap
}

.search-filter-submit:hover {
    background: #333
}

.dark .search-filter-submit {
    background: #fff;
    color: #000
}

.dark .search-filter-submit:hover {
    background: #e0e0e0
}

/* active filters badge */
.search-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px
}

.search-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px
}

.dark .search-filter-badge {
    background: #fff;
    color: #000
}

.search-filter-badge a {
    color: inherit;
    text-decoration: none;
    margin-left: 2px;
    opacity: .7
}

.search-filter-badge a:hover {
    opacity: 1
}

/* load more */
.search-load-more-wrap {
    text-align: center;
    padding: 30px 0 10px
}

.search-load-more-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #000;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: transparent;
    cursor: pointer;
    border-radius: 2px
}

.search-load-more-btn:hover:not(:disabled) {
    background: #000;
    color: #fff
}

.search-load-more-btn:disabled {
    opacity: .45;
    cursor: not-allowed
}

.dark .search-load-more-btn {
    border-color: #fff;
    color: #fff
}

.dark .search-load-more-btn:hover:not(:disabled) {
    background: #fff;
    color: #000
}

@media(max-width:767px) {
    .search-filters-bar {
        gap: 8px
    }

    .search-filter-submit {
        margin-left: 0;
        width: 100%
    }

    .search-filter-divider {
        display: none
    }
}

/* ============================================================ */

.footer-area ul li+li {
    margin-top: 10px
}

.footer-bottom-area .footer-border {
    border-top: 1px solid #e1e1e1
}

.footer-bottom-area .list-inline-item:not(:last-child) {
    margin-right: .8rem
}

.footer-bottom-area .footer-copy-right p {
    font-weight: 300;
    line-height: 1;
    margin: 0
}

.footer-bottom-area .footer-copy-right p a:hover {
    color: #fff
}

.footer-menu ul li {
    display: inline-block;
    margin-left: 36px
}

.footer-menu ul li:first-child {
    margin-left: 0
}

.pagination-area .page-item {
    margin: 0
}

.pagination-area .page-item:first-child {
    margin: 0
}

.pagination-area .page-link {
    color: #777;
    border: 0;
    font-size: 15px;
    text-align: center;
    background: none;
    padding: 0 10px;
    box-shadow: none;
    outline: 0
}

.pagination-area .page-item.active .page-link {
    z-index: 1;
    color: #000;
    background: none;
    border: 0;
    position: relative;
    box-shadow: none;
    outline: 0
}

.breadcrumb {
    display: inline-block;
    padding: 0;
    text-transform: capitalize;
    color: #6e6e6e;
    background: none;
    margin: 0;
    border-radius: 0
}

.breadcrumb span {
    position: relative;
    text-align: center;
    padding: 0 10px
}

.breadcrumb span::before {
    content: "\e649";
    font-family: "themify";
    display: inline-block;
    color: #101d35;
    font-size: 9px
}

.text-center .width-50 {
    margin: 0 auto
}

.border-top-1 {
    border-top: 1px solid #e1e1e1
}

.border-bottom-1,
.horizontal-divider {
    border-bottom: 1px solid #e1e1e1
}

.horizontal-divider-black {
    border-bottom: 1px solid #000
}

.border-top-2 {
    border-top: 4px double #e1e1e1
}

.vertical-divider {
    overflow: hidden;
    position: relative
}

.vertical-divider>[class*="col-"]:nth-child(n + 2)::after {
    content: "";
    background-color: #e1e1e1;
    position: absolute;
    top: 0;
    bottom: 0
}

.vertical-divider-spalla {
    overflow: hidden;
    position: relative
}

.vertical-divider-spalla>[class*="col-"] {
    position: relative
}

.vertical-divider-spalla>[class*="col-"]:nth-child(n+2)::after {
    content: "";
    background-color: #e1e1e1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px
}

@media (max-width: 767px) {
    .vertical-divider>[class*="col-"]:nth-child(n + 2)::after {
        width: 100%;
        height: 1px;
        left: 0;
        top: -4px
    }
}

@media (min-width: 768px) {
    .vertical-divider>[class*="col-"]:nth-child(n + 2)::after {
        width: 1px;
        height: auto;
        left: -1px
    }
}

.divider-wave,
.divider-wave-2 {
    position: relative
}

.loop-grid-3 .first-post .post-title::after,
.divider-wave::after {
    content: "";
    background: none;
    width: 59px;
    height: 5px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%)
}

.divider-wave-2::after {
    content: "";
    background: url(../imgs/theme/wave-line-2.svg) center center no-repeat;
    width: 59px;
    height: 11px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%)
}

.archive-header h2 {
    font-size: 3rem;
    color: #37768e
}

ul.sub-category li+li a {
    border-left: 1px solid #e1e1e1;
    padding-left: .5rem
}

.archive .loop-list-1 .first-post .img-hover-slide {
    min-height: 400px
}

.animate-conner-box::after {
    content: " ";
    width: 45px;
    height: 45px;
    display: block;
    position: absolute;
    bottom: -45px;
    right: -45px;
    border-left: 45px solid #ef3f48;
    border-bottom: 45px solid #fff;
    -webkit-transition: all .2s ease;
    transition: all .2s ease
}

.animate-conner:hover .animate-conner-box::after {
    bottom: 0 !important;
    right: 0 !important
}

.entry-meta .author-avatar {
    float: left;
    margin: -3px 15px 0 0
}

.entry-meta .author-avatar img {
    height: 40px;
    width: 40px
}

.entry-meta span {
    position: relative
}

.entry-header .entry-title {
    font-size: 3.2em
}

.entry-wraper .excerpt p,
.single-excerpt p {
    font-size: 1.5em;
    font-family: "Lora", serif;
    color: #000
}

.entry-main-content p {
    font-family: "Lora", serif
}

.dropcap>p:first-child::first-letter {
    font-size: 4em;
    float: left;
    margin-top: .15em;
    margin-right: .15em;
    line-height: 1
}

.dropcap ul,
.dropcap ol {
    padding-left: 2.5rem !important;
    list-style: none !important;
    margin-top: 15px;
    margin-bottom: 15px;
    counter-reset: item;
}

.dropcap li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
    list-style-type: none !important;
    line-height: 1.4;
}

@media (max-width: 768px) {

    .dropcap ul,
    .dropcap ol {
        padding-left: 1.8rem !important;
    }

    .dropcap li {
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .dropcap ul li::before,
    .dropcap ol li::before {
        margin-top: 0.25em;
    }
}

.dropcap ul li::before {
    content: "•";
    width: 1.5em;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.35em;
}

.dropcap ol li::before {
    content: counter(item) ".";
    counter-increment: item;
    width: 1.5em;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.35em;
}

.dropcap ul li::first-letter,
.dropcap ol li::first-letter,
.dropcap ul li p:first-child::first-letter,
.dropcap ol li p:first-child::first-letter {
    font-size: inherit;
    float: none;
    margin: 0;
    line-height: inherit
}

.dropcap li p {
    display: inline;
    margin: 0
}

.dropcap blockquote p:first-child::first-letter {
    font-size: inherit;
    margin: 0;
    line-height: inherit;
    float: none
}

.entry-main-content h1,
.entry-main-content h2,
.entry-main-content h3,
.entry-main-content h4,
.entry-main-content h5,
.entry-main-content h6 {
    font-weight: 700;
    font-family: "Roboto", sans-serif
}

.entry-wraper {
    position: relative
}

.entry-left-col {
    position: absolute;
    left: -20%;
    height: 200vh;
    z-index: 2;
    top: 3rem;
    bottom: 0
}

.social-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 70px
}

.social-sticky a {
    display: block;
    color: #0000008a;
    border-radius: 50%;
    border: 1px solid #00000057;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin-bottom: .5rem;
    font-size: 13px
}

.single-tools {
    display: table;
    float: right;
    background: #f5f5f5;
    padding: 7px 15px;
    border-radius: 2px
}

.overflow-hidden {
    overflow: hidden
}

.single-social-share a {
    width: 35px;
    display: block;
    height: 35px;
    text-align: center;
    line-height: 37px;
    font-size: 12px;
    border-radius: 50%;
    background-color: #eee
}

.single-thumnail .arrow-cover i {
    color: #fff
}

.single-excerpt p {
    line-height: 1.5
}

.entry-main-content {
    font-size: 1.2em
}

.entry-main-content p {
    line-height: 1.55
}

.entry-main-content h2 {
    line-height: 1.25;
    margin-top: 30px;
    margin-bottom: 28px;
    font-size: 1.5rem
}

.entry-main-content p {
    font-size: 1.1em
}

.entry-main-content figure {
    margin-bottom: 30px;
    margin-top: 30px
}

.entry-bottom .tags a {
    display: inline-block;
    font-weight: 400;
    text-decoration: none;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right: 5px;
    border-radius: 2px;
    font-size: 14px;
    text-transform: capitalize;
    font-style: italic;
    border-bottom: 1px solid #e1e1e1
}

.related-posts .img-hover-slide {
    min-height: 200px
}

blockquote {
    position: relative;
    border-left: 0;
    padding: 0 30px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-style: italic
}

blockquote::before {
    content: "";
    top: 0;
    height: 100%;
    left: 0;
    width: 4px;
    position: absolute;
    background: #000
}

blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
    margin-bottom: 0
}

.btn-play-video {
    color: #fff;
    border: 1px solid #fff;
    width: 50px;
    height: 40px;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    background: #00000080
}

.bt-1 {
    border-top: 1px solid
}

.border-color-1 {
    border-color: #e1e1e1
}

.comments-area {
    background: transparent;
    border-top: 1px solid #eee;
    padding: 45px 0;
    margin-top: 50px
}

.comments-area h4 {
    margin-bottom: 35px;
    color: #2a2a2a;
    font-size: 18px
}

.comments-area h5 {
    font-size: 16px;
    margin-bottom: 0
}

.comments-area a {
    color: #2a2a2a
}

.comments-area .comment-list {
    padding-bottom: 48px
}

.comments-area .comment-list:last-child {
    padding-bottom: 0
}

.comments-area .comment-list.left-padding {
    padding-left: 25px
}

.comments-area .thumb {
    margin-right: 20px
}

.comments-area .thumb img {
    width: 70px;
    border-radius: 50%
}

.comments-area .date {
    font-size: 14px;
    color: #999;
    margin-bottom: 0;
    margin-left: 20px
}

.comments-area .comment {
    margin-bottom: 10px;
    color: #262626;
    font-size: 15px
}

.comments-area .btn-reply {
    background-color: transparent;
    color: #888;
    font-size: 14px;
    display: block;
    font-weight: 400;
    border-bottom: 1px solid #e1e1e1;
    font-style: italic
}

.comment-form {
    border-top: 1px solid #eee;
    padding-top: 45px;
    margin-top: 50px;
    margin-bottom: 20px
}

.comment-form .mb-3 {
    margin-bottom: 30px
}

.comment-form h4 {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 22px;
    color: #2a2a2a
}

.comment-form .name {
    padding-left: 0
}

.form-control {
    border: 1px solid #e1e1e1;
    border-radius: 2px;
    height: 48px;
    padding-left: 18px;
    font-size: 14px;
    background: transparent
}

.form-control:focus {
    outline: 0;
    box-shadow: none
}

.form-control::placeholder {
    font-weight: 300;
    color: #999;
    color: #262626
}

.custom_select {
    position: relative;
    width: 100%
}

.custom_select .nice-select {
    width: 100%;
    margin-bottom: 1rem
}

.nice-select .list {
    width: 100%
}

.comment-form textarea {
    padding-top: 18px;
    border-radius: 2px;
    height: 100% !important
}

.comment-form::-webkit-input-placeholder {
    font-size: 13px;
    color: #262626
}

.comment-form::-moz-placeholder {
    font-size: 13px;
    color: #262626
}

.comment-form:-ms-input-placeholder {
    font-size: 13px;
    color: #262626
}

.comment-form:-moz-placeholder {
    font-size: 13px;
    color: #262626
}

.button-contactForm {
    background: #ef3f48;
    color: #fff;
    border-color: #ef3f48;
    padding: 12px 25px
}

.button {
    display: inline-block;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 54px;
    border-radius: 2px;
    color: #fff;
    border: 1px solid #138496;
    text-transform: uppercase;
    background: #138496;
    cursor: pointer;
    transition: all 300ms linear 0s
}

.button:hover {
    background: #097283;
    border: 1px solid #097283
}

.wp-block-separator {
    border-top: 1px solid #f4f5f9;
    margin: 20px auto
}

.wp-block-image,
.wp-block-embed,
.wp-block-gallery {
    margin-bottom: 30px
}

.blocks-gallery-grid,
.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0
}

.blocks-gallery-grid.columns-3 .blocks-gallery-image,
.blocks-gallery-grid.columns-3 .blocks-gallery-item,
.wp-block-gallery.columns-3 .blocks-gallery-image,
.wp-block-gallery.columns-3 .blocks-gallery-item {
    width: calc((100% - 32px) / 3);
    margin-right: 16px;
    margin-bottom: 16px
}

.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),
.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),
.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n) {
    margin-right: 0
}

.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img,
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: 100%;
    flex: 1;
    -o-object-fit: cover;
    object-fit: cover
}

.wp-block-separator.is-style-dots {
    border: none;
    width: auto;
    background: none !important;
    border: none;
    text-align: center;
    max-width: none;
    line-height: 1;
    height: auto
}

.wp-block-separator.is-style-dots::before {
    content: "\00b7 \00b7 \00b7";
    color: currentColor;
    font-size: 20px;
    letter-spacing: 2em;
    padding-left: 2em;
    font-family: serif
}

.wp-block-separator.is-style-dots {
    text-align: center;
    line-height: 1
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
    margin: 0 0 16px;
    padding: 30px;
    background: #f4f5f9;
    border-radius: 5px
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
    font-size: 30px;
    line-height: 1.3;
    font-style: normal
}

.wp-block-image {
    margin-bottom: 30px
}

/* Stili standard WordPress per allineamento immagini nel contenuto */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter,
figure.aligncenter {
    display: block;
    margin: 1.5em auto;
    text-align: center;
}

.alignright,
figure.alignright {
    float: right;
    margin: 0.5em 0 1.5em 1.5em;
    max-width: 100%;
}

.alignleft,
figure.alignleft {
    float: left;
    margin: 0.5em 1.5em 1.5em 0;
    max-width: 100%;
}

.wp-block-image .aligncenter>figcaption,
.wp-block-image .alignleft>figcaption,
.wp-block-image .alignright>figcaption,
.wp-block-image.is-resized>figcaption {
    display: block;
    width: 100%;
    color: #6a6a6a;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
}

.tooltip-inner {
    font-size: .7em
}

table {
    width: 100%;
    margin-bottom: 1.5rem;
    color: #212529;
    border-collapse: collapse
}

table p {
    margin-bottom: 0
}

.entry-main-content table td,
.entry-main-content table th,
.comment-content table td,
.comment-content table th {
    padding: .5em 1em;
    border: 1px solid #e6e6e6
}

.entry-main-content dd,
.single-comment dd {
    margin: 0 0 1.65em
}

.entry-main-content ul {
    list-style: disc
}

.entry-main-content ul li,
.comment-content ul li {
    list-style: disc inside;
    line-height: 2
}

.entry-main-content ul li.blocks-gallery-item {
    list-style: none
}

.entry-main-content li>ul,
.entry-main-content li>ol,
.comment-content li>ul,
.comment-content li>ol {
    padding-left: 2rem
}

.entry-main-content ol {
    padding-left: 0
}

ol li {
    list-style: decimal inside;
    width: 100%;
    line-height: 2
}

pre {
    border: 1px solid #e1e1e1;
    font-size: 1em;
    line-height: 1.8;
    margin: 15px 0;
    max-width: 100%;
    overflow: auto;
    padding: 1.75em;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #fff;
    border-radius: 5px
}

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0 #ef3f48cc
    }

    100% {
        box-shadow: 0 0 0 5px #0000
    }
}

@keyframes shadow-pulse-big {
    0% {
        box-shadow: 0 0 0 0 #ef3f481a
    }

    100% {
        box-shadow: 0 0 0 20px #0000
    }
}

/* =========================
   DARK MODE
   ========================= */
.dark body {
    background-color: #181818;
    color: #fff;
}

.dark .logo-light {
    display: none !important;
}

.dark .logo-dark {
    display: block !important;
}

/* Tagline */
.dark .logo .head-line {
    color: #fff !important;
}

/* Links in post content */
.dark .entry-main-content a,
.dark .entry-main-content p a {
    color: #fff !important;
}

.dark .entry-main-content a:hover,
.dark .entry-main-content p a:hover {
    color: #ccc !important;
}

/* Dividers */
.dark .horizontal-divider-black,
.dark .divider-2,
.dark .footer-border,
.dark .bt-1,
.dark .border-top-1,
.dark .border-bottom-1 {
    border-color: #fff !important;
}

/* Social Icons (Header/Footer - NOT sharing) */
.dark .header-social-network a,
.dark .header-social-network a i {
    color: #fff !important;
}

/* Post Meta (Author, Date, Comments) */
.dark .entry-meta,
.dark .entry-meta span,
.dark .author-name,
.dark .entry-date,
.dark .hit-count a {
    color: #fff !important;
}

/* Sticky Bar */
.dark .sticky-bar {
    background: #181818 !important;
    border-bottom: 1px solid #333;
}

.dark .sticky-bar a {
    color: #fff !important;
}

/* Sidebar (Argomenti / Off-canvas) */
.dark #sidebar-wrapper,
.dark .menu-sidebar {
    background: #181818 !important;
}

.dark .sidebar-inner,
.dark .sidebar-widget,
.dark .sidebar-widget p,
.dark .sidebar-widget strong,
.dark .sidebar-widget li,
.dark .sidebar-widget a,
.dark .sidebar-widget .post-title a,
.dark .sidebar-widget .widget-title,
.dark .sidebar-widget .entry-meta,
.dark .sidebar-widget .hit-count {
    color: #fff !important;
}

.dark .sidebar-widget .color-grey {
    color: #ccc !important;
}

/* Single Tools (Text Size, Print, Email) - Keep black on light background */
.dark .single-tools {
    background: #f5f5f5 !important;
}

.dark .single-tools,
.dark .single-tools a,
.dark .single-tools span,
.dark .single-tools i {
    color: #000 !important;
}

/* Search and Topics Button */
.dark button.search-icon svg {
    color: #fff !important;
    fill: #fff !important;
}

.dark #off-canvas-toggle span,
.dark #off-canvas-toggle span::before,
.dark #off-canvas-toggle span::after {
    background: #fff !important;
}

.dark #off-canvas-toggle p {
    color: #fff !important;
}

/* Search Modal */
.dark .main-search-form {
    background: #fff !important;
}

.dark .main-search-form .suggested-area,
.dark .main-search-form .suggested-area a,
.dark .main-search-form .suggested {
    color: #000 !important;
}

/* Tag chips nella search modal */
.search-tag-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #999;
    margin-bottom: 12px
}

.search-tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.search-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 13px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s
}

.search-tag-chip:hover {
    border-color: #000;
    color: #000;
    background: #f5f5f5
}

.search-tag-hash {
    font-weight: 700;
    color: #aaa;
    margin-right: 1px;
    transition: color .2s
}

.search-tag-chip:hover .search-tag-hash {
    color: #000
}

.dark .main-search-form .search-tag-label {
    color: #666
}

.dark .main-search-form .search-tag-chip {
    border-color: #ccc;
    color: #222
}

.dark .main-search-form .search-tag-chip:hover {
    border-color: #000;
    background: #eee
}

/* Mobile Menu in Dark Mode */
.dark .slicknav_menu,
.dark .slicknav_nav {
    background: #181818 !important;
}

.dark .slicknav_btn {
    background: transparent !important;
}

.dark .slicknav_menutxt {
    color: #fff !important;
}

.dark .slicknav_icon-bar {
    background-color: #fff !important;
}

.dark .slicknav_nav a,
.dark .slicknav_nav .slicknav_arrow {
    color: #fff !important;
}

.dark .slicknav_nav li:hover a {
    color: #ccc !important;
}

/* Related Posts */
.dark .related-posts h3,
.dark .related-posts .post-title a,
.dark .related-posts .excerpt {
    color: #fff !important;
}

/* Footer Texts */
.dark .footer-area,
.dark .footer-area h3,
.dark .footer-area h5,
.dark .footer-area p,
.dark .footer-area address,
.dark .footer-area strong,
.dark .footer-area a,
.dark .author-loop-footer p,
.dark .footer-bottom-area,
.dark .footer-bottom-area p,
.dark .footer-bottom-area a {
    color: #fff !important;
}

/* Sharing Icons (Post Content - Keep black for visibility on light circles) */
.dark .single-social-share a,
.dark .social-sticky a {
    color: #000 !important;
}

/* Social Icons Sidebar Mobile */
.sidebar-social-mobile {
    padding: 15px 0;
    margin-bottom: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-social-mobile ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sidebar-social-mobile .list-inline-item {
    margin: 0 !important;
}

.sidebar-social-mobile .icon-social {
    width: 24px !important;
    height: 24px !important;
    color: #333 !important;
    display: block;
    transition: transform 0.2s ease;
}

.sidebar-social-mobile a:hover .icon-social {
    transform: scale(1.1);
    color: #000 !important;
}

/* Sidebar Header Flex */
.sidebar-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-header-flex .logo-link {
    max-width: 60%;
}

.sidebar-header-flex .logo-link img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* 3-State Theme Switcher */
.theme-switch-3state {
    display: flex;
    background: #eeeeee;
    padding: 3px;
    border-radius: 20px;
    border: 1px solid #dddddd;
}

.theme-switch-3state button {
    background: none;
    border: none;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 32px;
    height: 32px;
}

.theme-switch-3state button .icon-switcher {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.5;
    display: block;
}

.theme-switch-3state button:hover {
    color: #000;
}

.theme-switch-3state button.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Dark Mode Overrides */
.dark .sidebar-header-flex {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark .theme-switch-3state {
    background: #2a2a2a;
    border-color: #444444;
}

.dark .theme-switch-3state button {
    color: #999999;
}

.dark .theme-switch-3state button.active {
    background: #555555;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dark .theme-switch-3state button:hover {
    color: #ffffff;
}

.dark .sidebar-social-mobile .icon-social {
    color: #ffffff !important;
}

.dark .sidebar-social-mobile {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Desktop Switcher Specific Adjustments */
.desktop-switcher {
    padding: 2px;
    background: #f0f0f0;
    border-radius: 20px;
    border: 1px solid #ddd;
    display: inline-flex !important;
    vertical-align: middle;
    margin-left: 10px;
}

.desktop-switcher button {
    width: 26px !important;
    height: 26px !important;
    padding: 4px !important;
}

.desktop-switcher button .icon-switcher {
    width: 14px !important;
    height: 14px !important;
}

.dark .desktop-switcher {
    background: #2a2a2a;
    border-color: #444;
}

.dark .desktop-switcher button.active {
    background: #555;
}

/* =========================
   COMMENTS SYSTEM — specificity massima via #comments (ID)
   ========================= */
#comments {
    border-top: 1px solid #ebebeb;
    margin-top: 50px;
    padding-top: 50px;
}

/* RESET TOTALE: azzero Bootstrap ol/ul padding solo nei commenti — selettore diretto senza dipender dalla classe */
#comments>ol,
#comments ol.comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#comments ul.children {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Elimina bullet nativi del browser e ::before da dropcap */
#comments li {
    list-style: none !important;
    margin-left: 0 !important;
}

#comments li::marker {
    content: none !important;
}

#comments li::before {
    content: none !important;
    display: none !important;
}

/* Commento principale: NESSUN rientro */
#comments>ol>li,
#comments ol.comment-list>li {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 24px;
    border: none;
}

/* Layout commento: flexbox con gap */
#comments .single-comment {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

#comments .single-comment .thumb {
    flex-shrink: 0;
}

/* Avatar SEMPRE TONDO: forza width=height=58px, sovrascrive WordPress e Bootstrap */
#comments .single-comment .thumb img,
#comments .single-comment .thumb .avatar-circle {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* Contenuto desc */
#comments .single-comment .desc {
    flex: 1;
    min-width: 0;
}

#comments .single-comment .comment-body {
    font-family: "Lora", serif;
    font-size: 15px;
    color: #444;
    line-height: 1.55;
}

#comments .single-comment .comment-body p {
    margin-bottom: 4px;
}

#comments .single-comment .comment-body p:last-child {
    margin-bottom: 0;
}

/* Meta commento (nome, data, rispondi) — vicino al testo */
#comments .single-comment .comment-meta {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

#comments .single-comment .comment-author cite,
#comments .single-comment .comment-author a {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    font-style: normal;
}

#comments .single-comment .comment-date {
    font-size: 11px;
    color: #262626;
    margin-left: 8px;
}

#comments a.comment-reply-link,
#comments .comment-reply a {
    background: #f2f2f2;
    color: #1a1a1a !important;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
}

#comments a.comment-reply-link:hover,
#comments .comment-reply a:hover {
    background: #1a1a1a;
    color: #fff !important;
}

/* RISPOSTE: rientro + linea ad albero SOLO qui */
#comments ul.children {
    margin-top: 14px !important;
}

#comments ul.children>li {
    padding-left: 22px !important;
    border-left: 2px solid #e0e0e0;
    margin-bottom: 16px;
}

/* Avatar più piccolo SOLO nelle risposte */
#comments ul.children .single-comment .thumb img,
#comments ul.children .single-comment .thumb .avatar-circle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
}

/* Comment Form */
.comment-form .form-control {
    border: 1px solid #ebebeb;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    transition: 0.3s;
}

.comment-form .form-control:focus {
    border-color: #1a1a1a;
    box-shadow: none;
    outline: none;
}

.button-contactForm {
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
}

.button-contactForm:hover {
    background-color: #333;
    color: #fff;
}

/* Dark Mode Overrides for Comments */
.dark .comments-area {
    border-color: #333 !important;
}

.dark #comments .comment-body {
    color: #ffffff !important;
}

.dark #comments .comment-author,
.dark #comments .comment-author a,
.dark #comments .comment-author cite,
.dark #comments .comment-author span {
    color: #ffffff !important;
}

.dark #comments .comment-date {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.dark #comments .comment-awaiting-moderation {
    color: #ffffff !important;
}

/* Avatar con bordo bianco in Dark Mode */
.dark #comments .thumb img,
.dark #comments .thumb .avatar-circle {
    border: 2px solid #ffffff !important;
}

/* Form e Placeholder in Dark Mode */
.dark .comment-form .form-control,
.dark #comments input,
.dark #comments textarea,
.dark #comments #tb_captcha {
    background-color: #222 !important;
    border-color: #444 !important;
    color: #ffffff !important;
}

/* Catch-all per TUTTI i placeholder nell'area commenti Dark */
.dark #comments ::placeholder {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.dark #comments ::-webkit-input-placeholder {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.dark #comments ::-moz-placeholder {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.dark #comments :-ms-input-placeholder {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.dark #comments :-moz-placeholder {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.dark .comment-form .form-control:focus,
.dark #comments #tb_captcha:focus {
    border-color: #ffffff !important;
}

/* Labels e Captcha Box in Dark Mode */
.dark #comments label,
.dark #comments .comment-form-captcha {
    color: #ffffff !important;
}

.dark #comments .comment-form-captcha {
    background: #2a2a2a !important;
    border-color: #444 !important;
}

/* Pulsanti in Dark Mode */
.dark .btn-reply,
.dark #comments a.comment-reply-link {
    background-color: #333 !important;
    color: #ffffff !important;
    border-color: #444 !important;
}

.dark .btn-reply:hover,
.dark #comments a.comment-reply-link:hover {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

.dark .button-contactForm {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

.dark .button-contactForm:hover {
    background-color: #cccccc !important;
}

/* =========================
   HOMEPAGE — UTILITY SPACING
   ========================= */
.mt-30 { margin-top: 30px }
.mb-10 { margin-bottom: 10px }
.mb-15 { margin-bottom: 15px }
.mb-20 { margin-bottom: 20px }
.mb-25 { margin-bottom: 25px }
.mb-30 { margin-bottom: 30px }
.mr-5  { margin-right: 5px }
.mr-10 { margin-right: 10px }
.mr-15 { margin-right: 15px }
.ml-15 { margin-left: 15px }
.ml-30 { margin-left: 30px }
.pl-15 { padding-left: 15px }
.pr-15 { padding-right: 15px }
.p-20  { padding: 20px }
.p-30  { padding: 30px }
.plr-5-percent { padding-left: 5%; padding-right: 5% }

/* =========================
   HOMEPAGE — FEATURED GRID
   ========================= */

/* Griglia 3 post con immagini di sfondo (NO slider, NO autoplay) */
.home-featured-1.post-module-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 360px;
    gap: 4px;
}

@media (max-width: 991px) {
    .home-featured-1.post-module-1 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 260px);
    }
    /* Il 3° item su tablet occupa tutta la larghezza */
    .home-featured-1.post-module-1 .post-thumb:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 575px) {
    .home-featured-1.post-module-1 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 220px);
    }
    .home-featured-1.post-module-1 .post-thumb:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
    }
}

.home-featured-1.post-module-1 .post-thumb {
    overflow: hidden;
}

/* Overlay container con background-image */
.thumb-overlay {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

/* Transizione 0.4s generica */
.transition-04s {
    transition: all 0.4s ease;
}

/* Hover zoom sull'immagine di sfondo */
.img-hover-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.img-hover-slide:hover {
    background-size: 110%;
}

/* Link trasparente su tutta l'immagine */
.img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Contenuto testo in overlay (data, categorie, titolo) */
.post-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.30) 60%, transparent 100%);
}

/* Categoria in overlay bianca */
.post-content-overlay .post-cat {
    display: inline-block;
    margin-right: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.post-content-overlay .post-cat::before {
    content: "#";
    margin-right: 1px;
}

/* =========================
   HOMEPAGE — CATEGORY LINKS
   ========================= */

/* Link categoria stile # */
.post-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ef3f48;
    margin-right: 6px;
    text-decoration: none;
}

.post-cat::before {
    content: "";
}

a .post-cat { color: inherit }
a:hover .post-cat { text-decoration: underline }

/* =========================
   HOMEPAGE — TAB NAVIGATION
   ========================= */
.tab-nav .nav-tabs {
    border-bottom: none;
}

.tab-nav .nav-tab {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
    padding: 8px 16px 8px 0;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
}

.tab-nav .nav-tab.active,
.tab-nav .nav-tab:hover {
    color: #000;
    border-bottom-color: #000;
    background: none;
}

/* =========================
   HOMEPAGE — FLASH NEWS
   ========================= */
.news-flash-cover {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-left: 4px solid #ef3f48;
    padding: 10px 15px;
    overflow: hidden;
}

.flash-news-title {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ef3f48;
    margin: 0;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #ddd;
}

/* Ticker orizzontale puro CSS — nessun JS, nessun vTicker verticale */
#news-flash {
    overflow: hidden;
    flex: 1;
    height: 22px;
    position: relative;
}

/* Il trucco: duplichiamo i li via CSS animation per un loop continuo.
   L'HTML ha 4 li — l'animazione scorre da 0 al 50% (= lunghezza di 1 set).
   Il JS non tocca questo elemento. */
#news-flash ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 60px;
    white-space: nowrap;
    width: max-content;
    animation: hp-ticker 28s linear infinite;
}

#news-flash ul li {
    flex-shrink: 0;
    line-height: 22px;
}

#news-flash ul li::before {
    content: "—";
    color: #ef3f48;
    margin-right: 10px;
    font-weight: 700;
}

#news-flash ul li a {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

#news-flash ul li a:hover {
    color: #ef3f48;
}

@keyframes hp-ticker {
    0%   { transform: translateX(0) }
    100% { transform: translateX(-50%) }
}

/* Pausa al hover */
.news-flash-cover:hover #news-flash ul {
    animation-play-state: paused;
}

/* Rispetta prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    #news-flash ul {
        animation: none;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
}

.dark .news-flash-cover {
    background: #1c1c1c;
}

.dark .flash-news-title {
    border-right-color: #444;
}

.dark #news-flash ul li a {
    color: #ccc;
}

/* ===== SIDEBAR STICKY ===== */
/* CSS sticky come fallback affidabile (theiaStickySidebar è opzionale) */
.sticky-sidebar {
    position: sticky;
    top: 90px; /* sotto l'header sticky */
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    /* scrollbar sottile */
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.sticky-sidebar::-webkit-scrollbar {
    width: 4px;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.dark .sticky-sidebar::-webkit-scrollbar-thumb {
    background: #444;
}

/* =========================
   HOMEPAGE — WIDGET HEADERS
   ========================= */

/* Stile 1: linea + titolo centrato su sfondo bianco */
.widget-header-style-1 {
    position: relative;
    text-align: center;
}

.widget-header-style-1 .line-dots {
    display: block;
    margin-bottom: 0;
}

/* Stile 2: titolo con linea sotto */
.widget-header-style-2 .line-dots {
    display: block;
    margin-top: 8px;
}

/* Stile 3: titolo + linea dot compatta */
.widget-header-style-3 {
    margin-bottom: 20px;
}

.widget-header-style-3 .line-dots {
    display: block;
    margin-top: 6px;
}

.widget-title {
    display: block;
}

/* =========================
   HOMEPAGE — LIST POSTS (Breaking News sidebar)
   ========================= */
.list-post {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-post li {
    padding: 0;
}

.post-thumb-80 {
    width: 80px;
    min-width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.post-thumb-80 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.img-hover-scale:hover img {
    transform: scale(1.05);
}

/* =========================
   HOMEPAGE — MISC BADGES
   ========================= */
.live-now {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ef3f48;
    margin-bottom: 8px;
}

.live-now::before {
    content: "● ";
    font-size: 10px;
    animation: blink-live 1.2s step-start infinite;
}

/* Il wrapper button non deve interferire con il layout del badge */
button.thebill-video-trigger {
    display: inline-block;
    cursor: pointer;
}

/* Solleva il badge sopra stretched-link (z-index: 1) */
.video-badge-below {
    position: relative;
    z-index: 2;
}


@keyframes blink-live {
    0%, 100% { opacity: 1 }
    50%       { opacity: 0 }
}

.post-format {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
}

.position-top-right {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}

/* =========================
   HOMEPAGE — AUTHOR IMG (avatar piccolo inline)
   ========================= */
.author-img {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: middle;
}

.author-img img,
.author-img .avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover;
    display: block;
}

/* =========================
   HOMEPAGE — DATE TIME BAR
   ========================= */
#date-time ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 12px;
    color: #555;
    justify-content: flex-end;
}

/* Separatore | tra i due li */
#date-time ul li + li::before {
    content: " | ";
    margin: 0 8px;
    color: #ccc;
}

#date-time ul li a {
    color: #333;
    text-decoration: none;
}

#date-time ul li a:hover {
    color: #ef3f48;
}

/* La data è in grassetto leggero per distinguerla dal testo */
#date-time ul li time {
    font-weight: 600;
    color: #222;
}

.dark #date-time ul li,
.dark #date-time ul li a,
.dark #date-time ul li time {
    color: #ccc;
}

.dark #date-time ul li + li::before {
    color: #555;
}

/* =========================
   HOMEPAGE — BG WHITE (per testo centrato su line-dots)
   ========================= */
.bg-white {
    background-color: #fff;
}
.dark .bg-white {
    background-color: #181818;
}

/* =========================
   HOMEPAGE — LOOP GRID images fix
   ========================= */

/* Assicura che tutte le figure nei loop abbiano immagini corrette */
.loop-grid figure img,
.loop-grid-2 figure img,
.loop-grid-4 figure img,
.latest-post figure img,
.the-world figure img,
.editor-picked figure img,
.video-news figure img,
.recent-new figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.loop-grid figure,
.loop-grid-2 figure {
    overflow: hidden;
    margin: 0;
}

.loop-grid figure img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Loop grid 4 (breaking news) */
.loop-grid-4 figure img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Thumbnail 80px nelle liste */
.post-thumb-80 a {
    display: block;
    width: 80px;
    height: 80px;
}

/* =========================
   GRID EDITORIAL 4 — image fix
   Stesso bug di the-world: .editor-picked figure img { height:auto }
   sovrascrive height:100% di .loop-grid-3 figure img
   ========================= */
.editor-picked .loop-grid-3 figure img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Sinistra col-md-6/col-lg-7: ratio 4:3 */
.editor-picked .loop-grid-3 .col-lg-7 figure {
    aspect-ratio: 4 / 3;
}

/* Destra col-md-6/col-lg-5: ratio 4:3, nessun margin-bottom */
.editor-picked .loop-grid-3 .col-lg-5 figure {
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
}

/* =========================
   GRID HIGHLIGHT 5 — image fix
   Ripristina height:100% che viene sovrascritto dal blocco generico
   ".the-world figure img { height: auto }" definito sopra.
   Necessario perché object-fit:cover richiede height:100% sul contenitore.
   ========================= */
.the-world .loop-grid-3 figure img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Hero (first-post): ratio 3:2 — standard editoriale news */
.the-world .loop-grid-3 .first-post figure {
    aspect-ratio: 3 / 2;
}

/* Secondari (4 thumbnail): ratio 4:3 */
.the-world .loop-grid-3 .col-md-6 figure {
    aspect-ratio: 4 / 3;
}

/* =========================
   HOMEPAGE — HAS-TOP-BORDER
   ========================= */
.has-top-border {
    border-top: 2px solid #000;
    width: 100%;
    display: block;
}

/* Video-news: linea separatrice più sottile (bg grigio, non serve il nero 2px) */
.video-news .has-top-border {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* =========================
   GRID MULTIZONE 11 — image fix
   Stesso pattern loop-grid-3: aspect-ratio sul container + height:100% sull'img.
   Senza overflow:hidden sulla figure, object-fit:cover non croppava correttamente.
   ========================= */
/* Hero col-lg-5: quadrata 1:1 */
.video-news .col-lg-5 > article > figure {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* Central 3 thumbnails (col-lg-6 within col-lg-4 article): quadrata 1:1 */
.video-news .col-lg-4 figure {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.video-news .loop-grid-4 figure img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* =========================
   DARK MODE HOMEPAGE
   ========================= */
.dark .home-featured {
    background: transparent;
}

.dark .tab-nav .nav-tab {
    color: #aaa;
}

.dark .tab-nav .nav-tab.active,
.dark .tab-nav .nav-tab:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.dark .has-top-border {
    border-top-color: #fff;
}

.dark .post-cat {
    color: #ef3f48;
}

.dark .live-now {
    color: #ef3f48;
}

.dark blockquote::before {
    background: #fff;
}

/* Sfondo grigio in dark */
.dark .bg-grey {
    background: #1c1c1c !important;
}

/* =====================================================
   HOMEPAGE — FEATURED HERO TABS (hero-tabs.php)
   Layout giornale: immagine + testo separati, zero overlay
   ===================================================== */

/* --- Barra superiore tab + data ---
   Nessun bordo full-width: il separatore è solo sotto il testo dei tab (via .nav-tab.active)
   ─────────────────────────────────────── */
.featured-topbar {
    padding-bottom: 0;
    margin-bottom: 16px !important;
}

/* Override Bootstrap nav-tabs: rimuove border-bottom del container,
   lascia solo l'indicatore rosso sul tab attivo */
.featured-topbar .nav-tabs {
    border-bottom: none;
}

.featured-topbar .nav-tab {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    padding: 6px 14px 6px 0;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    transition: color 0.18s, border-color 0.18s;
}

.featured-topbar .nav-tab.active,
.featured-topbar .nav-tab:hover {
    color: #111;
    border-bottom-color: #ef3f48;
    background: none;
}

.dark .featured-topbar .nav-tab { color: #666; }
.dark .featured-topbar .nav-tab.active,
.dark .featured-topbar .nav-tab:hover { color: #eee; border-bottom-color: #ef3f48; }

/* --- Immagine hero (col sinistra) --- */
.featured-hero-image-link {
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.featured-hero-image-wrap {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
}

.featured-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-hero-card:hover .featured-hero-img {
    transform: scale(1.04);
}

/* --- Corpo testuale hero --- */
.featured-hero-body {
    padding: 14px 0 6px 14px;
    border-left: 3px solid #ef3f48;
    margin-top: 6px;
}

.featured-hero-title {
    font-family: 'EB Garamond', 'Lora', Georgia, serif;
    font-size: clamp(1.35rem, 1.8vw, 1.9rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: #111;
    margin-bottom: 10px;
}

.featured-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-hero-title a:hover {
    color: #ef3f48;
}

.featured-hero-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: 10px;
}

/* --- Card laterali: riempiono tutta l'altezza della colonna hero --- */
.featured-side-stack {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-side-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex: 1;                  /* ciascuna occupa metà altezza */
    padding: 12px 0;
    min-height: 0;            /* evita overflow su Firefox */
}

.featured-side-card + .featured-side-card {
    border-top: 1px solid #e8e8e8;
}

.dark .featured-side-card + .featured-side-card {
    border-top-color: #2e2e2e;
}

/* Thumbnail card laterale — stessa altezza del testo disponibile */
.featured-side-thumb {
    flex-shrink: 0;
    width: 120px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    align-self: stretch;      /* si allunga quanto il corpo testo */
}

.featured-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.featured-side-card:hover .featured-side-img {
    transform: scale(1.06);
}

/* Contenuto testuale card laterale */
.featured-side-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.featured-side-title {
    font-family: 'EB Garamond', 'Lora', Georgia, serif;
    font-size: clamp(0.98rem, 1.1vw, 1.1rem);
    font-weight: 700;
    line-height: 1.28;
    color: #111;
    margin-bottom: 6px;
}

.featured-side-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-side-title a:hover {
    color: #ef3f48;
}

.featured-side-excerpt {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    flex: 1;                  /* spinge l'author/date in fondo */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Colonna hero e colonna side: altezza eguale */
@media (min-width: 992px) {
    .featured-grid.row {
        align-items: stretch;
    }

    .featured-hero-col,
    .featured-side-col {
        display: flex;
        flex-direction: column;
    }

    .featured-hero-card {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .featured-side-col {
        border-left: 1px solid #e8e8e8;
        padding-left: 22px;
    }

    .dark .featured-side-col {
        border-left-color: #2e2e2e;
    }

    .featured-side-stack {
        flex: 1;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .featured-side-stack {
        margin-top: 16px;
    }

    .featured-side-thumb {
        width: 90px;
        height: 68px;
        align-self: auto;
    }

    .featured-hero-image-wrap {
        aspect-ratio: 16 / 9;
    }
}

/* Dark mode */
.dark .featured-hero-title,
.dark .featured-side-title {
    color: #e8e8e8;
}

.dark .featured-hero-excerpt,
.dark .featured-side-excerpt {
    color: #999;
}

.dark .featured-hero-body {
    border-left-color: #ef3f48;
}

/* mb utility */
.mb-6  { margin-bottom: 6px }
.mb-8  { margin-bottom: 8px }

/* =========================
   HOMEPAGE — NUMBERED BADGE (featured posts)
   ========================= */
.post-number-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    width: 32px;
    height: 32px;
    background: #ef3f48;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--font-heading, serif);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* =========================
   HOMEPAGE — POST TITLE LINK HOVER
   ========================= */
.post-title > a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.post-title > a:hover {
    color: #ef3f48;
}

/* Titoli in overlay (bianco su scuro) mantengono il bianco al hover */
.post-content-overlay .post-title > a:hover {
    color: rgba(255,255,255,0.85);
}

/* =========================
   HOMEPAGE — SECTION HEADERS (stile 2 e 3)
   ========================= */
.widget-header-style-2,
.widget-header-style-3 {
    border-left: 4px solid #ef3f48;
    padding-left: 14px;
}

.dark .widget-header-style-2,
.dark .widget-header-style-3 {
    border-left-color: #ef3f48;
}

/* =========================
   HOMEPAGE — ARTICLE CARD HOVER LIFT
   ========================= */
.loop-grid > .row > article,
.loop-grid-2 > .row > article {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border-radius: 2px;
}

.loop-grid > .row > article:hover,
.loop-grid-2 > .row > article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* =========================
   HOMEPAGE — FEATURED OVERLAY ENHANCED GRADIENT
   ========================= */
.post-content-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.90) 0%,
        rgba(0,0,0,0.55) 45%,
        transparent 100%
    ) !important;
    padding: 24px !important;
}

/* =========================
   HOMEPAGE — IMG-LINK FOCUS VISIBLE
   ========================= */
.img-link:focus-visible {
    outline: 3px solid #ef3f48;
    outline-offset: -4px;
}

/* =========================
   HOMEPAGE — CATEGORY LINK ACCENT
   ========================= */
.entry-meta .post-cat {
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease;
}

.entry-meta .post-cat:hover {
    border-bottom-color: #ef3f48;
}

/* =========================
   HOMEPAGE — AUTHOR + DATE META (usato in tutti i loop)
   ========================= */
.entry-author-date {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 0;
    font-size: 11px;
    color: #777;
    line-height: 1.4;
}

.entry-author-date .author-name {
    color: #444;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

.entry-author-date .author-name:hover {
    color: #ef3f48;
}

.entry-author-date .author-name::after {
    content: " —";
    font-weight: 400;
    color: #aaa;
    margin-right: 4px;
}

.entry-author-date time {
    color: #888;
}

/* Variante su sfondo scuro (overlay featured) */
.post-content-overlay .entry-author-date,
.post-content-overlay .entry-author-date .author-name,
.post-content-overlay .entry-author-date time {
    color: rgba(255,255,255,0.80);
}

.post-content-overlay .entry-author-date .author-name::after {
    color: rgba(255,255,255,0.50);
}

.post-content-overlay .entry-author-date .author-name:hover {
    color: #fff;
}

.dark .entry-author-date {
    color: #888;
}

.dark .entry-author-date .author-name {
    color: #bbb;
}

/* =========================
   HOMEPAGE — IMG HOVER ZOOM (background-size transition)
   ========================= */
.img-hover-slide {
    transition: background-size 0.45s ease !important;
}

.img-hover-slide:hover {
    background-size: 108% !important;
}

/* --- STICKY HEADER SMOOTH TRANSITION --- */
.logo-sticky {
    display: none;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.sticky-bar .logo-sticky {
    display: block;
    line-height: 0;
}

.logo-sticky img {
    height: 32px;
    width: auto;
}

.header-top {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.main-header.sticky-bar .header-top {
    height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
}

.main-header.sticky-bar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 5px 0 !important;
    background: #fff;
    /* Slide-down animation instead of full-body transition */
    animation: stickySlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes stickySlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.dark .main-header.sticky-bar {
    background: #111;
}

.sticky-bar .main-menu > li > a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

body {
    /* No transition here to avoid full-page layout thrashing */
    transition: none !important;
}

/* Meta autore + commenti: riga unica, autore sinistra, commenti destra */
.entry-meta.meta-2 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}
.entry-meta.meta-2 .meta-author,
.entry-meta.meta-2 .meta-right {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
    gap: 4px !important;
    font-weight: 400 !important;
}
.entry-meta.meta-2 .author-name {
    display: inline !important;
    margin-top: 0 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* --- Homepage Layout Restructure Fixes (Antigravity) --- */
/* MARKER: ANTIGRAVITY-1774001980 */

/* 1. Meta Entry (Author & Comments) Alignment */
.entry-meta.meta-2 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important; 
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
}

.entry-meta.meta-2 .meta-author,
.entry-meta.meta-2 .meta-right {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
}

.entry-meta.meta-2 .meta-author,
.entry-meta.meta-2 .author-name,
.entry-meta.meta-2 .author-name a {
    color: #000 !important; /* Pure black for maximum contrast */
    font-weight: 600;
}

.dark .entry-meta.meta-2 .meta-author,
.dark .entry-meta.meta-2 .author-name,
.dark .entry-meta.meta-2 .author-name a {
    color: #fff !important; /* Pure white for dark mode contrast */
}

.entry-meta.meta-2 .author-name {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    padding: 5px 0;
    display: inline-block;
}

.entry-meta.meta-2 .author-img {
    display: none !important;
}

/* 2. Video Badge Below Title */
.video-badge-below {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 15px !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
}

.video-badge-below .live-now {
    display: inline-flex;
    align-items: center;
}

.thebill-video-trigger {
    padding: 6px 10px;
    margin: -6px -10px;
    cursor: pointer;
}

.video-badge-inline {
    display: none !important;
}

/* 3. Comment Info Spacing and Contrast */
.comment-info {
    display: inline-flex;
    align-items: center;
    color: #000 !important;
    cursor: default;
    flex-shrink: 0;
    padding: 5px 8px;
}

.dark .comment-info {
    color: #fff !important;
}

.comment-info svg {
    flex-shrink: 0;
    opacity: 1;
    margin-right: 4px;
}

/* 4. Accessibility: Category Links Hit Area & Contrast */
.entry-meta.meta-0 a {
    padding: 2px 4px;
    margin: -2px 0;
    display: inline-block;
    color: #111;
    font-weight: 600;
}

/* 5. Placeholder Banner Contrast Fix - Force darker text globally */
div[style*="background: rgba(0, 0, 0, 0.03)"],
div[style*="background:rgba(0,0,0,0.03)"],
.banner-placeholder {
    color: #000 !important;
}

div[style*="background: rgba(0, 0, 0, 0.03)"] span,
div[style*="background:rgba(0,0,0,0.03)"] span,
.banner-placeholder span {
    color: #000 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 12px;
}

/* Refinements: Alignment fixes for Video Badge and Sticky Logo */
.video-badge-below {
    padding-left: 18px !important; /* Pushes the 'pallino' to the right to align with title */
}

.text-center .video-badge-below {
    padding-left: 0 !important; /* Reset for centered loops */
}

.logo-sticky img {
    height: 22px !important; /* Small enough to fit in sticky bar (50% scale) */
    width: auto !important;
}

/* Refinement: Reduced Video Badge Indentation */
.video-badge-below {
    padding-left: 10px !important; /* Less indentation to align with title text */
}

.text-center .video-badge-below {
    padding-left: 0 !important;
}
