/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-3evq4mve8i] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-3evq4mve8i] {
    flex: 1;
}

.sidebar[b-3evq4mve8i] {
    background-color: transparent;  /* Remove the solid background color */
    /* Or if you want some transparency with the background image: */
    /*background-color: rgba(255, 249, 196, 0.2);*/  /* Light yellow with 70% opacity */
}

.top-row[b-3evq4mve8i] {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../img/paperMalena.jpg');
    /*border-bottom: 1px solid #d6d5d5;*/
    background-size: cover;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-3evq4mve8i]  a, .top-row[b-3evq4mve8i]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-3evq4mve8i]  a:hover, .top-row[b-3evq4mve8i]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-3evq4mve8i]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-3evq4mve8i] {
        justify-content: space-between;
    }

    .top-row[b-3evq4mve8i]  a, .top-row[b-3evq4mve8i]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-3evq4mve8i] {
        flex-direction: row;
    }

    .sidebar[b-3evq4mve8i] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3evq4mve8i] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-3evq4mve8i]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-3evq4mve8i], article[b-3evq4mve8i] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.school-title[b-3evq4mve8i] {
    margin: 0 auto;
    width: fit-content;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 768px) {
    .school-title[b-3evq4mve8i] {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .school-title[b-3evq4mve8i] {
        font-size: 0.9rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-7kjye77jug] {
    background-color: rgba(0, 0, 0, 0.1);
}

.top-row[b-7kjye77jug] {
    height: 3.5rem;
    background-color: rgba(f,f,f,0.0);
}

.navbar-brand[b-7kjye77jug] {
    font-size: 1.1rem;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .bi[b-7kjye77jug] {
    margin-right: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.bi[b-7kjye77jug] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    filter: brightness(0);
}

.bi-house-door-fill-nav-menu[b-7kjye77jug] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-7kjye77jug] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-7kjye77jug] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-trophy-fill-nav-menu[b-7kjye77jug] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-trophy-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2.5.5A.5.5 0 0 1 3 0h10a.5.5 0 0 1 .5.5c0 .538-.012 1.05-.034 1.536a3 3 0 1 1-1.133 5.89c-.79 1.865-1.878 2.777-2.833 3.011v2.173l3.5 1.5a.5.5 0 0 1 .5.5H3a.5.5 0 0 1-.5-.5l3.5-1.5v-2.173c-.955-.234-2.043-1.146-2.833-3.012a3 3 0 1 1-1.132-5.89A33.076 33.076 0 0 1 2.5.5m.099 2.54a2 2 0 0 0 .72 3.935c-.333-1.05-.588-2.346-.72-3.935zm10.083 3.935a2 2 0 0 0 .72-3.935c-.133 1.59-.388 2.885-.72 3.935'/%3E%3C/svg%3E");
}

.bi-journal-bookmark-fill-nav-menu[b-7kjye77jug] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-journal-bookmark-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 1h6v7a.5.5 0 0 1-.757.429L9 7.083 6.757 8.43A.5.5 0 0 1 6 8V1z'/%3E%3Cpath d='M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z'/%3E%3Cpath d='M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z'/%3E%3C/svg%3E");
}

.bi-mortarboard-fill-nav-menu[b-7kjye77jug] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-mortarboard-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8.211 2.047a.5.5 0 0 0-.422 0l-7.5 3.5a.5.5 0 0 0 .025.917l7.5 3a.5.5 0 0 0 .372 0L14 7.14V13a1 1 0 0 0-1 1v2h3v-2a1 1 0 0 0-1-1V6.739l.686-.275a.5.5 0 0 0 .025-.917l-7.5-3.5Z'/%3E%3Cpath d='M4.176 9.032a.5.5 0 0 0-.656.327l-.5 1.7a.5.5 0 0 0 .294.605l4.5 1.8a.5.5 0 0 0 .372 0l4.5-1.8a.5.5 0 0 0 .294-.605l-.5-1.7a.5.5 0 0 0-.656-.327L8 10.466 4.176 9.032Z'/%3E%3C/svg%3E");
}

.nav-item[b-7kjye77jug] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-7kjye77jug] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-7kjye77jug] {
        padding-bottom: 1rem;
    }

    .nav-item[b-7kjye77jug]  a {
        color: #000000;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        gap: 0.5rem;
    }

    .nav-item[b-7kjye77jug]  a i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        line-height: 1;
    }

