/* PR Punjab Redesign v1 — Palette D: deep teal + saffron. Reversible by deactivating plugin. Does NOT touch ads. */
:root{
  --prp-teal:#0B4F5C;
  --prp-teal-deep:#073840;
  --prp-saffron:#F59E0B;
  --prp-saffron-text:#B45309;
  --prp-text:#1C1F24;
  --prp-muted:#555B66;
  --prp-border:#E4E6EA;
  --prp-bg:#F7F8F9;
  --prp-white:#FFFFFF;
  /* Override GeneratePress colour tokens */
  --accent:var(--prp-teal) !important;
  --accent-2:var(--prp-teal) !important;
  --contrast:var(--prp-text) !important;
  --contrast-2:var(--prp-muted) !important;
  --contrast-3:#AEB4BE !important;
  --base:#F0F2F4 !important;
  --base-2:var(--prp-bg) !important;
  --base-3:var(--prp-white) !important;
}

body,button,input,select,textarea{
  font-family:Inter,'Noto Sans Gurmukhi','Noto Sans Devanagari',system-ui,sans-serif !important;
  color:var(--prp-text);
  line-height:1.6;
}
h1,h2,h3,h4,h5,.entry-title,.main-title,.gb-headline{
  font-family:'Source Serif 4','Noto Sans Gurmukhi',Georgia,serif !important;
  letter-spacing:-0.01em;
  color:var(--prp-text);
}
.entry-title a,.gb-headline a{color:inherit}

