/* Instyle Theme */

@import url('/wp-content/themes/fox/css56/single-below.css?ver=0.01');
@import url('/wp-content/themes/fox/css56/single-above.css?ver=0.01');

.instyle_ads_item {
    width: max-content;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.instyle_ads_item + *,
#wi-main > .instyle_ads_item:first-child,
.instyle_ads_item + .instyle-single-ads-layout {
    margin-top: 1.6rem;
}

.instyle-single-ads-layout {
    max-width: calc( var(--narrow-width) + 420px + 2rem);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
}
.instyle-single-ads-layout > * {
    flex:1;
}
.instyle-single-ads-layout > .left-ads-bar,
.instyle-single-ads-layout > .right-ads-bar {
    flex:auto;
    max-width: 160px;
}
.instyle-single-ads-layout > :is(div,article) > .container {
    width: auto;
}
.instyle-single-ads-layout > [class*="-ads-bar"] > .instyle_ads_item {
    position: sticky;
    z-index: 10;
    top: 60px;
}

.instyle_ads_item a.edit-post-link {
    position: absolute;
    z-index: 5;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.1;
    padding: 1rem 1.2rem;
    background-color: rgba(0,0,0,.7);
    border-radius: .7rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    inset:.5rem .5rem auto auto;
}
.instyle_ads_item a.edit-post-link:hover {
    background-color: rgba(0,0,0,1);;
}

.footer-sticky-ads {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10001;
}

.archive-bottom-ads {
    padding: 1.6rem 0;
}

.sipa-content.sidedock56__content > .sidedock56__post {
    position: relative;
    z-index: 1;
}
.sipa-content.sidedock56__content > .sidedock56__post a._go {
    position: absolute;
    z-index: 5;
    inset: 0;
    margin: 0 !important;
    font-size: 0;
}
.sipa-content.sidedock56__content > .sidedock56__post ~ .sidedock56__post {
    margin-top: 1.6rem;
}
.sipa-content.sidedock56__content > .sidedock56__post {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}
.sipa-content.sidedock56__content > .sidedock56__post > * {
    flex:2;
}
.sipa-content.sidedock56__content > .sidedock56__post > picture {
    flex:1;
    max-width: max-content;
}
.sipa-content.sidedock56__content > .sidedock56__post > picture img {
    width: 90px;
    height: 90px;
    object-position: center;
    object-fit: cover;
}
.sipa-content.sidedock56__content > .sidedock56__post > a.edit-post-link {
    min-width: 100%;
    flex: auto;
}
.sipa-content.sidedock56__content > .sidedock56__post .excerpt56 {
    display: -webkit-box;             
    -webkit-line-clamp: 4;            
    -webkit-box-orient: vertical;      
    overflow: hidden;                 
    text-overflow: ellipsis;           
}

@media screen and (min-width:969px) {
    :root {
      --narrow-width: 728px !important;
    }
    body.single,
    body.single #wi-main {
        overflow: unset !important;
    }
    
}
@media screen and (max-width:968px) {
    .footer-sticky-ads ~ .scrollup__placeholder > .scrollup56 {
        bottom: 80px;
        z-index: 10010;
    }
}