.iksm-term--expanded > .iksm-term__inner {
    background: #0D5CAB;
}
.iksm-term--expanded > .iksm-term__inner .iksm-term__link {
    color: #fff;
}
.iksm-term--expanded > .iksm-term__inner .iksm-term__toggle {
	 color: #fff;
}
.iksm-term--expanded {
    border: 2px solid #fff !important;
    padding: 2px !important;
    background-color: #fff;
}
.iksm-term__link {
	cursor: pointer;
}
.iksm-terms .iksm-term {
	border-bottom: 2px solid #0D5CAB;
}
.iksm-term__inner:hover {
	background: #0D5CAB !important;
}
.iksm-term__inner:hover .iksm-term__link {
    color: #fff !important;
}
.iksm-term__inner:hover .iksm-term__toggle {
	 color: #fff !important;
}
.page-content a {
    text-decoration: none !important;
}
/* Search page CSS start */
.hakuruutu {
    padding-left: 10px;
    border: 1px solid gray;
    height: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hakuruutu img {
    float: left;
    width: 130px;
}
.hakuruutu a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #333;
    text-decoration: none !important;
    height: 100%;
}
.hakuruutu .hakuruutufontti {
    font-size: 10px;
    margin-bottom: 10px;
}
.search article {
    margin-bottom: 1em !important;
}
.search .post.type-post {
    margin: 0px;
    max-width: 200px;
    width: 100%;
    margin-left: 3px;
    height: auto;
    max-height: 290px;
    padding: 5px;
    float: left;
}
.post-img {
    margin-top: 30px;
}
.post-detail {
    margin: auto 0 0;
}
/*  Search page CSS end */

/*  Archive page CSS start */
.bar {
    width: 100%;
    overflow: hidden;
    height: 75px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#takaisinkategoriasta {
    background-color: var(--e-global-color-31e28e6);
    font-family: "Helvetica", Sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.35em;
    fill: var(--e-global-color-d1cd5a8);
    color: var(--e-global-color-d1cd5a8);
    border-radius: 0px 0px 0px 0px;
    padding: 20px 40px 20px 40px;
    border: unset;
}
.linkit {
    margin-right: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.84375em 0.875em 0.78125em;
    align-items: self-end;
}
.logoruutu {
    padding: 16px;
    border: 1px solid #cececece;
    max-height: 200px;
    height: 185px;
    justify-content: center;
    display: grid
;
    align-items: center;
    width: 200px;
    max-width: 200px;
}
.logoruutu-grid {
    display: flex
;
    flex-direction: row;
    gap: 20px;
        flex-wrap: wrap;
}
.listaapostit {
    margin: 50px 0;
}
.linkit a {
    font-family: "Helvetica", Sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--e-global-color-31e28e6);
    transition: color 0.3s;
}
.page-numbers {
    font-family: "Helvetica", Sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--e-global-color-31e28e6);
    transition: color 0.3s;
}
.pagination {
    justify-content: center !important;
}
@media screen and (max-width: 767px) {
.listaapostit .elementor-heading-title {
    font-size: 26px;
}
.bar {
    flex-direction: column;
    widtH: 100%;
    height: auto;
}
.bar h2 {
    font-size: 20px;
    height: auto;
}
.logoruutu {
    width: 195px;
}
.archive .listaapostit p {
    text-align: left !important;
}
.linkit {
    margin-right: 0px;
}
}
@media screen and (max-width: 415px) {
      .logoruutu {
    width: 185px;
}  
}
@media screen and (max-width: 391px) {
    .logoruutu {
    width: 175px;
}
}
@media screen and (max-width: 376px) {
    .logoruutu {
    width: 165px;
}
}
@media screen and (max-width: 361px) {
    .logoruutu {
    width: 160px;
}
.listaapostit .elementor-heading-title {
    font-size: 22px;
}
}