#hero {
    padding: 30px 0 20px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
}

.fs-12 {
    font-size: 12px;
}

a h4:hover {
    font-weight: 600!important;
}

.slideshow-container {
    border-radius: 5px;
    background: #fff;
}

.carousel-bg {
    border-radius: 5px 0 0 5px;
    position: relative;
}

.video-wrapper {
    border-radius: 5px 0 0 5px!important;
}

.bg-1 {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.482), rgba(0, 0, 0, 0.482)), url(/assets/media/images/1.png);
    background-repeat: no-repeat !important;
    background-size: cover;
}

.bg-2 {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.482), rgba(0, 0, 0, 0.482)), url(/assets/media/images/2.png);
    background-repeat: no-repeat !important;
    background-size: cover;
}

.bg-3 {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.482), rgba(0, 0, 0, 0.482)), url(/assets/media/images/3.png);
    background-repeat: no-repeat !important;
    background-size: cover;
}

.slider-inner-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 50px;
    row-gap: 25px;
}

.slider-inner-box div {
    flex: 0 0 calc(22% - 5px) !important;
}

.slider-box {
    margin: auto;
    max-width: 430px;
    padding: 20px;
    background-color: #ffffffaf;
    border-radius: 5px;
}

.slider-inner-box img {
    width: 100%;
    max-width: 90px;
    height: 50px;
    object-fit: contain;
}

.slider-container .active {
    text-decoration: none;
}
.slider-container h4 {
    text-decoration: none !important;
    color: #2e2e2e;
    border: none !important;
    font-weight: 600!important;
}

.carousel-bg.bg-1 {
    position: relative;
    overflow: hidden;
}

.slider-container iframe {
    width: 100%;
    height: 27.25vh;
    min-height: 100vh;
    min-width: 200vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-65%, -50%);
}

.slider-container {
    /* min-width: 43vw; */ /*UNCOMMENT PAG MAY VIDEO NA*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    display: flex; /*DELETE PAG MERON NG VIDEO*/
}

.indicator {
    bottom: 0;
    width: 100%;
    position: absolute;
    color: #000;
    padding: 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.dot {
    color: #898989;
    cursor: pointer;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

#active-link {
    color: #ffffff!important;
    text-underline-offset: 5px;
    text-decoration: underline;
}

.active {
    color: #ffffff;
    text-underline-offset: 5px;
    text-decoration: underline;
}

.fade {
    animation-name: fade;
    animation-duration: 900s;
}

@keyframes fade {
    0% { opacity: 1; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 1; }
}

#hero h1, #hero p {
    color: #2e2e2e;
    margin-bottom: 25px;
    font-family: 'Poppins'!important;
}

#hero p {
    margin-bottom: 65px;
}

#hero .col-lg-5 span,
#hero button {
    font-size: 18px;
    font-weight: 600!important;
}

#hero button {
    padding: 10px 20px;
}

#hero .col-lg-7 {
    position: relative;
}

#hero .col-lg-7, #hero .col-lg-5 {
    height: 100%;
    min-height: 420px;
}

#hero .col-lg-5 {
    padding: 60px 20px 0 30px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.search-bar {
    padding-left: 30px !important;
    background: url(/assets/media/images/search.png) no-repeat 25px center #fff !important;
    background-size: 17px 17px !important;
    box-sizing: border-box;
    width: 135px;
    padding: 8px 17px;
    padding-left: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: width 0.3s ease;
    outline: none;
    position: relative;
    right: 0;
}

.search-bar::-webkit-input-placeholder {
    font-size: 16px!important;
    padding: 0 10px 0 15px;
}

.search-bar:focus {
    padding-left: 50px!important;
    width: 100%;
    border-color: var(--primary);
    font-size: 16px!important;
}

.search-icon {
    position: absolute;
    left: 10px;
    font-size: 18px;
    color: #ccc;
    pointer-events: none;
}

.search-bar:focus + .search-icon {
    color: var(--primary);
}

.awards {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #b5b5b5;
    border-radius: 5px;
    margin: 0 4px 7px 0;
}

.filter-article {
    margin-bottom: 30px;
}

#featured-story {
    padding: 15px 0 30px 0;
    border-bottom: 1px solid #e5e5e5;
}

.featured-card img {
    /* object-fit: cover;
    height: 268px;
    width: 100%;
    border-radius: 5px 5px 0 0; */

    float: left;
    max-width: 300px;
    margin-right: 25px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.featured-single-card img {
    max-width: 145px;
    object-fit: cover;
    height: 145px !important;
    /* width: 100% !important; */
    border-radius: 5px;
}

.featured-card {
    min-height: 392px;
}

#explore-newsletter {
    border-top: 10px solid var(--primary)!important;
    padding: 0 0 0 60px;
    border: 1px solid #e5e5e5;
    margin-bottom: 50px;
}

