/*   = = =   Core Styles Reset : the browser's own styling, removed — brought over from nikolaoskaounas.com and Nox Cella   = = =   */

/* - - - BROUGHT OVER (2026-11-17, the owner's word: "Implement from nikolaoskaounas.com and nox cella the browser
   proprietary styling eraser/reset class into the sarsonis.net website to ensure that each browser will not insert its
   own ways for showing particular elements or items in its code"): the portfolio's reset, which is Nox Cella's
   (from the SchoolManagementSystem benchmark) with its colour lock, rule for rule, but for the lock's scheme below.
   Load Order : THE FIRST SHEET OF ALL (PageFrame-Service.php, sr_head()), after only the theme's tokens. Every rule in
   it is a default the browser would otherwise supply, and every sheet after it is free to declare its own.
   Styling-Revamp--Enhance.css, directly after, restores what the site still wants of them (the pointer, the focus
   ring, a scrollbar); the theme (Theme-Styling.css) restates the rest. - - - */

/* - - - NO BROWSER RECOLOURS THE SITE, the portfolio's rule: the colours are the site's own, in every browser and every
   mode a browser or the system may be in.
   `color-scheme: only light` : the site is light and says so (the portfolio, dark, says `only dark`), and `only`
   forbids the browser to draw it in any other scheme. It is what turns off Chrome's and Edge's automatic dark mode
   ("Auto Dark Mode for Web Contents", which recolours a page that does not declare its scheme), and what the other
   Chromium browsers built on it read (Samsung Internet's "dark mode for websites", Brave, Opera, Vivaldi), and it
   keeps the browser's own scrollbars, fields and their autofill light. `!important`, because no later sheet may undo
   it. The pages' heads say the same (`<meta name="color-scheme" content="only light">`) before any sheet has loaded,
   and carry `<meta name="darkreader-lock">`, which the Dark Reader extension and those built on it obey.
   `forced-color-adjust: none` : Windows' contrast themes and every forced-colours mode leave every colour, border,
   shadow and picture as written (it inherits; it is named on every element and both pseudo-elements so that no rule
   further down can turn it back on for one of them).
   `print-color-adjust: exact` : a print or a "save as PDF" keeps the backgrounds and colours, never the browser's
   economy of black on white.
   `-webkit-tap-highlight-color: transparent` : no tap paints its own colour over a control. - - - */
:root
{
  color-scheme: only light !important;
}
html,
*,
*::before,
*::after
{
  forced-color-adjust: none !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Reset box-sizing to border-box on all elements */
*,
*::before,
*::after
{
  box-sizing: border-box;
}

/* Universal margin, padding, border and outline removal */
html, body,
div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

/* Sets default display to block for older browsers that do not support HTML5 by default */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section
{
  display: block;
}

/* Removes list style for ordered/unordered lists */
ol, ul
{
  list-style: none;
}

/* Removes table cell spacing and collapsing settings */
table
{
  border-collapse: collapse;
  border-spacing: 0;
}

/* Forces images and media to inherit display behavior */
img, video, canvas, audio, iframe
{
  display: block;
  max-width: 100%;
  height: auto;
  border-style: none;
}

/* Removes quotes from blockquotes and quotes property for q:before, q:after */
blockquote, q
{
  quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after
{
  content: '';
  content: none;
}

/* Removes default focus outlines (caution: this can hinder accessibility) */
:focus
{
  outline: none;
}

/* Resets form elements */
input, button, select, textarea
{
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: normal;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Removes default cursor on button and anchor tags */
button, [type="button"], [type="reset"], [type="submit"], a
{
  cursor: default;
}

/* Prevents iOS and other mobile browsers from altering text size and spacing automatically */
html
{
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

/* Resets heading font-weight and size */
h1, h2, h3, h4, h5, h6
{
  font-weight: inherit;
  font-size: 1em;
}

/* Forces consistent line-height across browsers */
body
{
  line-height: 1;
}

div, section
{
  display: block;
}

span
{
    display: inline;
}

p
{
    display: block;
    white-space: normal;
    text-align: inherit;
    letter-spacing: normal;
    line-height: inherit;
}

/* Chrome/Safari/WebKit-based: color, font-style, etc. */
::-webkit-input-placeholder
{
    color: inherit;
    opacity: 1;
}

/* Firefox 4-18 */
:-moz-placeholder
{
color: inherit;
opacity: 1;
}
/* Firefox 19+ */
::-moz-placeholder
{
    color: inherit;
    opacity: 1;
}
/* Internet Explorer 10-11 */
:-ms-input-placeholder
{
    color: inherit;
    opacity: 1;
}
/* Microsoft Edge (older) */
::-ms-input-placeholder
{
    color: inherit;
    opacity: 1;
}
/* unprefixed ::placeholder on modern browsers */
::placeholder
{
    color: inherit;
    opacity: 1;
}

textarea
{
    resize: none;
}

::-webkit-scrollbar
{
    width: 0;
    height: 0;
}

::-webkit-scrollbar-thumb
{
    background: transparent;
}

/* - - - Author : Nikolaos S. Kaounas - - - */
