/* ================================================================
   NAJLEPSZE MEBLE — custom.css
   Exact replica of Zox News visual style
   Values extracted from zox-news/style.css (7210 lines)
   ================================================================ */

/* === TOP NAV BAR (mvp-main-nav-top) === */
.stb-topbar { background: #000; padding: 15px 0; text-align: center; z-index: 999; position: relative; }
.stb-topbar-inner { display: flex; justify-content: center; align-items: center; }
.stb-topbar-title { display: block; text-decoration: none; }
.stb-topbar-title-text { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin: 0; line-height: 1; }
@media (min-width: 768px) { .stb-topbar-title-text { font-size: 2.4rem; } }

/* === MAIN MENU BAR (mvp-nav-menu) === */
.stb-header { background: #fff; border-bottom: none; position: relative; z-index: 990; }
.stb-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 50px; }
.stb-nav-menu { flex: 1; display: none; text-align: center; }
@media (min-width: 1024px) { .stb-nav-menu { display: block; } }
.stb-menu { display: flex; justify-content: center; }
.stb-menu li a { display: block; padding: 18px 12px; font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 500; text-transform: uppercase; color: #000; line-height: 1; transition: all .25s; }
.stb-menu li a:hover { color: #c8a855; }
.stb-menu li.current-menu-item a,
.stb-menu li.current-menu-parent a { color: #c8a855; }

/* Hamburger */
.stb-hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
@media (min-width: 1024px) { .stb-hamburger { display: none; } }
.stb-hamburger span { display: block; width: 22px; height: 2px; background: #000; transition: all .3s; }
.stb-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.stb-hamburger.active span:nth-child(2) { opacity: 0; }
.stb-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.stb-nav-menu.open { display: block; position: absolute; top: 50px; left: 0; right: 0; background: #fff; border-top: 1px solid #ddd; z-index: 200; box-shadow: 0 10px 10px rgba(0,0,0,.2); }
.stb-nav-menu.open .stb-menu { flex-direction: column; }
.stb-nav-menu.open .stb-menu li a { padding: 12px 20px; border-bottom: 1px solid #eee; font-size: 13px; }

/* Search toggle */
.stb-search-toggle { background: none; border: none; cursor: pointer; padding: 10px; color: #000; }
.stb-search-toggle:hover { color: #c8a855; }

/* Search overlay */
.stb-search-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.92); z-index: 100000; display: flex; align-items: center; justify-content: center; }
.stb-search-overlay[hidden] { display: none; }
.stb-search-overlay-inner { width: 90%; max-width: 600px; position: relative; }
.stb-search-overlay .search-field { width: 100%; padding: 15px; font-size: 1.25rem; border: none; border-bottom: 2px solid #c8a855; background: transparent; color: #fff; font-family: 'Oswald', sans-serif; }
.stb-search-overlay .search-field::placeholder { color: rgba(255,255,255,.4); }
.stb-search-overlay .search-submit { background: #c8a855; color: #fff; border: none; padding: 15px 25px; font-family: 'Oswald', sans-serif; font-weight: 700; cursor: pointer; }
.stb-search-close { position: absolute; top: -50px; right: 0; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; }

/* === WIDGET HOME TITLE (skewed badge like Zox News) === */
.nm-col-title { text-align: center; margin-bottom: 15px; position: relative; }
.nm-col-title::before { content: ''; display: block; width: 100%; height: 1px; background: #ddd; position: absolute; top: 50%; left: 0; }
.nm-col-badge { display: inline-block; position: relative; z-index: 1; font-family: 'Oswald', sans-serif; font-size: .88rem; font-weight: 700; text-transform: uppercase; background: #ff005b; color: #fff; padding: 4px 18px; transform: skewX(-15deg); letter-spacing: .5px; }
.nm-col-badge > * { display: inline-block; transform: skewX(15deg); }
.nm-col-title a { text-decoration: none; color: #fff; }

/* === FEATURED GRID — exact Zox News values === */
.nm-featured { padding: 0; background: #fff; margin-bottom: 60px; }
.nm-featured-grid { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; }
@media (min-width: 1024px) {
    .nm-featured-grid { grid-template-columns: 280px 1fr 320px; gap: 20px; }
}

/* --- POPULARNE (left) — mvp-feat1-pop exact replica --- */
.nm-feat-col-popular { background: #fff; padding: 0; align-self: start; }
.nm-feat-col-latest { align-self: start; }
.nm-numbered-post { display: block; margin-top: 15px; position: relative; }
.nm-numbered-post:first-child { margin-top: 0; }
.nm-numbered-thumb { width: 100%; max-height: 140px; overflow: hidden; background: #f0f0f0; line-height: 0; }
.nm-numbered-thumb img { width: 100%; height: auto; display: block; transition: opacity .25s; }
.nm-numbered-post:hover .nm-numbered-thumb img { opacity: .8; }
.nm-numbered-body { position: relative; padding: 10px 0 0 15%; }
.nm-numbered-body .nm-feat-meta { margin-bottom: 5px; }
.nm-numbered-num { font-family: 'Oswald', sans-serif; font-size: 40px; font-weight: 700; color: #ccc; line-height: 1; position: absolute; top: 10px; left: 0; text-align: center; width: 13%; }
.nm-numbered-title { font-family: 'Oswald', sans-serif; font-size: .88rem; font-weight: 700; line-height: 1.2; color: #222; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- FEATURED CENTER — big + 2 subs with overlay --- */
.nm-feat-col-center { display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.nm-feat-overlay { display: block; position: relative; overflow: hidden; }
.nm-feat-overlay-big { flex: 0 0 auto; }
.nm-feat-overlay-small { flex: 0 0 auto; margin-top: 2px; }
.nm-feat-overlay-img { display: block; line-height: 0; overflow: hidden; }
.nm-feat-overlay-img img { width: 100%; display: block; transition: opacity .25s; }
.nm-feat-overlay:hover .nm-feat-overlay-img img { opacity: .8; }
.nm-feat-overlay-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 100px 4% 20px; background: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0.6) 50%, rgba(0,0,0,.9) 100%); color: #fff; z-index: 2; }
.nm-feat-overlay-content .nm-feat-meta { color: rgba(255,255,255,.7); margin-bottom: 8px; }
.nm-feat-overlay-content .stb-cat-badge { background: #ff005b; }
.nm-feat-overlay-title { font-family: 'Oswald', sans-serif; font-weight: 700; margin-top: 0; color: #fff; letter-spacing: -.02em; line-height: 1.1; font-size: 1.36rem; }
@media (max-width: 767px) { .nm-feat-overlay-title { font-size: .96rem; } }
.nm-feat-overlay-excerpt { font-family: 'Roboto', sans-serif; font-size: 1.1rem; font-weight: 300; margin-top: 10px; color: rgba(255,255,255,.8); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- NAJNOWSZE (right) — mvp-feat1-list exact replica --- */
.nm-feat-col-latest { background: #fff; padding: 0 !important; margin-left: 20px; margin-top: 0; }
.nm-feat-col-latest .nm-mini-post { display: flex; flex-direction: row; gap: 15px; padding: 0; margin-top: 15px; border-bottom: none; align-items: flex-start; }
.nm-feat-col-latest .nm-mini-post:first-child { margin-top: 0; }
.nm-feat-col-latest .nm-mini-thumb { width: 80px; height: auto; flex-shrink: 0; }
.nm-feat-col-latest .nm-mini-thumb img { width: 80px; height: auto; }
.nm-feat-col-latest .nm-mini-title { font-size: .8rem; font-weight: 700; letter-spacing: -.02em; }
.nm-feat-col-latest .stb-cat-badge { background: none; color: #777; padding: 0; font-size: .7rem; text-transform: uppercase; }
.nm-latest-ad { margin: 0 0 15px 0; padding: 0; }
.nm-latest-ad .cb-kreacje-placeholder,
.nm-latest-ad .cb-banner-kreacja-wrapper,
.nm-latest-ad [class*="cb-"] { margin-top: 0 !important; }

/* === CATEGORY SECTIONS (Dom, Oświetlenie) === */
.nm-cat-section { padding: 30px 0; border-top: 1px solid #ddd; background: #fff; }
.nm-cat-three-col { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .nm-cat-three-col { grid-template-columns: 280px 1fr 280px; gap: 15px; } }
.nm-cat-small-card { display: block; margin-bottom: 15px; }
.nm-cat-small-thumb { overflow: hidden; background: #f0f0f0; margin-bottom: 8px; }
.nm-cat-small-thumb img { width: 100%; height: auto; transition: opacity .25s; }
.nm-cat-small-card:hover .nm-cat-small-thumb img { opacity: .8; }
.nm-cat-small-title { font-family: 'Oswald', sans-serif; font-size: .8rem; font-weight: 700; line-height: 1.2; color: #222; letter-spacing: -.02em; margin-top: 4px; }
.nm-more-link { display: inline-block; font-family: 'Oswald', sans-serif; font-size: .9rem; font-weight: 700; text-transform: uppercase; color: #ff005b; margin-top: 10px; }
.nm-more-link:hover { color: #c8a855; }

/* === OŚWIETLENIE: 2 big + 4 small === */
.nm-osw-big-grid { display: grid; grid-template-columns: 1fr; gap: 2px; margin-bottom: 15px; }
@media (min-width: 768px) { .nm-osw-big-grid { grid-template-columns: 1fr 1fr; } }
.nm-osw-small-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
@media (min-width: 768px) { .nm-osw-small-grid { grid-template-columns: repeat(4, 1fr); } }
.nm-dark-card { display: block; }
.nm-dark-card-img { overflow: hidden; background: #f0f0f0; }
.nm-dark-card-img img { width: 100%; height: auto; transition: opacity .25s; }
.nm-dark-card:hover .nm-dark-card-img img { opacity: .8; }
.nm-dark-card-body-light { padding: 8px 0; }
.nm-dark-card-title-light { font-family: 'Oswald', sans-serif; font-size: .76rem; font-weight: 700; color: #222; line-height: 1.2; letter-spacing: -.02em; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === TABS (Nowości / Popularne) === */
.nm-tabs-bar { display: flex; gap: 0; margin-bottom: 15px; }
.nm-tab { background: none; border: none; font-family: 'Oswald', sans-serif; font-size: .9rem; font-weight: 700; text-transform: uppercase; padding: 6px 14px; cursor: pointer; color: #777; letter-spacing: .5px; transition: all .25s; transform: skewX(-15deg); }
.nm-tab > * { display: inline-block; transform: skewX(15deg); }
.nm-tab:hover { color: #000; }
.nm-tab.active { color: #fff; background: #ff005b; }

/* === MORE STORIES + SIDEBAR === */
.nm-more-section { padding: 30px 0; border-top: 1px solid #ddd; background: #fff; }
.nm-more-layout { display: flex; gap: 30px; }
.nm-more-main { flex: 1; min-width: 0; }
.nm-home-sidebar { width: 300px; flex-shrink: 0; }
@media (max-width: 1023px) { .nm-more-layout { flex-direction: column; } .nm-home-sidebar { width: 100%; } }
.nm-sidebar-tabs { margin-bottom: 25px; }
.nm-sidebar-ad { margin-bottom: 25px; }

/* === SINGLE POST — white bg, Zox News style === */
.nm-single-header { padding: 20px 0 15px; }
.nm-single-header .stb-cat-badge { margin-bottom: 10px; }
.nm-single-title { font-family: 'Oswald', sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1.1; margin: 8px 0; color: #000; letter-spacing: -.02em; }
@media (max-width: 767px) { .nm-single-title { font-size: 2rem; } }
.nm-single-excerpt { font-family: 'Roboto', sans-serif; font-size: 1.1rem; font-weight: 300; color: #555; margin-bottom: 15px; line-height: 1.4; }
.nm-single-author { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.nm-single-author img { border-radius: 50%; }
.nm-single-author-info { font-family: 'Roboto', sans-serif; font-size: .8rem; color: #777; line-height: 1.5; }
.nm-single-author-info span { display: block; }

/* === POPULAR SECTION (under single: 4 cols x 2 rows) === */
.nm-popular-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid #ddd; background: #fff; }
.nm-popular-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 768px) { .nm-popular-grid { grid-template-columns: repeat(4, 1fr); } }
.nm-popular-card { display: block; }
.nm-popular-thumb { overflow: hidden; background: #f0f0f0; margin-bottom: 8px; }
.nm-popular-thumb img { width: 100%; height: auto; transition: opacity .25s; }
.nm-popular-card:hover .nm-popular-thumb img { opacity: .8; }
.nm-popular-card-body { padding: 0; }
.nm-popular-card-title { font-family: 'Oswald', sans-serif; font-size: .8rem; font-weight: 700; line-height: 1.2; color: #222; letter-spacing: -.02em; margin-top: 4px; }

/* === ARCHIVE FEATURED === */
.nm-archive-featured { padding: 0; background: #fff; margin-bottom: 20px; }
.nm-archive-feat-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 768px) { .nm-archive-feat-grid { grid-template-columns: 1fr 1fr; } }
.nm-archive-feat-big { position: relative; overflow: hidden; min-height: 350px; background: #f0f0f0; }
@media (min-width: 768px) { .nm-archive-feat-big { min-height: 450px; } }
.nm-archive-feat-side { display: flex; flex-direction: column; gap: 2px; }
.nm-archive-cat-title { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; text-transform: uppercase; padding: 15px 0; color: #000; text-align: center; }

/* More button */
.nm-more-btn { display: block; text-align: center; padding: 14px 30px; margin-top: 25px; border: 1px solid #ddd; font-family: 'Oswald', sans-serif; font-size: .9rem; font-weight: 700; text-transform: uppercase; color: #000; letter-spacing: .5px; transition: all .25s; }
.nm-more-btn:hover { background: #000; color: #fff; border-color: #000; }

/* === CB ADS === */
.nm-billboard { margin: 20px auto; }
.nm-ad-inline { margin: 15px auto; }

/* === FOOTER — dark bg, legal links + copyright === */
.stb-footer { background: #111; color: #999; padding: 0; margin-top: 40px; }
.stb-footer-inner { padding: 30px 0; text-align: center; }
.stb-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-bottom: 15px; font-size: .85rem; }
.stb-footer-links a { color: #ccc; padding: 0 12px; transition: color .25s; }
.stb-footer-links a:hover { color: #c8a855; }
.stb-footer-sep { color: #555; }
.stb-footer-copyright { font-size: .8rem; color: #666; }
.stb-footer-copyright p { margin: 0; }
.stb-copyright-link { color: #c8a855; }
.stb-copyright-link:hover { color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 480px) {
    .stb-topbar-title-text { font-size: 1.8rem; }
    .nm-feat-overlay-big .nm-feat-overlay-title { font-size: 1rem; }
    .nm-single-title { font-size: 1.5rem; }
    .nm-popular-grid { grid-template-columns: 1fr; }
    .nm-numbered-thumb { width: 80px; height: 55px; }
    .nm-numbered-num { font-size: 30px; }
}
