/* Senior-Friendly Agenda Styles - Enhanced for Better Accessibility */

/* Core agenda item styling - significantly larger and more readable */
.news-item.agenda-item,
.news-item[data-category="agenda"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 3px solid #2a5298;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(42, 82, 152, 0.15);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    line-height: 1.8;
}

.news-item.agenda-item:hover,
.news-item[data-category="agenda"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(42, 82, 152, 0.25);
    border-color: #1e3c72;
}

/* Agenda header styling - much larger and more prominent */
.agenda-header,
.news-item-header.agenda-header {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

/* Agenda item numbers - extra large and bold */
.agenda-item-number,
.news-type-badge.agenda {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2a5298;
    font-size: 2rem;
    font-weight: 900;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
    border: 3px solid #2a5298;
    display: inline-block;
    margin-bottom: 1rem;
    min-width: 80px;
    text-align: center;
}

/* Agenda titles - significantly larger and more readable */
.agenda-title,
.news-item-title.agenda-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e3c72;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Agenda content text - much larger for senior readability */
.agenda-content,
.news-item-content.agenda-content {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ALL NEWS CONTENT - Make significantly larger for better readability */
.news-item-content,
.news-item p {
    font-size: 1.5rem !important;
    line-height: 1.8 !important;
    color: #333 !important;
    font-weight: 500 !important;
    margin-bottom: 1.5rem !important;
}

/* News item general styling enhancement */
.news-item {
    font-size: 1.3rem;
    line-height: 1.7;
}

/* News titles also larger */
.news-item h3,
.news-item-title {
    font-size: 1.8rem !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

/* PDF buttons - extra large and accessible */
.agenda-pdf-btn,
.pdf-download-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-pdf-btn:hover,
.pdf-download-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.agenda-pdf-btn::before,
.pdf-download-btn::before {
    content: "📄";
    font-size: 1.5rem;
}

/* Meta information - larger and more visible */
.agenda-meta,
.news-item-meta.agenda-meta {
    font-size: 1.1rem;
    color: #666;
    background: rgba(42, 82, 152, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #2a5298;
    margin-top: 1.5rem;
    font-weight: 600;
}

/* Date styling - prominent and readable */
.agenda-date,
.news-item-date.agenda-date {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

/* Agenda filter button - larger and more accessible */
.news-filter-btn[data-category="agenda"] {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid #2a5298;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(42, 82, 152, 0.3);
    height: 28px;
    min-width: 80px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-filter-btn[data-category="agenda"]:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #0f1c3a 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(42, 82, 152, 0.4);
    border-color: #2a5298;
}

.news-filter-btn[data-category="agenda"] .filter-icon {
    font-size: 0.65rem;
}

/* High contrast mode for better visibility */
@media (prefers-contrast: high) {
    .news-item.agenda-item,
    .news-item[data-category="agenda"] {
        border-width: 4px;
        border-color: #000;
    }
    
    .agenda-title,
    .news-item-title.agenda-title {
        color: #000;
        font-weight: 900;
    }
    
    .agenda-content,
    .news-item-content.agenda-content {
        color: #000;
        font-weight: 600;
    }
}

/* Enhanced focus states for keyboard navigation */
.agenda-pdf-btn:focus,
.pdf-download-btn:focus,
.news-filter-btn[data-category="agenda"]:focus {
    outline: 4px solid #ffd700;
    outline-offset: 2px;
}

/* Responsive adjustments for mobile senior users */
@media (max-width: 768px) {
    .agenda-title,
    .news-item-title.agenda-title {
        font-size: 1.8rem;
    }
    
    .agenda-content,
    .news-item-content.agenda-content {
        font-size: 1.2rem;
    }
    
    .agenda-item-number,
    .news-type-badge.agenda {
        font-size: 1.6rem;
        padding: 0.8rem 1.2rem;
    }
    
    .agenda-pdf-btn,
    .pdf-download-btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

/* Special styling for agenda session headers */
.agenda-session-header {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(42, 82, 152, 0.2);
}

.agenda-session-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.agenda-session-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.agenda-session-date {
    font-size: 1.4rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

/* Improved spacing and readability for senior users */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.agenda-item-wrapper {
    position: relative;
}

.agenda-item-wrapper::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #2a5298, #1e3c72);
    border-radius: 3px;
}