/* ==========================================================
 * Blog home
 * ========================================================== */
 .post-list {border-top:solid 1px #ddd}
.popular-posts-title--img {
    margin: 0 0 12px;
    line-height: 0;
}

.popular-posts-title--img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

a, a:visited {color:#000847;} 
a:hover {color:#045ea8;}
a {transition: color 0.3s ease, background-color 0.3s ease;}

/* All post images */
#content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Featured post */
.featured-thumb {display: block;border-radius: 5px; margin-bottom: 3%;}
.featured-post {
    padding: 0 6% 6% 0;
}

/* Most Popular block */
.popular-posts-title {
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 12px;
}

.popular-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-posts-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #ddd; /* divide line */
}

.popular-posts-list li:last-child {
    border-bottom: 0;
}

.popular-posts-list h4 {
    font-size: 125%;
    line-height: 1.15;
    margin-top: 0 !important;
    color: #000847;
    transition: color 0.3s ease;
}

.popular-posts-list a:hover h4 {
    color: #045ea8;
}

.popular-thumb {
    flex: 0 0 80px;
    padding-right:6%;
    margin:0 auto;
    display: block;
}

.popular-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}
.blog-verbal {margin:0; margin-left:3%;}

/* Category tags */
.categories-section {
    display: flex;
    flex-wrap: wrap;
    margin: 2% auto 0;
    padding: 0;
    border: none;
}

.categories-section a.cat,
.categories-section a.cat:visited {
    color: #9999ff;
    background-color: rgba(173, 152, 250, 0.2);
    font-size: 12px;
    line-height: 100%;
    display: block;
    border-radius: 2px;
    padding: 8px 9px;
    transition: color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    margin:0 0.25%;
}

/* Category tag hover */
.categories-section a.cat:hover {
    color: #fff;
    background-color: #045ea8;
}
.categories-section a:last-of-type {margin-right:0;}

/* Older posts: blue left line + divider */
#content .list-post {opacity:0.9}
.list-post {
    padding: 3% 0;
    border-bottom: 1px solid rgba(0, 8, 71, 0.12)
}
#content .list-post:hover {opacity:1}
.list-post .entry:hover, .list-post .cell:hover {opacity: 1;}
/* Post title hover: triggers when rolling over anywhere on the article */
#content .list-post h3 {
    color: #000847;
    transition: color 0.3s ease;
}

#content .list-post:hover h3 {
    color: #045ea8 !important;
}
/* Learn more: hidden until the article is hovered */
.list-post .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #045ea8;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Arrow: starts slightly left, slides right as it fades in */
.list-post .right-arrow {
    width: 8px;
    height: 8px;
    border-top: 2px solid #045ea8;
    border-right: 2px solid #045ea8;
    transform: translateX(-8px) rotate(45deg);
    transition: transform 0.3s ease;
}

/* Show on article rollover (and keyboard focus) */
.list-post:hover .learn-more,
.list-post:focus-within .learn-more {
    opacity: 1;
    visibility: visible;
}

.list-post:hover .right-arrow,
.list-post:focus-within .right-arrow {
    transform: translateX(2px) rotate(45deg);
}

/* Touch screens have no hover, so always show it */
@media (hover: none) {
    .list-post .learn-more {
        opacity: 1;
        visibility: visible;
    }
    .list-post .right-arrow {
        transform: translateX(2px) rotate(45deg);
    }
}
.list-post:last-of-type {border-bottom: 0;}

.entry-summary p {line-height: 1.5;font-size: 125%;font-weight: 400;}
/* Keep blog content below the header */
/* #content.grid-container {
    padding-top: max(120px, 10%);
} */
.blog .entry a h5, .archive .entry a h5, .search .entry a h5 {line-height: 1.25;}
.blog-search {
    margin-bottom: 24px;
}

.blog-search .search-form {
    display: flex;
    gap: 8px;
    max-width: 420px;
}

.blog-search .search-form label {
    flex: 1;
    margin: 0;
}

.blog-search .search-field {
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.blog-search .search-field:focus {
    border-color: #045ea8;
    outline: none;
}

.blog-search .search-submit {
    padding: 10px 16px;
    border: 0;
    border-radius: 5px;
    background: #000847;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.blog-search .search-submit:hover {
    background: #045ea8;
}
.blog-search-form input {
    color: #444;
    background: #fff;
    height: 100%;
    border-color: transparent !important;
}
.blog-search-form .search-container {border-radius: 5px;}

.searchwp-live-search-results-container.swp-ls--img-m .searchwp-live-search-result--img {
    -ms-flex-preferred-size: 160px;
    flex-basis: 160px;
    width: 30%;
    border-radius: 5px;
}
.searchwp-live-search-result--info {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 250px;
    flex: 1 1 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2% 2%;
}
.searchwp-live-search-result--title {
    font-size: inherit; display: block;
    font-weight: 800;
    margin-top: 0; margin-bottom: 2%;}
.searchwp-live-search-result .searchwp-live-search-result--title a, .searchwp-live-search-result .searchwp-live-search-result--title a:visited {
    font-size: 120%; color:#000847; line-height: 1.3;
}
.searchwp-live-search-result .searchwp-live-search-result--title a:hover {color:#045ea8;}  
.searchwp-live-search-result--desc {
    font-size: inherit;
    line-height: 1.35;
}
@media screen and (max-width: 39.9375em) {
.categories-section a.cat, .categories-section a.cat:visited {margin:0 0 10px 5px; display: inline-block; width:inherit;}
.featured-post {padding:0;}
.hsfc-Step .hsfc-Step__Content {padding:0;}
}