/* ═══════════════════════════════════════════════════════
   predmet.css — sdílené styly pro stránky předmětů eduxo
   Používá CSS proměnné; barva předmětu se nastaví přes
   --predmet-color v index.html každého předmětu.
   ═══════════════════════════════════════════════════════ */

:root {
    --blue:          #1a3a8f;
    --blue-mid:      #1a56c4;
    --red:           #e63329;
    --green:         #16a34a;
    --white:         #ffffff;
    --light-gray:    #f5f7fa;
    --text:          #1a1a2e;
    --text-muted:    #555;
    --font:          system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:        8px;
    --transition:    0.25s ease;
    --header-h:      72px;
    --sidebar-w:     280px;
    --toc-w:         280px;
    --predmet-color: var(--blue-mid); /* každý předmět přepíše svou barvou */
    --avatar-size:   150px;
    --border-light:  #e8eaf0;
    --separator:     #ccc;
    /* callout barvy */
    --callout-info-bg:      #e8f0fe; --callout-info-border:    #1a56c4; --callout-info-text:    #1a3a8f;
    --callout-success-bg:   #e6f4ea; --callout-success-border: #1a8f4a; --callout-success-text: #145a30;
    --callout-warning-bg:   #fff8e1; --callout-warning-border: #f9a825; --callout-warning-text: #7a5800;
    --callout-danger-bg:    #fce8e6; --callout-danger-border:  #c0251b; --callout-danger-text:  #8b1a14;
    --callout-otazka-bg:    #f3e8fd; --callout-otazka-border:  #8b31c7; --callout-otazka-text:  #4a1a7a;
    --callout-ukol-bg:      #e8f7fd; --callout-ukol-border:    #0891b2; --callout-ukol-text:    #0c4a6e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: var(--font); color: var(--text); background: var(--white);
        line-height: 1.6; display: flex; flex-direction: column;
        min-height: 100vh; overflow-x: hidden; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
*                  { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }

/* ── HEADER ── */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 100;
    flex-shrink: 0;
}
.header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--header-h);
    display: flex; align-items: center;
    justify-content: space-between;
}
.header-left    { display: flex; align-items: center; gap: 1rem; }
.logo           { cursor: pointer; display: flex; align-items: center; }
.logo img       { height: 44px; width: auto; }
.header-divider { width: 1px; height: 28px; background: var(--border-light); }
.predmet-name   { font-family: var(--font); font-weight: 800; font-size: 0.8rem;
                  letter-spacing: 0.08em; text-transform: uppercase;
                  color: var(--blue); transition: opacity 0.2s; }
.nav-home       { font-family: var(--font); font-weight: 600; font-size: 0.78rem;
                  letter-spacing: 0.04em; text-transform: uppercase;
                  color: var(--text-muted); transition: color var(--transition); }
.nav-home:hover { color: var(--blue); }
.sidebar-toggle { display: none; background: none; border: none;
                  font-size: 1.4rem; color: var(--blue); cursor: pointer; }

/* ── LAYOUT ── */
.layout { display: flex; flex: 1; }
.layout.reader-active {
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 860px) var(--toc-w);
    column-gap: 2rem;
    max-width: calc(var(--sidebar-w) + 860px + var(--toc-w) + 4rem);
    margin: 0 auto;
    width: 100%;
    align-items: start;
}

/* ── SIDEBAR ── */
.sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    overflow-y: auto;
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    padding: 4.8rem 0 1rem;
}
.sidebar-status       { padding: 1rem 1.25rem; color: var(--text-muted); font-size: 0.88rem; }

/* ── STROM NAVIGACE ── */
.tree-dir-btn {
    width: 100%; background: none; border: none; text-align: left; cursor: pointer;
    display: flex; align-items: center; gap: 0.4rem;
    transition: background var(--transition), color var(--transition);
    font-family: var(--font); color: var(--text);
    padding: 0.45rem 1rem 0.45rem calc(0.75rem + var(--depth, 0) * 1rem);
}
.tree-dir-btn:hover      { background: var(--light-gray); color: var(--blue); }
.tree-dir-btn .icon      { font-size: 0.6rem; transition: transform var(--transition);
                            color: var(--text-muted); flex-shrink: 0; }
