/* =========================================================
   GLOBAL BASE
   ========================================================= */

:root {
    --color-blue-deep: #16345f;
    --color-blue-dark: #234982;
    --color-blue-accent: #3f6fa8;
    --color-blue-tag: #678fd5;
    --color-blue-light: #5a92d6;
    --color-blue-pastel: #eef4fb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 22px;
    text-rendering: optimizelegibility;
}

.s-mb  {
    margin-bottom: 60px;
}

@media (max-width: 767px) {
    h2 {
        font-size: 28px;
        line-height: 1.2;
    }
}

@media (min-width: 768px) {
    h2 {
        font-size: 32px;
        line-height: 1.2;
    }
}

img {
   max-width: 100%;
   height: auto;
   vertical-align: middle;
}

a {
    color: inherit;
}

.container-main {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 4px;
}

/* =========================================================
   TOOLTIP
   ========================================================= */

.tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    cursor: help;
    vertical-align: middle;
    color: var(--color-blue-accent);
}

.tooltip__text {
    position: absolute;
    left: -100px;
    bottom: calc(100% + 10px);
    z-index: 10;

    width: 280px;
    padding: 12px 14px;

    background: var(--color-blue-accent);
    color: #ffffff;
    border-radius: 4px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition:
        opacity .15s ease,
        visibility .15s ease,
        transform .15s ease;
}

.tooltip:hover .tooltip__text {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
