.eios-modern-wrapper {
    #font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    #padding: 20px;
}

.eios-modern-wrapper * {
    box-sizing: border-box;
}

.eios-modern-title {
    font-size: 28px;
    font-weight: 700;
    color: #173278;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.eios-modern-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #173278;
    margin: 32px 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eios-modern-section-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 24px;
    background-color: #173278;
    border-radius: 2px;
}

.eios-modern-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #790000;
    margin: 20px 0 12px 0;
}

.eios-modern-nav-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 0 16px 0 !important;
}

.eios-modern-nav-list li {
    padding-left: 0 !important;
    margin-bottom: 12px;
}

.eios-modern-nav-list li::before {
    content: none !important;
}

.eios-modern-list-marked {
    list-style: disc !important;
    padding-left: 24px !important;
}

.eios-modern-list-marked li {
    position: relative;
    padding-left: 8px !important;
    margin-bottom: 8px;
}

.eios-modern-list-marked li::before {
    content: none !important;
}

.eios-modern-link {
    color: #173278;
    text-decoration: underline;
    text-decoration-color: rgba(23, 50, 120, 0.3);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.eios-modern-link:hover {
    color: #0d1f4d;
    text-decoration-color: #0d1f4d;
    text-decoration: underline !important;
}

.eios-modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 12px 28px;
    color: #ffffff;
    background: #173278;
    border-radius: 8px;
    border: 1px solid #173278;
    transition: all 0.2s ease;
    margin: 12px 0;
    box-shadow: 0 2px 4px rgba(23, 50, 120, 0.1);
}

.eios-modern-btn:hover {
    background: #12225a;
    border-color: #12225a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(23, 50, 120, 0.15);
    color: #ffffff;
    text-decoration: none !important;
}

.eios-modern-accordion {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.eios-modern-accordion:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.eios-modern-accordion summary {
    padding: 16px 20px;
    font-weight: 600;
    color: #173278;
    cursor: pointer;
    list-style: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.eios-modern-accordion summary::-webkit-details-marker {
    display: none;
}

.eios-modern-accordion summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    color: #173278;
    transition: transform 0.2s ease;
}

.eios-modern-accordion[open] summary {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.eios-modern-accordion[open] summary::after {
    content: "−";
}

.eios-modern-accordion-content {
    padding: 20px;
    background: #ffffff;
}

.eios-modern-accordion ul:not(.eios-modern-list-marked),
.eios-modern-accordion ol {
    list-style: none;
    padding-left: 0;
}

.eios-modern-accordion ul:not(.eios-modern-list-marked) li,
.eios-modern-accordion ol li {
    padding-left: 0;
    margin-bottom: 8px;
}

.eios-modern-accordion ul:not(.eios-modern-list-marked) li::before {
    content: none;
}

.eios-modern-img-wrapper {
    text-align: center;
    margin: 20px 0;
}

.eios-modern-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.eios-modern-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .eios-modern-wrapper {
        padding: 12px;
    }
    .eios-modern-title {
        font-size: 24px;
    }
    .eios-modern-accordion summary {
        padding: 14px 16px;
        font-size: 15px;
    }
    .eios-modern-accordion-content {
        padding: 16px;
    }
}

.anchor-highlight,
.anchor-highlight > a {
    animation: anchor-flash 3s ease-out;
}
@keyframes anchor-flash {
    0%   { background-color: #ffe58f; }
    60%  { background-color: #ffe58f; }
    100% { background-color: transparent; }
}
