/*
Theme Name: cast.wtf
Theme URI: https://meister.io
Author: Manuel Meister
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 400;
    font-size: 16px;
}


.body_content a {
    color: #fff;
    text-decoration: underline;
    text-decoration-skip-ink: auto;
    text-decoration-color: var(--cast-primary-color);
}

.body_content h1, .body_content h2, .body_content h3, .body_content h4 {
    font-family: 'Futura PT', 'futura-pt', Helvetica Neue, Arial, sans-serif;
    font-weight: 600!important;
    font-style: italic;
}

.body_content h2 {
    text-decoration: underline;
    text-decoration-color: var(--cast-primary-color);
    font-size: 3.5rem;
    margin-top: 80px!important;
    margin-bottom: 20px!important;
}

@media screen and (max-width: 600px) {
    .body_content h1.display-1 {
        font-size: 3.5rem!important;
    }
    .body_content h2 {
        font-size: 2.5rem!important;
    }

    body:not(.home).body_content h1 {
        font-size: 2.75rem!important;
    }

    body:not(.home).body_content h2 {
        font-size: 2.25rem!important;
    }
}

body:not(.home).body_content .jumbotron h2.display-1 {
    font-size: 2.75rem;
    margin: 0!important;
}

body:not(.home).body_content .jumbotron h2 {
    font-size: 1.75rem;
}

body:not(.home).body_content h1 {
    font-size: 4rem;
}

body:not(.home).body_content h2 {
    margin-top: 40px!important;
    margin-bottom: 10px!important;
    font-size: 2.5rem;
}

body:not(.home).body_content .jumbotron {
    padding-top: 20px;
}

.jumbotron {
    margin-bottom: 0 !important;
    padding-bottom: 0!important;
}

.alignwide, .alignsmall, .body_content p, .body_content ul, .body_content h2, .body_content h3, .body_content h4, .body_content h5, .body_content.home iframe {
    padding: 0 10px;
    margin: auto;
    width: 100%;
}

:not(.home) iframe {
    margin: auto;
    width: 100%;
}

:not(.home).archive iframe {
    height: 200px;
}

.body_content p {
    padding-bottom: 20px;
}

.alignwide {
    max-width: 860px;
}

.alignsmall, .body_content p, .body_content ul, .body_content h2, .body_content h3, .body_content h4, .body_content h5  {
    max-width: 540px;
}

.sticky-footer {
    padding: 20px 0;
    margin-bottom: 40px;
    width: 100%;
    height: 60px;
}

.wp-block-media-text {
    margin-bottom: 20px !important;
    grid-template-columns: 40% auto !important;
}

.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content > * {
    padding: 0!important;
}

.testimonial {
    grid-template-columns: 25% auto !important;
}

.testimonial img {
    border-radius: 100%;
}

.testimonial a {
    color: #fff;
}

.actionbutton a {
    display: block;
    text-align: center;
    text-decoration: none;
}

a.wp-block-button__link {
    text-decoration: none;
}

.alignsmall.cast_buttons .wp-block-column {
    flex-basis: 100%;
    margin: 0 16px 1em!important;
}

.body_content .hidden_content, .body_content .hidden_content {
    display: none;
}

@media screen and (max-width: 600px) {
    main {
        padding: 16px;
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        padding-top: 10px !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        padding-bottom: 10px !important;
    }

    .alignsmall iframe {
        height: calc(100vw - 52px);
    }
}

.archive .cat-item {
    text-align: center;
    flex: auto;
    padding: 15px 5px;
}

.archive article {
    margin-bottom: 30px;
}

.archive article footer {
    opacity: 0.5;
}

.archive .wp-block-embed {
    margin-bottom: 0;
}

.kalturaPlayerWrapper, .kalturaPlayer, .archive iframe {
    margin-bottom: 10px;
    min-height: 180px;
    background-color: #000;
}

.text-justify {
    hyphens: auto;
}