.child-terms {
    list-style: none;
    padding: 0 !important;
}

.taxonomy-post-list-title, .child-terms-title {
    font-size: 23px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.child-terms li {
    margin-bottom: 15px !important;
    list-style: none;
}

.child-terms li i:before{
    font-size:14px;
    margin-right: 6px;
}

.child-terms a {
    font-weight: bold;
    text-decoration: none;
    color: #0073aa;
}

.child-terms a:hover {
    text-decoration: underline;
}

.taxonomy-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: start;
}

.taxonomy-post-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.taxonomy-post-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 1.5rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .taxonomy-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .taxonomy-post-grid {
        grid-template-columns: 1fr;
    }
}

.taxonomy-post-body {
    flex-grow: 1;
}

.taxonomy-post-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    object-fit: cover;
}

.taxonomy-post-item .post-title {
    font-size: 1.1rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.taxonomy-post-item .post-title a {
    color: #333;
    text-decoration: none;
}

.taxonomy-post-item .post-title a:hover {
    color: #0073aa;
}

.post-excerpt {
    font-size: 0.95rem;
    color: #666;
}

.taxonomy-button-wrapper{
    margin-top:30px;
    margin-bottom:15px;
    text-align: center;
}

.taxonomy-button{
    color: white;
    background-color: #4197C1;
    font-size: 18px;
    font-weight: 500;
    padding: .3em 1em;
    line-height: 1.7em !important;
    position: relative;
    border: 2px solid #0A246A;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
    display: inline-block;
}

.taxonomy-button:hover {
    padding-right: 2.8em;
    border: 2px solid transparent;
    background-color: #67ACCE;
}

.taxonomy-button a{
    color: white;
}

.taxonomy-button:after{
    content: "\35";
    margin-left: -1em;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-transform: none;
    -webkit-font-feature-settings: "kern" off;
    font-feature-settings: "kern" off;
    font-family: ETmodules, sans-serif !important;
    font-size: 32px;
    font-variant: none;
    font-style: normal;
    font-weight: 400;
    color: white;
    position: absolute;
    right: 0.6em;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
}

.taxonomy-button:hover::after{
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
