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

body {
    margin: 0;
    margin-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.35;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: #eef2f4;
    color: #262b2e;
}
a {
    color: #155263;
}
a:visited {
    color: #155263;
}
a:hover {
    color: #0d3742;
}
@media (max-width: 767px) {
    body {
        padding-left: 5px;
        padding-right: 5px;
    }
    .navbar{
        padding-top: 0.5rem;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .col-12{
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
}

b {
font-weight: 500;
}

/* ===================== */

.lang-switch {
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}
.lang-switch a {
    text-decoration: none;
}
.lang-switch .current {
    color: #a6a6a6;
    cursor: default;
}

.site-header {
    position: relative;
}

header.site-header {
    padding-bottom: 0;
    height: 42px;
}

.header-flat-line {
    position: absolute;
    bottom: -1px;
    width: calc(100% - 2.5% - 100px);
    height: 0;
    border-bottom: 2px solid #155263;
}

.psi-mark {
    position: absolute;
    bottom: 0;
    left: 2.5%;
    transform: translateY(50%);
    font-size: 1.4rem;
    color: #155263;
    background: #eef2f4;
    padding: 0 4px;
    z-index: 100;
    letter-spacing: -0.05em;
    padding-right: 5px;
}

.wave-packet-slot {
    position: absolute;
    right: 2.5%;
    bottom: 0;
    width: 100px;
    height: 0;
    overflow: visible;
}

.wave-packet {
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(51%);
    width: 100px;
    height: 28px;
    display: block;
}

.wave-packet path {
    fill: none;
    stroke: #155263;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

@media (min-width: 768px) {
    .mt-md-0 {
        margin-top: 0 !important;
    }
}
@media (min-width: 1200px) {
    .container.container-post {
        max-width: 950px;
    }
    .container {
        max-width: 1100px;
    }
}

@font-face {
    font-family: 'Faustina';
    src: url('../fonts/static/Faustina-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Faustina';
    src: url('../fonts/static/Faustina-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
.navbar-brand {
    padding-top: var(--bs-navbar-brand-padding-y);
    padding-bottom: var(--bs-navbar-brand-padding-y);
    margin-right: var(--bs-navbar-brand-margin-end);
    font-size: var(--bs-navbar-brand-font-size);
    color: #155263;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
    font-size: 1.3rem;
}
.site-header .navbar-brand {
    position: absolute;
    right: calc(2.5% + 80px);
    bottom: 0;
}
@media (max-width: 600px) {
    .site-header .navbar-brand {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}
/* =====================
   Bootstrap utilities
   ===================== */

/* Container base */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12, .col-md-3, .col-md-9{
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    .col-md-9 {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

/* Flexbox */
.d-flex {
    display: flex;
}

/* Spacing */
.mt-4 {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .mt-md-0 {
        margin-top: 0;
    }
    .ps-md-3 {
        padding-left: 1rem;
    }
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    padding: 5px 1rem;
    --bs-navbar-brand-padding-y: 0.3125rem;
}
.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}
h4 {
    font-size: calc(1.275rem + .3vw);
}

/* List */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}
