:root {
  --orange: #ff6a00;
  --brown: #7b472f;
  --dark: #07111f;
  --dark2: #0e1a2d;
  --muted: #64748b;
  --line: #e6e9ef;
  --soft: #f6f8fb;
  --white: #fff
}

* {
  box-sizing: border-box
}

body {
  font-family: Inter, Poppins, Arial, sans-serif;
  background: #fff;
  color: #0f172a;
  margin: 0
}

a {
  text-decoration: none;
  color: inherit
}

.container {
  max-width: 1180px;
  margin: auto;
  padding-left: 18px;
  padding-right: 18px
}

.kt-top {
  background: #070b12;
  color: #dbe2ee;
  font-size: 13px;
  padding: 9px 0
}

.kt-top .container,
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px
}

.kt-nav {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #edf0f5;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .06)
}

.kt-logo img {
  height: 54px;
  width: auto;
  display: block
}

.kt-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em
}

.kt-nav nav a {
  padding: 29px 0;
  transition: .25s
}

.kt-nav nav a:hover,
.kt-nav nav a.active {
  color: var(--orange)
}

.quick-btn {
  background: linear-gradient(135deg, var(--orange), #8a4f35);
  color: #fff !important;
  padding: 13px 18px !important;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(255, 106, 0, .25)
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 245px 245px;
  gap: 10px;
  margin: 32px auto
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: #111827;
  color: white;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .14)
}

.hero-card.big {
  grid-row: span 2
}

.hero-card img,
.post-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), filter .75s cubic-bezier(.2, .8, .2, 1)
}

.hero-card:hover img,
.post-card:hover .post-img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.06) brightness(.96)
}

.hero-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .05))
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px
}

.badge-cat {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--orange), #9b5b3d);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  padding: 7px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  letter-spacing: .06em
}

.hero-card h1,
.hero-card h2 {
  font-family: Montserrat, Inter, sans-serif;
  margin: 0 0 9px;
  font-weight: 900;
  line-height: 1.08
}

.hero-card h1 {
  font-size: 38px
}

.hero-card h2 {
  font-size: 20px
}

.meta {
  font-size: 12px;
  color: #d9d9d9
}

.section-title {
  font-family: Montserrat, Inter, sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  border-left: 5px solid var(--orange);
  padding-left: 13px;
  margin: 30px 0 18px;
  letter-spacing: .02em
}

.layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 32px
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px
}

.post-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
  transition: .25s
}

.post-card:hover {
  transform: translateY(-5px)
}

.post-thumb {
  height: 220px;
  overflow: hidden;
  background: #ddd
}

.post-body {
  padding: 20px
}

.post-body h3 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25
}

.post-body p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7
}

.readmore {
  display: inline-block;
  background: #07111f;
  color: #fff;
  padding: 11px 16px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px
}

.sidebar-box {
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, .06)
}

.sidebar-box h4 {
  font-family: Montserrat, Inter, sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 17px;
  margin: 0 0 16px
}

.mini-post {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px
}

.mini-post img {
  width: 92px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px
}

.mini-post h5 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0
}

.popular-number {
  font-size: 34px;
  font-weight: 900;
  color: #cbd5e1;
  margin-right: 12px
}

.tag {
  display: inline-block;
  background: #f1f5f9;
  padding: 8px 11px;
  margin: 4px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 700
}

.form-control {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  margin: 7px 0 14px;
  border-radius: 13px;
  background: #fff;
  color: #0f172a;
  outline: none
}

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .12)
}

.btn {
  background: linear-gradient(135deg, var(--orange), #8a4f35);
  color: #fff;
  border: 0;
  padding: 12px 17px;
  font-weight: 900;
  border-radius: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.btn-light {
  background: #fff !important;
  color: #0f172a !important;
  border: 1px solid var(--line)
}

.btn-wide {
  width: 100%;
  margin-top: 6px
}

.article-wrap {
  max-width: 860px;
  margin: 35px auto
}

.article-title {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 1.1
}

.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin: 24px 0;
  border-radius: 24px
}

.article-content {
  font-size: 17px;
  line-height: 1.85;
  color: #334155
}

.login-body,
.admin-body {
  font-family: Inter, Arial, sans-serif;
  background: #06101f;
  color: #e5e7eb;
  min-height: 100vh
}

.login-body:before,
.admin-bg {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255, 106, 0, .22), transparent 34%), radial-gradient(circle at 80% 25%, rgba(123, 71, 47, .22), transparent 32%), linear-gradient(135deg, #050914, #101a2b);
  z-index: -2
}

.login-body:after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: -1
}

.login-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  max-width: 1180px;
  margin: auto;
  padding: 40px 22px
}

.login-brand img {
  max-width: 520px;
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .25)
}

.login-brand h1 {
  font-size: 54px;
  line-height: 1.02;
  margin: 32px 0 16px;
  color: #fff;
  letter-spacing: -.05em
}

.login-brand p {
  font-size: 18px;
  color: #b9c4d6;
  max-width: 620px;
  line-height: 1.7
}

.login-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.login-pills span,
.demo-box {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 10px 14px;
  border-radius: 999px;
  color: #f8fafc
}

.glass-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
  backdrop-filter: blur(25px);
  border-radius: 30px;
  padding: 34px
}

.login-logo {
  width: 280px;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 12px
}

.glass-card h2 {
  font-size: 34px;
  margin: 25px 0 2px
}

.muted {
  color: #aeb9cb
}

.alert-error {
  background: rgba(239, 68, 68, .16);
  border: 1px solid rgba(239, 68, 68, .35);
  color: #fecaca;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 18px 0
}

.login-panel label,
.smart-form label {
  font-weight: 800;
  font-size: 13px;
  color: #e2e8f0
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh
}

.dash-sidebar {
  background: rgba(7, 11, 18, .86);
  border-right: 1px solid rgba(255, 255, 255, .1);
  padding: 22px;
  position: sticky;
  top: 0;
  height: 100vh
}

.dash-logo img {
  width: 100%;
  background: #fff;
  border-radius: 15px;
  padding: 8px
}

.dash-logo span {
  display: block;
  color: #fff;
  font-weight: 900;
  margin: 14px 0 22px
}

.dash-sidebar nav a {
  display: block;
  padding: 14px 15px;
  margin: 7px 0;
  border-radius: 14px;
  color: #cbd5e1;
  font-weight: 800
}

.dash-sidebar nav a:hover,
.dash-sidebar nav a.active {
  background: linear-gradient(135deg, var(--orange), #8a4f35);
  color: #fff
}

.side-card {
  margin-top: 24px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 16px
}

.side-card small {
  display: block;
  color: #cbd5e1;
  margin-top: 6px
}

.dash-main {
  padding: 28px;
  overflow: auto
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px
}

.dash-top small {
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em
}

.dash-top h1 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 34px
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 12px
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px
}

.stat-card,
.panel {
  background: rgba(255, 255, 255, .96);
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .22);
  border-radius: 24px
}

.stat-card {
  padding: 24px
}

.stat-card span {
  display: block;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px
}

.stat-card b {
  display: block;
  font-size: 38px;
  margin-top: 9px
}

.panel {
  padding: 24px
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px
}

.panel h2 {
  margin: 0;
  font-size: 24px
}

.table-wrap {
  overflow: auto
}

.table {
  width: 100%;
  border-collapse: collapse
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: middle
}

.table th {
  text-transform: uppercase;
  font-size: 12px;
  color: #64748b
}

.table td small {
  display: block;
  color: #94a3b8;
  margin-top: 5px
}

.status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase
}

.status.published {
  background: #dcfce7;
  color: #166534
}

.status.draft {
  background: #fef3c7;
  color: #92400e
}

.link {
  font-weight: 900;
  color: #0f172a;
  margin-right: 10px
}

.link.danger {
  color: #dc2626
}

