/* Responsive corrections for the restored Vibenews layouts. */
.theme-breacrumb-title,
.authorName,
.entry-content a {
    overflow-wrap: anywhere;
}
.theme-breacrumb-title { min-width: 0; }
.wyoming-newsletter-status { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: inherit; }
[role="button"]:focus-visible,
[role="switch"]:focus-visible,
.slicknav_btn:focus-visible {
    outline: 2px solid #b00620 !important;
    outline-offset: 3px;
}
@media (max-width: 1024px) {
    .slicknav_menu .slicknav_nav {
        max-height: calc(100vh - 96px);
        max-height: calc(100dvh - 96px);
        overflow-y: auto !important;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
    }
    .theme-search-custom-iconn,
    #mode-theme {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    input[type="text"], input[type="email"], input[type="search"], textarea { font-size: max(16px, 1em); }
}
@media (min-width: 768px) and (max-width: 991px) {
    .elementor-43955 .customWidgetPosts > .row { margin-left: 0; margin-right: 0; }
    .elementor-43955 .customWidgetPosts > .row > .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 991px) {
    .elementor-43955 .customWidgetPosts .news-post-grid-thumbnail-wrap {
        display: block;
        aspect-ratio: 16 / 10;
        height: auto;
        overflow: hidden;
    }
    .elementor-43955 .customWidgetPosts .news-post-grid-thumbnail-wrap > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 767px) {
    .authorHead { display: flex; align-items: flex-start; gap: 16px; }
    .authorHead .authorLeft { flex: 1 1 0; min-width: 0; width: auto; }
    .authorHead .authorImg.mob { flex: 0 0 80px; width: 80px; height: 80px; }
    .authorHead .authorImg.mob > img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; border-radius: 50%; }
    footer .footer__columns { gap: 24px; }
    footer .footer__column { width: calc(50% - 12px) !important; flex: 0 0 calc(50% - 12px); min-width: 0; }
    footer .footer__column:last-child { width: 100% !important; flex-basis: 100%; }
    footer .wpcf7 form > p { display: flex; align-items: stretch; margin: 0; }
    footer .wpcf7 form > p > br { display: none; }
    footer .wpcf7 form .wpcf7-form-control-wrap { flex: 1 1 0; min-width: 0; }
    footer .wpcf7 input[type="email"] { width: 100%; min-width: 0; height: 44px; font-size: 16px; padding-left: 10px; padding-right: 8px; }
    footer .wpcf7 input[type="submit"] { position: static; flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; margin: 0; }
}
/* Archived Elementor widgets contain fixed light-theme text colours. */
body.dark-theme { color: #e4e4e8; }
body.dark-theme :is(h1,h2,h3,h4,h5,h6,.theme-breacrumb-title,.authorJob,.authorExpertise,.authorNameBio,.authorNameBio p,.entry-content,.entry-content p,.entry-content li,.post-title a,.footer__links a,.footer__links b) { color: #eee !important; }
body.dark-theme :is(.post-cat-box,.post-cat-box a,.entry-content a) { color: #ff8a9b !important; }
body.dark-theme :is(.entry-content blockquote,.wp-caption,.post-caption,.thumbnail-caption) { background-color: #303038; color: #e4e4e8; }
body.dark-theme header :is(.theme-search-custom-iconn,#mode-theme) path { stroke: #eee; }
body.dark-theme .slicknav_icon-bar { background-color: #eee !important; }
@media (max-width: 767px) {
    footer .footer__columns { display: flex; flex-wrap: wrap; align-items: flex-start; }
}
@media (max-width: 359px) {
    .theme_header__main .theme-logo img.custom-logo { width: 90px !important; max-width: 90px !important; height: auto; }
}
html body.dark-theme .elementor.elementor-43955 .elementor-widget-container :is(.post-title,.post-title a) { color: #eee !important; }
html body.dark-theme .elementor.elementor-43955 .elementor-widget-container :is(.post-cat-box,.post-cat-box a) { color: #ff8a9b !important; }
html body.dark-theme .theme_header__main :is(.theme-search-custom-iconn,#mode-theme) svg path { stroke: #eee !important; }
@media (max-width: 767px) {
    footer .wpcf7 input[type="submit"] { transform: none; top: auto; right: auto; bottom: auto; left: auto; align-self: stretch; }
}
body.dark-theme :is(.post-excerpt-box,.post-excerpt-box p,.wyoming-newsletter-status,.footer__copyright) { color: #ccc; }
body.dark-theme .panel-bar-box path { stroke: #eee !important; }
body.dark-theme .theme_header__main .slicknav_menu .slicknav_icon-bar { background-color: #eee !important; }
body.dark-theme .backto a { color: #eee; border-color: #eee; }
@media (max-width: 767px) {
    .backto { right: 12px; bottom: 12px; width: 44px; height: 44px; }
    .backto a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; line-height: 44px; }
    footer .footer__copyright { padding-right: 60px; }
}
.vibenews-custom-panel-menu-wrapper .vibenews-custom-panel-box-wrap { height: 100%; overflow-y: auto; }
#wyoming-panel-latest ul { list-style: none; margin: 0; padding: 0; }
#wyoming-panel-latest li { margin: 0 0 18px; }
#wyoming-panel-latest a { line-height: 1.5; overflow-wrap: anywhere; }
#wyoming-panel-latest .post-date { display: block; margin-top: 3px; font-size: 13px; }
body.dark-theme #wyoming-panel-latest a { color: #eee; }
body.dark-theme #wyoming-panel-latest .post-date { color: #bbb; }
.Page-actions-menu-wrap.wyoming-share-open { display: block !important; visibility: visible; opacity: 1; z-index: 10000; max-width: calc(100vw - 32px); }
.Page-actions-menu-title i[role="button"] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
body.dark-theme .Page-actions-menu { background-color: #303038; color: #eee; }
body.dark-theme .Page-actions-menu :is(.Page-actions-menu-title,.ActionLink) { color: #eee; }
@media (max-width: 767px) {
    .Page-actions-menu-wrap.wyoming-share-open { position: fixed; top: auto; right: 16px; bottom: 16px; left: 16px; width: auto; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
    .Page-actions-menu-wrap.wyoming-share-open .Page-actions-menu { position: static; width: 100%; max-width: 100%; margin: 0; }
}
.widget:has(.wp-block-latest-comments:empty) { display: none; }
body.dark-theme .Page-actions-menu .ActionLink span { color: #eee; }
@media (max-width: 767px) {
    .Page-actions-menu-wrap.wyoming-share-open { transform: none; }
}
