:root {
    --ncl-primary: #12a3a3;
    --ncl-primary-dark: #0b7f80;
    --ncl-accent: #0b7f80;
    --ncl-ink: #172126;
    --ncl-muted: #66747b;
    --ncl-surface: #ffffff;
    --ncl-soft: #f4f8f8;
    --ncl-border: #dfeaea;
    --ncl-shadow: 0 12px 32px rgba(23, 33, 38, 0.09);
    --ncl-radius: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ncl-soft);
    color: var(--ncl-ink);
    font-family: "Noto Sans Devanagari", "Nirmala UI", Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

a,
button,
img {
    transition: all 0.22s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(18, 163, 163, 0.32);
    outline-offset: 3px;
}

.container {
    max-width: 1180px;
}

.header-area {
    background: var(--ncl-surface);
    box-shadow: 0 4px 18px rgba(23, 33, 38, 0.08);
    position: relative;
    z-index: 100;
}

.header-area .top-header-area {
    height: 94px;
    padding: 0;
    background: var(--ncl-surface);
    border-bottom: 1px solid var(--ncl-border);
}

.header-area .top-header-area .top-header-content {
    height: 94px;
    min-height: 94px;
    background: transparent;
}

.header-area .top-header-area .top-header-content .logo a {
    display: block;
    max-width: 205px;
}

.header-area .top-header-area .top-header-content .logo img {
    width: 100% !important;
    height: auto !important;
    max-height: 82px;
    object-fit: contain;
}

.header-area .top-header-area .header-meta p {
    margin: 0 0 3px;
    color: var(--ncl-ink);
    font-size: 16px;
    font-weight: 800;
}

