/*
Theme Name: Quizt 2.0
Theme URI: https://quizt.nl/
Author: SiteWeb
Author URI: https://siteweb.nl/
Description: Zelfstandig, snel en minimaal WordPress-thema voor Quizt.nl.
Version: 0.2.2
Requires at least: 6.5

Tested up to: 7.1
Requires PHP: 8.3
Text Domain: quizt-theme
License: Proprietary
License URI: https://quizt.nl/
*/

/* CSS Variables for Brand Colors and Foundation */
:root {
  --quizt-color-black: #1b1a17;
  --quizt-color-primary: #ff5f00;
  --quizt-color-orange-light: #ffeee4;
  --quizt-color-blue-light: #b8dde3;
  --quizt-color-white: #ffffff;
  --quizt-color-dark: #212121;
  --quizt-color-gray-100: #f8f9fa;
  --quizt-color-gray-200: #e9ecef;
  --quizt-color-gray-300: #dee2e6;
  --quizt-color-gray-600: #6c757d;
  --quizt-color-gray-800: #343a40;

  --quizt-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --quizt-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --quizt-container-max: 1200px;
  --quizt-radius: 6px;
  --quizt-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --quizt-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --quizt-transition: 0.2s ease-in-out;

  --quizt-page-top-spacing: 36px;
  --quizt-page-top-spacing-mobile: 22px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--quizt-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--quizt-color-black);
  background-color: var(--quizt-color-white);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--quizt-color-black);
  background-color: var(--quizt-color-white);
  text-rendering: optimizeLegibility;
}

#page {
  width: 100%;
  max-width: 100%;
}

img, svg, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--quizt-color-primary);
  text-decoration: none;
  transition: color var(--quizt-transition);
}

a:hover {
  color: #d84f00;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--quizt-color-black);
  font-weight: 700;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
}

h5 {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

/* Base Container */
.container {
  width: 100%;
  max-width: var(--quizt-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.container-fluid {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.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: var(--quizt-color-white);
  clip: auto !important;
  clip-path: none;
  color: var(--quizt-color-primary);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
