/*** [ RESET ] ********************************************************************************************************/

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

/*** [ BASE ] *********************************************************************************************************/

* {
    transition: 0.2s all;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #F9F9FF;

    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

/*** [ TYPOGRAPHY ] ***************************************************************************************************/


a {
    background: transparent
}

a:active, a:hover {
    outline: 0
}

a:visited {
    color: purple;
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

mark {
    background: #fff;
    color: #111
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 0;
    padding: 0
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td, th {
    padding: 0
}


h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: .6em 0
}

li {
    margin: 0 0 .3em
}

a {
    color: #0074d9;
    text-decoration: none;
    box-shadow: none;
    transition: all .3s
}

code {
    padding: .3em .6em;
    font-size: .8em;
    background: #f5f5f5
}

pre {
    text-align: left;
    padding: .3em;
    background: #f5f5f5;
    border-radius: .2em
}

pre code {
    padding: 0
}

blockquote {
    padding: 0 0 0 1em;
    margin: 0 0 0 .1em;
    box-shadow: inset 5px 0 rgba(17, 17, 17, .3)
}

label {
    cursor: pointer
}


input, textarea, .select select {
    line-height: 1.5;
    margin: 0;
    height: 2.1em;
    padding: .3em .6em;
    border: 1px solid #aaa;
    background-color: #fff;
    border-radius: .2em;
    transition: all .3s;
    width: 100%
}

input:focus, textarea:focus, .select select:focus {
    border: 1px solid #0074d9;
    outline: 0
}

textarea {
    height: auto
}

[type=file], [type=color] {
    cursor: pointer
}

[type=file] {
    height: auto
}

select {
    background: #fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyIiBoZWlnaHQ9IjMiPjxwYXRoIGQ9Im0gMCwxIDEsMiAxLC0yIHoiLz48L3N2Zz4=) no-repeat scroll 95% center/10px 15px;
    background-position: calc(100% - 15px) center;
    border: 1px solid #aaa;
    border-radius: .2em;
    cursor: pointer;
    width: 100%;
    height: 2.2em;
    box-sizing: border-box;
    padding: .3em .45em;
    transition: all .3s;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none
}

select::-ms-expand {
    display: none
}

select:focus, select:active {
    border: 1px solid #0074d9;
    transition: outline 0s
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #111
}

select option {
    font-size: inherit;
    padding: .45em
}

select[multiple] {
    height: auto;
    background: none;
    padding: 0
}

[type=checkbox], [type=radio] {
    opacity: 0;
    width: 0;
    position: absolute;
    display: inline-block
}

[type=checkbox] + .checkable:hover:before, [type=radio] + .checkable:hover:before, [type=checkbox]:focus + .checkable:before, [type=radio]:focus + .checkable:before {
    border: 1px solid #0074d9
}

[type=checkbox] + .checkable, [type=radio] + .checkable {
    position: relative;
    cursor: pointer;
    padding-left: 1.5em;
    margin-right: .6em
}

[type=checkbox] + .checkable:before, [type=radio] + .checkable:before, [type=checkbox] + .checkable:after, [type=radio] + .checkable:after {
    content: "";
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    line-height: 1em;
    color: transparent;
    font-family: sans;
    text-align: center;
    box-sizing: border-box;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    transition: all .3s
}

[type=checkbox] + .checkable:before, [type=radio] + .checkable:before {
    border: 1px solid #aaa
}

[type=checkbox]:checked + .checkable:after, [type=radio]:checked + .checkable:after {
    background: #111;
    transform: scale(0.5) translateY(-100%)
}

[type=checkbox] + .checkable:before {
    border-radius: .2em
}

[type=checkbox] + .checkable:after {
    content: "✔";
    background: none;
    transform: scale(2) translateY(-25%);
    visibility: hidden;
    opacity: 0
}

[type=checkbox]:checked + .checkable:after {
    color: #111;
    background: none;
    transform: translateY(-50%);
    transition: all .3s;
    visibility: visible;
    opacity: 1
}

table {
    text-align: left
}

td, th {
    padding: .3em 2.4em .3em .6em
}

th {
    text-align: left;
    font-weight: 900;
    color: #fff;
    background-color: #0074d9
}

/*** [ STYLES ] *******************************************************************************************************/

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
}

h1 {
    margin-top: 16px;
    margin-bottom: 16px;
}

section h1 {
    margin-top: 0;
}

mark {
    background-color: lightyellow;
}

/*** [ IMAGE ] ********************************************************************************************************/

figure {
    margin: 0;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

figure img {
    max-width: 100%;
    border-radius: 16px;
}

figcaption {
    text-align: center;
    font-style: italic;
    color: #ccc;
}

/*** [ BUTTON ] *******************************************************************************************************/

button, .button, [type=submit] {
    margin: 0.3em 0;
    cursor: pointer;
    border-radius: 0.2em;
    height: auto;
    vertical-align: baseline;

    display: inline-block;
    padding: .3em .9em;
    text-align: center;
}

button.highlight, .button.highlight, [type=submit].highlight {
    /* @todo */
    background-color: yellow;
}

button.active, .button.active, [type=submit].active {
    /* @todo */
    font-weight: bold;
}

button:hover, .button:hover, [type=submit]:hover {
    background-color: rgba(69, 67, 96, 0.1);
}

/*** [ BADGE ] ********************************************************************************************************/

.badge {
    border-radius: 20px;
    font-family: "Inter Tight", sans-serif;
    padding: 6px 12px 6px 12px;
    font-weight: 600;
    /*font-size: 12px;*/
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: all 0.5s ease-in-out;
}

.badge {
    background: #f5f5f5;
}

.badge.badge-red {
    background-color: #f67280;
    color: #ffffff;
}

.badge.badge-red:hover {
    background-color: #ff5060;
}

/*** [ CARD ] *********************************************************************************************************/

.card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 20px 0 rgba(69, 67, 96, 0.1);
}

.card.hoverable:hover .card-cover {
    box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, .2);
}

