/* JARROD REVIEWS — REBUILT MASTER
   Original design preserved; conflicting media/layout overrides consolidated.
   Keep the original uploaded file as your rollback backup.
*/

.site-description {
    color: #4F7DFF !important;;
    -webkit-text-stroke: 0.5px #4C1D95 !important;;
    text-shadow: none !important;;
}

html,
body,
#page,
.site,
.site-content,
#content,
.content-area,
.site-main,
#primary,
main {
    background: #20B7E8 !important;;
}

.site-header,
.site-branding {
    display: block !important;;
    width: 100% !important;;
    max-width: none !important;;
    float: none !important;;
    margin-left: auto !important;;
    margin-right: auto !important;;
    clear: both !important;;
    text-align: center !important;;
    height: auto !important;;
    max-height: none !important;;
    overflow: visible !important;;
}

.site-title {
    display: block !important;;
    float: none !important;;
    width: 100% !important;;
    max-width: 1200px !important;;
    margin: 25px auto !important;;
    text-align: center !important;;
}

.site-title a {
    text-align: center !important;;
}

.main-navigation,
nav.main-navigation,
#site-navigation {
    display: block !important;;
    position: relative !important;;
    float: none !important;;
    width: 100% !important;;
    max-width: none !important;;
    height: auto !important;;
    max-height: none !important;;
    margin: 0 auto !important;;
    clear: both !important;;
    text-align: center !important;;
    overflow: visible !important;;
    z-index: 1000 !important;;
}

.menu-toggle,
.main-navigation .menu-toggle,
#site-navigation .menu-toggle,
button.menu-toggle {
    display: inline-block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    float: none !important;;
    width: auto !important;;
    height: auto !important;;
    margin: 18px auto 28px !important;;
    padding: 18px 38px !important;;
    background: #6428F5 !important;;
    background-color: #6428F5 !important;;
    background-image: none !important;;
    color: #62C7E5 !important;;
    -webkit-text-fill-color: #62C7E5 !important;;
    border: 2px solid #4C1D95 !important;;
    border-radius: 12px !important;;
    box-shadow:
        0 6px 16px rgba(59,7,100,0.32) !important;;
    font-weight: 800 !important;;
    text-align: center !important;;
    text-shadow: none !important;;
    cursor: pointer !important;;
    z-index: 10001 !important;;
}

.menu-toggle *,
.main-navigation .menu-toggle *,
#site-navigation .menu-toggle * {
    color: #62C7E5 !important;;
    -webkit-text-fill-color: #62C7E5 !important;;
    fill: #62C7E5 !important;;
    stroke: #62C7E5 !important;;
}

.menu-toggle svg,
.menu-toggle svg *,
.menu-toggle .icon,
.menu-toggle .icon-menu {
    color: #62C7E5 !important;;
    fill: #62C7E5 !important;;
    stroke: #62C7E5 !important;;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
    background: #4C1D95 !important;;
    background-color: #4C1D95 !important;;
    color: #7DD8F2 !important;;
    -webkit-text-fill-color: #7DD8F2 !important;;
    border-color: #6428F5 !important;;
}

.main-navigation:not(.toggled) > div > ul,
.main-navigation:not(.toggled) > ul,
.main-navigation:not(.toggled) .menu,
.main-navigation:not(.toggled) .nav-menu,
#site-navigation:not(.toggled) > div > ul,
#site-navigation:not(.toggled) > ul,
#site-navigation:not(.toggled) .menu,
#site-navigation:not(.toggled) .nav-menu {
    display: none !important;;
}

