/* CMS obsah — typografie a media ze všech editorů */

.content-body {
    font-family: var(--default-font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--default-color);
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.content-body h2 {
    font-size: 26px;
    font-weight: 700;
}

.content-body h4 {
    font-size: 20px;
    font-weight: 700;
}

.content-body p {
    margin-bottom: 1rem;
}

.content-body ul,
.content-body ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.content-body li {
    margin-bottom: 0.35rem;
}

.content-body img {
    max-width: 100%;
    height: auto;
}

.content-body .cms-img-fluid,
.content-body img.cms-img-fluid {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.content-body .cms-video-wrap,
.content-body .videoWrapper {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
}

.content-body .cms-video-wrap.ratio iframe,
.content-body .cms-video-wrap iframe,
.content-body .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.content-body iframe[src*="youtube.com"],
.content-body iframe[src*="youtu.be"] {
    max-width: 100%;
}

/* KM sekce — migrace ze starého czkravmaga (instruktoři, galerie, …) */
.service-details .content-body .services-img,
.content-body .services-img {
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
}

.service-details .content-body .row > [class*="col-"] img,
.content-body .row > [class*="col-"] img {
    max-width: 100%;
    height: auto;
}

.service-details .content-body,
.service-details .content-body p,
.service-details .content-body li {
    font-size: 15px;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

/* Homepage hero — plná plocha pozadí */
.index-page .hero img {
    object-fit: cover;
}
