/**
 * CSS Reset
 * Electrique Baroque Theme
 *
 * @package Yusuf_Theme
 */

/* ========================================
   BOX SIZING
   ======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ========================================
   REMOVE DEFAULT MARGINS
   ======================================== */

* {
  margin: 0;
  padding: 0;
}

/* ========================================
   HTML & BODY
   ======================================== */

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ========================================
   MEDIA ELEMENTS
   ======================================== */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Remove default input styling on iOS */
input,
textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* ========================================
   LINKS
   ======================================== */

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   LISTS
   ======================================== */

ul,
ol {
  list-style: none;
}

/* ========================================
   TABLES
   ======================================== */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ========================================
   HEADINGS
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  overflow-wrap: break-word;
}

/* ========================================
   TEXT ELEMENTS
   ======================================== */

p {
  overflow-wrap: break-word;
}

strong, b {
  font-weight: var(--font-weight-bold);
}

/* ========================================
   QUOTES
   ======================================== */

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

/* ========================================
   ACCESSIBILITY - REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================
   WORDPRESS SPECIFIC RESETS
   ======================================== */

/* Remove default WordPress alignment margins */
.alignleft,
.alignright,
.aligncenter {
  margin-left: 0;
  margin-right: 0;
}

/* Remove default list styling in content */
.entry-content ul,
.entry-content ol {
  padding-left: var(--spacing-6);
}

.entry-content ul {
  list-style-type: disc;
}

.entry-content ol {
  list-style-type: decimal;
}