.main-navigation.toggled > div > ul,
.main-navigation.toggled > ul,
.main-navigation.toggled .menu,
.main-navigation.toggled .nav-menu,
.main-navigation.toggled-on > div > ul,
.main-navigation.toggled-on > ul,
.main-navigation.toggled-on .menu,
.main-navigation.toggled-on .nav-menu,
#site-navigation.toggled > div > ul,
#site-navigation.toggled > ul,
#site-navigation.toggled .menu,
#site-navigation.toggled .nav-menu,
#site-navigation.toggled-on > div > ul,
#site-navigation.toggled-on > ul,
#site-navigation.toggled-on .menu,
#site-navigation.toggled-on .nav-menu {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    float: none !important;;
    width: calc(100% - 30px) !important;;
    max-width: 900px !important;;
    height: auto !important;;
    max-height: none !important;;
    margin: 0 auto 25px !important;;
    padding: 8px !important;;
    background: #6428F5 !important;;
    border-radius: 14px !important;;
    overflow: visible !important;;
    transform: none !important;;
    text-align: center !important;;
    box-sizing: border-box !important;;
    z-index: 10000 !important;;
}

.main-navigation.toggled li,
.main-navigation.toggled-on li,
#site-navigation.toggled li,
#site-navigation.toggled-on li {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    float: none !important;;
    width: 100% !important;;
    height: auto !important;;
    margin: 0 !important;;
    padding: 0 !important;;
    text-align: center !important;;
    background: transparent !important;;
}

.main-navigation.toggled li a,
.main-navigation.toggled-on li a,
#site-navigation.toggled li a,
#site-navigation.toggled-on li a {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    width: 100% !important;;
    height: auto !important;;
    padding: 14px 18px !important;;
    background: #4C1D95 !important;;
    color: #62C7E5 !important;;
    -webkit-text-fill-color: #62C7E5 !important;;
    border: none !important;;
    border-bottom:
        1px solid rgba(98,199,229,0.35) !important;;
    text-decoration: none !important;;
    font-weight: 700 !important;;
    box-sizing: border-box !important;;
}

.main-navigation.toggled li a:hover,
.main-navigation.toggled li a:focus,
.main-navigation.toggled-on li a:hover,
.main-navigation.toggled-on li a:focus,
#site-navigation.toggled li a:hover,
#site-navigation.toggled li a:focus,
#site-navigation.toggled-on li a:hover,
#site-navigation.toggled-on li a:focus {
    background: #3B0764 !important;;
    color: #7DD8F2 !important;;
    -webkit-text-fill-color: #7DD8F2 !important;;
}

#masthead,
.site-header,
.site-branding,
.main-navigation,
#site-navigation {
    height: auto !important;;
    max-height: none !important;;
    overflow: visible !important;;
}

.site-content,
#content {
    display: flex !important;;
    flex-direction: column !important;;
    width: 100% !important;;
    max-width: none !important;;
    float: none !important;;
    margin: 0 !important;;
    padding: 0 !important;;
}

#primary,
.content-area,
.site-main,
main {
    display: block !important;;
    order: 1 !important;;
    float: none !important;;
    width: 100% !important;;
    max-width: none !important;;
    margin: 0 auto !important;;
    clear: both !important;;
}

#secondary,
.secondary,
.sidebar,
.widget-area {
    order: 2 !important;;
    display: block !important;;
    float: none !important;;
    width: 100% !important;;
    max-width: none !important;;
    margin: 30px auto !important;;
    clear: both !important;;
}

article,
.site-main article {
    float: none !important;;
    width: calc(100% - 16px) !important;;
    max-width: 1250px !important;;
    margin: 28px auto !important;;
    padding: 8px !important;;
    background: #62C7E5 !important;;
    border: none !important;;
    border-radius: 22px !important;;
    box-sizing: border-box !important;;
    overflow: hidden !important;;
    clear: both !important;;
    box-shadow:
        0 8px 22px rgba(59,7,100,0.18) !important;;
}

article .entry-header,
article .entry-content,
article .entry-summary,
article .entry-footer {
    float: none !important;;
    width: 100% !important;;
    max-width: none !important;;
    margin-left: 0 !important;;
    margin-right: 0 !important;;
    background: #FFFFFF !important;;
    clear: both !important;;
    box-sizing: border-box !important;;
}

article .entry-header {
    padding: 26px 22px 16px !important;;
}

article .entry-content,
article .entry-summary {
    padding: 16px 22px 28px !important;;
}

article .entry-footer {
    padding: 12px 22px 24px !important;;
}

