/*
 Theme Name:   V CREATE
 Theme URI:    https://vcreate.cz
 Description:  Vlastní šablona V CREATE Solutions (nahrazuje Divi + divi-child). Při aktivaci automaticky vytvoří/aktualizuje všechny stránky, nastaví úvodní stránku a vyčistí obsah po Divi.
 Author:       V CREATE
 Author URI:   https://vcreate.cz
 Version:      1.3.0
 Requires at least: 6.4
 Requires PHP: 8.0
 Text Domain:  vcreate
*/

/* ==========================================================================
   Základní reset
   Sekce (sections/*.php) byly navrženy a odladěny nad Divi, proto zde držíme
   stejný výchozí kontext (reset, typografie, seznamy), aby frontend
   vypadal 1:1 jako dosud.
   ========================================================================== */

a, abbr, acronym, address, applet, b, big, blockquote, body, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, tt, u, ul, var {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    background: transparent;
}

*, *::before, *::after { box-sizing: border-box; }

ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote::before, blockquote::after, q::before, q::after { content: ""; content: none; }
blockquote { margin: 20px 0 30px; border-left: 5px solid; padding-left: 20px; }
:focus { outline: 0; }
del { text-decoration: line-through; }
pre { overflow: auto; padding: 10px; }
figure { margin: 0; }
table { border-collapse: collapse; border-spacing: 0; }
article, aside, footer, header, hgroup, nav, section, main { display: block; }

html { scroll-behavior: auto; }

body {
    font-family: Poppins, Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    color: #666;
    background-color: #13161b;
    line-height: 1.7em;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: #2ea3f2; }
a, a:hover { text-decoration: none; }
p { padding-bottom: 1em; }
p:not(.has-background):last-of-type { padding-bottom: 0; }
strong { font-weight: 700; }
cite, em, i { font-style: italic; }
code, pre { font-family: 'Courier New', monospace; margin-bottom: 10px; }
ins { text-decoration: none; }
sub, sup { height: 0; line-height: 1; position: relative; vertical-align: baseline; }
sup { bottom: .8em; }
sub { top: .3em; }
dl { margin: 0 0 1.5em; }
dl dt { font-weight: 700; }
dd { margin-left: 1.5em; }
blockquote p { padding-bottom: 0; }
embed, iframe, object, video { max-width: 100%; }

h1, h2, h3, h4, h5, h6 { color: #333; padding-bottom: 10px; line-height: 1em; font-weight: 500; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

input { -webkit-appearance: none; }
input[type=checkbox] { -webkit-appearance: checkbox; }
input[type=radio] { -webkit-appearance: radio; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; height: auto; }

/* Seznamy v obsahových oblastech (stejné chování jako .entry-content / .et-l--* v Divi) */
.vc-region ul { list-style-type: disc; padding: 0 0 23px 1em; line-height: 26px; }
.vc-region ol { list-style-type: decimal; list-style-position: inside; padding: 0 0 23px; line-height: 26px; }
.vc-region ul li ul, .vc-region ul li ol { padding: 2px 0 2px 20px; }
.vc-region ol li ul, .vc-region ol li ol { padding: 2px 0 2px 35px; }


.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
img.alignleft { display: inline; float: left; margin-right: 15px; }
img.alignright { display: inline; float: right; margin-left: 15px; }

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; width: 1px; word-wrap: normal !important;
}

::selection { color: #fff; background: #ec253a; }

#wpadminbar { z-index: 100001; }

/* Kotva na formulář (/kontakt/#poptavka) nesmí skončit pod fixní hlavičkou */
#poptavka { scroll-margin-top: 110px; }

.vc-site { position: relative; }

/* ==========================================================================
   Omezení pohybu (systémové nastavení „Omezit pohyb“ / prefers-reduced-motion)
   Animace a přechody doběhnou okamžitě (obsah se zobrazí bez posunů), nekonečné
   animace se zastaví a místo vlastního kurzoru se vrátí systémový.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }

    .cursor, .cursor-dot,
    .va-cursor, .va-cursor-dot, .vb-cursor, .vb-cursor-dot, .vbd-cursor, .vbd-cursor-dot,
    .vc4-cursor, .vc4-cursor-dot, .vcp-cursor, .vcp-cursor-dot, .vcs-cursor, .vcs-cursor-dot,
    .ve-cursor, .ve-cursor-dot, .vf-cursor, .vf-cursor-dot, .vh-cursor, .vh-cursor-dot,
    .vi-cursor, .vi-cursor-dot, .vm-cursor, .vm-cursor-dot, .vp-cursor, .vp-cursor-dot,
    .vs-cursor, .vs-cursor-dot, .vw-cursor, .vw-cursor-dot {
        display: none !important;
    }

    .vcreate-404, .vcreate-about, .vcreate-blog, .vcreate-blog-detail, .vcs, .vcreate-footer,
    .vcreate-hp, .vcreate-cp, .vp-wrap, .vcreate-branding, .vcreate-eshop, .vcreate-hosting,
    .vcreate-intranet, .vcreate-marketing, .vcreate-web, .vcreate-sluzby {
        cursor: auto !important;
    }

    .vcreate-about :is(a, button), .vcreate-cp :is(a, button), .vcreate-branding :is(a, button),
    .vcreate-eshop :is(a, button), .vcreate-hosting :is(a, button), .vcreate-marketing :is(a, button) {
        cursor: pointer !important;
    }
}
