/* yousay.tv restore layer: replaces the theme JS behaviours that cannot run statically */

.jeg-skip{position:absolute;left:-9999px;top:0;z-index:100000;background:#3667ff;color:#fff;padding:12px 20px;font-weight:600}
.jeg-skip:focus{left:0}

/* de-linked labels keep the original look but are inert */
.jeg-delinked{cursor:default}
a.jeg-delinked,span.jeg-delinked{text-decoration:none}

/* never leave a collapsed thumbnail as an empty hole */
.no_thumbnail .jeg_thumb,.thumbnail-container.no_thumbnail,.jeg-nothumb-inner{display:none!important}
.jeg_postblock .no_thumbnail .jeg_postblock_content,
.jeg_pl_md_card.no_thumbnail .jeg_postblock_content,
.jeg_pl_sm.no_thumbnail .jeg_postblock_content,
.jeg_pl_xs_3.no_thumbnail .jeg_postblock_content{margin-left:0!important;padding-left:0!important}
.jeg_hero_item_1.no_thumbnail,.jeg_heroblock_wrapper article.no_thumbnail{min-height:0!important;height:auto!important;background:none!important}
.jeg_hero_wrapper article.no_thumbnail .jeg_postblock_content{position:static!important;padding:18px 20px!important;background:#f5f6f7;color:#111}
.jeg_hero_wrapper article.no_thumbnail .jeg_post_title a,
.jeg_hero_wrapper article.no_thumbnail .jeg_post_meta,
.jeg_hero_wrapper article.no_thumbnail .jeg_post_meta a,
.jeg_hero_wrapper article.no_thumbnail .jeg_meta_author a{color:#111!important;text-shadow:none!important}
.jeg_heroblock_wrapper article.no_thumbnail:after,.jeg_hero_wrapper article.no_thumbnail:before{display:none!important}
.jeg_postblock .jeg_thumb:empty,.thumbnail-container:empty{display:none!important}

/* mobile off-canvas menu (theme JS is not loaded) */
#jeg_off_canvas{position:fixed;inset:0;z-index:9999;visibility:hidden;pointer-events:none}
#jeg_off_canvas.is-open{visibility:visible;pointer-events:auto}
#jeg_off_canvas .jeg_bg_overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);opacity:0;transition:opacity .25s}
#jeg_off_canvas.is-open .jeg_bg_overlay{opacity:1}
#jeg_off_canvas .jeg_mobile_wrapper{position:fixed;top:0;left:0;bottom:0;width:86%;max-width:330px;background:#fff!important;
  transform:translateX(-102%);opacity:0!important;transition:transform .28s ease,opacity .2s ease;
  overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 0 40px;visibility:visible!important}
#jeg_off_canvas.is-open .jeg_mobile_wrapper{transform:none!important;opacity:1!important}
#jeg_off_canvas .nav_wrap,#jeg_off_canvas .item_main{opacity:1!important;visibility:visible!important;transform:none!important}
#jeg_off_canvas .jeg_menu_close{position:fixed;top:10px;right:12px;width:46px;height:46px;line-height:46px;text-align:center;
  color:#fff;font-size:24px;background:rgba(0,0,0,.45);border-radius:50%;z-index:3}
#jeg_off_canvas .jeg_mobile_menu li a{display:block;padding:13px 22px;min-height:46px;font-size:16px;line-height:22px}
#jeg_off_canvas .jeg_mobile_menu .sub-menu{display:block;padding-left:14px}
#jeg_off_canvas .jeg_mobile_menu .sub-menu a{font-size:15px;padding:11px 22px}
#jeg_off_canvas .jeg_mobile_menu>li>a:not([href]){color:#4a4a4a;font-weight:700}
body.jeg-nav-open{overflow:hidden}
.jeg_mobile_toggle{min-width:46px;min-height:46px;display:inline-flex!important;align-items:center;justify-content:center}

/* desktop dropdown without superfish */
.jeg_main_menu li{position:relative}
.jeg_main_menu li>.sub-menu{display:none;position:absolute;top:100%;left:0;min-width:230px;background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.16);z-index:1200;padding:6px 0;margin:0;list-style:none}
.jeg_main_menu li:hover>.sub-menu,.jeg_main_menu li.is-open>.sub-menu{display:block}
.jeg_main_menu li>.sub-menu>li>a{display:block;padding:10px 18px;white-space:nowrap;color:#212121}
.jeg_main_menu li>.sub-menu>li>a:hover{background:#f5f6f7}
.jeg_main_menu>li>a:not([href]){cursor:default}

/* video carousel (slick is not loaded) */
.videoswiper{position:relative;display:block;overflow:hidden;padding:0 46px}
.videoswiper .ys-track{display:flex;gap:16px;transition:transform .35s ease;will-change:transform}
.videoswiper .swiper-slide{flex:0 0 auto;width:260px}
.videoswiper .swiper-card,.videoswiper .card-img{position:relative}
.videoswiper .card-img a{display:block;position:relative}
.videoswiper video{width:100%;height:auto;display:block;background:#111;border-radius:10px}
.videoswiper button.active{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;
  border:0;border-radius:50%;background:rgba(0,0,0,.45);cursor:pointer;padding:0;z-index:2}
.videoswiper button.active img{width:34px;height:34px;display:block;margin:0 auto}
.videoswiper button.active.is-hidden{display:none}
.ys-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;
  background:#3667ff;color:#fff;font-size:22px;line-height:44px;cursor:pointer;z-index:5;padding:0}
.ys-nav[disabled]{opacity:.35;cursor:default}
.ys-prev{left:0}.ys-next{right:0}
.ys-dots{display:flex;gap:8px;justify-content:center;margin:16px 0 0;padding:0;list-style:none}
.ys-dots button{width:12px;height:12px;padding:0;border:0;border-radius:50%;background:#c7ccd4;cursor:pointer}
.ys-dots button[aria-current="true"]{background:#3667ff}
.videoswiper.hidden-xs{display:block}

/* app-store badge row */
.playstore-appstore-block img{height:44px;width:auto;max-width:100%}

/* no empty voids left by removed media */
.wpb_raw_code:empty,.wpb_text_column:empty,.wpb_wrapper:empty,.jeg_ad:empty,
.vc_empty_space,.jeg_block_container:empty,.jeg_postblock:empty{display:none!important}

@media (max-width:768px){
  body{font-size:16px}
  .videoswiper{padding:0 40px}
  .videoswiper .swiper-slide{width:210px}
  .jeg_footer .footer_column,.jeg_footer .jeg_footer_content{text-align:center}
  img,video,iframe,table{max-width:100%}
}
html,body{overflow-x:clip}
img{max-width:100%;height:auto}
.jeg_post_tags span.jeg-delinked{display:inline-block}

/* hero mosaic without background art -> plain responsive grid */
.ys-hero-flat{display:grid!important;grid-template-columns:repeat(2,1fr);gap:12px;height:auto!important;
  margin:0!important;position:static!important}
.ys-hero-flat article{position:static!important;left:auto!important;top:auto!important;width:auto!important;
  height:auto!important;padding:0!important;transform:none!important;min-height:0!important}
.ys-hero-flat .jeg_block_container{height:auto!important;position:static!important}
.ys-hero-flat .jeg_postblock_content{position:static!important;background:#f5f6f7;padding:20px!important}
@media (max-width:680px){.ys-hero-flat{grid-template-columns:1fr}}

/* text wordmark standing in for the header logo bitmap (never archived) */
.site-title{margin:0;line-height:1}
.ys-wordmark{display:inline-block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:700;
  font-size:28px;line-height:1.1;letter-spacing:-.02em;color:#111;white-space:nowrap}
.jeg_mobile_logo .ys-wordmark,.jeg_header_sticky .ys-wordmark{font-size:21px}
h1.site-title .ys-wordmark{font-size:32px}
@media (max-width:768px){.ys-wordmark,h1.site-title .ys-wordmark{font-size:20px}}

/* hero: let the flattened grid size itself instead of keeping the mosaic height */
.jeg_hero_wrapper:has(.ys-hero-flat){height:auto!important;min-height:0!important;align-items:flex-start}
.ys-hero-flat{align-items:start}
.ys-hero-flat .jeg_heroblock_scroller{height:auto!important;position:static!important;display:grid;gap:12px}
.ys-hero-flat .jeg_heroblock_scroller article{position:static!important;height:auto!important;width:auto!important;padding:0!important}

/* any post card that lost its thumbnail must not keep the reserved gutter */
.no_thumbnail .jeg_postblock_content,
.no_thumbnail .jeg_post_info{margin-left:0!important;padding-left:0!important}
article.no_thumbnail{padding-left:0!important}

/* overlay-style cards (jeg_pl_md_box / jeg_pl_lg_*) read as grey slabs without their art */
article.no_thumbnail.jeg_pl_md_box,
article.no_thumbnail[class*="jeg_pl_lg"],
article.no_thumbnail[class*="jeg_pl_md_card"]{background:#f5f6f7!important;min-height:0!important}
article.no_thumbnail.jeg_pl_md_box .jeg_postblock_content,
article.no_thumbnail[class*="jeg_pl_lg"] .jeg_postblock_content{position:static!important;background:none!important;
  padding:18px 20px!important;height:auto!important}
article.no_thumbnail.jeg_pl_md_box .jeg_post_title a,
article.no_thumbnail.jeg_pl_md_box .jeg_post_meta,
article.no_thumbnail.jeg_pl_md_box .jeg_post_meta a,
article.no_thumbnail.jeg_pl_md_box .jeg_post_meta *,
article.no_thumbnail[class*="jeg_pl_lg"] .jeg_post_title a,
article.no_thumbnail[class*="jeg_pl_lg"] .jeg_post_meta,
article.no_thumbnail[class*="jeg_pl_lg"] .jeg_post_meta *{color:#111!important;text-shadow:none!important}
article.no_thumbnail:before,article.no_thumbnail:after{background:none!important;content:none!important}

/* keep the video tiles from shifting while metadata loads */
.videoswiper video{aspect-ratio:9/16;object-fit:cover}
.videoswiper .ys-track{align-items:flex-start}

/* theme uses negative gutters on post rows; keep them inside the column */
.jeg_posts_wrap,.jeg_postblock_content,.jeg_block_container{overflow-x:clip}

/* mobile readability floor: the theme's 10-13px meta labels are unreadable on a phone */
@media (max-width:768px){
  .jeg_meta_date,.jeg_meta_author,.jeg_post_meta,.jeg_post_meta *,
  .by,.share_count,.share-text,.share-count,.copyright,.page_number,
  .jeg_pagination,.jeg_pagination *{font-size:14px!important;line-height:1.5!important}
  .jeg_pagination .page_number{min-width:44px;min-height:44px;line-height:44px!important;padding:0 8px}
  .jeg_pagination a,.jeg_pagination span{display:inline-block}
}

/* dark header/mobile bars need a light wordmark */
.jeg_container.dark .ys-wordmark,.jeg_nav_dark .ys-wordmark,
.jeg_navbar_mobile .jeg_container.dark .ys-wordmark,
.jeg_mobile_bottombar.dark .ys-wordmark,.jeg_footer .ys-wordmark{color:#fff}
.downloadAppicon img{width:60px;height:60px;object-fit:contain}

/* off-canvas close control must sit above the scrim and stay tappable */
#jeg_off_canvas .jeg_menu_close{z-index:10001!important;pointer-events:auto!important;opacity:1!important;
  visibility:visible!important;display:block!important;transform:none!important}
#jeg_off_canvas .jeg_bg_overlay{z-index:1;background:rgba(0,0,0,.6)!important;visibility:visible!important;display:block!important}
#jeg_off_canvas .jeg_mobile_wrapper{z-index:2}
