/* wcr3 additions */

#content .column-content {
    width: 880px;
}

.widget-ad .widget-title,
.widget-ad .ad-placeholder {
    display: none;
}

#header {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.header-inner {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    min-height: 96px;
    padding: 15px 0;
    margin-bottom: 0;
}

#logo {
    margin: 0;
}

#site-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 30pt;
    font-weight: normal;
    letter-spacing: inherit;
    margin: 0;
}

.header-accent-bar {
    background-color: #B1CA54;
    border-top: 1px solid #B1DA54;
    display: block;
    margin-top: 15px;
    min-height: 10px;
    width: 100%;
}

.header-language {
    margin-left: 24px;
    align-self: center;
}

.header-language-picker {
    display: block;
    position: relative;
}

.header-language-picker summary {
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    list-style: none;
    padding: 8px 0;
    text-transform: uppercase;
    user-select: none;
}

.header-language-picker summary::-webkit-details-marker {
    display: none;
}

.header-language-picker summary:hover,
.header-language-picker summary:focus {
    opacity: 0.85;
}

.header-language-picker summary:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}

.header-language-menu {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    list-style: none;
    margin: 8px 0 0;
    min-width: 150px;
    padding: 6px 0;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 500;
    padding-left: 0;
}

.header-language-menu li {
    list-style: none;
    list-style-type: none;
    margin: 0;
}

.header-language-menu a,
.header-language-menu .is-current {
    color: #333;
    display: block;
    font-size: 15px;
    padding: 8px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.header-language-menu a:hover,
.header-language-menu a:focus {
    background-color: #f2f0d5;
}

.header-language-menu .is-current {
    background-color: #f7f7f7;
    cursor: default;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 15px 0;
    }

    .header-language {
        margin: 8px 0 0;
    }

    .header-language-menu {
        left: 0;
        right: auto;
    }
}

.posts .post h2 {
    line-height: 1.2;
    margin-bottom: 12px;
}

.entry-content div[align="center"] + p,
.entry-summary div[align="center"] + p {
    margin-top: 10px;
}

.posts .entry-meta.entry-preview-divider {
    box-sizing: border-box;
    clear: both;
    display: block;
    font-size: 0;
    height: 10px;
    line-height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0 5px;
}
.widget-ad .ad-slot {
    background: #f5f5e8;
    border: 1px dashed #ccc;
    min-height: 120px;
    padding: 12px;
    text-align: center;
}

.ad-placeholder {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.pagination {
    margin: 24px 0;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.wp-pagenavi.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}

.wp-pagenavi.pagination a,
.wp-pagenavi.pagination span {
    border: none;
    margin: 0;
    padding: 0;
}

.wp-pagenavi.pagination a:hover,
.wp-pagenavi.pagination span.current {
    border: none;
}

.wp-pagenavi.pagination span.inactive {
    color: #bbb;
    cursor: default;
}

.wp-pagenavi.pagination span.current {
    font-weight: bold;
}

.entry-content video,
.entry-summary video {
    display: block;
    margin: 12px auto;
    max-width: 100%;
}

.entry-content img,
.entry-summary img {
    max-width: 100%;
    height: auto;
}

h1.entry-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.additional_materials {
    display: inline-block;
    margin: 8px 12px 8px 0;
    vertical-align: top;
    width: 130px;
    font-size: 13px;
}

.additional_materials img {
    display: block;
    margin-bottom: 4px;
}
