body {
    /* display: flex; */
    /* flex-direction: column; */
    min-height: 100vh;
    margin: 0;
}

.main-layout-container {
    display: flex;
    flex: 1;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 0 20px; */
}
.main-content-wrapper{
    width:100%;height:100vh;overflow-y:auto;
}

@media (max-width: 768px) {
    .main-content-wrapper.no-scroll{
        height:calc(100vh - 60px)!important;
        padding-bottom: 0px!important;
        overflow-y: hidden!important;
    }
    .reader-container{
        height:calc(100vh - 125px)!important;
        padding-bottom: 60px!important;
    }
    .main-layout-container .container{
        padding:0px!important;
        width:97%!important;
    }
    
    .categories-header{
        padding:0 12px;
    }
 
    .categories-grid{
        padding:0 16px;
    }
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    /* padding: 20px; */
    /* max-width: 800px; */
    margin: 0 auto;
}

.sidebar {
    width: 400px;
    /* padding: 20px 0 20px 20px; */
    display: none;
}

@media (min-width: 1024px) {
    .sidebar {
        display: block;
    }
}

/* Roadmap Widget Styles */
.roadmap-widget {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 20px;
}

.widget-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    background-color: #1d1a45;
    color: white;
}

.widget-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.widget-body {
    padding: 16px;
}

.widget-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-feature-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.widget-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
}

.feature-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.votes-count {
    color: #6b7280;
}

.status-badge {
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.status-suggested {
    background-color: #f8f7ff;
    color: #4b5563;
}

.status-planned {
    background-color: #3a3785;
    color: white;
}

.status-progress {
    background-color: #23204f;
    color: white;
}

.status-done {
    background-color: #1d1a45;
    color: white;
}

.status-dreaming {
    background-color: #d2d0fd;
    color: #4b5563;
}

.widget-footer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #1d1a45;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #f8f7ff;
    font-size: 13px;
    transition: all 0.2s;
}

.widget-link:hover {
    background-color: #e7e6ff;
}

.widget-empty {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.widget-empty .widget-link {
    margin-top: 8px;
}

.container.has-results {
    align-items: flex-start;
    justify-content: flex-start;
    /* max-width: 652px; */
    padding-top: 0;
}

#searchform {
    width: 100%;
    max-width: 600px;
}

.has-results #searchform {
    flex: 1;
    margin: 0;
}

.has-results #searchform>div {
    margin: 0;
}

h2#subtitle {
    display: none;
}

.container>div {
    width: 100%;
}
.entry-list.grid{
    max-width:1000px;
    margin:0 auto;
    margin-top:20px;
}

.results-card {
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #dfe1e5;
    transition: all 0.2s ease;
}

.results-card:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: rgba(223, 225, 229, 0);
}

.results-card h3 {
    margin: 0 0 0px 0;
    font-size: 16px;
    line-height: 1.3;
}

.results-card .feed-url {
    color: #202124;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 3px;
}

.results-card .feed-meta img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex: none;
    margin-top: -1px;
}

#results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-header {
    color: #202124;
    font-size: 20px;
    margin: 0 0 16px 0;
    font-weight: normal;
}

h2#subtitle,
h3.subheading,
h4.results-header {
    font-family: "Poppins", Helvetica, sans-serif;
}

h1#brand {
    color: #3d3e42 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lora", Helvetica, serif;
    font-weight: 700;
}

/* Feedback Widget Styles (Hotjar style) */
.feedback-widget-container {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.feedback-widget-tab {
    position: relative;
    top: -120px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    /* background-color: #FF4F1F; Hotjar-like orange */
    color: #092640;
    padding: 12px 20px 12px 16px;
    border-radius: 12px 12px 0px 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transform: rotate(-90deg);
    transform-origin: bottom right;
    right: 0px;
    /* Increased to make it more visible */
    margin-bottom: 36px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.feedback-widget-tab:hover {
    padding-right: 24px;
    background-color: #fefefe;
    /* Slightly darker on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feedback-widget-tab:active {
    transform: rotate(-90deg) scale(0.98);
}

.tab-text {
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}

.tab-icon {
    display: flex;
    align-items: center;
}

.feedback-widget-modal {
    position: absolute;
    top: 50%;
    right: -300px;
    /* Start off-screen */
    transform: translateY(-50%);
    background-color: white;
    width: 300px;
    /* Slightly wider */
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.12);
    /* Smoother animation */
    overflow: hidden;
    max-height: 80vh;
    /* Limit height on small screens */
}

.feedback-widget-modal.open {
    right: 0px;
}

.modal-header {
    padding: 12px 16px;
    background-color: #1d1a45;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
}