/*!
Theme Name: UTITs
Theme URI: http://earthnewsnepal.com/
Author: earthnewsnepal.com
Author URI: http://earthnewsnepal.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: utits
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

UTITs is based on Earth News Nepal https://earthnewsnepal.com/, (C) 2012-2020 Automattic, Inc.
Earth News Nepal is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


/* Earth News Nepal Themes Style Code */
body {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.font-head {
  font-family: 'Noto Sans Devanagari', serif;
  font-weight: 700;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgb(var(--c-brand));
  outline-offset: 2px;
}

mark {
  background: rgb(var(--c-brand) / .2);
  color: inherit;
  border-radius: 2px;
}

.flash {
  outline: 3px solid rgb(var(--c-brand));
  outline-offset: 6px;
}

html[data-theme=dark] .light-only,
html:not([data-theme=dark]) .dark-only {
  display: none;
}

:root {
  --c-brand: 216 35 42;
  --c-ink: 16 36 62;
  --c-mute: 90 107 130;
  --c-paper: 255 255 255;
  --c-card: 241 245 250;
  --c-line: 220 228 239;
  --c-nav: 216 35 42;
  --c-navink: 255 255 255;
  --c-band: 16 36 62;
  --c-video: 16 36 62;
  --c-onbrand: 255 255 255;
  color-scheme: light;
}

html[data-theme=dark] {
  --c-video: 5 12 24;
  --c-brand: 240 71 77;
  --c-ink: 230 237 247;
  --c-mute: 148 163 184;
  --c-paper: 12 21 34;
  --c-card: 20 32 51;
  --c-line: 36 52 75;
  --c-nav: 168 27 33;
  --c-band: 6 13 23;
  color-scheme: dark;
}

body,
header,
nav {
  transition: background-color .25s, color .25s;
}

/* ===== Category pagination (simple) ===== */
nav[aria-label="Category pagination"] {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

nav[aria-label="Category pagination"] ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav[aria-label="Category pagination"] li {
  margin: 0;
}

/* Every item */
nav[aria-label="Category pagination"] a.page-numbers,
nav[aria-label="Category pagination"] span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid rgb(var(--c-line));
  border-radius: 25px;
  background: rgb(var(--c-paper));
  color: rgb(var(--c-ink));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

/* Hover */
nav[aria-label="Category pagination"] a.page-numbers:hover {
  border-color: rgb(var(--c-brand));
  color: rgb(var(--c-brand));
}

/* Current page */
nav[aria-label="Category pagination"] .page-numbers.current {
  border-color: rgb(var(--c-brand));
  background: rgb(var(--c-brand));
  color: rgb(var(--c-onbrand));
  font-weight: 600;
  border-radius: 25px;
}

/* "..." separator */
nav[aria-label="Category pagination"] .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: rgb(var(--c-mute));
}

/* Small phones */
@media (max-width: 480px) {

  nav[aria-label="Category pagination"] a.page-numbers,
  nav[aria-label="Category pagination"] span.page-numbers {
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
  }
}

/* ===== GTranslate float switcher styled like the custom globe dropdown ===== */
.gtranslate_wrapper {
  --gt-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
  --gt-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --gt-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  margin-left: .25rem;
  flex-shrink: 0;
}

/* The plugin fixes the switcher to the screen corner: bring it back into the header */
.gtranslate_wrapper #gt_float_wrapper {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  z-index: auto !important;
  display: flex !important;
}

.gtranslate_wrapper .gt_float_switcher {
  position: relative !important;
  width: auto !important;
  min-width: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font: inherit !important;
  line-height: 1 !important;
}

/* ---- Button: globe + chevron ---- */
.gtranslate_wrapper .gt_float_switcher .gt-selected {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
}

.gtranslate_wrapper .gt_float_switcher .gt-current-lang {
  display: flex !important;
  align-items: center;
  gap: .25rem;
  height: 2.25rem;
  padding: 0 .5rem !important;
  border-radius: .25rem;
  color: #fff !important;
  font-size: 0 !important;
  /* hides the "en" text */
}

.gtranslate_wrapper .gt_float_switcher .gt-current-lang:hover {
  background: rgb(0 0 0 / .15);
}

.gtranslate_wrapper .gt_float_switcher .gt-current-lang>img,
.gtranslate_wrapper .gt_float_switcher .gt-lang-code,
.gtranslate_wrapper .gt_float_switcher .gt_float_switcher-arrow {
  display: none !important;
}

.gtranslate_wrapper .gt_float_switcher .gt-current-lang::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  -webkit-mask: var(--gt-globe) center / contain no-repeat;
  mask: var(--gt-globe) center / contain no-repeat;
}

.gtranslate_wrapper .gt_float_switcher .gt-current-lang::after {
  content: "";
  width: .875rem;
  height: .875rem;
  background: currentColor;
  -webkit-mask: var(--gt-chevron) center / contain no-repeat;
  mask: var(--gt-chevron) center / contain no-repeat;
  transition: transform .3s;
}

.gtranslate_wrapper .gt_float_switcher:hover .gt-current-lang::after,
.gtranslate_wrapper .gt_float_switcher:focus-within .gt-current-lang::after,
.gtranslate_wrapper .gt_options.gt-open~.gt-selected .gt-current-lang::after {
  transform: rotate(180deg);
}

/* ---- Dropdown: rises from below with a fade ---- */
.gtranslate_wrapper .gt_float_switcher .gt_options {
  display: block !important;
  /* overrides the plugin's inline display:none */
  position: absolute !important;
  top: 100%;
  right: 0;
  bottom: auto !important;
  left: auto !important;
  z-index: 50;
  width: auto !important;
  min-width: 9rem;
  max-height: 70vh;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0 !important;
  border-radius: .375rem;
  background: #fff !important;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1), 0 0 0 1px rgb(0 0 0 / .05) !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(.75rem);
  transition: opacity .3s ease-out, transform .3s ease-out, visibility .3s;
}

.gtranslate_wrapper .gt_float_switcher:hover .gt_options,
.gtranslate_wrapper .gt_float_switcher:focus-within .gt_options,
.gtranslate_wrapper .gt_float_switcher .gt_options.gt-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---- Language rows ---- */
.gtranslate_wrapper .gt_float_switcher .gt_options a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .625rem 1rem !important;
  border: 0 !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: .875rem !important;
  font-weight: 500;
  line-height: 1.25rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .2s;
}

.gtranslate_wrapper .gt_float_switcher .gt_options a img {
  display: none !important;
}

/* flags */
.gtranslate_wrapper .gt_float_switcher .gt_options a:hover {
  color: rgb(var(--c-brand)) !important;
}

/* Current language: brand colour + check mark */
.gtranslate_wrapper .gt_float_switcher .gt_options a.gt-current {
  color: rgb(var(--c-brand)) !important;
  font-weight: 600;
}

.gtranslate_wrapper .gt_float_switcher .gt_options a.gt-current::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--gt-check) center / contain no-repeat;
  mask: var(--gt-check) center / contain no-repeat;
}

/* ---- Hide Google's grey top bar after translating ---- */
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}