
.latest-news-section .section-header {
    background-color: #4a4a4a;
    padding: 10px 0;
}
.latest-news-section .section-header h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}
.news-grid-container {
    background-color: #fff;
    padding: 20px 0;
}
.news-main-column {
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
   padding: 20px;
        border-radius: 15px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.main-news-card {
  display: flex
;
    gap: 20px;
    border-bottom: 4px solid #e9ecef;
    margin-bottom: 20px;
}
.main-news-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.main-news-card a, .news-snippet a {
    text-decoration: none;
}
.main-news-card .card-content {
    margin-bottom: 15px;
}
.main-news-card .card-content .section-title h2 a{
    color: #888;
}
.news-category {
    display: flex
;
    font-size: 13px;
    color: #555;
    font-weight: 600;
    margin-bottom: 8px;
    align-items: center;
    gap: 6px;
  font-family: B-FFShamelFamily;
}
.news-category .fas {
    margin-left: 5px;
}
.main-news-card .card-title {
    font-size: 18px;
    line-height: 1.6;
      font-family: B-FFShamelFamily;
      height: 60px;
    overflow: hidden;
}
.main-news-card .card-title a{
    color: #636363;
}
.main-news-card .card-excerpt {
    font-size: 14px;
    color: #868686;
    margin-top: 5px;
    font-family: B-FFShamelFamily;
}
.news-time {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    display: block;
}
.main-news-card img {
    display: block;
    border-radius: 6px;
    width: 192px;
    height: 150px;
    object-fit: cover;
    overflow: hidden;
}
.news-snippet >div{
        width: calc((100% - 20px) / 2);
}
.news-snippet {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 15px;
        display: flex
;
    flex-direction: row-reverse;
        justify-content: space-between;
}
.news-snippet:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.news-snippet img {
    display: block;
     width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 15px;
}
.news-snippet .snippet-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
        height: 60px;
    overflow: hidden;
     font-family: B-FFShamelFamily;
}
.news-snippet .snippet-title a {
    color: #636363;

}
 .card-content a:hover,
 .snippet-content a:hover {
    color: var( --blue-color);
}











/* PDF Card */
.pdf-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top-wrapper {
    padding: 15px;
    background: #fff;
    position: relative;
    border-bottom: 1px solid #eee;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-card:hover .overlay {
    opacity: 1;
}

.card-title {
    color: #000;
    margin-bottom: 5px;
}

.year {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
}

.badge {
    font-weight: normal;
    padding: 8px 12px;
    border-radius: 20px;
}

.swiper {
    padding-bottom: 50px !important;
}

.swiper-slide {
    height: auto;
}

.book-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.book-overlay.active {
    opacity: 1;
    visibility: visible;
}

.book-viewport {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.book-container {
    transform-origin: center center;
    transition: transform 0.1s linear;
    cursor: grab;
}

.book-container:active {
    cursor: grabbing;
}

.book-container[data-zoom="1"] {
    cursor: default;
}

.stf__wrapper {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.my-page {
    background-color: #fdfaf7;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-page canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: white;
    font-size: 2rem;
    border: none;
    transition: transform 0.3s;
    z-index: 10005;
    cursor: pointer;
}

.close-btn:hover {
    transform: rotate(90deg) scale(1.2);
    color: #ff4d4d;
}

.page-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 10005;
    pointer-events: none;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.prev-arrow {
    right: 30px;
}

.next-arrow {
    left: 30px;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 30px;
    z-index: 10002;
    display: flex;
    gap: 10px;
}

.zoom-controls button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.zoom-controls button:nth-child(2) {
    width: auto;
    border-radius: 15px;
    padding: 0 15px;
    font-weight: bold;
}

.book-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); 
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}


.book-overlay.active {
    opacity: 1;
    visibility: visible;
}

.book-container {

    width: 90%; 
    max-width: 1100px; 
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10001;
}


.stf__wrapper {

    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.my-page {
    background-color: #fdfaf7;
    overflow: hidden;

    box-shadow: inset -1px 0 5px rgba(0,0,0,0.05);
}

.my-page img {
    width: 100%;
    height: 100%;
    object-fit: fill; 
}
