.pdf-single-wrapper {
    padding: 40px 0;
    background: #f5f5f5;
}
span.category-item {
    background-color: #3d376957;
    padding: 5px 10px;
    padding-bottom: 10px;
    border-radius: 30px;
}

.pdf-single-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}



.pdf-single-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.pdf-single-header h1 {
    margin: 0;
    font-size: 2rem;
    color: #333;
}

.pdf-single-title {
    margin: 0 0 20px 0;
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

.pdf-thumbnail {
    padding: 1rem;
    text-align: center;
}

.pdf-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.pdf-viewer {
    width: 100%;
    height: 800px;
    border: none;
    background: #f5f5f5;
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .pdf-single-wrapper {
        padding: 20px 0;
    }

    .pdf-single-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .pdf-single-title {
        font-size: 24px;
    }

    .pdf-viewer {
        height: 600px;
    }
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.pdf-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
    position: relative;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pdf-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.pdf-thumbnail i {
    font-size: 48px;
    color: #dc3545;
}

.pdf-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.pdf-info {
    padding: 15px;
}

.pdf-title {
    margin: 0 0 10px 0;
    font-size: 25px;
    padding-top:30px;
    padding-left: 0px;
    font-weight: 600;
    color: #333;
}

.pdf-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.pdf-view-btn {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.pdf-view-btn:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
} 