/**
 * LiderStal Blog Generator – Post Content Styles
 */
 
.lsg-post {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
}

.lsg-post .lsg-featured-image{
    margin-bottom: 30px;
}

.lsg-post h2 {
    font-size: 2.2rem;
    font-family: 'Magra', sans-serif;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
    margin-top: 60px;
    margin-bottom: 20px;
}


.lsg-post h3 {
    font-size: 1.6rem;
    font-family: 'Magra', sans-serif;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    margin-top: 30px;
    margin-bottom: 14.4px;
}

.lsg-post p,
.lsg-post ul,
.lsg-post ol,
.lsg-post table,
.lsg-post blockquote,
.lsg-post figcaption {
    font-family: 'Kumbh Sans', sans-serif;
}

.lsg-post ul,
.lsg-post ol {
  margin-bottom: 14.4px;
  font-family: 'Kumbh Sans', sans-serif;
}

.lsg-post p {
    text-align: justify;
    font-family: 'Kumbh Sans', sans-serif;
}

.lsg-post a {
    color: #C00000;
}

.lsg-post a:hover {
    color: #515A73;
}

.lsg-post .lsg-toc-title{
    border: none;
}

.lsg-post .lsg-toc-toggle {
    color: #C00000;
}

.lsg-post .lsg-toc-toggle:hover {
    color: #FFFFFF;
    background-color: #C00000;
}

.lsg-post .lsg-toc-toggle:focus {
    color: #FFFFFF;
    background-color: #C00000;
}

.lsg-post .lsg-toc-header p {
    margin-top: auto;
    margin-bottom: auto;
}

.lsg-post .lsg-section-row {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-top: 30px;
}

.lsg-post .lsg-section-row-reverse {
    flex-direction: row-reverse;
}

.lsg-post .lsg-section-row .lsg-section-text {
    width: 65%;
}

.lsg-post .lsg-section-row .lsg-section-img {
    width: 35%;
}

.lsg-post .lsg-section-figure{
    margin-top: 30px;
}

.lsg-post .lsg-section-figure img{
    border-radius: 8px;
    object-fit: cover;
    object-position: center center;
}

.lsg-post .lsg-section-figure figcaption{
    text-align: center;
    font-size: 0.85em;
    color: #666;
}

.lsg-post #spis-tresci {
    position: sticky;
    top: 30px;
    align-self: flex-start;
    margin-top: 0px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.lsg-post #spis-tresci .lsg-toc-header p {
    display: flex;
    justify-content:center;
}

.lsg-post #spis-tresci .lsg-toc-nav > ol > li > a {
    font-weight: 500;
}

@media (max-width: 1024px) {
    .lsg-post {
        display: block;
    }
    .lsg-post #spis-tresci{
        position: relative;
        max-width: 100%;
        margin-bottom: 60px;
        max-height: 500px;
    }
    .lsg-post .lsg-section-row,
    .lsg-post .lsg-section-row-reverse {
        flex-direction: column;
        gap: 20px;
    }

    .lsg-post .lsg-section-row .lsg-section-text {
        width: 100%;
    }

    .lsg-post .lsg-section-row .lsg-section-img {
        width: 100%;
    }
    .lsg-post .lsg-post-content {
        font-size: 90%;
    }
    .lsg-post .lsg-post-content h2 {
        font-size: 2rem !important;
    }
    .lsg-post .lsg-post-content h3 {
        font-size: 1.6rem !important;
    }
}