@font-face {
    font-family: Poppins;
    src: url(fonty/Poppins-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: Poppins;
    src: url(fonty/Poppins-SemiBold.ttf);
    font-weight: 600;
}

:root {
    --ink: #113d39;
    --ink-soft: #426661;
    --teal: #0f766e;
    --teal-dark: #095c56;
    --mint: #e9fff8;
    --sky: #d7efff;
    --sun: #f9b75d;
    --paper: #ffffff;
    --line: rgba(17, 61, 57, 0.15);
    --shadow: 0 24px 65px rgba(22, 76, 71, 0.14);
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    background: var(--ink);
    scroll-behavior: smooth;
}

body {
    display: flex;
    min-height: 100vh;
    margin: 0;
    flex-direction: column;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.7), transparent 25rem),
        linear-gradient(135deg, var(--mint) 0%, var(--sky) 100%);
}

body > header {
    position: sticky;
    z-index: 10;
    top: 0;
    display: flex;
    min-height: 82px;
    padding: 14px clamp(20px, 5vw, 72px);
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: var(--ink);
    background: rgba(240, 255, 251, 0.88);
    border-bottom: 1px solid rgba(17, 61, 57, 0.1);
    backdrop-filter: blur(16px);
}

#logo {
    min-height: 44px;
    padding-left: 56px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(obrazky/logo.png) no-repeat left center / 44px 44px;
}

#logo h1, #logo small { margin: 0; }
#logo h1 { font-size: 1.12rem; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
#logo h1 span { font-weight: 600; }
#logo small { margin-top: 4px; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: clamp(12px, 2.4vw, 30px);
    list-style: none;
}

nav li { margin: 0; padding: 0; }
nav a {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--teal);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

nav a:hover::after, nav .aktivni > a::after { transform: scaleX(1); }
nav .kontakt-tlacitko {
    padding: 10px 18px;
    color: white;
    background: var(--teal);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(15, 118, 110, 0.2);
    transition: background 180ms ease, transform 180ms ease;
}

nav .kontakt-tlacitko::after { display: none; }
nav .kontakt-tlacitko:hover { background: var(--teal-dark); transform: translateY(-2px); }

article {
    width: min(1120px, calc(100% - 40px));
    margin: clamp(34px, 6vw, 76px) auto;
    padding: clamp(28px, 5vw, 60px);
    flex: 1;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

article > header { margin-bottom: 36px; }
article h1, article h2, article h3 { color: var(--ink); }
article h1 {
    width: fit-content;
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.055em;
}

article h1::after {
    display: block;
    width: 54px;
    height: 5px;
    margin-top: 18px;
    content: "";
    background: var(--sun);
    border-radius: 999px;
}

article h2 { margin: 12px 0 18px; font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.04em; }
article section p { max-width: 65ch; margin: 0 0 1.2em; color: var(--ink-soft); line-height: 1.8; }

.domu article { position: relative; overflow: hidden; }
.domu article::before {
    position: absolute;
    z-index: 0;
    width: 370px;
    height: 370px;
    top: -160px;
    right: -110px;
    content: "";
    background: rgba(255, 255, 255, 0.52);
    border-radius: 50%;
}

.domu article > * { position: relative; z-index: 1; }
.domu article > header { margin-bottom: 20px; }
.domu article section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
    column-gap: clamp(38px, 7vw, 88px);
    align-items: center;
}

.domu article section > *:not(.avatar):not(.cistic) { grid-column: 1; }
.domu .avatar {
    grid-column: 2;
    grid-row: 1 / span 8;
    width: 100%;
    max-height: 610px;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 38% 62% 50% 45%;
    box-shadow: 22px 22px 0 var(--sun);
    transform: rotate(1.5deg);
}

.domu article section > p:first-of-type {
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 0.79rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.reference-tlacitko {
    display: inline-block;
    padding: 12px 22px;
    color: white;
    background: var(--teal);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.23);
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 180ms ease, transform 180ms ease;
}

.reference-tlacitko:hover { background: var(--teal-dark); transform: translateY(-2px); }
.tlacitko-odstavec { margin-top: 28px; }
.cistic { display: none; }

