/* Stile per il modal fullscreen */
.partner-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 1100;
    transition: bottom 0.3s ease-out;
    display: none;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.partner-modal.show {
    bottom: 0;
    display: block;
}

.partner-modal-content {
    opacity: 0;
    transition: opacity 0.3s ease-out;
    padding: 20px 20px 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 0;
    min-height: calc(100% - 60px);
}

.partner-modal-content.show {
    opacity: 1;
}

.partner-modal-header {
    background: #ffffff;
    padding: 20px 0;
    margin-bottom: 0px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.partner-modal-close {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #22b1f7;
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(34, 177, 247, 0.3);
    z-index: 1200;
    transition: all 0.3s ease;
}

.partner-modal-close:hover {
    background: #1a9fe8;
    transform: translateX(-50%) scale(1.1);
}

.partner-modal img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-modal .publisher-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.partner-modal h3 {
    color: #1e2b3c;
    font-weight: 700;
}

.partner-modal p {
    color: #4a5568;
    line-height: 1.6;
}

.pub-detail {
    background: #f0f9ff;
    color: #22b1f7;
    display: inline-block;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
}

/* Nuovi stili per i badge di categoria e data */
.partner-category, .partner-date {
    display: inline-flex;
    align-items: center;
    background-color: #f0f9ff;
    color: #22b1f7;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
}

.partner-date {
    background-color: #f0f4f8;
    color: #4a5568;
}

.partner-category i, .partner-date i {
    margin-right: 5px;
    font-size: 0.9rem;
}

/* Miglioramento del pulsante Telegram */
.partner-modal .telegram-blue {
    background-color: #22b1f7;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(34, 177, 247, 0.2);
}

.partner-modal .telegram-blue:hover {
    background-color: #1a9fe8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 177, 247, 0.3);
}

.partner-modal .telegram-blue i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Allineamento verticale del nome del publisher */
.partner-header {
    display: flex;
    align-items: center !important;
}

.partner-header h4 {
    margin: 0;
    font-weight: 600;
} 