#explore-newsletter .newsletter-info p {
    font-size: 14px !important;
}

#explore-newsletter h3 {
    font-size: 25px !important;
    font-weight: 700;
    line-height: 40px !important;
}

#explore-newsletter .get-latest p a {
    font-weight: 600 !important;
    font-size: 22px !important;
}

#featured-story .featured-description h3,
#featured-story .single-description h4  {
    font-family: 'Poppins' !important;
    margin: 0;
}

#featured-story .featured-description h3 {
    font-weight: 600 !important;
    line-height: 35px !important;
    font-size: 26px !important;
    margin-bottom: 5px;
}

#featured-story .featured-description p {
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    line-height: 24px !important;
    color: inherit !important;
    font-size: 16px !important;
}

/* #featured-story .featured-description h3:hover {
    font-weight: 600!important;
} */

#featured-story .single-description h4 {
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    font-weight: 500 !important;
    /* border-bottom: 1px solid transparent; */
}

/* #featured-story .single-description h4:hover {
    border-bottom: 1px solid transparent !important;
} */

#featured-story .featured-description h3:hover {
    color: var(--primary);
}

.featured-article-card h4 {
    padding-top: 5px;
    line-height: 1.2 !important;
    font-size: 20px !important;
}

.featured-description {
    padding: 20px;
}

#featured-story .featured-article-card  p, .featured-single-card p{
    color: var(--primary);
    padding: 0 15px;
    border-radius: 5px;
    background-color: var(--primary-light);
}

#featured-story h6 {
    margin-bottom: 20px;
}

/* .most-popular {
    background-color: #fff;
    padding: 20px;
} */

.featured-single-card:first-child {
    padding-top: 5px;
}

.featured-single-card {
    background-color: #fff;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    padding-bottom: 15px;
    padding-left: 5px;
    align-items: center;
}

.featured-single-card:last-child {
    padding-bottom: 5px;
    margin-bottom: 0;
    border-bottom: none;
}

.three-popular-card {
    padding: 0;
}

#discover-events .row {
    gap: 5px;
}

#discover-events .col:last-child {
    max-width: 29%;
}

#discover-events {
    padding: 20px 0 50px 0;
}

#discover-events h2 {
    font-size: 30px!important;
    font-family: 'Poppins'!important;
    line-height: 40px!important;
}

#discover-events .col:last-child p a {
    font-weight: 600 !important;
    font-size: 22px;
}

.discover-card h4 {
    font-family: 'Poppins'!important;
    font-size: 25PX;
    margin-bottom: 20px;
    color: var(--primary-light) !important;
}

#discover-events h3 {
    font-size: 25px!important;
    font-weight: 700;
    line-height: 40px !important;
}

#discover-events p {
    font-size: 20px !important;
}

#discover-events .discover-card .become-sponsor p {
    font-size: 14px !important;
}

.become-sponsor button {
    font-size: 14px !important;
}

.become-sponsor p:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.discover-card img {
    height: 80px;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 11px #fff);
    margin-bottom: 10px;
}

/* .discover-logo {
    background-size: contain;
    background-repeat: no-repeat;
    background-image: linear-gradient(0deg, #ffffffe0, #ffffffe0), url(/assets/media/images/wica.png);
    height: 80px;
    max-width: 80px;
} */

