/* ============================================================
   OXO.GE — 2026 Redesign (Claude Design handoff → production)
   Light theme design system. Loaded LAST so it overrides legacy CSS.
   Palette: bg #f4f7fa · ink #0e1a2b · blue #1565d8 · line #e3e9f0
   Fonts: Noto Sans Georgian (body) · Noto Sans Mono (.num)
   ============================================================ */

:root{
  --ox-bg:#f4f7fa; --ox-surface:#ffffff;
  --ox-ink:#0e1a2b; --ox-ink2:#5b6b7d; --ox-muted:#9aa7b5;
  --ox-line:#e3e9f0; --ox-line2:#eef2f7;
  --ox-blue:#1565d8; --ox-blue-d:#0f4fac; --ox-blue-soft:#eef4ff;
  --ox-green:#16a34a; --ox-red:#dc2626;
  /* harmonize legacy accent blue → 2026 design blue (auth, dashboard, buttons, links) */
  --primary:#1565d8; --primary-dark:#0f4fac; --primary-light:#4f8bea; --primary-bg:#eef4ff;
}

/* auth pages (login / register) — align inputs & buttons to the design language */
.oxo-auth input[type="text"],.oxo-auth input[type="email"],.oxo-auth input[type="password"],.oxo-auth input[type="tel"]{border-radius:10px;}
.oxo-auth .reg-proceed-btn,.oxo-auth button[type="submit"]{border-radius:11px;}

