/*
Theme Name: AarohiOne Single Page
Theme URI: https://aarohione.in
Author: AarohiOne
Author URI: https://aarohione.in
Description: A single-page custom WordPress theme for the AarohiOne e-service and citizen portal. Includes a Services custom post type, a Departments taxonomy, anchor-based smooth-scroll navigation and live service filtering. Styled with Tailwind CSS.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aarohione
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ---------------------------------------------------------------------------
   Tailwind handles the bulk of styling (see functions.php).
   Only WordPress-specific and small helper styles live here.
--------------------------------------------------------------------------- */

:root {
  --aarohi-navy: #2b1d0e;
  --aarohi-yellow: #f5b400;
  --aarohi-gold: #a16207;
  --aarohi-saffron: #facc15;
  --aarohi-cream: #fffbeb;
}

html {
  scroll-behavior: smooth;
  /* Offset for the sticky header when jumping to an anchor. */
  scroll-padding-top: 5rem;
}

body {
  font-family: "Poppins", "Noto Sans Kannada", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Accessibility: standard WP screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #fff;
  clip: auto !important;
  clip-path: none;
  color: var(--aarohi-navy);
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  text-decoration: none;
  width: auto;
  z-index: 100000;
}

/* WordPress core alignment / caption classes */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: #64748b; }

/* Admin bar should not hide the sticky navbar */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* Hidden state used by the JS search filter */
.aarohi-hidden { display: none !important; }

/* Fallback styling in case Tailwind fails to load */
.no-tailwind-fallback a { color: var(--aarohi-gold); }