.smart-form label {
  color: #0f172a;
  display: block;
  margin-top: 5px
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.editor {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.65
}

.current-img {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 10px;
  border-radius: 14px;
  margin-bottom: 15px
}

.current-img img {
  width: 90px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px
}

.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 12px 0
}

.actions,
.inline-form {
  display: flex;
  gap: 12px;
  align-items: center
}

.inline-form .form-control {
  max-width: 420px;
  margin: 0
}

@media(max-width:980px) {

  .kt-top .container,
  .nav-row,
  .kt-nav nav {
    flex-wrap: wrap
  }

  .kt-nav nav a {
    padding: 10px 0
  }

  .hero-grid,
  .layout,
  .login-grid,
  .dashboard-shell,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .hero-card,
  .hero-card.big {
    height: 330px;
    grid-row: auto
  }

  .post-list,
  .stat-grid,
  .form-two {
    grid-template-columns: 1fr
  }

  .dash-sidebar {
    position: relative;
    height: auto
  }

  .dash-main {
    padding: 18px
  }

  .login-brand h1 {
    font-size: 38px
  }

  .article-title {
    font-size: 32px
  }
}

/* Polished inner blog pages */
.inner-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 10%, rgba(255, 106, 0, .22), transparent 30%), linear-gradient(135deg, #070b12 0%, #111b2d 54%, #4a271b 100%);
  color: #fff;
  padding: 54px 0 48px;
  margin-bottom: 34px
}

.inner-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none
}

.inner-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 32px;
  align-items: end
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb27a;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 12px;
  margin-bottom: 12px
}

.eyebrow:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
  display: inline-block
}

.inner-hero h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 0 0 20px;
  max-width: 900px
}

.article-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.article-meta-row span {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #e5edf8
}

.inner-chip-box {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 22px
}

.inner-chip-box b {
  display: block;
  font-size: 20px;
  margin-bottom: 8px
}

.inner-chip-box span {
  color: #cbd5e1;
  line-height: 1.65
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start
}

.article-main-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .08)
}

.article-main-card .article-cover {
  margin: 0 0 25px;
  border-radius: 22px;
  max-height: 520px
}

.article-main-card .article-content {
  padding: 0 12px 10px
}

.article-main-card .article-content h2,
.article-main-card .article-content h3 {
  font-family: Montserrat, Inter, sans-serif;
  color: #0f172a
}

.article-main-card .article-content p {
  margin: 0 0 18px
}

.article-main-card .article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px
}

.article-share-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 4px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7ed, #f8fafc);
  border: 1px solid #fed7aa
}

.article-share-box b {
  display: block;
  font-size: 20px
}

.article-share-box span {
  display: block;
  color: #64748b;
  margin-top: 5px
}

.article-sidebar {
  min-width: 0
}

.sticky-box {
  position: sticky;
  top: 100px
}

.rich-mini {
  align-items: center
}

.rich-mini img {
  width: 96px;
  height: 78px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12)
}

.rich-mini small {
  display: block;
  color: #f97316;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .04em;
  margin-bottom: 4px
}

.gradient-cta {
  background: radial-gradient(circle at 20% 10%, rgba(255, 106, 0, .35), transparent 38%), linear-gradient(135deg, #07111f, #1e293b) !important;
  color: #fff;
  border: 0
}

.gradient-cta h4,
.gradient-cta p {
  color: #fff
}

.gradient-cta p {
  line-height: 1.65;
  color: #dbe3ef
}

.numbered-mini {
  align-items: center
}

.numbered-mini .popular-number {
  line-height: 1
}

.related-wrap {
  margin-top: 38px
}

.related-grid {
  grid-template-columns: repeat(4, 1fr)
}

.related-grid .post-thumb {
  height: 150px
}

.related-grid .post-body h3 {
  font-size: 16px
}

.related-grid .post-body p {
  font-size: 13px
}

@media(max-width:980px) {

  .inner-hero-grid,
  .article-layout {
    grid-template-columns: 1fr
  }

  .inner-hero h1 {
    font-size: 34px
  }

  .sticky-box {
    position: relative;
    top: auto
  }

  .related-grid {
    grid-template-columns: 1fr
  }

  .article-share-box {
    flex-direction: column;
    align-items: flex-start
  }
}

/* Strong readable text over post images */
.hero-card:after {
  background: linear-gradient(180deg, rgba(4, 8, 16, .08) 0%, rgba(4, 8, 16, .35) 38%, rgba(4, 8, 16, .94) 100%)
}

.hero-content {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7, 17, 31, .05), rgba(7, 17, 31, .58));
  backdrop-filter: blur(2px)
}

.hero-card h1,
.hero-card h2,
.hero-card .meta {
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .85), 0 1px 2px rgba(0, 0, 0, .9)
}

.hero-card .badge-cat {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  text-shadow: none
}

.article-cover-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  margin: 0 0 25px;
  background: #07111f;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16)
}

.article-cover-frame .article-cover {
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  width: 100%;
  height: min(520px, 58vw);
  min-height: 330px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03)
}

.article-cover-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, .05) 0%, rgba(3, 7, 18, .28) 36%, rgba(3, 7, 18, .96) 100%);
  z-index: 1
}

.article-cover-overlay {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  color: #fff;
  max-width: 860px
}

.article-cover-overlay h2 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 38px;
  line-height: 1.12;
  margin: 8px 0 8px;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .95), 0 1px 2px rgba(0, 0, 0, .9)
}

.article-cover-overlay p {
  margin: 0;
  color: #e8eef8;
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .9)
}

.post-thumb {
  position: relative;
  background: #07111f
}

.post-thumb:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 17, 31, .18));
  pointer-events: none
}

@media(max-width:680px) {
  .article-cover-frame .article-cover {
    height: 390px
  }

  .article-cover-overlay {
    left: 18px;
    right: 18px;
    bottom: 18px
  }

  .article-cover-overlay h2 {
    font-size: 25px
  }

  .hero-content {
    left: 14px;
    right: 14px;
    bottom: 14px
  }

  .hero-card h1 {
    font-size: 30px
  }

  .hero-card h2 {
    font-size: 19px
  }
}

/* Qurno-inspired premium single blog page */
.narrow-container {
  max-width: 920px
}

.wide-container {
  max-width: 1280px
}

.qurno-article-head {
  padding: 66px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff8f3 100%);
  position: relative;
  overflow: hidden
}

.qurno-article-head:before {
  content: "";
  position: absolute;
  left: 50%;
  top: -210px;
  width: 640px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 106, 0, .13), transparent 68%);
  pointer-events: none
}

.qurno-article-head .container {
  position: relative;
  z-index: 2;
  margin-top:60px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: #7b472f;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em
}

.qurno-cat-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px
}

.qurno-cat {
  display: inline-flex;
  align-items: center;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  padding: 8px 13px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em
}

.qurno-article-head h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -.06em;
  margin: 0 auto 20px;
  max-width: 980px;
  color: #111827
}

.qurno-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
  font-weight: 700
}

.qurno-meta strong {
  color: #0f172a
}

.qurno-cover-wrap {
  padding: 18px 0 36px;
  background: #fff
}

.qurno-cover-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 560px;
  background: #07111f;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .18)
}

.qurno-cover-card img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.04)
}

.qurno-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, .03) 0%, rgba(3, 7, 18, .18) 45%, rgba(3, 7, 18, .88) 100%)
}

.qurno-cover-text {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 38px;
  color: #fff;
  max-width: 760px
}

.qurno-cover-text span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #ffba8a
}

.qurno-cover-text h2 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 10px 0 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .8)
}

.qurno-reading-layout {
  display: grid;
  grid-template-columns: 86px minmax(0, 760px) 330px;
  gap: 34px;
  align-items: start;
  margin-top: 10px
}

.qurno-left-rail,
.qurno-right-rail {
  min-width: 0
}

.sticky-rail,
.qurno-right-rail .sticky-box {
  position: sticky;
  top: 110px
}

.rail-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 14px 10px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px
}