.header-area .top-header-area .header-meta span {
    color: var(--ncl-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.header-area .newspaper-main-menu {
    background: var(--ncl-primary) !important;
    height: auto;
    min-height: 60px;
    border: 0;
    box-shadow: none;
}

.header-area .newspaper-main-menu .classy-nav-container {
    background: transparent;
}

.header-area .newspaper-main-menu .classy-navbar {
    height: auto;
    min-height: 60px;
    padding: 0;
}

.header-area .newspaper-main-menu .classynav > ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.header-area .newspaper-main-menu .classynav > ul > li > a,
.header-area .newspaper-main-menu .classy-navbar .classynav ul li a {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
    padding: 13px 12px;
    border-radius: 8px;
}

.header-area .newspaper-main-menu .classynav > ul > li > a:hover,
.header-area .newspaper-main-menu .classynav > ul > li > a:focus {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
}

.header-area .newspaper-main-menu .classy-navbar .logo {
    display: none;
    padding: 8px 0;
}

.hero-area {
    background: transparent;
    padding: 18px 0 8px;
}

.hero-area .breaking-news-area {
    min-height: 48px;
    background: var(--ncl-surface);
    border: 1px solid var(--ncl-border);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(23, 33, 38, 0.06);
    overflow: hidden;
}

.hero-area .breaking-news-area .news-title {
    width: auto;
    min-width: 145px;
    height: 48px;
    background: var(--ncl-primary-dark);
    padding: 0 20px;
}

.hero-area .breaking-news-area .news-title p {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hero-area .breaking-news-area .ticker {
    padding: 0 20px;
}

.hero-area .breaking-news-area .ticker ul li a {
    color: var(--ncl-ink);
    font-weight: 600;
}

.featured-post-area,
.popular-news-area,
.blog-area {
    padding-top: 34px;
    padding-bottom: 34px;
}

.home-page .featured-post-area > .container,
.home-page .popular-news-area > .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.home-page .featured-post-area .row,
.home-page .popular-news-area .row {
    row-gap: 22px;
}

.home-page .single-blog-post {
    height: auto;
}

.home-page .single-blog-post .post-data,
.home-page .single-blog-post.style-3 .post-data,
.home-page .single-blog-post.featured-post .post-data,
.home-page .single-blog-post.featured-post-2 .post-data,
.home-page .single-blog-post.small-featured-post .post-data {
    padding: 18px 20px !important;
}

.home-page .single-blog-post .post-thumb,
.home-page .single-blog-post .post-thumb a {
    display: block;
    width: 100%;
    overflow: hidden;
}

.home-page .single-blog-post .post-thumb img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-page .single-blog-post.featured-post .post-thumb img {
    height: auto;
    aspect-ratio: 16 / 10;
}

.home-page .single-blog-post.featured-post .post-excerp {
    display: none !important;
}

.home-page .single-blog-post.featured-post .post-data {
    min-height: 0;
}

.home-page .single-blog-post.featured-post-2 .post-thumb img,
.home-page .single-blog-post.small-featured-post .post-thumb img {
    height: 118px;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
}

.home-page .single-blog-post.featured-post-2 {
    grid-template-columns: 125px minmax(0, 1fr);
    min-height: 118px;
    max-height: 148px;
}

.home-page .single-blog-post.featured-post-2 .post-thumb,
.home-page .single-blog-post.featured-post-2 .post-thumb a {
    height: 118px;
}

.home-page .single-blog-post.featured-post-2 .post-data {
    min-width: 0;
}

.home-page .single-blog-post.small-featured-post {
    min-height: 118px;
    max-height: 145px;
}

.home-page .single-blog-post.small-featured-post .post-thumb,
.home-page .single-blog-post.small-featured-post .post-thumb a {
    flex: 0 0 135px;
    width: 135px;
    max-width: 135px;
    height: 118px;
    margin-right: 0;
}

.home-page .single-blog-post.style-3 .post-thumb img {
    height: 100%;
    min-height: 225px;
    aspect-ratio: 16 / 9;
}

.section-heading {
    margin: 0 0 26px;
    border: 0;
    text-align: left;
}

.section-heading h6 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--ncl-ink);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: none;
}

.section-heading h6::before {
    content: "";
    width: 5px;
    height: 26px;
    background: var(--ncl-primary);
    border-radius: 5px;
}

.single-blog-post {
    background: var(--ncl-surface);
    border: 1px solid var(--ncl-border);
    border-radius: var(--ncl-radius);
    box-shadow: 0 6px 20px rgba(23, 33, 38, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.single-blog-post:hover {
    box-shadow: var(--ncl-shadow);
    transform: translateY(-2px);
}

.single-blog-post .post-thumb {
    overflow: hidden;
    background: #eaf1f1;
}

.single-blog-post .post-thumb img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.single-blog-post:hover .post-thumb img {
    transform: scale(1.025);
}

.single-blog-post .post-data {
    padding: 18px 20px;
}

.single-blog-post .post-data .post-catagory {
    display: inline-flex;
    width: auto;
    margin-bottom: 10px;
    color: var(--ncl-primary-dark);
    background: rgba(18, 163, 163, 0.1);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

.single-blog-post .post-data .post-title h6,
.single-blog-post h6 {
    color: var(--ncl-ink);
    font-weight: 800;
    line-height: 1.45;
}

.single-blog-post .post-data .post-title h6:hover {
    color: var(--ncl-primary-dark);
}

.single-blog-post.featured-post > .post-title {
    display: block;
    padding: 18px 20px 12px;
}

.single-blog-post.featured-post > .post-title h6 {
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
}

.single-blog-post.featured-post .post-thumb img {
    height: 360px;
}

.single-blog-post.featured-post .post-data .post-excerp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--ncl-muted);
    line-height: 1.7;
}

.single-blog-post.featured-post-2 {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 108px;
}

.single-blog-post.featured-post-2 .post-thumb,
.single-blog-post.featured-post-2 .post-thumb a,
.single-blog-post.featured-post-2 .post-thumb img {
    width: 100%;
    height: 100%;
}

.single-blog-post.featured-post-2 .post-data {
    padding: 13px 14px;
}

.single-blog-post.featured-post-2 .post-data h6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
    font-size: 14px;
}

.single-blog-post.small-featured-post {
    min-height: 112px;
    padding: 0;
    border-bottom: 1px solid var(--ncl-border);
}

.single-blog-post.small-featured-post .post-thumb {
    flex: 0 0 128px;
    width: 128px;
    margin: 0;
}

.single-blog-post.small-featured-post .post-thumb img {
    height: 100%;
    min-height: 112px;
}

.single-blog-post.small-featured-post .post-data {
    padding: 13px 15px;
}

.single-blog-post.small-featured-post .post-data .post-title h6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    margin-bottom: 6px;
}

.single-blog-post.style-3 {
    display: grid;
    grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
    text-align: left;
}

.single-blog-post.style-3 .post-thumb,
.single-blog-post.style-3 .post-thumb a,
.single-blog-post.style-3 .post-thumb img {
    width: 100%;
    height: 100%;
    min-height: 220px;
}

.single-blog-post.style-3 .post-data {
    align-self: center;
    padding: 26px 30px;
}

.single-blog-post.style-3 .post-data .post-title h6 {
    font-size: 20px;
}

.single-blog-post.style-3 .post-data .post-title p {
    display: none;
}

.blog-area .single-post {
    transform: none;
}

