html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    overflow-x: hidden;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr.clear {clear: both; height:0; line-height: 0; font-size: 1px; opacity: 0.0; }
.hidden {display: none;}

/* ============================ */
/* Barevné proměnné - Redesign 2025 */
/* ============================ */
:root {
    /* Primární paleta - zemité tóny pro B2B/školení */
    --color-primary: #8B5A2B;           /* Cinnamon - hlavní akcent */
    --color-primary-dark: #6B4423;      /* Tmavší varianta pro hover */
    --color-primary-light: #A67B5B;     /* Světlejší varianta */
    
    /* Sekundární paleta */
    --color-secondary: #2E5B4C;         /* Smaragdová zeleň */
    --color-secondary-dark: #1E4036;    /* Tmavší varianta */
    
    /* CTA paleta - komplementární červená pro konverze */
    --color-cta: #C75B3A;               /* Terracotta - kontrastní CTA */
    --color-cta-hover: #B34A2B;         /* Tmavší terracotta pro hover */
    --color-cta-active: #9E3D1F;        /* Aktivní stav při kliknutí */
    --color-cta-glow: rgba(199, 91, 58, 0.4);  /* Záře pro hover efekt */
    
    /* Neutrální barvy */
    --color-text: #4A4A4A;              /* Hlavní text */
    --color-text-strong: #2C2C2C;       /* Zvýrazněný text */
    --color-text-muted: #6B6B6B;        /* Tlumený text */
    
    /* Pozadí */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F6F4;            /* Krémově bílá */
    --color-bg-accent: #F0EBE5;         /* Světle béžová */
    
    /* Další utility */
    --color-border: #E5E0DA;
    --color-shadow: rgba(139, 90, 43, 0.1);
    --color-link-underline: rgba(139, 90, 43, 0.3);
    
    /* Mikro-interakce timing */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.25s ease;
    --transition-bounce: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark mode s automatickou detekcí */
@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #C4956A;           /* Světlejší Cinnamon pro dark */
        --color-primary-dark: #A67B5B;
        --color-primary-light: #D4A574;
        
        --color-secondary: #5A9B8C;         /* Světlejší smaragdová */
        --color-secondary-dark: #4A8B7C;
        
        /* CTA paleta - jasná terracotta pro dark mode */
        --color-cta: #E07050;               /* Světlejší terracotta */
        --color-cta-hover: #D45A3A;         /* Hover stav */
        --color-cta-active: #C44A2A;        /* Aktivní stav */
        --color-cta-glow: rgba(224, 112, 80, 0.5);  /* Silnější záře v dark mode */
        
        --color-text: #E0E0E0;
        --color-text-strong: #F5F5F5;
        --color-text-muted: #A0A0A0;
        
        --color-bg: #121212;                /* Tmavě šedá, ne čistá černá */
        --color-bg-alt: #1E1E1E;
        --color-bg-accent: #2A2A2A;
        
        --color-border: #3A3A3A;
        --color-shadow: rgba(0, 0, 0, 0.3);
        --color-link-underline: rgba(196, 149, 106, 0.4);
    }
}

html, body, main, table  {font-size:17px; line-height: 1.7; font-family:'Georgia', sans-serif; color: var(--color-text); background: var(--color-bg);}
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
a:hover {color: var(--color-primary-dark); text-decoration: none; border-bottom: var(--color-primary) 1px solid;}
strong {font-weight: bold; color: var(--color-text-strong);}
a strong {color: var(--color-primary);}
a strong:hover {color: var(--color-primary-dark);}
/* dříve byly externí odkazy zelenou barvou */
a.a-external {}
a.a-external:hover {}
a.a-external:after {content: " ➚";}

main h1, main h2, main h3, main h4, main h5, main h6 {font-family:'Dosis', sans-serif; line-height: 1.5; text-shadow: 2px 2px 2px var(--color-bg-accent);}
main h1 {font-size:25px; font-weight: bold; color: var(--color-text-strong);}
main h2 {font-size:21px; font-weight: bold; color: var(--color-text-strong);}
main h3 {font-size:19px; font-weight: bold; color: var(--color-text);}