.rail-card p {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  color: #64748b;
  letter-spacing: .08em;
  margin: 0 0 2px
}

.rail-card a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-weight: 900;
  text-transform: uppercase;
  transition: .25s
}

.rail-card a:hover {
  background: linear-gradient(135deg, var(--orange), #7b472f);
  color: #fff;
  transform: translateY(-3px)
}

.qurno-content-card {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 30px;
  padding: 42px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .07)
}

.qurno-article-body .article-content {
  font-size: 18px;
  line-height: 1.92;
  color: #334155
}

.qurno-article-body .article-content p {
  margin: 0 0 24px
}

.qurno-article-body .article-content h2 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -.035em;
  margin: 38px 0 16px;
  color: #111827
}

.qurno-article-body .article-content h3 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 25px;
  line-height: 1.24;
  letter-spacing: -.025em;
  margin: 30px 0 14px;
  color: #111827
}

.qurno-article-body .article-content blockquote {
  margin: 32px 0;
  padding: 26px 30px;
  border-left: 5px solid var(--orange);
  background: #fff7ed;
  border-radius: 0 20px 20px 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 800
}

.qurno-article-body .article-content ul,
.qurno-article-body .article-content ol {
  padding-left: 24px;
   margin: 0 0 24px 24px
}

.qurno-article-body .article-content ul {
  list-style: disc outside
}

.qurno-article-body .article-content ol {
  list-style: decimal outside
}

.qurno-article-body .article-content li {
   display: list-item;
  margin-bottom: 10px;
  padding-left: 4px
}

.qurno-article-body .article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .12)
}

.qurno-new-post {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center
}

.qurno-new-post:last-child {
  border-bottom: 0
}

.qurno-new-post img {
  width: 88px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: #e2e8f0
}

.qurno-new-post small {
  display: block;
  color: #f97316;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 5px
}

.qurno-new-post b {
  display: block;
  font-size: 14px;
  line-height: 1.32;
  color: #0f172a
}

.qurno-newsletter {
  background: linear-gradient(135deg, #07111f, #1e293b) !important;
  color: #fff;
  border: 0 !important
}

.qurno-newsletter h4,
.qurno-newsletter p {
  color: #fff
}

.qurno-post-footer {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  background: radial-gradient(circle at 15% 0%, rgba(255, 106, 0, .25), transparent 36%), linear-gradient(135deg, #fff7ed, #f8fafc);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  display:none;
}

.qurno-post-footer h3 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 28px;
  margin: 14px 0 8px;
  letter-spacing: -.03em
}

.qurno-post-footer p {
  margin: 0;
  color: #64748b;
  line-height: 1.65
}

.qurno-related {
  margin-top: 52px
}

.qurno-related .section-title {
  text-align: left
}

.qurno-related .post-card {
  border-radius: 24px
}

.qurno-related .post-thumb {
  height: 170px
}

@media(max-width:1100px) {
  .qurno-reading-layout {
    grid-template-columns: minmax(0, 1fr) 320px
  }

  .qurno-left-rail {
    display: none
  }

  .qurno-article-head h1 {
    font-size: 48px
  }

  .qurno-cover-card img {
    height: 520px
  }
}

@media(max-width:860px) {
  .qurno-reading-layout {
    grid-template-columns: 1fr
  }

  .qurno-right-rail .sticky-box {
    position: relative;
    top: auto
  }

  .qurno-article-head {
    padding-top: 44px
  }

  .qurno-article-head h1 {
    font-size: 36px
  }

  .qurno-cover-card {
    border-radius: 24px;
    min-height: 380px
  }

  .qurno-cover-card img {
    height: 430px
  }

  .qurno-cover-text {
    left: 22px;
    right: 22px;
    bottom: 24px
  }

  .qurno-cover-text h2 {
    font-size: 28px
  }

  .qurno-content-card {
    padding: 24px;
    border-radius: 24px
  }

  .qurno-article-body .article-content {
    font-size: 16px;
    line-height: 1.82
  }

  .qurno-post-footer {
    flex-direction: column;
    align-items: flex-start
  }

  .qurno-related .related-grid {
    grid-template-columns: 1fr
  }
}

/* =========================================================
   PREMIUM UI REFRESH - Kanifnath Blog
   Dashboard + Website global polish
   ========================================================= */
:root {
  --kt-orange: #ff6a00;
  --kt-orange-2: #ff8a2a;
  --kt-brown: #7b472f;
  --kt-ink: #07111f;
  --kt-ink-2: #111827;
  --kt-slate: #64748b;
  --kt-border: #e8edf5;
  --kt-bg: #f6f8fc;
  --kt-card: #ffffff;
  --kt-radius: 24px;
  --kt-shadow: 0 22px 70px rgba(15, 23, 42, .10);
  --kt-shadow-heavy: 0 30px 100px rgba(3, 7, 18, .26);
}

body.blog-page #header {
  position: relative;
  z-index: 1000;
  background: #fff
}

body.blog-page .header-wrapper {
  background: #fff
}

body.blog-page .hero-grid {
  margin-top: 0;
  padding-top: 130px
}

body.blog-page #header .wsmainwp {
  max-width: 1320px
}

body.blog-page #header .container {
  max-width: 1320px
}

body.blog-page #header .desktoplogo {
  line-height: 68px
}

body.blog-page #header .desktoplogo img {
  max-height: 70px;
  width: auto;
  max-width: inherit;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  background: transparent
}

body.blog-page #header .wsmenu>.wsmenu-list>li>a.h-link {
  color: #222;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none
}

body.blog-page #header .wsmenu>.wsmenu-list>li>a.h-link:after,
body.blog-page #header .wsmenu>.wsmenu-list>li>a:not(.last-link):after {
  display: none !important
}

body.blog-page #header .btn.btn--black.last-link,
body.blog-page #header .btn.btn--black.last-link:hover,
body.blog-page #header .btn.btn--black.last-link:focus,
body.blog-page #header .btn.btn--black.last-link:active,
body.blog-page #header .btn.btn--black.last-link:visited {
  color: #fff !important;
  background: #111722 !important;
  background-color: #111722 !important;
  border-color: #111722 !important;
  box-shadow: none !important;
}

body.blog-page #header .btn.btn--black.last-link:hover {
  transform: none !important
}

html {
  scroll-behavior: smooth
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #ffffff 100%);
  color: #111827;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

img {
  max-width: 100%
}

.container {
  max-width: 1240px
}

/* Homepage hero and cards */
.hero-grid {
  gap: 18px;
  margin-top: 42px;
  margin-bottom: 46px;
  grid-template-rows: 285px 285px
}

.hero-card {
  border-radius: 30px;
  border: 0;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 95px rgba(15, 23, 42, .22)
}

.hero-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 16%, rgba(255, 106, 0, .28), transparent 32%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen
}

.hero-card:after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 7, 18, .08), rgba(3, 7, 18, .38) 45%, rgba(3, 7, 18, .92)) !important
}

.hero-content {
  z-index: 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(3, 7, 18, .58));
  border: 0;
  box-shadow: 0 18px 45px rgba(3, 7, 18, .24);
  backdrop-filter: blur(8px)
}

.hero-card h1 {
  font-size: clamp(32px, 3.4vw, 54px);
  letter-spacing: -.05em
}

.hero-card h2 {
  font-size: clamp(20px, 1.5vw, 27px);
  letter-spacing: -.03em
}

.badge-cat {
  background: linear-gradient(135deg, #ff7a18, #88462c) !important;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .22)
}

.section-title {
  font-size: 25px;
  letter-spacing: -.02em;
  text-transform: none;
  border-left: 0;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px
}

.section-title:before {
  content: "";
  width: 42px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--kt-orange), var(--kt-brown));
  display: inline-block
}

.layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: start
}

.layout aside {
  position: relative
}

.post-list {
  gap: 28px
}

.post-card {
  border-radius: 28px;
  border: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
  overflow: hidden;
  position: relative
}

