/*
CTC Separate Stylesheet
Updated: 2026-04-09 09:41:07
*/

#secondary .wp-block-search__inside-wrapper .wp-block-search__input {
    border: 1px solid #ddd;
    width: 100%;
}

#secondary .wp-block-search__button:hover {
    background-color: #243773;
}

.wp-block-embed.is-provider-vimeo .wp-block-embed__wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.wp-block-embed.is-provider-vimeo .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-format-video .ast-article-single .post-thumb,
.single-format-video .ast-article-single .ast-blog-featured-section {
    display: none;
}

@media (max-width: 992px) {
    .single .post-navigation {
        padding-left: 3em;
        padding-right: 3em;
    }
}

@media (max-width: 544px) {
    .single .post-navigation {
        padding-left: 1em;
        padding-top: 0;
        padding-right: 1em;
    }
}

/* Blog, Archive pages */
body.archive .ast-archive-description .ast-archive-title, 
body.archive .ast-archive-description .ast-archive-title *,
.search .entry-title,
.archive .entry-title,
.blog .entry-title,
.single-post .entry-title {
    font-size: 34px !important;
    margin-bottom: 34px;
}
.archive.ast-separate-container .ast-article-post:nth-child(1) {
    padding-top: 0;
}

header.entry-header:not(.related-entry-header) > *:not(:last-child) {
    margin-bottom: 34px;
}

@media (min-width: 993px) {
    .single-post .site-main {
        margin: 4em 0;
        padding: 0;
    }
}

/* Single Post */
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .ast-author-box, .ast-separate-container .ast-404-layout-1, .ast-separate-container .no-results {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
.ast-separate-container .ast-article-post:nth-child(1),
.ast-separate-container .ast-article-single:nth-child(1),
.ast-separate-container .ast-author-box:nth-child(1),
.ast-separate-container .ast-404-layout-1:nth-child(1),
.ast-separate-container .no-results:nth-child(1) {
    padding-top: 3em;
}

@media (min-width: 1201px) {
    .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .ast-author-box, .ast-separate-container .ast-404-layout-1, .ast-separate-container .no-results {
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }
    .ast-separate-container .ast-article-post:nth-child(1),
    .ast-separate-container .ast-article-single:nth-child(1),
    .ast-separate-container .ast-author-box:nth-child(1),
    .ast-separate-container .ast-404-layout-1:nth-child(1),
    .ast-separate-container .no-results:nth-child(1) {
        padding-top: 3em;
    }
}

/* Related Posts */
.site .ast-single-related-posts-container {
    padding-left: 3em;
    padding-right: 3em;
}
@media (max-width: 544px) {
    .site .ast-single-related-posts-container {
        padding-left: 1em;
        padding-right: 1em;
    }
}
