@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --bs-primary-blue: #4D5A6A;
    --color-mix: color-mix(in oklab, var(--bs-primary) 70%, #ebd9d9);
    --color-mix-dark: color-mix(in oklab, var(--bs-primary) 80%, #303030);
    --bs-button-sharp: 0px;
    --bs-body-color-rgb: 33, 37, 41;

    --bs-color: color-mix(in oklab, var(--bs-body-color) 21%, #5e6d80);
    --bs-background: color-mix(in oklab, var(--bs-body-bg) 94%, var(--bs-primary));
    --bs-background-basic: color-mix(in oklab, var(--bs-body-bg) 90%, var(--bs-body-color));
}

body {font-family: "Playfair Display", serif;
    color: var(--bs-color);
}

.motto__text {
    font-size: 2rem;
}

a, .eshop-menu__link--button, button.navbar__menu-link {
    color: var(--color-mix-dark);
}

h1, .h1 {
    font-size: clamp(2rem, 2.5rem, 3rem);
}

.eshop-header>h1 {
    text-align: center;
    display: inherit;
}

#main {padding-top:0;}
.header {
    border-bottom: 1px solid rgba(var(--bs-body-color-rgb), 0.17);
}
.navbar__menu-link {
    font-weight:600;
}

section, .section {
    padding-top: clamp(3.5rem, 6vw, 6rem);
    padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

@media (max-width: 576px) {
    .container--article .col-text.section-bg-light, .container--article .col-text.section-bg, .container--article .section--header.section-bg-light, .container--article .section--header.section-bg, .container--article .section--text.section-bg-light, .container--article .section--text.section-bg, .container--article .section-blank.section-bg-light, .container--article .section-blank.section-bg, .container--article .section-title.section-bg-light, .container--article .section-title.section-bg, .container--article .section-header.section-bg-light, .container--article .section-header.section-bg, .container--article .section-cta.section-bg-light, .container--article .section-cta.section-bg,
    .section-bg-light, .section--bg, .section-bg {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.section-bg-light, .section--bg, .section-bg {
    background-size: 100% auto;
    background-position: center top;
    overflow: clip;
}

.section-motive {
    background-size:cover;
    background-position:center;
}

.section-motive {position: relative; }
.section-motive img{position: relative; z-index: 5;}

.background-image-motive-A img{position:absolute;
    z-index:0;}
.background-image-motive-B img{position:absolute;
    z-index:0;}

@media (max-width: 576px) {

    .section-motive .section-content:first-of-type {
        padding-top: 25px; padding-bottom: 70px;}

    .background-image-motive-A img {
        width: 35%; height: auto;
        right: -60px;
        top:15vw;
        transform: scaleX(-1);
    }
    .background-image-motive-B img {
        visibility:hidden;
    }
}
@media (min-width: 577px) {
    .background-image-motive-A img {
        width: 25%; height: auto; bottom: -100px;
        left: -135px;
    }

    .background-image-motive-B img {
        width:25%; height: auto;
        right: -85px;
    }
}

@media (min-width: 768px) {
    .background-image-motive-A img{
        max-width: 188px;
        left: -170px;}

    .background-image-motive-B img{
        max-width: 228px;
        right: -85px;}
}


table, .table {color: var(--bs-color);}

.white-box,
.two-box {padding: 35px;
    margin: 15px 15px;
    background: #ffffff;
    font-size: 16px;
    color: var(--color-mix-dark);
}
.white-box h2,
.two-box h2 {
    color: var(--color-mix-dark);
}
/* sekce s mapou */

.section-place { padding-top:clamp(3.5rem, 6vw, 5.5rem);
    padding-bottom:clamp(3.5rem, 6vw, 5.5rem);
    text-align: left;
    background-position:bottom;
    background-size:cover;
}
.section-place:has(~ .section-place) {
    padding-bottom: 0.05rem;
}
.section-place ~ .section-place {
    padding-top: 0.05rem;
}



@media (max-width: 576px) {
    .section-place ~ p ~ .section-place  {
        background-position: -540px 150px;
    }
}

.move figure:has(blockquote),
.move-text {
    background: #ffffff;
    padding: 35px;
    left: clamp(40px, 8vw, 300px);
    position:relative;
    z-index: 5;

}

blockquote
{
    border-left: 3px solid var(--color-mix);
}

.move .section-content img {
    right: clamp(40px, 8vw, 300px);
    position:relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .move figure:has(blockquote), .move-text {
        padding: 30px 25px 25px 25px;
        left: 0px;
        width: 120%;
    }

    .move .section-content img {
        right: 0px;
    }
}

@media (max-width: 576px) {
    .move figure:has(blockquote), .move-text {
        padding: 30px 25px 25px 25px;
        box-sizing: border-box;
        width: 80vw;
        max-width: none;
        margin-left: auto;

    }

    .move .section-content img {
        right: 0px;
        top: -60px;
        display: block;
        width: 100%;
        height: auto;
    }
}


.accordion-button, .accordion-button:not(.collapsed) {
    background-color: var(--bs-background);
}

.accordion-button:not(.collapsed) {
    color: var(--color-mix-dark);
}

.accordion-button {
    font-size: 1.13rem;
}

.accordion-item {
    background-color: var(--bs-background-basic);
    border: 1px solid rgb(86 86 86 / 40%);
}

.accordion-body {
    background: color-mix(in oklab, var(--bs-background-basic) 10%, var(--bs-body-bg));
}

.dress-code-colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.dress-code-colors span {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: clamp(120px, 8vw, 180px);
    line-height: 0.5;
}


/* Harmonogram */
.wedding-timeline {
    position: relative;
    max-width: 850px;
    margin: 40px auto;
}

.wedding-timeline .table>:not(:first-child){
    border-top: 2px solid transparent;
}

/* Svisla cara */
.wedding-timeline::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 30px;
    left: 29.9%;
    width: 1px;
    background: var(--color-mix);
}

.wedding-timeline table {
    position: relative;
    width: 100%;
    border: 0;
    border-collapse: separate;
    border-spacing: 0 28px;
    table-layout: fixed;
}

.wedding-timeline tr,
.wedding-timeline td {
    border: 0 !important;
    background: transparent !important;
}

.wedding-timeline td {
    padding: 5px 35px;
    vertical-align: middle;
    font-size: 1.2rem;
}

.wedding-timeline td:first-child {
    width: 30%;
}

.wedding-timeline td:last-child {
    width: 70%;
}

/* Čas */
.wedding-timeline td:first-child {
    position: relative;
    text-align: right;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Tecka na casove ose */
.wedding-timeline td:first-child::after {
    content: "";
    position: absolute;
    top: 55%;
    right: -5px;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    border: 1px solid var(--color-mix);
    border-radius: 50%;
    background: var(--color-mix);
    transform: translateY(-50%);
}

/* Popis události */
.wedding-timeline td:last-child {
    text-align: left;
}

/* Editor může do buněk přidávat odstavce */
.wedding-timeline td p {
    margin: 0;
    font-size: 1.2rem;
}


@media (max-width: 600px) {
    .wedding-timeline {
        margin: 40px auto 40px 30px;
    }

    .wedding-timeline::before {
        left: 13px;
        top: 10px;
    }

    .wedding-timeline table,
    .wedding-timeline tbody,
    .wedding-timeline tr,
    .wedding-timeline td {
        display: block;
        width: 100%;
    }

    .wedding-timeline table {
        border-spacing: 0;
    }

    .wedding-timeline tr {
        box-sizing: border-box;
        padding-left: 42px;
        margin-bottom: 25px;
    }

    .wedding-timeline td {
        box-sizing: border-box;
        padding: 0;
    }

    .wedding-timeline td:first-child {
        margin-bottom: 4px;
        text-align: left;
    }

    .wedding-timeline td:first-child::after {
        top: 0.9em;
        right: auto;
        left: -34px;
    }

    .wedding-timeline td:last-child {
        text-align: left;
    }
}

/* --- konec harmonogram --- */

/* -- story time-line */

/* Svisla cara */
.story-timeline .wedding-timeline::before {
    top: 25px;
    bottom: 40px;
    left: 49.9%;
}

.story-timeline td {padding-bottom: 40px;}

.container--article .story-timeline p+h2, .container--article .story-timeline p+.h2 {
    margin-top: clamp(15px, 1.7vw, 25px);
}

.story-timeline h2 {
    font-size: 1.65rem;

}

.story-timeline td p {
    font-size: 1rem;

}


.story-timeline .wedding-timeline td:first-child {
    width: 50%;
}

.story-timeline .wedding-timeline td:last-child {
    width: 50%;
}
/* Čas */
.story-timeline td:first-child {
    position: relative;
    text-align: right;
    font-weight: 400;
    font-size: 1rem;
}

/* Tecka na casove ose */
.story-timeline td:first-child::after {
    top: 40%;
    right: -5px;
    width: 10px;

}

@media (max-width: 600px) {

    .story-timeline  .wedding-timeline {
        margin: 40px auto 40px 0px;
    }

    .story-timeline tr {
        display: flex;
        flex-direction: column;
    }

    .story-timeline tr:nth-child(odd) {
        flex-direction: column-reverse;
    }

    .story-timeline td:first-child {
        text-align: left;
    }

    .story-timeline .wedding-timeline::before {
        left: 13px;
    }

    @media (max-width: 600px) {
        .story-timeline .wedding-timeline tr {
            width: 95%;
        }
    }
}



.section-colors {
    margin: 0 auto;
}

.section-colors img {
    border-radius: 50%;
    margin: 10px;

}


.btn-primary, .comment__reply:hover, .add-comment__button--submit, .product-page__cart-button, .cart-button, .promo-code__submit, .account-button, .minicart__button-cart, .search-form__search-button, .locked__submit, .motto__button-link,
.btn, .cookies__button, .comment__reply, .comment__hide, .add-comment__button--close, .add-comment__button--submit, .product-page__cart-button, .product-item__cart-button, .cart-button, .promo-code__submit, .account-button, .minicart__button-cart, .minicart__button-close, .search-form__search-button, .locked__submit, .eshop-filters__submit, .motto__button-link, .navbar__search-button {
    background-color: color-mix(in oklab, var(--bs-primary) 70%, #909090);
    border-radius: var(--bs-button-sharp);
    border-color: transparent;
}

.btn-outline-primary, .product-item__cart-button, .cart-button--outline, .cart-button--back, .minicart__button-close, .eshop-filters__submit, .btn-secondary, .btn-default, .navbar__search-button
{
    color: #fff;
}

.btn-link,
.btn-outline-secondary {
    color: color-mix(in oklab, var(--color-mix) 20%, var(--bs-body-bg));
}


.file-item {
    background-color: color-mix(in oklab, var(--color-mix) 10%, var(--bs-body-bg));
}

/* eshop */
.product-item,
.category {
    background-color: var(--bs-background-basic);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 3px 5px -5px;
    border-width: 1px;
    border-style: solid;
    border-color: color-mix(in oklab, var(--color-mix) 40%, var(--bs-body-bg));
    border-radius: 0;
}


.section-services li, .section--services li {
    background-color: var(--bs-background);
    border-left: 5px solid color-mix(in oklab, var(--color-mix) 90%, #fff);
    border-radius: 0;
}


.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: color-mix(in oklab, var(--color-mix) 10%, var(--bs-body-bg));
    color: var(--bs-table-striped-color);
}
.section-3-col-bottom-text.cell-borders .section-cell-item,
.section-3-col-top-text.cell-borders .section-cell-item,
.section-3-col-bottom-text.cell-img-borders .section-cell-item,
.user-form {border-radius: 0;
    border: 1px solid color-mix(in oklab, var(--color-mix) 40%,var(--bs-body-bg));

}