/*
Theme Name: Yoota
Theme URI: https://yoota.it
Description: Child theme cyberpunk/manga anni 70 per news tech. PAM PIFF PUM!
Author: B
Template: twentytwentyfour
Version: 1.0.3
License: GNU General Public License v2 or later
Text Domain: yoota
*/

/* ========================================
   VARIABILI COLORI ANNI 70 - PAM PIFF PUM
   ======================================== */
:root {
    --color-giallo: #f4d87f;
    --color-giallo-highlight: #f4a900;    
    --color-cyan: #00FFFF;
    --color-magenta: #FF1493;
    --color-arancione: #FF6B00;
    --color-nero: #000000;
    --color-bianco: #FFFFFF;
    --color-grigio-scuro: #1a1a1a;
    
    /* Bordi */
    --border-thick: 4px;
    --border-medium: 3px;
    --border-thin: 2px;
}

/* ========================================
   RESET E BASE
   ======================================== */
   
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');
    pointer-events: none;
    z-index: -1;
}   
   
body {
    background-color: #0a0a0a;
    color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden !important;
}

p strong, mark {
    color: #ffcc66;
    text-shadow: 0 0 8px rgba(255, 204, 102, 0.15);
}

/* Solo negli H2/H3 vai full giallo */
h2 strong, h3 strong {
    color: var(--color-giallo);
}

/* ========================================
   LARGHEZZA CONTAINER
   ======================================== */
.wp-block-post-content,
.entry-content,
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1400px !important;
}

.site-content {
    max-width: 1600px;
    margin: 0 auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   TIPOGRAFIA ANNI 70
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--color-giallo);
    text-shadow: 
        2px 2px 0 rgba(255, 20, 147, 0.6),
        4px 4px 8px rgba(255, 136, 0, 0.4);
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 1.8rem);
    color: #FFFFFF;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
}

/* Glow sottile sempre presente */
h2::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #FFD700, #FF6B00);
    filter: blur(4px);
    opacity: 0.3;
}

/* Su hover: barra si illumina */
h2:hover {
    color: #FFD700;
    border-left-color: #00FFFF;
}

h2:hover::before {
    opacity: 0.8;
    filter: blur(8px);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: #FFFFFF;
    font-weight: 700;
}

h3:hover {
    border-bottom-color: #00FFFF;
    color: #FFFFFF;
}

/* BARRA LATERALE SOLO NEGLI ARTICOLI */
.single .entry-content h2,
.single .wp-block-post-content h2 {
    border-left: 5px solid #FFD700;
    padding-left: 1rem;
    margin-left: 0;
}

.single .entry-content h3,
.single .wp-block-post-content h3 {
    border-left: 3px solid #00FFFF;
    padding-left: 0.75rem;
    margin-left: 0;
}

/* ========================================
   HEADER SITO
   ======================================== */
.site-header {
    background-color: var(--color-nero);
    border-bottom: var(--border-thick) solid var(--color-giallo);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-giallo);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 2px 2px 0 var(--color-cyan);
}

.site-title a {
    color: var(--color-giallo);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-title a:hover {
    color: var(--color-magenta);
}

/* ========================================
   NAVIGATION
   ======================================== */
.main-navigation {
    margin-top: 1rem;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    background-color: var(--color-grigio-scuro);
    color: var(--color-cyan);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border: var(--border-thin) solid var(--color-cyan);
    transition: all 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background-color: var(--color-cyan);
    color: var(--color-nero);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--color-magenta);
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
    display: none !important;
}

/* ========================================
   MENU CATEGORIE DROPDOWN
   ======================================== */
.wp-block-categories select,
.wp-block-categories-dropdown select {
    background-color: #1A1A1A !important;
    color: #00FFFF !important;
    border: 3px solid #00FFFF !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.wp-block-categories select:hover {
    background-color: #00FFFF !important;
    color: #000 !important;
    border-color: #FFD700 !important;
}

.wp-block-categories select:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5) !important;
}

.wp-block-categories__label {
    color: #FFD700 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
}

/* ========================================
   SEZIONI HOMEPAGE
   ======================================== */
.yoota-section {
    max-width: 1600px !important;
    margin: 4rem auto !important;
    padding: 0 3rem !important;
}

.yoota-section * {
    max-width: 100%;
}