main h1, main h2, main h3  {padding-bottom: 10px; padding-top: 20px;}
main h1:first-of-type {padding-top: 0;}
main h1:first-of-type em {font-weight: normal; color: var(--color-text-muted);}
main h1:first-of-type em a {font-weight: normal; color: var(--color-text-muted);}
main p, main ul, main ol, main table {margin-bottom: 25px;}
main .fa-li {color: var(--color-text-strong);}

section     { margin:0 0 0 calc(10% + 60px); max-width: 670px; clear: both;}
section.max { margin:0 0 0 calc(10% + 60px); max-width: 80%;}
section.max.overflow {display:grid; grid-template-columns: 670px auto;}
section.mt30 {margin-top:30px;}

/* Sticky Header s inteligentním chováním */
header {
    position: sticky;
    top: 0;
    z-index: 998;
    background: var(--color-bg);
    margin: 0;
    padding: 15px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    box-shadow: 0 2px 10px var(--color-shadow);
    font-family: 'Dosis', sans-serif;
    text-shadow: 2px 2px 2px var(--color-bg-accent);
}

header.sticky-hidden {
    transform: translateY(-100%);
}

header.sticky-visible {
    transform: translateY(0);
    box-shadow: 0 4px 12px var(--color-shadow);
}

header section {
    grid-template-columns: 0fr 10fr;
    display: grid;
}

header section>a:hover {
    border: 0;
}

header section img {
    margin-left: -90px;
    border: var(--color-bg) 2px solid;
    margin-top: 5px;
    width: 60px;
    border-radius: 200px;
    transition: all 0.3s ease;
}

header section img:hover {
    border: var(--color-border) 2px solid;
}

header section nav {
    background: var(--color-bg);
    padding-top: 8px;
}

header section nav li {
    display: inline-block;
    margin-right: 10px;
    position: relative;
    font-weight: bold;
    font-size: 22px;
}

header section nav li a {
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

header section nav li a.active,
header section div a.active {
    color: var(--color-text-strong);
    border-bottom: var(--color-border) 2px solid;
}

header section nav h1 {
    font-size: 16px;
    margin-bottom: 3px;
    display: inline-block;
    color: var(--color-text-strong);
    font-weight: bold;
}

header section nav h1 a {
    margin-right: 10px;
    font-weight: normal;
}

header section nav h1 a:first-of-type {
    font-weight: bold;
}

header section nav h1 a.active {
    color: var(--color-text-strong);
}

header section div.top {
    display: inline-block;
    font-size: 16px;
    float: right;
    margin-top: 4px;
}

header section div.top ul {
    display: inline-block;
}

header section div.top li {
    display: inline-block;
    font-weight: normal;
    margin-right: 0;
    font-size: 16px;
    margin-left: 5px;
}

header .hamburger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    margin-right: 10px;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 1000;
}

header .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text-strong);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

header .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

header .hamburger.active span:nth-child(2) {
    opacity: 0;
}

header .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

header .mobile-brand {
    display: none;
}

header section nav .submenu {
    list-style: none;
    padding: 10px 10px;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    background-color: var(--color-bg);
    z-index: 999;
    box-shadow: 0px 4px 8px var(--color-shadow);
    min-width: 350px;
}
header section nav .submenu > li {
    display: block;
    font-size: 17px;
    text-shadow: none;
    position: relative;
}
header section nav .submenu > li a {
    background: none;
}
header section nav ul > li:hover .submenu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

main { clear: both; padding-top: 30px;}
main a {border-bottom: var(--color-link-underline) 1px solid;}
main img {max-width: 100%;}

main ul.super { font-size : 17px; }
main ul.super li { margin-left:27px; padding-left: 6px; }
main ul.super li a { }
main ul.super span { color: var(--color-text-strong); }

main section.contacting {padding: 50px 0; display:grid; grid-template-columns: 130px auto;}
main section.contacting img {width:100px; border-radius:100px; margin-top: 24px; }
main section.contacting h3 {font-size:27px; font-weight: bold; display: inline-block; }
main section.contacting ol {font-size:22px; font-weight: bold; font-family: 'Dosis', sans-serif;}

main .button {
    border: 0;
    background: var(--color-cta);
    font-family: 'Dosis', sans-serif;
    font-weight: bold;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--color-cta-glow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 
        background var(--transition-fast),
        transform var(--transition-bounce),
        box-shadow var(--transition-medium);
}

main .button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

