/*
Theme Name: Ne Rabotaet Exact Legal
Theme URI: https://не-работает.рф/
Author: ChatGPT
Description: Тёмно-золотая адаптивная тема для НЕ-РАБОТАЕТ.РФ: Фемида в первом экране, реальные статьи сайта, правый сайдбар, скрытые рекламные зоны.
Version: 1.2.0
Text Domain: ne-rabotaet-exact-legal
*/
:root{--gold:#d5a34a;--gold2:#f1c96d;--black:#080808;--ink:#121212;--muted:#6f6f6f;--line:#eee7dc;--paper:#fff;--bg:#fbfaf7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.wrap{width:min(1120px,calc(100% - 48px));margin:0 auto}.site-header{background:#111;color:#fff;position:relative;z-index:10}.header-inner{height:86px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:14px;min-width:284px;color:#fff}.brand-logo{width:68px;height:68px;display:flex;align-items:center;justify-content:center;color:var(--gold)}.brand-logo svg{width:64px;height:64px}.brand-logo img{max-height:68px;width:auto;filter:sepia(1) saturate(1.7) hue-rotate(355deg) brightness(1.05)}.brand-text{display:flex;flex-direction:column}.brand-text strong{font-size:24px;line-height:1;font-weight:900;color:var(--gold2);letter-spacing:.3px}.brand-text em{font-style:normal;font-size:13px;line-height:1.25;color:#fff;font-weight:700;text-transform:lowercase;margin-top:5px}.main-nav{margin-left:auto}.menu{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}.menu a{display:block;padding:32px 0 28px;font-weight:700;font-size:14px;white-space:nowrap;position:relative}.menu .current-menu-item>a,.menu a:hover{color:var(--gold2)}.menu .current-menu-item>a:after,.menu a:hover:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:2px;background:var(--gold)}.search-icon,.nav-toggle{background:none;border:0;color:#fff;cursor:pointer}.search-icon{font-size:34px;line-height:1;transform:rotate(-18deg)}.nav-toggle{display:none;background:#1e1e1e;border:1px solid #333;border-radius:3px;padding:10px 12px;font-size:20px}.search-panel{background:#fff;border-bottom:1px solid var(--line);padding:16px 0}.search-form{display:flex}.search-form input{width:100%;height:42px;border:1px solid #ded8cf;padding:0 16px}.search-form button{width:48px;border:0;background:var(--gold);color:#fff;font-size:20px}.hero{min-height:520px;color:#fff;background:linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.70) 39%,rgba(0,0,0,.12) 65%,rgba(0,0,0,.82) 100%),url('assets/hero-justice.jpg') right center/cover no-repeat,#090909;display:flex;align-items:center}.hero-inner{display:flex;align-items:center}.hero-copy{max-width:590px;padding:92px 0 82px}.eyebrow{color:var(--gold2);text-transform:uppercase;letter-spacing:2.2px;font-weight:900;font-size:15px;margin-bottom:20px}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:50px;line-height:1.05;margin:0 0 22px;color:#fff}.hero h1 span{color:var(--gold2)}.hero p{font-size:19px;color:#fff;max-width:550px;margin:0 0 28px}.hero-buttons{display:flex;gap:14px;flex-wrap:wrap}.btn{height:50px;display:inline-flex;align-items:center;justify-content:center;padding:0 28px;border-radius:2px;font-size:13px;font-weight:900;text-transform:uppercase}.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111}.btn-outline{border:1px solid rgba(255,255,255,.75);color:#fff;min-width:178px}.feature-strip{background:#fff;border-bottom:1px solid var(--line)}.features-grid{display:grid;grid-template-columns:repeat(4,1fr)}.feature{min-height:92px;border-right:1px solid var(--line);padding:22px 28px;display:grid;grid-template-columns:44px 1fr;column-gap:16px;align-items:start}.feature:last-child{border-right:0}.feature span{grid-row:1/3;width:38px;height:38px;border:1px solid rgba(213,163,74,.45);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:25px}.feature b{font-family:Georgia,'Times New Roman',serif;font-size:18px;color:#171717}.feature p{grid-column:2;margin:4px 0 0;color:#686868;font-size:14px}.site-main{padding:36px 0 0}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:44px}.section-title,.widget-title{font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.2;margin:0 0 22px;padding-left:18px;position:relative}.section-title:before,.widget-title:before{content:"";position:absolute;left:0;top:3px;width:4px;height:24px;background:var(--gold)}.article-list{border:1px solid var(--line);background:#fff}.article-row{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:22px;min-height:105px;padding:18px 18px 18px 22px;border-bottom:1px solid var(--line);align-items:center}.article-row:last-child{border-bottom:0}.article-row h3{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.25;margin:0 0 8px}.article-row h3 a:hover{color:#b57b22}.article-row time{font-size:13px;color:#777}.row-thumb{width:148px;height:74px;background:#f1f1f1;display:flex;align-items:center;justify-content:center;overflow:hidden}.row-thumb img{width:100%;height:100%;object-fit:cover}.row-thumb.empty{color:#c9c9c9;font-size:36px}.more{text-align:center;margin:24px 0}.more a{display:inline-flex;height:42px;align-items:center;justify-content:center;border:1px solid var(--gold);color:#b17a25;padding:0 44px;text-transform:uppercase;font-weight:900;font-size:12px;border-radius:2px}.sidebar{min-width:0}.side-search{margin:0 0 22px}.sidebar .search-form input{background:#fff}.sidebar .search-form button{background:var(--gold);color:#fff}.widget{background:#fff;margin:0 0 28px;padding:0}.widget-title{background:#faf9f5;border:1px solid #f0e9df;border-left:0;border-right:0;margin-bottom:16px;padding-top:12px;padding-bottom:12px}.popular-list{list-style:none;margin:0;padding:0}.popular-list li{display:grid;grid-template-columns:32px 1fr;gap:14px;padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #ece6dd}.popular-list li:last-child{border-bottom:0}.popular-list span{font-family:Georgia,'Times New Roman',serif;font-weight:900;font-size:28px;line-height:1;color:var(--gold)}.popular-list a{font-weight:700;font-size:14px;line-height:1.35}.cat-links{list-style:none;margin:0;padding:0}.cat-links li{display:flex;gap:12px;align-items:center;margin:11px 0;font-size:14px}.cat-links span{width:20px;color:var(--gold);text-align:center}.ad-slot{display:none}.ad-slot:not(:empty){display:block;margin:0 0 24px;padding:18px;background:#fff;border:1px solid var(--line);text-align:center}.sections{margin:30px 0 0}.section-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;overflow:hidden}.section-card{min-height:150px;min-width:0;background:linear-gradient(145deg,#050505,#191919);border-radius:4px;color:#fff;padding:22px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 12px 26px rgba(0,0,0,.12)}.section-card span{font-size:34px;color:var(--gold);margin-bottom:10px;font-family:Arial,Helvetica,sans-serif;line-height:1}.section-card b{font-family:Georgia,'Times New Roman',serif;font-size:16px;line-height:1.15;overflow-wrap:anywhere}.section-card em{font-style:normal;color:#d8d8d8;font-size:13px;line-height:1.3;margin-top:8px}.site-footer{margin-top:36px;background:linear-gradient(135deg,#050505,#171717);color:#eee}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:42px;padding:36px 0}.site-footer .brand{min-width:0;margin-bottom:14px}.site-footer .brand-logo{width:58px;height:58px}.site-footer .brand-logo svg{width:56px;height:56px}.site-footer .brand-text strong{font-size:20px}.site-footer .brand-text em{font-size:11px}.site-footer p{color:#cfcfcf;font-size:14px;margin:0 0 14px}.site-footer h3{font-size:16px;margin:0 0 14px}.footer-menu{list-style:none;padding:0;margin:0}.footer-menu li{margin:7px 0}.footer-menu a{color:#ccc;font-size:14px}.footer-menu a:hover{color:var(--gold2)}.socials{display:flex;gap:8px}.socials span{width:28px;height:28px;border:1px solid #4c4c4c;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#ddd;font-size:11px}.subscribe input{width:100%;height:42px;background:#101010;border:1px solid #333;color:#fff;padding:0 14px}.subscribe button{margin-top:10px;width:100%;height:44px;background:linear-gradient(135deg,var(--gold2),var(--gold));border:0;color:#111;text-transform:uppercase;font-weight:900}.copyright{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.10);padding:16px 0;color:#aaa;font-size:13px}.single-box{background:#fff;border:1px solid var(--line);padding:38px}.single-box h1{font-family:Georgia,'Times New Roman',serif;font-size:42px;line-height:1.15;margin:0 0 12px}.entry-content{font-size:18px}.entry-content a{color:#9d6e1d;text-decoration:underline}.page-title{font-family:Georgia,'Times New Roman',serif;font-size:40px;margin:0 0 24px}.pagination{margin:24px 0}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:1080px){.wrap{width:min(100% - 32px,1120px)}.brand{min-width:250px}.brand-text strong{font-size:21px}.menu{gap:16px}.menu a{font-size:13px}.section-cards{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.header-inner{height:auto;min-height:78px;flex-wrap:wrap;padding:12px 0}.nav-toggle{display:block;margin-left:auto}.search-icon{font-size:30px}.main-nav{display:none;order:5;width:100%;margin-left:0}.main-nav.open{display:block}.menu{display:block}.menu a{padding:12px 0}.menu a:after{display:none!important}.hero{min-height:450px;background-position:center center}.hero-copy{padding:70px 0}.hero h1{font-size:42px}.features-grid{grid-template-columns:repeat(2,1fr)}.content-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.sidebar{max-width:100%}}@media(max-width:620px){.wrap{width:min(100% - 24px,1120px)}.brand-logo{width:52px;height:52px}.brand-logo svg{width:50px;height:50px}.brand-text strong{font-size:18px}.brand-text em{font-size:11px}.hero{background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.55)),url('assets/hero-justice.jpg') center center/cover no-repeat}.hero-copy{padding:56px 0}.eyebrow{font-size:12px}.hero h1{font-size:34px}.hero p{font-size:16px}.btn{width:100%}.features-grid{grid-template-columns:1fr}.feature{border-right:0;border-bottom:1px solid var(--line)}.article-row{grid-template-columns:1fr;gap:12px}.row-thumb{width:100%;height:130px}.section-cards{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.copyright{display:block}.single-box{padding:24px}.single-box h1,.page-title{font-size:31px}}
