body {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.header-container {
    background-color: #fff;
    padding: 24px 0;
}

.header-logo {
    padding: 6px 20px 6px 0;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 110px;
    width: auto;
    display: block;
}

.header-titles {
    margin-top: 18px;
    margin-left: 40px;
}

.header-titles h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
    color: #111;
}

.header-titles p {
    font-size: 1.05rem;
    color: #6c757d;
    margin: 6px 0 0 0;
    max-width: 760px;
    line-height: 1.4;
}

.header-lang {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-top: 8px;
}

.header-lang a {
    display: flex;
    align-items: center;
}

.header-lang img {
    height: 40px;
    width: auto;
    display: block;
    cursor: pointer;
}

.navbar-custom .container-xxl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.navbar-custom .navbar-collapse {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    padding: 6px 12px;
    color: #222;
    text-decoration: none;
    border-radius: 12px;
}

.nav-link:hover {
    background-color: #eee;
    color: #000;
}

.nav-link.active {
    background-color: #ddd;
    color: #000;
    font-weight: 700;
}

.btn-outline {
    border: 1px solid #333;
    background-color: transparent;
    color: #333;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none;
}

.theme-biodiv   { --theme-color: #a4bc7e; --text-color: #fff; --hover-color: #8ca868; }
.theme-water    { --theme-color: #3f8faa; --text-color: #fff; --hover-color: #367584; }
.theme-health   { --theme-color: #a43d68; --text-color: #fff; --hover-color: #8c3052; }
.theme-environment { --theme-color: #a59595; --text-color: #fff; --hover-color: #8c7f7f; }
.theme-heat     { --theme-color: #f29545; --text-color: #fff; --hover-color: #d67a2f; }
.theme-economy  { --theme-color: #f2c744; --text-color: #fff; --hover-color: #d6b22f; }
.theme-generic  { --theme-color: #d6d6d6; --text-color: #000; --hover-color: #bfbfbf; }

.btn-hibou {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--text-color);
}

.btn-hibou:hover,
.btn-hibou:focus,
.btn-hibou:active {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--text-color);
}

.theme-text {
    color: var(--theme-color);
}

.hibou-card {
    border-radius: 8px;
    padding: 2rem;
}

.hibou-card h5 {
    margin-bottom: 1.5rem;
}

.hibou-card ul {
    margin-bottom: 0;
}

.hibou-card li {
    margin-bottom: 0.75rem;
    line-height: 3;
}

.hibou-flash {
    background-color: rgba(0, 143, 140, 0.3);
    color:  rgba(0, 143, 140, 1.0);
}

.hibou-medium {
    background-color: rgba(19, 103, 138, 0.3);
    color:  rgba(19, 103, 138, 1.0);
}

.hibou-expert {
    background-color: rgba(1, 32, 48, 0.3);
    color:  rgba(1, 32, 48, 1.0);
}

a.method-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: #222;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    transition: background-color 0.2s, color 0.2s;
}

a.method-category:hover {
    background-color: #eee;
    color: #000;
    text-decoration: none;
}

a.method-category.active {
    background-color: #ddd;
    color: #000;
    font-weight: 700;
}

#method-tab {
    border-right: 1px solid #dee2e6;
}

.feature-box {
    background: #8AAB8A;
    color: white;
    padding: 1.5rem 1rem;
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

ul {
    list-style-type: disc;
}

.list-with-bullets li {
    padding-left: 0.25rem;
}

.form-label.required::after {
    content: " *";
    color: red;
}

.black-tooltip {
    --bs-tooltip-bg: #000;
    --bs-tooltip-color: #fff;
    min-width: 100px;
    max-width: 600px;
    text-align: left;
}

.black-tooltip {
    --bs-tooltip-bg: #000;
    --bs-tooltip-color: #fff;
}

.black-tooltip .tooltip-inner {
    min-width: 100px;
    max-width: 600px;
    text-align: justify;
}