/* ==================================================
   ZenoFusion – Global Theme Foundation
   FINAL (ARCHITECTURE UPGRADE)
   ================================================== */

/* =========================
   ROOT — Single Source
   ========================= */

:root {

  /* Browser understands BOTH themes */
  color-scheme: light dark;

  /* Core palette */
  --zf-bg: #ffffff;
  --zf-text: #111111;
  --zf-title: #0d0f12;

  /* Accent */
  --zf-link-accent: #7aa2ff;

  /* Typography */
  --zf-font-scale: 100%;
  --zf-reading-width: 720px;
}

/* =========================
   Text Selection (GLOBAL)
   ========================= */

::selection {
  background: #8FB4FF;
  color: #0f1115;
}

html.zf-dark ::selection {
  background: #8FB4FF;
  color: #0f1115;
}

html {
  transition:
    background-color .25s ease,
    color .25s ease;
}


/* =========================
   DARK OVERRIDE — ONE BLOCK ONLY
   ========================= */

html.zf-dark {

  color-scheme: dark;

  --zf-bg: #0f1115;
  --zf-text: #D4D8E1;
  --zf-title: #F1F3F7;

  /* Typography scale */
  --zf-text-1: #E6EDF3;
  --zf-text-2: #C9D1D9;
  --zf-text-3: #8B949E;
  --zf-text-4: #6E7681;

  /* Slightly brighter accent for dark UI */
  --zf-link-accent: #8FB4FF;

  /* Premium font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===============================
   Base application
   =============================== */
html,
body {
  background-color: var(--zf-bg);
  color: var(--zf-text);
}


/* ===============================
   Typography hierarchy
   =============================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--zf-title);
}

/* ===============================
   Editorial reading comfort
   =============================== */

.full-text,
.article-content {
  line-height: 1.75;
}

/* Optional but HIGHLY recommended */
.full-text {
  max-width: var(--zf-reading-width);
  margin-inline: auto;
}

/* =====================================
   ZenoFusion – LOGO MODE SWITCH (FINAL)
===================================== */

/* reset ALL template rules */
.navbar-brand img.logo {
  display: none !important;
}

/* LIGHT MODE (white background) */
html:not(.zf-dark) .navbar-brand img.logo-dark {
  display: block !important;
}

/* DARK MODE */
html.zf-dark .navbar-brand img.logo-light {
  display: block !important;
}

/* MOBILE MENU */
.mobile-menu .navbar-brand img.logo {
  display: none !important;
}

html:not(.zf-dark) .mobile-menu img.logo-dark {
  display: block !important;
}

html.zf-dark .mobile-menu img.logo-light {
  display: block !important;
}

/* ==================================================
   Sticky Header – Glass effect
   ================================================== */
.header.header-sticky.is-sticky {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: background .3s ease, box-shadow .3s ease;
}

html.zf-dark .header.header-sticky.is-sticky {
  background: rgba(15, 17, 21, 0.82);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* ==================================================
   Links – GLOBAL
   ================================================== */
a {
  color: var(--zf-link-accent);
  text-decoration: none;
  transition: opacity .18s ease;
}

a:hover {
  opacity: .9;
  color: #AAB4C3;
}

a:active {
  opacity: .75;
}

/* ==================================================
   Theme panel (LEFT aligned)
   ================================================== */
.zf-theme-panel {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin: 8px 14px 12px;
}

.zf-theme-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zf-theme-label {
  text-align: left;
}

/* ==================================================
   Switch
   ================================================== */
.zf-switch {
  position: relative;
  width: 42px;
  height: 22px;
}

.zf-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.zf-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 22px;
  cursor: pointer;
  transition: .25s;
}

.zf-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  top: 2px;
  background: #ffffff;
  border-radius: 50%;
  transition: .25s;
}

.zf-switch input:checked + .zf-slider {
  background: #30c96a;
}

.zf-switch input:checked + .zf-slider::before {
  transform: translateX(20px);
}

.zf-switch input:disabled + .zf-slider {
  opacity: .4;
  cursor: not-allowed;
}

/* ==================================================
   Article font scale
   ================================================== */
.article-content,
.blog-content,
.full-text {
  font-size: calc(1rem * var(--zf-font-scale) / 100);
}

/* ==================================================
   ZenoFusion – Dark Mode Title Color System (FINAL)
   ================================================== */
html.zf-dark h1,
html.zf-dark h2,
html.zf-dark h3,
html.zf-dark h4,
html.zf-dark h5,
html.zf-dark h6,
html.zf-dark .blog-title a {
  color: rgba(255, 255, 255, 0.9);
}

