/**
 * Common
 */
.mageplaza-betterblog-index-index {
    background-color: #f5f5f7;
}
.mageplaza-betterblog-archive-index,
.mageplaza-betterblog-post-view {
    background-color: #fff;
}
.mageplaza-betterblog-index-index .post-list,
.mageplaza-betterblog-archive-index .post-list,
.mageplaza-betterblog-post-view .post-view {
    margin-bottom: 50px;
}
.post-list .page-title,
.post-view .page-title {
    padding: 0 10px;
    margin: 18px auto 53px;
    overflow: hidden;
}
.post-list.archive .page-title {
    margin-bottom: 45px;
}
.post-view .page-title {
    margin-bottom: 79px;
}
.post-list .page-title .title,
.post-view .page-title .title {
    float: right;
    font-size: 32px;
    line-height: 34px;
}
.post-list .page-title .archive-link,
.post-view .page-title .archive-link {
    float: left;
    font-size: 14px;
    line-height: normal;
    color: #38383a;
    margin-top: 13px;
}
.post-list .post-items,
.post-view {
    margin: 0 auto;
}
.post-list .post-item {
    margin-bottom: 20px;
    box-sizing: border-box;
}
.post-list.archive .post-item {
    margin-bottom: 20px;
    margin-top: 0;
}
.post-list.main .post-item {
    background-color: #fff;
}
.post-list.main .thumb,
.post-list.main .info {
    background-color: #fff;
}
.post-list .post-date-heading {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0 10px;
}
.post-list .post-item .info {
    text-align: right;
}
.post-list.main .post-title {
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
}
.post-list.archive .post-title {
    font-size: 14px;
    line-height: 25px;
    font-weight: 700;
}
.post-list .desc {
    font-size: 14px;
    line-height: 25px;
    margin-top: 15px;
}
.post-list.archive .desc {
    margin-top: 0;
}
.post-list .post-date {
    color: #6e6e73;
    font-size: 14px;
}
.post-list .thumb a,
.post-list .thumb img {
    display: block;
    margin: 0 auto;
}
.post-list .view-archive {
    padding: 35px 0;
    text-align: center;
    background-color: #fff;
}
.post-list .view-archive a {
    color: #0066cf;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}
.post-list .view-archive a:after {
    content: '>';
    margin-right: 10px;
    display: inline-block;
}
.post-list .post-categories ul > li {
    display: inline-block;
}
.post-list .post-categories ul > li:not(:first-child) {
    margin-right: 10px;
}
.post-list .post-categories .category {
    color: #4f69f9;
    font-size: 14px;
    line-height: 34px;
}
.post-list .toolbar {
    background-color: #f5f5f7;
}
.toolbar .wrapper {
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.toolbar .label,
.toolbar .filter .text {
    font-size: 14px;
    line-height: normal;
    font-weight: bold;
    display: inline-block;
}
.toolbar .filter .text:after {
    content: '';
    display: inline-block;
    position: absolute;
}
.toolbar .label {
    color: #86868b;
}
.toolbar .filter .text {
    color: #38383a;
    cursor: pointer;
}
.toolbar .filter {
    position: relative;
}
.toolbar .filter .dropdown {
    overflow-y: scroll;
    display: none;
}
.toolbar .filter.active .dropdown {
    display: block;
}
.toolbar .dropdown a,
.toolbar .dropdown span {
    font-size: 14px;
    line-height: normal;
    color: #38383a;
}
.toolbar .dropdown span {
    opacity: 0.5;
}
.toolbar .dropdown li {
    line-height: normal;
}
.toolbar .dropdown li.active {
    background-color: #f5f5f7;
}
.post-list .pagination {
    width: 100%;
    text-align: center;
    border-top: 1px solid #d2d2d7;
    padding-top: 60px;
    margin-top: 29px;
}
.post-list .pagination li {
    display: inline-block;
    line-height: 36px;
}
.post-list .pagination a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #c4c4c4;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    vertical-align: middle;
    position: relative;
}
.post-list .pagination a:hover{
    background-color: #0066cc;
}
.post-list .pagination a:after {
    content: '';
    display: inline-block;
    border: solid #fff;
    border-width: 0 1px 1px 0;
    padding: 5px;
    position: absolute;
}
.post-list .prev a:after {
    transform: rotate(-45deg);
    right: 15px;
    top: 12px;
}
.post-list .next a:after {
    transform: rotate(135deg);
    left: 15px;
    top: 12px;
}
.post-list .pagination .page {
    font-size: 18px;
}
.post-view .heading {
    text-align: center;
    margin-bottom: 25px;
}
.post-view .heading .post-date,
.post-view .heading .post-categories {
    display: inline-block;
    font-size: 14px;
    line-height: normal;
}
.post-view .heading .post-categories {
    margin: 0;
    border-left: 1px solid #d2d2d7;
    list-style: none;
}
.post-view .heading .post-categories li {
    display: inline-block;
    padding: 0 15px;
    margin: 0;
}
.post-view .heading .post-date {
    padding: 0 10px;
}
.post-view .post-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 33px;
}
.post-view .post-title,
.post-view .post-content p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.post-view .thumb {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
}
.post-view .post-content h1,
.post-view .post-content h2,
.post-view .post-content h3,
.post-view .post-content h4,
.post-view .post-content h5,
.post-view .post-content h6 {
    line-height: normal;
    font-weight: 700;
}
.post-view .post-content p {
    margin-bottom: 20px;
}
.post-view .social-share {
    text-align: center;
    list-style: none;
}
.post-view .social-share.bottom {
    text-align: right;
    margin-top: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.post-view .social-share li {
    display: inline-block;
    padding: 5px;
}
.post-view .social-share a {
    display: inline-block;
    height: 20px;
    width: 20px;
}
.post-view .social-share a.facebook {
    background: url("../images/share-icon-03.svg") no-repeat;
}
.post-view .social-share a.twitter {
    background: url("../images/share-icon-02.svg") no-repeat;
}
.post-view .social-share a.email {
    background: url("../images/share-icon-01.svg") no-repeat;
}
.post-view .social-share a.links {
    background: url("../images/share-icon-04.svg") no-repeat;
}
.content ul {
    margin: 0 1.5em 1.5em 1.5em;
}
input[type="text"].invisible {
    opacity: 0;
    width: 1px;
    height: 1px;
    border: none;
    padding: 0;
}
.recent-posts .owl-carousel .item {
    text-align: right;
}
.recent-posts .thumb img {
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}
.recent-posts .post-categories li {
    display: inline-block;
    margin-left: 5px;
}
.recent-posts .post-title {
    line-height: normal;
    font-weight: 700;
}
.recent-posts .post-date {
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
    margin-top: 5px;
}

.recent-posts .owl-carousel .owl-nav button.disabled {
    display: none;
}
.recent-posts .slick-arrow {
    background-color: rgba(210, 210, 210, 0.6);
    width: 52px;
    height: 52px;
    min-width: 0;
    border-radius: 50%;
    z-index: 9999;
}
.recent-posts .slick-arrow.slick-disabled {
    display: none !important;
}
.recent-posts .slick-arrow:before {
    display: none;
}
.recent-posts .slick-arrow:after {
    content: '';
    display: inline-block;
    border: solid rgba(255, 255, 255, 0.4);
    border-width: 0 3px 3px 0;
    padding: 6px;
}
.recent-posts .slick-prev:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    margin-right: 5px;
}
.recent-posts .slick-next:after {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    margin-left: 5px;
}
/*.recent-posts .owl-nav {*/
/*display: none;*/
/*}*/
/*.recent-posts:hover .owl-nav {*/
/*display: block;*/
/*}*/