.nav-item[b-7kjye77jug]  a.active {
    background-color: #FFE082;
    color: #000000;
}

.nav-item[b-7kjye77jug]  a:hover {
    background-color: #FFE082;
    color: #000000;
}

@media (min-width: 641px) {
    .navbar-toggler[b-7kjye77jug] {
        display: none;
    }

    .collapse[b-7kjye77jug] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-7kjye77jug] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Competitions.razor.rz.scp.css */
/* Card styling */
.card-comp[b-lhtf9ftdmi] {
    border-radius: 16px;
    background-color: #ffffff;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.hover-shadow:hover[b-lhtf9ftdmi] {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
    cursor: pointer;
}

/* Beautiful header design */
.competition-card-header[b-lhtf9ftdmi] {
    height: 160px;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Custom icon styling */
.icon-overlay[b-lhtf9ftdmi] {
    position: relative;
    z-index: 2;
}

.competition-icon[b-lhtf9ftdmi] {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* Subject tag in corner */
.subject-tag[b-lhtf9ftdmi] {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Card content styling */
.card-title[b-lhtf9ftdmi] {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-text[b-lhtf9ftdmi] {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.6;
}

/* Pill badges */
.badge[b-lhtf9ftdmi] {
    font-weight: 500;
    padding: 0.5em 1em;
}

.badge.rounded-pill[b-lhtf9ftdmi] {
    border-radius: 50rem;
}

/* Footer styling */
.card-footer[b-lhtf9ftdmi] {
    padding-top: 0;
}

.view-details-link[b-lhtf9ftdmi] {
    color: #3182ce;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.view-details-link:hover[b-lhtf9ftdmi] {
    color: #2c5282;
}

.view-details-link .bi[b-lhtf9ftdmi] {
    font-size: 1.25rem;
}

/* Theme variations */
.competition-card-header.math[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.competition-card-header.science[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.competition-card-header.literature[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #FF8008, #FFC837);
}

.competition-card-header.informatics[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #05f450, #9feab7);
}

/* Markdown content styling */
.markdown-content[b-lhtf9ftdmi] {
    line-height: 1.6;
}

.markdown-content h1[b-lhtf9ftdmi],
.markdown-content h2[b-lhtf9ftdmi],
.markdown-content h3[b-lhtf9ftdmi],
.markdown-content h4[b-lhtf9ftdmi],
.markdown-content h5[b-lhtf9ftdmi],
.markdown-content h6[b-lhtf9ftdmi] {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-content p[b-lhtf9ftdmi] {
    margin-bottom: 1rem;
}

.markdown-content ul[b-lhtf9ftdmi],
.markdown-content ol[b-lhtf9ftdmi] {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.markdown-content blockquote[b-lhtf9ftdmi] {
    padding: 0.5rem 1rem;
    border-left: 4px solid #e9ecef;
    color: #6c757d;
}

.markdown-content pre[b-lhtf9ftdmi] {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    overflow: auto;
}

.markdown-content code[b-lhtf9ftdmi] {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

.markdown-content img[b-lhtf9ftdmi] {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.markdown-content .video-container[b-lhtf9ftdmi] {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 1rem 0;
}

.markdown-content .video-container video[b-lhtf9ftdmi],
.markdown-content .video-container iframe[b-lhtf9ftdmi] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.competition-banner[b-lhtf9ftdmi] {
    border-radius: 8px;
}

/* Modal styling */
.competition-modal-header[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.modal-content[b-lhtf9ftdmi] {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-header .btn-close[b-lhtf9ftdmi] {
    filter: brightness(0) invert(1);
}

.modal-body[b-lhtf9ftdmi] {
    padding: 1.5rem;
    background-color: #fff;
}

.modal-footer[b-lhtf9ftdmi] {
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
}

.modal-title[b-lhtf9ftdmi] {
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.modal-title i[b-lhtf9ftdmi] {
    font-size: 1.5rem;
}

/* Competition banner style */
.competition-banner[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #f5f7fa, #e4e8eb);
    border-radius: 12px;
    padding: 2rem;
}

.student-profile-image[b-lhtf9ftdmi] {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* Badge styling */
.badge[b-lhtf9ftdmi] {
    font-weight: 500;
    padding: 0.5em 1em;
    border-radius: 6px;
}

.badge.bg-black[b-lhtf9ftdmi] {
    background-color: #2d3748 !important;
}

.badge.bg-info[b-lhtf9ftdmi] {
    background-color: #4299e1 !important;
}

.badge.bg-secondary[b-lhtf9ftdmi] {
    background-color: #718096 !important;
}

/* Print Preview Button Styling */
.btn-print-preview[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #2c5282, #4299e1);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.2);
    height: 38px; /* Match the height of the search input */
    white-space: nowrap;
}

.btn-print-preview:hover[b-lhtf9ftdmi] {
    background: linear-gradient(135deg, #2b6cb0, #3182ce);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(66, 153, 225, 0.3);
}

.btn-print-preview:active[b-lhtf9ftdmi] {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(66, 153, 225, 0.2);
}

.btn-print-preview i[b-lhtf9ftdmi] {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-print-preview[b-lhtf9ftdmi] {
        width: 100%;
        margin-top: 0.5rem;
        height: auto;
        padding: 0.5rem 1rem;
    }
    .student-profile-image[b-lhtf9ftdmi] {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .student-profile-image[b-lhtf9ftdmi] {
        max-width: 250px;
    }
} 
/* /Pages/CompetitionsPreview.razor.rz.scp.css */
@font-face {
    font-family: 'HeinrichScript';
    src: url('fonts/HeinrichScript.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AntiqueTradyBrk';
    src: url('fonts/a_AntiqueTradyBrk.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BaskervilleAZPS';
    src: url('fonts/BaskervilleAZPS.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.card-title[b-8x8ugdet7b]{
    font-family: 'HeinrichScript', serif;
}

/* Normal view styles */
.a4-page[b-8x8ugdet7b] {
    width: 210mm;
    min-height: 297mm;
    padding: 20mm;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    /*background-image: url('img/Paper_331S.jpg');*/
    background-size: cover; /* Ensures the image covers the area */
    background-repeat: no-repeat; /* Prevents tiling */
    background-position: center;
}

.print-header[b-8x8ugdet7b] {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dee2e6;
    padding-bottom: 1rem;
}

.competition-item[b-8x8ugdet7b] {
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1.5rem;
}

.competition-date[b-8x8ugdet7b] {
    font-size: 0.9rem;
    font-style: italic;
    color: #6c757d;
}

/* Badge styling */
.badge.bg-math[b-8x8ugdet7b] {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.badge.bg-science[b-8x8ugdet7b] {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.badge.bg-literature[b-8x8ugdet7b] {
    background: linear-gradient(135deg, #FF8008, #FFC837);
}

.badge.bg-informatics[b-8x8ugdet7b] {
    background: linear-gradient(135deg, #05f450, #9feab7);
}

/* Markdown styling */
.markdown-content[b-8x8ugdet7b] {
    line-height: 1.6;
    font-family: 'HeinrichScript', serif;
    font-size: 18px;
}

    .markdown-content h1[b-8x8ugdet7b],
    .markdown-content h2[b-8x8ugdet7b],
    .markdown-content h3[b-8x8ugdet7b],
    .markdown-content h4[b-8x8ugdet7b],
    .markdown-content h5[b-8x8ugdet7b],
    .markdown-content h6[b-8x8ugdet7b] {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .markdown-content p[b-8x8ugdet7b] {
        margin-bottom: 1rem;
     
    }

    .markdown-content ul[b-8x8ugdet7b],
    .markdown-content ol[b-8x8ugdet7b] {
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .markdown-content img[b-8x8ugdet7b] {
        max-width: 80%;
        height: auto;
        display: block;
        margin: 0 auto;
        padding: 10px;
        border: 2px solid transparent;
        border-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 Q25,40 50,50 T100,50" fill="none" stroke="%238B4513" stroke-width="2"/></svg>') 30 round;
        box-shadow: 0 0 0 4px #DEB887;
        transition: all 0.3s ease;
    }

    .markdown-content img:hover[b-8x8ugdet7b] {
        transform: scale(1.02);
    }

.inkTitle[b-8x8ugdet7b] {
    font-family: 'Beryozki', serif;
}

/* Retro frame styling for images */
.retro-frame[b-8x8ugdet7b] {
    position: relative;
    padding: 15px;
    background: #fff;
    margin: 20px auto;
    max-width: 400px;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 Q25,40 50,50 T100,50" fill="none" stroke="%238B4513" stroke-width="2"/></svg>') 30 round;
    box-shadow: 
        0 0 0 4px #DEB887,
        0 0 0 8px transparent,
        0 0 0 12px #DEB887,
        0 0 0 16px transparent;
}

.retro-frame:hover[b-8x8ugdet7b] {
    transform: rotate(0deg) scale(1.02);
}

.retro-frame img[b-8x8ugdet7b] {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(20%) contrast(110%);
}

.retro-frame[b-8x8ugdet7b]::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #DEB887, #8B4513);
    z-index: -1;
    opacity: 0.3;
    border-radius: 4px;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 Q25,40 50,50 T100,50" fill="none" stroke="black" stroke-width="2"/></svg>');
    mask-size: 100px 100px;
    mask-repeat: repeat;
}

/* Print styles */
@media print {
    .retro-frame[b-8x8ugdet7b] {
        box-shadow: none;
        border: 2px solid #000;
        transform: none;
    }

    .retro-frame[b-8x8ugdet7b]::before {
        display: none;
    }

    .retro-frame img[b-8x8ugdet7b] {
        filter: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .retro-frame[b-8x8ugdet7b] {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .retro-frame[b-8x8ugdet7b] {
        max-width: 250px;
    }
}

.profiles-4[b-8x8ugdet7b] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
    
    /* Тази опция позволява да "зумирате" (мащабирате) само списъка */
    zoom: 0.8; 
}

.profiles-4 li[b-8x8ugdet7b] {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profiles-4 img[b-8x8ugdet7b] {
    width: 120px; /* Фиксирана ширина за снимките, за да са еднакви */
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.profiles-4 p[b-8x8ugdet7b] {
    font-size: 0.9em;
    line-height: 1.2;
}
/* /Pages/HomeAI.razor.rz.scp.css */
/* Общи настройки */
:root[b-ra9jotzfwb] {
    /*--green-dark: #004d40;
    --green-mid: #00796b;*/
    --accent: #26a69a;
    --bg: #f9f9f9;
    --card: #ffffff;
}

html[b-ra9jotzfwb], body[b-ra9jotzfwb] {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: #222;
    line-height: 1.6;
}

header[b-ra9jotzfwb] {
/*    background: var(--green-dark);
    color: #000;*/
    text-align: center;
    padding: 2rem 1rem;
}

    header h1[b-ra9jotzfwb] {
        margin: 0;
        font-size: 2rem;
    }

    header .tagline[b-ra9jotzfwb] {
        margin-top: .3rem;
        font-style: italic;
    }

nav ul[b-ra9jotzfwb] {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    margin: 1rem 0 0;
}

nav li[b-ra9jotzfwb] {
    margin: 0;
}

nav a[b-ra9jotzfwb] {
    color: #333;
    text-decoration: none;
    font-weight: 700;
}

    nav a:hover[b-ra9jotzfwb] {
        color: #000;
    }

/* Основен контейнер: две колони */
.main[b-ra9jotzfwb] {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 1rem;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Лява колона: хронология */
.left-col[b-ra9jotzfwb] {
    flex: 1 1 48%;
    background: var(--card);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 260px;
}

    .left-col h2[b-ra9jotzfwb] {
        color: var(--green-dark);
        margin-top: 0;
        text-align: left;
    }

.timeline-list[b-ra9jotzfwb] {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 70vh;
    overflow: auto;
}

    .timeline-list li[b-ra9jotzfwb] {
        padding: 0.8rem 0.6rem;
        border-left: 4px solid var(--green-dark);
        margin-bottom: 1rem;
        position: relative;
        cursor: pointer;
    }

        .timeline-list li:focus[b-ra9jotzfwb] {
            outline: 2px dashed var(--accent);
            outline-offset: 4px;
        }

.school-year[b-ra9jotzfwb] {
    font-weight: 700;
    color: var(--green-mid);
    display: inline-block;
    padding: 0.15rem 0.45rem;
    background: #e0f2f1;
    border-left: 5px solid var(--accent);
    border-radius: 4px;
    margin-right: 0.5rem;
}

.timeline-text[b-ra9jotzfwb] {
    display: inline;
}

/* Дясна колона: preview изображение */
.right-col[b-ra9jotzfwb] {
    flex: 0 0 48%;
    background: var(--card);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
}

.preview[b-ra9jotzfwb] {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

    .preview img[b-ra9jotzfwb] {
        width: 100%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        transition: opacity .25s ease, transform .25s ease;
        display: block;
    }

    .preview .caption[b-ra9jotzfwb] {
        margin-top: .5rem;
        font-size: .95rem;
        color: #444;
    }

/* Отзивчивост: на малки екрани колоните се стекват */
@media (max-width:820px) {
    .main[b-ra9jotzfwb] {
        flex-direction: column;
        padding: 0 1rem;
    }

    .left-col[b-ra9jotzfwb], .right-col[b-ra9jotzfwb] {
        flex: unset;
        width: 100%;
    }

    .timeline-list[b-ra9jotzfwb] {
        max-height: 50vh;
    }
}

/* Footer */
/*footer {
    text-align: center;
    padding: 1.25rem;
    background: var(--green-dark);
    color: #fff;
    margin-top: 2rem;
}*/

nav[b-ra9jotzfwb] {
    margin-bottom: 20px;
}

    nav a[b-ra9jotzfwb] {
        margin-right: 15px;
        text-decoration: none;
        color: #333;
    }

        nav a.active[b-ra9jotzfwb] {
            font-weight: bold;
            text-decoration: underline;
        }

a:link[b-ra9jotzfwb] {
    color: #333;
}

a:visited[b-ra9jotzfwb] {
    color: #444;
}


.profiles[b-ra9jotzfwb] {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
}

    .profiles li[b-ra9jotzfwb] {
        width: 180px;
        text-align: center;
    }

    .profiles img[b-ra9jotzfwb] {
        width: 100%;
        border-radius: 8px;
    }

.symbol[b-ra9jotzfwb] {
    width: 200px;
    margin-right: 10px;
}

.info-grid[b-ra9jotzfwb] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* ==== CARD SHARED STYLE ==== */
.card[b-ra9jotzfwb] {
    background: #fff;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    height: auto;
}

    /* ==== TITLES STYLE ==== */
    .card h3[b-ra9jotzfwb] {
        font-size: 1.4rem;
        margin-bottom: 10px;
        font-weight: 700;
        text-align: center;
        letter-spacing: 0.5px;
    }

/* ==== PATRON CARD ==== */
.patron[b-ra9jotzfwb] {
    display: flex;
    flex-direction: column;
}

    .patron .patron-img[b-ra9jotzfwb] {
        width: 100%;
        flex: 1;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 12px;
        height: auto;
    }

    .patron p[b-ra9jotzfwb] {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: justify;
    }

/* ==== HYMN CARDS ==== */
.hymn[b-ra9jotzfwb] {
    display: flex;
    flex-direction: column;
}

    .hymn p[b-ra9jotzfwb] {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.25rem;
        color: #000;
        line-height: 1.6;
        text-align: justify;
        column-count: 1;
        column-gap: 24px;
        /* So text stretches within the card */
        flex: 1;
    }

/* ==== BOTTOM CARDS ==== */
.logo img[b-ra9jotzfwb] {
    width: 100%;
    object-fit: contain;
    margin-top: 10px;
    height: 260px;
}

.map iframe[b-ra9jotzfwb] {
    width: 100%;
    height: 250px;
    border: none;
    margin-top: 10px;
}

.contact p[b-ra9jotzfwb] {
    font-size: 1rem;
    margin-bottom: 6px;
}

/* ==== RESPONSIVE ADAPTATION ==== */
@media (max-width: 900px) {
    .hymn p[b-ra9jotzfwb] {
        column-count: 1;
    }
}

@media (max-width: 700px) {
    .info-grid[b-ra9jotzfwb] {
        grid-template-columns: 1fr;
    }
}

/* Достъпност: скрито заглавие ако е необходимо */
.visually-hidden[b-ra9jotzfwb] {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Style the entire scrollbar */
.patron p[b-ra9jotzfwb]::-webkit-scrollbar {
    width: 10px;
    background-color: antiquewhite;
    opacity: 0.2;
    margin:  5px;
    border-radius:6px;
}

/* Style the scrollbar thumb */
.patron p[b-ra9jotzfwb]::-webkit-scrollbar-thumb {
    background-color: antiquewhite;
    border-radius: 12px;
    border: 2px solid #ffffff;
}

/* Style the scrollbar track */
.patron p[b-ra9jotzfwb]::-webkit-scrollbar-track {
    background-color: bisque;
    border-radius: 6px;
}
