#feature_story_slider{
    position: relative;
    width: 100%; 
    height: 200px;
    background: var(--text-color);

}


.story_item {
    height: 200px;
    position: relative;
    
}


.story_item .img_wrapper{
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover!important; 
    background-position: center!important; 
}



.story_item .background_layer{
    position: absolute;
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
    background: #252525;
background: linear-gradient(0deg,rgba(37, 37, 37, 0.61) 0%, rgba(37, 37, 37, 0) 68%);
}

.story_item .text_wrapper{
    position: absolute; 
    bottom: 10px; left: 10px; 
    width: calc(100% - 20px);
}

.story_item .text_wrapper p{
    color: white;
}


#feed_console{
    color: var(--text-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px;
    align-items: stretch;
    
}

.logged_in #feed_console{
    grid-template-columns:  1fr 2fr;
}

@media(max-width: 779px){

    #feed_console{
        grid-template-columns:  1fr;
    }

    .logged_in #feed_console > div:nth-child(2){
        grid-column: 1/3;
        grid-row: 2/3;
    }
    .logged_in #feed_console > div:nth-child(3){
        grid-column: 2/3;
        grid-row: 1/2;
    }
}

@media(min-width: 780px){

    #feed_console{
        color: var(--text-color);
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 10px;
        margin: 10px;
        align-items: stretch;
        
    }
    .logged_in #feed_console{
        grid-template-columns: 250px 1fr 280px;
    }

    
}


    #feed_console a.close{
        padding: 10px; 
        border-radius: 50%; 
        width: 13px; height: 13px; 
        text-align: center;
        position: relative;
        
    }

    #head_search_panel{
        gap: 10px; 
        display: grid;
        grid-template-columns: 1fr 40px;
    }

    #feed_console a.close span{
        display: inline-block;
        left: initial;
        font-size: initial; 
        line-height: 1em; 
        margin-left: initial;
        position: initial;
        
        transform: translateY(-2px);
    }

#feed_console > div{
    padding: 10px; 
    background: white;
    border-radius: 10px; 
    
}

.logged_in #feed_console input[type='text']{
    font-size: 13px; 
}

.dark #feed_console > div{
    background: var(--dark-grey);
}


.dark #feed_console, .dark #feed_console p{
    color: white;
}

#feed_console input{

    padding: 7px; border: 1px solid rgba(125,125,125,0.5);
    border-radius: 15px;
    background: transparent;
    outline: none;
    width: calc(100% - 16px);

}

.dark #feed_console input{
    color: var(--light-grey);
}

.post_content > div.user_post_content_field{
    display: grid; 
    grid-template-columns: 30px 1fr;
    gap: 5px;
}

.post_content > div.user_post_content_field .avatar{
    width: 30px; height: 30px; 
    border-radius: 50%;
    background: url(../images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover !important;
    background-position: center !important;
}

#feed_wrapper{
    min-height: 100vh;
    width: calc(100% - 20px); 
    margin: 10px;
    display: block;
    position: relative;

}

#feed_wrapper .feed_item{
    border-radius: 10px; 
    overflow: hidden;
    display: block;
    width: calc(100%); /* This is the percentage width */
    margin-bottom: 10px; /* Optional */
    margin-right: 10px;
}

#feed_wrapper .feed_item .transition{
    background: white; 
    border-radius: 10px; 
    overflow: hidden;
    transform: translateY(100px);
    opacity: 0;
    transition-duration: 1s;

}

@media(min-width: 500px){
    #feed_wrapper{width: calc(100% - 10px);}
    #feed_wrapper .feed_item{width: calc(50% - 10px); } 
}

@media(min-width: 800px){
    #feed_wrapper .feed_item{width: calc(33.33% - 10px);} 
    #feed_wrapper .feed_item.wide_item{width: calc(66.66% - 10px);}
}

@media(min-width: 1100px){
    #feed_wrapper .feed_item{width: calc(25% - 10px);} 
    #feed_wrapper .feed_item.wide_item{width: calc(50% - 10px);}
    
}

@media(min-width: 1400px){
    #feed_wrapper .feed_item{width: calc(20% - 10px);} 
    #feed_wrapper .feed_item.wide_item{width: calc(40% - 10px);}
}

@media(min-width: 1800px){
    #feed_wrapper .feed_item{width: calc(16.66% - 10px);} 
    #feed_wrapper .feed_item.wide_item{width: calc(33.33% - 10px);}
}