.blog-area .single-post:hover {
    transform: none;
}

.single-blog-post.featured-post.single-post .post-thumb img {
    max-height: 620px;
    object-fit: contain;
    background: #f0f4f4;
}

.single-blog-post.featured-post.single-post .post-data {
    padding: 28px 32px;
}

.single-blog-post.featured-post.single-post .post-data .post-title h6 {
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.38;
}

.single-blog-post.featured-post.single-post .post-data .post-meta > div {
    color: #28363c;
    font-size: 17px;
    line-height: 1.9;
}

.single-blog-post.featured-post.single-post .post-data .post-meta img {
    max-width: 100%;
    height: auto !important;
}

.pager {
    margin: 24px 0 32px;
    gap: 12px;
}

.pager a,
.pagination .page-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 16px;
    color: var(--ncl-primary-dark);
    background: var(--ncl-surface);
    border: 1px solid var(--ncl-border);
    border-radius: 9px !important;
    font-weight: 700;
}

.pagination {
    justify-content: center;
    gap: 7px;
}

.pagination .active .page-link,
.pagination a:hover,
.pager a:hover {
    color: #fff;
    background: var(--ncl-primary);
    border-color: var(--ncl-primary);
}

.popular-news-widget,
.newsletter-widget,
.comment_area,
.post-a-comment-area {
    background: var(--ncl-surface);
    border: 1px solid var(--ncl-border);
    border-radius: var(--ncl-radius);
    box-shadow: 0 6px 20px rgba(23, 33, 38, 0.06);
    padding: 24px;
}

.popular-news-widget h3,
.newsletter-widget h4,
.comment_area .title,
.post-a-comment-area h4 {
    color: var(--ncl-ink);
    font-weight: 800;
}

.contact-form-area .form-control,
.newsletter-widget input {
    min-height: 48px;
    background: #f8fbfb;
    border: 1px solid var(--ncl-border);
    border-radius: 9px;
    padding: 11px 14px;
}

.contact-form-area textarea.form-control {
    min-height: 150px;
}

.newspaper-btn,
.newsletter-widget button {
    color: #fff !important;
    background: var(--ncl-primary) !important;
    border: 0 !important;
    border-radius: 9px;
    font-weight: 800;
}

.newspaper-btn:hover,
.newsletter-widget button:hover {
    background: var(--ncl-primary-dark) !important;
}

.popular-news-area > .container > .mb-5 .row {
    gap: 9px;
    margin: 0;
}

.popular-news-area > .container > .mb-5 .row > div {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
}

.popular-news-area > .container > .mb-5 a.text-danger {
    display: inline-flex;
    padding: 8px 15px;
    color: var(--ncl-primary-dark) !important;
    background: #fff;
    border: 1px solid rgba(18, 163, 163, 0.28);
    border-radius: 999px;
    font-weight: 700;
}

/* Neutralize the legacy theme's red accents on the public website. */
body .text-danger,
body a.text-danger,
.single-blog-post .post-data .post-author a,
.single-blog-post .post-data .post-meta .post-date a,
.single-blog-post .post-data .post-title h6:hover,
.single-blog-post .post-data .post-title h6:focus,
.single-popular-post h6 span,
.newspaper-tags ul li a,
.comment_area .single_comment_area .comment-content .comment-meta .post-author,
.comment_area .single_comment_area .comment-content .comment-meta .post-date {
    color: var(--ncl-primary-dark) !important;
}

.single-popular-post h6 span,
.pagination .active .page-link,
.newspaper-btn,
.newsletter-widget button {
    background-color: var(--ncl-primary) !important;
    border-color: var(--ncl-primary) !important;
}

::selection {
    color: #fff;
    background: var(--ncl-primary-dark);
}

.footer-area {
    margin-top: 42px;
    background: #172126;
}

.footer-area .main-footer-area {
    padding: 55px 0 38px;
}

.footer-area .footer-widget-area {
    margin-top: 0 !important;
}

.footer-area .footer-widget-area .footer-logo img {
    max-width: 225px;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
}

.footer-area .footer-widget-area .widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.footer-area a {
    color: #c6d4d4 !important;
}

.footer-area a:hover {
    color: #fff !important;
}

.footer-area #menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
}

.footer-area #menu li {
    display: block !important;
}