.entry-content,
.entry-content p,
.entry-content li,
.entry-content span,
.entry-content strong,
.entry-content b,
.entry-content em,
.entry-content i,
.entry-content blockquote,
.entry-content figcaption,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-summary,
.entry-summary p {
    color: #3B0764 !important;;
    -webkit-text-fill-color: #3B0764 !important;;
}

article .entry-title,
article .entry-title a {
    color: #3B0764 !important;;
    -webkit-text-fill-color: #3B0764 !important;;
    background: transparent !important;;
    background-color: transparent !important;;
    background-image: none !important;;
    border: none !important;;
    border-radius: 0 !important;;
    box-shadow: none !important;;
    text-decoration: none !important;;
}

article .entry-content h2 {
    background: #DDF4FB !important;;
    color: #3B0764 !important;;
    -webkit-text-fill-color: #3B0764 !important;;
    border: none !important;;
    border-left: 5px solid #6428F5 !important;;
    border-radius: 9px !important;;
    padding: 11px 14px !important;;
    margin-top: 38px !important;;
    margin-bottom: 18px !important;;
}

article .entry-content p {
    line-height: 1.7 !important;;
    margin-bottom: 1.35em !important;;
}

.more-link,
a.more-link {
    display: inline-block !important;;
    background:
        linear-gradient(
            90deg,
            #6428F5,
            #3975E8
        ) !important;;
    color: #FFFFFF !important;;
    -webkit-text-fill-color: #FFFFFF !important;;
    font-weight: 700 !important;;
    padding: 14px 30px !important;;
    border: none !important;;
    border-radius: 12px !important;;
    text-decoration: none !important;;
    box-shadow:
        0 6px 16px rgba(59,7,100,0.28) !important;;
}

img.emoji,
.emoji {
    background: transparent !important;;
    border: none !important;;
    border-radius: 0 !important;;
    box-shadow: none !important;;
    padding: 0 !important;;
    transform: scale(1.18) !important;;
    filter:
        saturate(1.35)
        contrast(1.08)
        drop-shadow(0 2px 2px rgba(59,7,100,0.25)) !important;;
}

.widget {
    float: none !important;;
    width: calc(100% - 16px) !important;;
    max-width: 1250px !important;;
    margin: 24px auto !important;;
    border-radius: 20px !important;;
    box-sizing: border-box !important;;
    box-shadow:
        0 5px 14px rgba(59,7,100,0.16),
        0 12px 28px rgba(0,90,140,0.10) !important;;
}

.widget-title::after,
.widget .wp-block-heading::after,
.widget h1::after,
.widget h2::after,
.widget h3::after {
    content: none !important;;
    display: none !important;;
}

.widget_search,
.wp-block-search,
.wp-block-search__inside-wrapper {
    overflow: visible !important;;
}

.wp-block-search__inside-wrapper {
    padding-bottom: 16px !important;;
}

.wp-block-social-links .wp-social-link svg,
.wp-block-social-links .wp-social-link svg path {
    filter:
        saturate(1.6)
        contrast(1.25)
        drop-shadow(0 2px 2px rgba(59,7,100,0.45))
        drop-shadow(0 0 5px rgba(255,255,255,0.30)) !important;;
}

.wp-block-social-links .wp-social-link svg {
    transform: scale(1.18) !important;;
    transform-origin: center !important;;
    transition:
        transform 0.22s ease,
        filter 0.22s ease !important;;
}

.wp-block-social-links .wp-social-link {
    transform: none !important;;
}

@media (hover: hover) {
.wp-block-social-links .wp-social-link:hover svg {
    transform: scale(1.32) !important;;
    filter:
            saturate(1.8)
            contrast(1.3)
            drop-shadow(0 3px 3px rgba(59,7,100,0.50))
            drop-shadow(0 0 7px rgba(255,255,255,0.40)) !important;;
}
}

@media screen and (max-width: 768px) {
article,
.site-main article,
.widget {
    width: calc(100vw - 16px) !important;;
    margin-left: 8px !important;;
    margin-right: 8px !important;;
}
article .entry-content p,
article .entry-content li {
    font-size: 19px !important;;
}
.main-navigation,
#site-navigation,
.main-navigation.toggled,
#site-navigation.toggled,
.main-navigation.toggled-on,
#site-navigation.toggled-on {
    height: auto !important;;
    max-height: none !important;;
    overflow: visible !important;;
}
}