.post-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .13)
}

.post-thumb {
  height: 245px;
  background: linear-gradient(135deg, #111827, #334155);
  overflow: hidden
}

.post-img {
  filter: saturate(1.05) contrast(1.02)
}

@media(hover:hover) and (pointer:fine) {
  .hero-card:hover img,
  .post-card:hover .post-img,
  .mini-post:hover img {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.06) brightness(.96)
  }
}

@media(hover:none) {
  .hero-card:hover,
  .post-card:hover,
  .mini-post:hover {
    transform: none
  }

  .hero-card:hover img,
  .post-card:hover .post-img,
  .mini-post:hover img {
    transform: none;
    filter: none
  }
}

.post-body {
  padding: 23px 23px 25px
}

.post-body h3 {
  font-size: 22px;
  letter-spacing: -.035em;
  margin: 4px 0 10px
}

.post-body h3 a {
  transition: .2s
}

.post-body h3 a:hover {
  color: var(--kt-orange)
}

.post-body p {
  font-size: 15px;
  color: #5b677a
}

.readmore {
  background: #0b1220;
  color: #fff;
  padding: 12px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
  transition: .25s
}

.readmore:hover {
  background: linear-gradient(135deg, var(--kt-orange), var(--kt-brown));
  transform: translateY(-2px)
}

.sidebar-box {
  border-radius: 28px;
  border-color: #edf1f7;
  padding: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08)
}

.sidebar-box h4 {
  font-size: 18px;
  letter-spacing: -.025em;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 10px
}

.sidebar-box h4:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kt-orange);
  box-shadow: 0 0 0 6px rgba(255, 106, 0, .12)
}

.mini-post {
  padding: 12px;
  border: 1px solid transparent;
  border-bottom: 1px solid #edf1f7;
  border-radius: 18px;
  margin-bottom: 8px;
  transition: .2s
}

.mini-post:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  transform: translateX(3px)
}

.mini-post img {
  width: 98px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .55s cubic-bezier(.2, .8, .2, 1)
}

.mini-post h5 {
  font-size: 15px;
  letter-spacing: -.02em
}

.tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 9px 12px;
  transition: .2s
}

.tag:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412
}

.form-control {
  border-color: #dfe6f0;
  border-radius: 16px;
  background: #fff;
  min-height: 48px;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
  transition: .2s
}

.form-control:hover {
  border-color: #cbd5e1
}

.form-control:focus {
  border-color: var(--kt-orange);
  box-shadow: 0 0 0 5px rgba(255, 106, 0, .13)
}

/* Qurno single article polish */
.qurno-article-head {
  background: radial-gradient(circle at 50% -10%, rgba(255, 106, 0, .16), transparent 36%), linear-gradient(180deg, #fff 0%, #fff7ed 100%)
}

.qurno-article-head h1 {
  font-size: clamp(36px, 5.2vw, 30px);
  max-width: 1060px
}

.qurno-cover-card {
  box-shadow: 0 35px 110px rgba(15, 23, 42, .21);
  border: 1px solid rgba(15, 23, 42, .08)
}

.qurno-content-card {
  box-shadow: 0 24px 80px rgba(15, 23, 42, .08);
  border-color: #eef2f7
}

.qurno-article-body .article-content {
  color: #2f3b4d
}
.qurno-article-body .article-content ul {
  list-style: disc outside;
  margin: 0 0 24px 24px;
  padding-left: 24px
}

.qurno-article-body .article-content ol {
  list-style: decimal outside;
  margin: 0 0 24px 24px;
  padding-left: 24px
}

.qurno-article-body .article-content li {
  display: list-item;
  margin-bottom: 10px;
  padding-left: 4px
}
.qurno-article-body .article-content a {
  color: #c2410c;
  font-weight: 800;
  border-bottom: 1px solid #fed7aa
}

.qurno-new-post:hover b {
  color: var(--kt-orange)
}

/* Admin dashboard full refresh */
.admin-body {
  background: #050812;
  color: #e5edf8;
  overflow-x: hidden
}

.admin-body:before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 18% 8%, rgba(255, 106, 0, .25), transparent 28%), radial-gradient(circle at 85% 14%, rgba(123, 71, 47, .20), transparent 30%), radial-gradient(circle at 60% 85%, rgba(15, 23, 42, .70), transparent 40%), linear-gradient(135deg, #05070d, #0d1726 54%, #04060b);
  z-index: -3
}

.admin-bg {
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) !important;
  background-size: 42px 42px !important;
  opacity: .9;
  z-index: -2 !important
}

.admin-body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .04) 45%, transparent 55%);
  z-index: -1
}

.dashboard-shell {
  grid-template-columns: 300px minmax(0, 1fr)
}

.dash-sidebar {
  padding: 24px;
  background: linear-gradient(180deg, rgba(5, 7, 13, .94), rgba(8, 15, 28, .92));
  backdrop-filter: blur(22px);
  border-right: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 16px 0 50px rgba(0, 0, 0, .18)
}

.dash-logo img {
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25)
}

.dash-logo span {
  font-size: 16px;
  letter-spacing: .02em;
  color: #fff;
  margin-top: 18px
}

.dash-sidebar nav {
  margin-top: 10px
}

.dash-sidebar nav a {
  position: relative;
  padding: 15px 16px 15px 18px;
  border-radius: 18px;
  color: #c8d3e2;
  transition: .22s;
  border: 1px solid transparent
}

.dash-sidebar nav a:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .10);
  transform: translateX(4px)
}

.dash-sidebar nav a.active {
  background: linear-gradient(135deg, #ff6a00, #8b4c32);
  box-shadow: 0 16px 34px rgba(255, 106, 0, .26);
  color: #fff
}

.side-card {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08)
}

.dash-main {
  padding: 36px;
  min-width: 0
}

.dash-top {
  background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  border-radius: 30px;
  padding: 24px 26px;
  margin-bottom: 28px
}

.dash-top small {
  color: #ffbd8c
}

.dash-top h1 {
  font-size: 40px;
  letter-spacing: -.055em
}

.dash-user span {
  font-weight: 900;
  color: #fff
}

.stat-grid {
  gap: 22px
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .23);
  border: 1px solid rgba(255, 255, 255, .45)
}

.stat-card:after {
  content: "";
  position: absolute;
  right: -34px;
  top: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, .18), transparent 70%)
}

.stat-card span {
  color: #6b7280;
  letter-spacing: .08em
}

.stat-card b {
  font-size: 44px;
  letter-spacing: -.06em;
  color: #101827
}

.panel {
  border-radius: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
  border: 1px solid rgba(255, 255, 255, .52)
}

.panel-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7
}

.panel h2 {
  font-size: 28px;
  letter-spacing: -.04em
}

.table {
  border-collapse: separate;
  border-spacing: 0 10px
}

.table th {
  border-bottom: 0;
  background: #f8fafc;
  color: #64748b;
  padding: 13px 16px
}

.table th:first-child {
  border-radius: 14px 0 0 14px
}

.table th:last-child {
  border-radius: 0 14px 14px 0
}

.table td {
  background: #fff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
  padding: 16px
}

.table td:first-child {
  border-left: 1px solid #edf2f7;
  border-radius: 16px 0 0 16px
}

.table td:last-child {
  border-right: 1px solid #edf2f7;
  border-radius: 0 16px 16px 0
}

.table tr:hover td {
  background: #fff8f3;
  border-color: #fed7aa
}

.status {
  letter-spacing: .04em
}

.link {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a
}

.link:hover {
  background: #111827;
  color: #fff
}

.link.danger {
  background: #fef2f2;
  color: #dc2626
}

.link.danger:hover {
  background: #dc2626;
  color: #fff
}

.smart-form {
  display: block
}

.smart-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #243044;
  margin-bottom: 6px
}

.smart-form .form-control,
.smart-form select,
.smart-form textarea {
  border-radius: 16px;
  border: 1px solid #dfe6f0;
  background: #fff
}

