.ng-blog-search-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.ng-blog-search-form {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 8px;
    margin: 0 auto 35px;
}

.ng-blog-search-year {
    height: 54px;
    width: 150px;
    flex: 0 0 150px;
    padding: 0 14px;
    border: 1px solid #b9b9b9;
    border-radius: 0;
    background: #ffffff;
    color: #073b52;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
}

.ng-blog-search-year:focus {
    border-color: #073f58;
}

.ng-blog-search-input {
    flex: 1;
    height: 54px;
    min-width: 0;
    padding: 0 15px;
    border: 1px solid #b9b9b9;
    border-radius: 0;
    background: #ffffff;
    color: #073b52;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.ng-blog-search-input::placeholder {
    color: #8a8a8a;
    opacity: 1;
}

.ng-blog-search-input:focus {
    border-color: #073f58;
}

.ng-blog-search-button {
    height: 54px;
    min-width: 105px;
    padding: 0 25px;
    border: none;
    border-radius: 0;
    background: #06415d;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.ng-blog-search-button:hover {
    background: #022e43;
}

.ng-blog-search-button:active {
    transform: translateY(1px);
}

.ng-search-loading {
    display: none;
}

.ng-blog-search-button.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.ng-blog-search-button.is-loading
.ng-search-button-text {
    display: none;
}

.ng-blog-search-button.is-loading
.ng-search-loading {
    display: inline;
}


/* =========================================================
   BLOG GRID
========================================================= */

.ng-blog-results-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    align-items: stretch;
}


/* =========================================================
   BLOG CARD
========================================================= */

.ng-blog-card {
    background: #ffffff;
    overflow: hidden;
    border: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ng-blog-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   IMAGE
========================================================= */

.ng-blog-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eeeeee;
}

.ng-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.35s ease;
}

.ng-blog-card:hover
.ng-blog-image img {
    transform: scale(1.04);
}


/* =========================================================
   CONTENT
========================================================= */

.ng-blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ng-blog-date {
    margin-bottom: 9px;
    color: #777777;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ng-blog-title {
    margin: 0 0 12px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 500;
}

.ng-blog-title a {
    color: #063b52;
    text-decoration: none;
    font-family:
        "Roboto Serif",
        Georgia,
        serif;
    font-weight: 500;
}

.ng-blog-title a:hover {
    color: #0b6687;
}

.ng-blog-excerpt {
    margin-bottom: 20px;
    color: #555555;
    font-size: 14px;
    line-height: 1.65;
    flex-grow: 1;
}


/* =========================================================
   READ MORE
========================================================= */

.ng-blog-read-more {
    display: inline-block;
    color: #06415d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    margin-top: auto;
}

.ng-blog-read-more:hover {
    text-decoration: underline;
}


/* =========================================================
   PAGINATION
========================================================= */

.ng-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 40px;
}

.ng-blog-pagination-btn {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 22px;
    border: 1px solid #06415d;
    border-radius: 0;
    background: #ffffff;
    color: #06415d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.ng-blog-pagination-btn:hover:not(:disabled) {
    background: #06415d;
    color: #ffffff;
}

.ng-blog-pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ng-blog-pagination-status {
    flex: 1 1 auto;
    text-align: center;
    color: #666666;
    font-size: 13px;
    letter-spacing: 0.5px;
}


/* =========================================================
   NO RESULTS
========================================================= */

.ng-blog-no-results {
    padding: 50px 20px;
    text-align: center;
    border: 1px solid #eeeeee;
    background: #fafafa;
}

.ng-blog-no-results h3 {
    margin: 0 0 10px;
    color: #063b52;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 28px;
}

.ng-blog-no-results p {
    margin: 0;
    color: #666666;
    font-size: 15px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .ng-blog-results-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .ng-blog-search-form {
        flex-direction: column;
    }

    .ng-blog-search-year {
        width: 100%;
        flex: 0 0 auto;
    }

    .ng-blog-search-input {
        width: 100%;
    }

    .ng-blog-search-button {
        width: 100%;
    }

    .ng-blog-results-grid {
        grid-template-columns: 1fr;
    }

    .ng-blog-title {
        font-size: 22px;
    }

    .ng-blog-pagination {
        flex-direction: column;
    }

    .ng-blog-pagination-btn {
        width: 100%;
    }

}