.card.hoverable:hover {
    transform: scale(1.05);
}

.card-cover {
    display: block;
    border-radius: 20px 20px 0 0;
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.card-cover.round {
    border-radius: 20px;
}

.card-body {
    padding: 16px;
}

.card-badges {
    margin-bottom: 16px;
}

.card-body h3 {
    padding: 0;
    margin: 8px 0;
}

.card-description {
    margin-top: 16px;
    margin-bottom: 8px;
}

/*** [ FLEX ] *********************************************************************************************************/

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    width: 100%;
    justify-content: center;
    align-content: center;
}

.flex .col {
    flex: none;
}

.flex .col {
    box-sizing: border-box;
}

.flex.one .col {
    width: calc(100%);
}

.flex.two .col {
    width: calc(50% - 16px);
}

.flex.three .col {
    width: calc(33% - 32px);
}

.flex.four .col {
    width: calc(25% - 48px);
}

.flex.five .col {
    width: calc(20% - 64px);
}

/*** [ NAV ] **********************************************************************************************************/

nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Brand */

nav .brand {
    margin: 0;
    margin-left: 16px;
}

nav .brand a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

nav .brand a img {
    width: 48px;
}

nav .brand a span {
    margin-left: 8px;
}

/* Menu */

nav ul {
    padding: 0;
    margin: 0 16px 0 0;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

nav ul li {
    margin: 0 0 0 8px;
    padding: 0;
    height: 100%;
    list-style: none;
    display: flex;
    align-items: center;
}

/* Burger */

nav input#nav_burger[type=checkbox], nav label[for=nav_burger] {
    display: none;
}

/*** [ MAIN ] *********************************************************************************************************/

main {
    margin: 0 auto;
    max-width: 1000px;
}

/*** [ SECTION ] ******************************************************************************************************/

section.card {
    margin-top: 32px;
    margin-bottom: 16px;
    padding: 32px;
}

section.card h1 {
    margin: 0;
    padding: 0;
    padding-bottom: 16px;
}

/*** [ FOOTER ] *******************************************************************************************************/

footer {
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 16px;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}

.footer-rights {
    flex: 1 1 100%;
    font-size: 80%;
}

.footer-copyright {
    flex: 1;
    text-align: left;
    font-size: 13px;
}

.footer-stagen {
    flex: 1;
    text-align: right;
    font-size: 12px;
}

@media only screen and (max-width: 600px) {
    .footer-copyright, .footer-stagen  {
        flex: 1 1 100%;
        text-align: left;
    }
}

/*** [ SCREEN SPECIFIC ] **********************************************************************************************/

/* Mobile */