.editor {
  min-height: 380px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  font-size: 14px
}

.current-img {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 18px
}

.current-img img {
  width: 106px;
  height: 76px;
  border-radius: 14px;
  background: #e2e8f0
}

.actions {
  flex-wrap: wrap
}

.inline-form .form-control {
  max-width: 520px
}

/* Login refresh */
.login-grid {
  max-width: 1240px
}

.glass-card {
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08));
  box-shadow: 0 35px 110px rgba(0, 0, 0, .36)
}

.login-brand h1 {
  letter-spacing: -.07em
}

.login-logo {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18)
}

.password-field {
  position: relative
}

.password-field .form-control {
  padding-right: 54px
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 7px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px
}

.password-toggle:hover {
  background: #e2e8f0
}

.alert-success {
  background: rgba(34, 197, 94, .16);
  border: 1px solid rgba(34, 197, 94, .35);
  color: #bbf7d0;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 18px 0
}

.reset-panel {
  max-width: 720px
}

.reset-panel .password-field {
  max-width: 520px
}

.wp-editor {
  border: 1px solid #dcdcde;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  margin: 8px 0 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04)
}

.wp-editor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  background: #f6f7f7;
  border-bottom: 1px solid #dcdcde
}

.wp-editor-top>.btn:first-child {
  margin-right: 0
}

.editor-back {
  display: none !important
}

.editor-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto
}

.editor-tabs button {
  border: 1px solid #c3c4c7;
  background: #f6f7f7;
  color: #1d2327;
  padding: 8px 12px;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer
}

.editor-tabs button.active {
  background: #fff;
  color: #1d2327;
  border-bottom-color: #fff
}

.wp-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px;
  background: #fff;
  border-bottom: 1px solid #dcdcde
}

.wp-toolbar select,
.wp-toolbar button {
  height: 32px;
  border: 1px solid #c3c4c7;
  background: #fff;
  color: #1d2327;
  border-radius: 2px;
  padding: 0 9px;
  font-weight: 700;
  cursor: pointer
}

.wp-format-select {
  min-width: 122px
}

.wp-toolbar button:hover,
.wp-toolbar select:hover {
  background: #f6f7f7;
  border-color: #8c8f94
}

.wp-editor-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  min-height: 430px
}

.visual-editor,
.html-editor {
  min-height: 430px;
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 18px !important;
  background: #fff !important;
  color: #111827 !important;
  line-height: 1.75;
  outline: none;
  box-shadow: none !important;
  overflow: auto
}

.wp-editor-side {
  border-left: 1px solid #dcdcde;
  background: #fbfbfb;
  color: #c3c4c7;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  line-height: 1.7;
  padding-top: 18px;
  user-select: none
}

.visual-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 8px
}

.visual-editor h1 {
  font-size: 2em
}

.visual-editor h2 {
  font-size: 1.5em
}

.visual-editor h3 {
  font-size: 1.25em
}

.visual-editor h4 {
  font-size: 1.1em
}

.visual-editor h5 {
  font-size: 1em;
  text-transform: uppercase
}

.visual-editor h6 {
  font-size: .9em;
  text-transform: uppercase
}

.visual-editor pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f6f7f7;
  padding: 12px;
  white-space: pre-wrap
}

.visual-editor:empty:before {
  content: "Write blog content here...";
  color: #94a3b8
}

.editor-footer {
  padding: 8px 12px;
  background: #f6f7f7;
  border-top: 1px solid #dcdcde;
  color: #50575e;
  font-size: 13px
}

.wp-editor.is-fullscreen {
  position: fixed;
  inset: 24px;
  z-index: 9999;
  border-radius: 4px;
  display: flex;
  flex-direction: column
}

.wp-editor.is-fullscreen .editor-back {
  display: inline-flex !important
}

.wp-editor.is-fullscreen .wp-editor-body {
  flex: 1;
  min-height: 0
}

.wp-editor.is-fullscreen .visual-editor,
.wp-editor.is-fullscreen .html-editor {
  flex: 1;
  min-height: 0
}

/* Responsive */
@media(max-width:1180px) {
  .dashboard-shell {
    grid-template-columns: 260px 1fr
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .layout {
    grid-template-columns: 1fr
  }

  .layout aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .sidebar-box {
    margin-bottom: 0
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto
  }

  .hero-card.big {
    grid-column: span 2
  }

  .hero-card {
    min-height: 300px
  }
}

@media(max-width:820px) {
  .kt-top .container {
    flex-direction: column;
    gap: 4px
  }

  .nav-row {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px
  }

  .kt-nav nav {
    flex-wrap: wrap;
    gap: 14px
  }

  .kt-nav nav a {
    padding: 6px 0
  }

  .quick-btn {
    padding: 10px 14px !important
  }

  .hero-grid,
  .post-list,
  .layout aside,
  .footer-grid,
  .footer-row,
  .footer-links {
    grid-template-columns: 1fr
  }

  body.blog-page .hero-grid {
    padding-top: 18px
  }

  .pt-100 {
    padding-top: 60px
  }

  .hero-card.big {
    grid-column: auto
  }

  .hero-card {
    min-height: 330px
  }

  .dashboard-shell {
    display: block
  }

  .dash-sidebar {
    position: relative;
    height: auto
  }

  .dash-main {
    padding: 18px
  }

  .dash-top {
    flex-direction: column;
    align-items: flex-start
  }

  .form-two {
    grid-template-columns: 1fr
  }

  .stat-grid {
    grid-template-columns: 1fr
  }

  .table th,
  .table td {
    padding: 12px
  }

  .login-grid {
    grid-template-columns: 1fr
  }

  .login-brand h1 {
    font-size: 38px
  }
}

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

  body.blog-page .hero-grid {
    gap: 16px;
    padding-top: 140px
  }

  body.blog-page .hero-card {
    min-height: 300px;
    border-radius: 22px
  }

  body.blog-page .hero-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px
  }

  body.blog-page .hero-card h1 {
    font-size: 29px;
    line-height: 1.08;
    letter-spacing: 0
  }

  body.blog-page .hero-card h2 {
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: 0
  }

  .post-thumb {
    height: 210px
  }

  .post-body h3 {
    font-size: 20px
  }

  .qurno-cover-card img {
    height: 360px
  }

  .qurno-cover-text h2 {
    font-size: 24px
  }

  .qurno-content-card {
    padding: 20px
  }

  .dash-top h1 {
    font-size: 32px
  }

  .panel {
    padding: 18px
  }

  .table {
    font-size: 13px
  }
}

/* Keep single blog sidebar cards separated instead of overlapping while scrolling */
.qurno-right-rail {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.qurno-right-rail .sidebar-box {
  margin-bottom: 0
}

.qurno-right-rail .sticky-box {
  position: relative !important;
  top: auto !important;
  z-index: auto
}

/* Single blog page: remove share-column spacing and match homepage hero typography */
.qurno-reading-layout {
  grid-template-columns: minmax(0, 760px) 330px !important;
  justify-content: center
}

.qurno-left-rail,
.rail-card {
  display: none !important
}

.qurno-cover-text {
  display: none;
  left: 42px !important;
  right: 42px !important;
  bottom: 38px !important;
  max-width: 820px !important;
  padding: 26px 30px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(3, 7, 18, .58)) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10) !important;
  backdrop-filter: blur(2px)
}

