/*
 * Eduval — Base (resets, typography, layout primitives)
 */

html,
body {
  background-color: #ebeef1 !important;
  font-family: var(--font-default), Arial, sans-serif;
  color: #212529;
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 17px;
  font-weight: 500;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

html {
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none !important;
}

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

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

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  overflow: visible !important;
  top: 10px;
  left: 10px;
  z-index: 100000;
  border-radius: 10px;
  background: var(--bg-blue);
  color: var(--white);
  outline: none !important;
  box-shadow: none !important;
}

body
  :is(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [role="button"],
    .btn,
    .button,
    .wp-element-button,
    .wp-block-button__link,
    .elementor-button
  ):focus,
body
  :is(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [role="button"],
    .btn,
    .button,
    .wp-element-button,
    .wp-block-button__link,
    .elementor-button
  ):focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

body
  :is(
    a,
    button,
    [role="button"],
    .btn,
    .button,
    .wp-element-button,
    .wp-block-button__link,
    .elementor-button
  ):active {
  outline: none !important;
  box-shadow: none !important;
}

body a:focus,
body a:focus-visible,
body a:active {
  text-decoration: none !important;
}

body .site-main {
  padding-top: 25px;
}

@media (max-width: 991px) {
  body .site-main {
    padding-top: 75px;
  }
}

.elementor,
.elementor-section,
#content,
#primary,
.site-main {
  background-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: normal;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1229px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