/* ---- base ------------------------------------------------- */
html,body{margin:0;padding:0;}
body{
  font-family:'Noto Sans Georgian',system-ui,-apple-system,'Segoe UI',sans-serif !important;
  background:#f4f7fa !important; color:#0e1a2b !important;
  -webkit-font-smoothing:antialiased;
}
body *{box-sizing:border-box;}
.num{font-family:'Noto Sans Mono',ui-monospace,'Consolas',monospace;font-variant-numeric:tabular-nums;}
a{color:#1565d8;text-decoration:none;}
a:hover{color:#0f4fac;}
::selection{background:#cfe2ff;}

/* neutralize legacy dark wrappers so the light theme shows through */
.app-layout,.app-layout--v5,.v4-content-area,.v5-content-area,.v4-main-scroll,.page-body{
  background:transparent !important; border:0 !important; box-shadow:none !important;
  max-width:none !important; margin:0 !important; padding:0 !important;
}
.page-body{display:block !important;min-height:40vh;}

/* inputs */
.ox input,.ox select,.ox textarea{font-family:inherit;}
.ox input:focus,.ox select:focus,.ox textarea:focus{
  outline:none;border-color:#1565d8 !important;box-shadow:0 0 0 3px rgba(21,101,216,0.12);
}
.ox ::placeholder{color:#a9b4c0;}

/* ============================================================
   HEADER  (new design bar; #header/.h5-header kept as JS hooks)
   ============================================================ */
#header.oxh{
  background:#ffffff !important; border-bottom:1px solid #e3e9f0 !important;
  position:sticky !important; top:0; z-index:50; height:auto !important; box-shadow:none !important;
}
#header.oxh.scrolled{box-shadow:0 2px 14px rgba(14,26,43,.06) !important;}
.oxh-inner{max-width:1200px;margin:0 auto;padding:0 28px;height:64px;display:flex;align-items:center;gap:30px;}
.oxh-logo{display:flex;align-items:baseline;gap:1px;text-decoration:none;flex-shrink:0;}
.oxh-logo .l1{font-size:24px;font-weight:800;letter-spacing:-0.03em;color:#0e1a2b;}
.oxh-logo .l2{font-size:24px;font-weight:800;letter-spacing:-0.03em;color:#1565d8;}
.oxh-nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:500;}
.oxh-nav a{padding:4px 0;color:#5b6b7d;border-bottom:2px solid transparent;transition:color .12s,border-color .12s;}
.oxh-nav a:hover{color:#0e1a2b;}
.oxh-nav a.active{color:#0e1a2b;border-bottom-color:#1565d8;}
.oxh-spacer{flex:1;}
.oxh-actions{display:flex;align-items:center;gap:10px;}
.oxh-search{display:flex;align-items:center;gap:8px;background:#f4f7fa;border:1px solid #e3e9f0;border-radius:8px;padding:8px 12px;width:200px;position:relative;}
.oxh-search i{color:#9aa7b5;font-size:13px;}
.oxh-search input{border:none;background:transparent;font-size:13px;color:#0e1a2b;width:100%;outline:none;}
.oxh-login{font-size:13px;font-weight:500;color:#5b6b7d;padding:8px 6px;white-space:nowrap;}
.oxh-login:hover{color:#0e1a2b;}
.oxh-reg{border:none;background:#1565d8;border-radius:8px;padding:9px 16px;font-family:inherit;font-size:13px;font-weight:600;color:#fff !important;cursor:pointer;white-space:nowrap;display:inline-block;}
.oxh-reg:hover{background:#0f4fac;color:#fff !important;}
.oxh-icon{width:34px;height:34px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#5b6b7d;border:1px solid #e3e9f0;position:relative;background:#fff;}
.oxh-icon:hover{color:#1565d8;border-color:#c3d3e6;}
.oxh-icon .dot{position:absolute;top:-5px;right:-5px;background:#dc2626;color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;}
.oxh-burger{display:none;width:38px;height:38px;border:1px solid #e3e9f0;background:#fff;border-radius:8px;color:#0e1a2b;font-size:16px;cursor:pointer;align-items:center;justify-content:center;}
.h5-search-mobile-btn{display:none;cursor:pointer;}
/* live-search dropdown anchored under header search */
#live-search-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:360px;max-width:90vw;background:#fff;border:1px solid #e3e9f0;border-radius:12px;box-shadow:0 18px 44px rgba(14,26,43,.14);overflow:hidden;display:none;z-index:60;}
#live-search-dropdown.open{display:block;}

/* ============================================================
   FOOTER (new design)
   ============================================================ */
#footer.oxf{border-top:1px solid #e3e9f0 !important;background:#fff !important;margin-top:40px;box-shadow:none !important;}
.oxf-top{max-width:1200px;margin:0 auto;padding:36px 28px;display:flex;gap:40px;flex-wrap:wrap;}
.oxf-brand{max-width:300px;}
.oxf-logo{display:flex;align-items:baseline;gap:1px;margin-bottom:10px;}
.oxf-logo .l1{font-size:20px;font-weight:800;letter-spacing:-0.03em;color:#0e1a2b;}
.oxf-logo .l2{font-size:20px;font-weight:800;letter-spacing:-0.03em;color:#1565d8;}
#footer.oxf .oxf-brand p{font-size:13px;line-height:1.6;color:#9aa7b5;margin:0;}
.oxf-grow{flex:1;}
#footer.oxf .oxf-logo .l1{color:#0e1a2b;}
#footer.oxf .oxf-logo .l2{color:#1565d8;}
#footer.oxf .oxf-col h4{font-size:12px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:#0e1a2b;margin:0 0 12px;}
#footer.oxf .oxf-col a{display:block;font-size:13px;color:#5b6b7d;margin-bottom:9px;}
#footer.oxf .oxf-col a:hover{color:#1565d8;}
#footer.oxf .oxf-bottom{border-top:1px solid #eef2f7;}
#footer.oxf .oxf-bottom-inner{max-width:1200px;margin:0 auto;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#9aa7b5;flex-wrap:wrap;gap:10px;}
#footer.oxf .oxf-bottom-inner a{color:#9aa7b5;}

/* ============================================================
   Shared page helpers
   ============================================================ */
.ox-main{max-width:1200px;margin:0 auto;padding:36px 28px 80px;}
.ox-card{background:#fff;border:1px solid #e3e9f0;border-radius:14px;}

/* mobile sidebar (legacy #sidebar) recolored for light theme */
#sidebar{background:#fff !important;color:#0e1a2b !important;border-right:1px solid #e3e9f0;}
#sidebar .sb-header,#sidebar .sidebar-foot{background:#fff !important;border-color:#e3e9f0 !important;}
#sidebar .sb-logo,#sidebar .nav-link,#sidebar .nav-title{color:#0e1a2b !important;}
#sidebar .nav-link{color:#5b6b7d !important;}
#sidebar .nav-link:hover{background:#f4f7fa !important;color:#0e1a2b !important;}
#sidebar .nav-title{color:#9aa7b5 !important;}
#overlay{background:rgba(14,26,43,.45);}

/* mobile bottom nav recolor */
.mobile-bottom-nav{background:#fff !important;border-top:1px solid #e3e9f0 !important;}
.mobile-bottom-nav a{color:#5b6b7d !important;}
.mobile-bottom-nav a.active{color:#1565d8 !important;}

/* cookie banner — compact bottom-left card, design-styled, high z-index */
#cookie-banner{
  position:fixed !important; left:18px !important; right:auto !important; bottom:18px !important; top:auto !important;
  width:auto !important; max-width:330px !important; z-index:2147483000 !important;
  flex-direction:column !important; align-items:flex-start !important; gap:12px !important;
  background:#fff !important; color:#5b6b7d !important; border:1px solid #e3e9f0 !important;
  border-radius:14px !important; box-shadow:0 14px 44px rgba(14,26,43,.18) !important;
  padding:15px 17px !important; font-size:12.5px !important; line-height:1.6 !important;
}
#cookie-banner span i{color:#1565d8;}
#cookie-banner a{color:#1565d8 !important;font-weight:600;}
#cookie-banner #cookie-close,#cookie-banner button{
  background:#1565d8 !important; color:#fff !important; border:none !important; border-radius:9px !important;
  padding:9px 16px !important; font-family:inherit !important; font-size:13px !important; font-weight:600 !important;
  cursor:pointer !important; align-self:stretch !important; justify-content:center !important; display:inline-flex !important; align-items:center !important; gap:6px !important;
}
@media (max-width:520px){ #cookie-banner{left:12px !important; right:12px !important; max-width:none !important; bottom:12px !important;} }

/* breaking-news ticker (homepage) */
.ox-news{display:flex;align-items:stretch;background:#fff;border:1px solid #e3e9f0;border-radius:12px;overflow:hidden;margin-bottom:22px;}
.ox-news-badge{flex-shrink:0;display:inline-flex;align-items:center;gap:7px;background:#1565d8;color:#fff;font-size:12px;font-weight:700;padding:0 16px;white-space:nowrap;}
.ox-news-track{flex:1;overflow:hidden;position:relative;min-width:0;display:flex;align-items:center;}
.ox-news-scroll{display:inline-flex;align-items:center;gap:34px;white-space:nowrap;padding:11px 24px;animation:oxnews 34s linear infinite;}
.ox-news:hover .ox-news-scroll{animation-play-state:paused;}
.ox-news-scroll a{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;color:#334155;}
.ox-news-scroll a:hover{color:#1565d8;}
.ox-news-scroll a .d{width:6px;height:6px;border-radius:50%;background:#1565d8;flex-shrink:0;}
.ox-news-scroll a .c{font-size:11px;font-weight:600;color:#1565d8;background:#eef4ff;border-radius:5px;padding:2px 7px;}
.ox-news-all{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:44px;color:#9aa7b5;border-left:1px solid #eef2f7;}
.ox-news-all:hover{color:#1565d8;}
@keyframes oxnews{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
@media (max-width:640px){.ox-news-badge span{display:none;}}

/* ============================================================
   FORUM (2026) — scoped restyle of legacy .forum-page2 markup
   ============================================================ */
.forum-page2{max-width:1200px !important;margin:0 auto !important;padding:28px 20px 70px !important;background:transparent !important;}
.forum-page2 .f2-hero,.forum-page2 .ft-hero{background:#fff;border:1px solid #e3e9f0;border-radius:16px;padding:24px 26px;margin-bottom:20px;}
.forum-page2 .f2-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;}
.forum-page2 .f2-hero-text h1,.forum-page2 .ft-hero-title{font-size:24px;font-weight:800;letter-spacing:-.02em;color:#0e1a2b;margin:0 0 6px;}
.forum-page2 .f2-hero-text h1 i,.forum-page2 .ft-hero-title i{color:#1565d8;}
.forum-page2 .f2-hero-text p{font-size:13.5px;color:#5b6b7d;margin:0;}
.forum-page2 .f2-hero-stats,.forum-page2 .ft-hero-stats{display:flex;gap:10px;flex-wrap:wrap;}
.forum-page2 .f2-hs,.forum-page2 .ft-hs{background:#f7fafd;border:1px solid #eef2f7;border-radius:10px;padding:8px 12px;font-size:12.5px;color:#5b6b7d;}
.forum-page2 .f2-hs strong,.forum-page2 .ft-hs strong{color:#0e1a2b;}
.forum-page2 .f2-hs i,.forum-page2 .ft-hs i{color:#1565d8;margin-right:4px;}
.forum-page2 .f2-hs-today{background:#fff7ed;border-color:#fed7aa;color:#9a6a3a;}
.forum-page2 .f2-hs-today i{color:#ea580c;}
.forum-page2 .f2-layout{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start;}
@media(max-width:900px){.forum-page2 .f2-layout{grid-template-columns:1fr;}}
.forum-page2 .f2-section,.forum-page2 .f2-side-block{background:#fff;border:1px solid #e3e9f0;border-radius:14px;overflow:hidden;}
.forum-page2 .f2-main{background:transparent;}
.forum-page2 .f2-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 4px;font-size:15px;font-weight:700;color:#0e1a2b;}
.forum-page2 .f2-section-head h2{font-size:16px;font-weight:800;color:#0e1a2b;margin:0;}
.forum-page2 .f2-section-head i{color:#1565d8;}
.forum-page2 .f2-sh-count{background:#eef4ff;color:#1565d8;font-size:12px;font-weight:700;border-radius:999px;padding:2px 10px;}
.forum-page2 .f2-cat-list{display:flex;flex-direction:column;gap:10px;}
.forum-page2 .f2-cat-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e3e9f0;border-radius:12px;padding:16px 18px;text-decoration:none;transition:.15s;}
.forum-page2 .f2-cat-card:hover{border-color:#c3d3e6;box-shadow:0 4px 14px rgba(14,26,43,.05);}
.forum-page2 .f2-cc-icon{width:44px;height:44px;border-radius:11px;background:#eef4ff;color:#1565d8;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.forum-page2 .f2-cc-info{flex:1;min-width:0;}
.forum-page2 .f2-cc-info h3{font-size:15px;font-weight:700;color:#0e1a2b;margin:0 0 3px;}
.forum-page2 .f2-cc-desc{font-size:12.5px;color:#9aa7b5;margin:0 0 5px;}
.forum-page2 .f2-cc-last{font-size:12px;color:#9aa7b5;}
.forum-page2 .f2-cc-last i{color:#c3ccd6;margin-right:4px;}
.forum-page2 .f2-cc-nums{display:flex;flex-direction:column;gap:3px;text-align:right;flex-shrink:0;}
.forum-page2 .f2-cc-num{font-size:12px;color:#9aa7b5;white-space:nowrap;}
.forum-page2 .f2-cc-num strong{color:#0e1a2b;}
.forum-page2 .f2-cc-arrow{color:#c3ccd6;flex-shrink:0;}
.forum-page2 .f2-side-block{margin-bottom:16px;}
.forum-page2 .f2-sb-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eef2f7;}
.forum-page2 .f2-sb-head h3{font-size:14px;font-weight:700;color:#0e1a2b;margin:0;}
.forum-page2 .f2-sb-head h3 i{color:#1565d8;margin-right:6px;}
.forum-page2 .f2-sb-head small{font-size:11px;color:#9aa7b5;}
.forum-page2 .f2-topic-mini-list{display:flex;flex-direction:column;}
.forum-page2 .f2-tm-row{display:flex;gap:11px;align-items:flex-start;padding:11px 16px;border-top:1px solid #f2f5f9;text-decoration:none;}
.forum-page2 .f2-tm-row:hover{background:#f7fafd;}
.forum-page2 .f2-tm-rank{width:22px;height:22px;border-radius:6px;background:#eef2f7;color:#5b6b7d;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:'Noto Sans Mono',monospace;}
.forum-page2 .f2-tm-info{flex:1;min-width:0;}
.forum-page2 .f2-tm-title{display:block;font-size:13px;font-weight:600;color:#0e1a2b;margin-bottom:3px;}
.forum-page2 .f2-tm-meta{font-size:11px;color:#9aa7b5;display:flex;gap:8px;flex-wrap:wrap;}
.forum-page2 .f2-tm-meta i{margin-right:2px;color:#c3ccd6;}
.forum-page2 .f2-new-topic-btn{display:inline-flex;align-items:center;gap:8px;background:#1565d8;color:#fff;border:none;border-radius:10px;padding:11px 18px;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;}
.forum-page2 .f2-breadcrumb,.forum-page2 .ft-bc{display:flex;align-items:center;gap:7px;font-size:13px;color:#9aa7b5;margin-bottom:16px;flex-wrap:wrap;}
.forum-page2 .f2-breadcrumb a,.forum-page2 .ft-bc a{color:#5b6b7d;}
.forum-page2 .f2-topic-row{text-decoration:none;}
.forum-page2 .f2-topic-row:hover{background:#f7fafd;}
.forum-page2 .f2-empty,.forum-page2 .f2-empty-sm{padding:30px 16px;text-align:center;color:#9aa7b5;font-size:13px;}
/* topic detail */
.forum-page2 .ft-hero-top{display:flex;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap;}
.forum-page2 .ft-badge{font-size:11px;font-weight:700;border-radius:6px;padding:3px 9px;}
.forum-page2 .ft-badge-pin{background:#eef4ff;color:#1565d8;}
.forum-page2 .ft-badge-lock{background:#fef2f2;color:#dc2626;}
.forum-page2 .ft-hero-site,.forum-page2 .ft-stat-link,.forum-page2 .ft-hero-site-url{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#1565d8;}
.forum-page2 .ft-hero-stats{margin-top:10px;}
.forum-page2 .ft-posts{display:flex;flex-direction:column;gap:14px;margin-top:18px;}
.forum-page2 .ft-post{display:flex;background:#fff;border:1px solid #e3e9f0;border-radius:14px;overflow:hidden;}
.forum-page2 .ft-post-op{border-color:#cfe0fa;box-shadow:0 2px 12px rgba(21,101,216,.06);}
.forum-page2 .ft-post-sidebar{width:150px;flex-shrink:0;background:#f7fafd;border-right:1px solid #eef2f7;padding:18px 16px;text-align:center;}
.forum-page2 .ft-post-avatar{width:52px;height:52px;border-radius:50%;background:#eef4ff;color:#1565d8;display:flex;align-items:center;justify-content:center;font-size:22px;margin:0 auto 10px;}
.forum-page2 .ft-post-user{font-size:13.5px;font-weight:700;color:#0e1a2b;}
.forum-page2 .ft-post-role{font-size:11px;color:#9aa7b5;margin-top:2px;}
.forum-page2 .ft-post-body{flex:1;min-width:0;padding:16px 20px;}
.forum-page2 .ft-post-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap;font-size:12px;color:#9aa7b5;}
.forum-page2 .ft-post-content{font-size:14px;line-height:1.7;color:#334155;word-wrap:break-word;overflow-wrap:anywhere;}
.forum-page2 .ft-vote-box{display:flex;align-items:center;gap:8px;margin-top:14px;}
.forum-page2 .ft-vote-btn{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #e3e9f0;border-radius:8px;padding:6px 12px;font-size:13px;color:#5b6b7d;cursor:pointer;}
.forum-page2 .ft-vote-like:hover{border-color:#16a34a;color:#16a34a;}
.forum-page2 .ft-vote-dislike:hover{border-color:#dc2626;color:#dc2626;}
.forum-page2 .ft-reply-form,.forum-page2 .ft-notice{background:#fff;border:1px solid #e3e9f0;border-radius:14px;padding:18px 20px;margin-top:18px;}
.forum-page2 .ft-reply-head{font-size:15px;font-weight:700;color:#0e1a2b;margin-bottom:12px;}
.forum-page2 .ft-reply-textarea,.forum-page2 .ft-edit-textarea{width:100%;border:1px solid #e3e9f0;border-radius:10px;padding:12px 14px;font-family:inherit;font-size:14px;color:#0e1a2b;resize:vertical;}
.forum-page2 .ft-reply-submit,.forum-page2 .ft-edit-save{background:#1565d8;color:#fff;border:none;border-radius:10px;padding:11px 20px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;}
.forum-page2 .ft-edit-cancel{background:#fff;border:1px solid #e3e9f0;color:#5b6b7d;border-radius:10px;padding:11px 18px;cursor:pointer;font-family:inherit;}
.forum-page2 .ft-notice-login,.forum-page2 .ft-notice-locked{text-align:center;color:#5b6b7d;font-size:13.5px;}
.forum-page2 .ft-notice-login a{font-weight:600;}
.forum-page2 .ft-mod-btn{background:#fff;border:1px solid #e3e9f0;border-radius:8px;padding:6px 12px;font-size:12px;color:#5b6b7d;cursor:pointer;}
.forum-page2 .ft-mod-danger:hover{border-color:#dc2626;color:#dc2626;}
.forum-page2 .ft-warning-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:16px;color:#9a6a3a;margin-bottom:16px;}
.forum-page2 .ft-warning-header{font-weight:700;margin-bottom:6px;}
.forum-page2 .ft-post-del,.forum-page2 .ft-post-edit{color:#9aa7b5;font-size:12px;cursor:pointer;background:none;border:none;}
.forum-page2 .ft-edited{font-size:11px;color:#b3bdc9;font-style:italic;}

/* ============================================================
   NEWS (2026) — scoped restyle of legacy .news-page2 markup
   ============================================================ */
.news-page2{max-width:1200px !important;margin:0 auto !important;padding:28px 20px 70px !important;background:transparent !important;}
/* list header + filter */
.news-page2 .n2-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px;}
.news-page2 .n2-header-left{display:flex;align-items:center;gap:12px;}
.news-page2 .n2-header h1{font-size:26px;font-weight:800;letter-spacing:-.02em;color:#0e1a2b;margin:0;}
.news-page2 .n2-header h1 i{color:#1565d8;margin-right:8px;}
.news-page2 .n2-count{background:#eef4ff;color:#1565d8;font-size:12px;font-weight:700;border-radius:999px;padding:3px 11px;white-space:nowrap;}
.news-page2 .n2-filter{display:flex;gap:6px;flex-wrap:wrap;}
.news-page2 .n2-filter-btn{font-size:12.5px;font-weight:500;color:#5b6b7d;background:#fff;border:1px solid #e3e9f0;border-radius:8px;padding:7px 13px;text-decoration:none;white-space:nowrap;}
.news-page2 .n2-filter-btn.active{background:#1565d8;border-color:#1565d8;color:#fff;}
/* editorial top: hero + side */
.news-page2 .np-top{display:grid;grid-template-columns:1.8fr 1fr;gap:16px;margin-bottom:30px;}
.news-page2 .np-hero{position:relative;display:block;border-radius:16px;overflow:hidden;min-height:400px;text-decoration:none;border:1px solid #e3e9f0;background:#0e1a2b;}
.news-page2 .np-hero-img{position:absolute;inset:0;}
.news-page2 .np-hero-img img{width:100%;height:100%;object-fit:cover;}
.news-page2 .np-hero-overlay{position:absolute;left:0;right:0;bottom:0;padding:26px 28px;background:linear-gradient(to top,rgba(14,26,43,.94),rgba(14,26,43,.55) 55%,transparent);}
.news-page2 .np-hero-title{font-size:24px;font-weight:800;color:#fff;margin:12px 0 8px;line-height:1.25;}
.news-page2 .np-hero-excerpt{font-size:14px;color:#cdd7e5;margin:0 0 12px;line-height:1.55;}
.news-page2 .np-hero-meta{font-size:12px;color:#9fb2cc;display:flex;gap:16px;flex-wrap:wrap;}
.news-page2 .np-hero-meta i{margin-right:4px;}
.news-page2 .np-cat{display:inline-block;background:#1565d8;color:#fff;font-size:11px;font-weight:700;border-radius:6px;padding:4px 10px;}
.news-page2 .np-cat-sm{font-size:10px;padding:2px 8px;background:#eef4ff;color:#1565d8;}
.news-page2 .np-side{display:flex;flex-direction:column;gap:12px;}
.news-page2 .np-side-item{display:flex;gap:0;background:#fff;border:1px solid #e3e9f0;border-radius:12px;overflow:hidden;text-decoration:none;transition:.15s;}
.news-page2 .np-side-item:hover{border-color:#c3d3e6;box-shadow:0 4px 14px rgba(14,26,43,.05);}
.news-page2 .np-side-img{width:112px;flex-shrink:0;background:#eef2f7;}
.news-page2 .np-side-img img{width:100%;height:100%;object-fit:cover;min-height:100px;}
.news-page2 .np-side-body{padding:12px 14px;min-width:0;}
.news-page2 .np-side-title{font-size:14px;font-weight:700;color:#0e1a2b;margin:7px 0 6px;line-height:1.35;}
.news-page2 .np-side-meta{font-size:11px;color:#9aa7b5;}
.news-page2 .np-side-meta i{margin-right:3px;color:#c3ccd6;}
/* grid */
.news-page2 .np-section-title{font-size:18px;font-weight:800;color:#0e1a2b;margin:0 0 16px;}
.news-page2 .np-section-title i{color:#ea580c;margin-right:8px;}
.news-page2 .np-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;}
.news-page2 .np-card{background:#fff;border:1px solid #e3e9f0;border-radius:14px;overflow:hidden;text-decoration:none;display:flex;flex-direction:column;transition:.15s;}
.news-page2 .np-card:hover{box-shadow:0 8px 24px rgba(14,26,43,.08);transform:translateY(-2px);}
.news-page2 .np-card-img{height:160px;overflow:hidden;background:#eef2f7;}
.news-page2 .np-card-img img{width:100%;height:100%;object-fit:cover;}
.news-page2 .np-card-body{padding:16px 18px;display:flex;flex-direction:column;gap:8px;flex:1;}
.news-page2 .np-card-title{font-size:15px;font-weight:700;color:#0e1a2b;margin:2px 0 0;line-height:1.35;}
.news-page2 .np-card-excerpt{font-size:12.5px;color:#9aa7b5;line-height:1.55;margin:0;flex:1;}
.news-page2 .np-card-meta{font-size:11px;color:#9aa7b5;display:flex;gap:12px;flex-wrap:wrap;}
.news-page2 .np-card-meta i{margin-right:3px;color:#c3ccd6;}
/* single article */
.news-page2 .n2-article{max-width:760px;margin:0 auto;}
.news-page2 .n2-back{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;color:#5b6b7d;margin-bottom:20px;}
.news-page2 .n2-article-img{border-radius:16px;overflow:hidden;margin-bottom:22px;border:1px solid #e3e9f0;}
.news-page2 .n2-article-img img{width:100%;display:block;}
.news-page2 .n2-article-title{font-size:30px;font-weight:800;letter-spacing:-.02em;color:#0e1a2b;line-height:1.25;margin:0 0 14px;}
.news-page2 .n2-article-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;color:#9aa7b5;padding-bottom:18px;border-bottom:1px solid #eef2f7;margin-bottom:22px;}
.news-page2 .n2-article-meta i{margin-right:4px;color:#c3ccd6;}
.news-page2 .n2-meta-tag{color:#1565d8;font-weight:600;}
.news-page2 .n2-meta-tag i{color:#1565d8;}
.news-page2 .n2-article-body{font-size:15.5px;line-height:1.8;color:#334155;}
.news-page2 .np-share{display:flex;align-items:center;gap:10px;margin-top:30px;padding-top:20px;border-top:1px solid #eef2f7;flex-wrap:wrap;}
.news-page2 .np-share-label{font-size:13px;font-weight:600;color:#5b6b7d;}
.news-page2 .np-share-btn{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#fff !important;border:none;cursor:pointer;text-decoration:none;font-size:15px;}
.news-page2 .np-share-fb{background:#1877f2;}
.news-page2 .np-share-tw{background:#0e1a2b;}
.news-page2 .np-share-tg{background:#229ed9;}
.news-page2 .np-share-wa{background:#25d366;}
.news-page2 .np-share-copy{background:#5b6b7d;}
@media(max-width:860px){.news-page2 .np-top{grid-template-columns:1fr;}.news-page2 .np-hero{min-height:300px;}}

/* ============================================================
   DASHBOARD (2026) — scoped recolor of legacy .db2 markup
   (colors/borders/radius only — layout & JS untouched)
   ============================================================ */
.db2{background:transparent !important;color:#0e1a2b;}
.db2-content{background:transparent !important;color:#0e1a2b;min-width:0;}
/* sidebar must NOT stretch with long content; the footer (admin/logout) must
   stay pinned & visible while ONLY the nav scrolls when it's too tall. */
@media(min-width:992px){
  .db2{align-items:flex-start !important;}
  .db2-sidebar{position:sticky !important;top:0 !important;align-self:flex-start !important;height:calc(100vh - 65px) !important;max-height:calc(100vh - 65px) !important;display:flex !important;flex-direction:column !important;overflow:hidden !important;}
  .db2-sidebar .db2-profile{flex-shrink:0 !important;}
  .db2-sidebar .db2-nav{flex:1 1 auto !important;overflow-y:auto !important;min-height:0 !important;}
  .db2-sidebar .db2-side-footer{flex-shrink:0 !important;margin-top:auto !important;padding-top:12px !important;}
  .db2-sidebar .db2-nav::-webkit-scrollbar{width:6px;}
  .db2-sidebar .db2-nav::-webkit-scrollbar-thumb{background:#e3e9f0;border-radius:3px;}
}
.db2 .db2-page-header{margin-bottom:24px !important;}
.db2 .db2-page-header h1{font-size:27px !important;font-weight:800 !important;letter-spacing:-0.02em !important;color:#0e1a2b !important;margin:0 !important;display:flex;align-items:center;gap:11px;flex-wrap:wrap;}
.db2 .db2-page-header h1 i{color:#1565d8 !important;font-size:24px;}
.db2 .db2-page-header p{color:#9aa7b5 !important;font-size:14px !important;margin:8px 0 0 !important;}
.db2 .db2-text-muted{color:#9aa7b5 !important;}
/* card headers: stronger, icon-accented */
.db2 .db2-card-header{padding-bottom:14px !important;margin-bottom:16px !important;}
.db2 .db2-card-header h3{font-size:15.5px !important;font-weight:700 !important;color:#0e1a2b !important;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.db2 .db2-card-header h3 i{color:#1565d8 !important;}
/* color swatches: clean rounded tiles with a clear active ring */
.db2 .db2-color-dot{width:26px !important;height:26px !important;border-radius:8px !important;cursor:pointer !important;box-shadow:0 0 0 1px #e3e9f0 !important;border:3px solid transparent !important;padding:0 !important;}
.db2 .db2-color-dot.active{border:3px solid #0e1a2b !important;}
/* form labels + fields: a touch more breathing room */
.db2 .db2-form-group{margin-bottom:2px;}
.db2 .db2-form-group label{font-size:12.5px !important;font-weight:600 !important;color:#5b6b7d !important;margin-bottom:7px !important;display:block;}
.db2 .db2-input,.db2 .db2-select,.db2 .db2-textarea{padding:11px 13px !important;font-size:14px !important;}
/* info items → clean chips (settings) */
.db2 .db2-info-item{padding:14px 16px !important;display:flex;flex-direction:column;gap:5px;}
.db2 .db2-info-label{font-size:11.5px !important;font-weight:600 !important;text-transform:uppercase;letter-spacing:.04em;}
.db2 .db2-info-value{font-size:15px !important;font-weight:700 !important;}
/* buttons: consistent weight */
.db2 .db2-btn{font-weight:600 !important;padding:10px 16px !important;}
.db2 .db2-btn-sm{padding:8px 14px !important;font-size:13px !important;}
/* sidebar */
.db2-sidebar{background:#fff !important;border:1px solid #e3e9f0 !important;border-radius:16px !important;box-shadow:none !important;color:#5b6b7d !important;}
.db2-sidebar *{border-color:#eef2f7;}
.db2-profile{border-bottom:1px solid #eef2f7 !important;background:transparent !important;}
.db2-avatar{background:#eef4ff !important;color:#1565d8 !important;}
.db2-profile-name{color:#0e1a2b !important;}
.db2-profile-role{color:#5b6b7d !important;background:#f4f7fa !important;}
.db2-nav-item{color:#5b6b7d !important;border-radius:9px !important;background:transparent !important;}
.db2-nav-item i{color:inherit !important;}
.db2-nav-item:hover{background:#f4f7fa !important;color:#0e1a2b !important;}
.db2-nav-item.active{background:#eef4ff !important;color:#1565d8 !important;}
.db2-nav-divider{border-top:1px solid #eef2f7 !important;}
.db2-nav-section-label{color:#9aa7b5 !important;}
.db2-nav-badge{background:#1565d8 !important;color:#fff !important;}
.db2-side-footer{border-top:1px solid #eef2f7 !important;}
.db2-admin-link{background:#f4f7fa !important;color:#5b6b7d !important;border:1px solid #e3e9f0 !important;border-radius:9px !important;}
.db2-admin-link:hover{background:#eef4ff !important;color:#1565d8 !important;border-color:#cfe0fa !important;}
.db2-logout-link{background:#fff !important;color:#dc2626 !important;border:1px solid #f3d4d4 !important;border-radius:9px !important;}
.db2-logout-link:hover{background:#fef2f2 !important;color:#b91c1c !important;}
/* cards */
.db2-card,.db2-counter-card,.db2-api-site-block,.db2-news-history{background:#fff !important;border:1px solid #e3e9f0 !important;border-radius:14px !important;box-shadow:none !important;color:#0e1a2b !important;}
/* forms sit INSIDE cards — no frame of their own */
.db2-settings-form,.db2-counter-form,.db2-news-form{background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;}
.db2-preview-box{background:#f7fafd !important;border:1px solid #eef2f7 !important;border-radius:10px !important;}
.db2-card-header{border-bottom:1px solid #eef2f7 !important;background:transparent !important;}
.db2-card-title,.db2-card-header{color:#0e1a2b !important;}
.db2-card-link{color:#1565d8 !important;}
.db2-card-body{color:#334155 !important;}
/* stat cards */
.db2-stat-card{background:#fff !important;border:1px solid #e3e9f0 !important;border-radius:14px !important;color:#0e1a2b !important;box-shadow:none !important;}
.db2-stat-value{color:#0e1a2b !important;}
.db2-stat-label{color:#9aa7b5 !important;}
.db2-stat-icon{border-radius:11px !important;}
.db2-stat-blue .db2-stat-icon,.db2-stat-primary .db2-stat-icon{background:#eef4ff !important;color:#1565d8 !important;}
.db2-stat-emerald .db2-stat-icon{background:#e6f7f4 !important;color:#0e9f8e !important;}
.db2-stat-amber .db2-stat-icon{background:#fdf0e8 !important;color:#d8632e !important;}
.db2-stat-rose .db2-stat-icon{background:#fbeaf0 !important;color:#c0396b !important;}
.db2-stat-purple .db2-stat-icon{background:#f1ecfb !important;color:#7b52d8 !important;}
/* mini stats */
.db2-ss,.db2-mini-stat,.db2-act-item{background:#f7fafd !important;border:1px solid #eef2f7 !important;border-radius:10px !important;color:#0e1a2b !important;}
.db2-info-item{background:#f7fafd !important;border:1px solid #eef2f7 !important;border-radius:10px !important;color:#0e1a2b !important;}
/* stat chips: enough vertical padding so labels (ჰ/ღ/ე descenders) aren't clipped */
.db2-ss{padding:13px 10px !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:4px !important;text-align:center !important;min-height:0 !important;overflow:visible !important;}
.db2-ss-val{line-height:1.15 !important;display:block;}
.db2-ss-lbl{line-height:1.3 !important;display:block;}
.db2-ss-lbl,.db2-act-lbl,.db2-info-label,.db2-mini-info{color:#9aa7b5 !important;}
.db2-ss-val,.db2-act-val,.db2-info-value{color:#0e1a2b !important;}
.db2-ss-blue .db2-ss-val,.db2-ss-blue{color:#1565d8 !important;}
.db2-ss-green .db2-ss-val,.db2-ss-green{color:#16a34a !important;}
.db2-ss-amber .db2-ss-val,.db2-ss-amber{color:#d8632e !important;}
.db2-ss-rose .db2-ss-val,.db2-ss-rose{color:#c0396b !important;}
.db2-ss-purple .db2-ss-val,.db2-ss-purple{color:#7b52d8 !important;}
/* buttons */
.db2-btn{border-radius:10px !important;font-family:inherit !important;}
.db2-btn-primary{background:#1565d8 !important;color:#fff !important;border:none !important;}
.db2-btn-primary:hover{background:#0f4fac !important;}
.db2-btn-secondary,.db2-btn-outline{background:#fff !important;border:1px solid #e3e9f0 !important;color:#5b6b7d !important;}
.db2-btn-secondary:hover,.db2-btn-outline:hover{border-color:#c3d3e6 !important;color:#0e1a2b !important;}
.db2-btn-danger{background:#dc2626 !important;color:#fff !important;border:none !important;}
.db2-btn-purple{background:#7b52d8 !important;color:#fff !important;border:none !important;}
/* inputs */
.db2-input,.db2-select,.db2-textarea,.db2-api-key-input,.db2-color-input,.db2-news-form input,.db2-news-form textarea{background:#fff !important;border:1px solid #e3e9f0 !important;border-radius:10px !important;color:#0e1a2b !important;font-family:inherit !important;}
.db2-input:focus,.db2-select:focus,.db2-textarea:focus{border-color:#1565d8 !important;box-shadow:0 0 0 3px rgba(21,101,216,.12) !important;outline:none !important;}
.db2-form-group label,.db2-form-group>label{color:#0e1a2b !important;}
/* badges */
.db2-badge{border-radius:6px !important;}
.db2-badge-online,.db2-badge-open,.db2-badge-ok{background:#e8f7ee !important;color:#16a34a !important;}
.db2-badge-closed,.db2-badge-err{background:#fef2f2 !important;color:#dc2626 !important;}
.db2-badge-req{background:#fbeaf0 !important;color:#c0396b !important;}
.db2-badge-opt{background:#eef2f7 !important;color:#9aa7b5 !important;}
/* alerts */
.db2-alert{border-radius:10px !important;}
.db2-alert-success{background:#e8f7ee !important;border:1px solid #bfe6cd !important;color:#1a6b38 !important;}
.db2-alert-error{background:#fef2f2 !important;border:1px solid #fecaca !important;color:#b91c1c !important;}
.db2-site-alert-warning{background:#fff7ed !important;border:1px solid #fed7aa !important;color:#9a6a3a !important;border-radius:10px !important;}
.db2-site-alert-danger{background:#fef2f2 !important;border:1px solid #fecaca !important;color:#b91c1c !important;border-radius:10px !important;}
/* tables */
.db2-api-table{color:#0e1a2b !important;}
.db2-api-table th{background:#f7fafd !important;color:#9aa7b5 !important;border-color:#eef2f7 !important;}
.db2-api-table td{border-color:#eef2f7 !important;color:#334155 !important;}
.db2-api-method-get,.db2-api-method{background:#e8f7ee !important;color:#16a34a !important;border-radius:6px !important;}
.db2-api-url,.db2-api-endpoint{color:#0e1a2b !important;}
.db2-api-notes{color:#9aa7b5 !important;}
/* code blocks stay dark (matches the rest of the redesign) */
.db2-code,.db2-code-block{background:#0e1a2b !important;color:#cdd7e5 !important;border-radius:10px !important;border:none !important;}
.db2-code-header{background:#182740 !important;color:#cdd7e5 !important;}
.db2-copy-btn,.db2-code-copy{background:#182740 !important;color:#cdd7e5 !important;border:1px solid #2b3a52 !important;border-radius:7px !important;}
/* site cards */
.db2-site-card{background:#fff !important;border:1px solid #e3e9f0 !important;border-radius:14px !important;color:#0e1a2b !important;padding:20px 22px !important;}
/* breathing room between the card's stacked sections (were glued together) */
.db2-site-alert{margin:0 0 16px !important;padding:13px 15px !important;border-radius:10px !important;display:flex !important;gap:11px !important;align-items:flex-start !important;line-height:1.55 !important;font-size:13px !important;}
.db2-site-alert i{margin-top:2px;flex-shrink:0;}
.db2-site-alert strong{display:block;margin-bottom:2px;}
.db2-site-alert a{font-weight:600;white-space:nowrap;}
.db2-site-top{margin-bottom:16px !important;}
.db2-site-stats{margin-bottom:14px !important;gap:10px !important;}
.db2-site-actions{margin-top:16px !important;display:flex !important;gap:8px !important;flex-wrap:wrap !important;}
.db2-site-name{color:#0e1a2b !important;}
.db2-site-url,.db2-site-url-sm{color:#9aa7b5 !important;}
.db2-site-rank{background:#eef4ff !important;color:#1565d8 !important;border-radius:8px !important;}
.db2-site-cat,.db2-tag{background:#eef4ff !important;color:#1565d8 !important;border-radius:6px !important;}
/* misc */
.db2-empty,.db2-empty-sm{color:#9aa7b5 !important;}
.db2-empty-icon{color:#c3ccd6 !important;}
.db2-news-title{color:#0e1a2b !important;}
.db2-news-time{color:#9aa7b5 !important;}
.db2-quick-links a{color:#1565d8 !important;}
.db2-preview-label{color:#9aa7b5 !important;}
.db2-mini-row{border-bottom:1px solid #f2f5f9 !important;color:#334155 !important;}
/* campaign row actions → dropdown menu (fixed-positioned to escape table overflow) */
.camp-act-btn:hover{border-color:#c3d3e6 !important;color:#1565d8 !important;}
.camp-act-menu{min-width:190px;background:#fff;border:1px solid #e3e9f0;border-radius:10px;box-shadow:0 14px 34px rgba(14,26,43,.16);padding:5px;z-index:9999;}
.camp-act-menu form{margin:0;}
.camp-act-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border-radius:7px;font-size:13px;color:#334155;text-decoration:none;background:transparent;border:none;cursor:pointer;text-align:left;font-family:inherit;white-space:nowrap;line-height:1.2;}
.camp-act-item:hover{background:#f4f7fa;color:#0e1a2b;}
.camp-act-item i{width:16px;text-align:center;font-size:13px;flex-shrink:0;}

/* html_code — counter style cards polish + online-banner rows */
.ox-cstyle{transition:border-color .15s,box-shadow .15s,transform .12s;}
.ox-cstyle:hover{border-color:#c3d3e6 !important;box-shadow:0 4px 14px rgba(14,26,43,.05);transform:translateY(-1px);}
.ox-cstyle-img{max-height:44px;width:auto;}
@media(max-width:640px){
  .ox-ob-row{flex-direction:column !important;align-items:stretch !important;}
  .ox-ob-row>div:first-child{width:100% !important;}
}

/* ============================================================
   Responsive — collapse the design's fixed grids on small screens
   ============================================================ */
@media (max-width:860px){
  .oxh-nav{display:none;}
  .oxh-search{display:none;}
  .oxh-burger{display:inline-flex;}
  .h5-search-mobile-btn{display:inline-flex;}
  .oxh-inner{gap:14px;padding:0 16px;}
  .ox-main{padding:22px 16px 64px;}
  /* any inline grid on the pages: let horizontal tables scroll */
  .ox-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  /* generic: multi-column grids drop to single column */
  .ox-grid-collapse{grid-template-columns:1fr !important;}
}
@media (max-width:520px){
  .oxh-reg{padding:8px 12px;}
  .oxh-login{display:none;}
  .oxh-inner{gap:10px;padding:0 12px;}
}
