.kapuso-stories-inside {
    button.navbar-toggler {
        display: none !important;
    }
}
.story-inside-content-area {
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.story-inside-content-area img {
    width: 100%;
    height: auto;
    display: block;
}

.story-inside-placeholder {
    color: #999;
    font-size: 18px;
    text-align: center;
}

.more-stories-section {
    margin-top: 30px;
}

.more-stories-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #1E1E1E;
    text-align: center;
    margin-bottom: 40px;
}

.more-story-card {
    overflow: hidden;
    cursor: pointer;
}


.more-story-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Hide <img> on desktop, use background-image */
.more-story-img {
    display: none;
}

.more-story-content {
    padding: 20px 0px;
}

.more-story-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #3A3939;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;  
    word-break: break-word;
}

.back-to-listing {
    display: block;
    text-align: center;
    margin: 50px auto;
    padding: 15px 40px;
    background-color: transparent;
    color: #999;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.story-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.sub_nav {
    display:none;
}

#wrapper {
    max-width: 1200px;
    #container {
        width: 100% !important;
    }
}

.kapuso-stories-inside #wrapper {
    max-width: 100%;
    width: 100%;
}
.more-stories-section{
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.more-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 50px;
}
#container{
    background:#eeeded;
}
@media (max-width: 768px) {
    #mobile-banner-header{
        margin-top: -10px;
        margin-bottom: 10px;
    }
    .more-stories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .story-inside-content-area {
        min-height: 300px;
    }
    #container {
        width: 100%;
    }
    .corner-stamps{
        width: 100%;
        border: 0px;
    }
    #wrapper {
        width: 100% !important;
        padding: 0px;
    }
    .more-story-image {
        height: auto;
        background-image: none !important;
    }

    /* Show <img> on mobile for natural height */
    .more-story-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .more-stories-title{
        margin-bottom: 20px;
    }
    .more-stories-section{
        margin-top: 60px;
        padding: 0px 20px;
    }
}
.ent-kapuso-profile-page section[class="engine"] {
    display: none;
}

/* Make mobirise content full width */
.ks-mobirise-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.ks-mobirise-wrapper > .row {
    margin-left: 0;
    margin-right: 0;
}

.ks-mobirise-wrapper .ent-kapuso-profile-page {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}