/*
Theme Name: cronum
Theme URI: https://cronum.art
Template: Divi
Author: ArtAreas.io
Author URI: https://ArtAreas.io
Description: Cronum — The Timeless Surround of Art
Version: 5.0.0-public-alpha.22.1757820025
Updated: 2025-09-14 03:20:25

*/

/* ================================
   Cronum Typography (Global)
   Ensures U+29DD ⧝ renders cross-platform
   ================================ */

:root {
  /* Full, resilient stacks */
  --font-serif: "Libre Baskerville", "Tiempos Headline",
                "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols",
                "DejaVu Sans", Georgia, serif;

  --font-sans:  "Inter", "Helvetica Neue",
                "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols",
                "DejaVu Sans", Arial, sans-serif;

  /* A minimal stack used only when we need guaranteed symbol coverage */
  --font-symbol: "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans";
}

/* Base */
html {
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headlines / Display */
h1, h2, h3, .headline, .display {
  font-family: var(--font-serif);
  line-height: 1.15;
}

/* Body / UI */
body, p, li, nav, button, input, textarea, select {
  font-family: var(--font-sans);
  line-height: 1.5;
}

/* --- Utility: force just the Cronum symbol to use reliable symbol coverage --- */
/* Usage: <span class="cronum-symbol" aria-label="Cronum symbol">&#x29DD;</span> */
.cronum-symbol {
  font-family: var(--font-symbol);
  line-height: 1; /* keeps the mark nicely centered */
  display: inline-block;
}

/* Optional: pseudo-element helper (for icons before text)
   Usage: <span class="cronum-mark" aria-hidden="true"></span> */
.cronum-mark::before {
  content: "\29DD";           /* ⧝ */
  font-family: var(--font-symbol);
  display: inline-block;
  line-height: 1;
}

/* Helpers to explicitly switch stacks when needed */
.text-serif { font-family: var(--font-serif); }
.text-sans  { font-family: var(--font-sans);  }

/* Optional: fine-tune Inter variable if supported */
@supports (font-variation-settings: normal) {
  html { font-variation-settings: "opsz" 16; } /* optical size hint */
}
/* ================================
   Cronum Typography (Global)
   Ensures U+29DD ⧝ renders cross-platform
   ================================ */

:root {
  /* Full, resilient stacks */
  --font-serif: "Libre Baskerville", "Tiempos Headline",
                "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols",
                "DejaVu Sans", Georgia, serif;

  --font-sans:  "Inter", "Helvetica Neue",
                "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols",
                "DejaVu Sans", Arial, sans-serif;

  /* A minimal stack used only when we need guaranteed symbol coverage */
  --font-symbol: "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans";
}

/* Base */
html {
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headlines / Display */
h1, h2, h3, .headline, .display {
  font-family: var(--font-serif);
  line-height: 1.15;
}

/* Body / UI */
body, p, li, nav, button, input, textarea, select {
  font-family: var(--font-sans);
  line-height: 1.5;
}

/* --- Utility: force just the Cronum symbol to use reliable symbol coverage --- */
/* Usage: <span class="cronum-symbol" aria-label="Cronum symbol">&#x29DD;</span> */
.cronum-symbol {
  font-family: var(--font-symbol);
  line-height: 1; /* keeps the mark nicely centered */
  display: inline-block;
}

/* Optional: pseudo-element helper (for icons before text)
   Usage: <span class="cronum-mark" aria-hidden="true"></span> */
.cronum-mark::before {
  content: "\29DD";           /* ⧝ */
  font-family: var(--font-symbol);
  display: inline-block;
  line-height: 1;
}

/* Helpers to explicitly switch stacks when needed */
.text-serif { font-family: var(--font-serif); }
.text-sans  { font-family: var(--font-sans);  }

/* Optional: fine-tune Inter variable if supported */
@supports (font-variation-settings: normal) {
  html { font-variation-settings: "opsz" 16; } /* optical size hint */
}


/* Accessibility Features */

/* Keyboard focus indicators */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid #005fcc; /* Adjust the color to match your design */
  outline-offset: 2px;
}

/* Hide decorative Lottie Animations if reduced motion is specified */
@media (prefers-reduced-motion: reduce) {
  .lottie-animation {
    display: none !important;
  }
}

/* Hidden Content for Screen Readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

