/*
Theme Name: Krtko Rudko Astra
Description: Nový web Krtko Rudko.
Template: astra
Version: 2.2.9
Text Domain: krtko-rudko-astra
*/

:root {
    --rr-ink: #101e31;
    --rr-navy: #102641;
    --rr-blue: #1c577b;
    --rr-orange: #ff8437;
    --rr-paper: #f3f7fa;
    --rr-line: #dce5ec;
    --rr-muted: #486078;
    --rr-width: 1240px;
    --ast-global-color-0: #a64000;
    --ast-global-color-1: #803400;
    --ast-global-color-2: #101e31;
    --ast-global-color-3: #344c61;
}
body { background: #fff; color: var(--rr-ink); font-family: system-ui, sans-serif; }
body .site { overflow: clip; }
.rr-shell { width: min(var(--rr-width), calc(100% - 48px)); margin-inline: auto; }
.rr-header { position: relative; z-index: 20; border-bottom: 1px solid var(--rr-line); background: #fff; }
.rr-header-inner { display: flex; min-height: 84px; gap: clamp(14px, 3vw, 44px); align-items: center; justify-content: space-between; }
.rr-logo img { width: clamp(150px, 17vw, 210px); height: auto; display: block; }
.rr-nav ul, .rr-footer ul { display: flex; list-style: none; padding: 0; margin: 0; gap: clamp(13px, 2.4vw, 30px); }
.rr-nav a { color: var(--rr-ink); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: .91rem; }
.rr-nav a:hover, .rr-nav .current-menu-item a { color: #a64000; }
.rr-button, .rr-menu, .rr-mobile-call { display: inline-flex; align-items: center; justify-content: center; gap: .75em; padding: .78rem 1.15rem; border-radius: 8px; background: var(--rr-orange); color: var(--rr-ink); font-size: .95rem; line-height: 1.45; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.rr-button:hover, .rr-mobile-call:hover { background: #ffad76; color: var(--rr-ink); }
.rr-menu, .rr-mobile-call { display: none; }
.rr-button-light { background: transparent; border: 1px solid #85a2b8; color: #fff; }
.rr-button-light:hover { background: #fff; color: var(--rr-ink); }
.rr-header :focus-visible, .rr-footer :focus-visible, .rr-hero-actions :focus-visible, .rr-mobile-call:focus-visible { outline: 3px solid #1e86cd; outline-offset: 4px; }
#content > .ast-container { max-width: calc(var(--rr-width) + 48px); padding-inline: 24px; }
#content #primary { width: 100%; margin: 0; padding: 0; border: 0; }
#content .ast-article-single { padding: 0; background: transparent; }
#content .entry-content { padding-bottom: clamp(44px, 7vw, 100px); }
.rr-kicker { font-size: .77rem; font-weight: 850; letter-spacing: .15em; }
.blog #primary, .archive #primary, .single #primary { padding-block: clamp(26px, 5vw, 68px) !important; }
.rr-footer { background: var(--rr-navy); color: #dce9f4; padding: clamp(35px, 6vw, 76px) 0 20px; }
.rr-footer-cta { display: flex; gap: 20px; justify-content: space-between; align-items: center; background: #1b3956; border: 1px solid #41637e; padding: clamp(22px, 4vw, 46px); border-radius: 16px; }
.rr-kicker { color: #ffae7b; }
.rr-footer h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.65rem); letter-spacing: -.035em; margin: .2em 0; }
.rr-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 .7rem; }
.rr-footer p { margin: .35em 0 0; }
.rr-footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .8fr 1.1fr; gap: 24px; padding: 38px 0; }
.rr-footer-grid a { display: block; color: #dce9f4; text-decoration: none; margin-bottom: .25em; overflow-wrap: anywhere; }
.rr-footer-grid a:hover { color: #ffae7b; text-decoration: underline; }
.rr-footer-grid ul { display: block; }
.rr-footer-logo { width: 190px; height: auto; }
.rr-copyright { border-top: 1px solid #41637e; padding-top: 16px; font-size: .85rem; }
@media (max-width: 880px) {
    .rr-header-inner { flex-wrap: wrap; min-height: 66px; gap: 8px 16px; padding-block: 9px; }
    .rr-menu:not([hidden]) { display: inline-flex; margin-left: auto; background: var(--rr-paper); color: var(--rr-ink); }
    .rr-header-phone { display: none; }
    .rr-nav { flex: 0 0 100%; padding: 5px 0; }
    .rr-nav[data-enhanced]:not(.rr-open) { display: none; }
    .rr-nav ul { flex-wrap: wrap; gap: 10px 18px; }
    .rr-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    #content > .ast-container { padding-inline: 16px; }
    .rr-footer-cta { align-items: flex-start; flex-direction: column; }
    .rr-footer { padding-bottom: 76px; }
    .rr-mobile-call { display: flex; position: fixed; z-index: 90; bottom: max(12px, env(safe-area-inset-bottom)); left: 16px; right: 16px; box-shadow: 0 4px 20px #10264155; }
}




.blog #primary .ast-article-post,
.archive #primary .ast-article-post {
    margin-bottom: 20px;
    padding: clamp(18px, 3vw, 36px);
    border: 1px solid var(--rr-line);
    border-radius: 16px;
    background: #fff;
}
:is(.blog,.archive,.single-post) #primary :is(.entry-title,.ast-archive-title) {
    color: var(--rr-ink);
    font-weight: 800;
    letter-spacing: -.035em;
}
:is(.blog,.archive,.single-post) #primary .post-thumb img { border-radius: 12px; }
body:has(.cmplz-cookiebanner.cmplz-show) .rr-mobile-call { visibility: hidden; }

#content .rr-page-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    margin: 0 0 clamp(32px, 5vw, 64px);
    color: #e4eff8;
    background: radial-gradient(ellipse at 76% 38%, #245f82, #163a58 38%, #10233b 78%);
}
#content .rr-page-hero.rr-hero-main {
    background: linear-gradient(90deg, #10233b 12%, #10233bdc 54%, #10233ba6);
}
.rr-hero-inner { width: min(var(--rr-width), calc(100% - 48px)); margin: auto; padding: clamp(45px, 7vw, 102px) 0; }
.rr-hero-main .rr-hero-inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(25px, 5vw, 75px); }
#content .rr-page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4.8rem); font-weight: 850; line-height: 1.02; letter-spacing: -.053em; margin: .2em 0 .36em; text-wrap: balance; }
.rr-hero-copy > .rr-copy:first-child, .rr-hero-copy > div:first-child:not(.rr-hero-actions) { color: #ffae7b; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.rr-hero-inner > img { width: min(100%, 420px); max-height: 480px; object-fit: contain; margin: auto; filter: drop-shadow(0 20px 28px #071a2c80); }
.rr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rr-section-label { color: #a64000; font-size: .77rem; font-weight: 850; letter-spacing: .15em; margin: 2.5rem 0 .55rem; }
#content .rr-content-section { margin-block: 0 clamp(15px, 3vw, 37px); }
#content .rr-content-section h2, #content .entry-content > h2 { font-size: clamp(1.6rem, 3vw, 2.55rem); font-weight: 800; letter-spacing: -.043em; line-height: 1.13; text-wrap: balance; }
.rr-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px, 2.4vw, 26px); }
.rr-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.rr-grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.rr-grid > .rr-cell { min-width: 0; overflow: hidden; padding: clamp(16px, 2.4vw, 26px); background: var(--rr-paper); border: 1px solid var(--rr-line); border-radius: 14px; }
.rr-grid .rr-cell img { width: 100%; max-height: 360px; object-fit: cover; }
.rr-cell img, .rr-tip img { border-radius: 10px; }
.rr-cell .rr-button { margin: .65rem .4rem .15rem 0; white-space: normal; }
.rr-cell h3 { font-size: clamp(1.18rem, 2vw, 1.6rem); line-height: 1.24; }
.rr-cell h3 img { margin-bottom: .6em; }
.rr-card-subtitle { display: block; margin-top: .65em; font-size: .94rem; font-weight: 450; line-height: 1.55; color: var(--rr-muted); }
.rr-copy { margin-bottom: 1em; }
.rr-copy:empty { display: none; }
.rr-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.rr-photo { display: block; }
.rr-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; transition: filter .2s; }
.rr-photo:hover img { filter: brightness(.85); }
.rr-tips { margin-bottom: 2.5rem; }
.rr-tip { padding: 16px; border: 1px solid var(--rr-line); border-radius: 14px; color: var(--rr-ink); font-weight: 750; }
.rr-tip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.rr-contact { background: var(--rr-paper); border: 1px solid var(--rr-line); border-radius: 16px; padding: clamp(16px, 4vw, 42px); margin-bottom: 2rem; }
.rr-contact label { display: block; font-weight: 650; }
.rr-contact :is(input:not([type=checkbox]),select,textarea) { display: block; width: 100%; margin: 5px 0 14px; }
.rr-contact fieldset { margin-bottom: 1rem; padding: 0; border: 0; }
.rr-contact fieldset label { font-weight: 450; }
.rr-contact .rr-trap { position: absolute; left: -9999px; }
.rr-contact .rr-button { border: 0; cursor: pointer; }
@media (max-width: 950px) {
    .rr-grid-3, .rr-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
    .rr-shell, .rr-hero-inner { width: calc(100% - 32px); }
    .rr-hero-main .rr-hero-inner, .rr-grid { grid-template-columns: minmax(0,1fr); }
    .rr-hero-inner > img { width: min(55vw,240px); }
    .rr-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
}

.rr-viewer { width: min(94vw, 1050px); max-width: none; max-height: 94vh; margin: auto; padding: 12px; border: 0; border-radius: 15px; background: var(--rr-navy); color: #fff; }
.rr-viewer::backdrop { background: #07121dd9; }
.rr-viewer img { display: block; width: 100%; height: min(73vh, 720px); object-fit: contain; }
.rr-viewer-close { position: absolute; top: 12px; right: 12px; }
.rr-viewer-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.rr-viewer button { color: var(--rr-ink); background: var(--rr-orange); padding: .5em .85em; border-radius: 7px; }
.rr-blog-intro { margin-bottom: clamp(25px, 4vw, 50px); }
.rr-blog-intro .rr-section-label { margin-top: 0; }
#content .rr-blog-intro h1 { font-size: clamp(2.25rem, 5vw, 4.4rem); font-weight: 850; letter-spacing: -.053em; }

/* Astra constrains HTML blocks in the entry content. This layout sets its own gutters. */
body.rr-wide { --rr-width: 1480px; --rr-gutter: clamp(16px, 4vw, 72px); }
body.rr-wide #content > .ast-container { width: 100%; max-width: none; padding-inline: 0; }
body.rr-wide #content .entry-content > * {
    width: calc(100% - 2 * var(--rr-gutter));
    max-width: var(--rr-width);
    margin-inline: auto;
}
body.rr-wide #content .entry-content > .rr-page-hero {
    width: 100%; max-width: none; left: auto; transform: none; margin-inline: 0;
    background-color: #0c2031;
}
body.rr-wide .rr-hero-inner { width: calc(100% - 2 * var(--rr-gutter)); }
#content .rr-page-hero:not(.rr-hero-main) {
    background: radial-gradient(ellipse at 85% 45%, #285b68 0, transparent 57%),
        repeating-linear-gradient(115deg, #ffffff0c 0 1px, transparent 1px 40px), #0c2031;
}
.rr-hero-index { display: inline-flex; align-items: center; gap: 10px; color: #ffe6cc; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.rr-hero-index::before { content: ""; width: 24px; height: 2px; background: var(--rr-orange); }
#content .rr-page-hero h1 { font-size: clamp(2.5rem, 6vw, 6.4rem); max-width: 14ch; margin: .22em 0; }
.rr-hero-intro { color: #d7e8ec; font-size: clamp(1rem, 1.65vw, 1.3rem); margin: 0; }
#content .rr-hero-main {
    background: linear-gradient(108deg, #0b1f2e 25%, #12333de8 64%, #155662b8);
}
.rr-hero-main .rr-hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); }
.rr-hero-main .rr-hero-copy > div[id] { margin-top: 1rem; max-width: 60ch; color: #d7e8ec; }
.rr-hero-main .rr-hero-inner > img { width: min(100%, 470px); }
.rr-wide .rr-content-section .rr-grid-3 > .rr-cell { background: #fff; box-shadow: 0 12px 32px #1026410c; }
.rr-price-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 0; border: 1px solid var(--rr-line); border-radius: 20px; overflow: hidden; }
.rr-price-card > .rr-cell { border: 0; border-radius: 0; background: #fff; }
.rr-price-card > .rr-cell:first-child { padding: 0; min-height: 240px; }
.rr-price-card > .rr-cell:first-child img { display: block; height: 100%; max-height: none; border-radius: 0; }
.rr-price-card > .rr-cell:nth-child(2) { padding: clamp(20px, 4vw, 56px); }
#content .rr-price-card h2 { font-size: clamp(1.45rem, 3vw, 2.6rem); margin-block: .3em .6em; }
.rr-price-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.15rem; }
.rr-price-summary span { display: grid; padding: .65rem .9rem; border-radius: 10px; background: #eff5f5; color: #31505c; font-size: .81rem; }
.rr-price-summary strong { color: #102641; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.rr-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.8vw, 24px); }
.rr-photo { position: relative; border-radius: 14px; overflow: hidden; background: #e5edf0; }
.rr-photo img { display: block; border-radius: 0; }
.rr-photo::after { content: "↗"; position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--rr-ink); background: #fff; pointer-events: none; }
.rr-viewer[open] { display: block; position: fixed; inset: 0; }
@media (max-width: 760px) {
    .rr-hero-main .rr-hero-inner, .rr-price-card { grid-template-columns: minmax(0, 1fr); }
    .rr-price-card > .rr-cell:first-child { min-height: 0; }
    .rr-price-card > .rr-cell:first-child img { height: auto; max-height: 240px; }
    .rr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rr-wide .rr-header { background: #faf9f6; }
.rr-wide .rr-header-inner { min-height: 76px; }
.rr-wide .rr-header-phone { border-radius: 999px; }
.rr-wide .rr-header-phone span { background: #102641; color: #fff; border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; }
.rr-wide .rr-hero-actions .rr-button { border-radius: 999px; padding-inline: 1.35rem; }
.rr-wide .rr-service-grid { counter-reset: rr-service; }
.rr-wide .rr-service-grid > .rr-cell { position: relative; padding: 0; }
.rr-service-grid > .rr-cell > div { padding: 0 clamp(16px, 2vw, 24px) 20px; }
.rr-service-grid .rr-cell img { aspect-ratio: 2 / 1; object-fit: cover; }
.rr-service-grid > .rr-cell::before {
    counter-increment: rr-service; content: "0" counter(rr-service);
    position: absolute; inset: 10px auto auto 10px; z-index: 1;
    border-radius: 999px; background: #fff; color: var(--rr-ink);
    padding: .2rem .68rem; font-size: .72rem; font-weight: 850;
}
.rr-local { padding: clamp(20px, 4vw, 55px); background: #eff5f5; border-radius: 18px; }
.rr-local .rr-hero-actions { align-items: center; gap: 14px 22px; }
.rr-city-links { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 1.2em 0 0; padding: 0; }
.rr-city-links a { display: block; padding: .45em .85em; background: #fff; border: 1px solid var(--rr-line); border-radius: 999px; font-weight: 700; }

.rr-future-services { gap: clamp(12px, 1.5vw, 22px); }
.rr-wide .rr-content-section .rr-future-services > .rr-cell {
    padding: 0; background: #10283a; color: #eff7fa; border: 1px solid #315969;
    border-radius: 4px 26px 4px 26px; box-shadow: none; transition: border-color .2s;
}
.rr-future-services > .rr-cell:hover { border-color: #59d6c9; }
.rr-future-services .rr-cell > div { padding: 12px 12px 20px; }
.rr-future-services .rr-cell > div > div + div { padding: 15px 10px 0; }
.rr-future-services .rr-cell img { display: block; aspect-ratio: 2.55 / 1; object-fit: cover; border-radius: 2px 17px 2px 17px; }
#content .rr-future-services h3 { color: #fff; font-weight: 750; margin: 0 0 12px; }
.rr-future-services .rr-card-subtitle { color: #c5dce4; }
.rr-service-link { display: inline-flex; color: #8cf2df; font-size: .9rem; font-weight: 750; }
.rr-service-link:hover { color: #fff; }
.rr-work-teaser, .rr-contact-direct { margin-block: clamp(28px, 5vw, 72px); }
.rr-work-teaser > a, .rr-contact-direct {
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center;
    gap: clamp(20px, 3vw, 45px); padding: clamp(20px, 4vw, 55px);
    border-radius: 6px 35px 6px 35px; border: 1px solid #315969;
    background: repeating-linear-gradient(120deg, #ffffff0c 0 1px, transparent 1px 34px), linear-gradient(115deg, #0e2032, #163f4c);
    color: #fff; text-decoration: none !important;
}
#content :is(.rr-work-teaser,.rr-contact-direct) h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.8rem); margin: .25em 0 .45em; letter-spacing: -.05em; }
.rr-work-teaser-media { display: grid; grid-template-columns: 1.25fr .85fr .85fr; gap: 8px; }
.rr-work-teaser-media img { display: block; width: 100%; height: clamp(95px, 16vw, 220px); object-fit: cover; border-radius: 3px 15px 3px 15px; }
.rr-direct-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) {
    .rr-work-teaser > a, .rr-contact-direct { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: no-preference) {
    .rr-work-teaser .rr-button { transition: transform .2s ease; }
    .rr-work-teaser a:hover .rr-button { transform: translateX(5px); }
}

.rr-night-service {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 16px 32px; padding: clamp(20px, 4vw, 46px); margin-block: 32px;
    border: 1px solid #315969; border-radius: 6px 30px 6px 30px;
    background: linear-gradient(115deg, #0e2032, #163f4c);
}
#content .rr-night-service h2 { color: #fff; margin: .35em 0 0; font-size: clamp(1.4rem, 3vw, 2.5rem); }

body.rr-wide #content .entry-content > .rr-legal { max-width: 860px; }
#content .rr-legal h2 { font-size: clamp(1.35rem, 2.7vw, 1.9rem); margin-top: 1.45em; }
.rr-legal li + li { margin-top: .7em; }
#content .rr-night-service p { color: #d7e8ec; margin: .45em 0 0; }

#content .rr-page-hero.rr-vehicle-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    min-height: clamp(480px, 46vw, 720px);
    background: #091a2a;
    color: #fff;
}
.rr-vehicle-media { position: absolute; inset: 0 0 0 28%; z-index: -1; }
.rr-vehicle-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.rr-vehicle-media::after {
    position: absolute; inset: 0; content: "";
    background: linear-gradient(90deg, #091a2a 0%, #091a2aef 9%, #091a2a66 33%, transparent 62%),
        linear-gradient(0deg, #091a2a77, transparent 35%);
}
.rr-vehicle-copy { width: min(100%, 590px); }
#content .rr-vehicle-copy h1 { max-width: 12ch; margin: 0 0 .35em; font-size: clamp(2.9rem, 5.2vw, 5.4rem); }
.rr-vehicle-copy p { max-width: 34ch; color: #dcebf3; font-size: clamp(1rem, 1.55vw, 1.3rem); }
#content .rr-photo-group { margin-block: 38px 60px; }
.rr-photo-group .rr-gallery img { object-position: center; }
@media (max-width: 760px) {
    #content .rr-page-hero.rr-vehicle-hero { min-height: 0; }
    .rr-vehicle-media { position: relative; inset: auto; height: clamp(220px, 60vw, 420px); }
    .rr-vehicle-media img { object-position: center 53%; }
    .rr-vehicle-media::after { background: linear-gradient(0deg, #091a2a, transparent 31%); }
    .rr-vehicle-hero .rr-hero-inner { padding-block: 0 35px; margin-top: -12px; }
    #content .rr-vehicle-copy h1 { font-size: clamp(2.5rem, 9vw, 3.7rem); }
}

.rr-future-services .rr-cell > div { padding: 0 0 20px; }
.rr-future-services .rr-cell > div > div + div { padding: 16px 18px 0; }
.rr-future-services .rr-cell img { aspect-ratio: 4 / 3; border-radius: 0; max-height: none; }
.rr-work-teaser > a { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); }
.rr-work-teaser-media img { height: clamp(115px, 22vw, 315px); }
.rr-photo-group .rr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rr-photo-group .rr-gallery img { aspect-ratio: 16 / 10; }
@media (max-width: 720px) {
    .rr-work-teaser > a { grid-template-columns: minmax(0, 1fr); }
    .rr-work-teaser-media img { height: clamp(110px, 28vw, 200px); }
    .rr-photo-group .rr-gallery img { aspect-ratio: 4 / 3; }
}

:is(.blog,.archive) #primary .post-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.single-post #primary .post-thumb img { height: auto; }
