/* Gram Panchayat layout theme — government / village-portal look
   (info strip, centred emblem+name row,
   full-width coloured menu bar, boxed section headings, dark footer).
   Loaded by site/inc/header.php only when website_settings.site_theme = 'grampanchayat'.
   Everything is scoped under body.theme-gp so other tenants are untouched. */

body.theme-gp { font-family: 'Plus Jakarta Sans', 'Nunito', sans-serif; background: #fff; }

/* ---------- Top info strip (phone | email | address | social) ---------- */
.theme-gp .site-topbar { background: var(--theme-dark); border-bottom: 3px solid rgba(255,255,255,.18); }
.theme-gp .site-topbar-inner { padding: 7px 18px; }
.theme-gp .site-topbar-left a, .theme-gp .site-topbar-address,
.theme-gp .site-topbar-right a { color: #fff; font-size: .82rem; }
.theme-gp .site-topbar-follow { display: none; }

/* ---------- Brand row + full-width nav bar (desktop) ---------- */
@media (min-width: 821px) {
  .theme-gp .site-header { position: static; background: #fff; backdrop-filter: none; border-bottom: 0; }
  .theme-gp .site-header-inner { flex-wrap: wrap; max-width: none; padding: 0; gap: 0; justify-content: center; }
  .theme-gp .site-brand {
    flex: 1 1 100%; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding: 20px 16px 16px; gap: 10px; font-size: 1.9rem; line-height: 1.2; color: var(--theme-dark);
  }
  .theme-gp .site-brand img { height: 96px; max-width: 100%; border-radius: 0; }
  .theme-gp .site-brand .tagline { font-size: .92rem; color: var(--text-mid); margin-top: 4px; }
  .theme-gp .site-nav {
    flex: 1 1 100%; justify-content: center; gap: 0; padding: 0 12px;
    background: var(--theme); border-top: 3px solid var(--theme-dark); box-shadow: 0 4px 14px rgba(0,0,0,.12);
  }
  .theme-gp .site-nav a, .theme-gp .site-nav-dropdown-label {
    color: #fff; border-radius: 0; padding: 14px 15px; font-size: .9rem; font-weight: 700;
  }
  .theme-gp .site-nav a:hover, .theme-gp .site-nav a.active,
  .theme-gp .site-nav-dropdown-label:hover, .theme-gp .site-nav-dropdown-label.active,
  .theme-gp .site-nav-caret:hover { background: var(--theme-dark); color: #fff; }
  .theme-gp .site-nav-caret { color: #fff; border-radius: 0; }
  .theme-gp .site-nav-dropdown { border-radius: 0; }
  .theme-gp .site-nav a.site-nav-cta {
    margin: 8px 0 8px 8px; padding: 8px 18px; border-radius: 4px; background: #fff; color: var(--theme-dark); box-shadow: none;
  }
  .theme-gp .site-nav a.site-nav-cta:hover { background: var(--theme-light); color: var(--theme-dark); }
  .theme-gp .site-nav a.site-nav-login { background: #fff; color: var(--theme-dark); border: 0; border-radius: 4px; margin: 8px 0 8px 8px; padding: 8px 16px; }
  .theme-gp .site-nav a.site-nav-login:hover { background: var(--theme-light); color: var(--theme-dark); }
  .theme-gp .site-nav-dropdown-menu { border-radius: 0; border: 0; border-top: 3px solid var(--theme-dark); padding: 6px; }
  .theme-gp .site-nav-dropdown-menu a { color: var(--text-dark); padding: 10px 14px; border-radius: 0; font-weight: 600; }
  .theme-gp .site-nav-dropdown-menu a:hover, .theme-gp .site-nav-dropdown-menu a.active { background: var(--theme-light); color: var(--theme-dark); }
}
@media (max-width: 820px) {
  .theme-gp .site-header { border-bottom: 3px solid var(--theme); }
  .theme-gp .site-header-inner { position: relative; justify-content: center; }
  .theme-gp .site-brand { flex-direction: column; align-items: center; text-align: center; gap: 6px; color: var(--theme-dark); font-size: 1.05rem; padding: 10px 56px; }
  .theme-gp .site-brand img { height: 56px; }
  .theme-gp .nav-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
  .theme-gp .nav-toggle { background: var(--theme); color: #fff; border-radius: 4px; }
}

/* ---------- Hero ---------- */
.theme-gp .hero { border-bottom: 4px solid var(--theme); }

/* ---------- Section headings: centred title with colour bar ---------- */
.theme-gp .section { padding-top: 64px; padding-bottom: 64px; }
.theme-gp .section-soft { background: #f5f7f4; }
.theme-gp .section-title { font-family: 'Plus Jakarta Sans', 'Nunito', sans-serif; font-weight: 800; color: var(--theme-dark); letter-spacing: .2px; }
.theme-gp .section-title em { font-style: normal; color: var(--theme); }
.theme-gp .section-title::after {
  content: ''; display: block; width: 84px; height: 4px; margin: 12px auto 0;
  background: linear-gradient(90deg, var(--theme), var(--theme-dark)); border-radius: 2px;
}
.theme-gp .section-sub { max-width: 760px; color: var(--text-mid); }

/* ---------- Cards: flat, bordered, coloured top edge ---------- */
.theme-gp .card, .theme-gp .service-card, .theme-gp .course-card, .theme-gp .highlight-card,
.theme-gp .faculty-card, .theme-gp .testimonial-card, .theme-gp .achievement-card {
  border: 1px solid var(--border); border-top: 4px solid var(--theme); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.theme-gp .card:hover, .theme-gp .service-card:hover, .theme-gp .course-card:hover, .theme-gp .highlight-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.12); transform: translateY(-3px);
}

/* ---------- Stats band (like the “दृष्टीक्षेपात लोकसंख्या” counters) ---------- */
.theme-gp .stats-band { background: linear-gradient(135deg, var(--theme-dark), var(--theme)); color: #fff; }
.theme-gp .stats-band .section-title, .theme-gp .stats-band .section-sub { color: #fff; }

/* ---------- Buttons ---------- */
.theme-gp .btn { border-radius: 4px; font-weight: 700; }
.theme-gp .btn-solid { background: var(--theme); border-color: var(--theme); }
.theme-gp .btn-solid:hover { background: var(--theme-dark); border-color: var(--theme-dark); }

/* ---------- Closing CTA band ---------- */
.theme-gp .cta-band { background: linear-gradient(135deg, var(--theme-dark), var(--theme)); }

/* ---------- Footer ---------- */
.theme-gp .site-footer { background: var(--theme-dark); border-top: 5px solid var(--theme); color: rgba(255,255,255,.88); }
.theme-gp .footer-inner h4 { color: #fff; border-bottom: 2px solid rgba(255,255,255,.25); padding-bottom: 8px; display: inline-block; }
.theme-gp .footer-inner a { color: rgba(255,255,255,.88); }
.theme-gp .footer-inner a:hover { color: #fff; }
.theme-gp .footer-social a { background: rgba(255,255,255,.14); border-radius: 50%; }
.theme-gp .footer-social a:hover { background: #fff; color: var(--theme-dark); }


/* =====================================================================
   NEW GP HOME (site/pages/home-gp.php) — Kadepur-style sections
   ===================================================================== */
.gp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gp-section { padding: 64px 0; }
.gp-soft { background: #f4f7fb; }
.gp-heading { text-align: center; font-size: 1.9rem; font-weight: 800; color: var(--theme-dark); margin: 0 0 8px; line-height: 1.3; }
.gp-heading small { display: block; font-size: .82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-mid, #667); margin-top: 6px; }
.gp-heading::after { content: ''; display: block; width: 84px; height: 4px; margin: 14px auto 36px; border-radius: 2px; background: linear-gradient(90deg, var(--theme), var(--theme-dark)); }
.gp-lead { text-align: center; max-width: 720px; margin: -16px auto 32px; color: var(--text-mid, #556); }

/* Buttons */
.gp-btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: .95rem; transition: .2s; }
.gp-btn-light { background: #fff; color: var(--theme-dark); }
.gp-btn-light:hover { background: var(--theme-light); }
.gp-btn-outline { border-color: #fff; color: #fff; }
.gp-btn-outline:hover { background: #fff; color: var(--theme-dark); }
.gp-btn-solid { background: var(--theme); color: #fff; }
.gp-btn-solid:hover { background: var(--theme-dark); }

/* Hero */
.gp-hero { position: relative; min-height: 440px; display: flex; align-items: center; text-align: center; color: #fff;
  background: var(--gp-hero-img, none) center/cover no-repeat, linear-gradient(135deg, var(--theme-dark), var(--theme)); }
.gp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)); }
.gp-hero-inner { position: relative; padding-top: 70px; padding-bottom: 70px; }
.gp-hero-kicker { display: inline-block; padding: 6px 18px; border: 1px solid rgba(255,255,255,.6); border-radius: 30px; font-size: .9rem; letter-spacing: 1px; margin-bottom: 18px; }
.gp-hero-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin: 0 0 14px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.gp-hero-sub { font-size: 1.1rem; max-width: 760px; margin: 0 auto 28px; opacity: .95; }
.gp-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* News ticker */
.gp-ticker { background: var(--theme-dark); color: #fff; }
.gp-ticker-inner { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.gp-ticker-label { flex: none; background: #fff; color: var(--theme-dark); font-weight: 800; padding: 4px 14px; border-radius: 3px; font-size: .85rem; }
.gp-ticker-viewport { overflow: hidden; flex: 1; }
.gp-ticker-track { display: inline-flex; gap: 48px; white-space: nowrap; animation: gp-marquee 40s linear infinite; }
.gp-ticker-track:hover { animation-play-state: paused; }
.gp-ticker-track a, .gp-ticker-track span { color: #fff; text-decoration: none; font-size: .92rem; }
.gp-ticker-track a:hover { text-decoration: underline; }
@keyframes gp-marquee { to { transform: translateX(-50%); } }

/* Officials */
.gp-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 26px; }
.gp-person { flex: 0 1 210px; text-align: center; }
.gp-person-photo { width: 160px; height: 200px; margin: 0 auto 14px; border: 4px solid #fff; border-bottom: 4px solid var(--theme);
  box-shadow: 0 6px 20px rgba(0,0,0,.14); background: var(--theme-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gp-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gp-person-photo span { font-size: 2.4rem; font-weight: 800; color: var(--theme); }
.gp-person h3 { font-size: 1.05rem; font-weight: 800; color: var(--theme-dark); margin: 0 0 4px; }
.gp-person p { margin: 0; font-size: .86rem; color: var(--text-mid, #556); line-height: 1.4; }

/* News cards */
.gp-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.gp-news-card { position: relative; background: #fff; border: 1px solid var(--border, #e2e8f0); border-top: 4px solid var(--theme); padding: 26px 22px 22px 92px; box-shadow: 0 4px 16px rgba(0,0,0,.06); min-height: 150px; }
.gp-news-date { position: absolute; left: 20px; top: 24px; width: 54px; text-align: center; background: var(--theme); color: #fff; padding: 8px 0; border-radius: 4px; line-height: 1.1; }
.gp-news-date b { display: block; font-size: 1.4rem; }
.gp-news-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.gp-news-card h3 { font-size: 1.02rem; margin: 0 0 8px; line-height: 1.45; }
.gp-news-card h3 a { color: var(--theme-dark); text-decoration: none; }
.gp-news-card h3 a:hover { color: var(--theme); }
.gp-news-card p { font-size: .88rem; color: var(--text-mid, #556); margin: 0 0 10px; }
.gp-more { font-size: .85rem; font-weight: 700; color: var(--theme); text-decoration: none; }

/* Population */
.gp-pop { background: linear-gradient(135deg, var(--theme-dark), var(--theme)); color: #fff; }
.gp-pop-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.gp-pop-noimg { grid-template-columns: 1fr; text-align: center; }
.gp-pop-img img { width: 100%; max-height: 420px; object-fit: cover; border: 8px solid rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(0,0,0,.3); }
.gp-eyebrow { display: inline-block; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 5px 14px; border-radius: 30px; margin-bottom: 12px; }
.gp-pop h2 { font-size: 2rem; font-weight: 800; margin: 0 0 12px; }
.gp-pop p { opacity: .92; margin: 0 0 26px; }
.gp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.gp-stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); padding: 20px 12px; text-align: center; border-radius: 6px; }
.gp-stat-num { font-size: 2.1rem; font-weight: 800; line-height: 1.1; }
.gp-stat-label { font-size: .88rem; margin-top: 6px; opacity: .92; }

/* Citizen portal tiles */
.gp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.gp-tile { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--border, #e2e8f0); border-left: 5px solid var(--theme); padding: 18px; text-decoration: none; color: inherit; box-shadow: 0 3px 12px rgba(0,0,0,.05); transition: .2s; }
.gp-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.12); border-left-color: var(--theme-dark); }
.gp-tile-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--theme-light); color: var(--theme); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.gp-tile-text b { display: block; color: var(--theme-dark); font-size: .98rem; }
.gp-tile-text em { display: block; font-style: normal; font-size: .82rem; color: var(--text-mid, #667); margin-top: 3px; line-height: 1.35; }

/* Quality services */
.gp-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.gp-service { background: #fff; text-align: center; padding: 30px 20px; border-bottom: 4px solid var(--theme); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.gp-service-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--theme-light); color: var(--theme); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; overflow: hidden; }
.gp-service-icon img { width: 100%; height: 100%; object-fit: cover; }
.gp-service h3 { font-size: 1.05rem; color: var(--theme-dark); margin: 0 0 8px; }
.gp-service p { font-size: .88rem; color: var(--text-mid, #556); margin: 0; }

/* Albums */
.gp-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.gp-album { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--theme-light); border: 4px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.gp-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gp-album:hover img { transform: scale(1.07); }
.gp-album-ph { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--theme); }
.gp-album-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.gp-album-cap b { display: block; font-size: 1rem; }
.gp-album-cap em { font-style: normal; font-size: .78rem; opacity: .85; }

/* Grievance + map */
.gp-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gp-form { background: #fff; padding: 28px; border-top: 4px solid var(--theme); box-shadow: 0 4px 16px rgba(0,0,0,.08); display: grid; gap: 14px; }
.gp-form label { display: block; font-size: .85rem; font-weight: 700; color: var(--theme-dark); }
.gp-form input, .gp-form textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 4px; font: inherit; font-weight: 400; }
.gp-form input:focus, .gp-form textarea:focus { outline: 2px solid var(--theme); border-color: var(--theme); }
.gp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gp-alert { padding: 10px 14px; border-radius: 4px; font-size: .88rem; }
.gp-ok { background: #e7f7ec; color: #14683a; }
.gp-err { background: #fdecec; color: #a12525; }
.gp-map { min-height: 380px; border: 4px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,.12); background: var(--theme-light); }
.gp-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.gp-map-ph { height: 100%; min-height: 380px; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--theme); }

@media (max-width: 820px) {
  .gp-section { padding: 44px 0; }
  .gp-heading { font-size: 1.5rem; }
  .gp-pop-wrap, .gp-contact-grid, .gp-form-row { grid-template-columns: 1fr; }
  .gp-hero { min-height: 340px; }
  .gp-person { flex-basis: 150px; }
  .gp-person-photo { width: 130px; height: 165px; }
}


/* Hero slider */
.gp-hero { display: block; padding: 0; min-height: 0; background: none; overflow: hidden; }
.gp-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s;
  background: linear-gradient(135deg, var(--theme-dark), var(--theme)) center/cover no-repeat; }
.gp-slide.active { position: relative; opacity: 1; visibility: visible; min-height: 460px; }
.gp-slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--theme-dark); cursor: pointer; }
.gp-prev { left: 14px; } .gp-next { right: 14px; }
.gp-hero-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.gp-hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.gp-hero-dots button.active { background: #fff; }
@media (max-width: 820px) { .gp-slide.active { min-height: 360px; } .gp-hero-nav { display: none; } }


/* =====================================================================
   POLISH — Kadepur-style look & feel (v2)
   ===================================================================== */

/* Marathi/Devanagari-friendly typography */
body.theme-gp, .theme-gp h1, .theme-gp h2, .theme-gp h3, .theme-gp h4,
.theme-gp .gp-heading, .theme-gp .site-nav a, .theme-gp .gp-btn, .theme-gp input, .theme-gp textarea, .theme-gp button {
  font-family: 'Mukta', 'Noto Sans Devanagari', 'Plus Jakarta Sans', 'Nunito', sans-serif;
}
body.theme-gp { font-size: 17px; line-height: 1.6; color: #1f2937; }

/* Government info strip with tricolour edge */
.theme-gp .site-topbar { position: relative; border-bottom: 0; }
.theme-gp .site-topbar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; z-index: 2;
  background: linear-gradient(90deg, #ff9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66% 100%);
}
.theme-gp .site-topbar-govt { color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .3px; margin-right: 14px; }
.theme-gp .site-topbar-govt i { margin-right: 6px; opacity: .9; }
.theme-gp .site-header { margin-top: 4px; }

/* Brand row: bigger, bolder name */
@media (min-width: 821px) {
  .theme-gp .site-brand { font-size: 2.3rem; font-weight: 800; letter-spacing: .2px; }
  .theme-gp .site-brand img { height: 110px; }
  .theme-gp .site-nav a, .theme-gp .site-nav-dropdown-label { font-size: 1rem; }
}

/* Hero: stronger overlay, bigger type, soft curved bottom edge */
.theme-gp .gp-hero { border-bottom: 0; }
.theme-gp .gp-slide.active { min-height: 520px; }
.theme-gp .gp-hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.62) 100%); }
.theme-gp .gp-hero-kicker { background: rgba(255,255,255,.14); backdrop-filter: blur(2px); font-weight: 600; font-size: 1rem; }
.theme-gp .gp-hero-title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.2; }
.theme-gp .gp-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; z-index: 2; background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.theme-gp .gp-btn { border-radius: 50px; padding: 13px 32px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.theme-gp .gp-btn:hover { transform: translateY(-2px); }

/* Section headings: small saffron accent dot row */
.theme-gp .gp-heading { font-size: 2.1rem; }
.theme-gp .gp-heading::after { background: linear-gradient(90deg, #ff9933 0 33%, var(--theme) 33% 66%, #138808 66% 100%); width: 96px; height: 4px; }

/* Officials: framed portrait cards with lift on hover */
.theme-gp .gp-person { transition: transform .25s ease; }
.theme-gp .gp-person:hover { transform: translateY(-6px); }
.theme-gp .gp-person-photo { border-radius: 8px 8px 0 0; border-bottom-width: 5px; }
.theme-gp .gp-person h3 { font-size: 1.12rem; }

/* Tiles / services / news polish */
.theme-gp .gp-tile { border-radius: 8px; }
.theme-gp .gp-tile-icon { transition: background .25s, color .25s; }
.theme-gp .gp-tile:hover .gp-tile-icon { background: var(--theme); color: #fff; }
.theme-gp .gp-service { border-radius: 10px; transition: transform .25s, box-shadow .25s; }
.theme-gp .gp-service:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.theme-gp .gp-news-card { border-radius: 8px; transition: transform .25s, box-shadow .25s; }
.theme-gp .gp-news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.13); }
.theme-gp .gp-album { border-radius: 8px; }
.theme-gp .gp-stat { backdrop-filter: blur(2px); transition: transform .25s; }
.theme-gp .gp-stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.2); }
.theme-gp .gp-form, .theme-gp .gp-map { border-radius: 8px; }

/* Footer: a little more substance */
.theme-gp .site-footer { background: linear-gradient(180deg, var(--theme-dark), #0f172a); border-top: 0; position: relative; }
.theme-gp .site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, #ff9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66% 100%);
}
.theme-gp .footer-bottom { border-top: 1px solid rgba(255,255,255,.18); }

/* Scroll to top */
.gp-scrolltop {
  position: fixed; left: 18px; bottom: 24px; z-index: 190; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--theme); color: #fff; font-size: 1.05rem; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s;
}
.gp-scrolltop.show { opacity: 1; visibility: visible; transform: none; }
.gp-scrolltop:hover { background: var(--theme-dark); }
/* Bottom-left on purpose: the chat / WhatsApp widget owns the bottom-right corner, so the two never overlap. */
@media (max-width: 820px) { .gp-scrolltop { bottom: 82px; left: 14px; } }

/* Reveal on scroll (classes are added by JS, so no-JS visitors still see everything) */
.gp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.gp-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gp-reveal { opacity: 1; transform: none; transition: none; } }


/* =====================================================================
   POPULATION — "at a glance": main photo + inset photo, compact stats grid
   ===================================================================== */
.theme-gp .gp-pop { background: #fff; color: #1f2937; padding: 64px 0; }
.theme-gp .gp-pop-wrap, .theme-gp .gp-pop-noimg { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; text-align: left; }
.theme-gp .gp-pop-noimg { grid-template-columns: 1fr; }

/* Photo pattern: large main photo (top-right) + small framed inset (bottom-left)
   + an offset outline behind the main photo */
.theme-gp .gp-pop-img { position: relative; min-height: 460px; isolation: isolate; }
.theme-gp .gp-pop-front {
  position: absolute; top: 0; right: 0; width: 80%; height: 84%; padding: 0; background: none;
}
.theme-gp .gp-pop-front::before {
  content: ''; position: absolute; inset: 16px -16px -16px 16px; z-index: -1;
  border: 3px solid var(--theme); border-radius: 14px; opacity: .55;
}
.theme-gp .gp-pop-front img {
  display: block; width: 100%; height: 100%; object-fit: cover; max-height: none; border: 0;
  border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.theme-gp .gp-pop-img .gp-pop-back {
  position: absolute; left: 0; bottom: 0; top: auto; width: 46%; height: 46%; z-index: 2;
  object-fit: cover; max-height: none; border: 8px solid #fff; border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.theme-gp .gp-pop-img--single { min-height: 0; }
.theme-gp .gp-pop-img--single img {
  width: 100%; height: auto; max-height: 460px; object-fit: cover; border: 0;
  box-shadow: 0 14px 36px rgba(0,0,0,.16); border-radius: 14px;
}

/* Text column (smaller type) */
.theme-gp .gp-pop .gp-eyebrow {
  display: block; background: none; padding: 0; margin: 0 0 4px;
  color: #f5a800; font-size: 1.05rem; font-weight: 700; letter-spacing: 0;
}
.theme-gp .gp-pop h2 {
  color: #1e293b; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; line-height: 1.25; margin: 0 0 16px;
}
.theme-gp .gp-pop p { color: #374151; opacity: 1; font-size: .98rem; line-height: 1.75; margin: 0 0 30px; }

/* Stats: compact numbers, grey labels, thin cross dividers */
.theme-gp .gp-pop .gp-stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
.theme-gp .gp-pop .gp-stat {
  background: none; backdrop-filter: none; border: 0; border-radius: 0; text-align: left;
  padding: 22px 26px; border-bottom: 1px solid #e5e7eb;
}
.theme-gp .gp-pop .gp-stat:nth-child(odd) { border-right: 1px solid #e5e7eb; padding-left: 28px; }
.theme-gp .gp-pop .gp-stat:nth-last-child(-n+2) { border-bottom: 0; }
.theme-gp .gp-pop .gp-stat:nth-child(odd):last-child { border-right: 0; }
.theme-gp .gp-pop .gp-stat:hover { transform: none; background: #f8fafc; }
.theme-gp .gp-pop .gp-stat-num {
  font-family: 'Montserrat', 'Mukta', sans-serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800; line-height: 1.15; color: #111827;
}
.theme-gp .gp-pop .gp-stat-label { color: #6b7280; font-size: .92rem; margin-top: 6px; opacity: 1; }

@media (max-width: 960px) {
  .theme-gp .gp-pop { padding: 48px 0; }
  .theme-gp .gp-pop-wrap { grid-template-columns: 1fr; gap: 32px; }
  .theme-gp .gp-pop-img { min-height: 380px; }
}
@media (max-width: 520px) {
  .theme-gp .gp-pop-img { min-height: 300px; }
  .theme-gp .gp-pop-img .gp-pop-back { border-width: 5px; }
  .theme-gp .gp-pop .gp-stat { padding: 16px 12px; }
  .theme-gp .gp-pop .gp-stat:nth-child(odd) { padding-left: 12px; }
  .theme-gp .gp-pop .gp-stat-label { font-size: .85rem; }
}


/* =====================================================================
   AWARD / RECOGNITION — soft rounded card: award photo + video, heading below
   ===================================================================== */
.theme-gp .gp-award-sec { background: #fff; padding: 56px 0; }
.theme-gp .gp-award { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; border-radius: 40px; padding: 56px 48px; }
.theme-gp .gp-award--single { grid-template-columns: 1fr; }
.theme-gp .gp-award-photo { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; isolation: isolate; }
.theme-gp .gp-award-photo::before {
  content: ''; position: absolute; width: min(78%, 360px); aspect-ratio: 1; border-radius: 50%; z-index: -1; bottom: 6%;
  background: radial-gradient(circle, #0a84d0 1.6px, transparent 2.2px) 0 0 / 10px 10px;
  -webkit-mask-image: radial-gradient(circle, transparent 46%, #000 62%, transparent 72%);
          mask-image: radial-gradient(circle, transparent 46%, #000 62%, transparent 72%);
}
.theme-gp .gp-award-photo img { max-height: 440px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.22)); }
.theme-gp .gp-award-body { text-align: center; min-width: 0; }
.theme-gp .gp-award-video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; margin: 0 0 26px;
  border-radius: 26px; overflow: hidden; cursor: pointer; background: #111;
}
.theme-gp .gp-award-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-gp .gp-award-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: rgba(255,255,255,.88); color: #111; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; transition: transform .2s;
}
.theme-gp .gp-award-play i { margin-left: 5px; }
.theme-gp .gp-award-video:hover .gp-award-play { transform: scale(1.08); }
.theme-gp .gp-award-body h2 { color: #1e293b; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.2; margin: 0; }
.theme-gp .gp-award-divider {
  display: block; width: 150px; height: 3px; margin: 16px auto 18px; opacity: .85;
  background: linear-gradient(90deg, #1e293b 0 42%, transparent 42% 58%, #1e293b 58% 100%);
}
.theme-gp .gp-award-body p { color: #4b5563; font-weight: 600; font-size: 1.05rem; line-height: 1.8; margin: 0; opacity: 1; }

.gp-award-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.82); padding: 20px; }
.gp-award-modal.open { display: flex; }
.gp-award-modal-box { position: relative; width: min(960px, 100%); }
.gp-award-modal-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.gp-award-modal-stage iframe, .gp-award-modal-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gp-award-modal-close { position: absolute; right: 0; top: -44px; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }

@media (max-width: 860px) {
  .theme-gp .gp-award { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; border-radius: 28px; }
  .theme-gp .gp-award-photo { min-height: 300px; }
  .theme-gp .gp-award-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 1.3rem; }
}

/* Facility cards that link to a page / URL */
.theme-gp a.gp-service { display: block; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.theme-gp a.gp-service:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.12); }

/* Multiple logos (Website > Settings): beat the fixed theme heights above, keep per-logo sizes. */
.theme-gp .site-brand .site-logos { justify-content: center; gap: 18px; }
.theme-gp .site-brand .site-logos img { width: auto; max-width: 100%; border-radius: 0; }
.theme-gp .site-brand .site-logos img.has-size { height: var(--logo-h); }
@media (max-width: 820px) {
  .theme-gp .site-brand .site-logos { gap: 8px; }
  .theme-gp .site-brand .site-logos img.has-size { height: var(--logo-h-m); }
}

/* Header logo position (Website > Settings > Branding > Logo position). Default is centre. */
.theme-gp .site-brand.logo-align-left { align-items: flex-start; text-align: left; }
.theme-gp .site-brand.logo-align-left .site-logos { justify-content: flex-start; }
.theme-gp .site-brand.logo-align-right { align-items: flex-end; text-align: right; }
.theme-gp .site-brand.logo-align-right .site-logos { justify-content: flex-end; }
@media (min-width: 821px) {
  .theme-gp .site-brand.logo-align-left { padding-left: 32px; }
  .theme-gp .site-brand.logo-align-right { padding-right: 32px; }
}
@media (max-width: 820px) {
  .theme-gp .site-brand.logo-align-left { padding-left: 12px; padding-right: 56px; }
  .theme-gp .site-brand.logo-align-right { padding-left: 56px; padding-right: 12px; }
}

/* "Show all logos on the left side of the Site Title" (Website > Settings > Branding): logos in one row, title beside them. */
.theme-gp .site-brand.logos-inline { flex-direction: row; align-items: center; text-align: left; gap: 16px; }
.theme-gp .site-brand.logos-inline .site-logos { flex-wrap: nowrap; flex-shrink: 0; justify-content: flex-start; }
.theme-gp .site-brand.logos-inline.logo-align-center { justify-content: center; }
.theme-gp .site-brand.logos-inline.logo-align-left { justify-content: flex-start; }
.theme-gp .site-brand.logos-inline.logo-align-right { justify-content: flex-end; text-align: left; }
@media (max-width: 820px) {
  .theme-gp .site-brand.logos-inline { gap: 8px; font-size: .95rem; }
  .theme-gp .site-brand.logos-inline .site-logos { gap: 6px; }
}

/* Mobile: 2 cards per row for Honorable Ministers & Officials / Gram Panchayat Officers and Quality Services & Facilities */
@media (max-width: 820px) {
  .gp-people { gap: 24px 14px; justify-content: center; }
  .gp-person { flex: 0 0 calc(50% - 7px); max-width: calc(50% - 7px); min-width: 0; }
  .gp-person-photo { width: min(130px, 100%); }
  .gp-person h3 { font-size: .95rem; }
  .gp-person p { font-size: .8rem; }

  .gp-services.gp-services-2up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gp-services-2up .gp-service { padding: 20px 12px; min-width: 0; }
  .gp-services-2up .gp-service-icon { width: 56px; height: 56px; font-size: 1.35rem; }
  .gp-services-2up .gp-service h3 { font-size: .95rem; overflow-wrap: anywhere; }
  .gp-services-2up .gp-service p { font-size: .8rem; overflow-wrap: anywhere; }
}

/* ---------- Mobile header: compact, aligned row ----------
   [ logo(s) | site title + tagline .......... language | menu ]
   Replaces the tall stacked/centred header on phones so the sticky header stays slim, the logo is
   sized to fit, and the title never runs under the language / menu buttons. Applies whatever the
   Logo position / "logos beside title" settings are (those still drive the desktop header). */
@media (max-width: 820px) {
  .theme-gp .site-header-inner {
    position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start;
    gap: 0; padding: 8px 100px 8px 10px; min-height: 62px;
  }
  .theme-gp .site-header .site-brand,
  .theme-gp .site-header .site-brand.logo-align-left,
  .theme-gp .site-header .site-brand.logo-align-center,
  .theme-gp .site-header .site-brand.logo-align-right,
  .theme-gp .site-header .site-brand.logos-inline {
    flex: 1 1 auto; min-width: 0; margin: 0; padding: 0;
    flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; gap: 8px;
  }
  .theme-gp .site-header .site-brand .site-logos {
    flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 4px;
  }
  .theme-gp .site-header .site-brand .site-logos img,
  .theme-gp .site-header .site-brand > img {
    width: auto; height: 44px; max-height: 46px; max-width: 17vw; object-fit: contain; border-radius: 0;
  }
  .theme-gp .site-header .site-brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
  .theme-gp .site-header .site-brand > span:not(.site-logos):not(.site-brand-mark) {
    display: block; min-width: 0; flex: 1 1 auto; text-align: left;
    font-size: clamp(.82rem, 3.7vw, 1rem); font-weight: 800; line-height: 1.22; letter-spacing: 0;
    color: var(--theme-dark); overflow-wrap: anywhere;
  }
  .theme-gp .site-header .site-brand .tagline {
    display: block; margin-top: 2px; font-size: .66rem; line-height: 1.25; font-weight: 500; color: var(--text-mid);
  }
  .theme-gp .nav-toggle { right: 8px; width: 40px; height: 40px; }
  .theme-gp .site-lang { right: 54px; }
  .theme-gp .site-lang-btn { width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  .theme-gp .site-header-inner { padding-left: 8px; }
  .theme-gp .site-header .site-brand .site-logos img,
  .theme-gp .site-header .site-brand > img { height: 38px; max-height: 40px; }
  .theme-gp .site-header .site-brand > span:not(.site-logos):not(.site-brand-mark) { font-size: .8rem; }
}

/* ---------- Mobile: auto-scrolling rows (Tourist Places, Photo Gallery, Video Gallery, We Support) ---------- */
@media (max-width: 820px) {
  .gp-autoscroll {
    display: flex; flex-wrap: nowrap; gap: 14px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding: 4px 2px 12px; margin-left: -2px; margin-right: -2px;
  }
  .gp-autoscroll::-webkit-scrollbar { display: none; }
  .gp-autoscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

  /* Tourist Places cards */
  .gp-services.gp-autoscroll > .gp-service { flex-basis: 74%; min-width: 0; }
  /* Photo / Video albums */
  .gp-albums.gp-autoscroll > .gp-album { flex-basis: 78%; }

  /* We Support: smaller logo cards */
  .gp-clients.gp-autoscroll { display: flex; grid-template-columns: none; gap: 10px; margin-top: 16px; }
  .gp-clients.gp-autoscroll > .gp-client { flex: 0 0 104px; padding: 8px 6px; }
  .gp-clients.gp-autoscroll .gp-client-img { height: 44px; margin-bottom: 6px; }
  .gp-clients.gp-autoscroll .gp-client-fb { width: 38px; height: 38px; font-size: .8rem; }
  .gp-clients.gp-autoscroll .gp-client-name { font-size: .7rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ---------- Header site title: larger, auto-fitted to the room the logo(s) leave (see script in site/inc/header.php) ---------- */
.theme-gp .site-title-main { display: block; font-weight: 800; line-height: 1.25; overflow-wrap: break-word; min-width: 0; font-size: 1.9rem; }
@media (max-width: 820px) {
  .theme-gp .site-title-main { font-size: 1.35rem; }
  .theme-gp .site-header .site-brand > span.site-title-text { overflow: visible; }
}
