/* Publication View Page */

.pub-view-image-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pub-view-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pub-view-image img {
    width: 100%;
    height: auto;
}

.free-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.pub-view-actions {
    text-align: center;
}

.share-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.share-section h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a472a;
}

.share-buttons-small {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-btn-sm {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.share-btn-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: white;
}

.share-btn-sm.facebook {
    background: #3b5998;
}

.share-btn-sm.twitter {
    background: #1da1f2;
}

.share-btn-sm.linkedin {
    background: #0077b5;
}

.share-btn-sm.whatsapp {
    background: #25d366;
}

/* Publication Content */
.pub-view-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #1a472a;
}

.pub-view-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a472a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pub-view-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 2rem;
}

.pub-view-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.meta-item i {
    font-size: 1.5rem;
    color: #1a472a;
    margin-top: 0.2rem;
}

.meta-item strong {
    display: block;
    color: #1a472a;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.meta-item p {
    margin: 0;
    color: #666;
}

.pub-view-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-badge {
    background: linear-gradient(135deg, #1a472a, #2d5a3d);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(26, 71, 42, 0.3);
}

.pub-view-description,
.pub-view-summary {
    margin-bottom: 2.5rem;
}

.pub-view-description h3,
.pub-view-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a472a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #d4af37;
}

.pub-view-description p,
.pub-view-summary p {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
}

/* Modal Styles */
.contact-info-modal {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item i {
    font-size: 2rem;
    color: #1a472a;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-item strong {
    display: block;
    color: #1a472a;
    margin-bottom: 0.3rem;
}

.contact-item p {
    margin: 0;
    color: #666;
}

/* Responsive */
@media (max-width: 991px) {
    .pub-view-title {
        font-size: 2rem;
    }
    
    .pub-view-subtitle {
        font-size: 1.2rem;
    }
    
    .pub-view-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pub-view-image-card {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .pub-view-content {
        padding: 1.5rem;
    }
    
    .pub-view-title {
        font-size: 1.5rem;
    }
    
    .pub-view-stats {
        flex-direction: column;
    }
    
    .stat-badge {
        justify-content: center;
    }
}
