/*
Theme Name: Aether
Theme URI: https://gitlab.com/wp-themes-jaby/aether-docs
Author: Jaby Themes
Author URI: https://gitlab.com/wp-themes-jaby
Description: A fast, clean documentation and knowledge base theme for developers, SaaS teams, and API companies. Built-in search, sidebar navigation, dark mode, and syntax highlighting.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aether
Requires at least: 6.4
Requires PHP: 8.0
*/

/* ========================================================================
   CSS Custom Properties
   ======================================================================== */

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-code: #f4f4f5;
  --color-bg-sidebar: #fafbfc;
  --color-text: #1a1a2e;
  --color-text-secondary: #5a5a6e;
  --color-text-muted: #8a8a9e;
  --color-border: #e2e2e8;
  --color-border-light: #f0f0f4;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-light: #dbeafe;
  --color-link: #2563eb;
  --color-link-visited: #7c3aed;
  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-danger: #dc2626;
  --color-info: #0284c7;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
  
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  
  --sidebar-width: 280px;
  --toc-width: 240px;
  --max-content: 880px;
  --header-height: 60px;
  
  --transition: 0.15s ease;
}

[data-theme="dark"] {
  --color-bg: #0d1117;
  --color-bg-alt: #161b22;
  --color-bg-code: #21262d;
  --color-bg-sidebar: #0d1117;
  --color-text: #e6edf3;
  --color-text-secondary: #8b949e;
  --color-text-muted: #6e7681;
  --color-border: #30363d;
  --color-border-light: #21262d;
  --color-accent: #58a6ff;
  --color-accent-hover: #79c0ff;
  --color-accent-light: #1c4f7c;
  --color-link: #58a6ff;
  --color-link-visited: #bc8cff;
  --color-success: #3fb950;
  --color-warning: #d29922;
  --color-danger: #f85149;
  --color-info: #58a6ff;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

[data-theme="dark"] .code-block,
[data-theme="dark"] pre {
  --hljs-bg: #161b22;
  --hljs-color: #e6edf3;
  --hljs-comment: #8b949e;
  --hljs-keyword: #ff7b72;
  --hljs-string: #a5d6ff;
  --hljs-number: #79c0ff;
  --hljs-function: #d2a8ff;
  --hljs-variable: #ffa657;
  --hljs-operator: #e6edf3;
  --hljs-punctuation: #e6edf3;
}

/* Syntax Highlight: GitHub (default light) */
.code-block, pre {
  --hljs-bg: #f4f4f5;
  --hljs-color: #1a1a2e;
  --hljs-comment: #6a737d;
  --hljs-keyword: #d73a49;
  --hljs-string: #032f62;
  --hljs-number: #005cc5;
  --hljs-function: #6f42c1;
  --hljs-variable: #e36209;
  --hljs-operator: #1a1a2e;
  --hljs-punctuation: #1a1a2e;
}

[data-syntax="monokai"] .code-block,
[data-syntax="monokai"] pre {
  --hljs-bg: #272822;
  --hljs-color: #f8f8f2;
  --hljs-comment: #75715e;
  --hljs-keyword: #f92672;
  --hljs-string: #e6db74;
  --hljs-number: #ae81ff;
  --hljs-function: #a6e22e;
  --hljs-variable: #fd971f;
  --hljs-operator: #f8f8f2;
  --hljs-punctuation: #f8f8f2;
}

[data-syntax="one-dark"] .code-block,
[data-syntax="one-dark"] pre {
  --hljs-bg: #282c34;
  --hljs-color: #abb2bf;
  --hljs-comment: #5c6370;
  --hljs-keyword: #c678dd;
  --hljs-string: #98c379;
  --hljs-number: #d19a66;
  --hljs-function: #61afef;
  --hljs-variable: #e06c75;
  --hljs-operator: #abb2bf;
  --hljs-punctuation: #abb2bf;
}

/* ========================================================================
   Base Styles
   ======================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-accent-hover); text-decoration: underline; }
a:visited { color: var(--color-link-visited); }

img { max-width: 100%; height: auto; }

/* ========================================================================
   Typography
   ======================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
  margin: 2rem 0 1rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin-top: 0; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); border-bottom: 1px solid var(--color-border); padding-bottom: 0.5rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

ul, ol { margin: 1rem 0; padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

strong { font-weight: 600; color: var(--color-text); }

/* ========================================================================
   Code & Preformatted
   ======================================================================== */

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-bg-code);
  color: var(--color-text);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  word-break: break-word;
}

pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  background: var(--hljs-bg);
  color: var(--hljs-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
  position: relative;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
  border-radius: 0;
}

.code-block {
  position: relative;
  margin: 1.5rem 0;
}

.code-block pre {
  margin: 0;
}

.code-copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition), color var(--transition), border-color var(--transition);
}

.code-block:hover .code-copy-btn,
.code-copy-btn:focus {
  opacity: 1;
}

.code-copy-btn:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.code-copy-btn.copied {
  color: var(--color-success);
  border-color: var(--color-success);
  opacity: 1;
}

/* Syntax Highlighting Colors */
.hljs-comment { color: var(--hljs-comment); font-style: italic; }
.hljs-keyword { color: var(--hljs-keyword); }
.hljs-string { color: var(--hljs-string); }
.hljs-number { color: var(--hljs-number); }
.hljs-function { color: var(--hljs-function); }
.hljs-variable { color: var(--hljs-variable); }
.hljs-operator { color: var(--hljs-operator); }
.hljs-punctuation { color: var(--hljs-punctuation); }

/* ========================================================================
   Admonitions (Callouts)
   ======================================================================== */

.admonition {
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-left: 4px solid;
  background: var(--color-bg-alt);
}

.admonition-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admonition p:last-child { margin-bottom: 0; }

.admonition-info { border-left-color: var(--color-info); }
.admonition-info .admonition-title { color: var(--color-info); }
.admonition-info { background: rgba(2, 132, 199, 0.06); }
[data-theme="dark"] .admonition-info { background: rgba(88, 166, 255, 0.08); }

.admonition-warning { border-left-color: var(--color-warning); }
.admonition-warning .admonition-title { color: var(--color-warning); }
.admonition-warning { background: rgba(217, 119, 6, 0.06); }
[data-theme="dark"] .admonition-warning { background: rgba(210, 153, 34, 0.08); }

.admonition-danger { border-left-color: var(--color-danger); }
.admonition-danger .admonition-title { color: var(--color-danger); }
.admonition-danger { background: rgba(220, 38, 38, 0.06); }
[data-theme="dark"] .admonition-danger { background: rgba(248, 81, 73, 0.08); }

.admonition-tip { border-left-color: var(--color-success); }
.admonition-tip .admonition-title { color: var(--color-success); }
.admonition-tip { background: rgba(22, 163, 74, 0.06); }
[data-theme="dark"] .admonition-tip { background: rgba(63, 185, 80, 0.08); }

/* ========================================================================
   Tables
   ======================================================================== */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-alt);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.table-responsive table { margin: 0; }
.table-responsive th, .table-responsive td { white-space: nowrap; }
.table-responsive td:first-child { white-space: normal; min-width: 200px; }

/* ========================================================================
   Blockquote
   ======================================================================== */

blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-secondary);
  font-style: italic;
}

blockquote p:last-child { margin-bottom: 0; }

/* ========================================================================
   Site Header
   ======================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  transition: background var(--transition), border-color var(--transition);
}

[data-theme="dark"] .site-header {
  background: rgba(13, 17, 23, 0.92);
}

.site-logo {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo a {
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-search {
  position: relative;
}

.header-search input {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text);
  width: 220px;
  transition: width var(--transition), border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font-body);
}

.header-search input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
  width: 300px;
}

.header-search input::placeholder {
  color: var(--color-text-muted);
}

.header-search-icon {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.theme-toggle, .syntax-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.6rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  transition: border-color var(--transition), color var(--transition);
}

.theme-toggle:hover, .syntax-toggle:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* ========================================================================
   Layout
   ======================================================================== */

.site-wrapper {
  display: flex;
  min-height: 100vh;
  padding-top: var(--header-height);
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--color-bg-sidebar);
  border-right: 1px solid var(--color-border);
  padding: 1.5rem;
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  transition: background var(--transition), border-color var(--transition);
  z-index: 100;
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.sidebar-nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  padding-top: 1rem;
}

.sidebar-nav-title:first-child { padding-top: 0; }

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin: 0;
}

