/* Editorial UI layer inspired by modern Gujarati news portals. */
:root {
    --vr-theme-color: #e60012;
    --vr-font-primary: "Hind Vadodara", "Nirmala UI", sans-serif;
    --vr-font-secondary: "Hind Vadodara", "Nirmala UI", sans-serif;
    --vr-font-tertiary: "Hind Vadodara", "Nirmala UI", sans-serif;
    --news-red: #e60012;
    --news-red-dark: #b8000e;
    --news-ink: #14171c;
    --news-muted: #68707d;
    --news-line: #e7e9ed;
    --news-surface: #f5f6f8;
    --news-radius: 10px;
}

body.magazine {
    color: var(--news-ink);
    background: #fff;
    font-family: "Hind Vadodara", "Noto Sans Gujarati", "Nirmala UI", "Shruti", sans-serif;
    font-feature-settings: "kern" 1;
    -webkit-font-smoothing: antialiased;
}

body.magazine h1,
body.magazine h2,
body.magazine h3,
body.magazine h4,
body.magazine h5,
body.magazine h6,
body.magazine .title,
body.magazine .nav-link,
body.magazine button,
body.magazine input,
body.magazine textarea,
body.magazine select {
    font-family: "Hind Vadodara", "Noto Sans Gujarati", "Nirmala UI", "Shruti", sans-serif;
}

body.magazine a { transition: color .18s ease, opacity .18s ease, transform .18s ease; }
body.magazine a:hover { color: var(--news-red); }

/* Utility strip */
#nav-top {
    min-height: 38px;
    color: #d7d9dd;
    background: #111318;
    border-top: 3px solid var(--news-red);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
#nav-top .nav-link { color: #d7d9dd; font-size: 12px; font-weight: 600; }
#nav-top .nav-link:hover { color: #fff; }
#nav-top .btn-switch-mode { color: #fff; }

/* Masthead and category navigation */
#header { position: relative; z-index: 100; background: #fff; box-shadow: 0 5px 24px rgba(20,23,28,.08); }
#header .nav-main { min-height: 84px; border: 0; border-bottom: 1px solid #eceef1; background: #fff; }
#header .navbar-brand { position: relative; display: flex; align-items: center; min-width: 210px; margin-right: 22px; padding-right: 24px !important; }
#header .navbar-brand:after { position:absolute;top:18%;right:0;width:1px;height:64%;content:"";background:#e5e7eb; }
#header .navbar-brand .logo { width: auto; max-width: 230px; height: 64px; max-height: 64px; object-fit: contain; }
#header .nav-main .navbar-left { align-self: stretch; }
#header .nav-main .navbar-left > .nav-item { display: flex; align-items: center; }
#header .nav-main .navbar-left > .nav-item > .nav-link {
    position: relative;
    margin: 0 2px;
    padding: 11px 13px;
    border-radius: 7px;
    color: var(--news-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}
#header .nav-main .navbar-left > .nav-item > .nav-link:after {
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 3px;
    content: "";
    border-radius: 10px;
    background: var(--news-red);
    transform: scaleX(0);
    transition: transform .2s ease;
}
#header .nav-main .navbar-left > .nav-item:hover > .nav-link:after,
#header .nav-main .navbar-left > .active > .nav-link:after { transform: scaleX(1); }
#header .nav-main .navbar-left > .nav-item:hover > .nav-link { color:var(--news-red);background:rgba(230,0,18,.055); }
#header .search-icon { display:grid!important;width:42px;height:42px;padding:0!important;place-items:center;border-radius:50%;color:#fff!important;background:var(--news-red);box-shadow:0 6px 16px rgba(230,0,18,.22); }
#header .search-icon:hover { color: #fff; background:var(--news-red-dark);transform:translateY(-1px); }
#header .search-form { border-top-color:var(--news-red);border-radius:8px;box-shadow:0 14px 35px rgba(20,23,28,.15); }
.mega-menu { border-top: 3px solid var(--news-red); border-radius: 0 0 var(--news-radius) var(--news-radius); }

