.news-container {
    max-width: 1180px;
    margin: 0 auto;
}
.news-container {
	padding-left: 15px;
    padding-right: 15px;
}
.news-date {
    font-weight: 500;
    font-size: 17px;
    display: inline;
    border: 1px solid #CACACA;
    margin: 0;
    background-color: #ffffff;
    padding: 12px 24px;
    border-radius: 33px;
}
.newspaper-col {
    position: relative;
    padding: 0 10px;
}

.pdf-controls #prev {
    background-image: url(/wp-content/uploads/2025/06/back.png);
    height: 21px;
    width: 21px;
    background-color: transparent;
    background-size: cover;
    border: none;
}

.pdf-controls #next {
    background-image: url(/wp-content/uploads/2025/06/back.png);
    height: 21px;
    width: 21px;
    background-color: transparent;
    background-size: cover;
    border: none;
    transform: rotate(180deg);
}
.newspage-counter {
    display: inline-block;
    width: 100%;
    text-align: center;
/*     padding-bottom: 20px; */
    font-weight: 500;
    font-size: 19px;
}

.paper-col {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    scrollbar-width: none;
}
.page-box-col {
    width: 25%;
}

.news-page-row {
    display: flex;
    align-items: flex-start;
    height: 100vh;
    overflow: hidden;
    padding: 20px 0;
}
#pdf-canvas {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}
.pdf-controls {
/*     display: none;
    position: absolute;
    justify-content: space-between;
    width: 89%; */
	    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
/*     margin-top: 15px; */
    position: relative; /* or remove if unnecessary */
    width: 40%;

}

.page-box-col {
    width: 250px;
    position: sticky;
    top: 0;
    height: 88vh;
    overflow-y: auto;
    z-index: 10; 
    margin-top: 19px;
    overflow-x: hidden; 
}

.thumbnail-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail-wrapper:hover {
    transform: scale(1.02);
}

.thumbnail-wrapper canvas {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.thumbnail-label {
    background-color: #b94e4e;
    color: #fff;
    padding: 6px;
    margin-top: 10px;
    font-weight: bold;
    border-radius: 0 0 6px 6px;
    text-transform: uppercase;
    font-size: 14px;
} 

.zoom-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}
.zoom-modal-content {
    margin: 1% auto;
    background: #fff;
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
}
.zoom-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}
.zoom-controls {
    padding: 10px;
    background: #f0f0f0;
    text-align: center;
    flex-shrink: 0;
}
.zoom-controls button {
    padding: 5px 10px;
    font-size: 18px;
    margin: 0 5px;
    cursor: pointer;
    color: #fff;
    background-color: #df2020de;
    border: 1px solid #df2020de;
    transition: 0.5s;
    font-weight: 900;
}
.zoom-controls button:hover{
    background-color: transparent;
    color: #df2020de
}
.zoom-canvas-wrapper {
    flex-grow: 1;
    overflow: auto;
    padding: 10px;
    text-align: center;
}
#zoom-canvas {
    display: inline-block;
    background: #fefefe;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.thumbnail-wrapper {
    margin-bottom: 10px;
    cursor: pointer;
}
.thumbnail-label {
    text-align: center;
    font-size: 12px;
    margin-top: 5px;
}
.single-zoom-btn {
    padding: 8px 20px 8px 35px;
    background-color: #df2020de;
    color: #fff;
    border: 1px solid #df2020de;
    border-radius: 5px;
    background-image: url(/wp-content/uploads/2025/06/zoom-in-1.png);
    background-position: 12px;
    background-size: 16px;
    background-repeat: no-repeat;
    cursor: pointer;
    font-weight: 700;
    transition: 0.5s;
    height: 43px;
}
.single-zoom-btn:hover{
    background-color: transparent;
    color: #df2020de;
}
.zoom-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
/* Loader Styles */
.pdf-loader-overlay {
    position: fixed;
/*     z-index: 9999; */
	z-index : 0 !important;
	display: none !important;
    background: rgba(255, 255, 255, 0.9);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 840px) {
    .page-box-col{
        display: none;
    }
    .paper-col{
        width: 100%;
    }
}
@media (max-width: 840px) {
		.pdf-controls {
    width: 33%;
	}
	.newspage-counter{
		font-size: 14px;
	}
	.single-zoom-btn {
    padding: 8px 14px 8px 30px;
    background-color: #df2020de;
    color: #fff;
    border: 1px solid #df2020de;
    border-radius: 5px;
    background-image: url(/wp-content/uploads/2025/06/zoom-in-1.png);
    background-position: 12px;
    background-size: 12px;
    background-repeat: no-repeat;
    cursor: pointer;
    font-weight: 600;
    transition: 0.5s;
    height: 35px;
}
	.news-date {
    font-weight: 500;
    font-size: 14px;
    display: inline;
    border: 1px solid #CACACA;
    margin: 0;
    background-color: #ffffff;
    padding: 12px 17px;
    border-radius: 33px;
}
}
