/* Timeline Year Collapse/Expand */
.timeline-year {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    margin-bottom: 30px;
}

.timeline-year-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.year-toggle-icon {
    font-size: 1.3em;
    color: white;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.year-title {
    margin: 0;
    color: white;
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-year-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.timeline-year-content.expanded {
    max-height: 50000px;
    opacity: 1;
}

.timeline-year-content.collapsed {
    max-height: 0;
    opacity: 0;
}

/* Timeline vertical bar inside year content */
.timeline-year-content::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    top: 0;
    height: 100%;
    background: linear-gradient(180deg, #27ae60, #e67e22, #e74c3c, #3498db);
    border-radius: 2px;
    z-index: 3;
}

/* Timeline Month Collapse/Expand */
.timeline-month-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.timeline-month-header:hover {
    transform: scale(1.05);
}

.month-toggle-icon {
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: inherit;
}

.timeline-month-content {
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.timeline-month-content.expanded {
    max-height: 20000px;
    opacity: 1;
}

.timeline-month-content.collapsed {
    max-height: 0;
    opacity: 0;
}

/* WCAG 2.1 Focus Indicators */
*:focus {
    outline: 3px solid #3498db !important;
    outline-offset: 2px !important;
}

.skip-link:focus {
    left: 10px !important;
    top: 10px !important;
}

button:focus, input:focus, select:focus, a:focus {
    outline: 3px solid #3498db !important;
    outline-offset: 2px !important;
}

.timeline-content:focus {
    outline: 3px solid #9b59b6 !important;
    box-shadow: 0 0 0 6px rgba(155, 89, 182, 0.2) !important;
}
/* Day Marker - Number display on timeline */
.timeline-marker.day-marker {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 !important;
    position: relative;
    z-index: 5;
}

.timeline-marker.day-marker span {
    display: inline-flex;
    padding: 8px 14px;
    position: relative;
    border-radius: 6px;
    font-weight: 700;
    color: white;
    font-size: 1.1em;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #3498db, #2980b9);
    z-index: 6;
}

.timeline-marker.day-marker span::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -10px;
    bottom: -10px;
    width: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.5));
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}
/* Timeline Accordion - Collapse/Expand */
.timeline-content {
    position: relative;
}

.timeline-content h3 {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 35px;
    transition: color 0.3s;
}

.timeline-content h3:hover {
    color: #3498db;
}

.timeline-content h3::after {
    content: '▼';
    position: absolute;
    right: 0;
    font-size: 0.7em;
    color: #3498db;
    transition: transform 0.3s ease;
}

.timeline-content.collapsed h3::after {
    transform: rotate(-90deg);
}

/* Hide everything after h3 when collapsed */
.timeline-content.collapsed > :not(h3):not(.timeline-category) {
    display: none !important;
}

.timeline-content.collapsed {
    cursor: pointer;
}