main .button:hover {
    background: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-cta-glow);
    border: 0;
}

main .button:hover::before {
    width: 300px;
    height: 300px;
}

main .button:active {
    background: var(--color-cta-active);
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px var(--color-cta-glow);
}

/* Sekundární varianta tlačítka (původní zelená) */
main .button.button-secondary {
    background: var(--color-secondary);
    box-shadow: 0 4px 15px rgba(46, 91, 76, 0.3);
}

main .button.button-secondary:hover {
    background: var(--color-secondary-dark);
    box-shadow: 0 6px 20px rgba(46, 91, 76, 0.4);
}

main .price {margin: -15px 0 30px 50px; font-size:17px;}
main .price bdi {font-weight: bold; font-family: 'Dosis', serif; font-size:22px; color: var(--color-text-strong);}
main .price a.button { margin-left: 30px; margin-top: 10px; display: inline;  }
main .price small {display:block; margin-top: -5px; }

main p.opener {font-size:16px; cursor: pointer;}
main p.opener.li {margin-left:50px; margin-top: -20px; }

main .subnav {margin-bottom: 40px; font-size:16px;}
main .subnav ul li {display:inline-block; margin-right: 20px;}
main .subnav ul li a.active {color: var(--color-text-strong); border-bottom: var(--color-border) 2px solid;}
main .subnav ul li a i {font-size:14px; margin-right: 3px;}
main .subnav small { font-size:14px;}
main .subnav small b { font-weight: bold;}

main .deprecated-tu {font-size:14px; font-family: "Dosis", sans-serif; color:#fff; padding: 20px 25px 2px 25px; background: var(--color-primary); margin-bottom: 30px; }
main .deprecated-tu h3 { padding-top: 10px; color: #fff; text-shadow: none; }
main .deprecated-tu p { padding-bottom: 0px; }

main form { margin-bottom: 25px; font-size: 17px; font-family: 'Dosis', sans-serif; }
main form div.field {padding:0; position: relative; margin-bottom:20px;}
main form div.field > label+span {font-size:15px; display: block; color: var(--color-text); margin-top: -5px; margin-bottom: 5px;}
main form div.checkbox label {font-weight: normal;}
main form fieldset { background: var(--color-bg-alt); padding:20px; border-radius: 10px; }
main form input, main form select, main form textarea, main form label {font-size: 17px; font-family: 'Dosis', sans-serif; border-radius: 3px;}
main form label {font-weight: bold; color: var(--color-text-strong);}
main form label i {color: var(--color-primary); font-weight: normal;}
main form input[type=text],main form input[type=number],
main form input[type=date], main form input[type=password],
main form input[type=datetime-local],
main form input[type=email],
select, textarea {
    padding: 10px 10px 7px 10px;
    background: var(--color-bg);
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 3px solid var(--color-bg);
}
main form input[type=text]:focus, main form input[type=password]:focus, select:focus, textarea:focus {border:0; border-bottom:3px solid var(--color-border); -webkit-box-shadow:none; -moz-box-shadow:none; box-shadow: none; outline: none;}
main form .button {
    background: var(--color-cta);
    border: 0;
    color: #fff;
    font-weight: bold;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 6px;
    transition: 
        background var(--transition-fast),
        transform var(--transition-bounce),
        box-shadow var(--transition-medium);
    box-shadow: 0 4px 15px var(--color-cta-glow);
}

main form .button:hover {
    background: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-cta-glow);
}

main form .button:active {
    background: var(--color-cta-active);
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px var(--color-cta-glow);
}

main form .button:disabled {
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
main form .layout-33 { display: grid; column-gap: 3em; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);}

main form legend { margin-left:-20px; line-height: 1.3;  border-radius: 10px;
    font-family: 'Courier New', serif; padding:15px 20px 10px 20px; background: var(--color-bg-alt); color: var(--color-primary); font-weight: bold; font-size:16px; }
main form .paygate {width:50%; margin-top:-115px; float:right;}
main form .validation {color: #C00; font-size:16px; float: right;}
main form p.alternative {float: right; padding-bottom: 0; margin-top: 5px; color: #CCC;}

main .gallery {display: grid;gap: 10px;grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));margin-bottom: 15px;}
main .gallery a { border: 0; display: block; overflow: hidden; border-radius: 3px;}
main .gallery img {
    width: 100%;
    border-radius: 3px;
    transition: transform var(--transition-medium), filter var(--transition-medium);
}
main .gallery a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

footer { position: relative; margin-top: 30px; margin-bottom: 0px; background: var(--color-bg); border-top: var(--color-bg-accent) 10px solid; padding: 10px 0 15px 0; font-family: 'Dosis', sans-serif;}
footer p:nth-of-type(2) {display: inline-block; font-size:14px; }
footer p:nth-of-type(2) a {margin-right:10px; color: var(--color-text-muted); }
footer p img {height: 20px; margin-top: 10px; margin-right: 10px;}
footer p span {color: var(--color-border);}

.wrapper {position: relative;width: 100%;height: 0;padding-bottom: 56.25%; margin-bottom: 25px;}
.wrapper iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%; border-radius: 10px;}
.wrapper.vimeo {padding-bottom:62.5%; margin-top: 0px; }
.wrapper.vimeo iframe {background: #000; }

footer {}

/* ============================ */
/* Mikro-interakce - živé rozhraní */
/* ============================ */

/* Focus stavy pro přístupnost a vizuální zpětnou vazbu */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-cta);
    outline-offset: 2px;
}

