body {
    font-family: 'Segoe UI', 'Nunito', 'Quicksand', Arial, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    color: #25324b;
    margin: 0;
    padding: 0;
    line-height: 1.7
}

.ArticleContainer {
    max-width: 900px;
    margin: 2.5rem auto 3rem auto;
    display: flex;
    justify-content: center;
    padding: 2.2rem 2.5rem 2.5rem 2.5rem;
    background: linear-gradient(120deg, #fff 60%, #e0e7ff 100%);
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(60, 80, 180, 0.10), 0 1.5px 6px #2a7ae022;
    border: 2.5px solid #a5b4fc33;
    position: relative
}

@media (max-width:900px) {
    .ArticleContainer {
        padding: 32px 12px 28px 12px;
        margin: 24px 6px 32px 6px
    }
}

.ArticleContent {
    max-width: 800px;
    background: #fff;
    padding: 2.2rem 2.2rem 2.2rem 2.2rem;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(44, 62, 80, 0.08);
    font-size: 1.13em;
    line-height: 1.7em;
    color: #2d2d2d;
    margin: 0 auto
}

.ArticleContent h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 2.2rem;
    text-align: center;
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 12px #a5b4fc33;
    background: linear-gradient(90deg, #0e4366 10%, #0877ff 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    word-break: break-word;
    overflow-wrap: break-word;
    display: block;
    padding-bottom: 1.2rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

.ArticleContent h2 {
    font-size: 1.35rem;
    color: #6366f1;
    margin-top: 2em;
    margin-bottom: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #a5b4fc22;
    display: flex;
    align-items: center;
    gap: 0.5em;
    border-left: 4px solid #6366f1;
    padding-left: 12px
}

.ArticleContent h2::after {
    content: '';
    display: inline-block;
    height: 3px;
    width: 32px;
    background: linear-gradient(90deg, #6366f1 0%, #60a5fa 100%);
    border-radius: 2px;
    margin-left: 0.7em;
    opacity: 0.5
}

.ArticleContent h3 {
    font-size: 1.18rem;
    margin-top: 1.7em;
    color: #3b3b7a;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5em
}

.ArticleContent h4,
.ArticleContent h5,
.ArticleContent h6 {
    font-size: 1.1rem;
    margin-top: 1.3em;
    color: #3a3a3a
}

.ArticleContent p {
    font-size: 1.13em;
    margin: 1.1em 0;
    color: #2d2d2d
}

.ArticleContent ul,
.ArticleContent ol {
    margin: 1.2em 0 1.2em 2.2em;
    padding: 0;
    font-size: 1.08em;
    color: #3b3b7a;
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1px
}

.ArticleContent li {
    margin-bottom: 0.5em;
    font-size: 1.08rem;
    color: #3b3b7a;
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1px
}

.ArticleContent blockquote {
    border-left: 4px solid #6366f1;
    background: #f3f6fa;
    color: #3b3b7a;
    margin: 1.5em 0;
    padding: 1em 1.5em;
    font-style: italic;
    border-radius: 10px;
    box-shadow: 0 2px 12px #6366f111
}

.ArticleContent img,
.ArticleContent video,
.ArticleContent iframe {
    max-width: 100%;
    display: block;
    margin: 40px auto 24px auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px #0001;
    transition: box-shadow 0.2s, transform 0.2s;
    clear: both
}

.ArticleContent h1+img,
.ArticleContent h1+video,
.ArticleContent h1+iframe,
.ArticleContent h1+figure {
    margin-top: 2.5rem !important
}

.ArticleContent h1+* {
    margin-top: 2.2rem !important
}

.spacer-above-img {
    display: block;
    height: 2.5rem;
    width: 100%
}

.ArticleContent pre,
.ArticleContent code {
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    background: #f4f6fa;
    color: #2a3a5a;
    border-radius: 6px
}

.ArticleContent pre {
    padding: 1em 1.2em;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 1em
}

.ArticleContent code {
    padding: 0.2em 0.5em;
    font-size: 1em
}

.ArticleContent a {
    color: #4e7cff;
    text-decoration: none;
    transition: color 0.18s;
    font-weight: 600
}

.ArticleContent a:hover,
.ArticleContent a:focus {
    color: #2a3a5a;
    text-decoration: underline;
    text-shadow: 0 2px 8px #a5b4fc22
}

.ArticleContent hr {
    border: none;
    border-top: 1.5px solid #e0e6f0;
    margin: 2.5em 0
}

.ArticleContent .table-responsive {
    overflow-x: auto;
    margin: 1.5em 0
}

.ArticleContent table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    background: #fafbfc;
    border-radius: 8px;
    overflow: hidden
}

.ArticleContent th,
.ArticleContent td {
    padding: 0.85em 1em;
    border-bottom: 1px solid #e0e6f0;
    text-align: left
}

.ArticleContent th {
    background: #f3f6fa;
    font-weight: 700;
    color: #1a2233
}

.ArticleContent tr:last-child td {
    border-bottom: none
}

@media (max-width:600px) {
    .ArticleContent h1 {
        font-size: 1.4rem;
        margin-bottom: 1.3rem
    }

    .ArticleContent img,
    .ArticleContent video,
    .ArticleContent iframe {
        margin-top: 1.2rem
    }

    .ArticleContent h2 {
        font-size: 1.1rem
    }

    .ArticleContent h3 {
        font-size: 1rem
    }

    .ArticleContainer {
        padding: 1rem 0.5rem
    }

    .ArticleContent table,
    .ArticleContent th,
    .ArticleContent td {
        font-size: 0.98em
    }
}

.ArticleContent figcaption {
    text-align: center;
    font-size: 0.98em;
    color: #6a6a6a;
    margin-top: -12px;
    margin-bottom: 18px
}

sup,
sub {
    font-size: 0.85em
}

em,
i {
    color: #2a3a5a
}

.mark {
    background: #ffe066;
    padding: 0.1em 0.3em;
    border-radius: 3px
}

.article-meta {
    font-size: 0.98em;
    color: #6a6a6a;
    margin-bottom: 1.5em;
    margin-top: -0.7em;
    letter-spacing: 0.2px
}

.article-footer {
    margin-top: 2.5em;
    padding-top: 1.2em;
    border-top: 1.5px solid #e0e6f0;
    color: #6a6a6a;
    font-size: 0.98em;
    text-align: center
}

.quizzes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
    justify-items: stretch;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%
}

.quiz-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(44, 62, 80, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s
}

.quiz-card:hover {
    box-shadow: 0 6px 32px 0 rgba(44, 62, 80, 0.13)
}

.category-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px
}

.quiz-card-content {
    padding: 22px 20px 18px 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.quiz-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a2233
}

.quiz-card-content p {
    font-size: 1.05em;
    color: #3a3a3a;
    margin-bottom: 18px
}

.quiz-card-btn {
    display: inline-block;
    background: #4e7cff;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 22px;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.18s;
    margin-top: auto
}

.quiz-card-btn:hover {
    background: #2a3a5a
}

@media (max-width:1100px) {
    .quizzes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 800px
    }
}

@media (max-width:700px) {
    .quizzes-grid {
        grid-template-columns: 1fr;
        max-width: 400px
    }

    .quiz-card {
        max-width: 100%
    }
}