@media(min-width: 2100px){
    #feed_wrapper .feed_item{width: calc(14.285% - 10px);} 
    #feed_wrapper .feed_item.wide_item{width: calc(28.57% - 10px);}
}

.dark #feed_wrapper .feed_item .transition{
    background: var(--dark-grey);
}


#feed_wrapper .feed_item .transition.active{
    
    transform: translateY(0);
    opacity: 1;
}

#feed_wrapper .feed_item img {
    width: 100%;
}

#feed_wrapper .feed_item .text_wrapper{
    padding: 5px 10px; 
}

#feed_wrapper .feed_item .feed_block{
    padding: 5px; margin: 0 5px;
    border-bottom: 1px solid var(--text-color);
}

.dark #feed_wrapper .feed_item .feed_block{
    border-bottom: 1px solid var(--light-grey);
}

#feed_wrapper .feed_item .feed_block .feed_block_grid{
    display: grid; 
    grid-template-columns: 25px 1fr;
    align-items: top;
    grid-gap: 10px;
}

#feed_wrapper .feed_item .feed_block .feed_block_grid .user_avatar{
    width: 25px;
    height: 25px;
    background: url(../images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
}


#feed_wrapper .feed_item h3{
    font-size: 16px; padding: 0; margin: 0; font-weight: 700; line-height: 1em;
}

#feed_wrapper .feed_item p.date{
    font-size: 9px; padding: 0; margin: 0;
}

#feed_wrapper .feed_item p{
    font-size: 11px; 
}

#feed_wrapper .feed_item p.item_nav{
    padding-top: 0.5em;
}

#feed_wrapper .feed_item .social_bar{
    width: 100%;
    border-top: 1px solid var(--light-grey);

}

#feed_wrapper .feed_item .social_bar .social_grid{
    padding: 5px; 
    display: grid; 
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-gap: 10px;
    color: var(--dark-grey);
}

.dark #feed_wrapper .feed_item .social_bar .social_grid{color: var(--light-grey);}

#feed_wrapper .feed_item .social_bar .social_grid span{font-size: 14px;}

#feed_wrapper .feed_item .social_bar .social_grid .material-symbols-outlined{transform: translateY(4px); font-size: 16px; cursor: pointer;}

.dashboard_wrapper #single_feed_wrapper{
    position: fixed;
    top: 60px; right: -100%;
    width: 100%;
    height: calc(100vh - 90px); 
    background: white;
    transition-duration: 0.6s;
}

.dark .dashboard_wrapper #single_feed_wrapper{
    
}

.dashboard_wrapper.show_content #single_feed_wrapper{
    width: 100%;
    right: 0;
}

.dashboard_wrapper #single_feed_wrapper .mask{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%; 
    background: #151515;
    transition-duration: 0.6s;
}

.dashboard_wrapper.show_content #single_feed_wrapper .mask{transition-delay: 0.6s; width: 0%;}

.dashboard_wrapper #single_feed_wrapper .content_comment_grid{
    
    height: 100%; 
    display: grid; 
    position: relative;
    
    
}

.logged_in .dashboard_wrapper #single_feed_wrapper .content_comment_grid{
    width: calc(100% - 50px); 
    padding-left: 50px;
}

.comment_panel{
    display: grid;
    grid-template-rows:  1fr 50px;
    height: 100%;
    background: white;
}

.comment_panel .panel_form{display: none; position: relative;}

.comment_panel.is_loggedin{
    grid-template-rows:  1fr 120px 50px;
}

.comment_panel.is_loggedin .panel_form{display: block;}

.dark .comment_panel{
    background: var(--dark-grey2);
}

.comment_panel .comment_foot{
    padding: 10px;
    background: linear-gradient(180deg,rgba(230, 230, 230, 0.5)  0%, rgba(230, 230, 230, 0) 19%);

    color: white;
    height: 30px;
    overflow: hidden;
    position: relative;
}

.comment_panel .comment_foot .foot_grid{
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr;
    padding-top: 5px;

}

.comment_panel .comment_foot .foot_grid span{display: inline-block;}

.comment_panel .comment_foot .foot_grid span.stat{
    transform: translateY(-8px);
    padding: 0; margin: 0 0 0 5px;
    position: relative;
}

.comment_panel .comment_foot .foot_grid span.stat.favorites{text-decoration: underline; cursor: pointer;}