.tree-dir-btn.open .icon { transform: rotate(90deg); }
.tree-children           { display: none; }
.tree-children.open      { display: block; }
.tree-root > .tree-dir > .tree-dir-btn {
    font-weight: 700; font-size: 0.75rem;
    letter-spacing: 0; color: var(--blue); padding-top: 1rem;
}
.tree-file {
    display: block; width: 100%; background: none; text-align: left;
    cursor: pointer; color: var(--text-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    font-family: var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    padding: 0.4rem 1rem 0.4rem calc(1.25rem + var(--depth, 0) * 1rem); font-size: 0.86rem;
    border: none; border-left: 3px solid transparent;
}
.tree-file:hover  { background: var(--light-gray); color: var(--blue); }
.tree-file.active { background: var(--light-gray); color: var(--predmet-color);
                    border-left-color: var(--predmet-color); font-weight: 600; }
.tree-prezentace {
    display: block; width: 100%; background: none; border: none; text-align: left;
    cursor: pointer; color: var(--text-muted); text-decoration: none;
    transition: background var(--transition), color var(--transition);
    font-family: var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    padding: 0.4rem 1rem 0.4rem calc(1.25rem + var(--depth, 0) * 1rem); font-size: 0.86rem;
}
.tree-prezentace:hover { background: var(--light-gray); color: var(--blue); }

/* ── NAPOSLEDY OTEVŘENÉ ── */
.recent-section { padding: 0.75rem 0; }
.recent-title   { font-family: var(--font); font-weight: 700; font-size: 0.75rem;
                  letter-spacing: 0; color: var(--text-muted);
                  padding: 0.25rem 1rem 0.5rem; }
.recent-item    { display: block; width: calc(100% - 0.75rem); background: none; border: none;
                  text-align: left; cursor: pointer; padding: 0.35rem 1rem;
                  transition: background var(--transition);
                  border-left: 3px solid transparent; margin-left: 0.75rem;
                  border-radius: 0 var(--radius) var(--radius) 0; }
.recent-item-name  { font-size: 0.86rem; color: var(--text);
                     white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-item-topic { font-size: 0.75rem; color: var(--text-muted);
                     white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── OBSAH ── */
.content {
    flex: 1; padding: 2.5rem; min-width: 0;
    overflow-y: auto; height: calc(100vh - var(--header-h));
    display: flex; flex-direction: column; align-items: center;
}
.reader-active .content {
    flex: unset; height: calc(100vh - var(--header-h));
}

/* ── READER ── */
#breadcrumb  { display: none !important; }
#readerView  { width: 100%; }
.breadcrumb {
    font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem;
    display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap;
    max-width: 780px; width: 100%; margin-left: auto; margin-right: auto;
    background: var(--light-gray); border-radius: var(--radius);
    padding: 0.45rem 0.85rem;
}
.breadcrumb .sep       { color: var(--separator); }
.breadcrumb .back-link { color: var(--predmet-color); cursor: pointer; font-weight: 600; }
.breadcrumb .back-link:hover { text-decoration: underline; }

.md-content          { max-width: 780px; width: 100%; margin: 0 auto; }
.md-content h1       { font-size: 1.8rem; font-weight: 800; color: var(--blue);
                        margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border-light); }
.md-content h2       { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin: 2rem 0 0.75rem; }
.md-content h3       { font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 0.5rem; }
.md-content p        { margin-bottom: 1rem; line-height: 1.75; }
.md-content ul,
.md-content ol       { margin: 0.75rem 0 1rem 1.5rem; line-height: 1.75; }
.md-content ul       { list-style: disc; }
.md-content ol       { list-style: decimal; }
.md-content ul ul    { list-style: circle; }
.md-content ul ul ul { list-style: square; }
.md-content li       { margin-bottom: 0.3rem; }
.md-content code     { background: var(--light-gray); padding: 0.15rem 0.4rem;
                        border-radius: 4px; font-size: 0.88em; font-family: monospace; }
.md-content blockquote { border-left: 3px solid var(--predmet-color); padding: 0.5rem 1rem;
                          margin: 1rem 0; background: var(--light-gray);
                          border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-muted); }
.md-content table    { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.92rem; }
.md-content table th,
.md-content table td { border: 1px solid #dde1eb; padding: 0.5rem 1rem; text-align: left; }
.md-content table th { background: var(--light-gray); font-weight: 700; color: var(--blue); }
.md-content img      { max-width: 100%; border-radius: var(--radius); margin: 1rem auto; display: block; }
.md-content a        { color: var(--predmet-color); text-decoration: underline; }
.md-content hr       { border: none; border-top: 1px solid var(--border-light); margin: 2rem 0; }

/* kód bloky */
.code-wrapper                 { position: relative; margin: 0.5rem 0; }
.md-content .code-wrapper pre { margin: 0; }
.md-content pre               { background: var(--light-gray); border-radius: var(--radius);
                                 overflow-x: auto; margin: 0.5rem 0; padding: 1rem 1.25rem; }
.md-content pre code          { background: none; padding: 0; font-size: 0.88rem; color: var(--text);
                                 font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; }
.copy-btn        { position: absolute; top: 0.5rem; right: 0.5rem;
                   background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.12);
                   color: var(--text-muted); font-size: 0.9rem; line-height: 1;
                   padding: 0.25rem 0.45rem; border-radius: 4px; cursor: pointer;
                   transition: background var(--transition), color var(--transition); }
.copy-btn:hover  { background: rgba(0,0,0,0.12); color: var(--text); }
.copy-btn.copied { color: var(--green); border-color: var(--green); }

/* footnotes */
.md-content .footnotes        { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border-light);
                                 font-size: 0.85rem; color: var(--text-muted); }
