/* Base layout and global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0c1116;
  background: #f5f7fb;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

a {
  color: #0c4466;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
span,
a,
button,
u,
b,
i,
strong,
em,
a,
button,
[contenteditable="true"],
[contenteditable="true"] * {
  overflow-wrap: anywhere;
  word-break: break-word;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

main {
  flex: 1;
  padding: 2.5rem 1.5rem 3rem;
  min-width: 0;
}

.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(158, 22, 22, 0);
  min-width: 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