/* Smooth transition for content */
.timeline-content > p,
.timeline-content > div:not(.timeline-category) {
    transition: opacity 0.3s ease;
}
                .news-timeline {
                    min-height: 500px;
                    max-width: 900px;
                    margin: 0 auto;
                    position: relative;
                    padding: 40px 0;
                }

                .news-timeline::before {
                    content: none;
                    display: none;
                }

                .timeline-month {
                    position: relative;
                    margin-bottom: 60px;
}.timeline-month::before {    content: "";    position: absolute;    left: 50%;    transform: translateX(-50%);    width: 6px;    top: 60px;    bottom: 0;    background: linear-gradient(180deg, #3498db, #9b59b6);    border-radius: 2px;    z-index: 1;
                }

                .timeline-month-header {
                    text-align: center;
                    margin-bottom: 30px;
                }

                .timeline-month-label {
                    display: inline-block;
                    background: linear-gradient(135deg, #667eea, #764ba2);
                    color: white;
                    padding: 12px 30px;
                    border-radius: 50px;
                    font-size: 1.3em;
                    font-weight: 700;
                    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
                    position: relative;
                    z-index: 2;
                }

                .timeline-event {
                    display: flex;
                    gap: 30px;
                    margin-bottom: 40px;
                    position: relative; /* pentru absolute markers */
                }

                .timeline-event:nth-child(even) {
                    flex-direction: row-reverse;
                }

                .timeline-date {
                    flex: 0 0 40%;
                    text-align: right;
                    padding-top: 10px;
                }

                .timeline-event:nth-child(even) .timeline-date {
                    text-align: left;
                }

                .timeline-date-text {
                    display: inline-block;
                    background: white;
                    border: 2px solid #3498db;
                    color: #3498db;
                    padding: 8px 20px;
                    border-radius: 20px;
                    font-weight: 600;
                    font-size: 0.95em;
                }

                .timeline-marker {
                    flex: 0 0 40px;
                    height: 40px;
                    background: white;
                    border: 4px solid #27ae60;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.3em;
                    box-shadow: 0 0 0 8px rgba(255,255,255,0.8);
                    position: relative;
                    z-index: 2;
                }

                .timeline-content {
                    flex: 0 0 40%;
                    background: white;
                    padding: 25px;
                    border-radius: 12px;
                    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
                    transition: all 0.3s;
                }

                .timeline-content:hover {
                    transform: translateY(-5px);
                    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
                }

                .timeline-content h3 {
                    color: #2c3e50;
                    margin: 0 0 12px 0;
                    font-size: 1.3em;
                }

                .timeline-content p {
                    color: #6c757d;
                    line-height: 1.7;
                    margin: 0;
                }

                .timeline-category {
                    display: inline-block;
                    padding: 4px 12px;
                    border-radius: 12px;
                    font-size: 0.85em;
                    font-weight: 600;
                    margin-bottom: 10px;
                }

                @keyframes pulse {
                    0%, 100% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255,255,255,0.8); }
                    50% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(39, 174, 96, 0.3); }
                }

                @media (max-width: 768px) {
                    .news-timeline::before {
                        left: 20px;
                    }

                    .timeline-event,
                    .timeline-event:nth-child(even) {
                        flex-direction: column;
                        padding-left: 60px;
                    }

                    .timeline-date,
                    .timeline-event:nth-child(even) .timeline-date {
                        text-align: left;
                    }

                    .timeline-marker {
                        position: absolute;
                        left: 0;
                    }

                    .timeline-content {
                        flex: 1;
                    }
                }
            .contact-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            }

            @media (max-width: 768px) {
                .contact-intro h1 {
                    font-size: 1.8em !important;
                }
                .contact-intro p {
                    font-size: 1em !important;
                }
            }