#dovednosti { width: 100%; border-spacing: 16px; table-layout: fixed; }
#dovednosti td { padding: 24px; vertical-align: top; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 20px; }
#dovednosti tr:first-child td { padding-bottom: 0; text-align: center; border-bottom: 0; border-radius: 20px 20px 0 0; }
#dovednosti tr:nth-child(2) td { border-top: 0; border-radius: 0 0 20px 20px; }
#dovednosti img { width: min(110px, 100%); height: auto; }

#reference { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 32px; }
#reference a { display: block; overflow: hidden; min-height: 190px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 18px; }
#reference img { display: block; width: 100%; height: 100%; min-height: 190px; padding: 0; object-fit: cover; border: 0; box-shadow: none; transition: transform 220ms ease; }
#reference a:hover img { transform: scale(1.035); }

.vlevo { float: left; margin: 2px 20px 12px 0; }
iframe { max-width: 100%; border: 0; border-radius: 18px; }

footer {
    min-height: 105px;
    padding: 38px 20px 26px;
    color: rgba(255, 255, 255, 0.78);
    background: var(--ink);
    text-align: center;
    clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%);
    font-size: 0.82rem;
}

footer a { color: white; text-decoration-color: rgba(255, 255, 255, 0.4); }

@media (max-width: 900px) {
    body > header { align-items: flex-start; flex-direction: column; gap: 12px; }
    nav { width: 100%; overflow-x: auto; }
    nav ul { width: max-content; min-width: 100%; padding-bottom: 2px; }
    .domu article section { grid-template-columns: 1fr; gap: 34px; }
    .domu .avatar { grid-column: 1; grid-row: auto; order: -1; max-height: 560px; }
    .domu article section > *:not(.avatar):not(.cistic) { grid-column: 1; }
}

@media (max-width: 650px) {
    body > header { position: relative; padding: 16px 18px; }
    nav ul { gap: 18px; }
    nav a { font-size: 0.74rem; }
    article { width: min(100% - 24px, 1120px); margin: 20px auto 32px; padding: 26px 20px 34px; border-radius: 22px; }
    .domu .avatar { max-height: 460px; box-shadow: 12px 12px 0 var(--sun); }
    #dovednosti, #dovednosti tbody, #dovednosti tr, #dovednosti td { display: block; width: 100%; }
    #dovednosti tr:first-child { display: none; }
    #dovednosti tr:nth-child(2) td { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 18px; }
    #dovednosti tr:nth-child(2) td::before { display: block; width: 48px; height: 4px; margin-bottom: 16px; content: ""; background: var(--sun); border-radius: 999px; }
    .vlevo { float: none; display: block; margin: 0 0 16px; }
}

/* Samostatná mřížka karet bez omezení tabulkovým rozložením */
.dovednosti-stranka #dovednosti.dovednosti-grid {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dovednosti-stranka .dovednost-karta {
    display: flex;
    min-width: 0;
    min-height: 310px;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(22, 76, 71, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.dovednosti-stranka .dovednost-karta:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(22, 76, 71, 0.14);
}

.dovednosti-stranka .dovednost-karta img {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    object-fit: contain;
    object-position: center;
}

.dovednosti-stranka .dovednost-karta h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
}

.dovednosti-stranka .dovednost-karta p {
    max-width: 30ch;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.7;
}

@media (max-width: 920px) {
    .dovednosti-stranka #dovednosti.dovednosti-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .dovednosti-stranka #dovednosti.dovednosti-grid {
        grid-template-columns: 1fr;
    }

    .dovednosti-stranka .dovednost-karta {
        min-height: 0;
        padding: 26px;
    }
}

