/*
Theme Name: Spolek Vlárské Dráhy
Theme URI: https://spolekvlarskedrahy.cz
Author: Dominik Večeřa, David Rejdl
Author URI: spolekvlarskedrahy.cz
Description: Spolek Vlárské Dráhy, a jejich krásný web
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: Kdo to tady ukradne, tomu péro upadne!
License URI: http://spolekvlarskedrahy.cz
Text Domain: spolekvlarskedrahy
*/

@import "css/posts.css";

:root {
    --navbar-height: 80px;
}

body {
    padding-top: var(--navbar-height);
}

html {
    scroll-padding-top: var(--navbar-height);
}

@media (max-width: 991.98px) {

    :root {
        --navbar-height: 70px;
    }

}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}
.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0, 0, 0, 0.15);
    border-width: 1px 0;
    box-shadow:
            inset 0 0.5em 1.5em #0000001a,
            inset 0 0.125em 0.5em #00000026;
}
.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}
.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}
.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}
.bd-mode-toggle {
    z-index: 1500;
}
.bd-mode-toggle .bi {
    width: 1em;
    height: 1em;
}
.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

.sticky-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #a8c5d6;
}

.layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    will-change: transform;
    transition: transform 0.05s linear;
}

/* Sky layer — slowest, occupies top portion */
#layer-sky {
    top: 0;
    height: 55%;
    background-position: center top;
    background-size: cover;
    background-image: url("img/layer_sky.png");
    z-index: 1;
}

/* Midground — medium speed */
#layer-mid {
    top: 15%;
    height: 65%;
    background-position: center top;
    background-size: cover;
    background-image: url("img/layer_mid.png");
    z-index: 2;
}

/* Foreground — fastest, bottom */
#layer-fg {
    bottom: 0;
    height: 58%;
    background-position: center bottom;
    background-size: cover;
    background-image: url("img/layer_fg.png");
    z-index: 3;
}

/* Vignette overlay */
.vignette {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(20,30,20,0.55) 100%);
    pointer-events: none;
}

/* Title card */
.title-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.4);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
}

.title-card h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: normal;
    letter-spacing: 0.12em;
    color: #f5ede0;
    text-shadow: 0 2px 30px rgba(0,0,0,0.8);
    margin-bottom: 0.3em;
}

.title-card p {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: bold;
    color: #f5ede0;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeUpDown 2s ease-in-out infinite;
    pointer-events: none;
    font-weight: bold;
}

