/* BSS Gurugram news templates: scoped to News & Media and native posts.
   No homepage selectors, no homepage cards, no V9 hero changes. */
body.bss-news-template {
  --bss-news-ink:#36261f;
  --bss-news-muted:#6b5b51;
  --bss-news-saffron:#b8662c;
  --bss-news-border:#e4d1bb;
  background:#f8f4ec;
  color:var(--bss-news-ink);
  font-family:Montserrat,"Segoe UI",Arial,sans-serif;
}
body.bss-news-template #masthead {display:none!important;}
body.bss-news-template #content,
body.bss-news-template #content .ast-container {
  max-width:none!important;width:100%!important;padding:0!important;margin:0!important;display:block!important;
}
/* Keep exactly one fixed-header offset; the main should not add another gap. */
body.bss-news-post #content{padding-top:84px!important;}
body.admin-bar.bss-news-post #content{padding-top:116px!important;}
body.bss-news-template .site-nav.bss-shared-inner-nav {
  position:fixed!important;
  transform:none!important;
  inset:0 0 auto!important;
  background:rgba(244,185,117,.97);
  backdrop-filter:blur(12px);
}
body.admin-bar.bss-news-template .site-nav.bss-shared-inner-nav{top:32px!important;}
body.bss-news-template .site-nav .brand-mark{background:transparent;box-shadow:none;overflow:hidden;}
body.bss-news-template .site-nav .brand-mark img{object-fit:contain;}
body.bss-news-template .site-nav a{font-family:Montserrat,"Segoe UI",Arial,sans-serif;}
body.bss-news-template .bss-news-main{padding-top:0;min-height:45vh;background:#f8f4ec;overflow:hidden;}
body.bss-news-template .bss-news-content-wrap{width:min(1140px,calc(100% - 48px));margin:auto;}
body.bss-news-template .bss-news-intro-label{
  margin:0 0 6px;color:#72584b;font-size:15px;line-height:1.55;font-weight:500;
}
body.bss-news-template .bss-news-landing-intro{
  background:radial-gradient(ellipse at 89% 0%,#ffead1 0%,transparent 36%),
   linear-gradient(110deg,#fff8ef,#f7e4d0);
  padding:22px 0 19px;
  border-bottom:1px solid var(--bss-news-border);
}
body.bss-news-template .bss-news-landing-intro h1{
  font:400 clamp(40px,4.6vw,60px)/1.09 Forum,Georgia,serif;
  letter-spacing:-.025em;color:#35251e;margin:0;
}
body.bss-news-template .bss-news-landing-intro h1 em{color:var(--bss-news-saffron);font-weight:400;}

body.bss-news-template .bss-news-listing{padding:19px 0 65px;}
body.bss-news-template .bss-news-categories{
  display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px;
}
body.bss-news-template .bss-news-categories a{
  display:inline-flex;align-items:center;text-decoration:none;
  min-height:36px;padding:7px 17px;border-radius:40px;
  color:#6b4c39;background:#fffdf8;border:1px solid #e1cdb5;
  font-size:13px;font-weight:600;
}
body.bss-news-template .bss-news-categories a.is-active,
body.bss-news-template .bss-news-categories a:hover{
  background:#a9562c;color:white;border-color:#a9562c;
}
/* Gallery is a destination link, not a WordPress post category. */
body.bss-news-template .bss-news-categories a.bss-news-gallery-link{
  gap:7px;background:#fffaf2;color:#934627;border:1px solid #bc805f;
  font-weight:700;white-space:nowrap;
}
body.bss-news-template .bss-news-categories a.bss-news-gallery-link:hover,
body.bss-news-template .bss-news-categories a.bss-news-gallery-link:focus-visible{
  background:#934627;color:#fff;border-color:#934627;
}
body.bss-news-template .bss-news-gallery-link span{font-size:15px;line-height:1;}
body.bss-news-template .bss-news-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
}
body.bss-news-template .bss-news-card{
  min-width:0;margin:0;background:#fffefa;border:1px solid #e7d7c4;
  border-radius:12px;overflow:hidden;
  box-shadow:0 8px 25px rgba(75,43,25,.045);
  transition:transform .22s,box-shadow .22s;
}
body.bss-news-template .bss-news-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(75,43,25,.11);}
body.bss-news-template .bss-news-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none;}
body.bss-news-template .bss-news-card-photo,
body.bss-news-template .bss-news-card-no-image{height:auto;aspect-ratio:16/10;background:#e7d6bc;overflow:hidden;}
body.bss-news-template .bss-news-card-photo img{display:block;width:100%;height:100%;object-fit:cover;}
body.bss-news-template .bss-news-card-no-image{display:grid;place-items:center;background:linear-gradient(135deg,#efc28d,#fbead2);}
body.bss-news-template .bss-news-card-no-image span{font:400 23px Forum,Georgia,serif;color:#8b4e27;}
body.bss-news-template .bss-news-card-copy{padding:18px 19px 22px;display:flex;flex-direction:column;flex:1;}
body.bss-news-template .bss-news-card-date{font-size:12px;color:#926243;letter-spacing:.025em;margin:0 0 9px;}
body.bss-news-template .bss-news-card h2{
  font:400 clamp(23px,1.8vw,28px)/1.24 Forum,Georgia,serif;
  color:var(--bss-news-ink);margin:0 0 13px;
}
body.bss-news-template .bss-news-card-excerpt{font-size:15px;line-height:1.65;color:#50453f;margin:0 0 19px;}
body.bss-news-template .bss-news-card-more{margin-top:auto;color:#a95226;font-weight:700;font-size:13px;letter-spacing:.005em;}
body.bss-news-template .bss-news-pagination{display:flex;justify-content:center;padding-top:40px;}
body.bss-news-template .bss-news-pagination ul{display:flex;gap:9px;list-style:none;flex-wrap:wrap;margin:0;padding:0;}
body.bss-news-template .bss-news-pagination a,
body.bss-news-template .bss-news-pagination span{display:flex;justify-content:center;align-items:center;min-height:38px;min-width:38px;padding:5px 12px;border:1px solid #d8c0a9;border-radius:5px;background:#fff;color:#6a452e;text-decoration:none;font-size:12px;}
body.bss-news-template .bss-news-pagination .current{color:white;background:#a9562c;border-color:#a9562c;}
body.bss-news-template .bss-news-empty{padding:44px;background:#fffefa;border:1px solid var(--bss-news-border);font-size:14px;}
/* Single post */
body.bss-news-template .bss-news-article-shell{padding-bottom:60px;}
body.bss-news-template .bss-news-article{margin:0;}
body.bss-news-template .bss-news-article-top{padding:19px 0 19px;}
body.bss-news-template .bss-news-breadcrumbs{
  display:flex;align-items:center;flex-wrap:wrap;gap:9px 11px;
  margin:0 0 17px;font-size:13px;line-height:1.5;color:#947b6c;
}
body.bss-news-template .bss-news-breadcrumbs a{color:#99512e;text-decoration:none;font-weight:600;}
body.bss-news-template .bss-news-breadcrumbs a:hover{text-decoration:underline;text-underline-offset:3px;}
body.bss-news-template .bss-news-article-title{font:400 clamp(36px,4.5vw,60px)/1.13 Forum,Georgia,serif;margin:0 0 15px;color:#33241e;max-width:980px;}
body.bss-news-template .bss-news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#725e53;font-size:13px;line-height:1.6;}
body.bss-news-template .bss-news-meta-divider{color:#b57b51;}
body.bss-news-template .bss-news-featured{max-width:1140px;margin:0 auto 30px;}
body.bss-news-template .bss-news-featured img{display:block;width:100%;height:auto;max-height:570px;object-fit:contain;background:#eee0ce;border-radius:10px;}
body.bss-news-template .bss-news-featured figcaption{font-size:11px;color:#78675b;margin:10px 4px 0;}
body.bss-news-template .bss-news-article-body{max-width:790px;margin:0 auto;color:#3e322e;font-size:16px;line-height:1.8;overflow-wrap:break-word;}
body.bss-news-template .bss-news-article-body p{margin:0 0 20px;}
body.bss-news-template .bss-news-article-body h2{font:400 clamp(29px,2.9vw,38px)/1.26 Forum,Georgia,serif;margin:40px 0 14px;color:#5d3625;}
body.bss-news-template .bss-news-article-body h3{font:400 27px/1.3 Forum,Georgia,serif;margin:28px 0 13px;}
body.bss-news-template .bss-news-article-body a{color:#a35127;text-decoration:underline;text-underline-offset:3px;}
body.bss-news-template .bss-news-article-body img{height:auto;max-width:100%;}
body.bss-news-template .bss-news-article-body figure{max-width:100%;margin:28px 0;}
body.bss-news-template .bss-news-article-body figcaption{font-size:11px;color:#78675b;margin-top:7px;}
body.bss-news-template .bss-news-article-body ul,
body.bss-news-template .bss-news-article-body ol{padding-left:24px;margin:14px 0 25px;}
body.bss-news-template .bss-news-article-body blockquote{border-left:3px solid #c58d54;padding:18px 24px;margin:30px 0;color:#5b4536;background:#fff6e9;}
body.bss-news-template .bss-news-article-body .wp-block-image img{width:auto;max-width:100%;}
body.bss-news-template .bss-news-adjacent{
  border-top:1px solid #d8c6b0;margin:50px 0 0;padding-top:20px;
  display:grid;grid-template-columns:1fr 1fr;gap:35px;
}
body.bss-news-template .bss-news-adjacent>div:last-child{text-align:right;}
body.bss-news-template .bss-news-adjacent a{display:flex;flex-direction:column;text-decoration:none;color:#48382d;gap:8px;}
body.bss-news-template .bss-news-adjacent small{color:#a6542b;font-size:11px;}
body.bss-news-template .bss-news-adjacent span{font:400 21px/1.3 Forum,Georgia,serif;}
body.bss-news-template .bss-news-basic-nav{padding:18px 25px;background:#f0c389;}
body.bss-news-template .bss-news-basic-nav a{color:#482c1c;}
body.bss-news-template :is(a,button):focus-visible{outline:2px solid #8d4329;outline-offset:3px;}
@media(max-width:1000px){
 body.bss-news-template .bss-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
/* Match the shared header height at tablet breakpoints. */
@media(max-width:850px){
 body.bss-news-post #content{padding-top:76px!important;}
 body.admin-bar.bss-news-post #content{padding-top:108px!important;}
}
@media(min-width:768px) and (max-width:782px){
 body.admin-bar.bss-news-post #content{padding-top:122px!important;}
}
@media(max-width:767px){
 body.bss-news-template .bss-news-content-wrap{width:min(100% - 32px,650px);}
 body.bss-news-template .bss-news-landing-intro{padding:17px 0 16px;}
 body.bss-news-template .bss-news-listing{padding:16px 0 45px;}
 body.bss-news-template .bss-news-grid{grid-template-columns:1fr;gap:16px;}
 body.bss-news-post #content{padding-top:70px!important;}
 body.admin-bar.bss-news-post #content{padding-top:116px!important;}
 body.bss-news-template .bss-news-article-top{padding:15px 0 18px;}
 body.bss-news-template .bss-news-article-body{font-size:15px;line-height:1.78;}
 body.bss-news-template .bss-news-adjacent{grid-template-columns:1fr;gap:25px;}
 body.bss-news-template .bss-news-adjacent>div:last-child{text-align:left;}
}
@media(max-width:782px){
 body.admin-bar.bss-news-template .site-nav.bss-shared-inner-nav{top:46px!important;}

}

/* Compact news layouts only. No selectors on the homepage. */
@media (max-width:767px) {
 body.bss-news-template .bss-news-intro-label{font-size:14px;line-height:1.5;}
 body.bss-news-template .bss-news-landing-intro h1{font-size:clamp(36px,9.6vw,48px);}
 body.bss-news-template .bss-news-card-copy{padding:17px 18px 21px;}
 body.bss-news-template .bss-news-card-excerpt{font-size:15px;line-height:1.62;}
 body.bss-news-template .bss-news-breadcrumbs{font-size:12px;margin-bottom:13px;}
}