.entry-content.wp-block-post-content {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.yoota-section-header {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.yoota-section-bar {
    width: 6px;
    height: 60px;
    background: linear-gradient(180deg, #FFD700 0%, #FF1493 100%);
    flex-shrink: 0;
}

.yoota-section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #00FFFF;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    white-space: nowrap;
    text-shadow: 4px 4px 0 rgba(255, 20, 147, 0.5);
}

.yoota-section-line {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, #00FFFF 0%, transparent 100%);
}

.yoota-view-all {
    color: #FFD700;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: 2px solid #FFD700;
}

.yoota-view-all:hover {
    color: #FF1493;
    border-color: #FF1493;
    transform: translateX(5px);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-giallo);
    margin: 3rem 0 2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: var(--border-medium) solid;
    border-image: linear-gradient(90deg, 
        var(--color-giallo) 0%, 
        var(--color-cyan) 33%,
        var(--color-magenta) 66%,
        var(--color-arancione) 100%) 1;
}

.section-heading i {
    font-size: 2.5rem;
    color: var(--color-arancione);
}

/* ========================================
   LAYOUT HOMEPAGE CON/SENZA SIDEBAR
   ======================================== */

/* Base: senza sidebar */
.yoota-latest {
    max-width: 1600px;
    margin: 0 auto;
}

/* CON SIDEBAR: layout a 2 colonne + grid a 3 */
.yoota-latest.has-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.yoota-latest.has-sidebar .yoota-latest-main {
    grid-column: 1;
}

.yoota-latest.has-sidebar .yoota-sidebar-wrapper {
    grid-column: 2;
    grid-row: 1 / -1;
    position: sticky;
    top: 100px;
}

.yoota-latest.has-sidebar .yoota-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Sidebar styling */
.yoota-sidebar-wrapper {
    position: sticky;
    top: 100px;
}

.yoota-sidebar-top {
    background: #1A1A1A;
    border: 3px solid #FF6B00;
    padding: 1.5rem;
}

.yoota-sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 900;
    color: #FF6B00;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.1em;
}

.yoota-sidebar-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 107, 0, 0.3);
    align-items: flex-start;
}

.yoota-sidebar-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.yoota-sidebar-rank {
    font-size: 2rem;
    font-weight: 900;
    color: #FF6B00;
    line-height: 1;
    flex-shrink: 0;
}

.yoota-sidebar-thumb {
    flex-shrink: 0;
}

.yoota-sidebar-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #00FFFF;
}

.yoota-sidebar-content {
    flex: 1;
}

.yoota-sidebar-card-title {
    font-size: 0.9rem;
    font-weight: 900;
    color: #FFD700;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.yoota-sidebar-card-title a {
    color: #FFD700;
    text-decoration: none;
}

.yoota-sidebar-card-title a:hover {
    color: #00FFFF;
}

.yoota-sidebar-date {
    font-size: 0.7rem;
    color: #00FFFF;
    text-transform: uppercase;
    font-weight: 700;
}

.yoota-sidebar-note {
    font-size: 0.75rem;
    color: #00FFFF;
    text-align: center;
    margin-top: 1rem;
    opacity: 0.7;
    font-style: italic;
}

/* ========================================
   GRIDS
   ======================================== */
.yoota-grid-3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.yoota-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* ========================================
   CARD ARTICOLO VERTICALE
   ======================================== */
.yoota-card {
    background: #1A1A1A;
    border: 3px solid #00FFFF;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.yoota-card:hover {
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 
        8px 8px 0 #FF1493,
        12px 12px 0 rgba(255, 20, 147, 0.3);
}

.yoota-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.yoota-card-image {
    display: block;
    position: relative;
}

.yoota-card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.yoota-card:hover .yoota-card-image img {
    transform: scale(1.1);
}

.yoota-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.3) 0%, 
        rgba(0, 255, 255, 0.2) 50%,
        rgba(255, 20, 147, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.yoota-card:hover .yoota-card-overlay {
    opacity: 1;
}

.yoota-card-content {
    padding: 2rem;
}

.yoota-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #FFD700;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.yoota-card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.yoota-card-title a:hover {
    color: #00FFFF;
}

.yoota-card-excerpt {
    color: #FFF;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.yoota-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
}

.yoota-meta-date {
    color: #00FFFF;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.yoota-meta-cat a {
    color: #FF6B00;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.yoota-meta-cat a:hover {
    color: #FFD700;
}

/* Card vecchio stile (compatibilità) */
.news-card {
    background-color: var(--color-grigio-scuro);
    border: var(--border-thick) solid var(--color-giallo);
    padding: 0;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 var(--color-magenta);
}

.news-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: var(--border-medium) solid var(--color-cyan);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-giallo);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.news-card-title a {
    color: var(--color-giallo);
    text-decoration: none;
}

.news-card-title a:hover {
    color: var(--color-magenta);
}