.comment_panel .comment_foot .foot_grid p{line-height: 1em;}


.comment_panel .comment_foot span{color: var(--text-color);}

.comment_panel .comment_foot .foot_grid .favorite_heart{width: 24px; height: 24px; }

.favorite_heart{
    display: inline-block; 
    background: url(../images/icons/favourite-line-dark.svg) no-repeat;
    background-size: cover; 
    background-position: center;
}

.social_bar .favorite_heart{
    width: 16px; height: 16px;
    display: inline-block; 
    line-height: 1em;
    transform: translateY(4px);
    font-size: 16px;
    cursor: pointer;
}

.dark .favorite_heart{
    display: inline-block; 
    background: url(../images/icons/favourite-line-light.svg) no-repeat;
    background-size: cover; 
    background-position: center;
}

.favorite_heart.liked{
    display: inline-block; 
    background: url(../images/icons/favourite-full-dark.svg) no-repeat;
    background-size: cover; 
    background-position: center;
}

.dark .favorite_heart.liked{
    display: inline-block; 
    background: url(../images/icons/favourite-full-light.svg) no-repeat;
    background-size: cover; 
    background-position: center;
}

.comment_panel .comment_foot .close{
    cursor: pointer;
    transition-duration: 0.25s;
}
.comment_panel .comment_foot .close:hover{
    transform: scale(1.2);
}

.dashboard_wrapper #single_feed_wrapper .content_comment_grid > div:nth-child(1){
    background: #e1e1e1;
}

#single_feed_content{
    position: relative; 
    width: 100%; 
    height: 100%; 
    
}

.comment_panel .panel_body{
    height: calc(100vh - 140px);
    background: linear-gradient(to top, rgba(230, 230, 230, 0.5) 0%, rgba(230, 230, 230, 0) 5%);
}

.comment_panel.is_loggedin .panel_body{height: calc(100vh - 260px);}

.dark .comment_panel .panel_body{
    background: linear-gradient(to top, rgba(51, 51, 51, 0.5) 0%, rgba(51, 51, 51, 0) 5%);
}

.dark .comment_panel .comment_foot{
    background: linear-gradient(180deg,rgba(51, 51, 51, 0.5)  0%, rgba(51, 51, 51, 0) 19%);
}

.dark .comment_panel .comment_foot span{color: var(--light-grey);}

.message_box{
    padding: 10px 0 0 0;
    display: grid
;
    grid-template-columns: 40px 1fr;
    grid-gap: 10px;
    width: 100%;
    max-width: 320px;
}


.panel_content_wrapper .thread_wrapper{padding: 5px; width: 100%; max-width: 340px; 
    overflow: hidden; }

#comment_panel .thread_wrapper{padding: 0 5px; width: calc(100% - 30px); max-width: 340px; overflow: hidden; }

.panel_content_wrapper .thread_wrapper p{font-size: 14px; }

textarea.comment_field{
    width: 100%;  
    height: 60px;  
    border: none;  
    background: transparent;  
    color: #151515;  
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;  
    font-size: 14px;  
    padding: 10px;  
    resize: none;  
    outline: none;  
    overflow: hidden;  /* Prevents scrollbar shift */
    overflow-y: auto;  /* Enables vertical scrolling */
    word-wrap: break-word; /* Ensures long words don't shift layout */
    white-space: pre-wrap; /* Preserves line breaks */
}

.dark textarea.comment_field{
    color: #CCC;
}


body .message_nav{
    padding: 0 10px;
    align-items: center; 
}

body .message_nav a{
    color: #999;
    font-size: 18px; 
    text-decoration: none;
    transition-duration: 0.25s;
}

body .message_nav a:hover{
    transform: scale(1.1);
    color: #151515;
}

body .message_nav a:hover{
    transform: scale(1.1);
    color: white;
}

body .message_box{
    padding: 10px 0 0 0;
    display: grid; 
    grid-template-columns: 40px 1fr;
    grid-gap: 5px; 
    width: 100%; 
    max-width: 320px;


}

body .message_box.is_mine{
    grid-template-columns: 1fr 40px;
}