.md-content .footnotes ol     { list-style: decimal; margin-left: 1.5rem; }
.md-content .footnote-ref     { font-size: 0.75em; vertical-align: super; color: var(--predmet-color); }
.md-content .footnote-backref { color: var(--predmet-color); text-decoration: none; margin-left: 0.3rem; }

/* callouts */
.md-content .callout        { display: flex; gap: 0.75rem; align-items: flex-start;
                               padding: 0.75rem 1rem; border-radius: var(--radius);
                               margin: 1rem 0; font-size: 0.92rem; line-height: 1.6; }
.md-content .callout-icon   { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.md-content .callout.info    { background: var(--callout-info-bg);    border-left: 4px solid var(--callout-info-border);    color: var(--callout-info-text); }
.md-content .callout.success { background: var(--callout-success-bg); border-left: 4px solid var(--callout-success-border); color: var(--callout-success-text); }
.md-content .callout.warning { background: var(--callout-warning-bg); border-left: 4px solid var(--callout-warning-border); color: var(--callout-warning-text); }
.md-content .callout.danger  { background: var(--callout-danger-bg);  border-left: 4px solid var(--callout-danger-border);  color: var(--callout-danger-text); }
.md-content .callout.otazka  { background: var(--callout-otazka-bg);  border-left: 4px solid var(--callout-otazka-border);  color: var(--callout-otazka-text); }
.md-content .callout.ukol    { background: var(--callout-ukol-bg);    border-left: 4px solid var(--callout-ukol-border);    color: var(--callout-ukol-text); }

.loading { color: var(--text-muted); font-size: 0.95rem; padding: 2rem 0; }

/* ── HOMEVIEW MODE — sidebar a TOC schované ── */
.sidebar   { display: none; }
.toc-panel { display: none; }
.sidebar-toggle { display: none !important; }
.reader-active .sidebar { display: flex; flex-direction: column; }
.reader-active .toc-panel { display: block; }
@media (max-width: 1100px) { .reader-active .toc-panel { display: none; } }
@media (max-width: 768px)  {
    .reader-active .sidebar { display: block; }
    body.reader-active .sidebar-toggle { display: block !important; }
}

/* ── TOC PANEL ── */
.toc-panel  { width: var(--toc-w); flex-shrink: 0;
               position: sticky; top: var(--header-h);
               height: calc(100vh - var(--header-h));
               overflow-y: auto; padding: 1rem 0; background: var(--white); }
.toc-logo   { width: 80%; max-width: 140px; opacity: 0.08; display: block; margin: 2rem auto; }
.toc-title  { font-weight: 700; font-size: 0.75rem; letter-spacing: 0;
               color: var(--text-muted);
               padding: 1rem 1rem 0.75rem; border-bottom: 1px solid var(--border-light);
               margin-bottom: 0; }
.toc-list   { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem 0; }
.toc-link   { display: block; font-size: 0.82rem; color: var(--text-muted);
               padding: 0.3rem 1rem; cursor: pointer;
               transition: background var(--transition), color var(--transition); line-height: 1.4; }
.toc-link:hover  { background: var(--light-gray); color: var(--blue); }
.toc-link.active { color: var(--predmet-color); font-weight: 600; }
.toc-link.h1     { font-weight: 700; color: var(--blue); font-size: 0.84rem; }
.toc-link.h3     { padding-left: 1.75rem; font-size: 0.79rem; }

/* ── BTN NAHORU ── */
#btn-nahoru { position: fixed; bottom: 2rem; right: 2rem;
              background: var(--predmet-color); color: var(--white);
              border: none; border-radius: 50%; width: 44px; height: 44px;
              font-size: 1.2rem; cursor: pointer;
              display: none; align-items: center; justify-content: center;
              box-shadow: 0 2px 12px rgba(0,0,0,0.15);
              transition: background var(--transition), transform var(--transition);
              z-index: 99; }