.news-card-excerpt {
    color: var(--color-bianco);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-cyan);
    text-transform: uppercase;
    font-weight: 700;
}

/* ========================================
   CARD ORIZZONTALE (sezioni categoria)
   ======================================== */
.yoota-card-horizontal {
    display: flex;
    gap: 1.5rem;
    background: #1A1A1A;
    border-left: 5px solid var(--accent-color, #00FFFF);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.yoota-card-horizontal:hover {
    background: rgba(26, 26, 26, 0.8);
    transform: translateX(10px);
    box-shadow: 5px 5px 0 var(--accent-color, #00FFFF);
}

.yoota-card-thumb {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.yoota-card-thumb img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.yoota-card-horizontal:hover .yoota-card-thumb img {
    transform: scale(1.1);
}

.yoota-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-color, #00FFFF);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: multiply;
}

.yoota-card-horizontal:hover .yoota-thumb-overlay {
    opacity: 0.3;
}

.yoota-card-horizontal .yoota-card-content {
    flex: 1;
    padding: 0;
}

.yoota-card-horizontal .yoota-card-title {
    font-size: 1.1rem;
    color: var(--accent-color, #00FFFF);
    margin-bottom: 0.75rem;
}

.yoota-card-horizontal .yoota-card-title a {
    color: inherit;
}

.yoota-card-horizontal .yoota-card-title a:hover {
    color: #FFD700;
}

.yoota-card-horizontal .yoota-card-excerpt {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.yoota-card-horizontal .yoota-card-date {
    color: #FFF;
    font-size: 0.75rem;
    opacity: 0.6;
    text-transform: uppercase;
    font-weight: 700;
}

/* ========================================
   BADGE HOT/NEW
   ======================================== */
.badge,
.yoota-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #FFF;
    z-index: 2;
    transform: rotate(3deg);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

.badge {
    background-color: var(--color-magenta);
    border: var(--border-thin) solid var(--color-bianco);
}

.badge.hot,
.yoota-badge-hot {
    background: #FF6B00;
    border: 2px solid #FFD700;
}

.yoota-badge-new {
    background: #FF1493;
    border: 2px solid #00FFFF;
}

@keyframes pulsate {
    0%, 100% { transform: scale(1) rotate(3deg); }
    50% { transform: scale(1.05) rotate(3deg); }
}

.badge.hot {
    animation: pulsate 2s ease-in-out infinite;
}

/* Container badge multipli */
.yoota-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.yoota-badges .yoota-badge {
    position: relative;
    top: auto;
    right: auto;
}

/* ========================================
   ARTICOLO SINGOLO
   ======================================== */
.single-post .entry-header,
.single .wp-block-group.has-global-padding:has(.wp-block-post-title) {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .entry-content,
.single .wp-block-post-content {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single .wp-block-template-part .wp-block-group {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.single .wp-block-post-title {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.comments-area,
.wp-block-comments {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .entry-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #f4d87f;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-shadow: 
        2px 2px 0 rgba(255, 20, 147, 0.4),
        0 0 20px rgba(255, 215, 0, 0.2);
    font-weight: 800;
}

.single-post .entry-meta {
    display: flex;
    gap: 2rem;
    color: var(--color-cyan);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.single-post .entry-content p,
.single .wp-block-post-content p {
    margin-bottom: 1.5rem;
}

/* Link negli articoli E nelle pagine (ESCLUSA homepage) */
.single .entry-content a,
.single .wp-block-post-content a,
.page:not(.home) .entry-content a,
.page:not(.home) .wp-block-post-content a {
    color: var(--color-cyan);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.single .entry-content a:hover,
.single .wp-block-post-content a:hover,
.page:not(.home) .entry-content a:hover,
.page:not(.home) .wp-block-post-content a:hover {
    color: var(--color-magenta);
    border-color: var(--color-magenta);
}

/* ========================================
   DISCLAIMER AFFILIAZIONI
   ======================================== */
.disclaimer-affiliazioni {
    background: #1A1A1A;
    border-left: 5px solid #FF6B00;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    color: #FFF;
    line-height: 1.6;
}

.single-post .disclaimer-affiliazioni,
.single .wp-block-group.disclaimer-affiliazioni {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ========================================
   LINK AFFILIAZIONE
   ======================================== */
.affiliate-link,
.yoota-aff-link {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    background: none !important;
    color: #00FFFF !important;
    text-decoration: none !important;
    border-bottom: 2px solid #00FFFF !important;
    font-weight: 700 !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.affiliate-link:hover,
.yoota-aff-link:hover {
    color: #FF1493 !important;
    border-bottom-color: #FF1493 !important;
    background-color: transparent !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ========================================
   BOTTONI
   ======================================== */
.button,
button,
input[type="submit"],
.wp-block-button__link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-cyan);
    color: var(--color-nero);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background-color: var(--color-magenta);
    color: var(--color-bianco);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--color-arancione);
}

/* ========================================
   BOX FONTE ARTICOLO
   ======================================== */
.yoota-fonte {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
    border: 2px solid #00FFFF;
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    margin: 0 0.25rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.yoota-fonte:hover {
    background: #00FFFF;
    transform: scale(1.05);
}

.yoota-fonte-icon i {
    font-size: 1rem;
    color: #00FFFF;
}

.yoota-fonte:hover .yoota-fonte-icon i {
    color: #000;
}

.yoota-fonte-label {
    display: none;
}

.yoota-fonte-link {
    color: #00FFFF !important;
    font-weight: 700;
    text-decoration: none !important;
    border: none !important;
}

.yoota-fonte:hover .yoota-fonte-link {
    color: #000 !important;
}

.yoota-fonti-multiple {
    background: #1A1A1A;
    border: 3px solid #FF6B00;
    padding: 1.5rem;
    margin: 2rem 0;
}

.yoota-fonti-title {
    font-size: 1rem;
    font-weight: 900;
    color: #FFD700;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    letter-spacing: 0.15em;
}

.yoota-fonti-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.yoota-fonti-list .yoota-fonte {
    margin: 0;
}

/* ========================================
   DIVISORI HOMEPAGE
   ======================================== */
.wp-block-separator,
hr {
    border: none !important;
    height: 4px !important;
    background: linear-gradient(90deg, 
        transparent 0%,
        #FFD700 10%,
        #00FFFF 30%,
        #FF1493 50%,
        #00FFFF 70%,
        #FFD700 90%,
        transparent 100%
    ) !important;
    margin: 4rem auto !important;
    max-width: 80% !important;
    opacity: 0.8;
}

.wp-block-separator.is-style-wide,
hr.is-style-wide {
    max-width: 100% !important;
    height: 2px !important;
    position: relative;
}

.wp-block-separator.is-style-wide::before,
.wp-block-separator.is-style-wide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #00FFFF;
}

.wp-block-separator.is-style-wide::before {
    transform: translateY(-2px);
    background: #FF1493;
}

.wp-block-separator.is-style-wide::after {
    transform: translateY(2px);
    background: #FFD700;
}

.wp-block-separator.is-style-dots,
hr.is-style-dots {
    background: none !important;
    border-top: 3px solid #FFD700 !important;
    border-bottom: 3px solid #00FFFF !important;
    height: 10px !important;
}

.divisore-yoota {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0;
}

.divisore-yoota::before,
.divisore-yoota::after {
    content: '';
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, 
        #FF6B00 0%,
        #FFD700 50%,
        #00FFFF 100%
    );
}

.divisore-yoota span {
    color: #FFD700;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.divisore-zigzag {
    height: 20px;
    margin: 3rem 0;
    background: 
        linear-gradient(135deg, #FFD700 25%, transparent 25%),
        linear-gradient(225deg, #FFD700 25%, transparent 25%),
        linear-gradient(45deg, #00FFFF 25%, transparent 25%),
        linear-gradient(315deg, #00FFFF 25%, #000 25%);
    background-size: 40px 40px;
    background-position: 0 0, 0 0, 20px 20px, 20px 20px;
}

.divisore-scanline {
    height: 3px;
    margin: 3rem auto;
    max-width: 90%;
    position: relative;
    overflow: hidden;
}

.divisore-scanline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        #00FFFF 50%,
        transparent 100%
    );
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 200%; }
}

.divisore-icon {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.divisore-icon::before,
.divisore-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #00FFFF);
}

.divisore-icon::before {
    left: 0;
}

.divisore-icon::after {
    right: 0;
}

.divisore-icon i {
    font-size: 2rem;
    color: #FF1493;
    background: #000;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background-color: var(--color-grigio-scuro);
    border-top: var(--border-thick) solid var(--color-giallo);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--color-cyan);
}

/* ========================================
   UTILITY
   ======================================== */
.text-center {
    text-align: center;
}

/* Logo nel titolo sezione */
.yoota-section-title img {
    display: inline-block;
    vertical-align: middle;
    margin-left: 1rem;
    width: 55px !important;
    height: 55px !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.yoota-section-title:hover img {
    transform: scale(1.1);
}

/* ========================================
   CODE STYLING
   ======================================== */
code {
    color: var(--color-giallo);
}

/* ========================================
   WP ULIKE - ZAMPA
   ======================================== */
.wp_ulike_btn.wp_ulike_put_image {
    background: none !important;
    background-image: none !important;
    border: none !important;
    position: relative;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    overflow: hidden;
}

.wp_ulike_btn.wp_ulike_put_image::after,
.wp_ulike_btn.wp_ulike_put_image > * {
    display: none !important;
}

.wp_ulike_btn.wp_ulike_put_image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%2300FFFF" d="M226.5 92.9c14.3 42.9-.3 86.2-32.6 96.8s-70.1-15.6-84.4-58.5s.3-86.2 32.6-96.8s70.1 15.6 84.4 58.5zM100.4 198.6c18.9 32.4 14.3 70.1-10.2 84.1s-59.7-.9-78.5-33.3S-2.7 179.3 21.8 165.3s59.7 .9 78.5 33.3zM69.2 401.2C121.6 259.9 214.7 224 256 224s134.4 35.9 186.8 177.2c3.6 9.7 5.2 20.1 5.2 30.5v1.6c0 25.8-20.9 46.7-46.7 46.7c-11.5 0-22.9-1.4-34-4.2l-88-22c-15.3-3.8-31.3-3.8-46.6 0l-88 22c-11.1 2.8-22.5 4.2-34 4.2C84.9 480 64 459.1 64 433.3v-1.6c0-10.4 1.6-20.8 5.2-30.5zM421.8 282.7c-24.5-14-29.1-51.7-10.2-84.1s54-47.3 78.5-33.3s29.1 51.7 10.2 84.1s-54 47.3-78.5 33.3zM310.1 189.7c-32.3-10.6-46.9-53.9-32.6-96.8s52.1-69.1 84.4-58.5s46.9 53.9 32.6 96.8s-52.1 69.1-84.4 58.5z"/></svg>') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
    display: block !important;
    z-index: 10;
}

.wp_ulike_btn.wp_ulike_put_image.wp_ulike_btn_is_active::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23FF6B00" d="M226.5 92.9c14.3 42.9-.3 86.2-32.6 96.8s-70.1-15.6-84.4-58.5s.3-86.2 32.6-96.8s70.1 15.6 84.4 58.5zM100.4 198.6c18.9 32.4 14.3 70.1-10.2 84.1s-59.7-.9-78.5-33.3S-2.7 179.3 21.8 165.3s59.7 .9 78.5 33.3zM69.2 401.2C121.6 259.9 214.7 224 256 224s134.4 35.9 186.8 177.2c3.6 9.7 5.2 20.1 5.2 30.5v1.6c0 25.8-20.9 46.7-46.7 46.7c-11.5 0-22.9-1.4-34-4.2l-88-22c-15.3-3.8-31.3-3.8-46.6 0l-88 22c-11.1 2.8-22.5 4.2-34 4.2C84.9 480 64 459.1 64 433.3v-1.6c0-10.4 1.6-20.8 5.2-30.5zM421.8 282.7c-24.5-14-29.1-51.7-10.2-84.1s54-47.3 78.5-33.3s29.1 51.7 10.2 84.1s-54 47.3-78.5 33.3zM310.1 189.7c-32.3-10.6-46.9-53.9-32.6-96.8s52.1-69.1 84.4-58.5s46.9 53.9 32.6 96.8s-52.1 69.1-84.4 58.5z"/></svg>') !important;
    transform: translate(-50%, -50%) scale(1.2);
}

.wp_ulike_btn.wp_ulike_put_image:hover::before {
    transform: translate(-50%, -50%) scale(1.15);
}

.wp_ulike_general_class {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border-radius: 4px;
}

.wp_ulike_general_class.wp_ulike_is_liked {
    border-color: #FF6B00;
}

.count-box.wp_ulike_counter_up {
    color: #00FFFF !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
}

.wp_ulike_is_liked .count-box.wp_ulike_counter_up {
    color: #FF6B00 !important;
}

/* ========================================
   IVORY SEARCH STYLING
   ======================================== */
.yoota-sidebar-search .is-search-form {
    width: 100%;
}

.yoota-sidebar-search .is-search-input {
    background: #000 !important;
    border: 2px solid #00FFFF !important;
    color: #FFF !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    width: 100% !important;
}

.yoota-sidebar-search .is-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.yoota-sidebar-search .is-search-submit {
    background: #00FFFF !important;
    border: none !important;
    color: #000 !important;
    padding: 0.75rem 1.25rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 900 !important;
    text-transform: uppercase;
}

.yoota-sidebar-search .is-search-submit:hover {
    background: #FFD700 !important;
}

.yoota-sidebar-search .is-search-icon {
    display: none !important;
}

.simplebar-content {
    color: #000;
}

.is-ajax-search-details, 
.is-ajax-search-details *, 
.is-ajax-search-result, 
.is-ajax-search-result * {
    color: #fff;
    background-color: #000;
}

/* ========================================
   BANNER INFORMATIVO FEDIVERSO
   ======================================== */
.yoota-info-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1A1A1A;
    border-top: 4px solid #00FFFF;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 255, 255, 0.3);
}

.yoota-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.yoota-banner-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.yoota-banner-text {
    flex: 1;
    color: #FFF;
    font-size: 0.75rem;
    line-height: 1.6;
}

.yoota-banner-text strong {
    color: #FFD700;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.yoota-banner-text a {
    color: #00FFFF;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #00FFFF;
    transition: all 0.2s ease;
}

.yoota-banner-text a:hover {
    color: #FF1493;
    border-bottom-color: #FF1493;
}

.yoota-banner-close {
    background: #00FFFF;
    border: none;
    color: #000;
    padding: 0.75rem 2rem;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.yoota-banner-close:hover {
    background: #FFD700;
    transform: scale(1.05);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .yoota-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .yoota-latest.has-sidebar {
        grid-template-columns: 1fr !important;
    }
    
    .yoota-latest.has-sidebar .yoota-sidebar-wrapper {
        grid-column: 1 !important;
        grid-row: auto !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem;
    }
    
    .yoota-latest.has-sidebar .yoota-grid-3,
    .yoota-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* Layout generale */
    .site-title {
        font-size: 1.8rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation a {
        width: 100%;
    }
    
    .wp-block-navigation__responsive-container {
        display: block !important;
        position: static !important;
    }
    
    .wp-block-navigation__responsive-container-content {
        padding: 0 !important;
    }
    
    /* Grids mobile - TUTTE a 1 colonna */
    .yoota-grid-3,
    .yoota-grid-2,
    .news-grid,
    .yoota-latest .yoota-grid-3,
    .yoota-latest.has-sidebar .yoota-grid-3 {
        grid-template-columns: 1fr !important;
    }
    
    /* Sezioni homepage mobile */
    .yoota-section {
        padding: 0 1rem !important;
        overflow-x: hidden;
    }
    
    .yoota-section-header {
        gap: 0.75rem !important;
        flex-wrap: nowrap;
        overflow-x: hidden;
    }
    
    .yoota-section-bar {
        width: 4px !important;
        height: 40px !important;
    }
    
    .yoota-section-title {
        font-size: 1.3rem !important;
        letter-spacing: 0.05em !important;
        white-space: normal !important;
        line-height: 1.1 !important;
        flex-shrink: 1;
    }
    
    .yoota-section-title img {
        width: 35px !important;
        height: 35px !important;
        margin-left: 0.5rem;
    }
    
    .yoota-section-line {
        flex: 0.5 !important;
        min-width: 20px;
    }
    
    .yoota-view-all {
        font-size: 0.7rem !important;
        white-space: nowrap;
        padding: 0.25rem 0.5rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    /* Cards mobile */
    .yoota-card-horizontal {
        flex-direction: column;
    }
    
    .yoota-card-thumb img {
        width: 100%;
        height: 200px;
    }
    
    /* Menu categorie mobile */
    .wp-block-categories__label,
    .wp-block-categories label {
        display: none !important;
    }
    
    body .wp-block-categories select,
    body .wp-block-categories-dropdown select,
    body select[name*="cat"] {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.6rem !important;
        letter-spacing: 0 !important;
        min-width: auto !important;
        width: auto !important;
        max-width: 150px !important;
    }
    
    /* Sidebar ricerca mobile */
    .yoota-sidebar-search {
        padding: 1rem !important;
    }
    
    .yoota-sidebar-search .is-search-input {
        font-size: 0.85rem !important;
        padding: 0.6rem 0.8rem !important;
    }
    
    .yoota-sidebar-search .is-search-submit {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Articoli singoli mobile */
    .single-post .wp-block-post-title,
    .single-post .entry-content,
    .single-post .wp-block-group.has-global-padding,
    .single .wp-block-post-title,
    .single .entry-content,
    .single .wp-block-group.has-global-padding {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Banner mobile */
    .yoota-info-banner {
        padding: 1rem;
    }
    
    .yoota-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .yoota-banner-icon {
        display: none;
    }    
    
    .yoota-banner-text {
        font-size: 0.85rem;
    }
    
    .yoota-banner-close {
        width: 100%;
        padding: 1rem;
    }
}

/* ========================================
   EMBED MASTODON
   ======================================== */
blockquote.mastodon-embed {
    margin: 2rem 0 !important;
    max-width: 540px !important;
}

.mastodon-embed iframe {
    max-width: 540px !important;
    width: 100% !important;
}

.social-icon {
    vertical-align: middle;
    margin-right: 8px; /* opzionale, per dare un po' di spazio tra icona e testo */
}

.social-link {
    text-decoration: none;
}

.mastodon-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-grigio-scuro);
    color: var(--color-bianco);
    padding: 30px;
    border-radius: 8px;
    border: var(--border-thick) solid var(--color-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    z-index: 9999;
    max-width: 500px;
    width: 90%;
}

.mastodon-modal h3 {
    color: var(--color-cyan);
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mastodon-modal p {
    color: var(--color-bianco);
}

.mastodon-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
}

.close-btn {
    float: right;
    border: none;
    background: none;
    color: var(--color-cyan);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--color-bianco);
}

.mastodon-input {
    width: 95%;
    padding: 12px;
    margin: 15px 0;
    border: var(--border-medium) solid var(--color-cyan);
    border-radius: 4px;
    background: var(--color-nero);
    color: var(--color-cyan);
    font-family: monospace;
    font-size: 16px;
}

.mastodon-input:focus {
    outline: none;
    border-color: var(--color-magenta);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

/* Modal Mastodon - Mobile fix */
@media (max-width: 600px) {
    .mastodon-modal {
        width: calc(100% - 60px);
        max-width: none;
        padding: 20px;
        margin: 0 16px;
    }
    
    .mastodon-modal h3 {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .mastodon-modal p {
        font-size: 0.9rem;
    }
    
    .mastodon-input {
        font-size: 14px;
        padding: 10px;
        width: 80%;
    }
    
    .close-btn {
        font-size: 28px;
    }
}

/* ========================================
   YOOTA MOST LIKED - STILE CYBERPUNK
   ======================================== */
.yoota-most-liked-wrapper {
    background: var(--color-nero);
    border: var(--border-medium) solid var(--color-cyan);
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
}

.yoota-most-liked-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-magenta), transparent);
}

.yoota-most-liked-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.yoota-most-liked-title span {
    margin-right: 0.5rem;
}

.yoota-most-liked {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yoota-most-liked li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.yoota-most-liked li:last-child {
    border-bottom: none;
}

.yoota-most-liked li:hover {
    background: rgba(0, 255, 255, 0.05);
    padding-left: 0.5rem;
}

.yoota-most-liked li a {
    color: var(--color-bianco);
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.yoota-most-liked li a:hover {
    color: var(--color-cyan);
}

.yoota-ml-count {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--color-magenta);
    white-space: nowrap;
}

.yoota-ml-thumb img {
    border-radius: 4px;
    border: 1px solid var(--color-cyan);
}

/* ========================================
   BOTTONI SOCIAL "SEGUICI" - YOOTA STYLE
   ======================================== */

/* Titolo opzionale */
.yoota-social-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.yoota-social-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--color-giallo) 0%, var(--color-magenta) 100%);
    flex-shrink: 0;
}

.yoota-social-title span {
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-cyan);
}

.yoota-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.yoota-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 3px solid;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.yoota-social-btn img {
    width: 20px;
    height: 20px;
}

/* Mastodon - Viola/Magenta */
.yoota-social-btn--mastodon {
    background: transparent;
    color: #858AFA;
    border-color: #858AFA;
}

.yoota-social-btn--mastodon:hover {
    background: #858AFA;
    color: var(--color-nero);
    box-shadow: 0 0 15px rgba(133, 138, 250, 0.5);
    transform: translateY(-2px);
}

/* Telegram - Cyan */
.yoota-social-btn--telegram {
    background: transparent;
    color: var(--color-cyan);
    border-color: var(--color-cyan);
}

.yoota-social-btn--telegram:hover {
    background: var(--color-cyan);
    color: var(--color-nero);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Bluesky - Azzurro */
.yoota-social-btn--bluesky {
    background: transparent;
    color: #1DA1F2;
    border-color: #1DA1F2;
}

.yoota-social-btn--bluesky:hover {
    background: #1DA1F2;
    color: var(--color-nero);
    box-shadow: 0 0 15px rgba(29, 161, 242, 0.5);
    transform: translateY(-2px);
}

/* Variante filled (come il SEGUI che hai) */
.yoota-social-btn--filled {
    background: var(--color-cyan);
    color: var(--color-nero);
    border-color: var(--color-cyan);
}

.yoota-social-btn--filled:hover {
    background: var(--color-magenta);
    border-color: var(--color-magenta);
    color: var(--color-bianco);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
    
    .yoota-social-buttons {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .yoota-social-btn {
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

.wp-block-activitypub-followers .followers-container .follower-link:focus, .wp-block-activitypub-followers .followers-container .follower-link:hover {
background-color: var(--color-magenta);
  color: var(--color-bianco);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--color-arancione);
}

.wp-block-activitypub-followers.is-style-compact .follower-name {
	color: white;
}

.wp-block-activitypub-followers.is-style-compact .follower-username {
	color: white;
}


/* ==========================================
   YOOTA SHARE BUTTONS (Spargi la voce)
   ========================================== */

.yoota-share-title {
display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1em;
}

.yoota-share-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #f7e47a, #f5a8d9, #a78bfa, #22d3ee);
    border-radius: 2px;
}

.yoota-share-title span {
font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-cyan);
}

.yoota-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.yoota-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.yoota-share-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Bluesky - Ciano */
.yoota-share-btn--bluesky {
    border-color: #22d3ee;
    color: #22d3ee;
}
.yoota-share-btn--bluesky:hover {
    background: #22d3ee;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

/* X - Bianco */
.yoota-share-btn--twitter {
    border-color: #ffffff;
    color: #ffffff;
}
.yoota-share-btn--twitter:hover {
    background: var(--color-grigio-scuro);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* LinkedIn - Viola */
.yoota-share-btn--linkedin {
    border-color: #a78bfa;
    color: #a78bfa;
}
.yoota-share-btn--linkedin:hover {
    background: #a78bfa;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

/* Email - Rosa */
.yoota-share-btn--email {
    border-color: #f5a8d9;
    color: #f5a8d9;
}
.yoota-share-btn--email:hover {
    background: #f5a8d9;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(245, 168, 217, 0.4);
}

/* Telegram - Ciano Telegram */
.yoota-share-btn--telegram {
    border-color: #26A5E4;
    color: #26A5E4;
}
.yoota-share-btn--telegram:hover {
    background: #26A5E4;
    color: #fff;
    box-shadow: 0 0 20px rgba(38, 165, 228, 0.4);
}

/* WhatsApp - Verde */
.yoota-share-btn--whatsapp {
    border-color: #25D366;
    color: #25D366;
}
.yoota-share-btn--whatsapp:hover {
    background: #25D366;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* Mastodon - Viola Mastodon */
.yoota-share-btn--mastodon {
    border-color: #6364ff;
    color: #6364ff;
}
.yoota-share-btn--mastodon:hover {
    background: #6364ff;
    color: #fff;
    box-shadow: 0 0 20px rgba(99, 100, 255, 0.4);
}

/* Modal Mastodon Share */
.yoota-share-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.yoota-share-modal-overlay.active {
    display: flex;
}

.yoota-share-modal {
    background: #1a1a1a;
    border: 2px solid #6364ff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 30px rgba(99, 100, 255, 0.3);
}

.yoota-share-modal h3 {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.yoota-share-modal p {
    color: #aaa;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.yoota-share-modal input[type="text"] {
    width: 100%;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.yoota-share-modal input[type="text"]:focus {
    outline: none;
    border-color: #6364ff;
}

.yoota-share-modal input[type="text"]::placeholder {
    color: #666;
}

.yoota-share-modal-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.yoota-share-modal-remember input {
    width: auto;
    margin: 0;
}

.yoota-share-modal-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.yoota-share-modal-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.yoota-share-modal-btn.cancel {
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
}

.yoota-share-modal-btn.cancel:hover {
    border-color: #888;
    color: #fff;
}

.yoota-share-modal-btn.confirm {
    background: #6364ff;
    color: #fff;
}

.yoota-share-modal-btn.confirm:hover {
    background: #7c7dff;
}

.yoota-share-buttons p {
    margin: 0;
    padding: 0;
    display: contents;
}

.yoota-share-buttons br {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .yoota-share-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    .yoota-share-btn {
        padding: 8px 10px;
        font-size: 0.75rem;
        justify-content: center;
        margin: 0;
    }
    .yoota-share-btn img {
        width: 16px;
        height: 16px;
    }
}

/* Copia Link */
.yoota-share-btn--copy {
    border-color: #22d3ee;
    color: #fff;
}
.yoota-share-btn--copy:hover {
    border-color: #fff;
    background: #22d3ee;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}


.activitypub-modal__title {
	color: #000;
}