.sidebar-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.sidebar-nav a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.sidebar-nav .current a,
.sidebar-nav .current > a {
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-weight: 500;
}

.sidebar-nav .children {
  padding-left: 0.75rem;
  border-left: 1px solid var(--color-border);
  margin-left: 0.75rem;
  margin-top: 0.25rem;
}

.sidebar-nav .children a {
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
}

.sidebar-nav .toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 0.25rem;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.sidebar-nav .toggle.expanded {
  transform: rotate(90deg);
}

.sidebar-nav .has-children > a {
  display: flex;
  align-items: center;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2rem 3rem;
  max-width: calc(var(--max-content) + 6rem);
  min-width: 0;
}

/* Table of Contents (right sidebar) */
.toc-sidebar {
  width: var(--toc-width);
  padding: 2rem 1.5rem;
  position: fixed;
  right: 0;
  top: var(--header-height);
  bottom: 0;
  overflow-y: auto;
  border-left: 1px solid var(--color-border);
  display: none;
}

@media (min-width: 1280px) {
  .toc-sidebar { display: block; }
  .main-content { margin-right: var(--toc-width); }
}

.toc-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-nav li { margin: 0; }
.toc-nav a {
  display: block;
  padding: 0.4rem 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: color var(--transition), border-color var(--transition);
  text-decoration: none;
}

.toc-nav a:hover {
  color: var(--color-text);
  border-left-color: var(--color-border);
}

.toc-nav .active a {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
  font-weight: 500;
}

.toc-nav .toc-h2 { padding-left: 0.75rem; }
.toc-nav .toc-h3 { padding-left: 1.5rem; font-size: 0.8rem; }

/* ========================================================================
   Search Results
   ======================================================================== */

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.search-overlay.active { display: flex; }

.search-modal {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 600px;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-modal input {
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: transparent;
  width: 100%;
}

.search-modal input:focus { outline: none; }

.search-modal input::placeholder { color: var(--color-text-muted); }

.search-results {
  overflow-y: auto;
  padding: 0.5rem 0;
}

.search-result {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--color-border-light);
}

.search-result:hover { background: var(--color-bg-alt); }

.search-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.search-result-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.search-result-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-no-results {
  padding: 2rem;
  text-align: center;
  color: var(--color-text-muted);
}

/* ========================================================================
   Edit on GitHub
   ======================================================================== */

.edit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  transition: color var(--transition);
}

.edit-link:hover { color: var(--color-accent); }

/* ========================================================================
   Pagination / Prev-Next
   ======================================================================== */

.doc-nav-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.doc-nav-prev, .doc-nav-next {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), background var(--transition);
}

.doc-nav-prev:hover, .doc-nav-next:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-alt);
}

.doc-nav-prev a, .doc-nav-next a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.doc-nav-next { text-align: right; }
.doc-nav-next a { align-items: flex-end; }

.doc-nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.doc-nav-title {
  font-weight: 600;
  color: var(--color-text);
}

/* ========================================================================
   Version Badge
   ======================================================================== */

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* ========================================================================
   Breadcrumbs
   ======================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-accent); text-decoration: underline; }
.breadcrumbs-separator { color: var(--color-text-muted); opacity: 0.5; }

/* ========================================================================
   Footer
   ======================================================================== */

.site-footer {
  margin-top: 4rem;
  padding: 2rem 3rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a { color: var(--color-text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); text-decoration: underline; }

/* ========================================================================
   Responsive
   ======================================================================== */

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 200;
    box-shadow: var(--shadow-lg);
  }
  
  .sidebar.open { transform: translateX(0); }
  
  .main-content {
    margin-left: 0;
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .header-search input { width: 150px; }
  .header-search input:focus { width: 180px; }
  
  .doc-nav-footer { grid-template-columns: 1fr; }
  .doc-nav-next { text-align: left; }
  .doc-nav-next a { align-items: flex-start; }
  
  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.4rem;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}

@media (max-width: 480px) {
  .header-search { display: none; }
  .site-header { padding: 0 1rem; }
}

/* ========================================================================
   WordPress Specific
   ======================================================================== */

.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--radius-md); }

.wp-block-embed { margin: 1.5rem 0; }

.alignwide { width: 100%; max-width: 100%; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); max-width: 100vw; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