/* Dovednosti ve stylu úvodní stránky */
.dovednosti-stranka article.dovednosti-obsah {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(58px, 7vw, 96px) clamp(18px, 4vw, 52px) clamp(72px, 8vw, 110px);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.domu.dovednosti-stranka article.dovednosti-obsah > section {
    display: block;
    width: 100%;
}

.domu.kontakt-stranka article > section {
    display: block;
    width: 100%;
}

.kontakt-stranka article.kontakt-obsah,
.reference-stranka article.reference-obsah {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(58px, 7vw, 96px) clamp(18px, 4vw, 52px) clamp(72px, 8vw, 110px);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.kontakt-stranka article > header,
.reference-stranka article > header {
    max-width: 820px;
    margin-bottom: clamp(38px, 5vw, 64px);
}

.kontakt-stranka .sekce-popisek,
.reference-stranka .sekce-popisek {
    margin: 0 0 16px;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.kontakt-stranka article h1,
.reference-stranka article h1 {
    margin: 0;
    font-size: clamp(3.5rem, 6.8vw, 6.7rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.kontakt-stranka article h1::after,
.reference-stranka article h1::after {
    display: none;
}

.reference-stranka .reference-uvod {
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.75;
}

.reference-stranka #reference {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-stranka .reference-karta {
    display: flex;
    min-height: 300px;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(22, 76, 71, 0.09);
}

.reference-stranka .reference-karta img {
    width: 72px;
    height: 72px;
    min-height: 0;
    margin: 0 auto 24px;
    object-fit: contain;
}

.reference-stranka .reference-karta h2 {
    margin: 0 0 12px;
    font-size: 1.45rem;
}

.reference-stranka .reference-karta p {
    max-width: 30ch;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.7;
}

.domu.reference-stranka article.reference-obsah > section {
    display: block;
    width: 100%;
}

@media (max-width: 650px) {
    .kontakt-stranka article.kontakt-obsah,
    .reference-stranka article.reference-obsah {
        width: 100%;
        padding: 42px 24px 72px;
    }

    .kontakt-stranka article h1,
    .reference-stranka article h1 {
        font-size: clamp(3.2rem, 15vw, 5rem);
    }
}

@media (max-width: 900px) {
    .reference-stranka #reference {
        grid-template-columns: 1fr;
    }
}

/* Stránka O mně ve vizuálním stylu úvodu */
.omne-stranka article.omne-obsah {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(58px, 7vw, 96px) clamp(18px, 4vw, 52px) clamp(72px, 8vw, 110px);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.omne-stranka article.omne-obsah > header {
    max-width: 820px;
    margin-bottom: clamp(42px, 6vw, 76px);
}

.omne-stranka .sekce-popisek {
    margin: 0 0 16px;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.omne-stranka article.omne-obsah h1 {
    margin: 0;
    font-size: clamp(3.5rem, 6.8vw, 6.7rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.omne-stranka article.omne-obsah h1::after {
    display: none;
}

.omne-stranka .omne-uvod {
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    line-height: 1.65;
}

.domu.omne-stranka article.omne-obsah > section.omne-texty {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(30px, 5vw, 64px);
}

.domu.omne-stranka article.omne-obsah section.omne-texty > .omne-blok {
    grid-column: auto;
}

.omne-stranka .omne-blok {
    position: relative;
    padding-top: 22px;
    border-top: 4px solid var(--sun);
}

.omne-stranka .omne-blok h2 {
    margin: 0 0 20px;
    font-size: clamp(1.65rem, 2.6vw, 2.25rem);
    line-height: 1.1;
}

.omne-stranka .omne-blok p {
    max-width: none;
    margin: 0 0 1.2em;
    color: var(--ink-soft);
    line-height: 1.8;
}

@media (max-width: 900px) {
    .domu.omne-stranka article.omne-obsah > section.omne-texty {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 650px) {
    .omne-stranka article.omne-obsah {
        width: 100%;
        padding: 42px 24px 72px;
    }

    .omne-stranka article.omne-obsah h1 {
        font-size: clamp(3.2rem, 15vw, 5rem);
    }
}

.dovednosti-stranka article > header {
    max-width: 760px;
    margin-bottom: clamp(38px, 5vw, 64px);
}

.dovednosti-stranka .sekce-popisek {
    margin: 0 0 16px;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dovednosti-stranka article h1 {
    font-size: clamp(3.25rem, 6.8vw, 6.4rem);
    line-height: 0.95;
}

.dovednosti-stranka article h1::after {
    display: none;
}

.dovednosti-stranka .dovednosti-uvod {
    max-width: 62ch;
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.75;
}

.dovednosti-stranka #dovednosti tbody,
.dovednosti-stranka #dovednosti tr {
    display: block;
    width: 100%;
}

.dovednosti-stranka #dovednosti {
    border: 0;
    border-spacing: 0;
}

.dovednosti-stranka #dovednosti caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dovednosti-stranka #dovednosti tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dovednosti-stranka #dovednosti td,
.dovednosti-stranka #dovednosti tr:first-child td,
.dovednosti-stranka #dovednosti tr:nth-child(2) td {
    display: flex;
    min-width: 0;
    min-height: 310px;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(22, 76, 71, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.dovednosti-stranka #dovednosti td:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(22, 76, 71, 0.14);
}

.dovednosti-stranka #dovednosti img {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    object-fit: contain;
}

.dovednosti-stranka #dovednosti h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
}

.dovednosti-stranka #dovednosti p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.7;
}

@media (max-width: 920px) {
    .dovednosti-stranka #dovednosti tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .dovednosti-stranka article.dovednosti-obsah {
        width: 100%;
        padding: 42px 24px 72px;
    }

    .dovednosti-stranka article h1 {
        font-size: clamp(3rem, 14vw, 4.8rem);
    }

    .dovednosti-stranka #dovednosti tr {
        grid-template-columns: 1fr;
    }

    .dovednosti-stranka #dovednosti td,
    .dovednosti-stranka #dovednosti tr:first-child td,
    .dovednosti-stranka #dovednosti tr:nth-child(2) td {
        min-height: 0;
        margin: 0;
        padding: 26px;
    }

    .dovednosti-stranka #dovednosti tr:nth-child(2) td::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Úvodní stránka ve směru Fresh studio */
.domu {
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.78), transparent 24rem),
        linear-gradient(135deg, #e9fff8 0%, #d7efff 100%);
}

.domu > header {
    min-height: 78px;
    padding: 12px clamp(24px, 6vw, 88px);
    background: rgba(255, 255, 255, 0.48);
    border-bottom: 0;
    box-shadow: none;
}

.domu #logo {
    min-height: auto;
    padding-left: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: none;
}

