.page-template-homepage main#main {
    margin-top: 0;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: brightness(0.8);
}

.hero-content {
    max-width: 1260px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 10px 0;
}


h1.hero-title {
    font: 900 48px/1.1 var(--Inter);
}

.hero-pre-title {
    font: 600 28px/1.3 var(--Lexend);
    text-transform: capitalize;
    color: var(--brand-green-new);
}

.hero-subtitle {
    font: 600 24px/1.25 var(--Lexend);
    text-transform: capitalize;
    letter-spacing: 0;
    color: var(--brand-green-new);
    margin: 10px auto 20px;
}

a.down-cta {
    position: absolute;
    top: 80vh;
    z-index: 555;
}

.chevrons {
    padding: 6px 0 0 0;
    margin: 15px auto;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chevrondown {
    margin-top: -6px;
    position: relative;
    border: solid #ffffff;
    border-width: 0 6px 6px 0;
    display: inline-block;
    width: 36px;
    height: 36px;
    transform: rotate(45deg);
    border-radius: 4px;
}

.chevrondown:nth-child(odd) {
    animation: pulse 800ms ease infinite alternate;
}

.chevrondown:nth-child(even) {
    animation: pulse 800ms ease infinite alternate 400ms;
}

@keyframes pulse {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.8;
    }
}

#hero-content {
    scroll-margin: 60px;
}

@media (min-width: 991px) {
    h1.hero-title {
        font: 900 80px/1.3 var(--Inter);
    }

    #hero-content {
        scroll-margin: 75px;
    }

    .hero-content {
        padding: 60px 30px 0;
    }

    .hero-subtitle {
        font: 600 30px/1.3 var(--Lexend);
        letter-spacing: -0.7px;
        margin-bottom: 16px;
    }
}

/* Page Components */

.page-section:not(.hero-section) .section-container {
    padding: 0 10px;
}

section.page-section.content-section {
    margin: 60px 0;
}

.text-container {
    text-align: center;
}

.page-section.content-section .section-container {
    max-width: 1260px;
    margin: 0 auto;
}

.page-description-container {
    text-align: center;
    font: 300 24px/1.7 var(--Lexend);
}

.section-title {
    font-weight: 700;
}

@media (min-width: 991px) {
    .page-section:not(.hero-section) .section-container {
        padding: 0 30px;
    }

    .hero-description p,
    .text-container p {
        font: 300 22px/1.5 var(--Lexend);
        letter-spacing: 0;
    }

}


/* News Slider */

.page-section.content-section.slider-section .section-container {
    padding: 0 20px;
}

.posts-slider-widget {
    position: relative;
    z-index: 5;
}

li.post-item {
    margin-inline: 20px;
}

.slider-section.posts .post-list-slider .slick-list.draggable {
    margin-inline: -20px;
}

ul.post-list-slider {
    margin: 0 auto 80px;
    list-style: none;
}

.slider-section.posts ul.post-list-slider {
    overflow: hidden;
}

.post-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.post-item > a {
    position: relative;
}

.post-item > a:hover {
    text-decoration: none;
}

.post-item > a:hover .post-item-cta {
    opacity: 1;
}

.post-item-content {
    position: relative;
    /*background-color: var(--color-website-bg);*/
    margin: 0;
    padding: 16px 0;
    /*box-shadow: 0 0 14px 3px #0000002e;*/
    min-height: 180px;
}

.post-item-image {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1.35;
    overflow: hidden;
    height: 230px;
}

.post-item-image img {
    object-fit: cover;
}

