/*
Theme Name: Prádelna
Theme URI: https://pradelna.com/
Author: Prádelna
Description: Klasická one-page WordPress šablona pro Novou přádelnu v Semilech.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: pradelna
*/

/* WordPress-only layouts. The original one-page styles live in css/style.min.css. */
.page-hero {
    min-height: clamp(260px, 36vw, 520px);
    padding-top: clamp(120px, 14vw, 220px);
    overflow: hidden;
    background: #fff;
}

.page-hero--has-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-hero--thank-you {
    background-color: #fff;
}

.page-hero__inner {
    position: relative;
    min-height: clamp(140px, 20vw, 300px);
}

.page-hero__pattern {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.page-hero__pattern-image {
    display: block;
    width: 100%;
    height: auto;
}

.page-content {
    padding: clamp(64px, 8vw, 128px) 0;
}

.page-content__title {
    max-width: 1100px;
    margin: 0 0 clamp(40px, 5vw, 80px);
    font-size: clamp(44px, 6vw, 96px);
    font-weight: 300;
    line-height: .98;
    text-transform: uppercase;
}

.globalcontent {
    max-width: 960px;
    font-size: 18px;
    line-height: 1.65;
}

.globalcontent > :first-child {
    margin-top: 0;
}

.globalcontent > :last-child {
    margin-bottom: 0;
}

.globalcontent h2,
.globalcontent h3,
.globalcontent h4,
.globalcontent h5 {
    margin: 1.4em 0 .55em;
    font-weight: 500;
    line-height: 1.1;
}

.globalcontent h2 { font-size: clamp(34px, 4vw, 58px); }
.globalcontent h3 { font-size: clamp(28px, 3vw, 44px); }
.globalcontent h4 { font-size: clamp(23px, 2.4vw, 34px); }
.globalcontent h5 { font-size: clamp(19px, 2vw, 26px); }

.globalcontent p,
.globalcontent ul,
.globalcontent ol,
.globalcontent table,
.globalcontent blockquote {
    margin: 0 0 1.5em;
}

.globalcontent ul,
.globalcontent ol {
    padding-left: 1.4em;
}

.globalcontent li + li {
    margin-top: .4em;
}

.globalcontent a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.globalcontent .button {
    color: #fff;
    background: #caa972;
    border-color: #caa972;
    text-decoration: none;
}

.globalcontent .button.button--inverse {
    color: #000;
    background: #fff;
    border-color: #000;
}

.globalcontent .button:hover,
.globalcontent .button:focus-visible,
.globalcontent .button.button--inverse:hover,
.globalcontent .button.button--inverse:focus-visible {
    color: #fff;
    background: #000;
    border-color: #000;
}

.globalcontent table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.globalcontent th,
.globalcontent td {
    min-width: 150px;
    padding: .8em 1em;
    border: 1px solid #000;
    text-align: left;
    vertical-align: top;
}

.globalcontent blockquote {
    padding-left: 1.25em;
    border-left: 4px solid #caa972;
    font-size: 1.2em;
}

.globalcontent img {
    max-width: 100%;
    height: auto;
}

.about__text > :first-child,
.next__text > :first-child {
    margin-top: 0;
}

.about__text > :last-child,
.next__text > :last-child {
    margin-bottom: 0;
}

.error404 .page-content {
    text-align: center;
}

.error404 .page-content__title,
.error404 .globalcontent {
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 767px) {
    .page-hero--thank-you {
        min-height: 215px;
        padding-top: 95px;
    }

    .page-hero--thank-you .page-hero__inner {
        min-height: 120px;
    }

    .page-content {
        padding: 56px 0;
    }

    .globalcontent {
        font-size: 16px;
    }
}