body .message_box.is_mine > div:nth-child(1){
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

body .message_box.is_mine > div:nth-child(2){
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

body .message_box a .avatar{
    transform: translateY(5px);
    width: 40px; height: 40px; 
    border-radius: 50%; 
    background: url(../images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover!important; 
    background-position: center!important; 
    transition-duration: 0.25s;
}

body .message_box a:hover .avatar{
    transform: translateY(5px) scale(1.2);
}

body .message_box .very_small{font-size: 11px!important; font-weight: bold;}

body .message_box .very_small a{text-decoration: none;}
body .message_box .very_small a:hover{text-decoration: underline;}

body .message_box .message_bubble{padding: 15px; border-radius: 10px; background: #E1E1E1;}
body.dark .message_box .message_bubble{background: var(--dark-grey);}

body .message_box .post_time{padding: 5px 10px;}

body .message_box .post_time a span{font-size: 14px; transform: translateY(3px); opacity: 0.5; transition-duration: 0.25s;}
body .message_box .post_time a:hover span{transform: translateY(3px) scale(1.2);  opacity: 0.8;}

#article_wrapper{padding: 20px;}
.dark #article_wrapper{background: var(--text-color);}

#video_wrapper{
    width: calc(100%);
    height: 100%; 
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px; 
    overflow: hidden;
}

#video_wrapper span.material-symbols-outlined {
    font-size: 10vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: var(--primary-color);
    opacity: 0.8;
    transition-duration: 0.25s;
    cursor: pointer;
}

#editorial_hero{
    width: calc(100%); 
    display: block; 
    background-size: cover!important; 
    background-position: center!important;
    background: var(--text-color);

}

#editorial_wrapper{
    min-height: 100vh; 
    padding-bottom: 100px;
}

.dark #editorial_wrapper{
    background: var(--text-color);
}

#feed_preview{
    width: calc(100% - 32px); 
    padding: 15px; 
    margin: 0 0 15px 0;
    border: 1px solid var(--light-grey);
    border-radius: 15px;
}

#feed_preview .img_wrapper{
    width: 100%;
    max-width: 300px;
    padding: 10px; 
    min-height: 150px; 
    border: 2px dashed var(--light-grey);
    border-radius: 10px;
    position: relative;
}

#feed_preview .img_wrapper::before{
   content: "add_photo_alternate";
    font-family: 'Material Symbols Outlined';
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

#feed_preview .img_wrapper.error{border: 2px dashed red;}

#feed_preview .img_wrapper img{width: 100%; border-radius: 10px; overflow: hidden; position: relative; z-index: 11; cursor: pointer;}

#feed_preview .text_wrapper{
    padding: 15px; 
    max-width: 300px;
    max-height: 150px; 
    overflow: hidden;
    word-break: break-all;
    
}

.feed_preview_wrapper > div{position: relative; display: block; max-width: 320px;}
.feed_preview_wrapper > div.text_form{display: none;}

.feed_preview_wrapper .close, .feed_preview_wrapper .edit{
    width: 10px; height: 10px; text-align: center; 
    padding: 5px; border-radius: 50%; 
    background: transparent; 
    border: 1px solid var(--light-grey);
    font-size: 10px; 
    position: absolute; 
    top: 0; right: 0; 
}

.feed_preview_wrapper .edit{
    
}

.feed_preview_wrapper .close span, .feed_preview_wrapper .edit span{font-size: 10px; }

#feed_preview .text_wrapper h3{}

#new_feed_wrapper .feed_extra .extra_item, #feed_extra .extra_item{
    padding: 10px; margin: 0 0 10px 0;
    border: 1px solid var(--light-grey); 
    background: white;
    display: grid;
    border-radius: 14px;
}

.dark #new_feed_wrapper .feed_extra .extra_item, .dark #feed_extra .extra_item{background: var(--dark-grey);}

#new_feed_wrapper .feed_extra .extra_item .handle, #feed_extra .extra_item .handle{
    cursor: move;
    background: url(../images/buttons/drag-handle-grey.svg) no-repeat;
    background-size: 30px 30px; 
    background-position: center!important;
}

#new_feed_wrapper .feed_extra .extra_item img, #feed_extra .extra_item img{width: 100%; border-radius: 10px; overflow: hidden; }

.extra_item .form_field{padding: 0!important;}

.extra_item .item_button{
    width: 14px; height: 14px; text-align: center;
    padding: 10px; 
    border-radius: 50%; 
    border: 2px solid var(--light-grey);
    display: block; 
    margin-top: 10px;

}

