/* Pregled Page Styles - 2 Column Grid Layout */

/* White background */
body.page-template-page-pregled,
body[class*="pregled"] {
    background: #fff !important;
}

html {
    background: #fff !important;
}

/* Override theme wrappers */
body.page-template-page-pregled #page,
body.page-template-page-pregled .site,
body.page-template-page-pregled .site-content,
body.page-template-page-pregled main {
    max-width: 100% !important;
    width: 100% !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pregled-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px 40px 20px;
    background: #fff;
}

/* 2-Column Grid Layout */
.pregled-item {
    display: grid;
    grid-template-columns: 2fr 3fr; /* 40/60 split */
    gap: 60px;
    margin-bottom: 80px;
    padding-bottom: 60px;
}

/* Left Sidebar */
.pregled-sidebar {
    width: 100%;
}

.page-name {
    font-size: 1.3em;
    font-weight: 800;
    color: #000;
    margin-bottom: 0;
    line-height: 1.3;
    font-family: 'Work Sans', sans-serif;
}

.page-authors {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    margin: 0 0 25px 0;
    text-align: left;
}

/* Right Content Area */
.pregled-content {
    min-width: 0;
    font-family: 'Work Sans', sans-serif;
}

.pregled-content p {
    margin-bottom: 1.2em;
    line-height: 1.7;
    text-align: left;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

/* Bullet points for parameter list */
.pregled-content p.parameter-item {
    position: relative;
    padding-left: 20px;
    margin-top: 0.5em;
}

.pregled-content p.parameter-item::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #000;
}

.pregled-content strong {
    font-weight: 600;
}

.pregled-content em {
    font-style: italic;
}

.pregled-content a {
    color: #000;
    text-decoration: underline;
}

.pregled-content a:hover {
    text-decoration: none;
}

.pregled-content h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin: 40px 0 0 0;
    text-align: left;
}

.pregled-content h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 30px 0 0 0;
    text-align: left;
}

.pregled-content ul,
.pregled-content ol {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    margin-left: 25px;
    margin-bottom: 1.2em;
}

.pregled-content li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .pregled-item {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pregled-sidebar {
        width: 100%;
    }

    .page-name {
        font-size: 1.5em;
    }
}

/* Footnote References - matching Abecedni Seznam */
.references {
    margin-top: 25px;
    padding-top: 0;
    /* No border */
    font-size: 0.8em;
    color: #333;
    font-family: 'Work Sans', sans-serif;
    text-align: left;
}

.reference {
    margin-bottom: 18px;
    line-height: 1.7;
    text-align: left;
    font-family: 'Work Sans', sans-serif;
    padding-left: 20px;
    text-indent: -20px;
}

.reference sup {
    font-weight: 600;
    margin-right: 4px;
}

.reference em {
    font-style: italic;
}

/* Superscript in main text */
.pregled-content sup {
    font-size: 0.7em;
    vertical-align: super;
    margin-left: 1px;
}