@media only screen and (max-width: 600px) {
    nav label[for=nav_burger] {
        display: block;
        text-align: center;
        font-size: 34px;
        width: 48px;
        height: 48px;
    }

    nav label[for=nav_burger] {
        display: block;
        margin-right: 8px;
    }

    nav ul {
        display: none;
        background: white;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }

    nav input#nav_burger[type=checkbox]:checked ~ ul {
        position: absolute;
        top: 48px;
        right: 0;
        margin: 0;
        min-width: 200px;
        max-width: 200px;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav input#nav_burger[type=checkbox]:checked ~ ul li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    nav input#nav_burger[type=checkbox]:checked ~ ul li a {
        width: 100%;
        margin: 0;
        padding: 8px 0;
    }
}

/* Tablet */

@media only screen and (max-width: 1000px) {
    main {
        padding-left: 16px;
        padding-right: 16px;
    }

    footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Desktop */

@media only screen and (min-width: 600px) {
    nav label[for=nav_burger] {
        display: none;
    }
}

/*** [ CALLOUT ] **********************************************************************************************/

blockquote:has(details) {
    padding: 0;
    margin: 0;
    box-shadow: none;
}

details {
    margin: 8px 0;
    padding: 0.75em 1em;
    border-radius: 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

details[open] {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 600;
    gap: 0.5em;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    display: inline-block;
}

details summary::after {
    content: "▸";
    position: absolute;
    right: 0;
    transition: transform 0.2s ease;
    color: #666;
}

details[open] summary::after {
    transform: rotate(90deg);
}

details p {
    margin: 1em 0 0;
    line-height: 1.5;
    color: #333;
}

details[data-callout="note"], details[data-callout="tip"], details[data-callout="example"], details[data-callout="todo"], details[data-callout="question"] {
    /*background-color: #F4FFF0;*/
}

details[data-callout="warning"] {
    background-color: #FFFEE9;
}

details[data-callout="bug"], details[data-callout="failure"], details[data-callout="danger"] {
    background-color: #FFEAEB;
}

details[data-callout="success"] {
    background-color: #EFFFE8;
}

details[data-callout="note"] summary::before {
    content: "🗒️";
}

details[data-callout="bug"] summary::before {
    content: "🐞";
}

details[data-callout="tip"] summary::before {
    content: "💡";
}

details[data-callout="question"] summary::before {
    content: "❓";
}

details[data-callout="todo"] summary::before {
    content: "📋";
}

details[data-callout="example"] summary::before {
    content: "📃";
}

details[data-callout="success"] summary::before {
    content: "✅";
}

details[data-callout="quote"] summary::before {
    content: "💬";
}

details[data-callout="warning"] summary::before {
    content: "⚠️";
}

details[data-callout="failure"] summary::before {
    content: "⛔️";
}

details[data-callout="danger"] summary::before {
    content: "🔴";
}

/*** [ SPOILER ] **********************************************************************************************/

.spoiler {
    background-color: lightgray;
    color: transparent;
    padding: 0.2em;
    border-radius: 0.2em;
}

.spoiler:hover {
    background-color: transparent;
    color: inherit;
}

/*** [ NO ] ***********************************************************************************************************/

no {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  padding: 2px 6px;
  border-radius: 4px;

  background: #ffecec;
  border: 1px solid #ff6b6b;

  font-size: 12px;
  color: #b30000;

  transform: translateY(-2px);
}

no::before {
  content: "⚠️";
  font-size: 12px;
  line-height: 1;
}

no::after {
  content: "NO TEMPLATE VARIABLE";
  font-size: 12px;
  line-height: 1;
}

/*** [ TODO ] *********************************************************************************************************/

todo {
  display: inline-block;

  padding: 2px 6px;
  border-radius: 4px;

  background: #ffecec;
  border: 1px solid #ff6b6b;

  font-size: 12px;
  color: #b30000;

  transform: translateY(-2px);
}

todo::before {
  content: "⚠️TODO ";
  font-size: 12px;
  line-height: 1;
}

/*** [ WARN ] *********************************************************************************************************/

warn {
    display: inline-block;

    padding: 2px 6px;
    border-radius: 4px;

    background: #ffecec;
    border: 1px solid #ff6b6b;

    font-size: 12px;
    color: #b30000;

    transform: translateY(-2px);
}

warn::before {
    content: "🔴 WARN ";
    font-size: 12px;
    line-height: 1;
}

/*** [ END ] **********************************************************************************************************/
