* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #0056b3;           
    text-decoration: none;    
}

a:hover {
    font-weight: bold;
    color: #F87D3B;           
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f1d865a6;
    /* min-height: 100vh; */
}
 .warning {
            background-color: #f8d7da;
            border-left: 4px solid #dc3545;
            padding: 15px;
            margin: 20px 0;
            border-radius: 0px;
        }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

mark {
    background-color: #e3f2fd; 
    color: #0d47a1; 
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.ai-weetjes-btn {
    background-color: #007d51;
    color: white;
    padding: 6px 10px;
    border-radius: 8px 4px 6px 10px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 28px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: rotate(-0.5deg);
    position: relative;
    overflow: hidden;
}
.ai-weetjes-btn {
    background-color: #007d51;
    color: white;
    padding: 6px 10px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 28px;
    transition: all 0.3s ease;
    border: 1px solid #6996a1;
    box-shadow: 0 2px 4px rgba(24, 33, 36, 0.74);
    transform: rotate(-0.5deg);
    position: relative;
    clip-path: polygon(
        0% 15%, 
        10% 5%, 
        25% 8%, 
        40% 2%, 
        55% 6%, 
        70% 3%, 
        85% 8%, 
        100% 12%, 
        100% 85%, 
        90% 95%, 
        75% 92%, 
        60% 98%, 
        45% 94%, 
        30% 97%, 
        15% 92%, 
        0% 88%
    );
}

.ai-weetjes-btn:hover {
    background-color: #F87D3B;
    transform: translateY(-1px) rotate(-0.5deg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.ai-weetjes-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ai-weetjes-text {
    color: white;
    text-decoration: none;
}

.nav-icon-btn.ai-weetjes-btn {
    margin-left: 8px;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 250px;
    gap: 30px;
    margin: 20px 0 10px 0;
    align-items: stretch;
}

.left-column {
    background: white;
    border-radius: 0px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.right-column {
    background: white;
    border-radius: 0px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.praatvaak-hero-block {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 0px;
    padding: 30px;
    
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px 20px; 
    align-items: center;
}

.instructie-tekst {
    grid-column: 1 / 3;
    grid-row: 1;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
}

.tag.welkom {
    grid-column: 1;
    grid-row: 2;
    transform: rotate(-4deg);
}

.tag.bij {
    grid-column: 1;
    grid-row: 3;
    transform: rotate(2deg);
}

.introductie-tekst {
    grid-column: 2;
    grid-row: 2 / 4;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #666;
    line-height: 1.6;
    text-align: left;
    align-self: start; 
}

.hoofdtekst {
    grid-column: 1 / 3;
    grid-row: 4;
    justify-self: start;
    background-color: #F87D3B;
    color: white;
    padding: 10px 25px;
    border-radius: 0px;
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tag {
    font-family: 'Inter', sans-serif;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 0px;
    display: inline-block;
    width: fit-content;
    justify-self: start;
    transition: transform 0.2s ease-in-out;
}
.tag.welkom { background-color: #007d51; }
.tag.bij { background-color: #0084c7; }

.search-container {
    position: relative;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 20px;
    font-size: 1.1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #f7931e;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-button {
    position: absolute;
    right: 1.5px;
    top: 50%;
    transform: translateY(-50%);
    background: #f7931e;
    color: black;
    border: none;
    border-radius: 0px;
    width: 75px;
    height: 61px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.search-button:hover {
    background: #FEC965;
}

.result-item {
    background: #f8f9fa;
    border-radius: 0px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #f7931e;
    transition: all 0.3s ease;
    cursor: pointer;
}

.result-item:hover {
    background: #FFF8E1;
    transform: translateX(5px);
}

.result-term {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.result-definition {
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.result-example {
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.no-results {
    text-align: center;
    color: #888;
    padding: 40px;
    font-size: 1.1rem;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
    color: #666;
}

.results-container {
    
    min-height: 500px;
    overflow-y: auto;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f7931e;
    border-radius: 0px;
    animation: spin 1s linear infinite;
}

.page-container {
    background: white;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 10px;
}

 .page-container p {
            margin-bottom: 15px;
            text-align: justify;
}

.page-container h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #333;
}

.page-container h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #333;
    border-bottom: 2px solid #f7931e;
    padding-bottom: 8px;
}

.page-container ul {
    list-style-position: inside;
    padding-left: 10px;
}

.page-container li {
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-list-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1.5px solid #f7931e;
    padding-bottom: 10px;
    
    flex-shrink: 0;
}

.ai-list {
    list-style: none;
    
    flex: 1;
    overflow-y: auto;
    max-height: 500px;
    
    scrollbar-width: thin;
    scrollbar-color: #f7931e #f8f9fa;
    
    position: relative;
}


.ai-list::-webkit-scrollbar {
    width: 8px;
}

.ai-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 0px;
}

.ai-list::-webkit-scrollbar-thumb {
    background: #f7931e;
    border-radius: 0px;
}

.ai-list::-webkit-scrollbar-thumb:hover {
    background: #e6821a;
}

.ai-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.ai-list button {
    background: #f8f9fa;
    padding: 12px 15px;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    border-radius: 0px; 
  
    width: 100%;
    border-top: none;
    border-right: none;
    border-bottom: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-list button:hover {
    background: #e3f2fd;
    border-left-color: #f7931e;
    transform: translateX(3px);
}

.ai-list li {
    margin-bottom: 8px; 
    padding: 0;
    background: none;
}

.ai-list li.popular {
    background: #f8f9fa;
    font-weight: 500;
}

.ai-list li.popular:hover {
    background: #e3f2fd;
    border-left-color: #f7931e;
    transform: translateX(3px);
}

nav {
    text-align: right;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f7931e;
}

.nav-link {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f7931e;
    text-decoration: underline;
}

.nav-link.active {
    color: #f7931e;
    font-weight: bold;
}

.nav-icon-btn {
    display: inline-block;
    margin: 0 5px; 
    vertical-align: middle;
}

.icon {
    width: 29px;   
    height: 29px;
    display: block;
}


.page-header {
    background: white;
    border-radius: 0px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.weetjes-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.weetje-card {
    background: white;
    border-radius: 0px;
    padding: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 6px solid #f7931e;
    transition: all 0.3s ease;
}

.weetje-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.weetje-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.weetje-icon {
    font-size: 1.4rem;
}

.weetje-section {
    margin-bottom: 20px;
}

.weetje-section:last-child {
    margin-bottom: 0;
}

.section-label {
    font-weight: bold;
    color: #f7931e;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.section-content {
    color: #555;
    line-height: 1.7;
    padding-left: 15px;
    border-left: 2px solid #f0f0f0;
}

.highlight {
    background: linear-gradient(120deg, rgba(255, 171, 64, 0.3) 0%, rgba(255, 171, 64, 0.1) 100%);
    border-left: 4px solid #f7931e;
    padding: 2px 4px;
    border-radius: 0px;
    font-style: italic;
}
.section-content p {
    margin-bottom: 1em;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.update-datum {
    font-size: 0.85rem;
    color: #888;
}

.coming-soon {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 0px;
    padding: 40px;
    text-align: center;
    color: #666;
    margin-top: 20px;
}

.coming-soon h3 {
    margin-bottom: 10px;
    color: #333;
}

footer {
    text-align: center;
    padding: 20px 0 10px;
    color: #666;
    font-size: 0.7rem;
}


@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    
    .right-column {
        order: 1;
        height: auto;
        min-height: auto;
    }
    
    
    .ai-list {
        max-height: 300px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 8px;
    }
    
    
    .ai-list-title::after {
        content: ' (scroll voor meer →)';
        font-size: 0.8rem;
        color: #888;
        font-weight: normal;
    }
}

@media (max-width: 768px) {                     
    .subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .left-column, .right-column {
        padding: 20px;
        margin: 10px 0;
    }
    
    .stat-item {
        display: block;
        margin: 20px 0;
    }
    
    nav {
        text-align: center;
    }
    
    .nav-link {
        display: inline-block;
        margin: 5px 10px;
    }
    
    
    .search-input {
        padding: 15px 50px 15px 15px;
        font-size: 0.95rem;
    }
    
    .search-button {
        width: 55px;
        height: 47px;
        font-size: 20px;
    }
    
    .ai-list {
        grid-template-columns: 1fr;
        max-height: 250px;
        
        border: 1px solid #e0e0e0;
        border-radius: 0px;
        padding: 10px;
    }
    
    
    .ai-list li {
        border-radius: 0px;
    }
    
    .ai-list-title::after {
        content: ' ↕ scroll';
        font-size: 0.75rem;
        color: #f7931e;
        font-weight: bold;
    }
    
    
    .ai-list::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 15px;
        background: linear-gradient(white, transparent);
        pointer-events: none;
        z-index: 1;
    }

    .praatvaak-hero-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 18px;
    }
    .introductie-tekst, .hoofdtekst {
        text-align: center;
    }
    .tag {
        transform: rotate(0deg); 
    }

    
    .container {
        padding: 0 15px;
    }

    .page-header {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .weetje-card {
        padding: 25px 20px;
    }

    .weetje-title {
        font-size: 1.4rem;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }

    .weetje-title {
        font-size: 1.2rem;
    }

    .section-content {
        padding-left: 10px;
    }

    footer {
        font-size: 0.7rem;
        padding: 10px 0;
    }
        
    .search-input {
        padding: 12px 45px 12px 12px;
        font-size: 0.9rem;
    }
    
    .search-button {
        width: 45px;
        height: 40px;
        font-size: 18px;
    }

    .ai-list, .ai-list li {
        border-radius: 0px !important;
    }
}