span.entry__category.order-2, span.entry__author.order-3 {
    display: none;
}
img.flipbook_featured_image{
    width: 100%;
}
/*
.footer-adss .website-ad-item.mb-4 img.img-fluid {
    min-height: 300px;
}*/
/* Flipbook Container */
.flipbook-container {
    /*max-width: 1000px;
    margin: 30px auto;*/
    /*padding: 25px;*/
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.flipbook-header h2 {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 28px;
    text-align: center;
    font-weight: 600;
}

/* Viewer Area - Fixed Height */
.flipbook-viewer {
    width: 100%;
    height: 1050px;
    /*background: #f8f9fa;*/
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    /* border: 1px solid #e9ecef; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: inset 0 2px 10px rgba(0,0,0,0.05); */
}
.flipbook-pages {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Page styling - Fixed Height */
.flipbook-page {
    width: 100%;
    /*max-width: 615px;*/
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    /* box-shadow: 0 2px 15px rgba(0,0,0,0.1); */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.flipbook-page.active {
    display: flex;
}
.flipbook-container.fullscreen .flipbook-page canvas{
    width: auto !important;
}
.flipbook-page canvas {
    max-width: 100%;
    max-height: 100%;
    width: 100% !important;
    height: auto !important;
    /*border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
}

/* Page flip animation */
.flipbook-page.flip-out {
    animation: flipOut 0.5s ease-in-out forwards;
}

.flipbook-page.flip-in {
    animation: flipIn 0.5s ease-in-out forwards;
}

@keyframes flipOut {
    0% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-90deg) scale(0.8);
    }
}

@keyframes flipIn {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(90deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) scale(1);
    }
}

/* Loading */
.flipbook-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 10px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flipbook-loading p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

/* Controls */
.flipbook-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /*margin: 20px 0;*/
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.flipbook-btn {
    padding: 10px 25px;
    background: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flipbook-btn:hover:not(:disabled) {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.flipbook-btn:disabled {
    background: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.flipbook-btn .btn-text {
    display: inline-block;
}

.flipbook-page-info {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    min-width: 80px;
    text-align: center;
}

.flipbook-page-info .current-page {
    color: #0073aa;
    font-weight: 700;
}

.flipbook-page-info .separator {
    margin: 0 5px;
    color: #6c757d;
}

.flipbook-page-info .total-pages {
    color: #6c757d;
}

/* Toolbar */
.flipbook-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.flipbook-tool-btn {
    padding: 8px 16px;
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flipbook-tool-btn:hover {
    background: #0073aa;
    color: #ffffff;
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.2);
}

.zoom-level {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    min-width: 50px;
    text-align: center;
}

/* Fullscreen */
.flipbook-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    margin: 0;
    padding: 20px;
    border-radius: 0;
    background: #ffffff;
    max-width: 100vw;
}

.flipbook-container.fullscreen .flipbook-viewer {
    height: 75vh;
}

.flipbook-container.fullscreen .flipbook-page {
    height: 85%;
}

/* Error */
.flipbook-error {
    text-align: center;
    padding: 40px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .flipbook-container {
        padding: 10px;
        margin: 10px;
    }
    
    .flipbook-viewer {
        height: 450px;
    }
    
    .flipbook-page {
        width: 95%;
        height: 92%;
    }
    
    .flipbook-controls {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }
    
    .flipbook-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .flipbook-btn .btn-text {
        display: none;
    }
    
    .flipbook-page-info {
        font-size: 16px;
        min-width: 60px;
    }
    
    .flipbook-toolbar {
        gap: 5px;
    }
    
    .flipbook-tool-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .flipbook-header h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .flipbook-viewer {
        height: 350px;
    }
}

/* Print */
@media print {
    .flipbook-controls,
    .flipbook-toolbar {
        display: none !important;
    }
    
    .flipbook-container {
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .flipbook-viewer {
        height: auto !important;
        border: none !important;
        background: none !important;
    }
    
    .flipbook-page {
        display: block !important;
        page-break-after: always;
        box-shadow: none !important;
        border: none !important;
        /*padding: 20px !important;*/
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .flipbook-page canvas {
        max-width: 100% !important;
        height: auto !important;
    }
}