#header {
    padding-top:60px !important;
}


.container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.features-grid {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
    }
}

.feature-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    display: block;
    object-fit: contain;
    margin: 2px auto;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #092640;
    margin-bottom: 6px;
}

.feature-description {
    color: #4e5b74;
    font-size: 13px;
    line-height: 1.4;
}

.features-section {
    position: relative;
    margin-top: 10vh;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f8f7f664;
    padding: 16px 15px;
    border-top: 1px solid #e5e7eb;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .features-section {
        padding: 16px 32px;
        padding-bottom:40px;
    }
}

.features-header {
    text-align: left;
    color: #092640;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 4px;
    text-align: center;
}

.features-description {
    text-align: center;
    color: #4e5b74;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Newsletter section styles */
.newsletter-section {
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.newsletter-title {
    color: #092640;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.newsletter-description {
    color: #4e5b74;
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 500px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-button {
    padding: 10px 20px;
    background-color: #092640;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.newsletter-button:hover {
    background-color: #0a3456;
}

.newsletter-message {
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

/* Category tags styles */
.categories-wrapper {
        /* max-width: 1200px; */
        margin: 1.5rem auto;
        margin-bottom: -40px;
        position: relative;
        /* padding: 0 16px; */
    }



.categories-row::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, and Opera */
}

.categories-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-radius: 8px;
    width: 40px;
    /* background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%); */
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.categories-wrapper.at-end::after {
    opacity: 0;
}

@keyframes pulse-right {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.4;
    }
}

.categories-row::before {
    content: '→';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #092640;
    font-size: 16px;
    z-index: 2;
    animation: pulse-right 2s infinite;
    pointer-events: none;
}

.categories-row.user-scrolled::before {
    display: none;
}
.size-6{
    width: 24px;
    height: 24px;
}
.nav-category-tag {
    display: inline-block;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 8px;
    flex-shrink: 0;
    height: 66px;
    padding: 0 12px;
    line-height: 0px;
    display: flex;
    align-items: center;
}

.nav-category-tag:hover,
.nav-category-tag.active {
    color: #092640;
    border-color: #092640;
    background-color: #f7f2e6;
    transform: translateY(-1px);
}
.nav-category-tag.active {
    border-bottom: 4px solid #092640;
}

.nav-category-tag.more-tag {
    background-color: #faf4ee;
    font-weight: 600;
}

@media (max-width: 640px) {
    .categories-row {
        padding: 8px 12px;
    }

    .nav-category-tag {
        padding: 4px 10px;
        font-size: 12px;
        margin-right: 6px;
    }
}
.recent-hosts-section {
    margin-top: 40px;
    width: 100%;
}

.recent-hosts-header {
    text-align: center;
    margin-bottom: 20px;
}

.recent-hosts-title {
    font-size: 20px;
    font-weight: 600;
    color: #092640;
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 0px;
}

.view-all-button {
    display: inline-block;
    padding: 8px 24px;
    background-color: #efe7da;
    color: #092640;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.view-all-button:hover {
    background-color: #f4e3c4;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .hosts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bagel-image {
        left:6px!important;
        width: 84px!important;
        height: 84px!important;
        top: 0px!important;
    }
}

@media (max-width: 480px) {
    .hosts-grid {
        grid-template-columns: 1fr;
    }
    .bagel-image {
        left:0px!important;
    }
}

.host-card {
    background: rgba(255, 252, 251, 0.919);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.host-card:hover {
    background: rgba(255, 255, 255, 0.919);
    border-color: #d1d5db;
}

.host-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.host-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 12px;
    padding-bottom: 0px;
}

.host-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.host-details {
    max-width: 90%;
    overflow: hidden;
    margin: auto 0;
}

.host-card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 10;
    padding: 12px;
    padding-top: 0px;
}

.host-content {
    height: 100%;
    padding: 12px;
    overflow: hidden;
    position: relative;
}

.host-header {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    gap: 8px;
    /* margin-bottom: 10px; */
}

.host-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02rem;
    margin: 0;
    color: #092640;
    flex: 1;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.host-logo-container {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.host-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.host-logo.favicon {
    width: 55%;
    height: 55%;
}

.host-logo-fallback {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
}

.feed-count {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.host-description {
    color: #4e5b74;
    font-size: 14px;
    line-height: 1.4;
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.host-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
    z-index: 2;
    margin-top: 0px;
}

.category-tag {
    background: #efe7da;
    color: #5f6368;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
    cursor: pointer;
    border: none;
}

.category-tag:visited {
    color: #5f6368;
}

.category-tag:hover {
    background: #f4e3c4;
    color: #202124;
}

.host-domain {
    display: block;
    color: #5f6368;
    font-size: 12px;
    text-decoration: none;
}

.host-domain:visited {
    color: #5f6368;
}

.host-domain:hover {
    color: #202124;
}

@media (max-width: 640px) {
    .hosts-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }

    .host-content {
        padding: 10px;
    }

    .host-title {
        font-size: 15px;
    }
}