/* Site palette (owner's choice, 2026-11-20): navy frame, light grey page, white cards, green status, blue links.
 * Loaded last on news (themes/magazine/layout.php) and forum (forum/layout.php) pages, so it only re-points colours
 * defined by nizip-news-theme.css, forum-theme.css and forum-community(-light).css. Remove the link to go back. */
:root{
 --np-navy:#0b1d33;--np-navy-2:#13304f;--np-navy-line:#1f3d61;--np-nav-text:#c5d3e3;--np-nav-muted:#8ea3bf;
 --np-bg:#f3f5f9;--np-card:#e8ecf2;--np-row:#eef1f6;--np-tile:#e1e6ee;--np-line:#d3dbe6;--np-input:#fff;--np-input-line:#c3cedb;
 --np-ink:#2b3340;--np-body:#353535;--np-muted:#5b6168;
 --np-link:#2463ad;--np-link-hover:#1a3d66;--np-blue:#4a90d9;--np-blue-soft:#e5effa;
 --np-green:#146f32;--np-green-bright:#27c24c;--np-green-soft:#eef9f1;
 --np-orange:#c95a35;--np-red:#e3503e;--np-focus:#4a90d9;--np-button:#2463ad;--np-button-hover:#20426b
}
html[data-bs-theme=dark]{
 --np-bg:#0b1d33;--np-card:#10243e;--np-row:#142b48;--np-tile:#13304f;--np-line:#1f3d61;--np-input:#0d2038;--np-input-line:#2c4d74;
 --np-ink:#e8eef5;--np-body:#d5dee9;--np-muted:#8ea3bf;
 --np-link:#80b1e4;--np-link-hover:#a9caee;--np-blue-soft:#163a5f;
 --np-green:#4ecc6d;--np-green-soft:#123a2a;--np-orange:#ed7a53;--np-button-hover:#3b80cc
}

/* News pages: page, panels, text and Varient tokens. */
html[data-bs-theme] body.nizip-news{--vr-theme-color:var(--np-link);--news-panel:var(--np-card);--news-line:var(--np-line);--news-nav:var(--np-navy);--news-ink:var(--np-ink);--news-muted:var(--np-muted);
 --vr-body-bg:var(--np-bg);--vr-body-secondary-bg:var(--np-card);--vr-body-active-bg:var(--np-tile);--vr-input-bg:var(--np-input);--vr-border-color:var(--np-line);--vr-input-border-color:var(--np-input-line);
 --vr-text-main:var(--np-ink);--vr-text-main-secondary:var(--np-body);--vr-text-muted:var(--np-muted);--vr-text-subtle:var(--np-muted);--vr-text-faint:var(--np-muted);
 background:var(--np-bg)!important;color:var(--np-ink)!important}