/* Auto-generated utility classes */
.ne-s1 { border-color: #27ae60; color: #27ae60; font-weight: 700; }
.ne-s2 { margin: 0 0 6px 0; color: #c2185b; font-weight: 600; font-size: 0.95em; }
.ne-s3 { background: #9c27b0; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s4 { background: #e3f2fd; color: #1565c0; }
.ne-s5 { background: #ffebee; color: #c62828; }
.ne-s6 { margin: 0 0 6px 0; color: #d68910; font-weight: 600; font-size: 0.95em; }
.ne-s7 { margin: 0; color: #2e7d32; font-size: 0.95em; line-height: 1.6; font-weight: 600; }
.ne-s8 { margin: 0; padding-left: 25px; color: #6a1b9a; line-height: 2; font-size: 0.92em; }
.ne-s9 { margin: 0; color: #856404; font-size: 0.9em; line-height: 1.6; }
.ne-s10 { background: #8e44ad; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s11 { text-align: center; color: #6c757d; font-size: 1.2em; max-width: 700px; margin: 0 auto 50px; }
.ne-s12 { border-color: #e67e22; font-size: 1.5em; }
.ne-s13 { text-align: center; color: #2c3e50; font-size: 2.5em; margin-bottom: 20px; }
.ne-s14 { margin: 0; color: #388e3c; font-size: 0.9em; line-height: 1.5; }
.ne-s15 { background: #f3e5f5; padding: 18px; border-radius: 10px; margin-top: 15px; }
.ne-s16 { background: #e67e22; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s17 { background: #2980b9; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s18 { background: #f3e5f5; padding: 12px; border-radius: 6px; margin-top: 10px; }
.ne-s19 { border-color: #27ae60; animation: pulse 2s infinite; font-size: 1.5em; }
.ne-s20 { margin: 0 0 12px 0; color: #6a1b9a; font-weight: 700; font-size: 1em; }
.ne-s21 { margin: 10px 0 0 0; color: #6c757d; font-size: 0.9em; font-style: italic; }
.ne-s22 { margin: 0; padding-left: 25px; color: #1976d2; line-height: 1.8; font-size: 0.9em; }
.ne-s23 { border-color: #9c27b0; color: #9c27b0; font-weight: 700; }
.ne-s24 { background: #e74c3c; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s25 { color: #2c3e50; margin-bottom: 15px; font-weight: 600; }
.ne-s26 { margin: 0 0 6px 0; color: #2c3e50; font-weight: 600; font-size: 0.95em; }
.ne-s27 { background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 10px; }
.ne-s28 { background: #3498db; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s29 { background: #fff3e0; color: #ef6c00; }
.ne-s30 { background: #16a085; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s31 { border-left: 4px solid #9c27b0; }
.ne-s32 { margin: 0; color: #6c757d; font-size: 0.9em; line-height: 1.5; }
.ne-s33 { border-left: 4px solid #e74c3c; }
.ne-s34 { margin: 0; color: #6a1b9a; font-size: 0.9em; line-height: 1.5; }
.ne-s35 { font-size: 0.9em; }
.ne-s36 { margin: 0; color: #856404; font-size: 0.9em; line-height: 1.5; }
.ne-s37 { border-color: #e74c3c; font-size: 1.6em; }
.ne-s38 { background: #27ae60; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s39 { margin: 0; font-size: 0.9em; color: #6a1b9a; line-height: 1.5; }
.ne-s40 { font-size: 1.3em; max-width: 900px; margin: 0 auto 30px; line-height: 1.7; opacity: 0.95; }
.ne-s41 { background: #fff3cd; padding: 15px; border-radius: 8px; margin-top: 12px; border-left: 3px solid #f39c12; }
.ne-s42 { background: #fff3e0; padding: 15px; border-radius: 8px; border-left: 3px solid #e67e22; margin-bottom: 10px; }
.ne-s43 { text-align: center; padding: 60px 20px; background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; border-radius: 12px; margin-bottom: 40px; box-shadow: 0 10px 40px rgba(52, 152, 219, 0.3); }
.ne-s44 { position: absolute; left: -9999px !important; z-index: 999999; padding: 10px 20px; background: #000; color: #fff; text-decoration: none; font-weight: bold; }
.ne-s45 { background: #f3e5f5; color: #7b1fa2; }
.ne-s46 { opacity: 0; pointer-events: none; }
.ne-s47 { margin: 0; color: #880e4f; font-size: 0.9em; line-height: 1.5; }
.ne-s48 { margin: 0; color: #1976d2; font-size: 0.9em; line-height: 1.5; }
.ne-s49 { background: #e8f5e9; padding: 15px; border-radius: 8px; margin-top: 12px; border-left: 3px solid #27ae60; }
.ne-s50 { background: #fce4ec; padding: 15px; border-radius: 8px; }
.ne-s51 { margin: 0 0 10px 0; color: #1565c0; font-weight: 600; font-size: 0.95em; }
.ne-s52 { background: linear-gradient(135deg, #3498db, #2980b9); }
.ne-s53 { background: #e3f2fd; color: #1976d2; }
.ne-s54 { background: #e8f5e9; padding: 12px; border-radius: 6px; margin-top: 10px; }
.ne-s55 { margin: 0; color: #2e7d32; font-size: 0.9em; line-height: 1.5; }
.ne-s56 { background: #f3e5f5; padding: 15px; border-radius: 8px; }
.ne-s57 { background: #e8f5e9; color: #2e7d32; }
.ne-s58 { margin: 0 0 6px 0; color: #2e7d32; font-weight: 600; font-size: 0.95em; }
.ne-s59 { margin: 0 0 6px 0; color: #8e24aa; font-weight: 600; font-size: 0.95em; }
.ne-s60 { border-color: #3498db; color: #3498db; font-weight: 700; }
.ne-s61 { background: #e3f2fd; padding: 15px; border-radius: 8px; margin-top: 12px; }
.ne-s62 { border-left: 4px solid #9b59b6; }
.ne-s63 { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.ne-s64 { border-left: 4px solid #27ae60; }
.ne-s65 { margin: 0 0 6px 0; color: #1565c0; font-weight: 600; font-size: 0.95em; }
.ne-s66 { background: #e8f5e9; padding: 15px; border-radius: 8px; }
.ne-s67 { background: #9b59b6; color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 1.3em; display: block; }
.ne-s68 { background: linear-gradient(135deg, #e67e22, #d35400); }
.ne-s69 { border-left: 4px solid #3498db; }
.ne-s70 { border-left: 4px solid #e67e22; }
.ne-s71 { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.ne-s72 { background: #e3f2fd; padding: 15px; border-radius: 8px; margin-bottom: 10px; }
.ne-s73 { font-size: 2.8em; margin-bottom: 20px; }
.ne-s74 { margin: 12px 0 0 0; color: #1565c0; font-size: 0.95em; font-weight: 600; }
.ne-s75 { background: linear-gradient(135deg, #27ae60, #229954); }
.ne-s76 { font-size: 1.1em; }
/* Timeline Accordion - Collapse/Expand */
.timeline-content {
    position: relative;
}

.timeline-content h3 {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 35px;
    transition: color 0.3s;
}

.timeline-content h3:hover {
    color: #3498db;
}

.timeline-content h3::after {
    content: '▼';
    position: absolute;
    right: 0;
    font-size: 0.7em;
    color: #3498db;
    transition: transform 0.3s ease;
}

.timeline-content.collapsed h3::after {
    transform: rotate(-90deg);
}

/* Hide everything after h3 when collapsed */
.timeline-content.collapsed > :not(h3):not(.timeline-category) {
    display: none !important;
}

.timeline-content.collapsed {
    cursor: pointer;
}

/* Smooth transition for content */
.timeline-content > p,
.timeline-content > div:not(.timeline-category) {
    transition: opacity 0.3s ease;
}
                .news-timeline {
                    min-height: 500px;
                    max-width: 900px;
                    margin: 0 auto;
                    position: relative;
                    padding: 40px 0;
                }

                .news-timeline::before {
                    content: none;
                    display: none;
                }

                .timeline-month {
                    position: relative;
                    margin-bottom: 60px;
}.timeline-month::before {    content: "";    position: absolute;    left: 50%;    transform: translateX(-50%);    width: 6px;    top: 60px;    bottom: 0;    background: linear-gradient(180deg, #3498db, #9b59b6);    border-radius: 2px;    z-index: 1;
                }

                .timeline-month-header {
                    text-align: center;
                    margin-bottom: 30px;
                }

                .timeline-month-label {
                    display: inline-block;
                    background: linear-gradient(135deg, #667eea, #764ba2);
                    color: white;
                    padding: 12px 30px;
                    border-radius: 50px;
                    font-size: 1.3em;
                    font-weight: 700;
                    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
                    position: relative;
                    z-index: 2;
                }

                .timeline-event {
                    display: flex;
                    gap: 30px;
                    margin-bottom: 40px;
                    position: relative; /* pentru absolute markers */
                }

                .timeline-event:nth-child(even) {
                    flex-direction: row-reverse;
                }

                .timeline-date {
                    flex: 0 0 40%;
                    text-align: right;
                    padding-top: 10px;
                }

                .timeline-event:nth-child(even) .timeline-date {
                    text-align: left;
                }

                .timeline-date-text {
                    display: inline-block;
                    background: white;
                    border: 2px solid #3498db;
                    color: #3498db;
                    padding: 8px 20px;
                    border-radius: 20px;
                    font-weight: 600;
                    font-size: 0.95em;
                }

                .timeline-marker {
                    flex: 0 0 40px;
                    height: 40px;
                    background: white;
                    border: 4px solid #27ae60;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.3em;
                    box-shadow: 0 0 0 8px rgba(255,255,255,0.8);
                    position: relative;
                    z-index: 2;
                }

                .timeline-content {
                    flex: 0 0 40%;
                    background: white;
                    padding: 25px;
                    border-radius: 12px;
                    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
                    transition: all 0.3s;
                }

                .timeline-content:hover {
                    transform: translateY(-5px);
                    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
                }

                .timeline-content h3 {
                    color: #2c3e50;
                    margin: 0 0 12px 0;
                    font-size: 1.3em;
                }

                .timeline-content p {
                    color: #6c757d;
                    line-height: 1.7;
                    margin: 0;
                }

                .timeline-category {
                    display: inline-block;
                    padding: 4px 12px;
                    border-radius: 12px;
                    font-size: 0.85em;
                    font-weight: 600;
                    margin-bottom: 10px;
                }

                @keyframes pulse {
                    0%, 100% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255,255,255,0.8); }
                    50% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(39, 174, 96, 0.3); }
                }

                @media (max-width: 768px) {
                    .news-timeline::before {
                        left: 20px;
                    }

                    .timeline-event,
                    .timeline-event:nth-child(even) {
                        flex-direction: column;
                        padding-left: 60px;
                    }

                    .timeline-date,
                    .timeline-event:nth-child(even) .timeline-date {
                        text-align: left;
                    }

                    .timeline-marker {
                        position: absolute;
                        left: 0;
                    }

                    .timeline-content {
                        flex: 1;
                    }
                }
            .contact-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            }

            @media (max-width: 768px) {
                .contact-intro h1 {
                    font-size: 1.8em !important;
                }
                .contact-intro p {
                    font-size: 1em !important;
                }
            }

/* Responsive container pentru toate paginile */
.container {
    margin: 0 auto !important;
    text-align: center;
    padding: 40px 10% !important;
    width: 100% !important;
    max-width: 1600px !important;
}

/* Skip link pentru accesibilitate - ascuns implicit, vizibil la focus */
.skip-link {
    position: absolute;
    left: -9999px !important;
    z-index: 999999;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}
