/* Blog Home Styling */
#page.site.hfeed {
    background: none;
}

/* Wrapper */
.adst-blog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Hero Post */
.adst-hero-post {
    width: 100%;
    margin-bottom: 10px;
    margin-top: 40px;
}

.adst-hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.adst-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.adst-hero-image-wrapper:hover .adst-hero-img {
    transform: scale(1.05);
}

.adst-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(19, 58, 41, 0.9) 0%, rgba(19, 58, 41, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: #fff;
}

.adst-hero-content {
    width: 100%;
    max-width: 800px;
}

.adst-hero-meta {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
    display: flex;
    gap: 20px;
}

.adst-hero-meta i {
    margin-left: 5px;
}

.adst-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
}

.adst-hero-excerpt {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
}

/* Grid Posts */
.adst-posts-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.adst-grid-post {
    position: relative;
}

.adst-grid-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.adst-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.adst-grid-image-wrapper:hover .adst-grid-img {
    transform: scale(1.05);
}

.adst-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(48, 183, 135, 0.9) 0%, rgba(48, 183, 135, 0.2) 60%, transparent 100%);
    /* Green tint */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #fff;
}

.adst-grid-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.adst-read-more {
    display: inline-block;
    border: 1px solid #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    width: fit-content;
    transition: all 0.3s;
}

.adst-grid-image-wrapper:hover .adst-read-more {
    background: #fff;
    color: var(--adst-accent);
}


/* ================================== */
/* ==========<Responsiveness>======== */
/* ================================== */

/* Mobile Screen */
@media (max-width: 576px) {
    .adst-hero-post {
        margin-top: 0px !important;
    }

    .adst-posts-grid-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .adst-blog-wrapper {
        padding-inline: 15px !important;
    }

    .one-container .site-content {
        padding-inline: 10px !important;
        padding-top: 0px !important;
    }

    /* Make Hero Post look like Grid Post on Mobile */
    .adst-hero-image-wrapper {
        height: 250px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .adst-hero-overlay {
        background: linear-gradient(to top, rgba(48, 183, 135, 0.9) 0%, rgba(48, 183, 135, 0.2) 60%, transparent 100%);
        padding: 25px;
        justify-content: flex-end;
        flex-direction: column;
    }

    .adst-hero-title {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .adst-hero-meta,
    .adst-hero-excerpt {
        display: none;
    }
}

/* Small Screens  */
@media (min-width: 577px) and (max-width: 768px) {
    .adst-posts-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Screen */
@media (min-width: 768px) and (max-width: 920px) {}

/* Large Screens */
@media (min-width: 920px) and (max-width: 1280px) {}