.extra_item .item_button span.material-symbols-outlined{
    font-size: 14px; 
}

.extra_item .video_preview{
    width: calc(100% - 8px);
    min-height: 100px; 
    border: 4px  dashed var(--light-grey);
    margin-bottom: 10px; 
    border-radius: 10px; 
}

#feed_header_grid .form_field{padding: 0; margin: 0;}

@media(max-width: 679px){
    #comment_mobile{
        position: relative; 
        transform: transformX(-320px);
    }

    .content_comment_grid .comment_panel{
        position: fixed;
        top: 60px; right: 0; 
        height: calc(100vh - 90px);
        width: 300px; 
        transform: translateX(320px);
        transition-duration: 0.25s;
    }

    .content_comment_grid.show_comments .comment_panel{
        transform: translateX(0);
    }
}

@media(min-width: 680px){
    .dashboard_wrapper #single_feed_wrapper .content_comment_grid{
        grid-template-columns: 1fr 300px;
        
        border-radius: 12px;
    }

    #article_wrapper{padding: 40px;}

    #new_feed_wrapper .feed_extra .extra_item, #feed_extra .extra_item{
        grid-template-columns: 40px 300px 1fr 40px;
        grid-gap: 10px;
    }
}

#editorial_hero, #editorial_hero.image_wrapper{
    height: calc(100vh - 90px);
    width: 100%; 
    position: relative;
}

#editorial_hero.contain_image{
    display: flex;
    align-items: center;    /* vertical centering */
    justify-content: center; /* horizontal centering */
    overflow: hidden;
    
    height: calc(100vh - 90px); /* or whatever height you want */
}

#editorial_hero, #editorial_hero.contain_image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px; 
}

#editorial_hero.contain_image .img{
    position: relative; 
    background-size: contain!important;
    background-position: center!important;
}

.no_comments{padding: 1em; font-size: 12px;}

.grid.select_feed_category{
    
    margin-bottom: 1em;
}

@media(min-width: 840px){
    .grid.select_feed_category{grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1em;}
}

.grid.select_feed_category > div > a{
    width: calc(100% - 70px);
    height: 100%;
    
}

.grid.select_feed_category > div > a h3, .grid.select_feed_category > div > a p{
    color: var(--text-color);
    display: block;
}

.dark .grid.select_feed_category > div > a:hover h3, .dark .grid.select_feed_category > div > a:hover p{
    color: var(--light-grey);
}

#extra_wrapper img{
    width: 100%;
    display: block; 
    border-radius: 10px; 
}

#extra_wrapper .extra_wrapper{
    display: block; 
    width: 100%; 
    height: var(100vh - 90px);
}

#extra_wrapper iframe{display: block; }

#extra_wrapper .text_wrapper{
    background: white; 
    color: var(--text-color);
    padding: 10px 30px 30px 30px; margin-bottom: 2em;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.dark #extra_wrapper .text_wrapper{
    background: var(--dark-grey); 
    color: var(--light-grey);
}

.title_block{padding-bottom: 1em; }
.title_block h1{padding-bottom: 0;}

#extra_wrapper .profile_box{
    width: calc(100% - 40px); 
    padding: 20px; 
    border-radius: 20px; 
    background: white;
    margin: 1em 0;
}

.dark #extra_wrapper .profile_box{
    background: var(--dark-grey);
}

#extra_wrapper .profile_box .profile_grid{
    display: grid; 
    grid-template-columns: 40px 1fr;
    grid-gap: 1em;
}

#extra_wrapper .profile_box .profile_grid .avatar{
    width: 40px; height: 40px; 
    border-radius: 50%; 
    background-size: cover!important; 
    background-position: center!important;
}

.comment_panel .panel_form .panel_emoticons{
    position: absolute;
    bottom: 35px; 
    left: 0;
    width: 100%; 
    height: 500px; 
    max-height: calc(100vh - 100px); 
    background: #f1f1f1;
    display: none;
}

.comment_panel .panel_form .panel_liked{
    position: absolute;
    bottom: 0px; 
    left: 0;
    width: 300px; 
    height: calc(100vh - 140px); 
    background: #f1f1f1;
    display: none;
    
}

.dark .comment_panel .panel_form .panel_emoticons, .dark .comment_panel .panel_form .panel_liked{
    background: var(--dark-grey);
}



