/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

.post-list {
    display: flex;
    margin: 0 -15px;
    flex-wrap: wrap;
    gap: 20px 0;
	padding-bottom: 50px;
}

.post-item {
    padding: 0 15px;
    width: 100%;
}

.post-item .td-image-wrap {
    display: block;
    position: relative;
    padding-top: 65%;
}

.post-item .td-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category {
    padding: 10px 0;
    margin: 0 0 40px;
    border-bottom: 1px solid #d2d5d9;
    font-size: 16px;
    font-weight: 600;
}

.post-category__inner {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    overflow-x: auto;
}

.post-category a {
    color: #6b7177;
}

.post-category a:hover,
.post-category a.active {
    color: var(--td_theme_color, #4db2ec);
}

.post-item .td-post-category {
    font-size: 14px;
    padding: 7px 15px;
}

.post-item .entry-title {
    margin: 4px 0;
    font-size: 18px;
    line-height: 1.5;
}

.post-list__pagination {
    width: 100%;
    padding: 0 15px;
}

.post-list__pagination .clearfix {
    display: none !important;
}

.blog-banner {
    position: relative;
    z-index: 1;
    padding: 2em 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.65;
}

.blog-banner h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px;
}

.blog-banner>.widget_media_image {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-banner>.widget_media_image figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.blog-banner>.widget_media_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-banner .wp-block-group {
    max-width: 1108px;
    margin-inline: auto;
    padding-inline: 20px;
}

.blog-banner .wp-block-group .wp-block-group__inner-container {
    max-width: 705px;
    margin: 0 !important;
}

.wp-block-jetpack-subscriptions__form-elements {
    max-width: 460px;
}

.wp-block-jetpack-subscriptions__form-elements input,
.wp-block-jetpack-subscriptions__form-elements button {
    min-height: 54px;
}

@media screen and (min-width: 768px) {
    .post-item {
        width: 33.33%;
    }

    .blog-banner {
        padding: 3em 0;
        font-size: 20px;
    }

    .blog-banner h2 { 
        font-size: 40px;
    }
}