/*
Theme Name:   GovSarkariResult
Theme URI:    https://govsarkariresult.com/
Description:  Pixel-perfect child theme for govsarkariresult.com — Tailwind + Alpine on a GeneratePress base. Mirrors the original React design (gradient header, status-coloured cards, detail pages, modals, EN/HI toggle, profile + eligibility filter).
Author:       GovSarkariResult
Author URI:   https://govsarkariresult.com/
Template:     generatepress
Version:      0.1.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  govsarkariresult
*/

/* Reset GeneratePress containers that fight with Tailwind. */
.site,
.site-content,
.site-main,
#page,
.inside-article,
.inside-page-header,
.inside-footer-widgets,
.inside-site-info {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.entry-header,
.entry-meta,
.page-header-image,
.generate-back-to-top {
  display: none !important;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
}

/* Tailwind line-clamp polyfill (utility ships in Tailwind ≥3.3 but we add a safety net). */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Smooth language transitions without layout shift. */
html { scroll-behavior: smooth; }

/* Hide elements with [x-cloak] before Alpine has hydrated. */
[x-cloak] { display: none !important; }
