.graph-page-title {
    text-align: center;
    margin: 2rem 0 3rem;
    font-size: 2rem;
    color: #fff;
}

.graph-section {
    margin: 2rem auto;
    width: 80%;
    min-width: 300px;
    max-width: 1000px;
    padding: 1rem;
    background-color: #0f1e2f;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #fff;
    box-sizing: border-box;
}

.graph-section h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.graph-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.iframe-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 56.25%; /* 16:9 poměr */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000; /* volitelné pro rámec */
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    object-fit: contain;
}

/* Na menších obrazovkách roztažení na celou šířku */
@media (max-width: 1023px) {
    .graph-section {
        width: 95%;
        max-width: 100%;
    }
}