/* Hover efekty pro interaktivní karty a boxy */

/* Animovaný profilový obrázek */
main section.contacting img {
    transition: transform var(--transition-bounce), box-shadow var(--transition-medium);
}

main section.contacting img:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 20px var(--color-shadow);
}

/* Input focus animace */
main form input[type=text],
main form input[type=number],
main form input[type=date],
main form input[type=password],
main form input[type=datetime-local],
main form input[type=email],
main form select,
main form textarea {
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

main form input:focus,
main form select:focus,
main form textarea:focus {
    border-bottom: 3px solid var(--color-cta) !important;
    box-shadow: 0 2px 8px var(--color-cta-glow);
}

/* Animace pro subnav odkazy */
main .subnav ul li a {
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

main .subnav ul li a:hover {
    color: var(--color-cta);
}

/* Hover efekt pro video wrapper */
.wrapper {
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--color-shadow);
}

/* Ripple efekt pro tlačítka (keyframes) */
@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Subtle pulse animace pro CTA tlačítka - přitahuje pozornost */
@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px var(--color-cta-glow);
    }
    50% {
        box-shadow: 0 4px 25px var(--color-cta-glow);
    }
}

main .button.pulse {
    animation: subtle-pulse 2s ease-in-out infinite;
}

/* Cursor změny pro interaktivní prvky */
main .button,
main form .button,
header .hamburger,
main .gallery a,
main p.opener {
    cursor: pointer;
}

/* Smooth scroll pro kotvy */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Transition pro ikony Font Awesome */
.fa, .fas, .far, .fab {
    transition: transform var(--transition-fast), color var(--transition-fast);
}

a:hover .fa,
a:hover .fas,
a:hover .far,
a:hover .fab {
    transform: scale(1.1);
}


/*****************/
/* Detail článku */

article.post {margin-bottom: 50px;}
article.post h2, article.post h3, article.post h4 {padding:0; margin:40px 0 0 0;}
article.post p {padding:0; margin:10px 0 10px 0; }
article.post ul, article.post ol {padding:0; margin:10px 0 0 0; }

article.post table { border-collapse: collapse; border: var(--color-border) 1px solid; min-width: 100%; width: 75vw; font-family: 'Dosis', sans-serif; font-size:87%; box-shadow: 0 0 10px var(--color-shadow); }
article.post table tr td, article.post table tr th { border: var(--color-border) 1px solid; padding:4px 6px; text-align:left; }
article.post table tr th { background: var(--color-bg-alt); font-weight: bold; }
article.post table tr:nth-of-type(even) { background-color: var(--color-bg-alt);}
article.post table tr:last-of-type {border-bottom: 2px solid var(--color-border);}

article.post pre {
    font-family: 'Inconsolata', monospace;
    font-size: 16px;
    padding: 10px;
    background: var(--color-bg-alt);
    margin-bottom: 20px;
    overflow-x: auto;
    width:80vw;
}

article.post code {
    font-family: 'Inconsolata', monospace;
    font-size: 16px;
    color: var(--color-secondary);
    /*padding: 0px 4px;*/
    font-weight: bold;
    /*background: #f5f5f5;*/
    border-radius: 3px;
}