/* Breaking ticker */
.section-newsticker { margin: 22px 0 18px; }
.newsticker-container {
    min-height: 48px;
    overflow: hidden;
    align-items: center;
    border: 1px solid var(--news-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(20,23,28,.05);
}
.newsticker-title {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    background: var(--news-red) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    gap: 7px;
}
.newsticker-title:after {
    position: absolute;
    margin-left: calc(100% + 18px);
    content: "";
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 10px solid var(--news-red);
}
.newsticker { padding-left: 20px; }
.newsticker li a { color: var(--news-ink); font-size: 14px; font-weight: 650; }
.nav-sm-buttons button { border-radius: 50%; }

/* Lead story grid */
.section-featured { margin-bottom: 44px; }
.section-featured .main-slider-container,
.section-featured .item { overflow: hidden; border-radius: var(--news-radius); background: #111; }
.section-featured .main-slider-item:after,
.section-featured .item:after {
    position: absolute;
    inset: 35% 0 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(transparent, rgba(0,0,0,.88));
}
.section-featured .img-cover,
.section-featured .item img { transition: transform .45s ease, opacity .3s ease; }
.section-featured .main-slider-item:hover .img-cover,
.section-featured .item:hover img { transform: scale(1.035); opacity: .9; }
.section-featured .caption { z-index: 2; padding: 24px !important; }
.section-featured .caption .title,
.section-featured .caption .title a { color: #fff; font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.section-featured .main-slider-item .caption .title { font-size: clamp(24px,2.2vw,35px); }
.badge-category {
    padding: 6px 9px;
    border-radius: 4px;
    background: var(--news-red) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.main-slider-nav button { border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.48); backdrop-filter: blur(5px); }

/* Section headings */
.section-category { margin-bottom: 54px; }
.section-title {
    position: relative;
    margin-bottom: 24px;
    padding: 0 0 12px;
    border-bottom: 2px solid var(--news-ink);
}
.section-title:after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 66px;
    height: 4px;
    content: "";
    background: var(--news-red);
}
.section-title .title {
    margin: 0;
    color: var(--news-ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.025em;
}
.section-title .nav-link { color: var(--news-muted); font-size: 12px; font-weight: 700; }
.section-title .nav-link.active,
.section-title .nav-link:hover { color: var(--news-red); }

/* Article cards */
.post-item .image,
.post-item-small .image { overflow: hidden; border-radius: 8px; background: var(--news-surface); }
.post-item .image img,
.post-item-small .image img { transition: transform .35s ease, opacity .25s ease; }
.post-item:hover .image img,
.post-item-small:hover .image img { transform: scale(1.04); opacity: .94; }
.post-item .title { margin-top: 13px; }
.post-item .title a { color: var(--news-ink); font-weight: 750; line-height: 1.38; letter-spacing: -.015em; }
.post-item .description { color: var(--news-muted); line-height: 1.65; }
.post-meta,.small-post-meta { color: #8b929c !important; font-size: 11px; }
.post-item-small {
    min-height: 112px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--news-line);
}
.post-item-small .left { width: 124px; }
.post-item-small .image { width: 110px; height: 78px; }
.post-item-small .title a { color: var(--news-ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
.post-item-vr { overflow: hidden; border-radius: var(--news-radius); }

/* Article and sidebar surfaces */
.page-content,
.post-content { color: #282d35; line-height: 1.85; }
.post-content .post-title { color: var(--news-ink); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.sidebar-widget { overflow: hidden; border: 1px solid var(--news-line); border-radius: var(--news-radius); background: #fff; }
.sidebar-widget .widget-head { padding: 14px 16px; border-bottom: 3px solid var(--news-red); background: var(--news-ink); }
.sidebar-widget .widget-head .title { color: #fff; font-weight: 800; }

/* Footer */
#footer { margin-top: 60px; border-top: 5px solid var(--news-red); background: #111318; }
#footer .footer-inner { padding-top: 52px; }
#footer .widget-title { position: relative; padding-bottom: 12px; color: #fff; font-size: 16px; font-weight: 800; }
#footer .widget-title:after { position:absolute;bottom:0;left:0;width:38px;height:3px;content:"";background:var(--news-red); }
#footer .footer-about,#footer .description,#footer .post-item-small .title a { color: #b9bec7; }
#footer .footer-copyright { border-top: 1px solid rgba(255,255,255,.1); background: #0b0c0f; }
.scrollup { border-radius: 8px; background: var(--news-red) !important; box-shadow: 0 8px 24px rgba(230,0,18,.3); }

/* Dark theme */
.dark-mode { --news-ink:#f5f6f8;--news-muted:#aab0bb;--news-line:#30343c;--news-surface:#20232a; }
.dark-mode #header,
.dark-mode #header .nav-main,
.dark-mode .newsticker-container,
.dark-mode .sidebar-widget { background:#181a20; }
.dark-mode #header .nav-main .navbar-left>.nav-item>.nav-link,
.dark-mode .newsticker li a,
.dark-mode .post-item .title a,
.dark-mode .post-item-small .title a { color:var(--news-ink); }
.dark-mode #header .navbar-brand:after { background:#343840; }

@media (max-width: 991.98px) {
    #header .nav-main { min-height: 72px; }
    #header .navbar-brand { min-width:170px;margin-right:12px;padding-right:14px!important; }
    #header .navbar-brand .logo { max-width:180px;height:54px;max-height:54px; }
    .section-featured .col-featured-right { margin-top: 5px; }
    .section-category { margin-bottom: 40px; }
}

@media (max-width: 767.98px) {
    #nav-top { min-height: 34px; }
    #header { box-shadow:0 3px 14px rgba(20,23,28,.08); }
    #header .nav-main { min-height: 62px; border-bottom:2px solid var(--news-red); }
    #header .navbar-brand:after { display:none; }
    #header .navbar-brand .logo { max-width:155px;height:48px;max-height:48px; }
    .section-newsticker { margin: 14px 0; }
    .newsticker-title { padding: 0 12px; }
    .newsticker-title span { display:none; }
    .section-featured { margin-bottom: 34px; }
    .section-featured .caption { padding: 18px !important; }
    .section-featured .main-slider-item .caption .title { font-size: 22px; }
    .section-title .title { font-size: 19px; }
    .section-title .nav { display:none; }
    .post-item-small .left { width: 112px; }
    .post-item-small .image { width:100px;height:72px; }
}

/* Post detail page */
#postDetailsPage { padding-top: 20px; }
#postDetailsPage > .container-xl > .row { row-gap: 28px; }
#postDetailsPage .breadcrumb {
    align-items: center;
    margin: 0 0 26px;
    padding: 11px 15px;
    border: 1px solid var(--news-line);
    border-radius: 8px;
    background: var(--news-surface);
    font-size: 12px;
}
#postDetailsPage .breadcrumb-item a { color: var(--news-muted); font-weight: 600; }
#postDetailsPage .breadcrumb-item a:hover { color: var(--news-red); }
#postDetailsPage .breadcrumb-item.active { overflow: hidden; max-width: 420px; color: #9399a3; text-overflow: ellipsis; white-space: nowrap; }
#postDetailsPage .post-content { max-width: 860px; }
#postDetailsPage .post-title {
    max-width: 820px;
    margin: 14px 0 16px;
    color: var(--news-ink);
    font-size: clamp(32px, 4.1vw, 52px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.18;
}
#postDetailsPage .post-summary {
    margin: 0 0 22px;
    padding-left: 18px;
    border-left: 4px solid var(--news-red);
    color: #515966;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    line-height: 1.55;
}
#postDetailsPage .post-details-meta {
    min-height: 52px;
    padding: 9px 0;
    border-top: 1px solid var(--news-line);
    border-bottom: 1px solid var(--news-line);
    color: var(--news-muted);
    gap: 14px;
}
#postDetailsPage .item-meta-author a { display: flex; align-items: center; color: var(--news-ink); font-weight: 700; gap: 9px; }
#postDetailsPage .item-meta-author img { width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--news-line); object-fit: cover; }
#postDetailsPage .item-meta-date { display: flex; align-items: center; font-size: 12px; gap: 5px; }
#postDetailsPage .item-meta-comment { display: flex; font-size: 12px; gap: 11px; }

#postDetailsPage .post-share-buttons {
    align-items: center;
    padding: 11px 13px;
    border: 1px solid var(--news-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(20,23,28,.05);
    gap: 8px;
}
#postDetailsPage .post-share-buttons:before { margin-right: 5px; content: "Share"; color: var(--news-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#postDetailsPage .btn-share { margin: 0; }
#postDetailsPage .btn-share a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 10px rgba(20,23,28,.12);
}
#postDetailsPage .btn-share a:hover { color: #fff; transform: translateY(-2px); }
#postDetailsPage .btn-share .btn-inner a { color: var(--news-ink); background: var(--news-surface); box-shadow: none; }
#postDetailsPage .btn-copy-link { border: 0; background: var(--news-ink) !important; }
#postDetailsPage .btn-copy-link.is-copied { background: #138a4b !important; }

#postDetailsPage .post-image { margin: 0 0 28px; }
#postDetailsPage .post-image-inner { overflow: hidden; border-radius: 12px; background: var(--news-surface); box-shadow: 0 12px 34px rgba(20,23,28,.1); }
#postDetailsPage .post-image-inner > img,
#postDetailsPage .post-detail-slider-item img { width: 100%; max-height: 620px; object-fit: cover; }
#postDetailsPage .img-description { padding: 10px 14px; color: var(--news-muted); background: var(--news-surface); font-size: 11px; line-height: 1.5; }
#postDetailsPage .post-detail-slider-nav button { border-radius: 50%; background: rgba(0,0,0,.62); backdrop-filter: blur(6px); }

#postDetailsPage .post-text {
    color: #282d35;
    font-size: 18px;
    line-height: 1.9;
}
#postDetailsPage .post-text > p:first-child:first-letter {
    float: left;
    margin: 10px 8px 0 0;
    color: var(--news-red);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: .72;
}
#postDetailsPage .post-text p { margin-bottom: 1.5em; }
#postDetailsPage .post-text h2,
#postDetailsPage .post-text h3 { margin: 1.7em 0 .65em; color: var(--news-ink); font-weight: 700; line-height: 1.3; }
#postDetailsPage .post-text blockquote {
    margin: 30px 0;
    padding: 22px 25px;
    border: 0;
    border-left: 5px solid var(--news-red);
    border-radius: 0 10px 10px 0;
    color: var(--news-ink);
    background: var(--news-surface);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.6;
}
#postDetailsPage .post-text img { height: auto; margin: 18px auto; border-radius: 10px; }
#postDetailsPage .post-text a { color: var(--news-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

#postDetailsPage .post-tags { flex-wrap: wrap; padding: 18px; border-radius: 10px; background: var(--news-surface); gap: 10px; }
#postDetailsPage .post-tags .title { margin: 0 6px 0 0; color: var(--news-ink); font-size: 13px; font-weight: 700; }
#postDetailsPage .post-tags ul { flex-wrap: wrap; margin: 0; gap: 7px; }
#postDetailsPage .post-tags ul li a { display: block; padding: 7px 11px; border: 1px solid var(--news-line); border-radius: 20px; color: var(--news-muted); background: #fff; font-size: 11px; font-weight: 600; }
#postDetailsPage .post-tags ul li a:hover { border-color: var(--news-red); color: #fff; background: var(--news-red); }

#postDetailsPage .about-author { margin-top: 38px; padding: 24px; border: 1px solid var(--news-line); border-radius: 12px; background: var(--news-surface); }
#postDetailsPage .about-author .img-author { width: 82px; height: 82px; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 4px 16px rgba(20,23,28,.1); object-fit: cover; }
#postDetailsPage .about-author .username a { color: var(--news-ink); font-size: 18px; }
#postDetailsPage .section-related-posts,
#postDetailsPage .section-comments { padding-top: 8px; }
#postDetailsPage .section-related-posts .post-item { margin-bottom: 24px; }
#postDetailsPage .section-comments .nav-tabs { border-bottom: 2px solid var(--news-line); }
#postDetailsPage .section-comments .nav-link { padding: 12px 18px; border: 0; color: var(--news-muted); font-weight: 700; }
#postDetailsPage .section-comments .nav-link.active { border-bottom: 3px solid var(--news-red); color: var(--news-red); background: transparent; }
#postDetailsPage .section-comments .tab-content { padding-top: 22px; }

@media (min-width: 992px) {
    #postDetailsPage > .container-xl > .row > .col-lg-4 { padding-left: 32px; }
    #postDetailsPage > .container-xl > .row > .col-lg-4 .sidebar { position: sticky; top: 20px; }
}
@media (max-width: 767.98px) {
    #postDetailsPage { padding-top: 12px; }
    #postDetailsPage .breadcrumb { margin-bottom: 18px; padding: 9px 11px; }
    #postDetailsPage .breadcrumb-item.active { display: none; }
    #postDetailsPage .post-title { font-size: 30px; letter-spacing: -.035em; }
    #postDetailsPage .post-summary { padding-left: 13px; font-size: 17px; }
    #postDetailsPage .post-details-meta { align-items: flex-start !important; flex-wrap: wrap; }
    #postDetailsPage .item-meta-comment { margin-left: 0 !important; }
    #postDetailsPage .post-share-buttons { overflow-x: auto; padding: 10px; }
    #postDetailsPage .post-share-buttons:before { display: none; }
    #postDetailsPage .btn-share a { width: 36px; height: 36px; }
    #postDetailsPage .post-text { font-size: 17px; line-height: 1.82; }
    #postDetailsPage .post-text blockquote { padding: 18px; font-size: 18px; }
    #postDetailsPage .about-author { align-items: center; padding: 18px; }
    #postDetailsPage .about-author .img-author { width: 64px; height: 64px; }
}

.dark-mode #postDetailsPage .post-summary,
.dark-mode #postDetailsPage .post-text { color: #d7dae0; }
.dark-mode #postDetailsPage .post-share-buttons,
.dark-mode #postDetailsPage .post-tags ul li a { background: #181a20; }
