/* 
Theme Name: Aryavart Vaani – New Design
Theme URI: https://aryavartvaani.com/
Author: Aryavart Vaani
Description: Hindi-first responsive news theme with editable advertising, breaking ticker, featured story, grid and double-column news lists.
Version: 2.5.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: aryavart-vaani
*/
:root{--navy:#142943;--red:#c91f2d;--ink:#182333;--muted:#687586;--line:#e2e7ed;--white:#fff;--shadow:0 5px 22px rgba(20,41,67,.09);--radius:9px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.7 system-ui,-apple-system,"Noto Sans Devanagari","Nirmala UI",sans-serif;background:#eef1f4 url("assets/images/av-bihar-wallpaper.webp") center top/cover fixed no-repeat}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{display:block;max-width:100%;height:auto}button,input{font:inherit}.av-container{width:min(1240px,calc(100% - 34px));margin-inline:auto}
.av-topbar{background:#101d2d;color:#fff;font-size:12px}.av-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:15px}.av-top-location{font-weight:500;margin-left:7px}.av-top-links{display:flex;gap:16px;align-items:center}.av-top-links a{color:#fff}
.av-masthead{background:rgba(255,255,255,.97);border-bottom:1px solid #dce2e9}.av-masthead-inner{min-height:142px;display:grid;grid-template-columns:minmax(230px,330px) minmax(0,1fr);align-items:center;gap:25px;padding:15px 0}.av-brand{min-width:0}.av-logo{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.custom-logo-link{display:inline-block;max-width:100%}.custom-logo{width:auto;max-width:100%;max-height:91px;object-fit:contain}.av-brand-name{font-size:clamp(29px,4vw,43px);font-weight:950;line-height:1.16;letter-spacing:-1px;color:#bd202c}.av-brand-name span{color:var(--navy)}.av-tagline{font-size:13px;color:#465264;font-weight:700;letter-spacing:.2px}.av-header-ad-wrap{min-width:0;width:100%}.av-header-ad{width:100%;height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #cfd6df;border-radius:7px;background:linear-gradient(135deg,#f7f8fa,#e9edf2);padding:4px;position:relative}.av-header-ad a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.av-header-ad .av-ad-image{width:100%;height:100%;object-fit:contain}.av-ad-tag{position:absolute;top:4px;right:6px;background:#142943cc;color:#fff;font-size:9px;line-height:1;padding:3px 6px;border-radius:3px;z-index:2}.av-header-ad-placeholder{height:112px;border:2px dashed #b9c3cf;border-radius:7px;background:linear-gradient(120deg,#f7f8fa,#e9edf2);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#6b7787;padding:12px}.av-header-ad-placeholder strong{font-size:17px;color:#35445a}.av-header-ad-placeholder span{font-size:11px}
.av-nav-wrap{background:var(--navy);color:#fff;box-shadow:0 3px 12px #14294322}.av-nav-inner{display:flex;align-items:center;gap:12px;min-height:49px}.av-menu{display:flex;align-items:center;gap:0;list-style:none;padding:0;margin:0;flex:1}.av-menu li{position:relative}.av-menu a{display:block;padding:13px 11px;font-size:14px;font-weight:750;white-space:nowrap}.av-menu a:hover,.av-menu .current-menu-item>a{background:#25466d;color:#fff}.av-menu .sub-menu{display:none;position:absolute;z-index:50;top:100%;left:0;min-width:205px;padding:6px;background:#fff;color:var(--ink);box-shadow:var(--shadow);list-style:none}.av-menu li:hover>.sub-menu,.av-menu li:focus-within>.sub-menu{display:block}.av-menu .sub-menu a{color:var(--ink);padding:9px 12px}.av-menu .sub-menu a:hover{background:#f2f4f7;color:var(--red)}.av-search{display:flex;gap:5px}.av-search input{width:145px;border:1px solid #ffffff55;background:#ffffff12;color:#fff;border-radius:5px;padding:6px 9px;font-size:13px}.av-search input::placeholder{color:#d7deea}.av-search button{border:0;background:var(--red);color:#fff;border-radius:5px;padding:5px 10px;cursor:pointer}.av-mobile-toggle{display:none}
.av-home{padding-top:1px}.av-breaking{display:flex;align-items:center;background:#fff;margin:14px auto 18px;border:1px solid var(--line);border-radius:6px;overflow:hidden;box-shadow:0 2px 8px #1429430b}.av-breaking-label{position:relative;z-index:2;flex:0 0 auto;background:var(--red);color:#fff;font-size:13px;font-weight:900;padding:9px 15px;white-space:nowrap}.av-breaking-window{min-width:0;overflow:hidden;flex:1}.av-breaking-track{display:flex;align-items:center;width:max-content;white-space:nowrap;animation:avTicker 48s linear infinite}.av-breaking:hover .av-breaking-track{animation-play-state:paused}.av-ticker-item{display:inline-flex;align-items:center;font-size:13px;font-weight:750;padding:8px 25px}.av-ticker-item:before{content:"●";color:var(--red);font-size:10px;margin-right:10px}@keyframes avTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.av-section{margin:18px auto 27px}.av-section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--navy);margin-bottom:14px}.av-section-title{font-size:20px;font-weight:950;margin:0;padding:0 0 7px;border-bottom:3px solid var(--red);margin-bottom:-2px}.av-section-more{font-size:12px;color:var(--muted);font-weight:800}.av-live-label{font-size:10px;color:#fff;background:var(--red);padding:3px 8px;border-radius:3px;font-weight:900;letter-spacing:.5px}
.av-hero-story{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.av-hero-image{display:block;min-height:370px;background:#dfe5eb;overflow:hidden}.av-hero-image img{width:100%;height:100%;min-height:370px;object-fit:cover}.av-hero-copy{padding:24px 25px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.av-hero-copy h1{font-size:clamp(23px,3vw,34px);line-height:1.38;margin:9px 0 8px;font-weight:950}.av-hero-copy p{font-size:14px;color:#5f6b79;margin:0 0 13px}.av-read-more{display:inline-block;margin-top:13px;background:var(--navy);color:#fff;padding:7px 14px;border-radius:4px;font-size:12px;font-weight:800}.av-read-more:hover{background:var(--red);color:#fff}
.av-cat{display:inline-block;background:#fff0f1;color:var(--red);font-size:10px;font-weight:900;padding:2px 8px;border-radius:3px}.av-meta{font-size:11px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap}
.av-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.av-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}.av-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px #1429431a}.av-card .av-thumb{display:block;aspect-ratio:16/9;background:#e6eaf0;overflow:hidden}.av-card .av-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.av-card:hover .av-thumb img{transform:scale(1.04)}.av-card-body{padding:12px 14px}.av-card h3{font-size:16px;line-height:1.48;margin:7px 0 8px}
.av-inline-ad{margin:20px 0}.av-inline-ad-image{height:125px;border:1px solid #d5dce5;background:#fff;border-radius:7px;padding:4px;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.av-inline-ad-image a{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.av-inline-ad-image .av-ad-image{width:100%;height:100%;object-fit:contain}
.av-latest-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.av-list-news{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.av-list-item{display:grid;grid-template-columns:112px minmax(0,1fr);gap:11px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:7px;padding:9px;box-shadow:0 2px 9px #14294309;min-width:0}.av-list-thumb{display:block;height:84px;background:#e7ebf0;border-radius:4px;overflow:hidden}.av-list-thumb img{width:100%;height:100%;object-fit:cover}.av-list-copy{min-width:0}.av-list-copy h3{font-size:14px;line-height:1.43;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.av-list-copy p{font-size:11px;color:var(--muted);line-height:1.4;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.av-ad-sidebar{display:grid;gap:14px}.av-ad-heading{margin:0;background:var(--navy);color:#fff;border-radius:5px;padding:8px 12px;font-size:16px}.av-side-ad{min-height:180px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:7px;padding:5px;overflow:hidden;box-shadow:var(--shadow);position:relative}.av-side-ad a{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.av-side-ad .av-ad-image{width:100%;height:180px;object-fit:contain}.av-ad-placeholder{height:180px;border:2px dashed #bac4d0;border-radius:7px;background:linear-gradient(145deg,#fff,#e9eef4);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#6b7787;padding:15px}.av-ad-placeholder strong{font-size:16px;color:#35445a}.av-ad-placeholder span{font-size:11px}.av-widget{background:#fff;border:1px solid var(--line);border-radius:7px;padding:14px;box-shadow:var(--shadow)}.av-widget-title{font-size:16px;margin:0 0 10px;padding-bottom:8px;border-bottom:2px solid var(--red)}.av-widget ul{list-style:none;margin:0;padding:0}.av-widget li{padding:8px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.4}.av-widget li:last-child{border-bottom:0}.av-widget li small{display:block;color:var(--muted);font-size:10px}
.av-page-title{font-size:26px;margin:0 0 16px;border-left:4px solid var(--red);padding-left:12px}.av-content-panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px;box-shadow:var(--shadow)}.av-single-title{font-size:clamp(25px,4vw,38px);line-height:1.35;margin:8px 0 12px}.av-single-featured{margin:18px 0;border-radius:8px;overflow:hidden}.av-single-featured img{width:100%;height:auto}.av-entry-content{font-size:18px;line-height:1.9}.av-entry-content p{margin:0 0 1.2em}.av-entry-content h2,.av-entry-content h3{line-height:1.4;margin-top:1.5em}.av-entry-content a{color:#1259a5;text-decoration:underline}.av-entry-content blockquote{border-left:4px solid var(--red);margin:20px 0;padding:10px 18px;background:#f7f8fa}.av-pagination{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}.av-pagination a,.av-pagination span{padding:7px 12px;background:#fff;border:1px solid var(--line);border-radius:5px;font-size:13px}.av-pagination .current{background:var(--navy);color:#fff}
.av-footer{background:#101d2d;color:#d9e1ec;margin-top:35px;padding:35px 0 15px}.av-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}.av-footer h3{color:#fff;font-size:17px;margin:0 0 12px}.av-footer a{color:#d9e1ec}.av-footer ul{list-style:none;margin:0;padding:0}.av-footer li{padding:5px 0;font-size:13px}.av-copyright{border-top:1px solid #ffffff22;margin-top:25px;padding-top:13px;font-size:12px;color:#aab7c8}
.av-no-image{height:100%;min-height:80px;width:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#203c5e,#c91f2d);color:#fff;font-weight:900;letter-spacing:1px}
.screen-reader-text{position:absolute;left:-9999px}.alignwide{max-width:1100px;margin-inline:auto}.alignfull{width:100%;margin-inline:0}.wp-caption{max-width:100%}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gallery img{width:100%}
@media(max-width:1050px){.av-menu a{padding-inline:8px;font-size:12px}.av-search input{width:105px}.av-latest-layout{grid-template-columns:minmax(0,1fr) 260px}.av-list-news{grid-template-columns:1fr}.av-masthead-inner{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:760px){body{background-attachment:scroll;background-position:center top;background-size:auto 100vh;font-size:15px}.av-container{width:calc(100% - 22px)}.av-topbar-inner{min-height:30px}.av-top-links{gap:9px}.av-masthead-inner{grid-template-columns:1fr;gap:10px;padding:11px 0}.av-logo{align-items:center;text-align:center}.custom-logo{max-height:65px}.av-tagline{text-align:center}.av-header-ad,.av-header-ad-placeholder{height:76px}.av-header-ad-placeholder strong{font-size:14px}.av-nav-inner{display:block;position:relative}.av-mobile-toggle{display:block;width:100%;text-align:left;background:transparent;color:#fff;border:0;font-size:18px;padding:9px 4px}.av-menu{display:none;flex-direction:column;align-items:stretch;background:var(--navy);padding:4px 0 10px}.av-menu.is-open{display:flex}.av-menu a{padding:10px 14px;font-size:14px}.av-menu .sub-menu{position:static;display:block;background:#203c5e;color:#fff;box-shadow:none;padding-left:12px}.av-menu .sub-menu a{color:#fff}.av-search{padding:8px 0 12px}.av-search input{width:100%}.av-breaking{margin:10px auto 14px}.av-breaking-label{padding:8px 9px;font-size:11px}.av-ticker-item{font-size:12px;padding:7px 17px}.av-section{margin:14px auto 20px}.av-section-title{font-size:17px}.av-hero-story{grid-template-columns:1fr}.av-hero-image,.av-hero-image img{min-height:230px;max-height:290px}.av-hero-copy{padding:15px}.av-hero-copy h1{font-size:22px}.av-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.av-card-body{padding:9px}.av-card h3{font-size:13px}.av-latest-layout{grid-template-columns:1fr}.av-list-news{grid-template-columns:1fr;gap:9px}.av-list-item{grid-template-columns:100px minmax(0,1fr)}.av-list-thumb{height:78px}.av-ad-sidebar{grid-template-columns:1fr 1fr}.av-ad-heading,.av-recent-widget{grid-column:1/-1}.av-side-ad,.av-ad-placeholder{min-height:125px;height:125px}.av-side-ad .av-ad-image{height:115px}.av-footer-grid{grid-template-columns:1fr;gap:20px}.av-content-panel{padding:15px}.av-entry-content{font-size:16px}}
@media(max-width:420px){.av-news-grid{grid-template-columns:1fr 1fr}.av-card h3{font-size:12px}.av-list-item{grid-template-columns:86px minmax(0,1fr)}.av-list-thumb{height:72px}.av-ad-sidebar{grid-template-columns:1fr 1fr}}


/* Version 2.1: compact editorial layout requested by the publisher */
.av-hero-story{grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr)}
.av-hero-image,.av-hero-image img{min-height:260px;max-height:260px}
.av-hero-copy{padding:16px 18px}
.av-hero-copy h1{font-size:clamp(20px,2.2vw,27px);line-height:1.32;margin:6px 0}
.av-hero-copy p{font-size:12px;line-height:1.5;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.av-read-more{margin-top:7px;padding:6px 11px}
.av-news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.av-card-body{padding:9px 10px}
.av-card h3{font-size:14px;line-height:1.38;margin:5px 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.av-card .av-thumb{aspect-ratio:16/10}
.av-latest-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}
.av-list-news{gap:9px}
.av-list-item{grid-template-columns:92px minmax(0,1fr);gap:8px;padding:7px}
.av-list-thumb{height:70px}
.av-list-copy h3{font-size:12px;line-height:1.35;margin:2px 0}
.av-list-copy p{font-size:10px;-webkit-line-clamp:1}
.av-section{margin:14px auto 20px}
.av-section-head{margin-bottom:10px}
.av-section-title{font-size:18px;padding-bottom:5px}
.av-side-ad,.av-ad-placeholder{min-height:150px;height:150px}
.av-side-ad .av-ad-image{height:145px}
@media(max-width:1050px){
 .av-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .av-hero-image,.av-hero-image img{min-height:235px;max-height:235px}
 .av-latest-layout{grid-template-columns:minmax(0,1fr) 240px}
 .av-list-item{grid-template-columns:82px minmax(0,1fr)}
 .av-list-thumb{height:64px}
}
@media(max-width:760px){
 .av-hero-image,.av-hero-image img{min-height:190px;max-height:210px}
 .av-hero-copy{padding:12px}
 .av-hero-copy h1{font-size:19px;line-height:1.3}
 .av-hero-copy p{font-size:11px;-webkit-line-clamp:2}
 .av-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .av-card-body{padding:8px}
 .av-card h3{font-size:12px;line-height:1.35}
 .av-latest-layout{grid-template-columns:1fr}
 .av-list-news{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .av-list-item{grid-template-columns:74px minmax(0,1fr);padding:6px;gap:7px}
 .av-list-thumb{height:58px}
 .av-list-copy h3{font-size:11px}
 .av-ad-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
 .av-side-ad,.av-ad-placeholder{height:110px;min-height:110px}
 .av-side-ad .av-ad-image{height:104px}
}
@media(max-width:420px){
 .av-list-news{grid-template-columns:1fr}
 .av-list-item{grid-template-columns:82px minmax(0,1fr)}
 .av-list-thumb{height:62px}
}


/* Version 2.2: reduce lead story height and make the news cards denser */
.av-hero-story{
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  align-items:stretch;
}
.av-hero-image,
.av-hero-image img{
  height:155px;
  min-height:155px;
  max-height:155px;
}
.av-hero-copy{
  padding:11px 14px;
  justify-content:center;
}
.av-hero-copy h1{
  font-size:clamp(16px,1.65vw,21px);
  line-height:1.28;
  margin:4px 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.av-hero-copy p{
  font-size:11px;
  line-height:1.38;
  margin:4px 0;
  -webkit-line-clamp:2;
}
.av-hero-copy .av-read-more{font-size:11px;padding:4px 9px;margin-top:4px}
.av-news-grid.av-small-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.av-small-grid .av-card .av-thumb{aspect-ratio:16/9}
.av-small-grid .av-card-body{padding:7px 8px}
.av-small-grid .av-card h3{
  font-size:12px;
  line-height:1.3;
  margin:4px 0;
  -webkit-line-clamp:2;
}
.av-small-grid .av-cat{font-size:9px;padding:1px 5px}
.av-small-grid .av-meta{font-size:9px}
.av-grid-section{margin-top:10px;margin-bottom:15px}
.av-hero-section{margin-top:10px;margin-bottom:14px}
@media(max-width:1050px){
  .av-hero-image,.av-hero-image img{height:145px;min-height:145px;max-height:145px}
  .av-news-grid.av-small-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
}
@media(max-width:760px){
  .av-hero-story{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
  .av-hero-image,.av-hero-image img{height:125px;min-height:125px;max-height:125px}
  .av-hero-copy{padding:8px}
  .av-hero-copy h1{font-size:14px;line-height:1.25}
  .av-hero-copy p{font-size:10px;-webkit-line-clamp:1}
  .av-hero-copy .av-read-more{display:none}
  .av-news-grid.av-small-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .av-small-grid .av-card .av-thumb{aspect-ratio:16/8}
  .av-small-grid .av-card-body{padding:6px}
  .av-small-grid .av-card h3{font-size:11px}
}
@media(max-width:420px){
  .av-hero-story{grid-template-columns:1fr}
  .av-hero-image,.av-hero-image img{height:150px;min-height:150px;max-height:150px}
  .av-hero-copy h1{font-size:16px}
}


/* Version 2.3: compact lead area with two additional latest stories */
.av-home{background:rgba(255,255,255,.90);padding:12px 14px 22px;border-radius:8px}
.av-hero-section{margin:8px auto 12px!important}
.av-hero-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(230px,.85fr);gap:10px;align-items:stretch}
.av-hero-story{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)!important;min-height:0!important;height:190px!important}
.av-hero-image,.av-hero-image img{height:190px!important;min-height:190px!important;max-height:190px!important;width:100%;object-fit:cover}
.av-hero-copy{padding:10px 12px!important;overflow:hidden}
.av-hero-copy h1{font-size:19px!important;line-height:1.27!important;margin:5px 0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.av-hero-copy p{font-size:11px!important;line-height:1.35!important;margin:3px 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.av-hero-copy .av-read-more{font-size:10px!important;padding:4px 8px!important;margin-top:5px!important}
.av-hero-extra{display:grid;grid-template-rows:1fr 1fr;gap:10px;min-height:190px}
.av-hero-mini{display:grid;grid-template-columns:112px minmax(0,1fr);gap:9px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden;min-height:0}
.av-hero-mini-image,.av-hero-mini-image img{display:block;width:112px;height:90px;object-fit:cover}
.av-hero-mini-copy{padding:6px 7px 6px 0;min-width:0}
.av-hero-mini-copy h3{font-size:12px;line-height:1.3;margin:4px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.av-hero-mini-copy .av-cat{font-size:9px;padding:1px 5px}
.av-hero-mini-copy .av-meta{font-size:9px}
.av-grid-section{margin-top:10px!important}
.av-small-grid .av-card .av-thumb,.av-small-grid .av-card .av-thumb img{height:92px!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover}
.av-small-grid .av-card h3{font-size:12px!important;line-height:1.28!important;-webkit-line-clamp:2}
.av-small-grid .av-card-body{padding:6px 8px!important}
@media(max-width:900px){
 .av-hero-layout{grid-template-columns:minmax(0,1.4fr) minmax(205px,.9fr)}
 .av-hero-story{height:175px!important}
 .av-hero-image,.av-hero-image img{height:175px!important;min-height:175px!important;max-height:175px!important}
 .av-hero-mini{grid-template-columns:90px minmax(0,1fr)}
 .av-hero-mini-image,.av-hero-mini-image img{width:90px;height:80px}
 .av-hero-extra{min-height:175px}
}
@media(max-width:650px){
 .av-home{padding:8px 7px 15px}
 .av-hero-layout{grid-template-columns:1fr}
 .av-hero-story{height:155px!important;grid-template-columns:42% 58%!important}
 .av-hero-image,.av-hero-image img{height:155px!important;min-height:155px!important;max-height:155px!important}
 .av-hero-copy h1{font-size:14px!important;-webkit-line-clamp:3}
 .av-hero-copy p{font-size:10px!important;-webkit-line-clamp:1}
 .av-hero-copy .av-read-more{display:none}
 .av-hero-extra{grid-template-columns:1fr 1fr;grid-template-rows:1fr;min-height:105px}
 .av-hero-mini{grid-template-columns:1fr;grid-template-rows:62px auto;gap:0}
 .av-hero-mini-image,.av-hero-mini-image img{width:100%;height:62px}
 .av-hero-mini-copy{padding:5px}
 .av-hero-mini-copy h3{font-size:10px;-webkit-line-clamp:2}
 .av-small-grid .av-card .av-thumb,.av-small-grid .av-card .av-thumb img{height:75px!important}
}


/* AV 2.4 — featured news: one lead on the left, two compact stories on the right */
.av-home{background:rgba(255,255,255,.90);padding:10px 14px 22px;border-radius:8px}
.av-hero-section{margin:8px auto 14px!important}
.av-hero-layout{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;height:220px!important}
.av-hero-story{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;height:220px!important;min-height:220px!important;overflow:hidden!important;border-radius:8px!important}
.av-hero-image,.av-hero-image img{display:block!important;width:100%!important;height:220px!important;min-height:220px!important;max-height:220px!important;object-fit:cover!important}
.av-hero-copy{padding:10px 13px!important;justify-content:center!important;overflow:hidden!important}
.av-hero-copy h1{font-size:clamp(16px,1.6vw,21px)!important;line-height:1.28!important;margin:5px 0!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.av-hero-copy p{font-size:11px!important;line-height:1.35!important;margin:3px 0!important;-webkit-line-clamp:2!important}
.av-hero-copy .av-read-more{font-size:10px!important;padding:4px 8px!important;margin-top:5px!important}
.av-hero-extra{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:10px!important;height:220px!important;min-height:220px!important}
.av-hero-mini{display:grid!important;grid-template-columns:115px minmax(0,1fr)!important;grid-template-rows:1fr!important;gap:9px!important;align-items:center!important;min-height:0!important;height:105px!important;overflow:hidden!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:7px!important;box-shadow:0 2px 8px rgba(20,41,67,.06)!important}
.av-hero-mini-image,.av-hero-mini-image img{display:block!important;width:115px!important;height:105px!important;min-height:105px!important;max-height:105px!important;object-fit:cover!important}
.av-hero-mini-copy{padding:6px 8px 6px 0!important;min-width:0!important;overflow:hidden!important}
.av-hero-mini-copy h3{font-size:12px!important;line-height:1.3!important;margin:4px 0!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.av-hero-mini-copy .av-cat{font-size:9px!important;padding:1px 5px!important}
.av-hero-mini-copy .av-meta{font-size:9px!important}
@media(max-width:900px){
 .av-hero-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;height:190px!important}
 .av-hero-story,.av-hero-extra{height:190px!important;min-height:190px!important}
 .av-hero-story{grid-template-columns:1fr!important;grid-template-rows:105px 1fr!important}
 .av-hero-image,.av-hero-image img{height:105px!important;min-height:105px!important;max-height:105px!important}
 .av-hero-copy{padding:6px 9px!important}
 .av-hero-copy h1{font-size:14px!important;-webkit-line-clamp:2!important;margin:2px 0!important}
 .av-hero-copy p,.av-hero-copy .av-read-more{display:none!important}
 .av-hero-mini{grid-template-columns:82px minmax(0,1fr)!important;height:90px!important}
 .av-hero-mini-image,.av-hero-mini-image img{width:82px!important;height:90px!important;min-height:90px!important;max-height:90px!important}
}
@media(max-width:650px){
 .av-home{padding:8px 7px 15px}
 .av-hero-layout{grid-template-columns:1fr!important;height:auto!important;gap:8px!important}
 .av-hero-story{grid-template-columns:42% 58%!important;grid-template-rows:1fr!important;height:145px!important;min-height:145px!important}
 .av-hero-image,.av-hero-image img{height:145px!important;min-height:145px!important;max-height:145px!important}
 .av-hero-copy h1{font-size:13px!important;-webkit-line-clamp:3!important}
 .av-hero-extra{grid-template-columns:1fr 1fr!important;grid-template-rows:1fr!important;height:95px!important;min-height:95px!important;gap:7px!important}
 .av-hero-mini{grid-template-columns:1fr!important;grid-template-rows:48px 1fr!important;height:95px!important;gap:0!important}
 .av-hero-mini-image,.av-hero-mini-image img{width:100%!important;height:48px!important;min-height:48px!important;max-height:48px!important}
 .av-hero-mini-copy{padding:3px 5px!important}
 .av-hero-mini-copy h3{font-size:10px!important;-webkit-line-clamp:2!important;margin:2px 0!important}
}

/* AV 2.5 — always-visible Home navigation item */
.av-home-link{display:flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:36px;padding:7px 13px;margin:0 4px 0 0;background:var(--red);color:#fff!important;border-radius:5px;font-size:14px;font-weight:850;line-height:1;white-space:nowrap}
.av-home-link:hover,.av-home-link:focus{background:#a91522;color:#fff!important}
@media(max-width:760px){
 .av-nav-inner{position:relative}
 .av-home-link{position:absolute;right:12px;top:7px;z-index:5;min-height:32px;padding:6px 11px}
 .av-search{padding-right:10px}
}