@media screen and (min-width: 769px) {
article,
.site-main article {
    width: calc(100% - 220px) !important;;
    max-width: 850px !important;;
    margin-top: 16px !important;;
    margin-bottom: 16px !important;;
    padding: 6px !important;;
    border-radius: 16px !important;;
}
article .entry-title,
article .entry-title a {
    font-size: 27px !important;;
    line-height: 1.2 !important;;
}
article .entry-content p,
article .entry-content li,
article .entry-summary p {
    font-size: 17px !important;;
    line-height: 1.65 !important;;
}
article .entry-header {
    padding:
            17px
            23px
            10px !important;;
}
article .entry-content,
article .entry-summary {
    padding:
            10px
            23px
            18px !important;;
}
article .entry-footer {
    padding:
            8px
            23px
            17px !important;;
}
article .entry-content h2 {
    margin-top: 22px !important;;
    margin-bottom: 11px !important;;
    padding: 7px 10px !important;;
}
.more-link,
a.more-link {
    padding: 10px 21px !important;;
}
#secondary,
.secondary,
.sidebar,
.widget-area {
    width: calc(100% - 220px) !important;;
    max-width: 850px !important;;
}
.widget {
    width: calc(100% - 220px) !important;;
    max-width: 850px !important;;
    margin-top: 15px !important;;
    margin-bottom: 15px !important;;
    border-radius: 15px !important;;
}
.menu-toggle,
button.menu-toggle,
.main-navigation .menu-toggle,
#site-navigation .menu-toggle {
    display: inline-block !important;;
    position: relative !important;;
    float: none !important;;
    margin: 8px auto 14px !important;;
    padding: 11px 25px !important;;
    top: auto !important;;
    bottom: auto !important;;
    left: auto !important;;
    right: auto !important;;
    transform: none !important;;
    clear: both !important;;
}
.main-navigation,
#site-navigation,
.main-navigation.toggled,
#site-navigation.toggled,
.main-navigation.toggled-on,
#site-navigation.toggled-on {
    height: auto !important;;
    max-height: none !important;;
    overflow: visible !important;;
}
}

html body .main-navigation:has(.menu-toggle[aria-expanded="true"]) > div > ul,
html body .main-navigation:has(.menu-toggle[aria-expanded="true"]) > ul,
html body .main-navigation:has(.menu-toggle[aria-expanded="true"]) .menu,
html body .main-navigation:has(.menu-toggle[aria-expanded="true"]) .nav-menu,
html body #site-navigation:has(.menu-toggle[aria-expanded="true"]) > div > ul,
html body #site-navigation:has(.menu-toggle[aria-expanded="true"]) > ul,
html body #site-navigation:has(.menu-toggle[aria-expanded="true"]) .menu,
html body #site-navigation:has(.menu-toggle[aria-expanded="true"]) .nav-menu {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    float: none !important;;
    width: calc(100% - 30px) !important;;
    max-width: 900px !important;;
    height: auto !important;;
    min-height: 0 !important;;
    max-height: none !important;;
    margin: 0 auto 25px !important;;
    padding: 8px !important;;
    overflow: visible !important;;
    background: #6428F5 !important;;
    border-radius: 14px !important;;
    transform: none !important;;
    z-index: 99999 !important;;
    box-sizing: border-box !important;;
}

html body .main-navigation:has(.menu-toggle[aria-expanded="true"]) li,
html body #site-navigation:has(.menu-toggle[aria-expanded="true"]) li {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    float: none !important;;
    width: 100% !important;;
    max-width: 100% !important;;
    height: auto !important;;
    max-height: none !important;;
    margin: 0 !important;;
    padding: 0 !important;;
    overflow: visible !important;;
    transform: none !important;;
}