.qurno-cover-text h2 {
  font-family: Montserrat, Inter, sans-serif !important;
  font-size: clamp(36px, 4.4vw, 68px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.05em !important;
  font-weight: 900 !important;
  color: #fff !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .95), 0 1px 2px rgba(0, 0, 0, .9) !important
}

.qurno-cover-text span {
  display: inline-flex !important;
  align-items: center !important;
  background: linear-gradient(135deg, var(--kt-orange), #88462c) !important;
  color: #fff !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  padding: 9px 13px !important;
  margin-bottom: 12px !important;
  border-radius: 999px !important;
  letter-spacing: .06em !important;
  text-shadow: none !important
}

@media(max-width:860px) {
  .qurno-reading-layout {
    grid-template-columns: 1fr !important
  }

  .qurno-cover-text {
    left: 22px !important;
    right: 22px !important;
    bottom: 24px !important;
    padding: 20px !important
  }

  .qurno-cover-text h2 {
    font-size: clamp(28px, 8vw, 40px) !important
  }
}

/* Keep admin header logout readable after visited/focus states */
.dash-user .btn-light,
.dash-user .btn-light:visited,
.dash-user .btn-light:active,
.dash-user .btn-light:focus {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #e2e8f0 !important;
  min-width: 112px
}

/* High-end admin dashboard finish */
.admin-body {
  background: #060a12 !important;
  color: #e8eef8
}

.admin-body:before {
  background: radial-gradient(circle at 14% 6%, rgba(255, 106, 0, .28), transparent 30%), radial-gradient(circle at 88% 12%, rgba(14, 165, 233, .15), transparent 26%), radial-gradient(circle at 70% 90%, rgba(124, 58, 237, .12), transparent 32%), linear-gradient(135deg, #05070d, #0a1220 52%, #03050a) !important
}

.dashboard-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0
}

.dash-sidebar {
  background: linear-gradient(180deg, rgba(5, 8, 15, .82), rgba(8, 13, 25, .66)) !important;
  border-right: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 24px 0 80px rgba(0, 0, 0, .30) !important;
  backdrop-filter: blur(28px);
  padding: 28px !important
}

.dash-logo {
  display: block;
  text-decoration: none
}

.dash-logo img {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 290px;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .35))
}

.dash-logo span {
  color: #fff !important;
  font-size: 18px !important;
  margin: 20px 0 28px !important;
  letter-spacing: .01em
}

.dash-sidebar nav {
  display: grid;
  gap: 8px
}

.dash-sidebar nav a {
  border-radius: 18px !important;
  color: #d8e0ed !important;
  background: transparent;
  border: 1px solid transparent !important;
  font-size: 15px;
  letter-spacing: .01em
}

.dash-sidebar nav a:hover {
  background: rgba(255, 255, 255, .09) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  transform: translateX(5px)
}

.dash-sidebar nav a.active {
  background: linear-gradient(135deg, #ff6a00, #9b4f2d) !important;
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(255, 106, 0, .28) !important
}

.side-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055)) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 18px 46px rgba(0, 0, 0, .22) !important
}

.dash-main {
  padding: 40px !important
}

.dash-top {
  border-radius: 30px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045)) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .25) !important
}

.dash-top h1 {
  color: #fff !important
}

.panel,
.stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .95)) !important;
  border: 1px solid rgba(255, 255, 255, .7) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24) !important
}

.btn {
  background: linear-gradient(135deg, #ff6a00, #9b4f2d) !important;
  box-shadow: 0 14px 34px rgba(255, 106, 0, .24)
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 106, 0, .32)
}

.btn-light {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #dbe3ef !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08) !important
}

.smart-form .form-control,
.smart-form select,
.smart-form textarea {
  border-radius: 18px !important;
  border: 1px solid #dfe7f2 !important;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02), 0 10px 24px rgba(15, 23, 42, .035)
}

.wp-editor {
  border-radius: 18px !important;
  border: 1px solid #dfe7f2 !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10) !important
}

.wp-editor-top,
.wp-toolbar,
.editor-footer {
  background: linear-gradient(180deg, #fff, #f8fafc) !important
}

.wp-toolbar button,
.wp-toolbar select,
.editor-tabs button {
  border-radius: 10px !important
}

.wp-toolbar button:hover,
.wp-toolbar select:hover,
.editor-tabs button:hover {
  background: #eef4fb !important
}

.editor-tabs button.active {
  background: #111827 !important;
  color: #fff !important
}

.visual-editor,
.html-editor {
  font-size: 16px
}

.wp-editor-side {
  background: linear-gradient(180deg, #fbfdff, #f3f6fb) !important
}

/* Kanifnath Technologies brand dashboard */
.admin-body {
  background: #f7f3ef !important;
  color: #17120f !important
}

.admin-body:before {
  background: radial-gradient(circle at 13% 8%, rgba(255, 106, 0, .20), transparent 31%), radial-gradient(circle at 88% 8%, rgba(123, 71, 47, .16), transparent 28%), linear-gradient(135deg, #fffaf5, #f3ede8 48%, #fff 100%) !important
}

.admin-bg {
  background-image: linear-gradient(rgba(123, 71, 47, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 71, 47, .055) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  opacity: 1 !important
}

.dash-sidebar {
  background: linear-gradient(180deg, #ffffff, #fff9f3) !important;
  border-right: 1px solid #eadfd7 !important;
  box-shadow: 18px 0 60px rgba(123, 71, 47, .13) !important
}

.dash-logo {
  background: #fff !important;
  border: 1px solid #eadfd7 !important;
  border-radius: 24px !important;
  padding: 18px 16px !important;
  box-shadow: 0 20px 55px rgba(123, 71, 47, .13) !important
}

.dash-logo img {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  filter: none !important
}

.dash-logo span {
  color: #1f1713 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  text-align: center !important;
  margin: 14px 0 0 !important
}

.dash-sidebar nav a {
  color: #17120f !important;
  background: #fff !important;
  border: 1px solid #efe4dc !important;
  box-shadow: 0 10px 24px rgba(123, 71, 47, .045) !important
}

.dash-sidebar nav a:hover {
  background: #fff4ea !important;
  border-color: #ffc79d !important;
  color: #8b3f20 !important;
  transform: translateX(4px) !important
}

.dash-sidebar nav a.active {
  background: linear-gradient(135deg, #ff6a00, #8a4f35) !important;
  color: #fff !important;
  border-color: #ff8a2a !important;
  box-shadow: 0 18px 38px rgba(255, 106, 0, .26) !important
}

.side-card {
  background: #fff !important;
  border: 1px solid #eadfd7 !important;
  color: #17120f !important;
  box-shadow: 0 18px 42px rgba(123, 71, 47, .10) !important
}

.side-card small {
  color: #6b5b53 !important
}

.dash-top {
  background: linear-gradient(135deg, #ffffff, #fff6ee) !important;
  border: 1px solid #eadfd7 !important;
  box-shadow: 0 24px 70px rgba(123, 71, 47, .13) !important
}

.dash-top small {
  color: #a4471d !important
}

.dash-top h1,
.dash-user span {
  color: #17120f !important
}

.panel,
.stat-card {
  background: #fff !important;
  border: 1px solid #eadfd7 !important;
  box-shadow: 0 24px 70px rgba(123, 71, 47, .12) !important;
  color: #17120f !important
}

.panel-head {
  border-bottom-color: #f0e5dd !important
}

.panel h2,
.stat-card b {
  color: #17120f !important
}

.table th {
  background: #fff5ec !important;
  color: #7b472f !important
}

.table td {
  color: #17120f !important
}

.table tr:hover td {
  background: #fff9f4 !important;
  border-color: #ffc79d !important
}

.smart-form label {
  color: #2a211d !important
}

.form-control,
.smart-form .form-control,
.smart-form select,
.smart-form textarea {
  color: #17120f !important;
  background: #fff !important;
  border-color: #eadfd7 !important
}

.wp-editor {
  background: #fff !important;
  border-color: #eadfd7 !important;
  box-shadow: 0 22px 60px rgba(123, 71, 47, .13) !important
}

.wp-editor-top,
.wp-toolbar,
.editor-footer {
  background: linear-gradient(180deg, #fff, #fff8f1) !important;
  border-color: #eadfd7 !important;
  color: #17120f !important
}

.wp-toolbar button,
.wp-toolbar select,
.editor-tabs button {
  background: #fff !important;
  color: #17120f !important;
  border-color: #dccdc3 !important
}

.wp-toolbar button:hover,
.wp-toolbar select:hover,
.editor-tabs button:hover {
  background: #fff1e5 !important;
  border-color: #ffb374 !important;
  color: #8b3f20 !important
}

.editor-tabs button.active {
  background: #17120f !important;
  color: #fff !important;
  border-color: #17120f !important
}

.visual-editor,
.html-editor {
  color: #17120f !important;
  background: #fff !important
}

.wp-editor-side {
  background: #fff8f1 !important;
  color: #b79987 !important
}

.editor-alt-input {
  width: 240px;
  max-width: 32vw;
  height: 44px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: #17120f;
  font-weight: 800;
  outline: none
}

.editor-alt-input:focus {
  border-color: #ff6a00;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .12)
}

.editor-alt-input::placeholder {
  color: #8a817b
}

/* Premium Kanifnath login screen */
.login-body {
  background: #070b12 !important;
  color: #fff !important;
  overflow: hidden
}

.login-body:before {
  background: radial-gradient(circle at 16% 26%, rgba(255, 106, 0, .32), transparent 28%), radial-gradient(circle at 76% 26%, rgba(123, 71, 47, .28), transparent 30%), radial-gradient(circle at 52% 85%, rgba(255, 106, 0, .12), transparent 28%), linear-gradient(135deg, #090a0f 0%, #111827 45%, #060914 100%) !important
}

.login-body:after {
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) !important;
  background-size: 52px 52px !important;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .45))
}

.login-grid {
  max-width: 1380px !important;
  grid-template-columns: 1.05fr .82fr !important;
  gap: 72px !important;
  padding: 72px 34px !important;
  position: relative
}

.login-grid:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 106, 0, .13), transparent 66%);
  filter: blur(4px);
  pointer-events: none
}

.login-brand,
.login-panel {
  position: relative;
  z-index: 2
}

.login-brand img {
  max-width: 500px !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, .72) !important;
  border-radius: 28px !important;
  padding: 20px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34), 0 0 0 10px rgba(255, 255, 255, .035) !important
}

.login-brand h1 {
  max-width: 780px !important;
  margin-top: 36px !important;
  font-size: clamp(48px, 5.2vw, 82px) !important;
  line-height: .94 !important;
  letter-spacing: -.075em !important;
  color: #fff !important;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .42)
}

.login-brand p {
  max-width: 690px !important;
  font-size: 20px !important;
  line-height: 1.75 !important;
  color: #d7deea !important
}

.login-pills {
  margin-top: 26px !important
}

.login-pills span {
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  padding: 12px 18px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 14px 34px rgba(0, 0, 0, .16) !important;
  backdrop-filter: blur(14px)
}

.login-panel .glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px !important;
  padding: 38px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .10)) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  box-shadow: 0 36px 110px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .20) !important;
  backdrop-filter: blur(26px) saturate(1.15)
}

