html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
/*margin-top: 25px;*/
}
h1 {
    color: #0B3B87;
}
h2 {
    color: #6C757D;
}
h3 {
    color: #019245;
}

.text-section-header {
    color: #3763A9;
}

.text-section-question {
    color: #60A787;
}

.btn-color-blue {
    background-color: #0B3B87;
}

.btn-color-green {
    background-color: #019245 !important;
}

.btn-color-gray {
    background-color: #6C757D;
}

.form-check-input:checked {
    background-color: #019245;
    border-color: #0C401B;
}

.btn-style-custom {
    padding: 10px 30px 10px 30px;
    border-radius: 30px;
}

.no-background {
    background: none;
}

.page-link.active, .active > .page-link {
    background-color: #019245;
}
.list-group-item.current {
    background-color: #019245 !important;
    color: white; 
    font-weight: bold; 
}
.custom-sidebar {
    margin-left: 40px;
}

    .custom-sidebar .position-sticky {
        top: 140px;
    }
.text-section-question {
    color: #60A787;
}

.cms-content {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

    .cms-content a {
        display: inline !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }


#cms, #cms * {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}



.advies-title {
    color: #1A3C7B;
    font-weight: 700;
    margin-bottom: 1rem;
}

.advies-box {
    background-color: #EAF3FA; 
    border-radius: 16px;
    padding: 1.8rem 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.advies-subtitle {
    color: #007A5A; 
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.advies-line {
    color: #007A5A; 
}

.advies-icon {
    color: #00A36C;
    margin-right: 0.4rem;
}

.advies-box p {
    margin-bottom: 0.8rem;
}

.advies-box b {
    color: #007A5A; 
    font-weight: 600;
}

.crisis-alert {
    display: flex;
    align-items: center;
    background-color: #f8d7da; 
    color: #58151c; 
    border-left: 6px solid #dc3545; 
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 1rem;
    margin: 30px 0;
}

    .crisis-alert b {
        color: #000;
    }

.crisis-icon {
    font-size: 1.8rem;
    color: #dc3545;
    margin-right: 1rem;
    flex-shrink: 0;
}

.crisis-link {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.crisis-link:hover {
        color: #58151c;
        text-decoration: none;
}

/* TOOLS */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 520px));
    justify-content: center; 
    gap: 28px; 
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

@media (max-width: 920px) {
    .tool-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.tool-card {
    background-color: #f3f8ff;
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    min-height: 420px;
}

.tool-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

.tool-logo img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 0.9rem;
}

.tool-title {
    color: #002b5c;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tool-labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.tool-label {
    background-color: #2eaf5d;
    color: #fff;
    border-radius: 999px;
    padding: 0.32rem 0.9rem;
    font-size: 0.82rem;
}

.tool-description {
    text-align: left;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.45;
    width: 100%;
}

.tool-description.short {
        max-height: 96px;
        overflow: hidden;
}

.leesmeer-btn {
    background: none;
    border: none;
    color: #003399;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    align-self: flex-start; 
}

.tool-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.9rem;
    width: 100%;
    text-align: left;
    margin-top: 1rem;
}

.tool-link {
    color: #003399;
    text-decoration: none;
    font-weight: 600;
}

    .tool-link:hover .arrow {
        transform: translateX(6px);
    }

.arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.18s ease;
}

/*extra advies*/
.blue-box {
    background-color: #eaf4fb;
    border-radius: 15px; 
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #cfe2f3; 
}

.text-section-header {
    color: #004b87; 
    font-weight: 600;
    margin-bottom: 15px;
}

.text-section-question {
    color: #005b9f;
    font-weight: 500;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #c7d7e3;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
        border-color: #66afe9;
        box-shadow: 0 0 8px rgba(102, 175, 233, 0.4);
}

.btn-style-custom {
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-style-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



