/* ==========================================================================
   Import Design Tokens
   ========================================================================== */
@import url('tokens.css');

/* Replace timeline check icon with SVG */
.timeline-icon:not(.upcoming) {
    background-image: url('../icons/checkmark.svg'), linear-gradient(135deg, #16A085, #16A085);
    background-size: 60%, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

.timeline-icon:not(.upcoming) i {
    display: none;
}

@font-face {
    font-family: 'Flama Semi Condensed';
    src: url('https://statics.ad.nl/fonts/FlamaSemicond-Bold-8199bf9ba9.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Content fade-in animation */
.content-main {
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.content-main.loaded {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}

/* Links within content */
.content-main a,
.modal-content a {
    color: #0486be !important;
    text-decoration: underline !important;
    font-weight: normal !important;
    transition: color 0.2s ease;
}

.content-main a:hover,
.modal-content a:hover {
    color: #036aa0 !important;
}

/* Override link styling for download buttons */
.content-main a.download-btn,
.modal-content a.download-btn {
    color: var(--color-black) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.content-main a.download-btn:hover,
.modal-content a.download-btn:hover {
    color: var(--color-black) !important;
    text-decoration: none !important;
}

/* Override link styling for level labels */
.content-main a.level-label,
.modal-content a.level-label {
    text-decoration: none !important;
    font-weight: 500 !important;
}

.content-main a.level-label:hover,
.modal-content a.level-label:hover {
    text-decoration: none !important;
}

/* ==========================================================================
   Base Components (DRY Principe)
   ========================================================================== */

/* Section Base */
.section-base,
.section {
    background: white;
    padding: 2rem 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    overflow-x: hidden;
    max-width: 100%;
}

.section-base:last-child,
.section:last-child,
.section-base:last-of-type,
.section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* Button Base */
.btn-base {
    background: var(--btn-bg);
    color: var(--btn-color);
    border: 1px solid var(--btn-border);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    font-weight: 500;
    text-decoration: none;
}

.btn-base:hover {
    background: var(--btn-bg-hover);
    color: var(--btn-color);
    text-decoration: none;
}

/* ==========================================================================
   Card Base Components (DRY Principe)
   ========================================================================== */

.card-base {
    background: var(--color-bg-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.card-base:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-brand-blue);
}

.card-icon-base {
    background: #e3f2fd;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-brand-blue);
    font-size: 1.5rem;
}

/* ==========================================================================
   Callout Base Components (DRY Principe)
   ========================================================================== */



.callout-title {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Article Level Labels
   ========================================================================== */

.level-label {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.level-label[data-link] {
    cursor: pointer;
}

.level-label:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none !important;
}

.level-label.basis {
    background-color: #e2fbe8;
    color: #166534 !important;
}

.level-label.basis:hover {
    background-color: #d1f7db;
    color: #166534 !important;
}

.level-label.plus {
    background-color: #fceed8;
    color: #c2410c !important;
}

.level-label.plus:hover {
    background-color: #f9e4c4;
    color: #c2410c !important;
}

.level-label.top {
    background-color: #f9e3e2;
    color: #dc2626 !important;
}

.level-label.top:hover {
    background-color: #f5d4d2;
    color: #dc2626 !important;
}

/* ==========================================================================
   Caption Formula Component
   ========================================================================== */

.caption-formula {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.caption-formula-title {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.caption-example {
    padding-left: 1rem;
    border-left: 4px solid #3b82f6;
    margin-bottom: 0.75rem;
}

.caption-example:last-child {
    margin-bottom: 0;
}

.caption-example p {
    color: #1f2937;
    font-style: italic;
    margin: 0;
}

/* ==========================================================================
   Grid Layout Utilities (DRY Principe)
   ========================================================================== */

/* Consolidated Grid System */
.grid-base {
    display: grid;
    margin: var(--spacing-lg) 0;
}

.grid-responsive {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.grid-responsive-small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.grid-two-cols {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Flama Semi Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
}

/* Override Tailwind text sizes for better hierarchy */
h2.text-2xl {
    font-size: 2.2rem !important; /* Larger t   han default text-2xl (1.5rem) */
}

h3.text-xl {
    font-size: 1.5rem !important; /* Keep text-xl size (1.25rem -> 1.5rem) */
}

p {
    font-family: Arial, sans-serif;
    max-width: 70ch;
}

body, .body-text {
    font-family: Arial, sans-serif;
}

.text-black {
    color: var(--color-text-black) !important;
    max-width: 70ch !important;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: #eeeaec;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: translateX(0);
    transition: transform 0.3s ease;
    /* Remove overflow: hidden to allow proper flexbox flow */
    /* Fix Chrome flexbox + overflow issues */
    contain: layout style;
}

@media (min-width: 769px) {
    .sidebar.hidden {
        transform: translateX(-100%);
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.logo {
    color: var(--color-black);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo:hover {
    color: #2c3e50;
    text-decoration: none;
}


.sidebar-nav {
    /* Flexbox with explicit constraints for Chrome compatibility */
    flex: 1 1 auto;
    overflow-y: auto; /* Enable scrolling for nav content */
    overflow-x: hidden; /* Hide horizontal overflow */
    scrollbar-gutter: stable; /* Reserve space for scrollbar */
    padding: 1rem 0;
    min-height: 0; /* Allow flex child to shrink - crucial for Chrome */
    /* Webkit-specific smooth scrolling */
    -webkit-overflow-scrolling: touch;
    /* Force Chrome to create stacking context for overflow */
    position: relative;
    z-index: 1;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
}

.nav-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #2c3e50;
    border-left-color: #dee2e6;
}

.nav-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: #2c3e50;
    border-left-color: #2c3e50;
    font-weight: bold;
}

.nav-item-wip {
    opacity: 0.5;
    cursor: not-allowed;
    color: #6c757d !important;
    background: rgba(0, 0, 0, 0.02) !important;
}

.nav-item-wip:hover {
    background: rgba(0, 0, 0, 0.02) !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

.nav-item-wip i {
    opacity: 0.6;
}

.wip-label {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.nav-item .nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Accordion Navigation */
.nav-accordion {
    margin-bottom: 0;
}

.nav-accordion-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding-right: 2.5rem; /* Make room for chevron */
    outline: none; /* Remove focus outline */
}

.nav-accordion-toggle:focus {
    outline: none; /* Ensure no focus outline */
}

.nav-accordion-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%) translateX(-50%) rotate(180deg); /* Start pointing down, centered rotation */
    transition: transform 0.2s ease;
    opacity: 0.6;
    transform-origin: center center; /* Ensure rotation from center */
}

.nav-accordion.open .nav-accordion-icon {
    transform: translateY(-50%) translateX(-50%) rotate(0deg); /* Point up when open */
}

.nav-accordion-content {
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 4px 4px;
    height: 0;
}

.nav-sub-item {
    padding-left: 4.5rem;
    font-size: 0.85rem;
    border-left: 2px solid transparent;
}

.nav-sub-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-sub-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: #2c3e50;
    border-left-color: #2c3e50;
    font-weight: bold;
}

.sidebar-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background: #f1ecee;
    flex-shrink: 0; /* Prevent bottom bar from shrinking */
    margin-top: auto; /* Push to bottom */
    position: sticky; /* Ensure it stays at bottom */
    bottom: 0;
    z-index: 10; /* Above nav content */
}

.whats-new-sidebar-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

.whats-new-sidebar-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #2c3e50;
}

.whats-new-sidebar-btn .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-divider {
    width: 1px;
    height: 24px;
    background-color: #e5e7eb;
    margin: 0 0.5rem;
}

/* Avatar CSS removed - no longer needed */

/* Main logout button styling */
.logout-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.logout-btn-main {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logout-btn-main:hover {
    background: #b91c1c;
}

.logout-btn-main i {
    font-size: 1rem;
}

/* Old dropdown and logout button CSS removed - no longer needed */

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #f1ecee;
    color: black;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1001;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: black;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon-wrapper {
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: black;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-line-top {
    transform: translateY(-4px);
}

.menu-line-bottom {
    transform: translateY(4px);
}

/* Active state - X formation */
.mobile-menu-toggle.active .menu-line-top {
    transform: rotate(45deg) translateY(0);
}

.mobile-menu-toggle.active .menu-line-bottom {
    transform: rotate(-45deg) translateY(0);
}

.mobile-logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: black;
    text-decoration: none;
}

.mobile-logo:hover {
    color: black;
    text-decoration: none;
}


.main-content {
    margin-left: 320px;
    min-height: 100vh;
    background: #ffffff;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
    min-height: 100vh;
}

.content-main {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    padding: 0 2rem 5vh 2rem; /* Add horizontal padding and bottom space */
}

.content-toc {
    width: 280px;
    flex-shrink: 0;
    height: fit-content;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}


/* Hero Image Component */
.hero-image {
    position: relative;
    width: 100%;
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    margin-bottom: 0;
    background-color: #e5e7eb;
    opacity: 1;
    transition: opacity 0.15s ease-out;
}

.hero-image.loaded {
    opacity: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Section Hero Overlay Styling */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    color: white;
    z-index: 2;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: white !important;
    margin-bottom: 0;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    display: block;
}

.hero-labels {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-labels span {
    text-shadow: none;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Responsive section hero adjustments */
@media (max-width: 768px) {
    .section-base .hero-image {
        height: 150px;
    }

    .section-base .hero-overlay {
        padding: 1rem;
    }

    .section-base .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .section-base .hero-labels {
        gap: 0.25rem;
    }

    .section-base .hero-labels span {
        font-size: 0.75rem;
        padding: 0.125rem 0.5rem;
    }
}


.hero-section {
    background: white;
    padding: 3rem 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
}

.hero-description {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f4e79;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.block-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.quick-access {
    margin-bottom: 3rem;
}

.card-grid {
    /* Use .grid-base .grid-responsive instead */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.access-card {
    /* Inherits from .card-base */
    text-decoration: none;
    color: inherit;
}

.access-card:hover {
    color: inherit;
    text-decoration: none;
}

.card-icon {
    /* Inherits from .card-icon-base */
    font-weight: 700;
}

.card-icon.numbered {
    background: #e3f2fd;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-brand-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.access-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.access-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

.callout {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: var(--spacing-md) 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.callout-icon {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.callout.tip {
    background: #e3f2fd;
    border: none;
    color: #1565c0;
}

.callout.warning {
    background: #ffebee;
    border: none;
    color: #c62828;
}

.callout.info {
    background: var(--color-white-light);
    border: none;
    color: var(--color-black);
}

.callout.download {
    background: var(--color-white-light);
    border: none;
    color: var(--color-black);
}

.callout.correct {
    background: #e8f5e8;
    border: none;
    color: #2e7d32;
}


.download-btn {
    /* Inherits from .btn-base */
    padding: 0.75rem 1.25rem;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    width: fit-content;
    display: block;
    background: #e4e0e2;
    color: var(--color-black) !important;
    text-decoration: none !important;
}

.download-btn:hover {
    background: #d4d0d2;
    color: var(--color-black) !important;
    text-decoration: none !important;
}

.download-btn i {
    color: var(--color-black) !important;
}

.do-dont-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.do-section,
.dont-section,
.okay-section {
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
}

.do-section {
    background: var(--color-white-light);
}

.dont-section {
    background: var(--color-white-light);
}

.okay-section {
    background: var(--color-white-light);
}

.do-title,
.dont-title,
.okay-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.do-title {
    color: #000000;
}

.do-title::before {
    content: "";
    background-image: url('../images/checkmark.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0.5rem;
}

.dont-title {
    color: #000000;
}

.dont-title::before {
    content: "";
    background-image: url('../images/crossout.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0.5rem;
}

.okay-title {
    color: #e65100;
}

.example-image {
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.example-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.example-video {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.example-video video {
    width: 100%;
    height: auto;
    display: block;
}
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.example-list {
    list-style: none;
    padding: 0;
}

.example-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.do-section .example-list li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4caf50;
}

.dont-section .example-list li::before {
    content: "\f00d"; /* Font Awesome times icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f44336;
}

.ai-prompt {
    background: #1e1e1e;
    color: #e5e5e5;
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.prompt-header {
    background: #2d2d2d;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #404040;
}

.prompt-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a1a1aa;
}

.copy-btn {
    /* Inherits from .btn-base */
}

.copy-btn.copied {
    background: #f1ecee;
    color: var(--color-black);
}

.prompt-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: pre-wrap;
    color: #e1e1e1;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.color-swatch {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.color-preview {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: white;
    font-size: 0.8rem;
    font-family: Monaco, monospace;
}

.color-preview:hover .color-preview-overlay {
    opacity: 1;
}

.color-preview-copy-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    color: white;
    font-size: 0.9rem;
    pointer-events: none;
}

.color-preview:hover .color-preview-copy-icon {
    opacity: 1;
}

/* Alternative color preview with always visible text but hover copy icon */
.color-preview.with-visible-text {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.color-preview.with-visible-text:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-preview-copy-icon-visible {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 0.9rem;
    pointer-events: none;
}

.light-text .color-preview-copy-icon-visible {
    color: white;
}

.dark-text .color-preview-copy-icon-visible {
    color: black;
}

.with-visible-text:hover .color-preview-copy-icon-visible {
    opacity: 1;
}

.color-preview-text {
    text-align: center;
}

.color-preview-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.color-preview-code {
    font-family: Monaco, monospace;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Light text for dark backgrounds */
.color-preview.light-text .color-preview-text {
    color: white;
}

/* Dark text for light backgrounds */
.color-preview.dark-text .color-preview-text {
    color: black;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.layout-component {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.layout-component.layout-1-3 .layout-left {
    flex: 1;
}

.layout-component.layout-1-3 .layout-right {
    flex: 2;
}

.layout-component.layout-2-3 .layout-left {
    flex: 2;
}

.layout-component.layout-2-3 .layout-right {
    flex: 1;
}

.layout-component.layout-half .layout-left,
.layout-component.layout-half .layout-right {
    flex: 1;
}

.layout-left,
.layout-right {
    padding: 0.5rem;
}

.layout-left img,
.layout-right img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.layout-left video,
.layout-right video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.layout-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: #6c757d;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}

/* Mobile responsive - altijd links boven rechts */
@media (max-width: 768px) {
    .layout-component {
        flex-direction: column;
        gap: 1rem;
    }

    .layout-component.layout-2-3 {
        flex-direction: column-reverse;
    }

    .layout-left,
    .layout-right {
        flex: none;
        width: 100%;
        padding: 0.5rem;
    }
}


/* ==========================================================================
   Read More Background Text Component
   ========================================================================== */

.background-text-container {
    position: relative;
}

.background-text {
    max-height: 1.5em;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.background-text-container.expanded .background-text {
    max-height: 200px;
    transition: max-height 0.3s ease-out;
}

.toggle-readmore {
    background: linear-gradient(to bottom, transparent 0%, white 50%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3em;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 8px;
    opacity: 1;
    transition: all 0.3s ease-out;
}

.background-text-container.expanded .toggle-readmore {
    position: static;
    background: linear-gradient(to bottom, transparent 0%, transparent 100%);
    height: auto;
    padding-bottom: 0;
    padding-top: 8px;
    justify-content: flex-start;
    opacity: 1;
    transition: all 0.3s ease-out;
}

.toggle-readmore-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: translateY(0);
}

.toggle-readmore-btn:hover {
    color: var(--color-primary-dark, #0369a1);
}

.toggle-readmore-btn .read-less {
    display: none;
}

.toggle-readmore-btn[aria-expanded="true"] .read-more {
    display: none;
}

.toggle-readmore-btn[aria-expanded="true"] .read-less {
    display: flex;
    align-items: center;
    gap: 4px;
}

.toggle-readmore-btn i {
    transition: transform 0.3s ease-out;
}

.toggle-readmore-btn[aria-expanded="true"] .fa-chevron-up {
    transform: rotate(0deg);
}

.toggle-readmore-btn .fa-chevron-down {
    transform: rotate(0deg);
}

/* ==========================================================================
   Lightbox Component
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Navigation arrows removed - only keyboard navigation (arrow keys) available */

/* Modal closing animations (desktop) */
.modal-overlay.closing {
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.closing .modal-container {
    transform: translate(-60vw, 60vh) scale(0.2);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

/* Make images and videos clickable */
.example-image,
.example-video,
img[src$=".jpg"],
img[src$=".jpeg"],
img[src$=".png"],
video {
    cursor: pointer;
    position: relative;
}

.example-image img,
.example-video video {
    display: block;
    transition: filter 0.2s ease;
}

/* Dark overlay on hover */
.example-image::after,
.example-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 8px;
    pointer-events: none;
    transition: background 0.2s ease;
}

.example-image:hover::after,
.example-video:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* For standalone images */
img[src$=".jpg"]:hover,
img[src$=".jpeg"]:hover,
img[src$=".png"]:hover,
video:hover {
    filter: brightness(0.9);
}

/* Override cursor for media inside lightbox */
.lightbox-overlay img,
.lightbox-overlay video,
.lightbox-overlay .lightbox-media {
    cursor: default !important;
}

.lightbox-overlay img:hover,
.lightbox-overlay video:hover {
    opacity: 1 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Navigation arrows already removed globally */

    /* Simple mobile closing for updates modal (like credits modal) */
    .modal-overlay.closing {
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }

    .modal-overlay.closing .modal-container {
        transform: translateY(50px);
        opacity: 0;
        transition: all 0.3s ease-out;
    }

    /* Modal title spacing on mobile */
    .modal-title {
        margin: 0 !important;
    }

    /* Timeline layout adjustments on mobile */
    .timeline-item {
        padding-left: 1rem !important;
    }

    .timeline-content::before {
        left: 1rem !important;
    }

    .timeline-icon {
        left: 0.5rem !important;
    }

    /* Stack date under header on mobile */
    .timeline-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
}

/* ==========================================================================
   Generic Accordion Component
   ========================================================================== */

.accordion {
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    margin: var(--spacing-sm) 0;
}

.accordion-header {
    background: var(--color-background-secondary);
    border: none;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-text-primary);
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background: var(--color-background-hover);
}

.accordion-header:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.accordion-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.accordion.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--color-background-primary);
}

.accordion.open .accordion-content {
    max-height: 1000px; /* Adjust based on content needs */
}

.accordion-body {
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-border-light);
}

/* ==========================================================================
   Table of Contents Component (Notion-style)
   ========================================================================== */

.table-of-contents {
    border-radius: 8px;
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.table-of-contents.sticky {
    border-radius: 8px;
    padding: var(--spacing-md);
    margin: 0;
}

.table-of-contents h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    position: relative;
    display: flex;
    align-items: center;
}

.toc-copy-btn {
    position: absolute;
    left: -2rem;
    width: 1.5rem;
    height: 1.5rem;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #6b7280;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.toc-copy-btn.force-hidden {
    opacity: 0 !important;
}

.toc-copy-btn::after {
    content: attr(title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 20;
    pointer-events: none;
}

.toc-copy-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

.toc-copy-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.toc-copy-btn:focus {
    outline: none;
    opacity: 1;
}

.toc-copy-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.toc-item:hover .toc-copy-btn {
    opacity: 1;
}

.toc-item:hover .toc-copy-btn.force-hidden {
    opacity: 1;
}

.toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    line-height: 1.4;
    border-inline-start-width: 2px;
}

.toc-link:hover {
    color: #2c3e50;
    text-decoration: none;
}

.toc-link.active {
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
    border-inline-start-width: 2px;
    border-color: #2c3e50;
}

/* Nested levels */
.toc-item.level-2 .toc-link {
    padding-left: 2rem;
    font-size: 0.85rem;
}

.toc-item.level-3 .toc-link {
    padding-left: 2rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.color-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   Multi-Shade Color Swatch Component
   ========================================================================== */

.color-shade-swatch {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    width: 100%;
    min-width: 140px;
    max-width: 200px;
}

.color-shade-header {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.color-shade-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 160px;
}

.color-shade-item {
    height: 20px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.color-shade-item:hover {
    height: 40px;
}

.color-shade-item.full-height {
    height: 160px;
}

.color-shade-item.flexible {
    flex-grow: 1;
}

.color-shade-item.flexible:hover {
    flex-grow: 0;
    height: 40px;
}

/* Compact swatch for dual-color combinations */
.color-compact-swatch {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    width: 100%;
    min-width: 140px;
    max-width: 200px;
}

.color-compact-header {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.color-compact-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 80px;
}

.color-compact-item {
    height: 35px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-compact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

.color-compact-item:hover .color-compact-overlay {
    opacity: 1;
}

.color-compact-copy-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: white;
    font-size: 0.875rem;
    z-index: 3;
    pointer-events: none;
}

.color-compact-item:hover .color-compact-copy-icon {
    opacity: 1;
}

/* Single color swatch for individual colors */
.color-single-swatch {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    width: 100%;
    min-width: 140px;
    max-width: 200px;
}
.color-single-header {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.color-single-item {
    height: 50px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1);
}
.color-single-item:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.color-single-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}
.color-single-item:hover .color-single-overlay {
    opacity: 1;
}
.color-single-copy-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: white;
    font-size: 0.875rem;
    z-index: 3;
    pointer-events: none;
}
.color-single-item:hover .color-single-copy-icon {
    opacity: 1;
}

.color-shade-item:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-shade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: white;
    font-size: 0.7rem;
    font-family: Monaco, monospace;
}

.color-shade-item:hover .color-shade-overlay {
    opacity: 1;
}

.color-shade-copy-icon {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    color: white;
    font-size: 0.8rem;
    pointer-events: none;
}

.color-shade-item:hover .color-shade-copy-icon {
    opacity: 1;
}

.color-code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}


.copy-color-btn {
    background: #f1ecee;
    color: var(--color-black);
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
    font-weight: 500;
}

.copy-color-btn:hover {
    background: #e6dfe1;
    color: var(--color-black);
}

.timeline-section {
    margin-bottom: 3rem;
}

.timeline-container {
    overflow-y: auto;
    border: 1px solid #e9ecef;
    background-color: white;
    border-radius: 8px;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, #f8f9fa, transparent);
    z-index: 10;
    pointer-events: none;
}

.timeline-container::-webkit-scrollbar {
    width: 8px;
}

.timeline-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.timeline-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.timeline-content {
    padding: 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 3.65rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #dee2e6;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5rem;
    bottom: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.timeline-icon {
    position: absolute;
    left: 2.2rem;
    transform: translateX(-75%);
    top: 0rem;
    width: 2rem;
    height: 2rem;
    background: #16A085;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6f2fc;
    font-size: 0.8rem;
    border: 3px solid #f8f9fa;
    box-shadow: none;
    z-index: 5;
}

.timeline-icon i.fa-rocket {
    transform: translate(-1px, 2px);
}

.timeline-icon.upcoming {
    background: #b8b9bb;
    border: 2px solid #f8f9fa;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    left: 2.0rem;
    top: 0.25rem;
    box-shadow: none;
}

.timeline-icon.upcoming i {
    display: none;
}

.timeline-item h3 {
    color: var(--color-text-black);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-header h3 {
    margin: 0;
}

.timeline-date {
    background: #e8f6f3;
    color: #16A085;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.timeline-date.upcoming {
    background: #fff8e1;
    color: #f57c00;
}

.timeline-icon.upcoming {
    background: #f57c00;
    color: white;
}

.timeline-item p {
    color: var(--color-text-black);
    line-height: 1.6;
    margin: 0;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid #1f4e79;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-number {
    background: #1f4e79;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.font-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.font-showcase .font-example {
    max-width: 100%;
    overflow-wrap: break-word;
}

.font-example {
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.font-example:last-child {
    border-bottom: none;
}

.font-sample {
    margin-bottom: 1.5rem;
    border-radius: 4px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.font-details h3 {
    color: #1f4e79;
    margin-bottom: 0.75rem;
}

.font-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.typography-scale {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.scale-example {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.scale-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}

.scale-example {
    margin-bottom: 0.75rem;
}

.scale-details {
    color: #6c757d;
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}


.whats-new-sidebar-btn.highlight {
    background: #b9e3da !important;
    transition: all 0.3s ease;
}

.modal-container .modal-header {
    background-color: #f8f9fa !important;
    color: var(--color-black);
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem;
    color: var(--color-black);
}

.modal-subtitle {
    margin: 0.5rem 0 0 0;
    opacity: 1;
    font-size: 1rem;
    color: var(--color-black);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: var(--color-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.modal-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    word-wrap: break-word;
}



.loading-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6c757d;
}

.loading-modal i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f4e79;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.grid-section .callout {
    margin: 0;
}

.simple-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
}

.simple-list li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    text-indent: 0;
}

.simple-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
    font-weight: bold;
    width: 1rem;
}

.numbered-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    counter-reset: list-counter;
}

.numbered-list > li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    counter-increment: list-counter;
}

.numbered-list > li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    color: currentColor;
    font-weight: 600;
    min-width: 1.5rem;
}

/* Reset counter for nested lists to prevent numbering on subitems */
.numbered-list .simple-list {
    counter-reset: none;
}

.numbered-list .simple-list li {
    counter-increment: none;
}


.info-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
}

.info-item:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    min-width: 150px;
    flex-shrink: 0;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
}

.lead-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #1f4e79;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.step p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.spacing-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.spacing-demo {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.spacing-rules {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.rule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-label {
    font-weight: 600;
    color: #2c3e50;
}

.rule-value {
    color: #6c757d;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

.accessibility-guidelines {
    margin: 2rem 0;
}

.guideline-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.guideline-item:last-child {
    border-bottom: none;
}

.guideline-item h3 {
    color: #1f4e79;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contrast-examples {
    margin: 1rem 0;
}

.contrast-good,
.contrast-bad {
    padding: 1rem;
    border-radius: 4px;
    margin: 0.5rem 0;
}

.responsive-table {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.responsive-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.responsive-row:last-child {
    border-bottom: none;
}

.quick-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.ref-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.ref-card h3 {
    color: #1f4e79;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.ref-card ul {
    list-style: none;
    padding: 0;
}

.ref-card li {
    padding: 0.25rem 0;
    color: #555;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .content-main {
        padding: 0 1rem 5vh 1rem;
    }

    .hero-image {
        display: none;
    }

    .sidebar {
        transform: translateY(-100%);
        width: 100vw;
        transition: none;
        top: 60px;
        height: calc(100vh - 60px);
    }

    .sidebar .nav-item,
    .sidebar .nav-title,
    .sidebar .sidebar-bottom-bar {
        opacity: 0;
    }

    .sidebar.visible {
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        0% {
            transform: translateY(-100%);
        }
        100% {
            transform: translateY(0);
        }
    }

    @keyframes slideUp {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-100%);
        }
    }

    .sidebar.visible .nav-item {
        opacity: 0;
        animation: fadeInItem 0.4s ease-out forwards;
    }

    /* Brand guide sectie */
    .sidebar.visible .nav-section:nth-child(1) .nav-title { animation-delay: 0.25s; }
    .sidebar.visible .nav-section:nth-child(1) .nav-item:nth-child(2) { animation-delay: 0.3s; }
    .sidebar.visible .nav-section:nth-child(1) .nav-item:nth-child(3) { animation-delay: 0.35s; }
    .sidebar.visible .nav-section:nth-child(1) .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .sidebar.visible .nav-section:nth-child(1) .nav-item:nth-child(5) { animation-delay: 0.45s; }
    .sidebar.visible .nav-section:nth-child(1) .nav-item:nth-child(6) { animation-delay: 0.5s; }

    /* Design Guides sectie */
    .sidebar.visible .nav-section:nth-child(2) .nav-title { animation-delay: 0.55s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-item:nth-child(2) { animation-delay: 0.6s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-item:nth-child(3) { animation-delay: 0.65s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-item:nth-child(4) { animation-delay: 0.7s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-item:nth-child(5) { animation-delay: 0.75s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-item:nth-child(6) { animation-delay: 0.8s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-item:nth-child(7) { animation-delay: 0.85s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-item:nth-child(8) { animation-delay: 0.9s; }
    .sidebar.visible .nav-section:nth-child(2) .nav-accordion-toggle { animation-delay: 0.95s; }

    /* Accordion items */
    .sidebar.visible .nav-accordion-content .nav-sub-item:nth-child(1) { animation-delay: 1.0s; }
    .sidebar.visible .nav-accordion-content .nav-sub-item:nth-child(2) { animation-delay: 1.05s; }
    .sidebar.visible .nav-accordion-content .nav-sub-item:nth-child(3) { animation-delay: 1.1s; }
    .sidebar.visible .nav-accordion-content .nav-sub-item:nth-child(4) { animation-delay: 1.15s; }
    .sidebar.visible .nav-accordion-content .nav-sub-item:nth-child(5) { animation-delay: 1.2s; }

    .sidebar.visible .nav-title {
        opacity: 0;
        animation: fadeInItem 0.4s ease-out forwards;
    }

    .sidebar.visible .sidebar-bottom-bar {
        opacity: 0;
        animation: fadeInItem 0.4s ease-out forwards;
        animation-delay: 1.0s;
    }

    @keyframes fadeInItem {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Closing animation - fade out items first */
    .sidebar.closing .nav-item,
    .sidebar.closing .nav-title,
    .sidebar.closing .sidebar-bottom-bar {
        animation: fadeOutItem 0.2s ease-out forwards !important;
    }

    @keyframes fadeOutItem {
        0% {
            opacity: 1;
            transform: translateY(0);
        }
        100% {
            opacity: 0;
            transform: translateY(-10px);
        }
    }

    .table-of-contents,
    .table-of-contents.sticky {
        display: none;
    }

    .toc-copy-btn {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        margin-top: 60px;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .content-toc {
        display: none;
    }

    .table-of-contents {
        margin: var(--spacing-lg) 0;
    }



    .hero-section {
        padding: 2rem 1rem;
    }

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


    .content-toc {
        margin-top: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .do-dont-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .spacing-examples {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quick-ref-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-container {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-timeline {
        padding: 1.5rem;
    }

    .modal-timeline-item {
        padding-left: 3rem;
        margin-bottom: 2rem;
    }

    .modal-timeline-content::before {
        left: 1.5rem;
    }

    .modal-timeline-icon {
        left: 1.5rem;
        transform: translateX(-50%);
    }


    .whats-new-sidebar-btn {
        width: calc(280px - 2rem);
    }
}

@media (max-width: 480px) {
    .content-main {
        padding: 0 0.75rem 5vh 0.75rem;
    }

    .content-block,
    .section-base {
        padding: 1.5rem 1rem;
    }

    .hero-section {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .callout {
        padding: 1rem;
        margin: 1rem 0;
    }

    .lead-text {
        font-size: 1.1rem;
    }
}

@media print {
    .sidebar,
    .mobile-header {
        display: none;
    }

    .main-content {
        margin-left: 0;
        margin-top: 0;
    }

    .content-wrapper {
        max-width: none;
        padding: 0;
    }

    .content-block {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .ai-prompt {
        border: 1px solid #ddd;
        background: white !important;
        color: black !important;
    }

    .prompt-header {
        background: #f8f9fa !important;
        color: black !important;
    }

    .copy-btn {
        display: none;
    }
}

.nav-item:focus,
.access-card:focus,
.download-btn:focus {
    outline: 2px solid #1f4e79;
    outline-offset: 2px;
}

.copy-btn:focus,
.copy-color-btn:focus,
.whats-new-sidebar-btn:focus {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    .access-card:hover,
    .download-btn:hover,
    .copy-btn:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

.site-footer {
    background: white;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section strong {
    color: var(--color-text-black);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.footer-section p:has(strong) {
    margin-bottom: 0.75rem;
}

.credits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credits-list li {
    color: var(--color-text-secondary);
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-section a {
    color: #0486be !important;
    text-decoration: underline !important;
}

.footer-section a:hover {
    color: #036aa0 !important;
}

.footer-section a.credits-link {
    color: var(--color-text-secondary) !important;
    text-decoration: none !important;
}

.footer-section a.credits-link:hover {
    color: var(--color-text-primary) !important;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer {
        margin-top: 2rem;
        padding: 2rem 1rem 1rem;
    }

    /* Timeline mobile optimizations */
    .timeline-item {
        padding-left: 1rem !important;
    }

    .timeline-content::before {
        left: 1rem !important;
    }

    .timeline-icon {
        left: -0.4rem !important;
    }

    .timeline-icon.upcoming {
        left: -0.6rem !important;
    }

    .timeline-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .timeline-date {
        padding: 0 !important;
        background: none !important;
    }

    /* Prevent horizontal scrolling in modals */
    .timeline-container {
        overflow-x: hidden !important;
    }

    .modal-container {
        overflow-x: hidden !important;
    }
}

@media (prefers-contrast: high) {
    .content-block {
        border: 2px solid var(--color-black);
    }

    .callout {
        border-width: 2px;
    }

    .nav-item.active {
        border-left-width: 5px;
    }

    .feature-card {
        border-left-width: 6px;
    }
}

/* Authentication Styles */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-container {
    text-align: center;
    max-width: 400px;
    width: 90%;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Mobile login styling - keep it simple */
@media (max-width: 768px) {
    .login-screen {
        background: #ffffff;
    }

    .login-container {
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
}
img.dpg-logo {
    height: 60px;
    width: auto;
    margin: 0 auto 2rem auto;
    display: block;
    object-fit: contain;
    cursor: default !important;
}

.login-container h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.login-container p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.login-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.google-logo {
    width: 20px;
    height: 20px;
}

.login-note {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}


.auth-error {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* TOC Fade-in Animation */
.content-toc {
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.content-toc.loaded {
    opacity: 1;
}

/* ==========================================================================
   Verder Lezen Component
   ========================================================================== */

.next-pages-section {
    margin-top: 2rem;
    padding: 3rem 2rem;
}

.next-pages-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.next-pages-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.next-pages-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.next-pages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

a.next-page-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e2e8f0 !important;
    transform: translateY(0) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: block !important;
    position: relative !important;
    will-change: transform, box-shadow, border-color !important;
}

.next-page-card,
.next-page-card:link,
.next-page-card:visited,
.next-page-card:active,
.next-page-card:focus {
    text-decoration: none !important;
}

.next-page-card *,
.next-page-card *:link,
.next-page-card *:visited,
.next-page-card *:active,
.next-page-card *:focus {
    text-decoration: none !important;
}

a.next-page-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px) !important;
    border-color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.next-page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.next-page-icon {
    width: 40px;
    height: 40px;
    background: #f7f7f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.next-page-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.next-page-card:hover .next-page-icon {
    background: #e0dee0;
}

.next-page-card:hover .next-page-icon img {
    opacity: 1;
}

.next-page-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    flex: 1;
}

.next-page-arrow {
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

.next-page-card:hover .next-page-arrow {
    opacity: 1;
    transform: translateX(0);
}

.next-page-relevance-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .next-pages-section {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }

    .next-pages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .next-page-card {
        padding: 1.5rem;
    }

    .next-pages-title {
        font-size: 1.5rem;
    }

    .next-page-title {
        font-size: 1.125rem;
    }

    .next-page-header {
        gap: 0.75rem;
    }

    .next-page-icon {
        width: 36px;
        height: 36px;
    }

    .next-page-icon img {
        width: 20px;
        height: 20px;
    }
}
