/**
 * Accessible Newsletter Styles
 * Used by webversie.php in accessible mode
 */

.accessible-newsletter {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #000;
}

.accessible-newsletter nav.top-nav {
    margin-bottom: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.accessible-newsletter nav.top-nav a {
    color: #0066cc;
    text-decoration: underline;
}

.accessible-newsletter nav.top-nav .separator {
    margin: 0 10px;
}

.accessible-newsletter header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.accessible-newsletter header .header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.accessible-newsletter header .newsletter-name {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.accessible-newsletter header .newsletter-name-single {
    margin: 0 0 5px;
    font-size: 14px;
    color: #555;
}

.accessible-newsletter header .header-link {
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
}

.accessible-newsletter header h1 {
    margin: 0;
    font-size: 28px;
    color: #000;
}

.accessible-newsletter header .subtitle {
    margin: 10px 0 0;
    font-size: 18px;
    color: #333;
}

.accessible-newsletter nav.toc {
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.accessible-newsletter nav.toc h2 {
    margin: 0 0 15px;
    font-size: 18px;
}

.accessible-newsletter nav.toc ol {
    margin: 0;
    padding-left: 25px;
}

.accessible-newsletter nav.toc li {
    margin-bottom: 8px;
}

.accessible-newsletter nav.toc a {
    color: #0066cc;
    text-decoration: underline;
}

.accessible-newsletter article {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.accessible-newsletter article h2 {
    margin: 0 0 15px;
    font-size: 22px;
    color: #000;
}

.accessible-newsletter article .image-desc {
    margin: 0 0 15px;
    padding: 10px;
    background: #f5f5f5;
    border-left: 3px solid #555;
    font-style: italic;
}

.accessible-newsletter article figure.image-desc {
    margin: 0 0 15px;
}

.accessible-newsletter article figure.image-desc figcaption {
    padding: 10px;
    background: #f5f5f5;
    border-left: 3px solid #555;
    font-style: italic;
}

.accessible-newsletter article figure.image-desc .image-long-desc {
    margin: 0;
    padding: 10px;
    background: #f0f0f0;
    border-left: 3px solid #999;
    font-style: normal;
    font-size: 15px;
    color: #444;
}

.accessible-newsletter .newsletter-content {
    /* Section wrapper for articles */
}

.accessible-newsletter article .lead {
    margin: 0 0 15px;
    font-size: 16px;
    color: #333;
}

.accessible-newsletter article .content {
    font-size: 16px;
    color: #333;
}

.accessible-newsletter article .read-more {
    margin-top: 15px;
}

.accessible-newsletter article .read-more a {
    display: inline-block;
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.accessible-newsletter article .read-more a:hover {
    background: #0055aa;
}

.accessible-newsletter article .external-link {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.accessible-newsletter article .external-link a {
    color: #0066cc;
}

.accessible-newsletter footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #333;
    font-size: 14px;
    color: #555;
}

.accessible-newsletter footer a {
    color: #0066cc;
}

.accessible-newsletter .back-to-top {
    text-align: center;
    margin-top: 20px;
}

.accessible-newsletter .back-to-top a {
    color: #0066cc;
    text-decoration: underline;
}

/* Override button colors for accessible mode */
.accessible-newsletter .wv-button {
    color: #fff !important;
    background: #0066cc !important;
}

.accessible-newsletter .wv-button:hover {
    color: #fff !important;
    background: #0055aa !important;
}

/* Focus styles for keyboard navigation (WCAG 2.4.7) */
.accessible-newsletter a:focus,
.accessible-newsletter button:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

.accessible-newsletter .read-more a:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
    background: #0055aa;
}

/* High contrast mode: black/white buttons */
body.high-contrast .accessible-newsletter .wv-button,
body.high-contrast .accessible-newsletter .read-more a {
    color: #fff !important;
    background: #000 !important;
    border: 2px solid #000 !important;
}

body.high-contrast .accessible-newsletter .wv-button:hover,
body.high-contrast .accessible-newsletter .read-more a:hover {
    background: #333 !important;
}

/* Large Text Mode for accessible newsletter */
body.large-text .accessible-newsletter {
    font-size: 1.25rem;
}

body.large-text .accessible-newsletter header h1 {
    font-size: 2.5rem;
}

body.large-text .accessible-newsletter header .subtitle {
    font-size: 1.5rem;
}

body.large-text .accessible-newsletter nav.toc h2,
body.large-text .accessible-newsletter article h2 {
    font-size: 2rem;
}

body.large-text .accessible-newsletter nav.toc li,
body.large-text .accessible-newsletter article .lead,
body.large-text .accessible-newsletter article .content,
body.large-text .accessible-newsletter article p {
    font-size: 1.25rem;
    line-height: 1.8;
}

body.large-text .accessible-newsletter article .read-more a {
    padding: 12px 24px;
    font-size: 1.125rem;
}