.footer-area .bottom-footer-area {
    min-height: 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .header-area .top-header-area {
        display: none;
    }

    .header-area .newspaper-main-menu .classy-navbar {
        min-height: 64px;
        padding: 0 4px;
    }

    .header-area .newspaper-main-menu .classy-navbar .logo {
        display: block;
        padding: 7px 0;
    }

    .header-area .newspaper-main-menu .classy-navbar .logo a {
        display: block;
        max-width: 145px;
    }

    .header-area .newspaper-main-menu .classy-navbar .logo img {
        width: 100%;
        max-height: 50px;
        object-fit: contain;
    }

    .header-area .newspaper-main-menu .classy-navbar-toggler .navbarToggler span {
        background-color: #fff;
    }

    .header-area .newspaper-main-menu .classynav > ul {
        display: block;
    }

    .header-area .newspaper-main-menu .classy-navbar .classynav ul li a {
        color: var(--ncl-ink) !important;
        padding: 13px 18px;
        border-bottom: 1px solid var(--ncl-border);
        border-radius: 0;
    }

    .single-blog-post.featured-post .post-thumb img {
        height: 320px;
    }

    .blog-sidebar-area {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-area {
        padding-top: 12px;
    }

    .hero-area .breaking-news-area {
        min-height: 44px;
    }

    .hero-area .breaking-news-area .news-title {
        min-width: 105px;
        height: 44px;
        padding: 0 12px;
    }

    .hero-area .breaking-news-area .news-title p {
        font-size: 11px;
    }

    .hero-area .breaking-news-area .ticker {
        padding: 0 12px;
    }

    .featured-post-area,
    .popular-news-area,
    .blog-area {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .home-page .featured-post-area > .container,
    .home-page .popular-news-area > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-page .featured-post-area .row,
    .home-page .popular-news-area .row {
        row-gap: 14px;
    }

    .home-page .single-blog-post {
        height: auto;
        margin-bottom: 16px;
    }

    .home-page .single-blog-post .post-data,
    .home-page .single-blog-post.style-3 .post-data,
    .home-page .single-blog-post.featured-post .post-data {
        padding: 16px !important;
    }

    .home-page .single-blog-post.featured-post-2 .post-data,
    .home-page .single-blog-post.small-featured-post .post-data {
        padding: 12px 14px !important;
    }

    .home-page .single-blog-post .post-thumb img,
    .home-page .single-blog-post.featured-post .post-thumb img,
    .home-page .single-blog-post.style-3 .post-thumb img {
        width: 100% !important;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .home-page .single-blog-post.featured-post-2 .post-thumb img,
    .home-page .single-blog-post.small-featured-post .post-thumb img {
        height: 108px;
        min-height: 0;
        aspect-ratio: auto;
    }

    .home-page .single-blog-post.featured-post-2 {
        grid-template-columns: 108px minmax(0, 1fr);
        min-height: 108px;
        max-height: none;
    }

    .home-page .single-blog-post.featured-post-2 .post-thumb,
    .home-page .single-blog-post.featured-post-2 .post-thumb a {
        height: 108px;
    }

    .home-page .single-blog-post.small-featured-post {
        min-height: 108px;
        max-height: none;
    }

    .home-page .single-blog-post.small-featured-post .post-thumb,
    .home-page .single-blog-post.small-featured-post .post-thumb a {
        flex-basis: 108px;
        width: 108px;
        max-width: 108px;
        height: 108px;
    }

    .section-heading h6 {
        font-size: 20px;
    }

    .single-blog-post.featured-post > .post-title h6 {
        font-size: 19px;
    }

    .single-blog-post.featured-post .post-thumb img {
        height: 245px;
    }

    .single-blog-post.featured-post-2 {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .single-blog-post.small-featured-post .post-thumb {
        flex-basis: 105px;
        width: 105px;
    }

    .single-blog-post.style-3 {
        display: block;
    }

    .single-blog-post.style-3 .post-thumb img {
        height: 220px;
        min-height: 0;
    }

    .single-blog-post.style-3 .post-data {
        padding: 18px 20px;
    }

    .single-blog-post.style-3 .post-data .post-title h6 {
        font-size: 17px;
    }

    .single-blog-post.featured-post.single-post .post-data {
        padding: 22px 20px;
    }

    .single-blog-post.featured-post.single-post .post-data .post-title h6 {
        font-size: 25px;
    }

    .single-blog-post.featured-post.single-post .post-data .post-meta > div {
        font-size: 16px;
    }

    .newspaper-post-like,
    .newspaper-tags,
    .pager {
        flex-wrap: wrap;
    }

    .popular-news-widget,
    .newsletter-widget,
    .comment_area,
    .post-a-comment-area {
        padding: 20px;
    }

    .footer-area .main-footer-area {
        padding: 38px 0 26px;
    }

    .footer-area .footer-widget-area {
        margin-bottom: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