html body .main-navigation:has(.menu-toggle[aria-expanded="true"]) li a,
html body #site-navigation:has(.menu-toggle[aria-expanded="true"]) li a {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    width: 100% !important;;
    height: auto !important;;
    padding: 14px 18px !important;;
    background: #4C1D95 !important;;
    color: #62C7E5 !important;;
    -webkit-text-fill-color: #62C7E5 !important;;
    border-bottom:
        1px solid rgba(98,199,229,0.35) !important;;
    text-decoration: none !important;;
    box-sizing: border-box !important;;
}

html body .main-navigation,
html body #site-navigation,
html body .site-header,
html body .site-branding,
html body #masthead {
    height: auto !important;;
    max-height: none !important;;
    overflow: visible !important;;
}

html body .menu-toggle,
html body button.menu-toggle,
html body .main-navigation .menu-toggle,
html body #site-navigation .menu-toggle {
    background: #6428F5 !important;;
    background-color: #6428F5 !important;;
    background-image: none !important;;
    color: #62C7E5 !important;;
    -webkit-text-fill-color: #62C7E5 !important;;
    border: 2px solid #4C1D95 !important;;
    border-radius: 12px !important;;
    box-shadow:
        0 6px 16px rgba(59,7,100,0.32) !important;;
}

html body .menu-toggle *,
html body .menu-toggle svg,
html body .menu-toggle svg *,
html body .menu-toggle .icon {
    color: #62C7E5 !important;;
    -webkit-text-fill-color: #62C7E5 !important;;
    fill: #62C7E5 !important;;
    stroke: #62C7E5 !important;;
}

@media screen and (min-width: 769px) {
html body #masthead,
html body header#masthead,
html body .site-header,
html body header.site-header,
html body .site-branding {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    height: auto !important;;
    min-height: 0 !important;;
    max-height: none !important;;
    float: none !important;;
    overflow: visible !important;;
    transform: none !important;;
}
html body .site-branding > .site-description {
    display: block !important;;
    visibility: visible !important;;
    opacity: 1 !important;;
    position: relative !important;;
    width: calc(100% - 40px) !important;;
    height: auto !important;;
    min-height: 0 !important;;
    max-height: none !important;;
    top: auto !important;;
    bottom: auto !important;;
    left: auto !important;;
    right: auto !important;;
    transform: none !important;;
    margin: 8px auto 12px !important;;
    padding: 0 !important;;
    clear: both !important;;
    text-align: center !important;;
    color: #4F7DFF !important;;
    -webkit-text-fill-color: #4F7DFF !important;;
    -webkit-text-stroke:
            0.5px #4C1D95 !important;;
    z-index: 20 !important;;
}
html body .main-navigation,
html body #site-navigation {
    position: relative !important;;
    float: none !important;;
    width: 100% !important;;
    height: auto !important;;
    max-height: none !important;;
    top: auto !important;;
    bottom: auto !important;;
    margin: 0 auto !important;;
    clear: both !important;;
    transform: none !important;;
    overflow: visible !important;;
}
html body .site-content,
html body #content,
html body #primary,
html body .content-area,
html body .site-main {
    position: relative !important;;
    top: auto !important;;
    bottom: auto !important;;
    transform: none !important;;
    clear: both !important;;
    z-index: 1 !important;;
}
}

body.home article .entry-header,
body.blog article .entry-header,
body.archive article .entry-header,
.site-main article .entry-header {
    position: relative !important;;
    z-index: 1 !important;;
}

html body article .entry-header {
    position: relative !important;;
    clear: both !important;;
}

html body article .entry-content,
html body article .entry-summary {
    position: relative !important;;
    clear: both !important;;
}

html body article .entry-footer {
    position: relative !important;;
    clear: both !important;;
}

body.home .site-main article .entry-header,
body.blog .site-main article .entry-header,
body.archive .site-main article .entry-header {
    position: relative !important;;
    clear: both !important;;
}

body.home .site-main article .entry-content,
body.home .site-main article .entry-summary,
body.blog .site-main article .entry-content,
body.blog .site-main article .entry-summary,
body.archive .site-main article .entry-content,
body.archive .site-main article .entry-summary {
    position: relative !important;;
    clear: both !important;;
}

body.home article .entry-header,
body.blog article .entry-header,
body.archive article .entry-header {
    clear: both !important;;
}