.login-panel .glass-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(255, 106, 0, .28), transparent 34%), linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 42%);
  pointer-events: none
}

.login-panel .glass-card>* {
  position: relative;
  z-index: 2
}

.login-logo {
  width: 300px !important;
  background: #fff !important;
  border-radius: 20px !important;
  padding: 14px !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .24) !important
}

.glass-card h2 {
  font-size: 42px !important;
  letter-spacing: -.055em !important;
  color: #fff !important;
  margin: 32px 0 6px !important
}

.glass-card .muted {
  font-size: 16px !important;
  color: #d7deea !important;
  margin-bottom: 24px !important
}

.login-panel label {
  display: block !important;
  color: #fff !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  margin: 17px 0 8px !important
}

.login-panel .form-control {
  height: 58px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  background: rgba(255, 255, 255, .97) !important;
  color: #17120f !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .55) !important
}

.login-panel .form-control:focus {
  border-color: #ff8a2a !important;
  box-shadow: 0 0 0 5px rgba(255, 106, 0, .18), 0 18px 42px rgba(0, 0, 0, .18) !important
}

.login-panel .btn-wide {
  height: 58px !important;
  border-radius: 18px !important;
  margin-top: 18px !important;
  background: linear-gradient(135deg, #ff6a00, #8a4f35) !important;
  color: #fff !important;
  font-size: 16px !important;
  box-shadow: 0 18px 44px rgba(255, 106, 0, .30) !important
}

.login-panel .btn-wide:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 24px 58px rgba(255, 106, 0, .38) !important
}

.password-toggle {
  top: 10px !important;
  right: 10px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: #fff4ea !important;
  color: #8a4f35 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .10) !important
}

.password-toggle:hover {
  background: #ffe2c7 !important;
  color: #17120f !important
}

.alert-error {
  background: rgba(220, 38, 38, .18) !important;
  border-color: rgba(252, 165, 165, .38) !important;
  color: #fee2e2 !important
}

@media(max-width:980px) {
  .login-body {
    overflow: auto
  }

  .login-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    padding: 38px 18px !important
  }

  .login-brand {
    text-align: center
  }

  .login-brand img {
    max-width: 360px !important
  }

  .login-brand h1 {
    font-size: 44px !important
  }

  .login-brand p {
    margin-left: auto;
    margin-right: auto
  }

  .login-pills {
    justify-content: center
  }

  .login-panel .glass-card {
    padding: 26px !important
  }
}

/* Centered admin login */
.login-grid {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  max-width: none !important;
  padding: 32px 18px !important
}

.login-grid:before {
  left: 50% !important
}

.login-brand {
  display: none !important
}

.login-panel {
  width: min(100%, 560px) !important
}

.login-panel .glass-card {
  padding: 42px !important;
  text-align: left !important
}

.login-logo {
  display: block !important;
  width: 330px !important;
  max-width: 100% !important;
  margin: 0 auto 28px !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .28))
}

.login-panel .glass-card h2 {
  text-align: center !important;
  margin-top: 0 !important
}

.login-panel .glass-card .muted {
  text-align: center !important
}

@media(max-width:560px) {
  .login-panel .glass-card {
    padding: 28px 22px !important
  }

  .login-logo {
    width: 260px !important
  }

  .glass-card h2 {
    font-size: 34px !important
  }
}

/* Scheduled publishing UI */
.status.scheduled {
  background: #e0f2fe !important;
  color: #075985 !important;
  border: 1px solid #bae6fd
}

.form-help {
  display: block;
  margin: -4px 0 14px;
  color: #7b472f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5
}

.wp-editor {
  position: relative
}

.color-popover {
  position: absolute;
  z-index: 50;
  width: 292px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #eadfd7;
  box-shadow: 0 24px 70px rgba(123, 71, 47, .20);
  color: #17120f
}

.color-popover[hidden] {
  display: none !important
}

.color-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px
}

.color-popover-head b {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7b472f
}

.color-popover-head button {
  width: 30px;
  height: 30px;
  border: 1px solid #eadfd7;
  border-radius: 10px;
  background: #fff8f1;
  color: #7b472f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-bottom: 12px
}

.color-grid button {
  height: 36px;
  border-radius: 12px;
  border: 1px solid #dccdc3;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 8px 18px rgba(15, 23, 42, .08);
  transition: .18s
}

.color-grid button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65), 0 12px 26px rgba(255, 106, 0, .18)
}

.custom-color-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff8f1;
  border: 1px solid #eadfd7;
  color: #17120f !important;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: 0 !important
}

.custom-color-row input {
  width: 52px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer
}

.image-upload-card {
  margin: 10px 0 22px;
  padding: 18px;
  border: 1px solid #eadfd7;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fff8f1);
  box-shadow: 0 16px 42px rgba(123, 71, 47, .08)
}

.image-upload-card .form-two {
  align-items: start
}

.image-upload-card .current-img {
  margin: 6px 0 0;
  background: #fff;
  border-color: #eadfd7
}

.current-img span small {
  display: block;
  margin-top: 5px;
  color: #7b472f;
  font-weight: 800
}

