:root {
  --rn-bg: #f6f7f9;
  --rn-surface: #ffffff;
  --rn-surface-muted: #f0f3f7;
  --rn-ink: #111827;
  --rn-muted: #667085;
  --rn-line: #d9e0e8;
  --rn-line-soft: #e8edf3;
  --rn-brand: #c91f2e;
  --rn-brand-dark: #971524;
  --rn-accent: #0b6f85;
  --rn-success: #14804a;
  --rn-warning: #b76e00;
  --rn-radius: 8px;
  --rn-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --rn-font: "Noto Sans Bengali", "Siyam Rupali", "Hind Siliguri", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.rison-front,
body.rison-panel,
body.rison-auth {
  background: var(--rn-bg);
  color: var(--rn-ink);
  font-family: var(--rn-font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.rison-front a,
body.rison-panel a,
body.rison-auth a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.rison-front img,
body.rison-panel img,
body.rison-auth img {
  max-width: 100%;
}

body.rison-front .container-fluid,
body.rison-panel .container-fluid {
  max-width: 1320px;
}

body.rison-front header.non-sticky {
  background: var(--rn-surface);
  border-bottom: 1px solid var(--rn-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body.rison-front header.sticky {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rn-line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

body.rison-front #midHeader {
  padding: 14px 0 0;
}

body.rison-front a.logo img.logo {
  max-height: 58px;
  object-fit: contain;
}

body.rison-front #top-quick-links,
body.rison-front #top-quick-links.menu,
body.rison-front #top-nav ul,
body.rison-front header.sticky ul {
  align-items: center;
  gap: 6px;
}

body.rison-front #top-quick-links a,
body.rison-front #top-nav a,
body.rison-front header.sticky nav a {
  border-radius: 999px;
  color: var(--rn-ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 12px;
  font-weight: 700;
}

body.rison-front #top-quick-links a:hover,
body.rison-front #top-nav a:hover,
body.rison-front header.sticky nav a:hover {
  background: var(--rn-surface-muted);
  color: var(--rn-brand);
}

body.rison-front #top-nav {
  border-top: 1px solid var(--rn-line-soft);
  margin-top: 14px;
}

body.rison-front #top-nav .container-fluid {
  min-height: 48px;
}

body.rison-front .dropdown-menu,
body.rison-front .dropdown_menu {
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  box-shadow: var(--rn-shadow);
  overflow: hidden;
}

body.rison-front .form-inner input,
body.rison-panel .form-control,
body.rison-panel .input-field,
body.rison-auth .form-control {
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  box-shadow: none;
  min-height: 44px;
}

body.rison-front .form-inner input:focus,
body.rison-panel .form-control:focus,
body.rison-panel .input-field:focus,
body.rison-auth .form-control:focus {
  border-color: var(--rn-accent);
  box-shadow: 0 0 0 3px rgba(11, 111, 133, 0.14);
  outline: none;
}

body.rison-front .common-border-box,
body.rison-front .news-border,
body.rison-front .tab_block_one,
body.rison-front .tab_block_stories,
body.rison-front #home-online-poll {
  background: var(--rn-surface);
  border: 1px solid var(--rn-line-soft) !important;
  border-radius: var(--rn-radius);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

body.rison-front .common-card-content,
body.rison-front .flex-content,
body.rison-front .single-news,
body.rison-front .sub2-lead-content {
  border-radius: var(--rn-radius);
}

body.rison-front .imgWrep {
  background: var(--rn-surface-muted);
  border-radius: var(--rn-radius);
  display: block;
  overflow: hidden;
}

body.rison-front .imgWrep img,
body.rison-front .vid-single img {
  border-radius: var(--rn-radius);
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

body.rison-front .common-card-content:hover .imgWrep img,
body.rison-front .flex-content:hover .imgWrep img,
body.rison-front .single-news:hover img {
  transform: scale(1.025);
}

body.rison-front .title,
body.rison-front .heading-h2,
body.rison-front h1,
body.rison-front h2,
body.rison-front h3,
body.rison-front h4,
body.rison-front h5 {
  color: var(--rn-ink);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.28;
}

body.rison-front .summery,
body.rison-front .time,
body.rison-front .post-meta,
body.rison-front .site-address,
body.rison-front footer {
  color: var(--rn-muted);
  line-height: 1.55;
}

body.rison-front .menu-link {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.rison-front .menu-link a,
body.rison-front #video-gallery > .d-flex .title a {
  color: var(--rn-ink);
  font-size: 20px;
  font-weight: 900;
}

body.rison-front .menu-link a:hover,
body.rison-front #video-gallery a:hover {
  color: var(--rn-brand);
}

body.rison-front .preview-ad {
  align-items: center;
  background: repeating-linear-gradient(135deg, #f8fafc, #f8fafc 10px, #eef2f7 10px, #eef2f7 20px);
  border: 1px dashed var(--rn-line);
  border-radius: var(--rn-radius);
  color: var(--rn-muted);
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 96px;
  padding: 18px;
  text-align: center;
}

body.rison-front .preview-ad-large {
  min-height: 180px;
}

body.rison-front footer {
  background: var(--rn-surface);
  border-top: 1px solid var(--rn-line);
  margin-top: 34px;
}

body.rison-front #footer-social {
  background: #fbfcfe;
}

body.rison-front .soacial-icon a {
  align-items: center;
  background: var(--rn-surface-muted);
  border: 1px solid var(--rn-line);
  border-radius: 999px;
  color: var(--rn-ink);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  margin-right: 8px;
  width: 38px;
}

body.rison-front .soacial-icon a:hover {
  background: var(--rn-brand);
  border-color: var(--rn-brand);
  color: #fff;
}

body.rison-panel .page,
body.rison-panel .page-main {
  background: var(--rn-bg);
  min-height: 100vh;
}

body.rison-panel .header {
  background: var(--rn-surface);
  border-bottom: 1px solid var(--rn-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  min-height: 70px;
}

body.rison-panel .admin-logo img {
  max-height: 48px;
  object-fit: contain;
}

body.rison-panel .wrapper {
  background: var(--rn-bg);
}

body.rison-panel .nav-sidebar {
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 14px 0 34px rgba(15, 23, 42, 0.08);
}

body.rison-panel .nav-sidebar .components li a {
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  margin: 2px 10px;
}

body.rison-panel .nav-sidebar .components li a:hover,
body.rison-panel .nav-sidebar .components li.active > a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.rison-panel .content-area {
  padding: 28px;
}

body.rison-panel .card,
body.rison-panel .mycard,
body.rison-panel .c-info-box-area,
body.rison-panel .add-product-content,
body.rison-panel .product-description,
body.rison-panel .gocover,
body.rison-panel .dashboard-card {
  background: var(--rn-surface);
  border: 1px solid var(--rn-line-soft);
  border-radius: var(--rn-radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body.rison-panel .mycard {
  background: var(--rn-surface) !important;
  color: var(--rn-ink);
  min-height: 146px;
  overflow: hidden;
  position: relative;
}

body.rison-panel .mycard::before {
  background: linear-gradient(180deg, var(--rn-brand), var(--rn-accent));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 5px;
}

body.rison-panel .mycard .title,
body.rison-panel .mycard .number,
body.rison-panel .mycard .link {
  color: var(--rn-ink) !important;
}

body.rison-panel .mycard .number {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

body.rison-panel .mycard .link {
  background: var(--rn-surface-muted);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  margin-top: 10px;
  padding: 7px 12px;
}

body.rison-panel .mycard .link:hover,
body.rison-panel .btn-primary,
body.rison-auth .btn-theme {
  background: var(--rn-brand) !important;
  border-color: var(--rn-brand) !important;
  color: #fff !important;
}

body.rison-panel .mycard .icon {
  align-items: center;
  background: rgba(201, 31, 46, 0.1);
  border-radius: 999px;
  color: var(--rn-brand);
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

body.rison-panel .table {
  color: var(--rn-ink);
}

body.rison-panel .table thead th {
  background: var(--rn-surface-muted);
  border-bottom: 1px solid var(--rn-line);
  color: var(--rn-muted);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.rison-panel .table td,
body.rison-panel .table th {
  border-color: var(--rn-line-soft);
  vertical-align: middle;
}

body.rison-auth {
  background:
    linear-gradient(135deg, rgba(201, 31, 46, 0.08), rgba(11, 111, 133, 0.08)),
    var(--rn-bg);
}

body.rison-auth .login-7 {
  min-height: 100vh;
}

body.rison-auth .login-7 .form-section {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  box-shadow: var(--rn-shadow);
}

body.rison-auth .login-7 .logo img {
  max-height: 68px;
  object-fit: contain;
}

body.rison-auth .login-7 h3 {
  color: var(--rn-ink);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
}

body.rison-auth .form-box i {
  color: var(--rn-muted);
}

body.rison-auth .forgot-password:hover,
body.rison-auth .link-light:hover {
  color: var(--rn-brand) !important;
}

@media (max-width: 991.98px) {
  body.rison-front #midHeader .d-flex {
    align-items: center;
  }

  body.rison-front .top_header_menu_container,
  body.rison-front .extra-opt-container {
    display: none;
  }

  body.rison-front #top-nav nav {
    overflow-x: auto;
    width: 100%;
  }

  body.rison-front #top-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: max-content;
  }

  body.rison-panel .content-area {
    padding: 18px;
  }
}

@media (max-width: 575.98px) {
  body.rison-front {
    font-size: 15px;
  }

  body.rison-front .container-fluid,
  body.rison-panel .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.rison-front .menu-link a,
  body.rison-front #video-gallery > .d-flex .title a {
    font-size: 18px;
  }

  body.rison-panel .mycard .number {
    font-size: 30px;
  }
}