.post-item > a:hover .img-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.post-item-title {
    font: 400 20px/1.4 var(--Lexend);
    position: relative;
    z-index: 3;
    background: var(--brand-grey);
    width: 90%;
    text-align: center;
    margin: -20px auto 0;
    padding: 6px 12px;
    color: var(--color-website-bg);

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

section.page-section.content-section.slider-section.posts .post-item-title {
    background: var(--brand-grey);
}

.date-and-more {
    margin-top: auto;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
}

p.post-item-desc {
    font: 300 18px / 1.5 var(--Lexend);
    color: var(--text-main);

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.post-date {
    color: var(--text-gray);
}

.post-item-cta {
    position: relative;
    font: 600 18px / 1.5 var(--Lexend);
    color: var(--brand-grey);
    align-items: center;
    gap: 8px;
    width: max-content;
    /*margin-top: auto;*/

    z-index: 5;
}

.post-item-cta.hover-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--color-website-bg);
}

.post-item-cta.hover-center::after {
    background: var(--color-website-bg);
}

.post-item-cta svg {
    height: 16px;
    width: auto;
    margin-top: 2px;
}

.post-item-cta::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--brand-grey);
    transform-origin: left;
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}

.post-item > a:hover .post-item-cta::after {
    width: calc(100%);
}

/*.page-section.content-section.slider-section.ele {*/
/*    background-color: var(--green-light-1);*/
/*}*/

.page-section.content-section.slider-section.ele {
    /*background-color: var(--green-light-1);*/
    background: url("/wp-content/themes/elephant-nature-park-org/assets/img/walking-elephants.jpg") no-repeat;
    background-size: cover;
    position: relative;
}

.page-section.content-section.slider-section.ele::after {
    content: '';
    /*background-color: var(--green-light-1);*/
    background-color: #bdc9bec9;
    position: absolute;
    inset: 0;
}

.page-section.content-section.slider-section.ele .section-container {
    padding: 40px 10px;
}

.slider-section.ele .posts-slider-widget h3 {
    margin-inline: 20px;
    margin-bottom: 10px;
}

li.ele-item {
    margin: 10px;
}

.slider-section.ele .slick-arrow svg {
    fill: var(--green-dark-2);
}

.view-all {
    margin: 0 auto 16px;
    padding: 10px 24px;
}

.elephant-slider .view-all {
    background-color: var(--brand-green-new);
    /*border: 1px solid var(--brand-green-new);*/
}

.elephant-slider .view-all:hover {
    background-color: #2d5447c7;
}

.slider-section.ele .content-slider-navigation .section-title {
    margin: 0;
}

.slider-section.ele .section-title {
    color: var(--brand-green-new);
}

.slider-section.ele .content-slider-navigation {
    left: 10px;
    bottom: 75px;
}

@media (min-width: 991px) {

    .page-section.content-section.slider-section .section-container {
        padding: 0 30px;
    }

    section.page-section.content-section.slider-section {
        margin: 120px 0;
    }

    ul.post-list-slider {
        margin: 0 auto 40px;
    }

    .slider-section.posts ul.post-list-slider {
        overflow: hidden;
    }

    .slider-section.posts ul.post-list-slider,
    .slider-section.news ul.post-list-slider {
        margin: 24px auto 40px;
    }

    .slider-section.ele .content-slider-navigation {
        top: 0;
        right: 20px;
        bottom: auto;
        left: auto;
    }

    .view-all {
        margin: 0 auto 16px;
        padding: 10px 24px;
    }

    li.ele-item {
        margin: 20px;
    }
}

/* Slick Navigators Styles */

.content-slider-navigation {
    position: absolute;
    top: auto;
    bottom: 80px;
}

.content-slider-navigation .arrows {
    gap: 16px;
    justify-content: space-between;
}

.slick-arrow svg {
    width: 32px;
    height: 32px;
    display: flex;
    cursor: pointer;
    fill: var(--brand-grey);
}

@media (min-width: 991px) {

    .content-slider-navigation {
        position: absolute;
        top: 0;
        right: 0;
        bottom: auto;
        transform: none;
    }

    .slick-arrow svg {
        width: 40px;
        height: 40px;
        display: flex;
        cursor: pointer;
        fill: var(--brand-grey);
    }
}