.editor-context-menu {
  position: absolute;
  z-index: 80;
  min-width: 170px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eadfd7;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .18)
}

.editor-context-menu[hidden] {
  display: none !important
}

.editor-context-menu button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #fff4ea;
  color: #9a3412;
  padding: 10px 12px;
  font-weight: 900;
  text-align: left;
  cursor: pointer
}

.editor-context-menu button:hover {
  background: #ffedd5;
  color: #7c2d12
}

.image-resize-box {
  position: absolute;
  z-index: 70;
  border: 2px solid #ff6a00;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(255, 106, 0, .015)
}

.image-resize-box[hidden] {
  display: none !important
}

.resize-handle {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ff6a00;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .22);
  pointer-events: auto
}

.resize-handle.nw {
  left: -9px;
  top: -9px;
  cursor: nwse-resize
}

.resize-handle.ne {
  right: -9px;
  top: -9px;
  cursor: nesw-resize
}

.resize-handle.sw {
  left: -9px;
  bottom: -9px;
  cursor: nesw-resize
}

.resize-handle.se {
  right: -9px;
  bottom: -9px;
  cursor: nwse-resize
}

.visual-editor img {
  cursor: pointer
}

.visual-editor img.is-editor-selected-image {
  outline: 2px solid rgba(255, 106, 0, .28);
  outline-offset: 2px
}

/* Two-panel login final layout */
.login-body {
  overflow: auto !important
}

.login-grid {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 560px) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 80px !important;
  min-height: 100vh !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 54px 28px !important
}

.login-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important
}

.login-brand img,
.login-logo {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important
}

.login-brand img {
  max-width: 430px !important;
  margin-bottom: 34px !important;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, .28))
}

.login-brand h1 {
  margin: 0 0 24px !important;
  max-width: 660px !important;
  font-size: clamp(56px, 6vw, 94px) !important;
  line-height: .92 !important;
  letter-spacing: -.08em !important;
  color: #fff !important;
  text-transform: none !important
}

.login-brand p {
  max-width: 620px !important;
  color: #d7deea !important
}

.login-panel {
  width: 100% !important
}

.login-panel .glass-card {
  padding: 46px !important
}

.login-logo {
  width: 315px !important;
  margin: 0 auto 30px !important;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .26))
}

@media(max-width:980px) {
  .login-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    max-width: 680px !important
  }

  .login-brand {
    align-items: center !important;
    text-align: center !important
  }

  .login-brand h1 {
    font-size: 52px !important
  }

  .login-brand p {
    margin-left: auto !important;
    margin-right: auto !important
  }

  .login-panel .glass-card {
    padding: 32px !important
  }
}

/* Reference-style photo login */
.login-body {
  background: radial-gradient(circle at 18% 0%, rgba(255, 106, 0, .24), transparent 30%), linear-gradient(135deg, #f3eee9, #d7d2ce 48%, #f7f7f6) !important;
  color: #111827 !important
}

.login-body:before,
.login-body:after {
  display: none !important
}

.login-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr) !important;
  gap: 0 !important;
  width: min(92vw, 1620px) !important;
  max-width: 1620px !important;
  min-height: 78vh !important;
  margin: 7vh auto !important;
  padding: 0 !important;
  border-radius: 54px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 42px 120px rgba(35, 30, 27, .28) !important
}

.login-grid:before {
  display: none !important
}

.login-photo-panel {
  position: relative !important;
  min-height: 780px !important;
  padding: 82px 76px !important;
  justify-content: flex-end !important;
  background-image: linear-gradient(180deg, rgba(18, 13, 11, .22), rgba(18, 13, 11, .88)), url('../img/login-blog-hero.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
  overflow: hidden !important
}

.login-photo-panel:before {
  display: none !important
}

.login-photo-panel>* {
  position: relative;
  z-index: 2
}

.login-photo-panel img {
  max-width: 320px !important;
  margin: 0 0 72px !important;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .34))
}

.login-kicker {
  margin: 0 0 140px !important;
  max-width: 620px !important;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 16px !important;
  line-height: 1.6 !important
}

.login-photo-panel h1 {
  max-width: 650px !important;
  margin: 0 !important;
  font-size: clamp(58px, 5.5vw, 92px) !important;
  line-height: .95 !important;
  letter-spacing: -.08em !important;
  color: #fff !important;
  text-shadow: 0 24px 70px rgba(0, 0, 0, .42)
}

.login-photo-panel h1+p {
  margin: 26px 0 0 !important;
  max-width: 620px !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 18px !important;
  line-height: 1.75 !important
}

.login-photo-panel .login-pills {
  margin-top: 30px !important
}

.login-photo-panel .login-pills span {
  background: rgba(255, 255, 255, .13) !important;
  border-color: rgba(255, 255, 255, .18) !important
}

.login-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  min-height: 780px !important;
  padding: 70px !important
}

.login-panel .glass-card {
  width: min(100%, 540px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  color: #111827 !important;
  overflow: visible !important
}

.login-panel .glass-card:before {
  display: none !important
}

.login-panel .glass-card>* {
  position: relative;
  z-index: 2
}

.login-panel .login-logo {
  width: 300px !important;
  margin: 0 0 118px !important;
  filter: none !important
}

.login-panel .glass-card h2 {
  text-align: left !important;
  color: #151a22 !important;
  font-size: 58px !important;
  line-height: 1 !important;
  letter-spacing: -.065em !important;
  margin: 0 0 22px !important;
  font-weight: 600 !important
}

.login-panel .glass-card .muted {
  text-align: left !important;
  color: #7a7f88 !important;
  margin: 0 0 34px !important;
  font-size: 16px !important
}

.login-panel label {
  color: #6f747d !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0 !important;
  margin: 0 !important
}

.login-panel label:before {
  content: "";
  display: none
}

.login-panel .form-control {
  height: 68px !important;
  border-radius: 999px !important;
  border: 1px solid #e4e4e7 !important;
  background: #fff !important;
  color: #111827 !important;
  padding: 0 34px !important;
  margin: 0 0 28px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  box-shadow: none !important
}

.login-panel input[name="username"]::placeholder {
  color: #858991
}

.login-panel .form-control:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 5px rgba(255, 106, 0, .10) !important
}

.password-field .form-control {
  padding-right: 76px !important
}

.password-toggle {
  top: 9px !important;
  right: 10px !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 999px !important;
  background: #fff7ef !important;
  color: #9a4d2a !important;
  box-shadow: none !important
}

.login-panel .btn-wide {
  height: 68px !important;
  border-radius: 999px !important;
  margin-top: 26px !important;
  background: linear-gradient(135deg, #ff6a00 0%, #ff4b1f 52%, #b15b35 100%) !important;
  font-size: 18px !important;
  box-shadow: 0 20px 46px rgba(255, 106, 0, .28) !important
}

.login-panel .btn-wide:before {
  content: "↪";
  font-size: 20px
}

.login-panel .alert-error {
  color: #111827 !important;
  font-weight: 800 !important
}

@media(max-width:980px) {
  .login-grid {
    display: block !important;
    width: min(94vw, 680px) !important;
    margin: 32px auto !important;
    border-radius: 36px !important
  }

  .login-photo-panel {
    min-height: 440px !important;
    padding: 42px 30px !important
  }

  .login-kicker {
    margin-bottom: 72px !important
  }

  .login-photo-panel h1 {
    font-size: 52px !important
  }

  .login-panel {
    min-height: auto !important;
    padding: 42px 26px !important
  }

  .login-panel .login-logo {
    margin-bottom: 48px !important
  }

  .login-panel .glass-card h2 {
    font-size: 42px !important
  }
}

.reset-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: #fff7ed;
  color: #17120f;
  font-weight: 800
}

.reset-note b {
  color: #9a3412;
  margin-right: 4px
}

.reset-note span {
  background: #fff;
  border: 1px solid #ffedd5;
  border-radius: 999px;
  padding: 8px 11px
}
