/* PorjobekkhonWala brand skin over News5 demo-five */
:root {
  --pw-accent: #ffa224;
}

.uni-body {
  --uc-primary: #ffa224;
  --uc-primary-h: #ffb64d;
}

/* force primary color used by compiled theme classes */
.bg-primary {
  background-color: #ffa224 !important;
}

.text-primary {
  color: #ffa224 !important;
}

.btn-primary {
  background-color: #ffa224 !important;
  border-color: #ffa224 !important;
  color: #0d001c !important;
}

.btn-primary:hover {
  background-color: #ffb64d !important;
  border-color: #ffb64d !important;
}

.btn-outline-primary {
  color: #ffa224 !important;
  border-color: #ffa224 !important;
}

.btn-alt-primary {
  background-color: #ffa224 !important;
  color: #0d001c !important;
}

.hover\:text-primary:hover,
.darkmode-trigger {
  color: #ffa224;
}

/* brand dark background */
.dark body,
body.dark-mode-enabled .uni-body {
  background: #0d001c;
}

.dark .uc-header {
  background: #0d001c;
}

@font-face {
  font-family: 'Noto Serif Bengali';
  src: url("/static/assets/fonts/NotoSerifBengali-VariableFont_wdth,wght.c34e22a8a240.ttf") format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.ft-primary,
.ft-tertiary {
  font-family: 'Noto Serif Bengali', serif;
}

/* ==== Article detail: Bengali reading comfort v2 ==== */
.pw-post-content {
  line-height: 2;
  letter-spacing: 0.2px;
}

.pw-post-content p {
  margin: 0 0 1.4rem 0;
  /* clear gap between paragraphs */
  text-align: justify;
}

.pw-post-content p:first-child {
  margin-top: 0;
}

.pw-post-content h2,
.pw-post-content h3,
.pw-post-content h4 {
  margin: 2rem 0 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.pw-post-content ul,
.pw-post-content ol {
  margin: 0 0 1.4rem 0;
  padding-inline-start: 1.5rem;
  line-height: 2;
}

.pw-post-content li {
  margin-bottom: 0.5rem;
}

.pw-post-content img {
  border-radius: 12px;
  margin: 0.5rem 0 1.5rem;
  max-width: 100%;
}

.pw-post-content a {
  color: #ffa224;
  text-decoration: underline;
}

.pw-post-content blockquote {
  border-inline-start: 3px solid #ffa224;
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 0 0 1.4rem;
  opacity: 0.9;
  font-style: italic;
}

.pw-post-content strong,
.pw-post-content b {
  font-weight: 800;
}

.pw-post-content .lead {
  font-size: 1.15em;
}

/* feed cards spacing inside infinite feed */
.pw-feed-wrap .post {
  height: 100%;
}

/* share rail buttons smooth */
.post-share-float .social-icons a {
  text-decoration: none;
}

.post-share-float button {
  cursor: pointer;
}

/* ==== Dashboard rich text editor ==== */
.pw-editor {
  outline: none;
  min-height: 350px;
}

.pw-editor:focus {
  box-shadow: inset 0 0 0 2px rgba(255, 162, 36, .35);
  border-radius: 0 0 12px 12px;
}

.pw-editor p {
  margin: 0 0 1rem 0;
  line-height: 2;
  text-align: justify;
}

.pw-editor h2,
.pw-editor h3 {
  margin: 1.2rem 0 .6rem;
  font-weight: 800;
}

.pw-editor blockquote {
  border-inline-start: 3px solid #ffa224;
  padding-inline-start: 1rem;
  font-style: italic;
  opacity: .85;
}

.pw-editor ul,
.pw-editor ol {
  padding-inline-start: 1.4rem;
  line-height: 2;
}

.pw-editor img {
  max-width: 100%;
  border-radius: 10px;
}

.pw-editor a {
  color: #ffa224;
}

.pw-editor:empty::before {
  content: attr(data-placeholder);
  opacity: .4;
}

/* dashboard tables */
.dashboard table.table th {
  font-weight: 700;
}




/* ==== pw-logo-fix: height-based logo sizing (width proportional) ==== */
.pw-logo {
  height: 56px;
  /* top navbar: bigger */
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.pw-logo-sm {
  /* mobile menu panel */
  height: 40px;
  width: auto;
}


#uc-footer .uc-logo-img {
  /* footer logo */
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* inline-SVG logos (after data-uc-svg processing) */
.uc-logo svg.pw-logo,
.uc-logo img.pw-logo {
  height: 70px;
  width: auto;
}

/* ==== pw-logo-noeffect: logo never recolors, no filters ==== */
.pw-logo,
.pw-logo-sm,
.uc-logo-img {
  filter: none !important;
}

.uc-logo img,
.uc-logo>a {
  color: inherit;
}

.uc-logo svg path,
.uc-logo svg circle,
.uc-logo svg rect {
  fill: revert !important;
}/* ==== pw-font-global: Bengali font everywhere with weight hierarchy ==== */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, ul, ol,
.btn, .form-control, input, textarea, select, button,
table, th, td, blockquote, small, strong, b, .uc-navbar, .uc-footer {
  font-family: "Noto Serif Bengali", "Noto Serif", serif !important;
}
/* weight hierarchy */
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800 !important; }
.post-title, .uc-navbar-nav a, .nav-y a { font-weight: 700 !important; }
.uc-navbar, .uc-navbar-nav, .uc-bottom-navbar a, .breadcrumb { font-weight: 600 !important; }
body, p, .form-control, input, textarea, .fs-6, .fs-7 { font-weight: 400; }
.post-meta, .post-date, .post-category, .meta, .uc-post-meta { font-weight: 500 !important; }
h4, h5, h6, .h4, .h5, .h6 { font-weight: 700 !important; }
\n/* ==== pw-dark-brand: dark mode background = brand navy (#0d0e3f) ==== */
html.dark body, body.dark, .dark .uni-body, .uni-body.dark {
  background-color: #0d0e3f !important;
}
.dark section.panel, .dark .uc-footer .footer-outer {
  background-color: transparent;
}
\n/* ==== pw-font-global (v2) ==== */
/* @font-face { font-family: "Noto Serif Bengali"; src: url("/static/assets/fonts/NotoSerifBengali-VariableFont_wdth,wght.ttf") format("truetype-variations"); font-weight: 100 900; font-display: swap; } */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, ul, ol, label,
.btn, .form-control, input, textarea, select, button, option,
table, th, td, blockquote, small, strong, b, em, i, .uc-navbar, .uc-footer,
.nav, nav, .uc-offcanvas-bar, .uc-modal-dialog, .panel, .fs-5, .fs-6, .fs-7 {
  font-family: "Noto Serif Bengali", "Noto Serif", serif !important;
}
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800 !important; }
h4, h5, h6, .h4, .h5, .h6, .post-title { font-weight: 700 !important; }
.uc-navbar-nav, .uc-bottom-navbar, .breadcrumb, .nav-y, .nav-x { font-weight: 600 !important; }
body, p, .form-control, input, textarea { font-weight: 400; }
.post-meta, .post-date, .post-category { font-weight: 500 !important; }

/* ==== pw-dark-brand (v2): dark background = #0d0e3f ==== */
:root { --pw-bg-primary: #0d0e3f; }
html.dark, html.dark body, body.dark, .dark .uni-body, .uni-body.dark,
html.dark .uni-body { background-color: var(--pw-bg-primary) !important; }
html.dark section, html.dark .panel, html.dark .uc-footer .footer-outer,
html.dark .uc-header { background-color: transparent !important; }
html.dark .uc-offcanvas-bar, html.dark .uc-navbar-dropdown,
html.dark .uc-modal-dialog { background-color: #0d001c !important; }