/**
 * Desktop
 */
@media (min-width: 768px) {
    .post-list .page-title,
    .post-view,
    .post-list .post-items {
        width: 100%;
        max-width: 1000px;
    }
    .post-list .post-items {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .post-list .post-items .post-date-heading {
        width: 100%;
    }
    .post-list .post-item.w-100 > a {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .post-list .post-item:not(.w-100) > a {
        display: flex;
        height: 100%;
        flex-direction: column;
    }
    .post-list .post-item.w-50 > a {
        height: 100%;
        flex-wrap: nowrap;
        flex-direction: column;
    }
    .post-list.main .post-item:not(.w-100) .info {
        flex-grow: 1;
    }
    .post-list.main .post-item:not(.w-100) .thumb {
        height: 270px;
    }
    .post-list.main .post-item:not(.w-100) .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .post-list .post-item {
        margin-left: 10px;
        margin-right: 10px;
        overflow: hidden;
    }
    .post-list.main .post-item .thumb,
    .post-list.main .post-item .info {
        width: 100%;
    }
    .post-list.archive .post-item {
        display: flex;
    }
    .post-list.archive .post-item .thumb {
        width: 200px;
        padding: 15px 0;
    }
    .post-list.archive .post-item .info {
        width: calc(100% - 200px);
    }
    .post-list.main .post-item .info {
        padding: 20px 40px;
    }
    .post-list.main .post-item:not(.w-100) .info {
        padding: 20px 40px 50px 40px;
    }
    .post-list.main .post-item:not(.w-100) .post-date {
        position: absolute;
        bottom: 20px;
        right: 40px;
    }
    .post-list.archive .post-item .info {
        padding: 0 30px 0 140px;
    }
    .post-list.main .post-date {
        margin-top: 15px;
    }
    .post-list .thumb {
        overflow: hidden;
        position: relative;
    }
    .post-list.archive .post-date,
    .post-list.archive .post-categories > ul {
        display: inline-block;
    }
    .post-list.archive .post-date {
        margin-left: 10px;
    }
    .post-list.main .w-100 .thumb {
        width: 65%;
    }
    .post-list.main .w-100 .info {
        width: 35%;
        order: -1;
        padding-top: 34px;
        position: relative;
    }
    .post-list .w-100 .desc {
        padding-bottom: 25px;
    }
    .post-list .w-100 .post-date {
        position: absolute;
        bottom: 20px;
        right: 40px;
    }
    .post-list.main .post-item:hover .thumb:after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.15);
    }
    .post-list.main .post-item:not(.w-100) .desc {
        display: none;
    }
    .post-list .pagination .page {
        padding: 0 93px;
    }
    .post-view .post-title {
        font-size: 45px;
        line-height: 60px;
    }
    .post-list.main img {
        transition: opacity 1s ease-out, transform 250ms ease;
    }
    .post-list.main .info {
        position: relative;
        transition: transform 250ms ease;
    }
    .post-list.main .post-item:hover img {
        transform: scale(1.05);
    }
    .post-list.main .post-item:not(.w-100):hover .info {
        transform: translate(0, -70px);
    }
    .post-list.main .post-item.w-100:hover .info {
        transform: translate(-8px, 0);
    }
    .post-list.main .post-item:not(.w-100):hover .desc {
        display: block;
        position: absolute;
        left: 40px;
        right: 40px;
        top: calc(100% - 30px);
    }
    .toolbar .wrapper {
        max-width: 1000px;
        padding: 25px 10px;
        margin-bottom: 50px;
    }
    .toolbar .filters {
        display: flex;
        align-items: center;
    }
    .toolbar .filters .control-header,
    .toolbar .reset {
        display: none;
    }
    .toolbar .label {
        margin-left: 50px;
    }
    .toolbar .filter {
        margin: 0 50px;
        width: 120px;
    }
    .toolbar .filter .dropdown {
        position: absolute;
        background-color: #fff;
        top: calc(100% + 25px);
        max-height: 390px;
        width: 210px;
        filter: drop-shadow(0px 3px 10.5px rgba(0,0,0,0.18));
        z-index: 9;
    }
    .toolbar .dropdown > ul {
        padding: 20px 15px;
    }
    .toolbar .dropdown li {
        padding: 5px 10px;
    }
    .toolbar .filter .text:after {
        border: solid black;
        border-width: 0 2px 2px 0;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        top: 8px;
        margin-right: 10px;
    }
    .toolbar .filter.active .text:after {
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        top: 11px;
    }
    .post-list .w-100 {
        width: calc(100% - 20px);
    }
    .post-list .w-90 {
        width: calc(90% - 20px);
    }
    .post-list .w-80 {
        width: calc(80% - 20px);
    }
    .post-list .w-70 {
        width: calc(70% - 20px);
    }
    .post-list .w-60 {
        width: calc(60% - 20px);
    }
    .post-list .w-50 {
        width: calc(50% - 20px);
    }
    .post-list .w-40 {
        width: calc(40% - 20px);
    }
    .post-list .w-33 {
        width: calc(33.333333% - 20px);
    }
    .post-list .w-30 {
        width: calc(30% - 20px);
    }
    .post-list .w-20 {
        width: calc(20% - 20px);
    }
    .post-list .w-10 {
        width: calc(10% - 20px);
    }
    .recent-posts {
        margin-bottom: 30px;
    }
    .recent-posts .title {
        width: 653px;
        margin: 0 auto 30px;
        font-size: 20px;
        font-weight: 700;
    }
    .recent-posts .items {
        max-width: 3375px;
        margin: 0 auto;
    }
    .recent-posts .owl-carousel .item {
        width: 653px;
        margin: 0 auto;
    }
    .recent-posts .item .thumb {
        height: 325px;
    }
    .recent-posts .post-categories {
        margin: 10px 0 5px;
    }
    .recent-posts .post-categories .category {
        font-size: 14px;
    }
    .recent-posts .post-title {
        font-size: 18px;
    }
    .recent-posts .slick-arrow {
        top: calc(50% - 26px);
    }
    .recent-posts .slick-prev {
        right: 30px;
    }
    .recent-posts .slick-next {
        left: 30px;
        right: auto;
    }
}