.comment_panel .panel_form .panel_emoticons .emoticons_head, .comment_panel .panel_form .panel_liked .liked_head{
    padding: 10px; 
    height: 14px; 
    background: #f1f1f1;
}

.comment_panel .panel_form .panel_emoticons .emoticons_head h3, .comment_panel .panel_form .panel_liked .liked_head h3{
    font-size: 14px; 
    line-height: 1em;
    padding: 0;
}

.dark .comment_panel .panel_form .panel_emoticons .emoticons_head, .dark  .comment_panel .panel_form .panel_liked .liked_head {
    background: var(--dark-grey);
}

.comment_panel .panel_form .panel_emoticons {
    width: 100%; 
    height: 466px; 
    max-height: calc(100vh - 134px); 
    overflow: hidden;
    display: none; 
}

.comment_panel  .likes_body{
    height: calc(100vh - 134px); 
    overflow: hidden;
}

.emoticon_grid{
    display: grid; 
    width: calc(100% - 30px);
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.emoticon_grid > div{
    text-align: center; 
    font-size: 32px;
    cursor: pointer;
}

span.emoticon{font-size: 1.5em;}

.comment_panel  .likes_body .like_item{
    padding: 20px; 
    width: calc(100% - 80px);
    border-radius: 15px; 
    margin: 0 10px 10px 10px;
    background: var(--light-grey);
}

.comment_panel  .likes_body .like_item .like_grid{
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-gap: 10px; 
}

.comment_panel  .likes_body .like_item .like_grid .avatar{
    width: 40px; height: 40px; 
    border-radius: 50%; 
    background-size: cover!important; 
    background-position: center!important; 
}

.dark .comment_panel  .likes_body .like_item{
    
    background: var(--text-color);
}

.comment_panel  .likes_body .like_item a{text-decoration: none;}
.comment_panel  .likes_body .like_item h3{font-size: 14px!important;}

.dashboard_wrapper #feed_navigation{
    position: fixed; 
    right: 10px; 
    bottom: 70px; 
    opacity: 0; 
    transition-duration: 0.25s;
    transform: translateX(350px);
    
}

.dashboard_wrapper #feed_navigation .mobile_only{
    display: block; 
    text-align: right;
    float: right;
}

.dashboard_wrapper.show_content #feed_navigation{opacity: 1; transform: translateX(0);  }

.nav_round_button{
    width: 14px; height: 14px; 
    padding: 14px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.8); 
    color: var(--text-color);
    cursor: pointer;
    display: inline-block; 
    backdrop-filter: blur(10px);
}

.dark .nav_round_button{
    background: rgba(85,85,85,0.8); 
    color: white;
    
}

.nav_round_button span{font-size: 14px; transform: scale(1.5); transition-duration: 0.25s;}
.nav_round_button:hover span{transform: scale(1);}

.nav_bubble_button{
    padding: 14px 14px 14px 45px; 
    width: 40px;
     background: rgba(255,255,255,0.8); 
     backdrop-filter: blur(10px);
    border-radius: 24px;
    margin-bottom: 5px; 
    display: block; 
    text-align: left;
    position: relative;
}

.nav_bubble_button p{font-size: 14px; padding: 0; margin: 0;  }

.dark .nav_bubble_button{
    background: rgba(85,85,85,0.8); 
}

.nav_bubble_button .icon{
    width: 24px; height: 24px; 
    display: inline-block; 
    position: absolute; 
    top: 50%; left: 14px; 
    transform: translateY(-50%);
    cursor: pointer;
}

.dark .nav_bubble_button .stat.favorites{text-decoration: underline; cursor: pointer;}

@media(min-width: 680px){
    .dashboard_wrapper #feed_navigation{right: 320px; }

    .dashboard_wrapper.show_content #feed_navigation .mobile_only{
        float: right;
        display: none;
    }

    .comment_panel .comment_foot .close{display: none;}

    .dashboard_wrapper #feed_navigation{bottom: 40px;}
}

.share_field .tag, .hash_buttons .tag, .feed_item .text_wrapper h3 .tag{
    display: inline-block; 
    padding: 2px 10px; 
    background: #CCC;
    border-radius: 10px; 
    margin: 0 5px;
    border: 1px solid rgba(125,125,125,0.5);
}

.feed_item .text_wrapper h3 .tag{margin-bottom: 2px;}

.feed_item .text_wrapper h3 .tag:hover{filter: invert(100%); cursor: pointer;}

