/*!
Theme Name: Backbone
Theme URI: https://www.tigerton.se
Author: Team @ Tigerton
Author URI: https://www.tigerton.se
Description: "A backbone theme", for quick and modern development with Tigerton!
Text Domain: backbone
Version: 2.0
*/

/* ===========================
  CSS Custom Properties
=========================== */
:root {
  --color-primary: #085C9A;
  --color-text-primary: #000000;
  --link-color: #169AFD;
  --background-color: #FDFAF1;
  --background-secondary-color: #FBF5E4;
  --yellow-color: #FCBC00;
  --gray-color: #9F9F9F;
  --color-border: #e5e7eb;
  --color-border-focus: var(--color-primary);
}

/* ===========================
  CSS Reset & Base Styles
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.content-wrapper {
  max-width: 1290px;
  padding: 0 40px;
}
.wrapper-inner {
  padding: 40px 0;
}

/* ===========================
  Typography
=========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ===========================
  Links
=========================== */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  /* opacity: 0.8; */
  text-decoration: underline;
}

/* ===========================
  Lists
=========================== */
ul,
ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.25rem;
}

/* ===========================
  Media
=========================== */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===========================
  Forms
=========================== */
button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

button,
[type='button'],
[type='submit'] {
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button:hover,
[type='button']:hover,
[type='submit']:hover {
  opacity: 0.9;
}

button:focus,
[type='button']:focus,
[type='submit']:focus {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

button:disabled,
[type='button']:disabled,
[type='submit']:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: white;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-border-focus);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

label {
  display: block;
  font-weight: 500;
}

/* ===========================
  Tables
=========================== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 600;
  background-color: var(--background-secondary-color);
}

/* ===========================
  Responsive
=========================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  h6 {
    font-size: 1rem;
  }

  .content-wrapper {
    padding: 0 20px;
  }
}

/* ===========================
  Print Styles
=========================== */
@media print {
  body {
    color: black;
    background: white;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .no-print {
    display: none;
  }
}