/**
 * Mobile
 */
@media (max-width: 767px) {
    .post-list .post-item .thumb,
    .post-list .post-item .info {
        padding: 20px;
    }
    .post-list .pagination .page {
        padding:  0 30px;
    }
    .post-view .post-title {
        font-size: 25px;
        line-height: normal;
    }
    .post-view .post-content p {
        padding: 0 10px;
    }
    .toolbar .wrapper {
        padding: 20px 0;
        justify-content: space-between;
    }
    .toolbar .filters {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 9999;
        display: none;
    }
    .toolbar .filters.active {
        display: block;
    }
    .toolbar .label {
        margin: 0 15px;
    }
    .toolbar .label:before {
        display: inline-block;
        content: '';
        background: url(../images/bullet-list.svg) no-repeat;
        background-size: cover;
        width: 15px;
        height: 15px;
        vertical-align: middle;
        margin-left: 10px;
        opacity: 0.5;
    }
    .toolbar .reset {
        display: inline-block;
        margin: 0 20px;
        color: #06c;
    }
    .toolbar .control-header {
        height: 50px;
        border-bottom: 1px solid #d2d2d7;
        padding: 15px 30px;
        overflow: hidden;
    }
    .toolbar .control-header .close:after {
        display: inline-block;
        content: '';
        background: url("../images/close.svg") no-repeat;
        background-size: cover;
        width: 15px;
        height: 15px;
        opacity: 0.5;
    }
    .toolbar .filter {
        margin: 0 15px;
    }
    .toolbar .filter .underline {
        border-bottom: 1px solid #d2d2d7;
        position: absolute;
        top: 100%;
        width: calc(100% - 30px);
        left: 15px;
    }
    .toolbar .filter .text {
        padding: 15px;
        width: 100%;
    }
    .toolbar .filter .text:after {
        background: url("../images/add.svg") no-repeat;
        background-size: cover;
        width: 10px;
        height: 10px;
        left: 15px;
        top: 21px;
    }
    .toolbar .filter.active .text:after {
        background-image: url("../images/minus.svg");
    }
    .toolbar .filter .dropdown {
        max-height: calc(100vh - 250px);
    }
    .toolbar .dropdown ul {
        margin: 15px 0;
    }
    .toolbar .dropdown li {
        padding: 10px 15px;
    }
    .toolbar .control-header .reset {
        float: left;
        margin: 0;
    }
    .recent-posts {
        margin-bottom: 30px;
        padding: 0 20px;
    }
    .recent-posts .title {
        margin-bottom: 20px;
        padding: 0 10px;
        font-size: 1.4rem;
    }
    .recent-posts .item .thumb {
        height: 370px;
    }
    .recent-posts .thumb img {
        margin: 0 auto;
    }
    .recent-posts .post-categories {
        margin: 10px 0 5px;
    }
    .recent-posts .post-categories,
    .recent-posts .post-title,
    .recent-posts .post-date {
        padding: 0 10px;
    }
    .recent-posts .post-categories .category,
    .recent-posts .post-title,
    .recent-posts .post-date {
        font-size: 14px;
    }
    .recent-posts .owl-carousel .owl-nav button.owl-next,
    .recent-posts .owl-carousel .owl-nav button.owl-prev {
        top: 140px;
    }
    .recent-posts .slick-prev {
        right: 0;
    }
    .recent-posts .slick-next {
        left: 0;
        right: auto;
    }
    .recent-posts .slick-prev,
    .recent-posts .slick-next {
        top: 180px;
    }
}

