/* Blog Archive/Grid Styles - hello-elementor-child */
:root {
    --ah-bg: #f4f6fb;
    --ah-card: #ffffff;
    --ah-text: #1C1C1C;
    --ah-muted: #475569;
    /* slate-600 */
    --ah-border: #e5e7eb;
    --ah-accent: #10b981;
    /* emerald-500 */
}

.ah-archive {
    background: var(--ah-bg);
}

.ah-archive__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Top bar */
.ah-archive__top {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.ah-archive__count {
    font-family: "Inter Tight", Sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #1C1C1CCC;
}

/* Search */
.ah-search {
    position: relative;
    box-shadow: 0px 2px 3px 0px #0000000F;

}

.ah-search .ah-search__input {
    width: 300px;
    max-width: 100%;
    padding: 10px 38px 10px 14px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
}

.ah-search__btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: #8CC63B;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.ah-search__btn svg {
    width: 16px;
    height: 16px;
}

/* Grid */
.ah-archive__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

@media(min-width:640px) {
    .ah-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(min-width:992px) {
    .ah-archive__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Card */
.ah-card {
    background: var(--ah-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(2, 6, 23, .06);
    display: flex;
    flex-direction: column;
    height: 100%
}

.ah-card__media {
    position: relative
}

.ah-card__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover
}

.ah-card__author {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #fff;
    color: #0f172a;
    border-radius: 999px;
    padding: 6px 10px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08)
}

.ah-card__author img {
    width: 22px;
    height: 22px;
    border-radius: 999px
}

.ah-card__body {
    padding: 14px
}

.ah-card__meta {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #64748b;
    font-size: 12px;
    flex-wrap: wrap
}

.ah-card__cat {
    color: #1C1C1C;
    text-decoration: none
}

.ah-card__cat:hover {
    text-decoration: underline
}

.ah-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #94a3b8;
    display: inline-block
}

.ah-card__title {
    margin: 8px 0 8px;
    font-size: 18px;
    line-height: 26px;
    color: var(--ah-text);
    font-weight: 600
}

.ah-card__title a {
    color: inherit;
    text-decoration: none
}

.ah-card__title a:hover {
    text-decoration: underline
}

.ah-card__excerpt {
    color: #475569;
    font-size: 14px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

/* Pagination */
.ah-pagination {
    display: flex;
    justify-content: center;
    margin: 24px 0 0;
    gap: 6px
}

.ah-pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    border: 1px solid var(--ah-border);
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-size: 12px
}

.ah-pagination .page-numbers.current {
    background: #8CC63B;
    border-color: #8CC63B;
    color: #fff
}

.ah-pagination .page-numbers.prev,
.ah-pagination .page-numbers.next {
    padding: 0 10px;
    width: auto
}

@media(max-width:992px) {
    .ah-archive__top {
        justify-content: center;
    }
}