body { background-color: #0f172a; font-family: 'Tiro Devanagari Hindi', serif; overflow-x: hidden; perspective: 1500px; }

.abnnews-top-bar {
    background: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 20px;
}

.epaper-main-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 15px;
}

.abnnews-cat-strip-wrapper {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
}
.abnnews-cat-strip {
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding: 8px 40px;
    width: 100%;
    scrollbar-width: none;
}
.abnnews-cat-strip::-webkit-scrollbar { display: none; }

.abnnews-cat-strip a {
    color: #1e293b;
    font-weight: 600;
    font-size: 15px;
    padding: 5px 15px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s;
}
.abnnews-cat-strip a:hover, .abnnews-cat-strip a.active {
    color: #dc2626;
    border-bottom: 2px solid #dc2626;
}

.cat-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.cat-scroll-btn:hover { background: #f1f5f9; color: #dc2626; border-color: #dc2626; }
.cat-scroll-left { left: 10px; }
.cat-scroll-right { right: 10px; }

.sticky-drawer-container {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.bottom-fixed-drawer {
    background: #232d3f;
    padding: 30px 0 20px 0;
    position: relative;
    border-top: 1px solid #334155;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.2);
}

.thumbnail-drawer-panel {
    background: #ffffff;
    border-bottom: 2px solid #cbd5e1;
    padding: 15px 45px; 
    position: relative;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 220px;
    overflow: hidden;
    opacity: 1;
}
#thumbnailDrawerTop.collapsed {
    max-height: 0;
    padding: 0 45px;
    opacity: 0;
    border: none;
}

#thumbnailDrawerTop .thumb-preview-card {
    height: 95px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s;
}
#thumbnailDrawerTop .thumb-preview-card:hover, #thumbnailDrawerTop .thumb-preview-card.active {
    border-color: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}
#thumbnailDrawerTop .thumb-preview-card img {
    height: 65px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 2px;
}
#thumbnailDrawerTop .thumb-preview-card span {
    font-size: 11px;
    font-weight: bold;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    display: block;
}

.bottom-thumb-card {
    background: transparent;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.2s;
}
.bottom-thumb-card span {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bottom-thumb-card img, .bottom-thumb-card .thumb-box-inner {
    height: 110px;
    object-fit: cover;
    width: 100%;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.2s;
}
.bottom-thumb-card.active img, .bottom-thumb-card.active .thumb-box-inner, .bottom-thumb-card:hover img {
    border-color: #dc2626;
    transform: translateY(-3px);
}

.bottom-fixed-drawer .owl-nav, .abnnews-drawer-container .owl-nav {
    position: absolute;
    width: 100%;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
    padding: 0 10px;
}
.bottom-fixed-drawer .owl-nav button.owl-prev,
.bottom-fixed-drawer .owl-nav button.owl-next,
.abnnews-drawer-container .owl-nav button.owl-prev,
.abnnews-drawer-container .owl-nav button.owl-next {
    pointer-events: auto;
    background: #1e293b !important;
    color: #ffffff !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.2s;
}

.drawer-toggle-badge-top {
    text-align: center;
    cursor: pointer;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 144px;
    height: 30px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 1040;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    color: #475569;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.drawer-toggle-badge-top:hover { color: #dc2626; }

/* Fixed Side Navigation Toggle Buttons matching user reference */
.side-nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    transition: background 0.2s, transform 0.2s;
}
.side-nav-arrow:hover { background: #dc2626; transform: translateY(-50%) scale(1.1); }
.left-arrow { left: 25px; }
.right-arrow { right: 25px; }

/* Smooth Physical Newspaper Flip Transition */
.broadsheet-page {
    background: #fffdf9;
    border: 1px solid #94a3b8;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    padding: 40px;
    margin: 40px auto;
    max-width: 950px;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.5s ease;
}
.page-turning-left {
    transform: rotateY(90deg) scale(0.95);
    opacity: 0.1;
}
.page-turning-right {
    transform: rotateY(-90deg) scale(0.95);
    opacity: 0.1;
}

.front-grand-banner {
    background: #ffffff;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.front-banner-topmeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 12px;
}
.front-banner-main {
    background: #dc2626;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

.banner-side-news {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 32%;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.banner-side-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.banner-side-news img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #dc2626;
    flex-shrink: 0;
}
.banner-side-news .news-txt-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
}
.banner-side-news .news-txt {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.banner-side-news .page-tag {
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 6px;
    align-self: flex-start;
}

.banner-center-exact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    flex-grow: 1;
    max-width: 360px;
}
.banner-center-exact img.brand-globe-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}
.banner-center-exact .brand-text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.banner-center-exact .brand-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 900;
    color: #0d1b2a;
    margin: 0;
    line-height: 1;
}
.banner-center-exact .brand-sub-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 900;
    color: #0d1b2a;
    margin: 0;
    line-height: 1.1;
}
.banner-center-exact span.brand-tagline-text {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 4px;
    white-space: nowrap;
}

.front-banner-footer {
    display: flex;
    justify-content: flex-end;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-top: 6px;
}

.inner-page-header {
    border-bottom: 2px solid #0f172a;
    border-top: 1px solid #0f172a;
    padding: 8px 0;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}
.inner-page-header .cat-title-box {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: #0f172a;
    padding: 0 30px;
    border-left: 2px solid #0f172a;
    border-right: 2px solid #0f172a;
}

.newspaper-columns {
    column-count: 3;
    column-gap: 25px;
    column-rule: 1px solid #cbd5e1;
}
@media (max-width: 992px) {
    .newspaper-columns { column-count: 1; }
}

.news-box {
    break-inside: avoid;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #94a3b8;
    position: relative;
}
.news-share-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(15, 23, 42, 0.85);
    padding: 4px 8px;
    border-radius: 20px;
    display: flex;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 10;
}
.news-box:hover .news-share-overlay {
    opacity: 1;
    visibility: visible;
}
.news-share-overlay a {
    color: #fff;
    font-size: 13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.news-share-overlay a.wa { background: #25d366; }
.news-share-overlay a.fb { background: #1877f2; }
.news-share-overlay a.cp { background: #475569; }

.news-box h3 a {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 6px;
}
.news-box h3 a:hover { color: #dc2626; }
.news-box p { font-size: 13.5px; line-height: 1.6; color: #334155; text-align: justify; }

.page-footer-strip {
    border-top: 1px solid #cbd5e1;
    margin-top: 30px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dot-indicators { display: flex; gap: 7px; align-items: center; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-grey { background-color: #94a3b8; }
.dot-lightgrey { background-color: #cbd5e1; }
.dot-cyan { background-color: #06b6d4; }
.dot-pink { background-color: #ec4899; }
.dot-yellow { background-color: #fbbf24; }
.dot-black { background-color: #1e293b; }

.social-share-icons { display: flex; gap: 12px; align-items: center; }
.social-share-icons a {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; text-decoration: none;
}

.abnnews-floating-tools {
    position: fixed;
    right: 25px;
    top: 65%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    z-index: 1050;
}
.abnnews-floating-tools button {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: #334155;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.abnnews-floating-tools button:hover { background: #f1f5f9; color: #dc2626; }