/**
 * IB Editorial Sidebar Widgets — 1.0.65
 * Five configurable magazine layouts for the universal material sidebar.
 */

body.ib-et .ib-editorial-posts-widget{
    --ib-sidebar-widget-media:78px;
    overflow:visible;
}
body.ib-et .ib-editorial-posts-widget__list{
    display:grid;
    gap:0;
}
body.ib-et .ib-editorial-posts-widget__item{
    position:relative;
    display:grid;
    min-width:0;
    padding:17px 0;
    border-top:1px solid var(--ib-border,#d8d8d8);
}
body.ib-et .ib-editorial-posts-widget__item:first-child{
    border-top:0;
    padding-top:0;
}
body.ib-et .ib-editorial-posts-widget__content{
    min-width:0;
}
body.ib-et .ib-editorial-posts-widget__headline{
    margin:0;
    font-family:var(--ib-widget-item-font,var(--ib-card-font,var(--ib-serif,Georgia,serif)));
    font-size:var(--ib-widget-item-size,21px);
    font-weight:var(--ib-widget-item-weight,500);
    line-height:var(--ib-widget-item-line-height,1.14);
    letter-spacing:var(--ib-widget-item-letter-spacing,-.02em);
    text-transform:var(--ib-widget-item-transform,none);
    color:var(--ib-widget-item-color,var(--ib-text,#080808));
    text-wrap:pretty;
}
body.ib-et .ib-editorial-posts-widget__headline a{
    color:inherit;
    text-decoration:none;
}
body.ib-et .ib-editorial-posts-widget__meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin:0 0 7px;
    font-family:var(--ib-widget-meta-font,var(--ib-meta-font,var(--ib-sans,Arial,sans-serif)));
    font-size:var(--ib-widget-meta-size,9px);
    font-weight:var(--ib-widget-meta-weight,700);
    line-height:var(--ib-widget-meta-line-height,1.25);
    letter-spacing:var(--ib-widget-meta-letter-spacing,.12em);
    text-transform:var(--ib-widget-meta-transform,uppercase);
    color:var(--ib-widget-meta-color,var(--ib-muted,#686868));
}
body.ib-et .ib-editorial-posts-widget__meta i{
    display:block;
    width:1px;
    height:10px;
    background:currentColor;
    opacity:.4;
}
body.ib-et .ib-editorial-posts-widget__details{
    display:block;
    margin-top:8px;
    font-family:var(--ib-widget-meta-font,var(--ib-meta-font,var(--ib-sans,Arial,sans-serif)));
    font-size:var(--ib-widget-meta-size,9px);
    font-weight:var(--ib-widget-meta-weight,700);
    line-height:var(--ib-widget-meta-line-height,1.25);
    letter-spacing:var(--ib-widget-meta-letter-spacing,.12em);
    text-transform:var(--ib-widget-meta-transform,uppercase);
    color:var(--ib-widget-meta-color,var(--ib-muted,#686868));
}
body.ib-et .ib-editorial-posts-widget__excerpt{
    margin:9px 0 0;
    font-family:var(--ib-widget-text-font,var(--ib-body-font,var(--ib-sans,Arial,sans-serif)));
    font-size:var(--ib-widget-text-size,12px);
    font-weight:var(--ib-widget-text-weight,400);
    line-height:var(--ib-widget-text-line-height,1.55);
    letter-spacing:var(--ib-widget-text-letter-spacing,0em);
    text-transform:var(--ib-widget-text-transform,none);
    color:var(--ib-widget-text-color,var(--ib-muted,#525252));
}
body.ib-et .ib-editorial-posts-widget__media{
    position:relative;
    display:block;
    overflow:hidden;
    background:#ededed;
    color:#fff;
    text-decoration:none;
}
body.ib-et .ib-editorial-posts-widget__media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}
body.ib-et .ib-editorial-posts-widget__item:hover .ib-editorial-posts-widget__media img{
    transform:scale(1.035);
}
body.ib-et .ib-editorial-posts-widget__media-placeholder{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    background:#0a0a0a;
    font-family:var(--ib-display,var(--ib-serif,Georgia,serif));
    font-size:20px;
    letter-spacing:-.04em;
}

/* Text Minimal. */
body.ib-et .ib-editorial-posts-widget--text .ib-editorial-posts-widget__item{
    display:block;
}

/* Numbered Popular. */
body.ib-et .ib-editorial-posts-widget--numbered .ib-editorial-posts-widget__item{
    grid-template-columns:54px minmax(0,1fr);
    gap:15px;
    align-items:start;
}
body.ib-et .ib-editorial-posts-widget__number{
    display:block;
    margin-top:-5px;
    font-family:var(--ib-display,var(--ib-serif,Georgia,serif));
    font-size:42px;
    font-weight:400;
    line-height:1;
    letter-spacing:-.065em;
    color:var(--ib-text,#080808);
}

/* Portrait Circles. */
body.ib-et .ib-editorial-posts-widget--circles .ib-editorial-posts-widget__item{
    grid-template-columns:var(--ib-sidebar-widget-media) minmax(0,1fr);
    gap:15px;
    align-items:center;
}
body.ib-et .ib-editorial-posts-widget--circles .ib-editorial-posts-widget__media{
    width:var(--ib-sidebar-widget-media);
    height:var(--ib-sidebar-widget-media);
    border-radius:50%;
}

/* Editorial Thumbnail. */
body.ib-et .ib-editorial-posts-widget--thumbnail .ib-editorial-posts-widget__item{
    grid-template-columns:96px minmax(0,1fr);
    gap:16px;
    align-items:start;
}
body.ib-et .ib-editorial-posts-widget--thumbnail .ib-editorial-posts-widget__media{
    width:96px;
    aspect-ratio:4/3;
}

/* Featured Mix. */
body.ib-et .ib-editorial-posts-widget--featured .ib-editorial-posts-widget__item{
    display:block;
}
body.ib-et .ib-editorial-posts-widget--featured .ib-editorial-posts-widget__item--featured{
    padding-bottom:22px;
}
body.ib-et .ib-editorial-posts-widget--featured .ib-editorial-posts-widget__item--featured .ib-editorial-posts-widget__media{
    width:100%;
    aspect-ratio:4/3;
    margin-bottom:15px;
}
body.ib-et .ib-editorial-posts-widget--featured .ib-editorial-posts-widget__item--featured .ib-editorial-posts-widget__headline{
    font-size:calc(var(--ib-widget-item-size,21px) + 6px);
    line-height:1.08;
}

@media(max-width:1100px){
    body.ib-et .ib-editorial-widget-sidebar{
        width:min(100%,980px)!important;
    }
    body.ib-et .ib-editorial-widget-sidebar__sticky{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:36px;
    }
    body.ib-et .ib-editorial-sidebar-widget{
        margin-bottom:0;
    }
}

@media(max-width:700px){
    body.ib-et .ib-editorial-posts-widget__headline{
        font-size:var(--ib-widget-item-mobile-size,19px);
    }
    body.ib-et .ib-editorial-posts-widget__meta,
    body.ib-et .ib-editorial-posts-widget__details{
        font-size:var(--ib-widget-meta-mobile-size,9px);
    }
    body.ib-et .ib-editorial-posts-widget__excerpt{
        font-size:var(--ib-widget-text-mobile-size,12px);
    }
    body.ib-et .ib-editorial-posts-widget--featured .ib-editorial-posts-widget__item--featured .ib-editorial-posts-widget__headline{
        font-size:calc(var(--ib-widget-item-mobile-size,19px) + 5px);
    }
    body.ib-et .ib-editorial-widget-sidebar__sticky{
        grid-template-columns:1fr;
        gap:32px;
    }
    body.ib-et .ib-editorial-posts-widget{
        --ib-sidebar-widget-media:72px;
    }
    body.ib-et .ib-editorial-posts-widget--thumbnail .ib-editorial-posts-widget__item{
        grid-template-columns:88px minmax(0,1fr);
        gap:14px;
    }
    body.ib-et .ib-editorial-posts-widget--thumbnail .ib-editorial-posts-widget__media{
        width:88px;
    }
}