.scroll-hint svg {
    width: 20px;
    height: 20px;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes fadeUpDown {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.layer-badge {
    position: absolute;
    z-index: 25;
    background: rgba(0,0,0,0.55);
    color: #f0e8d0;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

@media (max-width: 1200px) {
    #o-nas {
        margin-top: 2rem;
    }
}

.navbar {
    background-color: #FAF8E5;
    padding-bottom: 18px;
}
/*
ul.nav a:hover {
    background-color: #FAEEDD;
}

.navbar-nav li.active > a {
    background-color: #FAEEDD;
}
*/
hr.solid {
    border-top: 3px solid #474747;
}

.patka {
    background-color: #7B714F;
    color: #e1e1e1;
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-top: 10px;
}

.patka a {
    color: #e1e1e1;
}

.ornament {
    background-image: url("img/ornament.jpg");
    background-repeat: repeat-x;
    background-repeat-x: repeat;
    background-size: contain;
    height: 18px;
    width: stretch;
    margin-top: auto;
    position:absolute;
    bottom:0;
    min-width: -webkit-fill-available; /* vole safari */
}

.parallax-container:hover .layer-badge { opacity: 1; }
#badge-sky  { top: 8%;  left: 2rem; }
#badge-mid  { top: 42%; left: 2rem; }
#badge-fg   { bottom: 8%; left: 2rem; }

/* =====================================================
   SPOLĚK VLÁRSKÉ DRÁHY
   BOOTSTRAP CARD + VINTAGE ORNAMENT
   ===================================================== */


/* -----------------------------------------------------
   POZADÍ SEKCE
   ----------------------------------------------------- */

.vld-cta-section {
    background: #f3efe5;
}


/* -----------------------------------------------------
   BOOTSTRAP .CARD
   ----------------------------------------------------- */

.vld-ornament-card {
    position: relative;

    max-width: 1200px;
    margin: 0 auto;

    min-height: 550px;

    background-color: #faf7ef;

    /*
       Ornament nahoře a dole
    */
    background-image:
            url("img/ornament.jpg"),
            url("img/ornament.jpg");

    background-repeat:
            no-repeat,
            no-repeat;

    background-position:
            center top,
            center bottom;

    background-size:
            100% auto,
            100% auto;

    /*
       Historický stín
    */
    box-shadow:
            0 12px 35px rgba(0, 0, 0, 0.15);

    /*
       Bootstrap card má border-radius.
       Pro historický vzhled ho zde trochu zjemníme.
    */
    border-radius: 4px !important;

    overflow: hidden;
}


/* -----------------------------------------------------
   VNITŘNÍ MODRÝ RÁM
   ----------------------------------------------------- */

.vld-ornament-card::before {
    content: "";

    position: absolute;

    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;

    border-top: 3px solid #12395a;
    border-bottom: 3px solid #12395a;

    pointer-events: none;

    z-index: 1;
}


/* -----------------------------------------------------
   CARD BODY
   ----------------------------------------------------- */

.vld-cta-body {
    position: relative;

    z-index: 2;

    /*
       Prostor pro ornament
    */
    padding: 155px 60px 150px;

    /*
       Jemně průsvitné krémové pozadí
    */
    background:
            linear-gradient(
                    rgba(255, 252, 244, 0.94),
                    rgba(255, 252, 244, 0.94)
            );
}


/* -----------------------------------------------------
   VNITŘNÍ DEKORATIVNÍ RÁMEČEK
   ----------------------------------------------------- */

.vld-cta-body::before {
    content: "";

    position: absolute;

    top: 120px;
    bottom: 115px;
    left: 55px;
    right: 55px;

    border: 2px solid #b58a55;

    pointer-events: none;

    z-index: -1;
}


/* -----------------------------------------------------
   SYMBOL
   ----------------------------------------------------- */

.vld-cta-symbol {
    font-size: 50px;
    line-height: 1;

    filter: grayscale(100%);
}


/* -----------------------------------------------------
   HLAVNÍ NADPIS
   ----------------------------------------------------- */

.vld-cta-title {
    margin: 0;

    color: #12395a;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: clamp(40px, 5vw, 64px);

    font-weight: 700;

    line-height: 1.1;

    letter-spacing: 1px;
}


/* -----------------------------------------------------
   PODNADPIS
   ----------------------------------------------------- */

.vld-cta-subtitle {
    color: #a92323;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: clamp(23px, 3vw, 34px);

    font-weight: 700;
}


/* -----------------------------------------------------
   ODDĚLOVAČ
   ----------------------------------------------------- */

.vld-divider {
    display: flex;

    align-items: center;

    width: 80%;
    max-width: 520px;

    gap: 14px;
}

.vld-divider span {
    flex: 1;

    height: 2px;

    background: #12395a;
}

.vld-divider strong {
    color: #12395a;

    font-size: 13px;
}


/* -----------------------------------------------------
   TEXT
   ----------------------------------------------------- */

.vld-cta-text {
    max-width: 720px;

    color: #1d2d3c;

    font-size: 19px;

    line-height: 1.7;
}


/* -----------------------------------------------------
   BOOTSTRAP BUTTON
   ----------------------------------------------------- */

.vld-contact-button {
    position: relative;

    min-width: 320px;

    padding: 16px 30px;

    background-color: #12395a !important;

    border: 3px solid #12395a !important;

    /*
       Zlatý vnitřní rámeček
    */
    box-shadow:
            inset 0 0 0 2px #b58a55,
            0 5px 12px rgba(0, 0, 0, 0.12);

    color: #ffffff !important;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 1px;

    border-radius: 3px;

    transition:
            all 0.25s ease;
}


/* Hover */

.vld-contact-button:hover {
    background-color: #a92323 !important;

    border-color: #a92323 !important;

    transform: translateY(-3px);

    box-shadow:
            inset 0 0 0 2px #d4a85a,
            0 8px 20px rgba(0, 0, 0, 0.18);
}


/* Dekorace */

.vld-button-decoration {
    color: #d4a85a;
}


/* -----------------------------------------------------
   PODPIS
   ----------------------------------------------------- */

.vld-signature {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    color: #12395a;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;
}

.vld-signature::before,
.vld-signature::after {
    content: "";

    display: block;

    width: 90px;

    height: 1px;

    background: #12395a;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 768px) {

    .vld-cta-body {
        padding: 120px 30px 120px;
    }

    .vld-cta-body::before {
        left: 30px;
        right: 30px;

        top: 100px;
        bottom: 90px;
    }

    .vld-cta-text {
        font-size: 17px;
    }

    .vld-contact-button {
        width: 100%;

        min-width: 0;

        font-size: 16px;
    }

    .vld-signature {
        letter-spacing: 2px;
    }

}


/* =====================================================
   MOBIL
   ===================================================== */

@media (max-width: 480px) {

    .vld-ornament-card {
        background-size:
                auto 90px,
                auto 90px;

        background-position:
                center top,
                center bottom;
    }

    .vld-cta-body {
        padding: 100px 18px 100px;
    }

    .vld-cta-body::before {
        left: 15px;
        right: 15px;

        top: 80px;
        bottom: 75px;
    }

    .vld-cta-symbol {
        font-size: 40px;
    }

    .vld-cta-text {
        font-size: 16px;

        line-height: 1.6;
    }

    .vld-contact-button {
        padding: 14px 12px;

        font-size: 14px;

        letter-spacing: 0.5px;
    }

    .vld-signature {
        gap: 8px;

        font-size: 9px;

        letter-spacing: 1.5px;
    }

    .vld-signature::before,
    .vld-signature::after {
        width: 25px;
    }

}

/* =========================================================
       ČSD HISTORICKÝ KONTAKTNÍ FORMULÁŘ
       Bootstrap 5
       ========================================================= */


/* ---------------------------------------------------------
   ZÁKLAD
   --------------------------------------------------------- */

.csd-document {

    color: #0d1f2b;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    background: #f1ead6;

    padding: 9px;

    border: 1px solid #0d1f2b;

    box-shadow:
            0 8px 30px rgba(0,0,0,.14);

}


/* vnitřní rámeček */

.csd-inner {

    position: relative;

    border:
            2px solid #0d1f2b;

    padding:
            10px;

    overflow: hidden;

}


/* druhá linka */

.csd-inner::before {

    content: "";

    position: absolute;

    inset: 7px;

    border:
            1px solid #0d1f2b;

    pointer-events: none;

}


/* ---------------------------------------------------------
   ROHOVÉ ORNAMENTY
   --------------------------------------------------------- */

.csd-corner {

    position: absolute;

    z-index: 10;

    font-size: 42px;

    line-height: 1;

    font-weight: bold;

}


.csd-corner-tl {
    top: 12px;
    left: 14px;
}


.csd-corner-tr {
    top: 12px;
    right: 14px;
    transform: scaleX(-1);
}


.csd-corner-bl {
    bottom: 12px;
    left: 14px;
    transform: scaleY(-1);
}


.csd-corner-br {
    bottom: 12px;
    right: 14px;
    transform: scale(-1);
}


/* ---------------------------------------------------------
   HLAVIČKA
   --------------------------------------------------------- */

.csd-header {

    position: relative;

    padding:
            55px 40px 25px;

}


.csd-authority {

    font-size:
            clamp(.8rem, 2vw, 1.25rem);

    font-weight: bold;

    letter-spacing:
            clamp(.08em, 1vw, .18em);

}


.csd-subtitle {

    margin-top: 8px;

    font-size: .8rem;

    letter-spacing: .25em;

}


.csd-small-rule {

    width: 150px;

    height: 6px;

    margin:
            16px 0;

    border-top:
            2px solid #0d1f2b;

    border-bottom:
            1px solid #0d1f2b;

}


.csd-title {

    margin: 0;

    font-size:
            clamp(1.5rem, 4vw, 2.5rem);

    font-weight: bold;

    letter-spacing: .08em;

    text-transform: uppercase;

}


.csd-date {

    margin-top: 25px;

    text-align: right;

    font-size: .9rem;

    font-style: italic;

}


/* ---------------------------------------------------------
   OKŘÍDLENÉ KOLO
   --------------------------------------------------------- */

.winged-wheel {

    position: relative;

    width: 260px;

    height: 120px;

    margin: auto;

}


.wheel {

    position: absolute;

    left: 50%;

    top: 5px;

    width: 90px;

    height: 90px;

    transform: translateX(-50%);

    border:
            7px solid #0d1f2b;

    border-radius: 50%;

    background:
            #f1ead6;

}


/* náboj */

.wheel-hub {

    position: absolute;

    width: 18px;

    height: 18px;

    left: 50%;

    top: 50%;

    transform: translate(-50%,-50%);

    border:
            4px solid #0d1f2b;

    border-radius: 50%;

}


/* paprsky */

.spoke {

    position: absolute;

    width: 4px;

    height: 32px;

    left: 50%;

    top: 50%;

    transform-origin:
            center bottom;

    background:
            #0d1f2b;

}


.s1 { transform: translate(-50%,-100%) rotate(0deg); }
.s2 { transform: translate(-50%,-100%) rotate(45deg); }
.s3 { transform: translate(-50%,-100%) rotate(90deg); }
.s4 { transform: translate(-50%,-100%) rotate(135deg); }
.s5 { transform: translate(-50%,-100%) rotate(180deg); }
.s6 { transform: translate(-50%,-100%) rotate(225deg); }
.s7 { transform: translate(-50%,-100%) rotate(270deg); }
.s8 { transform: translate(-50%,-100%) rotate(315deg); }


/* křídla */

.wing {

    position: absolute;

    top: 20px;

    width: 95px;

    height: 60px;

}


.left-wing {
    left: -2px;
}

.right-wing {
    right: -2px;
    transform: scaleX(-1);
}


.wing span {

    display: block;

    height: 6px;

    margin: 6px 0;

    border-top:
            3px solid #0d1f2b;

    border-radius:
            50%;

}


.wing span:nth-child(1) {
    width: 95px;
}

.wing span:nth-child(2) {
    width: 80px;
    margin-left: 8px;
}

.wing span:nth-child(3) {
    width: 65px;
    margin-left: 18px;
}

.wing span:nth-child(4) {
    width: 50px;
    margin-left: 28px;
}

.wing span:nth-child(5) {
    width: 35px;
    margin-left: 38px;
}


/* ---------------------------------------------------------
   META
   --------------------------------------------------------- */

.csd-meta {

    margin:
            0 30px 30px;

    padding:
            15px 5px;

    border-top:
            2px solid #0d1f2b;

    border-bottom:
            1px solid #0d1f2b;

    font-size: .9rem;

}


.csd-meta span {

    display: block;

    margin-bottom: 3px;

    font-size: .7rem;

    text-transform: uppercase;

    letter-spacing: .1em;

}


/* ---------------------------------------------------------
   TEXT
   --------------------------------------------------------- */

.csd-content {

    padding:
            5px 35px 25px;

    font-size:
            clamp(.95rem, 1.5vw, 1.08rem);

    line-height: 1.85;

}


.csd-greeting {

    font-weight: bold;

}


/* ---------------------------------------------------------
   PEČEŤ
   --------------------------------------------------------- */

.csd-seal-wrapper {

    display: flex;

    justify-content: center;

    align-items: center;

    height: 100%;

}


.csd-seal {

    width: 190px;

    height: 190px;

    color: #174a72;

    transform:
            rotate(-7deg);

    opacity: .88;

}


.seal-ring {

    position: relative;

    width: 100%;

    height: 100%;

    border:
            3px solid #174a72;

    border-radius: 50%;

    outline:
            1px solid #174a72;

    outline-offset:
            -10px;

}


.seal-top {

    position: absolute;

    top: 23px;

    left: 0;

    width: 100%;

    text-align: center;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: .1em;

}


.seal-bottom {

    position: absolute;

    bottom: 23px;

    left: 0;

    width: 100%;

    text-align: center;

    font-size: 8px;

    font-weight: bold;

    letter-spacing: .08em;

}


.seal-symbol {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
            translate(-50%,-50%);

}


.seal-wheel {

    width: 70px;

    height: 70px;

    border:
            5px solid #174a72;

    border-radius: 50%;

}


.seal-wheel div {

    width: 15px;

    height: 15px;

    position: absolute;

    left: 50%;

    top: 50%;

    transform:
            translate(-50%,-50%);

    border:
            3px solid #174a72;

    border-radius: 50%;

}


.seal-star {

    position: absolute;

    top: 50%;

    transform:
            translateY(-50%);

    font-size: 16px;

}


.seal-star.left {
    left: 25px;
}

.seal-star.right {
    right: 25px;
}


/* ---------------------------------------------------------
   NADPIS FORMULÁŘE
   --------------------------------------------------------- */

.csd-section-heading {

    display: flex;

    align-items: center;

    gap: 15px;

    margin:
            15px 35px 30px;

    font-size: .9rem;

    letter-spacing: .15em;

}


.csd-section-heading span {

    flex: 1;

    height: 1px;

    background:
            #0d1f2b;

}


/* ---------------------------------------------------------
   FORMULÁŘ
   --------------------------------------------------------- */

.csd-form {

    margin:
            0 35px;

    padding:
            30px;

    border:
            1px solid #0d1f2b;

    background:
            rgba(255,255,255,.15);

}


.csd-form label {

    display: block;

    margin-bottom: 7px;

    font-size: .82rem;

    font-weight: bold;

    letter-spacing: .04em;

}


.csd-form .form-control {

    border:
            1px solid #0d1f2b;

    border-radius: 0;

    background:
            rgba(255,255,255,.35);

    color:
            #0d1f2b;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

}


.csd-form .form-control:focus {

    border-color:
            #0d1f2b;

    background:
            #fffdf5;

    box-shadow:
            0 0 0 2px
            rgba(13,31,43,.12);

}


.csd-form textarea {

    resize:
            vertical;

    min-height:
            150px;

}


/* ---------------------------------------------------------
   SOUHLAS
   --------------------------------------------------------- */

.csd-consent {

    display: flex;

    gap: 10px;

    align-items: flex-start;

    font-size: .78rem;

}


.csd-consent input {

    margin-top: 4px;

    accent-color:
            #0d1f2b;

}


/* ---------------------------------------------------------
   TLAČÍTKO
   --------------------------------------------------------- */

.csd-submit {

    position: relative;

    padding:
            12px 40px;

    color:
            #f1ead6;

    background:
            #0d1f2b;

    border:
            2px solid #0d1f2b;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: .8rem;

    font-weight: bold;

    letter-spacing: .14em;

    transition:
            all .2s ease;

}


.csd-submit::before,
.csd-submit::after {

    content: "◆";

    margin:
            0 12px;

    font-size: 7px;

}


.csd-submit:hover {

    color:
            #0d1f2b;

    background:
            transparent;

}


/* ---------------------------------------------------------
   PODPIS
   --------------------------------------------------------- */

.csd-signature {

    margin-bottom:
            -10px;

    font-family:
            "Brush Script MT",
            cursive;

    font-size: 2rem;

    font-style: italic;

}


.csd-signature-line {

    border-bottom:
            1px dotted #0d1f2b;

}


.csd-signature-caption {

    margin-top: 6px;

    font-size: .7rem;

    font-style: italic;

}


/* ---------------------------------------------------------
   PATKA
   --------------------------------------------------------- */

.csd-footer {

    margin-top:
            35px;

    padding:
            0 25px 30px;

    text-align: center;

}


.csd-footer-line {

    max-width: 650px;

    height: 7px;

    margin:
            auto;

    border-top:
            2px solid #0d1f2b;

    border-bottom:
            1px solid #0d1f2b;

}


.csd-footer-symbol {

    margin-top: 10px;

    font-size: 18px;

}


.csd-motto {

    margin-top: 7px;

    font-size: .72rem;

    font-weight: bold;

    letter-spacing: .22em;

}


.csd-motto b {

    margin:
            0 8px;

    font-size: 6px;

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767.98px) {

    .csd-document {
        padding: 6px;
    }

    .csd-inner {
        padding: 5px;
    }

    .csd-header {
        padding:
                45px 20px 20px;
    }

    .winged-wheel {
        transform:
                scale(.78);

        margin:
                -10px auto -5px;
    }

    .csd-authority {
        letter-spacing: .08em;
    }

    .csd-subtitle {
        letter-spacing: .14em;
    }

    .csd-title {
        font-size: 1.45rem;
        letter-spacing: .04em;
    }

    .csd-date {
        font-size: .8rem;
    }

    .csd-meta {
        margin:
                0 20px 25px;
    }

    .csd-content {
        padding:
                5px 20px 20px;

        text-align: left;
    }

    .csd-seal {
        width: 155px;
        height: 155px;
        margin:
                10px auto 30px;
    }

    .csd-section-heading {
        margin:
                15px 20px 25px;

        font-size: .72rem;
    }

    .csd-form {
        margin:
                0 20px;

        padding:
                22px 18px;
    }

    .csd-corner {
        font-size: 28px;
    }

    .csd-corner-tl,
    .csd-corner-tr {
        top: 8px;
    }

    .csd-corner-bl,
    .csd-corner-br {
        bottom: 8px;
    }

    .csd-corner-tl,
    .csd-corner-bl {
        left: 8px;
    }

    .csd-corner-tr,
    .csd-corner-br {
        right: 8px;
    }

    .csd-motto {
        font-size: .55rem;
        letter-spacing: .1em;
    }

}


/* velmi malé telefony */

@media (max-width: 400px) {

    .csd-title {
        font-size: 1.25rem;
    }

    .csd-authority {
        font-size: .7rem;
    }

    .csd-submit {
        width: 100%;
        padding:
                11px 10px;
    }

}

/* ==========================================
   VLÁRSKÉ DRÁHY – SCROLL FADE-IN
   ========================================== */

.vld-fade-in {
    opacity: 0;
    transform: translateY(30px);

    transition:
            opacity 0.8s ease,
            transform 0.8s ease;

    will-change: opacity, transform;
}

.vld-fade-in.show {
    opacity: 1;
    transform: translateY(0);
}


/* Jemné zpoždění jednotlivých prvků */

.vld-delay-1 {
    transition-delay: 0.1s;
}

.vld-delay-2 {
    transition-delay: 0.2s;
}

.vld-delay-3 {
    transition-delay: 0.3s;
}

.vld-delay-4 {
    transition-delay: 0.4s;
}

.vld-delay-5 {
    transition-delay: 0.5s;
}


/* ==========================================
   MOBIL / REDUKOVANÝ POHYB
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .vld-fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* =====================================================
   SPOLEK VLÁRSKÉ DRÁHY
   ČSD VINTAGE POSTCARD CONTACT FORM
   ===================================================== */


/* -----------------------------------------------------
   SEKCE
   ----------------------------------------------------- */

.vld-postcard-section {
    background:
            #eee8da;
}


/* -----------------------------------------------------
   HLAVNÍ POHLEDNICE
   ----------------------------------------------------- */

.vld-postcard {

    position: relative;

    background-color: #f8f3e7;

    border-radius: 3px !important;

    overflow: hidden;

    /*
       Červený vnější okraj
    */

    border-top: 7px solid #a92323 !important;
    border-bottom: 7px solid #a92323 !important;

    /*
       Historický stín
    */

    box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.18) !important;

}


/* Modrá vnitřní linka */

.vld-postcard::before {

    content: "";

    position: absolute;

    top: 12px;
    bottom: 12px;
    left: 12px;
    right: 12px;

    border-top: 2px solid #12395a;
    border-bottom: 2px solid #12395a;

    pointer-events: none;

}


/* -----------------------------------------------------
   LEVÁ STRANA
   ----------------------------------------------------- */

.vld-postcard-left {

    position: relative;

    padding: 35px;

    border-right: 1px solid #b58a55;

    background:
            linear-gradient(
                    rgba(248,243,231,0.96),
                    rgba(248,243,231,0.96)
            );

}


/* -----------------------------------------------------
   HLAVIČKA
   ----------------------------------------------------- */

.vld-postcard-heading {

    display: flex;

    align-items: center;

    gap: 18px;

}


/* -----------------------------------------------------
   SYMBOL
   ----------------------------------------------------- */

.vld-winged-wheel {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    border: 3px solid #12395a;

    border-radius: 50%;

    color: #a92323;

    font-size: 35px;

    flex-shrink: 0;

}


/* -----------------------------------------------------
   MALÝ NADPIS
   ----------------------------------------------------- */

.vld-small-title {

    color: #12395a;

    font-family:
            Arial,
            Helvetica,
            sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* -----------------------------------------------------
   HLAVNÍ NADPIS
   ----------------------------------------------------- */

.vld-postcard-title {

    margin: 3px 0 0;

    color: #a92323;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: 38px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* -----------------------------------------------------
   ODDĚLOVAČ
   ----------------------------------------------------- */

.vld-postcard-line {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 30px 0;

}

.vld-postcard-line span {

    flex: 1;

    height: 2px;

    background: #12395a;

}

.vld-postcard-line b {

    color: #a92323;

}


/* -----------------------------------------------------
   TEXT POHLEDNICE
   ----------------------------------------------------- */

.vld-postcard-message {

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    color: #263746;

}

.vld-postcard-message h3 {

    color: #12395a;

    font-size: 27px;

    font-weight: 700;

    margin-bottom: 20px;

}

.vld-postcard-message p {

    font-size: 17px;

    line-height: 1.7;

}


/* -----------------------------------------------------
   RAZÍTKO
   ----------------------------------------------------- */

.vld-postmark {

    display: flex;

    justify-content: flex-end;

    margin-top: 45px;

}


.vld-postmark-circle {

    width: 125px;
    height: 125px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    border: 3px solid #a92323;

    border-radius: 50%;

    color: #a92323;

    transform: rotate(-12deg);

    font-family:
            Arial,
            Helvetica,
            sans-serif;

}


.vld-postmark-circle span {

    font-size: 10px;

    letter-spacing: 2px;

}


.vld-postmark-circle strong {

    font-size: 16px;

    line-height: 1.1;

}


.vld-postmark-circle small {

    margin-top: 5px;

    font-size: 10px;

}


/* -----------------------------------------------------
   PRAVÁ STRANA
   ----------------------------------------------------- */

.vld-postcard-right {

    padding: 35px;

}


/* -----------------------------------------------------
   FORM HEADER
   ----------------------------------------------------- */

.vld-form-label-top {

    color: #a92323;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}


.vld-form-title {

    margin: 5px 0 0;

    color: #12395a;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: 36px;

    font-weight: 700;

}


/* -----------------------------------------------------
   ZNÁMKA
   ----------------------------------------------------- */

.vld-stamp {

    width: 90px;
    height: 105px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f8f3e7;

    border: 3px dashed #a92323;

    transform: rotate(2deg);

}


.vld-stamp-inner {

    width: 68px;
    height: 82px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    border: 2px solid #12395a;

    color: #12395a;

}


.vld-stamp-inner span {

    font-size: 27px;

}


.vld-stamp-inner small {

    margin-top: 4px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* -----------------------------------------------------
   FORM LABEL
   ----------------------------------------------------- */

.vld-form-label {

    color: #12395a;

    font-family:
            Arial,
            Helvetica,
            sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.5px;

}


/* -----------------------------------------------------
   INPUTY
   ----------------------------------------------------- */

.vld-form-control {

    background-color: #fffdf7 !important;

    border: 1px solid #b58a55 !important;

    border-radius: 2px !important;

    color: #263746 !important;

    padding: 11px 14px;

    font-family:
            Arial,
            Helvetica,
            sans-serif;

    box-shadow: none !important;

}


/* Focus */

.vld-form-control:focus {

    border-color: #12395a !important;

    box-shadow:
            0 0 0 0.2rem rgba(18,57,90,0.15) !important;

}


/* Placeholder */

.vld-form-control::placeholder {

    color: #8c8c82;

    font-style: italic;

}


/* -----------------------------------------------------
   CHECKBOX
   ----------------------------------------------------- */

.vld-postcard .form-check-input {

    border-color: #12395a;

    border-radius: 2px;

}


.vld-postcard .form-check-input:checked {

    background-color: #12395a;

    border-color: #12395a;

}


.vld-consent {

    color: #59636a;

    font-size: 12px;

    line-height: 1.5;

}


/* -----------------------------------------------------
   ODESÍLACÍ TLAČÍTKO
   ----------------------------------------------------- */

.vld-postcard-button {

    min-width: 250px;

    background-color: #12395a !important;

    border: 3px solid #12395a !important;

    color: #fff !important;

    border-radius: 2px !important;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-weight: 700;

    letter-spacing: 1px;

    box-shadow:
            inset 0 0 0 2px #b58a55,
            0 5px 12px rgba(0,0,0,0.12);

    transition:
            all 0.25s ease;

}


.vld-postcard-button:hover {

    background-color: #a92323 !important;

    border-color: #a92323 !important;

    transform: translateY(-2px);

    box-shadow:
            inset 0 0 0 2px #d4a85a,
            0 7px 18px rgba(0,0,0,0.18);

}


/* -----------------------------------------------------
   PATIČKA POHLEDNICE
   ----------------------------------------------------- */

.vld-postcard-footer {

    border-top: 1px solid #b58a55;

}


.vld-footer-brand {

    color: #12395a;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


.vld-footer-text {

    color: #a92323;

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 991.98px) {

    .vld-postcard-left {

        border-right: 0;

        border-bottom: 1px solid #b58a55;

    }

    .vld-postmark {

        justify-content: center;

    }

}


/* =====================================================
   MOBIL
   ===================================================== */

@media (max-width: 575.98px) {

    .vld-postcard::before {

        left: 7px;
        right: 7px;

    }

    .vld-postcard-left,
    .vld-postcard-right {

        padding: 25px 18px;

    }

    .vld-postcard-heading {

        align-items: flex-start;

    }

    .vld-winged-wheel {

        width: 55px;
        height: 55px;

        font-size: 27px;

    }

    .vld-postcard-title {

        font-size: 27px;

    }

    .vld-form-title {

        font-size: 30px;

    }

    .vld-stamp {

        width: 75px;
        height: 90px;

    }

    .vld-stamp-inner {

        width: 55px;
        height: 68px;

    }

    .vld-stamp-inner span {

        font-size: 21px;

    }

    .vld-postcard-button {

        width: 100%;

        min-width: 0;

    }
}





