/*
Theme Name: Takinro
Theme URI: https://bidblog.ir/takinro
Author: Takinro
Description: قالب مجله تخصصی خودرو تکین‌رو؛ فارسی، راست‌چین، واکنش‌گرا و با طراحی تیره و لوکس.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: takinro
*/
:root{--bg:#101114;--panel:#181a1f;--panel2:#202229;--text:#f4f4f5;--muted:#a5a7ae;--line:#30323a;--red:#e53935;--white:#fff;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,Arial,sans-serif;line-height:1.9;font-size:15px}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.container{width:min(var(--max),calc(100% - 36px));margin-inline:auto}.site-header{background:#0b0c0f;border-bottom:1px solid var(--line);position:relative;z-index:10}.topbar{background:#08090b;color:var(--muted);font-size:12px;padding:7px 0}.topbar-inner,.header-main,.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.header-main{padding:20px 0}.brand{display:flex;align-items:center;gap:12px}.custom-logo{max-height:56px;width:auto}.brand-mark{width:45px;height:45px;background:var(--red);display:grid;place-items:center;font-weight:900;font-size:22px;clip-path:polygon(0 0,100% 0,100% 72%,72% 100%,0 100%)}.brand-name{font-size:25px;font-weight:900;letter-spacing:-1px}.brand-tag{font-size:11px;color:var(--muted);display:block;margin-top:-5px}.header-actions{display:flex;align-items:center;gap:12px}.search-form{display:flex;background:var(--panel);border:1px solid var(--line);border-radius:4px;overflow:hidden}.search-form input{background:transparent;border:0;color:var(--text);padding:9px 12px;width:190px;outline:0}.search-form button{border:0;background:var(--red);color:white;padding:0 13px;cursor:pointer}.menu-toggle{display:none;background:var(--panel2);border:1px solid var(--line);color:white;padding:8px 12px}.main-nav{background:#15161a;border-top:1px solid #22242a}.nav-inner{justify-content:flex-start;min-height:49px}.main-nav ul{list-style:none;padding:0;margin:0;display:flex;gap:0}.main-nav li{position:relative}.main-nav a{display:block;padding:11px 17px;font-size:13px;color:#ddd}.main-nav a:hover,.main-nav .current-menu-item>a{background:var(--red);color:white}.hero{padding:30px 0 22px}.hero-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:18px}.hero-feature,.hero-small{position:relative;overflow:hidden;background:var(--panel);min-height:430px}.hero-feature img,.hero-small img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .5s}.hero-feature:hover img,.hero-small:hover img{transform:scale(1.04)}.hero-feature:after,.hero-small:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.92),rgba(0,0,0,.05) 75%)}.hero-copy{position:absolute;z-index:1;bottom:28px;right:30px;left:30px}.hero-copy h1,.hero-copy h2{font-size:clamp(23px,3vw,38px);line-height:1.55;margin:12px 0;font-weight:900}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:18px}.hero-small{min-height:206px}.hero-small .hero-copy{right:20px;left:20px;bottom:16px}.hero-small h2{font-size:19px;margin:7px 0}.tag{display:inline-block;background:var(--red);color:white;font-size:11px;font-weight:bold;padding:3px 10px;border-radius:2px}.meta{font-size:11px;color:#c0c1c5}.section{padding:22px 0 32px}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:20px;padding-bottom:10px}.section-heading h2{font-size:22px;margin:0;font-weight:900}.section-heading h2:before{content:"";display:inline-block;width:5px;height:22px;background:var(--red);margin-left:10px;vertical-align:-4px}.section-heading a{color:var(--red);font-size:12px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{background:var(--panel);border:1px solid #24262d;overflow:hidden;transition:.25s}.post-card:hover{transform:translateY(-4px);border-color:#494b54}.post-thumb{aspect-ratio:16/10;background:#252730;overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.post-card:hover .post-thumb img{transform:scale(1.04)}.post-card-body{padding:14px}.post-card h3{font-size:16px;line-height:1.8;margin:8px 0 10px}.post-card p{font-size:12px;color:var(--muted);margin:0}.category-label{font-size:11px;color:var(--red);font-weight:bold}.sidebar-widget{background:var(--panel);border:1px solid #262830;padding:17px;margin-bottom:18px}.sidebar-widget h3{font-size:16px;margin:0 0 13px;padding-bottom:10px;border-bottom:1px solid var(--line)}.popular-list{list-style:none;padding:0;margin:0;counter-reset:item}.popular-list li{padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.popular-list li:last-child{border:0}.popular-list a{display:flex;gap:10px}.popular-list span{color:var(--red);font-weight:bold}.newsletter{background:linear-gradient(110deg,#25272e,#17181d);border:1px solid #343640;padding:25px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 35px}.newsletter h2{margin:0;font-size:21px}.newsletter p{color:var(--muted);margin:4px 0 0;font-size:12px}.newsletter-form{display:flex;gap:8px}.newsletter-form input{background:#101114;border:1px solid #42444d;color:white;padding:10px 12px;min-width:220px}.btn{display:inline-block;background:var(--red);color:white;border:0;padding:10px 18px;cursor:pointer;font-weight:bold}.btn:hover{background:#c62828;color:white}.page-title{font-size:28px;margin:25px 0;border-right:5px solid var(--red);padding-right:14px}.single-layout{max-width:900px;margin:30px auto}.single-head h1{font-size:clamp(26px,4vw,42px);line-height:1.6;margin:15px 0}.single-cover{width:100%;max-height:520px;object-fit:cover;margin:20px 0}.entry-content{font-size:16px;line-height:2.2;color:#e1e1e4}.entry-content h2,.entry-content h3{color:white;margin-top:30px}.entry-content a{color:#ff6965;text-decoration:underline}.entry-content blockquote{border-right:4px solid var(--red);margin:25px 0;padding:10px 20px;background:var(--panel);color:#ccc}.entry-content ul,.entry-content ol{padding-right:25px}.pagination{display:flex;gap:7px;margin:25px 0}.pagination a,.pagination span{padding:8px 13px;background:var(--panel);border:1px solid var(--line)}.pagination .current{background:var(--red)}.site-footer{background:#090a0c;border-top:1px solid var(--line);padding:38px 0 18px;margin-top:35px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:35px}.site-footer h3{font-size:16px}.site-footer p,.site-footer li{color:var(--muted);font-size:12px}.site-footer ul{list-style:none;padding:0}.site-footer li{padding:5px 0}.copyright{border-top:1px solid #24262b;margin-top:25px;padding-top:15px;color:#777;font-size:11px;text-align:center}.empty-state{padding:40px;text-align:center;background:var(--panel);color:var(--muted)}.screen-reader-text{position:absolute;left:-9999px}.alignwide{max-width:1100px;margin-inline:auto}.wp-caption{max-width:100%}.gallery{display:grid;gap:10px}.comment-list{padding-right:20px}.comment-respond{background:var(--panel);padding:20px}.comment-form input,.comment-form textarea{background:#101114;border:1px solid var(--line);color:white;padding:10px;max-width:100%}.comment-form input[type=submit]{background:var(--red);border:0;cursor:pointer}
@media(max-width:900px){.content-layout{grid-template-columns:1fr}.hero-grid{grid-template-columns:1fr}.hero-feature{min-height:380px}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.hero-small{min-height:190px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.container{width:min(100% - 24px,var(--max))}.topbar{display:none}.header-main{padding:13px 0}.brand-name{font-size:21px}.brand-mark{width:38px;height:38px}.search-form input{width:120px}.menu-toggle{display:block}.nav-inner{display:block}.main-nav ul{display:none;flex-direction:column;padding:8px 0}.main-nav.is-open ul{display:flex}.main-nav a{padding:9px 12px}.hero{padding-top:16px}.hero-feature{min-height:330px}.hero-copy{right:18px;left:18px;bottom:18px}.hero-copy h1{font-size:23px}.hero-side{grid-template-columns:1fr;grid-template-rows:auto}.hero-small{min-height:180px}.post-grid{grid-template-columns:1fr 1fr;gap:10px}.post-card h3{font-size:13px}.post-card-body{padding:10px}.newsletter{display:block}.newsletter-form{margin-top:15px}.newsletter-form input{min-width:0;width:100%}.footer-grid{grid-template-columns:1fr}.single-layout{margin:20px auto}.single-head h1{font-size:25px}}