.dark .share_field .tag, .dark  .hash_buttons .tag, .dark .feed_item .text_wrapper h3 .tag{
    background: var(--dark-grey);
    white-space: nowrap;  
}

.hash_buttons{margin: 20px 0 0 -8px; }

#single_feed_content .link_head{
    padding: 15px;
    display: block; 
}

#single_feed_content .link_head p{
    padding: 0; margin: 0; 
}

#single_feed_content .link_head p .tag{
    display: inline-block; 
    padding: 2px 10px; 
    background: #CCC;
    border-radius: 10px; 
    margin: 0 5px;
    border: 1px solid rgba(125,125,125,0.5);
}

.dark #single_feed_content .link_head p .tag{
    background: var(--dark-grey);
    white-space: nowrap;  
}

.feed_filter_grid{
    display: grid; 
    grid-template-columns: 1fr 150px 150px;
    align-items: center;
    position: relative;
}

.feed_filter_grid .form_field, .form_field.feed_console_search{
    padding: 0; margin: 0; 
}

.feed_filter_grid .form_field select{
    padding: 7px;
    border: 1px solid rgba(125, 125, 125, 0.5);
    border-radius: 15px;
    background: transparent;
    outline: none;
    width: calc(100% - 16px);
    font-size: 13px;
}

.feed_filter_grid .tag_wrapper {
    min-width: 0; /* <-- key to prevent bursting */
    width: calc(100% - 310px);
    height: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    position: absolute; 
    top: 50%; left: 0; 
    transform: translateY(-50%);

}

.feed_filter_grid .tag_wrapper .tags {
    display: flex;
    gap: 5px; /* spacing between tags */
    width: max-content; /* ensures it grows as needed */
}

.feed_filter_grid .tag_wrapper .tag{
    display: inline-block; 
    padding: 2px 10px; 
    background: #CCC;
    border-radius: 10px; 
    margin: 0 2px;
    border: 1px solid rgba(125,125,125,0.5);
    cursor: pointer;
}

.feed_filter_grid .tag_wrapper .tag.active{
    background: var(--primary-color);
    color: var(--text-color);
}

.dark .feed_filter_grid .tag_wrapper .tag{
    background: var(--dark-grey);
    white-space: nowrap; 
}

.dark .feed_filter_grid .tag_wrapper .tag.active{
    background: var(--primary-color);
}

.feed_filter_grid .tag_wrapper::-webkit-scrollbar {
    height: 0;
    display: none; 
}

.feed_filter_grid .tag_wrapper::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.0);
    border-radius: 3px;
}

.extra_wrapper{
    padding-bottom: 4em;
}

.extra_wrapper .video_wrapper{
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden; 
    border-radius: 10px; 
}

.extra_wrapper .video_wrapper iframe{
    width: 100%; 
    height: 100%; 
}

.extra_wrapper .text_wrapper{
    padding-bottom: 1em; 
}

#edit_feed_wrapper{
    padding: 30px; 
}

#feed_text_form .share_field{
    padding-bottom: 20px; 
}

.extra_grid{
    display: grid; 
    grid-template-columns: 30px 1fr 1fr;
    gap: 10px; 
        padding: 10px;
    border: 1px solid var(--dark-grey);
    border-radius: 10px;
 }

 .dark .extra_grid{
    border: 1px solid var(--light-grey);
 }

 .extra_grid img{width: 100%; border-radius: 10px; }

 .extra_grid > div:nth-child(1){
    background: var(--light-grey);
    cursor: move;
    border-radius: 5px; 
 }

 .dark .extra_grid > div:nth-child(1){
    background: var(--dark-grey); 
 }

 .hero_text_wrapper{
    padding: 20px; 
 }

 .feed_author{
    padding: 0 0 1em 0;
    border-bottom: 1px solid var(--dark-grey);
    margin-bottom: 1em; 
 }

 .dark .feed_author{
    border-bottom: 1px solid var(--light-grey);
 }

 .feed_author .author_grid{
    display: grid; 
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 0.5em;
 }

 .feed_author .author_grid .avatar{
    width: 40px; height: 40px; 
    border-radius: 50%;
    background: url(../images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover!important; 
    background-position: center!important;
 }

 .feed_author .author_grid p.user_name{
    padding: 0; margin: 0; line-height: 1.3em;
 }

 #post_type{
    width: 120px; 
 }
