/* Private post */
.ue-box-read-more {
    font-family: "Figtree";
    padding: 30px;
    border-radius: 4px;
    background-color: #931839;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    margin-top: 0 !important;
}
@media (min-width: 768px) {
    .ue-box-read-more {
        padding: 50px 90px;
    }
}
.ue-box-read-more h3 {
    color: #fff;
    font-family: "Libre Caslon Text";
    font-size: 34px;
    font-style: italic;
    font-weight: 500;
    line-height: 150%; /* 51px */
    letter-spacing: -0.431px;
}
.ue-box-read-more p {
    text-align: center;
    font-size: 18px;
    line-height: 150%;
}
/* @media (min-width: 768px) {
    .ue-box-read-more p {
        text-align: center;
    }
} */
p.ue-link_signin {
    display: block;
    text-align: center;
    color: #fff;
}
.ue-box-read-more a {
    color: #fff !important;
}
p.ue-blur-read-more {
    filter: blur(7px);
    pointer-events: none;
     user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none; 
    margin-bottom: 5px !important;
}

/* Shortcode Category Count */
.ue-category_title {
    color: #1C1B1F;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.058px;
    margin-bottom: 4px;
}
@media (min-width: 768px) {
    .ue-category_title {
        font-size: 24px;
    }
}
.ue-category_post-count {
    color: #363940;
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.038px;
}
h2.ue-category-title,
.ue-category-title h2 {
    font-size: 28px !important;
}
@media (min-width: 1024px){
    h2.ue-category-title,
    .ue-category-title h2 {
        font-size: 36px !important;
    }    
}

/* Display categories of custom post type */
.ue-categories-meta {
    display: flex;
    gap: 8px; 
    flex-wrap: wrap;
}
.ue-category-label a {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: #931839;
    padding: 4px 6px;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
    transition: opacity 0.3s ease;
    line-height: 150%;
}
.ue-category-label a:hover {
    background: #000;
    color: #fff;
}

/* Filter Category Aree Tematiche */
.ue-dropdown-container.ue-aree-tematiche {
	display: flex;
	gap: 20px;
	align-items: center;
	border-left: none !important;
	padding: 0 !important;
	flex-direction: row !important;
	border-top: 1px solid #ccc;
    border-top: none !important; 
    height: auto !important;
}
.ue-filter-button {
	display: flex;
	position: relative;
	align-items: center;
	background: none !important;
	background-color: transparent !important;
	border: none;
	color: #1C1B1F;
	cursor: pointer;
	padding: 0;
	font-size: 16px;
}
@media (min-width: 768px) {
  .ue-filter-button {
    font-size: 21px;
  }  
}
.ue-filter-button .ue-dropdown-arrow {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    filter: invert(21%) hue-rotate(-20deg);
}
.ue-filter-button.active .ue-dropdown-arrow {
    transform: rotate(180deg);
}
.ue-filter-button:hover {
	color: #1C1B1F;
}
.ue-filter-button.active {
	color: #1C1B1F;
}
.ue-user-menu-container {
    position: relative;
    display: block;
    height: 100%;
}
.ue-user-menu {
    position: absolute;
    top: 80%;
    left: 0;
    background-color: #fff;
    border-radius: 10px;
    display: none;
    overflow: hidden;
}
.ue-user-menu ul {
    padding: 0;
    list-style: none;
    margin: 0;
}
.ue-user-menu ul li a {
    padding: 5px 10px;
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
}
.ue-user-menu ul li a:hover {
    background-color: #ddd;
}
.ue-user-menu-container:hover .ue-user-menu {
    display: block;
}

/* Toogle Aree Tematiche */
.ue-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
span.ue-toggle-label {
    color: #1C1B1F;
    font-family: "Figtree";
    font-size: 21px;
    font-weight: 500;
    line-height: 21%;
    letter-spacing: -0.134px;
}
/* Base del toggle */
.ue-toggle-filter {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}
.ue-toggle-filter input {
    opacity: 0;
    width: 0;
    height: 0;
}
label.ue-toggle-filter {
    margin-bottom: 0px;
}
.ue-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #d6d6d6;
    transition: background-color 0.3s;
    border-radius: 20px;
}
.ue-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background-color: #7c7c7c; /* Off */
    transition: transform 0.3s, background-color 0.3s;
    border-radius: 50%;
}
/* On */
.ue-toggle-filter input:checked + .ue-slider {
    background-color: #931839;
}
.ue-toggle-filter input:checked + .ue-slider:before {
    transform: translateX(18px);
    background-color: white;
}
.ue-toggle-label {
    font-size: 16px;
    color: #333;
}