article.post pre code {
    font-weight: inherit;
    padding: 0;
    font-size: inherit;
    color: var(--color-text-strong);
}

article.post blockquote:before {
    content: '"';
    display: block;
    font-size: 135px;
    float: left;
    line-height: 0.95;
    height: 50px;
    overflow: hidden;
    margin-right: 10px;
    font-family: 'Lora', serif;
    color: var(--color-primary);
}

article.post blockquote {
    display: block;
    margin-bottom: 1.5em;
    font-family: 'Lora', serif;
    padding-left: 20px;
    margin-top: 25px;
}

article.post blockquote strong {
    display: block;
    padding-top: 6px;
    font-weight: bold;
    color: var(--color-text);
}

article.post ol {
    list-style-type: decimal;
}

article.post ul li, article.post ol li {
    list-style-type: circle;
    margin-left: 36px;
}

article.post li p {padding: 0;}

/*****************/
/* Blazor        */

#blazor-error-ui {display: none;}


/*****************/
/* Media Queries */

@media (max-width: 800px) {
    section, section.max { margin: 10px; max-width: initial !important; }
    
    /* Sticky Header - kompaktnější na mobilu */
    header {
        background: var(--color-bg);
        margin: 0;
        padding: 30px 0;
        position: sticky;
        top: 0;
        z-index: 998;
        box-shadow: 0 2px 8px var(--color-shadow);
    }
    
    header section img { display: none; }
    header section { display: block; }
    
    /* Název webu vlevo na mobilu */
    header .mobile-brand {
        display: block;
        position: absolute;
        top: 16px;
        left: 10px;
        font-family: "Dosis", sans-serif;
        font-size: 20px;
        font-weight: bold;
        color: var(--color-text-strong);
        text-decoration: none;
        z-index: 999;
    }
    
    header .mobile-brand:hover {
        border: 0;
        color: var(--color-text-strong);
    }
    
    /* Hamburger menu - fixní pozice vpravo nahoře */
    header .hamburger {
        display: block;
        background: transparent;
        position: fixed;
        box-sizing: border-box;
        top: 12px;
        right: 10px;
        z-index: 1001;
        padding: 8px;
    }
    
    /* Navigace jako overlay */
    header section nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        padding: 60px 20px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px var(--color-shadow);
        z-index: 1000;
        overflow-y: auto;
    }
    
    header section nav.active { right: 0; }
    header section nav h1 { display: block; margin-bottom: 20px; }
    header section nav h1 a {
        display: block;
        margin-bottom: 0;
        font-size: 18px;
        padding: 8px 0;
        border-bottom: var(--color-bg-accent) 1px solid;
    }
    
    header section nav ul { display: block; }
    header section nav li {
        display: block;
        margin-right: 0;
        margin-bottom: 0;
        font-size: 18px;
    }
    
    header section nav li a { 
        padding: 12px 0;
    }
    
    header section nav li a:hover{
        border:0;
    }
    header section nav .submenu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        box-shadow: none;
        background: var(--color-bg-alt);
        margin: 0 0 10px 0;
        padding: 10px;
        min-width: 0;
    }
    
    header section nav .submenu > li {
        font-size: 16px;
        margin-bottom: 5px;
        
        a:hover {border:0 }
    }
    
    header section nav ul > li:hover .submenu {
        opacity: 1;
        transform: none;
    }

    /* Redukce velikosti pro malé displeje */
    header, main, footer { font-size: 15px; }
    main h1 { font-size: 20px; }
    main h2 { font-size: 18px; }
    main h3 { font-size: 16px; }
    main ul.super { font-size: 16px; }
    main section.contacting h3 { font-size: 20px; }
    main section.contacting ol { font-size: 20px; }
    header section nav li .new { display: none; }
    main h1, main h2, main h3 { padding-top: 15px; }
    main p, main ul, main ol, main table { margin-bottom: 15px; }
    main .button { padding: 6px 8px; }
    header section div.top { margin-top: -2px; }
    main section.contacting { grid-template-columns: 1fr; }
}

@media (max-width: 1170px) {
    section.max.overflow {display: block;}
    section.max.overflow div {float:none;}
    article.post pre {width:initial;}
}