body.home article .entry-content,
body.home article .entry-summary,
body.blog article .entry-content,
body.blog article .entry-summary,
body.archive article .entry-content,
body.archive article .entry-summary {
    clear: both !important;;
}

body.home .site-main article,
body.blog .site-main article,
body.archive .site-main article,
body.search .site-main article {
    height: auto !important;;
    max-height: none !important;;
}

/* =========================================================
   JARROD REVIEWS — SINGLE CONSOLIDATED MEDIA REPAIR
   ========================================================= */

/* Keep the original review-card appearance, but stop imposing a flex
   order on the theme's alternating image/text markup. */
.site-main article {
    display: flow-root !important;
    height: auto !important;
    max-height: none !important;
}

/* The reading area must not occupy only half of a card after its
   featured image has been moved into normal document flow. */
.site-main article .entry-header,
.site-main article .entry-content,
.site-main article .entry-summary,
.site-main article .entry-footer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Common WordPress featured-media containers. No alternating-card
   selectors, negative ordering, or absolute positioning. */
.site-main article :is(
    .post-thumbnail, .entry-thumbnail, .featured-image,
    .featured-media, .post-image, .entry-image,
    .wp-block-post-featured-image, .post-featured-image,
    .entry-media, .post-media
) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* Only links and pictures belonging to featured media. */
.site-main article :is(
    .post-thumbnail, .entry-thumbnail, .featured-image,
    .featured-media, .post-image, .entry-image,
    .wp-block-post-featured-image, .post-featured-image,
    .entry-media, .post-media
) :is(a, picture) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    position: relative !important;
    overflow: visible !important;
}

/* Restore the actual featured image, not every image in the review. */
.site-main article :is(
    .post-thumbnail, .entry-thumbnail, .featured-image,
    .featured-media, .post-image, .entry-image,
    .wp-block-post-featured-image, .post-featured-image,
    .entry-media, .post-media
) img,
.site-main article img.wp-post-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
}

/* Preserve the existing desktop image-height preference. */
@media screen and (min-width: 769px) {
    .site-main article :is(
        .post-thumbnail, .entry-thumbnail, .featured-image,
        .featured-media, .post-image, .entry-image,
        .wp-block-post-featured-image, .post-featured-image,
        .entry-media, .post-media
    ) img,
    .site-main article img.wp-post-image {
        max-height: 390px !important;
    }
}

/* Phone images remain uncapped. */
@media screen and (max-width: 768px) {
    .site-main article :is(
        .post-thumbnail, .entry-thumbnail, .featured-image,
        .featured-media, .post-image, .entry-image,
        .wp-block-post-featured-image, .post-featured-image,
        .entry-media, .post-media
    ) img,
    .site-main article img.wp-post-image {
        max-height: none !important;
    }
}

/* =========================================================
   HEADER ARTWORK — VISIBLE, SEPARATE FROM THE 10K LOGO
   ========================================================= */

/* Restore the actual custom-header media. Never replace its source. */
.site-header :is(.custom-header, .custom-header-media,
    .wp-custom-header, #wp-custom-header, .header-image),
:is(.custom-header, .custom-header-media, .wp-custom-header,
    #wp-custom-header, .header-image) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

:is(.custom-header-media, .wp-custom-header, #wp-custom-header,
    .header-image) img,
img.header-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media screen and (min-width: 769px) {
    :is(.custom-header-media, .wp-custom-header, #wp-custom-header,
        .header-image) {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
        overflow: hidden !important;
    }
    :is(.custom-header-media, .wp-custom-header, #wp-custom-header,
        .header-image) img,
    img.header-image {
        height: 240px !important;
        max-height: 240px !important;
        object-fit: cover !important;
    }
}

/* 10K logo: smaller, uncropped, and never hidden. */
html body .site .custom-logo-link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    overflow: visible !important;
    text-align: center !important;
}

html body .site .custom-logo-link img.custom-logo,
html body .site img.custom-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: min(92%, 1050px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media screen and (max-width: 768px) {
    html body .site .custom-logo-link img.custom-logo,
    html body .site img.custom-logo {
        max-width: 94% !important;
    }
}