#btn-nahoru:hover  { background: var(--blue); transform: translateY(-2px); }
#btn-nahoru.visible { display: flex; }

/* ── FOOTER ── */
footer            { background: var(--light-gray); border-top: 1px solid #dde1eb;
                    text-align: center; padding: 1.5rem; font-weight: 700;
                    color: var(--blue); font-size: 0.85rem; flex-shrink: 0; }
footer .copyright { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; margin-top: 0.2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .layout.reader-active { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed; top: var(--header-h); left: 0;
        height: calc(100vh - var(--header-h)); z-index: 50;
        transform: translateX(-100%); transition: transform var(--transition);
        background: var(--white);
    }
    .sidebar.open   { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.1); }
    .content        { padding: 1.5rem 1rem; height: auto; overflow-x: hidden; }
    .predmet-name   { display: none; }
    .md-content table { display: block; overflow-x: auto; }
    .md-content pre { max-width: 100%; }
    .layout         { max-width: 100vw; }
}

/* ═══════════════════════════════════════════════════════════════════
   HOME VIEW — avatar hero, sekce, karty
   ═══════════════════════════════════════════════════════════════════ */

/* ── AVATAR HERO ── */
.home-hero {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem 0 0.25rem;
    margin-bottom: 0.25rem;
    position: relative;
}
.home-avatar-wrap {
    flex-shrink: 0;
    margin-top: -1rem;
    margin-bottom: 15px;
}
.home-avatar-wrap canvas { width: var(--avatar-size); height: var(--avatar-size); display: block; }
.home-bubble-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 15px;
}
.home-bubble {
    position: relative;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 0 10px 10px 10px;
    padding: 0.75rem 1.1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}