.discover-card {
    background: linear-gradient(0deg, #2e2e2ee0, #2e2e2ee0), url(/assets/media/images/discover-new.png);
    background-size:cover;
    background-repeat: no-repeat;
    height: 455px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.discover-card.gta {
    background: linear-gradient(0deg, #2e2e2ee0, #2e2e2ee0), url(/assets/media/images/gta-image.jpg);
}

.card-content,
.hover-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
    padding: 20px;
}

.card-content {
    opacity: 1;
}

.hover-card {
    opacity: 0;
    padding: 50px 20px 0 20px;
    visibility: hidden;
}

#discover-events .discover-card p {
    font-size: 16px!important;
    line-height: 25px !important;
}

.discover-card:hover .card-content {
    opacity: 0;
    visibility: hidden;
}

.become-sponsor {
    right: 0;
    left: 0;
    background: var(--primary);
    padding: 15px 10px;
    bottom: 0;
    position: absolute;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.become-sponsor button {
    padding: 0 10px;
}

.hover-card hr {
    float: left;
    width: 85%;
    border: 1px solid;
}

.discover-card:hover .hover-card {
    background: #2e2e2eb5;
    opacity: 1;
    visibility: visible;
}

#explore-newsletter .col-lg-9 {
    padding: 30px 40px 20px 0;
    border-right: 1px solid #e5e5e5;
    flex: 0 0 70%;
    max-width: 70%;
}

.newsletter-card {
    height: 280px;
    background-color: #fff;
    padding: 20px;
}

.get-latest {
    flex: 0 0 30%;
    max-width: 30%;
}

/* .newsletter-card h4 {
    height: 30px;
} */

/* .newsletter-card p {
    font-family: "degular", sans-serif;
    line-height: 20px !important;
} */

/* .row-card {
    gap: 10px;
    display: flex;
    padding-bottom: 20px;
} */

/* #explore-newsletter h4 {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 25px;
}

#explore-newsletter .newsletter-card h4 {
    font-size: 20px;
} */

.article-description {
    padding: 20px;
}

.newsletter-btn {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-btn input,.newsletter-btn .btn {
    border-radius: 5px;
}

.newsletter-btn input {
    border: 1px solid var(--primary);
    width: 70%;
}

.newsletter-btn .btn {
    background-color: #fff;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 30%;
    box-shadow: none;
    font-size: 20px !important;
    font-weight: 600!important;
}

.newsletter-btn .btn:hover {
    color: #fff;
    background-color: var(--primary);
}

.related-card img {
    object-fit: cover;
    height: 150px;
    width: 100%;
    border-radius: 5px 5px 0 0;
}

#related-article {
    padding: 20px 0 20px 0;
    /* border-bottom: 1px solid #e5e5e5; */
}

.related-card {
    border-radius: 5px;
    background-color: #fff;
    height: 276px;
}

.single-card {
    background-color: #fff;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    padding-bottom: 5px;
    align-items: center;
}

.single-card:last-child {
    border-bottom: none!important;
    margin: 0;
    padding-bottom: 0;
}

.single-card a img {
    max-width: 75px;
    object-fit: cover;
    height: 75px !important;
    width: 75px!important;
    border-radius: 5px;
}

#related-article .article-card p, .single-card p {
    color: var(--primary);
    padding: 0 15px;
    border-radius: 5px;
    background-color: var(--primary-light);
}

.article-description p, .single-description p {
    font-family: "degular", sans-serif!important;
    display: inline-block;
    margin-bottom: 5px;
    font-size: 14px !important;
}

.single-description {
    margin-left: 15px;
}

#related-article h4 {
    font-family: 'Poppins' !important;
    margin: 0;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500 !important;
    line-height: 22px;
    /* border-bottom: 1px solid transparent; */
}

/* #related-article h4:hover {
    border-bottom: 0.1px solid #000;
} */

#related-article .related-card h4 {
    padding-top: 5px;
    line-height: 25px !important;
    font-size: 17px !important;
    font-weight: 500!important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* #related-article .related-card h4:hover {
    font-weight: 600!important;
} */

.three-col-card {
    padding: 0;
}

.three-col-card:last-child .card-space {
    margin-right: 0;
}

.card-space {
    margin-right: 10px;
    padding: 10px;
    background: #ffff;
}

.article-card {
    padding: 0 10px 0 0;
}

.article-overlay {
    background: transparent linear-gradient(181deg, #00000000 0%, #000000B8 100%) 0% 0% no-repeat padding-box;
    position: absolute;
    height: 50%;
    width: 100%;
    bottom: 0;
    border-radius: 5px !important;
}

@media only screen and (min-width: 981px) {
    #explore-newsletter, #discover-events {
        margin-right: -15px;
    }
    /* #hero .col-lg-7 {
        flex: 0 0 687px;
    }

    #hero .col-lg-5 {
        flex: 0 0 400px;
    } */
}