.domu .logo-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    flex: 0 0 38px;
    color: white;
    background: var(--teal);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.domu .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.domu .logo-text strong {
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.domu .logo-text small {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 0.61rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.domu nav a {
    font-size: 0.78rem;
    letter-spacing: 0.025em;
    text-transform: none;
}

.domu nav .kontakt-tlacitko {
    padding: 9px 17px;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--teal);
    box-shadow: none;
}

.domu nav .kontakt-tlacitko:hover {
    color: white;
    background: var(--teal);
}

.domu article.uvod {
    position: relative;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(56px, 8vw, 108px) clamp(18px, 4vw, 52px) clamp(70px, 9vw, 120px);
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.domu article.uvod::before {
    width: clamp(280px, 34vw, 470px);
    height: clamp(280px, 34vw, 470px);
    top: -80px;
    right: -90px;
    background: rgba(255, 255, 255, 0.55);
}

.domu .uvod-obsah {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: clamp(54px, 8vw, 110px);
    align-items: center;
}

.domu article.uvod section.uvod-obsah > .uvod-text {
    grid-column: 1;
}

.domu .uvod-popisek {
    margin: 0 0 18px;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.domu article.uvod h1 {
    max-width: 9ch;
    margin: 0;
    color: var(--ink);
    font-size: clamp(3.5rem, 6.8vw, 6.7rem);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.domu article.uvod h1::after {
    display: none;
}

.domu .uvod-perex {
    max-width: 48ch;
    margin: 30px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.75;
}

.domu .tlacitko-odstavec {
    margin: 30px 0 0;
}

.domu .reference-tlacitko {
    padding: 13px 23px;
    font-size: 0.78rem;
}

.domu article.uvod section.uvod-obsah > .foto-obal {
    position: relative;
    grid-column: 2;
    min-height: clamp(440px, 48vw, 650px);
}

.domu .avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 38% 62% 50% 45%;
    box-shadow: 24px 24px 0 var(--sun);
    transform: rotate(1.5deg);
}

@media (max-width: 900px) {
    .domu .uvod-obsah {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .domu article.uvod section.uvod-obsah > .uvod-text,
    .domu article.uvod section.uvod-obsah > .foto-obal {
        grid-column: 1;
    }

    .domu .foto-obal {
        grid-row: 1;
        width: min(560px, calc(100% - 24px));
        min-height: min(110vw, 620px);
        margin: 0 auto;
    }

    .domu article.uvod h1 {
        max-width: 10ch;
    }
}

@media (max-width: 650px) {
    .domu > header {
        padding: 16px 18px;
    }

    .domu article.uvod {
        width: 100%;
        margin: 0;
        padding: 36px 24px 72px;
    }

    .domu article.uvod h1 {
        font-size: clamp(3.1rem, 15vw, 5rem);
    }

    .domu .foto-obal {
        min-height: 118vw;
    }

    .domu .avatar {
        box-shadow: 14px 14px 0 var(--sun);
    }
}
