.page-header-ranking h1
{
    padding: 0 0 5px;
    height: auto;
    line-height: 1;
    text-align: center;
    background: none;
}

.page-header-ranking img
{
    max-height: 34px;
}

.tags.-sort.-ranking li
{
    display: inline-block;
    margin: 0;
    line-height: 1;
    font-size: inherit;
}

.tags.-sort.-ranking li + li
{
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid #b8b8b8;
}

.tags.-sort.-ranking li > a,
.tags.-sort.-ranking li > span
{
    padding: 0;
    font-size: 18px;
    color: #b8b8b8;
    letter-spacing: .075em;
    border: none;
    background: none;
}

.tags.-sort.-ranking li > a:hover,
.tags.-sort.-ranking li > span.current
{
    color: #88accf;
    background: none;
}

.posts-ranking li
{
    position: relative;
}

.posts-ranking li .rank {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 45px;
    height: 45px;
    font-family: 'Amiri', serif;
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-size: 24px;
    background: #7694b3;
}

@media screen and (max-width:400px)
{

    .page-header .tags.-sort.-ranking
    {
        margin-top: 25px;
    }

    .tags.-sort.-ranking li + li
    {
        margin-left: 0;
        padding-left: 0;
    }

    .tags.-sort.-ranking li > a,
    .tags.-sort.-ranking li > span
    {
        font-size: 14px;
    }

    .posts-ranking li .rank {
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 14px;
    }

    .posts-panel-sp.posts-ranking li {
        background: #fff;
    }

    .posts-panel-sp.posts-ranking li .image {
        height: 100px;
    }

    .posts-panel-sp.posts-ranking li:first-of-type {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        vertical-align: top;
        width: calc(50% - 3.5px);
        align-self: stretch;
        margin-right: 3.5px;
    }
    .posts-panel-sp.posts-ranking li:first-of-type .image,
    .posts-panel-sp.posts-ranking li:first-of-type .content
    {
        width: 100%;
    }

    .posts-panel-sp.posts-ranking li:nth-of-type(even):not(:first-of-type) {
        margin-left: 3.5px;
        margin-right: 0;
    }
    .posts-panel-sp.posts-ranking li:nth-of-type(odd):not(:first-of-type) {
        margin-right: 3.5px;
        margin-left: 0;
    }
    .posts-panel-sp.posts-ranking li:not(:first-of-type) .image,
    .posts-panel-sp.posts-ranking li:not(:first-of-type) .image img,
    .posts-panel-sp.posts-ranking li:not(:first-of-type) .content {
        width: 100%;
    }

    .posts-panel-sp.posts-ranking li .image img,
    .posts-panel-sp.posts-ranking li:first-child .image img,
    .posts-panel-sp.posts-ranking.-wide li:first-child .image img {
        width: 100%;
    }

    .posts-panel-sp.posts-ranking li:not(:first-of-type) .content {
        flex: 1 1 auto
    }
    .posts-panel-sp.posts-ranking .update {
        display: block;
        margin: 4px 0 10px;
    }
    .posts-panel-sp.posts-ranking li:not(:first-of-type) h2,
    .posts-panel-sp.posts-ranking li h3 {
        font-size: 12px;
        line-height: 1.7;
    }


}