@media screen and (max-width: 1024px){

    .carousel-bg {
        border-radius: 5px 5px 0 0!important;
        padding: 20px !important;
    }

    #hero .col-lg-5 {
        height: auto;
    }

    #hero p {
        margin-bottom: 15px;
    }

    #hero .col-lg-7{
        height: 325px;
    }

    .slideshow-container .col-lg-5 {
        padding: 15px !important;
        height: auto!important;
    }

    .indicator {
        gap: 20px;
        left: 0;
        bottom: 0;
        position: absolute;
    }

    .hover-card hr {
        width: 100%;
    }

    .indicator span {
        font-size: 12px !important;
    }

    .dot {
        font-size: 12px;
        margin-bottom: 0!important;
    }

    .awards {
        font-size: 12px;
    }

    #featured-story {
        padding: 20px 0 0 0;
    }

    .filter-article {
        margin-bottom: 0;
    }

    .search-bar {
        /* margin-bottom: 20px; */
        width: 100%;
    }

    .featured-article-card {
        margin-bottom: 20px;
    }

    .article-card {
        padding: 0 0 10px 0;
    }

    .card-space {
        margin-right: 0;
    }

    .card-space:last-child {
        border-radius: 0 0 5px 5px!important;
    }

    .card-space:first-child {
        border-radius: 5px 5px 0 0!important;
    }

    .single-card:last-child {
        border-bottom: 1px solid #c9c9c9!important;
        padding-bottom: 5px;
    }

    #discover-events .row {
        display: block;
    }

    #discover-events .col:last-child {
        max-width: 100%;
    }

    .discover-card {
        height: 300px;
        margin-bottom: 15px;
    }

    #discover-events .col,
    #explore-newsletter .col-lg-3,
    #related-article {
        padding: 0 !important;
    }

    #explore-newsletter {
        margin-bottom: 20px;
        padding: 20px;
    }

    .row-card {
        display: block;
    }

    #explore-newsletter .col-lg-9 {
        padding: 0;
        border-right: none;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #explore-newsletter {
        margin-bottom: 30px;
    }

    .newsletter-card h4, .newsletter-card {
        height: auto;
    }

    .newsletter-card p:last-child,
    .col:last-child .newsletter-card {
        margin-bottom: 0;
    }

    .newsletter-card {
        margin-bottom: 20px;
    }

    .newsletter-btn {
        display: block;
    }

    .newsletter-btn input {
        width: 100%;
    }

    .newsletter-btn .btn {
        width: 100%;
        margin-top: 15px;
    }

    #explore-newsletter .col-lg-3 p {
        margin-bottom: 0;
    }

    #discover-events h2 {
        font-size: 25px !important;
        line-height: 27px !important;
    }

    #discover-events .discover-card p {
        font-size: 14px !important;
        line-height: 27px !important;
    }

    #related-article h4 {
        font-size: 14px!important;
    }

    .become-sponsor p, .become-sponsor button {
        font-size: 14px !important;
    }

    .newsletter-btn .btn {
        font-size: 14px !important;
    }

    .featured-card {
        min-height: auto;
    }

    .related-card {
        height: unset;
    }

    .carousel-bg.bg-1 {
        padding: 20px!important;
    }

    .slider-container iframe {
        min-height: 100vh;
        min-width: 173.77vh;
    }

    .slider-box {
        max-width: 100%; /*REMOVE PAG MAY VIDEO NA*/
    }
}


@media screen and (max-width:980px) {
    .slider-container iframe {
        min-height: 200vh;
        min-width: 287.77vh;
    }

    .get-latest {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .article-overlay {
        left: 0;
    }

    /* .header-logo img {
        max-height: 60px;
    } */

    #hero .col-lg-5 {
        min-height: 0;
    }

    .featured-article-card {
        padding-right: 0!important;
    }


}

.video-wrapper {
    position: relative;
}

/* .video-wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
} */

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}


/*REDESIGN HERO*/

.featured-story .most-popular.border-r-5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.featured-story .featured-single-card:first-child {
    grid-column: span 2 !important;
    height: 300px;
    margin: 0;
    display: flex;
    align-items: flex-start;
}

.featured-story .featured-single-card {
    position: relative;
    color: white;
    padding: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.featured-story .featured-single-card:not(:first-child) {
    height: 300px;
    display: flex;
    align-items: flex-start;
}

.featured-story .featured-description {
    border-radius: 5px;
    min-height: 615px;
    position: relative;
    padding: 35px;
}

.description-content {
    position: absolute;
    bottom: 35px;
    color: #fff;
    padding-right: 0!important;
}

.editors-pick {
    background: rgb(0 0 0 / 15%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 15px;
    color: #fff !important;
    position: absolute;
    top: 25px;
}

.editors-description {
    padding: 10px 15px;
    border-radius: 50px;
}

.featured-story .featured-description h3,
.featured-story .single-description h4 {
    font-weight: 500 !important;
    line-height: 29px !important;
    font-size: 22px !important;
}

.featured-story .featured-description p {
    font-size: 14px !important;
    display: -webkit-box; /* Use flex-like layout */
    -webkit-box-orient: vertical; /* Specify vertical orientation */
    overflow: hidden; /* Prevent overflow */
    text-overflow: ellipsis; /* Add ellipsis for truncated text */
    -webkit-line-clamp: 2; /* Limit text to 2 lines */
    line-clamp: 2; /* Standard syntax (not yet widely supported) */
}

#featured-story .single-description a:hover {
    color: #fff !important;
}

#featured-story .description-content a:hover h3 {
    color: #fff !important;
}

/* .single-description a:hover {
    color: #fff !important;
} */

@media screen and (max-width: 980px) {
    .featured-story .featured-description {
        min-height: unset;
        padding: 30px 20px 20px 20px;
    }

    .description-content {
        position: unset;
        margin-top: 20px;
    }

    .editors-pick {
        position: unset;
    }

    .featured-story .featured-single-card:first-child {
        height: unset;
        margin-bottom: 15px;
    }

    .featured-story .featured-single-card:not(:first-child) {
        height: unset;
    }

    .featured-story .most-popular {
        display: block!important;
    }
}