html.zf-dark .section-title h2 {
  color: #6FA3B8; /* რბილი ცისფერი */
}

html.zf-dark a {
  color: inherit;
  transition: color 0.25s ease;
  color: #5FA8FF;
}

html.zf-dark a:hover,
html.zf-dark .blog-title a:hover {
  color: #AAB4C3;
}

html.zf-dark .blog-title a {
  background-image: none !important;
}

/* ==================================================
   Shortstory Dark
   ================================================== */
/* Short footer line */
html.zf-dark .zf-short-footer::after {
  height: 1px;
  opacity: .85;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );

}

/* ==================================================
   ZenoFusion – Fullstory image & caption styling
   ================================================== */
.full-text figure.image,
.full-text figure.image img {
  border-radius: 14px;
  overflow: hidden;
}

.full-text figure.image img {
  display: block;
  width: 100%;
  height: auto;
}

.full-text figure.image figcaption {
  margin-top: 10px;
  padding: 12px 2px;
  background: #1D1F23;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

html:not(.zf-dark):not(.zf-reader) .full-text figure.image figcaption {
  background: #f1f3f5;
  color: #333;
}

.full-text figure.image + figure.image {
  margin-top: 28px;
}

/* ==================================================
   ZenoFusion – OFFCANVAS (BAR MENU) THEME FIX
   ================================================== */
html:not(.zf-dark) .offcanvas.offcanvas-start {
  background-color: #ffffff;
  color: #111111;
}

html.zf-dark .offcanvas.offcanvas-start {
  background: rgba(15, 17, 21, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html.zf-dark .offcanvas.offcanvas-start a {
  color: rgba(255, 255, 255, 0.85);
}

html.zf-dark .offcanvas.offcanvas-start a:hover {
  color: #7A8596;
}

html.zf-dark .offcanvas.offcanvas-start hr,
html.zf-dark .offcanvas.offcanvas-start .divider {
  border-color: rgba(255, 255, 255, 0.08);
}

/* =====================================
   Offcanvas scrollbar – HIDE (Dark UX)
===================================== */
.offcanvas-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.offcanvas-body {
  scrollbar-width: none;
}

/* =====================================
   Inner Header – Single Line Scroll
===================================== */
html.zf-dark .inner-header {
  background: #15181d;
}

.inner-header {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.inner-header::-webkit-scrollbar {
  display: none;
}

.inner-header .breadcrumb,
.inner-header nav,
.inner-header .container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.inner-header.is-dragging {
  cursor: grabbing;
}

.inner-header {
  padding-left: 2px;
  padding-right: 2px;
}

@media (min-width: 992px) {
  .inner-header {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* =========================
   Dark mode – Comments blocks
   ========================= */
html.zf-dark .bg-white {
  background-color: #15181d !important;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

html.zf-dark .bg-white h3,
html.zf-dark .bg-white h4 {
  color: #f1f3f5;
}

html.zf-dark .bg-white,
html.zf-dark .bg-white p,
html.zf-dark .bg-white span {
  color: #d1d5db;
}

html.zf-dark .bg-white input,
html.zf-dark .bg-white textarea,
html.zf-dark .bg-white select {
  background-color: #0f1216;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.08);
}

html.zf-dark .bg-white input::placeholder,
html.zf-dark .bg-white textarea::placeholder {
  color: #9ca3af;
}

.zf-dark .bg-white,
.zf-dark .comment,
.zf-dark .comment-item {
  background-color: #15181d !important;
  border: 1px solid #1f252c;
}

html.zf-dark .comment-item__date {
  color: #9aa4ad;
}

/* share box */
html.zf-dark .share-box {
  background-color: #15181d;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}

html.zf-dark .share-box .share-title {
  color: #e6e9ec;
}

/* donation box */
html.zf-dark .donation-box {
  background-color: #12161b;
  color: #dfe3e7;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}

html.zf-dark .donation-box span,
html.zf-dark .donation-box strong {
  color: #6fdc8c;
}

/* =========================
   DONATE MODAL – DARK MODE
   ========================= */

/* Modal shell */
html.zf-dark .donate-modal-content {
  background: #151A21;
  border: 1px solid #222C36;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.03),
    0 10px 30px rgba(0,0,0,.35),
    0 30px 80px rgba(0,0,0,.45);

  animation: modalFade .18s cubic-bezier(.16,1,.3,1);
  transform-origin: center;
  backface-visibility: hidden;
  isolation: isolate;
}

/* Sticky header */
html.zf-dark .donate-header {
  background: #151A21;
  border-bottom: 1px solid #222C36;
  box-shadow: 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}

/* Scroll area */
html.zf-dark .donate-scroll-area {
  background: #0F1318;
}

/* Wallet card */
html.zf-dark .wallet-box {
  background: #1B222B;
  border: 1px solid #2A3440;
  transition: 
   background .25s ease,
   border-color .25s ease,
   transform .2s ease,
   box-shadow .2s ease;
}

/* Wallet Address – Dark Mode */
html.zf-dark .wallet-info code{

  display:block;
  width:100%;

  padding:10px 12px;

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size:13.5px;
  letter-spacing:.3px;

  color:#E6EDF3;

  background:#0D1117;
  border:1px solid #26303A;
  border-radius:8px;

  word-break:break-all;
  user-select: all;

  /* premium subtle depth */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 4px 12px rgba(0,0,0,.25);

  transition:.2s ease;
}

html.zf-dark .wallet-info code:hover{
  border-color:#3A4654;
  background:#0F141A;
  box-shadow:0 0 0 1px rgba(120,160,255,.15);
}


/* Hover = elevation */
html.zf-dark .wallet-box:hover {
  background: #222A35;
  border-color: #344150;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

html.zf-dark .wallet-label{
  color: var(--zf-text-1);
}

html.zf-dark .qr-caption{
  color: var(--zf-text-3);
}

/* =====================================
   ZenoFusion Dark Scrollbar (Premium)
   ===================================== */

/* Firefox */
html.zf-dark .donate-scroll-area{
  scrollbar-width: thin;
  scrollbar-color: #2A3440 transparent;
}

/* Chrome / Edge / Safari */
html.zf-dark .donate-scroll-area::-webkit-scrollbar{
  width: 8px;
}

html.zf-dark .donate-scroll-area::-webkit-scrollbar-track{
  background: transparent;
}

html.zf-dark .donate-scroll-area::-webkit-scrollbar-thumb{
  background-color: #2A3440;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color .25s ease;
}

/* Hover */
html.zf-dark .donate-scroll-area::-webkit-scrollbar-thumb:hover{
  background-color: #3A4654;
}

/* =========================
   Modal Entrance Animation
   ========================= */


@keyframes modalFade{
  from{
    opacity: 0;
    transform: scale(.97);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}

/* End donate */

/* author collapse */
html.zf-dark .author-collapse .form {
  background-color: #15181d;
  color: #e6e9ec;
  border: 1px solid rgba(255,255,255,0.08);
}

html.zf-dark .author-collapse .form__title {
  color: #cfe9d9;
}

html.zf-dark .author-collapse .meta {
  color: #a8b0b8;
}

/* =====================================
   COMMENTS – INPUT & TEXTAREA (ZF DARK – FINAL OVERRIDE)
   ===================================== */
html.zf-dark .bg-white input[type="text"],
html.zf-dark .bg-white textarea,
html.zf-dark input#name.form_input,
html.zf-dark textarea#comments {
  background-color: #0f1216 !important;
  color: #e6e6e6 !important;
  border: 1px solid #1e2329 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04) !important;
}

html.zf-dark .bg-white input::placeholder,
html.zf-dark .bg-white textarea::placeholder,
html.zf-dark input#name::placeholder,
html.zf-dark textarea::placeholder {
  color: #b0bac4 !important;
  opacity: 1 !important;
}

html.zf-dark input::-webkit-input-placeholder,
html.zf-dark textarea::-webkit-input-placeholder {
  color: #b0bac4 !important;
}

html.zf-dark input::-moz-placeholder,
html.zf-dark textarea::-moz-placeholder {
  color: #b0bac4 !important;
  opacity: 1;
}

/* =========================================================
   IMPORTANT FIX:
   ეს გლობალური focus აღარ უნდა ეხებოდეს search-ის #story-ს
   ========================================================= */
html.zf-dark input:focus:not(#story),
html.zf-dark textarea:focus {
  background-color: #0f1216 !important;
  border-color: #3BA776 !important;
  box-shadow: 0 0 0 2px rgba(59,167,118,0.18);
  outline: none;
}

/* Autofill fix (Chrome) */
html.zf-dark input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0f1216 inset !important;
  -webkit-text-fill-color: #e6e6e6 !important;
}

html.zf-dark input::placeholder {
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* COMMENTS / SELECT / INPUTS – DARK MODE FIX */
html.zf-dark .add-comments-form .form__input,
html.zf-dark .add-comments-form__input,
html.zf-dark .add-comments-form .form__textarea-inside textarea,
html.zf-dark .mass_comments_action select {
  background-color: #0f1216;
  color: #e6e6e6;
  box-shadow: inset 0 0 0 1px #232a32 !important;
  border: none !important;
}

html.zf-dark .add-comments-form .form__input:focus,
html.zf-dark .add-comments-form__input:focus,
html.zf-dark .add-comments-form .form__textarea-inside textarea:focus,
html.zf-dark .mass_comments_action select:focus {
  box-shadow: inset 0 0 0 1px #3a4654 !important;
  outline: none;
}

/* =====================================
   ZF DARK – AUTOFILL / SUGGESTION FIX
   ===================================== */
html.zf-dark input:-webkit-autofill,
html.zf-dark textarea:-webkit-autofill,
html.zf-dark select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0f1216 inset !important;
  -webkit-text-fill-color: #e6e6e6 !important;
  caret-color: #e6e6e6 !important;
  transition: background-color 9999s ease-in-out 0s;
}

html.zf-dark input:-webkit-autofill:hover,
html.zf-dark input:-webkit-autofill:focus,
html.zf-dark textarea:-webkit-autofill:hover,
html.zf-dark textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0f1216 inset !important;
  -webkit-text-fill-color: #e6e6e6 !important;
}

/* Android keyboard suggestion edge-case
   FIX: ესეც არ უნდა შეეხოს #story-ს */
html.zf-dark input:focus:not(#story) {
  background-color: #0f1216 !important;
}

/* =====================================
   ZenoFusion – AUTHOR CARD (Dark Mode)
===================================== */
html.zf-dark .author-collapse,
html.zf-dark .author-collapse .form {
  background-color: #15181d !important;
  color: #e6e9ec !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  border-radius: 14px;
}

html.zf-dark .author-collapse .usp {
  background-color: #15181d !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

html.zf-dark .usp__meta {
  background-color: #1d1f23;
  padding: 20px;
}

html.zf-dark .author-collapse .usp_meta {
  background: linear-gradient(180deg, #15181d 0%, #12161b 100%) !important;
  color: #e6e9ec !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

html.zf-dark .author-collapse .usp_meta h3,
html.zf-dark .author-collapse .usp_meta h4 {
  color: #f1f3f5 !important;
}

html.zf-dark .author-collapse .usp_meta span,
html.zf-dark .author-collapse .usp_meta p {
  color: #a8b0b8 !important;
}

html.zf-dark .author-collapse .btn,
html.zf-dark .author-collapse button {
  background-color: #1f252c;
  color: #e6e9ec;
  border: 1px solid rgba(255,255,255,0.1);
}

html.zf-dark .author-collapse .btn:hover {
  background-color: #27303a;
}

html.zf-dark .author-collapse a {
  color: #9aa3ad;
}

html.zf-dark .author-collapse a:hover {
  color: #6fdc8c;
}

.zf-dark .author-collapse .usp .usp_donate {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #232a32;
}

html.zf-dark .usp,
html.zf-dark .usp__bio {
  border: 1px solid #232A32;
  background-color: #161A20;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Rating card */
html.zf-dark .rating-card {
  background: #1E2228;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

html.zf-dark .rating-card:hover {
  background: #232A32;
  transform: translateY(-1px);
}

html.zf-dark .rating-title,
html.zf-dark .rating-stats,
html.zf-dark .rating-stats i {
  color: #AAB1BC;
  letter-spacing: 0.2px;
}

html.zf-dark .score {
  color: #D0D6E0;
  font-weight: 600;
}

/* btn */
html.zf-dark .usp__btn a,
html.zf-dark .pm__links a {
  color: #D0D6E0;
  transition: transform .2s ease, color .2s ease, text-shadow .2s ease;
  cursor: pointer;
}

html.zf-dark .usp__btn a:hover,
html.zf-dark .pm__links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* Mobile blog post date */
html.zf-dark .blog-post.post-style-05 .blog-post-date {
  background: rgba(18, 22, 28, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  color: #E6EAF0;
}

/* =========================
   Search (DARK)
   ========================= */
html.zf-dark #search {
  background: rgba(18, 22, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}

html.zf-dark #search input[type="text"] {
  background: rgba(35, 42, 50, 0.85);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  /* key: transition base-ში */
  transition: border-color .10s ease, box-shadow .10s ease;
  will-change: border-color, box-shadow;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

html.zf-dark #search input[type="text"]::placeholder {
  color: rgba(230,234,240,0.45);
}

/* search focus: შენი ნაპოვნი “soft contour” */
html.zf-dark #search input[type="text"]:focus {
  outline: none !important;
  border-color: #355143 !important;
  box-shadow: inset 0 0 0 1px rgba(95,210,139,0.25) !important;
}

html.zf-dark .search-page .search > div {
  background-color: #161A20;
  border: 1px solid rgba(255,255,255,0.04);
  background-image: linear-gradient(
    to bottom,
    rgba(255,255,255,0.02),
    rgba(0,0,0,0.10)
  );
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* Buttons */
html.zf-dark .btn-primary {
  background: #266434;
  border: none;
  color: #ffffff;
  transition: all .18s ease;
  box-shadow: 0 6px 18px rgba(47,191,113,0.18);
}

html.zf-dark .btn-primary:hover {
  background: #29A863;
  box-shadow: 0 10px 24px rgba(47,191,113,0.28);
}

/* Close X */
html.zf-dark #search .close {
  background: rgba(35, 42, 50, 0.85);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(230,234,240,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all .18s ease;
}

html.zf-dark #search .close:hover {
  background: rgba(41,168,99,0.12);
  border-color: rgba(41,168,99,0.35);
  color: #29A863;
}

/* LINES – DARK MODE */
html.zf-dark .blog-post-share-box {
  border-top: 1px solid #232a32 !important;
  border-bottom: 1px solid #232a32 !important;
}

html.zf-dark .section-title {
  border-bottom: 1px solid #232a32 !important;
}

html.zf-dark .sidebar {
  border: 1px solid #232a32;
}

html.zf-dark .sidebar .widget-title {
  border: 1px solid #232a32;
  border-radius: 6px;
}

html.zf-dark .blog-post.post-style-13 {
  border-top: 1px solid #232a32;
}

html.zf-dark .blog-post.post-style-07 {
  border: 1px solid #232a32;
}

html.zf-dark hr {
  border-top: 1px solid #232a32;
}

html.zf-dark .login {
  background-color: #0F1115;
  border: 1px solid rgba(255,255,255,0.04);
}

html.zf-dark .login__header {
  background-color: #232a32;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

html.zf-dark .login__menu a {
  background-color: #232a32;
}

html.zf-dark .login__menu a:hover {
  background-color: #161a20;
  border-color: rgba(255,255,255,0.08);
}

html.zf-dark .footer {
  background-color: #161a20;
  border-top: 1px solid rgba(255,255,255,0.04);
}

html.zf-dark .footer .footer-bottom {
  background-color: #10141a;
  border-top: 1px solid rgba(255,255,255,0.06);
}

html.zf-dark .offcanvas.offcanvas-start .offcanvas-body ul.navbar-nav-style-03 li .sidebar-post {
  border-bottom: 1px solid #232a32;
  border-top: 1px solid rgba(255,255,255,0.06);
}

html.zf-dark .navbar-nav-style-03 .nav-item .dropdown-menu {
  background-color: #232a32;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

html.zf-dark .navbar-nav-style-03 .dropdown-menu a:hover {
  background-color: #161a20;
  color: #ffffff;
}

html.zf-dark .navbar-nav-style-03 
.nav-item .dropdown-menu li .dropdown-item {
  color: #b9c0cf;
}

html.zf-dark .navbar-nav-style-03 
.nav-item .dropdown-menu li .dropdown-item:hover {
  color: #5fd28b;
  background-color: rgba(255,255,255,0.04);
}

html.zf-dark .alert-light {
  --bs-alert-bg: #161a20;
  --bs-alert-color: #8f98a6;
}

html.zf-dark .alert-light.border-success {
  border-left: 2px solid rgba(95, 210, 139, 0.5);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

/* =========================
   LOGIN / AUTH – DARK MODE
   ========================= */
html.zf-dark .login__social {
  background-color: #232a32;
}

/* base inputs (excluding #story) */
html.zf-dark input[type="text"]:not(#story),
html.zf-dark input[type="password"],
html.zf-dark select,
html.zf-dark textarea {
  background-color: #232a32 !important;
  color: #787878;
  box-shadow: inset 0 0 0 1px #787878, inset 1px 2px 5px rgba(0, 0, 0, 0.1);
}

/* focus for normal inputs (excluding #story) */
html.zf-dark input[type="text"]:not(#story):focus,
html.zf-dark input[type="password"]:focus,
html.zf-dark select:focus,
html.zf-dark textarea:focus {
  background-color: #232a32 !important;
  color: #b9c0cf;
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(95, 210, 139, 0.35),
    inset 1px 2px 5px rgba(0, 0, 0, 0.15);
}

html.zf-dark .login__caption {
  color: #787878;
}

html.zf-dark .form {
  background-color: #161A20;
}

/* =========================
   MESSAGE INFO – DARK MODE
   ========================= */
html.zf-dark .message-info {
  position: relative;
  color: #b6bcc7;
  background-color: #161A20;
  border: 1px solid rgba(95, 210, 139, 0.25);
  border-left: 2px solid rgba(95, 210, 139, 0.45);
  border-radius: 8px;
  padding: 15px 54px;
  box-shadow:
    inset 0 0 1px rgba(255, 255, 255, 0.02),
    0 2px 6px rgba(0, 0, 0, 0.25);
}

html.zf-dark .message-info::before {
  content: "!";
  position: absolute;
  left: 12px;
  top: 62%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #5fd28b;
  background-color: rgba(95, 210, 139, 0.22);
  border-radius: 50%;
}

/* =========================
  collapse after – DARK MODE
   ========================= */
html.zf-dark .xfields-collapse::after {
  background: linear-gradient(
    to bottom,
    rgba(35, 42, 50, 0),
    rgba(35, 42, 50, 0.85)
  );
}

html.zf-dark .author-collapse::after {
  background: linear-gradient(
    to bottom,
    rgba(35, 42, 50, 0),
    rgba(35, 42, 50, 0.85)
  );
}

/* =========================
  ADDNEWS – DARK MODE
   ========================= */
html.zf-dark .form__caption--above {
  background-color: #232A32;
}

/* =====================================
   MOBILE FOOTER ACCORDION – DARK FIX
   ===================================== */

html.zf-dark .accordion-item {
  background: #161A20;              /* იგივე ფერი footer-ის */
  border: none;
}

/* subtle separator — არა ხაზი, არამედ depth */
html.zf-dark .accordion-item + .accordion-item {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

/* Accordion header button */
html.zf-dark .accordion-button {
  background: transparent;
  color: #D4D8E1;
  box-shadow: none;
}

/* remove bootstrap blue focus */
html.zf-dark .accordion-button:focus {
  box-shadow: none;
}

/* when opened */
html.zf-dark .accordion-button:not(.collapsed) {
  background: transparent;
  color: #ffffff;
}

/* accordion body */
html.zf-dark .accordion-body {
  background: #161A20;
  color: #B9C0CF;
}

/* =====================================
   Fast Edit Article — DARK MODE
   ===================================== */
/* Fast edit article */
html.zf-dark #dropmenudiv{
  background:#1E242C;
  color:#E6EDF3;
  border:1px solid #2A3440;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

/* QUICK EDIT POPUP — DARK MODE */
html.zf-dark .ui-dialog{
  background:#151A21;
  border:1px solid #2A3440;
  border-radius:12px;
  box-shadow:0 25px 70px rgba(0,0,0,.55);
}

html.zf-dark .ui-dialog-titlebar{
  background:#1B222B;
  border-bottom:1px solid #2A3440;
  color:#E6EDF3;
}

html.zf-dark .ui-dialog-content{
  background:#151A21;
  color:#D4D8E1;
}

/* Quick edit modal — footer */
html.zf-dark .ui-dialog-buttonpane{
  background:#151A21;
  border-top:1px solid rgba(255,255,255,0.06);
}

/* ==================================================
   ZenoFusion – TRUE HEADING HIERARCHY (Article)
   ================================================== */

/* Page title (ზედა დიდი სათაური) */
.blog-post-title h1 {
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 700;
}

/* Headings inside article body */
.full-text h1 { font-size: 1.45rem; line-height: 1.25; font-weight: 700; margin-top: 28px; margin-bottom: 20px; }
.full-text h2 { font-size: 1.375rem; line-height: 1.3;  font-weight: 650; margin-top: 16px; margin-bottom: 16px; }
.full-text h3 { font-size: 1.064rem; line-height: 1.35; font-weight: 600; margin-top: 24px; margin-bottom: 6px; }
.full-text h4 { font-size: 1.1rem; line-height: 1.4;  font-weight: 600; }
.full-text h5 { font-size: 1rem; }
.full-text h6 { font-size: .9rem; opacity: .8; }