/*
Theme Name: GaadiPath 4.3 Mobile Clean
Theme URI: https://gaadipath.in/
Author: GaadiPath
Description: Modern responsive automotive news WordPress theme for GaadiPath.in.
Version: 4.3.3
Requires at least: 6.0
Tested up to: 6.8
License: GPL v2 or later
Text Domain: gaadipath
*/
:root{--red:#e21d2b;--dark:#111318;--muted:#6d737c;--bg:#f5f6f8;--card:#fff;--line:#e6e8ec;--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#17191d;font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.container{width:min(1180px,92%);margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.header-row{min-height:78px;display:flex;align-items:center;gap:28px}.logo{font-size:28px;font-weight:900;letter-spacing:-1.4px}.logo .gaadi{color:#17191d}.logo .path{color:var(--red)}.logo small{display:block;font-size:10px;letter-spacing:.2px;color:#555;margin-top:-3px}.main-nav{display:flex;gap:22px;align-items:center;margin-left:auto;font-size:13px;font-weight:800}.main-nav a:hover{color:var(--red)}.menu-toggle{display:none;border:0;background:var(--dark);color:#fff;border-radius:9px;padding:9px 12px}
.hero{padding:22px 0}.hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px}.hero-main{min-height:430px;border-radius:var(--radius);overflow:hidden;position:relative;background:linear-gradient(135deg,#24262c,#090a0c)}.hero-main:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.1))}.hero-content{position:absolute;z-index:2;left:30px;bottom:30px;color:#fff;max-width:560px}.tag{display:inline-block;background:var(--red);color:#fff;padding:5px 10px;border-radius:6px;font-size:11px;font-weight:800;text-transform:uppercase}.hero h1{font-size:40px;line-height:1.08;margin:13px 0}.hero p{color:#eee;margin:0 0 16px}.btn{display:inline-block;background:var(--red);color:#fff;padding:10px 16px;border-radius:7px;font-weight:800;font-size:13px}.top-news{background:#fff;border-radius:var(--radius);padding:18px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;font-size:20px}.section-title span{border-left:4px solid var(--red);padding-left:9px}.news-mini{display:grid;grid-template-columns:82px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.news-mini:last-child{border-bottom:0}.thumb{border-radius:9px;background:linear-gradient(135deg,#d9dce1,#9298a1);min-height:60px}.news-mini h3{font-size:13px;line-height:1.3;margin:0 0 5px}.date{font-size:11px;color:var(--muted)}
.quick-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin:0 0 22px}.quick{background:#fff;border:1px solid var(--line);border-radius:12px;text-align:center;padding:16px 8px;font-size:11px;font-weight:800;box-shadow:0 2px 7px rgba(0,0,0,.03)}.quick b{display:block;font-size:23px;margin-bottom:7px}.quick:hover{border-color:#f0a0a6;transform:translateY(-1px)}
.content-grid{display:grid;grid-template-columns:1fr 320px;gap:18px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card-image{height:175px;background:linear-gradient(135deg,#cdd2d9,#747b84);position:relative}.card-image:before{content:"";position:absolute;left:12%;right:12%;bottom:18%;height:35%;border-radius:40px 45px 18px 18px;background:rgba(25,27,31,.78);transform:skew(-5deg)}.card-body{padding:13px}.card .tag{font-size:9px;padding:4px 7px}.card h3{font-size:16px;line-height:1.3;margin:9px 0 8px}.ad-box{background:#15171c;color:#fff;border-radius:12px;min-height:290px;padding:24px;display:flex;flex-direction:column;justify-content:center}.ad-box strong{font-size:28px;line-height:1.1}.ad-box em{color:#ff4350;font-style:normal}.ad-box .btn{margin-top:18px;align-self:flex-start}
.section{margin:24px 0}.upcoming{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.up-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.up-card .card-image{height:145px}.up-card .card-body{padding:10px}.up-card h3{font-size:14px;margin:3px 0}
.lower-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px}.review{display:grid;grid-template-columns:80px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.review:last-child{border:0}.review h3{font-size:13px;margin:0}.stars{color:#f2a900;font-size:12px}.video{height:160px;border-radius:9px;background:linear-gradient(135deg,#20242a,#050608);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:18px}
.site-footer{margin-top:28px;background:#111318;color:#dfe2e6;padding:35px 0 15px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}.site-footer h3{color:#fff;font-size:14px}.site-footer a{display:block;color:#aeb3bb;font-size:13px;margin:7px 0}.footer-bottom{border-top:1px solid #30333a;margin-top:25px;padding-top:15px;font-size:12px;color:#90959d;display:flex;justify-content:space-between}
.single{background:#fff;border-radius:14px;padding:28px;margin:25px 0}.single h1{font-size:42px;line-height:1.12}.single-meta{color:var(--muted);font-size:13px;margin-bottom:18px}.single-content{font-size:17px;max-width:850px}.single-content h2{margin-top:28px}
@media(max-width:900px){.main-nav{gap:12px}.quick-grid{grid-template-columns:repeat(4,1fr)}.content-grid{grid-template-columns:1fr}.upcoming{grid-template-columns:repeat(2,1fr)}.lower-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.header-row{min-height:65px}.main-nav{display:none;position:absolute;left:4%;right:4%;top:65px;background:#fff;padding:15px;border:1px solid var(--line);border-radius:12px;flex-direction:column;align-items:flex-start;box-shadow:0 8px 30px rgba(0,0,0,.1)}.main-nav.open{display:flex}.menu-toggle{display:block;margin-left:auto}.hero-grid{grid-template-columns:1fr}.hero-main{min-height:390px}.hero h1{font-size:29px}.quick-grid{grid-template-columns:repeat(3,1fr)}.cards{grid-template-columns:1fr}.upcoming,.lower-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom div{margin-top:8px}.single h1{font-size:30px}}

.archive-page{padding:28px 0 10px}.archive-head{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:20px}.archive-head h1{font-size:34px;margin:10px 0 5px}.archive-desc{color:var(--muted);max-width:800px}.pagination{margin:22px 0;display:flex;gap:8px;flex-wrap:wrap}.pagination .page-numbers{background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:7px}.pagination .current{background:var(--red);color:#fff;border-color:var(--red)}.search-form{display:flex;gap:8px;margin:0 0 22px}.search-field{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;font-size:14px}.screen-reader-text{position:absolute;left:-9999px}

.article-wrap{padding:28px 0 45px}.single-article{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.article-top{padding:28px 34px 20px}.article-top h1{font-size:46px;line-height:1.08;letter-spacing:-1px;max-width:920px;margin:12px 0 15px}.article-meta{display:flex;gap:18px;color:var(--muted);font-size:13px;flex-wrap:wrap}.article-featured{background:#dfe2e6;max-height:560px;overflow:hidden}.article-featured img{width:100%;height:auto}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px;padding:28px 34px}.article-main{min-width:0}.share-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:22px;flex-wrap:wrap}.share-row strong{font-size:11px;margin-right:5px}.share-row a{border:1px solid var(--line);padding:7px 11px;border-radius:7px;font-size:12px;font-weight:700}.share-row a:hover{background:var(--red);color:#fff;border-color:var(--red)}.article-content{font-size:18px;line-height:1.8}.article-content p{margin:0 0 20px}.article-content h2{font-size:28px;line-height:1.25;margin:30px 0 12px}.article-content h3{font-size:22px;margin-top:25px}.article-content ul,.article-content ol{padding-left:25px}.article-content blockquote{border-left:4px solid var(--red);margin:25px 0;padding:12px 20px;background:#f7f7f8}.article-tags{margin-top:25px;padding-top:18px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.author-box{display:flex;gap:14px;align-items:center;margin-top:25px;padding:18px;background:#f6f7f9;border-radius:12px}.author-avatar{width:52px;height:52px;border-radius:50%;background:var(--dark);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px}.author-box p{margin:4px 0 0;color:var(--muted);font-size:13px}.article-sidebar{display:flex;flex-direction:column;gap:16px}.article-side-card{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff}.article-side-card h3{font-size:13px;margin:0 0 12px}.side-cat{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line);font-size:13px;font-weight:700}.side-cat:first-of-type{border-top:0}.side-cat:hover{color:var(--red)}.side-ad{min-height:230px}.related-section{margin-top:30px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.related-grid .card-image{height:145px}
@media(max-width:850px){.article-layout{grid-template-columns:1fr;padding:22px}.article-sidebar{display:grid;grid-template-columns:1fr 1fr}.article-top{padding:23px}.article-top h1{font-size:34px}.related-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.article-top h1{font-size:29px}.article-layout{padding:18px}.article-sidebar,.related-grid{grid-template-columns:1fr}.article-content{font-size:16px}.article-featured{max-height:none}.share-row a{font-size:11px;padding:6px 8px}}

.brand-logo{display:flex;align-items:center;flex-shrink:0}.brand-logo img{width:auto;height:72px;max-width:285px;object-fit:contain}.brand-logo:hover{opacity:.94}
@media(max-width:650px){.brand-logo img{height:58px;max-width:225px}}

.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:22px}.main-nav li{margin:0;padding:0}.main-nav li a{display:block;font-size:13px;font-weight:800}.main-nav .sub-menu{display:none;position:absolute;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;box-shadow:0 10px 30px rgba(0,0,0,.12)}.main-nav li.menu-item-has-children{position:relative}.main-nav li.menu-item-has-children:hover>.sub-menu{display:block}.main-nav .sub-menu li a{white-space:nowrap;padding:8px 10px}.main-nav .sub-menu li a:hover{background:#f5f6f8;color:var(--red)}
@media(max-width:900px){.main-nav ul{gap:12px}}
@media(max-width:650px){.main-nav ul{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.main-nav .sub-menu{position:static;display:block;box-shadow:none;border:0;padding-left:12px}.main-nav li.menu-item-has-children:hover>.sub-menu{display:block}}

.hero-main{background:#111318}.hero-bg{position:absolute;inset:0;z-index:0}.hero-bg img{width:100%;height:100%;object-fit:cover}.hero-main:after{z-index:1}.hero-content{z-index:2}.hero-content h1 a{color:#fff}

.hero-slider{position:relative;overflow:hidden}.hero-slides{position:relative;height:100%;min-height:430px}.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease;overflow:hidden}.hero-slide.active{opacity:1;visibility:visible;z-index:2}.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.18));z-index:1}.hero-slide .hero-bg{position:absolute;inset:0;z-index:0}.hero-slide .hero-bg img{width:100%;height:100%;object-fit:cover}.hero-slide .hero-content{z-index:3}.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#111;font-size:30px;line-height:35px;cursor:pointer}.hero-prev{left:14px}.hero-next{right:14px}.hero-arrow:hover{background:var(--red);color:#fff}.hero-dots{position:absolute;z-index:6;left:30px;bottom:16px;display:flex;gap:7px}.hero-dot{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.55);cursor:pointer}.hero-dot.active{background:var(--red);transform:scale(1.25)}
@media(max-width:650px){.hero-slides{min-height:390px}.hero-arrow{width:34px;height:34px;font-size:25px}.hero-dots{left:20px;bottom:12px}}

.hero-grid{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(300px,1fr)!important;gap:16px!important;align-items:stretch}.hero-grid .hero-slider{min-width:0}.hero-grid .top-news{min-width:0;min-height:430px}.hero-grid .news-mini{grid-template-columns:92px 1fr}.hero-grid .news-mini .thumb{height:78px;min-height:78px;overflow:hidden}.hero-grid .news-mini .thumb img{width:100%;height:100%;object-fit:cover}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr!important}.hero-grid .top-news{min-height:auto}}

/* v1.8 balanced hero + top news */
.hero-grid{grid-template-columns:minmax(0,2fr) minmax(330px,1fr)!important;gap:16px!important}
.hero-grid .hero-slider,.hero-grid .top-news{height:430px;min-height:430px}
.hero-grid .hero-slides{height:430px;min-height:430px}
.hero-grid .top-news{overflow:hidden;padding:18px 20px}
.hero-grid .top-news .section-title{margin-bottom:8px}
.hero-grid .top-news .news-mini{padding:10px 0;grid-template-columns:92px 1fr}
.hero-grid .top-news .news-mini .thumb{height:78px;min-height:78px}
.hero-grid .top-news .news-mini h3{font-size:13px}
.hero-grid .hero-content{left:30px;bottom:28px;max-width:760px}
.hero-grid .hero-content h1{font-size:36px;max-width:760px}
.hero-grid .hero-content p{max-width:700px}
@media(max-width:900px){
 .hero-grid .hero-slider,.hero-grid .top-news{height:auto;min-height:0}
 .hero-grid .hero-slides{height:400px;min-height:400px}
}
@media(max-width:650px){
 .hero-grid .hero-slides{height:390px;min-height:390px}
 .hero-grid .hero-content{left:20px;bottom:28px}
 .hero-grid .hero-content h1{font-size:29px}
}

/* FINAL HERO LAYOUT v1.9 */
@media(min-width:901px){
  .hero-grid{display:grid!important;grid-template-columns:2fr 1fr!important;gap:16px!important;align-items:stretch!important}
  .hero-grid .hero-slider{display:block!important;height:430px!important;min-height:430px!important}
  .hero-grid .hero-slides{height:430px!important;min-height:430px!important}
  .hero-grid .top-news{display:block!important;height:430px!important;min-height:430px!important;overflow:hidden!important}
}

/* v2 FINAL: keep slider and top news in ONE desktop row */
.hero{padding:22px 0!important}
.hero-grid{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important;gap:16px!important;align-items:stretch!important}
.hero-grid > .hero-slider,.hero-grid > .top-news{width:auto!important;box-sizing:border-box!important}
.hero-grid > .hero-slider{height:430px!important;min-height:430px!important}
.hero-grid > .top-news{height:430px!important;min-height:430px!important;background:#fff!important;border-radius:var(--radius)!important;padding:18px 20px!important;overflow:hidden!important}
.hero-grid .hero-slides{height:430px!important;min-height:430px!important}
.hero-grid .top-news .news-mini{padding:10px 0!important}
@media(max-width:900px){
 .hero-grid{grid-template-columns:1fr!important}
 .hero-grid > .hero-slider{height:400px!important;min-height:400px!important}
 .hero-grid .hero-slides{height:400px!important;min-height:400px!important}
 .hero-grid > .top-news{height:auto!important;min-height:0!important}
}
@media(max-width:650px){
 .hero-grid > .hero-slider{height:390px!important;min-height:390px!important}
 .hero-grid .hero-slides{height:390px!important;min-height:390px!important}
}

.quick{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.quick:hover{color:inherit;border-color:#f2a1a8;box-shadow:0 8px 20px rgba(0,0,0,.08);transform:translateY(-3px)}

.empty-state{grid-column:1/-1;padding:40px;text-align:center;border:1px dashed var(--line);border-radius:14px;background:#fff}.archive-head{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;margin:28px 0 20px}.archive-head h1{margin:10px 0 5px}.archive-desc{color:var(--muted)}

/* v2.3 automatic homepage sections */
.up-card .card-image{height:180px;overflow:hidden;background:#e4e7eb}.up-card .card-image img{width:100%;height:100%;object-fit:cover}.up-card h3 a{color:inherit}.review{display:flex;gap:12px;align-items:center}.review .thumb{width:100px;height:72px;flex:0 0 100px;overflow:hidden;border-radius:9px;background:#e4e7eb}.review .thumb img{width:100%;height:100%;object-fit:cover}.review:hover h3{color:var(--red)}.empty-note{color:var(--muted);padding:15px 0}.video-post{position:relative;display:block;height:200px;overflow:hidden;border-radius:10px;background:#111;color:#fff}.video-post img{width:100%;height:100%;object-fit:cover}.video-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:42px}.video-post strong{position:absolute;left:15px;right:15px;bottom:12px;text-shadow:0 2px 8px #000}

/* v2.9: preserve original design, prevent header overflow at tablet widths */
@media (max-width:1100px) and (min-width:651px){
  .header-row{gap:12px}
  .brand-logo img{height:62px;max-width:220px}
  .main-nav{gap:10px;font-size:11px}
  .main-nav ul{gap:10px}
  .main-nav li a{font-size:11px}
  .hero-grid{grid-template-columns:1.45fr 1fr}
  .hero-content{left:22px;bottom:24px;max-width:520px}
  .hero h1{font-size:31px}
}
@media (max-width:650px){
  .hero-grid{grid-template-columns:1fr}
}

/* v3.1 footer brand logo */
.footer-brand-logo{display:block;width:175px;max-width:100%;height:auto;margin:0 0 14px 0}
@media(max-width:650px){.footer-brand-logo{width:155px}}

/* v3.2: compact white footer logo */
.footer-brand-logo{width:175px!important;max-width:100%;height:auto;display:block;margin:0 0 14px 0}
@media(max-width:650px){.footer-brand-logo{width:155px!important}}

/* v3.6 footer brand: small, visible and white */
.site-footer .footer-brand-logo{
  width:150px !important;
  height:auto !important;
  max-width:150px !important;
  margin:0 0 10px 0;
  object-fit:contain;
}
.site-footer .logo{
  font-size:22px;
  color:#fff !important;
  margin-bottom:10px;
}
.site-footer .logo .gaadi,
.site-footer .logo .path{
  color:#fff !important;
}
@media(max-width:650px){
  .site-footer .footer-brand-logo{width:125px !important;max-width:125px !important}
}

/* v3.7 — new GaadiPath footer logo */
.footer-brand-logo{display:block!important;width:230px!important;max-width:100%!important;height:auto!important;margin:0 0 16px 0!important}
@media(max-width:650px){.footer-brand-logo{width:190px!important}}

/* v3.8 — latest supplied GaadiPath logo */
.footer-brand-logo{
  display:block!important;
  width:230px!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 0 16px 0!important;
}
@media(max-width:650px){
  .footer-brand-logo{width:190px!important}
}

/* v3.9 — footer logo only, no separate brand name */
.footer-brand-logo{display:block!important;width:230px!important;max-width:100%!important;height:auto!important;margin:0 0 16px 0!important}
@media(max-width:650px){.footer-brand-logo{width:190px!important}}

/* v4.0: homepage slider */
.gaadipath-slide{display:none}
.gaadipath-slide.active{display:block}
.gaadipath-dot{cursor:pointer}

/* GaadiPath v4.1 mobile Latest News fix */
@media (max-width:650px){
  .latest-news-card img,
  .latest-news img,
  .news-card img{
    height:330px !important;
    max-height:330px !important;
    object-fit:cover !important;
  }
  .latest-news-card .overlay,
  .latest-news .overlay,
  .news-card .overlay,
  .latest-news-card .image-overlay,
  .latest-news .image-overlay,
  .news-card .image-overlay{
    display:none !important;
    opacity:0 !important;
    background:transparent !important;
  }
}

/* GaadiPath v4.2 — mobile single-post full-width layout */
@media (max-width:650px){
  body.single,
  body.single-post{
    overflow-x:hidden!important;
  }

  body.single .site-main,
  body.single-post .site-main,
  body.single .content-area,
  body.single-post .content-area,
  body.single .single-post,
  body.single-post .single-post,
  body.single article,
  body.single-post article{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  body.single article,
  body.single-post article{
    border-radius:0!important;
    box-shadow:none!important;
  }

  body.single .entry-content,
  body.single-post .entry-content{
    width:100%!important;
    max-width:100%!important;
    padding-left:24px!important;
    padding-right:24px!important;
    box-sizing:border-box!important;
  }

  body.single .post-thumbnail,
  body.single-post .post-thumbnail,
  body.single .featured-image,
  body.single-post .featured-image{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  body.single .post-thumbnail img,
  body.single-post .post-thumbnail img,
  body.single .featured-image img,
  body.single-post .featured-image img{
    width:100%!important;
    height:auto!important;
    display:block!important;
    object-fit:cover!important;
  }

  body.single .entry-header,
  body.single-post .entry-header{
    padding-left:24px!important;
    padding-right:24px!important;
    box-sizing:border-box!important;
  }
}

/* GaadiPath v4.3 — REAL mobile full-width single post */
@media (max-width:650px){
  .container.article-wrap{
    width:100% !important;
    max-width:none !important;
    padding:0 !important;
    margin:0 !important;
  }

  .single-article{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
  }

  .article-top{
    padding:24px 22px 20px !important;
  }

  .article-top h1{
    font-size:30px !important;
    line-height:1.22 !important;
    letter-spacing:-.4px !important;
  }

  .article-featured{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    border-radius:0 !important;
  }

  .article-featured img{
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    display:block !important;
  }

  .article-layout{
    width:100% !important;
    padding:18px 22px 30px !important;
    margin:0 !important;
  }

  .article-content{
    width:100% !important;
    max-width:none !important;
    font-size:17px !important;
    line-height:1.8 !important;
  }
}


/* =========================================================
   GaadiPath v4.3 — clean mobile look (safe final override)
   ========================================================= */

/* Remove the decorative black vehicle silhouette that was
   appearing over real article images. */
.card-image:before{
  display:none !important;
  content:none !important;
}

/* Keep article images completely clean. */
.card-image img{
  position:relative !important;
  z-index:1 !important;
  opacity:1 !important;
  filter:none !important;
}

/* Keep the "FIND YOUR PERFECT CAR" box exactly as part of the design. */
.content-grid{
  grid-template-columns:1fr 320px !important;
}

/* Mobile layout matching the requested clean screenshot. */
@media(max-width:650px){
  .container{
    width:92% !important;
  }

  /* Compact 3-column category cards, with Upcoming on the next row. */
  .quick-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px !important;
    margin-bottom:28px !important;
  }

  .quick{
    min-height:92px !important;
    padding:14px 5px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
  }

  .quick b{
    font-size:22px !important;
    margin-bottom:7px !important;
  }

  /* Latest News keeps the existing content/ad structure. */
  .content-grid > div{
    width:100% !important;
  }

  .cards{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .card{
    width:100% !important;
  }

  .card-image{
    height:280px !important;
    background:#eef0f3 !important;
    overflow:hidden !important;
  }

  .card-image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .card-body{
    padding:16px 18px 18px !important;
  }

  .card h3{
    font-size:18px !important;
    line-height:1.38 !important;
    margin:9px 0 8px !important;
  }

  .section-title{
    font-size:20px !important;
    margin-bottom:16px !important;
  }

  /* Keep the lower sections below Latest News from breaking the layout. */
  .upcoming{
    grid-template-columns:1fr !important;
  }
}

/* Slightly larger phones/tablets: still clean and uncropped. */
@media(min-width:651px) and (max-width:900px){
  .card-image:before{display:none !important;}
  .content-grid{grid-template-columns:1fr !important;}}


/* v4.3.3 final mobile layout fix:
   Keep FIND YOUR PERFECT CAR, but place it BELOW Latest News. */
@media(max-width:650px){
  .content-grid{
    display:block !important;
    width:100% !important;
  }
  .content-grid > div{
    width:100% !important;
    display:block !important;
  }
  .content-grid > .ad-box{
    width:100% !important;
    min-height:360px !important;
    margin-top:24px !important;
    display:flex !important;
    box-sizing:border-box !important;
  }

  .cards{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr !important;
  }

  .card{
    width:100% !important;
  }

  .card-image{
    width:100% !important;
    height:280px !important;
    overflow:hidden !important;
  }

  .card-image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    opacity:1 !important;
    filter:none !important;
  }
}