html[data-bs-theme] body.nizip-news.body-index-page{--home-band:var(--np-bg);--home-surface:var(--np-card);--home-alt:var(--np-tile);--home-edge:var(--np-line);--home-accent:var(--np-link)}
html[data-bs-theme] .nizip-news a:hover{color:var(--np-link-hover)}
html[data-bs-theme] .nizip-news :is(.btn-custom,.btn-primary){background:var(--np-button);border-color:var(--np-button);color:#fff}
html[data-bs-theme] .nizip-news :is(.btn-custom,.btn-primary):hover{background:var(--np-button-hover);border-color:var(--np-button-hover);color:#fff}
html[data-bs-theme] .nizip-news :is(a,button,input,summary):focus-visible{outline-color:var(--np-focus)}
/* Navy frame: top bar, menu bar, mobile header and footer stay navy in both themes, with the logo made for dark ground. */
html[data-bs-theme] .nizip-news :is(.topbar,#sticky-menu-wrapper,.mobile-nav-wrapper .mobile-header){--tb-bg:var(--np-navy);--tb-text:var(--np-nav-text);background:var(--np-navy)!important;color:var(--np-nav-text);border-color:var(--np-navy-line)!important}
html[data-bs-theme] .nizip-news #sticky-menu-wrapper{background:var(--np-navy-2)!important}
html[data-bs-theme] .nizip-news :is(.topbar,#sticky-menu-wrapper,.mobile-header) :is(a,.nav-link,.header-btn,button){color:var(--np-nav-text)}
html[data-bs-theme] .nizip-news :is(.topbar,#sticky-menu-wrapper,.mobile-header) :is(a,.nav-link,.header-btn,button):hover,
html[data-bs-theme] .nizip-news #sticky-menu-wrapper .navbar-nav .nav-link:hover,html[data-bs-theme] .nizip-news #sticky-menu-wrapper .navbar-nav .active>.nav-link{color:#fff;border-color:var(--np-green-bright)}
html[data-theme] .nizip-news .mobile-nav-wrapper .header-btn{color:var(--np-nav-text)}
html[data-bs-theme] .nizip-news #theme-toggle{border-color:var(--np-navy-line)!important}
html[data-bs-theme] .nizip-news :is(.topbar,#sticky-menu-wrapper,.mobile-header,.offcanvas-logo,.footer-logo) .js-logo-light{display:none!important}
html[data-bs-theme] .nizip-news :is(.topbar,#sticky-menu-wrapper,.mobile-header,.offcanvas-logo,.footer-logo) .js-logo-dark{display:block!important}
html[data-bs-theme] .nizip-news #footer{--vr-footer-bg:var(--np-navy);background:var(--np-navy)!important;color:var(--np-nav-muted)!important;border-color:var(--np-navy-line)!important}
html[data-bs-theme] .nizip-news #footer :is(a,.widget-title,.title,h4,h5){color:var(--np-nav-text)}
html[data-bs-theme] .nizip-news #footer a:hover{color:#fff}
html[data-bs-theme] .nizip-news .section-title .title{border-left-color:var(--np-green-bright)}

/* Forum and every page with the community header. */
html[data-bs-theme] body.nizip-community{--community-bg:var(--np-bg);--community-panel:var(--np-card);--community-line:var(--np-line);--community-muted:var(--np-muted);--community-ink:var(--np-ink);--community-blue:var(--np-link);--vr-theme-color:var(--np-link);
 --bs-body-bg:var(--np-card);--bs-body-color:var(--np-ink);--bs-secondary-color:var(--np-muted);--bs-border-color:var(--np-line);--bs-tertiary-bg:var(--np-tile);
 --vr-text-main:var(--np-ink);--vr-text-main-secondary:var(--np-body);--vr-text-muted:var(--np-muted);--vr-text-subtle:var(--np-muted);--vr-text-faint:var(--np-muted);
 --vr-body-bg:var(--np-card);--vr-body-secondary-bg:var(--np-tile);--vr-body-active-bg:var(--np-blue-soft);--vr-input-bg:var(--np-input);--vr-border-color:var(--np-line);--vr-input-border-color:var(--np-input-line);
 background-color:var(--np-bg)!important;color:var(--np-ink)!important}
html[data-bs-theme] body.nizip-community .forum-olive{--vr-theme-color:var(--np-link);--forum-text:var(--np-ink);--forum-muted:var(--np-muted);--forum-line:var(--np-line);--forum-surface:var(--np-card);--forum-selected:var(--np-blue-soft);--nizip-archive-blue:var(--np-link);--nizip-archive-orange:var(--np-green-bright)}
html[data-bs-theme] .nizip-community :is(h1,h2,h3,h4,h5,h6),html[data-bs-theme] .nizip-community .forum-shell h1,html[data-bs-theme] .nizip-community .forum-post .forum-author-name,
html[data-bs-theme] .nizip-community .forum-olive .community-feed h4 a,html[data-bs-theme] .nizip-community .forum-olive .forum-sidebar h3.title a{color:var(--np-ink)}
html[data-bs-theme] .nizip-community .community-header{background:var(--np-navy);border-bottom-color:var(--np-navy-line)}
html[data-bs-theme] .nizip-community .community-header .community-primary a{color:var(--np-nav-text)}
html[data-bs-theme] .nizip-community .community-header .community-primary a:hover,html[data-bs-theme] .nizip-community .community-header .community-primary [aria-current]{color:#fff;text-decoration-color:var(--np-green-bright)}
html[data-bs-theme] .nizip-community .community-header :is(.community-account,.community-account a,.community-theme-toggle){color:var(--np-nav-text)}
html[data-bs-theme] .nizip-community .community-header .community-theme-toggle{border-color:var(--np-navy-line)}
html[data-bs-theme] .nizip-community .community-header .community-theme-toggle:hover{background:var(--np-navy-2);color:#fff}
html[data-bs-theme] .nizip-community .forum-olive>.forum-toolbar{background:var(--np-card);border-bottom:1px solid var(--np-line)}
html[data-bs-theme] .nizip-community .forum-toolbar .forum-top a{color:var(--np-body)}
html[data-bs-theme] .nizip-community .forum-toolbar .forum-top a:hover{color:var(--np-link)}
html[data-bs-theme] .nizip-community .forum-search{background:var(--np-input);border:1px solid var(--np-input-line)}
html[data-bs-theme] .nizip-community .forum-search input,html[data-bs-theme] .nizip-community .forum-search .forum-icon-button,html[data-bs-theme] .nizip-community .forum-search-scope{color:var(--np-body)}
html[data-bs-theme] .nizip-community .forum-search input::placeholder{color:var(--np-muted)}
html[data-bs-theme] .nizip-community .forum-breadcrumb{color:var(--np-muted)}
html[data-bs-theme] .nizip-community .forum-breadcrumb a,html[data-bs-theme] .nizip-community .forum-body a,html[data-bs-theme] .nizip-community .forum-unread-link,html[data-bs-theme] .nizip-community .forum-post-new,
html[data-bs-theme] .nizip-community .community-feed-meta .forum-unread-link,html[data-bs-theme] .nizip-community .forum-role{color:var(--np-link)}
html[data-bs-theme] .nizip-community .community-feed-meta>span,html[data-bs-theme] .nizip-community .community-category-count,html[data-bs-theme] .nizip-community .community-subcategories{color:var(--np-muted)}
html[data-bs-theme] .nizip-community .forum-body{color:var(--np-body)}
html[data-bs-theme] .nizip-community .forum-body blockquote{background:var(--np-tile);border-left-color:var(--np-blue)}
html[data-bs-theme] .nizip-community .community-category-image{background:var(--np-tile)}
/* Category stripes: palette colours, darker in light theme so they also read as text. */
html[data-bs-theme] .nizip-community .community-category{--category-accent:var(--np-green)}
html[data-bs-theme] .nizip-community .community-accent-1{--category-accent:var(--np-link)}
html[data-bs-theme] .nizip-community .community-accent-2{--category-accent:var(--np-orange)}
html[data-bs-theme] .nizip-community .community-accent-3{--category-accent:var(--np-link-hover)}
html[data-bs-theme] .nizip-community .community-accent-4{--category-accent:var(--np-green)}
html[data-bs-theme] .nizip-community .forum-olive :is(.btn-custom,.btn-primary),html[data-bs-theme] .nizip-community .forum-photo-button{background:var(--np-button);border-color:var(--np-button);color:#fff}
html[data-bs-theme] .nizip-community .forum-olive :is(.btn-custom,.btn-primary):hover,html[data-bs-theme] .nizip-community .forum-photo-button:hover{background:var(--np-button-hover);border-color:var(--np-button-hover);color:#fff}
html[data-bs-theme] .nizip-community .forum-olive .btn-outline-secondary{background:var(--np-card);border-color:var(--np-line);color:var(--np-link)}
html[data-bs-theme] .nizip-community :is(.forum-icon-button,.forum-action-menu>summary){color:var(--np-muted);border-color:var(--np-line)}
html[data-bs-theme] .nizip-community .forum-icon-button:hover{background:var(--np-blue-soft);color:var(--np-link)}
html[data-bs-theme] .nizip-community .forum-action-panel{background:var(--np-card);border-color:var(--np-line);color:var(--np-ink)}
html[data-bs-theme] .nizip-community .forum-action-heading{color:var(--np-ink)}
html[data-bs-theme] .nizip-community .forum-action-panel a:hover{background:var(--np-tile);color:var(--np-ink)}
html[data-bs-theme] .nizip-community :is(.form-control,.form-select){background:var(--np-input);color:var(--np-ink);border-color:var(--np-input-line)}
html[data-bs-theme] .nizip-community :is(input,textarea)::placeholder{color:var(--np-muted)}
html[data-bs-theme] .nizip-community .note-editor.note-frame{background:var(--np-card);border-color:var(--np-input-line)}
html[data-bs-theme] .nizip-community :is(.note-toolbar,.note-statusbar){background:var(--np-tile)!important;border-color:var(--np-line)!important}
html[data-bs-theme] .nizip-community .note-editable{background:var(--np-input)!important;color:var(--np-ink)!important}
html[data-bs-theme] .nizip-community .note-btn{background:var(--np-card)!important;color:var(--np-body)!important;border-color:var(--np-line)!important}
html[data-bs-theme] .nizip-community .forum-post:target{border-left-color:var(--np-green-bright)}
html[data-bs-theme] .nizip-community :is(a,button,input,select,textarea):focus-visible{outline-color:var(--np-focus)}
html[data-bs-theme] .nizip-community #footer{background:var(--np-navy)!important;color:var(--np-nav-muted)}
html[data-bs-theme] .nizip-community #footer :is(a,.widget-title){color:var(--np-nav-text)}
html[data-bs-theme] .nizip-community .profile-header{background:var(--np-tile)}

/* Raised surfaces (owner's request): panels a tone darker than the page, every panel and row slightly convex,
   lit from above with a soft outward shadow. */
:root{--np-raise:linear-gradient(180deg,rgba(255,255,255,.62) 0,rgba(255,255,255,.18) 42%,rgba(16,36,62,.03) 100%);
 --np-raise-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 1px 2px rgba(16,36,62,.12),0 4px 12px rgba(16,36,62,.07);
 --np-raise-row:linear-gradient(180deg,rgba(255,255,255,.7) 0,rgba(255,255,255,.2) 50%,rgba(16,36,62,.025) 100%);
 --np-raise-row-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(16,36,62,.1),0 2px 6px rgba(16,36,62,.05)}
html[data-bs-theme=dark]{--np-raise:linear-gradient(180deg,rgba(255,255,255,.06) 0,rgba(255,255,255,.015) 45%,rgba(0,0,0,.08) 100%);
 --np-raise-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 1px 2px rgba(0,0,0,.4),0 4px 12px rgba(0,0,0,.28);
 --np-raise-row:linear-gradient(180deg,rgba(255,255,255,.07) 0,rgba(255,255,255,.02) 50%,rgba(0,0,0,.06) 100%);
 --np-raise-row-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 1px 2px rgba(0,0,0,.35),0 2px 6px rgba(0,0,0,.2)}
html[data-bs-theme] .nizip-community :is(.community-category,.forum-sidebar,.forum-olive>.forum-toolbar,.forum-post:not(.forum-post-lead),.forum-category-block),
html[data-bs-theme] body.nizip-news.body-index-page :is(.section-category>.container-xl,.featured-section>.container-xl),
html[data-bs-theme] .nizip-news .sidebar-widget{background-color:var(--np-card)!important;background-image:var(--np-raise)!important;box-shadow:var(--np-raise-shadow)!important;border-color:var(--np-line)!important;border-radius:8px}
html[data-bs-theme] .nizip-community .forum-olive>.forum-toolbar{border-radius:0 0 8px 8px}
html[data-bs-theme] .nizip-community :is(.community-feed-topic,.forum-topic-row,.forum-category-row,.forum-sidebar .post-item-small),
html[data-bs-theme] .nizip-news .sidebar-widget .post-item-small{background-color:var(--np-row);background-image:var(--np-raise-row);box-shadow:var(--np-raise-row-shadow);border:0!important;border-radius:6px;margin:8px}
html[data-bs-theme] .nizip-community .community-feed-topic:last-child{margin-bottom:8px}
@media(max-width:575px){html[data-bs-theme] .nizip-community :is(.community-feed-topic,.forum-topic-row,.forum-category-row,.forum-sidebar .post-item-small){margin:6px 4px}}

/* Quotes inside messages: smaller text, long ones show a short preview and open on click (assets/forum.js). */
html .forum-body blockquote{font-size:.875em;line-height:1.55}
html .forum-body blockquote blockquote{font-size:1em}
html .forum-body blockquote.nz-q-closed{max-height:5.4em;overflow:hidden;position:relative;cursor:pointer}
html .forum-body blockquote.nz-q-closed::after{content:"Alıntının tamamı için tıklayın";position:absolute;left:0;right:0;bottom:0;padding:1.8em 18px 4px;font-size:12px;font-weight:600;color:var(--np-blue,#2463ad);background:linear-gradient(to bottom,transparent,var(--np-tile,#f5f5f5) 55%)}
html .forum-body blockquote.nz-q-closed:focus-visible{outline:2px solid var(--np-blue,#2463ad);outline-offset:2px}
html .forum-body blockquote.nz-q-long:not(.nz-q-closed){cursor:pointer}
html .forum-body blockquote.nz-q-long:not(.nz-q-closed)::after{content:"Alıntıyı kapat";display:block;margin-top:8px;font-size:12px;font-weight:600;color:var(--np-blue,#2463ad)}

/* Quotes inside the message editor (assets/forum-editor.js): read-only, tinted, short; a click opens or closes them. */
html .note-editable blockquote.nz-eq{position:relative;margin:8px 0;padding:8px 14px;font-size:.875em;line-height:1.5;background:rgba(36,99,173,.10);border-left:3px solid var(--np-blue,#2463ad);border-radius:0 6px 6px 0;max-height:4.4em;overflow:hidden;cursor:pointer;user-select:none}
html .note-editable blockquote.nz-eq.nz-eq-open{max-height:none;padding-bottom:26px}
html .note-editable blockquote.nz-eq.nz-eq-long::after{content:"Alıntının tamamı için tıklayın";position:absolute;left:0;right:0;bottom:0;padding:1.4em 14px 3px;font-size:11px;font-weight:600;color:var(--np-blue,#2463ad);background:linear-gradient(to bottom,transparent,#e9eff8 55%)}
html .note-editable blockquote.nz-eq.nz-eq-open::after{content:"Alıntıyı kapat";padding:3px 14px;background:none}
html[data-bs-theme="dark"] .note-editable blockquote.nz-eq.nz-eq-long:not(.nz-eq-open)::after{background:linear-gradient(to bottom,transparent,#1b2a3c 55%)}
