/* The Rural Press - Compatibility & Unscoped Fallback Stylesheet */

/* Header & Top Bar */
.top-bar { background-color: #0f172a; color: #cbd5e1; font-size: .78rem; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; overflow: hidden; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: .35rem; padding-bottom: .35rem; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: .65rem; }
.live-date { display: flex; align-items: center; gap: .3rem; color: #e2e8f0; font-weight: 500; }
.mobile-date { display: none; }
.divider { color: #ffffff33; }
.edition-selector { display: flex; align-items: center; gap: .35rem; }
.edition-label { color: #94a3b8; }
.edition-pill { background: transparent; border: 1px solid rgba(255,255,255,.15); color: #e2e8f0; font-size: .72rem; padding: .1rem .45rem; border-radius: 3px; cursor: pointer; transition: all .2s; }
.edition-pill.active, .edition-pill:hover { background-color: var(--color-primary, #E86700); border-color: var(--color-primary, #E86700); color: #fff; }
.social-icon { display: flex; align-items: center; gap: .3rem; color: #4ade80; font-weight: 600; font-size: .76rem; }
.epaper-btn { display: flex; align-items: center; gap: .25rem; background-color: #ffffff1a; color: #fff; padding: .15rem .5rem; border-radius: 3px; font-weight: 600; font-size: .74rem; }

.masthead { background-color: #fff; border-bottom: 1px solid var(--color-border, #E5E7EB); padding: 1.1rem 0 .9rem; width: 100%; overflow: hidden; }
.masthead-inner { display: flex; align-items: center; justify-content: center; text-align: center; }
.masthead-brand { display: flex; justify-content: center; align-items: center; }
.brand-link { display: inline-flex; justify-content: center; align-items: center; transition: transform .2s ease, opacity .2s ease; }
.brand-link:hover { opacity: .92; transform: scale(1.01); }
.masthead-logo-img { height: 84px; width: auto; max-width: 240px; display: block; object-fit: contain; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.main-nav { background-color: #111827; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px #00000026; width: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav-scroll-wrapper { position: relative; flex: 1; overflow: hidden; }
.nav-scroll-container { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.nav-scroll-container::-webkit-scrollbar { display: none; }
.nav-list { display: flex; align-items: center; list-style: none; gap: .2rem; white-space: nowrap; padding: 0; margin: 0; }
.nav-link { display: block; padding: .65rem .95rem; color: #e5e7eb; font-size: .92rem; font-weight: 700; letter-spacing: .01em; position: relative; transition: all .2s; }
.nav-link:hover { color: #fff; background-color: #ffffff14; }
.nav-link.active { color: #fff; background-color: var(--color-primary, #E86700); }
.nav-link.active:after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background-color: #fcd34d; }
.nav-scroll-fade { position: absolute; right: 0; top: 0; bottom: 0; width: 28px; background: linear-gradient(90deg, transparent 0%, #111827 100%); pointer-events: none; }
.nav-actions { display: flex; align-items: center; padding-left: .5rem; flex-shrink: 0; background-color: #111827; }
.nav-search-btn { background: transparent; border: none; color: #e5e7eb; padding: .5rem; cursor: pointer; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.nav-search-btn:hover { background-color: #ffffff1a; color: #fff; }

#main-content { flex: 1; padding-bottom: 2.5rem; }

/* Article Container & Layout */
.article-container { padding-top: 1.25rem; box-sizing: border-box; width: 100%; overflow: hidden; }
.breadcrumb-nav { margin-bottom: 1rem; font-size: .82rem; }
.breadcrumb-list { display: flex; align-items: center; list-style: none; gap: .4rem; color: var(--color-text-muted, #555A60); flex-wrap: wrap; }
.crumb-separator { color: #9ca3af; }
.breadcrumb-list a:hover { color: var(--color-primary, #E86700); }
.breadcrumb-list .active { color: #111827; font-weight: 600; }
.article-grid-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 2rem; align-items: start; }
.article-main { background: #fff; border: 1px solid var(--color-border, #E5E7EB); border-radius: var(--radius-md, 8px); padding: 1.75rem; box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.06)); box-sizing: border-box; width: 100%; min-width: 0; overflow: hidden; }
.article-header { border-bottom: 1px solid var(--color-border, #E5E7EB); padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.article-title { font-family: var(--font-devanagari, 'Noto Sans Devanagari', sans-serif); font-size: 2.1rem; font-weight: 800; line-height: 1.35; color: #111827; margin-top: .75rem; margin-bottom: 1.15rem; overflow-wrap: break-word; word-break: break-word; }
.article-byline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.author-info { display: flex; align-items: center; gap: .6rem; }
.author-avatar { width: 36px; height: 36px; background-color: #f1f5f9; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-meta { display: flex; flex-direction: column; }
.author-name { font-weight: 700; color: #1f2937; font-size: .92rem; }
.author-title { font-size: .74rem; color: var(--color-text-muted, #555A60); }
.timestamp-box { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--color-text-muted, #555A60); flex-wrap: wrap; }
.share-strip { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.share-label { font-size: .8rem; font-weight: 700; color: #374151; }
.share-btn { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; padding: .3rem .65rem; border-radius: var(--radius-sm, 4px); color: #fff; transition: opacity .2s; }
.share-btn:hover { opacity: .9; }
.wa-btn { background-color: #16a34a; }
.fb-btn { background-color: #1877f2; }
.tw-btn { background-color: #000; }
.article-featured-image { margin: 1.25rem 0; border-radius: var(--radius-md, 8px); overflow: hidden; width: 100%; }
.article-featured-image img { width: 100%; height: auto; border-radius: var(--radius-md, 8px); object-fit: cover; }
.image-caption { font-size: .75rem; color: var(--color-text-light, #88909A); margin-top: .4rem; text-align: right; }
.article-body-content { font-family: var(--font-devanagari, 'Noto Sans Devanagari', sans-serif); font-size: 1.15rem; line-height: 1.8; color: #1f2937; margin-top: 1.5rem; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; width: 100%; min-width: 0; }
.article-body-content * { max-width: 100% !important; box-sizing: border-box; }
.article-body-content p { margin-bottom: 1.35rem; overflow-wrap: break-word; }
.article-body-content h2, .article-body-content h3 { font-weight: 800; color: #111827; margin-top: 1.75rem; margin-bottom: .85rem; line-height: 1.35; overflow-wrap: break-word; }
.article-body-content img { max-width: 100% !important; height: auto !important; border-radius: var(--radius-sm, 4px); margin: 1.25rem auto; display: block; }
.article-body-content figure { max-width: 100% !important; margin: 1.25rem 0; }
.article-body-content iframe, .article-body-content embed, .article-body-content video { max-width: 100% !important; width: 100% !important; margin: 1.25rem 0; }
.article-body-content blockquote { border-left: 4px solid var(--color-primary, #E86700); padding: .85rem 1rem; font-style: italic; color: #374151; margin: 1.25rem 0; background-color: #fef2f2; border-radius: 0 var(--radius-sm, 4px) var(--radius-sm, 4px) 0; overflow-wrap: break-word; }
.article-body-content table { display: block; overflow-x: auto; width: 100% !important; }
.article-bottom-actions { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border, #E5E7EB); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.bottom-share-title { font-size: .95rem; font-weight: 700; }
.sticky-sidebar { position: sticky; top: 60px; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-box { background: #fff; border: 1px solid var(--color-border, #E5E7EB); border-radius: var(--radius-md, 8px); padding: 1.25rem; box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.06)); }
.sidebar-box-title { font-size: 1.15rem; font-weight: 800; color: #111827; border-bottom: 2px solid var(--color-primary, #E86700); padding-bottom: .4rem; margin-bottom: .75rem; }

/* Ads */
.ad-slot-container { width: 100%; margin: 1.5rem 0; display: flex; justify-content: center; }
.ad-placeholder { width: 100%; min-height: 90px; text-align: center; }

/* Footer */
.site-footer { background-color: #0b1120; color: #94a3b8; margin-top: auto; border-top: 4px solid var(--color-primary, #E86700); padding-top: 3rem; padding-bottom: 2rem; font-size: .88rem; line-height: 1.6; width: 100%; overflow: hidden; box-sizing: border-box; }
.footer-inner { width: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1.6fr 1fr 1.1fr; gap: 2.25rem; margin-bottom: 2.5rem; align-items: start; }
.footer-col { min-width: 0; }
.footer-logo-wrapper { background-color: #fff; display: inline-block; padding: .5rem .85rem; border-radius: var(--radius-sm, 4px); margin-bottom: 1.25rem; box-shadow: 0 2px 4px #00000026; }
.footer-logo-img { height: auto; max-width: 170px; display: block; object-fit: contain; }
.about-text { font-size: .86rem; color: #cbd5e1; margin-bottom: .75rem; line-height: 1.65; }
.about-text strong, .brands-text strong { color: #fff; }
.brands-text { font-size: .84rem; color: #94a3b8; line-height: 1.55; }
.footer-heading { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 1.15rem; position: relative; padding-bottom: .4rem; border-bottom: 2px solid var(--color-primary, #E86700); display: inline-block; letter-spacing: .01em; }
.contact-details { display: flex; flex-direction: column; gap: .85rem; }
.contact-item { display: flex; flex-direction: column; gap: .15rem; }
.contact-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; font-weight: 700; }
.contact-value.highlight { font-size: .98rem; font-weight: 800; color: #f87171; }
.contact-link { color: #e2e8f0; font-weight: 500; transition: color .15s; word-break: break-all; }
.contact-link:hover { color: var(--color-primary, #E86700); text-decoration: underline; }
.emails-list { display: flex; flex-direction: column; gap: .2rem; }
.contact-address { font-style: normal; color: #cbd5e1; font-size: .85rem; line-height: 1.55; }
.contact-address strong { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { color: #cbd5e1; font-size: .86rem; transition: all .15s; display: inline-block; }
.footer-links a:hover { color: #fff; transform: translate(3px); }
.footer-social-row { border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.social-row-title { font-size: .92rem; font-weight: 700; color: #fff; }
.social-buttons-list { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: var(--radius-sm, 4px); font-size: .78rem; font-weight: 600; color: #fff; background-color: #ffffff14; border: 1px solid rgba(255,255,255,.12); transition: all .2s; }
.social-btn:hover { transform: translateY(-2px); }
.fb-btn:hover { background-color: #1877f2; border-color: #1877f2; }
.tw-btn:hover { background-color: #000; border-color: #333; }
.insta-btn:hover { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); border-color: transparent; }
.yt-btn:hover { background-color: red; border-color: red; }
.in-btn:hover { background-color: #0a66c2; border-color: #0a66c2; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }
.copyright-text { color: #94a3b8; }
.copyright-text strong { color: #e2e8f0; }
.bottom-right { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.policy-link { color: #94a3b8; transition: color .15s; }
.policy-link:hover { color: #fff; text-decoration: underline; }
.sep { color: #475569; }

/* Responsive Breakpoints */
@media(max-width:1024px){
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media(max-width:992px){
  .article-grid-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .article-main { padding: 1.25rem; }
  .article-title { font-size: 1.65rem; }
  .masthead { padding: .85rem 0 .65rem; }
  .masthead-logo-img { height: 68px; }
  .desktop-only { display: none !important; }
}
@media(max-width:768px){
  .desktop-only, .desktop-date { display: none !important; }
  .mobile-date { display: flex; font-size: .74rem; }
  .top-bar-inner { padding-top: .25rem; padding-bottom: .25rem; }
  .nav-link { padding: .55rem .8rem; font-size: .86rem; }
}
@media(max-width:640px){
  .site-footer { padding-top: 2rem; padding-bottom: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-social-row { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .social-buttons-list { width: 100%; }
  .social-btn { flex: 1 1 calc(50% - .5rem); justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
@media(max-width:600px){
  .article-container { padding-top: .75rem; }
  .article-main { padding: .95rem; }
  .article-title { font-size: 1.4rem; line-height: 1.35; margin-bottom: .85rem; }
  .article-body-content { font-size: 1.05rem; line-height: 1.7; }
  .article-byline { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .timestamp-box { font-size: .74rem; }
}
@media(max-width:480px){
  .masthead-logo-img { height: 58px; }
}