/* Masthead / header */
.site-header{
  background-color:var(--prp-teal) !important;
  border-bottom:0 !important;
  box-shadow:0 1px 0 rgba(0,0,0,.08);
}
.main-title a,.main-title a:hover,.site-branding .main-title a{color:#fff !important}
.main-navigation,.main-navigation ul ul{background-color:var(--prp-teal) !important}
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items{color:#fff !important}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
  color:var(--prp-saffron) !important;
  background:transparent !important;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
  box-shadow:inset 0 -3px 0 var(--prp-saffron);
}
.navigation-search input[type="search"]{background:#fff;color:var(--prp-text)}

/* Top bar if present */
.top-bar{background:var(--prp-teal-deep) !important;color:#BFE0E4 !important}

/* Footer */
.site-footer,.site-info,.footer-widgets{
  background-color:var(--prp-teal-deep) !important;
  color:#BFE0E4 !important;
}
.site-footer a,.site-info a,.footer-widgets a{color:#fff !important}
.site-footer a:hover,.site-info a:hover{color:var(--prp-saffron) !important}
.footer-widgets .widget-title,.site-footer h2,.site-footer h3{color:#fff !important;font-family:'Source Serif 4',serif !important}

/* Links accent */
a{color:var(--prp-teal)}
a:hover,a:focus{color:var(--prp-saffron-text)}
.inside-article a{color:var(--prp-teal)}

/* Entry headers */
.entry-header h1,.page-header h1{color:var(--prp-teal) !important}

/* Buttons */
.button,.wp-block-button__link,button[type="submit"],input[type="submit"],.gb-button{
  background-color:var(--prp-teal) !important;
  border-color:var(--prp-teal) !important;
  color:#fff !important;
  border-radius:8px !important;
}
.button:hover,.wp-block-button__link:hover,button[type="submit"]:hover{
  background-color:var(--prp-teal-deep) !important;
}

/* Saffron tags / badges used on homepage cards */
.prp-tag, .gb-headline[class*="7f8fced6"], h6.gb-headline-7f8fced6,
h6.gb-headline-ce6e96bc, h6.gb-headline-1c78bfc1, h6.gb-headline-73ac9432{
  background-color:var(--prp-saffron) !important;
  color:#1C1F24 !important;
  font-family:Inter,sans-serif !important;
  font-weight:700 !important;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:11px !important;
  border-radius:3px;
  padding:4px 9px !important;
}

/* Card polish */
.inside-article,.gb-query-loop-item,.gb-container{
  /* keep layout; lightly polish query cards */
}
.gb-query-loop-wrapper .gb-grid-wrapper > .gb-grid-column > .gb-container{
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(0,0,0,.06),0 6px 18px rgba(8,50,58,.07);
  background:#fff;
}
.gb-query-loop-wrapper img{border-radius:0}

/* Section headings with saffron rule */
.home .gb-headline-19674ae8,
.home .gb-headline-ec7c0224,
.home .gb-headline-4408eeed,
.home .gb-headline-ede71420,
h3.gb-headline-19674ae8,h3.gb-headline-ec7c0224,h3.gb-headline-4408eeed,h3.gb-headline-ede71420{
  background:transparent !important;
  border:0 !important;
  border-bottom:2px solid var(--prp-border) !important;
  box-shadow:inset 0 -2px 0 0 var(--prp-saffron);
  padding-bottom:10px !important;
  margin-bottom:18px !important;
  font-size:26px !important;
  font-weight:800 !important;
}

/* Featured posts box — homepage */
.prp-featured,
.home .gb-query-loop-wrapper{
  margin-bottom:28px;
}
.prp-featured-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}
.prp-featured-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(8,50,58,.08);
}
.prp-featured-card img{width:100%;height:160px;object-fit:cover;display:block}
.prp-featured-card .body{padding:14px 16px 16px}
.prp-featured-card h3{font-size:17px;line-height:1.3;margin:0 0 6px}

/* Related / featured box on posts & pages (sidebar + below content) */
.prp-related,
.widget .prp-related,
#right-sidebar .prp-related{
  background:#fff;
  border:1px solid var(--prp-border);
  border-radius:10px;
  padding:16px;
  box-shadow:0 4px 14px rgba(8,50,58,.06);
}
.prp-related > h3,
.prp-related > .widget-title{
  font-family:'Source Serif 4',serif !important;
  font-size:20px !important;
  margin:0 0 14px !important;
  padding-bottom:8px;
  border-bottom:2px solid var(--prp-border);
  box-shadow:inset 0 -2px 0 0 var(--prp-saffron);
}
.prp-related-item{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--prp-border);
  align-items:center;
}
.prp-related-item:last-child{border-bottom:0}
.prp-related-item img{
  width:72px;height:56px;object-fit:cover;border-radius:6px;display:block;
}
.prp-related-item a{
  font-family:'Source Serif 4',serif;
  font-size:15px;
  font-weight:700;
  color:var(--prp-text) !important;
  line-height:1.3;
  text-decoration:none !important;
}
.prp-related-item a:hover{color:var(--prp-saffron-text) !important}

/* YARPP / related plugins — thumbnail-friendly */
.yarpp-related ul,
.related-posts ul{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
}
.yarpp-related li,
.related-posts li{
  display:grid !important;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
  padding:10px 0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  border-bottom:1px solid var(--prp-border);
  background:transparent !important;
  transform:none !important;
}
.yarpp-related li img,
.related-posts li img{
  width:72px !important;height:56px !important;object-fit:cover;border-radius:6px;
}

/* Gold used previously → saffron */
h6[class*="gb-headline"][style*="FFD700"],
[style*="background-color: #FFD700"],
[style*="background:#FFD700"]{background-color:var(--prp-saffron)!important;color:#1C1F24!important}

/* Dark-red links on homepage cards → saffron-text */
.gb-container-d3a5d53a a,
.gb-container-3388e468 a,
.gb-container-e1e8bef5 a,
.gb-container-63a7591b a{color:var(--prp-saffron-text)!important}

/* Mobile */
@media (max-width:768px){
  h3.gb-headline-19674ae8,h3.gb-headline-ec7c0224,h3.gb-headline-4408eeed,h3.gb-headline-ede71420{font-size:22px !important}
  .prp-related{margin-top:24px}
}