.home-bubble-cursor {
    display: inline-block;
    width: 2px; height: 1em;
    background: var(--predmet-color);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.home-chat-sender {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.2rem;
}
.home-ty-bubble .home-chat-sender { align-self: flex-end; }

/* ── TY BUBLINA ── */
.home-ty-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0.75rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
}
.home-ty-bubble {
    background: #fff;
    border: 1px solid #dde1eb;
    border-radius: 10px 0 10px 10px;
    padding: 0.55rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.home-ty-btn {
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--predmet-color);
    background: none;
    color: var(--predmet-color);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.home-ty-btn:hover { background: var(--predmet-color); color: #fff; }

/* ── LAYOUT ── */
#homeView { width: 100%; max-width: 1160px; padding: 1.5rem 2rem 3rem; position: relative; }
/* Gradient border — nahoře i dole, stejný styl jako hero na hlavní stránce */
#homeView::before { content: ''; position: absolute; inset: 0;
                    border-radius: var(--radius); padding: 1px;
                    background: linear-gradient(to bottom, #c7d2fe 0%, #c7d2fe 5%, transparent 20%, transparent 80%, #c7d2fe 95%, #c7d2fe 100%);
                    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                    -webkit-mask-composite: xor;
                    mask-composite: exclude;
                    pointer-events: none; }
.home-sekce-arrow {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--predmet-color);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.15s;
}
.home-sekce-arrow:hover { transform: scale(1.1); }
.card-entry-header .home-sekce-arrow { background: #fff; color: var(--predmet-color); }
.home-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
    .home-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
    .card-entry-tagline { white-space: nowrap; }
    .home-body > .home-card { height: 100%; box-sizing: border-box; }
}

/* ── Mobilní hero (< 480px) ── */
@media (max-width: 480px) {
    .home-hero {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .home-avatar-wrap {
        margin-top: 0;
        margin-bottom: 0;
    }
    .home-avatar-wrap canvas { width: 90px; height: 90px; }
    .home-bubble-wrap {
        width: 100%;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    .home-bubble { font-size: 0.95rem; border-radius: 10px; }
}

/* ── KARTA ── */
.home-card {
    border: 1px solid #dde1eb;
    border-radius: var(--radius);
    background: var(--white);
    padding: 1.25rem;
}

/* ── VSTUPNÍ KARTY (CCNA Kadet, Lab) ── */
.home-card-entry {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.home-card-entry:hover {
    border-color: var(--predmet-color);
    box-shadow: 0 2px 8px rgba(26,86,196,0.08);
}
.card-entry-header {
    background: var(--blue);
    color: #fff;
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-entry-header .home-sekce-arrow { flex-shrink: 0; margin-left: 0.75rem; }
.card-entry-symbol {
    position: absolute;
    right: 0.75rem;
    bottom: -0.5rem;
    font-size: 5rem;
    font-weight: 900;
    font-family: var(--font-mono, monospace);
    opacity: 0.06;
    pointer-events: none;
    line-height: 1;
    letter-spacing: -0.05em;
    user-select: none;
    color: var(--blue);
}
.card-entry-tagline {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #636363;
    margin-top: 0.2rem;
}
.card-entry-body {
    position: relative;
    overflow: hidden;
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-entry-intro {
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.entry-status {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}
/* pravý sloupec — dvě karty nad sebou */
.home-col-right { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 600px) { .home-col-right { height: 100%; box-sizing: border-box; } }

/* tlačítka v TY bublině */
.home-ty-btns { display: flex; gap: 0.5rem; }
/* opory karta — bez paddingu + obsah s paddingem */
.home-card--flush { padding: 0 !important; overflow: hidden; }
.opory-list-wrap  { padding: 1rem 0; position: relative; overflow: hidden; min-height: 370px; }

/* ── STUDIJNÍ OPORY — SEZNAM ── */
.opory-list { display: flex; flex-direction: column; gap: 2px; }
.opory-item {
    display: grid;
    grid-template-columns: 1.5rem 0.85rem 1fr;
    column-gap: 5px;
    align-items: center;
    padding: 0.42rem 20px;
    border-radius: var(--radius);
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 0.12s;
}
.opory-item:hover { background: var(--light-gray); }
.opory-num  { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-align: right; }
.opory-icon { font-size: 0.72rem; text-align: center; color: var(--text-muted); }
.opory-item.visited .opory-icon { color: var(--green); }
.opory-item.current .opory-icon { color: var(--predmet-color); }
.opory-name { font-size: 0.84rem; color: var(--text); line-height: 1.35; }
.opory-item.current .opory-name { font-weight: 700; color: var(--predmet-color); }

