/* Content and contact inherit the existing CMS, SEO and form templates. */
body .content-page,
body .contact-page {
    background: var(--shop-paper);
    color: var(--shop-ink);
    font: 16px/1.75 var(--shop-font);
}
body .content-page > .container {
    width: min(100% - 48px, 850px);
    padding: 24px 0 56px !important;
}
body .contact-page > .container {
    width: min(100% - 48px, 1080px);
    padding: 24px 0 48px !important;
}
body :is(.content-page, .contact-page) .breadcrumb {
    font-size: 14px;
    margin-bottom: 26px;
    line-height: 1.5;
}
body :is(.content-page, .contact-page) .breadcrumb a {
    color: var(--main-color);
    text-underline-offset: 3px;
}
body :is(.content-page, .contact-page) h1 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 28px !important;
}
body .content-page article.content-page,
body .contact-page .content-page-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}
body :is(.content-page, .contact-page) .content-page-body {
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
body :is(.content-page, .contact-page) .content-page-body :is(h2, h3, h4) {
    font-weight: 600;
    line-height: 1.4;
    margin: 1.5em 0 .6em;
}
body :is(.content-page, .contact-page) .content-page-body h2 { font-size: 25px; }
body :is(.content-page, .contact-page) .content-page-body h3 { font-size: 21px; }
body :is(.content-page, .contact-page) .content-page-body h4 { font-size: 18px; }
body :is(.content-page, .contact-page) .content-page-body :is(p, ul, ol) { margin-bottom: 1em; }
body :is(.content-page, .contact-page) .content-page-body :is(ul, ol) { padding-left: 1.5em; }
body :is(.content-page, .contact-page) .content-page-body a {
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}
body :is(.content-page, .contact-page) .content-page-body :is(img, video, iframe) {
    max-width: 100%;
}
body :is(.content-page, .contact-page) .content-page-body img { height: auto; }
body :is(.content-page, .contact-page) .content-page-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}
body :is(.content-page, .contact-page) .content-page-body :is(td, th) {
    padding: 10px 12px;
    border-bottom: 1px solid var(--shop-line);
}
body .contact-page .row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 48px;
    margin: 32px 0 0;
}
body .contact-page .row > :is(.col-lg-5, .col-lg-7) {
    width: auto;
    padding: 0;
    margin: 0;
}
body .contact-page .row > div > div {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
body .contact-page .col-lg-7 {
    border-left: 1px solid var(--shop-line);
    padding-left: 40px !important;
}
body .contact-page h2 {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px !important;
}
body .contact-page address { line-height: 1.7; }
body .contact-page .text-secondary { color: var(--shop-muted) !important; }
body .contact-page .form-label { margin-bottom: 6px; font-size: 14px; font-weight: 600; }
body .contact-page :is(.form-control, textarea) {
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 12px;
    background: #fff;
    border-color: #bfc3b7;
    border-radius: 2px;
}
body .contact-page .form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px var(--main-color-soft);
}
body .contact-page textarea { min-height: 144px; resize: vertical; }
body .contact-page .small { font-size: 14px; line-height: 1.5; }
body .contact-page .btn-success {
    min-height: 44px;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    background: var(--main-color);
    border-color: var(--main-color);
    border-radius: 2px;
}
body .contact-page .btn-success:hover { background: #26311d; border-color: #26311d; }
body .contact-page .alert-light {
    background: transparent;
    border: 0 !important;
    border-left: 2px solid #bfc3b7 !important;
    border-radius: 0;
    padding: 8px 0 8px 14px;
    color: var(--shop-muted);
}
body .contact-page .form-control.is-invalid { border-color: #b42318; }
body .contact-page .invalid-feedback { color: #b42318; font-size: 14px; }
@media (max-width: 767px) {
    body .content-page > .container,
    body .contact-page > .container { width: calc(100% - 32px); padding-bottom: 36px !important; }
    body :is(.content-page, .contact-page) .breadcrumb { margin-bottom: 20px; }
    body .contact-page .row { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 26px; }
    body .contact-page .col-lg-7 {
        border-left: 0;
        border-top: 1px solid var(--shop-line);
        padding: 28px 0 0 !important;
    }
}

/* Kontakt: názov firmy na jeden riadok, mapa a videá (poznámka klienta 4. 11. 2026). */
body .contact-page .col-lg-5 .heading-box .heading { font-size: clamp(20px, 2.1vw, 26px); white-space: nowrap; }
body .contact-page .contact-map { display: block; width: 100%; height: 333px; border: 0; }
body .contact-page .contact-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
body .contact-page .contact-videos iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; }
